@wildcatfi/wildcat-sdk 2.0.67 → 2.0.69

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 (72) hide show
  1. package/dist/account.d.ts +14 -2
  2. package/dist/account.d.ts.map +1 -1
  3. package/dist/account.js +33 -4
  4. package/dist/account.js.map +1 -1
  5. package/dist/controller.d.ts +1 -2
  6. package/dist/controller.d.ts.map +1 -1
  7. package/dist/controller.js.map +1 -1
  8. package/dist/gql/getMarketRecords.d.ts +3 -2
  9. package/dist/gql/getMarketRecords.d.ts.map +1 -1
  10. package/dist/gql/getMarketRecords.js +4 -3
  11. package/dist/gql/getMarketRecords.js.map +1 -1
  12. package/dist/gql/graphql.d.ts +146 -146
  13. package/dist/gql/graphql.d.ts.map +1 -1
  14. package/dist/gql/graphql.js.map +1 -1
  15. package/dist/market.d.ts +1 -0
  16. package/dist/market.d.ts.map +1 -1
  17. package/dist/market.js +11 -6
  18. package/dist/market.js.map +1 -1
  19. package/dist/typechain/AccountsQuery.d.ts +54 -0
  20. package/dist/typechain/AccountsQuery.d.ts.map +1 -0
  21. package/dist/typechain/AccountsQuery.js +3 -0
  22. package/dist/typechain/AccountsQuery.js.map +1 -0
  23. package/dist/typechain/CheckSignatureValid.sol/CheckSafeSignature.d.ts +29 -0
  24. package/dist/typechain/CheckSignatureValid.sol/CheckSafeSignature.d.ts.map +1 -0
  25. package/dist/typechain/CheckSignatureValid.sol/CheckSafeSignature.js +3 -0
  26. package/dist/typechain/CheckSignatureValid.sol/CheckSafeSignature.js.map +1 -0
  27. package/dist/typechain/CheckSignatureValid.sol/index.d.ts +2 -0
  28. package/dist/typechain/CheckSignatureValid.sol/index.d.ts.map +1 -0
  29. package/dist/typechain/CheckSignatureValid.sol/index.js +3 -0
  30. package/dist/typechain/CheckSignatureValid.sol/index.js.map +1 -0
  31. package/dist/typechain/ISafe.d.ts +17 -1
  32. package/dist/typechain/ISafe.d.ts.map +1 -1
  33. package/dist/typechain/factories/AccountsQuery__factory.d.ts +59 -0
  34. package/dist/typechain/factories/AccountsQuery__factory.d.ts.map +1 -0
  35. package/dist/typechain/factories/AccountsQuery__factory.js +91 -0
  36. package/dist/typechain/factories/AccountsQuery__factory.js.map +1 -0
  37. package/dist/typechain/factories/CheckSignatureValid.sol/CheckSafeSignature__factory.d.ts +40 -0
  38. package/dist/typechain/factories/CheckSignatureValid.sol/CheckSafeSignature__factory.d.ts.map +1 -0
  39. package/dist/typechain/factories/CheckSignatureValid.sol/CheckSafeSignature__factory.js +65 -0
  40. package/dist/typechain/factories/CheckSignatureValid.sol/CheckSafeSignature__factory.js.map +1 -0
  41. package/dist/typechain/factories/CheckSignatureValid.sol/index.d.ts +2 -0
  42. package/dist/typechain/factories/CheckSignatureValid.sol/index.d.ts.map +1 -0
  43. package/dist/typechain/factories/CheckSignatureValid.sol/index.js +9 -0
  44. package/dist/typechain/factories/CheckSignatureValid.sol/index.js.map +1 -0
  45. package/dist/typechain/factories/ISafe__factory.d.ts +32 -0
  46. package/dist/typechain/factories/ISafe__factory.d.ts.map +1 -1
  47. package/dist/typechain/factories/ISafe__factory.js +43 -0
  48. package/dist/typechain/factories/ISafe__factory.js.map +1 -1
  49. package/dist/typechain/factories/index.d.ts +2 -0
  50. package/dist/typechain/factories/index.d.ts.map +1 -1
  51. package/dist/typechain/factories/index.js +27 -1
  52. package/dist/typechain/factories/index.js.map +1 -1
  53. package/dist/typechain/index.d.ts +6 -0
  54. package/dist/typechain/index.d.ts.map +1 -1
  55. package/dist/typechain/index.js +5 -1
  56. package/dist/typechain/index.js.map +1 -1
  57. package/dist/types.d.ts +19 -0
  58. package/dist/types.d.ts.map +1 -1
  59. package/dist/types.js.map +1 -1
  60. package/dist/utils/index.d.ts +1 -0
  61. package/dist/utils/index.d.ts.map +1 -1
  62. package/dist/utils/index.js +1 -0
  63. package/dist/utils/index.js.map +1 -1
  64. package/dist/utils/record-types.d.ts +88 -0
  65. package/dist/utils/record-types.d.ts.map +1 -0
  66. package/dist/utils/record-types.js +40 -0
  67. package/dist/utils/record-types.js.map +1 -0
  68. package/dist/utils/type-parsers.d.ts +6 -104
  69. package/dist/utils/type-parsers.d.ts.map +1 -1
  70. package/dist/utils/type-parsers.js +66 -109
  71. package/dist/utils/type-parsers.js.map +1 -1
  72. package/package.json +3 -1
@@ -64,7 +64,7 @@ export declare enum SubgraphAggregation_Interval {
64
64
  Hour = "hour"
65
65
  }
66
66
  export type SubgraphAnnualInterestBipsUpdated = {
67
- __typename?: "AnnualInterestBipsUpdated";
67
+ __typename: "AnnualInterestBipsUpdated";
68
68
  annualInterestBipsUpdatedIndex: Scalars["Int"]["output"];
69
69
  blockNumber: Scalars["Int"]["output"];
70
70
  blockTimestamp: Scalars["Int"]["output"];
@@ -225,7 +225,7 @@ export declare enum SubgraphAnnualInterestBipsUpdated_OrderBy {
225
225
  TransactionHash = "transactionHash"
226
226
  }
227
227
  export type SubgraphApproval = {
228
- __typename?: "Approval";
228
+ __typename: "Approval";
229
229
  blockNumber: Scalars["Int"]["output"];
230
230
  blockTimestamp: Scalars["Int"]["output"];
231
231
  id: Scalars["ID"]["output"];
@@ -312,7 +312,7 @@ export declare enum SubgraphApproval_OrderBy {
312
312
  Value = "value"
313
313
  }
314
314
  export type SubgraphArchController = {
315
- __typename?: "ArchController";
315
+ __typename: "ArchController";
316
316
  borrowers: SubgraphRegisteredBorrower[];
317
317
  controllerFactories: SubgraphControllerFactory[];
318
318
  controllers: SubgraphController[];
@@ -381,7 +381,7 @@ export type SubgraphBlock_Height = {
381
381
  number_gte?: InputMaybe<Scalars["Int"]["input"]>;
382
382
  };
383
383
  export type SubgraphBorrow = {
384
- __typename?: "Borrow";
384
+ __typename: "Borrow";
385
385
  assetAmount: Scalars["BigInt"]["output"];
386
386
  blockNumber: Scalars["Int"]["output"];
387
387
  blockTimestamp: Scalars["Int"]["output"];
@@ -532,7 +532,7 @@ export declare enum SubgraphBorrow_OrderBy {
532
532
  TransactionHash = "transactionHash"
533
533
  }
534
534
  export type SubgraphBorrowerRegistrationChange = {
535
- __typename?: "BorrowerRegistrationChange";
535
+ __typename: "BorrowerRegistrationChange";
536
536
  blockNumber: Scalars["Int"]["output"];
537
537
  blockTimestamp: Scalars["Int"]["output"];
538
538
  id: Scalars["ID"]["output"];
@@ -617,7 +617,7 @@ export declare enum SubgraphBorrowerRegistrationChange_OrderBy {
617
617
  TransactionHash = "transactionHash"
618
618
  }
619
619
  export type SubgraphController = {
620
- __typename?: "Controller";
620
+ __typename: "Controller";
621
621
  archController: SubgraphArchController;
622
622
  authorizationChanges: SubgraphLenderAuthorizationChange[];
623
623
  authorizedLenders: SubgraphLenderAuthorization[];
@@ -644,7 +644,7 @@ export type SubgraphControllerAuthorizedLendersArgs = {
644
644
  };
645
645
  export type SubgraphControllerMarketsArgs = SubgraphArchControllerMarketsArgs;
646
646
  export type SubgraphControllerAdded = {
647
- __typename?: "ControllerAdded";
647
+ __typename: "ControllerAdded";
648
648
  blockNumber: Scalars["Int"]["output"];
649
649
  blockTimestamp: Scalars["Int"]["output"];
650
650
  controller: SubgraphController;
@@ -753,7 +753,7 @@ export declare enum SubgraphControllerAdded_OrderBy {
753
753
  TransactionHash = "transactionHash"
754
754
  }
755
755
  export type SubgraphControllerFactory = {
756
- __typename?: "ControllerFactory";
756
+ __typename: "ControllerFactory";
757
757
  archController: SubgraphArchController;
758
758
  constraints: SubgraphParameterConstraints;
759
759
  controllers: SubgraphController[];
@@ -768,7 +768,7 @@ export type SubgraphControllerFactory = {
768
768
  };
769
769
  export type SubgraphControllerFactoryControllersArgs = SubgraphArchControllerControllersArgs;
770
770
  export type SubgraphControllerFactoryAdded = {
771
- __typename?: "ControllerFactoryAdded";
771
+ __typename: "ControllerFactoryAdded";
772
772
  blockNumber: Scalars["Int"]["output"];
773
773
  blockTimestamp: Scalars["Int"]["output"];
774
774
  controllerFactory: SubgraphControllerFactory;
@@ -851,7 +851,7 @@ export declare enum SubgraphControllerFactoryAdded_OrderBy {
851
851
  TransactionHash = "transactionHash"
852
852
  }
853
853
  export type SubgraphControllerFactoryRemoved = {
854
- __typename?: "ControllerFactoryRemoved";
854
+ __typename: "ControllerFactoryRemoved";
855
855
  blockNumber: Scalars["Int"]["output"];
856
856
  blockTimestamp: Scalars["Int"]["output"];
857
857
  controllerFactory: SubgraphControllerFactory;
@@ -1071,7 +1071,7 @@ export declare enum SubgraphControllerFactory_OrderBy {
1071
1071
  Sentinel = "sentinel"
1072
1072
  }
1073
1073
  export type SubgraphControllerRemoved = {
1074
- __typename?: "ControllerRemoved";
1074
+ __typename: "ControllerRemoved";
1075
1075
  blockNumber: Scalars["Int"]["output"];
1076
1076
  blockTimestamp: Scalars["Int"]["output"];
1077
1077
  controller: SubgraphController;
@@ -1247,7 +1247,7 @@ export declare enum SubgraphController_OrderBy {
1247
1247
  RemovalTransactionHash = "removal__transactionHash"
1248
1248
  }
1249
1249
  export type SubgraphDebtRepaid = {
1250
- __typename?: "DebtRepaid";
1250
+ __typename: "DebtRepaid";
1251
1251
  assetAmount: Scalars["BigInt"]["output"];
1252
1252
  blockNumber: Scalars["Int"]["output"];
1253
1253
  blockTimestamp: Scalars["Int"]["output"];
@@ -1410,7 +1410,7 @@ export declare enum SubgraphDebtRepaid_OrderBy {
1410
1410
  TransactionHash = "transactionHash"
1411
1411
  }
1412
1412
  export type SubgraphDelinquencyStatusChanged = {
1413
- __typename?: "DelinquencyStatusChanged";
1413
+ __typename: "DelinquencyStatusChanged";
1414
1414
  blockNumber: Scalars["Int"]["output"];
1415
1415
  blockTimestamp: Scalars["Int"]["output"];
1416
1416
  delinquencyStatusChangedIndex: Scalars["Int"]["output"];
@@ -1577,7 +1577,7 @@ export declare enum SubgraphDelinquencyStatusChanged_OrderBy {
1577
1577
  TransactionHash = "transactionHash"
1578
1578
  }
1579
1579
  export type SubgraphDeposit = {
1580
- __typename?: "Deposit";
1580
+ __typename: "Deposit";
1581
1581
  account: SubgraphLenderAccount;
1582
1582
  assetAmount: Scalars["BigInt"]["output"];
1583
1583
  blockNumber: Scalars["Int"]["output"];
@@ -1770,7 +1770,7 @@ export declare enum SubgraphDeposit_OrderBy {
1770
1770
  TransactionHash = "transactionHash"
1771
1771
  }
1772
1772
  export type SubgraphFeesCollected = {
1773
- __typename?: "FeesCollected";
1773
+ __typename: "FeesCollected";
1774
1774
  blockNumber: Scalars["Int"]["output"];
1775
1775
  blockTimestamp: Scalars["Int"]["output"];
1776
1776
  eventIndex: Scalars["Int"]["output"];
@@ -1921,7 +1921,7 @@ export declare enum SubgraphFeesCollected_OrderBy {
1921
1921
  TransactionHash = "transactionHash"
1922
1922
  }
1923
1923
  export type SubgraphLenderAccount = {
1924
- __typename?: "LenderAccount";
1924
+ __typename: "LenderAccount";
1925
1925
  address: Scalars["Bytes"]["output"];
1926
1926
  controllerAuthorization: SubgraphLenderAuthorization;
1927
1927
  deposits: SubgraphDeposit[];
@@ -2144,7 +2144,7 @@ export declare enum SubgraphLenderAccount_OrderBy {
2144
2144
  Withdrawals = "withdrawals"
2145
2145
  }
2146
2146
  export type SubgraphLenderAuthorization = {
2147
- __typename?: "LenderAuthorization";
2147
+ __typename: "LenderAuthorization";
2148
2148
  authorized: Scalars["Boolean"]["output"];
2149
2149
  changes: SubgraphLenderAuthorizationChange[];
2150
2150
  controller: SubgraphController;
@@ -2161,7 +2161,7 @@ export type SubgraphLenderAuthorizationMarketAccountsArgs = {
2161
2161
  where?: InputMaybe<SubgraphLenderAccount_Filter>;
2162
2162
  };
2163
2163
  export type SubgraphLenderAuthorizationChange = {
2164
- __typename?: "LenderAuthorizationChange";
2164
+ __typename: "LenderAuthorizationChange";
2165
2165
  authorization: SubgraphLenderAuthorization;
2166
2166
  authorized: Scalars["Boolean"]["output"];
2167
2167
  blockNumber: Scalars["Int"]["output"];
@@ -2346,7 +2346,7 @@ export declare enum SubgraphLenderAuthorization_OrderBy {
2346
2346
  MarketAccounts = "marketAccounts"
2347
2347
  }
2348
2348
  export type SubgraphLenderInterestAccrued = {
2349
- __typename?: "LenderInterestAccrued";
2349
+ __typename: "LenderInterestAccrued";
2350
2350
  account: SubgraphLenderAccount;
2351
2351
  blockNumber: Scalars["Int"]["output"];
2352
2352
  blockTimestamp: Scalars["Int"]["output"];
@@ -2515,7 +2515,7 @@ export declare enum SubgraphLenderStatus {
2515
2515
  WithdrawOnly = "WithdrawOnly"
2516
2516
  }
2517
2517
  export type SubgraphLenderWithdrawalStatus = {
2518
- __typename?: "LenderWithdrawalStatus";
2518
+ __typename: "LenderWithdrawalStatus";
2519
2519
  account: SubgraphLenderAccount;
2520
2520
  batch: SubgraphWithdrawalBatch;
2521
2521
  executions: SubgraphWithdrawalExecution[];
@@ -2680,7 +2680,7 @@ export declare enum SubgraphLenderWithdrawalStatus_OrderBy {
2680
2680
  TotalNormalizedRequests = "totalNormalizedRequests"
2681
2681
  }
2682
2682
  export type SubgraphMarket = {
2683
- __typename?: "Market";
2683
+ __typename: "Market";
2684
2684
  annualInterestBips: Scalars["Int"]["output"];
2685
2685
  annualInterestBipsUpdatedIndex: Scalars["Int"]["output"];
2686
2686
  annualInterestBipsUpdatedRecords: SubgraphAnnualInterestBipsUpdated[];
@@ -2812,7 +2812,7 @@ export type SubgraphMarketWithdrawalBatchesArgs = {
2812
2812
  };
2813
2813
  export type SubgraphMarketWithdrawalRequestRecordsArgs = SubgraphLenderWithdrawalStatusRequestsArgs;
2814
2814
  export type SubgraphMarketAdded = {
2815
- __typename?: "MarketAdded";
2815
+ __typename: "MarketAdded";
2816
2816
  blockNumber: Scalars["Int"]["output"];
2817
2817
  blockTimestamp: Scalars["Int"]["output"];
2818
2818
  controller: SubgraphController;
@@ -2959,7 +2959,7 @@ export declare enum SubgraphMarketAdded_OrderBy {
2959
2959
  TransactionHash = "transactionHash"
2960
2960
  }
2961
2961
  export type SubgraphMarketClosed = {
2962
- __typename?: "MarketClosed";
2962
+ __typename: "MarketClosed";
2963
2963
  blockNumber: Scalars["Int"]["output"];
2964
2964
  blockTimestamp: Scalars["Int"]["output"];
2965
2965
  eventIndex: Scalars["Int"]["output"];
@@ -3100,7 +3100,7 @@ export declare enum SubgraphMarketClosed_OrderBy {
3100
3100
  TransactionHash = "transactionHash"
3101
3101
  }
3102
3102
  export type SubgraphMarketDeployed = {
3103
- __typename?: "MarketDeployed";
3103
+ __typename: "MarketDeployed";
3104
3104
  blockNumber: Scalars["Int"]["output"];
3105
3105
  blockTimestamp: Scalars["Int"]["output"];
3106
3106
  id: Scalars["ID"]["output"];
@@ -3221,7 +3221,7 @@ export declare enum SubgraphMarketDeployed_OrderBy {
3221
3221
  TransactionHash = "transactionHash"
3222
3222
  }
3223
3223
  export type SubgraphMarketInterestAccrued = {
3224
- __typename?: "MarketInterestAccrued";
3224
+ __typename: "MarketInterestAccrued";
3225
3225
  baseInterestAccrued: Scalars["BigInt"]["output"];
3226
3226
  baseInterestRay: Scalars["BigInt"]["output"];
3227
3227
  blockNumber: Scalars["Int"]["output"];
@@ -3422,7 +3422,7 @@ export declare enum SubgraphMarketInterestAccrued_OrderBy {
3422
3422
  TransactionHash = "transactionHash"
3423
3423
  }
3424
3424
  export type SubgraphMarketRemoved = {
3425
- __typename?: "MarketRemoved";
3425
+ __typename: "MarketRemoved";
3426
3426
  blockNumber: Scalars["Int"]["output"];
3427
3427
  blockTimestamp: Scalars["Int"]["output"];
3428
3428
  id: Scalars["ID"]["output"];
@@ -4110,7 +4110,7 @@ export declare enum SubgraphMarket_OrderBy {
4110
4110
  WithdrawalRequestsIndex = "withdrawalRequestsIndex"
4111
4111
  }
4112
4112
  export type SubgraphMaxTotalSupplyUpdated = {
4113
- __typename?: "MaxTotalSupplyUpdated";
4113
+ __typename: "MaxTotalSupplyUpdated";
4114
4114
  blockNumber: Scalars["Int"]["output"];
4115
4115
  blockTimestamp: Scalars["Int"]["output"];
4116
4116
  eventIndex: Scalars["Int"]["output"];
@@ -4271,7 +4271,7 @@ export declare enum SubgraphMaxTotalSupplyUpdated_OrderBy {
4271
4271
  TransactionHash = "transactionHash"
4272
4272
  }
4273
4273
  export type SubgraphNewController = {
4274
- __typename?: "NewController";
4274
+ __typename: "NewController";
4275
4275
  blockNumber: Scalars["Int"]["output"];
4276
4276
  blockTimestamp: Scalars["Int"]["output"];
4277
4277
  borrower: Scalars["Bytes"]["output"];
@@ -4392,7 +4392,7 @@ export declare enum SubgraphNewController_OrderBy {
4392
4392
  TransactionHash = "transactionHash"
4393
4393
  }
4394
4394
  export type SubgraphNewSanctionsEscrow = {
4395
- __typename?: "NewSanctionsEscrow";
4395
+ __typename: "NewSanctionsEscrow";
4396
4396
  account: Scalars["Bytes"]["output"];
4397
4397
  asset: Scalars["Bytes"]["output"];
4398
4398
  blockNumber: Scalars["Int"]["output"];
@@ -4486,7 +4486,7 @@ export declare enum SubgraphOrderDirection {
4486
4486
  Desc = "desc"
4487
4487
  }
4488
4488
  export type SubgraphOwnershipHandoverCanceled = {
4489
- __typename?: "OwnershipHandoverCanceled";
4489
+ __typename: "OwnershipHandoverCanceled";
4490
4490
  blockNumber: Scalars["Int"]["output"];
4491
4491
  blockTimestamp: Scalars["Int"]["output"];
4492
4492
  id: Scalars["ID"]["output"];
@@ -4551,7 +4551,7 @@ export declare enum SubgraphOwnershipHandoverCanceled_OrderBy {
4551
4551
  TransactionHash = "transactionHash"
4552
4552
  }
4553
4553
  export type SubgraphOwnershipHandoverRequested = {
4554
- __typename?: "OwnershipHandoverRequested";
4554
+ __typename: "OwnershipHandoverRequested";
4555
4555
  blockNumber: Scalars["Int"]["output"];
4556
4556
  blockTimestamp: Scalars["Int"]["output"];
4557
4557
  id: Scalars["ID"]["output"];
@@ -4616,7 +4616,7 @@ export declare enum SubgraphOwnershipHandoverRequested_OrderBy {
4616
4616
  TransactionHash = "transactionHash"
4617
4617
  }
4618
4618
  export type SubgraphOwnershipTransferred = {
4619
- __typename?: "OwnershipTransferred";
4619
+ __typename: "OwnershipTransferred";
4620
4620
  blockNumber: Scalars["Int"]["output"];
4621
4621
  blockTimestamp: Scalars["Int"]["output"];
4622
4622
  id: Scalars["ID"]["output"];
@@ -4693,7 +4693,7 @@ export declare enum SubgraphOwnershipTransferred_OrderBy {
4693
4693
  TransactionHash = "transactionHash"
4694
4694
  }
4695
4695
  export type SubgraphParameterConstraints = {
4696
- __typename?: "ParameterConstraints";
4696
+ __typename: "ParameterConstraints";
4697
4697
  id: Scalars["ID"]["output"];
4698
4698
  maximumAnnualInterestBips: Scalars["Int"]["output"];
4699
4699
  maximumDelinquencyFeeBips: Scalars["Int"]["output"];
@@ -4814,7 +4814,7 @@ export declare enum SubgraphParameterConstraints_OrderBy {
4814
4814
  MinimumWithdrawalBatchDuration = "minimumWithdrawalBatchDuration"
4815
4815
  }
4816
4816
  export type SubgraphQuery = {
4817
- __typename?: "Query";
4817
+ __typename: "Query";
4818
4818
  /** Access to subgraph metadata */
4819
4819
  _meta?: Maybe<Subgraph_Meta_>;
4820
4820
  annualInterestBipsUpdated?: Maybe<SubgraphAnnualInterestBipsUpdated>;
@@ -5414,7 +5414,7 @@ export type SubgraphQueryWithdrawalRequestsArgs = {
5414
5414
  where?: InputMaybe<SubgraphWithdrawalRequest_Filter>;
5415
5415
  };
5416
5416
  export type SubgraphRegisteredBorrower = {
5417
- __typename?: "RegisteredBorrower";
5417
+ __typename: "RegisteredBorrower";
5418
5418
  archController: SubgraphArchController;
5419
5419
  borrower: Scalars["Bytes"]["output"];
5420
5420
  changes: SubgraphBorrowerRegistrationChange[];
@@ -5487,7 +5487,7 @@ export declare enum SubgraphRegisteredBorrower_OrderBy {
5487
5487
  IsRegistered = "isRegistered"
5488
5488
  }
5489
5489
  export type SubgraphReserveRatioBipsUpdated = {
5490
- __typename?: "ReserveRatioBipsUpdated";
5490
+ __typename: "ReserveRatioBipsUpdated";
5491
5491
  blockNumber: Scalars["Int"]["output"];
5492
5492
  blockTimestamp: Scalars["Int"]["output"];
5493
5493
  id: Scalars["ID"]["output"];
@@ -5628,7 +5628,7 @@ export declare enum SubgraphReserveRatioBipsUpdated_OrderBy {
5628
5628
  TransactionHash = "transactionHash"
5629
5629
  }
5630
5630
  export type SubgraphSanctionOverride = {
5631
- __typename?: "SanctionOverride";
5631
+ __typename: "SanctionOverride";
5632
5632
  account: Scalars["Bytes"]["output"];
5633
5633
  blockNumber: Scalars["Int"]["output"];
5634
5634
  blockTimestamp: Scalars["Int"]["output"];
@@ -5637,7 +5637,7 @@ export type SubgraphSanctionOverride = {
5637
5637
  transactionHash: Scalars["Bytes"]["output"];
5638
5638
  };
5639
5639
  export type SubgraphSanctionOverrideRemoved = {
5640
- __typename?: "SanctionOverrideRemoved";
5640
+ __typename: "SanctionOverrideRemoved";
5641
5641
  account: Scalars["Bytes"]["output"];
5642
5642
  blockNumber: Scalars["Int"]["output"];
5643
5643
  blockTimestamp: Scalars["Int"]["output"];
@@ -5782,7 +5782,7 @@ export declare enum SubgraphSanctionOverride_OrderBy {
5782
5782
  TransactionHash = "transactionHash"
5783
5783
  }
5784
5784
  export type SubgraphSanctionedAccountAssetsSentToEscrow = {
5785
- __typename?: "SanctionedAccountAssetsSentToEscrow";
5785
+ __typename: "SanctionedAccountAssetsSentToEscrow";
5786
5786
  account: Scalars["Bytes"]["output"];
5787
5787
  amount: Scalars["BigInt"]["output"];
5788
5788
  blockNumber: Scalars["Int"]["output"];
@@ -5869,7 +5869,7 @@ export declare enum SubgraphSanctionedAccountAssetsSentToEscrow_OrderBy {
5869
5869
  TransactionHash = "transactionHash"
5870
5870
  }
5871
5871
  export type SubgraphSanctionedAccountWithdrawalSentToEscrow = {
5872
- __typename?: "SanctionedAccountWithdrawalSentToEscrow";
5872
+ __typename: "SanctionedAccountWithdrawalSentToEscrow";
5873
5873
  account: Scalars["Bytes"]["output"];
5874
5874
  amount: Scalars["BigInt"]["output"];
5875
5875
  blockNumber: Scalars["Int"]["output"];
@@ -5966,7 +5966,7 @@ export declare enum SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy {
5966
5966
  TransactionHash = "transactionHash"
5967
5967
  }
5968
5968
  export type SubgraphSubscription = {
5969
- __typename?: "Subscription";
5969
+ __typename: "Subscription";
5970
5970
  /** Access to subgraph metadata */
5971
5971
  _meta?: Maybe<Subgraph_Meta_>;
5972
5972
  annualInterestBipsUpdated?: Maybe<SubgraphAnnualInterestBipsUpdated>;
@@ -6168,7 +6168,7 @@ export type SubgraphSubscriptionWithdrawalExecutionsArgs = SubgraphQueryWithdraw
6168
6168
  export type SubgraphSubscriptionWithdrawalRequestArgs = SubgraphQueryAnnualInterestBipsUpdatedArgs;
6169
6169
  export type SubgraphSubscriptionWithdrawalRequestsArgs = SubgraphQueryWithdrawalRequestsArgs;
6170
6170
  export type SubgraphToken = {
6171
- __typename?: "Token";
6171
+ __typename: "Token";
6172
6172
  address: Scalars["Bytes"]["output"];
6173
6173
  decimals: Scalars["Int"]["output"];
6174
6174
  id: Scalars["ID"]["output"];
@@ -6261,7 +6261,7 @@ export declare enum SubgraphToken_OrderBy {
6261
6261
  Symbol = "symbol"
6262
6262
  }
6263
6263
  export type SubgraphTransfer = {
6264
- __typename?: "Transfer";
6264
+ __typename: "Transfer";
6265
6265
  amount: Scalars["BigInt"]["output"];
6266
6266
  blockNumber: Scalars["Int"]["output"];
6267
6267
  blockTimestamp: Scalars["Int"]["output"];
@@ -6466,7 +6466,7 @@ export declare enum SubgraphTransfer_OrderBy {
6466
6466
  TransactionHash = "transactionHash"
6467
6467
  }
6468
6468
  export type SubgraphUpdateProtocolFeeConfiguration = {
6469
- __typename?: "UpdateProtocolFeeConfiguration";
6469
+ __typename: "UpdateProtocolFeeConfiguration";
6470
6470
  blockNumber: Scalars["Int"]["output"];
6471
6471
  blockTimestamp: Scalars["Int"]["output"];
6472
6472
  feeRecipient: Scalars["Bytes"]["output"];
@@ -6563,7 +6563,7 @@ export declare enum SubgraphUpdateProtocolFeeConfiguration_OrderBy {
6563
6563
  TransactionHash = "transactionHash"
6564
6564
  }
6565
6565
  export type SubgraphWithdrawalBatch = {
6566
- __typename?: "WithdrawalBatch";
6566
+ __typename: "WithdrawalBatch";
6567
6567
  creation: SubgraphWithdrawalBatchCreated;
6568
6568
  executions: SubgraphWithdrawalExecution[];
6569
6569
  expiry: Scalars["BigInt"]["output"];
@@ -6603,7 +6603,7 @@ export type SubgraphWithdrawalBatchPaymentsArgs = {
6603
6603
  export type SubgraphWithdrawalBatchRequestsArgs = SubgraphLenderWithdrawalStatusRequestsArgs;
6604
6604
  export type SubgraphWithdrawalBatchWithdrawalsArgs = SubgraphLenderAccountWithdrawalsArgs;
6605
6605
  export type SubgraphWithdrawalBatchCreated = {
6606
- __typename?: "WithdrawalBatchCreated";
6606
+ __typename: "WithdrawalBatchCreated";
6607
6607
  batch: SubgraphWithdrawalBatch;
6608
6608
  blockNumber: Scalars["Int"]["output"];
6609
6609
  blockTimestamp: Scalars["Int"]["output"];
@@ -6692,7 +6692,7 @@ export declare enum SubgraphWithdrawalBatchCreated_OrderBy {
6692
6692
  TransactionHash = "transactionHash"
6693
6693
  }
6694
6694
  export type SubgraphWithdrawalBatchExpired = {
6695
- __typename?: "WithdrawalBatchExpired";
6695
+ __typename: "WithdrawalBatchExpired";
6696
6696
  batch: SubgraphWithdrawalBatch;
6697
6697
  blockNumber: Scalars["Int"]["output"];
6698
6698
  blockTimestamp: Scalars["Int"]["output"];
@@ -6811,7 +6811,7 @@ export declare enum SubgraphWithdrawalBatchExpired_OrderBy {
6811
6811
  TransactionHash = "transactionHash"
6812
6812
  }
6813
6813
  export type SubgraphWithdrawalBatchInterestAccrued = {
6814
- __typename?: "WithdrawalBatchInterestAccrued";
6814
+ __typename: "WithdrawalBatchInterestAccrued";
6815
6815
  batch: SubgraphWithdrawalBatch;
6816
6816
  blockNumber: Scalars["Int"]["output"];
6817
6817
  blockTimestamp: Scalars["Int"]["output"];
@@ -6978,7 +6978,7 @@ export declare enum SubgraphWithdrawalBatchInterestAccrued_OrderBy {
6978
6978
  TransactionHash = "transactionHash"
6979
6979
  }
6980
6980
  export type SubgraphWithdrawalBatchPayment = {
6981
- __typename?: "WithdrawalBatchPayment";
6981
+ __typename: "WithdrawalBatchPayment";
6982
6982
  batch: SubgraphWithdrawalBatch;
6983
6983
  blockNumber: Scalars["Int"]["output"];
6984
6984
  blockTimestamp: Scalars["Int"]["output"];
@@ -7287,7 +7287,7 @@ export declare enum SubgraphWithdrawalBatch_OrderBy {
7287
7287
  Withdrawals = "withdrawals"
7288
7288
  }
7289
7289
  export type SubgraphWithdrawalExecution = {
7290
- __typename?: "WithdrawalExecution";
7290
+ __typename: "WithdrawalExecution";
7291
7291
  account: SubgraphLenderAccount;
7292
7292
  batch: SubgraphWithdrawalBatch;
7293
7293
  blockNumber: Scalars["Int"]["output"];
@@ -7448,7 +7448,7 @@ export declare enum SubgraphWithdrawalExecution_OrderBy {
7448
7448
  TransactionHash = "transactionHash"
7449
7449
  }
7450
7450
  export type SubgraphWithdrawalRequest = {
7451
- __typename?: "WithdrawalRequest";
7451
+ __typename: "WithdrawalRequest";
7452
7452
  account: SubgraphLenderAccount;
7453
7453
  batch: SubgraphWithdrawalBatch;
7454
7454
  blockNumber: Scalars["Int"]["output"];
@@ -7717,7 +7717,7 @@ export declare enum SubgraphWithdrawalRequest_OrderBy {
7717
7717
  WithdrawalRequestsIndex = "withdrawalRequestsIndex"
7718
7718
  }
7719
7719
  export type Subgraph_Block_ = {
7720
- __typename?: "_Block_";
7720
+ __typename: "_Block_";
7721
7721
  /** The hash of the block */
7722
7722
  hash?: Maybe<Scalars["Bytes"]["output"]>;
7723
7723
  /** The block number */
@@ -7729,7 +7729,7 @@ export type Subgraph_Block_ = {
7729
7729
  };
7730
7730
  /** The type for the top-level _meta field */
7731
7731
  export type Subgraph_Meta_ = {
7732
- __typename?: "_Meta_";
7732
+ __typename: "_Meta_";
7733
7733
  /**
7734
7734
  * Information about a specific subgraph block. The hash of the block
7735
7735
  * will be null if the _meta field has a block constraint that asks for
@@ -7750,7 +7750,7 @@ export declare enum Subgraph_SubgraphErrorPolicy_ {
7750
7750
  Deny = "deny"
7751
7751
  }
7752
7752
  export type SubgraphAccountDataForLenderViewFragment = {
7753
- __typename?: "LenderAccount";
7753
+ __typename: "LenderAccount";
7754
7754
  id: string;
7755
7755
  address: string;
7756
7756
  scaledBalance: string;
@@ -7761,13 +7761,13 @@ export type SubgraphAccountDataForLenderViewFragment = {
7761
7761
  totalInterestEarned: string;
7762
7762
  numPendingWithdrawalBatches: number;
7763
7763
  controllerAuthorization: {
7764
- __typename?: "LenderAuthorization";
7764
+ __typename: "LenderAuthorization";
7765
7765
  authorized: boolean;
7766
7766
  };
7767
7767
  deposits: SubgraphDepositDataFragment[];
7768
7768
  };
7769
7769
  export type SubgraphLenderPropertiesFragment = {
7770
- __typename?: "LenderAccount";
7770
+ __typename: "LenderAccount";
7771
7771
  id: string;
7772
7772
  address: string;
7773
7773
  scaledBalance: string;
@@ -7779,7 +7779,7 @@ export type SubgraphLenderPropertiesFragment = {
7779
7779
  numPendingWithdrawalBatches: number;
7780
7780
  };
7781
7781
  export type SubgraphMarketDataFragment = {
7782
- __typename?: "Market";
7782
+ __typename: "Market";
7783
7783
  id: string;
7784
7784
  isRegistered: boolean;
7785
7785
  isClosed: boolean;
@@ -7817,11 +7817,11 @@ export type SubgraphMarketDataFragment = {
7817
7817
  totalDeposited: string;
7818
7818
  eventIndex: number;
7819
7819
  controller: {
7820
- __typename?: "Controller";
7820
+ __typename: "Controller";
7821
7821
  id: string;
7822
7822
  };
7823
7823
  _asset: {
7824
- __typename?: "Token";
7824
+ __typename: "Token";
7825
7825
  id: string;
7826
7826
  address: string;
7827
7827
  name: string;
@@ -7832,12 +7832,12 @@ export type SubgraphMarketDataFragment = {
7832
7832
  deployedEvent: SubgraphMarketDeployedEventFragment;
7833
7833
  };
7834
7834
  export type SubgraphAprConstraintsFragment = {
7835
- __typename?: "ParameterConstraints";
7835
+ __typename: "ParameterConstraints";
7836
7836
  minimumAnnualInterestBips: number;
7837
7837
  maximumAnnualInterestBips: number;
7838
7838
  };
7839
7839
  export type SubgraphDelinquencyStatusChangedDataFragment = {
7840
- __typename?: "DelinquencyStatusChanged";
7840
+ __typename: "DelinquencyStatusChanged";
7841
7841
  id: string;
7842
7842
  eventIndex: number;
7843
7843
  isDelinquent: boolean;
@@ -7848,7 +7848,7 @@ export type SubgraphDelinquencyStatusChangedDataFragment = {
7848
7848
  transactionHash: string;
7849
7849
  };
7850
7850
  export type SubgraphDepositDataFragment = {
7851
- __typename?: "Deposit";
7851
+ __typename: "Deposit";
7852
7852
  id: string;
7853
7853
  eventIndex: number;
7854
7854
  assetAmount: string;
@@ -7857,18 +7857,18 @@ export type SubgraphDepositDataFragment = {
7857
7857
  blockTimestamp: number;
7858
7858
  transactionHash: string;
7859
7859
  account: {
7860
- __typename?: "LenderAccount";
7860
+ __typename: "LenderAccount";
7861
7861
  address: string;
7862
7862
  };
7863
7863
  };
7864
7864
  export type SubgraphMarketDeployedEventFragment = {
7865
- __typename?: "MarketDeployed";
7865
+ __typename: "MarketDeployed";
7866
7866
  blockNumber: number;
7867
7867
  blockTimestamp: number;
7868
7868
  transactionHash: string;
7869
7869
  };
7870
7870
  export type SubgraphMarketDataWithEventsFragment = {
7871
- __typename?: "Market";
7871
+ __typename: "Market";
7872
7872
  id: string;
7873
7873
  isRegistered: boolean;
7874
7874
  isClosed: boolean;
@@ -7906,11 +7906,11 @@ export type SubgraphMarketDataWithEventsFragment = {
7906
7906
  totalDeposited: string;
7907
7907
  eventIndex: number;
7908
7908
  controller: {
7909
- __typename?: "Controller";
7909
+ __typename: "Controller";
7910
7910
  id: string;
7911
7911
  };
7912
7912
  _asset: {
7913
- __typename?: "Token";
7913
+ __typename: "Token";
7914
7914
  id: string;
7915
7915
  address: string;
7916
7916
  name: string;
@@ -7925,7 +7925,7 @@ export type SubgraphMarketDataWithEventsFragment = {
7925
7925
  repaymentRecords: SubgraphRepaymentDataFragment[];
7926
7926
  };
7927
7927
  export type SubgraphWithdrawalBatchPaymentPropertiesFragment = {
7928
- __typename?: "WithdrawalBatchPayment";
7928
+ __typename: "WithdrawalBatchPayment";
7929
7929
  id: string;
7930
7930
  scaledAmountBurned: string;
7931
7931
  normalizedAmountPaid: string;
@@ -7934,7 +7934,7 @@ export type SubgraphWithdrawalBatchPaymentPropertiesFragment = {
7934
7934
  transactionHash: string;
7935
7935
  };
7936
7936
  export type SubgraphWithdrawalRequestPropertiesFragment = {
7937
- __typename?: "WithdrawalRequest";
7937
+ __typename: "WithdrawalRequest";
7938
7938
  id: string;
7939
7939
  eventIndex: number;
7940
7940
  requestIndex: number;
@@ -7944,24 +7944,24 @@ export type SubgraphWithdrawalRequestPropertiesFragment = {
7944
7944
  blockTimestamp: number;
7945
7945
  transactionHash: string;
7946
7946
  account: {
7947
- __typename?: "LenderAccount";
7947
+ __typename: "LenderAccount";
7948
7948
  address: string;
7949
7949
  };
7950
7950
  };
7951
7951
  export type SubgraphWithdrawalExecutionPropertiesFragment = {
7952
- __typename?: "WithdrawalExecution";
7952
+ __typename: "WithdrawalExecution";
7953
7953
  id: string;
7954
7954
  normalizedAmount: string;
7955
7955
  blockNumber: number;
7956
7956
  blockTimestamp: number;
7957
7957
  transactionHash: string;
7958
7958
  account: {
7959
- __typename?: "LenderAccount";
7959
+ __typename: "LenderAccount";
7960
7960
  address: string;
7961
7961
  };
7962
7962
  };
7963
7963
  export type SubgraphLenderWithdrawalPropertiesFragment = {
7964
- __typename?: "LenderWithdrawalStatus";
7964
+ __typename: "LenderWithdrawalStatus";
7965
7965
  id: string;
7966
7966
  requestsCount: number;
7967
7967
  executionsCount: number;
@@ -7970,12 +7970,12 @@ export type SubgraphLenderWithdrawalPropertiesFragment = {
7970
7970
  totalNormalizedRequests: string;
7971
7971
  isCompleted: boolean;
7972
7972
  account: {
7973
- __typename?: "LenderAccount";
7973
+ __typename: "LenderAccount";
7974
7974
  address: string;
7975
7975
  };
7976
7976
  };
7977
7977
  export type SubgraphLenderWithdrawalPropertiesWithEventsFragment = {
7978
- __typename?: "LenderWithdrawalStatus";
7978
+ __typename: "LenderWithdrawalStatus";
7979
7979
  id: string;
7980
7980
  requestsCount: number;
7981
7981
  executionsCount: number;
@@ -7987,12 +7987,12 @@ export type SubgraphLenderWithdrawalPropertiesWithEventsFragment = {
7987
7987
  requests: SubgraphWithdrawalRequestPropertiesFragment[];
7988
7988
  executions: SubgraphWithdrawalExecutionPropertiesFragment[];
7989
7989
  account: {
7990
- __typename?: "LenderAccount";
7990
+ __typename: "LenderAccount";
7991
7991
  address: string;
7992
7992
  };
7993
7993
  };
7994
7994
  export type SubgraphWithdrawalBatchPropertiesFragment = {
7995
- __typename?: "WithdrawalBatch";
7995
+ __typename: "WithdrawalBatch";
7996
7996
  id: string;
7997
7997
  expiry: string;
7998
7998
  scaledTotalAmount: string;
@@ -8007,7 +8007,7 @@ export type SubgraphWithdrawalBatchPropertiesFragment = {
8007
8007
  lastUpdatedTimestamp: number;
8008
8008
  totalInterestEarned: string;
8009
8009
  creation: {
8010
- __typename?: "WithdrawalBatchCreated";
8010
+ __typename: "WithdrawalBatchCreated";
8011
8011
  blockNumber: number;
8012
8012
  blockTimestamp: number;
8013
8013
  transactionHash: string;
@@ -8015,7 +8015,7 @@ export type SubgraphWithdrawalBatchPropertiesFragment = {
8015
8015
  payments: SubgraphWithdrawalBatchPaymentPropertiesFragment[];
8016
8016
  };
8017
8017
  export type SubgraphWithdrawalBatchPropertiesWithEventsFragment = {
8018
- __typename?: "WithdrawalBatch";
8018
+ __typename: "WithdrawalBatch";
8019
8019
  id: string;
8020
8020
  expiry: string;
8021
8021
  scaledTotalAmount: string;
@@ -8033,7 +8033,7 @@ export type SubgraphWithdrawalBatchPropertiesWithEventsFragment = {
8033
8033
  requests: SubgraphWithdrawalRequestPropertiesFragment[];
8034
8034
  executions: SubgraphWithdrawalExecutionPropertiesFragment[];
8035
8035
  creation: {
8036
- __typename?: "WithdrawalBatchCreated";
8036
+ __typename: "WithdrawalBatchCreated";
8037
8037
  blockNumber: number;
8038
8038
  blockTimestamp: number;
8039
8039
  transactionHash: string;
@@ -8041,14 +8041,14 @@ export type SubgraphWithdrawalBatchPropertiesWithEventsFragment = {
8041
8041
  payments: SubgraphWithdrawalBatchPaymentPropertiesFragment[];
8042
8042
  };
8043
8043
  export type SubgraphMarketRecordsFragment = {
8044
- __typename?: "Market";
8044
+ __typename: "Market";
8045
8045
  depositRecords: SubgraphDepositDataFragment[];
8046
8046
  borrowRecords: SubgraphBorrowDataFragment[];
8047
8047
  feeCollectionRecords: SubgraphFeesCollectedDataFragment[];
8048
8048
  repaymentRecords: SubgraphRepaymentDataFragment[];
8049
8049
  };
8050
8050
  export type SubgraphBorrowDataFragment = {
8051
- __typename?: "Borrow";
8051
+ __typename: "Borrow";
8052
8052
  eventIndex: number;
8053
8053
  assetAmount: string;
8054
8054
  blockNumber: number;
@@ -8056,7 +8056,7 @@ export type SubgraphBorrowDataFragment = {
8056
8056
  transactionHash: string;
8057
8057
  };
8058
8058
  export type SubgraphRepaymentDataFragment = {
8059
- __typename?: "DebtRepaid";
8059
+ __typename: "DebtRepaid";
8060
8060
  eventIndex: number;
8061
8061
  from: string;
8062
8062
  assetAmount: string;
@@ -8065,7 +8065,7 @@ export type SubgraphRepaymentDataFragment = {
8065
8065
  transactionHash: string;
8066
8066
  };
8067
8067
  export type SubgraphFeesCollectedDataFragment = {
8068
- __typename?: "FeesCollected";
8068
+ __typename: "FeesCollected";
8069
8069
  eventIndex: number;
8070
8070
  feesCollected: string;
8071
8071
  blockNumber: number;
@@ -8073,7 +8073,7 @@ export type SubgraphFeesCollectedDataFragment = {
8073
8073
  transactionHash: string;
8074
8074
  };
8075
8075
  export type SubgraphAnnualInterestBipsUpdatedDataFragment = {
8076
- __typename?: "AnnualInterestBipsUpdated";
8076
+ __typename: "AnnualInterestBipsUpdated";
8077
8077
  eventIndex: number;
8078
8078
  oldAnnualInterestBips: number;
8079
8079
  newAnnualInterestBips: number;
@@ -8082,7 +8082,7 @@ export type SubgraphAnnualInterestBipsUpdatedDataFragment = {
8082
8082
  transactionHash: string;
8083
8083
  };
8084
8084
  export type SubgraphMaxTotalSupplyUpdatedDataFragment = {
8085
- __typename?: "MaxTotalSupplyUpdated";
8085
+ __typename: "MaxTotalSupplyUpdated";
8086
8086
  eventIndex: number;
8087
8087
  oldMaxTotalSupply: string;
8088
8088
  newMaxTotalSupply: string;
@@ -8091,7 +8091,7 @@ export type SubgraphMaxTotalSupplyUpdatedDataFragment = {
8091
8091
  transactionHash: string;
8092
8092
  };
8093
8093
  export type SubgraphMarketClosedDataFragment = {
8094
- __typename?: "MarketClosed";
8094
+ __typename: "MarketClosed";
8095
8095
  eventIndex: number;
8096
8096
  blockNumber: number;
8097
8097
  blockTimestamp: number;
@@ -8106,9 +8106,9 @@ export type SubgraphGetLenderAccountForMarketQueryVariables = Exact<{
8106
8106
  directionDeposits?: InputMaybe<SubgraphOrderDirection>;
8107
8107
  }>;
8108
8108
  export type SubgraphGetLenderAccountForMarketQuery = {
8109
- __typename?: "Query";
8109
+ __typename: "Query";
8110
8110
  market?: {
8111
- __typename?: "Market";
8111
+ __typename: "Market";
8112
8112
  lenders: SubgraphAccountDataForLenderViewFragment[];
8113
8113
  } | null;
8114
8114
  };
@@ -8129,9 +8129,9 @@ export type SubgraphGetLenderAccountWithMarketQueryVariables = Exact<{
8129
8129
  directionRepayments?: InputMaybe<SubgraphOrderDirection>;
8130
8130
  }>;
8131
8131
  export type SubgraphGetLenderAccountWithMarketQuery = {
8132
- __typename?: "Query";
8132
+ __typename: "Query";
8133
8133
  market?: {
8134
- __typename?: "Market";
8134
+ __typename: "Market";
8135
8135
  id: string;
8136
8136
  isRegistered: boolean;
8137
8137
  isClosed: boolean;
@@ -8172,11 +8172,11 @@ export type SubgraphGetLenderAccountWithMarketQuery = {
8172
8172
  borrowRecords: SubgraphBorrowDataFragment[];
8173
8173
  repaymentRecords: SubgraphRepaymentDataFragment[];
8174
8174
  controller: {
8175
- __typename?: "Controller";
8175
+ __typename: "Controller";
8176
8176
  id: string;
8177
8177
  };
8178
8178
  _asset: {
8179
- __typename?: "Token";
8179
+ __typename: "Token";
8180
8180
  id: string;
8181
8181
  address: string;
8182
8182
  name: string;
@@ -8203,9 +8203,9 @@ export type SubgraphGetAllMarketsForLenderViewQueryVariables = Exact<{
8203
8203
  directionRepayments?: InputMaybe<SubgraphOrderDirection>;
8204
8204
  }>;
8205
8205
  export type SubgraphGetAllMarketsForLenderViewQuery = {
8206
- __typename?: "Query";
8206
+ __typename: "Query";
8207
8207
  markets: Array<{
8208
- __typename?: "Market";
8208
+ __typename: "Market";
8209
8209
  id: string;
8210
8210
  isRegistered: boolean;
8211
8211
  isClosed: boolean;
@@ -8245,11 +8245,11 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
8245
8245
  borrowRecords: SubgraphBorrowDataFragment[];
8246
8246
  repaymentRecords: SubgraphRepaymentDataFragment[];
8247
8247
  controller: {
8248
- __typename?: "Controller";
8248
+ __typename: "Controller";
8249
8249
  id: string;
8250
8250
  };
8251
8251
  _asset: {
8252
- __typename?: "Token";
8252
+ __typename: "Token";
8253
8253
  id: string;
8254
8254
  address: string;
8255
8255
  name: string;
@@ -8260,7 +8260,7 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
8260
8260
  deployedEvent: SubgraphMarketDeployedEventFragment;
8261
8261
  }>;
8262
8262
  lenderAccounts: Array<{
8263
- __typename?: "LenderAccount";
8263
+ __typename: "LenderAccount";
8264
8264
  id: string;
8265
8265
  address: string;
8266
8266
  scaledBalance: string;
@@ -8271,23 +8271,23 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
8271
8271
  totalInterestEarned: string;
8272
8272
  numPendingWithdrawalBatches: number;
8273
8273
  market: {
8274
- __typename?: "Market";
8274
+ __typename: "Market";
8275
8275
  id: string;
8276
8276
  };
8277
8277
  controllerAuthorization: {
8278
- __typename?: "LenderAuthorization";
8278
+ __typename: "LenderAuthorization";
8279
8279
  authorized: boolean;
8280
8280
  };
8281
8281
  deposits: SubgraphDepositDataFragment[];
8282
8282
  }>;
8283
8283
  controllerAuthorizations: Array<{
8284
- __typename?: "LenderAuthorization";
8284
+ __typename: "LenderAuthorization";
8285
8285
  lender: string;
8286
8286
  authorized: boolean;
8287
8287
  controller: {
8288
- __typename?: "Controller";
8288
+ __typename: "Controller";
8289
8289
  markets: Array<{
8290
- __typename?: "Market";
8290
+ __typename: "Market";
8291
8291
  id: string;
8292
8292
  }>;
8293
8293
  };
@@ -8309,9 +8309,9 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables = Exa
8309
8309
  directionRepayments?: InputMaybe<SubgraphOrderDirection>;
8310
8310
  }>;
8311
8311
  export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
8312
- __typename?: "Query";
8312
+ __typename: "Query";
8313
8313
  lenderAccounts: Array<{
8314
- __typename?: "LenderAccount";
8314
+ __typename: "LenderAccount";
8315
8315
  id: string;
8316
8316
  address: string;
8317
8317
  scaledBalance: string;
@@ -8322,7 +8322,7 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
8322
8322
  totalInterestEarned: string;
8323
8323
  numPendingWithdrawalBatches: number;
8324
8324
  market: {
8325
- __typename?: "Market";
8325
+ __typename: "Market";
8326
8326
  id: string;
8327
8327
  isRegistered: boolean;
8328
8328
  isClosed: boolean;
@@ -8362,11 +8362,11 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
8362
8362
  borrowRecords: SubgraphBorrowDataFragment[];
8363
8363
  repaymentRecords: SubgraphRepaymentDataFragment[];
8364
8364
  controller: {
8365
- __typename?: "Controller";
8365
+ __typename: "Controller";
8366
8366
  id: string;
8367
8367
  };
8368
8368
  _asset: {
8369
- __typename?: "Token";
8369
+ __typename: "Token";
8370
8370
  id: string;
8371
8371
  address: string;
8372
8372
  name: string;
@@ -8377,19 +8377,19 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
8377
8377
  deployedEvent: SubgraphMarketDeployedEventFragment;
8378
8378
  };
8379
8379
  controllerAuthorization: {
8380
- __typename?: "LenderAuthorization";
8380
+ __typename: "LenderAuthorization";
8381
8381
  authorized: boolean;
8382
8382
  };
8383
8383
  deposits: SubgraphDepositDataFragment[];
8384
8384
  }>;
8385
8385
  controllerAuthorizations: Array<{
8386
- __typename?: "LenderAuthorization";
8386
+ __typename: "LenderAuthorization";
8387
8387
  lender: string;
8388
8388
  authorized: boolean;
8389
8389
  controller: {
8390
- __typename?: "Controller";
8390
+ __typename: "Controller";
8391
8391
  markets: Array<{
8392
- __typename?: "Market";
8392
+ __typename: "Market";
8393
8393
  id: string;
8394
8394
  isRegistered: boolean;
8395
8395
  isClosed: boolean;
@@ -8429,11 +8429,11 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
8429
8429
  borrowRecords: SubgraphBorrowDataFragment[];
8430
8430
  repaymentRecords: SubgraphRepaymentDataFragment[];
8431
8431
  controller: {
8432
- __typename?: "Controller";
8432
+ __typename: "Controller";
8433
8433
  id: string;
8434
8434
  };
8435
8435
  _asset: {
8436
- __typename?: "Token";
8436
+ __typename: "Token";
8437
8437
  id: string;
8438
8438
  address: string;
8439
8439
  name: string;
@@ -8453,11 +8453,11 @@ export type SubgraphGetLenderWithdrawalsForMarketQueryVariables = Exact<{
8453
8453
  skipWithdrawals?: InputMaybe<Scalars["Int"]["input"]>;
8454
8454
  }>;
8455
8455
  export type SubgraphGetLenderWithdrawalsForMarketQuery = {
8456
- __typename?: "Query";
8456
+ __typename: "Query";
8457
8457
  market?: {
8458
- __typename?: "Market";
8458
+ __typename: "Market";
8459
8459
  lenders: Array<{
8460
- __typename?: "LenderAccount";
8460
+ __typename: "LenderAccount";
8461
8461
  incompleteWithdrawals: SubgraphLenderWithdrawalPropertiesWithEventsFragment[];
8462
8462
  completeWithdrawals: SubgraphLenderWithdrawalPropertiesWithEventsFragment[];
8463
8463
  }>;
@@ -8468,13 +8468,13 @@ export type SubgraphGetLenderAuthorizationByMarketQueryVariables = Exact<{
8468
8468
  lender: Scalars["Bytes"]["input"];
8469
8469
  }>;
8470
8470
  export type SubgraphGetLenderAuthorizationByMarketQuery = {
8471
- __typename?: "Query";
8471
+ __typename: "Query";
8472
8472
  market?: {
8473
- __typename?: "Market";
8473
+ __typename: "Market";
8474
8474
  controller: {
8475
- __typename?: "Controller";
8475
+ __typename: "Controller";
8476
8476
  authorizedLenders: Array<{
8477
- __typename?: "LenderAuthorization";
8477
+ __typename: "LenderAuthorization";
8478
8478
  lender: string;
8479
8479
  authorized: boolean;
8480
8480
  }>;
@@ -8492,20 +8492,20 @@ export type SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQueryVariables
8492
8492
  skipWithdrawals?: InputMaybe<Scalars["Int"]["input"]>;
8493
8493
  }>;
8494
8494
  export type SubgraphGetMarketsAndLogsWhereLenderAuthorizedOrActiveQuery = {
8495
- __typename?: "Query";
8495
+ __typename: "Query";
8496
8496
  lenderAccounts: Array<{
8497
- __typename?: "LenderAccount";
8497
+ __typename: "LenderAccount";
8498
8498
  scaledBalance: string;
8499
8499
  role: SubgraphLenderStatus;
8500
8500
  totalDeposited: string;
8501
8501
  lastScaleFactor: string;
8502
8502
  totalInterestEarned: string;
8503
8503
  market: {
8504
- __typename?: "Market";
8504
+ __typename: "Market";
8505
8505
  id: string;
8506
8506
  };
8507
8507
  controllerAuthorization: {
8508
- __typename?: "LenderAuthorization";
8508
+ __typename: "LenderAuthorization";
8509
8509
  authorized: boolean;
8510
8510
  };
8511
8511
  withdrawals: SubgraphLenderWithdrawalPropertiesWithEventsFragment[];
@@ -8519,9 +8519,9 @@ export type SubgraphGetMarketEventsQueryVariables = Exact<{
8519
8519
  limit?: InputMaybe<Scalars["Int"]["input"]>;
8520
8520
  }>;
8521
8521
  export type SubgraphGetMarketEventsQuery = {
8522
- __typename?: "Query";
8522
+ __typename: "Query";
8523
8523
  market?: {
8524
- __typename?: "Market";
8524
+ __typename: "Market";
8525
8525
  marketClosedEvent?: SubgraphMarketClosedDataFragment | null;
8526
8526
  delinquencyRecords: SubgraphDelinquencyStatusChangedDataFragment[];
8527
8527
  borrowRecords: SubgraphBorrowDataFragment[];
@@ -8557,9 +8557,9 @@ export type SubgraphGetMarketsForBorrowerQueryVariables = Exact<{
8557
8557
  directionRepayments?: InputMaybe<SubgraphOrderDirection>;
8558
8558
  }>;
8559
8559
  export type SubgraphGetMarketsForBorrowerQuery = {
8560
- __typename?: "Query";
8560
+ __typename: "Query";
8561
8561
  controllers: Array<{
8562
- __typename?: "Controller";
8562
+ __typename: "Controller";
8563
8563
  markets: SubgraphMarketDataWithEventsFragment[];
8564
8564
  }>;
8565
8565
  };
@@ -8586,7 +8586,7 @@ export type SubgraphGetMarketsForAllBorrowersQueryVariables = Exact<{
8586
8586
  directionRepayments?: InputMaybe<SubgraphOrderDirection>;
8587
8587
  }>;
8588
8588
  export type SubgraphGetMarketsForAllBorrowersQuery = {
8589
- __typename?: "Query";
8589
+ __typename: "Query";
8590
8590
  markets: SubgraphMarketDataWithEventsFragment[];
8591
8591
  };
8592
8592
  export type SubgraphGetMarketQueryVariables = Exact<{
@@ -8609,7 +8609,7 @@ export type SubgraphGetMarketQueryVariables = Exact<{
8609
8609
  directionRepayments?: InputMaybe<SubgraphOrderDirection>;
8610
8610
  }>;
8611
8611
  export type SubgraphGetMarketQuery = {
8612
- __typename?: "Query";
8612
+ __typename: "Query";
8613
8613
  market?: SubgraphMarketDataWithEventsFragment | null;
8614
8614
  };
8615
8615
  export type SubgraphGetWithdrawalRequestsByMarketQueryVariables = Exact<{
@@ -8620,16 +8620,16 @@ export type SubgraphGetWithdrawalRequestsByMarketQueryVariables = Exact<{
8620
8620
  directionWithdrawals?: InputMaybe<SubgraphOrderDirection>;
8621
8621
  }>;
8622
8622
  export type SubgraphGetWithdrawalRequestsByMarketQuery = {
8623
- __typename?: "Query";
8623
+ __typename: "Query";
8624
8624
  withdrawalRequests: SubgraphWithdrawalRequestPropertiesFragment[];
8625
8625
  };
8626
8626
  export type SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables = Exact<{
8627
8627
  market: Scalars["ID"]["input"];
8628
8628
  }>;
8629
8629
  export type SubgraphGetAllPendingWithdrawalBatchesForMarketQuery = {
8630
- __typename?: "Query";
8630
+ __typename: "Query";
8631
8631
  market?: {
8632
- __typename?: "Market";
8632
+ __typename: "Market";
8633
8633
  withdrawalBatches: SubgraphWithdrawalBatchPropertiesWithEventsFragment[];
8634
8634
  } | null;
8635
8635
  };
@@ -8637,20 +8637,20 @@ export type SubgraphGetAllMarketsQueryVariables = Exact<{
8637
8637
  [key: string]: never;
8638
8638
  }>;
8639
8639
  export type SubgraphGetAllMarketsQuery = {
8640
- __typename?: "Query";
8640
+ __typename: "Query";
8641
8641
  markets: SubgraphMarketDataFragment[];
8642
8642
  };
8643
8643
  export type SubgraphGetAuthorizedLendersByMarketQueryVariables = Exact<{
8644
8644
  market: Scalars["ID"]["input"];
8645
8645
  }>;
8646
8646
  export type SubgraphGetAuthorizedLendersByMarketQuery = {
8647
- __typename?: "Query";
8647
+ __typename: "Query";
8648
8648
  market?: {
8649
- __typename?: "Market";
8649
+ __typename: "Market";
8650
8650
  controller: {
8651
- __typename?: "Controller";
8651
+ __typename: "Controller";
8652
8652
  authorizedLenders: Array<{
8653
- __typename?: "LenderAuthorization";
8653
+ __typename: "LenderAuthorization";
8654
8654
  lender: string;
8655
8655
  }>;
8656
8656
  };
@@ -8660,11 +8660,11 @@ export type SubgraphGetAuthorizedLendersByBorrowerQueryVariables = Exact<{
8660
8660
  filter: SubgraphController_Filter;
8661
8661
  }>;
8662
8662
  export type SubgraphGetAuthorizedLendersByBorrowerQuery = {
8663
- __typename?: "Query";
8663
+ __typename: "Query";
8664
8664
  controllers: Array<{
8665
- __typename?: "Controller";
8665
+ __typename: "Controller";
8666
8666
  authorizedLenders: Array<{
8667
- __typename?: "LenderAuthorization";
8667
+ __typename: "LenderAuthorization";
8668
8668
  lender: string;
8669
8669
  }>;
8670
8670
  }>;
@@ -8673,12 +8673,12 @@ export type SubgraphGetSubgraphStatusQueryVariables = Exact<{
8673
8673
  [key: string]: never;
8674
8674
  }>;
8675
8675
  export type SubgraphGetSubgraphStatusQuery = {
8676
- __typename?: "Query";
8676
+ __typename: "Query";
8677
8677
  _meta?: {
8678
- __typename?: "_Meta_";
8678
+ __typename: "_Meta_";
8679
8679
  hasIndexingErrors: boolean;
8680
8680
  block: {
8681
- __typename?: "_Block_";
8681
+ __typename: "_Block_";
8682
8682
  hash?: string | null;
8683
8683
  number: number;
8684
8684
  timestamp?: number | null;
@@ -8705,7 +8705,7 @@ export type SubgraphGetMarketRecordsQueryVariables = Exact<{
8705
8705
  directionRepayments?: InputMaybe<SubgraphOrderDirection>;
8706
8706
  }>;
8707
8707
  export type SubgraphGetMarketRecordsQuery = {
8708
- __typename?: "Query";
8708
+ __typename: "Query";
8709
8709
  market?: SubgraphMarketRecordsFragment | null;
8710
8710
  };
8711
8711
  export declare const LenderPropertiesFragmentDoc: Apollo.DocumentNode;