@wildcatfi/wildcat-sdk 2.0.3 → 2.0.5

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 (69) hide show
  1. package/dist/account.d.ts +12 -2
  2. package/dist/account.d.ts.map +1 -1
  3. package/dist/account.js +54 -3
  4. package/dist/account.js.map +1 -1
  5. package/dist/constants.d.ts +3 -0
  6. package/dist/constants.d.ts.map +1 -1
  7. package/dist/constants.js +7 -1
  8. package/dist/constants.js.map +1 -1
  9. package/dist/gql/graphql.d.ts +7938 -0
  10. package/dist/gql/graphql.d.ts.map +1 -0
  11. package/dist/gql/graphql.js +2437 -0
  12. package/dist/gql/graphql.js.map +1 -0
  13. package/dist/hooks/index.d.ts +7 -0
  14. package/dist/hooks/index.d.ts.map +1 -0
  15. package/dist/hooks/index.js +23 -0
  16. package/dist/hooks/index.js.map +1 -0
  17. package/dist/hooks/types.d.ts +14 -0
  18. package/dist/hooks/types.d.ts.map +1 -0
  19. package/dist/hooks/types.js +3 -0
  20. package/dist/hooks/types.js.map +1 -0
  21. package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.d.ts +24 -0
  22. package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.d.ts.map +1 -0
  23. package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.js +72 -0
  24. package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.js.map +1 -0
  25. package/dist/hooks/useAllPendingWithdrawalBatchesForMarket.d.ts +7 -0
  26. package/dist/hooks/useAllPendingWithdrawalBatchesForMarket.d.ts.map +1 -0
  27. package/dist/hooks/useAllPendingWithdrawalBatchesForMarket.js +68 -0
  28. package/dist/hooks/useAllPendingWithdrawalBatchesForMarket.js.map +1 -0
  29. package/dist/hooks/useLenderWithdrawalsForMarket.d.ts +13 -0
  30. package/dist/hooks/useLenderWithdrawalsForMarket.d.ts.map +1 -0
  31. package/dist/hooks/useLenderWithdrawalsForMarket.js +84 -0
  32. package/dist/hooks/useLenderWithdrawalsForMarket.js.map +1 -0
  33. package/dist/hooks/useMarket.d.ts +10 -0
  34. package/dist/hooks/useMarket.d.ts.map +1 -0
  35. package/dist/hooks/useMarket.js +17 -0
  36. package/dist/hooks/useMarket.js.map +1 -0
  37. package/dist/hooks/useMarketsForBorrower.d.ts +10 -0
  38. package/dist/hooks/useMarketsForBorrower.d.ts.map +1 -0
  39. package/dist/hooks/useMarketsForBorrower.js +60 -0
  40. package/dist/hooks/useMarketsForBorrower.js.map +1 -0
  41. package/dist/index.d.ts +2 -1
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +3 -2
  44. package/dist/index.js.map +1 -1
  45. package/dist/market.d.ts +27 -4
  46. package/dist/market.d.ts.map +1 -1
  47. package/dist/market.js +46 -10
  48. package/dist/market.js.map +1 -1
  49. package/dist/token.d.ts +3 -0
  50. package/dist/token.d.ts.map +1 -1
  51. package/dist/token.js +6 -0
  52. package/dist/token.js.map +1 -1
  53. package/dist/utils/logger.d.ts +10 -0
  54. package/dist/utils/logger.d.ts.map +1 -0
  55. package/dist/utils/logger.js +34 -0
  56. package/dist/utils/logger.js.map +1 -0
  57. package/dist/utils/math.d.ts +1 -0
  58. package/dist/utils/math.d.ts.map +1 -1
  59. package/dist/utils/math.js +10 -1
  60. package/dist/utils/math.js.map +1 -1
  61. package/dist/withdrawal-batch.d.ts +14 -2
  62. package/dist/withdrawal-batch.d.ts.map +1 -1
  63. package/dist/withdrawal-batch.js +72 -3
  64. package/dist/withdrawal-batch.js.map +1 -1
  65. package/dist/withdrawal-status.d.ts +9 -32
  66. package/dist/withdrawal-status.d.ts.map +1 -1
  67. package/dist/withdrawal-status.js +11 -139
  68. package/dist/withdrawal-status.js.map +1 -1
  69. package/package.json +26 -7
@@ -0,0 +1,2437 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.SubgraphWithdrawalRequest_OrderBy = exports.SubgraphWithdrawalExecution_OrderBy = exports.SubgraphWithdrawalBatch_OrderBy = exports.SubgraphWithdrawalBatchPayment_OrderBy = exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy = exports.SubgraphWithdrawalBatchExpired_OrderBy = exports.SubgraphWithdrawalBatchCreated_OrderBy = exports.SubgraphUpdateProtocolFeeConfiguration_OrderBy = exports.SubgraphTransfer_OrderBy = exports.SubgraphToken_OrderBy = exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy = exports.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 = void 0;
27
+ exports.GetAuthorizedLendersByMarketDocument = exports.useGetAllMarketsSuspenseQuery = exports.useGetAllMarketsLazyQuery = exports.useGetAllMarketsQuery = exports.GetAllMarketsDocument = exports.useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery = exports.useGetAllPendingWithdrawalBatchesForMarketLazyQuery = exports.useGetAllPendingWithdrawalBatchesForMarketQuery = exports.GetAllPendingWithdrawalBatchesForMarketDocument = exports.useGetMarketsForBorrowerSuspenseQuery = exports.useGetMarketsForBorrowerLazyQuery = 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.useGetLenderAccountForMarketSuspenseQuery = exports.useGetLenderAccountForMarketLazyQuery = exports.useGetLenderAccountForMarketQuery = exports.GetLenderAccountForMarketDocument = exports.LenderWithdrawalPropertiesWithEventsFragmentDoc = exports.WithdrawalBatchPropertiesWithEventsFragmentDoc = exports.WithdrawalExecutionPropertiesFragmentDoc = exports.WithdrawalRequestPropertiesFragmentDoc = exports.WithdrawalBatchPropertiesFragmentDoc = exports.WithdrawalBatchPaymentPropertiesFragmentDoc = exports.LenderWithdrawalPropertiesFragmentDoc = exports.MarketDataWithEventsFragmentDoc = exports.MarketRecordsFragmentDoc = exports.RepaymentDataFragmentDoc = exports.FeesCollectedDataFragmentDoc = exports.BorrowDataFragmentDoc = exports.MarketDataFragmentDoc = exports.AccountDataForLenderViewFragmentDoc = exports.DepositDataFragmentDoc = exports.LenderPropertiesFragmentDoc = exports.Subgraph_SubgraphErrorPolicy_ = 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 = void 0;
29
+ const client_1 = require("@apollo/client");
30
+ const Apollo = __importStar(require("@apollo/client"));
31
+ const defaultOptions = {};
32
+ var SubgraphApproval_OrderBy;
33
+ (function (SubgraphApproval_OrderBy) {
34
+ SubgraphApproval_OrderBy["BlockNumber"] = "blockNumber";
35
+ SubgraphApproval_OrderBy["BlockTimestamp"] = "blockTimestamp";
36
+ SubgraphApproval_OrderBy["Id"] = "id";
37
+ SubgraphApproval_OrderBy["Owner"] = "owner";
38
+ SubgraphApproval_OrderBy["Spender"] = "spender";
39
+ SubgraphApproval_OrderBy["TransactionHash"] = "transactionHash";
40
+ SubgraphApproval_OrderBy["Value"] = "value";
41
+ })(SubgraphApproval_OrderBy = exports.SubgraphApproval_OrderBy || (exports.SubgraphApproval_OrderBy = {}));
42
+ var SubgraphArchController_OrderBy;
43
+ (function (SubgraphArchController_OrderBy) {
44
+ SubgraphArchController_OrderBy["Borrowers"] = "borrowers";
45
+ SubgraphArchController_OrderBy["ControllerFactories"] = "controllerFactories";
46
+ SubgraphArchController_OrderBy["Controllers"] = "controllers";
47
+ SubgraphArchController_OrderBy["Id"] = "id";
48
+ SubgraphArchController_OrderBy["Markets"] = "markets";
49
+ })(SubgraphArchController_OrderBy = exports.SubgraphArchController_OrderBy || (exports.SubgraphArchController_OrderBy = {}));
50
+ var SubgraphBorrow_OrderBy;
51
+ (function (SubgraphBorrow_OrderBy) {
52
+ SubgraphBorrow_OrderBy["AssetAmount"] = "assetAmount";
53
+ SubgraphBorrow_OrderBy["BlockNumber"] = "blockNumber";
54
+ SubgraphBorrow_OrderBy["BlockTimestamp"] = "blockTimestamp";
55
+ SubgraphBorrow_OrderBy["Id"] = "id";
56
+ SubgraphBorrow_OrderBy["Market"] = "market";
57
+ SubgraphBorrow_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
58
+ SubgraphBorrow_OrderBy["MarketBorrower"] = "market__borrower";
59
+ SubgraphBorrow_OrderBy["MarketDecimals"] = "market__decimals";
60
+ SubgraphBorrow_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
61
+ SubgraphBorrow_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
62
+ SubgraphBorrow_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
63
+ SubgraphBorrow_OrderBy["MarketId"] = "market__id";
64
+ SubgraphBorrow_OrderBy["MarketIsClosed"] = "market__isClosed";
65
+ SubgraphBorrow_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
66
+ SubgraphBorrow_OrderBy["MarketIsRegistered"] = "market__isRegistered";
67
+ SubgraphBorrow_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
68
+ SubgraphBorrow_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
69
+ SubgraphBorrow_OrderBy["MarketName"] = "market__name";
70
+ SubgraphBorrow_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
71
+ SubgraphBorrow_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
72
+ SubgraphBorrow_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
73
+ SubgraphBorrow_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
74
+ SubgraphBorrow_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
75
+ SubgraphBorrow_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
76
+ SubgraphBorrow_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
77
+ SubgraphBorrow_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
78
+ SubgraphBorrow_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
79
+ SubgraphBorrow_OrderBy["MarketSentinel"] = "market__sentinel";
80
+ SubgraphBorrow_OrderBy["MarketSymbol"] = "market__symbol";
81
+ SubgraphBorrow_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
82
+ SubgraphBorrow_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
83
+ SubgraphBorrow_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
84
+ SubgraphBorrow_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
85
+ SubgraphBorrow_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
86
+ SubgraphBorrow_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
87
+ SubgraphBorrow_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
88
+ SubgraphBorrow_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
89
+ SubgraphBorrow_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
90
+ SubgraphBorrow_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
91
+ SubgraphBorrow_OrderBy["TransactionHash"] = "transactionHash";
92
+ })(SubgraphBorrow_OrderBy = exports.SubgraphBorrow_OrderBy || (exports.SubgraphBorrow_OrderBy = {}));
93
+ var SubgraphBorrowerRegistrationChange_OrderBy;
94
+ (function (SubgraphBorrowerRegistrationChange_OrderBy) {
95
+ SubgraphBorrowerRegistrationChange_OrderBy["BlockNumber"] = "blockNumber";
96
+ SubgraphBorrowerRegistrationChange_OrderBy["BlockTimestamp"] = "blockTimestamp";
97
+ SubgraphBorrowerRegistrationChange_OrderBy["Id"] = "id";
98
+ SubgraphBorrowerRegistrationChange_OrderBy["IsRegistered"] = "isRegistered";
99
+ SubgraphBorrowerRegistrationChange_OrderBy["Registration"] = "registration";
100
+ SubgraphBorrowerRegistrationChange_OrderBy["RegistrationBorrower"] = "registration__borrower";
101
+ SubgraphBorrowerRegistrationChange_OrderBy["RegistrationId"] = "registration__id";
102
+ SubgraphBorrowerRegistrationChange_OrderBy["RegistrationIsRegistered"] = "registration__isRegistered";
103
+ SubgraphBorrowerRegistrationChange_OrderBy["TransactionHash"] = "transactionHash";
104
+ })(SubgraphBorrowerRegistrationChange_OrderBy = exports.SubgraphBorrowerRegistrationChange_OrderBy || (exports.SubgraphBorrowerRegistrationChange_OrderBy = {}));
105
+ var SubgraphControllerAdded_OrderBy;
106
+ (function (SubgraphControllerAdded_OrderBy) {
107
+ SubgraphControllerAdded_OrderBy["BlockNumber"] = "blockNumber";
108
+ SubgraphControllerAdded_OrderBy["BlockTimestamp"] = "blockTimestamp";
109
+ SubgraphControllerAdded_OrderBy["Controller"] = "controller";
110
+ SubgraphControllerAdded_OrderBy["ControllerFactory"] = "controllerFactory";
111
+ SubgraphControllerAdded_OrderBy["ControllerFactoryFeeRecipient"] = "controllerFactory__feeRecipient";
112
+ SubgraphControllerAdded_OrderBy["ControllerFactoryId"] = "controllerFactory__id";
113
+ SubgraphControllerAdded_OrderBy["ControllerFactoryIsRegistered"] = "controllerFactory__isRegistered";
114
+ SubgraphControllerAdded_OrderBy["ControllerFactoryOriginationFeeAmount"] = "controllerFactory__originationFeeAmount";
115
+ SubgraphControllerAdded_OrderBy["ControllerFactoryOriginationFeeAsset"] = "controllerFactory__originationFeeAsset";
116
+ SubgraphControllerAdded_OrderBy["ControllerFactoryProtocolFeeBips"] = "controllerFactory__protocolFeeBips";
117
+ SubgraphControllerAdded_OrderBy["ControllerFactorySentinel"] = "controllerFactory__sentinel";
118
+ SubgraphControllerAdded_OrderBy["ControllerBorrower"] = "controller__borrower";
119
+ SubgraphControllerAdded_OrderBy["ControllerId"] = "controller__id";
120
+ SubgraphControllerAdded_OrderBy["ControllerIsRegistered"] = "controller__isRegistered";
121
+ SubgraphControllerAdded_OrderBy["Id"] = "id";
122
+ SubgraphControllerAdded_OrderBy["TransactionHash"] = "transactionHash";
123
+ })(SubgraphControllerAdded_OrderBy = exports.SubgraphControllerAdded_OrderBy || (exports.SubgraphControllerAdded_OrderBy = {}));
124
+ var SubgraphControllerFactoryAdded_OrderBy;
125
+ (function (SubgraphControllerFactoryAdded_OrderBy) {
126
+ SubgraphControllerFactoryAdded_OrderBy["BlockNumber"] = "blockNumber";
127
+ SubgraphControllerFactoryAdded_OrderBy["BlockTimestamp"] = "blockTimestamp";
128
+ SubgraphControllerFactoryAdded_OrderBy["ControllerFactory"] = "controllerFactory";
129
+ SubgraphControllerFactoryAdded_OrderBy["ControllerFactoryFeeRecipient"] = "controllerFactory__feeRecipient";
130
+ SubgraphControllerFactoryAdded_OrderBy["ControllerFactoryId"] = "controllerFactory__id";
131
+ SubgraphControllerFactoryAdded_OrderBy["ControllerFactoryIsRegistered"] = "controllerFactory__isRegistered";
132
+ SubgraphControllerFactoryAdded_OrderBy["ControllerFactoryOriginationFeeAmount"] = "controllerFactory__originationFeeAmount";
133
+ SubgraphControllerFactoryAdded_OrderBy["ControllerFactoryOriginationFeeAsset"] = "controllerFactory__originationFeeAsset";
134
+ SubgraphControllerFactoryAdded_OrderBy["ControllerFactoryProtocolFeeBips"] = "controllerFactory__protocolFeeBips";
135
+ SubgraphControllerFactoryAdded_OrderBy["ControllerFactorySentinel"] = "controllerFactory__sentinel";
136
+ SubgraphControllerFactoryAdded_OrderBy["Id"] = "id";
137
+ SubgraphControllerFactoryAdded_OrderBy["TransactionHash"] = "transactionHash";
138
+ })(SubgraphControllerFactoryAdded_OrderBy = exports.SubgraphControllerFactoryAdded_OrderBy || (exports.SubgraphControllerFactoryAdded_OrderBy = {}));
139
+ var SubgraphControllerFactoryRemoved_OrderBy;
140
+ (function (SubgraphControllerFactoryRemoved_OrderBy) {
141
+ SubgraphControllerFactoryRemoved_OrderBy["BlockNumber"] = "blockNumber";
142
+ SubgraphControllerFactoryRemoved_OrderBy["BlockTimestamp"] = "blockTimestamp";
143
+ SubgraphControllerFactoryRemoved_OrderBy["ControllerFactory"] = "controllerFactory";
144
+ SubgraphControllerFactoryRemoved_OrderBy["ControllerFactoryFeeRecipient"] = "controllerFactory__feeRecipient";
145
+ SubgraphControllerFactoryRemoved_OrderBy["ControllerFactoryId"] = "controllerFactory__id";
146
+ SubgraphControllerFactoryRemoved_OrderBy["ControllerFactoryIsRegistered"] = "controllerFactory__isRegistered";
147
+ SubgraphControllerFactoryRemoved_OrderBy["ControllerFactoryOriginationFeeAmount"] = "controllerFactory__originationFeeAmount";
148
+ SubgraphControllerFactoryRemoved_OrderBy["ControllerFactoryOriginationFeeAsset"] = "controllerFactory__originationFeeAsset";
149
+ SubgraphControllerFactoryRemoved_OrderBy["ControllerFactoryProtocolFeeBips"] = "controllerFactory__protocolFeeBips";
150
+ SubgraphControllerFactoryRemoved_OrderBy["ControllerFactorySentinel"] = "controllerFactory__sentinel";
151
+ SubgraphControllerFactoryRemoved_OrderBy["Id"] = "id";
152
+ SubgraphControllerFactoryRemoved_OrderBy["TransactionHash"] = "transactionHash";
153
+ })(SubgraphControllerFactoryRemoved_OrderBy = exports.SubgraphControllerFactoryRemoved_OrderBy || (exports.SubgraphControllerFactoryRemoved_OrderBy = {}));
154
+ var SubgraphControllerFactory_OrderBy;
155
+ (function (SubgraphControllerFactory_OrderBy) {
156
+ SubgraphControllerFactory_OrderBy["ArchController"] = "archController";
157
+ SubgraphControllerFactory_OrderBy["ArchControllerId"] = "archController__id";
158
+ SubgraphControllerFactory_OrderBy["Constraints"] = "constraints";
159
+ SubgraphControllerFactory_OrderBy["ConstraintsId"] = "constraints__id";
160
+ SubgraphControllerFactory_OrderBy["ConstraintsMaximumAnnualInterestBips"] = "constraints__maximumAnnualInterestBips";
161
+ SubgraphControllerFactory_OrderBy["ConstraintsMaximumDelinquencyFeeBips"] = "constraints__maximumDelinquencyFeeBips";
162
+ SubgraphControllerFactory_OrderBy["ConstraintsMaximumDelinquencyGracePeriod"] = "constraints__maximumDelinquencyGracePeriod";
163
+ SubgraphControllerFactory_OrderBy["ConstraintsMaximumReserveRatioBips"] = "constraints__maximumReserveRatioBips";
164
+ SubgraphControllerFactory_OrderBy["ConstraintsMaximumWithdrawalBatchDuration"] = "constraints__maximumWithdrawalBatchDuration";
165
+ SubgraphControllerFactory_OrderBy["ConstraintsMinimumAnnualInterestBips"] = "constraints__minimumAnnualInterestBips";
166
+ SubgraphControllerFactory_OrderBy["ConstraintsMinimumDelinquencyFeeBips"] = "constraints__minimumDelinquencyFeeBips";
167
+ SubgraphControllerFactory_OrderBy["ConstraintsMinimumDelinquencyGracePeriod"] = "constraints__minimumDelinquencyGracePeriod";
168
+ SubgraphControllerFactory_OrderBy["ConstraintsMinimumReserveRatioBips"] = "constraints__minimumReserveRatioBips";
169
+ SubgraphControllerFactory_OrderBy["ConstraintsMinimumWithdrawalBatchDuration"] = "constraints__minimumWithdrawalBatchDuration";
170
+ SubgraphControllerFactory_OrderBy["Controllers"] = "controllers";
171
+ SubgraphControllerFactory_OrderBy["FeeRecipient"] = "feeRecipient";
172
+ SubgraphControllerFactory_OrderBy["Id"] = "id";
173
+ SubgraphControllerFactory_OrderBy["IsRegistered"] = "isRegistered";
174
+ SubgraphControllerFactory_OrderBy["OriginationFeeAmount"] = "originationFeeAmount";
175
+ SubgraphControllerFactory_OrderBy["OriginationFeeAsset"] = "originationFeeAsset";
176
+ SubgraphControllerFactory_OrderBy["ProtocolFeeBips"] = "protocolFeeBips";
177
+ SubgraphControllerFactory_OrderBy["Removal"] = "removal";
178
+ SubgraphControllerFactory_OrderBy["RemovalBlockNumber"] = "removal__blockNumber";
179
+ SubgraphControllerFactory_OrderBy["RemovalBlockTimestamp"] = "removal__blockTimestamp";
180
+ SubgraphControllerFactory_OrderBy["RemovalId"] = "removal__id";
181
+ SubgraphControllerFactory_OrderBy["RemovalTransactionHash"] = "removal__transactionHash";
182
+ SubgraphControllerFactory_OrderBy["Sentinel"] = "sentinel";
183
+ })(SubgraphControllerFactory_OrderBy = exports.SubgraphControllerFactory_OrderBy || (exports.SubgraphControllerFactory_OrderBy = {}));
184
+ var SubgraphControllerRemoved_OrderBy;
185
+ (function (SubgraphControllerRemoved_OrderBy) {
186
+ SubgraphControllerRemoved_OrderBy["BlockNumber"] = "blockNumber";
187
+ SubgraphControllerRemoved_OrderBy["BlockTimestamp"] = "blockTimestamp";
188
+ SubgraphControllerRemoved_OrderBy["Controller"] = "controller";
189
+ SubgraphControllerRemoved_OrderBy["ControllerBorrower"] = "controller__borrower";
190
+ SubgraphControllerRemoved_OrderBy["ControllerId"] = "controller__id";
191
+ SubgraphControllerRemoved_OrderBy["ControllerIsRegistered"] = "controller__isRegistered";
192
+ SubgraphControllerRemoved_OrderBy["Id"] = "id";
193
+ SubgraphControllerRemoved_OrderBy["TransactionHash"] = "transactionHash";
194
+ })(SubgraphControllerRemoved_OrderBy = exports.SubgraphControllerRemoved_OrderBy || (exports.SubgraphControllerRemoved_OrderBy = {}));
195
+ var SubgraphController_OrderBy;
196
+ (function (SubgraphController_OrderBy) {
197
+ SubgraphController_OrderBy["ArchController"] = "archController";
198
+ SubgraphController_OrderBy["ArchControllerId"] = "archController__id";
199
+ SubgraphController_OrderBy["AuthorizationChanges"] = "authorizationChanges";
200
+ SubgraphController_OrderBy["AuthorizedLenders"] = "authorizedLenders";
201
+ SubgraphController_OrderBy["Borrower"] = "borrower";
202
+ SubgraphController_OrderBy["ControllerFactory"] = "controllerFactory";
203
+ SubgraphController_OrderBy["ControllerFactoryFeeRecipient"] = "controllerFactory__feeRecipient";
204
+ SubgraphController_OrderBy["ControllerFactoryId"] = "controllerFactory__id";
205
+ SubgraphController_OrderBy["ControllerFactoryIsRegistered"] = "controllerFactory__isRegistered";
206
+ SubgraphController_OrderBy["ControllerFactoryOriginationFeeAmount"] = "controllerFactory__originationFeeAmount";
207
+ SubgraphController_OrderBy["ControllerFactoryOriginationFeeAsset"] = "controllerFactory__originationFeeAsset";
208
+ SubgraphController_OrderBy["ControllerFactoryProtocolFeeBips"] = "controllerFactory__protocolFeeBips";
209
+ SubgraphController_OrderBy["ControllerFactorySentinel"] = "controllerFactory__sentinel";
210
+ SubgraphController_OrderBy["Id"] = "id";
211
+ SubgraphController_OrderBy["IsRegistered"] = "isRegistered";
212
+ SubgraphController_OrderBy["Markets"] = "markets";
213
+ SubgraphController_OrderBy["Removal"] = "removal";
214
+ SubgraphController_OrderBy["RemovalBlockNumber"] = "removal__blockNumber";
215
+ SubgraphController_OrderBy["RemovalBlockTimestamp"] = "removal__blockTimestamp";
216
+ SubgraphController_OrderBy["RemovalId"] = "removal__id";
217
+ SubgraphController_OrderBy["RemovalTransactionHash"] = "removal__transactionHash";
218
+ })(SubgraphController_OrderBy = exports.SubgraphController_OrderBy || (exports.SubgraphController_OrderBy = {}));
219
+ var SubgraphDebtRepaid_OrderBy;
220
+ (function (SubgraphDebtRepaid_OrderBy) {
221
+ SubgraphDebtRepaid_OrderBy["AssetAmount"] = "assetAmount";
222
+ SubgraphDebtRepaid_OrderBy["BlockNumber"] = "blockNumber";
223
+ SubgraphDebtRepaid_OrderBy["BlockTimestamp"] = "blockTimestamp";
224
+ SubgraphDebtRepaid_OrderBy["From"] = "from";
225
+ SubgraphDebtRepaid_OrderBy["Id"] = "id";
226
+ SubgraphDebtRepaid_OrderBy["Market"] = "market";
227
+ SubgraphDebtRepaid_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
228
+ SubgraphDebtRepaid_OrderBy["MarketBorrower"] = "market__borrower";
229
+ SubgraphDebtRepaid_OrderBy["MarketDecimals"] = "market__decimals";
230
+ SubgraphDebtRepaid_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
231
+ SubgraphDebtRepaid_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
232
+ SubgraphDebtRepaid_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
233
+ SubgraphDebtRepaid_OrderBy["MarketId"] = "market__id";
234
+ SubgraphDebtRepaid_OrderBy["MarketIsClosed"] = "market__isClosed";
235
+ SubgraphDebtRepaid_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
236
+ SubgraphDebtRepaid_OrderBy["MarketIsRegistered"] = "market__isRegistered";
237
+ SubgraphDebtRepaid_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
238
+ SubgraphDebtRepaid_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
239
+ SubgraphDebtRepaid_OrderBy["MarketName"] = "market__name";
240
+ SubgraphDebtRepaid_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
241
+ SubgraphDebtRepaid_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
242
+ SubgraphDebtRepaid_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
243
+ SubgraphDebtRepaid_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
244
+ SubgraphDebtRepaid_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
245
+ SubgraphDebtRepaid_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
246
+ SubgraphDebtRepaid_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
247
+ SubgraphDebtRepaid_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
248
+ SubgraphDebtRepaid_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
249
+ SubgraphDebtRepaid_OrderBy["MarketSentinel"] = "market__sentinel";
250
+ SubgraphDebtRepaid_OrderBy["MarketSymbol"] = "market__symbol";
251
+ SubgraphDebtRepaid_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
252
+ SubgraphDebtRepaid_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
253
+ SubgraphDebtRepaid_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
254
+ SubgraphDebtRepaid_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
255
+ SubgraphDebtRepaid_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
256
+ SubgraphDebtRepaid_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
257
+ SubgraphDebtRepaid_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
258
+ SubgraphDebtRepaid_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
259
+ SubgraphDebtRepaid_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
260
+ SubgraphDebtRepaid_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
261
+ SubgraphDebtRepaid_OrderBy["TransactionHash"] = "transactionHash";
262
+ })(SubgraphDebtRepaid_OrderBy = exports.SubgraphDebtRepaid_OrderBy || (exports.SubgraphDebtRepaid_OrderBy = {}));
263
+ var SubgraphDelinquencyStatusChanged_OrderBy;
264
+ (function (SubgraphDelinquencyStatusChanged_OrderBy) {
265
+ SubgraphDelinquencyStatusChanged_OrderBy["BlockNumber"] = "blockNumber";
266
+ SubgraphDelinquencyStatusChanged_OrderBy["BlockTimestamp"] = "blockTimestamp";
267
+ SubgraphDelinquencyStatusChanged_OrderBy["Id"] = "id";
268
+ SubgraphDelinquencyStatusChanged_OrderBy["IsDelinquent"] = "isDelinquent";
269
+ SubgraphDelinquencyStatusChanged_OrderBy["LiquidityCoverageRequired"] = "liquidityCoverageRequired";
270
+ SubgraphDelinquencyStatusChanged_OrderBy["Market"] = "market";
271
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
272
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketBorrower"] = "market__borrower";
273
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketDecimals"] = "market__decimals";
274
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
275
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
276
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
277
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketId"] = "market__id";
278
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketIsClosed"] = "market__isClosed";
279
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
280
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketIsRegistered"] = "market__isRegistered";
281
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
282
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
283
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketName"] = "market__name";
284
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
285
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
286
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
287
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
288
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
289
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
290
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
291
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
292
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
293
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketSentinel"] = "market__sentinel";
294
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketSymbol"] = "market__symbol";
295
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
296
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
297
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
298
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
299
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
300
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
301
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
302
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
303
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
304
+ SubgraphDelinquencyStatusChanged_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
305
+ SubgraphDelinquencyStatusChanged_OrderBy["TotalAssets"] = "totalAssets";
306
+ SubgraphDelinquencyStatusChanged_OrderBy["TransactionHash"] = "transactionHash";
307
+ })(SubgraphDelinquencyStatusChanged_OrderBy = exports.SubgraphDelinquencyStatusChanged_OrderBy || (exports.SubgraphDelinquencyStatusChanged_OrderBy = {}));
308
+ var SubgraphDeposit_OrderBy;
309
+ (function (SubgraphDeposit_OrderBy) {
310
+ SubgraphDeposit_OrderBy["Account"] = "account";
311
+ SubgraphDeposit_OrderBy["AccountAddress"] = "account__address";
312
+ SubgraphDeposit_OrderBy["AccountId"] = "account__id";
313
+ SubgraphDeposit_OrderBy["AccountLastScaleFactor"] = "account__lastScaleFactor";
314
+ SubgraphDeposit_OrderBy["AccountLastUpdatedTimestamp"] = "account__lastUpdatedTimestamp";
315
+ SubgraphDeposit_OrderBy["AccountNumPendingWithdrawalBatches"] = "account__numPendingWithdrawalBatches";
316
+ SubgraphDeposit_OrderBy["AccountRole"] = "account__role";
317
+ SubgraphDeposit_OrderBy["AccountScaledBalance"] = "account__scaledBalance";
318
+ SubgraphDeposit_OrderBy["AccountTotalDeposited"] = "account__totalDeposited";
319
+ SubgraphDeposit_OrderBy["AccountTotalInterestEarned"] = "account__totalInterestEarned";
320
+ SubgraphDeposit_OrderBy["AssetAmount"] = "assetAmount";
321
+ SubgraphDeposit_OrderBy["BlockNumber"] = "blockNumber";
322
+ SubgraphDeposit_OrderBy["BlockTimestamp"] = "blockTimestamp";
323
+ SubgraphDeposit_OrderBy["Id"] = "id";
324
+ SubgraphDeposit_OrderBy["Market"] = "market";
325
+ SubgraphDeposit_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
326
+ SubgraphDeposit_OrderBy["MarketBorrower"] = "market__borrower";
327
+ SubgraphDeposit_OrderBy["MarketDecimals"] = "market__decimals";
328
+ SubgraphDeposit_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
329
+ SubgraphDeposit_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
330
+ SubgraphDeposit_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
331
+ SubgraphDeposit_OrderBy["MarketId"] = "market__id";
332
+ SubgraphDeposit_OrderBy["MarketIsClosed"] = "market__isClosed";
333
+ SubgraphDeposit_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
334
+ SubgraphDeposit_OrderBy["MarketIsRegistered"] = "market__isRegistered";
335
+ SubgraphDeposit_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
336
+ SubgraphDeposit_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
337
+ SubgraphDeposit_OrderBy["MarketName"] = "market__name";
338
+ SubgraphDeposit_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
339
+ SubgraphDeposit_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
340
+ SubgraphDeposit_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
341
+ SubgraphDeposit_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
342
+ SubgraphDeposit_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
343
+ SubgraphDeposit_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
344
+ SubgraphDeposit_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
345
+ SubgraphDeposit_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
346
+ SubgraphDeposit_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
347
+ SubgraphDeposit_OrderBy["MarketSentinel"] = "market__sentinel";
348
+ SubgraphDeposit_OrderBy["MarketSymbol"] = "market__symbol";
349
+ SubgraphDeposit_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
350
+ SubgraphDeposit_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
351
+ SubgraphDeposit_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
352
+ SubgraphDeposit_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
353
+ SubgraphDeposit_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
354
+ SubgraphDeposit_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
355
+ SubgraphDeposit_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
356
+ SubgraphDeposit_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
357
+ SubgraphDeposit_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
358
+ SubgraphDeposit_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
359
+ SubgraphDeposit_OrderBy["ScaledAmount"] = "scaledAmount";
360
+ SubgraphDeposit_OrderBy["TransactionHash"] = "transactionHash";
361
+ })(SubgraphDeposit_OrderBy = exports.SubgraphDeposit_OrderBy || (exports.SubgraphDeposit_OrderBy = {}));
362
+ var SubgraphFeesCollected_OrderBy;
363
+ (function (SubgraphFeesCollected_OrderBy) {
364
+ SubgraphFeesCollected_OrderBy["BlockNumber"] = "blockNumber";
365
+ SubgraphFeesCollected_OrderBy["BlockTimestamp"] = "blockTimestamp";
366
+ SubgraphFeesCollected_OrderBy["FeesCollected"] = "feesCollected";
367
+ SubgraphFeesCollected_OrderBy["Id"] = "id";
368
+ SubgraphFeesCollected_OrderBy["Market"] = "market";
369
+ SubgraphFeesCollected_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
370
+ SubgraphFeesCollected_OrderBy["MarketBorrower"] = "market__borrower";
371
+ SubgraphFeesCollected_OrderBy["MarketDecimals"] = "market__decimals";
372
+ SubgraphFeesCollected_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
373
+ SubgraphFeesCollected_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
374
+ SubgraphFeesCollected_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
375
+ SubgraphFeesCollected_OrderBy["MarketId"] = "market__id";
376
+ SubgraphFeesCollected_OrderBy["MarketIsClosed"] = "market__isClosed";
377
+ SubgraphFeesCollected_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
378
+ SubgraphFeesCollected_OrderBy["MarketIsRegistered"] = "market__isRegistered";
379
+ SubgraphFeesCollected_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
380
+ SubgraphFeesCollected_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
381
+ SubgraphFeesCollected_OrderBy["MarketName"] = "market__name";
382
+ SubgraphFeesCollected_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
383
+ SubgraphFeesCollected_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
384
+ SubgraphFeesCollected_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
385
+ SubgraphFeesCollected_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
386
+ SubgraphFeesCollected_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
387
+ SubgraphFeesCollected_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
388
+ SubgraphFeesCollected_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
389
+ SubgraphFeesCollected_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
390
+ SubgraphFeesCollected_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
391
+ SubgraphFeesCollected_OrderBy["MarketSentinel"] = "market__sentinel";
392
+ SubgraphFeesCollected_OrderBy["MarketSymbol"] = "market__symbol";
393
+ SubgraphFeesCollected_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
394
+ SubgraphFeesCollected_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
395
+ SubgraphFeesCollected_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
396
+ SubgraphFeesCollected_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
397
+ SubgraphFeesCollected_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
398
+ SubgraphFeesCollected_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
399
+ SubgraphFeesCollected_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
400
+ SubgraphFeesCollected_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
401
+ SubgraphFeesCollected_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
402
+ SubgraphFeesCollected_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
403
+ SubgraphFeesCollected_OrderBy["TransactionHash"] = "transactionHash";
404
+ })(SubgraphFeesCollected_OrderBy = exports.SubgraphFeesCollected_OrderBy || (exports.SubgraphFeesCollected_OrderBy = {}));
405
+ var SubgraphLenderAccount_OrderBy;
406
+ (function (SubgraphLenderAccount_OrderBy) {
407
+ SubgraphLenderAccount_OrderBy["Address"] = "address";
408
+ SubgraphLenderAccount_OrderBy["ControllerAuthorization"] = "controllerAuthorization";
409
+ SubgraphLenderAccount_OrderBy["ControllerAuthorizationAuthorized"] = "controllerAuthorization__authorized";
410
+ SubgraphLenderAccount_OrderBy["ControllerAuthorizationId"] = "controllerAuthorization__id";
411
+ SubgraphLenderAccount_OrderBy["ControllerAuthorizationLender"] = "controllerAuthorization__lender";
412
+ SubgraphLenderAccount_OrderBy["Deposits"] = "deposits";
413
+ SubgraphLenderAccount_OrderBy["Id"] = "id";
414
+ SubgraphLenderAccount_OrderBy["InterestAccrualRecords"] = "interestAccrualRecords";
415
+ SubgraphLenderAccount_OrderBy["LastScaleFactor"] = "lastScaleFactor";
416
+ SubgraphLenderAccount_OrderBy["LastUpdatedTimestamp"] = "lastUpdatedTimestamp";
417
+ SubgraphLenderAccount_OrderBy["Market"] = "market";
418
+ SubgraphLenderAccount_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
419
+ SubgraphLenderAccount_OrderBy["MarketBorrower"] = "market__borrower";
420
+ SubgraphLenderAccount_OrderBy["MarketDecimals"] = "market__decimals";
421
+ SubgraphLenderAccount_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
422
+ SubgraphLenderAccount_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
423
+ SubgraphLenderAccount_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
424
+ SubgraphLenderAccount_OrderBy["MarketId"] = "market__id";
425
+ SubgraphLenderAccount_OrderBy["MarketIsClosed"] = "market__isClosed";
426
+ SubgraphLenderAccount_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
427
+ SubgraphLenderAccount_OrderBy["MarketIsRegistered"] = "market__isRegistered";
428
+ SubgraphLenderAccount_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
429
+ SubgraphLenderAccount_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
430
+ SubgraphLenderAccount_OrderBy["MarketName"] = "market__name";
431
+ SubgraphLenderAccount_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
432
+ SubgraphLenderAccount_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
433
+ SubgraphLenderAccount_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
434
+ SubgraphLenderAccount_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
435
+ SubgraphLenderAccount_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
436
+ SubgraphLenderAccount_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
437
+ SubgraphLenderAccount_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
438
+ SubgraphLenderAccount_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
439
+ SubgraphLenderAccount_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
440
+ SubgraphLenderAccount_OrderBy["MarketSentinel"] = "market__sentinel";
441
+ SubgraphLenderAccount_OrderBy["MarketSymbol"] = "market__symbol";
442
+ SubgraphLenderAccount_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
443
+ SubgraphLenderAccount_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
444
+ SubgraphLenderAccount_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
445
+ SubgraphLenderAccount_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
446
+ SubgraphLenderAccount_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
447
+ SubgraphLenderAccount_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
448
+ SubgraphLenderAccount_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
449
+ SubgraphLenderAccount_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
450
+ SubgraphLenderAccount_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
451
+ SubgraphLenderAccount_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
452
+ SubgraphLenderAccount_OrderBy["NumPendingWithdrawalBatches"] = "numPendingWithdrawalBatches";
453
+ SubgraphLenderAccount_OrderBy["Role"] = "role";
454
+ SubgraphLenderAccount_OrderBy["ScaledBalance"] = "scaledBalance";
455
+ SubgraphLenderAccount_OrderBy["TotalDeposited"] = "totalDeposited";
456
+ SubgraphLenderAccount_OrderBy["TotalInterestEarned"] = "totalInterestEarned";
457
+ SubgraphLenderAccount_OrderBy["Withdrawals"] = "withdrawals";
458
+ })(SubgraphLenderAccount_OrderBy = exports.SubgraphLenderAccount_OrderBy || (exports.SubgraphLenderAccount_OrderBy = {}));
459
+ var SubgraphLenderAuthorizationChange_OrderBy;
460
+ (function (SubgraphLenderAuthorizationChange_OrderBy) {
461
+ SubgraphLenderAuthorizationChange_OrderBy["Authorization"] = "authorization";
462
+ SubgraphLenderAuthorizationChange_OrderBy["AuthorizationAuthorized"] = "authorization__authorized";
463
+ SubgraphLenderAuthorizationChange_OrderBy["AuthorizationId"] = "authorization__id";
464
+ SubgraphLenderAuthorizationChange_OrderBy["AuthorizationLender"] = "authorization__lender";
465
+ SubgraphLenderAuthorizationChange_OrderBy["Authorized"] = "authorized";
466
+ SubgraphLenderAuthorizationChange_OrderBy["BlockNumber"] = "blockNumber";
467
+ SubgraphLenderAuthorizationChange_OrderBy["BlockTimestamp"] = "blockTimestamp";
468
+ SubgraphLenderAuthorizationChange_OrderBy["Controller"] = "controller";
469
+ SubgraphLenderAuthorizationChange_OrderBy["ControllerBorrower"] = "controller__borrower";
470
+ SubgraphLenderAuthorizationChange_OrderBy["ControllerId"] = "controller__id";
471
+ SubgraphLenderAuthorizationChange_OrderBy["ControllerIsRegistered"] = "controller__isRegistered";
472
+ SubgraphLenderAuthorizationChange_OrderBy["Id"] = "id";
473
+ SubgraphLenderAuthorizationChange_OrderBy["Lender"] = "lender";
474
+ SubgraphLenderAuthorizationChange_OrderBy["TransactionHash"] = "transactionHash";
475
+ })(SubgraphLenderAuthorizationChange_OrderBy = exports.SubgraphLenderAuthorizationChange_OrderBy || (exports.SubgraphLenderAuthorizationChange_OrderBy = {}));
476
+ var SubgraphLenderAuthorization_OrderBy;
477
+ (function (SubgraphLenderAuthorization_OrderBy) {
478
+ SubgraphLenderAuthorization_OrderBy["Authorized"] = "authorized";
479
+ SubgraphLenderAuthorization_OrderBy["Changes"] = "changes";
480
+ SubgraphLenderAuthorization_OrderBy["Controller"] = "controller";
481
+ SubgraphLenderAuthorization_OrderBy["ControllerBorrower"] = "controller__borrower";
482
+ SubgraphLenderAuthorization_OrderBy["ControllerId"] = "controller__id";
483
+ SubgraphLenderAuthorization_OrderBy["ControllerIsRegistered"] = "controller__isRegistered";
484
+ SubgraphLenderAuthorization_OrderBy["Id"] = "id";
485
+ SubgraphLenderAuthorization_OrderBy["Lender"] = "lender";
486
+ SubgraphLenderAuthorization_OrderBy["MarketAccounts"] = "marketAccounts";
487
+ })(SubgraphLenderAuthorization_OrderBy = exports.SubgraphLenderAuthorization_OrderBy || (exports.SubgraphLenderAuthorization_OrderBy = {}));
488
+ var SubgraphLenderInterestAccrued_OrderBy;
489
+ (function (SubgraphLenderInterestAccrued_OrderBy) {
490
+ SubgraphLenderInterestAccrued_OrderBy["Account"] = "account";
491
+ SubgraphLenderInterestAccrued_OrderBy["AccountAddress"] = "account__address";
492
+ SubgraphLenderInterestAccrued_OrderBy["AccountId"] = "account__id";
493
+ SubgraphLenderInterestAccrued_OrderBy["AccountLastScaleFactor"] = "account__lastScaleFactor";
494
+ SubgraphLenderInterestAccrued_OrderBy["AccountLastUpdatedTimestamp"] = "account__lastUpdatedTimestamp";
495
+ SubgraphLenderInterestAccrued_OrderBy["AccountNumPendingWithdrawalBatches"] = "account__numPendingWithdrawalBatches";
496
+ SubgraphLenderInterestAccrued_OrderBy["AccountRole"] = "account__role";
497
+ SubgraphLenderInterestAccrued_OrderBy["AccountScaledBalance"] = "account__scaledBalance";
498
+ SubgraphLenderInterestAccrued_OrderBy["AccountTotalDeposited"] = "account__totalDeposited";
499
+ SubgraphLenderInterestAccrued_OrderBy["AccountTotalInterestEarned"] = "account__totalInterestEarned";
500
+ SubgraphLenderInterestAccrued_OrderBy["BlockNumber"] = "blockNumber";
501
+ SubgraphLenderInterestAccrued_OrderBy["BlockTimestamp"] = "blockTimestamp";
502
+ SubgraphLenderInterestAccrued_OrderBy["Id"] = "id";
503
+ SubgraphLenderInterestAccrued_OrderBy["InterestEarned"] = "interestEarned";
504
+ SubgraphLenderInterestAccrued_OrderBy["Market"] = "market";
505
+ SubgraphLenderInterestAccrued_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
506
+ SubgraphLenderInterestAccrued_OrderBy["MarketBorrower"] = "market__borrower";
507
+ SubgraphLenderInterestAccrued_OrderBy["MarketDecimals"] = "market__decimals";
508
+ SubgraphLenderInterestAccrued_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
509
+ SubgraphLenderInterestAccrued_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
510
+ SubgraphLenderInterestAccrued_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
511
+ SubgraphLenderInterestAccrued_OrderBy["MarketId"] = "market__id";
512
+ SubgraphLenderInterestAccrued_OrderBy["MarketIsClosed"] = "market__isClosed";
513
+ SubgraphLenderInterestAccrued_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
514
+ SubgraphLenderInterestAccrued_OrderBy["MarketIsRegistered"] = "market__isRegistered";
515
+ SubgraphLenderInterestAccrued_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
516
+ SubgraphLenderInterestAccrued_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
517
+ SubgraphLenderInterestAccrued_OrderBy["MarketName"] = "market__name";
518
+ SubgraphLenderInterestAccrued_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
519
+ SubgraphLenderInterestAccrued_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
520
+ SubgraphLenderInterestAccrued_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
521
+ SubgraphLenderInterestAccrued_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
522
+ SubgraphLenderInterestAccrued_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
523
+ SubgraphLenderInterestAccrued_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
524
+ SubgraphLenderInterestAccrued_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
525
+ SubgraphLenderInterestAccrued_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
526
+ SubgraphLenderInterestAccrued_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
527
+ SubgraphLenderInterestAccrued_OrderBy["MarketSentinel"] = "market__sentinel";
528
+ SubgraphLenderInterestAccrued_OrderBy["MarketSymbol"] = "market__symbol";
529
+ SubgraphLenderInterestAccrued_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
530
+ SubgraphLenderInterestAccrued_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
531
+ SubgraphLenderInterestAccrued_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
532
+ SubgraphLenderInterestAccrued_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
533
+ SubgraphLenderInterestAccrued_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
534
+ SubgraphLenderInterestAccrued_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
535
+ SubgraphLenderInterestAccrued_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
536
+ SubgraphLenderInterestAccrued_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
537
+ SubgraphLenderInterestAccrued_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
538
+ SubgraphLenderInterestAccrued_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
539
+ SubgraphLenderInterestAccrued_OrderBy["TransactionHash"] = "transactionHash";
540
+ })(SubgraphLenderInterestAccrued_OrderBy = exports.SubgraphLenderInterestAccrued_OrderBy || (exports.SubgraphLenderInterestAccrued_OrderBy = {}));
541
+ var SubgraphLenderStatus;
542
+ (function (SubgraphLenderStatus) {
543
+ SubgraphLenderStatus["Blocked"] = "Blocked";
544
+ SubgraphLenderStatus["DepositAndWithdraw"] = "DepositAndWithdraw";
545
+ SubgraphLenderStatus["Null"] = "Null";
546
+ SubgraphLenderStatus["WithdrawOnly"] = "WithdrawOnly";
547
+ })(SubgraphLenderStatus = exports.SubgraphLenderStatus || (exports.SubgraphLenderStatus = {}));
548
+ var SubgraphLenderWithdrawalStatus_OrderBy;
549
+ (function (SubgraphLenderWithdrawalStatus_OrderBy) {
550
+ SubgraphLenderWithdrawalStatus_OrderBy["Account"] = "account";
551
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountAddress"] = "account__address";
552
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountId"] = "account__id";
553
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountLastScaleFactor"] = "account__lastScaleFactor";
554
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountLastUpdatedTimestamp"] = "account__lastUpdatedTimestamp";
555
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountNumPendingWithdrawalBatches"] = "account__numPendingWithdrawalBatches";
556
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountRole"] = "account__role";
557
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountScaledBalance"] = "account__scaledBalance";
558
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountTotalDeposited"] = "account__totalDeposited";
559
+ SubgraphLenderWithdrawalStatus_OrderBy["AccountTotalInterestEarned"] = "account__totalInterestEarned";
560
+ SubgraphLenderWithdrawalStatus_OrderBy["Batch"] = "batch";
561
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchExpiry"] = "batch__expiry";
562
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchId"] = "batch__id";
563
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchIsClosed"] = "batch__isClosed";
564
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchIsExpired"] = "batch__isExpired";
565
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchLastScaleFactor"] = "batch__lastScaleFactor";
566
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchLastUpdatedTimestamp"] = "batch__lastUpdatedTimestamp";
567
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchNormalizedAmountClaimed"] = "batch__normalizedAmountClaimed";
568
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchNormalizedAmountPaid"] = "batch__normalizedAmountPaid";
569
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchPaymentsCount"] = "batch__paymentsCount";
570
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchScaledAmountBurned"] = "batch__scaledAmountBurned";
571
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchScaledTotalAmount"] = "batch__scaledTotalAmount";
572
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchTotalInterestEarned"] = "batch__totalInterestEarned";
573
+ SubgraphLenderWithdrawalStatus_OrderBy["BatchTotalNormalizedRequests"] = "batch__totalNormalizedRequests";
574
+ SubgraphLenderWithdrawalStatus_OrderBy["Executions"] = "executions";
575
+ SubgraphLenderWithdrawalStatus_OrderBy["ExecutionsCount"] = "executionsCount";
576
+ SubgraphLenderWithdrawalStatus_OrderBy["Id"] = "id";
577
+ SubgraphLenderWithdrawalStatus_OrderBy["IsCompleted"] = "isCompleted";
578
+ SubgraphLenderWithdrawalStatus_OrderBy["NormalizedAmountWithdrawn"] = "normalizedAmountWithdrawn";
579
+ SubgraphLenderWithdrawalStatus_OrderBy["Requests"] = "requests";
580
+ SubgraphLenderWithdrawalStatus_OrderBy["RequestsCount"] = "requestsCount";
581
+ SubgraphLenderWithdrawalStatus_OrderBy["ScaledAmount"] = "scaledAmount";
582
+ SubgraphLenderWithdrawalStatus_OrderBy["TotalNormalizedRequests"] = "totalNormalizedRequests";
583
+ })(SubgraphLenderWithdrawalStatus_OrderBy = exports.SubgraphLenderWithdrawalStatus_OrderBy || (exports.SubgraphLenderWithdrawalStatus_OrderBy = {}));
584
+ var SubgraphMarketAdded_OrderBy;
585
+ (function (SubgraphMarketAdded_OrderBy) {
586
+ SubgraphMarketAdded_OrderBy["BlockNumber"] = "blockNumber";
587
+ SubgraphMarketAdded_OrderBy["BlockTimestamp"] = "blockTimestamp";
588
+ SubgraphMarketAdded_OrderBy["Controller"] = "controller";
589
+ SubgraphMarketAdded_OrderBy["ControllerBorrower"] = "controller__borrower";
590
+ SubgraphMarketAdded_OrderBy["ControllerId"] = "controller__id";
591
+ SubgraphMarketAdded_OrderBy["ControllerIsRegistered"] = "controller__isRegistered";
592
+ SubgraphMarketAdded_OrderBy["Id"] = "id";
593
+ SubgraphMarketAdded_OrderBy["Market"] = "market";
594
+ SubgraphMarketAdded_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
595
+ SubgraphMarketAdded_OrderBy["MarketBorrower"] = "market__borrower";
596
+ SubgraphMarketAdded_OrderBy["MarketDecimals"] = "market__decimals";
597
+ SubgraphMarketAdded_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
598
+ SubgraphMarketAdded_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
599
+ SubgraphMarketAdded_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
600
+ SubgraphMarketAdded_OrderBy["MarketId"] = "market__id";
601
+ SubgraphMarketAdded_OrderBy["MarketIsClosed"] = "market__isClosed";
602
+ SubgraphMarketAdded_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
603
+ SubgraphMarketAdded_OrderBy["MarketIsRegistered"] = "market__isRegistered";
604
+ SubgraphMarketAdded_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
605
+ SubgraphMarketAdded_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
606
+ SubgraphMarketAdded_OrderBy["MarketName"] = "market__name";
607
+ SubgraphMarketAdded_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
608
+ SubgraphMarketAdded_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
609
+ SubgraphMarketAdded_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
610
+ SubgraphMarketAdded_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
611
+ SubgraphMarketAdded_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
612
+ SubgraphMarketAdded_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
613
+ SubgraphMarketAdded_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
614
+ SubgraphMarketAdded_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
615
+ SubgraphMarketAdded_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
616
+ SubgraphMarketAdded_OrderBy["MarketSentinel"] = "market__sentinel";
617
+ SubgraphMarketAdded_OrderBy["MarketSymbol"] = "market__symbol";
618
+ SubgraphMarketAdded_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
619
+ SubgraphMarketAdded_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
620
+ SubgraphMarketAdded_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
621
+ SubgraphMarketAdded_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
622
+ SubgraphMarketAdded_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
623
+ SubgraphMarketAdded_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
624
+ SubgraphMarketAdded_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
625
+ SubgraphMarketAdded_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
626
+ SubgraphMarketAdded_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
627
+ SubgraphMarketAdded_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
628
+ SubgraphMarketAdded_OrderBy["TransactionHash"] = "transactionHash";
629
+ })(SubgraphMarketAdded_OrderBy = exports.SubgraphMarketAdded_OrderBy || (exports.SubgraphMarketAdded_OrderBy = {}));
630
+ var SubgraphMarketClosed_OrderBy;
631
+ (function (SubgraphMarketClosed_OrderBy) {
632
+ SubgraphMarketClosed_OrderBy["BlockNumber"] = "blockNumber";
633
+ SubgraphMarketClosed_OrderBy["BlockTimestamp"] = "blockTimestamp";
634
+ SubgraphMarketClosed_OrderBy["Id"] = "id";
635
+ SubgraphMarketClosed_OrderBy["Market"] = "market";
636
+ SubgraphMarketClosed_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
637
+ SubgraphMarketClosed_OrderBy["MarketBorrower"] = "market__borrower";
638
+ SubgraphMarketClosed_OrderBy["MarketDecimals"] = "market__decimals";
639
+ SubgraphMarketClosed_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
640
+ SubgraphMarketClosed_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
641
+ SubgraphMarketClosed_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
642
+ SubgraphMarketClosed_OrderBy["MarketId"] = "market__id";
643
+ SubgraphMarketClosed_OrderBy["MarketIsClosed"] = "market__isClosed";
644
+ SubgraphMarketClosed_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
645
+ SubgraphMarketClosed_OrderBy["MarketIsRegistered"] = "market__isRegistered";
646
+ SubgraphMarketClosed_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
647
+ SubgraphMarketClosed_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
648
+ SubgraphMarketClosed_OrderBy["MarketName"] = "market__name";
649
+ SubgraphMarketClosed_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
650
+ SubgraphMarketClosed_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
651
+ SubgraphMarketClosed_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
652
+ SubgraphMarketClosed_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
653
+ SubgraphMarketClosed_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
654
+ SubgraphMarketClosed_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
655
+ SubgraphMarketClosed_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
656
+ SubgraphMarketClosed_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
657
+ SubgraphMarketClosed_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
658
+ SubgraphMarketClosed_OrderBy["MarketSentinel"] = "market__sentinel";
659
+ SubgraphMarketClosed_OrderBy["MarketSymbol"] = "market__symbol";
660
+ SubgraphMarketClosed_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
661
+ SubgraphMarketClosed_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
662
+ SubgraphMarketClosed_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
663
+ SubgraphMarketClosed_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
664
+ SubgraphMarketClosed_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
665
+ SubgraphMarketClosed_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
666
+ SubgraphMarketClosed_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
667
+ SubgraphMarketClosed_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
668
+ SubgraphMarketClosed_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
669
+ SubgraphMarketClosed_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
670
+ SubgraphMarketClosed_OrderBy["Timestamp"] = "timestamp";
671
+ SubgraphMarketClosed_OrderBy["TransactionHash"] = "transactionHash";
672
+ })(SubgraphMarketClosed_OrderBy = exports.SubgraphMarketClosed_OrderBy || (exports.SubgraphMarketClosed_OrderBy = {}));
673
+ var SubgraphMarketDeployed_OrderBy;
674
+ (function (SubgraphMarketDeployed_OrderBy) {
675
+ SubgraphMarketDeployed_OrderBy["BlockNumber"] = "blockNumber";
676
+ SubgraphMarketDeployed_OrderBy["BlockTimestamp"] = "blockTimestamp";
677
+ SubgraphMarketDeployed_OrderBy["Id"] = "id";
678
+ SubgraphMarketDeployed_OrderBy["Market"] = "market";
679
+ SubgraphMarketDeployed_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
680
+ SubgraphMarketDeployed_OrderBy["MarketBorrower"] = "market__borrower";
681
+ SubgraphMarketDeployed_OrderBy["MarketDecimals"] = "market__decimals";
682
+ SubgraphMarketDeployed_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
683
+ SubgraphMarketDeployed_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
684
+ SubgraphMarketDeployed_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
685
+ SubgraphMarketDeployed_OrderBy["MarketId"] = "market__id";
686
+ SubgraphMarketDeployed_OrderBy["MarketIsClosed"] = "market__isClosed";
687
+ SubgraphMarketDeployed_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
688
+ SubgraphMarketDeployed_OrderBy["MarketIsRegistered"] = "market__isRegistered";
689
+ SubgraphMarketDeployed_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
690
+ SubgraphMarketDeployed_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
691
+ SubgraphMarketDeployed_OrderBy["MarketName"] = "market__name";
692
+ SubgraphMarketDeployed_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
693
+ SubgraphMarketDeployed_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
694
+ SubgraphMarketDeployed_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
695
+ SubgraphMarketDeployed_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
696
+ SubgraphMarketDeployed_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
697
+ SubgraphMarketDeployed_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
698
+ SubgraphMarketDeployed_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
699
+ SubgraphMarketDeployed_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
700
+ SubgraphMarketDeployed_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
701
+ SubgraphMarketDeployed_OrderBy["MarketSentinel"] = "market__sentinel";
702
+ SubgraphMarketDeployed_OrderBy["MarketSymbol"] = "market__symbol";
703
+ SubgraphMarketDeployed_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
704
+ SubgraphMarketDeployed_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
705
+ SubgraphMarketDeployed_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
706
+ SubgraphMarketDeployed_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
707
+ SubgraphMarketDeployed_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
708
+ SubgraphMarketDeployed_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
709
+ SubgraphMarketDeployed_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
710
+ SubgraphMarketDeployed_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
711
+ SubgraphMarketDeployed_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
712
+ SubgraphMarketDeployed_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
713
+ SubgraphMarketDeployed_OrderBy["TransactionHash"] = "transactionHash";
714
+ })(SubgraphMarketDeployed_OrderBy = exports.SubgraphMarketDeployed_OrderBy || (exports.SubgraphMarketDeployed_OrderBy = {}));
715
+ var SubgraphMarketInterestAccrued_OrderBy;
716
+ (function (SubgraphMarketInterestAccrued_OrderBy) {
717
+ SubgraphMarketInterestAccrued_OrderBy["BaseInterestAccrued"] = "baseInterestAccrued";
718
+ SubgraphMarketInterestAccrued_OrderBy["BaseInterestRay"] = "baseInterestRay";
719
+ SubgraphMarketInterestAccrued_OrderBy["BlockNumber"] = "blockNumber";
720
+ SubgraphMarketInterestAccrued_OrderBy["BlockTimestamp"] = "blockTimestamp";
721
+ SubgraphMarketInterestAccrued_OrderBy["DelinquencyFeeRay"] = "delinquencyFeeRay";
722
+ SubgraphMarketInterestAccrued_OrderBy["DelinquencyFeesAccrued"] = "delinquencyFeesAccrued";
723
+ SubgraphMarketInterestAccrued_OrderBy["FromTimestamp"] = "fromTimestamp";
724
+ SubgraphMarketInterestAccrued_OrderBy["Id"] = "id";
725
+ SubgraphMarketInterestAccrued_OrderBy["Market"] = "market";
726
+ SubgraphMarketInterestAccrued_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
727
+ SubgraphMarketInterestAccrued_OrderBy["MarketBorrower"] = "market__borrower";
728
+ SubgraphMarketInterestAccrued_OrderBy["MarketDecimals"] = "market__decimals";
729
+ SubgraphMarketInterestAccrued_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
730
+ SubgraphMarketInterestAccrued_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
731
+ SubgraphMarketInterestAccrued_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
732
+ SubgraphMarketInterestAccrued_OrderBy["MarketId"] = "market__id";
733
+ SubgraphMarketInterestAccrued_OrderBy["MarketIsClosed"] = "market__isClosed";
734
+ SubgraphMarketInterestAccrued_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
735
+ SubgraphMarketInterestAccrued_OrderBy["MarketIsRegistered"] = "market__isRegistered";
736
+ SubgraphMarketInterestAccrued_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
737
+ SubgraphMarketInterestAccrued_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
738
+ SubgraphMarketInterestAccrued_OrderBy["MarketName"] = "market__name";
739
+ SubgraphMarketInterestAccrued_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
740
+ SubgraphMarketInterestAccrued_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
741
+ SubgraphMarketInterestAccrued_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
742
+ SubgraphMarketInterestAccrued_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
743
+ SubgraphMarketInterestAccrued_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
744
+ SubgraphMarketInterestAccrued_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
745
+ SubgraphMarketInterestAccrued_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
746
+ SubgraphMarketInterestAccrued_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
747
+ SubgraphMarketInterestAccrued_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
748
+ SubgraphMarketInterestAccrued_OrderBy["MarketSentinel"] = "market__sentinel";
749
+ SubgraphMarketInterestAccrued_OrderBy["MarketSymbol"] = "market__symbol";
750
+ SubgraphMarketInterestAccrued_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
751
+ SubgraphMarketInterestAccrued_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
752
+ SubgraphMarketInterestAccrued_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
753
+ SubgraphMarketInterestAccrued_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
754
+ SubgraphMarketInterestAccrued_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
755
+ SubgraphMarketInterestAccrued_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
756
+ SubgraphMarketInterestAccrued_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
757
+ SubgraphMarketInterestAccrued_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
758
+ SubgraphMarketInterestAccrued_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
759
+ SubgraphMarketInterestAccrued_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
760
+ SubgraphMarketInterestAccrued_OrderBy["ProtocolFeesAccrued"] = "protocolFeesAccrued";
761
+ SubgraphMarketInterestAccrued_OrderBy["TimeWithPenalties"] = "timeWithPenalties";
762
+ SubgraphMarketInterestAccrued_OrderBy["ToTimestamp"] = "toTimestamp";
763
+ SubgraphMarketInterestAccrued_OrderBy["TransactionHash"] = "transactionHash";
764
+ })(SubgraphMarketInterestAccrued_OrderBy = exports.SubgraphMarketInterestAccrued_OrderBy || (exports.SubgraphMarketInterestAccrued_OrderBy = {}));
765
+ var SubgraphMarketRemoved_OrderBy;
766
+ (function (SubgraphMarketRemoved_OrderBy) {
767
+ SubgraphMarketRemoved_OrderBy["BlockNumber"] = "blockNumber";
768
+ SubgraphMarketRemoved_OrderBy["BlockTimestamp"] = "blockTimestamp";
769
+ SubgraphMarketRemoved_OrderBy["Id"] = "id";
770
+ SubgraphMarketRemoved_OrderBy["Market"] = "market";
771
+ SubgraphMarketRemoved_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
772
+ SubgraphMarketRemoved_OrderBy["MarketBorrower"] = "market__borrower";
773
+ SubgraphMarketRemoved_OrderBy["MarketDecimals"] = "market__decimals";
774
+ SubgraphMarketRemoved_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
775
+ SubgraphMarketRemoved_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
776
+ SubgraphMarketRemoved_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
777
+ SubgraphMarketRemoved_OrderBy["MarketId"] = "market__id";
778
+ SubgraphMarketRemoved_OrderBy["MarketIsClosed"] = "market__isClosed";
779
+ SubgraphMarketRemoved_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
780
+ SubgraphMarketRemoved_OrderBy["MarketIsRegistered"] = "market__isRegistered";
781
+ SubgraphMarketRemoved_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
782
+ SubgraphMarketRemoved_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
783
+ SubgraphMarketRemoved_OrderBy["MarketName"] = "market__name";
784
+ SubgraphMarketRemoved_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
785
+ SubgraphMarketRemoved_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
786
+ SubgraphMarketRemoved_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
787
+ SubgraphMarketRemoved_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
788
+ SubgraphMarketRemoved_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
789
+ SubgraphMarketRemoved_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
790
+ SubgraphMarketRemoved_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
791
+ SubgraphMarketRemoved_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
792
+ SubgraphMarketRemoved_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
793
+ SubgraphMarketRemoved_OrderBy["MarketSentinel"] = "market__sentinel";
794
+ SubgraphMarketRemoved_OrderBy["MarketSymbol"] = "market__symbol";
795
+ SubgraphMarketRemoved_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
796
+ SubgraphMarketRemoved_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
797
+ SubgraphMarketRemoved_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
798
+ SubgraphMarketRemoved_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
799
+ SubgraphMarketRemoved_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
800
+ SubgraphMarketRemoved_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
801
+ SubgraphMarketRemoved_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
802
+ SubgraphMarketRemoved_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
803
+ SubgraphMarketRemoved_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
804
+ SubgraphMarketRemoved_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
805
+ SubgraphMarketRemoved_OrderBy["TransactionHash"] = "transactionHash";
806
+ })(SubgraphMarketRemoved_OrderBy = exports.SubgraphMarketRemoved_OrderBy || (exports.SubgraphMarketRemoved_OrderBy = {}));
807
+ var SubgraphMarket_OrderBy;
808
+ (function (SubgraphMarket_OrderBy) {
809
+ SubgraphMarket_OrderBy["AnnualInterestBips"] = "annualInterestBips";
810
+ SubgraphMarket_OrderBy["ArchController"] = "archController";
811
+ SubgraphMarket_OrderBy["ArchControllerId"] = "archController__id";
812
+ SubgraphMarket_OrderBy["Asset"] = "asset";
813
+ SubgraphMarket_OrderBy["AssetAddress"] = "asset__address";
814
+ SubgraphMarket_OrderBy["AssetDecimals"] = "asset__decimals";
815
+ SubgraphMarket_OrderBy["AssetId"] = "asset__id";
816
+ SubgraphMarket_OrderBy["AssetIsMock"] = "asset__isMock";
817
+ SubgraphMarket_OrderBy["AssetName"] = "asset__name";
818
+ SubgraphMarket_OrderBy["AssetSymbol"] = "asset__symbol";
819
+ SubgraphMarket_OrderBy["BorrowRecords"] = "borrowRecords";
820
+ SubgraphMarket_OrderBy["Borrower"] = "borrower";
821
+ SubgraphMarket_OrderBy["Controller"] = "controller";
822
+ SubgraphMarket_OrderBy["ControllerBorrower"] = "controller__borrower";
823
+ SubgraphMarket_OrderBy["ControllerId"] = "controller__id";
824
+ SubgraphMarket_OrderBy["ControllerIsRegistered"] = "controller__isRegistered";
825
+ SubgraphMarket_OrderBy["Decimals"] = "decimals";
826
+ SubgraphMarket_OrderBy["DelinquencyFeeBips"] = "delinquencyFeeBips";
827
+ SubgraphMarket_OrderBy["DelinquencyGracePeriod"] = "delinquencyGracePeriod";
828
+ SubgraphMarket_OrderBy["DelinquencyRecords"] = "delinquencyRecords";
829
+ SubgraphMarket_OrderBy["DeployedEvent"] = "deployedEvent";
830
+ SubgraphMarket_OrderBy["DeployedEventBlockNumber"] = "deployedEvent__blockNumber";
831
+ SubgraphMarket_OrderBy["DeployedEventBlockTimestamp"] = "deployedEvent__blockTimestamp";
832
+ SubgraphMarket_OrderBy["DeployedEventId"] = "deployedEvent__id";
833
+ SubgraphMarket_OrderBy["DeployedEventTransactionHash"] = "deployedEvent__transactionHash";
834
+ SubgraphMarket_OrderBy["DepositRecords"] = "depositRecords";
835
+ SubgraphMarket_OrderBy["FeeCollectionRecords"] = "feeCollectionRecords";
836
+ SubgraphMarket_OrderBy["FeeRecipient"] = "feeRecipient";
837
+ SubgraphMarket_OrderBy["Id"] = "id";
838
+ SubgraphMarket_OrderBy["InterestAccrualRecords"] = "interestAccrualRecords";
839
+ SubgraphMarket_OrderBy["IsClosed"] = "isClosed";
840
+ SubgraphMarket_OrderBy["IsDelinquent"] = "isDelinquent";
841
+ SubgraphMarket_OrderBy["IsRegistered"] = "isRegistered";
842
+ SubgraphMarket_OrderBy["LastInterestAccruedTimestamp"] = "lastInterestAccruedTimestamp";
843
+ SubgraphMarket_OrderBy["Lenders"] = "lenders";
844
+ SubgraphMarket_OrderBy["MaxTotalSupply"] = "maxTotalSupply";
845
+ SubgraphMarket_OrderBy["Name"] = "name";
846
+ SubgraphMarket_OrderBy["NormalizedUnclaimedWithdrawals"] = "normalizedUnclaimedWithdrawals";
847
+ SubgraphMarket_OrderBy["OriginalReserveRatioBips"] = "originalReserveRatioBips";
848
+ SubgraphMarket_OrderBy["PendingProtocolFees"] = "pendingProtocolFees";
849
+ SubgraphMarket_OrderBy["PendingWithdrawalExpiry"] = "pendingWithdrawalExpiry";
850
+ SubgraphMarket_OrderBy["ProtocolFeeBips"] = "protocolFeeBips";
851
+ SubgraphMarket_OrderBy["Removal"] = "removal";
852
+ SubgraphMarket_OrderBy["RemovalBlockNumber"] = "removal__blockNumber";
853
+ SubgraphMarket_OrderBy["RemovalBlockTimestamp"] = "removal__blockTimestamp";
854
+ SubgraphMarket_OrderBy["RemovalId"] = "removal__id";
855
+ SubgraphMarket_OrderBy["RemovalTransactionHash"] = "removal__transactionHash";
856
+ SubgraphMarket_OrderBy["RepaymentRecords"] = "repaymentRecords";
857
+ SubgraphMarket_OrderBy["ReserveRatioBips"] = "reserveRatioBips";
858
+ SubgraphMarket_OrderBy["ScaleFactor"] = "scaleFactor";
859
+ SubgraphMarket_OrderBy["ScaledPendingWithdrawals"] = "scaledPendingWithdrawals";
860
+ SubgraphMarket_OrderBy["ScaledTotalSupply"] = "scaledTotalSupply";
861
+ SubgraphMarket_OrderBy["Sentinel"] = "sentinel";
862
+ SubgraphMarket_OrderBy["Symbol"] = "symbol";
863
+ SubgraphMarket_OrderBy["TemporaryReserveRatioActive"] = "temporaryReserveRatioActive";
864
+ SubgraphMarket_OrderBy["TemporaryReserveRatioExpiry"] = "temporaryReserveRatioExpiry";
865
+ SubgraphMarket_OrderBy["TimeDelinquent"] = "timeDelinquent";
866
+ SubgraphMarket_OrderBy["TotalBaseInterestAccrued"] = "totalBaseInterestAccrued";
867
+ SubgraphMarket_OrderBy["TotalBorrowed"] = "totalBorrowed";
868
+ SubgraphMarket_OrderBy["TotalDelinquencyFeesAccrued"] = "totalDelinquencyFeesAccrued";
869
+ SubgraphMarket_OrderBy["TotalDeposited"] = "totalDeposited";
870
+ SubgraphMarket_OrderBy["TotalProtocolFeesAccrued"] = "totalProtocolFeesAccrued";
871
+ SubgraphMarket_OrderBy["TotalRepaid"] = "totalRepaid";
872
+ SubgraphMarket_OrderBy["WithdrawalBatchDuration"] = "withdrawalBatchDuration";
873
+ SubgraphMarket_OrderBy["WithdrawalBatches"] = "withdrawalBatches";
874
+ })(SubgraphMarket_OrderBy = exports.SubgraphMarket_OrderBy || (exports.SubgraphMarket_OrderBy = {}));
875
+ var SubgraphMaxTotalSupplyUpdated_OrderBy;
876
+ (function (SubgraphMaxTotalSupplyUpdated_OrderBy) {
877
+ SubgraphMaxTotalSupplyUpdated_OrderBy["BlockNumber"] = "blockNumber";
878
+ SubgraphMaxTotalSupplyUpdated_OrderBy["BlockTimestamp"] = "blockTimestamp";
879
+ SubgraphMaxTotalSupplyUpdated_OrderBy["Id"] = "id";
880
+ SubgraphMaxTotalSupplyUpdated_OrderBy["Market"] = "market";
881
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
882
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketBorrower"] = "market__borrower";
883
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDecimals"] = "market__decimals";
884
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
885
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
886
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
887
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketId"] = "market__id";
888
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketIsClosed"] = "market__isClosed";
889
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
890
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketIsRegistered"] = "market__isRegistered";
891
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
892
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
893
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketName"] = "market__name";
894
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
895
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
896
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
897
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
898
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
899
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
900
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
901
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
902
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
903
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketSentinel"] = "market__sentinel";
904
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketSymbol"] = "market__symbol";
905
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
906
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
907
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
908
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
909
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
910
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
911
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
912
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
913
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
914
+ SubgraphMaxTotalSupplyUpdated_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
915
+ SubgraphMaxTotalSupplyUpdated_OrderBy["NewMaxTotalSupply"] = "newMaxTotalSupply";
916
+ SubgraphMaxTotalSupplyUpdated_OrderBy["OldMaxTotalSupply"] = "oldMaxTotalSupply";
917
+ SubgraphMaxTotalSupplyUpdated_OrderBy["TransactionHash"] = "transactionHash";
918
+ })(SubgraphMaxTotalSupplyUpdated_OrderBy = exports.SubgraphMaxTotalSupplyUpdated_OrderBy || (exports.SubgraphMaxTotalSupplyUpdated_OrderBy = {}));
919
+ var SubgraphNewController_OrderBy;
920
+ (function (SubgraphNewController_OrderBy) {
921
+ SubgraphNewController_OrderBy["BlockNumber"] = "blockNumber";
922
+ SubgraphNewController_OrderBy["BlockTimestamp"] = "blockTimestamp";
923
+ SubgraphNewController_OrderBy["Borrower"] = "borrower";
924
+ SubgraphNewController_OrderBy["Controller"] = "controller";
925
+ SubgraphNewController_OrderBy["Id"] = "id";
926
+ SubgraphNewController_OrderBy["NamePrefix"] = "namePrefix";
927
+ SubgraphNewController_OrderBy["SymbolPrefix"] = "symbolPrefix";
928
+ SubgraphNewController_OrderBy["TransactionHash"] = "transactionHash";
929
+ })(SubgraphNewController_OrderBy = exports.SubgraphNewController_OrderBy || (exports.SubgraphNewController_OrderBy = {}));
930
+ var SubgraphNewSanctionsEscrow_OrderBy;
931
+ (function (SubgraphNewSanctionsEscrow_OrderBy) {
932
+ SubgraphNewSanctionsEscrow_OrderBy["Account"] = "account";
933
+ SubgraphNewSanctionsEscrow_OrderBy["Asset"] = "asset";
934
+ SubgraphNewSanctionsEscrow_OrderBy["BlockNumber"] = "blockNumber";
935
+ SubgraphNewSanctionsEscrow_OrderBy["BlockTimestamp"] = "blockTimestamp";
936
+ SubgraphNewSanctionsEscrow_OrderBy["Borrower"] = "borrower";
937
+ SubgraphNewSanctionsEscrow_OrderBy["Id"] = "id";
938
+ SubgraphNewSanctionsEscrow_OrderBy["TransactionHash"] = "transactionHash";
939
+ })(SubgraphNewSanctionsEscrow_OrderBy = exports.SubgraphNewSanctionsEscrow_OrderBy || (exports.SubgraphNewSanctionsEscrow_OrderBy = {}));
940
+ /** Defines the order direction, either ascending or descending */
941
+ var SubgraphOrderDirection;
942
+ (function (SubgraphOrderDirection) {
943
+ SubgraphOrderDirection["Asc"] = "asc";
944
+ SubgraphOrderDirection["Desc"] = "desc";
945
+ })(SubgraphOrderDirection = exports.SubgraphOrderDirection || (exports.SubgraphOrderDirection = {}));
946
+ var SubgraphOwnershipHandoverCanceled_OrderBy;
947
+ (function (SubgraphOwnershipHandoverCanceled_OrderBy) {
948
+ SubgraphOwnershipHandoverCanceled_OrderBy["BlockNumber"] = "blockNumber";
949
+ SubgraphOwnershipHandoverCanceled_OrderBy["BlockTimestamp"] = "blockTimestamp";
950
+ SubgraphOwnershipHandoverCanceled_OrderBy["Id"] = "id";
951
+ SubgraphOwnershipHandoverCanceled_OrderBy["PendingOwner"] = "pendingOwner";
952
+ SubgraphOwnershipHandoverCanceled_OrderBy["TransactionHash"] = "transactionHash";
953
+ })(SubgraphOwnershipHandoverCanceled_OrderBy = exports.SubgraphOwnershipHandoverCanceled_OrderBy || (exports.SubgraphOwnershipHandoverCanceled_OrderBy = {}));
954
+ var SubgraphOwnershipHandoverRequested_OrderBy;
955
+ (function (SubgraphOwnershipHandoverRequested_OrderBy) {
956
+ SubgraphOwnershipHandoverRequested_OrderBy["BlockNumber"] = "blockNumber";
957
+ SubgraphOwnershipHandoverRequested_OrderBy["BlockTimestamp"] = "blockTimestamp";
958
+ SubgraphOwnershipHandoverRequested_OrderBy["Id"] = "id";
959
+ SubgraphOwnershipHandoverRequested_OrderBy["PendingOwner"] = "pendingOwner";
960
+ SubgraphOwnershipHandoverRequested_OrderBy["TransactionHash"] = "transactionHash";
961
+ })(SubgraphOwnershipHandoverRequested_OrderBy = exports.SubgraphOwnershipHandoverRequested_OrderBy || (exports.SubgraphOwnershipHandoverRequested_OrderBy = {}));
962
+ var SubgraphOwnershipTransferred_OrderBy;
963
+ (function (SubgraphOwnershipTransferred_OrderBy) {
964
+ SubgraphOwnershipTransferred_OrderBy["BlockNumber"] = "blockNumber";
965
+ SubgraphOwnershipTransferred_OrderBy["BlockTimestamp"] = "blockTimestamp";
966
+ SubgraphOwnershipTransferred_OrderBy["Id"] = "id";
967
+ SubgraphOwnershipTransferred_OrderBy["NewOwner"] = "newOwner";
968
+ SubgraphOwnershipTransferred_OrderBy["OldOwner"] = "oldOwner";
969
+ SubgraphOwnershipTransferred_OrderBy["TransactionHash"] = "transactionHash";
970
+ })(SubgraphOwnershipTransferred_OrderBy = exports.SubgraphOwnershipTransferred_OrderBy || (exports.SubgraphOwnershipTransferred_OrderBy = {}));
971
+ var SubgraphParameterConstraints_OrderBy;
972
+ (function (SubgraphParameterConstraints_OrderBy) {
973
+ SubgraphParameterConstraints_OrderBy["Id"] = "id";
974
+ SubgraphParameterConstraints_OrderBy["MaximumAnnualInterestBips"] = "maximumAnnualInterestBips";
975
+ SubgraphParameterConstraints_OrderBy["MaximumDelinquencyFeeBips"] = "maximumDelinquencyFeeBips";
976
+ SubgraphParameterConstraints_OrderBy["MaximumDelinquencyGracePeriod"] = "maximumDelinquencyGracePeriod";
977
+ SubgraphParameterConstraints_OrderBy["MaximumReserveRatioBips"] = "maximumReserveRatioBips";
978
+ SubgraphParameterConstraints_OrderBy["MaximumWithdrawalBatchDuration"] = "maximumWithdrawalBatchDuration";
979
+ SubgraphParameterConstraints_OrderBy["MinimumAnnualInterestBips"] = "minimumAnnualInterestBips";
980
+ SubgraphParameterConstraints_OrderBy["MinimumDelinquencyFeeBips"] = "minimumDelinquencyFeeBips";
981
+ SubgraphParameterConstraints_OrderBy["MinimumDelinquencyGracePeriod"] = "minimumDelinquencyGracePeriod";
982
+ SubgraphParameterConstraints_OrderBy["MinimumReserveRatioBips"] = "minimumReserveRatioBips";
983
+ SubgraphParameterConstraints_OrderBy["MinimumWithdrawalBatchDuration"] = "minimumWithdrawalBatchDuration";
984
+ })(SubgraphParameterConstraints_OrderBy = exports.SubgraphParameterConstraints_OrderBy || (exports.SubgraphParameterConstraints_OrderBy = {}));
985
+ var SubgraphRegisteredBorrower_OrderBy;
986
+ (function (SubgraphRegisteredBorrower_OrderBy) {
987
+ SubgraphRegisteredBorrower_OrderBy["ArchController"] = "archController";
988
+ SubgraphRegisteredBorrower_OrderBy["ArchControllerId"] = "archController__id";
989
+ SubgraphRegisteredBorrower_OrderBy["Borrower"] = "borrower";
990
+ SubgraphRegisteredBorrower_OrderBy["Changes"] = "changes";
991
+ SubgraphRegisteredBorrower_OrderBy["Id"] = "id";
992
+ SubgraphRegisteredBorrower_OrderBy["IsRegistered"] = "isRegistered";
993
+ })(SubgraphRegisteredBorrower_OrderBy = exports.SubgraphRegisteredBorrower_OrderBy || (exports.SubgraphRegisteredBorrower_OrderBy = {}));
994
+ var SubgraphReserveRatioBipsUpdated_OrderBy;
995
+ (function (SubgraphReserveRatioBipsUpdated_OrderBy) {
996
+ SubgraphReserveRatioBipsUpdated_OrderBy["BlockNumber"] = "blockNumber";
997
+ SubgraphReserveRatioBipsUpdated_OrderBy["BlockTimestamp"] = "blockTimestamp";
998
+ SubgraphReserveRatioBipsUpdated_OrderBy["Id"] = "id";
999
+ SubgraphReserveRatioBipsUpdated_OrderBy["Market"] = "market";
1000
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1001
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketBorrower"] = "market__borrower";
1002
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketDecimals"] = "market__decimals";
1003
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1004
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1005
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1006
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketId"] = "market__id";
1007
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketIsClosed"] = "market__isClosed";
1008
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1009
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1010
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1011
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1012
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketName"] = "market__name";
1013
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1014
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
1015
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
1016
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
1017
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
1018
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
1019
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
1020
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
1021
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
1022
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketSentinel"] = "market__sentinel";
1023
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketSymbol"] = "market__symbol";
1024
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
1025
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
1026
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
1027
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
1028
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
1029
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
1030
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
1031
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1032
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1033
+ SubgraphReserveRatioBipsUpdated_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1034
+ SubgraphReserveRatioBipsUpdated_OrderBy["NewReserveRatioBips"] = "newReserveRatioBips";
1035
+ SubgraphReserveRatioBipsUpdated_OrderBy["OldReserveRatioBips"] = "oldReserveRatioBips";
1036
+ SubgraphReserveRatioBipsUpdated_OrderBy["TransactionHash"] = "transactionHash";
1037
+ })(SubgraphReserveRatioBipsUpdated_OrderBy = exports.SubgraphReserveRatioBipsUpdated_OrderBy || (exports.SubgraphReserveRatioBipsUpdated_OrderBy = {}));
1038
+ var SubgraphSanctionOverrideRemoved_OrderBy;
1039
+ (function (SubgraphSanctionOverrideRemoved_OrderBy) {
1040
+ SubgraphSanctionOverrideRemoved_OrderBy["Account"] = "account";
1041
+ SubgraphSanctionOverrideRemoved_OrderBy["BlockNumber"] = "blockNumber";
1042
+ SubgraphSanctionOverrideRemoved_OrderBy["BlockTimestamp"] = "blockTimestamp";
1043
+ SubgraphSanctionOverrideRemoved_OrderBy["Borrower"] = "borrower";
1044
+ SubgraphSanctionOverrideRemoved_OrderBy["Id"] = "id";
1045
+ SubgraphSanctionOverrideRemoved_OrderBy["TransactionHash"] = "transactionHash";
1046
+ })(SubgraphSanctionOverrideRemoved_OrderBy = exports.SubgraphSanctionOverrideRemoved_OrderBy || (exports.SubgraphSanctionOverrideRemoved_OrderBy = {}));
1047
+ var SubgraphSanctionOverride_OrderBy;
1048
+ (function (SubgraphSanctionOverride_OrderBy) {
1049
+ SubgraphSanctionOverride_OrderBy["Account"] = "account";
1050
+ SubgraphSanctionOverride_OrderBy["BlockNumber"] = "blockNumber";
1051
+ SubgraphSanctionOverride_OrderBy["BlockTimestamp"] = "blockTimestamp";
1052
+ SubgraphSanctionOverride_OrderBy["Borrower"] = "borrower";
1053
+ SubgraphSanctionOverride_OrderBy["Id"] = "id";
1054
+ SubgraphSanctionOverride_OrderBy["TransactionHash"] = "transactionHash";
1055
+ })(SubgraphSanctionOverride_OrderBy = exports.SubgraphSanctionOverride_OrderBy || (exports.SubgraphSanctionOverride_OrderBy = {}));
1056
+ var SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy;
1057
+ (function (SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy) {
1058
+ SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy["Account"] = "account";
1059
+ SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy["Amount"] = "amount";
1060
+ SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy["BlockNumber"] = "blockNumber";
1061
+ SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy["BlockTimestamp"] = "blockTimestamp";
1062
+ SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy["Escrow"] = "escrow";
1063
+ SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy["Id"] = "id";
1064
+ SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy["TransactionHash"] = "transactionHash";
1065
+ })(SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy || (exports.SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy = {}));
1066
+ var SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy;
1067
+ (function (SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy) {
1068
+ SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["Account"] = "account";
1069
+ SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["Amount"] = "amount";
1070
+ SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["BlockNumber"] = "blockNumber";
1071
+ SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["BlockTimestamp"] = "blockTimestamp";
1072
+ SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["Escrow"] = "escrow";
1073
+ SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["Expiry"] = "expiry";
1074
+ SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["Id"] = "id";
1075
+ SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["TransactionHash"] = "transactionHash";
1076
+ })(SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy || (exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = {}));
1077
+ var SubgraphToken_OrderBy;
1078
+ (function (SubgraphToken_OrderBy) {
1079
+ SubgraphToken_OrderBy["Address"] = "address";
1080
+ SubgraphToken_OrderBy["Decimals"] = "decimals";
1081
+ SubgraphToken_OrderBy["Id"] = "id";
1082
+ SubgraphToken_OrderBy["IsMock"] = "isMock";
1083
+ SubgraphToken_OrderBy["Name"] = "name";
1084
+ SubgraphToken_OrderBy["Symbol"] = "symbol";
1085
+ })(SubgraphToken_OrderBy = exports.SubgraphToken_OrderBy || (exports.SubgraphToken_OrderBy = {}));
1086
+ var SubgraphTransfer_OrderBy;
1087
+ (function (SubgraphTransfer_OrderBy) {
1088
+ SubgraphTransfer_OrderBy["Amount"] = "amount";
1089
+ SubgraphTransfer_OrderBy["BlockNumber"] = "blockNumber";
1090
+ SubgraphTransfer_OrderBy["BlockTimestamp"] = "blockTimestamp";
1091
+ SubgraphTransfer_OrderBy["From"] = "from";
1092
+ SubgraphTransfer_OrderBy["FromAddress"] = "from__address";
1093
+ SubgraphTransfer_OrderBy["FromId"] = "from__id";
1094
+ SubgraphTransfer_OrderBy["FromLastScaleFactor"] = "from__lastScaleFactor";
1095
+ SubgraphTransfer_OrderBy["FromLastUpdatedTimestamp"] = "from__lastUpdatedTimestamp";
1096
+ SubgraphTransfer_OrderBy["FromNumPendingWithdrawalBatches"] = "from__numPendingWithdrawalBatches";
1097
+ SubgraphTransfer_OrderBy["FromRole"] = "from__role";
1098
+ SubgraphTransfer_OrderBy["FromScaledBalance"] = "from__scaledBalance";
1099
+ SubgraphTransfer_OrderBy["FromTotalDeposited"] = "from__totalDeposited";
1100
+ SubgraphTransfer_OrderBy["FromTotalInterestEarned"] = "from__totalInterestEarned";
1101
+ SubgraphTransfer_OrderBy["Id"] = "id";
1102
+ SubgraphTransfer_OrderBy["Market"] = "market";
1103
+ SubgraphTransfer_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1104
+ SubgraphTransfer_OrderBy["MarketBorrower"] = "market__borrower";
1105
+ SubgraphTransfer_OrderBy["MarketDecimals"] = "market__decimals";
1106
+ SubgraphTransfer_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1107
+ SubgraphTransfer_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1108
+ SubgraphTransfer_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1109
+ SubgraphTransfer_OrderBy["MarketId"] = "market__id";
1110
+ SubgraphTransfer_OrderBy["MarketIsClosed"] = "market__isClosed";
1111
+ SubgraphTransfer_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1112
+ SubgraphTransfer_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1113
+ SubgraphTransfer_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1114
+ SubgraphTransfer_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1115
+ SubgraphTransfer_OrderBy["MarketName"] = "market__name";
1116
+ SubgraphTransfer_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1117
+ SubgraphTransfer_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
1118
+ SubgraphTransfer_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
1119
+ SubgraphTransfer_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
1120
+ SubgraphTransfer_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
1121
+ SubgraphTransfer_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
1122
+ SubgraphTransfer_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
1123
+ SubgraphTransfer_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
1124
+ SubgraphTransfer_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
1125
+ SubgraphTransfer_OrderBy["MarketSentinel"] = "market__sentinel";
1126
+ SubgraphTransfer_OrderBy["MarketSymbol"] = "market__symbol";
1127
+ SubgraphTransfer_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
1128
+ SubgraphTransfer_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
1129
+ SubgraphTransfer_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
1130
+ SubgraphTransfer_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
1131
+ SubgraphTransfer_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
1132
+ SubgraphTransfer_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
1133
+ SubgraphTransfer_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
1134
+ SubgraphTransfer_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1135
+ SubgraphTransfer_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1136
+ SubgraphTransfer_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1137
+ SubgraphTransfer_OrderBy["ScaledAmount"] = "scaledAmount";
1138
+ SubgraphTransfer_OrderBy["To"] = "to";
1139
+ SubgraphTransfer_OrderBy["ToAddress"] = "to__address";
1140
+ SubgraphTransfer_OrderBy["ToId"] = "to__id";
1141
+ SubgraphTransfer_OrderBy["ToLastScaleFactor"] = "to__lastScaleFactor";
1142
+ SubgraphTransfer_OrderBy["ToLastUpdatedTimestamp"] = "to__lastUpdatedTimestamp";
1143
+ SubgraphTransfer_OrderBy["ToNumPendingWithdrawalBatches"] = "to__numPendingWithdrawalBatches";
1144
+ SubgraphTransfer_OrderBy["ToRole"] = "to__role";
1145
+ SubgraphTransfer_OrderBy["ToScaledBalance"] = "to__scaledBalance";
1146
+ SubgraphTransfer_OrderBy["ToTotalDeposited"] = "to__totalDeposited";
1147
+ SubgraphTransfer_OrderBy["ToTotalInterestEarned"] = "to__totalInterestEarned";
1148
+ SubgraphTransfer_OrderBy["TransactionHash"] = "transactionHash";
1149
+ })(SubgraphTransfer_OrderBy = exports.SubgraphTransfer_OrderBy || (exports.SubgraphTransfer_OrderBy = {}));
1150
+ var SubgraphUpdateProtocolFeeConfiguration_OrderBy;
1151
+ (function (SubgraphUpdateProtocolFeeConfiguration_OrderBy) {
1152
+ SubgraphUpdateProtocolFeeConfiguration_OrderBy["BlockNumber"] = "blockNumber";
1153
+ SubgraphUpdateProtocolFeeConfiguration_OrderBy["BlockTimestamp"] = "blockTimestamp";
1154
+ SubgraphUpdateProtocolFeeConfiguration_OrderBy["FeeRecipient"] = "feeRecipient";
1155
+ SubgraphUpdateProtocolFeeConfiguration_OrderBy["Id"] = "id";
1156
+ SubgraphUpdateProtocolFeeConfiguration_OrderBy["OriginationFeeAmount"] = "originationFeeAmount";
1157
+ SubgraphUpdateProtocolFeeConfiguration_OrderBy["OriginationFeeAsset"] = "originationFeeAsset";
1158
+ SubgraphUpdateProtocolFeeConfiguration_OrderBy["ProtocolFeeBips"] = "protocolFeeBips";
1159
+ SubgraphUpdateProtocolFeeConfiguration_OrderBy["TransactionHash"] = "transactionHash";
1160
+ })(SubgraphUpdateProtocolFeeConfiguration_OrderBy = exports.SubgraphUpdateProtocolFeeConfiguration_OrderBy || (exports.SubgraphUpdateProtocolFeeConfiguration_OrderBy = {}));
1161
+ var SubgraphWithdrawalBatchCreated_OrderBy;
1162
+ (function (SubgraphWithdrawalBatchCreated_OrderBy) {
1163
+ SubgraphWithdrawalBatchCreated_OrderBy["Batch"] = "batch";
1164
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchExpiry"] = "batch__expiry";
1165
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchId"] = "batch__id";
1166
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchIsClosed"] = "batch__isClosed";
1167
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchIsExpired"] = "batch__isExpired";
1168
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchLastScaleFactor"] = "batch__lastScaleFactor";
1169
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchLastUpdatedTimestamp"] = "batch__lastUpdatedTimestamp";
1170
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchNormalizedAmountClaimed"] = "batch__normalizedAmountClaimed";
1171
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchNormalizedAmountPaid"] = "batch__normalizedAmountPaid";
1172
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchPaymentsCount"] = "batch__paymentsCount";
1173
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchScaledAmountBurned"] = "batch__scaledAmountBurned";
1174
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchScaledTotalAmount"] = "batch__scaledTotalAmount";
1175
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchTotalInterestEarned"] = "batch__totalInterestEarned";
1176
+ SubgraphWithdrawalBatchCreated_OrderBy["BatchTotalNormalizedRequests"] = "batch__totalNormalizedRequests";
1177
+ SubgraphWithdrawalBatchCreated_OrderBy["BlockNumber"] = "blockNumber";
1178
+ SubgraphWithdrawalBatchCreated_OrderBy["BlockTimestamp"] = "blockTimestamp";
1179
+ SubgraphWithdrawalBatchCreated_OrderBy["Id"] = "id";
1180
+ SubgraphWithdrawalBatchCreated_OrderBy["TransactionHash"] = "transactionHash";
1181
+ })(SubgraphWithdrawalBatchCreated_OrderBy = exports.SubgraphWithdrawalBatchCreated_OrderBy || (exports.SubgraphWithdrawalBatchCreated_OrderBy = {}));
1182
+ var SubgraphWithdrawalBatchExpired_OrderBy;
1183
+ (function (SubgraphWithdrawalBatchExpired_OrderBy) {
1184
+ SubgraphWithdrawalBatchExpired_OrderBy["Batch"] = "batch";
1185
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchExpiry"] = "batch__expiry";
1186
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchId"] = "batch__id";
1187
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchIsClosed"] = "batch__isClosed";
1188
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchIsExpired"] = "batch__isExpired";
1189
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchLastScaleFactor"] = "batch__lastScaleFactor";
1190
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchLastUpdatedTimestamp"] = "batch__lastUpdatedTimestamp";
1191
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchNormalizedAmountClaimed"] = "batch__normalizedAmountClaimed";
1192
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchNormalizedAmountPaid"] = "batch__normalizedAmountPaid";
1193
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchPaymentsCount"] = "batch__paymentsCount";
1194
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchScaledAmountBurned"] = "batch__scaledAmountBurned";
1195
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchScaledTotalAmount"] = "batch__scaledTotalAmount";
1196
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchTotalInterestEarned"] = "batch__totalInterestEarned";
1197
+ SubgraphWithdrawalBatchExpired_OrderBy["BatchTotalNormalizedRequests"] = "batch__totalNormalizedRequests";
1198
+ SubgraphWithdrawalBatchExpired_OrderBy["BlockNumber"] = "blockNumber";
1199
+ SubgraphWithdrawalBatchExpired_OrderBy["BlockTimestamp"] = "blockTimestamp";
1200
+ SubgraphWithdrawalBatchExpired_OrderBy["Id"] = "id";
1201
+ SubgraphWithdrawalBatchExpired_OrderBy["NormalizedAmountPaid"] = "normalizedAmountPaid";
1202
+ SubgraphWithdrawalBatchExpired_OrderBy["ScaledAmountBurned"] = "scaledAmountBurned";
1203
+ SubgraphWithdrawalBatchExpired_OrderBy["ScaledTotalAmount"] = "scaledTotalAmount";
1204
+ SubgraphWithdrawalBatchExpired_OrderBy["TransactionHash"] = "transactionHash";
1205
+ })(SubgraphWithdrawalBatchExpired_OrderBy = exports.SubgraphWithdrawalBatchExpired_OrderBy || (exports.SubgraphWithdrawalBatchExpired_OrderBy = {}));
1206
+ var SubgraphWithdrawalBatchInterestAccrued_OrderBy;
1207
+ (function (SubgraphWithdrawalBatchInterestAccrued_OrderBy) {
1208
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["Batch"] = "batch";
1209
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchExpiry"] = "batch__expiry";
1210
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchId"] = "batch__id";
1211
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchIsClosed"] = "batch__isClosed";
1212
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchIsExpired"] = "batch__isExpired";
1213
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchLastScaleFactor"] = "batch__lastScaleFactor";
1214
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchLastUpdatedTimestamp"] = "batch__lastUpdatedTimestamp";
1215
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchNormalizedAmountClaimed"] = "batch__normalizedAmountClaimed";
1216
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchNormalizedAmountPaid"] = "batch__normalizedAmountPaid";
1217
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchPaymentsCount"] = "batch__paymentsCount";
1218
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchScaledAmountBurned"] = "batch__scaledAmountBurned";
1219
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchScaledTotalAmount"] = "batch__scaledTotalAmount";
1220
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchTotalInterestEarned"] = "batch__totalInterestEarned";
1221
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BatchTotalNormalizedRequests"] = "batch__totalNormalizedRequests";
1222
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BlockNumber"] = "blockNumber";
1223
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["BlockTimestamp"] = "blockTimestamp";
1224
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["Id"] = "id";
1225
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["InterestEarned"] = "interestEarned";
1226
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["Market"] = "market";
1227
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1228
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketBorrower"] = "market__borrower";
1229
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDecimals"] = "market__decimals";
1230
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1231
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1232
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1233
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketId"] = "market__id";
1234
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketIsClosed"] = "market__isClosed";
1235
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1236
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1237
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1238
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1239
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketName"] = "market__name";
1240
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1241
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
1242
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
1243
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
1244
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
1245
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
1246
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
1247
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
1248
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
1249
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketSentinel"] = "market__sentinel";
1250
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketSymbol"] = "market__symbol";
1251
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
1252
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
1253
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
1254
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
1255
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
1256
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
1257
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
1258
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1259
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1260
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1261
+ SubgraphWithdrawalBatchInterestAccrued_OrderBy["TransactionHash"] = "transactionHash";
1262
+ })(SubgraphWithdrawalBatchInterestAccrued_OrderBy = exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy || (exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy = {}));
1263
+ var SubgraphWithdrawalBatchPayment_OrderBy;
1264
+ (function (SubgraphWithdrawalBatchPayment_OrderBy) {
1265
+ SubgraphWithdrawalBatchPayment_OrderBy["Batch"] = "batch";
1266
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchExpiry"] = "batch__expiry";
1267
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchId"] = "batch__id";
1268
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchIsClosed"] = "batch__isClosed";
1269
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchIsExpired"] = "batch__isExpired";
1270
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchLastScaleFactor"] = "batch__lastScaleFactor";
1271
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchLastUpdatedTimestamp"] = "batch__lastUpdatedTimestamp";
1272
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchNormalizedAmountClaimed"] = "batch__normalizedAmountClaimed";
1273
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchNormalizedAmountPaid"] = "batch__normalizedAmountPaid";
1274
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchPaymentsCount"] = "batch__paymentsCount";
1275
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchScaledAmountBurned"] = "batch__scaledAmountBurned";
1276
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchScaledTotalAmount"] = "batch__scaledTotalAmount";
1277
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchTotalInterestEarned"] = "batch__totalInterestEarned";
1278
+ SubgraphWithdrawalBatchPayment_OrderBy["BatchTotalNormalizedRequests"] = "batch__totalNormalizedRequests";
1279
+ SubgraphWithdrawalBatchPayment_OrderBy["BlockNumber"] = "blockNumber";
1280
+ SubgraphWithdrawalBatchPayment_OrderBy["BlockTimestamp"] = "blockTimestamp";
1281
+ SubgraphWithdrawalBatchPayment_OrderBy["Id"] = "id";
1282
+ SubgraphWithdrawalBatchPayment_OrderBy["NormalizedAmountPaid"] = "normalizedAmountPaid";
1283
+ SubgraphWithdrawalBatchPayment_OrderBy["ScaledAmountBurned"] = "scaledAmountBurned";
1284
+ SubgraphWithdrawalBatchPayment_OrderBy["TransactionHash"] = "transactionHash";
1285
+ })(SubgraphWithdrawalBatchPayment_OrderBy = exports.SubgraphWithdrawalBatchPayment_OrderBy || (exports.SubgraphWithdrawalBatchPayment_OrderBy = {}));
1286
+ var SubgraphWithdrawalBatch_OrderBy;
1287
+ (function (SubgraphWithdrawalBatch_OrderBy) {
1288
+ SubgraphWithdrawalBatch_OrderBy["Creation"] = "creation";
1289
+ SubgraphWithdrawalBatch_OrderBy["CreationBlockNumber"] = "creation__blockNumber";
1290
+ SubgraphWithdrawalBatch_OrderBy["CreationBlockTimestamp"] = "creation__blockTimestamp";
1291
+ SubgraphWithdrawalBatch_OrderBy["CreationId"] = "creation__id";
1292
+ SubgraphWithdrawalBatch_OrderBy["CreationTransactionHash"] = "creation__transactionHash";
1293
+ SubgraphWithdrawalBatch_OrderBy["Executions"] = "executions";
1294
+ SubgraphWithdrawalBatch_OrderBy["Expiry"] = "expiry";
1295
+ SubgraphWithdrawalBatch_OrderBy["Id"] = "id";
1296
+ SubgraphWithdrawalBatch_OrderBy["InterestAccrualRecords"] = "interestAccrualRecords";
1297
+ SubgraphWithdrawalBatch_OrderBy["IsClosed"] = "isClosed";
1298
+ SubgraphWithdrawalBatch_OrderBy["IsExpired"] = "isExpired";
1299
+ SubgraphWithdrawalBatch_OrderBy["LastScaleFactor"] = "lastScaleFactor";
1300
+ SubgraphWithdrawalBatch_OrderBy["LastUpdatedTimestamp"] = "lastUpdatedTimestamp";
1301
+ SubgraphWithdrawalBatch_OrderBy["Market"] = "market";
1302
+ SubgraphWithdrawalBatch_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
1303
+ SubgraphWithdrawalBatch_OrderBy["MarketBorrower"] = "market__borrower";
1304
+ SubgraphWithdrawalBatch_OrderBy["MarketDecimals"] = "market__decimals";
1305
+ SubgraphWithdrawalBatch_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
1306
+ SubgraphWithdrawalBatch_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
1307
+ SubgraphWithdrawalBatch_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
1308
+ SubgraphWithdrawalBatch_OrderBy["MarketId"] = "market__id";
1309
+ SubgraphWithdrawalBatch_OrderBy["MarketIsClosed"] = "market__isClosed";
1310
+ SubgraphWithdrawalBatch_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
1311
+ SubgraphWithdrawalBatch_OrderBy["MarketIsRegistered"] = "market__isRegistered";
1312
+ SubgraphWithdrawalBatch_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
1313
+ SubgraphWithdrawalBatch_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
1314
+ SubgraphWithdrawalBatch_OrderBy["MarketName"] = "market__name";
1315
+ SubgraphWithdrawalBatch_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
1316
+ SubgraphWithdrawalBatch_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
1317
+ SubgraphWithdrawalBatch_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
1318
+ SubgraphWithdrawalBatch_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
1319
+ SubgraphWithdrawalBatch_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
1320
+ SubgraphWithdrawalBatch_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
1321
+ SubgraphWithdrawalBatch_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
1322
+ SubgraphWithdrawalBatch_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
1323
+ SubgraphWithdrawalBatch_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
1324
+ SubgraphWithdrawalBatch_OrderBy["MarketSentinel"] = "market__sentinel";
1325
+ SubgraphWithdrawalBatch_OrderBy["MarketSymbol"] = "market__symbol";
1326
+ SubgraphWithdrawalBatch_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
1327
+ SubgraphWithdrawalBatch_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
1328
+ SubgraphWithdrawalBatch_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
1329
+ SubgraphWithdrawalBatch_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
1330
+ SubgraphWithdrawalBatch_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
1331
+ SubgraphWithdrawalBatch_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
1332
+ SubgraphWithdrawalBatch_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
1333
+ SubgraphWithdrawalBatch_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
1334
+ SubgraphWithdrawalBatch_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
1335
+ SubgraphWithdrawalBatch_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
1336
+ SubgraphWithdrawalBatch_OrderBy["NormalizedAmountClaimed"] = "normalizedAmountClaimed";
1337
+ SubgraphWithdrawalBatch_OrderBy["NormalizedAmountPaid"] = "normalizedAmountPaid";
1338
+ SubgraphWithdrawalBatch_OrderBy["Payments"] = "payments";
1339
+ SubgraphWithdrawalBatch_OrderBy["PaymentsCount"] = "paymentsCount";
1340
+ SubgraphWithdrawalBatch_OrderBy["Requests"] = "requests";
1341
+ SubgraphWithdrawalBatch_OrderBy["ScaledAmountBurned"] = "scaledAmountBurned";
1342
+ SubgraphWithdrawalBatch_OrderBy["ScaledTotalAmount"] = "scaledTotalAmount";
1343
+ SubgraphWithdrawalBatch_OrderBy["TotalInterestEarned"] = "totalInterestEarned";
1344
+ SubgraphWithdrawalBatch_OrderBy["TotalNormalizedRequests"] = "totalNormalizedRequests";
1345
+ SubgraphWithdrawalBatch_OrderBy["Withdrawals"] = "withdrawals";
1346
+ })(SubgraphWithdrawalBatch_OrderBy = exports.SubgraphWithdrawalBatch_OrderBy || (exports.SubgraphWithdrawalBatch_OrderBy = {}));
1347
+ var SubgraphWithdrawalExecution_OrderBy;
1348
+ (function (SubgraphWithdrawalExecution_OrderBy) {
1349
+ SubgraphWithdrawalExecution_OrderBy["Account"] = "account";
1350
+ SubgraphWithdrawalExecution_OrderBy["AccountAddress"] = "account__address";
1351
+ SubgraphWithdrawalExecution_OrderBy["AccountId"] = "account__id";
1352
+ SubgraphWithdrawalExecution_OrderBy["AccountLastScaleFactor"] = "account__lastScaleFactor";
1353
+ SubgraphWithdrawalExecution_OrderBy["AccountLastUpdatedTimestamp"] = "account__lastUpdatedTimestamp";
1354
+ SubgraphWithdrawalExecution_OrderBy["AccountNumPendingWithdrawalBatches"] = "account__numPendingWithdrawalBatches";
1355
+ SubgraphWithdrawalExecution_OrderBy["AccountRole"] = "account__role";
1356
+ SubgraphWithdrawalExecution_OrderBy["AccountScaledBalance"] = "account__scaledBalance";
1357
+ SubgraphWithdrawalExecution_OrderBy["AccountTotalDeposited"] = "account__totalDeposited";
1358
+ SubgraphWithdrawalExecution_OrderBy["AccountTotalInterestEarned"] = "account__totalInterestEarned";
1359
+ SubgraphWithdrawalExecution_OrderBy["Batch"] = "batch";
1360
+ SubgraphWithdrawalExecution_OrderBy["BatchExpiry"] = "batch__expiry";
1361
+ SubgraphWithdrawalExecution_OrderBy["BatchId"] = "batch__id";
1362
+ SubgraphWithdrawalExecution_OrderBy["BatchIsClosed"] = "batch__isClosed";
1363
+ SubgraphWithdrawalExecution_OrderBy["BatchIsExpired"] = "batch__isExpired";
1364
+ SubgraphWithdrawalExecution_OrderBy["BatchLastScaleFactor"] = "batch__lastScaleFactor";
1365
+ SubgraphWithdrawalExecution_OrderBy["BatchLastUpdatedTimestamp"] = "batch__lastUpdatedTimestamp";
1366
+ SubgraphWithdrawalExecution_OrderBy["BatchNormalizedAmountClaimed"] = "batch__normalizedAmountClaimed";
1367
+ SubgraphWithdrawalExecution_OrderBy["BatchNormalizedAmountPaid"] = "batch__normalizedAmountPaid";
1368
+ SubgraphWithdrawalExecution_OrderBy["BatchPaymentsCount"] = "batch__paymentsCount";
1369
+ SubgraphWithdrawalExecution_OrderBy["BatchScaledAmountBurned"] = "batch__scaledAmountBurned";
1370
+ SubgraphWithdrawalExecution_OrderBy["BatchScaledTotalAmount"] = "batch__scaledTotalAmount";
1371
+ SubgraphWithdrawalExecution_OrderBy["BatchTotalInterestEarned"] = "batch__totalInterestEarned";
1372
+ SubgraphWithdrawalExecution_OrderBy["BatchTotalNormalizedRequests"] = "batch__totalNormalizedRequests";
1373
+ SubgraphWithdrawalExecution_OrderBy["BlockNumber"] = "blockNumber";
1374
+ SubgraphWithdrawalExecution_OrderBy["BlockTimestamp"] = "blockTimestamp";
1375
+ SubgraphWithdrawalExecution_OrderBy["Id"] = "id";
1376
+ SubgraphWithdrawalExecution_OrderBy["NormalizedAmount"] = "normalizedAmount";
1377
+ SubgraphWithdrawalExecution_OrderBy["Status"] = "status";
1378
+ SubgraphWithdrawalExecution_OrderBy["StatusExecutionsCount"] = "status__executionsCount";
1379
+ SubgraphWithdrawalExecution_OrderBy["StatusId"] = "status__id";
1380
+ SubgraphWithdrawalExecution_OrderBy["StatusIsCompleted"] = "status__isCompleted";
1381
+ SubgraphWithdrawalExecution_OrderBy["StatusNormalizedAmountWithdrawn"] = "status__normalizedAmountWithdrawn";
1382
+ SubgraphWithdrawalExecution_OrderBy["StatusRequestsCount"] = "status__requestsCount";
1383
+ SubgraphWithdrawalExecution_OrderBy["StatusScaledAmount"] = "status__scaledAmount";
1384
+ SubgraphWithdrawalExecution_OrderBy["StatusTotalNormalizedRequests"] = "status__totalNormalizedRequests";
1385
+ SubgraphWithdrawalExecution_OrderBy["TransactionHash"] = "transactionHash";
1386
+ })(SubgraphWithdrawalExecution_OrderBy = exports.SubgraphWithdrawalExecution_OrderBy || (exports.SubgraphWithdrawalExecution_OrderBy = {}));
1387
+ var SubgraphWithdrawalRequest_OrderBy;
1388
+ (function (SubgraphWithdrawalRequest_OrderBy) {
1389
+ SubgraphWithdrawalRequest_OrderBy["Account"] = "account";
1390
+ SubgraphWithdrawalRequest_OrderBy["AccountAddress"] = "account__address";
1391
+ SubgraphWithdrawalRequest_OrderBy["AccountId"] = "account__id";
1392
+ SubgraphWithdrawalRequest_OrderBy["AccountLastScaleFactor"] = "account__lastScaleFactor";
1393
+ SubgraphWithdrawalRequest_OrderBy["AccountLastUpdatedTimestamp"] = "account__lastUpdatedTimestamp";
1394
+ SubgraphWithdrawalRequest_OrderBy["AccountNumPendingWithdrawalBatches"] = "account__numPendingWithdrawalBatches";
1395
+ SubgraphWithdrawalRequest_OrderBy["AccountRole"] = "account__role";
1396
+ SubgraphWithdrawalRequest_OrderBy["AccountScaledBalance"] = "account__scaledBalance";
1397
+ SubgraphWithdrawalRequest_OrderBy["AccountTotalDeposited"] = "account__totalDeposited";
1398
+ SubgraphWithdrawalRequest_OrderBy["AccountTotalInterestEarned"] = "account__totalInterestEarned";
1399
+ SubgraphWithdrawalRequest_OrderBy["Batch"] = "batch";
1400
+ SubgraphWithdrawalRequest_OrderBy["BatchExpiry"] = "batch__expiry";
1401
+ SubgraphWithdrawalRequest_OrderBy["BatchId"] = "batch__id";
1402
+ SubgraphWithdrawalRequest_OrderBy["BatchIsClosed"] = "batch__isClosed";
1403
+ SubgraphWithdrawalRequest_OrderBy["BatchIsExpired"] = "batch__isExpired";
1404
+ SubgraphWithdrawalRequest_OrderBy["BatchLastScaleFactor"] = "batch__lastScaleFactor";
1405
+ SubgraphWithdrawalRequest_OrderBy["BatchLastUpdatedTimestamp"] = "batch__lastUpdatedTimestamp";
1406
+ SubgraphWithdrawalRequest_OrderBy["BatchNormalizedAmountClaimed"] = "batch__normalizedAmountClaimed";
1407
+ SubgraphWithdrawalRequest_OrderBy["BatchNormalizedAmountPaid"] = "batch__normalizedAmountPaid";
1408
+ SubgraphWithdrawalRequest_OrderBy["BatchPaymentsCount"] = "batch__paymentsCount";
1409
+ SubgraphWithdrawalRequest_OrderBy["BatchScaledAmountBurned"] = "batch__scaledAmountBurned";
1410
+ SubgraphWithdrawalRequest_OrderBy["BatchScaledTotalAmount"] = "batch__scaledTotalAmount";
1411
+ SubgraphWithdrawalRequest_OrderBy["BatchTotalInterestEarned"] = "batch__totalInterestEarned";
1412
+ SubgraphWithdrawalRequest_OrderBy["BatchTotalNormalizedRequests"] = "batch__totalNormalizedRequests";
1413
+ SubgraphWithdrawalRequest_OrderBy["BlockNumber"] = "blockNumber";
1414
+ SubgraphWithdrawalRequest_OrderBy["BlockTimestamp"] = "blockTimestamp";
1415
+ SubgraphWithdrawalRequest_OrderBy["Id"] = "id";
1416
+ SubgraphWithdrawalRequest_OrderBy["NormalizedAmount"] = "normalizedAmount";
1417
+ SubgraphWithdrawalRequest_OrderBy["RequestIndex"] = "requestIndex";
1418
+ SubgraphWithdrawalRequest_OrderBy["ScaledAmount"] = "scaledAmount";
1419
+ SubgraphWithdrawalRequest_OrderBy["Status"] = "status";
1420
+ SubgraphWithdrawalRequest_OrderBy["StatusExecutionsCount"] = "status__executionsCount";
1421
+ SubgraphWithdrawalRequest_OrderBy["StatusId"] = "status__id";
1422
+ SubgraphWithdrawalRequest_OrderBy["StatusIsCompleted"] = "status__isCompleted";
1423
+ SubgraphWithdrawalRequest_OrderBy["StatusNormalizedAmountWithdrawn"] = "status__normalizedAmountWithdrawn";
1424
+ SubgraphWithdrawalRequest_OrderBy["StatusRequestsCount"] = "status__requestsCount";
1425
+ SubgraphWithdrawalRequest_OrderBy["StatusScaledAmount"] = "status__scaledAmount";
1426
+ SubgraphWithdrawalRequest_OrderBy["StatusTotalNormalizedRequests"] = "status__totalNormalizedRequests";
1427
+ SubgraphWithdrawalRequest_OrderBy["TransactionHash"] = "transactionHash";
1428
+ })(SubgraphWithdrawalRequest_OrderBy = exports.SubgraphWithdrawalRequest_OrderBy || (exports.SubgraphWithdrawalRequest_OrderBy = {}));
1429
+ var Subgraph_SubgraphErrorPolicy_;
1430
+ (function (Subgraph_SubgraphErrorPolicy_) {
1431
+ /** Data will be returned even if the subgraph has indexing errors */
1432
+ Subgraph_SubgraphErrorPolicy_["Allow"] = "allow";
1433
+ /** If the subgraph has indexing errors, data will be omitted. The default. */
1434
+ Subgraph_SubgraphErrorPolicy_["Deny"] = "deny";
1435
+ })(Subgraph_SubgraphErrorPolicy_ = exports.Subgraph_SubgraphErrorPolicy_ || (exports.Subgraph_SubgraphErrorPolicy_ = {}));
1436
+ exports.LenderPropertiesFragmentDoc = (0, client_1.gql) `
1437
+ fragment LenderProperties on LenderAccount {
1438
+ id
1439
+ address
1440
+ scaledBalance
1441
+ role
1442
+ totalDeposited
1443
+ lastScaleFactor
1444
+ lastUpdatedTimestamp
1445
+ totalInterestEarned
1446
+ numPendingWithdrawalBatches
1447
+ }
1448
+ `;
1449
+ exports.DepositDataFragmentDoc = (0, client_1.gql) `
1450
+ fragment DepositData on Deposit {
1451
+ id
1452
+ assetAmount
1453
+ scaledAmount
1454
+ blockNumber
1455
+ blockTimestamp
1456
+ transactionHash
1457
+ }
1458
+ `;
1459
+ exports.AccountDataForLenderViewFragmentDoc = (0, client_1.gql) `
1460
+ fragment AccountDataForLenderView on LenderAccount {
1461
+ ...LenderProperties
1462
+ controllerAuthorization {
1463
+ authorized
1464
+ }
1465
+ deposits(
1466
+ first: $numDeposits
1467
+ skip: $skipDeposits
1468
+ orderBy: $orderDeposits
1469
+ orderDirection: $directionDeposits
1470
+ ) {
1471
+ ...DepositData
1472
+ }
1473
+ }
1474
+ `;
1475
+ exports.MarketDataFragmentDoc = (0, client_1.gql) `
1476
+ fragment MarketData on Market {
1477
+ id
1478
+ isRegistered
1479
+ isClosed
1480
+ controller {
1481
+ id
1482
+ }
1483
+ borrower
1484
+ sentinel
1485
+ feeRecipient
1486
+ name
1487
+ symbol
1488
+ decimals
1489
+ protocolFeeBips
1490
+ delinquencyGracePeriod
1491
+ delinquencyFeeBips
1492
+ withdrawalBatchDuration
1493
+ _asset: asset {
1494
+ id
1495
+ address
1496
+ name
1497
+ symbol
1498
+ decimals
1499
+ isMock
1500
+ }
1501
+ maxTotalSupply
1502
+ pendingProtocolFees
1503
+ normalizedUnclaimedWithdrawals
1504
+ scaledTotalSupply
1505
+ scaledPendingWithdrawals
1506
+ pendingWithdrawalExpiry
1507
+ isDelinquent
1508
+ timeDelinquent
1509
+ annualInterestBips
1510
+ reserveRatioBips
1511
+ scaleFactor
1512
+ lastInterestAccruedTimestamp
1513
+ originalReserveRatioBips
1514
+ temporaryReserveRatioExpiry
1515
+ temporaryReserveRatioActive
1516
+ totalBorrowed
1517
+ totalRepaid
1518
+ totalBaseInterestAccrued
1519
+ totalDelinquencyFeesAccrued
1520
+ totalProtocolFeesAccrued
1521
+ totalDeposited
1522
+ }
1523
+ `;
1524
+ exports.BorrowDataFragmentDoc = (0, client_1.gql) `
1525
+ fragment BorrowData on Borrow {
1526
+ assetAmount
1527
+ blockNumber
1528
+ blockTimestamp
1529
+ transactionHash
1530
+ }
1531
+ `;
1532
+ exports.FeesCollectedDataFragmentDoc = (0, client_1.gql) `
1533
+ fragment FeesCollectedData on FeesCollected {
1534
+ feesCollected
1535
+ blockNumber
1536
+ blockTimestamp
1537
+ transactionHash
1538
+ }
1539
+ `;
1540
+ exports.RepaymentDataFragmentDoc = (0, client_1.gql) `
1541
+ fragment RepaymentData on DebtRepaid {
1542
+ from
1543
+ assetAmount
1544
+ blockNumber
1545
+ blockTimestamp
1546
+ transactionHash
1547
+ }
1548
+ `;
1549
+ exports.MarketRecordsFragmentDoc = (0, client_1.gql) `
1550
+ fragment MarketRecords on Market {
1551
+ depositRecords(
1552
+ first: $numDeposits
1553
+ skip: $skipDeposits
1554
+ orderBy: $orderDeposits
1555
+ orderDirection: $directionDeposits
1556
+ ) {
1557
+ ...DepositData
1558
+ }
1559
+ borrowRecords(
1560
+ first: $numBorrows
1561
+ skip: $skipBorrows
1562
+ orderBy: $orderBorrows
1563
+ orderDirection: $directionBorrows
1564
+ ) {
1565
+ ...BorrowData
1566
+ }
1567
+ feeCollectionRecords(
1568
+ first: $numFeeCollections
1569
+ skip: $skipFeeCollections
1570
+ orderBy: $orderFeeCollections
1571
+ orderDirection: $directionFeeCollections
1572
+ ) {
1573
+ ...FeesCollectedData
1574
+ }
1575
+ repaymentRecords(
1576
+ first: $numRepayments
1577
+ skip: $skipRepayments
1578
+ orderBy: $orderRepayments
1579
+ orderDirection: $directionRepayments
1580
+ ) {
1581
+ ...RepaymentData
1582
+ }
1583
+ }
1584
+ `;
1585
+ exports.MarketDataWithEventsFragmentDoc = (0, client_1.gql) `
1586
+ fragment MarketDataWithEvents on Market {
1587
+ ...MarketData
1588
+ ...MarketRecords
1589
+ }
1590
+ `;
1591
+ exports.LenderWithdrawalPropertiesFragmentDoc = (0, client_1.gql) `
1592
+ fragment LenderWithdrawalProperties on LenderWithdrawalStatus {
1593
+ id
1594
+ account {
1595
+ address
1596
+ }
1597
+ requestsCount
1598
+ executionsCount
1599
+ scaledAmount
1600
+ normalizedAmountWithdrawn
1601
+ totalNormalizedRequests
1602
+ isCompleted
1603
+ }
1604
+ `;
1605
+ exports.WithdrawalBatchPaymentPropertiesFragmentDoc = (0, client_1.gql) `
1606
+ fragment WithdrawalBatchPaymentProperties on WithdrawalBatchPayment {
1607
+ id
1608
+ scaledAmountBurned
1609
+ normalizedAmountPaid
1610
+ blockNumber
1611
+ blockTimestamp
1612
+ transactionHash
1613
+ }
1614
+ `;
1615
+ exports.WithdrawalBatchPropertiesFragmentDoc = (0, client_1.gql) `
1616
+ fragment WithdrawalBatchProperties on WithdrawalBatch {
1617
+ id
1618
+ expiry
1619
+ scaledTotalAmount
1620
+ scaledAmountBurned
1621
+ normalizedAmountPaid
1622
+ normalizedAmountClaimed
1623
+ totalNormalizedRequests
1624
+ isExpired
1625
+ isClosed
1626
+ paymentsCount
1627
+ lastScaleFactor
1628
+ lastUpdatedTimestamp
1629
+ totalInterestEarned
1630
+ creation {
1631
+ blockNumber
1632
+ blockTimestamp
1633
+ transactionHash
1634
+ }
1635
+ payments {
1636
+ ...WithdrawalBatchPaymentProperties
1637
+ }
1638
+ }
1639
+ `;
1640
+ exports.WithdrawalRequestPropertiesFragmentDoc = (0, client_1.gql) `
1641
+ fragment WithdrawalRequestProperties on WithdrawalRequest {
1642
+ id
1643
+ requestIndex
1644
+ account {
1645
+ address
1646
+ }
1647
+ scaledAmount
1648
+ normalizedAmount
1649
+ blockNumber
1650
+ blockTimestamp
1651
+ transactionHash
1652
+ }
1653
+ `;
1654
+ exports.WithdrawalExecutionPropertiesFragmentDoc = (0, client_1.gql) `
1655
+ fragment WithdrawalExecutionProperties on WithdrawalExecution {
1656
+ id
1657
+ account {
1658
+ address
1659
+ }
1660
+ normalizedAmount
1661
+ blockNumber
1662
+ blockTimestamp
1663
+ transactionHash
1664
+ }
1665
+ `;
1666
+ exports.WithdrawalBatchPropertiesWithEventsFragmentDoc = (0, client_1.gql) `
1667
+ fragment WithdrawalBatchPropertiesWithEvents on WithdrawalBatch {
1668
+ ...WithdrawalBatchProperties
1669
+ withdrawals {
1670
+ ...LenderWithdrawalProperties
1671
+ }
1672
+ requests {
1673
+ ...WithdrawalRequestProperties
1674
+ }
1675
+ executions {
1676
+ ...WithdrawalExecutionProperties
1677
+ }
1678
+ }
1679
+ `;
1680
+ exports.LenderWithdrawalPropertiesWithEventsFragmentDoc = (0, client_1.gql) `
1681
+ fragment LenderWithdrawalPropertiesWithEvents on LenderWithdrawalStatus {
1682
+ ...LenderWithdrawalProperties
1683
+ batch {
1684
+ ...WithdrawalBatchPropertiesWithEvents
1685
+ }
1686
+ requests {
1687
+ ...WithdrawalRequestProperties
1688
+ }
1689
+ executions {
1690
+ ...WithdrawalExecutionProperties
1691
+ }
1692
+ }
1693
+ `;
1694
+ exports.GetLenderAccountForMarketDocument = (0, client_1.gql) `
1695
+ query getLenderAccountForMarket(
1696
+ $market: ID!
1697
+ $lender: Bytes!
1698
+ $numDeposits: Int = 200
1699
+ $skipDeposits: Int = 0
1700
+ $orderDeposits: Deposit_orderBy = blockTimestamp
1701
+ $directionDeposits: OrderDirection = desc
1702
+ $numWithdrawals: Int = 200
1703
+ $skipWithdrawals: Int = 0
1704
+ ) {
1705
+ market(id: $market) {
1706
+ lenders(where: { address: $lender }) {
1707
+ ...AccountDataForLenderView
1708
+ }
1709
+ }
1710
+ }
1711
+ ${exports.AccountDataForLenderViewFragmentDoc}
1712
+ ${exports.LenderPropertiesFragmentDoc}
1713
+ ${exports.DepositDataFragmentDoc}
1714
+ `;
1715
+ /**
1716
+ * __useGetLenderAccountForMarketQuery__
1717
+ *
1718
+ * To run a query within a React component, call `useGetLenderAccountForMarketQuery` and pass it any options that fit your needs.
1719
+ * When your component renders, `useGetLenderAccountForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
1720
+ * you can use to render your UI.
1721
+ *
1722
+ * @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;
1723
+ *
1724
+ * @example
1725
+ * const { data, loading, error } = useGetLenderAccountForMarketQuery({
1726
+ * variables: {
1727
+ * market: // value for 'market'
1728
+ * lender: // value for 'lender'
1729
+ * numDeposits: // value for 'numDeposits'
1730
+ * skipDeposits: // value for 'skipDeposits'
1731
+ * orderDeposits: // value for 'orderDeposits'
1732
+ * directionDeposits: // value for 'directionDeposits'
1733
+ * numWithdrawals: // value for 'numWithdrawals'
1734
+ * skipWithdrawals: // value for 'skipWithdrawals'
1735
+ * },
1736
+ * });
1737
+ */
1738
+ function useGetLenderAccountForMarketQuery(baseOptions) {
1739
+ const options = { ...defaultOptions, ...baseOptions };
1740
+ return Apollo.useQuery(exports.GetLenderAccountForMarketDocument, options);
1741
+ }
1742
+ exports.useGetLenderAccountForMarketQuery = useGetLenderAccountForMarketQuery;
1743
+ function useGetLenderAccountForMarketLazyQuery(baseOptions) {
1744
+ const options = { ...defaultOptions, ...baseOptions };
1745
+ return Apollo.useLazyQuery(exports.GetLenderAccountForMarketDocument, options);
1746
+ }
1747
+ exports.useGetLenderAccountForMarketLazyQuery = useGetLenderAccountForMarketLazyQuery;
1748
+ function useGetLenderAccountForMarketSuspenseQuery(baseOptions) {
1749
+ const options = { ...defaultOptions, ...baseOptions };
1750
+ return Apollo.useSuspenseQuery(exports.GetLenderAccountForMarketDocument, options);
1751
+ }
1752
+ exports.useGetLenderAccountForMarketSuspenseQuery = useGetLenderAccountForMarketSuspenseQuery;
1753
+ exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = (0, client_1.gql) `
1754
+ query getAccountsWhereLenderAuthorizedOrActive(
1755
+ $lender: Bytes!
1756
+ $numDeposits: Int = 200
1757
+ $skipDeposits: Int = 0
1758
+ $orderDeposits: Deposit_orderBy = blockTimestamp
1759
+ $directionDeposits: OrderDirection = desc
1760
+ $numWithdrawals: Int = 200
1761
+ $skipWithdrawals: Int = 0
1762
+ $numBorrows: Int = 10
1763
+ $skipBorrows: Int = 0
1764
+ $orderBorrows: Borrow_orderBy = blockTimestamp
1765
+ $directionBorrows: OrderDirection = desc
1766
+ $numRepayments: Int = 10
1767
+ $skipRepayments: Int = 0
1768
+ $orderRepayments: DebtRepaid_orderBy = blockTimestamp
1769
+ $directionRepayments: OrderDirection = desc
1770
+ ) {
1771
+ lenderAccounts(
1772
+ where: {
1773
+ and: [
1774
+ { address: $lender }
1775
+ {
1776
+ or: [
1777
+ { role_in: [DepositAndWithdraw, WithdrawOnly] }
1778
+ { scaledBalance_gt: 0 }
1779
+ { controllerAuthorization_: { authorized: true } }
1780
+ { totalDeposited_gt: 0 }
1781
+ ]
1782
+ }
1783
+ ]
1784
+ }
1785
+ ) {
1786
+ ...AccountDataForLenderView
1787
+ market {
1788
+ ...MarketData
1789
+ borrowRecords(
1790
+ first: $numBorrows
1791
+ skip: $skipBorrows
1792
+ orderBy: $orderBorrows
1793
+ orderDirection: $directionBorrows
1794
+ ) {
1795
+ ...BorrowData
1796
+ }
1797
+ repaymentRecords(
1798
+ first: $numRepayments
1799
+ skip: $skipRepayments
1800
+ orderBy: $orderRepayments
1801
+ orderDirection: $directionRepayments
1802
+ ) {
1803
+ ...RepaymentData
1804
+ }
1805
+ }
1806
+ }
1807
+ }
1808
+ ${exports.AccountDataForLenderViewFragmentDoc}
1809
+ ${exports.LenderPropertiesFragmentDoc}
1810
+ ${exports.DepositDataFragmentDoc}
1811
+ ${exports.MarketDataFragmentDoc}
1812
+ ${exports.BorrowDataFragmentDoc}
1813
+ ${exports.RepaymentDataFragmentDoc}
1814
+ `;
1815
+ /**
1816
+ * __useGetAccountsWhereLenderAuthorizedOrActiveQuery__
1817
+ *
1818
+ * To run a query within a React component, call `useGetAccountsWhereLenderAuthorizedOrActiveQuery` and pass it any options that fit your needs.
1819
+ * When your component renders, `useGetAccountsWhereLenderAuthorizedOrActiveQuery` returns an object from Apollo Client that contains loading, error, and data properties
1820
+ * you can use to render your UI.
1821
+ *
1822
+ * @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;
1823
+ *
1824
+ * @example
1825
+ * const { data, loading, error } = useGetAccountsWhereLenderAuthorizedOrActiveQuery({
1826
+ * variables: {
1827
+ * lender: // value for 'lender'
1828
+ * numDeposits: // value for 'numDeposits'
1829
+ * skipDeposits: // value for 'skipDeposits'
1830
+ * orderDeposits: // value for 'orderDeposits'
1831
+ * directionDeposits: // value for 'directionDeposits'
1832
+ * numWithdrawals: // value for 'numWithdrawals'
1833
+ * skipWithdrawals: // value for 'skipWithdrawals'
1834
+ * numBorrows: // value for 'numBorrows'
1835
+ * skipBorrows: // value for 'skipBorrows'
1836
+ * orderBorrows: // value for 'orderBorrows'
1837
+ * directionBorrows: // value for 'directionBorrows'
1838
+ * numRepayments: // value for 'numRepayments'
1839
+ * skipRepayments: // value for 'skipRepayments'
1840
+ * orderRepayments: // value for 'orderRepayments'
1841
+ * directionRepayments: // value for 'directionRepayments'
1842
+ * },
1843
+ * });
1844
+ */
1845
+ function useGetAccountsWhereLenderAuthorizedOrActiveQuery(baseOptions) {
1846
+ const options = { ...defaultOptions, ...baseOptions };
1847
+ return Apollo.useQuery(exports.GetAccountsWhereLenderAuthorizedOrActiveDocument, options);
1848
+ }
1849
+ exports.useGetAccountsWhereLenderAuthorizedOrActiveQuery = useGetAccountsWhereLenderAuthorizedOrActiveQuery;
1850
+ function useGetAccountsWhereLenderAuthorizedOrActiveLazyQuery(baseOptions) {
1851
+ const options = { ...defaultOptions, ...baseOptions };
1852
+ return Apollo.useLazyQuery(exports.GetAccountsWhereLenderAuthorizedOrActiveDocument, options);
1853
+ }
1854
+ exports.useGetAccountsWhereLenderAuthorizedOrActiveLazyQuery = useGetAccountsWhereLenderAuthorizedOrActiveLazyQuery;
1855
+ function useGetAccountsWhereLenderAuthorizedOrActiveSuspenseQuery(baseOptions) {
1856
+ const options = { ...defaultOptions, ...baseOptions };
1857
+ return Apollo.useSuspenseQuery(exports.GetAccountsWhereLenderAuthorizedOrActiveDocument, options);
1858
+ }
1859
+ exports.useGetAccountsWhereLenderAuthorizedOrActiveSuspenseQuery = useGetAccountsWhereLenderAuthorizedOrActiveSuspenseQuery;
1860
+ exports.GetLenderWithdrawalsForMarketDocument = (0, client_1.gql) `
1861
+ query getLenderWithdrawalsForMarket(
1862
+ $market: ID!
1863
+ $lender: Bytes!
1864
+ $numWithdrawals: Int = 200
1865
+ $skipWithdrawals: Int = 0
1866
+ ) {
1867
+ market(id: $market) {
1868
+ lenders(where: { address: $lender }) {
1869
+ incompleteWithdrawals: withdrawals(
1870
+ first: $numWithdrawals
1871
+ skip: $skipWithdrawals
1872
+ where: { isCompleted: false }
1873
+ ) {
1874
+ ...LenderWithdrawalPropertiesWithEvents
1875
+ }
1876
+ completeWithdrawals: withdrawals(
1877
+ first: $numWithdrawals
1878
+ skip: $skipWithdrawals
1879
+ where: { isCompleted: true }
1880
+ ) {
1881
+ ...LenderWithdrawalPropertiesWithEvents
1882
+ }
1883
+ }
1884
+ }
1885
+ }
1886
+ ${exports.LenderWithdrawalPropertiesWithEventsFragmentDoc}
1887
+ ${exports.LenderWithdrawalPropertiesFragmentDoc}
1888
+ ${exports.WithdrawalBatchPropertiesWithEventsFragmentDoc}
1889
+ ${exports.WithdrawalBatchPropertiesFragmentDoc}
1890
+ ${exports.WithdrawalBatchPaymentPropertiesFragmentDoc}
1891
+ ${exports.WithdrawalRequestPropertiesFragmentDoc}
1892
+ ${exports.WithdrawalExecutionPropertiesFragmentDoc}
1893
+ `;
1894
+ /**
1895
+ * __useGetLenderWithdrawalsForMarketQuery__
1896
+ *
1897
+ * To run a query within a React component, call `useGetLenderWithdrawalsForMarketQuery` and pass it any options that fit your needs.
1898
+ * When your component renders, `useGetLenderWithdrawalsForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
1899
+ * you can use to render your UI.
1900
+ *
1901
+ * @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;
1902
+ *
1903
+ * @example
1904
+ * const { data, loading, error } = useGetLenderWithdrawalsForMarketQuery({
1905
+ * variables: {
1906
+ * market: // value for 'market'
1907
+ * lender: // value for 'lender'
1908
+ * numWithdrawals: // value for 'numWithdrawals'
1909
+ * skipWithdrawals: // value for 'skipWithdrawals'
1910
+ * },
1911
+ * });
1912
+ */
1913
+ function useGetLenderWithdrawalsForMarketQuery(baseOptions) {
1914
+ const options = { ...defaultOptions, ...baseOptions };
1915
+ return Apollo.useQuery(exports.GetLenderWithdrawalsForMarketDocument, options);
1916
+ }
1917
+ exports.useGetLenderWithdrawalsForMarketQuery = useGetLenderWithdrawalsForMarketQuery;
1918
+ function useGetLenderWithdrawalsForMarketLazyQuery(baseOptions) {
1919
+ const options = { ...defaultOptions, ...baseOptions };
1920
+ return Apollo.useLazyQuery(exports.GetLenderWithdrawalsForMarketDocument, options);
1921
+ }
1922
+ exports.useGetLenderWithdrawalsForMarketLazyQuery = useGetLenderWithdrawalsForMarketLazyQuery;
1923
+ function useGetLenderWithdrawalsForMarketSuspenseQuery(baseOptions) {
1924
+ const options = { ...defaultOptions, ...baseOptions };
1925
+ return Apollo.useSuspenseQuery(exports.GetLenderWithdrawalsForMarketDocument, options);
1926
+ }
1927
+ exports.useGetLenderWithdrawalsForMarketSuspenseQuery = useGetLenderWithdrawalsForMarketSuspenseQuery;
1928
+ exports.GetLenderAuthorizationByMarketDocument = (0, client_1.gql) `
1929
+ query getLenderAuthorizationByMarket($market: ID!, $lender: Bytes!) {
1930
+ market(id: $market) {
1931
+ controller {
1932
+ authorizedLenders(where: { lender: $lender }) {
1933
+ lender
1934
+ authorized
1935
+ }
1936
+ }
1937
+ }
1938
+ }
1939
+ `;
1940
+ /**
1941
+ * __useGetLenderAuthorizationByMarketQuery__
1942
+ *
1943
+ * To run a query within a React component, call `useGetLenderAuthorizationByMarketQuery` and pass it any options that fit your needs.
1944
+ * When your component renders, `useGetLenderAuthorizationByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
1945
+ * you can use to render your UI.
1946
+ *
1947
+ * @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;
1948
+ *
1949
+ * @example
1950
+ * const { data, loading, error } = useGetLenderAuthorizationByMarketQuery({
1951
+ * variables: {
1952
+ * market: // value for 'market'
1953
+ * lender: // value for 'lender'
1954
+ * },
1955
+ * });
1956
+ */
1957
+ function useGetLenderAuthorizationByMarketQuery(baseOptions) {
1958
+ const options = { ...defaultOptions, ...baseOptions };
1959
+ return Apollo.useQuery(exports.GetLenderAuthorizationByMarketDocument, options);
1960
+ }
1961
+ exports.useGetLenderAuthorizationByMarketQuery = useGetLenderAuthorizationByMarketQuery;
1962
+ function useGetLenderAuthorizationByMarketLazyQuery(baseOptions) {
1963
+ const options = { ...defaultOptions, ...baseOptions };
1964
+ return Apollo.useLazyQuery(exports.GetLenderAuthorizationByMarketDocument, options);
1965
+ }
1966
+ exports.useGetLenderAuthorizationByMarketLazyQuery = useGetLenderAuthorizationByMarketLazyQuery;
1967
+ function useGetLenderAuthorizationByMarketSuspenseQuery(baseOptions) {
1968
+ const options = { ...defaultOptions, ...baseOptions };
1969
+ return Apollo.useSuspenseQuery(exports.GetLenderAuthorizationByMarketDocument, options);
1970
+ }
1971
+ exports.useGetLenderAuthorizationByMarketSuspenseQuery = useGetLenderAuthorizationByMarketSuspenseQuery;
1972
+ exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument = (0, client_1.gql) `
1973
+ query getMarketsAndLogsWhereLenderAuthorizedOrActive(
1974
+ $lender: Bytes!
1975
+ $minimumBalance: BigInt = 1
1976
+ $numDeposits: Int = 200
1977
+ $skipDeposits: Int = 0
1978
+ $orderDeposits: Deposit_orderBy = blockTimestamp
1979
+ $directionDeposits: OrderDirection = desc
1980
+ $numWithdrawals: Int = 200
1981
+ $skipWithdrawals: Int = 0
1982
+ ) {
1983
+ lenderAccounts(
1984
+ where: {
1985
+ address: $lender
1986
+ or: [
1987
+ { role_in: [DepositAndWithdraw, WithdrawOnly] }
1988
+ { scaledBalance_gt: $minimumBalance }
1989
+ { controllerAuthorization_: { authorized: true } }
1990
+ ]
1991
+ }
1992
+ ) {
1993
+ market {
1994
+ id
1995
+ }
1996
+ scaledBalance
1997
+ role
1998
+ totalDeposited
1999
+ lastScaleFactor
2000
+ totalInterestEarned
2001
+ controllerAuthorization {
2002
+ authorized
2003
+ }
2004
+ withdrawals(first: $numWithdrawals, skip: $skipWithdrawals, where: { isCompleted: false }) {
2005
+ ...LenderWithdrawalProperties
2006
+ batch {
2007
+ ...WithdrawalBatchProperties
2008
+ }
2009
+ requests {
2010
+ ...WithdrawalRequestProperties
2011
+ }
2012
+ executions {
2013
+ ...WithdrawalExecutionProperties
2014
+ }
2015
+ }
2016
+ deposits(
2017
+ first: $numDeposits
2018
+ skip: $skipDeposits
2019
+ orderBy: $orderDeposits
2020
+ orderDirection: $directionDeposits
2021
+ ) {
2022
+ ...DepositData
2023
+ }
2024
+ }
2025
+ }
2026
+ ${exports.LenderWithdrawalPropertiesFragmentDoc}
2027
+ ${exports.WithdrawalBatchPropertiesFragmentDoc}
2028
+ ${exports.WithdrawalBatchPaymentPropertiesFragmentDoc}
2029
+ ${exports.WithdrawalRequestPropertiesFragmentDoc}
2030
+ ${exports.WithdrawalExecutionPropertiesFragmentDoc}
2031
+ ${exports.DepositDataFragmentDoc}
2032
+ `;
2033
+ /**
2034
+ * __useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery__
2035
+ *
2036
+ * To run a query within a React component, call `useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery` and pass it any options that fit your needs.
2037
+ * When your component renders, `useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery` returns an object from Apollo Client that contains loading, error, and data properties
2038
+ * you can use to render your UI.
2039
+ *
2040
+ * @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;
2041
+ *
2042
+ * @example
2043
+ * const { data, loading, error } = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery({
2044
+ * variables: {
2045
+ * lender: // value for 'lender'
2046
+ * minimumBalance: // value for 'minimumBalance'
2047
+ * numDeposits: // value for 'numDeposits'
2048
+ * skipDeposits: // value for 'skipDeposits'
2049
+ * orderDeposits: // value for 'orderDeposits'
2050
+ * directionDeposits: // value for 'directionDeposits'
2051
+ * numWithdrawals: // value for 'numWithdrawals'
2052
+ * skipWithdrawals: // value for 'skipWithdrawals'
2053
+ * },
2054
+ * });
2055
+ */
2056
+ function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery(baseOptions) {
2057
+ const options = { ...defaultOptions, ...baseOptions };
2058
+ return Apollo.useQuery(exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument, options);
2059
+ }
2060
+ exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery;
2061
+ function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQuery(baseOptions) {
2062
+ const options = { ...defaultOptions, ...baseOptions };
2063
+ return Apollo.useLazyQuery(exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument, options);
2064
+ }
2065
+ exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQuery = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveLazyQuery;
2066
+ function useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery(baseOptions) {
2067
+ const options = { ...defaultOptions, ...baseOptions };
2068
+ return Apollo.useSuspenseQuery(exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument, options);
2069
+ }
2070
+ exports.useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery = useGetMarketsAndLogsWhereLenderAuthorizedOrActiveSuspenseQuery;
2071
+ exports.GetMarketsForBorrowerDocument = (0, client_1.gql) `
2072
+ query getMarketsForBorrower(
2073
+ $borrower: Bytes!
2074
+ $numDeposits: Int = 10
2075
+ $skipDeposits: Int = 0
2076
+ $orderDeposits: Deposit_orderBy = blockTimestamp
2077
+ $directionDeposits: OrderDirection = desc
2078
+ $numBorrows: Int = 10
2079
+ $skipBorrows: Int = 0
2080
+ $orderBorrows: Borrow_orderBy = blockTimestamp
2081
+ $directionBorrows: OrderDirection = desc
2082
+ $numFeeCollections: Int = 10
2083
+ $skipFeeCollections: Int = 0
2084
+ $orderFeeCollections: FeesCollected_orderBy = blockTimestamp
2085
+ $directionFeeCollections: OrderDirection = desc
2086
+ $numRepayments: Int = 10
2087
+ $skipRepayments: Int = 0
2088
+ $orderRepayments: DebtRepaid_orderBy = blockTimestamp
2089
+ $directionRepayments: OrderDirection = desc
2090
+ ) {
2091
+ controllers(where: { borrower: $borrower }) {
2092
+ markets {
2093
+ ...MarketDataWithEvents
2094
+ }
2095
+ }
2096
+ }
2097
+ ${exports.MarketDataWithEventsFragmentDoc}
2098
+ ${exports.MarketDataFragmentDoc}
2099
+ ${exports.MarketRecordsFragmentDoc}
2100
+ ${exports.DepositDataFragmentDoc}
2101
+ ${exports.BorrowDataFragmentDoc}
2102
+ ${exports.FeesCollectedDataFragmentDoc}
2103
+ ${exports.RepaymentDataFragmentDoc}
2104
+ `;
2105
+ /**
2106
+ * __useGetMarketsForBorrowerQuery__
2107
+ *
2108
+ * To run a query within a React component, call `useGetMarketsForBorrowerQuery` and pass it any options that fit your needs.
2109
+ * When your component renders, `useGetMarketsForBorrowerQuery` returns an object from Apollo Client that contains loading, error, and data properties
2110
+ * you can use to render your UI.
2111
+ *
2112
+ * @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;
2113
+ *
2114
+ * @example
2115
+ * const { data, loading, error } = useGetMarketsForBorrowerQuery({
2116
+ * variables: {
2117
+ * borrower: // value for 'borrower'
2118
+ * numDeposits: // value for 'numDeposits'
2119
+ * skipDeposits: // value for 'skipDeposits'
2120
+ * orderDeposits: // value for 'orderDeposits'
2121
+ * directionDeposits: // value for 'directionDeposits'
2122
+ * numBorrows: // value for 'numBorrows'
2123
+ * skipBorrows: // value for 'skipBorrows'
2124
+ * orderBorrows: // value for 'orderBorrows'
2125
+ * directionBorrows: // value for 'directionBorrows'
2126
+ * numFeeCollections: // value for 'numFeeCollections'
2127
+ * skipFeeCollections: // value for 'skipFeeCollections'
2128
+ * orderFeeCollections: // value for 'orderFeeCollections'
2129
+ * directionFeeCollections: // value for 'directionFeeCollections'
2130
+ * numRepayments: // value for 'numRepayments'
2131
+ * skipRepayments: // value for 'skipRepayments'
2132
+ * orderRepayments: // value for 'orderRepayments'
2133
+ * directionRepayments: // value for 'directionRepayments'
2134
+ * },
2135
+ * });
2136
+ */
2137
+ function useGetMarketsForBorrowerQuery(baseOptions) {
2138
+ const options = { ...defaultOptions, ...baseOptions };
2139
+ return Apollo.useQuery(exports.GetMarketsForBorrowerDocument, options);
2140
+ }
2141
+ exports.useGetMarketsForBorrowerQuery = useGetMarketsForBorrowerQuery;
2142
+ function useGetMarketsForBorrowerLazyQuery(baseOptions) {
2143
+ const options = { ...defaultOptions, ...baseOptions };
2144
+ return Apollo.useLazyQuery(exports.GetMarketsForBorrowerDocument, options);
2145
+ }
2146
+ exports.useGetMarketsForBorrowerLazyQuery = useGetMarketsForBorrowerLazyQuery;
2147
+ function useGetMarketsForBorrowerSuspenseQuery(baseOptions) {
2148
+ const options = { ...defaultOptions, ...baseOptions };
2149
+ return Apollo.useSuspenseQuery(exports.GetMarketsForBorrowerDocument, options);
2150
+ }
2151
+ exports.useGetMarketsForBorrowerSuspenseQuery = useGetMarketsForBorrowerSuspenseQuery;
2152
+ exports.GetAllPendingWithdrawalBatchesForMarketDocument = (0, client_1.gql) `
2153
+ query getAllPendingWithdrawalBatchesForMarket($market: ID!) {
2154
+ market(id: $market) {
2155
+ withdrawalBatches(where: { isClosed: false }) {
2156
+ ...WithdrawalBatchPropertiesWithEvents
2157
+ }
2158
+ }
2159
+ }
2160
+ ${exports.WithdrawalBatchPropertiesWithEventsFragmentDoc}
2161
+ ${exports.WithdrawalBatchPropertiesFragmentDoc}
2162
+ ${exports.WithdrawalBatchPaymentPropertiesFragmentDoc}
2163
+ ${exports.LenderWithdrawalPropertiesFragmentDoc}
2164
+ ${exports.WithdrawalRequestPropertiesFragmentDoc}
2165
+ ${exports.WithdrawalExecutionPropertiesFragmentDoc}
2166
+ `;
2167
+ /**
2168
+ * __useGetAllPendingWithdrawalBatchesForMarketQuery__
2169
+ *
2170
+ * To run a query within a React component, call `useGetAllPendingWithdrawalBatchesForMarketQuery` and pass it any options that fit your needs.
2171
+ * When your component renders, `useGetAllPendingWithdrawalBatchesForMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
2172
+ * you can use to render your UI.
2173
+ *
2174
+ * @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;
2175
+ *
2176
+ * @example
2177
+ * const { data, loading, error } = useGetAllPendingWithdrawalBatchesForMarketQuery({
2178
+ * variables: {
2179
+ * market: // value for 'market'
2180
+ * },
2181
+ * });
2182
+ */
2183
+ function useGetAllPendingWithdrawalBatchesForMarketQuery(baseOptions) {
2184
+ const options = { ...defaultOptions, ...baseOptions };
2185
+ return Apollo.useQuery(exports.GetAllPendingWithdrawalBatchesForMarketDocument, options);
2186
+ }
2187
+ exports.useGetAllPendingWithdrawalBatchesForMarketQuery = useGetAllPendingWithdrawalBatchesForMarketQuery;
2188
+ function useGetAllPendingWithdrawalBatchesForMarketLazyQuery(baseOptions) {
2189
+ const options = { ...defaultOptions, ...baseOptions };
2190
+ return Apollo.useLazyQuery(exports.GetAllPendingWithdrawalBatchesForMarketDocument, options);
2191
+ }
2192
+ exports.useGetAllPendingWithdrawalBatchesForMarketLazyQuery = useGetAllPendingWithdrawalBatchesForMarketLazyQuery;
2193
+ function useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery(baseOptions) {
2194
+ const options = { ...defaultOptions, ...baseOptions };
2195
+ return Apollo.useSuspenseQuery(exports.GetAllPendingWithdrawalBatchesForMarketDocument, options);
2196
+ }
2197
+ exports.useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery = useGetAllPendingWithdrawalBatchesForMarketSuspenseQuery;
2198
+ exports.GetAllMarketsDocument = (0, client_1.gql) `
2199
+ query getAllMarkets {
2200
+ markets {
2201
+ ...MarketData
2202
+ }
2203
+ }
2204
+ ${exports.MarketDataFragmentDoc}
2205
+ `;
2206
+ /**
2207
+ * __useGetAllMarketsQuery__
2208
+ *
2209
+ * To run a query within a React component, call `useGetAllMarketsQuery` and pass it any options that fit your needs.
2210
+ * When your component renders, `useGetAllMarketsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2211
+ * you can use to render your UI.
2212
+ *
2213
+ * @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;
2214
+ *
2215
+ * @example
2216
+ * const { data, loading, error } = useGetAllMarketsQuery({
2217
+ * variables: {
2218
+ * },
2219
+ * });
2220
+ */
2221
+ function useGetAllMarketsQuery(baseOptions) {
2222
+ const options = { ...defaultOptions, ...baseOptions };
2223
+ return Apollo.useQuery(exports.GetAllMarketsDocument, options);
2224
+ }
2225
+ exports.useGetAllMarketsQuery = useGetAllMarketsQuery;
2226
+ function useGetAllMarketsLazyQuery(baseOptions) {
2227
+ const options = { ...defaultOptions, ...baseOptions };
2228
+ return Apollo.useLazyQuery(exports.GetAllMarketsDocument, options);
2229
+ }
2230
+ exports.useGetAllMarketsLazyQuery = useGetAllMarketsLazyQuery;
2231
+ function useGetAllMarketsSuspenseQuery(baseOptions) {
2232
+ const options = { ...defaultOptions, ...baseOptions };
2233
+ return Apollo.useSuspenseQuery(exports.GetAllMarketsDocument, options);
2234
+ }
2235
+ exports.useGetAllMarketsSuspenseQuery = useGetAllMarketsSuspenseQuery;
2236
+ exports.GetAuthorizedLendersByMarketDocument = (0, client_1.gql) `
2237
+ query getAuthorizedLendersByMarket($market: ID!) {
2238
+ market(id: $market) {
2239
+ controller {
2240
+ authorizedLenders(where: { authorized: true }) {
2241
+ lender
2242
+ }
2243
+ }
2244
+ }
2245
+ }
2246
+ `;
2247
+ /**
2248
+ * __useGetAuthorizedLendersByMarketQuery__
2249
+ *
2250
+ * To run a query within a React component, call `useGetAuthorizedLendersByMarketQuery` and pass it any options that fit your needs.
2251
+ * When your component renders, `useGetAuthorizedLendersByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
2252
+ * you can use to render your UI.
2253
+ *
2254
+ * @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;
2255
+ *
2256
+ * @example
2257
+ * const { data, loading, error } = useGetAuthorizedLendersByMarketQuery({
2258
+ * variables: {
2259
+ * market: // value for 'market'
2260
+ * },
2261
+ * });
2262
+ */
2263
+ function useGetAuthorizedLendersByMarketQuery(baseOptions) {
2264
+ const options = { ...defaultOptions, ...baseOptions };
2265
+ return Apollo.useQuery(exports.GetAuthorizedLendersByMarketDocument, options);
2266
+ }
2267
+ exports.useGetAuthorizedLendersByMarketQuery = useGetAuthorizedLendersByMarketQuery;
2268
+ function useGetAuthorizedLendersByMarketLazyQuery(baseOptions) {
2269
+ const options = { ...defaultOptions, ...baseOptions };
2270
+ return Apollo.useLazyQuery(exports.GetAuthorizedLendersByMarketDocument, options);
2271
+ }
2272
+ exports.useGetAuthorizedLendersByMarketLazyQuery = useGetAuthorizedLendersByMarketLazyQuery;
2273
+ function useGetAuthorizedLendersByMarketSuspenseQuery(baseOptions) {
2274
+ const options = { ...defaultOptions, ...baseOptions };
2275
+ return Apollo.useSuspenseQuery(exports.GetAuthorizedLendersByMarketDocument, options);
2276
+ }
2277
+ exports.useGetAuthorizedLendersByMarketSuspenseQuery = useGetAuthorizedLendersByMarketSuspenseQuery;
2278
+ exports.GetAuthorizedLendersByBorrowerDocument = (0, client_1.gql) `
2279
+ query getAuthorizedLendersByBorrower($filter: Controller_filter!) {
2280
+ controllers(where: $filter) {
2281
+ authorizedLenders(where: { authorized: true }) {
2282
+ lender
2283
+ }
2284
+ }
2285
+ }
2286
+ `;
2287
+ /**
2288
+ * __useGetAuthorizedLendersByBorrowerQuery__
2289
+ *
2290
+ * To run a query within a React component, call `useGetAuthorizedLendersByBorrowerQuery` and pass it any options that fit your needs.
2291
+ * When your component renders, `useGetAuthorizedLendersByBorrowerQuery` returns an object from Apollo Client that contains loading, error, and data properties
2292
+ * you can use to render your UI.
2293
+ *
2294
+ * @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;
2295
+ *
2296
+ * @example
2297
+ * const { data, loading, error } = useGetAuthorizedLendersByBorrowerQuery({
2298
+ * variables: {
2299
+ * filter: // value for 'filter'
2300
+ * },
2301
+ * });
2302
+ */
2303
+ function useGetAuthorizedLendersByBorrowerQuery(baseOptions) {
2304
+ const options = { ...defaultOptions, ...baseOptions };
2305
+ return Apollo.useQuery(exports.GetAuthorizedLendersByBorrowerDocument, options);
2306
+ }
2307
+ exports.useGetAuthorizedLendersByBorrowerQuery = useGetAuthorizedLendersByBorrowerQuery;
2308
+ function useGetAuthorizedLendersByBorrowerLazyQuery(baseOptions) {
2309
+ const options = { ...defaultOptions, ...baseOptions };
2310
+ return Apollo.useLazyQuery(exports.GetAuthorizedLendersByBorrowerDocument, options);
2311
+ }
2312
+ exports.useGetAuthorizedLendersByBorrowerLazyQuery = useGetAuthorizedLendersByBorrowerLazyQuery;
2313
+ function useGetAuthorizedLendersByBorrowerSuspenseQuery(baseOptions) {
2314
+ const options = { ...defaultOptions, ...baseOptions };
2315
+ return Apollo.useSuspenseQuery(exports.GetAuthorizedLendersByBorrowerDocument, options);
2316
+ }
2317
+ exports.useGetAuthorizedLendersByBorrowerSuspenseQuery = useGetAuthorizedLendersByBorrowerSuspenseQuery;
2318
+ exports.GetSubgraphStatusDocument = (0, client_1.gql) `
2319
+ query getSubgraphStatus {
2320
+ _meta {
2321
+ hasIndexingErrors
2322
+ block {
2323
+ hash
2324
+ number
2325
+ timestamp
2326
+ }
2327
+ }
2328
+ }
2329
+ `;
2330
+ /**
2331
+ * __useGetSubgraphStatusQuery__
2332
+ *
2333
+ * To run a query within a React component, call `useGetSubgraphStatusQuery` and pass it any options that fit your needs.
2334
+ * When your component renders, `useGetSubgraphStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
2335
+ * you can use to render your UI.
2336
+ *
2337
+ * @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;
2338
+ *
2339
+ * @example
2340
+ * const { data, loading, error } = useGetSubgraphStatusQuery({
2341
+ * variables: {
2342
+ * },
2343
+ * });
2344
+ */
2345
+ function useGetSubgraphStatusQuery(baseOptions) {
2346
+ const options = { ...defaultOptions, ...baseOptions };
2347
+ return Apollo.useQuery(exports.GetSubgraphStatusDocument, options);
2348
+ }
2349
+ exports.useGetSubgraphStatusQuery = useGetSubgraphStatusQuery;
2350
+ function useGetSubgraphStatusLazyQuery(baseOptions) {
2351
+ const options = { ...defaultOptions, ...baseOptions };
2352
+ return Apollo.useLazyQuery(exports.GetSubgraphStatusDocument, options);
2353
+ }
2354
+ exports.useGetSubgraphStatusLazyQuery = useGetSubgraphStatusLazyQuery;
2355
+ function useGetSubgraphStatusSuspenseQuery(baseOptions) {
2356
+ const options = { ...defaultOptions, ...baseOptions };
2357
+ return Apollo.useSuspenseQuery(exports.GetSubgraphStatusDocument, options);
2358
+ }
2359
+ exports.useGetSubgraphStatusSuspenseQuery = useGetSubgraphStatusSuspenseQuery;
2360
+ exports.GetMarketRecordsDocument = (0, client_1.gql) `
2361
+ query getMarketRecords(
2362
+ $market: ID!
2363
+ $numDeposits: Int = 10
2364
+ $skipDeposits: Int = 0
2365
+ $orderDeposits: Deposit_orderBy = blockTimestamp
2366
+ $directionDeposits: OrderDirection = desc
2367
+ $numBorrows: Int = 10
2368
+ $skipBorrows: Int = 0
2369
+ $orderBorrows: Borrow_orderBy = blockTimestamp
2370
+ $directionBorrows: OrderDirection = desc
2371
+ $numFeeCollections: Int = 10
2372
+ $skipFeeCollections: Int = 0
2373
+ $orderFeeCollections: FeesCollected_orderBy = blockTimestamp
2374
+ $directionFeeCollections: OrderDirection = desc
2375
+ $numRepayments: Int = 10
2376
+ $skipRepayments: Int = 0
2377
+ $orderRepayments: DebtRepaid_orderBy = blockTimestamp
2378
+ $directionRepayments: OrderDirection = desc
2379
+ ) {
2380
+ market(id: $market) {
2381
+ ...MarketRecords
2382
+ }
2383
+ }
2384
+ ${exports.MarketRecordsFragmentDoc}
2385
+ ${exports.DepositDataFragmentDoc}
2386
+ ${exports.BorrowDataFragmentDoc}
2387
+ ${exports.FeesCollectedDataFragmentDoc}
2388
+ ${exports.RepaymentDataFragmentDoc}
2389
+ `;
2390
+ /**
2391
+ * __useGetMarketRecordsQuery__
2392
+ *
2393
+ * To run a query within a React component, call `useGetMarketRecordsQuery` and pass it any options that fit your needs.
2394
+ * When your component renders, `useGetMarketRecordsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2395
+ * you can use to render your UI.
2396
+ *
2397
+ * @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;
2398
+ *
2399
+ * @example
2400
+ * const { data, loading, error } = useGetMarketRecordsQuery({
2401
+ * variables: {
2402
+ * market: // value for 'market'
2403
+ * numDeposits: // value for 'numDeposits'
2404
+ * skipDeposits: // value for 'skipDeposits'
2405
+ * orderDeposits: // value for 'orderDeposits'
2406
+ * directionDeposits: // value for 'directionDeposits'
2407
+ * numBorrows: // value for 'numBorrows'
2408
+ * skipBorrows: // value for 'skipBorrows'
2409
+ * orderBorrows: // value for 'orderBorrows'
2410
+ * directionBorrows: // value for 'directionBorrows'
2411
+ * numFeeCollections: // value for 'numFeeCollections'
2412
+ * skipFeeCollections: // value for 'skipFeeCollections'
2413
+ * orderFeeCollections: // value for 'orderFeeCollections'
2414
+ * directionFeeCollections: // value for 'directionFeeCollections'
2415
+ * numRepayments: // value for 'numRepayments'
2416
+ * skipRepayments: // value for 'skipRepayments'
2417
+ * orderRepayments: // value for 'orderRepayments'
2418
+ * directionRepayments: // value for 'directionRepayments'
2419
+ * },
2420
+ * });
2421
+ */
2422
+ function useGetMarketRecordsQuery(baseOptions) {
2423
+ const options = { ...defaultOptions, ...baseOptions };
2424
+ return Apollo.useQuery(exports.GetMarketRecordsDocument, options);
2425
+ }
2426
+ exports.useGetMarketRecordsQuery = useGetMarketRecordsQuery;
2427
+ function useGetMarketRecordsLazyQuery(baseOptions) {
2428
+ const options = { ...defaultOptions, ...baseOptions };
2429
+ return Apollo.useLazyQuery(exports.GetMarketRecordsDocument, options);
2430
+ }
2431
+ exports.useGetMarketRecordsLazyQuery = useGetMarketRecordsLazyQuery;
2432
+ function useGetMarketRecordsSuspenseQuery(baseOptions) {
2433
+ const options = { ...defaultOptions, ...baseOptions };
2434
+ return Apollo.useSuspenseQuery(exports.GetMarketRecordsDocument, options);
2435
+ }
2436
+ exports.useGetMarketRecordsSuspenseQuery = useGetMarketRecordsSuspenseQuery;
2437
+ //# sourceMappingURL=graphql.js.map