@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
@@ -1045,6 +1045,69 @@ export declare enum SubgraphApproval_OrderBy {
1045
1045
  TransactionHash = "transactionHash",
1046
1046
  Value = "value"
1047
1047
  }
1048
+ export type SubgraphApprovedLiquidator = {
1049
+ __typename: "ApprovedLiquidator";
1050
+ factory: SubgraphSimpleCollateralFactory;
1051
+ id: Scalars["ID"]["output"];
1052
+ isApproved: Scalars["Boolean"]["output"];
1053
+ liquidator: Scalars["Bytes"]["output"];
1054
+ };
1055
+ export type SubgraphApprovedLiquidator_Filter = {
1056
+ /** Filter for the block changed event. */
1057
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
1058
+ and?: InputMaybe<Array<InputMaybe<SubgraphApprovedLiquidator_Filter>>>;
1059
+ factory?: InputMaybe<Scalars["String"]["input"]>;
1060
+ factory_?: InputMaybe<SubgraphSimpleCollateralFactory_Filter>;
1061
+ factory_contains?: InputMaybe<Scalars["String"]["input"]>;
1062
+ factory_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
1063
+ factory_ends_with?: InputMaybe<Scalars["String"]["input"]>;
1064
+ factory_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
1065
+ factory_gt?: InputMaybe<Scalars["String"]["input"]>;
1066
+ factory_gte?: InputMaybe<Scalars["String"]["input"]>;
1067
+ factory_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
1068
+ factory_lt?: InputMaybe<Scalars["String"]["input"]>;
1069
+ factory_lte?: InputMaybe<Scalars["String"]["input"]>;
1070
+ factory_not?: InputMaybe<Scalars["String"]["input"]>;
1071
+ factory_not_contains?: InputMaybe<Scalars["String"]["input"]>;
1072
+ factory_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
1073
+ factory_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
1074
+ factory_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
1075
+ factory_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
1076
+ factory_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
1077
+ factory_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
1078
+ factory_starts_with?: InputMaybe<Scalars["String"]["input"]>;
1079
+ factory_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
1080
+ id?: InputMaybe<Scalars["ID"]["input"]>;
1081
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
1082
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
1083
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
1084
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
1085
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
1086
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
1087
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
1088
+ isApproved?: InputMaybe<Scalars["Boolean"]["input"]>;
1089
+ isApproved_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
1090
+ isApproved_not?: InputMaybe<Scalars["Boolean"]["input"]>;
1091
+ isApproved_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
1092
+ liquidator?: InputMaybe<Scalars["Bytes"]["input"]>;
1093
+ liquidator_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
1094
+ liquidator_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
1095
+ liquidator_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
1096
+ liquidator_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
1097
+ liquidator_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
1098
+ liquidator_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
1099
+ liquidator_not?: InputMaybe<Scalars["Bytes"]["input"]>;
1100
+ liquidator_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
1101
+ liquidator_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
1102
+ or?: InputMaybe<Array<InputMaybe<SubgraphApprovedLiquidator_Filter>>>;
1103
+ };
1104
+ export declare enum SubgraphApprovedLiquidator_OrderBy {
1105
+ Factory = "factory",
1106
+ FactoryId = "factory__id",
1107
+ Id = "id",
1108
+ IsApproved = "isApproved",
1109
+ Liquidator = "liquidator"
1110
+ }
1048
1111
  export type SubgraphArchController = {
1049
1112
  __typename: "ArchController";
1050
1113
  borrowers: SubgraphRegisteredBorrower[];
@@ -5783,6 +5846,184 @@ export declare enum SubgraphLenderWithdrawalStatus_OrderBy {
5783
5846
  ScaledAmount = "scaledAmount",
5784
5847
  TotalNormalizedRequests = "totalNormalizedRequests"
5785
5848
  }
5849
+ export type SubgraphLiquidatorApproved = {
5850
+ __typename: "LiquidatorApproved";
5851
+ blockNumber: Scalars["Int"]["output"];
5852
+ blockTimestamp: Scalars["Int"]["output"];
5853
+ factory: SubgraphSimpleCollateralFactory;
5854
+ id: Scalars["ID"]["output"];
5855
+ liquidator: Scalars["Bytes"]["output"];
5856
+ transactionHash: Scalars["Bytes"]["output"];
5857
+ };
5858
+ export type SubgraphLiquidatorApproved_Filter = {
5859
+ /** Filter for the block changed event. */
5860
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
5861
+ and?: InputMaybe<Array<InputMaybe<SubgraphLiquidatorApproved_Filter>>>;
5862
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
5863
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
5864
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
5865
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5866
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
5867
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
5868
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
5869
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5870
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
5871
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
5872
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
5873
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5874
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
5875
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
5876
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
5877
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5878
+ factory?: InputMaybe<Scalars["String"]["input"]>;
5879
+ factory_?: InputMaybe<SubgraphSimpleCollateralFactory_Filter>;
5880
+ factory_contains?: InputMaybe<Scalars["String"]["input"]>;
5881
+ factory_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5882
+ factory_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5883
+ factory_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5884
+ factory_gt?: InputMaybe<Scalars["String"]["input"]>;
5885
+ factory_gte?: InputMaybe<Scalars["String"]["input"]>;
5886
+ factory_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5887
+ factory_lt?: InputMaybe<Scalars["String"]["input"]>;
5888
+ factory_lte?: InputMaybe<Scalars["String"]["input"]>;
5889
+ factory_not?: InputMaybe<Scalars["String"]["input"]>;
5890
+ factory_not_contains?: InputMaybe<Scalars["String"]["input"]>;
5891
+ factory_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5892
+ factory_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5893
+ factory_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5894
+ factory_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5895
+ factory_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5896
+ factory_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5897
+ factory_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5898
+ factory_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5899
+ id?: InputMaybe<Scalars["ID"]["input"]>;
5900
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
5901
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
5902
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
5903
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
5904
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
5905
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
5906
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
5907
+ liquidator?: InputMaybe<Scalars["Bytes"]["input"]>;
5908
+ liquidator_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
5909
+ liquidator_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
5910
+ liquidator_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
5911
+ liquidator_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
5912
+ liquidator_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
5913
+ liquidator_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
5914
+ liquidator_not?: InputMaybe<Scalars["Bytes"]["input"]>;
5915
+ liquidator_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
5916
+ liquidator_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
5917
+ or?: InputMaybe<Array<InputMaybe<SubgraphLiquidatorApproved_Filter>>>;
5918
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
5919
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
5920
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
5921
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
5922
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
5923
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
5924
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
5925
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
5926
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
5927
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
5928
+ };
5929
+ export declare enum SubgraphLiquidatorApproved_OrderBy {
5930
+ BlockNumber = "blockNumber",
5931
+ BlockTimestamp = "blockTimestamp",
5932
+ Factory = "factory",
5933
+ FactoryId = "factory__id",
5934
+ Id = "id",
5935
+ Liquidator = "liquidator",
5936
+ TransactionHash = "transactionHash"
5937
+ }
5938
+ export type SubgraphLiquidatorRemoved = {
5939
+ __typename: "LiquidatorRemoved";
5940
+ blockNumber: Scalars["Int"]["output"];
5941
+ blockTimestamp: Scalars["Int"]["output"];
5942
+ factory: SubgraphSimpleCollateralFactory;
5943
+ id: Scalars["ID"]["output"];
5944
+ liquidator: Scalars["Bytes"]["output"];
5945
+ transactionHash: Scalars["Bytes"]["output"];
5946
+ };
5947
+ export type SubgraphLiquidatorRemoved_Filter = {
5948
+ /** Filter for the block changed event. */
5949
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
5950
+ and?: InputMaybe<Array<InputMaybe<SubgraphLiquidatorRemoved_Filter>>>;
5951
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
5952
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
5953
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
5954
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5955
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
5956
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
5957
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
5958
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5959
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
5960
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
5961
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
5962
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5963
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
5964
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
5965
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
5966
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5967
+ factory?: InputMaybe<Scalars["String"]["input"]>;
5968
+ factory_?: InputMaybe<SubgraphSimpleCollateralFactory_Filter>;
5969
+ factory_contains?: InputMaybe<Scalars["String"]["input"]>;
5970
+ factory_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5971
+ factory_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5972
+ factory_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5973
+ factory_gt?: InputMaybe<Scalars["String"]["input"]>;
5974
+ factory_gte?: InputMaybe<Scalars["String"]["input"]>;
5975
+ factory_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5976
+ factory_lt?: InputMaybe<Scalars["String"]["input"]>;
5977
+ factory_lte?: InputMaybe<Scalars["String"]["input"]>;
5978
+ factory_not?: InputMaybe<Scalars["String"]["input"]>;
5979
+ factory_not_contains?: InputMaybe<Scalars["String"]["input"]>;
5980
+ factory_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5981
+ factory_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5982
+ factory_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5983
+ factory_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5984
+ factory_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5985
+ factory_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5986
+ factory_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5987
+ factory_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5988
+ id?: InputMaybe<Scalars["ID"]["input"]>;
5989
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
5990
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
5991
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
5992
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
5993
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
5994
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
5995
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
5996
+ liquidator?: InputMaybe<Scalars["Bytes"]["input"]>;
5997
+ liquidator_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
5998
+ liquidator_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
5999
+ liquidator_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
6000
+ liquidator_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
6001
+ liquidator_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
6002
+ liquidator_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
6003
+ liquidator_not?: InputMaybe<Scalars["Bytes"]["input"]>;
6004
+ liquidator_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
6005
+ liquidator_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
6006
+ or?: InputMaybe<Array<InputMaybe<SubgraphLiquidatorRemoved_Filter>>>;
6007
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
6008
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
6009
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
6010
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
6011
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
6012
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
6013
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
6014
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
6015
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
6016
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
6017
+ };
6018
+ export declare enum SubgraphLiquidatorRemoved_OrderBy {
6019
+ BlockNumber = "blockNumber",
6020
+ BlockTimestamp = "blockTimestamp",
6021
+ Factory = "factory",
6022
+ FactoryId = "factory__id",
6023
+ Id = "id",
6024
+ Liquidator = "liquidator",
6025
+ TransactionHash = "transactionHash"
6026
+ }
5786
6027
  export type SubgraphMarket = {
5787
6028
  __typename: "Market";
5788
6029
  accountMadeFirstDepositRecords: SubgraphAccountMadeFirstDeposit[];
@@ -5794,6 +6035,7 @@ export type SubgraphMarket = {
5794
6035
  borrowIndex: Scalars["Int"]["output"];
5795
6036
  borrowRecords: SubgraphBorrow[];
5796
6037
  borrower: Scalars["Bytes"]["output"];
6038
+ collateralContracts: SubgraphSimpleCollateralContract[];
5797
6039
  controller?: Maybe<SubgraphController>;
5798
6040
  createdAt: Scalars["Int"]["output"];
5799
6041
  debtRepaidIndex: Scalars["Int"]["output"];
@@ -5885,6 +6127,13 @@ export type SubgraphMarketBorrowRecordsArgs = {
5885
6127
  skip?: InputMaybe<Scalars["Int"]["input"]>;
5886
6128
  where?: InputMaybe<SubgraphBorrow_Filter>;
5887
6129
  };
6130
+ export type SubgraphMarketCollateralContractsArgs = {
6131
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6132
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContract_OrderBy>;
6133
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
6134
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
6135
+ where?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
6136
+ };
5888
6137
  export type SubgraphMarketDelinquencyRecordsArgs = {
5889
6138
  first?: InputMaybe<Scalars["Int"]["input"]>;
5890
6139
  orderBy?: InputMaybe<SubgraphDelinquencyStatusChanged_OrderBy>;
@@ -6814,6 +7063,7 @@ export type SubgraphMarket_Filter = {
6814
7063
  borrower_not?: InputMaybe<Scalars["Bytes"]["input"]>;
6815
7064
  borrower_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
6816
7065
  borrower_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
7066
+ collateralContracts_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
6817
7067
  controller?: InputMaybe<Scalars["String"]["input"]>;
6818
7068
  controller_?: InputMaybe<SubgraphController_Filter>;
6819
7069
  controller_contains?: InputMaybe<Scalars["String"]["input"]>;
@@ -7315,6 +7565,7 @@ export declare enum SubgraphMarket_OrderBy {
7315
7565
  BorrowIndex = "borrowIndex",
7316
7566
  BorrowRecords = "borrowRecords",
7317
7567
  Borrower = "borrower",
7568
+ CollateralContracts = "collateralContracts",
7318
7569
  Controller = "controller",
7319
7570
  ControllerBorrower = "controller__borrower",
7320
7571
  ControllerId = "controller__id",
@@ -8530,6 +8781,8 @@ export type SubgraphQuery = {
8530
8781
  annualInterestBipsUpdateds: SubgraphAnnualInterestBipsUpdated[];
8531
8782
  approval?: Maybe<SubgraphApproval>;
8532
8783
  approvals: SubgraphApproval[];
8784
+ approvedLiquidator?: Maybe<SubgraphApprovedLiquidator>;
8785
+ approvedLiquidators: SubgraphApprovedLiquidator[];
8533
8786
  archController?: Maybe<SubgraphArchController>;
8534
8787
  archControllers: SubgraphArchController[];
8535
8788
  borrow?: Maybe<SubgraphBorrow>;
@@ -8594,6 +8847,10 @@ export type SubgraphQuery = {
8594
8847
  lenderInterestAccrueds: SubgraphLenderInterestAccrued[];
8595
8848
  lenderWithdrawalStatus?: Maybe<SubgraphLenderWithdrawalStatus>;
8596
8849
  lenderWithdrawalStatuses: SubgraphLenderWithdrawalStatus[];
8850
+ liquidatorApproved?: Maybe<SubgraphLiquidatorApproved>;
8851
+ liquidatorApproveds: SubgraphLiquidatorApproved[];
8852
+ liquidatorRemoved?: Maybe<SubgraphLiquidatorRemoved>;
8853
+ liquidatorRemoveds: SubgraphLiquidatorRemoved[];
8597
8854
  market?: Maybe<SubgraphMarket>;
8598
8855
  marketAdded?: Maybe<SubgraphMarketAdded>;
8599
8856
  marketAddeds: SubgraphMarketAdded[];
@@ -8646,6 +8903,22 @@ export type SubgraphQuery = {
8646
8903
  sanctionedAccountAssetsSentToEscrows: SubgraphSanctionedAccountAssetsSentToEscrow[];
8647
8904
  sanctionedAccountWithdrawalSentToEscrow?: Maybe<SubgraphSanctionedAccountWithdrawalSentToEscrow>;
8648
8905
  sanctionedAccountWithdrawalSentToEscrows: SubgraphSanctionedAccountWithdrawalSentToEscrow[];
8906
+ simpleCollateralContract?: Maybe<SubgraphSimpleCollateralContract>;
8907
+ simpleCollateralContractDeposit?: Maybe<SubgraphSimpleCollateralContractDeposit>;
8908
+ simpleCollateralContractDepositor?: Maybe<SubgraphSimpleCollateralContractDepositor>;
8909
+ simpleCollateralContractDepositors: SubgraphSimpleCollateralContractDepositor[];
8910
+ simpleCollateralContractDeposits: SubgraphSimpleCollateralContractDeposit[];
8911
+ simpleCollateralContractFullReset?: Maybe<SubgraphSimpleCollateralContractFullReset>;
8912
+ simpleCollateralContractFullResets: SubgraphSimpleCollateralContractFullReset[];
8913
+ simpleCollateralContractLiquidatedSharesReset?: Maybe<SubgraphSimpleCollateralContractLiquidatedSharesReset>;
8914
+ simpleCollateralContractLiquidatedSharesResets: SubgraphSimpleCollateralContractLiquidatedSharesReset[];
8915
+ simpleCollateralContractLiquidation?: Maybe<SubgraphSimpleCollateralContractLiquidation>;
8916
+ simpleCollateralContractLiquidations: SubgraphSimpleCollateralContractLiquidation[];
8917
+ simpleCollateralContractReclaim?: Maybe<SubgraphSimpleCollateralContractReclaim>;
8918
+ simpleCollateralContractReclaims: SubgraphSimpleCollateralContractReclaim[];
8919
+ simpleCollateralContracts: SubgraphSimpleCollateralContract[];
8920
+ simpleCollateralFactories: SubgraphSimpleCollateralFactory[];
8921
+ simpleCollateralFactory?: Maybe<SubgraphSimpleCollateralFactory>;
8649
8922
  subgraphVersion?: Maybe<SubgraphSubgraphVersion>;
8650
8923
  subgraphVersions: SubgraphSubgraphVersion[];
8651
8924
  token?: Maybe<SubgraphToken>;
@@ -8746,6 +9019,16 @@ export type SubgraphQueryApprovalsArgs = {
8746
9019
  subgraphError?: Subgraph_SubgraphErrorPolicy_;
8747
9020
  where?: InputMaybe<SubgraphApproval_Filter>;
8748
9021
  };
9022
+ export type SubgraphQueryApprovedLiquidatorArgs = SubgraphQueryAccountAccessGrantedArgs;
9023
+ export type SubgraphQueryApprovedLiquidatorsArgs = {
9024
+ block?: InputMaybe<SubgraphBlock_Height>;
9025
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9026
+ orderBy?: InputMaybe<SubgraphApprovedLiquidator_OrderBy>;
9027
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9028
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9029
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9030
+ where?: InputMaybe<SubgraphApprovedLiquidator_Filter>;
9031
+ };
8749
9032
  export type SubgraphQueryArchControllerArgs = SubgraphQueryAccountAccessGrantedArgs;
8750
9033
  export type SubgraphQueryArchControllersArgs = {
8751
9034
  block?: InputMaybe<SubgraphBlock_Height>;
@@ -9066,6 +9349,26 @@ export type SubgraphQueryLenderWithdrawalStatusesArgs = {
9066
9349
  subgraphError?: Subgraph_SubgraphErrorPolicy_;
9067
9350
  where?: InputMaybe<SubgraphLenderWithdrawalStatus_Filter>;
9068
9351
  };
9352
+ export type SubgraphQueryLiquidatorApprovedArgs = SubgraphQueryAccountAccessGrantedArgs;
9353
+ export type SubgraphQueryLiquidatorApprovedsArgs = {
9354
+ block?: InputMaybe<SubgraphBlock_Height>;
9355
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9356
+ orderBy?: InputMaybe<SubgraphLiquidatorApproved_OrderBy>;
9357
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9358
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9359
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9360
+ where?: InputMaybe<SubgraphLiquidatorApproved_Filter>;
9361
+ };
9362
+ export type SubgraphQueryLiquidatorRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
9363
+ export type SubgraphQueryLiquidatorRemovedsArgs = {
9364
+ block?: InputMaybe<SubgraphBlock_Height>;
9365
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9366
+ orderBy?: InputMaybe<SubgraphLiquidatorRemoved_OrderBy>;
9367
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9368
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9369
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9370
+ where?: InputMaybe<SubgraphLiquidatorRemoved_Filter>;
9371
+ };
9069
9372
  export type SubgraphQueryMarketArgs = SubgraphQueryAccountAccessGrantedArgs;
9070
9373
  export type SubgraphQueryMarketAddedArgs = SubgraphQueryAccountAccessGrantedArgs;
9071
9374
  export type SubgraphQueryMarketAddedsArgs = {
@@ -9326,6 +9629,86 @@ export type SubgraphQuerySanctionedAccountWithdrawalSentToEscrowsArgs = {
9326
9629
  subgraphError?: Subgraph_SubgraphErrorPolicy_;
9327
9630
  where?: InputMaybe<SubgraphSanctionedAccountWithdrawalSentToEscrow_Filter>;
9328
9631
  };
9632
+ export type SubgraphQuerySimpleCollateralContractArgs = SubgraphQueryAccountAccessGrantedArgs;
9633
+ export type SubgraphQuerySimpleCollateralContractDepositArgs = SubgraphQueryAccountAccessGrantedArgs;
9634
+ export type SubgraphQuerySimpleCollateralContractDepositorArgs = SubgraphQueryAccountAccessGrantedArgs;
9635
+ export type SubgraphQuerySimpleCollateralContractDepositorsArgs = {
9636
+ block?: InputMaybe<SubgraphBlock_Height>;
9637
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9638
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractDepositor_OrderBy>;
9639
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9640
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9641
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9642
+ where?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
9643
+ };
9644
+ export type SubgraphQuerySimpleCollateralContractDepositsArgs = {
9645
+ block?: InputMaybe<SubgraphBlock_Height>;
9646
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9647
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractDeposit_OrderBy>;
9648
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9649
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9650
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9651
+ where?: InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>;
9652
+ };
9653
+ export type SubgraphQuerySimpleCollateralContractFullResetArgs = SubgraphQueryAccountAccessGrantedArgs;
9654
+ export type SubgraphQuerySimpleCollateralContractFullResetsArgs = {
9655
+ block?: InputMaybe<SubgraphBlock_Height>;
9656
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9657
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractFullReset_OrderBy>;
9658
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9659
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9660
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9661
+ where?: InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>;
9662
+ };
9663
+ export type SubgraphQuerySimpleCollateralContractLiquidatedSharesResetArgs = SubgraphQueryAccountAccessGrantedArgs;
9664
+ export type SubgraphQuerySimpleCollateralContractLiquidatedSharesResetsArgs = {
9665
+ block?: InputMaybe<SubgraphBlock_Height>;
9666
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9667
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy>;
9668
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9669
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9670
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9671
+ where?: InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>;
9672
+ };
9673
+ export type SubgraphQuerySimpleCollateralContractLiquidationArgs = SubgraphQueryAccountAccessGrantedArgs;
9674
+ export type SubgraphQuerySimpleCollateralContractLiquidationsArgs = {
9675
+ block?: InputMaybe<SubgraphBlock_Height>;
9676
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9677
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_OrderBy>;
9678
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9679
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9680
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9681
+ where?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>;
9682
+ };
9683
+ export type SubgraphQuerySimpleCollateralContractReclaimArgs = SubgraphQueryAccountAccessGrantedArgs;
9684
+ export type SubgraphQuerySimpleCollateralContractReclaimsArgs = {
9685
+ block?: InputMaybe<SubgraphBlock_Height>;
9686
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9687
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractReclaim_OrderBy>;
9688
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9689
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9690
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9691
+ where?: InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>;
9692
+ };
9693
+ export type SubgraphQuerySimpleCollateralContractsArgs = {
9694
+ block?: InputMaybe<SubgraphBlock_Height>;
9695
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9696
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContract_OrderBy>;
9697
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9698
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9699
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9700
+ where?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
9701
+ };
9702
+ export type SubgraphQuerySimpleCollateralFactoriesArgs = {
9703
+ block?: InputMaybe<SubgraphBlock_Height>;
9704
+ first?: InputMaybe<Scalars["Int"]["input"]>;
9705
+ orderBy?: InputMaybe<SubgraphSimpleCollateralFactory_OrderBy>;
9706
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
9707
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
9708
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
9709
+ where?: InputMaybe<SubgraphSimpleCollateralFactory_Filter>;
9710
+ };
9711
+ export type SubgraphQuerySimpleCollateralFactoryArgs = SubgraphQueryAccountAccessGrantedArgs;
9329
9712
  export type SubgraphQuerySubgraphVersionArgs = SubgraphQueryAccountAccessGrantedArgs;
9330
9713
  export type SubgraphQuerySubgraphVersionsArgs = {
9331
9714
  block?: InputMaybe<SubgraphBlock_Height>;
@@ -10677,53 +11060,1123 @@ export declare enum SubgraphSanctionedAccountWithdrawalSentToEscrow_OrderBy {
10677
11060
  Id = "id",
10678
11061
  TransactionHash = "transactionHash"
10679
11062
  }
10680
- /** v2.0.1 */
10681
- export type SubgraphSubgraphVersion = {
10682
- __typename: "SubgraphVersion";
11063
+ export type SubgraphSimpleCollateralContract = {
11064
+ __typename: "SimpleCollateralContract";
11065
+ availableCollateral: Scalars["BigInt"]["output"];
11066
+ collateralAsset?: Maybe<SubgraphToken>;
11067
+ depositIndex: Scalars["Int"]["output"];
11068
+ depositors: SubgraphSimpleCollateralContractDepositor[];
11069
+ deposits: SubgraphSimpleCollateralContractDeposit[];
11070
+ factory: SubgraphSimpleCollateralFactory;
11071
+ fullResets: SubgraphSimpleCollateralContractFullReset[];
10683
11072
  id: Scalars["ID"]["output"];
11073
+ lastFullLiquidationIndex: Scalars["Int"]["output"];
11074
+ liquidationCooldown: Scalars["Int"]["output"];
11075
+ liquidations: SubgraphSimpleCollateralContractLiquidation[];
11076
+ market: SubgraphMarket;
11077
+ nextLiquidationTrigger: Scalars["Int"]["output"];
11078
+ reclaims: SubgraphSimpleCollateralContractReclaim[];
11079
+ totalDeposited: Scalars["BigInt"]["output"];
11080
+ totalLiquidated: Scalars["BigInt"]["output"];
11081
+ totalReclaimed: Scalars["BigInt"]["output"];
11082
+ totalShares: Scalars["BigInt"]["output"];
10684
11083
  };
10685
- export type SubgraphSubgraphVersion_Filter = {
11084
+ export type SubgraphSimpleCollateralContractDepositorsArgs = {
11085
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11086
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractDepositor_OrderBy>;
11087
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11088
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11089
+ where?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11090
+ };
11091
+ export type SubgraphSimpleCollateralContractDepositsArgs = {
11092
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11093
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractDeposit_OrderBy>;
11094
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11095
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11096
+ where?: InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>;
11097
+ };
11098
+ export type SubgraphSimpleCollateralContractFullResetsArgs = {
11099
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11100
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractFullReset_OrderBy>;
11101
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11102
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11103
+ where?: InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>;
11104
+ };
11105
+ export type SubgraphSimpleCollateralContractLiquidationsArgs = {
11106
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11107
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_OrderBy>;
11108
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11109
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11110
+ where?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>;
11111
+ };
11112
+ export type SubgraphSimpleCollateralContractReclaimsArgs = {
11113
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11114
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractReclaim_OrderBy>;
11115
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11116
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11117
+ where?: InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>;
11118
+ };
11119
+ export type SubgraphSimpleCollateralContractDeposit = {
11120
+ __typename: "SimpleCollateralContractDeposit";
11121
+ account: SubgraphSimpleCollateralContractDepositor;
11122
+ amountDeposited: Scalars["BigInt"]["output"];
11123
+ blockNumber: Scalars["Int"]["output"];
11124
+ blockTimestamp: Scalars["Int"]["output"];
11125
+ collateralContract: SubgraphSimpleCollateralContract;
11126
+ depositIndex: Scalars["Int"]["output"];
11127
+ id: Scalars["ID"]["output"];
11128
+ lastFullLiquidationIndex: Scalars["Int"]["output"];
11129
+ sharesMinted: Scalars["BigInt"]["output"];
11130
+ transactionHash: Scalars["Bytes"]["output"];
11131
+ };
11132
+ export type SubgraphSimpleCollateralContractDeposit_Filter = {
10686
11133
  /** Filter for the block changed event. */
10687
11134
  _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
10688
- and?: InputMaybe<Array<InputMaybe<SubgraphSubgraphVersion_Filter>>>;
10689
- id?: InputMaybe<Scalars["ID"]["input"]>;
10690
- id_gt?: InputMaybe<Scalars["ID"]["input"]>;
10691
- id_gte?: InputMaybe<Scalars["ID"]["input"]>;
10692
- id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
10693
- id_lt?: InputMaybe<Scalars["ID"]["input"]>;
10694
- id_lte?: InputMaybe<Scalars["ID"]["input"]>;
10695
- id_not?: InputMaybe<Scalars["ID"]["input"]>;
10696
- id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
10697
- or?: InputMaybe<Array<InputMaybe<SubgraphSubgraphVersion_Filter>>>;
10698
- };
10699
- export declare enum SubgraphSubgraphVersion_OrderBy {
10700
- Id = "id"
10701
- }
10702
- export type SubgraphSubscription = {
10703
- __typename: "Subscription";
10704
- /** Access to subgraph metadata */
10705
- _meta?: Maybe<Subgraph_Meta_>;
10706
- accountAccessGranted?: Maybe<SubgraphAccountAccessGranted>;
10707
- accountAccessGranteds: SubgraphAccountAccessGranted[];
10708
- accountAccessRevoked?: Maybe<SubgraphAccountAccessRevoked>;
10709
- accountAccessRevokeds: SubgraphAccountAccessRevoked[];
10710
- accountBlockedFromDeposits?: Maybe<SubgraphAccountBlockedFromDeposits>;
10711
- accountBlockedFromDeposits_collection: SubgraphAccountBlockedFromDeposits[];
10712
- accountMadeFirstDeposit?: Maybe<SubgraphAccountMadeFirstDeposit>;
10713
- accountMadeFirstDeposits: SubgraphAccountMadeFirstDeposit[];
10714
- accountUnblockedFromDeposits?: Maybe<SubgraphAccountUnblockedFromDeposits>;
10715
- accountUnblockedFromDeposits_collection: SubgraphAccountUnblockedFromDeposits[];
10716
- annualInterestBipsUpdated?: Maybe<SubgraphAnnualInterestBipsUpdated>;
10717
- annualInterestBipsUpdateds: SubgraphAnnualInterestBipsUpdated[];
10718
- approval?: Maybe<SubgraphApproval>;
10719
- approvals: SubgraphApproval[];
10720
- archController?: Maybe<SubgraphArchController>;
10721
- archControllers: SubgraphArchController[];
10722
- borrow?: Maybe<SubgraphBorrow>;
10723
- borrowerRegistrationChange?: Maybe<SubgraphBorrowerRegistrationChange>;
10724
- borrowerRegistrationChanges: SubgraphBorrowerRegistrationChange[];
10725
- borrows: SubgraphBorrow[];
10726
- controller?: Maybe<SubgraphController>;
11135
+ account?: InputMaybe<Scalars["String"]["input"]>;
11136
+ account_?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11137
+ account_contains?: InputMaybe<Scalars["String"]["input"]>;
11138
+ account_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11139
+ account_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11140
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11141
+ account_gt?: InputMaybe<Scalars["String"]["input"]>;
11142
+ account_gte?: InputMaybe<Scalars["String"]["input"]>;
11143
+ account_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11144
+ account_lt?: InputMaybe<Scalars["String"]["input"]>;
11145
+ account_lte?: InputMaybe<Scalars["String"]["input"]>;
11146
+ account_not?: InputMaybe<Scalars["String"]["input"]>;
11147
+ account_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11148
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11149
+ account_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11150
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11151
+ account_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11152
+ account_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11153
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11154
+ account_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11155
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11156
+ amountDeposited?: InputMaybe<Scalars["BigInt"]["input"]>;
11157
+ amountDeposited_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11158
+ amountDeposited_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11159
+ amountDeposited_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11160
+ amountDeposited_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11161
+ amountDeposited_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11162
+ amountDeposited_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11163
+ amountDeposited_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11164
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>>>;
11165
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11166
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11167
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11168
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11169
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11170
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11171
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11172
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11173
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11174
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11175
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11176
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11177
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11178
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11179
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11180
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11181
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11182
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11183
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11184
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11185
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11186
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11187
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11188
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11189
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11190
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11191
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11192
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11193
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11194
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11195
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11196
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11197
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11198
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11199
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11200
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11201
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11202
+ depositIndex?: InputMaybe<Scalars["Int"]["input"]>;
11203
+ depositIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11204
+ depositIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11205
+ depositIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11206
+ depositIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11207
+ depositIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11208
+ depositIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11209
+ depositIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11210
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11211
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11212
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11213
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11214
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11215
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11216
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11217
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11218
+ lastFullLiquidationIndex?: InputMaybe<Scalars["Int"]["input"]>;
11219
+ lastFullLiquidationIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11220
+ lastFullLiquidationIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11221
+ lastFullLiquidationIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11222
+ lastFullLiquidationIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11223
+ lastFullLiquidationIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11224
+ lastFullLiquidationIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11225
+ lastFullLiquidationIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11226
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>>>;
11227
+ sharesMinted?: InputMaybe<Scalars["BigInt"]["input"]>;
11228
+ sharesMinted_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11229
+ sharesMinted_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11230
+ sharesMinted_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11231
+ sharesMinted_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11232
+ sharesMinted_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11233
+ sharesMinted_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11234
+ sharesMinted_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11235
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11236
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11237
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11238
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11239
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11240
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11241
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11242
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11243
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11244
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11245
+ };
11246
+ export declare enum SubgraphSimpleCollateralContractDeposit_OrderBy {
11247
+ Account = "account",
11248
+ AccountId = "account__id",
11249
+ AccountShares = "account__shares",
11250
+ AccountTotalDeposited = "account__totalDeposited",
11251
+ AccountTotalReclaimed = "account__totalReclaimed",
11252
+ AmountDeposited = "amountDeposited",
11253
+ BlockNumber = "blockNumber",
11254
+ BlockTimestamp = "blockTimestamp",
11255
+ CollateralContract = "collateralContract",
11256
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11257
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11258
+ CollateralContractId = "collateralContract__id",
11259
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11260
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11261
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11262
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11263
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11264
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11265
+ CollateralContractTotalShares = "collateralContract__totalShares",
11266
+ DepositIndex = "depositIndex",
11267
+ Id = "id",
11268
+ LastFullLiquidationIndex = "lastFullLiquidationIndex",
11269
+ SharesMinted = "sharesMinted",
11270
+ TransactionHash = "transactionHash"
11271
+ }
11272
+ export type SubgraphSimpleCollateralContractDepositor = {
11273
+ __typename: "SimpleCollateralContractDepositor";
11274
+ collateralContract: SubgraphSimpleCollateralContract;
11275
+ deposits: SubgraphSimpleCollateralContractDeposit[];
11276
+ id: Scalars["ID"]["output"];
11277
+ liquidatedSharesResets: SubgraphSimpleCollateralContractLiquidatedSharesReset[];
11278
+ reclaims: SubgraphSimpleCollateralContractReclaim[];
11279
+ shares: Scalars["BigInt"]["output"];
11280
+ totalDeposited: Scalars["BigInt"]["output"];
11281
+ totalReclaimed: Scalars["BigInt"]["output"];
11282
+ };
11283
+ export type SubgraphSimpleCollateralContractDepositorDepositsArgs = SubgraphSimpleCollateralContractDepositsArgs;
11284
+ export type SubgraphSimpleCollateralContractDepositorLiquidatedSharesResetsArgs = {
11285
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11286
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy>;
11287
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11288
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11289
+ where?: InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>;
11290
+ };
11291
+ export type SubgraphSimpleCollateralContractDepositorReclaimsArgs = SubgraphSimpleCollateralContractReclaimsArgs;
11292
+ export type SubgraphSimpleCollateralContractDepositor_Filter = {
11293
+ /** Filter for the block changed event. */
11294
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11295
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>>>;
11296
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11297
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11298
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11299
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11300
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11301
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11302
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11303
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11304
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11305
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11306
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11307
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11308
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11309
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11310
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11311
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11312
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11313
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11314
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11315
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11316
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11317
+ deposits_?: InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>;
11318
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11319
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11320
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11321
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11322
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11323
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11324
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11325
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11326
+ liquidatedSharesResets_?: InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>;
11327
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>>>;
11328
+ reclaims_?: InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>;
11329
+ shares?: InputMaybe<Scalars["BigInt"]["input"]>;
11330
+ shares_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11331
+ shares_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11332
+ shares_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11333
+ shares_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11334
+ shares_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11335
+ shares_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11336
+ shares_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11337
+ totalDeposited?: InputMaybe<Scalars["BigInt"]["input"]>;
11338
+ totalDeposited_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11339
+ totalDeposited_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11340
+ totalDeposited_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11341
+ totalDeposited_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11342
+ totalDeposited_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11343
+ totalDeposited_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11344
+ totalDeposited_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11345
+ totalReclaimed?: InputMaybe<Scalars["BigInt"]["input"]>;
11346
+ totalReclaimed_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11347
+ totalReclaimed_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11348
+ totalReclaimed_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11349
+ totalReclaimed_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11350
+ totalReclaimed_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11351
+ totalReclaimed_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11352
+ totalReclaimed_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11353
+ };
11354
+ export declare enum SubgraphSimpleCollateralContractDepositor_OrderBy {
11355
+ CollateralContract = "collateralContract",
11356
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11357
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11358
+ CollateralContractId = "collateralContract__id",
11359
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11360
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11361
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11362
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11363
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11364
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11365
+ CollateralContractTotalShares = "collateralContract__totalShares",
11366
+ Deposits = "deposits",
11367
+ Id = "id",
11368
+ LiquidatedSharesResets = "liquidatedSharesResets",
11369
+ Reclaims = "reclaims",
11370
+ Shares = "shares",
11371
+ TotalDeposited = "totalDeposited",
11372
+ TotalReclaimed = "totalReclaimed"
11373
+ }
11374
+ export type SubgraphSimpleCollateralContractFullReset = {
11375
+ __typename: "SimpleCollateralContractFullReset";
11376
+ blockNumber: Scalars["Int"]["output"];
11377
+ blockTimestamp: Scalars["Int"]["output"];
11378
+ collateralContract: SubgraphSimpleCollateralContract;
11379
+ id: Scalars["ID"]["output"];
11380
+ lastFullLiquidationIndex: Scalars["Int"]["output"];
11381
+ transactionHash: Scalars["Bytes"]["output"];
11382
+ };
11383
+ export type SubgraphSimpleCollateralContractFullReset_Filter = {
11384
+ /** Filter for the block changed event. */
11385
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11386
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>>>;
11387
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11388
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11389
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11390
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11391
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11392
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11393
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11394
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11395
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11396
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11397
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11398
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11399
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11400
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11401
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11402
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11403
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11404
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11405
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11406
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11407
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11408
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11409
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11410
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11411
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11412
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11413
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11414
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11415
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11416
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11417
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11418
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11419
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11420
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11421
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11422
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11423
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11424
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11425
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11426
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11427
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11428
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11429
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11430
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11431
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11432
+ lastFullLiquidationIndex?: InputMaybe<Scalars["Int"]["input"]>;
11433
+ lastFullLiquidationIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11434
+ lastFullLiquidationIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11435
+ lastFullLiquidationIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11436
+ lastFullLiquidationIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11437
+ lastFullLiquidationIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11438
+ lastFullLiquidationIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11439
+ lastFullLiquidationIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11440
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>>>;
11441
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11442
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11443
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11444
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11445
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11446
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11447
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11448
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11449
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11450
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11451
+ };
11452
+ export declare enum SubgraphSimpleCollateralContractFullReset_OrderBy {
11453
+ BlockNumber = "blockNumber",
11454
+ BlockTimestamp = "blockTimestamp",
11455
+ CollateralContract = "collateralContract",
11456
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11457
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11458
+ CollateralContractId = "collateralContract__id",
11459
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11460
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11461
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11462
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11463
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11464
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11465
+ CollateralContractTotalShares = "collateralContract__totalShares",
11466
+ Id = "id",
11467
+ LastFullLiquidationIndex = "lastFullLiquidationIndex",
11468
+ TransactionHash = "transactionHash"
11469
+ }
11470
+ export type SubgraphSimpleCollateralContractLiquidatedSharesReset = {
11471
+ __typename: "SimpleCollateralContractLiquidatedSharesReset";
11472
+ account: SubgraphSimpleCollateralContractDepositor;
11473
+ blockNumber: Scalars["Int"]["output"];
11474
+ blockTimestamp: Scalars["Int"]["output"];
11475
+ collateralContract: SubgraphSimpleCollateralContract;
11476
+ id: Scalars["ID"]["output"];
11477
+ sharesReset: Scalars["BigInt"]["output"];
11478
+ transactionHash: Scalars["Bytes"]["output"];
11479
+ };
11480
+ export type SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter = {
11481
+ /** Filter for the block changed event. */
11482
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11483
+ account?: InputMaybe<Scalars["String"]["input"]>;
11484
+ account_?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11485
+ account_contains?: InputMaybe<Scalars["String"]["input"]>;
11486
+ account_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11487
+ account_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11488
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11489
+ account_gt?: InputMaybe<Scalars["String"]["input"]>;
11490
+ account_gte?: InputMaybe<Scalars["String"]["input"]>;
11491
+ account_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11492
+ account_lt?: InputMaybe<Scalars["String"]["input"]>;
11493
+ account_lte?: InputMaybe<Scalars["String"]["input"]>;
11494
+ account_not?: InputMaybe<Scalars["String"]["input"]>;
11495
+ account_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11496
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11497
+ account_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11498
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11499
+ account_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11500
+ account_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11501
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11502
+ account_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11503
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11504
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>>>;
11505
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11506
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11507
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11508
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11509
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11510
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11511
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11512
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11513
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11514
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11515
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11516
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11517
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11518
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11519
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11520
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11521
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11522
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11523
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11524
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11525
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11526
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11527
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11528
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11529
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11530
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11531
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11532
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11533
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11534
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11535
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11536
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11537
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11538
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11539
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11540
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11541
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11542
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11543
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11544
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11545
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11546
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11547
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11548
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11549
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11550
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>>>;
11551
+ sharesReset?: InputMaybe<Scalars["BigInt"]["input"]>;
11552
+ sharesReset_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11553
+ sharesReset_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11554
+ sharesReset_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11555
+ sharesReset_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11556
+ sharesReset_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11557
+ sharesReset_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11558
+ sharesReset_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11559
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11560
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11561
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11562
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11563
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11564
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11565
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11566
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11567
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11568
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11569
+ };
11570
+ export declare enum SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy {
11571
+ Account = "account",
11572
+ AccountId = "account__id",
11573
+ AccountShares = "account__shares",
11574
+ AccountTotalDeposited = "account__totalDeposited",
11575
+ AccountTotalReclaimed = "account__totalReclaimed",
11576
+ BlockNumber = "blockNumber",
11577
+ BlockTimestamp = "blockTimestamp",
11578
+ CollateralContract = "collateralContract",
11579
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11580
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11581
+ CollateralContractId = "collateralContract__id",
11582
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11583
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11584
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11585
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11586
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11587
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11588
+ CollateralContractTotalShares = "collateralContract__totalShares",
11589
+ Id = "id",
11590
+ SharesReset = "sharesReset",
11591
+ TransactionHash = "transactionHash"
11592
+ }
11593
+ export type SubgraphSimpleCollateralContractLiquidation = {
11594
+ __typename: "SimpleCollateralContractLiquidation";
11595
+ blockNumber: Scalars["Int"]["output"];
11596
+ blockTimestamp: Scalars["Int"]["output"];
11597
+ collateralContract: SubgraphSimpleCollateralContract;
11598
+ collateralLiquidated: Scalars["BigInt"]["output"];
11599
+ id: Scalars["ID"]["output"];
11600
+ liquidator: Scalars["Bytes"]["output"];
11601
+ transactionHash: Scalars["Bytes"]["output"];
11602
+ underlyingReceived: Scalars["BigInt"]["output"];
11603
+ };
11604
+ export type SubgraphSimpleCollateralContractLiquidation_Filter = {
11605
+ /** Filter for the block changed event. */
11606
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11607
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>>>;
11608
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11609
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11610
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11611
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11612
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11613
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11614
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11615
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11616
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11617
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11618
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11619
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11620
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11621
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11622
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11623
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11624
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11625
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11626
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11627
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11628
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11629
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11630
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11631
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11632
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11633
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11634
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11635
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11636
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11637
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11638
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11639
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11640
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11641
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11642
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11643
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11644
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11645
+ collateralLiquidated?: InputMaybe<Scalars["BigInt"]["input"]>;
11646
+ collateralLiquidated_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11647
+ collateralLiquidated_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11648
+ collateralLiquidated_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11649
+ collateralLiquidated_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11650
+ collateralLiquidated_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11651
+ collateralLiquidated_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11652
+ collateralLiquidated_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11653
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11654
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11655
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11656
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11657
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11658
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11659
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11660
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11661
+ liquidator?: InputMaybe<Scalars["Bytes"]["input"]>;
11662
+ liquidator_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11663
+ liquidator_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11664
+ liquidator_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11665
+ liquidator_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11666
+ liquidator_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11667
+ liquidator_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11668
+ liquidator_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11669
+ liquidator_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11670
+ liquidator_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11671
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>>>;
11672
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11673
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11674
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11675
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11676
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11677
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11678
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11679
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11680
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11681
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11682
+ underlyingReceived?: InputMaybe<Scalars["BigInt"]["input"]>;
11683
+ underlyingReceived_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11684
+ underlyingReceived_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11685
+ underlyingReceived_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11686
+ underlyingReceived_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11687
+ underlyingReceived_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11688
+ underlyingReceived_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11689
+ underlyingReceived_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11690
+ };
11691
+ export declare enum SubgraphSimpleCollateralContractLiquidation_OrderBy {
11692
+ BlockNumber = "blockNumber",
11693
+ BlockTimestamp = "blockTimestamp",
11694
+ CollateralContract = "collateralContract",
11695
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11696
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11697
+ CollateralContractId = "collateralContract__id",
11698
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11699
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11700
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11701
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11702
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11703
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11704
+ CollateralContractTotalShares = "collateralContract__totalShares",
11705
+ CollateralLiquidated = "collateralLiquidated",
11706
+ Id = "id",
11707
+ Liquidator = "liquidator",
11708
+ TransactionHash = "transactionHash",
11709
+ UnderlyingReceived = "underlyingReceived"
11710
+ }
11711
+ export type SubgraphSimpleCollateralContractReclaim = {
11712
+ __typename: "SimpleCollateralContractReclaim";
11713
+ account: SubgraphSimpleCollateralContractDepositor;
11714
+ amountReclaimed: Scalars["BigInt"]["output"];
11715
+ blockNumber: Scalars["Int"]["output"];
11716
+ blockTimestamp: Scalars["Int"]["output"];
11717
+ collateralContract: SubgraphSimpleCollateralContract;
11718
+ id: Scalars["ID"]["output"];
11719
+ sharesBurned: Scalars["BigInt"]["output"];
11720
+ transactionHash: Scalars["Bytes"]["output"];
11721
+ };
11722
+ export type SubgraphSimpleCollateralContractReclaim_Filter = {
11723
+ /** Filter for the block changed event. */
11724
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11725
+ account?: InputMaybe<Scalars["String"]["input"]>;
11726
+ account_?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11727
+ account_contains?: InputMaybe<Scalars["String"]["input"]>;
11728
+ account_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11729
+ account_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11730
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11731
+ account_gt?: InputMaybe<Scalars["String"]["input"]>;
11732
+ account_gte?: InputMaybe<Scalars["String"]["input"]>;
11733
+ account_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11734
+ account_lt?: InputMaybe<Scalars["String"]["input"]>;
11735
+ account_lte?: InputMaybe<Scalars["String"]["input"]>;
11736
+ account_not?: InputMaybe<Scalars["String"]["input"]>;
11737
+ account_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11738
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11739
+ account_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11740
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11741
+ account_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11742
+ account_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11743
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11744
+ account_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11745
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11746
+ amountReclaimed?: InputMaybe<Scalars["BigInt"]["input"]>;
11747
+ amountReclaimed_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11748
+ amountReclaimed_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11749
+ amountReclaimed_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11750
+ amountReclaimed_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11751
+ amountReclaimed_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11752
+ amountReclaimed_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11753
+ amountReclaimed_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11754
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>>>;
11755
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11756
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11757
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11758
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11759
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11760
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11761
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11762
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11763
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11764
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11765
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11766
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11767
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11768
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11769
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11770
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11771
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11772
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11773
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11774
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11775
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11776
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11777
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11778
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11779
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11780
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11781
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11782
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11783
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11784
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11785
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11786
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11787
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11788
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11789
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11790
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11791
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11792
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11793
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11794
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11795
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11796
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11797
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11798
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11799
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11800
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>>>;
11801
+ sharesBurned?: InputMaybe<Scalars["BigInt"]["input"]>;
11802
+ sharesBurned_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11803
+ sharesBurned_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11804
+ sharesBurned_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11805
+ sharesBurned_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11806
+ sharesBurned_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11807
+ sharesBurned_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11808
+ sharesBurned_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11809
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11810
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11811
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11812
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11813
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11814
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11815
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11816
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11817
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11818
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11819
+ };
11820
+ export declare enum SubgraphSimpleCollateralContractReclaim_OrderBy {
11821
+ Account = "account",
11822
+ AccountId = "account__id",
11823
+ AccountShares = "account__shares",
11824
+ AccountTotalDeposited = "account__totalDeposited",
11825
+ AccountTotalReclaimed = "account__totalReclaimed",
11826
+ AmountReclaimed = "amountReclaimed",
11827
+ BlockNumber = "blockNumber",
11828
+ BlockTimestamp = "blockTimestamp",
11829
+ CollateralContract = "collateralContract",
11830
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11831
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11832
+ CollateralContractId = "collateralContract__id",
11833
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11834
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11835
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11836
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11837
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11838
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11839
+ CollateralContractTotalShares = "collateralContract__totalShares",
11840
+ Id = "id",
11841
+ SharesBurned = "sharesBurned",
11842
+ TransactionHash = "transactionHash"
11843
+ }
11844
+ export type SubgraphSimpleCollateralContract_Filter = {
11845
+ /** Filter for the block changed event. */
11846
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11847
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContract_Filter>>>;
11848
+ availableCollateral?: InputMaybe<Scalars["BigInt"]["input"]>;
11849
+ availableCollateral_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11850
+ availableCollateral_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11851
+ availableCollateral_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11852
+ availableCollateral_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11853
+ availableCollateral_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11854
+ availableCollateral_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11855
+ availableCollateral_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11856
+ collateralAsset?: InputMaybe<Scalars["String"]["input"]>;
11857
+ collateralAsset_?: InputMaybe<SubgraphToken_Filter>;
11858
+ collateralAsset_contains?: InputMaybe<Scalars["String"]["input"]>;
11859
+ collateralAsset_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11860
+ collateralAsset_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11861
+ collateralAsset_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11862
+ collateralAsset_gt?: InputMaybe<Scalars["String"]["input"]>;
11863
+ collateralAsset_gte?: InputMaybe<Scalars["String"]["input"]>;
11864
+ collateralAsset_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11865
+ collateralAsset_lt?: InputMaybe<Scalars["String"]["input"]>;
11866
+ collateralAsset_lte?: InputMaybe<Scalars["String"]["input"]>;
11867
+ collateralAsset_not?: InputMaybe<Scalars["String"]["input"]>;
11868
+ collateralAsset_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11869
+ collateralAsset_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11870
+ collateralAsset_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11871
+ collateralAsset_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11872
+ collateralAsset_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11873
+ collateralAsset_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11874
+ collateralAsset_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11875
+ collateralAsset_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11876
+ collateralAsset_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11877
+ depositIndex?: InputMaybe<Scalars["Int"]["input"]>;
11878
+ depositIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11879
+ depositIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11880
+ depositIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11881
+ depositIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11882
+ depositIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11883
+ depositIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11884
+ depositIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11885
+ depositors_?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11886
+ deposits_?: InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>;
11887
+ factory?: InputMaybe<Scalars["String"]["input"]>;
11888
+ factory_?: InputMaybe<SubgraphSimpleCollateralFactory_Filter>;
11889
+ factory_contains?: InputMaybe<Scalars["String"]["input"]>;
11890
+ factory_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11891
+ factory_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11892
+ factory_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11893
+ factory_gt?: InputMaybe<Scalars["String"]["input"]>;
11894
+ factory_gte?: InputMaybe<Scalars["String"]["input"]>;
11895
+ factory_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11896
+ factory_lt?: InputMaybe<Scalars["String"]["input"]>;
11897
+ factory_lte?: InputMaybe<Scalars["String"]["input"]>;
11898
+ factory_not?: InputMaybe<Scalars["String"]["input"]>;
11899
+ factory_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11900
+ factory_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11901
+ factory_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11902
+ factory_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11903
+ factory_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11904
+ factory_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11905
+ factory_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11906
+ factory_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11907
+ factory_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11908
+ fullResets_?: InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>;
11909
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11910
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11911
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11912
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11913
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11914
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11915
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11916
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11917
+ lastFullLiquidationIndex?: InputMaybe<Scalars["Int"]["input"]>;
11918
+ lastFullLiquidationIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11919
+ lastFullLiquidationIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11920
+ lastFullLiquidationIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11921
+ lastFullLiquidationIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11922
+ lastFullLiquidationIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11923
+ lastFullLiquidationIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11924
+ lastFullLiquidationIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11925
+ liquidationCooldown?: InputMaybe<Scalars["Int"]["input"]>;
11926
+ liquidationCooldown_gt?: InputMaybe<Scalars["Int"]["input"]>;
11927
+ liquidationCooldown_gte?: InputMaybe<Scalars["Int"]["input"]>;
11928
+ liquidationCooldown_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11929
+ liquidationCooldown_lt?: InputMaybe<Scalars["Int"]["input"]>;
11930
+ liquidationCooldown_lte?: InputMaybe<Scalars["Int"]["input"]>;
11931
+ liquidationCooldown_not?: InputMaybe<Scalars["Int"]["input"]>;
11932
+ liquidationCooldown_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11933
+ liquidations_?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>;
11934
+ market?: InputMaybe<Scalars["String"]["input"]>;
11935
+ market_?: InputMaybe<SubgraphMarket_Filter>;
11936
+ market_contains?: InputMaybe<Scalars["String"]["input"]>;
11937
+ market_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11938
+ market_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11939
+ market_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11940
+ market_gt?: InputMaybe<Scalars["String"]["input"]>;
11941
+ market_gte?: InputMaybe<Scalars["String"]["input"]>;
11942
+ market_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11943
+ market_lt?: InputMaybe<Scalars["String"]["input"]>;
11944
+ market_lte?: InputMaybe<Scalars["String"]["input"]>;
11945
+ market_not?: InputMaybe<Scalars["String"]["input"]>;
11946
+ market_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11947
+ market_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11948
+ market_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11949
+ market_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11950
+ market_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11951
+ market_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11952
+ market_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11953
+ market_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11954
+ market_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11955
+ nextLiquidationTrigger?: InputMaybe<Scalars["Int"]["input"]>;
11956
+ nextLiquidationTrigger_gt?: InputMaybe<Scalars["Int"]["input"]>;
11957
+ nextLiquidationTrigger_gte?: InputMaybe<Scalars["Int"]["input"]>;
11958
+ nextLiquidationTrigger_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11959
+ nextLiquidationTrigger_lt?: InputMaybe<Scalars["Int"]["input"]>;
11960
+ nextLiquidationTrigger_lte?: InputMaybe<Scalars["Int"]["input"]>;
11961
+ nextLiquidationTrigger_not?: InputMaybe<Scalars["Int"]["input"]>;
11962
+ nextLiquidationTrigger_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11963
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContract_Filter>>>;
11964
+ reclaims_?: InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>;
11965
+ totalDeposited?: InputMaybe<Scalars["BigInt"]["input"]>;
11966
+ totalDeposited_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11967
+ totalDeposited_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11968
+ totalDeposited_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11969
+ totalDeposited_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11970
+ totalDeposited_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11971
+ totalDeposited_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11972
+ totalDeposited_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11973
+ totalLiquidated?: InputMaybe<Scalars["BigInt"]["input"]>;
11974
+ totalLiquidated_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11975
+ totalLiquidated_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11976
+ totalLiquidated_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11977
+ totalLiquidated_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11978
+ totalLiquidated_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11979
+ totalLiquidated_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11980
+ totalLiquidated_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11981
+ totalReclaimed?: InputMaybe<Scalars["BigInt"]["input"]>;
11982
+ totalReclaimed_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11983
+ totalReclaimed_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11984
+ totalReclaimed_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11985
+ totalReclaimed_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11986
+ totalReclaimed_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11987
+ totalReclaimed_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11988
+ totalReclaimed_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11989
+ totalShares?: InputMaybe<Scalars["BigInt"]["input"]>;
11990
+ totalShares_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11991
+ totalShares_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11992
+ totalShares_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11993
+ totalShares_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11994
+ totalShares_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11995
+ totalShares_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11996
+ totalShares_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11997
+ };
11998
+ export declare enum SubgraphSimpleCollateralContract_OrderBy {
11999
+ AvailableCollateral = "availableCollateral",
12000
+ CollateralAsset = "collateralAsset",
12001
+ CollateralAssetAddress = "collateralAsset__address",
12002
+ CollateralAssetDecimals = "collateralAsset__decimals",
12003
+ CollateralAssetId = "collateralAsset__id",
12004
+ CollateralAssetIsMock = "collateralAsset__isMock",
12005
+ CollateralAssetName = "collateralAsset__name",
12006
+ CollateralAssetSymbol = "collateralAsset__symbol",
12007
+ DepositIndex = "depositIndex",
12008
+ Depositors = "depositors",
12009
+ Deposits = "deposits",
12010
+ Factory = "factory",
12011
+ FactoryId = "factory__id",
12012
+ FullResets = "fullResets",
12013
+ Id = "id",
12014
+ LastFullLiquidationIndex = "lastFullLiquidationIndex",
12015
+ LiquidationCooldown = "liquidationCooldown",
12016
+ Liquidations = "liquidations",
12017
+ Market = "market",
12018
+ MarketAnnualInterestBips = "market__annualInterestBips",
12019
+ MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
12020
+ MarketBorrowIndex = "market__borrowIndex",
12021
+ MarketBorrower = "market__borrower",
12022
+ MarketCreatedAt = "market__createdAt",
12023
+ MarketDebtRepaidIndex = "market__debtRepaidIndex",
12024
+ MarketDecimals = "market__decimals",
12025
+ MarketDelinquencyFeeBips = "market__delinquencyFeeBips",
12026
+ MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
12027
+ MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
12028
+ MarketDepositIndex = "market__depositIndex",
12029
+ MarketEventIndex = "market__eventIndex",
12030
+ MarketFeeRecipient = "market__feeRecipient",
12031
+ MarketFeesCollectedIndex = "market__feesCollectedIndex",
12032
+ MarketFixedTermUpdatedIndex = "market__fixedTermUpdatedIndex",
12033
+ MarketForceBuyBackIndex = "market__forceBuyBackIndex",
12034
+ MarketId = "market__id",
12035
+ MarketIsClosed = "market__isClosed",
12036
+ MarketIsDelinquent = "market__isDelinquent",
12037
+ MarketIsIncurringPenalties = "market__isIncurringPenalties",
12038
+ MarketIsRegistered = "market__isRegistered",
12039
+ MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
12040
+ MarketMaxTotalSupply = "market__maxTotalSupply",
12041
+ MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
12042
+ MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
12043
+ MarketName = "market__name",
12044
+ MarketNormalizedUnclaimedWithdrawals = "market__normalizedUnclaimedWithdrawals",
12045
+ MarketOriginalAnnualInterestBips = "market__originalAnnualInterestBips",
12046
+ MarketOriginalReserveRatioBips = "market__originalReserveRatioBips",
12047
+ MarketPendingProtocolFees = "market__pendingProtocolFees",
12048
+ MarketPendingWithdrawalExpiry = "market__pendingWithdrawalExpiry",
12049
+ MarketProtocolFeeBips = "market__protocolFeeBips",
12050
+ MarketProtocolFeeBipsUpdatedIndex = "market__protocolFeeBipsUpdatedIndex",
12051
+ MarketReserveRatioBips = "market__reserveRatioBips",
12052
+ MarketScaleFactor = "market__scaleFactor",
12053
+ MarketScaledPendingWithdrawals = "market__scaledPendingWithdrawals",
12054
+ MarketScaledTotalSupply = "market__scaledTotalSupply",
12055
+ MarketSentinel = "market__sentinel",
12056
+ MarketSymbol = "market__symbol",
12057
+ MarketTemporaryReserveRatioActive = "market__temporaryReserveRatioActive",
12058
+ MarketTemporaryReserveRatioExpiry = "market__temporaryReserveRatioExpiry",
12059
+ MarketTimeDelinquent = "market__timeDelinquent",
12060
+ MarketTotalBaseInterestAccrued = "market__totalBaseInterestAccrued",
12061
+ MarketTotalBorrowed = "market__totalBorrowed",
12062
+ MarketTotalDelinquencyFeesAccrued = "market__totalDelinquencyFeesAccrued",
12063
+ MarketTotalDeposited = "market__totalDeposited",
12064
+ MarketTotalProtocolFeesAccrued = "market__totalProtocolFeesAccrued",
12065
+ MarketTotalRepaid = "market__totalRepaid",
12066
+ MarketVersion = "market__version",
12067
+ MarketWithdrawalBatchDuration = "market__withdrawalBatchDuration",
12068
+ MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
12069
+ NextLiquidationTrigger = "nextLiquidationTrigger",
12070
+ Reclaims = "reclaims",
12071
+ TotalDeposited = "totalDeposited",
12072
+ TotalLiquidated = "totalLiquidated",
12073
+ TotalReclaimed = "totalReclaimed",
12074
+ TotalShares = "totalShares"
12075
+ }
12076
+ export type SubgraphSimpleCollateralFactory = {
12077
+ __typename: "SimpleCollateralFactory";
12078
+ approvedLiquidators: SubgraphApprovedLiquidator[];
12079
+ collateralContracts: SubgraphSimpleCollateralContract[];
12080
+ id: Scalars["ID"]["output"];
12081
+ liquidatorApprovals: SubgraphLiquidatorApproved[];
12082
+ liquidatorRemovals: SubgraphLiquidatorRemoved[];
12083
+ };
12084
+ export type SubgraphSimpleCollateralFactoryApprovedLiquidatorsArgs = {
12085
+ first?: InputMaybe<Scalars["Int"]["input"]>;
12086
+ orderBy?: InputMaybe<SubgraphApprovedLiquidator_OrderBy>;
12087
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
12088
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
12089
+ where?: InputMaybe<SubgraphApprovedLiquidator_Filter>;
12090
+ };
12091
+ export type SubgraphSimpleCollateralFactoryCollateralContractsArgs = SubgraphMarketCollateralContractsArgs;
12092
+ export type SubgraphSimpleCollateralFactoryLiquidatorApprovalsArgs = {
12093
+ first?: InputMaybe<Scalars["Int"]["input"]>;
12094
+ orderBy?: InputMaybe<SubgraphLiquidatorApproved_OrderBy>;
12095
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
12096
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
12097
+ where?: InputMaybe<SubgraphLiquidatorApproved_Filter>;
12098
+ };
12099
+ export type SubgraphSimpleCollateralFactoryLiquidatorRemovalsArgs = {
12100
+ first?: InputMaybe<Scalars["Int"]["input"]>;
12101
+ orderBy?: InputMaybe<SubgraphLiquidatorRemoved_OrderBy>;
12102
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
12103
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
12104
+ where?: InputMaybe<SubgraphLiquidatorRemoved_Filter>;
12105
+ };
12106
+ export type SubgraphSimpleCollateralFactory_Filter = {
12107
+ /** Filter for the block changed event. */
12108
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
12109
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralFactory_Filter>>>;
12110
+ approvedLiquidators_?: InputMaybe<SubgraphApprovedLiquidator_Filter>;
12111
+ collateralContracts_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
12112
+ id?: InputMaybe<Scalars["ID"]["input"]>;
12113
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
12114
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
12115
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
12116
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
12117
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
12118
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
12119
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
12120
+ liquidatorApprovals_?: InputMaybe<SubgraphLiquidatorApproved_Filter>;
12121
+ liquidatorRemovals_?: InputMaybe<SubgraphLiquidatorRemoved_Filter>;
12122
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralFactory_Filter>>>;
12123
+ };
12124
+ export declare enum SubgraphSimpleCollateralFactory_OrderBy {
12125
+ ApprovedLiquidators = "approvedLiquidators",
12126
+ CollateralContracts = "collateralContracts",
12127
+ Id = "id",
12128
+ LiquidatorApprovals = "liquidatorApprovals",
12129
+ LiquidatorRemovals = "liquidatorRemovals"
12130
+ }
12131
+ /** v2.0.1 */
12132
+ export type SubgraphSubgraphVersion = {
12133
+ __typename: "SubgraphVersion";
12134
+ id: Scalars["ID"]["output"];
12135
+ };
12136
+ export type SubgraphSubgraphVersion_Filter = {
12137
+ /** Filter for the block changed event. */
12138
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
12139
+ and?: InputMaybe<Array<InputMaybe<SubgraphSubgraphVersion_Filter>>>;
12140
+ id?: InputMaybe<Scalars["ID"]["input"]>;
12141
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
12142
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
12143
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
12144
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
12145
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
12146
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
12147
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
12148
+ or?: InputMaybe<Array<InputMaybe<SubgraphSubgraphVersion_Filter>>>;
12149
+ };
12150
+ export declare enum SubgraphSubgraphVersion_OrderBy {
12151
+ Id = "id"
12152
+ }
12153
+ export type SubgraphSubscription = {
12154
+ __typename: "Subscription";
12155
+ /** Access to subgraph metadata */
12156
+ _meta?: Maybe<Subgraph_Meta_>;
12157
+ accountAccessGranted?: Maybe<SubgraphAccountAccessGranted>;
12158
+ accountAccessGranteds: SubgraphAccountAccessGranted[];
12159
+ accountAccessRevoked?: Maybe<SubgraphAccountAccessRevoked>;
12160
+ accountAccessRevokeds: SubgraphAccountAccessRevoked[];
12161
+ accountBlockedFromDeposits?: Maybe<SubgraphAccountBlockedFromDeposits>;
12162
+ accountBlockedFromDeposits_collection: SubgraphAccountBlockedFromDeposits[];
12163
+ accountMadeFirstDeposit?: Maybe<SubgraphAccountMadeFirstDeposit>;
12164
+ accountMadeFirstDeposits: SubgraphAccountMadeFirstDeposit[];
12165
+ accountUnblockedFromDeposits?: Maybe<SubgraphAccountUnblockedFromDeposits>;
12166
+ accountUnblockedFromDeposits_collection: SubgraphAccountUnblockedFromDeposits[];
12167
+ annualInterestBipsUpdated?: Maybe<SubgraphAnnualInterestBipsUpdated>;
12168
+ annualInterestBipsUpdateds: SubgraphAnnualInterestBipsUpdated[];
12169
+ approval?: Maybe<SubgraphApproval>;
12170
+ approvals: SubgraphApproval[];
12171
+ approvedLiquidator?: Maybe<SubgraphApprovedLiquidator>;
12172
+ approvedLiquidators: SubgraphApprovedLiquidator[];
12173
+ archController?: Maybe<SubgraphArchController>;
12174
+ archControllers: SubgraphArchController[];
12175
+ borrow?: Maybe<SubgraphBorrow>;
12176
+ borrowerRegistrationChange?: Maybe<SubgraphBorrowerRegistrationChange>;
12177
+ borrowerRegistrationChanges: SubgraphBorrowerRegistrationChange[];
12178
+ borrows: SubgraphBorrow[];
12179
+ controller?: Maybe<SubgraphController>;
10727
12180
  controllerAdded?: Maybe<SubgraphControllerAdded>;
10728
12181
  controllerAddeds: SubgraphControllerAdded[];
10729
12182
  controllerFactories: SubgraphControllerFactory[];
@@ -10781,6 +12234,10 @@ export type SubgraphSubscription = {
10781
12234
  lenderInterestAccrueds: SubgraphLenderInterestAccrued[];
10782
12235
  lenderWithdrawalStatus?: Maybe<SubgraphLenderWithdrawalStatus>;
10783
12236
  lenderWithdrawalStatuses: SubgraphLenderWithdrawalStatus[];
12237
+ liquidatorApproved?: Maybe<SubgraphLiquidatorApproved>;
12238
+ liquidatorApproveds: SubgraphLiquidatorApproved[];
12239
+ liquidatorRemoved?: Maybe<SubgraphLiquidatorRemoved>;
12240
+ liquidatorRemoveds: SubgraphLiquidatorRemoved[];
10784
12241
  market?: Maybe<SubgraphMarket>;
10785
12242
  marketAdded?: Maybe<SubgraphMarketAdded>;
10786
12243
  marketAddeds: SubgraphMarketAdded[];
@@ -10833,6 +12290,22 @@ export type SubgraphSubscription = {
10833
12290
  sanctionedAccountAssetsSentToEscrows: SubgraphSanctionedAccountAssetsSentToEscrow[];
10834
12291
  sanctionedAccountWithdrawalSentToEscrow?: Maybe<SubgraphSanctionedAccountWithdrawalSentToEscrow>;
10835
12292
  sanctionedAccountWithdrawalSentToEscrows: SubgraphSanctionedAccountWithdrawalSentToEscrow[];
12293
+ simpleCollateralContract?: Maybe<SubgraphSimpleCollateralContract>;
12294
+ simpleCollateralContractDeposit?: Maybe<SubgraphSimpleCollateralContractDeposit>;
12295
+ simpleCollateralContractDepositor?: Maybe<SubgraphSimpleCollateralContractDepositor>;
12296
+ simpleCollateralContractDepositors: SubgraphSimpleCollateralContractDepositor[];
12297
+ simpleCollateralContractDeposits: SubgraphSimpleCollateralContractDeposit[];
12298
+ simpleCollateralContractFullReset?: Maybe<SubgraphSimpleCollateralContractFullReset>;
12299
+ simpleCollateralContractFullResets: SubgraphSimpleCollateralContractFullReset[];
12300
+ simpleCollateralContractLiquidatedSharesReset?: Maybe<SubgraphSimpleCollateralContractLiquidatedSharesReset>;
12301
+ simpleCollateralContractLiquidatedSharesResets: SubgraphSimpleCollateralContractLiquidatedSharesReset[];
12302
+ simpleCollateralContractLiquidation?: Maybe<SubgraphSimpleCollateralContractLiquidation>;
12303
+ simpleCollateralContractLiquidations: SubgraphSimpleCollateralContractLiquidation[];
12304
+ simpleCollateralContractReclaim?: Maybe<SubgraphSimpleCollateralContractReclaim>;
12305
+ simpleCollateralContractReclaims: SubgraphSimpleCollateralContractReclaim[];
12306
+ simpleCollateralContracts: SubgraphSimpleCollateralContract[];
12307
+ simpleCollateralFactories: SubgraphSimpleCollateralFactory[];
12308
+ simpleCollateralFactory?: Maybe<SubgraphSimpleCollateralFactory>;
10836
12309
  subgraphVersion?: Maybe<SubgraphSubgraphVersion>;
10837
12310
  subgraphVersions: SubgraphSubgraphVersion[];
10838
12311
  token?: Maybe<SubgraphToken>;
@@ -10871,6 +12344,8 @@ export type SubgraphSubscriptionAnnualInterestBipsUpdatedArgs = SubgraphQueryAcc
10871
12344
  export type SubgraphSubscriptionAnnualInterestBipsUpdatedsArgs = SubgraphQueryAnnualInterestBipsUpdatedsArgs;
10872
12345
  export type SubgraphSubscriptionApprovalArgs = SubgraphQueryAccountAccessGrantedArgs;
10873
12346
  export type SubgraphSubscriptionApprovalsArgs = SubgraphQueryApprovalsArgs;
12347
+ export type SubgraphSubscriptionApprovedLiquidatorArgs = SubgraphQueryAccountAccessGrantedArgs;
12348
+ export type SubgraphSubscriptionApprovedLiquidatorsArgs = SubgraphQueryApprovedLiquidatorsArgs;
10874
12349
  export type SubgraphSubscriptionArchControllerArgs = SubgraphQueryAccountAccessGrantedArgs;
10875
12350
  export type SubgraphSubscriptionArchControllersArgs = SubgraphQueryArchControllersArgs;
10876
12351
  export type SubgraphSubscriptionBorrowArgs = SubgraphQueryAccountAccessGrantedArgs;
@@ -10935,6 +12410,10 @@ export type SubgraphSubscriptionLenderInterestAccruedArgs = SubgraphQueryAccount
10935
12410
  export type SubgraphSubscriptionLenderInterestAccruedsArgs = SubgraphQueryLenderInterestAccruedsArgs;
10936
12411
  export type SubgraphSubscriptionLenderWithdrawalStatusArgs = SubgraphQueryAccountAccessGrantedArgs;
10937
12412
  export type SubgraphSubscriptionLenderWithdrawalStatusesArgs = SubgraphQueryLenderWithdrawalStatusesArgs;
12413
+ export type SubgraphSubscriptionLiquidatorApprovedArgs = SubgraphQueryAccountAccessGrantedArgs;
12414
+ export type SubgraphSubscriptionLiquidatorApprovedsArgs = SubgraphQueryLiquidatorApprovedsArgs;
12415
+ export type SubgraphSubscriptionLiquidatorRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
12416
+ export type SubgraphSubscriptionLiquidatorRemovedsArgs = SubgraphQueryLiquidatorRemovedsArgs;
10938
12417
  export type SubgraphSubscriptionMarketArgs = SubgraphQueryAccountAccessGrantedArgs;
10939
12418
  export type SubgraphSubscriptionMarketAddedArgs = SubgraphQueryAccountAccessGrantedArgs;
10940
12419
  export type SubgraphSubscriptionMarketAddedsArgs = SubgraphQueryMarketAddedsArgs;
@@ -10987,6 +12466,22 @@ export type SubgraphSubscriptionSanctionedAccountAssetsSentToEscrowArgs = Subgra
10987
12466
  export type SubgraphSubscriptionSanctionedAccountAssetsSentToEscrowsArgs = SubgraphQuerySanctionedAccountAssetsSentToEscrowsArgs;
10988
12467
  export type SubgraphSubscriptionSanctionedAccountWithdrawalSentToEscrowArgs = SubgraphQueryAccountAccessGrantedArgs;
10989
12468
  export type SubgraphSubscriptionSanctionedAccountWithdrawalSentToEscrowsArgs = SubgraphQuerySanctionedAccountWithdrawalSentToEscrowsArgs;
12469
+ export type SubgraphSubscriptionSimpleCollateralContractArgs = SubgraphQueryAccountAccessGrantedArgs;
12470
+ export type SubgraphSubscriptionSimpleCollateralContractDepositArgs = SubgraphQueryAccountAccessGrantedArgs;
12471
+ export type SubgraphSubscriptionSimpleCollateralContractDepositorArgs = SubgraphQueryAccountAccessGrantedArgs;
12472
+ export type SubgraphSubscriptionSimpleCollateralContractDepositorsArgs = SubgraphQuerySimpleCollateralContractDepositorsArgs;
12473
+ export type SubgraphSubscriptionSimpleCollateralContractDepositsArgs = SubgraphQuerySimpleCollateralContractDepositsArgs;
12474
+ export type SubgraphSubscriptionSimpleCollateralContractFullResetArgs = SubgraphQueryAccountAccessGrantedArgs;
12475
+ export type SubgraphSubscriptionSimpleCollateralContractFullResetsArgs = SubgraphQuerySimpleCollateralContractFullResetsArgs;
12476
+ export type SubgraphSubscriptionSimpleCollateralContractLiquidatedSharesResetArgs = SubgraphQueryAccountAccessGrantedArgs;
12477
+ export type SubgraphSubscriptionSimpleCollateralContractLiquidatedSharesResetsArgs = SubgraphQuerySimpleCollateralContractLiquidatedSharesResetsArgs;
12478
+ export type SubgraphSubscriptionSimpleCollateralContractLiquidationArgs = SubgraphQueryAccountAccessGrantedArgs;
12479
+ export type SubgraphSubscriptionSimpleCollateralContractLiquidationsArgs = SubgraphQuerySimpleCollateralContractLiquidationsArgs;
12480
+ export type SubgraphSubscriptionSimpleCollateralContractReclaimArgs = SubgraphQueryAccountAccessGrantedArgs;
12481
+ export type SubgraphSubscriptionSimpleCollateralContractReclaimsArgs = SubgraphQuerySimpleCollateralContractReclaimsArgs;
12482
+ export type SubgraphSubscriptionSimpleCollateralContractsArgs = SubgraphQuerySimpleCollateralContractsArgs;
12483
+ export type SubgraphSubscriptionSimpleCollateralFactoriesArgs = SubgraphQuerySimpleCollateralFactoriesArgs;
12484
+ export type SubgraphSubscriptionSimpleCollateralFactoryArgs = SubgraphQueryAccountAccessGrantedArgs;
10990
12485
  export type SubgraphSubscriptionSubgraphVersionArgs = SubgraphQueryAccountAccessGrantedArgs;
10991
12486
  export type SubgraphSubscriptionSubgraphVersionsArgs = SubgraphQuerySubgraphVersionsArgs;
10992
12487
  export type SubgraphSubscriptionTokenArgs = SubgraphQueryAccountAccessGrantedArgs;
@@ -13225,6 +14720,169 @@ export type SubgraphHooksTemplateDataFragment = {
13225
14720
  disabled: boolean;
13226
14721
  originationFeeAsset?: SubgraphTokenDataFragment | null;
13227
14722
  };
14723
+ export type SubgraphApprovedLiquidatorDataFragment = {
14724
+ __typename: "ApprovedLiquidator";
14725
+ isApproved: boolean;
14726
+ liquidator: string;
14727
+ };
14728
+ export type SubgraphLiquidatorApprovedDataFragment = {
14729
+ __typename: "LiquidatorApproved";
14730
+ liquidator: string;
14731
+ blockNumber: number;
14732
+ blockTimestamp: number;
14733
+ transactionHash: string;
14734
+ };
14735
+ export type SubgraphLiquidatorRemovedDataFragment = {
14736
+ __typename: "LiquidatorRemoved";
14737
+ liquidator: string;
14738
+ blockNumber: number;
14739
+ blockTimestamp: number;
14740
+ transactionHash: string;
14741
+ };
14742
+ export type SubgraphSimpleCollateralContractDataFragment = {
14743
+ __typename: "SimpleCollateralContract";
14744
+ id: string;
14745
+ liquidationCooldown: number;
14746
+ nextLiquidationTrigger: number;
14747
+ totalDeposited: string;
14748
+ totalReclaimed: string;
14749
+ totalLiquidated: string;
14750
+ totalShares: string;
14751
+ availableCollateral: string;
14752
+ lastFullLiquidationIndex: number;
14753
+ depositIndex: number;
14754
+ factory: {
14755
+ __typename: "SimpleCollateralFactory";
14756
+ id: string;
14757
+ };
14758
+ market: {
14759
+ __typename: "Market";
14760
+ id: string;
14761
+ isClosed: boolean;
14762
+ isDelinquent: boolean;
14763
+ timeDelinquent: number;
14764
+ delinquencyGracePeriod: number;
14765
+ underlyingAsset: SubgraphTokenDataFragment;
14766
+ };
14767
+ collateralAsset?: SubgraphTokenDataFragment | null;
14768
+ };
14769
+ export type SubgraphSimpleCollateralContractReclaimDataFragment = {
14770
+ __typename: "SimpleCollateralContractReclaim";
14771
+ id: string;
14772
+ amountReclaimed: string;
14773
+ sharesBurned: string;
14774
+ blockNumber: number;
14775
+ blockTimestamp: number;
14776
+ transactionHash: string;
14777
+ account: {
14778
+ __typename: "SimpleCollateralContractDepositor";
14779
+ id: string;
14780
+ };
14781
+ };
14782
+ export type SubgraphSimpleCollateralContractDepositorDataFragment = {
14783
+ __typename: "SimpleCollateralContractDepositor";
14784
+ id: string;
14785
+ shares: string;
14786
+ totalDeposited: string;
14787
+ totalReclaimed: string;
14788
+ collateralContract: {
14789
+ __typename: "SimpleCollateralContract";
14790
+ id: string;
14791
+ };
14792
+ };
14793
+ export type SubgraphSimpleCollateralContractLiquidationDataFragment = {
14794
+ __typename: "SimpleCollateralContractLiquidation";
14795
+ id: string;
14796
+ collateralLiquidated: string;
14797
+ underlyingReceived: string;
14798
+ liquidator: string;
14799
+ blockNumber: number;
14800
+ blockTimestamp: number;
14801
+ transactionHash: string;
14802
+ collateralContract: {
14803
+ __typename: "SimpleCollateralContract";
14804
+ id: string;
14805
+ };
14806
+ };
14807
+ export type SubgraphSimpleCollateralContractFullResetDataFragment = {
14808
+ __typename: "SimpleCollateralContractFullReset";
14809
+ id: string;
14810
+ lastFullLiquidationIndex: number;
14811
+ blockNumber: number;
14812
+ blockTimestamp: number;
14813
+ transactionHash: string;
14814
+ collateralContract: {
14815
+ __typename: "SimpleCollateralContract";
14816
+ id: string;
14817
+ };
14818
+ };
14819
+ export type SubgraphSimpleCollateralContractLiquidatedSharesResetDataFragment = {
14820
+ __typename: "SimpleCollateralContractLiquidatedSharesReset";
14821
+ id: string;
14822
+ sharesReset: string;
14823
+ blockNumber: number;
14824
+ blockTimestamp: number;
14825
+ transactionHash: string;
14826
+ collateralContract: {
14827
+ __typename: "SimpleCollateralContract";
14828
+ id: string;
14829
+ };
14830
+ account: {
14831
+ __typename: "SimpleCollateralContractDepositor";
14832
+ id: string;
14833
+ };
14834
+ };
14835
+ export type SubgraphSimpleCollateralContractDepositDataFragment = {
14836
+ __typename: "SimpleCollateralContractDeposit";
14837
+ id: string;
14838
+ amountDeposited: string;
14839
+ sharesMinted: string;
14840
+ lastFullLiquidationIndex: number;
14841
+ depositIndex: number;
14842
+ blockNumber: number;
14843
+ blockTimestamp: number;
14844
+ transactionHash: string;
14845
+ collateralContract: {
14846
+ __typename: "SimpleCollateralContract";
14847
+ id: string;
14848
+ };
14849
+ account: {
14850
+ __typename: "SimpleCollateralContractDepositor";
14851
+ id: string;
14852
+ };
14853
+ };
14854
+ export type SubgraphSimpleCollateralContractDataWithEventsFragment = {
14855
+ __typename: "SimpleCollateralContract";
14856
+ id: string;
14857
+ liquidationCooldown: number;
14858
+ nextLiquidationTrigger: number;
14859
+ totalDeposited: string;
14860
+ totalReclaimed: string;
14861
+ totalLiquidated: string;
14862
+ totalShares: string;
14863
+ availableCollateral: string;
14864
+ lastFullLiquidationIndex: number;
14865
+ depositIndex: number;
14866
+ depositors: SubgraphSimpleCollateralContractDepositorDataFragment[];
14867
+ liquidations: SubgraphSimpleCollateralContractLiquidationDataFragment[];
14868
+ deposits: SubgraphSimpleCollateralContractDepositDataFragment[];
14869
+ reclaims: SubgraphSimpleCollateralContractReclaimDataFragment[];
14870
+ fullResets: SubgraphSimpleCollateralContractFullResetDataFragment[];
14871
+ factory: {
14872
+ __typename: "SimpleCollateralFactory";
14873
+ id: string;
14874
+ };
14875
+ market: {
14876
+ __typename: "Market";
14877
+ id: string;
14878
+ isClosed: boolean;
14879
+ isDelinquent: boolean;
14880
+ timeDelinquent: number;
14881
+ delinquencyGracePeriod: number;
14882
+ underlyingAsset: SubgraphTokenDataFragment;
14883
+ };
14884
+ collateralAsset?: SubgraphTokenDataFragment | null;
14885
+ };
13228
14886
  export type SubgraphGetLenderAccountForMarketQueryVariables = Exact<{
13229
14887
  market: Scalars["ID"]["input"];
13230
14888
  lender: Scalars["Bytes"]["input"];
@@ -14061,6 +15719,23 @@ export type SubgraphGetAllTokensWithMarketsQuery = {
14061
15719
  decimals: number;
14062
15720
  }>;
14063
15721
  };
15722
+ export type SubgraphGetCollateralContractsByMarketQueryVariables = Exact<{
15723
+ market: Scalars["ID"]["input"];
15724
+ }>;
15725
+ export type SubgraphGetCollateralContractsByMarketQuery = {
15726
+ __typename: "Query";
15727
+ market?: {
15728
+ __typename: "Market";
15729
+ collateralContracts: SubgraphSimpleCollateralContractDataFragment[];
15730
+ } | null;
15731
+ };
15732
+ export type SubgraphGetCollateralContractQueryVariables = Exact<{
15733
+ collateralContract: Scalars["ID"]["input"];
15734
+ }>;
15735
+ export type SubgraphGetCollateralContractQuery = {
15736
+ __typename: "Query";
15737
+ simpleCollateralContract?: SubgraphSimpleCollateralContractDataFragment | null;
15738
+ };
14064
15739
  export declare const LenderPropertiesFragmentDoc: Apollo.DocumentNode;
14065
15740
  export declare const RoleProviderDataFragmentDoc: Apollo.DocumentNode;
14066
15741
  export declare const LenderHooksAccessDataFragmentDoc: Apollo.DocumentNode;
@@ -14098,6 +15773,17 @@ export declare const WithdrawalBatchPropertiesWithEventsFragmentDoc: Apollo.Docu
14098
15773
  export declare const AnnualInterestBipsUpdatedDataFragmentDoc: Apollo.DocumentNode;
14099
15774
  export declare const MaxTotalSupplyUpdatedDataFragmentDoc: Apollo.DocumentNode;
14100
15775
  export declare const MarketClosedDataFragmentDoc: Apollo.DocumentNode;
15776
+ export declare const ApprovedLiquidatorDataFragmentDoc: Apollo.DocumentNode;
15777
+ export declare const LiquidatorApprovedDataFragmentDoc: Apollo.DocumentNode;
15778
+ export declare const LiquidatorRemovedDataFragmentDoc: Apollo.DocumentNode;
15779
+ export declare const SimpleCollateralContractLiquidatedSharesResetDataFragmentDoc: Apollo.DocumentNode;
15780
+ export declare const SimpleCollateralContractDataFragmentDoc: Apollo.DocumentNode;
15781
+ export declare const SimpleCollateralContractDepositorDataFragmentDoc: Apollo.DocumentNode;
15782
+ export declare const SimpleCollateralContractLiquidationDataFragmentDoc: Apollo.DocumentNode;
15783
+ export declare const SimpleCollateralContractDepositDataFragmentDoc: Apollo.DocumentNode;
15784
+ export declare const SimpleCollateralContractReclaimDataFragmentDoc: Apollo.DocumentNode;
15785
+ export declare const SimpleCollateralContractFullResetDataFragmentDoc: Apollo.DocumentNode;
15786
+ export declare const SimpleCollateralContractDataWithEventsFragmentDoc: Apollo.DocumentNode;
14101
15787
  export declare const V1LenderWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
14102
15788
  export declare const ControllerAuthorizedLendersWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
14103
15789
  export declare const V2LenderWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
@@ -14158,4 +15844,8 @@ export declare const GetMarketRecordsDocument: Apollo.DocumentNode;
14158
15844
  export type GetMarketRecordsQueryResult = Apollo.QueryResult<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>;
14159
15845
  export declare const GetAllTokensWithMarketsDocument: Apollo.DocumentNode;
14160
15846
  export type GetAllTokensWithMarketsQueryResult = Apollo.QueryResult<SubgraphGetAllTokensWithMarketsQuery, SubgraphGetAllTokensWithMarketsQueryVariables>;
15847
+ export declare const GetCollateralContractsByMarketDocument: Apollo.DocumentNode;
15848
+ export type GetCollateralContractsByMarketQueryResult = Apollo.QueryResult<SubgraphGetCollateralContractsByMarketQuery, SubgraphGetCollateralContractsByMarketQueryVariables>;
15849
+ export declare const GetCollateralContractDocument: Apollo.DocumentNode;
15850
+ export type GetCollateralContractQueryResult = Apollo.QueryResult<SubgraphGetCollateralContractQuery, SubgraphGetCollateralContractQueryVariables>;
14161
15851
  //# sourceMappingURL=graphql.d.ts.map