@wildcatfi/wildcat-sdk 3.0.1 → 3.0.3

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 (40) hide show
  1. package/dist/access/access-control.d.ts +3 -2
  2. package/dist/access/access-control.d.ts.map +1 -1
  3. package/dist/access/access-control.js +13 -3
  4. package/dist/access/access-control.js.map +1 -1
  5. package/dist/access/fixed-term.d.ts +3 -2
  6. package/dist/access/fixed-term.d.ts.map +1 -1
  7. package/dist/access/fixed-term.js +13 -3
  8. package/dist/access/fixed-term.js.map +1 -1
  9. package/dist/access/index.d.ts +2 -2
  10. package/dist/access/index.d.ts.map +1 -1
  11. package/dist/access/index.js.map +1 -1
  12. package/dist/account/index.d.ts +9 -0
  13. package/dist/account/index.d.ts.map +1 -1
  14. package/dist/account/index.js +22 -10
  15. package/dist/account/index.js.map +1 -1
  16. package/dist/account/validation.d.ts +4 -1
  17. package/dist/account/validation.d.ts.map +1 -1
  18. package/dist/account/validation.js.map +1 -1
  19. package/dist/gql/getAllHooksTemplates.d.ts +13 -0
  20. package/dist/gql/getAllHooksTemplates.d.ts.map +1 -0
  21. package/dist/gql/getAllHooksTemplates.js +24 -0
  22. package/dist/gql/getAllHooksTemplates.js.map +1 -0
  23. package/dist/gql/getMarketRecords.d.ts.map +1 -1
  24. package/dist/gql/getMarketRecords.js +22 -13
  25. package/dist/gql/getMarketRecords.js.map +1 -1
  26. package/dist/gql/graphql.d.ts +355 -592
  27. package/dist/gql/graphql.d.ts.map +1 -1
  28. package/dist/gql/graphql.js +171 -799
  29. package/dist/gql/graphql.js.map +1 -1
  30. package/dist/gql/index.d.ts +3 -0
  31. package/dist/gql/index.d.ts.map +1 -1
  32. package/dist/gql/index.js +2 -0
  33. package/dist/gql/index.js.map +1 -1
  34. package/dist/utils/record-types.d.ts +14 -3
  35. package/dist/utils/record-types.d.ts.map +1 -1
  36. package/dist/utils/record-types.js.map +1 -1
  37. package/dist/utils/type-parsers.d.ts.map +1 -1
  38. package/dist/utils/type-parsers.js +19 -4
  39. package/dist/utils/type-parsers.js.map +1 -1
  40. package/package.json +1 -1
@@ -1,35 +1,9 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.SubgraphMaxTotalSupplyUpdated_OrderBy = exports.SubgraphMarket_OrderBy = exports.SubgraphMarketVersion = exports.SubgraphMarketRemoved_OrderBy = exports.SubgraphMarketInterestAccrued_OrderBy = exports.SubgraphMarketDeployed_OrderBy = exports.SubgraphMarketClosed_OrderBy = exports.SubgraphMarketAdded_OrderBy = exports.SubgraphLenderWithdrawalStatus_OrderBy = exports.SubgraphLenderStatus = exports.SubgraphLenderInterestAccrued_OrderBy = exports.SubgraphLenderHooksAccess_OrderBy = exports.SubgraphLenderAuthorization_OrderBy = exports.SubgraphLenderAuthorizationChange_OrderBy = exports.SubgraphLenderAccount_OrderBy = exports.SubgraphKnownLenderStatus_OrderBy = exports.SubgraphHooksTemplate_OrderBy = exports.SubgraphHooksTemplateFeesUpdated_OrderBy = exports.SubgraphHooksTemplateDisabled_OrderBy = exports.SubgraphHooksTemplateAdded_OrderBy = exports.SubgraphHooksNameUpdated_OrderBy = exports.SubgraphHooksKind = exports.SubgraphHooksInstance_OrderBy = exports.SubgraphHooksInstanceDeployed_OrderBy = exports.SubgraphHooksFactory_OrderBy = exports.SubgraphHooksConfig_OrderBy = exports.SubgraphForceBuyBack_OrderBy = exports.SubgraphFixedTermUpdated_OrderBy = exports.SubgraphFeesCollected_OrderBy = exports.SubgraphDisabledForceBuyBacks_OrderBy = exports.SubgraphDeposit_OrderBy = exports.SubgraphDelinquencyStatusChanged_OrderBy = exports.SubgraphDebtRepaid_OrderBy = exports.SubgraphController_OrderBy = exports.SubgraphControllerRemoved_OrderBy = exports.SubgraphControllerFactory_OrderBy = exports.SubgraphControllerFactoryRemoved_OrderBy = exports.SubgraphControllerFactoryAdded_OrderBy = exports.SubgraphControllerAdded_OrderBy = exports.SubgraphBorrowerRegistrationChange_OrderBy = exports.SubgraphBorrow_OrderBy = exports.SubgraphArchController_OrderBy = exports.SubgraphApproval_OrderBy = exports.SubgraphAnnualInterestBipsUpdated_OrderBy = exports.SubgraphAggregation_Interval = exports.SubgraphAccountUnblockedFromDeposits_OrderBy = exports.SubgraphAccountMadeFirstDeposit_OrderBy = exports.SubgraphAccountBlockedFromDeposits_OrderBy = exports.SubgraphAccountAccessRevoked_OrderBy = exports.SubgraphAccountAccessGranted_OrderBy = void 0;
27
- exports.MarketRecordsFragmentDoc = exports.RepaymentDataFragmentDoc = exports.FeesCollectedDataFragmentDoc = exports.BorrowDataFragmentDoc = exports.MarketDataFragmentDoc = exports.MarketDeployedEventFragmentDoc = exports.HooksInstanceDataForMarketFragmentDoc = exports.HooksTemplateDataForMarketFragmentDoc = exports.HooksConfigDataForMarketFragmentDoc = exports.TokenDataFragmentDoc = exports.DelinquencyStatusChangedDataFragmentDoc = exports.AprConstraintsFragmentDoc = exports.AllAuthorizedLendersViewFragmentDoc = exports.AllAuthorizedLendersViewMarketInfoFragmentDoc = exports.AccountDataForLenderViewFragmentDoc = exports.DepositDataFragmentDoc = exports.LenderHooksAccessDataFragmentDoc = exports.RoleProviderDataFragmentDoc = exports.LenderPropertiesFragmentDoc = exports.Subgraph_SubgraphErrorPolicy_ = exports.SubgraphWithdrawalRequest_OrderBy = exports.SubgraphWithdrawalExecution_OrderBy = exports.SubgraphWithdrawalBatch_OrderBy = exports.SubgraphWithdrawalBatchPayment_OrderBy = exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy = exports.SubgraphWithdrawalBatchExpired_OrderBy = exports.SubgraphWithdrawalBatchCreated_OrderBy = exports.SubgraphUpdateProtocolFeeConfiguration_OrderBy = exports.SubgraphTransfer_OrderBy = exports.SubgraphToken_OrderBy = exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsQueuedForWithdrawal_OrderBy = exports.SubgraphSanctionOverride_OrderBy = exports.SubgraphSanctionOverrideRemoved_OrderBy = exports.SubgraphRoleProvider_OrderBy = exports.SubgraphRoleProviderUpdated_OrderBy = exports.SubgraphRoleProviderRemoved_OrderBy = exports.SubgraphRoleProviderAdded_OrderBy = exports.SubgraphReserveRatioBipsUpdated_OrderBy = exports.SubgraphRegisteredBorrower_OrderBy = exports.SubgraphProtocolFeeBipsUpdated_OrderBy = exports.SubgraphParameterConstraints_OrderBy = exports.SubgraphOwnershipTransferred_OrderBy = exports.SubgraphOwnershipHandoverRequested_OrderBy = exports.SubgraphOwnershipHandoverCanceled_OrderBy = exports.SubgraphOrderDirection = exports.SubgraphNewSanctionsEscrow_OrderBy = exports.SubgraphNewController_OrderBy = exports.SubgraphMinimumDepositUpdated_OrderBy = void 0;
28
- exports.useGetMarketsForAllBorrowersLazyQuery = exports.useGetMarketsForAllBorrowersQuery = exports.GetMarketsForAllBorrowersDocument = exports.useGetMarketsForBorrowerSuspenseQuery = exports.useGetMarketsForBorrowerLazyQuery = exports.useGetMarketsForBorrowerQuery = exports.GetMarketsForBorrowerDocument = exports.useGetMarketEventsSuspenseQuery = exports.useGetMarketEventsLazyQuery = exports.useGetMarketEventsQuery = exports.GetMarketEventsDocument = exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery = exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQuery = exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery = exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument = exports.useGetLenderAuthorizationByMarketSuspenseQuery = exports.useGetLenderAuthorizationByMarketLazyQuery = exports.useGetLenderAuthorizationByMarketQuery = exports.GetLenderAuthorizationByMarketDocument = exports.useGetLenderWithdrawalsForMarketSuspenseQuery = exports.useGetLenderWithdrawalsForMarketLazyQuery = exports.useGetLenderWithdrawalsForMarketQuery = exports.GetLenderWithdrawalsForMarketDocument = exports.useGetAccountsWhereLenderAuthorizedOrActiveSuspenseQuery = exports.useGetAccountsWhereLenderAuthorizedOrActiveLazyQuery = exports.useGetAccountsWhereLenderAuthorizedOrActiveQuery = exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = exports.useGetAllMarketsForLenderViewSuspenseQuery = exports.useGetAllMarketsForLenderViewLazyQuery = exports.useGetAllMarketsForLenderViewQuery = exports.GetAllMarketsForLenderViewDocument = exports.useGetLenderAccountWithMarketSuspenseQuery = exports.useGetLenderAccountWithMarketLazyQuery = exports.useGetLenderAccountWithMarketQuery = exports.GetLenderAccountWithMarketDocument = exports.useGetLenderAccountForMarketSuspenseQuery = exports.useGetLenderAccountForMarketLazyQuery = exports.useGetLenderAccountForMarketQuery = exports.GetLenderAccountForMarketDocument = exports.MarketClosedDataFragmentDoc = exports.MaxTotalSupplyUpdatedDataFragmentDoc = exports.AnnualInterestBipsUpdatedDataFragmentDoc = exports.WithdrawalBatchPropertiesWithEventsFragmentDoc = exports.LenderWithdrawalPropertiesWithEventsFragmentDoc = exports.WithdrawalExecutionPropertiesFragmentDoc = exports.WithdrawalRequestPropertiesFragmentDoc = exports.WithdrawalBatchPropertiesFragmentDoc = exports.WithdrawalBatchPaymentPropertiesFragmentDoc = exports.LenderWithdrawalPropertiesFragmentDoc = exports.MarketDataWithEventsFragmentDoc = void 0;
29
- exports.useGetMarketRecordsSuspenseQuery = exports.useGetMarketRecordsLazyQuery = exports.useGetMarketRecordsQuery = exports.GetMarketRecordsDocument = exports.useGetSubgraphStatusSuspenseQuery = exports.useGetSubgraphStatusLazyQuery = exports.useGetSubgraphStatusQuery = exports.GetSubgraphStatusDocument = exports.useGetAuthorizedLendersByBorrowerSuspenseQuery = exports.useGetAuthorizedLendersByBorrowerLazyQuery = exports.useGetAuthorizedLendersByBorrowerQuery = exports.GetAuthorizedLendersByBorrowerDocument = exports.useGetAllAuthorizedLendersSuspenseQuery = exports.useGetAllAuthorizedLendersLazyQuery = exports.useGetAllAuthorizedLendersQuery = exports.GetAllAuthorizedLendersDocument = exports.useGetAuthorizedLendersByMarketSuspenseQuery = exports.useGetAuthorizedLendersByMarketLazyQuery = exports.useGetAuthorizedLendersByMarketQuery = exports.GetAuthorizedLendersByMarketDocument = exports.useGetAllMarketsSuspenseQuery = exports.useGetAllMarketsLazyQuery = exports.useGetAllMarketsQuery = exports.GetAllMarketsDocument = exports.useGetIncompleteWithdrawalsForMarketSuspenseQuery = exports.useGetIncompleteWithdrawalsForMarketLazyQuery = exports.useGetIncompleteWithdrawalsForMarketQuery = exports.GetIncompleteWithdrawalsForMarketDocument = exports.useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery = exports.useGetAllPendingWithdrawalBatchesForMarketLazyQuery = exports.useGetAllPendingWithdrawalBatchesForMarketQuery = exports.GetAllPendingWithdrawalBatchesForMarketDocument = exports.useGetWithdrawalRequestsByMarketSuspenseQuery = exports.useGetWithdrawalRequestsByMarketLazyQuery = exports.useGetWithdrawalRequestsByMarketQuery = exports.GetWithdrawalRequestsByMarketDocument = exports.useGetMarketSuspenseQuery = exports.useGetMarketLazyQuery = exports.useGetMarketQuery = exports.GetMarketDocument = exports.useGetMarketsForAllBorrowersSuspenseQuery = void 0;
4
+ exports.RepaymentDataFragmentDoc = exports.FeesCollectedDataFragmentDoc = exports.BorrowDataFragmentDoc = exports.MarketDataFragmentDoc = exports.MarketDeployedEventFragmentDoc = exports.HooksInstanceDataForMarketFragmentDoc = exports.HooksTemplateDataFragmentDoc = exports.HooksConfigDataForMarketFragmentDoc = exports.TokenDataFragmentDoc = exports.DelinquencyStatusChangedDataFragmentDoc = exports.AprConstraintsFragmentDoc = exports.AllAuthorizedLendersViewFragmentDoc = exports.AllAuthorizedLendersViewMarketInfoFragmentDoc = exports.AccountDataForLenderViewFragmentDoc = exports.DepositDataFragmentDoc = exports.LenderHooksAccessDataFragmentDoc = exports.RoleProviderDataFragmentDoc = exports.LenderPropertiesFragmentDoc = exports.Subgraph_SubgraphErrorPolicy_ = exports.SubgraphWithdrawalRequest_OrderBy = exports.SubgraphWithdrawalExecution_OrderBy = exports.SubgraphWithdrawalBatch_OrderBy = exports.SubgraphWithdrawalBatchPayment_OrderBy = exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy = exports.SubgraphWithdrawalBatchExpired_OrderBy = exports.SubgraphWithdrawalBatchCreated_OrderBy = exports.SubgraphUpdateProtocolFeeConfiguration_OrderBy = exports.SubgraphTransfer_OrderBy = exports.SubgraphToken_OrderBy = exports.SubgraphSubgraphVersion_OrderBy = exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsQueuedForWithdrawal_OrderBy = exports.SubgraphSanctionOverride_OrderBy = exports.SubgraphSanctionOverrideRemoved_OrderBy = exports.SubgraphRoleProvider_OrderBy = exports.SubgraphRoleProviderUpdated_OrderBy = exports.SubgraphRoleProviderRemoved_OrderBy = exports.SubgraphRoleProviderAdded_OrderBy = exports.SubgraphReserveRatioBipsUpdated_OrderBy = exports.SubgraphRegisteredBorrower_OrderBy = exports.SubgraphProtocolFeeBipsUpdated_OrderBy = exports.SubgraphParameterConstraints_OrderBy = exports.SubgraphOwnershipTransferred_OrderBy = exports.SubgraphOwnershipHandoverRequested_OrderBy = exports.SubgraphOwnershipHandoverCanceled_OrderBy = exports.SubgraphOrderDirection = exports.SubgraphNewSanctionsEscrow_OrderBy = exports.SubgraphNewController_OrderBy = exports.SubgraphMinimumDepositUpdated_OrderBy = void 0;
5
+ exports.GetMarketRecordsDocument = exports.GetSubgraphStatusDocument = exports.GetAuthorizedLendersByBorrowerDocument = exports.GetAllAuthorizedLendersDocument = exports.GetAuthorizedLendersByMarketDocument = exports.GetAllMarketsDocument = exports.GetIncompleteWithdrawalsForMarketDocument = exports.GetAllPendingWithdrawalBatchesForMarketDocument = exports.GetWithdrawalRequestsByMarketDocument = exports.GetMarketDocument = exports.GetMarketsForAllBorrowersDocument = exports.GetMarketsForBorrowerDocument = exports.GetMarketEventsDocument = exports.GetAllHooksTemplatesDocument = exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument = exports.GetLenderAuthorizationByMarketDocument = exports.GetLenderWithdrawalsForMarketDocument = exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = exports.GetAllMarketsForLenderViewDocument = exports.GetLenderAccountWithMarketDocument = exports.GetLenderAccountForMarketDocument = exports.MarketClosedDataFragmentDoc = exports.MaxTotalSupplyUpdatedDataFragmentDoc = exports.AnnualInterestBipsUpdatedDataFragmentDoc = exports.WithdrawalBatchPropertiesWithEventsFragmentDoc = exports.LenderWithdrawalPropertiesWithEventsFragmentDoc = exports.WithdrawalExecutionPropertiesFragmentDoc = exports.WithdrawalRequestPropertiesFragmentDoc = exports.WithdrawalBatchPropertiesFragmentDoc = exports.WithdrawalBatchPaymentPropertiesFragmentDoc = exports.LenderWithdrawalPropertiesFragmentDoc = exports.FixedTermUpdatedDataFragmentDoc = exports.DisabledForceBuyBacksDataFragmentDoc = exports.ProtocolFeeBipsUpdatedDataFragmentDoc = exports.MinimumDepositUpdatedDataFragmentDoc = exports.ForceBuyBackDataFragmentDoc = exports.MarketDataWithEventsFragmentDoc = exports.MarketRecordsFragmentDoc = void 0;
30
6
  const client_1 = require("@apollo/client");
31
- const Apollo = __importStar(require("@apollo/client"));
32
- const defaultOptions = {};
33
7
  var SubgraphAccountAccessGranted_OrderBy;
34
8
  (function (SubgraphAccountAccessGranted_OrderBy) {
35
9
  SubgraphAccountAccessGranted_OrderBy["Account"] = "account";
@@ -42,6 +16,12 @@ var SubgraphAccountAccessGranted_OrderBy;
42
16
  SubgraphAccountAccessGranted_OrderBy["BlockTimestamp"] = "blockTimestamp";
43
17
  SubgraphAccountAccessGranted_OrderBy["CredentialTimestamp"] = "credentialTimestamp";
44
18
  SubgraphAccountAccessGranted_OrderBy["EventIndex"] = "eventIndex";
19
+ SubgraphAccountAccessGranted_OrderBy["Hooks"] = "hooks";
20
+ SubgraphAccountAccessGranted_OrderBy["HooksBorrower"] = "hooks__borrower";
21
+ SubgraphAccountAccessGranted_OrderBy["HooksEventIndex"] = "hooks__eventIndex";
22
+ SubgraphAccountAccessGranted_OrderBy["HooksId"] = "hooks__id";
23
+ SubgraphAccountAccessGranted_OrderBy["HooksKind"] = "hooks__kind";
24
+ SubgraphAccountAccessGranted_OrderBy["HooksName"] = "hooks__name";
45
25
  SubgraphAccountAccessGranted_OrderBy["Id"] = "id";
46
26
  SubgraphAccountAccessGranted_OrderBy["Provider"] = "provider";
47
27
  SubgraphAccountAccessGranted_OrderBy["ProviderId"] = "provider__id";
@@ -65,6 +45,12 @@ var SubgraphAccountAccessRevoked_OrderBy;
65
45
  SubgraphAccountAccessRevoked_OrderBy["BlockNumber"] = "blockNumber";
66
46
  SubgraphAccountAccessRevoked_OrderBy["BlockTimestamp"] = "blockTimestamp";
67
47
  SubgraphAccountAccessRevoked_OrderBy["EventIndex"] = "eventIndex";
48
+ SubgraphAccountAccessRevoked_OrderBy["Hooks"] = "hooks";
49
+ SubgraphAccountAccessRevoked_OrderBy["HooksBorrower"] = "hooks__borrower";
50
+ SubgraphAccountAccessRevoked_OrderBy["HooksEventIndex"] = "hooks__eventIndex";
51
+ SubgraphAccountAccessRevoked_OrderBy["HooksId"] = "hooks__id";
52
+ SubgraphAccountAccessRevoked_OrderBy["HooksKind"] = "hooks__kind";
53
+ SubgraphAccountAccessRevoked_OrderBy["HooksName"] = "hooks__name";
68
54
  SubgraphAccountAccessRevoked_OrderBy["Id"] = "id";
69
55
  SubgraphAccountAccessRevoked_OrderBy["TransactionHash"] = "transactionHash";
70
56
  })(SubgraphAccountAccessRevoked_OrderBy = exports.SubgraphAccountAccessRevoked_OrderBy || (exports.SubgraphAccountAccessRevoked_OrderBy = {}));
@@ -79,6 +65,12 @@ var SubgraphAccountBlockedFromDeposits_OrderBy;
79
65
  SubgraphAccountBlockedFromDeposits_OrderBy["BlockNumber"] = "blockNumber";
80
66
  SubgraphAccountBlockedFromDeposits_OrderBy["BlockTimestamp"] = "blockTimestamp";
81
67
  SubgraphAccountBlockedFromDeposits_OrderBy["EventIndex"] = "eventIndex";
68
+ SubgraphAccountBlockedFromDeposits_OrderBy["Hooks"] = "hooks";
69
+ SubgraphAccountBlockedFromDeposits_OrderBy["HooksBorrower"] = "hooks__borrower";
70
+ SubgraphAccountBlockedFromDeposits_OrderBy["HooksEventIndex"] = "hooks__eventIndex";
71
+ SubgraphAccountBlockedFromDeposits_OrderBy["HooksId"] = "hooks__id";
72
+ SubgraphAccountBlockedFromDeposits_OrderBy["HooksKind"] = "hooks__kind";
73
+ SubgraphAccountBlockedFromDeposits_OrderBy["HooksName"] = "hooks__name";
82
74
  SubgraphAccountBlockedFromDeposits_OrderBy["Id"] = "id";
83
75
  SubgraphAccountBlockedFromDeposits_OrderBy["TransactionHash"] = "transactionHash";
84
76
  })(SubgraphAccountBlockedFromDeposits_OrderBy = exports.SubgraphAccountBlockedFromDeposits_OrderBy || (exports.SubgraphAccountBlockedFromDeposits_OrderBy = {}));
@@ -168,6 +160,12 @@ var SubgraphAccountUnblockedFromDeposits_OrderBy;
168
160
  SubgraphAccountUnblockedFromDeposits_OrderBy["BlockNumber"] = "blockNumber";
169
161
  SubgraphAccountUnblockedFromDeposits_OrderBy["BlockTimestamp"] = "blockTimestamp";
170
162
  SubgraphAccountUnblockedFromDeposits_OrderBy["EventIndex"] = "eventIndex";
163
+ SubgraphAccountUnblockedFromDeposits_OrderBy["Hooks"] = "hooks";
164
+ SubgraphAccountUnblockedFromDeposits_OrderBy["HooksBorrower"] = "hooks__borrower";
165
+ SubgraphAccountUnblockedFromDeposits_OrderBy["HooksEventIndex"] = "hooks__eventIndex";
166
+ SubgraphAccountUnblockedFromDeposits_OrderBy["HooksId"] = "hooks__id";
167
+ SubgraphAccountUnblockedFromDeposits_OrderBy["HooksKind"] = "hooks__kind";
168
+ SubgraphAccountUnblockedFromDeposits_OrderBy["HooksName"] = "hooks__name";
171
169
  SubgraphAccountUnblockedFromDeposits_OrderBy["Id"] = "id";
172
170
  SubgraphAccountUnblockedFromDeposits_OrderBy["TransactionHash"] = "transactionHash";
173
171
  })(SubgraphAccountUnblockedFromDeposits_OrderBy = exports.SubgraphAccountUnblockedFromDeposits_OrderBy || (exports.SubgraphAccountUnblockedFromDeposits_OrderBy = {}));
@@ -1028,6 +1026,9 @@ var SubgraphHooksInstanceDeployed_OrderBy;
1028
1026
  })(SubgraphHooksInstanceDeployed_OrderBy = exports.SubgraphHooksInstanceDeployed_OrderBy || (exports.SubgraphHooksInstanceDeployed_OrderBy = {}));
1029
1027
  var SubgraphHooksInstance_OrderBy;
1030
1028
  (function (SubgraphHooksInstance_OrderBy) {
1029
+ SubgraphHooksInstance_OrderBy["AccountAccessGrantedRecords"] = "accountAccessGrantedRecords";
1030
+ SubgraphHooksInstance_OrderBy["AccountAccessRevokedRecords"] = "accountAccessRevokedRecords";
1031
+ SubgraphHooksInstance_OrderBy["AccountUnblockFromDepositsRecords"] = "accountUnblockFromDepositsRecords";
1031
1032
  SubgraphHooksInstance_OrderBy["Borrower"] = "borrower";
1032
1033
  SubgraphHooksInstance_OrderBy["EventIndex"] = "eventIndex";
1033
1034
  SubgraphHooksInstance_OrderBy["HooksFactory"] = "hooksFactory";
@@ -1046,7 +1047,11 @@ var SubgraphHooksInstance_OrderBy;
1046
1047
  SubgraphHooksInstance_OrderBy["Kind"] = "kind";
1047
1048
  SubgraphHooksInstance_OrderBy["Markets"] = "markets";
1048
1049
  SubgraphHooksInstance_OrderBy["Name"] = "name";
1050
+ SubgraphHooksInstance_OrderBy["NameUpdatedRecords"] = "nameUpdatedRecords";
1049
1051
  SubgraphHooksInstance_OrderBy["Providers"] = "providers";
1052
+ SubgraphHooksInstance_OrderBy["RoleProviderAddedRecords"] = "roleProviderAddedRecords";
1053
+ SubgraphHooksInstance_OrderBy["RoleProviderRemovedRecords"] = "roleProviderRemovedRecords";
1054
+ SubgraphHooksInstance_OrderBy["RoleProviderUpdatedRecords"] = "roleProviderUpdatedRecords";
1050
1055
  })(SubgraphHooksInstance_OrderBy = exports.SubgraphHooksInstance_OrderBy || (exports.SubgraphHooksInstance_OrderBy = {}));
1051
1056
  var SubgraphHooksKind;
1052
1057
  (function (SubgraphHooksKind) {
@@ -1334,6 +1339,10 @@ var SubgraphLenderAuthorization_OrderBy;
1334
1339
  })(SubgraphLenderAuthorization_OrderBy = exports.SubgraphLenderAuthorization_OrderBy || (exports.SubgraphLenderAuthorization_OrderBy = {}));
1335
1340
  var SubgraphLenderHooksAccess_OrderBy;
1336
1341
  (function (SubgraphLenderHooksAccess_OrderBy) {
1342
+ SubgraphLenderHooksAccess_OrderBy["AccountAccessGrantedRecords"] = "accountAccessGrantedRecords";
1343
+ SubgraphLenderHooksAccess_OrderBy["AccountAccessRevokedRecords"] = "accountAccessRevokedRecords";
1344
+ SubgraphLenderHooksAccess_OrderBy["AccountBlockedFromDepositsRecords"] = "accountBlockedFromDepositsRecords";
1345
+ SubgraphLenderHooksAccess_OrderBy["AccountUnblockedFromDepositsRecords"] = "accountUnblockedFromDepositsRecords";
1337
1346
  SubgraphLenderHooksAccess_OrderBy["CanRefresh"] = "canRefresh";
1338
1347
  SubgraphLenderHooksAccess_OrderBy["Hooks"] = "hooks";
1339
1348
  SubgraphLenderHooksAccess_OrderBy["HooksBorrower"] = "hooks__borrower";
@@ -1822,6 +1831,12 @@ var SubgraphMarket_OrderBy;
1822
1831
  SubgraphMarket_OrderBy["FeesCollectedIndex"] = "feesCollectedIndex";
1823
1832
  SubgraphMarket_OrderBy["FixedTermUpdatedIndex"] = "fixedTermUpdatedIndex";
1824
1833
  SubgraphMarket_OrderBy["FixedTermUpdatedRecords"] = "fixedTermUpdatedRecords";
1834
+ SubgraphMarket_OrderBy["ForceBuyBackDisabledRecord"] = "forceBuyBackDisabledRecord";
1835
+ SubgraphMarket_OrderBy["ForceBuyBackDisabledRecordBlockNumber"] = "forceBuyBackDisabledRecord__blockNumber";
1836
+ SubgraphMarket_OrderBy["ForceBuyBackDisabledRecordBlockTimestamp"] = "forceBuyBackDisabledRecord__blockTimestamp";
1837
+ SubgraphMarket_OrderBy["ForceBuyBackDisabledRecordEventIndex"] = "forceBuyBackDisabledRecord__eventIndex";
1838
+ SubgraphMarket_OrderBy["ForceBuyBackDisabledRecordId"] = "forceBuyBackDisabledRecord__id";
1839
+ SubgraphMarket_OrderBy["ForceBuyBackDisabledRecordTransactionHash"] = "forceBuyBackDisabledRecord__transactionHash";
1825
1840
  SubgraphMarket_OrderBy["ForceBuyBackIndex"] = "forceBuyBackIndex";
1826
1841
  SubgraphMarket_OrderBy["ForceBuyBackRecords"] = "forceBuyBackRecords";
1827
1842
  SubgraphMarket_OrderBy["Hooks"] = "hooks";
@@ -1884,6 +1899,7 @@ var SubgraphMarket_OrderBy;
1884
1899
  SubgraphMarket_OrderBy["PendingWithdrawalExpiry"] = "pendingWithdrawalExpiry";
1885
1900
  SubgraphMarket_OrderBy["ProtocolFeeBips"] = "protocolFeeBips";
1886
1901
  SubgraphMarket_OrderBy["ProtocolFeeBipsUpdatedIndex"] = "protocolFeeBipsUpdatedIndex";
1902
+ SubgraphMarket_OrderBy["ProtocolFeeBipsUpdatedRecords"] = "protocolFeeBipsUpdatedRecords";
1887
1903
  SubgraphMarket_OrderBy["Removal"] = "removal";
1888
1904
  SubgraphMarket_OrderBy["RemovalBlockNumber"] = "removal__blockNumber";
1889
1905
  SubgraphMarket_OrderBy["RemovalBlockTimestamp"] = "removal__blockTimestamp";
@@ -2403,6 +2419,10 @@ var SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy;
2403
2419
  SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["Id"] = "id";
2404
2420
  SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["TransactionHash"] = "transactionHash";
2405
2421
  })(SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy || (exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = {}));
2422
+ var SubgraphSubgraphVersion_OrderBy;
2423
+ (function (SubgraphSubgraphVersion_OrderBy) {
2424
+ SubgraphSubgraphVersion_OrderBy["Id"] = "id";
2425
+ })(SubgraphSubgraphVersion_OrderBy = exports.SubgraphSubgraphVersion_OrderBy || (exports.SubgraphSubgraphVersion_OrderBy = {}));
2406
2426
  var SubgraphToken_OrderBy;
2407
2427
  (function (SubgraphToken_OrderBy) {
2408
2428
  SubgraphToken_OrderBy["Address"] = "address";
@@ -2555,6 +2575,7 @@ var SubgraphWithdrawalBatchExpired_OrderBy;
2555
2575
  SubgraphWithdrawalBatchExpired_OrderBy["BlockNumber"] = "blockNumber";
2556
2576
  SubgraphWithdrawalBatchExpired_OrderBy["BlockTimestamp"] = "blockTimestamp";
2557
2577
  SubgraphWithdrawalBatchExpired_OrderBy["Id"] = "id";
2578
+ SubgraphWithdrawalBatchExpired_OrderBy["NormalizedAmountOwed"] = "normalizedAmountOwed";
2558
2579
  SubgraphWithdrawalBatchExpired_OrderBy["NormalizedAmountPaid"] = "normalizedAmountPaid";
2559
2580
  SubgraphWithdrawalBatchExpired_OrderBy["ScaledAmountBurned"] = "scaledAmountBurned";
2560
2581
  SubgraphWithdrawalBatchExpired_OrderBy["ScaledTotalAmount"] = "scaledTotalAmount";
@@ -3031,8 +3052,8 @@ exports.HooksConfigDataForMarketFragmentDoc = (0, client_1.gql) `
3031
3052
  allowTermReduction
3032
3053
  }
3033
3054
  `;
3034
- exports.HooksTemplateDataForMarketFragmentDoc = (0, client_1.gql) `
3035
- fragment HooksTemplateDataForMarket on HooksTemplate {
3055
+ exports.HooksTemplateDataFragmentDoc = (0, client_1.gql) `
3056
+ fragment HooksTemplateData on HooksTemplate {
3036
3057
  id
3037
3058
  name
3038
3059
  feeRecipient
@@ -3048,8 +3069,9 @@ exports.HooksInstanceDataForMarketFragmentDoc = (0, client_1.gql) `
3048
3069
  fragment HooksInstanceDataForMarket on HooksInstance {
3049
3070
  id
3050
3071
  borrower
3072
+ name
3051
3073
  hooksTemplate {
3052
- ...HooksTemplateDataForMarket
3074
+ ...HooksTemplateData
3053
3075
  }
3054
3076
  providers {
3055
3077
  ...RoleProviderData
@@ -3190,6 +3212,65 @@ exports.MarketDataWithEventsFragmentDoc = (0, client_1.gql) `
3190
3212
  ...MarketRecords
3191
3213
  }
3192
3214
  `;
3215
+ exports.ForceBuyBackDataFragmentDoc = (0, client_1.gql) `
3216
+ fragment ForceBuyBackData on ForceBuyBack {
3217
+ id
3218
+ account {
3219
+ address
3220
+ }
3221
+ eventIndex
3222
+ withdrawalExpiry
3223
+ scaledAmount
3224
+ normalizedAmount
3225
+ blockNumber
3226
+ blockTimestamp
3227
+ transactionHash
3228
+ }
3229
+ `;
3230
+ exports.MinimumDepositUpdatedDataFragmentDoc = (0, client_1.gql) `
3231
+ fragment MinimumDepositUpdatedData on MinimumDepositUpdated {
3232
+ id
3233
+ eventIndex
3234
+ oldMinimumDeposit
3235
+ newMinimumDeposit
3236
+ blockNumber
3237
+ blockTimestamp
3238
+ transactionHash
3239
+ }
3240
+ `;
3241
+ exports.ProtocolFeeBipsUpdatedDataFragmentDoc = (0, client_1.gql) `
3242
+ fragment ProtocolFeeBipsUpdatedData on ProtocolFeeBipsUpdated {
3243
+ id
3244
+ protocolFeeBipsUpdatedIndex
3245
+ eventIndex
3246
+ oldProtocolFeeBips
3247
+ newProtocolFeeBips
3248
+ blockNumber
3249
+ blockTimestamp
3250
+ transactionHash
3251
+ }
3252
+ `;
3253
+ exports.DisabledForceBuyBacksDataFragmentDoc = (0, client_1.gql) `
3254
+ fragment DisabledForceBuyBacksData on DisabledForceBuyBacks {
3255
+ id
3256
+ blockNumber
3257
+ blockTimestamp
3258
+ transactionHash
3259
+ eventIndex
3260
+ }
3261
+ `;
3262
+ exports.FixedTermUpdatedDataFragmentDoc = (0, client_1.gql) `
3263
+ fragment FixedTermUpdatedData on FixedTermUpdated {
3264
+ id
3265
+ oldFixedTermEndTime
3266
+ newFixedTermEndTime
3267
+ blockNumber
3268
+ blockTimestamp
3269
+ transactionHash
3270
+ eventIndex
3271
+ fixedTermUpdatedIndex
3272
+ }
3273
+ `;
3193
3274
  exports.LenderWithdrawalPropertiesFragmentDoc = (0, client_1.gql) `
3194
3275
  fragment LenderWithdrawalProperties on LenderWithdrawalStatus {
3195
3276
  id
@@ -3344,42 +3425,6 @@ exports.GetLenderAccountForMarketDocument = (0, client_1.gql) `
3344
3425
  ${exports.RoleProviderDataFragmentDoc}
3345
3426
  ${exports.DepositDataFragmentDoc}
3346
3427
  `;
3347
- /**
3348
- * __useGetLenderAccountForMarketQuery__
3349
- *
3350
- * To run a query within a React component, call `useGetLenderAccountForMarketQuery` and pass it any options that fit your needs.
3351
- * When your component renders, `useGetLenderAccountForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
3352
- * you can use to render your UI.
3353
- *
3354
- * @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;
3355
- *
3356
- * @example
3357
- * const { data, loading, error } = useGetLenderAccountForMarketQuery({
3358
- * variables: {
3359
- * market: // value for 'market'
3360
- * lender: // value for 'lender'
3361
- * numDeposits: // value for 'numDeposits'
3362
- * skipDeposits: // value for 'skipDeposits'
3363
- * orderDeposits: // value for 'orderDeposits'
3364
- * directionDeposits: // value for 'directionDeposits'
3365
- * },
3366
- * });
3367
- */
3368
- function useGetLenderAccountForMarketQuery(baseOptions) {
3369
- const options = { ...defaultOptions, ...baseOptions };
3370
- return Apollo.useQuery(exports.GetLenderAccountForMarketDocument, options);
3371
- }
3372
- exports.useGetLenderAccountForMarketQuery = useGetLenderAccountForMarketQuery;
3373
- function useGetLenderAccountForMarketLazyQuery(baseOptions) {
3374
- const options = { ...defaultOptions, ...baseOptions };
3375
- return Apollo.useLazyQuery(exports.GetLenderAccountForMarketDocument, options);
3376
- }
3377
- exports.useGetLenderAccountForMarketLazyQuery = useGetLenderAccountForMarketLazyQuery;
3378
- function useGetLenderAccountForMarketSuspenseQuery(baseOptions) {
3379
- const options = { ...defaultOptions, ...baseOptions };
3380
- return Apollo.useSuspenseQuery(exports.GetLenderAccountForMarketDocument, options);
3381
- }
3382
- exports.useGetLenderAccountForMarketSuspenseQuery = useGetLenderAccountForMarketSuspenseQuery;
3383
3428
  exports.GetLenderAccountWithMarketDocument = (0, client_1.gql) `
3384
3429
  query getLenderAccountWithMarket(
3385
3430
  $market: ID!
@@ -3429,55 +3474,11 @@ exports.GetLenderAccountWithMarketDocument = (0, client_1.gql) `
3429
3474
  ${exports.TokenDataFragmentDoc}
3430
3475
  ${exports.HooksConfigDataForMarketFragmentDoc}
3431
3476
  ${exports.HooksInstanceDataForMarketFragmentDoc}
3432
- ${exports.HooksTemplateDataForMarketFragmentDoc}
3477
+ ${exports.HooksTemplateDataFragmentDoc}
3433
3478
  ${exports.MarketDeployedEventFragmentDoc}
3434
3479
  ${exports.BorrowDataFragmentDoc}
3435
3480
  ${exports.RepaymentDataFragmentDoc}
3436
3481
  `;
3437
- /**
3438
- * __useGetLenderAccountWithMarketQuery__
3439
- *
3440
- * To run a query within a React component, call `useGetLenderAccountWithMarketQuery` and pass it any options that fit your needs.
3441
- * When your component renders, `useGetLenderAccountWithMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
3442
- * you can use to render your UI.
3443
- *
3444
- * @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;
3445
- *
3446
- * @example
3447
- * const { data, loading, error } = useGetLenderAccountWithMarketQuery({
3448
- * variables: {
3449
- * market: // value for 'market'
3450
- * lender: // value for 'lender'
3451
- * numDeposits: // value for 'numDeposits'
3452
- * skipDeposits: // value for 'skipDeposits'
3453
- * orderDeposits: // value for 'orderDeposits'
3454
- * directionDeposits: // value for 'directionDeposits'
3455
- * numBorrows: // value for 'numBorrows'
3456
- * skipBorrows: // value for 'skipBorrows'
3457
- * orderBorrows: // value for 'orderBorrows'
3458
- * directionBorrows: // value for 'directionBorrows'
3459
- * numRepayments: // value for 'numRepayments'
3460
- * skipRepayments: // value for 'skipRepayments'
3461
- * orderRepayments: // value for 'orderRepayments'
3462
- * directionRepayments: // value for 'directionRepayments'
3463
- * },
3464
- * });
3465
- */
3466
- function useGetLenderAccountWithMarketQuery(baseOptions) {
3467
- const options = { ...defaultOptions, ...baseOptions };
3468
- return Apollo.useQuery(exports.GetLenderAccountWithMarketDocument, options);
3469
- }
3470
- exports.useGetLenderAccountWithMarketQuery = useGetLenderAccountWithMarketQuery;
3471
- function useGetLenderAccountWithMarketLazyQuery(baseOptions) {
3472
- const options = { ...defaultOptions, ...baseOptions };
3473
- return Apollo.useLazyQuery(exports.GetLenderAccountWithMarketDocument, options);
3474
- }
3475
- exports.useGetLenderAccountWithMarketLazyQuery = useGetLenderAccountWithMarketLazyQuery;
3476
- function useGetLenderAccountWithMarketSuspenseQuery(baseOptions) {
3477
- const options = { ...defaultOptions, ...baseOptions };
3478
- return Apollo.useSuspenseQuery(exports.GetLenderAccountWithMarketDocument, options);
3479
- }
3480
- exports.useGetLenderAccountWithMarketSuspenseQuery = useGetLenderAccountWithMarketSuspenseQuery;
3481
3482
  exports.GetAllMarketsForLenderViewDocument = (0, client_1.gql) `
3482
3483
  query getAllMarketsForLenderView(
3483
3484
  $lender: Bytes
@@ -3550,7 +3551,7 @@ exports.GetAllMarketsForLenderViewDocument = (0, client_1.gql) `
3550
3551
  ${exports.TokenDataFragmentDoc}
3551
3552
  ${exports.HooksConfigDataForMarketFragmentDoc}
3552
3553
  ${exports.HooksInstanceDataForMarketFragmentDoc}
3553
- ${exports.HooksTemplateDataForMarketFragmentDoc}
3554
+ ${exports.HooksTemplateDataFragmentDoc}
3554
3555
  ${exports.RoleProviderDataFragmentDoc}
3555
3556
  ${exports.MarketDeployedEventFragmentDoc}
3556
3557
  ${exports.BorrowDataFragmentDoc}
@@ -3560,50 +3561,6 @@ exports.GetAllMarketsForLenderViewDocument = (0, client_1.gql) `
3560
3561
  ${exports.LenderHooksAccessDataFragmentDoc}
3561
3562
  ${exports.DepositDataFragmentDoc}
3562
3563
  `;
3563
- /**
3564
- * __useGetAllMarketsForLenderViewQuery__
3565
- *
3566
- * To run a query within a React component, call `useGetAllMarketsForLenderViewQuery` and pass it any options that fit your needs.
3567
- * When your component renders, `useGetAllMarketsForLenderViewQuery` returns an object from Apollo Client that contains loading, error, and data properties
3568
- * you can use to render your UI.
3569
- *
3570
- * @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;
3571
- *
3572
- * @example
3573
- * const { data, loading, error } = useGetAllMarketsForLenderViewQuery({
3574
- * variables: {
3575
- * lender: // value for 'lender'
3576
- * marketFilter: // value for 'marketFilter'
3577
- * numDeposits: // value for 'numDeposits'
3578
- * skipDeposits: // value for 'skipDeposits'
3579
- * orderDeposits: // value for 'orderDeposits'
3580
- * directionDeposits: // value for 'directionDeposits'
3581
- * numBorrows: // value for 'numBorrows'
3582
- * skipBorrows: // value for 'skipBorrows'
3583
- * orderBorrows: // value for 'orderBorrows'
3584
- * directionBorrows: // value for 'directionBorrows'
3585
- * numRepayments: // value for 'numRepayments'
3586
- * skipRepayments: // value for 'skipRepayments'
3587
- * orderRepayments: // value for 'orderRepayments'
3588
- * directionRepayments: // value for 'directionRepayments'
3589
- * },
3590
- * });
3591
- */
3592
- function useGetAllMarketsForLenderViewQuery(baseOptions) {
3593
- const options = { ...defaultOptions, ...baseOptions };
3594
- return Apollo.useQuery(exports.GetAllMarketsForLenderViewDocument, options);
3595
- }
3596
- exports.useGetAllMarketsForLenderViewQuery = useGetAllMarketsForLenderViewQuery;
3597
- function useGetAllMarketsForLenderViewLazyQuery(baseOptions) {
3598
- const options = { ...defaultOptions, ...baseOptions };
3599
- return Apollo.useLazyQuery(exports.GetAllMarketsForLenderViewDocument, options);
3600
- }
3601
- exports.useGetAllMarketsForLenderViewLazyQuery = useGetAllMarketsForLenderViewLazyQuery;
3602
- function useGetAllMarketsForLenderViewSuspenseQuery(baseOptions) {
3603
- const options = { ...defaultOptions, ...baseOptions };
3604
- return Apollo.useSuspenseQuery(exports.GetAllMarketsForLenderViewDocument, options);
3605
- }
3606
- exports.useGetAllMarketsForLenderViewSuspenseQuery = useGetAllMarketsForLenderViewSuspenseQuery;
3607
3564
  exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = (0, client_1.gql) `
3608
3565
  query getAccountsWhereLenderAuthorizedOrActive(
3609
3566
  $lender: Bytes!
@@ -3697,55 +3654,11 @@ exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = (0, client_1.gql) `
3697
3654
  ${exports.TokenDataFragmentDoc}
3698
3655
  ${exports.HooksConfigDataForMarketFragmentDoc}
3699
3656
  ${exports.HooksInstanceDataForMarketFragmentDoc}
3700
- ${exports.HooksTemplateDataForMarketFragmentDoc}
3657
+ ${exports.HooksTemplateDataFragmentDoc}
3701
3658
  ${exports.MarketDeployedEventFragmentDoc}
3702
3659
  ${exports.BorrowDataFragmentDoc}
3703
3660
  ${exports.RepaymentDataFragmentDoc}
3704
3661
  `;
3705
- /**
3706
- * __useGetAccountsWhereLenderAuthorizedOrActiveQuery__
3707
- *
3708
- * To run a query within a React component, call `useGetAccountsWhereLenderAuthorizedOrActiveQuery` and pass it any options that fit your needs.
3709
- * When your component renders, `useGetAccountsWhereLenderAuthorizedOrActiveQuery` returns an object from Apollo Client that contains loading, error, and data properties
3710
- * you can use to render your UI.
3711
- *
3712
- * @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;
3713
- *
3714
- * @example
3715
- * const { data, loading, error } = useGetAccountsWhereLenderAuthorizedOrActiveQuery({
3716
- * variables: {
3717
- * lender: // value for 'lender'
3718
- * accountFilter: // value for 'accountFilter'
3719
- * numDeposits: // value for 'numDeposits'
3720
- * skipDeposits: // value for 'skipDeposits'
3721
- * orderDeposits: // value for 'orderDeposits'
3722
- * directionDeposits: // value for 'directionDeposits'
3723
- * numBorrows: // value for 'numBorrows'
3724
- * skipBorrows: // value for 'skipBorrows'
3725
- * orderBorrows: // value for 'orderBorrows'
3726
- * directionBorrows: // value for 'directionBorrows'
3727
- * numRepayments: // value for 'numRepayments'
3728
- * skipRepayments: // value for 'skipRepayments'
3729
- * orderRepayments: // value for 'orderRepayments'
3730
- * directionRepayments: // value for 'directionRepayments'
3731
- * },
3732
- * });
3733
- */
3734
- function useGetAccountsWhereLenderAuthorizedOrActiveQuery(baseOptions) {
3735
- const options = { ...defaultOptions, ...baseOptions };
3736
- return Apollo.useQuery(exports.GetAccountsWhereLenderAuthorizedOrActiveDocument, options);
3737
- }
3738
- exports.useGetAccountsWhereLenderAuthorizedOrActiveQuery = useGetAccountsWhereLenderAuthorizedOrActiveQuery;
3739
- function useGetAccountsWhereLenderAuthorizedOrActiveLazyQuery(baseOptions) {
3740
- const options = { ...defaultOptions, ...baseOptions };
3741
- return Apollo.useLazyQuery(exports.GetAccountsWhereLenderAuthorizedOrActiveDocument, options);
3742
- }
3743
- exports.useGetAccountsWhereLenderAuthorizedOrActiveLazyQuery = useGetAccountsWhereLenderAuthorizedOrActiveLazyQuery;
3744
- function useGetAccountsWhereLenderAuthorizedOrActiveSuspenseQuery(baseOptions) {
3745
- const options = { ...defaultOptions, ...baseOptions };
3746
- return Apollo.useSuspenseQuery(exports.GetAccountsWhereLenderAuthorizedOrActiveDocument, options);
3747
- }
3748
- exports.useGetAccountsWhereLenderAuthorizedOrActiveSuspenseQuery = useGetAccountsWhereLenderAuthorizedOrActiveSuspenseQuery;
3749
3662
  exports.GetLenderWithdrawalsForMarketDocument = (0, client_1.gql) `
3750
3663
  query getLenderWithdrawalsForMarket(
3751
3664
  $market: ID!
@@ -3779,40 +3692,6 @@ exports.GetLenderWithdrawalsForMarketDocument = (0, client_1.gql) `
3779
3692
  ${exports.WithdrawalRequestPropertiesFragmentDoc}
3780
3693
  ${exports.WithdrawalExecutionPropertiesFragmentDoc}
3781
3694
  `;
3782
- /**
3783
- * __useGetLenderWithdrawalsForMarketQuery__
3784
- *
3785
- * To run a query within a React component, call `useGetLenderWithdrawalsForMarketQuery` and pass it any options that fit your needs.
3786
- * When your component renders, `useGetLenderWithdrawalsForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
3787
- * you can use to render your UI.
3788
- *
3789
- * @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;
3790
- *
3791
- * @example
3792
- * const { data, loading, error } = useGetLenderWithdrawalsForMarketQuery({
3793
- * variables: {
3794
- * market: // value for 'market'
3795
- * lender: // value for 'lender'
3796
- * numWithdrawals: // value for 'numWithdrawals'
3797
- * skipWithdrawals: // value for 'skipWithdrawals'
3798
- * },
3799
- * });
3800
- */
3801
- function useGetLenderWithdrawalsForMarketQuery(baseOptions) {
3802
- const options = { ...defaultOptions, ...baseOptions };
3803
- return Apollo.useQuery(exports.GetLenderWithdrawalsForMarketDocument, options);
3804
- }
3805
- exports.useGetLenderWithdrawalsForMarketQuery = useGetLenderWithdrawalsForMarketQuery;
3806
- function useGetLenderWithdrawalsForMarketLazyQuery(baseOptions) {
3807
- const options = { ...defaultOptions, ...baseOptions };
3808
- return Apollo.useLazyQuery(exports.GetLenderWithdrawalsForMarketDocument, options);
3809
- }
3810
- exports.useGetLenderWithdrawalsForMarketLazyQuery = useGetLenderWithdrawalsForMarketLazyQuery;
3811
- function useGetLenderWithdrawalsForMarketSuspenseQuery(baseOptions) {
3812
- const options = { ...defaultOptions, ...baseOptions };
3813
- return Apollo.useSuspenseQuery(exports.GetLenderWithdrawalsForMarketDocument, options);
3814
- }
3815
- exports.useGetLenderWithdrawalsForMarketSuspenseQuery = useGetLenderWithdrawalsForMarketSuspenseQuery;
3816
3695
  exports.GetLenderAuthorizationByMarketDocument = (0, client_1.gql) `
3817
3696
  query getLenderAuthorizationByMarket($market: ID!, $lender: Bytes!) {
3818
3697
  market(id: $market) {
@@ -3825,38 +3704,6 @@ exports.GetLenderAuthorizationByMarketDocument = (0, client_1.gql) `
3825
3704
  }
3826
3705
  }
3827
3706
  `;
3828
- /**
3829
- * __useGetLenderAuthorizationByMarketQuery__
3830
- *
3831
- * To run a query within a React component, call `useGetLenderAuthorizationByMarketQuery` and pass it any options that fit your needs.
3832
- * When your component renders, `useGetLenderAuthorizationByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
3833
- * you can use to render your UI.
3834
- *
3835
- * @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;
3836
- *
3837
- * @example
3838
- * const { data, loading, error } = useGetLenderAuthorizationByMarketQuery({
3839
- * variables: {
3840
- * market: // value for 'market'
3841
- * lender: // value for 'lender'
3842
- * },
3843
- * });
3844
- */
3845
- function useGetLenderAuthorizationByMarketQuery(baseOptions) {
3846
- const options = { ...defaultOptions, ...baseOptions };
3847
- return Apollo.useQuery(exports.GetLenderAuthorizationByMarketDocument, options);
3848
- }
3849
- exports.useGetLenderAuthorizationByMarketQuery = useGetLenderAuthorizationByMarketQuery;
3850
- function useGetLenderAuthorizationByMarketLazyQuery(baseOptions) {
3851
- const options = { ...defaultOptions, ...baseOptions };
3852
- return Apollo.useLazyQuery(exports.GetLenderAuthorizationByMarketDocument, options);
3853
- }
3854
- exports.useGetLenderAuthorizationByMarketLazyQuery = useGetLenderAuthorizationByMarketLazyQuery;
3855
- function useGetLenderAuthorizationByMarketSuspenseQuery(baseOptions) {
3856
- const options = { ...defaultOptions, ...baseOptions };
3857
- return Apollo.useSuspenseQuery(exports.GetLenderAuthorizationByMarketDocument, options);
3858
- }
3859
- exports.useGetLenderAuthorizationByMarketSuspenseQuery = useGetLenderAuthorizationByMarketSuspenseQuery;
3860
3707
  exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument = (0, client_1.gql) `
3861
3708
  query getMarketsAndLogsWhereLenderAuthorizedOrActive(
3862
3709
  $lender: Bytes!
@@ -3932,49 +3779,18 @@ exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument = (0, client_1.gq
3932
3779
  ${exports.WithdrawalExecutionPropertiesFragmentDoc}
3933
3780
  ${exports.DepositDataFragmentDoc}
3934
3781
  `;
3935
- /**
3936
- * __useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery__
3937
- *
3938
- * To run a query within a React component, call `useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery` and pass it any options that fit your needs.
3939
- * When your component renders, `useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery` returns an object from Apollo Client that contains loading, error, and data properties
3940
- * you can use to render your UI.
3941
- *
3942
- * @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;
3943
- *
3944
- * @example
3945
- * const { data, loading, error } = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery({
3946
- * variables: {
3947
- * lender: // value for 'lender'
3948
- * minimumBalance: // value for 'minimumBalance'
3949
- * accountFilter: // value for 'accountFilter'
3950
- * numAccounts: // value for 'numAccounts'
3951
- * skipAccounts: // value for 'skipAccounts'
3952
- * orderAccounts: // value for 'orderAccounts'
3953
- * directionAccounts: // value for 'directionAccounts'
3954
- * numDeposits: // value for 'numDeposits'
3955
- * skipDeposits: // value for 'skipDeposits'
3956
- * orderDeposits: // value for 'orderDeposits'
3957
- * directionDeposits: // value for 'directionDeposits'
3958
- * numWithdrawals: // value for 'numWithdrawals'
3959
- * skipWithdrawals: // value for 'skipWithdrawals'
3960
- * },
3961
- * });
3962
- */
3963
- function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery(baseOptions) {
3964
- const options = { ...defaultOptions, ...baseOptions };
3965
- return Apollo.useQuery(exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument, options);
3966
- }
3967
- exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery;
3968
- function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQuery(baseOptions) {
3969
- const options = { ...defaultOptions, ...baseOptions };
3970
- return Apollo.useLazyQuery(exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument, options);
3971
- }
3972
- exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQuery = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQuery;
3973
- function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery(baseOptions) {
3974
- const options = { ...defaultOptions, ...baseOptions };
3975
- return Apollo.useSuspenseQuery(exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument, options);
3976
- }
3977
- exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery;
3782
+ exports.GetAllHooksTemplatesDocument = (0, client_1.gql) `
3783
+ query getAllHooksTemplates($borrower: Bytes, $includeBorrower: Boolean!) {
3784
+ hooksTemplates {
3785
+ ...HooksTemplateData
3786
+ }
3787
+ registeredBorrowers(where: { borrower: $borrower }, first: 1) @include(if: $includeBorrower) {
3788
+ isRegistered
3789
+ }
3790
+ }
3791
+ ${exports.HooksTemplateDataFragmentDoc}
3792
+ ${exports.TokenDataFragmentDoc}
3793
+ `;
3978
3794
  exports.GetMarketEventsDocument = (0, client_1.gql) `
3979
3795
  query getMarketEvents(
3980
3796
  $market: ID!
@@ -3986,6 +3802,9 @@ exports.GetMarketEventsDocument = (0, client_1.gql) `
3986
3802
  marketClosedEvent {
3987
3803
  ...MarketClosedData
3988
3804
  }
3805
+ forceBuyBackDisabledRecord {
3806
+ ...DisabledForceBuyBacksData
3807
+ }
3989
3808
  delinquencyRecords(
3990
3809
  where: { eventIndex_gte: $startEventIndex, eventIndex_lt: $endEventIndex }
3991
3810
  orderBy: eventIndex
@@ -4050,9 +3869,42 @@ exports.GetMarketEventsDocument = (0, client_1.gql) `
4050
3869
  ) {
4051
3870
  ...WithdrawalRequestProperties
4052
3871
  }
3872
+ forceBuyBackRecords(
3873
+ where: { eventIndex_gte: $startEventIndex, eventIndex_lt: $endEventIndex }
3874
+ orderBy: eventIndex
3875
+ orderDirection: desc
3876
+ first: $limit
3877
+ ) {
3878
+ ...ForceBuyBackData
3879
+ }
3880
+ minimumDepositUpdateRecords(
3881
+ where: { eventIndex_gte: $startEventIndex, eventIndex_lt: $endEventIndex }
3882
+ orderBy: eventIndex
3883
+ orderDirection: desc
3884
+ first: $limit
3885
+ ) {
3886
+ ...MinimumDepositUpdatedData
3887
+ }
3888
+ protocolFeeBipsUpdatedRecords(
3889
+ where: { eventIndex_gte: $startEventIndex, eventIndex_lt: $endEventIndex }
3890
+ orderBy: eventIndex
3891
+ orderDirection: desc
3892
+ first: $limit
3893
+ ) {
3894
+ ...ProtocolFeeBipsUpdatedData
3895
+ }
3896
+ fixedTermUpdatedRecords(
3897
+ where: { eventIndex_gte: $startEventIndex, eventIndex_lt: $endEventIndex }
3898
+ orderBy: eventIndex
3899
+ orderDirection: desc
3900
+ first: $limit
3901
+ ) {
3902
+ ...FixedTermUpdatedData
3903
+ }
4053
3904
  }
4054
3905
  }
4055
3906
  ${exports.MarketClosedDataFragmentDoc}
3907
+ ${exports.DisabledForceBuyBacksDataFragmentDoc}
4056
3908
  ${exports.DelinquencyStatusChangedDataFragmentDoc}
4057
3909
  ${exports.BorrowDataFragmentDoc}
4058
3910
  ${exports.DepositDataFragmentDoc}
@@ -4061,41 +3913,11 @@ exports.GetMarketEventsDocument = (0, client_1.gql) `
4061
3913
  ${exports.AnnualInterestBipsUpdatedDataFragmentDoc}
4062
3914
  ${exports.MaxTotalSupplyUpdatedDataFragmentDoc}
4063
3915
  ${exports.WithdrawalRequestPropertiesFragmentDoc}
3916
+ ${exports.ForceBuyBackDataFragmentDoc}
3917
+ ${exports.MinimumDepositUpdatedDataFragmentDoc}
3918
+ ${exports.ProtocolFeeBipsUpdatedDataFragmentDoc}
3919
+ ${exports.FixedTermUpdatedDataFragmentDoc}
4064
3920
  `;
4065
- /**
4066
- * __useGetMarketEventsQuery__
4067
- *
4068
- * To run a query within a React component, call `useGetMarketEventsQuery` and pass it any options that fit your needs.
4069
- * When your component renders, `useGetMarketEventsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4070
- * you can use to render your UI.
4071
- *
4072
- * @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;
4073
- *
4074
- * @example
4075
- * const { data, loading, error } = useGetMarketEventsQuery({
4076
- * variables: {
4077
- * market: // value for 'market'
4078
- * startEventIndex: // value for 'startEventIndex'
4079
- * endEventIndex: // value for 'endEventIndex'
4080
- * limit: // value for 'limit'
4081
- * },
4082
- * });
4083
- */
4084
- function useGetMarketEventsQuery(baseOptions) {
4085
- const options = { ...defaultOptions, ...baseOptions };
4086
- return Apollo.useQuery(exports.GetMarketEventsDocument, options);
4087
- }
4088
- exports.useGetMarketEventsQuery = useGetMarketEventsQuery;
4089
- function useGetMarketEventsLazyQuery(baseOptions) {
4090
- const options = { ...defaultOptions, ...baseOptions };
4091
- return Apollo.useLazyQuery(exports.GetMarketEventsDocument, options);
4092
- }
4093
- exports.useGetMarketEventsLazyQuery = useGetMarketEventsLazyQuery;
4094
- function useGetMarketEventsSuspenseQuery(baseOptions) {
4095
- const options = { ...defaultOptions, ...baseOptions };
4096
- return Apollo.useSuspenseQuery(exports.GetMarketEventsDocument, options);
4097
- }
4098
- exports.useGetMarketEventsSuspenseQuery = useGetMarketEventsSuspenseQuery;
4099
3921
  exports.GetMarketsForBorrowerDocument = (0, client_1.gql) `
4100
3922
  query getMarketsForBorrower(
4101
3923
  $borrower: Bytes!
@@ -4136,7 +3958,7 @@ exports.GetMarketsForBorrowerDocument = (0, client_1.gql) `
4136
3958
  ${exports.TokenDataFragmentDoc}
4137
3959
  ${exports.HooksConfigDataForMarketFragmentDoc}
4138
3960
  ${exports.HooksInstanceDataForMarketFragmentDoc}
4139
- ${exports.HooksTemplateDataForMarketFragmentDoc}
3961
+ ${exports.HooksTemplateDataFragmentDoc}
4140
3962
  ${exports.RoleProviderDataFragmentDoc}
4141
3963
  ${exports.MarketDeployedEventFragmentDoc}
4142
3964
  ${exports.MarketRecordsFragmentDoc}
@@ -4145,58 +3967,6 @@ exports.GetMarketsForBorrowerDocument = (0, client_1.gql) `
4145
3967
  ${exports.FeesCollectedDataFragmentDoc}
4146
3968
  ${exports.RepaymentDataFragmentDoc}
4147
3969
  `;
4148
- /**
4149
- * __useGetMarketsForBorrowerQuery__
4150
- *
4151
- * To run a query within a React component, call `useGetMarketsForBorrowerQuery` and pass it any options that fit your needs.
4152
- * When your component renders, `useGetMarketsForBorrowerQuery` returns an object from Apollo Client that contains loading, error, and data properties
4153
- * you can use to render your UI.
4154
- *
4155
- * @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;
4156
- *
4157
- * @example
4158
- * const { data, loading, error } = useGetMarketsForBorrowerQuery({
4159
- * variables: {
4160
- * borrower: // value for 'borrower'
4161
- * marketFilter: // value for 'marketFilter'
4162
- * numMarkets: // value for 'numMarkets'
4163
- * skipMarkets: // value for 'skipMarkets'
4164
- * orderMarkets: // value for 'orderMarkets'
4165
- * directionMarkets: // value for 'directionMarkets'
4166
- * numDeposits: // value for 'numDeposits'
4167
- * skipDeposits: // value for 'skipDeposits'
4168
- * orderDeposits: // value for 'orderDeposits'
4169
- * directionDeposits: // value for 'directionDeposits'
4170
- * numBorrows: // value for 'numBorrows'
4171
- * skipBorrows: // value for 'skipBorrows'
4172
- * orderBorrows: // value for 'orderBorrows'
4173
- * directionBorrows: // value for 'directionBorrows'
4174
- * numFeeCollections: // value for 'numFeeCollections'
4175
- * skipFeeCollections: // value for 'skipFeeCollections'
4176
- * orderFeeCollections: // value for 'orderFeeCollections'
4177
- * directionFeeCollections: // value for 'directionFeeCollections'
4178
- * numRepayments: // value for 'numRepayments'
4179
- * skipRepayments: // value for 'skipRepayments'
4180
- * orderRepayments: // value for 'orderRepayments'
4181
- * directionRepayments: // value for 'directionRepayments'
4182
- * },
4183
- * });
4184
- */
4185
- function useGetMarketsForBorrowerQuery(baseOptions) {
4186
- const options = { ...defaultOptions, ...baseOptions };
4187
- return Apollo.useQuery(exports.GetMarketsForBorrowerDocument, options);
4188
- }
4189
- exports.useGetMarketsForBorrowerQuery = useGetMarketsForBorrowerQuery;
4190
- function useGetMarketsForBorrowerLazyQuery(baseOptions) {
4191
- const options = { ...defaultOptions, ...baseOptions };
4192
- return Apollo.useLazyQuery(exports.GetMarketsForBorrowerDocument, options);
4193
- }
4194
- exports.useGetMarketsForBorrowerLazyQuery = useGetMarketsForBorrowerLazyQuery;
4195
- function useGetMarketsForBorrowerSuspenseQuery(baseOptions) {
4196
- const options = { ...defaultOptions, ...baseOptions };
4197
- return Apollo.useSuspenseQuery(exports.GetMarketsForBorrowerDocument, options);
4198
- }
4199
- exports.useGetMarketsForBorrowerSuspenseQuery = useGetMarketsForBorrowerSuspenseQuery;
4200
3970
  exports.GetMarketsForAllBorrowersDocument = (0, client_1.gql) `
4201
3971
  query getMarketsForAllBorrowers(
4202
3972
  $numMarkets: Int = 1000
@@ -4234,7 +4004,7 @@ exports.GetMarketsForAllBorrowersDocument = (0, client_1.gql) `
4234
4004
  ${exports.TokenDataFragmentDoc}
4235
4005
  ${exports.HooksConfigDataForMarketFragmentDoc}
4236
4006
  ${exports.HooksInstanceDataForMarketFragmentDoc}
4237
- ${exports.HooksTemplateDataForMarketFragmentDoc}
4007
+ ${exports.HooksTemplateDataFragmentDoc}
4238
4008
  ${exports.RoleProviderDataFragmentDoc}
4239
4009
  ${exports.MarketDeployedEventFragmentDoc}
4240
4010
  ${exports.MarketRecordsFragmentDoc}
@@ -4243,56 +4013,6 @@ exports.GetMarketsForAllBorrowersDocument = (0, client_1.gql) `
4243
4013
  ${exports.FeesCollectedDataFragmentDoc}
4244
4014
  ${exports.RepaymentDataFragmentDoc}
4245
4015
  `;
4246
- /**
4247
- * __useGetMarketsForAllBorrowersQuery__
4248
- *
4249
- * To run a query within a React component, call `useGetMarketsForAllBorrowersQuery` and pass it any options that fit your needs.
4250
- * When your component renders, `useGetMarketsForAllBorrowersQuery` returns an object from Apollo Client that contains loading, error, and data properties
4251
- * you can use to render your UI.
4252
- *
4253
- * @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;
4254
- *
4255
- * @example
4256
- * const { data, loading, error } = useGetMarketsForAllBorrowersQuery({
4257
- * variables: {
4258
- * numMarkets: // value for 'numMarkets'
4259
- * skipMarkets: // value for 'skipMarkets'
4260
- * orderMarkets: // value for 'orderMarkets'
4261
- * directionMarkets: // value for 'directionMarkets'
4262
- * numDeposits: // value for 'numDeposits'
4263
- * skipDeposits: // value for 'skipDeposits'
4264
- * orderDeposits: // value for 'orderDeposits'
4265
- * directionDeposits: // value for 'directionDeposits'
4266
- * numBorrows: // value for 'numBorrows'
4267
- * skipBorrows: // value for 'skipBorrows'
4268
- * orderBorrows: // value for 'orderBorrows'
4269
- * directionBorrows: // value for 'directionBorrows'
4270
- * numFeeCollections: // value for 'numFeeCollections'
4271
- * skipFeeCollections: // value for 'skipFeeCollections'
4272
- * orderFeeCollections: // value for 'orderFeeCollections'
4273
- * directionFeeCollections: // value for 'directionFeeCollections'
4274
- * numRepayments: // value for 'numRepayments'
4275
- * skipRepayments: // value for 'skipRepayments'
4276
- * orderRepayments: // value for 'orderRepayments'
4277
- * directionRepayments: // value for 'directionRepayments'
4278
- * },
4279
- * });
4280
- */
4281
- function useGetMarketsForAllBorrowersQuery(baseOptions) {
4282
- const options = { ...defaultOptions, ...baseOptions };
4283
- return Apollo.useQuery(exports.GetMarketsForAllBorrowersDocument, options);
4284
- }
4285
- exports.useGetMarketsForAllBorrowersQuery = useGetMarketsForAllBorrowersQuery;
4286
- function useGetMarketsForAllBorrowersLazyQuery(baseOptions) {
4287
- const options = { ...defaultOptions, ...baseOptions };
4288
- return Apollo.useLazyQuery(exports.GetMarketsForAllBorrowersDocument, options);
4289
- }
4290
- exports.useGetMarketsForAllBorrowersLazyQuery = useGetMarketsForAllBorrowersLazyQuery;
4291
- function useGetMarketsForAllBorrowersSuspenseQuery(baseOptions) {
4292
- const options = { ...defaultOptions, ...baseOptions };
4293
- return Apollo.useSuspenseQuery(exports.GetMarketsForAllBorrowersDocument, options);
4294
- }
4295
- exports.useGetMarketsForAllBorrowersSuspenseQuery = useGetMarketsForAllBorrowersSuspenseQuery;
4296
4016
  exports.GetMarketDocument = (0, client_1.gql) `
4297
4017
  query getMarket(
4298
4018
  $market: ID!
@@ -4322,7 +4042,7 @@ exports.GetMarketDocument = (0, client_1.gql) `
4322
4042
  ${exports.TokenDataFragmentDoc}
4323
4043
  ${exports.HooksConfigDataForMarketFragmentDoc}
4324
4044
  ${exports.HooksInstanceDataForMarketFragmentDoc}
4325
- ${exports.HooksTemplateDataForMarketFragmentDoc}
4045
+ ${exports.HooksTemplateDataFragmentDoc}
4326
4046
  ${exports.RoleProviderDataFragmentDoc}
4327
4047
  ${exports.MarketDeployedEventFragmentDoc}
4328
4048
  ${exports.MarketRecordsFragmentDoc}
@@ -4331,53 +4051,6 @@ exports.GetMarketDocument = (0, client_1.gql) `
4331
4051
  ${exports.FeesCollectedDataFragmentDoc}
4332
4052
  ${exports.RepaymentDataFragmentDoc}
4333
4053
  `;
4334
- /**
4335
- * __useGetMarketQuery__
4336
- *
4337
- * To run a query within a React component, call `useGetMarketQuery` and pass it any options that fit your needs.
4338
- * When your component renders, `useGetMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
4339
- * you can use to render your UI.
4340
- *
4341
- * @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;
4342
- *
4343
- * @example
4344
- * const { data, loading, error } = useGetMarketQuery({
4345
- * variables: {
4346
- * market: // value for 'market'
4347
- * numDeposits: // value for 'numDeposits'
4348
- * skipDeposits: // value for 'skipDeposits'
4349
- * orderDeposits: // value for 'orderDeposits'
4350
- * directionDeposits: // value for 'directionDeposits'
4351
- * numBorrows: // value for 'numBorrows'
4352
- * skipBorrows: // value for 'skipBorrows'
4353
- * orderBorrows: // value for 'orderBorrows'
4354
- * directionBorrows: // value for 'directionBorrows'
4355
- * numFeeCollections: // value for 'numFeeCollections'
4356
- * skipFeeCollections: // value for 'skipFeeCollections'
4357
- * orderFeeCollections: // value for 'orderFeeCollections'
4358
- * directionFeeCollections: // value for 'directionFeeCollections'
4359
- * numRepayments: // value for 'numRepayments'
4360
- * skipRepayments: // value for 'skipRepayments'
4361
- * orderRepayments: // value for 'orderRepayments'
4362
- * directionRepayments: // value for 'directionRepayments'
4363
- * },
4364
- * });
4365
- */
4366
- function useGetMarketQuery(baseOptions) {
4367
- const options = { ...defaultOptions, ...baseOptions };
4368
- return Apollo.useQuery(exports.GetMarketDocument, options);
4369
- }
4370
- exports.useGetMarketQuery = useGetMarketQuery;
4371
- function useGetMarketLazyQuery(baseOptions) {
4372
- const options = { ...defaultOptions, ...baseOptions };
4373
- return Apollo.useLazyQuery(exports.GetMarketDocument, options);
4374
- }
4375
- exports.useGetMarketLazyQuery = useGetMarketLazyQuery;
4376
- function useGetMarketSuspenseQuery(baseOptions) {
4377
- const options = { ...defaultOptions, ...baseOptions };
4378
- return Apollo.useSuspenseQuery(exports.GetMarketDocument, options);
4379
- }
4380
- exports.useGetMarketSuspenseQuery = useGetMarketSuspenseQuery;
4381
4054
  exports.GetWithdrawalRequestsByMarketDocument = (0, client_1.gql) `
4382
4055
  query getWithdrawalRequestsByMarket(
4383
4056
  $market: String!
@@ -4398,41 +4071,6 @@ exports.GetWithdrawalRequestsByMarketDocument = (0, client_1.gql) `
4398
4071
  }
4399
4072
  ${exports.WithdrawalRequestPropertiesFragmentDoc}
4400
4073
  `;
4401
- /**
4402
- * __useGetWithdrawalRequestsByMarketQuery__
4403
- *
4404
- * To run a query within a React component, call `useGetWithdrawalRequestsByMarketQuery` and pass it any options that fit your needs.
4405
- * When your component renders, `useGetWithdrawalRequestsByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
4406
- * you can use to render your UI.
4407
- *
4408
- * @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;
4409
- *
4410
- * @example
4411
- * const { data, loading, error } = useGetWithdrawalRequestsByMarketQuery({
4412
- * variables: {
4413
- * market: // value for 'market'
4414
- * numWithdrawals: // value for 'numWithdrawals'
4415
- * skipWithdrawals: // value for 'skipWithdrawals'
4416
- * orderWithdrawals: // value for 'orderWithdrawals'
4417
- * directionWithdrawals: // value for 'directionWithdrawals'
4418
- * },
4419
- * });
4420
- */
4421
- function useGetWithdrawalRequestsByMarketQuery(baseOptions) {
4422
- const options = { ...defaultOptions, ...baseOptions };
4423
- return Apollo.useQuery(exports.GetWithdrawalRequestsByMarketDocument, options);
4424
- }
4425
- exports.useGetWithdrawalRequestsByMarketQuery = useGetWithdrawalRequestsByMarketQuery;
4426
- function useGetWithdrawalRequestsByMarketLazyQuery(baseOptions) {
4427
- const options = { ...defaultOptions, ...baseOptions };
4428
- return Apollo.useLazyQuery(exports.GetWithdrawalRequestsByMarketDocument, options);
4429
- }
4430
- exports.useGetWithdrawalRequestsByMarketLazyQuery = useGetWithdrawalRequestsByMarketLazyQuery;
4431
- function useGetWithdrawalRequestsByMarketSuspenseQuery(baseOptions) {
4432
- const options = { ...defaultOptions, ...baseOptions };
4433
- return Apollo.useSuspenseQuery(exports.GetWithdrawalRequestsByMarketDocument, options);
4434
- }
4435
- exports.useGetWithdrawalRequestsByMarketSuspenseQuery = useGetWithdrawalRequestsByMarketSuspenseQuery;
4436
4074
  exports.GetAllPendingWithdrawalBatchesForMarketDocument = (0, client_1.gql) `
4437
4075
  query getAllPendingWithdrawalBatchesForMarket($market: ID!) {
4438
4076
  market(id: $market) {
@@ -4448,37 +4086,6 @@ exports.GetAllPendingWithdrawalBatchesForMarketDocument = (0, client_1.gql) `
4448
4086
  ${exports.WithdrawalRequestPropertiesFragmentDoc}
4449
4087
  ${exports.WithdrawalExecutionPropertiesFragmentDoc}
4450
4088
  `;
4451
- /**
4452
- * __useGetAllPendingWithdrawalBatchesForMarketQuery__
4453
- *
4454
- * To run a query within a React component, call `useGetAllPendingWithdrawalBatchesForMarketQuery` and pass it any options that fit your needs.
4455
- * When your component renders, `useGetAllPendingWithdrawalBatchesForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
4456
- * you can use to render your UI.
4457
- *
4458
- * @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;
4459
- *
4460
- * @example
4461
- * const { data, loading, error } = useGetAllPendingWithdrawalBatchesForMarketQuery({
4462
- * variables: {
4463
- * market: // value for 'market'
4464
- * },
4465
- * });
4466
- */
4467
- function useGetAllPendingWithdrawalBatchesForMarketQuery(baseOptions) {
4468
- const options = { ...defaultOptions, ...baseOptions };
4469
- return Apollo.useQuery(exports.GetAllPendingWithdrawalBatchesForMarketDocument, options);
4470
- }
4471
- exports.useGetAllPendingWithdrawalBatchesForMarketQuery = useGetAllPendingWithdrawalBatchesForMarketQuery;
4472
- function useGetAllPendingWithdrawalBatchesForMarketLazyQuery(baseOptions) {
4473
- const options = { ...defaultOptions, ...baseOptions };
4474
- return Apollo.useLazyQuery(exports.GetAllPendingWithdrawalBatchesForMarketDocument, options);
4475
- }
4476
- exports.useGetAllPendingWithdrawalBatchesForMarketLazyQuery = useGetAllPendingWithdrawalBatchesForMarketLazyQuery;
4477
- function useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery(baseOptions) {
4478
- const options = { ...defaultOptions, ...baseOptions };
4479
- return Apollo.useSuspenseQuery(exports.GetAllPendingWithdrawalBatchesForMarketDocument, options);
4480
- }
4481
- exports.useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery = useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery;
4482
4089
  exports.GetIncompleteWithdrawalsForMarketDocument = (0, client_1.gql) `
4483
4090
  query getIncompleteWithdrawalsForMarket(
4484
4091
  $market: ID!
@@ -4506,41 +4113,6 @@ exports.GetIncompleteWithdrawalsForMarketDocument = (0, client_1.gql) `
4506
4113
  ${exports.WithdrawalRequestPropertiesFragmentDoc}
4507
4114
  ${exports.WithdrawalExecutionPropertiesFragmentDoc}
4508
4115
  `;
4509
- /**
4510
- * __useGetIncompleteWithdrawalsForMarketQuery__
4511
- *
4512
- * To run a query within a React component, call `useGetIncompleteWithdrawalsForMarketQuery` and pass it any options that fit your needs.
4513
- * When your component renders, `useGetIncompleteWithdrawalsForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
4514
- * you can use to render your UI.
4515
- *
4516
- * @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;
4517
- *
4518
- * @example
4519
- * const { data, loading, error } = useGetIncompleteWithdrawalsForMarketQuery({
4520
- * variables: {
4521
- * market: // value for 'market'
4522
- * numWithdrawalBatches: // value for 'numWithdrawalBatches'
4523
- * skipWithdrawalBatches: // value for 'skipWithdrawalBatches'
4524
- * orderWithdrawalBatches: // value for 'orderWithdrawalBatches'
4525
- * directionWithdrawalBatches: // value for 'directionWithdrawalBatches'
4526
- * },
4527
- * });
4528
- */
4529
- function useGetIncompleteWithdrawalsForMarketQuery(baseOptions) {
4530
- const options = { ...defaultOptions, ...baseOptions };
4531
- return Apollo.useQuery(exports.GetIncompleteWithdrawalsForMarketDocument, options);
4532
- }
4533
- exports.useGetIncompleteWithdrawalsForMarketQuery = useGetIncompleteWithdrawalsForMarketQuery;
4534
- function useGetIncompleteWithdrawalsForMarketLazyQuery(baseOptions) {
4535
- const options = { ...defaultOptions, ...baseOptions };
4536
- return Apollo.useLazyQuery(exports.GetIncompleteWithdrawalsForMarketDocument, options);
4537
- }
4538
- exports.useGetIncompleteWithdrawalsForMarketLazyQuery = useGetIncompleteWithdrawalsForMarketLazyQuery;
4539
- function useGetIncompleteWithdrawalsForMarketSuspenseQuery(baseOptions) {
4540
- const options = { ...defaultOptions, ...baseOptions };
4541
- return Apollo.useSuspenseQuery(exports.GetIncompleteWithdrawalsForMarketDocument, options);
4542
- }
4543
- exports.useGetIncompleteWithdrawalsForMarketSuspenseQuery = useGetIncompleteWithdrawalsForMarketSuspenseQuery;
4544
4116
  exports.GetAllMarketsDocument = (0, client_1.gql) `
4545
4117
  query getAllMarkets {
4546
4118
  markets {
@@ -4551,40 +4123,10 @@ exports.GetAllMarketsDocument = (0, client_1.gql) `
4551
4123
  ${exports.TokenDataFragmentDoc}
4552
4124
  ${exports.HooksConfigDataForMarketFragmentDoc}
4553
4125
  ${exports.HooksInstanceDataForMarketFragmentDoc}
4554
- ${exports.HooksTemplateDataForMarketFragmentDoc}
4126
+ ${exports.HooksTemplateDataFragmentDoc}
4555
4127
  ${exports.RoleProviderDataFragmentDoc}
4556
4128
  ${exports.MarketDeployedEventFragmentDoc}
4557
4129
  `;
4558
- /**
4559
- * __useGetAllMarketsQuery__
4560
- *
4561
- * To run a query within a React component, call `useGetAllMarketsQuery` and pass it any options that fit your needs.
4562
- * When your component renders, `useGetAllMarketsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4563
- * you can use to render your UI.
4564
- *
4565
- * @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;
4566
- *
4567
- * @example
4568
- * const { data, loading, error } = useGetAllMarketsQuery({
4569
- * variables: {
4570
- * },
4571
- * });
4572
- */
4573
- function useGetAllMarketsQuery(baseOptions) {
4574
- const options = { ...defaultOptions, ...baseOptions };
4575
- return Apollo.useQuery(exports.GetAllMarketsDocument, options);
4576
- }
4577
- exports.useGetAllMarketsQuery = useGetAllMarketsQuery;
4578
- function useGetAllMarketsLazyQuery(baseOptions) {
4579
- const options = { ...defaultOptions, ...baseOptions };
4580
- return Apollo.useLazyQuery(exports.GetAllMarketsDocument, options);
4581
- }
4582
- exports.useGetAllMarketsLazyQuery = useGetAllMarketsLazyQuery;
4583
- function useGetAllMarketsSuspenseQuery(baseOptions) {
4584
- const options = { ...defaultOptions, ...baseOptions };
4585
- return Apollo.useSuspenseQuery(exports.GetAllMarketsDocument, options);
4586
- }
4587
- exports.useGetAllMarketsSuspenseQuery = useGetAllMarketsSuspenseQuery;
4588
4130
  exports.GetAuthorizedLendersByMarketDocument = (0, client_1.gql) `
4589
4131
  query getAuthorizedLendersByMarket($market: ID!) {
4590
4132
  market(id: $market) {
@@ -4605,37 +4147,6 @@ exports.GetAuthorizedLendersByMarketDocument = (0, client_1.gql) `
4605
4147
  }
4606
4148
  }
4607
4149
  `;
4608
- /**
4609
- * __useGetAuthorizedLendersByMarketQuery__
4610
- *
4611
- * To run a query within a React component, call `useGetAuthorizedLendersByMarketQuery` and pass it any options that fit your needs.
4612
- * When your component renders, `useGetAuthorizedLendersByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
4613
- * you can use to render your UI.
4614
- *
4615
- * @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;
4616
- *
4617
- * @example
4618
- * const { data, loading, error } = useGetAuthorizedLendersByMarketQuery({
4619
- * variables: {
4620
- * market: // value for 'market'
4621
- * },
4622
- * });
4623
- */
4624
- function useGetAuthorizedLendersByMarketQuery(baseOptions) {
4625
- const options = { ...defaultOptions, ...baseOptions };
4626
- return Apollo.useQuery(exports.GetAuthorizedLendersByMarketDocument, options);
4627
- }
4628
- exports.useGetAuthorizedLendersByMarketQuery = useGetAuthorizedLendersByMarketQuery;
4629
- function useGetAuthorizedLendersByMarketLazyQuery(baseOptions) {
4630
- const options = { ...defaultOptions, ...baseOptions };
4631
- return Apollo.useLazyQuery(exports.GetAuthorizedLendersByMarketDocument, options);
4632
- }
4633
- exports.useGetAuthorizedLendersByMarketLazyQuery = useGetAuthorizedLendersByMarketLazyQuery;
4634
- function useGetAuthorizedLendersByMarketSuspenseQuery(baseOptions) {
4635
- const options = { ...defaultOptions, ...baseOptions };
4636
- return Apollo.useSuspenseQuery(exports.GetAuthorizedLendersByMarketDocument, options);
4637
- }
4638
- exports.useGetAuthorizedLendersByMarketSuspenseQuery = useGetAuthorizedLendersByMarketSuspenseQuery;
4639
4150
  exports.GetAllAuthorizedLendersDocument = (0, client_1.gql) `
4640
4151
  query getAllAuthorizedLenders($borrower: Bytes!) {
4641
4152
  markets(where: { borrower: $borrower, isClosed: false }) {
@@ -4650,37 +4161,6 @@ exports.GetAllAuthorizedLendersDocument = (0, client_1.gql) `
4650
4161
  ${exports.AllAuthorizedLendersViewMarketInfoFragmentDoc}
4651
4162
  ${exports.AllAuthorizedLendersViewFragmentDoc}
4652
4163
  `;
4653
- /**
4654
- * __useGetAllAuthorizedLendersQuery__
4655
- *
4656
- * To run a query within a React component, call `useGetAllAuthorizedLendersQuery` and pass it any options that fit your needs.
4657
- * When your component renders, `useGetAllAuthorizedLendersQuery` returns an object from Apollo Client that contains loading, error, and data properties
4658
- * you can use to render your UI.
4659
- *
4660
- * @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;
4661
- *
4662
- * @example
4663
- * const { data, loading, error } = useGetAllAuthorizedLendersQuery({
4664
- * variables: {
4665
- * borrower: // value for 'borrower'
4666
- * },
4667
- * });
4668
- */
4669
- function useGetAllAuthorizedLendersQuery(baseOptions) {
4670
- const options = { ...defaultOptions, ...baseOptions };
4671
- return Apollo.useQuery(exports.GetAllAuthorizedLendersDocument, options);
4672
- }
4673
- exports.useGetAllAuthorizedLendersQuery = useGetAllAuthorizedLendersQuery;
4674
- function useGetAllAuthorizedLendersLazyQuery(baseOptions) {
4675
- const options = { ...defaultOptions, ...baseOptions };
4676
- return Apollo.useLazyQuery(exports.GetAllAuthorizedLendersDocument, options);
4677
- }
4678
- exports.useGetAllAuthorizedLendersLazyQuery = useGetAllAuthorizedLendersLazyQuery;
4679
- function useGetAllAuthorizedLendersSuspenseQuery(baseOptions) {
4680
- const options = { ...defaultOptions, ...baseOptions };
4681
- return Apollo.useSuspenseQuery(exports.GetAllAuthorizedLendersDocument, options);
4682
- }
4683
- exports.useGetAllAuthorizedLendersSuspenseQuery = useGetAllAuthorizedLendersSuspenseQuery;
4684
4164
  exports.GetAuthorizedLendersByBorrowerDocument = (0, client_1.gql) `
4685
4165
  query getAuthorizedLendersByBorrower($filter: Controller_filter!) {
4686
4166
  controllers(where: $filter) {
@@ -4690,37 +4170,6 @@ exports.GetAuthorizedLendersByBorrowerDocument = (0, client_1.gql) `
4690
4170
  }
4691
4171
  }
4692
4172
  `;
4693
- /**
4694
- * __useGetAuthorizedLendersByBorrowerQuery__
4695
- *
4696
- * To run a query within a React component, call `useGetAuthorizedLendersByBorrowerQuery` and pass it any options that fit your needs.
4697
- * When your component renders, `useGetAuthorizedLendersByBorrowerQuery` returns an object from Apollo Client that contains loading, error, and data properties
4698
- * you can use to render your UI.
4699
- *
4700
- * @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;
4701
- *
4702
- * @example
4703
- * const { data, loading, error } = useGetAuthorizedLendersByBorrowerQuery({
4704
- * variables: {
4705
- * filter: // value for 'filter'
4706
- * },
4707
- * });
4708
- */
4709
- function useGetAuthorizedLendersByBorrowerQuery(baseOptions) {
4710
- const options = { ...defaultOptions, ...baseOptions };
4711
- return Apollo.useQuery(exports.GetAuthorizedLendersByBorrowerDocument, options);
4712
- }
4713
- exports.useGetAuthorizedLendersByBorrowerQuery = useGetAuthorizedLendersByBorrowerQuery;
4714
- function useGetAuthorizedLendersByBorrowerLazyQuery(baseOptions) {
4715
- const options = { ...defaultOptions, ...baseOptions };
4716
- return Apollo.useLazyQuery(exports.GetAuthorizedLendersByBorrowerDocument, options);
4717
- }
4718
- exports.useGetAuthorizedLendersByBorrowerLazyQuery = useGetAuthorizedLendersByBorrowerLazyQuery;
4719
- function useGetAuthorizedLendersByBorrowerSuspenseQuery(baseOptions) {
4720
- const options = { ...defaultOptions, ...baseOptions };
4721
- return Apollo.useSuspenseQuery(exports.GetAuthorizedLendersByBorrowerDocument, options);
4722
- }
4723
- exports.useGetAuthorizedLendersByBorrowerSuspenseQuery = useGetAuthorizedLendersByBorrowerSuspenseQuery;
4724
4173
  exports.GetSubgraphStatusDocument = (0, client_1.gql) `
4725
4174
  query getSubgraphStatus {
4726
4175
  _meta {
@@ -4733,36 +4182,6 @@ exports.GetSubgraphStatusDocument = (0, client_1.gql) `
4733
4182
  }
4734
4183
  }
4735
4184
  `;
4736
- /**
4737
- * __useGetSubgraphStatusQuery__
4738
- *
4739
- * To run a query within a React component, call `useGetSubgraphStatusQuery` and pass it any options that fit your needs.
4740
- * When your component renders, `useGetSubgraphStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
4741
- * you can use to render your UI.
4742
- *
4743
- * @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;
4744
- *
4745
- * @example
4746
- * const { data, loading, error } = useGetSubgraphStatusQuery({
4747
- * variables: {
4748
- * },
4749
- * });
4750
- */
4751
- function useGetSubgraphStatusQuery(baseOptions) {
4752
- const options = { ...defaultOptions, ...baseOptions };
4753
- return Apollo.useQuery(exports.GetSubgraphStatusDocument, options);
4754
- }
4755
- exports.useGetSubgraphStatusQuery = useGetSubgraphStatusQuery;
4756
- function useGetSubgraphStatusLazyQuery(baseOptions) {
4757
- const options = { ...defaultOptions, ...baseOptions };
4758
- return Apollo.useLazyQuery(exports.GetSubgraphStatusDocument, options);
4759
- }
4760
- exports.useGetSubgraphStatusLazyQuery = useGetSubgraphStatusLazyQuery;
4761
- function useGetSubgraphStatusSuspenseQuery(baseOptions) {
4762
- const options = { ...defaultOptions, ...baseOptions };
4763
- return Apollo.useSuspenseQuery(exports.GetSubgraphStatusDocument, options);
4764
- }
4765
- exports.useGetSubgraphStatusSuspenseQuery = useGetSubgraphStatusSuspenseQuery;
4766
4185
  exports.GetMarketRecordsDocument = (0, client_1.gql) `
4767
4186
  query getMarketRecords(
4768
4187
  $market: ID!
@@ -4793,51 +4212,4 @@ exports.GetMarketRecordsDocument = (0, client_1.gql) `
4793
4212
  ${exports.FeesCollectedDataFragmentDoc}
4794
4213
  ${exports.RepaymentDataFragmentDoc}
4795
4214
  `;
4796
- /**
4797
- * __useGetMarketRecordsQuery__
4798
- *
4799
- * To run a query within a React component, call `useGetMarketRecordsQuery` and pass it any options that fit your needs.
4800
- * When your component renders, `useGetMarketRecordsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4801
- * you can use to render your UI.
4802
- *
4803
- * @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;
4804
- *
4805
- * @example
4806
- * const { data, loading, error } = useGetMarketRecordsQuery({
4807
- * variables: {
4808
- * market: // value for 'market'
4809
- * numDeposits: // value for 'numDeposits'
4810
- * skipDeposits: // value for 'skipDeposits'
4811
- * orderDeposits: // value for 'orderDeposits'
4812
- * directionDeposits: // value for 'directionDeposits'
4813
- * numBorrows: // value for 'numBorrows'
4814
- * skipBorrows: // value for 'skipBorrows'
4815
- * orderBorrows: // value for 'orderBorrows'
4816
- * directionBorrows: // value for 'directionBorrows'
4817
- * numFeeCollections: // value for 'numFeeCollections'
4818
- * skipFeeCollections: // value for 'skipFeeCollections'
4819
- * orderFeeCollections: // value for 'orderFeeCollections'
4820
- * directionFeeCollections: // value for 'directionFeeCollections'
4821
- * numRepayments: // value for 'numRepayments'
4822
- * skipRepayments: // value for 'skipRepayments'
4823
- * orderRepayments: // value for 'orderRepayments'
4824
- * directionRepayments: // value for 'directionRepayments'
4825
- * },
4826
- * });
4827
- */
4828
- function useGetMarketRecordsQuery(baseOptions) {
4829
- const options = { ...defaultOptions, ...baseOptions };
4830
- return Apollo.useQuery(exports.GetMarketRecordsDocument, options);
4831
- }
4832
- exports.useGetMarketRecordsQuery = useGetMarketRecordsQuery;
4833
- function useGetMarketRecordsLazyQuery(baseOptions) {
4834
- const options = { ...defaultOptions, ...baseOptions };
4835
- return Apollo.useLazyQuery(exports.GetMarketRecordsDocument, options);
4836
- }
4837
- exports.useGetMarketRecordsLazyQuery = useGetMarketRecordsLazyQuery;
4838
- function useGetMarketRecordsSuspenseQuery(baseOptions) {
4839
- const options = { ...defaultOptions, ...baseOptions };
4840
- return Apollo.useSuspenseQuery(exports.GetMarketRecordsDocument, options);
4841
- }
4842
- exports.useGetMarketRecordsSuspenseQuery = useGetMarketRecordsSuspenseQuery;
4843
4215
  //# sourceMappingURL=graphql.js.map