@wildcatfi/wildcat-sdk 3.0.39 → 3.0.41-beta

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 (66) hide show
  1. package/dist/collateral/index.d.ts +37 -0
  2. package/dist/collateral/index.d.ts.map +1 -0
  3. package/dist/collateral/index.js +74 -0
  4. package/dist/collateral/index.js.map +1 -0
  5. package/dist/constants.js +1 -1
  6. package/dist/constants.js.map +1 -1
  7. package/dist/gql/getMarketRecords.d.ts.map +1 -1
  8. package/dist/gql/getMarketRecords.js +2 -3
  9. package/dist/gql/getMarketRecords.js.map +1 -1
  10. package/dist/gql/graphql.d.ts +1733 -43
  11. package/dist/gql/graphql.d.ts.map +1 -1
  12. package/dist/gql/graphql.js +432 -4
  13. package/dist/gql/graphql.js.map +1 -1
  14. package/dist/market.js +0 -1
  15. package/dist/market.js.map +1 -1
  16. package/dist/typechain/DescribeSignature.d.ts +100 -0
  17. package/dist/typechain/DescribeSignature.d.ts.map +1 -0
  18. package/dist/typechain/DescribeSignature.js +3 -0
  19. package/dist/typechain/DescribeSignature.js.map +1 -0
  20. package/dist/typechain/ISafe.d.ts +17 -1
  21. package/dist/typechain/ISafe.d.ts.map +1 -1
  22. package/dist/typechain/SimpleMarketCollateral.d.ts +269 -0
  23. package/dist/typechain/SimpleMarketCollateral.d.ts.map +1 -0
  24. package/dist/typechain/SimpleMarketCollateral.js +3 -0
  25. package/dist/typechain/SimpleMarketCollateral.js.map +1 -0
  26. package/dist/typechain/SimpleMarketCollateralFactory.sol/WildcatMarketCollateralFactory.d.ts +164 -0
  27. package/dist/typechain/SimpleMarketCollateralFactory.sol/WildcatMarketCollateralFactory.d.ts.map +1 -0
  28. package/dist/typechain/SimpleMarketCollateralFactory.sol/WildcatMarketCollateralFactory.js +3 -0
  29. package/dist/typechain/SimpleMarketCollateralFactory.sol/WildcatMarketCollateralFactory.js.map +1 -0
  30. package/dist/typechain/SimpleMarketCollateralFactory.sol/index.d.ts +2 -0
  31. package/dist/typechain/SimpleMarketCollateralFactory.sol/index.d.ts.map +1 -0
  32. package/dist/typechain/SimpleMarketCollateralFactory.sol/index.js +3 -0
  33. package/dist/typechain/SimpleMarketCollateralFactory.sol/index.js.map +1 -0
  34. package/dist/typechain/factories/DescribeSignature__factory.d.ts +141 -0
  35. package/dist/typechain/factories/DescribeSignature__factory.d.ts.map +1 -0
  36. package/dist/typechain/factories/DescribeSignature__factory.js +198 -0
  37. package/dist/typechain/factories/DescribeSignature__factory.js.map +1 -0
  38. package/dist/typechain/factories/ISafe__factory.d.ts +28 -0
  39. package/dist/typechain/factories/ISafe__factory.d.ts.map +1 -1
  40. package/dist/typechain/factories/ISafe__factory.js +37 -0
  41. package/dist/typechain/factories/ISafe__factory.js.map +1 -1
  42. package/dist/typechain/factories/SimpleMarketCollateralFactory.sol/WildcatMarketCollateralFactory__factory.d.ts +160 -0
  43. package/dist/typechain/factories/SimpleMarketCollateralFactory.sol/WildcatMarketCollateralFactory__factory.d.ts.map +1 -0
  44. package/dist/typechain/factories/SimpleMarketCollateralFactory.sol/WildcatMarketCollateralFactory__factory.js +223 -0
  45. package/dist/typechain/factories/SimpleMarketCollateralFactory.sol/WildcatMarketCollateralFactory__factory.js.map +1 -0
  46. package/dist/typechain/factories/SimpleMarketCollateralFactory.sol/index.d.ts +2 -0
  47. package/dist/typechain/factories/SimpleMarketCollateralFactory.sol/index.d.ts.map +1 -0
  48. package/dist/typechain/factories/SimpleMarketCollateralFactory.sol/index.js +9 -0
  49. package/dist/typechain/factories/SimpleMarketCollateralFactory.sol/index.js.map +1 -0
  50. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts +260 -0
  51. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts.map +1 -0
  52. package/dist/typechain/factories/SimpleMarketCollateral__factory.js +349 -0
  53. package/dist/typechain/factories/SimpleMarketCollateral__factory.js.map +1 -0
  54. package/dist/typechain/factories/index.d.ts +3 -0
  55. package/dist/typechain/factories/index.d.ts.map +1 -1
  56. package/dist/typechain/factories/index.js +29 -1
  57. package/dist/typechain/factories/index.js.map +1 -1
  58. package/dist/typechain/index.d.ts +10 -0
  59. package/dist/typechain/index.d.ts.map +1 -1
  60. package/dist/typechain/index.js +7 -1
  61. package/dist/typechain/index.js.map +1 -1
  62. package/dist/utils/describe-signature.d.ts +30 -0
  63. package/dist/utils/describe-signature.d.ts.map +1 -0
  64. package/dist/utils/describe-signature.js +52 -0
  65. package/dist/utils/describe-signature.js.map +1 -0
  66. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubgraphMaxTotalSupplyUpdated_OrderBy = exports.SubgraphMarket_OrderBy = exports.SubgraphMarketVersion = exports.SubgraphMarketRemoved_OrderBy = exports.SubgraphMarketInterestAccrued_OrderBy = exports.SubgraphMarketDeployed_OrderBy = exports.SubgraphMarketClosed_OrderBy = exports.SubgraphMarketAdded_OrderBy = exports.SubgraphLenderWithdrawalStatus_OrderBy = exports.SubgraphLenderStatus = exports.SubgraphLenderInterestAccrued_OrderBy = exports.SubgraphLenderHooksAccess_OrderBy = exports.SubgraphLenderAuthorization_OrderBy = exports.SubgraphLenderAuthorizationChange_OrderBy = exports.SubgraphLenderAccount_OrderBy = exports.SubgraphKnownLenderStatus_OrderBy = exports.SubgraphHooksTemplate_OrderBy = exports.SubgraphHooksTemplateFeesUpdated_OrderBy = exports.SubgraphHooksTemplateDisabled_OrderBy = exports.SubgraphHooksTemplateAdded_OrderBy = exports.SubgraphHooksNameUpdated_OrderBy = exports.SubgraphHooksKind = exports.SubgraphHooksInstance_OrderBy = exports.SubgraphHooksInstanceDeployed_OrderBy = exports.SubgraphHooksFactory_OrderBy = exports.SubgraphHooksConfig_OrderBy = exports.SubgraphForceBuyBack_OrderBy = exports.SubgraphFixedTermUpdated_OrderBy = exports.SubgraphFeesCollected_OrderBy = exports.SubgraphDisabledForceBuyBacks_OrderBy = exports.SubgraphDeposit_OrderBy = exports.SubgraphDelinquencyStatusChanged_OrderBy = exports.SubgraphDebtRepaid_OrderBy = exports.SubgraphController_OrderBy = exports.SubgraphControllerRemoved_OrderBy = exports.SubgraphControllerFactory_OrderBy = exports.SubgraphControllerFactoryRemoved_OrderBy = exports.SubgraphControllerFactoryAdded_OrderBy = exports.SubgraphControllerAdded_OrderBy = exports.SubgraphBorrowerRegistrationChange_OrderBy = exports.SubgraphBorrow_OrderBy = exports.SubgraphArchController_OrderBy = exports.SubgraphApproval_OrderBy = exports.SubgraphAnnualInterestBipsUpdated_OrderBy = exports.SubgraphAggregation_Interval = exports.SubgraphAccountUnblockedFromDeposits_OrderBy = exports.SubgraphAccountMadeFirstDeposit_OrderBy = exports.SubgraphAccountBlockedFromDeposits_OrderBy = exports.SubgraphAccountAccessRevoked_OrderBy = exports.SubgraphAccountAccessGranted_OrderBy = void 0;
4
- exports.BorrowDataFragmentDoc = exports.MarketDataFragmentDoc = exports.MarketDeployedEventFragmentDoc = exports.HooksInstanceDataFragmentDoc = exports.HooksTemplateDataFragmentDoc = exports.HooksConfigDataForMarketFragmentDoc = exports.DelinquencyStatusChangedDataFragmentDoc = exports.AprConstraintsFragmentDoc = exports.MinimalControllerDataFragmentDoc = exports.TokenDataFragmentDoc = exports.ParameterConstraintsDataFragmentDoc = exports.AllAuthorizedLendersViewFragmentDoc = exports.BasicLenderDataFragmentDoc = exports.AccountDataForLenderViewFragmentDoc = exports.DepositDataFragmentDoc = exports.LenderHooksAccessDataFragmentDoc = exports.RoleProviderDataFragmentDoc = exports.LenderPropertiesFragmentDoc = exports.Subgraph_SubgraphErrorPolicy_ = exports.SubgraphWithdrawalRequest_OrderBy = exports.SubgraphWithdrawalExecution_OrderBy = exports.SubgraphWithdrawalBatch_OrderBy = exports.SubgraphWithdrawalBatchPayment_OrderBy = exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy = exports.SubgraphWithdrawalBatchExpired_OrderBy = exports.SubgraphWithdrawalBatchCreated_OrderBy = exports.SubgraphUpdateProtocolFeeConfiguration_OrderBy = exports.SubgraphTransfer_OrderBy = exports.SubgraphToken_OrderBy = exports.SubgraphSubgraphVersion_OrderBy = exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsQueuedForWithdrawal_OrderBy = exports.SubgraphSanctionOverride_OrderBy = exports.SubgraphSanctionOverrideRemoved_OrderBy = exports.SubgraphRoleProvider_OrderBy = exports.SubgraphRoleProviderUpdated_OrderBy = exports.SubgraphRoleProviderRemoved_OrderBy = exports.SubgraphRoleProviderAdded_OrderBy = exports.SubgraphReserveRatioBipsUpdated_OrderBy = exports.SubgraphRegisteredBorrower_OrderBy = exports.SubgraphProtocolFeeBipsUpdated_OrderBy = exports.SubgraphParameterConstraints_OrderBy = exports.SubgraphOwnershipTransferred_OrderBy = exports.SubgraphOwnershipHandoverRequested_OrderBy = exports.SubgraphOwnershipHandoverCanceled_OrderBy = exports.SubgraphOrderDirection = exports.SubgraphNewSanctionsEscrow_OrderBy = exports.SubgraphNewController_OrderBy = exports.SubgraphMinimumDepositUpdated_OrderBy = void 0;
5
- exports.GetMarketRecordsDocument = exports.GetSubgraphStatusDocument = exports.GetAuthorizedLendersByBorrowerDocument = exports.GetActiveLendersByMarketDocument = exports.GetMarketsAndLendersByHooksInstanceOrControllerDocument = exports.GetLendersByHooksInstanceOrControllerDocument = exports.GetV1AuthorizedLendersDocument = exports.GetAllAuthorizedLendersDocument = exports.GetAuthorizedLendersByMarketDocument = exports.GetAllMarketsDocument = exports.GetIncompleteWithdrawalsForMarketDocument = exports.GetAllPendingWithdrawalBatchesForMarketDocument = exports.GetWithdrawalRequestsByMarketDocument = exports.GetMarketDocument = exports.GetMarketsWithEventsDocument = exports.GetMarketEventsDocument = exports.GetAllHooksDataForBorrowerDocument = exports.GetHooksInstancesForBorrowerDocument = exports.GetAllHooksTemplatesDocument = exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument = exports.GetLenderAuthorizationByMarketDocument = exports.GetLenderWithdrawalsForMarketDocument = exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = exports.GetAllMarketsForLenderViewDocument = exports.GetBasicBorrowerDataDocument = exports.GetLenderAccountWithMarketDocument = exports.GetLenderAccountForMarketDocument = exports.HooksInstanceLendersWithActiveMarketsFragmentDoc = exports.V2LenderWithActiveMarketsFragmentDoc = exports.ControllerAuthorizedLendersWithActiveMarketsFragmentDoc = exports.V1LenderWithActiveMarketsFragmentDoc = exports.MarketClosedDataFragmentDoc = exports.MaxTotalSupplyUpdatedDataFragmentDoc = exports.AnnualInterestBipsUpdatedDataFragmentDoc = exports.WithdrawalBatchPropertiesWithEventsFragmentDoc = exports.LenderWithdrawalPropertiesWithEventsFragmentDoc = exports.WithdrawalExecutionPropertiesFragmentDoc = exports.WithdrawalRequestPropertiesFragmentDoc = exports.WithdrawalBatchPropertiesFragmentDoc = exports.WithdrawalBatchPaymentPropertiesFragmentDoc = exports.LenderWithdrawalPropertiesFragmentDoc = exports.FixedTermUpdatedDataFragmentDoc = exports.DisabledForceBuyBacksDataFragmentDoc = exports.ProtocolFeeBipsUpdatedDataFragmentDoc = exports.MinimumDepositUpdatedDataFragmentDoc = exports.ForceBuyBackDataFragmentDoc = exports.MarketDataWithEventsFragmentDoc = exports.MarketRecordsFragmentDoc = exports.RepaymentDataFragmentDoc = exports.FeesCollectedDataFragmentDoc = void 0;
6
- exports.GetAllTokensWithMarketsDocument = void 0;
3
+ exports.SubgraphMarketRemoved_OrderBy = exports.SubgraphMarketInterestAccrued_OrderBy = exports.SubgraphMarketDeployed_OrderBy = exports.SubgraphMarketClosed_OrderBy = exports.SubgraphMarketAdded_OrderBy = exports.SubgraphLiquidatorRemoved_OrderBy = exports.SubgraphLiquidatorApproved_OrderBy = exports.SubgraphLenderWithdrawalStatus_OrderBy = exports.SubgraphLenderStatus = exports.SubgraphLenderInterestAccrued_OrderBy = exports.SubgraphLenderHooksAccess_OrderBy = exports.SubgraphLenderAuthorization_OrderBy = exports.SubgraphLenderAuthorizationChange_OrderBy = exports.SubgraphLenderAccount_OrderBy = exports.SubgraphKnownLenderStatus_OrderBy = exports.SubgraphHooksTemplate_OrderBy = exports.SubgraphHooksTemplateFeesUpdated_OrderBy = exports.SubgraphHooksTemplateDisabled_OrderBy = exports.SubgraphHooksTemplateAdded_OrderBy = exports.SubgraphHooksNameUpdated_OrderBy = exports.SubgraphHooksKind = exports.SubgraphHooksInstance_OrderBy = exports.SubgraphHooksInstanceDeployed_OrderBy = exports.SubgraphHooksFactory_OrderBy = exports.SubgraphHooksConfig_OrderBy = exports.SubgraphForceBuyBack_OrderBy = exports.SubgraphFixedTermUpdated_OrderBy = exports.SubgraphFeesCollected_OrderBy = exports.SubgraphDisabledForceBuyBacks_OrderBy = exports.SubgraphDeposit_OrderBy = exports.SubgraphDelinquencyStatusChanged_OrderBy = exports.SubgraphDebtRepaid_OrderBy = exports.SubgraphController_OrderBy = exports.SubgraphControllerRemoved_OrderBy = exports.SubgraphControllerFactory_OrderBy = exports.SubgraphControllerFactoryRemoved_OrderBy = exports.SubgraphControllerFactoryAdded_OrderBy = exports.SubgraphControllerAdded_OrderBy = exports.SubgraphBorrowerRegistrationChange_OrderBy = exports.SubgraphBorrow_OrderBy = exports.SubgraphArchController_OrderBy = exports.SubgraphApprovedLiquidator_OrderBy = exports.SubgraphApproval_OrderBy = exports.SubgraphAnnualInterestBipsUpdated_OrderBy = exports.SubgraphAggregation_Interval = exports.SubgraphAccountUnblockedFromDeposits_OrderBy = exports.SubgraphAccountMadeFirstDeposit_OrderBy = exports.SubgraphAccountBlockedFromDeposits_OrderBy = exports.SubgraphAccountAccessRevoked_OrderBy = exports.SubgraphAccountAccessGranted_OrderBy = void 0;
4
+ exports.AllAuthorizedLendersViewFragmentDoc = exports.BasicLenderDataFragmentDoc = exports.AccountDataForLenderViewFragmentDoc = exports.DepositDataFragmentDoc = exports.LenderHooksAccessDataFragmentDoc = exports.RoleProviderDataFragmentDoc = exports.LenderPropertiesFragmentDoc = exports.Subgraph_SubgraphErrorPolicy_ = exports.SubgraphWithdrawalRequest_OrderBy = exports.SubgraphWithdrawalExecution_OrderBy = exports.SubgraphWithdrawalBatch_OrderBy = exports.SubgraphWithdrawalBatchPayment_OrderBy = exports.SubgraphWithdrawalBatchInterestAccrued_OrderBy = exports.SubgraphWithdrawalBatchExpired_OrderBy = exports.SubgraphWithdrawalBatchCreated_OrderBy = exports.SubgraphUpdateProtocolFeeConfiguration_OrderBy = exports.SubgraphTransfer_OrderBy = exports.SubgraphToken_OrderBy = exports.SubgraphSubgraphVersion_OrderBy = exports.SubgraphSimpleCollateralFactory_OrderBy = exports.SubgraphSimpleCollateralContract_OrderBy = exports.SubgraphSimpleCollateralContractReclaim_OrderBy = exports.SubgraphSimpleCollateralContractLiquidation_OrderBy = exports.SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy = exports.SubgraphSimpleCollateralContractFullReset_OrderBy = exports.SubgraphSimpleCollateralContractDepositor_OrderBy = exports.SubgraphSimpleCollateralContractDeposit_OrderBy = exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountAssetsQueuedForWithdrawal_OrderBy = exports.SubgraphSanctionOverride_OrderBy = exports.SubgraphSanctionOverrideRemoved_OrderBy = exports.SubgraphRoleProvider_OrderBy = exports.SubgraphRoleProviderUpdated_OrderBy = exports.SubgraphRoleProviderRemoved_OrderBy = exports.SubgraphRoleProviderAdded_OrderBy = exports.SubgraphReserveRatioBipsUpdated_OrderBy = exports.SubgraphRegisteredBorrower_OrderBy = exports.SubgraphProtocolFeeBipsUpdated_OrderBy = exports.SubgraphParameterConstraints_OrderBy = exports.SubgraphOwnershipTransferred_OrderBy = exports.SubgraphOwnershipHandoverRequested_OrderBy = exports.SubgraphOwnershipHandoverCanceled_OrderBy = exports.SubgraphOrderDirection = exports.SubgraphNewSanctionsEscrow_OrderBy = exports.SubgraphNewController_OrderBy = exports.SubgraphMinimumDepositUpdated_OrderBy = exports.SubgraphMaxTotalSupplyUpdated_OrderBy = exports.SubgraphMarket_OrderBy = exports.SubgraphMarketVersion = void 0;
5
+ exports.GetAccountsWhereLenderAuthorizedOrActiveDocument = exports.GetAllMarketsForLenderViewDocument = exports.GetBasicBorrowerDataDocument = exports.GetLenderAccountWithMarketDocument = exports.GetLenderAccountForMarketDocument = exports.HooksInstanceLendersWithActiveMarketsFragmentDoc = exports.V2LenderWithActiveMarketsFragmentDoc = exports.ControllerAuthorizedLendersWithActiveMarketsFragmentDoc = exports.V1LenderWithActiveMarketsFragmentDoc = exports.SimpleCollateralContractDataWithEventsFragmentDoc = exports.SimpleCollateralContractFullResetDataFragmentDoc = exports.SimpleCollateralContractReclaimDataFragmentDoc = exports.SimpleCollateralContractDepositDataFragmentDoc = exports.SimpleCollateralContractLiquidationDataFragmentDoc = exports.SimpleCollateralContractDepositorDataFragmentDoc = exports.SimpleCollateralContractDataFragmentDoc = exports.SimpleCollateralContractLiquidatedSharesResetDataFragmentDoc = exports.LiquidatorRemovedDataFragmentDoc = exports.LiquidatorApprovedDataFragmentDoc = exports.ApprovedLiquidatorDataFragmentDoc = exports.MarketClosedDataFragmentDoc = exports.MaxTotalSupplyUpdatedDataFragmentDoc = exports.AnnualInterestBipsUpdatedDataFragmentDoc = exports.WithdrawalBatchPropertiesWithEventsFragmentDoc = exports.LenderWithdrawalPropertiesWithEventsFragmentDoc = exports.WithdrawalExecutionPropertiesFragmentDoc = exports.WithdrawalRequestPropertiesFragmentDoc = exports.WithdrawalBatchPropertiesFragmentDoc = exports.WithdrawalBatchPaymentPropertiesFragmentDoc = exports.LenderWithdrawalPropertiesFragmentDoc = exports.FixedTermUpdatedDataFragmentDoc = exports.DisabledForceBuyBacksDataFragmentDoc = exports.ProtocolFeeBipsUpdatedDataFragmentDoc = exports.MinimumDepositUpdatedDataFragmentDoc = exports.ForceBuyBackDataFragmentDoc = exports.MarketDataWithEventsFragmentDoc = exports.MarketRecordsFragmentDoc = exports.RepaymentDataFragmentDoc = exports.FeesCollectedDataFragmentDoc = exports.BorrowDataFragmentDoc = exports.MarketDataFragmentDoc = exports.MarketDeployedEventFragmentDoc = exports.HooksInstanceDataFragmentDoc = exports.HooksTemplateDataFragmentDoc = exports.HooksConfigDataForMarketFragmentDoc = exports.DelinquencyStatusChangedDataFragmentDoc = exports.AprConstraintsFragmentDoc = exports.MinimalControllerDataFragmentDoc = exports.TokenDataFragmentDoc = exports.ParameterConstraintsDataFragmentDoc = void 0;
6
+ exports.GetCollateralContractDocument = exports.GetCollateralContractsByMarketDocument = exports.GetAllTokensWithMarketsDocument = exports.GetMarketRecordsDocument = exports.GetSubgraphStatusDocument = exports.GetAuthorizedLendersByBorrowerDocument = exports.GetActiveLendersByMarketDocument = exports.GetMarketsAndLendersByHooksInstanceOrControllerDocument = exports.GetLendersByHooksInstanceOrControllerDocument = exports.GetV1AuthorizedLendersDocument = exports.GetAllAuthorizedLendersDocument = exports.GetAuthorizedLendersByMarketDocument = exports.GetAllMarketsDocument = exports.GetIncompleteWithdrawalsForMarketDocument = exports.GetAllPendingWithdrawalBatchesForMarketDocument = exports.GetWithdrawalRequestsByMarketDocument = exports.GetMarketDocument = exports.GetMarketsWithEventsDocument = exports.GetMarketEventsDocument = exports.GetAllHooksDataForBorrowerDocument = exports.GetHooksInstancesForBorrowerDocument = exports.GetAllHooksTemplatesDocument = exports.GetMarketsAndLogsWhereLenderAuthorizedOrActiveDocument = exports.GetLenderAuthorizationByMarketDocument = exports.GetLenderWithdrawalsForMarketDocument = void 0;
7
7
  const client_1 = require("@apollo/client");
8
8
  var SubgraphAccountAccessGranted_OrderBy;
9
9
  (function (SubgraphAccountAccessGranted_OrderBy) {
@@ -259,6 +259,14 @@ var SubgraphApproval_OrderBy;
259
259
  SubgraphApproval_OrderBy["TransactionHash"] = "transactionHash";
260
260
  SubgraphApproval_OrderBy["Value"] = "value";
261
261
  })(SubgraphApproval_OrderBy = exports.SubgraphApproval_OrderBy || (exports.SubgraphApproval_OrderBy = {}));
262
+ var SubgraphApprovedLiquidator_OrderBy;
263
+ (function (SubgraphApprovedLiquidator_OrderBy) {
264
+ SubgraphApprovedLiquidator_OrderBy["Factory"] = "factory";
265
+ SubgraphApprovedLiquidator_OrderBy["FactoryId"] = "factory__id";
266
+ SubgraphApprovedLiquidator_OrderBy["Id"] = "id";
267
+ SubgraphApprovedLiquidator_OrderBy["IsApproved"] = "isApproved";
268
+ SubgraphApprovedLiquidator_OrderBy["Liquidator"] = "liquidator";
269
+ })(SubgraphApprovedLiquidator_OrderBy = exports.SubgraphApprovedLiquidator_OrderBy || (exports.SubgraphApprovedLiquidator_OrderBy = {}));
262
270
  var SubgraphArchController_OrderBy;
263
271
  (function (SubgraphArchController_OrderBy) {
264
272
  SubgraphArchController_OrderBy["Borrowers"] = "borrowers";
@@ -1531,6 +1539,26 @@ var SubgraphLenderWithdrawalStatus_OrderBy;
1531
1539
  SubgraphLenderWithdrawalStatus_OrderBy["ScaledAmount"] = "scaledAmount";
1532
1540
  SubgraphLenderWithdrawalStatus_OrderBy["TotalNormalizedRequests"] = "totalNormalizedRequests";
1533
1541
  })(SubgraphLenderWithdrawalStatus_OrderBy = exports.SubgraphLenderWithdrawalStatus_OrderBy || (exports.SubgraphLenderWithdrawalStatus_OrderBy = {}));
1542
+ var SubgraphLiquidatorApproved_OrderBy;
1543
+ (function (SubgraphLiquidatorApproved_OrderBy) {
1544
+ SubgraphLiquidatorApproved_OrderBy["BlockNumber"] = "blockNumber";
1545
+ SubgraphLiquidatorApproved_OrderBy["BlockTimestamp"] = "blockTimestamp";
1546
+ SubgraphLiquidatorApproved_OrderBy["Factory"] = "factory";
1547
+ SubgraphLiquidatorApproved_OrderBy["FactoryId"] = "factory__id";
1548
+ SubgraphLiquidatorApproved_OrderBy["Id"] = "id";
1549
+ SubgraphLiquidatorApproved_OrderBy["Liquidator"] = "liquidator";
1550
+ SubgraphLiquidatorApproved_OrderBy["TransactionHash"] = "transactionHash";
1551
+ })(SubgraphLiquidatorApproved_OrderBy = exports.SubgraphLiquidatorApproved_OrderBy || (exports.SubgraphLiquidatorApproved_OrderBy = {}));
1552
+ var SubgraphLiquidatorRemoved_OrderBy;
1553
+ (function (SubgraphLiquidatorRemoved_OrderBy) {
1554
+ SubgraphLiquidatorRemoved_OrderBy["BlockNumber"] = "blockNumber";
1555
+ SubgraphLiquidatorRemoved_OrderBy["BlockTimestamp"] = "blockTimestamp";
1556
+ SubgraphLiquidatorRemoved_OrderBy["Factory"] = "factory";
1557
+ SubgraphLiquidatorRemoved_OrderBy["FactoryId"] = "factory__id";
1558
+ SubgraphLiquidatorRemoved_OrderBy["Id"] = "id";
1559
+ SubgraphLiquidatorRemoved_OrderBy["Liquidator"] = "liquidator";
1560
+ SubgraphLiquidatorRemoved_OrderBy["TransactionHash"] = "transactionHash";
1561
+ })(SubgraphLiquidatorRemoved_OrderBy = exports.SubgraphLiquidatorRemoved_OrderBy || (exports.SubgraphLiquidatorRemoved_OrderBy = {}));
1534
1562
  var SubgraphMarketAdded_OrderBy;
1535
1563
  (function (SubgraphMarketAdded_OrderBy) {
1536
1564
  SubgraphMarketAdded_OrderBy["BlockNumber"] = "blockNumber";
@@ -1864,6 +1892,7 @@ var SubgraphMarket_OrderBy;
1864
1892
  SubgraphMarket_OrderBy["BorrowIndex"] = "borrowIndex";
1865
1893
  SubgraphMarket_OrderBy["BorrowRecords"] = "borrowRecords";
1866
1894
  SubgraphMarket_OrderBy["Borrower"] = "borrower";
1895
+ SubgraphMarket_OrderBy["CollateralContracts"] = "collateralContracts";
1867
1896
  SubgraphMarket_OrderBy["Controller"] = "controller";
1868
1897
  SubgraphMarket_OrderBy["ControllerBorrower"] = "controller__borrower";
1869
1898
  SubgraphMarket_OrderBy["ControllerId"] = "controller__id";
@@ -2488,6 +2517,230 @@ var SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy;
2488
2517
  SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["Id"] = "id";
2489
2518
  SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy["TransactionHash"] = "transactionHash";
2490
2519
  })(SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy || (exports.SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy = {}));
2520
+ var SubgraphSimpleCollateralContractDeposit_OrderBy;
2521
+ (function (SubgraphSimpleCollateralContractDeposit_OrderBy) {
2522
+ SubgraphSimpleCollateralContractDeposit_OrderBy["Account"] = "account";
2523
+ SubgraphSimpleCollateralContractDeposit_OrderBy["AccountId"] = "account__id";
2524
+ SubgraphSimpleCollateralContractDeposit_OrderBy["AccountShares"] = "account__shares";
2525
+ SubgraphSimpleCollateralContractDeposit_OrderBy["AccountTotalDeposited"] = "account__totalDeposited";
2526
+ SubgraphSimpleCollateralContractDeposit_OrderBy["AccountTotalReclaimed"] = "account__totalReclaimed";
2527
+ SubgraphSimpleCollateralContractDeposit_OrderBy["AmountDeposited"] = "amountDeposited";
2528
+ SubgraphSimpleCollateralContractDeposit_OrderBy["BlockNumber"] = "blockNumber";
2529
+ SubgraphSimpleCollateralContractDeposit_OrderBy["BlockTimestamp"] = "blockTimestamp";
2530
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContract"] = "collateralContract";
2531
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractAvailableCollateral"] = "collateralContract__availableCollateral";
2532
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractDepositIndex"] = "collateralContract__depositIndex";
2533
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractId"] = "collateralContract__id";
2534
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractLastFullLiquidationIndex"] = "collateralContract__lastFullLiquidationIndex";
2535
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractLiquidationCooldown"] = "collateralContract__liquidationCooldown";
2536
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractNextLiquidationTrigger"] = "collateralContract__nextLiquidationTrigger";
2537
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractTotalDeposited"] = "collateralContract__totalDeposited";
2538
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractTotalLiquidated"] = "collateralContract__totalLiquidated";
2539
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractTotalReclaimed"] = "collateralContract__totalReclaimed";
2540
+ SubgraphSimpleCollateralContractDeposit_OrderBy["CollateralContractTotalShares"] = "collateralContract__totalShares";
2541
+ SubgraphSimpleCollateralContractDeposit_OrderBy["DepositIndex"] = "depositIndex";
2542
+ SubgraphSimpleCollateralContractDeposit_OrderBy["Id"] = "id";
2543
+ SubgraphSimpleCollateralContractDeposit_OrderBy["LastFullLiquidationIndex"] = "lastFullLiquidationIndex";
2544
+ SubgraphSimpleCollateralContractDeposit_OrderBy["SharesMinted"] = "sharesMinted";
2545
+ SubgraphSimpleCollateralContractDeposit_OrderBy["TransactionHash"] = "transactionHash";
2546
+ })(SubgraphSimpleCollateralContractDeposit_OrderBy = exports.SubgraphSimpleCollateralContractDeposit_OrderBy || (exports.SubgraphSimpleCollateralContractDeposit_OrderBy = {}));
2547
+ var SubgraphSimpleCollateralContractDepositor_OrderBy;
2548
+ (function (SubgraphSimpleCollateralContractDepositor_OrderBy) {
2549
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContract"] = "collateralContract";
2550
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractAvailableCollateral"] = "collateralContract__availableCollateral";
2551
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractDepositIndex"] = "collateralContract__depositIndex";
2552
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractId"] = "collateralContract__id";
2553
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractLastFullLiquidationIndex"] = "collateralContract__lastFullLiquidationIndex";
2554
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractLiquidationCooldown"] = "collateralContract__liquidationCooldown";
2555
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractNextLiquidationTrigger"] = "collateralContract__nextLiquidationTrigger";
2556
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractTotalDeposited"] = "collateralContract__totalDeposited";
2557
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractTotalLiquidated"] = "collateralContract__totalLiquidated";
2558
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractTotalReclaimed"] = "collateralContract__totalReclaimed";
2559
+ SubgraphSimpleCollateralContractDepositor_OrderBy["CollateralContractTotalShares"] = "collateralContract__totalShares";
2560
+ SubgraphSimpleCollateralContractDepositor_OrderBy["Deposits"] = "deposits";
2561
+ SubgraphSimpleCollateralContractDepositor_OrderBy["Id"] = "id";
2562
+ SubgraphSimpleCollateralContractDepositor_OrderBy["LiquidatedSharesResets"] = "liquidatedSharesResets";
2563
+ SubgraphSimpleCollateralContractDepositor_OrderBy["Reclaims"] = "reclaims";
2564
+ SubgraphSimpleCollateralContractDepositor_OrderBy["Shares"] = "shares";
2565
+ SubgraphSimpleCollateralContractDepositor_OrderBy["TotalDeposited"] = "totalDeposited";
2566
+ SubgraphSimpleCollateralContractDepositor_OrderBy["TotalReclaimed"] = "totalReclaimed";
2567
+ })(SubgraphSimpleCollateralContractDepositor_OrderBy = exports.SubgraphSimpleCollateralContractDepositor_OrderBy || (exports.SubgraphSimpleCollateralContractDepositor_OrderBy = {}));
2568
+ var SubgraphSimpleCollateralContractFullReset_OrderBy;
2569
+ (function (SubgraphSimpleCollateralContractFullReset_OrderBy) {
2570
+ SubgraphSimpleCollateralContractFullReset_OrderBy["BlockNumber"] = "blockNumber";
2571
+ SubgraphSimpleCollateralContractFullReset_OrderBy["BlockTimestamp"] = "blockTimestamp";
2572
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContract"] = "collateralContract";
2573
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractAvailableCollateral"] = "collateralContract__availableCollateral";
2574
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractDepositIndex"] = "collateralContract__depositIndex";
2575
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractId"] = "collateralContract__id";
2576
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractLastFullLiquidationIndex"] = "collateralContract__lastFullLiquidationIndex";
2577
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractLiquidationCooldown"] = "collateralContract__liquidationCooldown";
2578
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractNextLiquidationTrigger"] = "collateralContract__nextLiquidationTrigger";
2579
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractTotalDeposited"] = "collateralContract__totalDeposited";
2580
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractTotalLiquidated"] = "collateralContract__totalLiquidated";
2581
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractTotalReclaimed"] = "collateralContract__totalReclaimed";
2582
+ SubgraphSimpleCollateralContractFullReset_OrderBy["CollateralContractTotalShares"] = "collateralContract__totalShares";
2583
+ SubgraphSimpleCollateralContractFullReset_OrderBy["Id"] = "id";
2584
+ SubgraphSimpleCollateralContractFullReset_OrderBy["LastFullLiquidationIndex"] = "lastFullLiquidationIndex";
2585
+ SubgraphSimpleCollateralContractFullReset_OrderBy["TransactionHash"] = "transactionHash";
2586
+ })(SubgraphSimpleCollateralContractFullReset_OrderBy = exports.SubgraphSimpleCollateralContractFullReset_OrderBy || (exports.SubgraphSimpleCollateralContractFullReset_OrderBy = {}));
2587
+ var SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy;
2588
+ (function (SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy) {
2589
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["Account"] = "account";
2590
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["AccountId"] = "account__id";
2591
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["AccountShares"] = "account__shares";
2592
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["AccountTotalDeposited"] = "account__totalDeposited";
2593
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["AccountTotalReclaimed"] = "account__totalReclaimed";
2594
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["BlockNumber"] = "blockNumber";
2595
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["BlockTimestamp"] = "blockTimestamp";
2596
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContract"] = "collateralContract";
2597
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractAvailableCollateral"] = "collateralContract__availableCollateral";
2598
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractDepositIndex"] = "collateralContract__depositIndex";
2599
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractId"] = "collateralContract__id";
2600
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractLastFullLiquidationIndex"] = "collateralContract__lastFullLiquidationIndex";
2601
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractLiquidationCooldown"] = "collateralContract__liquidationCooldown";
2602
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractNextLiquidationTrigger"] = "collateralContract__nextLiquidationTrigger";
2603
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractTotalDeposited"] = "collateralContract__totalDeposited";
2604
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractTotalLiquidated"] = "collateralContract__totalLiquidated";
2605
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractTotalReclaimed"] = "collateralContract__totalReclaimed";
2606
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["CollateralContractTotalShares"] = "collateralContract__totalShares";
2607
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["Id"] = "id";
2608
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["SharesReset"] = "sharesReset";
2609
+ SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy["TransactionHash"] = "transactionHash";
2610
+ })(SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy = exports.SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy || (exports.SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy = {}));
2611
+ var SubgraphSimpleCollateralContractLiquidation_OrderBy;
2612
+ (function (SubgraphSimpleCollateralContractLiquidation_OrderBy) {
2613
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["BlockNumber"] = "blockNumber";
2614
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["BlockTimestamp"] = "blockTimestamp";
2615
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContract"] = "collateralContract";
2616
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractAvailableCollateral"] = "collateralContract__availableCollateral";
2617
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractDepositIndex"] = "collateralContract__depositIndex";
2618
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractId"] = "collateralContract__id";
2619
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractLastFullLiquidationIndex"] = "collateralContract__lastFullLiquidationIndex";
2620
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractLiquidationCooldown"] = "collateralContract__liquidationCooldown";
2621
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractNextLiquidationTrigger"] = "collateralContract__nextLiquidationTrigger";
2622
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractTotalDeposited"] = "collateralContract__totalDeposited";
2623
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractTotalLiquidated"] = "collateralContract__totalLiquidated";
2624
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractTotalReclaimed"] = "collateralContract__totalReclaimed";
2625
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralContractTotalShares"] = "collateralContract__totalShares";
2626
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["CollateralLiquidated"] = "collateralLiquidated";
2627
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["Id"] = "id";
2628
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["Liquidator"] = "liquidator";
2629
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["TransactionHash"] = "transactionHash";
2630
+ SubgraphSimpleCollateralContractLiquidation_OrderBy["UnderlyingReceived"] = "underlyingReceived";
2631
+ })(SubgraphSimpleCollateralContractLiquidation_OrderBy = exports.SubgraphSimpleCollateralContractLiquidation_OrderBy || (exports.SubgraphSimpleCollateralContractLiquidation_OrderBy = {}));
2632
+ var SubgraphSimpleCollateralContractReclaim_OrderBy;
2633
+ (function (SubgraphSimpleCollateralContractReclaim_OrderBy) {
2634
+ SubgraphSimpleCollateralContractReclaim_OrderBy["Account"] = "account";
2635
+ SubgraphSimpleCollateralContractReclaim_OrderBy["AccountId"] = "account__id";
2636
+ SubgraphSimpleCollateralContractReclaim_OrderBy["AccountShares"] = "account__shares";
2637
+ SubgraphSimpleCollateralContractReclaim_OrderBy["AccountTotalDeposited"] = "account__totalDeposited";
2638
+ SubgraphSimpleCollateralContractReclaim_OrderBy["AccountTotalReclaimed"] = "account__totalReclaimed";
2639
+ SubgraphSimpleCollateralContractReclaim_OrderBy["AmountReclaimed"] = "amountReclaimed";
2640
+ SubgraphSimpleCollateralContractReclaim_OrderBy["BlockNumber"] = "blockNumber";
2641
+ SubgraphSimpleCollateralContractReclaim_OrderBy["BlockTimestamp"] = "blockTimestamp";
2642
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContract"] = "collateralContract";
2643
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractAvailableCollateral"] = "collateralContract__availableCollateral";
2644
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractDepositIndex"] = "collateralContract__depositIndex";
2645
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractId"] = "collateralContract__id";
2646
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractLastFullLiquidationIndex"] = "collateralContract__lastFullLiquidationIndex";
2647
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractLiquidationCooldown"] = "collateralContract__liquidationCooldown";
2648
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractNextLiquidationTrigger"] = "collateralContract__nextLiquidationTrigger";
2649
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractTotalDeposited"] = "collateralContract__totalDeposited";
2650
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractTotalLiquidated"] = "collateralContract__totalLiquidated";
2651
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractTotalReclaimed"] = "collateralContract__totalReclaimed";
2652
+ SubgraphSimpleCollateralContractReclaim_OrderBy["CollateralContractTotalShares"] = "collateralContract__totalShares";
2653
+ SubgraphSimpleCollateralContractReclaim_OrderBy["Id"] = "id";
2654
+ SubgraphSimpleCollateralContractReclaim_OrderBy["SharesBurned"] = "sharesBurned";
2655
+ SubgraphSimpleCollateralContractReclaim_OrderBy["TransactionHash"] = "transactionHash";
2656
+ })(SubgraphSimpleCollateralContractReclaim_OrderBy = exports.SubgraphSimpleCollateralContractReclaim_OrderBy || (exports.SubgraphSimpleCollateralContractReclaim_OrderBy = {}));
2657
+ var SubgraphSimpleCollateralContract_OrderBy;
2658
+ (function (SubgraphSimpleCollateralContract_OrderBy) {
2659
+ SubgraphSimpleCollateralContract_OrderBy["AvailableCollateral"] = "availableCollateral";
2660
+ SubgraphSimpleCollateralContract_OrderBy["CollateralAsset"] = "collateralAsset";
2661
+ SubgraphSimpleCollateralContract_OrderBy["CollateralAssetAddress"] = "collateralAsset__address";
2662
+ SubgraphSimpleCollateralContract_OrderBy["CollateralAssetDecimals"] = "collateralAsset__decimals";
2663
+ SubgraphSimpleCollateralContract_OrderBy["CollateralAssetId"] = "collateralAsset__id";
2664
+ SubgraphSimpleCollateralContract_OrderBy["CollateralAssetIsMock"] = "collateralAsset__isMock";
2665
+ SubgraphSimpleCollateralContract_OrderBy["CollateralAssetName"] = "collateralAsset__name";
2666
+ SubgraphSimpleCollateralContract_OrderBy["CollateralAssetSymbol"] = "collateralAsset__symbol";
2667
+ SubgraphSimpleCollateralContract_OrderBy["DepositIndex"] = "depositIndex";
2668
+ SubgraphSimpleCollateralContract_OrderBy["Depositors"] = "depositors";
2669
+ SubgraphSimpleCollateralContract_OrderBy["Deposits"] = "deposits";
2670
+ SubgraphSimpleCollateralContract_OrderBy["Factory"] = "factory";
2671
+ SubgraphSimpleCollateralContract_OrderBy["FactoryId"] = "factory__id";
2672
+ SubgraphSimpleCollateralContract_OrderBy["FullResets"] = "fullResets";
2673
+ SubgraphSimpleCollateralContract_OrderBy["Id"] = "id";
2674
+ SubgraphSimpleCollateralContract_OrderBy["LastFullLiquidationIndex"] = "lastFullLiquidationIndex";
2675
+ SubgraphSimpleCollateralContract_OrderBy["LiquidationCooldown"] = "liquidationCooldown";
2676
+ SubgraphSimpleCollateralContract_OrderBy["Liquidations"] = "liquidations";
2677
+ SubgraphSimpleCollateralContract_OrderBy["Market"] = "market";
2678
+ SubgraphSimpleCollateralContract_OrderBy["MarketAnnualInterestBips"] = "market__annualInterestBips";
2679
+ SubgraphSimpleCollateralContract_OrderBy["MarketAnnualInterestBipsUpdatedIndex"] = "market__annualInterestBipsUpdatedIndex";
2680
+ SubgraphSimpleCollateralContract_OrderBy["MarketBorrowIndex"] = "market__borrowIndex";
2681
+ SubgraphSimpleCollateralContract_OrderBy["MarketBorrower"] = "market__borrower";
2682
+ SubgraphSimpleCollateralContract_OrderBy["MarketCreatedAt"] = "market__createdAt";
2683
+ SubgraphSimpleCollateralContract_OrderBy["MarketDebtRepaidIndex"] = "market__debtRepaidIndex";
2684
+ SubgraphSimpleCollateralContract_OrderBy["MarketDecimals"] = "market__decimals";
2685
+ SubgraphSimpleCollateralContract_OrderBy["MarketDelinquencyFeeBips"] = "market__delinquencyFeeBips";
2686
+ SubgraphSimpleCollateralContract_OrderBy["MarketDelinquencyGracePeriod"] = "market__delinquencyGracePeriod";
2687
+ SubgraphSimpleCollateralContract_OrderBy["MarketDelinquencyStatusChangedIndex"] = "market__delinquencyStatusChangedIndex";
2688
+ SubgraphSimpleCollateralContract_OrderBy["MarketDepositIndex"] = "market__depositIndex";
2689
+ SubgraphSimpleCollateralContract_OrderBy["MarketEventIndex"] = "market__eventIndex";
2690
+ SubgraphSimpleCollateralContract_OrderBy["MarketFeeRecipient"] = "market__feeRecipient";
2691
+ SubgraphSimpleCollateralContract_OrderBy["MarketFeesCollectedIndex"] = "market__feesCollectedIndex";
2692
+ SubgraphSimpleCollateralContract_OrderBy["MarketFixedTermUpdatedIndex"] = "market__fixedTermUpdatedIndex";
2693
+ SubgraphSimpleCollateralContract_OrderBy["MarketForceBuyBackIndex"] = "market__forceBuyBackIndex";
2694
+ SubgraphSimpleCollateralContract_OrderBy["MarketId"] = "market__id";
2695
+ SubgraphSimpleCollateralContract_OrderBy["MarketIsClosed"] = "market__isClosed";
2696
+ SubgraphSimpleCollateralContract_OrderBy["MarketIsDelinquent"] = "market__isDelinquent";
2697
+ SubgraphSimpleCollateralContract_OrderBy["MarketIsIncurringPenalties"] = "market__isIncurringPenalties";
2698
+ SubgraphSimpleCollateralContract_OrderBy["MarketIsRegistered"] = "market__isRegistered";
2699
+ SubgraphSimpleCollateralContract_OrderBy["MarketLastInterestAccruedTimestamp"] = "market__lastInterestAccruedTimestamp";
2700
+ SubgraphSimpleCollateralContract_OrderBy["MarketMaxTotalSupply"] = "market__maxTotalSupply";
2701
+ SubgraphSimpleCollateralContract_OrderBy["MarketMaxTotalSupplyUpdatedIndex"] = "market__maxTotalSupplyUpdatedIndex";
2702
+ SubgraphSimpleCollateralContract_OrderBy["MarketMinimumDepositUpdatedIndex"] = "market__minimumDepositUpdatedIndex";
2703
+ SubgraphSimpleCollateralContract_OrderBy["MarketName"] = "market__name";
2704
+ SubgraphSimpleCollateralContract_OrderBy["MarketNormalizedUnclaimedWithdrawals"] = "market__normalizedUnclaimedWithdrawals";
2705
+ SubgraphSimpleCollateralContract_OrderBy["MarketOriginalAnnualInterestBips"] = "market__originalAnnualInterestBips";
2706
+ SubgraphSimpleCollateralContract_OrderBy["MarketOriginalReserveRatioBips"] = "market__originalReserveRatioBips";
2707
+ SubgraphSimpleCollateralContract_OrderBy["MarketPendingProtocolFees"] = "market__pendingProtocolFees";
2708
+ SubgraphSimpleCollateralContract_OrderBy["MarketPendingWithdrawalExpiry"] = "market__pendingWithdrawalExpiry";
2709
+ SubgraphSimpleCollateralContract_OrderBy["MarketProtocolFeeBips"] = "market__protocolFeeBips";
2710
+ SubgraphSimpleCollateralContract_OrderBy["MarketProtocolFeeBipsUpdatedIndex"] = "market__protocolFeeBipsUpdatedIndex";
2711
+ SubgraphSimpleCollateralContract_OrderBy["MarketReserveRatioBips"] = "market__reserveRatioBips";
2712
+ SubgraphSimpleCollateralContract_OrderBy["MarketScaleFactor"] = "market__scaleFactor";
2713
+ SubgraphSimpleCollateralContract_OrderBy["MarketScaledPendingWithdrawals"] = "market__scaledPendingWithdrawals";
2714
+ SubgraphSimpleCollateralContract_OrderBy["MarketScaledTotalSupply"] = "market__scaledTotalSupply";
2715
+ SubgraphSimpleCollateralContract_OrderBy["MarketSentinel"] = "market__sentinel";
2716
+ SubgraphSimpleCollateralContract_OrderBy["MarketSymbol"] = "market__symbol";
2717
+ SubgraphSimpleCollateralContract_OrderBy["MarketTemporaryReserveRatioActive"] = "market__temporaryReserveRatioActive";
2718
+ SubgraphSimpleCollateralContract_OrderBy["MarketTemporaryReserveRatioExpiry"] = "market__temporaryReserveRatioExpiry";
2719
+ SubgraphSimpleCollateralContract_OrderBy["MarketTimeDelinquent"] = "market__timeDelinquent";
2720
+ SubgraphSimpleCollateralContract_OrderBy["MarketTotalBaseInterestAccrued"] = "market__totalBaseInterestAccrued";
2721
+ SubgraphSimpleCollateralContract_OrderBy["MarketTotalBorrowed"] = "market__totalBorrowed";
2722
+ SubgraphSimpleCollateralContract_OrderBy["MarketTotalDelinquencyFeesAccrued"] = "market__totalDelinquencyFeesAccrued";
2723
+ SubgraphSimpleCollateralContract_OrderBy["MarketTotalDeposited"] = "market__totalDeposited";
2724
+ SubgraphSimpleCollateralContract_OrderBy["MarketTotalProtocolFeesAccrued"] = "market__totalProtocolFeesAccrued";
2725
+ SubgraphSimpleCollateralContract_OrderBy["MarketTotalRepaid"] = "market__totalRepaid";
2726
+ SubgraphSimpleCollateralContract_OrderBy["MarketVersion"] = "market__version";
2727
+ SubgraphSimpleCollateralContract_OrderBy["MarketWithdrawalBatchDuration"] = "market__withdrawalBatchDuration";
2728
+ SubgraphSimpleCollateralContract_OrderBy["MarketWithdrawalRequestsIndex"] = "market__withdrawalRequestsIndex";
2729
+ SubgraphSimpleCollateralContract_OrderBy["NextLiquidationTrigger"] = "nextLiquidationTrigger";
2730
+ SubgraphSimpleCollateralContract_OrderBy["Reclaims"] = "reclaims";
2731
+ SubgraphSimpleCollateralContract_OrderBy["TotalDeposited"] = "totalDeposited";
2732
+ SubgraphSimpleCollateralContract_OrderBy["TotalLiquidated"] = "totalLiquidated";
2733
+ SubgraphSimpleCollateralContract_OrderBy["TotalReclaimed"] = "totalReclaimed";
2734
+ SubgraphSimpleCollateralContract_OrderBy["TotalShares"] = "totalShares";
2735
+ })(SubgraphSimpleCollateralContract_OrderBy = exports.SubgraphSimpleCollateralContract_OrderBy || (exports.SubgraphSimpleCollateralContract_OrderBy = {}));
2736
+ var SubgraphSimpleCollateralFactory_OrderBy;
2737
+ (function (SubgraphSimpleCollateralFactory_OrderBy) {
2738
+ SubgraphSimpleCollateralFactory_OrderBy["ApprovedLiquidators"] = "approvedLiquidators";
2739
+ SubgraphSimpleCollateralFactory_OrderBy["CollateralContracts"] = "collateralContracts";
2740
+ SubgraphSimpleCollateralFactory_OrderBy["Id"] = "id";
2741
+ SubgraphSimpleCollateralFactory_OrderBy["LiquidatorApprovals"] = "liquidatorApprovals";
2742
+ SubgraphSimpleCollateralFactory_OrderBy["LiquidatorRemovals"] = "liquidatorRemovals";
2743
+ })(SubgraphSimpleCollateralFactory_OrderBy = exports.SubgraphSimpleCollateralFactory_OrderBy || (exports.SubgraphSimpleCollateralFactory_OrderBy = {}));
2491
2744
  var SubgraphSubgraphVersion_OrderBy;
2492
2745
  (function (SubgraphSubgraphVersion_OrderBy) {
2493
2746
  SubgraphSubgraphVersion_OrderBy["Id"] = "id";
@@ -3534,6 +3787,161 @@ exports.MarketClosedDataFragmentDoc = (0, client_1.gql) `
3534
3787
  transactionHash
3535
3788
  }
3536
3789
  `;
3790
+ exports.ApprovedLiquidatorDataFragmentDoc = (0, client_1.gql) `
3791
+ fragment ApprovedLiquidatorData on ApprovedLiquidator {
3792
+ isApproved
3793
+ liquidator
3794
+ }
3795
+ `;
3796
+ exports.LiquidatorApprovedDataFragmentDoc = (0, client_1.gql) `
3797
+ fragment LiquidatorApprovedData on LiquidatorApproved {
3798
+ liquidator
3799
+ blockNumber
3800
+ blockTimestamp
3801
+ transactionHash
3802
+ }
3803
+ `;
3804
+ exports.LiquidatorRemovedDataFragmentDoc = (0, client_1.gql) `
3805
+ fragment LiquidatorRemovedData on LiquidatorRemoved {
3806
+ liquidator
3807
+ blockNumber
3808
+ blockTimestamp
3809
+ transactionHash
3810
+ }
3811
+ `;
3812
+ exports.SimpleCollateralContractLiquidatedSharesResetDataFragmentDoc = (0, client_1.gql) `
3813
+ fragment SimpleCollateralContractLiquidatedSharesResetData on SimpleCollateralContractLiquidatedSharesReset {
3814
+ id
3815
+ collateralContract {
3816
+ id
3817
+ }
3818
+ account {
3819
+ id
3820
+ }
3821
+ sharesReset
3822
+ blockNumber
3823
+ blockTimestamp
3824
+ transactionHash
3825
+ }
3826
+ `;
3827
+ exports.SimpleCollateralContractDataFragmentDoc = (0, client_1.gql) `
3828
+ fragment SimpleCollateralContractData on SimpleCollateralContract {
3829
+ id
3830
+ factory {
3831
+ id
3832
+ }
3833
+ market {
3834
+ id
3835
+ underlyingAsset: asset {
3836
+ ...TokenData
3837
+ }
3838
+ isClosed
3839
+ isDelinquent
3840
+ timeDelinquent
3841
+ delinquencyGracePeriod
3842
+ }
3843
+ collateralAsset {
3844
+ ...TokenData
3845
+ }
3846
+ liquidationCooldown
3847
+ nextLiquidationTrigger
3848
+ totalDeposited
3849
+ totalReclaimed
3850
+ totalLiquidated
3851
+ totalShares
3852
+ availableCollateral
3853
+ lastFullLiquidationIndex
3854
+ depositIndex
3855
+ }
3856
+ `;
3857
+ exports.SimpleCollateralContractDepositorDataFragmentDoc = (0, client_1.gql) `
3858
+ fragment SimpleCollateralContractDepositorData on SimpleCollateralContractDepositor {
3859
+ id
3860
+ collateralContract {
3861
+ id
3862
+ }
3863
+ shares
3864
+ totalDeposited
3865
+ totalReclaimed
3866
+ }
3867
+ `;
3868
+ exports.SimpleCollateralContractLiquidationDataFragmentDoc = (0, client_1.gql) `
3869
+ fragment SimpleCollateralContractLiquidationData on SimpleCollateralContractLiquidation {
3870
+ id
3871
+ collateralContract {
3872
+ id
3873
+ }
3874
+ collateralLiquidated
3875
+ underlyingReceived
3876
+ liquidator
3877
+ blockNumber
3878
+ blockTimestamp
3879
+ transactionHash
3880
+ }
3881
+ `;
3882
+ exports.SimpleCollateralContractDepositDataFragmentDoc = (0, client_1.gql) `
3883
+ fragment SimpleCollateralContractDepositData on SimpleCollateralContractDeposit {
3884
+ id
3885
+ collateralContract {
3886
+ id
3887
+ }
3888
+ account {
3889
+ id
3890
+ }
3891
+ amountDeposited
3892
+ sharesMinted
3893
+ lastFullLiquidationIndex
3894
+ depositIndex
3895
+ blockNumber
3896
+ blockTimestamp
3897
+ transactionHash
3898
+ }
3899
+ `;
3900
+ exports.SimpleCollateralContractReclaimDataFragmentDoc = (0, client_1.gql) `
3901
+ fragment SimpleCollateralContractReclaimData on SimpleCollateralContractReclaim {
3902
+ id
3903
+ account {
3904
+ id
3905
+ }
3906
+ amountReclaimed
3907
+ sharesBurned
3908
+ blockNumber
3909
+ blockTimestamp
3910
+ transactionHash
3911
+ }
3912
+ `;
3913
+ exports.SimpleCollateralContractFullResetDataFragmentDoc = (0, client_1.gql) `
3914
+ fragment SimpleCollateralContractFullResetData on SimpleCollateralContractFullReset {
3915
+ id
3916
+ collateralContract {
3917
+ id
3918
+ }
3919
+ lastFullLiquidationIndex
3920
+ blockNumber
3921
+ blockTimestamp
3922
+ transactionHash
3923
+ }
3924
+ `;
3925
+ exports.SimpleCollateralContractDataWithEventsFragmentDoc = (0, client_1.gql) `
3926
+ fragment SimpleCollateralContractDataWithEvents on SimpleCollateralContract {
3927
+ ...SimpleCollateralContractData
3928
+ depositors {
3929
+ ...SimpleCollateralContractDepositorData
3930
+ }
3931
+ liquidations {
3932
+ ...SimpleCollateralContractLiquidationData
3933
+ }
3934
+ deposits {
3935
+ ...SimpleCollateralContractDepositData
3936
+ }
3937
+ reclaims {
3938
+ ...SimpleCollateralContractReclaimData
3939
+ }
3940
+ fullResets {
3941
+ ...SimpleCollateralContractFullResetData
3942
+ }
3943
+ }
3944
+ `;
3537
3945
  exports.V1LenderWithActiveMarketsFragmentDoc = (0, client_1.gql) `
3538
3946
  fragment V1LenderWithActiveMarkets on LenderAuthorization {
3539
3947
  lender
@@ -4617,4 +5025,24 @@ exports.GetAllTokensWithMarketsDocument = (0, client_1.gql) `
4617
5025
  }
4618
5026
  }
4619
5027
  `;
5028
+ exports.GetCollateralContractsByMarketDocument = (0, client_1.gql) `
5029
+ query getCollateralContractsByMarket($market: ID!) {
5030
+ market(id: $market) {
5031
+ collateralContracts {
5032
+ ...SimpleCollateralContractData
5033
+ }
5034
+ }
5035
+ }
5036
+ ${exports.SimpleCollateralContractDataFragmentDoc}
5037
+ ${exports.TokenDataFragmentDoc}
5038
+ `;
5039
+ exports.GetCollateralContractDocument = (0, client_1.gql) `
5040
+ query getCollateralContract($collateralContract: ID!) {
5041
+ simpleCollateralContract(id: $collateralContract) {
5042
+ ...SimpleCollateralContractData
5043
+ }
5044
+ }
5045
+ ${exports.SimpleCollateralContractDataFragmentDoc}
5046
+ ${exports.TokenDataFragmentDoc}
5047
+ `;
4620
5048
  //# sourceMappingURL=graphql.js.map