@wildcatfi/wildcat-sdk 3.0.2 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/access/access-control.d.ts +9 -6
  2. package/dist/access/access-control.d.ts.map +1 -1
  3. package/dist/access/access-control.js +52 -19
  4. package/dist/access/access-control.js.map +1 -1
  5. package/dist/access/fixed-term.d.ts +9 -6
  6. package/dist/access/fixed-term.d.ts.map +1 -1
  7. package/dist/access/fixed-term.js +53 -20
  8. package/dist/access/fixed-term.js.map +1 -1
  9. package/dist/access/index.d.ts +8 -5
  10. package/dist/access/index.d.ts.map +1 -1
  11. package/dist/access/index.js +26 -1
  12. package/dist/access/index.js.map +1 -1
  13. package/dist/account/index.d.ts +9 -0
  14. package/dist/account/index.d.ts.map +1 -1
  15. package/dist/account/index.js +21 -9
  16. package/dist/account/index.js.map +1 -1
  17. package/dist/gql/getAllHooksDataForBorrower.d.ts +17 -0
  18. package/dist/gql/getAllHooksDataForBorrower.d.ts.map +1 -0
  19. package/dist/gql/getAllHooksDataForBorrower.js +32 -0
  20. package/dist/gql/getAllHooksDataForBorrower.js.map +1 -0
  21. package/dist/gql/getAllHooksTemplates.d.ts +13 -0
  22. package/dist/gql/getAllHooksTemplates.d.ts.map +1 -0
  23. package/dist/gql/getAllHooksTemplates.js +24 -0
  24. package/dist/gql/getAllHooksTemplates.js.map +1 -0
  25. package/dist/gql/getMarketRecords.d.ts.map +1 -1
  26. package/dist/gql/getMarketRecords.js +22 -13
  27. package/dist/gql/getMarketRecords.js.map +1 -1
  28. package/dist/gql/graphql.d.ts +387 -600
  29. package/dist/gql/graphql.d.ts.map +1 -1
  30. package/dist/gql/graphql.js +210 -809
  31. package/dist/gql/graphql.js.map +1 -1
  32. package/dist/gql/index.d.ts +4 -0
  33. package/dist/gql/index.d.ts.map +1 -1
  34. package/dist/gql/index.js +3 -0
  35. package/dist/gql/index.js.map +1 -1
  36. package/dist/market.js +1 -1
  37. package/dist/market.js.map +1 -1
  38. package/dist/typechain/MarketLensV2.d.ts +4 -4
  39. package/dist/typechain/MarketLensV2.d.ts.map +1 -1
  40. package/dist/typechain/factories/MarketLensV2__factory.d.ts +810 -60
  41. package/dist/typechain/factories/MarketLensV2__factory.d.ts.map +1 -1
  42. package/dist/typechain/factories/MarketLensV2__factory.js +1031 -71
  43. package/dist/typechain/factories/MarketLensV2__factory.js.map +1 -1
  44. package/dist/utils/record-types.d.ts +14 -3
  45. package/dist/utils/record-types.d.ts.map +1 -1
  46. package/dist/utils/record-types.js.map +1 -1
  47. package/dist/utils/type-parsers.d.ts.map +1 -1
  48. package/dist/utils/type-parsers.js +19 -4
  49. package/dist/utils/type-parsers.js.map +1 -1
  50. package/package.json +1 -1
@@ -70,6 +70,7 @@ export type SubgraphAccountAccessGranted = {
70
70
  blockTimestamp: Scalars["Int"]["output"];
71
71
  credentialTimestamp: Scalars["Int"]["output"];
72
72
  eventIndex: Scalars["Int"]["output"];
73
+ hooks: SubgraphHooksInstance;
73
74
  id: Scalars["ID"]["output"];
74
75
  provider: SubgraphRoleProvider;
75
76
  transactionHash: Scalars["Bytes"]["output"];
@@ -131,6 +132,27 @@ export type SubgraphAccountAccessGranted_Filter = {
131
132
  eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
132
133
  eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
133
134
  eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
135
+ hooks?: InputMaybe<Scalars["String"]["input"]>;
136
+ hooks_?: InputMaybe<SubgraphHooksInstance_Filter>;
137
+ hooks_contains?: InputMaybe<Scalars["String"]["input"]>;
138
+ hooks_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
139
+ hooks_ends_with?: InputMaybe<Scalars["String"]["input"]>;
140
+ hooks_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
141
+ hooks_gt?: InputMaybe<Scalars["String"]["input"]>;
142
+ hooks_gte?: InputMaybe<Scalars["String"]["input"]>;
143
+ hooks_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
144
+ hooks_lt?: InputMaybe<Scalars["String"]["input"]>;
145
+ hooks_lte?: InputMaybe<Scalars["String"]["input"]>;
146
+ hooks_not?: InputMaybe<Scalars["String"]["input"]>;
147
+ hooks_not_contains?: InputMaybe<Scalars["String"]["input"]>;
148
+ hooks_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
149
+ hooks_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
150
+ hooks_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
151
+ hooks_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
152
+ hooks_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
153
+ hooks_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
154
+ hooks_starts_with?: InputMaybe<Scalars["String"]["input"]>;
155
+ hooks_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
134
156
  id?: InputMaybe<Scalars["ID"]["input"]>;
135
157
  id_gt?: InputMaybe<Scalars["ID"]["input"]>;
136
158
  id_gte?: InputMaybe<Scalars["ID"]["input"]>;
@@ -183,6 +205,12 @@ export declare enum SubgraphAccountAccessGranted_OrderBy {
183
205
  BlockTimestamp = "blockTimestamp",
184
206
  CredentialTimestamp = "credentialTimestamp",
185
207
  EventIndex = "eventIndex",
208
+ Hooks = "hooks",
209
+ HooksBorrower = "hooks__borrower",
210
+ HooksEventIndex = "hooks__eventIndex",
211
+ HooksId = "hooks__id",
212
+ HooksKind = "hooks__kind",
213
+ HooksName = "hooks__name",
186
214
  Id = "id",
187
215
  Provider = "provider",
188
216
  ProviderId = "provider__id",
@@ -201,6 +229,7 @@ export type SubgraphAccountAccessRevoked = {
201
229
  blockNumber: Scalars["Int"]["output"];
202
230
  blockTimestamp: Scalars["Int"]["output"];
203
231
  eventIndex: Scalars["Int"]["output"];
232
+ hooks: SubgraphHooksInstance;
204
233
  id: Scalars["ID"]["output"];
205
234
  transactionHash: Scalars["Bytes"]["output"];
206
235
  };
@@ -253,6 +282,27 @@ export type SubgraphAccountAccessRevoked_Filter = {
253
282
  eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
254
283
  eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
255
284
  eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
285
+ hooks?: InputMaybe<Scalars["String"]["input"]>;
286
+ hooks_?: InputMaybe<SubgraphHooksInstance_Filter>;
287
+ hooks_contains?: InputMaybe<Scalars["String"]["input"]>;
288
+ hooks_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
289
+ hooks_ends_with?: InputMaybe<Scalars["String"]["input"]>;
290
+ hooks_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
291
+ hooks_gt?: InputMaybe<Scalars["String"]["input"]>;
292
+ hooks_gte?: InputMaybe<Scalars["String"]["input"]>;
293
+ hooks_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
294
+ hooks_lt?: InputMaybe<Scalars["String"]["input"]>;
295
+ hooks_lte?: InputMaybe<Scalars["String"]["input"]>;
296
+ hooks_not?: InputMaybe<Scalars["String"]["input"]>;
297
+ hooks_not_contains?: InputMaybe<Scalars["String"]["input"]>;
298
+ hooks_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
299
+ hooks_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
300
+ hooks_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
301
+ hooks_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
302
+ hooks_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
303
+ hooks_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
304
+ hooks_starts_with?: InputMaybe<Scalars["String"]["input"]>;
305
+ hooks_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
256
306
  id?: InputMaybe<Scalars["ID"]["input"]>;
257
307
  id_gt?: InputMaybe<Scalars["ID"]["input"]>;
258
308
  id_gte?: InputMaybe<Scalars["ID"]["input"]>;
@@ -283,6 +333,12 @@ export declare enum SubgraphAccountAccessRevoked_OrderBy {
283
333
  BlockNumber = "blockNumber",
284
334
  BlockTimestamp = "blockTimestamp",
285
335
  EventIndex = "eventIndex",
336
+ Hooks = "hooks",
337
+ HooksBorrower = "hooks__borrower",
338
+ HooksEventIndex = "hooks__eventIndex",
339
+ HooksId = "hooks__id",
340
+ HooksKind = "hooks__kind",
341
+ HooksName = "hooks__name",
286
342
  Id = "id",
287
343
  TransactionHash = "transactionHash"
288
344
  }
@@ -292,6 +348,7 @@ export type SubgraphAccountBlockedFromDeposits = {
292
348
  blockNumber: Scalars["Int"]["output"];
293
349
  blockTimestamp: Scalars["Int"]["output"];
294
350
  eventIndex: Scalars["Int"]["output"];
351
+ hooks: SubgraphHooksInstance;
295
352
  id: Scalars["ID"]["output"];
296
353
  transactionHash: Scalars["Bytes"]["output"];
297
354
  };
@@ -344,6 +401,27 @@ export type SubgraphAccountBlockedFromDeposits_Filter = {
344
401
  eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
345
402
  eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
346
403
  eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
404
+ hooks?: InputMaybe<Scalars["String"]["input"]>;
405
+ hooks_?: InputMaybe<SubgraphHooksInstance_Filter>;
406
+ hooks_contains?: InputMaybe<Scalars["String"]["input"]>;
407
+ hooks_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
408
+ hooks_ends_with?: InputMaybe<Scalars["String"]["input"]>;
409
+ hooks_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
410
+ hooks_gt?: InputMaybe<Scalars["String"]["input"]>;
411
+ hooks_gte?: InputMaybe<Scalars["String"]["input"]>;
412
+ hooks_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
413
+ hooks_lt?: InputMaybe<Scalars["String"]["input"]>;
414
+ hooks_lte?: InputMaybe<Scalars["String"]["input"]>;
415
+ hooks_not?: InputMaybe<Scalars["String"]["input"]>;
416
+ hooks_not_contains?: InputMaybe<Scalars["String"]["input"]>;
417
+ hooks_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
418
+ hooks_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
419
+ hooks_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
420
+ hooks_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
421
+ hooks_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
422
+ hooks_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
423
+ hooks_starts_with?: InputMaybe<Scalars["String"]["input"]>;
424
+ hooks_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
347
425
  id?: InputMaybe<Scalars["ID"]["input"]>;
348
426
  id_gt?: InputMaybe<Scalars["ID"]["input"]>;
349
427
  id_gte?: InputMaybe<Scalars["ID"]["input"]>;
@@ -374,6 +452,12 @@ export declare enum SubgraphAccountBlockedFromDeposits_OrderBy {
374
452
  BlockNumber = "blockNumber",
375
453
  BlockTimestamp = "blockTimestamp",
376
454
  EventIndex = "eventIndex",
455
+ Hooks = "hooks",
456
+ HooksBorrower = "hooks__borrower",
457
+ HooksEventIndex = "hooks__eventIndex",
458
+ HooksId = "hooks__id",
459
+ HooksKind = "hooks__kind",
460
+ HooksName = "hooks__name",
377
461
  Id = "id",
378
462
  TransactionHash = "transactionHash"
379
463
  }
@@ -579,6 +663,7 @@ export type SubgraphAccountUnblockedFromDeposits = {
579
663
  blockNumber: Scalars["Int"]["output"];
580
664
  blockTimestamp: Scalars["Int"]["output"];
581
665
  eventIndex: Scalars["Int"]["output"];
666
+ hooks: SubgraphHooksInstance;
582
667
  id: Scalars["ID"]["output"];
583
668
  transactionHash: Scalars["Bytes"]["output"];
584
669
  };
@@ -631,6 +716,27 @@ export type SubgraphAccountUnblockedFromDeposits_Filter = {
631
716
  eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
632
717
  eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
633
718
  eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
719
+ hooks?: InputMaybe<Scalars["String"]["input"]>;
720
+ hooks_?: InputMaybe<SubgraphHooksInstance_Filter>;
721
+ hooks_contains?: InputMaybe<Scalars["String"]["input"]>;
722
+ hooks_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
723
+ hooks_ends_with?: InputMaybe<Scalars["String"]["input"]>;
724
+ hooks_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
725
+ hooks_gt?: InputMaybe<Scalars["String"]["input"]>;
726
+ hooks_gte?: InputMaybe<Scalars["String"]["input"]>;
727
+ hooks_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
728
+ hooks_lt?: InputMaybe<Scalars["String"]["input"]>;
729
+ hooks_lte?: InputMaybe<Scalars["String"]["input"]>;
730
+ hooks_not?: InputMaybe<Scalars["String"]["input"]>;
731
+ hooks_not_contains?: InputMaybe<Scalars["String"]["input"]>;
732
+ hooks_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
733
+ hooks_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
734
+ hooks_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
735
+ hooks_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
736
+ hooks_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
737
+ hooks_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
738
+ hooks_starts_with?: InputMaybe<Scalars["String"]["input"]>;
739
+ hooks_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
634
740
  id?: InputMaybe<Scalars["ID"]["input"]>;
635
741
  id_gt?: InputMaybe<Scalars["ID"]["input"]>;
636
742
  id_gte?: InputMaybe<Scalars["ID"]["input"]>;
@@ -661,6 +767,12 @@ export declare enum SubgraphAccountUnblockedFromDeposits_OrderBy {
661
767
  BlockNumber = "blockNumber",
662
768
  BlockTimestamp = "blockTimestamp",
663
769
  EventIndex = "eventIndex",
770
+ Hooks = "hooks",
771
+ HooksBorrower = "hooks__borrower",
772
+ HooksEventIndex = "hooks__eventIndex",
773
+ HooksId = "hooks__id",
774
+ HooksKind = "hooks__kind",
775
+ HooksName = "hooks__name",
664
776
  Id = "id",
665
777
  TransactionHash = "transactionHash"
666
778
  }
@@ -3486,6 +3598,9 @@ export declare enum SubgraphHooksFactory_OrderBy {
3486
3598
  }
3487
3599
  export type SubgraphHooksInstance = {
3488
3600
  __typename: "HooksInstance";
3601
+ accountAccessGrantedRecords: SubgraphAccountAccessGranted[];
3602
+ accountAccessRevokedRecords: SubgraphAccountAccessRevoked[];
3603
+ accountUnblockFromDepositsRecords: SubgraphAccountUnblockedFromDeposits[];
3489
3604
  borrower: Scalars["Bytes"]["output"];
3490
3605
  eventIndex: Scalars["Int"]["output"];
3491
3606
  hooksFactory: SubgraphHooksFactory;
@@ -3494,9 +3609,41 @@ export type SubgraphHooksInstance = {
3494
3609
  kind: SubgraphHooksKind;
3495
3610
  markets: SubgraphMarket[];
3496
3611
  name: Scalars["String"]["output"];
3612
+ nameUpdatedRecords: SubgraphHooksNameUpdated[];
3497
3613
  providers: SubgraphRoleProvider[];
3614
+ roleProviderAddedRecords: SubgraphRoleProviderAdded[];
3615
+ roleProviderRemovedRecords: SubgraphRoleProviderRemoved[];
3616
+ roleProviderUpdatedRecords: SubgraphRoleProviderUpdated[];
3617
+ };
3618
+ export type SubgraphHooksInstanceAccountAccessGrantedRecordsArgs = {
3619
+ first?: InputMaybe<Scalars["Int"]["input"]>;
3620
+ orderBy?: InputMaybe<SubgraphAccountAccessGranted_OrderBy>;
3621
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
3622
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
3623
+ where?: InputMaybe<SubgraphAccountAccessGranted_Filter>;
3624
+ };
3625
+ export type SubgraphHooksInstanceAccountAccessRevokedRecordsArgs = {
3626
+ first?: InputMaybe<Scalars["Int"]["input"]>;
3627
+ orderBy?: InputMaybe<SubgraphAccountAccessRevoked_OrderBy>;
3628
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
3629
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
3630
+ where?: InputMaybe<SubgraphAccountAccessRevoked_Filter>;
3631
+ };
3632
+ export type SubgraphHooksInstanceAccountUnblockFromDepositsRecordsArgs = {
3633
+ first?: InputMaybe<Scalars["Int"]["input"]>;
3634
+ orderBy?: InputMaybe<SubgraphAccountUnblockedFromDeposits_OrderBy>;
3635
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
3636
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
3637
+ where?: InputMaybe<SubgraphAccountUnblockedFromDeposits_Filter>;
3498
3638
  };
3499
3639
  export type SubgraphHooksInstanceMarketsArgs = SubgraphArchControllerMarketsArgs;
3640
+ export type SubgraphHooksInstanceNameUpdatedRecordsArgs = {
3641
+ first?: InputMaybe<Scalars["Int"]["input"]>;
3642
+ orderBy?: InputMaybe<SubgraphHooksNameUpdated_OrderBy>;
3643
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
3644
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
3645
+ where?: InputMaybe<SubgraphHooksNameUpdated_Filter>;
3646
+ };
3500
3647
  export type SubgraphHooksInstanceProvidersArgs = {
3501
3648
  first?: InputMaybe<Scalars["Int"]["input"]>;
3502
3649
  orderBy?: InputMaybe<SubgraphRoleProvider_OrderBy>;
@@ -3504,6 +3651,27 @@ export type SubgraphHooksInstanceProvidersArgs = {
3504
3651
  skip?: InputMaybe<Scalars["Int"]["input"]>;
3505
3652
  where?: InputMaybe<SubgraphRoleProvider_Filter>;
3506
3653
  };
3654
+ export type SubgraphHooksInstanceRoleProviderAddedRecordsArgs = {
3655
+ first?: InputMaybe<Scalars["Int"]["input"]>;
3656
+ orderBy?: InputMaybe<SubgraphRoleProviderAdded_OrderBy>;
3657
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
3658
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
3659
+ where?: InputMaybe<SubgraphRoleProviderAdded_Filter>;
3660
+ };
3661
+ export type SubgraphHooksInstanceRoleProviderRemovedRecordsArgs = {
3662
+ first?: InputMaybe<Scalars["Int"]["input"]>;
3663
+ orderBy?: InputMaybe<SubgraphRoleProviderRemoved_OrderBy>;
3664
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
3665
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
3666
+ where?: InputMaybe<SubgraphRoleProviderRemoved_Filter>;
3667
+ };
3668
+ export type SubgraphHooksInstanceRoleProviderUpdatedRecordsArgs = {
3669
+ first?: InputMaybe<Scalars["Int"]["input"]>;
3670
+ orderBy?: InputMaybe<SubgraphRoleProviderUpdated_OrderBy>;
3671
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
3672
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
3673
+ where?: InputMaybe<SubgraphRoleProviderUpdated_Filter>;
3674
+ };
3507
3675
  export type SubgraphHooksInstanceDeployed = {
3508
3676
  __typename: "HooksInstanceDeployed";
3509
3677
  blockNumber: Scalars["Int"]["output"];
@@ -3617,6 +3785,9 @@ export declare enum SubgraphHooksInstanceDeployed_OrderBy {
3617
3785
  export type SubgraphHooksInstance_Filter = {
3618
3786
  /** Filter for the block changed event. */
3619
3787
  _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
3788
+ accountAccessGrantedRecords_?: InputMaybe<SubgraphAccountAccessGranted_Filter>;
3789
+ accountAccessRevokedRecords_?: InputMaybe<SubgraphAccountAccessRevoked_Filter>;
3790
+ accountUnblockFromDepositsRecords_?: InputMaybe<SubgraphAccountUnblockedFromDeposits_Filter>;
3620
3791
  and?: InputMaybe<Array<InputMaybe<SubgraphHooksInstance_Filter>>>;
3621
3792
  borrower?: InputMaybe<Scalars["Bytes"]["input"]>;
3622
3793
  borrower_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
@@ -3692,6 +3863,7 @@ export type SubgraphHooksInstance_Filter = {
3692
3863
  kind_not_in?: InputMaybe<SubgraphHooksKind[]>;
3693
3864
  markets_?: InputMaybe<SubgraphMarket_Filter>;
3694
3865
  name?: InputMaybe<Scalars["String"]["input"]>;
3866
+ nameUpdatedRecords_?: InputMaybe<SubgraphHooksNameUpdated_Filter>;
3695
3867
  name_contains?: InputMaybe<Scalars["String"]["input"]>;
3696
3868
  name_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3697
3869
  name_ends_with?: InputMaybe<Scalars["String"]["input"]>;
@@ -3713,8 +3885,14 @@ export type SubgraphHooksInstance_Filter = {
3713
3885
  name_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3714
3886
  or?: InputMaybe<Array<InputMaybe<SubgraphHooksInstance_Filter>>>;
3715
3887
  providers_?: InputMaybe<SubgraphRoleProvider_Filter>;
3888
+ roleProviderAddedRecords_?: InputMaybe<SubgraphRoleProviderAdded_Filter>;
3889
+ roleProviderRemovedRecords_?: InputMaybe<SubgraphRoleProviderRemoved_Filter>;
3890
+ roleProviderUpdatedRecords_?: InputMaybe<SubgraphRoleProviderUpdated_Filter>;
3716
3891
  };
3717
3892
  export declare enum SubgraphHooksInstance_OrderBy {
3893
+ AccountAccessGrantedRecords = "accountAccessGrantedRecords",
3894
+ AccountAccessRevokedRecords = "accountAccessRevokedRecords",
3895
+ AccountUnblockFromDepositsRecords = "accountUnblockFromDepositsRecords",
3718
3896
  Borrower = "borrower",
3719
3897
  EventIndex = "eventIndex",
3720
3898
  HooksFactory = "hooksFactory",
@@ -3733,7 +3911,11 @@ export declare enum SubgraphHooksInstance_OrderBy {
3733
3911
  Kind = "kind",
3734
3912
  Markets = "markets",
3735
3913
  Name = "name",
3736
- Providers = "providers"
3914
+ NameUpdatedRecords = "nameUpdatedRecords",
3915
+ Providers = "providers",
3916
+ RoleProviderAddedRecords = "roleProviderAddedRecords",
3917
+ RoleProviderRemovedRecords = "roleProviderRemovedRecords",
3918
+ RoleProviderUpdatedRecords = "roleProviderUpdatedRecords"
3737
3919
  }
3738
3920
  export declare enum SubgraphHooksKind {
3739
3921
  FixedTerm = "FixedTerm",
@@ -5008,6 +5190,10 @@ export declare enum SubgraphLenderAuthorization_OrderBy {
5008
5190
  }
5009
5191
  export type SubgraphLenderHooksAccess = {
5010
5192
  __typename: "LenderHooksAccess";
5193
+ accountAccessGrantedRecords: SubgraphAccountAccessGranted[];
5194
+ accountAccessRevokedRecords: SubgraphAccountAccessRevoked[];
5195
+ accountBlockedFromDepositsRecords: SubgraphAccountBlockedFromDeposits[];
5196
+ accountUnblockedFromDepositsRecords: SubgraphAccountUnblockedFromDeposits[];
5011
5197
  canRefresh: Scalars["Boolean"]["output"];
5012
5198
  hooks: SubgraphHooksInstance;
5013
5199
  id: Scalars["ID"]["output"];
@@ -5018,6 +5204,16 @@ export type SubgraphLenderHooksAccess = {
5018
5204
  lender: Scalars["Bytes"]["output"];
5019
5205
  marketAccounts: SubgraphLenderAccount[];
5020
5206
  };
5207
+ export type SubgraphLenderHooksAccessAccountAccessGrantedRecordsArgs = SubgraphHooksInstanceAccountAccessGrantedRecordsArgs;
5208
+ export type SubgraphLenderHooksAccessAccountAccessRevokedRecordsArgs = SubgraphHooksInstanceAccountAccessRevokedRecordsArgs;
5209
+ export type SubgraphLenderHooksAccessAccountBlockedFromDepositsRecordsArgs = {
5210
+ first?: InputMaybe<Scalars["Int"]["input"]>;
5211
+ orderBy?: InputMaybe<SubgraphAccountBlockedFromDeposits_OrderBy>;
5212
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
5213
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
5214
+ where?: InputMaybe<SubgraphAccountBlockedFromDeposits_Filter>;
5215
+ };
5216
+ export type SubgraphLenderHooksAccessAccountUnblockedFromDepositsRecordsArgs = SubgraphHooksInstanceAccountUnblockFromDepositsRecordsArgs;
5021
5217
  export type SubgraphLenderHooksAccessKnownLenderStatusesArgs = {
5022
5218
  first?: InputMaybe<Scalars["Int"]["input"]>;
5023
5219
  orderBy?: InputMaybe<SubgraphKnownLenderStatus_OrderBy>;
@@ -5029,6 +5225,10 @@ export type SubgraphLenderHooksAccessMarketAccountsArgs = SubgraphLenderAuthoriz
5029
5225
  export type SubgraphLenderHooksAccess_Filter = {
5030
5226
  /** Filter for the block changed event. */
5031
5227
  _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
5228
+ accountAccessGrantedRecords_?: InputMaybe<SubgraphAccountAccessGranted_Filter>;
5229
+ accountAccessRevokedRecords_?: InputMaybe<SubgraphAccountAccessRevoked_Filter>;
5230
+ accountBlockedFromDepositsRecords_?: InputMaybe<SubgraphAccountBlockedFromDeposits_Filter>;
5231
+ accountUnblockedFromDepositsRecords_?: InputMaybe<SubgraphAccountUnblockedFromDeposits_Filter>;
5032
5232
  and?: InputMaybe<Array<InputMaybe<SubgraphLenderHooksAccess_Filter>>>;
5033
5233
  canRefresh?: InputMaybe<Scalars["Boolean"]["input"]>;
5034
5234
  canRefresh_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
@@ -5111,6 +5311,10 @@ export type SubgraphLenderHooksAccess_Filter = {
5111
5311
  or?: InputMaybe<Array<InputMaybe<SubgraphLenderHooksAccess_Filter>>>;
5112
5312
  };
5113
5313
  export declare enum SubgraphLenderHooksAccess_OrderBy {
5314
+ AccountAccessGrantedRecords = "accountAccessGrantedRecords",
5315
+ AccountAccessRevokedRecords = "accountAccessRevokedRecords",
5316
+ AccountBlockedFromDepositsRecords = "accountBlockedFromDepositsRecords",
5317
+ AccountUnblockedFromDepositsRecords = "accountUnblockedFromDepositsRecords",
5114
5318
  CanRefresh = "canRefresh",
5115
5319
  Hooks = "hooks",
5116
5320
  HooksBorrower = "hooks__borrower",
@@ -5503,6 +5707,7 @@ export type SubgraphMarket = {
5503
5707
  feesCollectedIndex: Scalars["Int"]["output"];
5504
5708
  fixedTermUpdatedIndex: Scalars["Int"]["output"];
5505
5709
  fixedTermUpdatedRecords: SubgraphFixedTermUpdated[];
5710
+ forceBuyBackDisabledRecord?: Maybe<SubgraphDisabledForceBuyBacks>;
5506
5711
  forceBuyBackIndex: Scalars["Int"]["output"];
5507
5712
  forceBuyBackRecords: SubgraphForceBuyBack[];
5508
5713
  hooks?: Maybe<SubgraphHooksInstance>;
@@ -5529,6 +5734,7 @@ export type SubgraphMarket = {
5529
5734
  pendingWithdrawalExpiry: Scalars["BigInt"]["output"];
5530
5735
  protocolFeeBips: Scalars["Int"]["output"];
5531
5736
  protocolFeeBipsUpdatedIndex: Scalars["Int"]["output"];
5737
+ protocolFeeBipsUpdatedRecords: SubgraphProtocolFeeBipsUpdated[];
5532
5738
  removal?: Maybe<SubgraphMarketRemoved>;
5533
5739
  repaymentRecords: SubgraphDebtRepaid[];
5534
5740
  reserveRatioBips: Scalars["Int"]["output"];
@@ -5618,6 +5824,13 @@ export type SubgraphMarketMinimumDepositUpdateRecordsArgs = {
5618
5824
  skip?: InputMaybe<Scalars["Int"]["input"]>;
5619
5825
  where?: InputMaybe<SubgraphMinimumDepositUpdated_Filter>;
5620
5826
  };
5827
+ export type SubgraphMarketProtocolFeeBipsUpdatedRecordsArgs = {
5828
+ first?: InputMaybe<Scalars["Int"]["input"]>;
5829
+ orderBy?: InputMaybe<SubgraphProtocolFeeBipsUpdated_OrderBy>;
5830
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
5831
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
5832
+ where?: InputMaybe<SubgraphProtocolFeeBipsUpdated_Filter>;
5833
+ };
5621
5834
  export type SubgraphMarketRepaymentRecordsArgs = {
5622
5835
  first?: InputMaybe<Scalars["Int"]["input"]>;
5623
5836
  orderBy?: InputMaybe<SubgraphDebtRepaid_OrderBy>;
@@ -6618,6 +6831,7 @@ export type SubgraphMarket_Filter = {
6618
6831
  fixedTermUpdatedIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
6619
6832
  fixedTermUpdatedIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
6620
6833
  fixedTermUpdatedRecords_?: InputMaybe<SubgraphFixedTermUpdated_Filter>;
6834
+ forceBuyBackDisabledRecord_?: InputMaybe<SubgraphDisabledForceBuyBacks_Filter>;
6621
6835
  forceBuyBackIndex?: InputMaybe<Scalars["Int"]["input"]>;
6622
6836
  forceBuyBackIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
6623
6837
  forceBuyBackIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
@@ -6797,6 +7011,7 @@ export type SubgraphMarket_Filter = {
6797
7011
  protocolFeeBipsUpdatedIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
6798
7012
  protocolFeeBipsUpdatedIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
6799
7013
  protocolFeeBipsUpdatedIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
7014
+ protocolFeeBipsUpdatedRecords_?: InputMaybe<SubgraphProtocolFeeBipsUpdated_Filter>;
6800
7015
  protocolFeeBips_gt?: InputMaybe<Scalars["Int"]["input"]>;
6801
7016
  protocolFeeBips_gte?: InputMaybe<Scalars["Int"]["input"]>;
6802
7017
  protocolFeeBips_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
@@ -7000,6 +7215,12 @@ export declare enum SubgraphMarket_OrderBy {
7000
7215
  FeesCollectedIndex = "feesCollectedIndex",
7001
7216
  FixedTermUpdatedIndex = "fixedTermUpdatedIndex",
7002
7217
  FixedTermUpdatedRecords = "fixedTermUpdatedRecords",
7218
+ ForceBuyBackDisabledRecord = "forceBuyBackDisabledRecord",
7219
+ ForceBuyBackDisabledRecordBlockNumber = "forceBuyBackDisabledRecord__blockNumber",
7220
+ ForceBuyBackDisabledRecordBlockTimestamp = "forceBuyBackDisabledRecord__blockTimestamp",
7221
+ ForceBuyBackDisabledRecordEventIndex = "forceBuyBackDisabledRecord__eventIndex",
7222
+ ForceBuyBackDisabledRecordId = "forceBuyBackDisabledRecord__id",
7223
+ ForceBuyBackDisabledRecordTransactionHash = "forceBuyBackDisabledRecord__transactionHash",
7003
7224
  ForceBuyBackIndex = "forceBuyBackIndex",
7004
7225
  ForceBuyBackRecords = "forceBuyBackRecords",
7005
7226
  Hooks = "hooks",
@@ -7062,6 +7283,7 @@ export declare enum SubgraphMarket_OrderBy {
7062
7283
  PendingWithdrawalExpiry = "pendingWithdrawalExpiry",
7063
7284
  ProtocolFeeBips = "protocolFeeBips",
7064
7285
  ProtocolFeeBipsUpdatedIndex = "protocolFeeBipsUpdatedIndex",
7286
+ ProtocolFeeBipsUpdatedRecords = "protocolFeeBipsUpdatedRecords",
7065
7287
  Removal = "removal",
7066
7288
  RemovalBlockNumber = "removal__blockNumber",
7067
7289
  RemovalBlockTimestamp = "removal__blockTimestamp",
@@ -8293,6 +8515,8 @@ export type SubgraphQuery = {
8293
8515
  sanctionedAccountAssetsSentToEscrows: SubgraphSanctionedAccountAssetsSentToEscrow[];
8294
8516
  sanctionedAccountWithdrawalSentToEscrow?: Maybe<SubgraphSanctionedAccountWithdrawalSentToEscrow>;
8295
8517
  sanctionedAccountWithdrawalSentToEscrows: SubgraphSanctionedAccountWithdrawalSentToEscrow[];
8518
+ subgraphVersion?: Maybe<SubgraphSubgraphVersion>;
8519
+ subgraphVersions: SubgraphSubgraphVersion[];
8296
8520
  token?: Maybe<SubgraphToken>;
8297
8521
  tokens: SubgraphToken[];
8298
8522
  transfer?: Maybe<SubgraphTransfer>;
@@ -8971,6 +9195,16 @@ export type SubgraphQuerySanctionedAccountWithdrawalSentToEscrowsArgs = {
8971
9195
  subgraphError?: Subgraph_SubgraphErrorPolicy_;
8972
9196
  where?: InputMaybe<SubgraphSanctionedAccountWithdrawalSentToEscrow_Filter>;
8973
9197
  };
9198
+ export type SubgraphQuerySubgraphVersionArgs = SubgraphQueryAccountAccessGrantedArgs;
9199
+ export type SubgraphQuerySubgraphVersionsArgs = {
9200
+ block?: InputMaybe<SubgraphBlock_Height>;
9201
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9202
+ orderBy?: InputMaybe<SubgraphSubgraphVersion_OrderBy>;
9203
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9204
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9205
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9206
+ where?: InputMaybe<SubgraphSubgraphVersion_Filter>;
9207
+ };
8974
9208
  export type SubgraphQueryTokenArgs = SubgraphQueryAccountAccessGrantedArgs;
8975
9209
  export type SubgraphQueryTokensArgs = {
8976
9210
  block?: InputMaybe<SubgraphBlock_Height>;
@@ -9305,13 +9539,7 @@ export type SubgraphRoleProvider = {
9305
9539
  timeToLive: Scalars["Int"]["output"];
9306
9540
  updatedEvents: SubgraphRoleProviderUpdated[];
9307
9541
  };
9308
- export type SubgraphRoleProviderUpdatedEventsArgs = {
9309
- first?: InputMaybe<Scalars["Int"]["input"]>;
9310
- orderBy?: InputMaybe<SubgraphRoleProviderUpdated_OrderBy>;
9311
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
9312
- skip?: InputMaybe<Scalars["Int"]["input"]>;
9313
- where?: InputMaybe<SubgraphRoleProviderUpdated_Filter>;
9314
- };
9542
+ export type SubgraphRoleProviderUpdatedEventsArgs = SubgraphHooksInstanceRoleProviderUpdatedRecordsArgs;
9315
9543
  export type SubgraphRoleProviderAdded = {
9316
9544
  __typename: "RoleProviderAdded";
9317
9545
  blockNumber: Scalars["Int"]["output"];
@@ -10313,6 +10541,28 @@ export declare enum SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy {
10313
10541
  Id = "id",
10314
10542
  TransactionHash = "transactionHash"
10315
10543
  }
10544
+ /** v2.0.1 */
10545
+ export type SubgraphSubgraphVersion = {
10546
+ __typename: "SubgraphVersion";
10547
+ id: Scalars["ID"]["output"];
10548
+ };
10549
+ export type SubgraphSubgraphVersion_Filter = {
10550
+ /** Filter for the block changed event. */
10551
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
10552
+ and?: InputMaybe<Array<InputMaybe<SubgraphSubgraphVersion_Filter>>>;
10553
+ id?: InputMaybe<Scalars["ID"]["input"]>;
10554
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
10555
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
10556
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
10557
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
10558
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
10559
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
10560
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
10561
+ or?: InputMaybe<Array<InputMaybe<SubgraphSubgraphVersion_Filter>>>;
10562
+ };
10563
+ export declare enum SubgraphSubgraphVersion_OrderBy {
10564
+ Id = "id"
10565
+ }
10316
10566
  export type SubgraphSubscription = {
10317
10567
  __typename: "Subscription";
10318
10568
  /** Access to subgraph metadata */
@@ -10447,6 +10697,8 @@ export type SubgraphSubscription = {
10447
10697
  sanctionedAccountAssetsSentToEscrows: SubgraphSanctionedAccountAssetsSentToEscrow[];
10448
10698
  sanctionedAccountWithdrawalSentToEscrow?: Maybe<SubgraphSanctionedAccountWithdrawalSentToEscrow>;
10449
10699
  sanctionedAccountWithdrawalSentToEscrows: SubgraphSanctionedAccountWithdrawalSentToEscrow[];
10700
+ subgraphVersion?: Maybe<SubgraphSubgraphVersion>;
10701
+ subgraphVersions: SubgraphSubgraphVersion[];
10450
10702
  token?: Maybe<SubgraphToken>;
10451
10703
  tokens: SubgraphToken[];
10452
10704
  transfer?: Maybe<SubgraphTransfer>;
@@ -10599,6 +10851,8 @@ export type SubgraphSubscriptionSanctionedAccountAssetsSentToEscrowArgs = Subgra
10599
10851
  export type SubgraphSubscriptionSanctionedAccountAssetsSentToEscrowsArgs = SubgraphQuerySanctionedAccountAssetsSentToEscrowsArgs;
10600
10852
  export type SubgraphSubscriptionSanctionedAccountWithdrawalSentToEscrowArgs = SubgraphQueryAccountAccessGrantedArgs;
10601
10853
  export type SubgraphSubscriptionSanctionedAccountWithdrawalSentToEscrowsArgs = SubgraphQuerySanctionedAccountWithdrawalSentToEscrowsArgs;
10854
+ export type SubgraphSubscriptionSubgraphVersionArgs = SubgraphQueryAccountAccessGrantedArgs;
10855
+ export type SubgraphSubscriptionSubgraphVersionsArgs = SubgraphQuerySubgraphVersionsArgs;
10602
10856
  export type SubgraphSubscriptionTokenArgs = SubgraphQueryAccountAccessGrantedArgs;
10603
10857
  export type SubgraphSubscriptionTokensArgs = SubgraphQueryTokensArgs;
10604
10858
  export type SubgraphSubscriptionTransferArgs = SubgraphQueryAccountAccessGrantedArgs;
@@ -11177,6 +11431,7 @@ export type SubgraphWithdrawalBatchExpired = {
11177
11431
  blockNumber: Scalars["Int"]["output"];
11178
11432
  blockTimestamp: Scalars["Int"]["output"];
11179
11433
  id: Scalars["ID"]["output"];
11434
+ normalizedAmountOwed: Scalars["BigInt"]["output"];
11180
11435
  normalizedAmountPaid: Scalars["BigInt"]["output"];
11181
11436
  scaledAmountBurned: Scalars["BigInt"]["output"];
11182
11437
  scaledTotalAmount: Scalars["BigInt"]["output"];
@@ -11231,6 +11486,14 @@ export type SubgraphWithdrawalBatchExpired_Filter = {
11231
11486
  id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11232
11487
  id_not?: InputMaybe<Scalars["ID"]["input"]>;
11233
11488
  id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11489
+ normalizedAmountOwed?: InputMaybe<Scalars["BigInt"]["input"]>;
11490
+ normalizedAmountOwed_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11491
+ normalizedAmountOwed_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11492
+ normalizedAmountOwed_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11493
+ normalizedAmountOwed_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11494
+ normalizedAmountOwed_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11495
+ normalizedAmountOwed_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11496
+ normalizedAmountOwed_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11234
11497
  normalizedAmountPaid?: InputMaybe<Scalars["BigInt"]["input"]>;
11235
11498
  normalizedAmountPaid_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11236
11499
  normalizedAmountPaid_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
@@ -11288,6 +11551,7 @@ export declare enum SubgraphWithdrawalBatchExpired_OrderBy {
11288
11551
  BlockNumber = "blockNumber",
11289
11552
  BlockTimestamp = "blockTimestamp",
11290
11553
  Id = "id",
11554
+ NormalizedAmountOwed = "normalizedAmountOwed",
11291
11555
  NormalizedAmountPaid = "normalizedAmountPaid",
11292
11556
  ScaledAmountBurned = "scaledAmountBurned",
11293
11557
  ScaledTotalAmount = "scaledTotalAmount",
@@ -12404,7 +12668,7 @@ export type SubgraphMarketDataFragment = {
12404
12668
  } | null;
12405
12669
  _asset: SubgraphTokenDataFragment;
12406
12670
  hooksConfig?: SubgraphHooksConfigDataForMarketFragment | null;
12407
- hooks?: SubgraphHooksInstanceDataForMarketFragment | null;
12671
+ hooks?: SubgraphHooksInstanceDataFragment | null;
12408
12672
  deployedEvent: SubgraphMarketDeployedEventFragment;
12409
12673
  };
12410
12674
  export type SubgraphAprConstraintsFragment = {
@@ -12488,7 +12752,7 @@ export type SubgraphMarketDataWithEventsFragment = {
12488
12752
  } | null;
12489
12753
  _asset: SubgraphTokenDataFragment;
12490
12754
  hooksConfig?: SubgraphHooksConfigDataForMarketFragment | null;
12491
- hooks?: SubgraphHooksInstanceDataForMarketFragment | null;
12755
+ hooks?: SubgraphHooksInstanceDataFragment | null;
12492
12756
  deployedEvent: SubgraphMarketDeployedEventFragment;
12493
12757
  depositRecords: SubgraphDepositDataFragment[];
12494
12758
  borrowRecords: SubgraphBorrowDataFragment[];
@@ -12545,6 +12809,61 @@ export type SubgraphLenderWithdrawalPropertiesFragment = {
12545
12809
  address: string;
12546
12810
  };
12547
12811
  };
12812
+ export type SubgraphForceBuyBackDataFragment = {
12813
+ __typename: "ForceBuyBack";
12814
+ id: string;
12815
+ eventIndex: number;
12816
+ withdrawalExpiry: number;
12817
+ scaledAmount: string;
12818
+ normalizedAmount: string;
12819
+ blockNumber: number;
12820
+ blockTimestamp: number;
12821
+ transactionHash: string;
12822
+ account: {
12823
+ __typename: "LenderAccount";
12824
+ address: string;
12825
+ };
12826
+ };
12827
+ export type SubgraphMinimumDepositUpdatedDataFragment = {
12828
+ __typename: "MinimumDepositUpdated";
12829
+ id: string;
12830
+ eventIndex: number;
12831
+ oldMinimumDeposit?: string | null;
12832
+ newMinimumDeposit: string;
12833
+ blockNumber: number;
12834
+ blockTimestamp: number;
12835
+ transactionHash: string;
12836
+ };
12837
+ export type SubgraphProtocolFeeBipsUpdatedDataFragment = {
12838
+ __typename: "ProtocolFeeBipsUpdated";
12839
+ id: string;
12840
+ protocolFeeBipsUpdatedIndex: number;
12841
+ eventIndex: number;
12842
+ oldProtocolFeeBips: number;
12843
+ newProtocolFeeBips: number;
12844
+ blockNumber: number;
12845
+ blockTimestamp: number;
12846
+ transactionHash: string;
12847
+ };
12848
+ export type SubgraphDisabledForceBuyBacksDataFragment = {
12849
+ __typename: "DisabledForceBuyBacks";
12850
+ id: string;
12851
+ blockNumber: number;
12852
+ blockTimestamp: number;
12853
+ transactionHash: string;
12854
+ eventIndex: number;
12855
+ };
12856
+ export type SubgraphFixedTermUpdatedDataFragment = {
12857
+ __typename: "FixedTermUpdated";
12858
+ id: string;
12859
+ oldFixedTermEndTime: number;
12860
+ newFixedTermEndTime: number;
12861
+ blockNumber: number;
12862
+ blockTimestamp: number;
12863
+ transactionHash: string;
12864
+ eventIndex: number;
12865
+ fixedTermUpdatedIndex: number;
12866
+ };
12548
12867
  export type SubgraphLenderWithdrawalPropertiesWithEventsFragment = {
12549
12868
  __typename: "LenderWithdrawalStatus";
12550
12869
  id: string;
@@ -12694,15 +13013,17 @@ export type SubgraphHooksConfigDataForMarketFragment = {
12694
13013
  allowClosureBeforeTerm: boolean;
12695
13014
  allowTermReduction: boolean;
12696
13015
  };
12697
- export type SubgraphHooksInstanceDataForMarketFragment = {
13016
+ export type SubgraphHooksInstanceDataFragment = {
12698
13017
  __typename: "HooksInstance";
12699
13018
  id: string;
12700
13019
  borrower: string;
13020
+ name: string;
13021
+ kind: SubgraphHooksKind;
12701
13022
  eventIndex: number;
12702
- hooksTemplate: SubgraphHooksTemplateDataForMarketFragment;
13023
+ hooksTemplate: SubgraphHooksTemplateDataFragment;
12703
13024
  providers: SubgraphRoleProviderDataFragment[];
12704
13025
  };
12705
- export type SubgraphHooksTemplateDataForMarketFragment = {
13026
+ export type SubgraphHooksTemplateDataFragment = {
12706
13027
  __typename: "HooksTemplate";
12707
13028
  id: string;
12708
13029
  name: string;
@@ -12793,7 +13114,7 @@ export type SubgraphGetLenderAccountWithMarketQuery = {
12793
13114
  } | null;
12794
13115
  _asset: SubgraphTokenDataFragment;
12795
13116
  hooksConfig?: SubgraphHooksConfigDataForMarketFragment | null;
12796
- hooks?: SubgraphHooksInstanceDataForMarketFragment | null;
13117
+ hooks?: SubgraphHooksInstanceDataFragment | null;
12797
13118
  deployedEvent: SubgraphMarketDeployedEventFragment;
12798
13119
  } | null;
12799
13120
  };
@@ -12862,7 +13183,7 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
12862
13183
  } | null;
12863
13184
  _asset: SubgraphTokenDataFragment;
12864
13185
  hooksConfig?: SubgraphHooksConfigDataForMarketFragment | null;
12865
- hooks?: SubgraphHooksInstanceDataForMarketFragment | null;
13186
+ hooks?: SubgraphHooksInstanceDataFragment | null;
12866
13187
  deployedEvent: SubgraphMarketDeployedEventFragment;
12867
13188
  }>;
12868
13189
  lenderAccounts: Array<{
@@ -12980,7 +13301,7 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
12980
13301
  } | null;
12981
13302
  _asset: SubgraphTokenDataFragment;
12982
13303
  hooksConfig?: SubgraphHooksConfigDataForMarketFragment | null;
12983
- hooks?: SubgraphHooksInstanceDataForMarketFragment | null;
13304
+ hooks?: SubgraphHooksInstanceDataFragment | null;
12984
13305
  deployedEvent: SubgraphMarketDeployedEventFragment;
12985
13306
  };
12986
13307
  controllerAuthorization?: {
@@ -13047,7 +13368,7 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
13047
13368
  } | null;
13048
13369
  _asset: SubgraphTokenDataFragment;
13049
13370
  hooksConfig?: SubgraphHooksConfigDataForMarketFragment | null;
13050
- hooks?: SubgraphHooksInstanceDataForMarketFragment | null;
13371
+ hooks?: SubgraphHooksInstanceDataFragment | null;
13051
13372
  deployedEvent: SubgraphMarketDeployedEventFragment;
13052
13373
  }>;
13053
13374
  };
@@ -13124,6 +13445,37 @@ export type SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery = {
13124
13445
  deposits: SubgraphDepositDataFragment[];
13125
13446
  }>;
13126
13447
  };
13448
+ export type SubgraphGetAllHooksTemplatesQueryVariables = Exact<{
13449
+ borrower?: InputMaybe<Scalars["Bytes"]["input"]>;
13450
+ includeBorrower: Scalars["Boolean"]["input"];
13451
+ }>;
13452
+ export type SubgraphGetAllHooksTemplatesQuery = {
13453
+ __typename: "Query";
13454
+ hooksTemplates: SubgraphHooksTemplateDataFragment[];
13455
+ registeredBorrowers?: Array<{
13456
+ __typename: "RegisteredBorrower";
13457
+ isRegistered: boolean;
13458
+ }>;
13459
+ };
13460
+ export type SubgraphGetHooksInstancesForBorrowerQueryVariables = Exact<{
13461
+ borrower: Scalars["Bytes"]["input"];
13462
+ }>;
13463
+ export type SubgraphGetHooksInstancesForBorrowerQuery = {
13464
+ __typename: "Query";
13465
+ hooksInstances: SubgraphHooksInstanceDataFragment[];
13466
+ };
13467
+ export type SubgraphGetAllHooksDataForBorrowerQueryVariables = Exact<{
13468
+ borrower: Scalars["Bytes"]["input"];
13469
+ }>;
13470
+ export type SubgraphGetAllHooksDataForBorrowerQuery = {
13471
+ __typename: "Query";
13472
+ hooksTemplates: SubgraphHooksTemplateDataFragment[];
13473
+ hooksInstances: SubgraphHooksInstanceDataFragment[];
13474
+ registeredBorrowers: Array<{
13475
+ __typename: "RegisteredBorrower";
13476
+ isRegistered: boolean;
13477
+ }>;
13478
+ };
13127
13479
  export type SubgraphGetMarketEventsQueryVariables = Exact<{
13128
13480
  market: Scalars["ID"]["input"];
13129
13481
  startEventIndex?: InputMaybe<Scalars["Int"]["input"]>;
@@ -13135,6 +13487,7 @@ export type SubgraphGetMarketEventsQuery = {
13135
13487
  market?: {
13136
13488
  __typename: "Market";
13137
13489
  marketClosedEvent?: SubgraphMarketClosedDataFragment | null;
13490
+ forceBuyBackDisabledRecord?: SubgraphDisabledForceBuyBacksDataFragment | null;
13138
13491
  delinquencyRecords: SubgraphDelinquencyStatusChangedDataFragment[];
13139
13492
  borrowRecords: SubgraphBorrowDataFragment[];
13140
13493
  depositRecords: SubgraphDepositDataFragment[];
@@ -13143,6 +13496,10 @@ export type SubgraphGetMarketEventsQuery = {
13143
13496
  annualInterestBipsUpdatedRecords: SubgraphAnnualInterestBipsUpdatedDataFragment[];
13144
13497
  maxTotalSupplyUpdatedRecords: SubgraphMaxTotalSupplyUpdatedDataFragment[];
13145
13498
  withdrawalRequestRecords: SubgraphWithdrawalRequestPropertiesFragment[];
13499
+ forceBuyBackRecords: SubgraphForceBuyBackDataFragment[];
13500
+ minimumDepositUpdateRecords: SubgraphMinimumDepositUpdatedDataFragment[];
13501
+ protocolFeeBipsUpdatedRecords: SubgraphProtocolFeeBipsUpdatedDataFragment[];
13502
+ fixedTermUpdatedRecords: SubgraphFixedTermUpdatedDataFragment[];
13146
13503
  } | null;
13147
13504
  };
13148
13505
  export type SubgraphGetMarketsForBorrowerQueryVariables = Exact<{
@@ -13352,8 +13709,8 @@ export declare const AprConstraintsFragmentDoc: Apollo.DocumentNode;
13352
13709
  export declare const DelinquencyStatusChangedDataFragmentDoc: Apollo.DocumentNode;
13353
13710
  export declare const TokenDataFragmentDoc: Apollo.DocumentNode;
13354
13711
  export declare const HooksConfigDataForMarketFragmentDoc: Apollo.DocumentNode;
13355
- export declare const HooksTemplateDataForMarketFragmentDoc: Apollo.DocumentNode;
13356
- export declare const HooksInstanceDataForMarketFragmentDoc: Apollo.DocumentNode;
13712
+ export declare const HooksTemplateDataFragmentDoc: Apollo.DocumentNode;
13713
+ export declare const HooksInstanceDataFragmentDoc: Apollo.DocumentNode;
13357
13714
  export declare const MarketDeployedEventFragmentDoc: Apollo.DocumentNode;
13358
13715
  export declare const MarketDataFragmentDoc: Apollo.DocumentNode;
13359
13716
  export declare const BorrowDataFragmentDoc: Apollo.DocumentNode;
@@ -13361,6 +13718,11 @@ export declare const FeesCollectedDataFragmentDoc: Apollo.DocumentNode;
13361
13718
  export declare const RepaymentDataFragmentDoc: Apollo.DocumentNode;
13362
13719
  export declare const MarketRecordsFragmentDoc: Apollo.DocumentNode;
13363
13720
  export declare const MarketDataWithEventsFragmentDoc: Apollo.DocumentNode;
13721
+ export declare const ForceBuyBackDataFragmentDoc: Apollo.DocumentNode;
13722
+ export declare const MinimumDepositUpdatedDataFragmentDoc: Apollo.DocumentNode;
13723
+ export declare const ProtocolFeeBipsUpdatedDataFragmentDoc: Apollo.DocumentNode;
13724
+ export declare const DisabledForceBuyBacksDataFragmentDoc: Apollo.DocumentNode;
13725
+ export declare const FixedTermUpdatedDataFragmentDoc: Apollo.DocumentNode;
13364
13726
  export declare const LenderWithdrawalPropertiesFragmentDoc: Apollo.DocumentNode;
13365
13727
  export declare const WithdrawalBatchPaymentPropertiesFragmentDoc: Apollo.DocumentNode;
13366
13728
  export declare const WithdrawalBatchPropertiesFragmentDoc: Apollo.DocumentNode;
@@ -13372,624 +13734,49 @@ export declare const AnnualInterestBipsUpdatedDataFragmentDoc: Apollo.DocumentNo
13372
13734
  export declare const MaxTotalSupplyUpdatedDataFragmentDoc: Apollo.DocumentNode;
13373
13735
  export declare const MarketClosedDataFragmentDoc: Apollo.DocumentNode;
13374
13736
  export declare const GetLenderAccountForMarketDocument: Apollo.DocumentNode;
13375
- /**
13376
- * __useGetLenderAccountForMarketQuery__
13377
- *
13378
- * To run a query within a React component, call `useGetLenderAccountForMarketQuery` and pass it any options that fit your needs.
13379
- * When your component renders, `useGetLenderAccountForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13380
- * you can use to render your UI.
13381
- *
13382
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13383
- *
13384
- * @example
13385
- * const { data, loading, error } = useGetLenderAccountForMarketQuery({
13386
- * variables: {
13387
- * market: // value for 'market'
13388
- * lender: // value for 'lender'
13389
- * numDeposits: // value for 'numDeposits'
13390
- * skipDeposits: // value for 'skipDeposits'
13391
- * orderDeposits: // value for 'orderDeposits'
13392
- * directionDeposits: // value for 'directionDeposits'
13393
- * },
13394
- * });
13395
- */
13396
- export declare function useGetLenderAccountForMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetLenderAccountForMarketQuery, SubgraphGetLenderAccountForMarketQueryVariables>): GetLenderAccountForMarketQueryHookResult;
13397
- export declare function useGetLenderAccountForMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetLenderAccountForMarketQuery, SubgraphGetLenderAccountForMarketQueryVariables>): GetLenderAccountForMarketLazyQueryHookResult;
13398
- export declare function useGetLenderAccountForMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetLenderAccountForMarketQuery, SubgraphGetLenderAccountForMarketQueryVariables>): GetLenderAccountForMarketSuspenseQueryHookResult;
13399
- export type GetLenderAccountForMarketQueryHookResult = Apollo.QueryResult<SubgraphGetLenderAccountForMarketQuery, SubgraphGetLenderAccountForMarketQueryVariables>;
13400
- export type GetLenderAccountForMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetLenderAccountForMarketQuery, SubgraphGetLenderAccountForMarketQueryVariables>;
13401
- export type GetLenderAccountForMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetLenderAccountForMarketQuery, SubgraphGetLenderAccountForMarketQueryVariables>;
13402
13737
  export type GetLenderAccountForMarketQueryResult = Apollo.QueryResult<SubgraphGetLenderAccountForMarketQuery, SubgraphGetLenderAccountForMarketQueryVariables>;
13403
13738
  export declare const GetLenderAccountWithMarketDocument: Apollo.DocumentNode;
13404
- /**
13405
- * __useGetLenderAccountWithMarketQuery__
13406
- *
13407
- * To run a query within a React component, call `useGetLenderAccountWithMarketQuery` and pass it any options that fit your needs.
13408
- * When your component renders, `useGetLenderAccountWithMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13409
- * you can use to render your UI.
13410
- *
13411
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13412
- *
13413
- * @example
13414
- * const { data, loading, error } = useGetLenderAccountWithMarketQuery({
13415
- * variables: {
13416
- * market: // value for 'market'
13417
- * lender: // value for 'lender'
13418
- * numDeposits: // value for 'numDeposits'
13419
- * skipDeposits: // value for 'skipDeposits'
13420
- * orderDeposits: // value for 'orderDeposits'
13421
- * directionDeposits: // value for 'directionDeposits'
13422
- * numBorrows: // value for 'numBorrows'
13423
- * skipBorrows: // value for 'skipBorrows'
13424
- * orderBorrows: // value for 'orderBorrows'
13425
- * directionBorrows: // value for 'directionBorrows'
13426
- * numRepayments: // value for 'numRepayments'
13427
- * skipRepayments: // value for 'skipRepayments'
13428
- * orderRepayments: // value for 'orderRepayments'
13429
- * directionRepayments: // value for 'directionRepayments'
13430
- * },
13431
- * });
13432
- */
13433
- export declare function useGetLenderAccountWithMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetLenderAccountWithMarketQuery, SubgraphGetLenderAccountWithMarketQueryVariables>): GetLenderAccountWithMarketQueryHookResult;
13434
- export declare function useGetLenderAccountWithMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetLenderAccountWithMarketQuery, SubgraphGetLenderAccountWithMarketQueryVariables>): GetLenderAccountWithMarketLazyQueryHookResult;
13435
- export declare function useGetLenderAccountWithMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetLenderAccountWithMarketQuery, SubgraphGetLenderAccountWithMarketQueryVariables>): GetLenderAccountWithMarketSuspenseQueryHookResult;
13436
- export type GetLenderAccountWithMarketQueryHookResult = Apollo.QueryResult<SubgraphGetLenderAccountWithMarketQuery, SubgraphGetLenderAccountWithMarketQueryVariables>;
13437
- export type GetLenderAccountWithMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetLenderAccountWithMarketQuery, SubgraphGetLenderAccountWithMarketQueryVariables>;
13438
- export type GetLenderAccountWithMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetLenderAccountWithMarketQuery, SubgraphGetLenderAccountWithMarketQueryVariables>;
13439
13739
  export type GetLenderAccountWithMarketQueryResult = Apollo.QueryResult<SubgraphGetLenderAccountWithMarketQuery, SubgraphGetLenderAccountWithMarketQueryVariables>;
13440
13740
  export declare const GetAllMarketsForLenderViewDocument: Apollo.DocumentNode;
13441
- /**
13442
- * __useGetAllMarketsForLenderViewQuery__
13443
- *
13444
- * To run a query within a React component, call `useGetAllMarketsForLenderViewQuery` and pass it any options that fit your needs.
13445
- * When your component renders, `useGetAllMarketsForLenderViewQuery` returns an object from Apollo Client that contains loading, error, and data properties
13446
- * you can use to render your UI.
13447
- *
13448
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13449
- *
13450
- * @example
13451
- * const { data, loading, error } = useGetAllMarketsForLenderViewQuery({
13452
- * variables: {
13453
- * lender: // value for 'lender'
13454
- * marketFilter: // value for 'marketFilter'
13455
- * numDeposits: // value for 'numDeposits'
13456
- * skipDeposits: // value for 'skipDeposits'
13457
- * orderDeposits: // value for 'orderDeposits'
13458
- * directionDeposits: // value for 'directionDeposits'
13459
- * numBorrows: // value for 'numBorrows'
13460
- * skipBorrows: // value for 'skipBorrows'
13461
- * orderBorrows: // value for 'orderBorrows'
13462
- * directionBorrows: // value for 'directionBorrows'
13463
- * numRepayments: // value for 'numRepayments'
13464
- * skipRepayments: // value for 'skipRepayments'
13465
- * orderRepayments: // value for 'orderRepayments'
13466
- * directionRepayments: // value for 'directionRepayments'
13467
- * },
13468
- * });
13469
- */
13470
- export declare function useGetAllMarketsForLenderViewQuery(baseOptions?: Apollo.QueryHookOptions<SubgraphGetAllMarketsForLenderViewQuery, SubgraphGetAllMarketsForLenderViewQueryVariables>): GetAllMarketsForLenderViewQueryHookResult;
13471
- export declare function useGetAllMarketsForLenderViewLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetAllMarketsForLenderViewQuery, SubgraphGetAllMarketsForLenderViewQueryVariables>): GetAllMarketsForLenderViewLazyQueryHookResult;
13472
- export declare function useGetAllMarketsForLenderViewSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetAllMarketsForLenderViewQuery, SubgraphGetAllMarketsForLenderViewQueryVariables>): GetAllMarketsForLenderViewSuspenseQueryHookResult;
13473
- export type GetAllMarketsForLenderViewQueryHookResult = Apollo.QueryResult<SubgraphGetAllMarketsForLenderViewQuery, SubgraphGetAllMarketsForLenderViewQueryVariables>;
13474
- export type GetAllMarketsForLenderViewLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetAllMarketsForLenderViewQuery, SubgraphGetAllMarketsForLenderViewQueryVariables>;
13475
- export type GetAllMarketsForLenderViewSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetAllMarketsForLenderViewQuery, SubgraphGetAllMarketsForLenderViewQueryVariables>;
13476
13741
  export type GetAllMarketsForLenderViewQueryResult = Apollo.QueryResult<SubgraphGetAllMarketsForLenderViewQuery, SubgraphGetAllMarketsForLenderViewQueryVariables>;
13477
13742
  export declare const GetAccountsWhereLenderAuthorizedOrActiveDocument: Apollo.DocumentNode;
13478
- /**
13479
- * __useGetAccountsWhereLenderAuthorizedOrActiveQuery__
13480
- *
13481
- * To run a query within a React component, call `useGetAccountsWhereLenderAuthorizedOrActiveQuery` and pass it any options that fit your needs.
13482
- * When your component renders, `useGetAccountsWhereLenderAuthorizedOrActiveQuery` returns an object from Apollo Client that contains loading, error, and data properties
13483
- * you can use to render your UI.
13484
- *
13485
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13486
- *
13487
- * @example
13488
- * const { data, loading, error } = useGetAccountsWhereLenderAuthorizedOrActiveQuery({
13489
- * variables: {
13490
- * lender: // value for 'lender'
13491
- * accountFilter: // value for 'accountFilter'
13492
- * numDeposits: // value for 'numDeposits'
13493
- * skipDeposits: // value for 'skipDeposits'
13494
- * orderDeposits: // value for 'orderDeposits'
13495
- * directionDeposits: // value for 'directionDeposits'
13496
- * numBorrows: // value for 'numBorrows'
13497
- * skipBorrows: // value for 'skipBorrows'
13498
- * orderBorrows: // value for 'orderBorrows'
13499
- * directionBorrows: // value for 'directionBorrows'
13500
- * numRepayments: // value for 'numRepayments'
13501
- * skipRepayments: // value for 'skipRepayments'
13502
- * orderRepayments: // value for 'orderRepayments'
13503
- * directionRepayments: // value for 'directionRepayments'
13504
- * },
13505
- * });
13506
- */
13507
- export declare function useGetAccountsWhereLenderAuthorizedOrActiveQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery, SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables>): GetAccountsWhereLenderAuthorizedOrActiveQueryHookResult;
13508
- export declare function useGetAccountsWhereLenderAuthorizedOrActiveLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery, SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables>): GetAccountsWhereLenderAuthorizedOrActiveLazyQueryHookResult;
13509
- export declare function useGetAccountsWhereLenderAuthorizedOrActiveSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery, SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables>): GetAccountsWhereLenderAuthorizedOrActiveSuspenseQueryHookResult;
13510
- export type GetAccountsWhereLenderAuthorizedOrActiveQueryHookResult = Apollo.QueryResult<SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery, SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables>;
13511
- export type GetAccountsWhereLenderAuthorizedOrActiveLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery, SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables>;
13512
- export type GetAccountsWhereLenderAuthorizedOrActiveSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery, SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables>;
13513
13743
  export type GetAccountsWhereLenderAuthorizedOrActiveQueryResult = Apollo.QueryResult<SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery, SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables>;
13514
13744
  export declare const GetLenderWithdrawalsForMarketDocument: Apollo.DocumentNode;
13515
- /**
13516
- * __useGetLenderWithdrawalsForMarketQuery__
13517
- *
13518
- * To run a query within a React component, call `useGetLenderWithdrawalsForMarketQuery` and pass it any options that fit your needs.
13519
- * When your component renders, `useGetLenderWithdrawalsForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13520
- * you can use to render your UI.
13521
- *
13522
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13523
- *
13524
- * @example
13525
- * const { data, loading, error } = useGetLenderWithdrawalsForMarketQuery({
13526
- * variables: {
13527
- * market: // value for 'market'
13528
- * lender: // value for 'lender'
13529
- * numWithdrawals: // value for 'numWithdrawals'
13530
- * skipWithdrawals: // value for 'skipWithdrawals'
13531
- * },
13532
- * });
13533
- */
13534
- export declare function useGetLenderWithdrawalsForMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetLenderWithdrawalsForMarketQuery, SubgraphGetLenderWithdrawalsForMarketQueryVariables>): GetLenderWithdrawalsForMarketQueryHookResult;
13535
- export declare function useGetLenderWithdrawalsForMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetLenderWithdrawalsForMarketQuery, SubgraphGetLenderWithdrawalsForMarketQueryVariables>): GetLenderWithdrawalsForMarketLazyQueryHookResult;
13536
- export declare function useGetLenderWithdrawalsForMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetLenderWithdrawalsForMarketQuery, SubgraphGetLenderWithdrawalsForMarketQueryVariables>): GetLenderWithdrawalsForMarketSuspenseQueryHookResult;
13537
- export type GetLenderWithdrawalsForMarketQueryHookResult = Apollo.QueryResult<SubgraphGetLenderWithdrawalsForMarketQuery, SubgraphGetLenderWithdrawalsForMarketQueryVariables>;
13538
- export type GetLenderWithdrawalsForMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetLenderWithdrawalsForMarketQuery, SubgraphGetLenderWithdrawalsForMarketQueryVariables>;
13539
- export type GetLenderWithdrawalsForMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetLenderWithdrawalsForMarketQuery, SubgraphGetLenderWithdrawalsForMarketQueryVariables>;
13540
13745
  export type GetLenderWithdrawalsForMarketQueryResult = Apollo.QueryResult<SubgraphGetLenderWithdrawalsForMarketQuery, SubgraphGetLenderWithdrawalsForMarketQueryVariables>;
13541
13746
  export declare const GetLenderAuthorizationByMarketDocument: Apollo.DocumentNode;
13542
- /**
13543
- * __useGetLenderAuthorizationByMarketQuery__
13544
- *
13545
- * To run a query within a React component, call `useGetLenderAuthorizationByMarketQuery` and pass it any options that fit your needs.
13546
- * When your component renders, `useGetLenderAuthorizationByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13547
- * you can use to render your UI.
13548
- *
13549
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13550
- *
13551
- * @example
13552
- * const { data, loading, error } = useGetLenderAuthorizationByMarketQuery({
13553
- * variables: {
13554
- * market: // value for 'market'
13555
- * lender: // value for 'lender'
13556
- * },
13557
- * });
13558
- */
13559
- export declare function useGetLenderAuthorizationByMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetLenderAuthorizationByMarketQuery, SubgraphGetLenderAuthorizationByMarketQueryVariables>): GetLenderAuthorizationByMarketQueryHookResult;
13560
- export declare function useGetLenderAuthorizationByMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetLenderAuthorizationByMarketQuery, SubgraphGetLenderAuthorizationByMarketQueryVariables>): GetLenderAuthorizationByMarketLazyQueryHookResult;
13561
- export declare function useGetLenderAuthorizationByMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetLenderAuthorizationByMarketQuery, SubgraphGetLenderAuthorizationByMarketQueryVariables>): GetLenderAuthorizationByMarketSuspenseQueryHookResult;
13562
- export type GetLenderAuthorizationByMarketQueryHookResult = Apollo.QueryResult<SubgraphGetLenderAuthorizationByMarketQuery, SubgraphGetLenderAuthorizationByMarketQueryVariables>;
13563
- export type GetLenderAuthorizationByMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetLenderAuthorizationByMarketQuery, SubgraphGetLenderAuthorizationByMarketQueryVariables>;
13564
- export type GetLenderAuthorizationByMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetLenderAuthorizationByMarketQuery, SubgraphGetLenderAuthorizationByMarketQueryVariables>;
13565
13747
  export type GetLenderAuthorizationByMarketQueryResult = Apollo.QueryResult<SubgraphGetLenderAuthorizationByMarketQuery, SubgraphGetLenderAuthorizationByMarketQueryVariables>;
13566
13748
  export declare const GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument: Apollo.DocumentNode;
13567
- /**
13568
- * __useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery__
13569
- *
13570
- * To run a query within a React component, call `useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery` and pass it any options that fit your needs.
13571
- * When your component renders, `useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery` returns an object from Apollo Client that contains loading, error, and data properties
13572
- * you can use to render your UI.
13573
- *
13574
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13575
- *
13576
- * @example
13577
- * const { data, loading, error } = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery({
13578
- * variables: {
13579
- * lender: // value for 'lender'
13580
- * minimumBalance: // value for 'minimumBalance'
13581
- * accountFilter: // value for 'accountFilter'
13582
- * numAccounts: // value for 'numAccounts'
13583
- * skipAccounts: // value for 'skipAccounts'
13584
- * orderAccounts: // value for 'orderAccounts'
13585
- * directionAccounts: // value for 'directionAccounts'
13586
- * numDeposits: // value for 'numDeposits'
13587
- * skipDeposits: // value for 'skipDeposits'
13588
- * orderDeposits: // value for 'orderDeposits'
13589
- * directionDeposits: // value for 'directionDeposits'
13590
- * numWithdrawals: // value for 'numWithdrawals'
13591
- * skipWithdrawals: // value for 'skipWithdrawals'
13592
- * },
13593
- * });
13594
- */
13595
- export declare function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery, SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryVariables>): GetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryHookResult;
13596
- export declare function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery, SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryVariables>): GetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQueryHookResult;
13597
- export declare function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery, SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryVariables>): GetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQueryHookResult;
13598
- export type GetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryHookResult = Apollo.QueryResult<SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery, SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryVariables>;
13599
- export type GetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery, SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryVariables>;
13600
- export type GetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery, SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryVariables>;
13601
13749
  export type GetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryResult = Apollo.QueryResult<SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery, SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryVariables>;
13750
+ export declare const GetAllHooksTemplatesDocument: Apollo.DocumentNode;
13751
+ export type GetAllHooksTemplatesQueryResult = Apollo.QueryResult<SubgraphGetAllHooksTemplatesQuery, SubgraphGetAllHooksTemplatesQueryVariables>;
13752
+ export declare const GetHooksInstancesForBorrowerDocument: Apollo.DocumentNode;
13753
+ export type GetHooksInstancesForBorrowerQueryResult = Apollo.QueryResult<SubgraphGetHooksInstancesForBorrowerQuery, SubgraphGetHooksInstancesForBorrowerQueryVariables>;
13754
+ export declare const GetAllHooksDataForBorrowerDocument: Apollo.DocumentNode;
13755
+ export type GetAllHooksDataForBorrowerQueryResult = Apollo.QueryResult<SubgraphGetAllHooksDataForBorrowerQuery, SubgraphGetAllHooksDataForBorrowerQueryVariables>;
13602
13756
  export declare const GetMarketEventsDocument: Apollo.DocumentNode;
13603
- /**
13604
- * __useGetMarketEventsQuery__
13605
- *
13606
- * To run a query within a React component, call `useGetMarketEventsQuery` and pass it any options that fit your needs.
13607
- * When your component renders, `useGetMarketEventsQuery` returns an object from Apollo Client that contains loading, error, and data properties
13608
- * you can use to render your UI.
13609
- *
13610
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13611
- *
13612
- * @example
13613
- * const { data, loading, error } = useGetMarketEventsQuery({
13614
- * variables: {
13615
- * market: // value for 'market'
13616
- * startEventIndex: // value for 'startEventIndex'
13617
- * endEventIndex: // value for 'endEventIndex'
13618
- * limit: // value for 'limit'
13619
- * },
13620
- * });
13621
- */
13622
- export declare function useGetMarketEventsQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetMarketEventsQuery, SubgraphGetMarketEventsQueryVariables>): GetMarketEventsQueryHookResult;
13623
- export declare function useGetMarketEventsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetMarketEventsQuery, SubgraphGetMarketEventsQueryVariables>): GetMarketEventsLazyQueryHookResult;
13624
- export declare function useGetMarketEventsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetMarketEventsQuery, SubgraphGetMarketEventsQueryVariables>): GetMarketEventsSuspenseQueryHookResult;
13625
- export type GetMarketEventsQueryHookResult = Apollo.QueryResult<SubgraphGetMarketEventsQuery, SubgraphGetMarketEventsQueryVariables>;
13626
- export type GetMarketEventsLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketEventsQuery, SubgraphGetMarketEventsQueryVariables>;
13627
- export type GetMarketEventsSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketEventsQuery, SubgraphGetMarketEventsQueryVariables>;
13628
13757
  export type GetMarketEventsQueryResult = Apollo.QueryResult<SubgraphGetMarketEventsQuery, SubgraphGetMarketEventsQueryVariables>;
13629
13758
  export declare const GetMarketsForBorrowerDocument: Apollo.DocumentNode;
13630
- /**
13631
- * __useGetMarketsForBorrowerQuery__
13632
- *
13633
- * To run a query within a React component, call `useGetMarketsForBorrowerQuery` and pass it any options that fit your needs.
13634
- * When your component renders, `useGetMarketsForBorrowerQuery` returns an object from Apollo Client that contains loading, error, and data properties
13635
- * you can use to render your UI.
13636
- *
13637
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13638
- *
13639
- * @example
13640
- * const { data, loading, error } = useGetMarketsForBorrowerQuery({
13641
- * variables: {
13642
- * borrower: // value for 'borrower'
13643
- * marketFilter: // value for 'marketFilter'
13644
- * numMarkets: // value for 'numMarkets'
13645
- * skipMarkets: // value for 'skipMarkets'
13646
- * orderMarkets: // value for 'orderMarkets'
13647
- * directionMarkets: // value for 'directionMarkets'
13648
- * numDeposits: // value for 'numDeposits'
13649
- * skipDeposits: // value for 'skipDeposits'
13650
- * orderDeposits: // value for 'orderDeposits'
13651
- * directionDeposits: // value for 'directionDeposits'
13652
- * numBorrows: // value for 'numBorrows'
13653
- * skipBorrows: // value for 'skipBorrows'
13654
- * orderBorrows: // value for 'orderBorrows'
13655
- * directionBorrows: // value for 'directionBorrows'
13656
- * numFeeCollections: // value for 'numFeeCollections'
13657
- * skipFeeCollections: // value for 'skipFeeCollections'
13658
- * orderFeeCollections: // value for 'orderFeeCollections'
13659
- * directionFeeCollections: // value for 'directionFeeCollections'
13660
- * numRepayments: // value for 'numRepayments'
13661
- * skipRepayments: // value for 'skipRepayments'
13662
- * orderRepayments: // value for 'orderRepayments'
13663
- * directionRepayments: // value for 'directionRepayments'
13664
- * },
13665
- * });
13666
- */
13667
- export declare function useGetMarketsForBorrowerQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>): GetMarketsForBorrowerQueryHookResult;
13668
- export declare function useGetMarketsForBorrowerLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>): GetMarketsForBorrowerLazyQueryHookResult;
13669
- export declare function useGetMarketsForBorrowerSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>): GetMarketsForBorrowerSuspenseQueryHookResult;
13670
- export type GetMarketsForBorrowerQueryHookResult = Apollo.QueryResult<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>;
13671
- export type GetMarketsForBorrowerLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>;
13672
- export type GetMarketsForBorrowerSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>;
13673
13759
  export type GetMarketsForBorrowerQueryResult = Apollo.QueryResult<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>;
13674
13760
  export declare const GetMarketsForAllBorrowersDocument: Apollo.DocumentNode;
13675
- /**
13676
- * __useGetMarketsForAllBorrowersQuery__
13677
- *
13678
- * To run a query within a React component, call `useGetMarketsForAllBorrowersQuery` and pass it any options that fit your needs.
13679
- * When your component renders, `useGetMarketsForAllBorrowersQuery` returns an object from Apollo Client that contains loading, error, and data properties
13680
- * you can use to render your UI.
13681
- *
13682
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13683
- *
13684
- * @example
13685
- * const { data, loading, error } = useGetMarketsForAllBorrowersQuery({
13686
- * variables: {
13687
- * numMarkets: // value for 'numMarkets'
13688
- * skipMarkets: // value for 'skipMarkets'
13689
- * orderMarkets: // value for 'orderMarkets'
13690
- * directionMarkets: // value for 'directionMarkets'
13691
- * numDeposits: // value for 'numDeposits'
13692
- * skipDeposits: // value for 'skipDeposits'
13693
- * orderDeposits: // value for 'orderDeposits'
13694
- * directionDeposits: // value for 'directionDeposits'
13695
- * numBorrows: // value for 'numBorrows'
13696
- * skipBorrows: // value for 'skipBorrows'
13697
- * orderBorrows: // value for 'orderBorrows'
13698
- * directionBorrows: // value for 'directionBorrows'
13699
- * numFeeCollections: // value for 'numFeeCollections'
13700
- * skipFeeCollections: // value for 'skipFeeCollections'
13701
- * orderFeeCollections: // value for 'orderFeeCollections'
13702
- * directionFeeCollections: // value for 'directionFeeCollections'
13703
- * numRepayments: // value for 'numRepayments'
13704
- * skipRepayments: // value for 'skipRepayments'
13705
- * orderRepayments: // value for 'orderRepayments'
13706
- * directionRepayments: // value for 'directionRepayments'
13707
- * },
13708
- * });
13709
- */
13710
- export declare function useGetMarketsForAllBorrowersQuery(baseOptions?: Apollo.QueryHookOptions<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>): GetMarketsForAllBorrowersQueryHookResult;
13711
- export declare function useGetMarketsForAllBorrowersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>): GetMarketsForAllBorrowersLazyQueryHookResult;
13712
- export declare function useGetMarketsForAllBorrowersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>): GetMarketsForAllBorrowersSuspenseQueryHookResult;
13713
- export type GetMarketsForAllBorrowersQueryHookResult = Apollo.QueryResult<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
13714
- export type GetMarketsForAllBorrowersLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
13715
- export type GetMarketsForAllBorrowersSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
13716
13761
  export type GetMarketsForAllBorrowersQueryResult = Apollo.QueryResult<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
13717
13762
  export declare const GetMarketDocument: Apollo.DocumentNode;
13718
- /**
13719
- * __useGetMarketQuery__
13720
- *
13721
- * To run a query within a React component, call `useGetMarketQuery` and pass it any options that fit your needs.
13722
- * When your component renders, `useGetMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13723
- * you can use to render your UI.
13724
- *
13725
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13726
- *
13727
- * @example
13728
- * const { data, loading, error } = useGetMarketQuery({
13729
- * variables: {
13730
- * market: // value for 'market'
13731
- * numDeposits: // value for 'numDeposits'
13732
- * skipDeposits: // value for 'skipDeposits'
13733
- * orderDeposits: // value for 'orderDeposits'
13734
- * directionDeposits: // value for 'directionDeposits'
13735
- * numBorrows: // value for 'numBorrows'
13736
- * skipBorrows: // value for 'skipBorrows'
13737
- * orderBorrows: // value for 'orderBorrows'
13738
- * directionBorrows: // value for 'directionBorrows'
13739
- * numFeeCollections: // value for 'numFeeCollections'
13740
- * skipFeeCollections: // value for 'skipFeeCollections'
13741
- * orderFeeCollections: // value for 'orderFeeCollections'
13742
- * directionFeeCollections: // value for 'directionFeeCollections'
13743
- * numRepayments: // value for 'numRepayments'
13744
- * skipRepayments: // value for 'skipRepayments'
13745
- * orderRepayments: // value for 'orderRepayments'
13746
- * directionRepayments: // value for 'directionRepayments'
13747
- * },
13748
- * });
13749
- */
13750
- export declare function useGetMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>): GetMarketQueryHookResult;
13751
- export declare function useGetMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>): GetMarketLazyQueryHookResult;
13752
- export declare function useGetMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>): GetMarketSuspenseQueryHookResult;
13753
- export type GetMarketQueryHookResult = Apollo.QueryResult<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>;
13754
- export type GetMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>;
13755
- export type GetMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>;
13756
13763
  export type GetMarketQueryResult = Apollo.QueryResult<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>;
13757
13764
  export declare const GetWithdrawalRequestsByMarketDocument: Apollo.DocumentNode;
13758
- /**
13759
- * __useGetWithdrawalRequestsByMarketQuery__
13760
- *
13761
- * To run a query within a React component, call `useGetWithdrawalRequestsByMarketQuery` and pass it any options that fit your needs.
13762
- * When your component renders, `useGetWithdrawalRequestsByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13763
- * you can use to render your UI.
13764
- *
13765
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13766
- *
13767
- * @example
13768
- * const { data, loading, error } = useGetWithdrawalRequestsByMarketQuery({
13769
- * variables: {
13770
- * market: // value for 'market'
13771
- * numWithdrawals: // value for 'numWithdrawals'
13772
- * skipWithdrawals: // value for 'skipWithdrawals'
13773
- * orderWithdrawals: // value for 'orderWithdrawals'
13774
- * directionWithdrawals: // value for 'directionWithdrawals'
13775
- * },
13776
- * });
13777
- */
13778
- export declare function useGetWithdrawalRequestsByMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>): GetWithdrawalRequestsByMarketQueryHookResult;
13779
- export declare function useGetWithdrawalRequestsByMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>): GetWithdrawalRequestsByMarketLazyQueryHookResult;
13780
- export declare function useGetWithdrawalRequestsByMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>): GetWithdrawalRequestsByMarketSuspenseQueryHookResult;
13781
- export type GetWithdrawalRequestsByMarketQueryHookResult = Apollo.QueryResult<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>;
13782
- export type GetWithdrawalRequestsByMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>;
13783
- export type GetWithdrawalRequestsByMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>;
13784
13765
  export type GetWithdrawalRequestsByMarketQueryResult = Apollo.QueryResult<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>;
13785
13766
  export declare const GetAllPendingWithdrawalBatchesForMarketDocument: Apollo.DocumentNode;
13786
- /**
13787
- * __useGetAllPendingWithdrawalBatchesForMarketQuery__
13788
- *
13789
- * To run a query within a React component, call `useGetAllPendingWithdrawalBatchesForMarketQuery` and pass it any options that fit your needs.
13790
- * When your component renders, `useGetAllPendingWithdrawalBatchesForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13791
- * you can use to render your UI.
13792
- *
13793
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13794
- *
13795
- * @example
13796
- * const { data, loading, error } = useGetAllPendingWithdrawalBatchesForMarketQuery({
13797
- * variables: {
13798
- * market: // value for 'market'
13799
- * },
13800
- * });
13801
- */
13802
- export declare function useGetAllPendingWithdrawalBatchesForMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetAllPendingWithdrawalBatchesForMarketQuery, SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables>): GetAllPendingWithdrawalBatchesForMarketQueryHookResult;
13803
- export declare function useGetAllPendingWithdrawalBatchesForMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetAllPendingWithdrawalBatchesForMarketQuery, SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables>): GetAllPendingWithdrawalBatchesForMarketLazyQueryHookResult;
13804
- export declare function useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetAllPendingWithdrawalBatchesForMarketQuery, SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables>): GetAllPendingWithdrawalBatchesForMarketSuspenseQueryHookResult;
13805
- export type GetAllPendingWithdrawalBatchesForMarketQueryHookResult = Apollo.QueryResult<SubgraphGetAllPendingWithdrawalBatchesForMarketQuery, SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables>;
13806
- export type GetAllPendingWithdrawalBatchesForMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetAllPendingWithdrawalBatchesForMarketQuery, SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables>;
13807
- export type GetAllPendingWithdrawalBatchesForMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetAllPendingWithdrawalBatchesForMarketQuery, SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables>;
13808
13767
  export type GetAllPendingWithdrawalBatchesForMarketQueryResult = Apollo.QueryResult<SubgraphGetAllPendingWithdrawalBatchesForMarketQuery, SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables>;
13809
13768
  export declare const GetIncompleteWithdrawalsForMarketDocument: Apollo.DocumentNode;
13810
- /**
13811
- * __useGetIncompleteWithdrawalsForMarketQuery__
13812
- *
13813
- * To run a query within a React component, call `useGetIncompleteWithdrawalsForMarketQuery` and pass it any options that fit your needs.
13814
- * When your component renders, `useGetIncompleteWithdrawalsForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13815
- * you can use to render your UI.
13816
- *
13817
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13818
- *
13819
- * @example
13820
- * const { data, loading, error } = useGetIncompleteWithdrawalsForMarketQuery({
13821
- * variables: {
13822
- * market: // value for 'market'
13823
- * numWithdrawalBatches: // value for 'numWithdrawalBatches'
13824
- * skipWithdrawalBatches: // value for 'skipWithdrawalBatches'
13825
- * orderWithdrawalBatches: // value for 'orderWithdrawalBatches'
13826
- * directionWithdrawalBatches: // value for 'directionWithdrawalBatches'
13827
- * },
13828
- * });
13829
- */
13830
- export declare function useGetIncompleteWithdrawalsForMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetIncompleteWithdrawalsForMarketQuery, SubgraphGetIncompleteWithdrawalsForMarketQueryVariables>): GetIncompleteWithdrawalsForMarketQueryHookResult;
13831
- export declare function useGetIncompleteWithdrawalsForMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetIncompleteWithdrawalsForMarketQuery, SubgraphGetIncompleteWithdrawalsForMarketQueryVariables>): GetIncompleteWithdrawalsForMarketLazyQueryHookResult;
13832
- export declare function useGetIncompleteWithdrawalsForMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetIncompleteWithdrawalsForMarketQuery, SubgraphGetIncompleteWithdrawalsForMarketQueryVariables>): GetIncompleteWithdrawalsForMarketSuspenseQueryHookResult;
13833
- export type GetIncompleteWithdrawalsForMarketQueryHookResult = Apollo.QueryResult<SubgraphGetIncompleteWithdrawalsForMarketQuery, SubgraphGetIncompleteWithdrawalsForMarketQueryVariables>;
13834
- export type GetIncompleteWithdrawalsForMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetIncompleteWithdrawalsForMarketQuery, SubgraphGetIncompleteWithdrawalsForMarketQueryVariables>;
13835
- export type GetIncompleteWithdrawalsForMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetIncompleteWithdrawalsForMarketQuery, SubgraphGetIncompleteWithdrawalsForMarketQueryVariables>;
13836
13769
  export type GetIncompleteWithdrawalsForMarketQueryResult = Apollo.QueryResult<SubgraphGetIncompleteWithdrawalsForMarketQuery, SubgraphGetIncompleteWithdrawalsForMarketQueryVariables>;
13837
13770
  export declare const GetAllMarketsDocument: Apollo.DocumentNode;
13838
- /**
13839
- * __useGetAllMarketsQuery__
13840
- *
13841
- * To run a query within a React component, call `useGetAllMarketsQuery` and pass it any options that fit your needs.
13842
- * When your component renders, `useGetAllMarketsQuery` returns an object from Apollo Client that contains loading, error, and data properties
13843
- * you can use to render your UI.
13844
- *
13845
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13846
- *
13847
- * @example
13848
- * const { data, loading, error } = useGetAllMarketsQuery({
13849
- * variables: {
13850
- * },
13851
- * });
13852
- */
13853
- export declare function useGetAllMarketsQuery(baseOptions?: Apollo.QueryHookOptions<SubgraphGetAllMarketsQuery, SubgraphGetAllMarketsQueryVariables>): GetAllMarketsQueryHookResult;
13854
- export declare function useGetAllMarketsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetAllMarketsQuery, SubgraphGetAllMarketsQueryVariables>): GetAllMarketsLazyQueryHookResult;
13855
- export declare function useGetAllMarketsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetAllMarketsQuery, SubgraphGetAllMarketsQueryVariables>): GetAllMarketsSuspenseQueryHookResult;
13856
- export type GetAllMarketsQueryHookResult = Apollo.QueryResult<SubgraphGetAllMarketsQuery, SubgraphGetAllMarketsQueryVariables>;
13857
- export type GetAllMarketsLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetAllMarketsQuery, SubgraphGetAllMarketsQueryVariables>;
13858
- export type GetAllMarketsSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetAllMarketsQuery, SubgraphGetAllMarketsQueryVariables>;
13859
13771
  export type GetAllMarketsQueryResult = Apollo.QueryResult<SubgraphGetAllMarketsQuery, SubgraphGetAllMarketsQueryVariables>;
13860
13772
  export declare const GetAuthorizedLendersByMarketDocument: Apollo.DocumentNode;
13861
- /**
13862
- * __useGetAuthorizedLendersByMarketQuery__
13863
- *
13864
- * To run a query within a React component, call `useGetAuthorizedLendersByMarketQuery` and pass it any options that fit your needs.
13865
- * When your component renders, `useGetAuthorizedLendersByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
13866
- * you can use to render your UI.
13867
- *
13868
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13869
- *
13870
- * @example
13871
- * const { data, loading, error } = useGetAuthorizedLendersByMarketQuery({
13872
- * variables: {
13873
- * market: // value for 'market'
13874
- * },
13875
- * });
13876
- */
13877
- export declare function useGetAuthorizedLendersByMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>): GetAuthorizedLendersByMarketQueryHookResult;
13878
- export declare function useGetAuthorizedLendersByMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>): GetAuthorizedLendersByMarketLazyQueryHookResult;
13879
- export declare function useGetAuthorizedLendersByMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>): GetAuthorizedLendersByMarketSuspenseQueryHookResult;
13880
- export type GetAuthorizedLendersByMarketQueryHookResult = Apollo.QueryResult<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>;
13881
- export type GetAuthorizedLendersByMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>;
13882
- export type GetAuthorizedLendersByMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>;
13883
13773
  export type GetAuthorizedLendersByMarketQueryResult = Apollo.QueryResult<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>;
13884
13774
  export declare const GetAllAuthorizedLendersDocument: Apollo.DocumentNode;
13885
- /**
13886
- * __useGetAllAuthorizedLendersQuery__
13887
- *
13888
- * To run a query within a React component, call `useGetAllAuthorizedLendersQuery` and pass it any options that fit your needs.
13889
- * When your component renders, `useGetAllAuthorizedLendersQuery` returns an object from Apollo Client that contains loading, error, and data properties
13890
- * you can use to render your UI.
13891
- *
13892
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13893
- *
13894
- * @example
13895
- * const { data, loading, error } = useGetAllAuthorizedLendersQuery({
13896
- * variables: {
13897
- * borrower: // value for 'borrower'
13898
- * },
13899
- * });
13900
- */
13901
- export declare function useGetAllAuthorizedLendersQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetAllAuthorizedLendersQuery, SubgraphGetAllAuthorizedLendersQueryVariables>): GetAllAuthorizedLendersQueryHookResult;
13902
- export declare function useGetAllAuthorizedLendersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetAllAuthorizedLendersQuery, SubgraphGetAllAuthorizedLendersQueryVariables>): GetAllAuthorizedLendersLazyQueryHookResult;
13903
- export declare function useGetAllAuthorizedLendersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetAllAuthorizedLendersQuery, SubgraphGetAllAuthorizedLendersQueryVariables>): GetAllAuthorizedLendersSuspenseQueryHookResult;
13904
- export type GetAllAuthorizedLendersQueryHookResult = Apollo.QueryResult<SubgraphGetAllAuthorizedLendersQuery, SubgraphGetAllAuthorizedLendersQueryVariables>;
13905
- export type GetAllAuthorizedLendersLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetAllAuthorizedLendersQuery, SubgraphGetAllAuthorizedLendersQueryVariables>;
13906
- export type GetAllAuthorizedLendersSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetAllAuthorizedLendersQuery, SubgraphGetAllAuthorizedLendersQueryVariables>;
13907
13775
  export type GetAllAuthorizedLendersQueryResult = Apollo.QueryResult<SubgraphGetAllAuthorizedLendersQuery, SubgraphGetAllAuthorizedLendersQueryVariables>;
13908
13776
  export declare const GetAuthorizedLendersByBorrowerDocument: Apollo.DocumentNode;
13909
- /**
13910
- * __useGetAuthorizedLendersByBorrowerQuery__
13911
- *
13912
- * To run a query within a React component, call `useGetAuthorizedLendersByBorrowerQuery` and pass it any options that fit your needs.
13913
- * When your component renders, `useGetAuthorizedLendersByBorrowerQuery` returns an object from Apollo Client that contains loading, error, and data properties
13914
- * you can use to render your UI.
13915
- *
13916
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13917
- *
13918
- * @example
13919
- * const { data, loading, error } = useGetAuthorizedLendersByBorrowerQuery({
13920
- * variables: {
13921
- * filter: // value for 'filter'
13922
- * },
13923
- * });
13924
- */
13925
- export declare function useGetAuthorizedLendersByBorrowerQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetAuthorizedLendersByBorrowerQuery, SubgraphGetAuthorizedLendersByBorrowerQueryVariables>): GetAuthorizedLendersByBorrowerQueryHookResult;
13926
- export declare function useGetAuthorizedLendersByBorrowerLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetAuthorizedLendersByBorrowerQuery, SubgraphGetAuthorizedLendersByBorrowerQueryVariables>): GetAuthorizedLendersByBorrowerLazyQueryHookResult;
13927
- export declare function useGetAuthorizedLendersByBorrowerSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetAuthorizedLendersByBorrowerQuery, SubgraphGetAuthorizedLendersByBorrowerQueryVariables>): GetAuthorizedLendersByBorrowerSuspenseQueryHookResult;
13928
- export type GetAuthorizedLendersByBorrowerQueryHookResult = Apollo.QueryResult<SubgraphGetAuthorizedLendersByBorrowerQuery, SubgraphGetAuthorizedLendersByBorrowerQueryVariables>;
13929
- export type GetAuthorizedLendersByBorrowerLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetAuthorizedLendersByBorrowerQuery, SubgraphGetAuthorizedLendersByBorrowerQueryVariables>;
13930
- export type GetAuthorizedLendersByBorrowerSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetAuthorizedLendersByBorrowerQuery, SubgraphGetAuthorizedLendersByBorrowerQueryVariables>;
13931
13777
  export type GetAuthorizedLendersByBorrowerQueryResult = Apollo.QueryResult<SubgraphGetAuthorizedLendersByBorrowerQuery, SubgraphGetAuthorizedLendersByBorrowerQueryVariables>;
13932
13778
  export declare const GetSubgraphStatusDocument: Apollo.DocumentNode;
13933
- /**
13934
- * __useGetSubgraphStatusQuery__
13935
- *
13936
- * To run a query within a React component, call `useGetSubgraphStatusQuery` and pass it any options that fit your needs.
13937
- * When your component renders, `useGetSubgraphStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
13938
- * you can use to render your UI.
13939
- *
13940
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13941
- *
13942
- * @example
13943
- * const { data, loading, error } = useGetSubgraphStatusQuery({
13944
- * variables: {
13945
- * },
13946
- * });
13947
- */
13948
- export declare function useGetSubgraphStatusQuery(baseOptions?: Apollo.QueryHookOptions<SubgraphGetSubgraphStatusQuery, SubgraphGetSubgraphStatusQueryVariables>): GetSubgraphStatusQueryHookResult;
13949
- export declare function useGetSubgraphStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetSubgraphStatusQuery, SubgraphGetSubgraphStatusQueryVariables>): GetSubgraphStatusLazyQueryHookResult;
13950
- export declare function useGetSubgraphStatusSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetSubgraphStatusQuery, SubgraphGetSubgraphStatusQueryVariables>): GetSubgraphStatusSuspenseQueryHookResult;
13951
- export type GetSubgraphStatusQueryHookResult = Apollo.QueryResult<SubgraphGetSubgraphStatusQuery, SubgraphGetSubgraphStatusQueryVariables>;
13952
- export type GetSubgraphStatusLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetSubgraphStatusQuery, SubgraphGetSubgraphStatusQueryVariables>;
13953
- export type GetSubgraphStatusSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetSubgraphStatusQuery, SubgraphGetSubgraphStatusQueryVariables>;
13954
13779
  export type GetSubgraphStatusQueryResult = Apollo.QueryResult<SubgraphGetSubgraphStatusQuery, SubgraphGetSubgraphStatusQueryVariables>;
13955
13780
  export declare const GetMarketRecordsDocument: Apollo.DocumentNode;
13956
- /**
13957
- * __useGetMarketRecordsQuery__
13958
- *
13959
- * To run a query within a React component, call `useGetMarketRecordsQuery` and pass it any options that fit your needs.
13960
- * When your component renders, `useGetMarketRecordsQuery` returns an object from Apollo Client that contains loading, error, and data properties
13961
- * you can use to render your UI.
13962
- *
13963
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
13964
- *
13965
- * @example
13966
- * const { data, loading, error } = useGetMarketRecordsQuery({
13967
- * variables: {
13968
- * market: // value for 'market'
13969
- * numDeposits: // value for 'numDeposits'
13970
- * skipDeposits: // value for 'skipDeposits'
13971
- * orderDeposits: // value for 'orderDeposits'
13972
- * directionDeposits: // value for 'directionDeposits'
13973
- * numBorrows: // value for 'numBorrows'
13974
- * skipBorrows: // value for 'skipBorrows'
13975
- * orderBorrows: // value for 'orderBorrows'
13976
- * directionBorrows: // value for 'directionBorrows'
13977
- * numFeeCollections: // value for 'numFeeCollections'
13978
- * skipFeeCollections: // value for 'skipFeeCollections'
13979
- * orderFeeCollections: // value for 'orderFeeCollections'
13980
- * directionFeeCollections: // value for 'directionFeeCollections'
13981
- * numRepayments: // value for 'numRepayments'
13982
- * skipRepayments: // value for 'skipRepayments'
13983
- * orderRepayments: // value for 'orderRepayments'
13984
- * directionRepayments: // value for 'directionRepayments'
13985
- * },
13986
- * });
13987
- */
13988
- export declare function useGetMarketRecordsQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>): GetMarketRecordsQueryHookResult;
13989
- export declare function useGetMarketRecordsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>): GetMarketRecordsLazyQueryHookResult;
13990
- export declare function useGetMarketRecordsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>): GetMarketRecordsSuspenseQueryHookResult;
13991
- export type GetMarketRecordsQueryHookResult = Apollo.QueryResult<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>;
13992
- export type GetMarketRecordsLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>;
13993
- export type GetMarketRecordsSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>;
13994
13781
  export type GetMarketRecordsQueryResult = Apollo.QueryResult<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>;
13995
13782
  //# sourceMappingURL=graphql.d.ts.map