@wildcatfi/wildcat-sdk 2.0.62 → 2.0.64

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 (57) hide show
  1. package/dist/constants.d.ts.map +1 -1
  2. package/dist/constants.js +2 -2
  3. package/dist/constants.js.map +1 -1
  4. package/dist/controller.d.ts.map +1 -1
  5. package/dist/controller.js.map +1 -1
  6. package/dist/gql/getAllPendingWithdrawalBatchesForMarket.d.ts +5 -0
  7. package/dist/gql/getAllPendingWithdrawalBatchesForMarket.d.ts.map +1 -0
  8. package/dist/gql/getAllPendingWithdrawalBatchesForMarket.js +15 -0
  9. package/dist/gql/getAllPendingWithdrawalBatchesForMarket.js.map +1 -0
  10. package/dist/gql/getAuthorizedLendersByMarket.d.ts +8 -0
  11. package/dist/gql/getAuthorizedLendersByMarket.d.ts.map +1 -0
  12. package/dist/gql/getAuthorizedLendersByMarket.js +14 -0
  13. package/dist/gql/getAuthorizedLendersByMarket.js.map +1 -0
  14. package/dist/gql/getLenderAccountForMarket.d.ts +11 -0
  15. package/dist/gql/getLenderAccountForMarket.d.ts.map +1 -0
  16. package/dist/gql/getLenderAccountForMarket.js +25 -0
  17. package/dist/gql/getLenderAccountForMarket.js.map +1 -0
  18. package/dist/gql/getMarket.d.ts +12 -0
  19. package/dist/gql/getMarket.d.ts.map +1 -0
  20. package/dist/gql/getMarket.js +21 -0
  21. package/dist/gql/getMarket.js.map +1 -0
  22. package/dist/gql/getMarketRecords.d.ts +11 -0
  23. package/dist/gql/getMarketRecords.d.ts.map +1 -0
  24. package/dist/gql/getMarketRecords.js +59 -0
  25. package/dist/gql/getMarketRecords.js.map +1 -0
  26. package/dist/gql/getMarketsForAllBorrowers.d.ts +13 -0
  27. package/dist/gql/getMarketsForAllBorrowers.d.ts.map +1 -0
  28. package/dist/gql/getMarketsForAllBorrowers.js +15 -0
  29. package/dist/gql/getMarketsForAllBorrowers.js.map +1 -0
  30. package/dist/gql/getMarketsForBorrower.d.ts +13 -0
  31. package/dist/gql/getMarketsForBorrower.d.ts.map +1 -0
  32. package/dist/gql/getMarketsForBorrower.js +19 -0
  33. package/dist/gql/getMarketsForBorrower.js.map +1 -0
  34. package/dist/gql/graphql.d.ts +1316 -552
  35. package/dist/gql/graphql.d.ts.map +1 -1
  36. package/dist/gql/graphql.js +453 -25
  37. package/dist/gql/graphql.js.map +1 -1
  38. package/dist/gql/index.d.ts +8 -0
  39. package/dist/gql/index.d.ts.map +1 -0
  40. package/dist/gql/index.js +24 -0
  41. package/dist/gql/index.js.map +1 -0
  42. package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.d.ts.map +1 -1
  43. package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.js +1 -2
  44. package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.js.map +1 -1
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +1 -0
  48. package/dist/index.js.map +1 -1
  49. package/dist/market.d.ts +2 -1
  50. package/dist/market.d.ts.map +1 -1
  51. package/dist/market.js +6 -4
  52. package/dist/market.js.map +1 -1
  53. package/dist/utils/type-parsers.d.ts +41 -7
  54. package/dist/utils/type-parsers.d.ts.map +1 -1
  55. package/dist/utils/type-parsers.js +49 -6
  56. package/dist/utils/type-parsers.js.map +1 -1
  57. package/package.json +1 -1
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- 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.SubgraphSanctionOverride_OrderBy = exports.SubgraphSanctionOverrideRemoved_OrderBy = exports.SubgraphReserveRatioBipsUpdated_OrderBy = exports.SubgraphRegisteredBorrower_OrderBy = exports.SubgraphParameterConstraints_OrderBy = exports.SubgraphOwnershipTransferred_OrderBy = exports.SubgraphOwnershipHandoverRequested_OrderBy = exports.SubgraphOwnershipHandoverCanceled_OrderBy = exports.SubgraphOrderDirection = exports.SubgraphNewSanctionsEscrow_OrderBy = exports.SubgraphNewController_OrderBy = exports.SubgraphMaxTotalSupplyUpdated_OrderBy = exports.SubgraphMarket_OrderBy = exports.SubgraphMarketRemoved_OrderBy = exports.SubgraphMarketInterestAccrued_OrderBy = exports.SubgraphMarketDeployed_OrderBy = exports.SubgraphMarketClosed_OrderBy = exports.SubgraphMarketAdded_OrderBy = exports.SubgraphLenderWithdrawalStatus_OrderBy = exports.SubgraphLenderStatus = exports.SubgraphLenderInterestAccrued_OrderBy = exports.SubgraphLenderAuthorization_OrderBy = exports.SubgraphLenderAuthorizationChange_OrderBy = exports.SubgraphLenderAccount_OrderBy = exports.SubgraphFeesCollected_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.SubgraphAggregation_Interval = void 0;
27
- exports.useGetMarketsForBorrowerQuery = exports.GetMarketsForBorrowerDocument = 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.WithdrawalBatchPropertiesWithEventsFragmentDoc = exports.LenderWithdrawalPropertiesWithEventsFragmentDoc = exports.WithdrawalExecutionPropertiesFragmentDoc = exports.WithdrawalRequestPropertiesFragmentDoc = exports.WithdrawalBatchPropertiesFragmentDoc = exports.WithdrawalBatchPaymentPropertiesFragmentDoc = exports.LenderWithdrawalPropertiesFragmentDoc = exports.AprConstraintsFragmentDoc = exports.MarketDataWithEventsFragmentDoc = exports.MarketRecordsFragmentDoc = exports.RepaymentDataFragmentDoc = exports.FeesCollectedDataFragmentDoc = exports.BorrowDataFragmentDoc = exports.MarketDataFragmentDoc = exports.MarketDeployedEventFragmentDoc = exports.AccountDataForLenderViewFragmentDoc = exports.DepositDataFragmentDoc = exports.LenderPropertiesFragmentDoc = exports.Subgraph_SubgraphErrorPolicy_ = exports.SubgraphWithdrawalRequest_OrderBy = void 0;
28
- 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.useGetAuthorizedLendersByMarketSuspenseQuery = exports.useGetAuthorizedLendersByMarketLazyQuery = exports.useGetAuthorizedLendersByMarketQuery = exports.GetAuthorizedLendersByMarketDocument = exports.useGetAllMarketsSuspenseQuery = exports.useGetAllMarketsLazyQuery = exports.useGetAllMarketsQuery = exports.GetAllMarketsDocument = 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 = exports.useGetMarketsForAllBorrowersLazyQuery = exports.useGetMarketsForAllBorrowersQuery = exports.GetMarketsForAllBorrowersDocument = exports.useGetMarketsForBorrowerSuspenseQuery = exports.useGetMarketsForBorrowerLazyQuery = void 0;
26
+ 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.SubgraphSanctionOverride_OrderBy = exports.SubgraphSanctionOverrideRemoved_OrderBy = exports.SubgraphReserveRatioBipsUpdated_OrderBy = exports.SubgraphRegisteredBorrower_OrderBy = exports.SubgraphParameterConstraints_OrderBy = exports.SubgraphOwnershipTransferred_OrderBy = exports.SubgraphOwnershipHandoverRequested_OrderBy = exports.SubgraphOwnershipHandoverCanceled_OrderBy = exports.SubgraphOrderDirection = exports.SubgraphNewSanctionsEscrow_OrderBy = exports.SubgraphNewController_OrderBy = exports.SubgraphMaxTotalSupplyUpdated_OrderBy = exports.SubgraphMarket_OrderBy = exports.SubgraphMarketRemoved_OrderBy = exports.SubgraphMarketInterestAccrued_OrderBy = exports.SubgraphMarketDeployed_OrderBy = exports.SubgraphMarketClosed_OrderBy = exports.SubgraphMarketAdded_OrderBy = exports.SubgraphLenderWithdrawalStatus_OrderBy = exports.SubgraphLenderStatus = exports.SubgraphLenderInterestAccrued_OrderBy = exports.SubgraphLenderAuthorization_OrderBy = exports.SubgraphLenderAuthorizationChange_OrderBy = exports.SubgraphLenderAccount_OrderBy = exports.SubgraphFeesCollected_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 = void 0;
27
+ 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 = exports.MarketRecordsFragmentDoc = exports.RepaymentDataFragmentDoc = exports.FeesCollectedDataFragmentDoc = exports.BorrowDataFragmentDoc = exports.MarketDataFragmentDoc = exports.MarketDeployedEventFragmentDoc = exports.DelinquencyStatusChangedDataFragmentDoc = exports.AprConstraintsFragmentDoc = exports.AccountDataForLenderViewFragmentDoc = exports.DepositDataFragmentDoc = exports.LenderPropertiesFragmentDoc = exports.Subgraph_SubgraphErrorPolicy_ = exports.SubgraphWithdrawalRequest_OrderBy = exports.SubgraphWithdrawalExecution_OrderBy = void 0;
28
+ 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.useGetAuthorizedLendersByMarketSuspenseQuery = exports.useGetAuthorizedLendersByMarketLazyQuery = exports.useGetAuthorizedLendersByMarketQuery = exports.GetAuthorizedLendersByMarketDocument = exports.useGetAllMarketsSuspenseQuery = exports.useGetAllMarketsLazyQuery = exports.useGetAllMarketsQuery = exports.GetAllMarketsDocument = 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 = 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 = void 0;
29
29
  const client_1 = require("@apollo/client");
30
30
  const Apollo = __importStar(require("@apollo/client"));
31
31
  const defaultOptions = {};
@@ -34,6 +34,63 @@ var SubgraphAggregation_Interval;
34
34
  SubgraphAggregation_Interval["Day"] = "day";
35
35
  SubgraphAggregation_Interval["Hour"] = "hour";
36
36
  })(SubgraphAggregation_Interval = exports.SubgraphAggregation_Interval || (exports.SubgraphAggregation_Interval = {}));
37
+ var SubgraphAnnualInterestBipsUpdated_OrderBy;
38
+ (function (SubgraphAnnualInterestBipsUpdated_OrderBy) {
39
+ SubgraphAnnualInterestBipsUpdated_OrderBy["AnnualInterestBipsUpdatedIndex"] = "annualInterestBipsUpdatedIndex";
40
+ SubgraphAnnualInterestBipsUpdated_OrderBy["BlockNumber"] = "blockNumber";
41
+ SubgraphAnnualInterestBipsUpdated_OrderBy["BlockTimestamp"] = "blockTimestamp";
42
+ SubgraphAnnualInterestBipsUpdated_OrderBy["EventIndex"] = "eventIndex";
43
+ SubgraphAnnualInterestBipsUpdated_OrderBy["Id"] = "id";
44
+ SubgraphAnnualInterestBipsUpdated_OrderBy["Market"] = "market";
45
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
46
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
47
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
48
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketBorrower"] = "market__borrower";
49
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketCreatedAt"] = "market__createdAt";
50
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
51
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketDecimals"] = "market__decimals";
52
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
53
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
54
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
55
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketDepositIndex"] = "market__depositIndex";
56
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketEventIndex"] = "market__eventIndex";
57
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
58
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
59
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketId"] = "market__id";
60
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketIsClosed"] = "market__isClosed";
61
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
62
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketIsRegistered"] = "market__isRegistered";
63
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
64
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
65
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
66
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketName"] = "market__name";
67
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
68
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
69
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
70
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
71
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
72
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
73
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
74
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
75
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
76
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
77
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketSentinel"] = "market__sentinel";
78
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketSymbol"] = "market__symbol";
79
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
80
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
81
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
82
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
83
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
84
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
85
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
86
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
87
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
88
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
89
+ SubgraphAnnualInterestBipsUpdated_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
90
+ SubgraphAnnualInterestBipsUpdated_OrderBy["NewAnnualInterestBips"] = "newAnnualInterestBips";
91
+ SubgraphAnnualInterestBipsUpdated_OrderBy["OldAnnualInterestBips"] = "oldAnnualInterestBips";
92
+ SubgraphAnnualInterestBipsUpdated_OrderBy["TransactionHash"] = "transactionHash";
93
+ })(SubgraphAnnualInterestBipsUpdated_OrderBy = exports.SubgraphAnnualInterestBipsUpdated_OrderBy || (exports.SubgraphAnnualInterestBipsUpdated_OrderBy = {}));
37
94
  var SubgraphApproval_OrderBy;
38
95
  (function (SubgraphApproval_OrderBy) {
39
96
  SubgraphApproval_OrderBy["BlockNumber"] = "blockNumber";
@@ -57,21 +114,31 @@ var SubgraphBorrow_OrderBy;
57
114
  SubgraphBorrow_OrderBy["AssetAmount"] = "assetAmount";
58
115
  SubgraphBorrow_OrderBy["BlockNumber"] = "blockNumber";
59
116
  SubgraphBorrow_OrderBy["BlockTimestamp"] = "blockTimestamp";
117
+ SubgraphBorrow_OrderBy["BorrowIndex"] = "borrowIndex";
118
+ SubgraphBorrow_OrderBy["EventIndex"] = "eventIndex";
60
119
  SubgraphBorrow_OrderBy["Id"] = "id";
61
120
  SubgraphBorrow_OrderBy["Market"] = "market";
62
121
  SubgraphBorrow_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
122
+ SubgraphBorrow_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
123
+ SubgraphBorrow_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
63
124
  SubgraphBorrow_OrderBy["MarketBorrower"] = "market__borrower";
64
125
  SubgraphBorrow_OrderBy["MarketCreatedAt"] = "market__createdAt";
126
+ SubgraphBorrow_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
65
127
  SubgraphBorrow_OrderBy["MarketDecimals"] = "market__decimals";
66
128
  SubgraphBorrow_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
67
129
  SubgraphBorrow_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
130
+ SubgraphBorrow_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
131
+ SubgraphBorrow_OrderBy["MarketDepositIndex"] = "market__depositIndex";
132
+ SubgraphBorrow_OrderBy["MarketEventIndex"] = "market__eventIndex";
68
133
  SubgraphBorrow_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
134
+ SubgraphBorrow_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
69
135
  SubgraphBorrow_OrderBy["MarketId"] = "market__id";
70
136
  SubgraphBorrow_OrderBy["MarketIsClosed"] = "market__isClosed";
71
137
  SubgraphBorrow_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
72
138
  SubgraphBorrow_OrderBy["MarketIsRegistered"] = "market__isRegistered";
73
139
  SubgraphBorrow_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
74
140
  SubgraphBorrow_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
141
+ SubgraphBorrow_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
75
142
  SubgraphBorrow_OrderBy["MarketName"] = "market__name";
76
143
  SubgraphBorrow_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
77
144
  SubgraphBorrow_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -95,6 +162,7 @@ var SubgraphBorrow_OrderBy;
95
162
  SubgraphBorrow_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
96
163
  SubgraphBorrow_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
97
164
  SubgraphBorrow_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
165
+ SubgraphBorrow_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
98
166
  SubgraphBorrow_OrderBy["TransactionHash"] = "transactionHash";
99
167
  })(SubgraphBorrow_OrderBy = exports.SubgraphBorrow_OrderBy || (exports.SubgraphBorrow_OrderBy = {}));
100
168
  var SubgraphBorrowerRegistrationChange_OrderBy;
@@ -228,22 +296,32 @@ var SubgraphDebtRepaid_OrderBy;
228
296
  SubgraphDebtRepaid_OrderBy["AssetAmount"] = "assetAmount";
229
297
  SubgraphDebtRepaid_OrderBy["BlockNumber"] = "blockNumber";
230
298
  SubgraphDebtRepaid_OrderBy["BlockTimestamp"] = "blockTimestamp";
299
+ SubgraphDebtRepaid_OrderBy["DebtRepaidIndex"] = "debtRepaidIndex";
300
+ SubgraphDebtRepaid_OrderBy["EventIndex"] = "eventIndex";
231
301
  SubgraphDebtRepaid_OrderBy["From"] = "from";
232
302
  SubgraphDebtRepaid_OrderBy["Id"] = "id";
233
303
  SubgraphDebtRepaid_OrderBy["Market"] = "market";
234
304
  SubgraphDebtRepaid_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
305
+ SubgraphDebtRepaid_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
306
+ SubgraphDebtRepaid_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
235
307
  SubgraphDebtRepaid_OrderBy["MarketBorrower"] = "market__borrower";
236
308
  SubgraphDebtRepaid_OrderBy["MarketCreatedAt"] = "market__createdAt";
309
+ SubgraphDebtRepaid_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
237
310
  SubgraphDebtRepaid_OrderBy["MarketDecimals"] = "market__decimals";
238
311
  SubgraphDebtRepaid_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
239
312
  SubgraphDebtRepaid_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
313
+ SubgraphDebtRepaid_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
314
+ SubgraphDebtRepaid_OrderBy["MarketDepositIndex"] = "market__depositIndex";
315
+ SubgraphDebtRepaid_OrderBy["MarketEventIndex"] = "market__eventIndex";
240
316
  SubgraphDebtRepaid_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
317
+ SubgraphDebtRepaid_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
241
318
  SubgraphDebtRepaid_OrderBy["MarketId"] = "market__id";
242
319
  SubgraphDebtRepaid_OrderBy["MarketIsClosed"] = "market__isClosed";
243
320
  SubgraphDebtRepaid_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
244
321
  SubgraphDebtRepaid_OrderBy["MarketIsRegistered"] = "market__isRegistered";
245
322
  SubgraphDebtRepaid_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
246
323
  SubgraphDebtRepaid_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
324
+ SubgraphDebtRepaid_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
247
325
  SubgraphDebtRepaid_OrderBy["MarketName"] = "market__name";
248
326
  SubgraphDebtRepaid_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
249
327
  SubgraphDebtRepaid_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -267,29 +345,40 @@ var SubgraphDebtRepaid_OrderBy;
267
345
  SubgraphDebtRepaid_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
268
346
  SubgraphDebtRepaid_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
269
347
  SubgraphDebtRepaid_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
348
+ SubgraphDebtRepaid_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
270
349
  SubgraphDebtRepaid_OrderBy["TransactionHash"] = "transactionHash";
271
350
  })(SubgraphDebtRepaid_OrderBy = exports.SubgraphDebtRepaid_OrderBy || (exports.SubgraphDebtRepaid_OrderBy = {}));
272
351
  var SubgraphDelinquencyStatusChanged_OrderBy;
273
352
  (function (SubgraphDelinquencyStatusChanged_OrderBy) {
274
353
  SubgraphDelinquencyStatusChanged_OrderBy["BlockNumber"] = "blockNumber";
275
354
  SubgraphDelinquencyStatusChanged_OrderBy["BlockTimestamp"] = "blockTimestamp";
355
+ SubgraphDelinquencyStatusChanged_OrderBy["DelinquencyStatusChangedIndex"] = "delinquencyStatusChangedIndex";
356
+ SubgraphDelinquencyStatusChanged_OrderBy["EventIndex"] = "eventIndex";
276
357
  SubgraphDelinquencyStatusChanged_OrderBy["Id"] = "id";
277
358
  SubgraphDelinquencyStatusChanged_OrderBy["IsDelinquent"] = "isDelinquent";
278
359
  SubgraphDelinquencyStatusChanged_OrderBy["LiquidityCoverageRequired"] = "liquidityCoverageRequired";
279
360
  SubgraphDelinquencyStatusChanged_OrderBy["Market"] = "market";
280
361
  SubgraphDelinquencyStatusChanged_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
362
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
363
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
281
364
  SubgraphDelinquencyStatusChanged_OrderBy["MarketBorrower"] = "market__borrower";
282
365
  SubgraphDelinquencyStatusChanged_OrderBy["MarketCreatedAt"] = "market__createdAt";
366
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
283
367
  SubgraphDelinquencyStatusChanged_OrderBy["MarketDecimals"] = "market__decimals";
284
368
  SubgraphDelinquencyStatusChanged_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
285
369
  SubgraphDelinquencyStatusChanged_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
370
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
371
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketDepositIndex"] = "market__depositIndex";
372
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketEventIndex"] = "market__eventIndex";
286
373
  SubgraphDelinquencyStatusChanged_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
374
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
287
375
  SubgraphDelinquencyStatusChanged_OrderBy["MarketId"] = "market__id";
288
376
  SubgraphDelinquencyStatusChanged_OrderBy["MarketIsClosed"] = "market__isClosed";
289
377
  SubgraphDelinquencyStatusChanged_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
290
378
  SubgraphDelinquencyStatusChanged_OrderBy["MarketIsRegistered"] = "market__isRegistered";
291
379
  SubgraphDelinquencyStatusChanged_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
292
380
  SubgraphDelinquencyStatusChanged_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
381
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
293
382
  SubgraphDelinquencyStatusChanged_OrderBy["MarketName"] = "market__name";
294
383
  SubgraphDelinquencyStatusChanged_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
295
384
  SubgraphDelinquencyStatusChanged_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -313,6 +402,7 @@ var SubgraphDelinquencyStatusChanged_OrderBy;
313
402
  SubgraphDelinquencyStatusChanged_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
314
403
  SubgraphDelinquencyStatusChanged_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
315
404
  SubgraphDelinquencyStatusChanged_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
405
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
316
406
  SubgraphDelinquencyStatusChanged_OrderBy["TotalAssets"] = "totalAssets";
317
407
  SubgraphDelinquencyStatusChanged_OrderBy["TransactionHash"] = "transactionHash";
318
408
  })(SubgraphDelinquencyStatusChanged_OrderBy = exports.SubgraphDelinquencyStatusChanged_OrderBy || (exports.SubgraphDelinquencyStatusChanged_OrderBy = {}));
@@ -331,21 +421,31 @@ var SubgraphDeposit_OrderBy;
331
421
  SubgraphDeposit_OrderBy["AssetAmount"] = "assetAmount";
332
422
  SubgraphDeposit_OrderBy["BlockNumber"] = "blockNumber";
333
423
  SubgraphDeposit_OrderBy["BlockTimestamp"] = "blockTimestamp";
424
+ SubgraphDeposit_OrderBy["DepositIndex"] = "depositIndex";
425
+ SubgraphDeposit_OrderBy["EventIndex"] = "eventIndex";
334
426
  SubgraphDeposit_OrderBy["Id"] = "id";
335
427
  SubgraphDeposit_OrderBy["Market"] = "market";
336
428
  SubgraphDeposit_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
429
+ SubgraphDeposit_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
430
+ SubgraphDeposit_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
337
431
  SubgraphDeposit_OrderBy["MarketBorrower"] = "market__borrower";
338
432
  SubgraphDeposit_OrderBy["MarketCreatedAt"] = "market__createdAt";
433
+ SubgraphDeposit_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
339
434
  SubgraphDeposit_OrderBy["MarketDecimals"] = "market__decimals";
340
435
  SubgraphDeposit_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
341
436
  SubgraphDeposit_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
437
+ SubgraphDeposit_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
438
+ SubgraphDeposit_OrderBy["MarketDepositIndex"] = "market__depositIndex";
439
+ SubgraphDeposit_OrderBy["MarketEventIndex"] = "market__eventIndex";
342
440
  SubgraphDeposit_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
441
+ SubgraphDeposit_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
343
442
  SubgraphDeposit_OrderBy["MarketId"] = "market__id";
344
443
  SubgraphDeposit_OrderBy["MarketIsClosed"] = "market__isClosed";
345
444
  SubgraphDeposit_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
346
445
  SubgraphDeposit_OrderBy["MarketIsRegistered"] = "market__isRegistered";
347
446
  SubgraphDeposit_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
348
447
  SubgraphDeposit_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
448
+ SubgraphDeposit_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
349
449
  SubgraphDeposit_OrderBy["MarketName"] = "market__name";
350
450
  SubgraphDeposit_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
351
451
  SubgraphDeposit_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -369,6 +469,7 @@ var SubgraphDeposit_OrderBy;
369
469
  SubgraphDeposit_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
370
470
  SubgraphDeposit_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
371
471
  SubgraphDeposit_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
472
+ SubgraphDeposit_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
372
473
  SubgraphDeposit_OrderBy["ScaledAmount"] = "scaledAmount";
373
474
  SubgraphDeposit_OrderBy["TransactionHash"] = "transactionHash";
374
475
  })(SubgraphDeposit_OrderBy = exports.SubgraphDeposit_OrderBy || (exports.SubgraphDeposit_OrderBy = {}));
@@ -376,22 +477,32 @@ var SubgraphFeesCollected_OrderBy;
376
477
  (function (SubgraphFeesCollected_OrderBy) {
377
478
  SubgraphFeesCollected_OrderBy["BlockNumber"] = "blockNumber";
378
479
  SubgraphFeesCollected_OrderBy["BlockTimestamp"] = "blockTimestamp";
480
+ SubgraphFeesCollected_OrderBy["EventIndex"] = "eventIndex";
379
481
  SubgraphFeesCollected_OrderBy["FeesCollected"] = "feesCollected";
482
+ SubgraphFeesCollected_OrderBy["FeesCollectedIndex"] = "feesCollectedIndex";
380
483
  SubgraphFeesCollected_OrderBy["Id"] = "id";
381
484
  SubgraphFeesCollected_OrderBy["Market"] = "market";
382
485
  SubgraphFeesCollected_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
486
+ SubgraphFeesCollected_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
487
+ SubgraphFeesCollected_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
383
488
  SubgraphFeesCollected_OrderBy["MarketBorrower"] = "market__borrower";
384
489
  SubgraphFeesCollected_OrderBy["MarketCreatedAt"] = "market__createdAt";
490
+ SubgraphFeesCollected_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
385
491
  SubgraphFeesCollected_OrderBy["MarketDecimals"] = "market__decimals";
386
492
  SubgraphFeesCollected_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
387
493
  SubgraphFeesCollected_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
494
+ SubgraphFeesCollected_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
495
+ SubgraphFeesCollected_OrderBy["MarketDepositIndex"] = "market__depositIndex";
496
+ SubgraphFeesCollected_OrderBy["MarketEventIndex"] = "market__eventIndex";
388
497
  SubgraphFeesCollected_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
498
+ SubgraphFeesCollected_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
389
499
  SubgraphFeesCollected_OrderBy["MarketId"] = "market__id";
390
500
  SubgraphFeesCollected_OrderBy["MarketIsClosed"] = "market__isClosed";
391
501
  SubgraphFeesCollected_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
392
502
  SubgraphFeesCollected_OrderBy["MarketIsRegistered"] = "market__isRegistered";
393
503
  SubgraphFeesCollected_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
394
504
  SubgraphFeesCollected_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
505
+ SubgraphFeesCollected_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
395
506
  SubgraphFeesCollected_OrderBy["MarketName"] = "market__name";
396
507
  SubgraphFeesCollected_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
397
508
  SubgraphFeesCollected_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -415,6 +526,7 @@ var SubgraphFeesCollected_OrderBy;
415
526
  SubgraphFeesCollected_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
416
527
  SubgraphFeesCollected_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
417
528
  SubgraphFeesCollected_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
529
+ SubgraphFeesCollected_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
418
530
  SubgraphFeesCollected_OrderBy["TransactionHash"] = "transactionHash";
419
531
  })(SubgraphFeesCollected_OrderBy = exports.SubgraphFeesCollected_OrderBy || (exports.SubgraphFeesCollected_OrderBy = {}));
420
532
  var SubgraphLenderAccount_OrderBy;
@@ -431,18 +543,26 @@ var SubgraphLenderAccount_OrderBy;
431
543
  SubgraphLenderAccount_OrderBy["LastUpdatedTimestamp"] = "lastUpdatedTimestamp";
432
544
  SubgraphLenderAccount_OrderBy["Market"] = "market";
433
545
  SubgraphLenderAccount_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
546
+ SubgraphLenderAccount_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
547
+ SubgraphLenderAccount_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
434
548
  SubgraphLenderAccount_OrderBy["MarketBorrower"] = "market__borrower";
435
549
  SubgraphLenderAccount_OrderBy["MarketCreatedAt"] = "market__createdAt";
550
+ SubgraphLenderAccount_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
436
551
  SubgraphLenderAccount_OrderBy["MarketDecimals"] = "market__decimals";
437
552
  SubgraphLenderAccount_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
438
553
  SubgraphLenderAccount_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
554
+ SubgraphLenderAccount_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
555
+ SubgraphLenderAccount_OrderBy["MarketDepositIndex"] = "market__depositIndex";
556
+ SubgraphLenderAccount_OrderBy["MarketEventIndex"] = "market__eventIndex";
439
557
  SubgraphLenderAccount_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
558
+ SubgraphLenderAccount_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
440
559
  SubgraphLenderAccount_OrderBy["MarketId"] = "market__id";
441
560
  SubgraphLenderAccount_OrderBy["MarketIsClosed"] = "market__isClosed";
442
561
  SubgraphLenderAccount_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
443
562
  SubgraphLenderAccount_OrderBy["MarketIsRegistered"] = "market__isRegistered";
444
563
  SubgraphLenderAccount_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
445
564
  SubgraphLenderAccount_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
565
+ SubgraphLenderAccount_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
446
566
  SubgraphLenderAccount_OrderBy["MarketName"] = "market__name";
447
567
  SubgraphLenderAccount_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
448
568
  SubgraphLenderAccount_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -466,6 +586,7 @@ var SubgraphLenderAccount_OrderBy;
466
586
  SubgraphLenderAccount_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
467
587
  SubgraphLenderAccount_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
468
588
  SubgraphLenderAccount_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
589
+ SubgraphLenderAccount_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
469
590
  SubgraphLenderAccount_OrderBy["NumPendingWithdrawalBatches"] = "numPendingWithdrawalBatches";
470
591
  SubgraphLenderAccount_OrderBy["Role"] = "role";
471
592
  SubgraphLenderAccount_OrderBy["ScaledBalance"] = "scaledBalance";
@@ -520,18 +641,26 @@ var SubgraphLenderInterestAccrued_OrderBy;
520
641
  SubgraphLenderInterestAccrued_OrderBy["InterestEarned"] = "interestEarned";
521
642
  SubgraphLenderInterestAccrued_OrderBy["Market"] = "market";
522
643
  SubgraphLenderInterestAccrued_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
644
+ SubgraphLenderInterestAccrued_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
645
+ SubgraphLenderInterestAccrued_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
523
646
  SubgraphLenderInterestAccrued_OrderBy["MarketBorrower"] = "market__borrower";
524
647
  SubgraphLenderInterestAccrued_OrderBy["MarketCreatedAt"] = "market__createdAt";
648
+ SubgraphLenderInterestAccrued_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
525
649
  SubgraphLenderInterestAccrued_OrderBy["MarketDecimals"] = "market__decimals";
526
650
  SubgraphLenderInterestAccrued_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
527
651
  SubgraphLenderInterestAccrued_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
652
+ SubgraphLenderInterestAccrued_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
653
+ SubgraphLenderInterestAccrued_OrderBy["MarketDepositIndex"] = "market__depositIndex";
654
+ SubgraphLenderInterestAccrued_OrderBy["MarketEventIndex"] = "market__eventIndex";
528
655
  SubgraphLenderInterestAccrued_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
656
+ SubgraphLenderInterestAccrued_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
529
657
  SubgraphLenderInterestAccrued_OrderBy["MarketId"] = "market__id";
530
658
  SubgraphLenderInterestAccrued_OrderBy["MarketIsClosed"] = "market__isClosed";
531
659
  SubgraphLenderInterestAccrued_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
532
660
  SubgraphLenderInterestAccrued_OrderBy["MarketIsRegistered"] = "market__isRegistered";
533
661
  SubgraphLenderInterestAccrued_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
534
662
  SubgraphLenderInterestAccrued_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
663
+ SubgraphLenderInterestAccrued_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
535
664
  SubgraphLenderInterestAccrued_OrderBy["MarketName"] = "market__name";
536
665
  SubgraphLenderInterestAccrued_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
537
666
  SubgraphLenderInterestAccrued_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -555,6 +684,7 @@ var SubgraphLenderInterestAccrued_OrderBy;
555
684
  SubgraphLenderInterestAccrued_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
556
685
  SubgraphLenderInterestAccrued_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
557
686
  SubgraphLenderInterestAccrued_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
687
+ SubgraphLenderInterestAccrued_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
558
688
  SubgraphLenderInterestAccrued_OrderBy["TransactionHash"] = "transactionHash";
559
689
  })(SubgraphLenderInterestAccrued_OrderBy = exports.SubgraphLenderInterestAccrued_OrderBy || (exports.SubgraphLenderInterestAccrued_OrderBy = {}));
560
690
  var SubgraphLenderStatus;
@@ -611,18 +741,26 @@ var SubgraphMarketAdded_OrderBy;
611
741
  SubgraphMarketAdded_OrderBy["Id"] = "id";
612
742
  SubgraphMarketAdded_OrderBy["Market"] = "market";
613
743
  SubgraphMarketAdded_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
744
+ SubgraphMarketAdded_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
745
+ SubgraphMarketAdded_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
614
746
  SubgraphMarketAdded_OrderBy["MarketBorrower"] = "market__borrower";
615
747
  SubgraphMarketAdded_OrderBy["MarketCreatedAt"] = "market__createdAt";
748
+ SubgraphMarketAdded_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
616
749
  SubgraphMarketAdded_OrderBy["MarketDecimals"] = "market__decimals";
617
750
  SubgraphMarketAdded_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
618
751
  SubgraphMarketAdded_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
752
+ SubgraphMarketAdded_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
753
+ SubgraphMarketAdded_OrderBy["MarketDepositIndex"] = "market__depositIndex";
754
+ SubgraphMarketAdded_OrderBy["MarketEventIndex"] = "market__eventIndex";
619
755
  SubgraphMarketAdded_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
756
+ SubgraphMarketAdded_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
620
757
  SubgraphMarketAdded_OrderBy["MarketId"] = "market__id";
621
758
  SubgraphMarketAdded_OrderBy["MarketIsClosed"] = "market__isClosed";
622
759
  SubgraphMarketAdded_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
623
760
  SubgraphMarketAdded_OrderBy["MarketIsRegistered"] = "market__isRegistered";
624
761
  SubgraphMarketAdded_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
625
762
  SubgraphMarketAdded_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
763
+ SubgraphMarketAdded_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
626
764
  SubgraphMarketAdded_OrderBy["MarketName"] = "market__name";
627
765
  SubgraphMarketAdded_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
628
766
  SubgraphMarketAdded_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -646,27 +784,37 @@ var SubgraphMarketAdded_OrderBy;
646
784
  SubgraphMarketAdded_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
647
785
  SubgraphMarketAdded_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
648
786
  SubgraphMarketAdded_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
787
+ SubgraphMarketAdded_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
649
788
  SubgraphMarketAdded_OrderBy["TransactionHash"] = "transactionHash";
650
789
  })(SubgraphMarketAdded_OrderBy = exports.SubgraphMarketAdded_OrderBy || (exports.SubgraphMarketAdded_OrderBy = {}));
651
790
  var SubgraphMarketClosed_OrderBy;
652
791
  (function (SubgraphMarketClosed_OrderBy) {
653
792
  SubgraphMarketClosed_OrderBy["BlockNumber"] = "blockNumber";
654
793
  SubgraphMarketClosed_OrderBy["BlockTimestamp"] = "blockTimestamp";
794
+ SubgraphMarketClosed_OrderBy["EventIndex"] = "eventIndex";
655
795
  SubgraphMarketClosed_OrderBy["Id"] = "id";
656
796
  SubgraphMarketClosed_OrderBy["Market"] = "market";
657
797
  SubgraphMarketClosed_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
798
+ SubgraphMarketClosed_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
799
+ SubgraphMarketClosed_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
658
800
  SubgraphMarketClosed_OrderBy["MarketBorrower"] = "market__borrower";
659
801
  SubgraphMarketClosed_OrderBy["MarketCreatedAt"] = "market__createdAt";
802
+ SubgraphMarketClosed_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
660
803
  SubgraphMarketClosed_OrderBy["MarketDecimals"] = "market__decimals";
661
804
  SubgraphMarketClosed_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
662
805
  SubgraphMarketClosed_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
806
+ SubgraphMarketClosed_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
807
+ SubgraphMarketClosed_OrderBy["MarketDepositIndex"] = "market__depositIndex";
808
+ SubgraphMarketClosed_OrderBy["MarketEventIndex"] = "market__eventIndex";
663
809
  SubgraphMarketClosed_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
810
+ SubgraphMarketClosed_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
664
811
  SubgraphMarketClosed_OrderBy["MarketId"] = "market__id";
665
812
  SubgraphMarketClosed_OrderBy["MarketIsClosed"] = "market__isClosed";
666
813
  SubgraphMarketClosed_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
667
814
  SubgraphMarketClosed_OrderBy["MarketIsRegistered"] = "market__isRegistered";
668
815
  SubgraphMarketClosed_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
669
816
  SubgraphMarketClosed_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
817
+ SubgraphMarketClosed_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
670
818
  SubgraphMarketClosed_OrderBy["MarketName"] = "market__name";
671
819
  SubgraphMarketClosed_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
672
820
  SubgraphMarketClosed_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -690,6 +838,7 @@ var SubgraphMarketClosed_OrderBy;
690
838
  SubgraphMarketClosed_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
691
839
  SubgraphMarketClosed_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
692
840
  SubgraphMarketClosed_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
841
+ SubgraphMarketClosed_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
693
842
  SubgraphMarketClosed_OrderBy["Timestamp"] = "timestamp";
694
843
  SubgraphMarketClosed_OrderBy["TransactionHash"] = "transactionHash";
695
844
  })(SubgraphMarketClosed_OrderBy = exports.SubgraphMarketClosed_OrderBy || (exports.SubgraphMarketClosed_OrderBy = {}));
@@ -700,18 +849,26 @@ var SubgraphMarketDeployed_OrderBy;
700
849
  SubgraphMarketDeployed_OrderBy["Id"] = "id";
701
850
  SubgraphMarketDeployed_OrderBy["Market"] = "market";
702
851
  SubgraphMarketDeployed_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
852
+ SubgraphMarketDeployed_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
853
+ SubgraphMarketDeployed_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
703
854
  SubgraphMarketDeployed_OrderBy["MarketBorrower"] = "market__borrower";
704
855
  SubgraphMarketDeployed_OrderBy["MarketCreatedAt"] = "market__createdAt";
856
+ SubgraphMarketDeployed_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
705
857
  SubgraphMarketDeployed_OrderBy["MarketDecimals"] = "market__decimals";
706
858
  SubgraphMarketDeployed_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
707
859
  SubgraphMarketDeployed_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
860
+ SubgraphMarketDeployed_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
861
+ SubgraphMarketDeployed_OrderBy["MarketDepositIndex"] = "market__depositIndex";
862
+ SubgraphMarketDeployed_OrderBy["MarketEventIndex"] = "market__eventIndex";
708
863
  SubgraphMarketDeployed_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
864
+ SubgraphMarketDeployed_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
709
865
  SubgraphMarketDeployed_OrderBy["MarketId"] = "market__id";
710
866
  SubgraphMarketDeployed_OrderBy["MarketIsClosed"] = "market__isClosed";
711
867
  SubgraphMarketDeployed_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
712
868
  SubgraphMarketDeployed_OrderBy["MarketIsRegistered"] = "market__isRegistered";
713
869
  SubgraphMarketDeployed_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
714
870
  SubgraphMarketDeployed_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
871
+ SubgraphMarketDeployed_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
715
872
  SubgraphMarketDeployed_OrderBy["MarketName"] = "market__name";
716
873
  SubgraphMarketDeployed_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
717
874
  SubgraphMarketDeployed_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -735,6 +892,7 @@ var SubgraphMarketDeployed_OrderBy;
735
892
  SubgraphMarketDeployed_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
736
893
  SubgraphMarketDeployed_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
737
894
  SubgraphMarketDeployed_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
895
+ SubgraphMarketDeployed_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
738
896
  SubgraphMarketDeployed_OrderBy["TransactionHash"] = "transactionHash";
739
897
  })(SubgraphMarketDeployed_OrderBy = exports.SubgraphMarketDeployed_OrderBy || (exports.SubgraphMarketDeployed_OrderBy = {}));
740
898
  var SubgraphMarketInterestAccrued_OrderBy;
@@ -749,18 +907,26 @@ var SubgraphMarketInterestAccrued_OrderBy;
749
907
  SubgraphMarketInterestAccrued_OrderBy["Id"] = "id";
750
908
  SubgraphMarketInterestAccrued_OrderBy["Market"] = "market";
751
909
  SubgraphMarketInterestAccrued_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
910
+ SubgraphMarketInterestAccrued_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
911
+ SubgraphMarketInterestAccrued_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
752
912
  SubgraphMarketInterestAccrued_OrderBy["MarketBorrower"] = "market__borrower";
753
913
  SubgraphMarketInterestAccrued_OrderBy["MarketCreatedAt"] = "market__createdAt";
914
+ SubgraphMarketInterestAccrued_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
754
915
  SubgraphMarketInterestAccrued_OrderBy["MarketDecimals"] = "market__decimals";
755
916
  SubgraphMarketInterestAccrued_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
756
917
  SubgraphMarketInterestAccrued_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
918
+ SubgraphMarketInterestAccrued_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
919
+ SubgraphMarketInterestAccrued_OrderBy["MarketDepositIndex"] = "market__depositIndex";
920
+ SubgraphMarketInterestAccrued_OrderBy["MarketEventIndex"] = "market__eventIndex";
757
921
  SubgraphMarketInterestAccrued_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
922
+ SubgraphMarketInterestAccrued_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
758
923
  SubgraphMarketInterestAccrued_OrderBy["MarketId"] = "market__id";
759
924
  SubgraphMarketInterestAccrued_OrderBy["MarketIsClosed"] = "market__isClosed";
760
925
  SubgraphMarketInterestAccrued_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
761
926
  SubgraphMarketInterestAccrued_OrderBy["MarketIsRegistered"] = "market__isRegistered";
762
927
  SubgraphMarketInterestAccrued_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
763
928
  SubgraphMarketInterestAccrued_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
929
+ SubgraphMarketInterestAccrued_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
764
930
  SubgraphMarketInterestAccrued_OrderBy["MarketName"] = "market__name";
765
931
  SubgraphMarketInterestAccrued_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
766
932
  SubgraphMarketInterestAccrued_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -784,6 +950,7 @@ var SubgraphMarketInterestAccrued_OrderBy;
784
950
  SubgraphMarketInterestAccrued_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
785
951
  SubgraphMarketInterestAccrued_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
786
952
  SubgraphMarketInterestAccrued_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
953
+ SubgraphMarketInterestAccrued_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
787
954
  SubgraphMarketInterestAccrued_OrderBy["ProtocolFeesAccrued"] = "protocolFeesAccrued";
788
955
  SubgraphMarketInterestAccrued_OrderBy["TimeWithPenalties"] = "timeWithPenalties";
789
956
  SubgraphMarketInterestAccrued_OrderBy["ToTimestamp"] = "toTimestamp";
@@ -796,18 +963,26 @@ var SubgraphMarketRemoved_OrderBy;
796
963
  SubgraphMarketRemoved_OrderBy["Id"] = "id";
797
964
  SubgraphMarketRemoved_OrderBy["Market"] = "market";
798
965
  SubgraphMarketRemoved_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
966
+ SubgraphMarketRemoved_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
967
+ SubgraphMarketRemoved_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
799
968
  SubgraphMarketRemoved_OrderBy["MarketBorrower"] = "market__borrower";
800
969
  SubgraphMarketRemoved_OrderBy["MarketCreatedAt"] = "market__createdAt";
970
+ SubgraphMarketRemoved_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
801
971
  SubgraphMarketRemoved_OrderBy["MarketDecimals"] = "market__decimals";
802
972
  SubgraphMarketRemoved_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
803
973
  SubgraphMarketRemoved_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
974
+ SubgraphMarketRemoved_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
975
+ SubgraphMarketRemoved_OrderBy["MarketDepositIndex"] = "market__depositIndex";
976
+ SubgraphMarketRemoved_OrderBy["MarketEventIndex"] = "market__eventIndex";
804
977
  SubgraphMarketRemoved_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
978
+ SubgraphMarketRemoved_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
805
979
  SubgraphMarketRemoved_OrderBy["MarketId"] = "market__id";
806
980
  SubgraphMarketRemoved_OrderBy["MarketIsClosed"] = "market__isClosed";
807
981
  SubgraphMarketRemoved_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
808
982
  SubgraphMarketRemoved_OrderBy["MarketIsRegistered"] = "market__isRegistered";
809
983
  SubgraphMarketRemoved_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
810
984
  SubgraphMarketRemoved_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
985
+ SubgraphMarketRemoved_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
811
986
  SubgraphMarketRemoved_OrderBy["MarketName"] = "market__name";
812
987
  SubgraphMarketRemoved_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
813
988
  SubgraphMarketRemoved_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -831,11 +1006,14 @@ var SubgraphMarketRemoved_OrderBy;
831
1006
  SubgraphMarketRemoved_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
832
1007
  SubgraphMarketRemoved_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
833
1008
  SubgraphMarketRemoved_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1009
+ SubgraphMarketRemoved_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
834
1010
  SubgraphMarketRemoved_OrderBy["TransactionHash"] = "transactionHash";
835
1011
  })(SubgraphMarketRemoved_OrderBy = exports.SubgraphMarketRemoved_OrderBy || (exports.SubgraphMarketRemoved_OrderBy = {}));
836
1012
  var SubgraphMarket_OrderBy;
837
1013
  (function (SubgraphMarket_OrderBy) {
838
1014
  SubgraphMarket_OrderBy["AnnualInterestBips"] = "annualInterestBips";
1015
+ SubgraphMarket_OrderBy["AnnualInterestBipsUpdatedIndex"] = "annualInterestBipsUpdatedIndex";
1016
+ SubgraphMarket_OrderBy["AnnualInterestBipsUpdatedRecords"] = "annualInterestBipsUpdatedRecords";
839
1017
  SubgraphMarket_OrderBy["ArchController"] = "archController";
840
1018
  SubgraphMarket_OrderBy["ArchControllerId"] = "archController__id";
841
1019
  SubgraphMarket_OrderBy["Asset"] = "asset";
@@ -845,6 +1023,7 @@ var SubgraphMarket_OrderBy;
845
1023
  SubgraphMarket_OrderBy["AssetIsMock"] = "asset__isMock";
846
1024
  SubgraphMarket_OrderBy["AssetName"] = "asset__name";
847
1025
  SubgraphMarket_OrderBy["AssetSymbol"] = "asset__symbol";
1026
+ SubgraphMarket_OrderBy["BorrowIndex"] = "borrowIndex";
848
1027
  SubgraphMarket_OrderBy["BorrowRecords"] = "borrowRecords";
849
1028
  SubgraphMarket_OrderBy["Borrower"] = "borrower";
850
1029
  SubgraphMarket_OrderBy["Controller"] = "controller";
@@ -852,18 +1031,23 @@ var SubgraphMarket_OrderBy;
852
1031
  SubgraphMarket_OrderBy["ControllerId"] = "controller__id";
853
1032
  SubgraphMarket_OrderBy["ControllerIsRegistered"] = "controller__isRegistered";
854
1033
  SubgraphMarket_OrderBy["CreatedAt"] = "createdAt";
1034
+ SubgraphMarket_OrderBy["DebtRepaidIndex"] = "debtRepaidIndex";
855
1035
  SubgraphMarket_OrderBy["Decimals"] = "decimals";
856
1036
  SubgraphMarket_OrderBy["DelinquencyFeeBips"] = "delinquencyFeeBips";
857
1037
  SubgraphMarket_OrderBy["DelinquencyGracePeriod"] = "delinquencyGracePeriod";
858
1038
  SubgraphMarket_OrderBy["DelinquencyRecords"] = "delinquencyRecords";
1039
+ SubgraphMarket_OrderBy["DelinquencyStatusChangedIndex"] = "delinquencyStatusChangedIndex";
859
1040
  SubgraphMarket_OrderBy["DeployedEvent"] = "deployedEvent";
860
1041
  SubgraphMarket_OrderBy["DeployedEventBlockNumber"] = "deployedEvent__blockNumber";
861
1042
  SubgraphMarket_OrderBy["DeployedEventBlockTimestamp"] = "deployedEvent__blockTimestamp";
862
1043
  SubgraphMarket_OrderBy["DeployedEventId"] = "deployedEvent__id";
863
1044
  SubgraphMarket_OrderBy["DeployedEventTransactionHash"] = "deployedEvent__transactionHash";
1045
+ SubgraphMarket_OrderBy["DepositIndex"] = "depositIndex";
864
1046
  SubgraphMarket_OrderBy["DepositRecords"] = "depositRecords";
1047
+ SubgraphMarket_OrderBy["EventIndex"] = "eventIndex";
865
1048
  SubgraphMarket_OrderBy["FeeCollectionRecords"] = "feeCollectionRecords";
866
1049
  SubgraphMarket_OrderBy["FeeRecipient"] = "feeRecipient";
1050
+ SubgraphMarket_OrderBy["FeesCollectedIndex"] = "feesCollectedIndex";
867
1051
  SubgraphMarket_OrderBy["Id"] = "id";
868
1052
  SubgraphMarket_OrderBy["InterestAccrualRecords"] = "interestAccrualRecords";
869
1053
  SubgraphMarket_OrderBy["IsClosed"] = "isClosed";
@@ -871,7 +1055,16 @@ var SubgraphMarket_OrderBy;
871
1055
  SubgraphMarket_OrderBy["IsRegistered"] = "isRegistered";
872
1056
  SubgraphMarket_OrderBy["LastInterestAccruedTimestamp"] = "lastInterestAccruedTimestamp";
873
1057
  SubgraphMarket_OrderBy["Lenders"] = "lenders";
1058
+ SubgraphMarket_OrderBy["MarketClosedEvent"] = "marketClosedEvent";
1059
+ SubgraphMarket_OrderBy["MarketClosedEventBlockNumber"] = "marketClosedEvent__blockNumber";
1060
+ SubgraphMarket_OrderBy["MarketClosedEventBlockTimestamp"] = "marketClosedEvent__blockTimestamp";
1061
+ SubgraphMarket_OrderBy["MarketClosedEventEventIndex"] = "marketClosedEvent__eventIndex";
1062
+ SubgraphMarket_OrderBy["MarketClosedEventId"] = "marketClosedEvent__id";
1063
+ SubgraphMarket_OrderBy["MarketClosedEventTimestamp"] = "marketClosedEvent__timestamp";
1064
+ SubgraphMarket_OrderBy["MarketClosedEventTransactionHash"] = "marketClosedEvent__transactionHash";
874
1065
  SubgraphMarket_OrderBy["MaxTotalSupply"] = "maxTotalSupply";
1066
+ SubgraphMarket_OrderBy["MaxTotalSupplyUpdatedIndex"] = "maxTotalSupplyUpdatedIndex";
1067
+ SubgraphMarket_OrderBy["MaxTotalSupplyUpdatedRecords"] = "maxTotalSupplyUpdatedRecords";
875
1068
  SubgraphMarket_OrderBy["Name"] = "name";
876
1069
  SubgraphMarket_OrderBy["NormalizedUnclaimedWithdrawals"] = "normalizedUnclaimedWithdrawals";
877
1070
  SubgraphMarket_OrderBy["OriginalAnnualInterestBips"] = "originalAnnualInterestBips";
@@ -886,6 +1079,7 @@ var SubgraphMarket_OrderBy;
886
1079
  SubgraphMarket_OrderBy["RemovalTransactionHash"] = "removal__transactionHash";
887
1080
  SubgraphMarket_OrderBy["RepaymentRecords"] = "repaymentRecords";
888
1081
  SubgraphMarket_OrderBy["ReserveRatioBips"] = "reserveRatioBips";
1082
+ SubgraphMarket_OrderBy["ReserveRatioBipsUpdatedRecords"] = "reserveRatioBipsUpdatedRecords";
889
1083
  SubgraphMarket_OrderBy["ScaleFactor"] = "scaleFactor";
890
1084
  SubgraphMarket_OrderBy["ScaledPendingWithdrawals"] = "scaledPendingWithdrawals";
891
1085
  SubgraphMarket_OrderBy["ScaledTotalSupply"] = "scaledTotalSupply";
@@ -902,26 +1096,37 @@ var SubgraphMarket_OrderBy;
902
1096
  SubgraphMarket_OrderBy["TotalRepaid"] = "totalRepaid";
903
1097
  SubgraphMarket_OrderBy["WithdrawalBatchDuration"] = "withdrawalBatchDuration";
904
1098
  SubgraphMarket_OrderBy["WithdrawalBatches"] = "withdrawalBatches";
1099
+ SubgraphMarket_OrderBy["WithdrawalRequestRecords"] = "withdrawalRequestRecords";
1100
+ SubgraphMarket_OrderBy["WithdrawalRequestsIndex"] = "withdrawalRequestsIndex";
905
1101
  })(SubgraphMarket_OrderBy = exports.SubgraphMarket_OrderBy || (exports.SubgraphMarket_OrderBy = {}));
906
1102
  var SubgraphMaxTotalSupplyUpdated_OrderBy;
907
1103
  (function (SubgraphMaxTotalSupplyUpdated_OrderBy) {
908
1104
  SubgraphMaxTotalSupplyUpdated_OrderBy["BlockNumber"] = "blockNumber";
909
1105
  SubgraphMaxTotalSupplyUpdated_OrderBy["BlockTimestamp"] = "blockTimestamp";
1106
+ SubgraphMaxTotalSupplyUpdated_OrderBy["EventIndex"] = "eventIndex";
910
1107
  SubgraphMaxTotalSupplyUpdated_OrderBy["Id"] = "id";
911
1108
  SubgraphMaxTotalSupplyUpdated_OrderBy["Market"] = "market";
912
1109
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1110
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
1111
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
913
1112
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketBorrower"] = "market__borrower";
914
1113
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketCreatedAt"] = "market__createdAt";
1114
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
915
1115
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDecimals"] = "market__decimals";
916
1116
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
917
1117
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1118
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
1119
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDepositIndex"] = "market__depositIndex";
1120
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketEventIndex"] = "market__eventIndex";
918
1121
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1122
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
919
1123
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketId"] = "market__id";
920
1124
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketIsClosed"] = "market__isClosed";
921
1125
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
922
1126
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketIsRegistered"] = "market__isRegistered";
923
1127
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
924
1128
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1129
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
925
1130
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketName"] = "market__name";
926
1131
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
927
1132
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -945,6 +1150,8 @@ var SubgraphMaxTotalSupplyUpdated_OrderBy;
945
1150
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
946
1151
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
947
1152
  SubgraphMaxTotalSupplyUpdated_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1153
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
1154
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MaxTotalSupplyUpdatedIndex"] = "maxTotalSupplyUpdatedIndex";
948
1155
  SubgraphMaxTotalSupplyUpdated_OrderBy["NewMaxTotalSupply"] = "newMaxTotalSupply";
949
1156
  SubgraphMaxTotalSupplyUpdated_OrderBy["OldMaxTotalSupply"] = "oldMaxTotalSupply";
950
1157
  SubgraphMaxTotalSupplyUpdated_OrderBy["TransactionHash"] = "transactionHash";
@@ -1031,18 +1238,26 @@ var SubgraphReserveRatioBipsUpdated_OrderBy;
1031
1238
  SubgraphReserveRatioBipsUpdated_OrderBy["Id"] = "id";
1032
1239
  SubgraphReserveRatioBipsUpdated_OrderBy["Market"] = "market";
1033
1240
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1241
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
1242
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
1034
1243
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketBorrower"] = "market__borrower";
1035
1244
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketCreatedAt"] = "market__createdAt";
1245
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
1036
1246
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketDecimals"] = "market__decimals";
1037
1247
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1038
1248
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1249
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
1250
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketDepositIndex"] = "market__depositIndex";
1251
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketEventIndex"] = "market__eventIndex";
1039
1252
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1253
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
1040
1254
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketId"] = "market__id";
1041
1255
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketIsClosed"] = "market__isClosed";
1042
1256
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1043
1257
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1044
1258
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1045
1259
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1260
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
1046
1261
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketName"] = "market__name";
1047
1262
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1048
1263
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -1066,6 +1281,7 @@ var SubgraphReserveRatioBipsUpdated_OrderBy;
1066
1281
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1067
1282
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1068
1283
  SubgraphReserveRatioBipsUpdated_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1284
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
1069
1285
  SubgraphReserveRatioBipsUpdated_OrderBy["NewReserveRatioBips"] = "newReserveRatioBips";
1070
1286
  SubgraphReserveRatioBipsUpdated_OrderBy["OldReserveRatioBips"] = "oldReserveRatioBips";
1071
1287
  SubgraphReserveRatioBipsUpdated_OrderBy["TransactionHash"] = "transactionHash";
@@ -1136,18 +1352,26 @@ var SubgraphTransfer_OrderBy;
1136
1352
  SubgraphTransfer_OrderBy["Id"] = "id";
1137
1353
  SubgraphTransfer_OrderBy["Market"] = "market";
1138
1354
  SubgraphTransfer_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1355
+ SubgraphTransfer_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
1356
+ SubgraphTransfer_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
1139
1357
  SubgraphTransfer_OrderBy["MarketBorrower"] = "market__borrower";
1140
1358
  SubgraphTransfer_OrderBy["MarketCreatedAt"] = "market__createdAt";
1359
+ SubgraphTransfer_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
1141
1360
  SubgraphTransfer_OrderBy["MarketDecimals"] = "market__decimals";
1142
1361
  SubgraphTransfer_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1143
1362
  SubgraphTransfer_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1363
+ SubgraphTransfer_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
1364
+ SubgraphTransfer_OrderBy["MarketDepositIndex"] = "market__depositIndex";
1365
+ SubgraphTransfer_OrderBy["MarketEventIndex"] = "market__eventIndex";
1144
1366
  SubgraphTransfer_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1367
+ SubgraphTransfer_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
1145
1368
  SubgraphTransfer_OrderBy["MarketId"] = "market__id";
1146
1369
  SubgraphTransfer_OrderBy["MarketIsClosed"] = "market__isClosed";
1147
1370
  SubgraphTransfer_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1148
1371
  SubgraphTransfer_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1149
1372
  SubgraphTransfer_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1150
1373
  SubgraphTransfer_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1374
+ SubgraphTransfer_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
1151
1375
  SubgraphTransfer_OrderBy["MarketName"] = "market__name";
1152
1376
  SubgraphTransfer_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1153
1377
  SubgraphTransfer_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -1171,6 +1395,7 @@ var SubgraphTransfer_OrderBy;
1171
1395
  SubgraphTransfer_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1172
1396
  SubgraphTransfer_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1173
1397
  SubgraphTransfer_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1398
+ SubgraphTransfer_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
1174
1399
  SubgraphTransfer_OrderBy["ScaledAmount"] = "scaledAmount";
1175
1400
  SubgraphTransfer_OrderBy["To"] = "to";
1176
1401
  SubgraphTransfer_OrderBy["ToAddress"] = "to__address";
@@ -1262,18 +1487,26 @@ var SubgraphWithdrawalBatchInterestAccrued_OrderBy;
1262
1487
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["InterestEarned"] = "interestEarned";
1263
1488
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["Market"] = "market";
1264
1489
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1490
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
1491
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
1265
1492
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketBorrower"] = "market__borrower";
1266
1493
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketCreatedAt"] = "market__createdAt";
1494
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
1267
1495
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDecimals"] = "market__decimals";
1268
1496
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1269
1497
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1498
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
1499
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDepositIndex"] = "market__depositIndex";
1500
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketEventIndex"] = "market__eventIndex";
1270
1501
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1502
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
1271
1503
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketId"] = "market__id";
1272
1504
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketIsClosed"] = "market__isClosed";
1273
1505
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1274
1506
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1275
1507
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1276
1508
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1509
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
1277
1510
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketName"] = "market__name";
1278
1511
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1279
1512
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -1297,6 +1530,7 @@ var SubgraphWithdrawalBatchInterestAccrued_OrderBy;
1297
1530
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1298
1531
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1299
1532
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1533
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
1300
1534
  SubgraphWithdrawalBatchInterestAccrued_OrderBy["TransactionHash"] = "transactionHash";
1301
1535
  })(SubgraphWithdrawalBatchInterestAccrued_OrderBy = exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy || (exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy = {}));
1302
1536
  var SubgraphWithdrawalBatchPayment_OrderBy;
@@ -1339,18 +1573,26 @@ var SubgraphWithdrawalBatch_OrderBy;
1339
1573
  SubgraphWithdrawalBatch_OrderBy["LastUpdatedTimestamp"] = "lastUpdatedTimestamp";
1340
1574
  SubgraphWithdrawalBatch_OrderBy["Market"] = "market";
1341
1575
  SubgraphWithdrawalBatch_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1576
+ SubgraphWithdrawalBatch_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
1577
+ SubgraphWithdrawalBatch_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
1342
1578
  SubgraphWithdrawalBatch_OrderBy["MarketBorrower"] = "market__borrower";
1343
1579
  SubgraphWithdrawalBatch_OrderBy["MarketCreatedAt"] = "market__createdAt";
1580
+ SubgraphWithdrawalBatch_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
1344
1581
  SubgraphWithdrawalBatch_OrderBy["MarketDecimals"] = "market__decimals";
1345
1582
  SubgraphWithdrawalBatch_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1346
1583
  SubgraphWithdrawalBatch_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1584
+ SubgraphWithdrawalBatch_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
1585
+ SubgraphWithdrawalBatch_OrderBy["MarketDepositIndex"] = "market__depositIndex";
1586
+ SubgraphWithdrawalBatch_OrderBy["MarketEventIndex"] = "market__eventIndex";
1347
1587
  SubgraphWithdrawalBatch_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1588
+ SubgraphWithdrawalBatch_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
1348
1589
  SubgraphWithdrawalBatch_OrderBy["MarketId"] = "market__id";
1349
1590
  SubgraphWithdrawalBatch_OrderBy["MarketIsClosed"] = "market__isClosed";
1350
1591
  SubgraphWithdrawalBatch_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1351
1592
  SubgraphWithdrawalBatch_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1352
1593
  SubgraphWithdrawalBatch_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1353
1594
  SubgraphWithdrawalBatch_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1595
+ SubgraphWithdrawalBatch_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
1354
1596
  SubgraphWithdrawalBatch_OrderBy["MarketName"] = "market__name";
1355
1597
  SubgraphWithdrawalBatch_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1356
1598
  SubgraphWithdrawalBatch_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
@@ -1374,6 +1616,7 @@ var SubgraphWithdrawalBatch_OrderBy;
1374
1616
  SubgraphWithdrawalBatch_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1375
1617
  SubgraphWithdrawalBatch_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1376
1618
  SubgraphWithdrawalBatch_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1619
+ SubgraphWithdrawalBatch_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
1377
1620
  SubgraphWithdrawalBatch_OrderBy["NormalizedAmountClaimed"] = "normalizedAmountClaimed";
1378
1621
  SubgraphWithdrawalBatch_OrderBy["NormalizedAmountPaid"] = "normalizedAmountPaid";
1379
1622
  SubgraphWithdrawalBatch_OrderBy["Payments"] = "payments";
@@ -1453,7 +1696,54 @@ var SubgraphWithdrawalRequest_OrderBy;
1453
1696
  SubgraphWithdrawalRequest_OrderBy["BatchTotalNormalizedRequests"] = "batch__totalNormalizedRequests";
1454
1697
  SubgraphWithdrawalRequest_OrderBy["BlockNumber"] = "blockNumber";
1455
1698
  SubgraphWithdrawalRequest_OrderBy["BlockTimestamp"] = "blockTimestamp";
1699
+ SubgraphWithdrawalRequest_OrderBy["EventIndex"] = "eventIndex";
1456
1700
  SubgraphWithdrawalRequest_OrderBy["Id"] = "id";
1701
+ SubgraphWithdrawalRequest_OrderBy["Market"] = "market";
1702
+ SubgraphWithdrawalRequest_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1703
+ SubgraphWithdrawalRequest_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
1704
+ SubgraphWithdrawalRequest_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
1705
+ SubgraphWithdrawalRequest_OrderBy["MarketBorrower"] = "market__borrower";
1706
+ SubgraphWithdrawalRequest_OrderBy["MarketCreatedAt"] = "market__createdAt";
1707
+ SubgraphWithdrawalRequest_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
1708
+ SubgraphWithdrawalRequest_OrderBy["MarketDecimals"] = "market__decimals";
1709
+ SubgraphWithdrawalRequest_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1710
+ SubgraphWithdrawalRequest_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1711
+ SubgraphWithdrawalRequest_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
1712
+ SubgraphWithdrawalRequest_OrderBy["MarketDepositIndex"] = "market__depositIndex";
1713
+ SubgraphWithdrawalRequest_OrderBy["MarketEventIndex"] = "market__eventIndex";
1714
+ SubgraphWithdrawalRequest_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1715
+ SubgraphWithdrawalRequest_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
1716
+ SubgraphWithdrawalRequest_OrderBy["MarketId"] = "market__id";
1717
+ SubgraphWithdrawalRequest_OrderBy["MarketIsClosed"] = "market__isClosed";
1718
+ SubgraphWithdrawalRequest_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1719
+ SubgraphWithdrawalRequest_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1720
+ SubgraphWithdrawalRequest_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1721
+ SubgraphWithdrawalRequest_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1722
+ SubgraphWithdrawalRequest_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
1723
+ SubgraphWithdrawalRequest_OrderBy["MarketName"] = "market__name";
1724
+ SubgraphWithdrawalRequest_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1725
+ SubgraphWithdrawalRequest_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
1726
+ SubgraphWithdrawalRequest_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
1727
+ SubgraphWithdrawalRequest_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
1728
+ SubgraphWithdrawalRequest_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
1729
+ SubgraphWithdrawalRequest_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
1730
+ SubgraphWithdrawalRequest_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
1731
+ SubgraphWithdrawalRequest_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
1732
+ SubgraphWithdrawalRequest_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
1733
+ SubgraphWithdrawalRequest_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
1734
+ SubgraphWithdrawalRequest_OrderBy["MarketSentinel"] = "market__sentinel";
1735
+ SubgraphWithdrawalRequest_OrderBy["MarketSymbol"] = "market__symbol";
1736
+ SubgraphWithdrawalRequest_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
1737
+ SubgraphWithdrawalRequest_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
1738
+ SubgraphWithdrawalRequest_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
1739
+ SubgraphWithdrawalRequest_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
1740
+ SubgraphWithdrawalRequest_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
1741
+ SubgraphWithdrawalRequest_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
1742
+ SubgraphWithdrawalRequest_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
1743
+ SubgraphWithdrawalRequest_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1744
+ SubgraphWithdrawalRequest_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1745
+ SubgraphWithdrawalRequest_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1746
+ SubgraphWithdrawalRequest_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
1457
1747
  SubgraphWithdrawalRequest_OrderBy["NormalizedAmount"] = "normalizedAmount";
1458
1748
  SubgraphWithdrawalRequest_OrderBy["RequestIndex"] = "requestIndex";
1459
1749
  SubgraphWithdrawalRequest_OrderBy["ScaledAmount"] = "scaledAmount";
@@ -1466,6 +1756,7 @@ var SubgraphWithdrawalRequest_OrderBy;
1466
1756
  SubgraphWithdrawalRequest_OrderBy["StatusScaledAmount"] = "status__scaledAmount";
1467
1757
  SubgraphWithdrawalRequest_OrderBy["StatusTotalNormalizedRequests"] = "status__totalNormalizedRequests";
1468
1758
  SubgraphWithdrawalRequest_OrderBy["TransactionHash"] = "transactionHash";
1759
+ SubgraphWithdrawalRequest_OrderBy["WithdrawalRequestsIndex"] = "withdrawalRequestsIndex";
1469
1760
  })(SubgraphWithdrawalRequest_OrderBy = exports.SubgraphWithdrawalRequest_OrderBy || (exports.SubgraphWithdrawalRequest_OrderBy = {}));
1470
1761
  var Subgraph_SubgraphErrorPolicy_;
1471
1762
  (function (Subgraph_SubgraphErrorPolicy_) {
@@ -1490,6 +1781,7 @@ exports.LenderPropertiesFragmentDoc = (0, client_1.gql) `
1490
1781
  exports.DepositDataFragmentDoc = (0, client_1.gql) `
1491
1782
  fragment DepositData on Deposit {
1492
1783
  id
1784
+ eventIndex
1493
1785
  account {
1494
1786
  address
1495
1787
  }
@@ -1516,6 +1808,24 @@ exports.AccountDataForLenderViewFragmentDoc = (0, client_1.gql) `
1516
1808
  }
1517
1809
  }
1518
1810
  `;
1811
+ exports.AprConstraintsFragmentDoc = (0, client_1.gql) `
1812
+ fragment AprConstraints on ParameterConstraints {
1813
+ minimumAnnualInterestBips
1814
+ maximumAnnualInterestBips
1815
+ }
1816
+ `;
1817
+ exports.DelinquencyStatusChangedDataFragmentDoc = (0, client_1.gql) `
1818
+ fragment DelinquencyStatusChangedData on DelinquencyStatusChanged {
1819
+ id
1820
+ eventIndex
1821
+ isDelinquent
1822
+ liquidityCoverageRequired
1823
+ totalAssets
1824
+ blockNumber
1825
+ blockTimestamp
1826
+ transactionHash
1827
+ }
1828
+ `;
1519
1829
  exports.MarketDeployedEventFragmentDoc = (0, client_1.gql) `
1520
1830
  fragment MarketDeployedEvent on MarketDeployed {
1521
1831
  blockNumber
@@ -1571,6 +1881,7 @@ exports.MarketDataFragmentDoc = (0, client_1.gql) `
1571
1881
  totalDelinquencyFeesAccrued
1572
1882
  totalProtocolFeesAccrued
1573
1883
  totalDeposited
1884
+ eventIndex
1574
1885
  deployedEvent {
1575
1886
  ...MarketDeployedEvent
1576
1887
  }
@@ -1578,6 +1889,7 @@ exports.MarketDataFragmentDoc = (0, client_1.gql) `
1578
1889
  `;
1579
1890
  exports.BorrowDataFragmentDoc = (0, client_1.gql) `
1580
1891
  fragment BorrowData on Borrow {
1892
+ eventIndex
1581
1893
  assetAmount
1582
1894
  blockNumber
1583
1895
  blockTimestamp
@@ -1586,6 +1898,7 @@ exports.BorrowDataFragmentDoc = (0, client_1.gql) `
1586
1898
  `;
1587
1899
  exports.FeesCollectedDataFragmentDoc = (0, client_1.gql) `
1588
1900
  fragment FeesCollectedData on FeesCollected {
1901
+ eventIndex
1589
1902
  feesCollected
1590
1903
  blockNumber
1591
1904
  blockTimestamp
@@ -1594,6 +1907,7 @@ exports.FeesCollectedDataFragmentDoc = (0, client_1.gql) `
1594
1907
  `;
1595
1908
  exports.RepaymentDataFragmentDoc = (0, client_1.gql) `
1596
1909
  fragment RepaymentData on DebtRepaid {
1910
+ eventIndex
1597
1911
  from
1598
1912
  assetAmount
1599
1913
  blockNumber
@@ -1643,12 +1957,6 @@ exports.MarketDataWithEventsFragmentDoc = (0, client_1.gql) `
1643
1957
  ...MarketRecords
1644
1958
  }
1645
1959
  `;
1646
- exports.AprConstraintsFragmentDoc = (0, client_1.gql) `
1647
- fragment AprConstraints on ParameterConstraints {
1648
- minimumAnnualInterestBips
1649
- maximumAnnualInterestBips
1650
- }
1651
- `;
1652
1960
  exports.LenderWithdrawalPropertiesFragmentDoc = (0, client_1.gql) `
1653
1961
  fragment LenderWithdrawalProperties on LenderWithdrawalStatus {
1654
1962
  id
@@ -1701,6 +2009,7 @@ exports.WithdrawalBatchPropertiesFragmentDoc = (0, client_1.gql) `
1701
2009
  exports.WithdrawalRequestPropertiesFragmentDoc = (0, client_1.gql) `
1702
2010
  fragment WithdrawalRequestProperties on WithdrawalRequest {
1703
2011
  id
2012
+ eventIndex
1704
2013
  requestIndex
1705
2014
  account {
1706
2015
  address
@@ -1752,6 +2061,34 @@ exports.WithdrawalBatchPropertiesWithEventsFragmentDoc = (0, client_1.gql) `
1752
2061
  }
1753
2062
  }
1754
2063
  `;
2064
+ exports.AnnualInterestBipsUpdatedDataFragmentDoc = (0, client_1.gql) `
2065
+ fragment AnnualInterestBipsUpdatedData on AnnualInterestBipsUpdated {
2066
+ eventIndex
2067
+ oldAnnualInterestBips
2068
+ newAnnualInterestBips
2069
+ blockNumber
2070
+ blockTimestamp
2071
+ transactionHash
2072
+ }
2073
+ `;
2074
+ exports.MaxTotalSupplyUpdatedDataFragmentDoc = (0, client_1.gql) `
2075
+ fragment MaxTotalSupplyUpdatedData on MaxTotalSupplyUpdated {
2076
+ eventIndex
2077
+ oldMaxTotalSupply
2078
+ newMaxTotalSupply
2079
+ blockNumber
2080
+ blockTimestamp
2081
+ transactionHash
2082
+ }
2083
+ `;
2084
+ exports.MarketClosedDataFragmentDoc = (0, client_1.gql) `
2085
+ fragment MarketClosedData on MarketClosed {
2086
+ eventIndex
2087
+ blockNumber
2088
+ blockTimestamp
2089
+ transactionHash
2090
+ }
2091
+ `;
1755
2092
  exports.GetLenderAccountForMarketDocument = (0, client_1.gql) `
1756
2093
  query getLenderAccountForMarket(
1757
2094
  $market: ID!
@@ -1760,8 +2097,6 @@ exports.GetLenderAccountForMarketDocument = (0, client_1.gql) `
1760
2097
  $skipDeposits: Int = 0
1761
2098
  $orderDeposits: Deposit_orderBy = blockTimestamp
1762
2099
  $directionDeposits: OrderDirection = desc
1763
- $numWithdrawals: Int = 200
1764
- $skipWithdrawals: Int = 0
1765
2100
  ) {
1766
2101
  market(id: $market) {
1767
2102
  lenders(where: { address: $lender }) {
@@ -1791,8 +2126,6 @@ exports.GetLenderAccountForMarketDocument = (0, client_1.gql) `
1791
2126
  * skipDeposits: // value for 'skipDeposits'
1792
2127
  * orderDeposits: // value for 'orderDeposits'
1793
2128
  * directionDeposits: // value for 'directionDeposits'
1794
- * numWithdrawals: // value for 'numWithdrawals'
1795
- * skipWithdrawals: // value for 'skipWithdrawals'
1796
2129
  * },
1797
2130
  * });
1798
2131
  */
@@ -1819,8 +2152,6 @@ exports.GetLenderAccountWithMarketDocument = (0, client_1.gql) `
1819
2152
  $skipDeposits: Int = 0
1820
2153
  $orderDeposits: Deposit_orderBy = blockTimestamp
1821
2154
  $directionDeposits: OrderDirection = desc
1822
- $numWithdrawals: Int = 200
1823
- $skipWithdrawals: Int = 0
1824
2155
  $numBorrows: Int = 10
1825
2156
  $skipBorrows: Int = 0
1826
2157
  $orderBorrows: Borrow_orderBy = blockTimestamp
@@ -1879,8 +2210,6 @@ exports.GetLenderAccountWithMarketDocument = (0, client_1.gql) `
1879
2210
  * skipDeposits: // value for 'skipDeposits'
1880
2211
  * orderDeposits: // value for 'orderDeposits'
1881
2212
  * directionDeposits: // value for 'directionDeposits'
1882
- * numWithdrawals: // value for 'numWithdrawals'
1883
- * skipWithdrawals: // value for 'skipWithdrawals'
1884
2213
  * numBorrows: // value for 'numBorrows'
1885
2214
  * skipBorrows: // value for 'skipBorrows'
1886
2215
  * orderBorrows: // value for 'orderBorrows'
@@ -1914,8 +2243,6 @@ exports.GetAllMarketsForLenderViewDocument = (0, client_1.gql) `
1914
2243
  $skipDeposits: Int = 0
1915
2244
  $orderDeposits: Deposit_orderBy = blockTimestamp
1916
2245
  $directionDeposits: OrderDirection = desc
1917
- $numWithdrawals: Int = 200
1918
- $skipWithdrawals: Int = 0
1919
2246
  $numBorrows: Int = 10
1920
2247
  $skipBorrows: Int = 0
1921
2248
  $orderBorrows: Borrow_orderBy = blockTimestamp
@@ -2001,8 +2328,6 @@ exports.GetAllMarketsForLenderViewDocument = (0, client_1.gql) `
2001
2328
  * skipDeposits: // value for 'skipDeposits'
2002
2329
  * orderDeposits: // value for 'orderDeposits'
2003
2330
  * directionDeposits: // value for 'directionDeposits'
2004
- * numWithdrawals: // value for 'numWithdrawals'
2005
- * skipWithdrawals: // value for 'skipWithdrawals'
2006
2331
  * numBorrows: // value for 'numBorrows'
2007
2332
  * skipBorrows: // value for 'skipBorrows'
2008
2333
  * orderBorrows: // value for 'orderBorrows'
@@ -2036,8 +2361,6 @@ exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = (0, client_1.gql) `
2036
2361
  $skipDeposits: Int = 0
2037
2362
  $orderDeposits: Deposit_orderBy = blockTimestamp
2038
2363
  $directionDeposits: OrderDirection = desc
2039
- $numWithdrawals: Int = 200
2040
- $skipWithdrawals: Int = 0
2041
2364
  $numBorrows: Int = 10
2042
2365
  $skipBorrows: Int = 0
2043
2366
  $orderBorrows: Borrow_orderBy = blockTimestamp
@@ -2136,8 +2459,6 @@ exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = (0, client_1.gql) `
2136
2459
  * skipDeposits: // value for 'skipDeposits'
2137
2460
  * orderDeposits: // value for 'orderDeposits'
2138
2461
  * directionDeposits: // value for 'directionDeposits'
2139
- * numWithdrawals: // value for 'numWithdrawals'
2140
- * skipWithdrawals: // value for 'skipWithdrawals'
2141
2462
  * numBorrows: // value for 'numBorrows'
2142
2463
  * skipBorrows: // value for 'skipBorrows'
2143
2464
  * orderBorrows: // value for 'orderBorrows'
@@ -2374,6 +2695,113 @@ function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery(baseOpti
2374
2695
  return Apollo.useSuspenseQuery(exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument, options);
2375
2696
  }
2376
2697
  exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery;
2698
+ exports.GetMarketEventsDocument = (0, client_1.gql) `
2699
+ query getMarketEvents($market: ID!, $startEventID: ID!, $endEventID: ID!) {
2700
+ market(id: $market) {
2701
+ marketClosedEvent {
2702
+ ...MarketClosedData
2703
+ }
2704
+ delinquencyRecords(
2705
+ where: { id_gte: $startEventID, id_lt: $endEventID }
2706
+ orderBy: id
2707
+ orderDirection: desc
2708
+ ) {
2709
+ ...DelinquencyStatusChangedData
2710
+ }
2711
+ borrowRecords(
2712
+ where: { id_gte: $startEventID, id_lt: $endEventID }
2713
+ orderBy: id
2714
+ orderDirection: desc
2715
+ ) {
2716
+ ...BorrowData
2717
+ }
2718
+ depositRecords(
2719
+ where: { id_gte: $startEventID, id_lt: $endEventID }
2720
+ orderBy: id
2721
+ orderDirection: desc
2722
+ ) {
2723
+ ...DepositData
2724
+ }
2725
+ feeCollectionRecords(
2726
+ where: { id_gte: $startEventID, id_lt: $endEventID }
2727
+ orderBy: id
2728
+ orderDirection: desc
2729
+ ) {
2730
+ ...FeesCollectedData
2731
+ }
2732
+ repaymentRecords(
2733
+ where: { id_gte: $startEventID, id_lt: $endEventID }
2734
+ orderBy: id
2735
+ orderDirection: desc
2736
+ ) {
2737
+ ...RepaymentData
2738
+ }
2739
+ annualInterestBipsUpdatedRecords(
2740
+ where: { id_gte: $startEventID, id_lt: $endEventID }
2741
+ orderBy: id
2742
+ orderDirection: desc
2743
+ ) {
2744
+ ...AnnualInterestBipsUpdatedData
2745
+ }
2746
+ maxTotalSupplyUpdatedRecords(
2747
+ where: { id_gte: $startEventID, id_lt: $endEventID }
2748
+ orderBy: id
2749
+ orderDirection: desc
2750
+ ) {
2751
+ ...MaxTotalSupplyUpdatedData
2752
+ }
2753
+ withdrawalRequestRecords(
2754
+ where: { id_gte: $startEventID, id_lt: $endEventID }
2755
+ orderBy: id
2756
+ orderDirection: desc
2757
+ ) {
2758
+ ...WithdrawalRequestProperties
2759
+ }
2760
+ }
2761
+ }
2762
+ ${exports.MarketClosedDataFragmentDoc}
2763
+ ${exports.DelinquencyStatusChangedDataFragmentDoc}
2764
+ ${exports.BorrowDataFragmentDoc}
2765
+ ${exports.DepositDataFragmentDoc}
2766
+ ${exports.FeesCollectedDataFragmentDoc}
2767
+ ${exports.RepaymentDataFragmentDoc}
2768
+ ${exports.AnnualInterestBipsUpdatedDataFragmentDoc}
2769
+ ${exports.MaxTotalSupplyUpdatedDataFragmentDoc}
2770
+ ${exports.WithdrawalRequestPropertiesFragmentDoc}
2771
+ `;
2772
+ /**
2773
+ * __useGetMarketEventsQuery__
2774
+ *
2775
+ * To run a query within a React component, call `useGetMarketEventsQuery` and pass it any options that fit your needs.
2776
+ * When your component renders, `useGetMarketEventsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2777
+ * you can use to render your UI.
2778
+ *
2779
+ * @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;
2780
+ *
2781
+ * @example
2782
+ * const { data, loading, error } = useGetMarketEventsQuery({
2783
+ * variables: {
2784
+ * market: // value for 'market'
2785
+ * startEventID: // value for 'startEventID'
2786
+ * endEventID: // value for 'endEventID'
2787
+ * },
2788
+ * });
2789
+ */
2790
+ function useGetMarketEventsQuery(baseOptions) {
2791
+ const options = { ...defaultOptions, ...baseOptions };
2792
+ return Apollo.useQuery(exports.GetMarketEventsDocument, options);
2793
+ }
2794
+ exports.useGetMarketEventsQuery = useGetMarketEventsQuery;
2795
+ function useGetMarketEventsLazyQuery(baseOptions) {
2796
+ const options = { ...defaultOptions, ...baseOptions };
2797
+ return Apollo.useLazyQuery(exports.GetMarketEventsDocument, options);
2798
+ }
2799
+ exports.useGetMarketEventsLazyQuery = useGetMarketEventsLazyQuery;
2800
+ function useGetMarketEventsSuspenseQuery(baseOptions) {
2801
+ const options = { ...defaultOptions, ...baseOptions };
2802
+ return Apollo.useSuspenseQuery(exports.GetMarketEventsDocument, options);
2803
+ }
2804
+ exports.useGetMarketEventsSuspenseQuery = useGetMarketEventsSuspenseQuery;
2377
2805
  exports.GetMarketsForBorrowerDocument = (0, client_1.gql) `
2378
2806
  query getMarketsForBorrower(
2379
2807
  $borrower: Bytes!