@wildcatfi/wildcat-sdk 3.0.40 → 3.0.42-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 (73) hide show
  1. package/dist/collateral/collateral-events.d.ts +119 -0
  2. package/dist/collateral/collateral-events.d.ts.map +1 -0
  3. package/dist/collateral/collateral-events.js +111 -0
  4. package/dist/collateral/collateral-events.js.map +1 -0
  5. package/dist/collateral/index.d.ts +42 -0
  6. package/dist/collateral/index.d.ts.map +1 -0
  7. package/dist/collateral/index.js +104 -0
  8. package/dist/collateral/index.js.map +1 -0
  9. package/dist/constants.d.ts +6 -1
  10. package/dist/constants.d.ts.map +1 -1
  11. package/dist/constants.js +16 -4
  12. package/dist/constants.js.map +1 -1
  13. package/dist/gql/graphql.d.ts +1864 -41
  14. package/dist/gql/graphql.d.ts.map +1 -1
  15. package/dist/gql/graphql.js +541 -4
  16. package/dist/gql/graphql.js.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/market.js +0 -1
  22. package/dist/market.js.map +1 -1
  23. package/dist/typechain/CollateralLens.d.ts +218 -0
  24. package/dist/typechain/CollateralLens.d.ts.map +1 -0
  25. package/dist/typechain/CollateralLens.js +3 -0
  26. package/dist/typechain/CollateralLens.js.map +1 -0
  27. package/dist/typechain/DescribeSignature.d.ts +100 -0
  28. package/dist/typechain/DescribeSignature.d.ts.map +1 -0
  29. package/dist/typechain/DescribeSignature.js +3 -0
  30. package/dist/typechain/DescribeSignature.js.map +1 -0
  31. package/dist/typechain/ISafe.d.ts +17 -1
  32. package/dist/typechain/ISafe.d.ts.map +1 -1
  33. package/dist/typechain/SimpleMarketCollateral.d.ts +269 -0
  34. package/dist/typechain/SimpleMarketCollateral.d.ts.map +1 -0
  35. package/dist/typechain/SimpleMarketCollateral.js +3 -0
  36. package/dist/typechain/SimpleMarketCollateral.js.map +1 -0
  37. package/dist/typechain/WildcatCollateralFactory.d.ts +164 -0
  38. package/dist/typechain/WildcatCollateralFactory.d.ts.map +1 -0
  39. package/dist/typechain/WildcatCollateralFactory.js +3 -0
  40. package/dist/typechain/WildcatCollateralFactory.js.map +1 -0
  41. package/dist/typechain/factories/CollateralLens__factory.d.ts +842 -0
  42. package/dist/typechain/factories/CollateralLens__factory.d.ts.map +1 -0
  43. package/dist/typechain/factories/CollateralLens__factory.js +1086 -0
  44. package/dist/typechain/factories/CollateralLens__factory.js.map +1 -0
  45. package/dist/typechain/factories/DescribeSignature__factory.d.ts +141 -0
  46. package/dist/typechain/factories/DescribeSignature__factory.d.ts.map +1 -0
  47. package/dist/typechain/factories/DescribeSignature__factory.js +198 -0
  48. package/dist/typechain/factories/DescribeSignature__factory.js.map +1 -0
  49. package/dist/typechain/factories/ISafe__factory.d.ts +28 -0
  50. package/dist/typechain/factories/ISafe__factory.d.ts.map +1 -1
  51. package/dist/typechain/factories/ISafe__factory.js +37 -0
  52. package/dist/typechain/factories/ISafe__factory.js.map +1 -1
  53. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts +260 -0
  54. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts.map +1 -0
  55. package/dist/typechain/factories/SimpleMarketCollateral__factory.js +349 -0
  56. package/dist/typechain/factories/SimpleMarketCollateral__factory.js.map +1 -0
  57. package/dist/typechain/factories/WildcatCollateralFactory__factory.d.ts +160 -0
  58. package/dist/typechain/factories/WildcatCollateralFactory__factory.d.ts.map +1 -0
  59. package/dist/typechain/factories/WildcatCollateralFactory__factory.js +223 -0
  60. package/dist/typechain/factories/WildcatCollateralFactory__factory.js.map +1 -0
  61. package/dist/typechain/factories/index.d.ts +4 -0
  62. package/dist/typechain/factories/index.d.ts.map +1 -1
  63. package/dist/typechain/factories/index.js +9 -1
  64. package/dist/typechain/factories/index.js.map +1 -1
  65. package/dist/typechain/index.d.ts +12 -1
  66. package/dist/typechain/index.d.ts.map +1 -1
  67. package/dist/typechain/index.js +9 -1
  68. package/dist/typechain/index.js.map +1 -1
  69. package/dist/utils/describe-signature.d.ts +30 -0
  70. package/dist/utils/describe-signature.d.ts.map +1 -0
  71. package/dist/utils/describe-signature.js +52 -0
  72. package/dist/utils/describe-signature.js.map +1 -0
  73. 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,51 +11060,1205 @@ 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
+ bebopSettlementContract: Scalars["Bytes"]["output"];
11067
+ collateralAsset?: Maybe<SubgraphToken>;
11068
+ depositIndex: Scalars["Int"]["output"];
11069
+ depositors: SubgraphSimpleCollateralContractDepositor[];
11070
+ deposits: SubgraphSimpleCollateralContractDeposit[];
11071
+ eventIndex: Scalars["Int"]["output"];
11072
+ factory: SubgraphSimpleCollateralFactory;
11073
+ fullResets: SubgraphSimpleCollateralContractFullReset[];
10683
11074
  id: Scalars["ID"]["output"];
11075
+ lastFullLiquidationIndex: Scalars["Int"]["output"];
11076
+ liquidationCooldown: Scalars["Int"]["output"];
11077
+ liquidations: SubgraphSimpleCollateralContractLiquidation[];
11078
+ market: SubgraphMarket;
11079
+ nextLiquidationTrigger: Scalars["Int"]["output"];
11080
+ reclaims: SubgraphSimpleCollateralContractReclaim[];
11081
+ totalDeposited: Scalars["BigInt"]["output"];
11082
+ totalLiquidated: Scalars["BigInt"]["output"];
11083
+ totalReclaimed: Scalars["BigInt"]["output"];
11084
+ totalShares: Scalars["BigInt"]["output"];
10684
11085
  };
10685
- export type SubgraphSubgraphVersion_Filter = {
11086
+ export type SubgraphSimpleCollateralContractDepositorsArgs = {
11087
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11088
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractDepositor_OrderBy>;
11089
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11090
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11091
+ where?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11092
+ };
11093
+ export type SubgraphSimpleCollateralContractDepositsArgs = {
11094
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11095
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractDeposit_OrderBy>;
11096
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11097
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11098
+ where?: InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>;
11099
+ };
11100
+ export type SubgraphSimpleCollateralContractFullResetsArgs = {
11101
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11102
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractFullReset_OrderBy>;
11103
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11104
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11105
+ where?: InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>;
11106
+ };
11107
+ export type SubgraphSimpleCollateralContractLiquidationsArgs = {
11108
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11109
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_OrderBy>;
11110
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11111
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11112
+ where?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>;
11113
+ };
11114
+ export type SubgraphSimpleCollateralContractReclaimsArgs = {
11115
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11116
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractReclaim_OrderBy>;
11117
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11118
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11119
+ where?: InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>;
11120
+ };
11121
+ export type SubgraphSimpleCollateralContractDeposit = {
11122
+ __typename: "SimpleCollateralContractDeposit";
11123
+ account: SubgraphSimpleCollateralContractDepositor;
11124
+ amountDeposited: Scalars["BigInt"]["output"];
11125
+ blockNumber: Scalars["Int"]["output"];
11126
+ blockTimestamp: Scalars["Int"]["output"];
11127
+ collateralContract: SubgraphSimpleCollateralContract;
11128
+ depositIndex: Scalars["Int"]["output"];
11129
+ eventIndex: Scalars["Int"]["output"];
11130
+ id: Scalars["ID"]["output"];
11131
+ lastFullLiquidationIndex: Scalars["Int"]["output"];
11132
+ sharesMinted: Scalars["BigInt"]["output"];
11133
+ transactionHash: Scalars["Bytes"]["output"];
11134
+ };
11135
+ export type SubgraphSimpleCollateralContractDeposit_Filter = {
10686
11136
  /** Filter for the block changed event. */
10687
11137
  _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[];
11138
+ account?: InputMaybe<Scalars["String"]["input"]>;
11139
+ account_?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11140
+ account_contains?: InputMaybe<Scalars["String"]["input"]>;
11141
+ account_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11142
+ account_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11143
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11144
+ account_gt?: InputMaybe<Scalars["String"]["input"]>;
11145
+ account_gte?: InputMaybe<Scalars["String"]["input"]>;
11146
+ account_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11147
+ account_lt?: InputMaybe<Scalars["String"]["input"]>;
11148
+ account_lte?: InputMaybe<Scalars["String"]["input"]>;
11149
+ account_not?: InputMaybe<Scalars["String"]["input"]>;
11150
+ account_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11151
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11152
+ account_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11153
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11154
+ account_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11155
+ account_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11156
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11157
+ account_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11158
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11159
+ amountDeposited?: InputMaybe<Scalars["BigInt"]["input"]>;
11160
+ amountDeposited_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11161
+ amountDeposited_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11162
+ amountDeposited_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11163
+ amountDeposited_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11164
+ amountDeposited_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11165
+ amountDeposited_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11166
+ amountDeposited_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11167
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>>>;
11168
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11169
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11170
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11171
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11172
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11173
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11174
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11175
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11176
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11177
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11178
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11179
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11180
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11181
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11182
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11183
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11184
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11185
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11186
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11187
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11188
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11189
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11190
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11191
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11192
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11193
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11194
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11195
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11196
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11197
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11198
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11199
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11200
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11201
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11202
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11203
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11204
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11205
+ depositIndex?: InputMaybe<Scalars["Int"]["input"]>;
11206
+ depositIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11207
+ depositIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11208
+ depositIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11209
+ depositIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11210
+ depositIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11211
+ depositIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11212
+ depositIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11213
+ eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
11214
+ eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11215
+ eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11216
+ eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11217
+ eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11218
+ eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11219
+ eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11220
+ eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11221
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11222
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11223
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11224
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11225
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11226
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11227
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11228
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11229
+ lastFullLiquidationIndex?: InputMaybe<Scalars["Int"]["input"]>;
11230
+ lastFullLiquidationIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11231
+ lastFullLiquidationIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11232
+ lastFullLiquidationIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11233
+ lastFullLiquidationIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11234
+ lastFullLiquidationIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11235
+ lastFullLiquidationIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11236
+ lastFullLiquidationIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11237
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>>>;
11238
+ sharesMinted?: InputMaybe<Scalars["BigInt"]["input"]>;
11239
+ sharesMinted_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11240
+ sharesMinted_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11241
+ sharesMinted_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11242
+ sharesMinted_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11243
+ sharesMinted_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11244
+ sharesMinted_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11245
+ sharesMinted_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11246
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11247
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11248
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11249
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11250
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11251
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11252
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11253
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11254
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11255
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11256
+ };
11257
+ export declare enum SubgraphSimpleCollateralContractDeposit_OrderBy {
11258
+ Account = "account",
11259
+ AccountId = "account__id",
11260
+ AccountShares = "account__shares",
11261
+ AccountTotalDeposited = "account__totalDeposited",
11262
+ AccountTotalReclaimed = "account__totalReclaimed",
11263
+ AmountDeposited = "amountDeposited",
11264
+ BlockNumber = "blockNumber",
11265
+ BlockTimestamp = "blockTimestamp",
11266
+ CollateralContract = "collateralContract",
11267
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11268
+ CollateralContractBebopSettlementContract = "collateralContract__bebopSettlementContract",
11269
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11270
+ CollateralContractEventIndex = "collateralContract__eventIndex",
11271
+ CollateralContractId = "collateralContract__id",
11272
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11273
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11274
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11275
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11276
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11277
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11278
+ CollateralContractTotalShares = "collateralContract__totalShares",
11279
+ DepositIndex = "depositIndex",
11280
+ EventIndex = "eventIndex",
11281
+ Id = "id",
11282
+ LastFullLiquidationIndex = "lastFullLiquidationIndex",
11283
+ SharesMinted = "sharesMinted",
11284
+ TransactionHash = "transactionHash"
11285
+ }
11286
+ export type SubgraphSimpleCollateralContractDepositor = {
11287
+ __typename: "SimpleCollateralContractDepositor";
11288
+ collateralContract: SubgraphSimpleCollateralContract;
11289
+ deposits: SubgraphSimpleCollateralContractDeposit[];
11290
+ id: Scalars["ID"]["output"];
11291
+ liquidatedSharesResets: SubgraphSimpleCollateralContractLiquidatedSharesReset[];
11292
+ reclaims: SubgraphSimpleCollateralContractReclaim[];
11293
+ shares: Scalars["BigInt"]["output"];
11294
+ totalDeposited: Scalars["BigInt"]["output"];
11295
+ totalReclaimed: Scalars["BigInt"]["output"];
11296
+ };
11297
+ export type SubgraphSimpleCollateralContractDepositorDepositsArgs = SubgraphSimpleCollateralContractDepositsArgs;
11298
+ export type SubgraphSimpleCollateralContractDepositorLiquidatedSharesResetsArgs = {
11299
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11300
+ orderBy?: InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy>;
11301
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11302
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11303
+ where?: InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>;
11304
+ };
11305
+ export type SubgraphSimpleCollateralContractDepositorReclaimsArgs = SubgraphSimpleCollateralContractReclaimsArgs;
11306
+ export type SubgraphSimpleCollateralContractDepositor_Filter = {
11307
+ /** Filter for the block changed event. */
11308
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11309
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>>>;
11310
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11311
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11312
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11313
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11314
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11315
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11316
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11317
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11318
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11319
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11320
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11321
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11322
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11323
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11324
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11325
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11326
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11327
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11328
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11329
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11330
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11331
+ deposits_?: InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>;
11332
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11333
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11334
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11335
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11336
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11337
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11338
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11339
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11340
+ liquidatedSharesResets_?: InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>;
11341
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>>>;
11342
+ reclaims_?: InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>;
11343
+ shares?: InputMaybe<Scalars["BigInt"]["input"]>;
11344
+ shares_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11345
+ shares_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11346
+ shares_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11347
+ shares_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11348
+ shares_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11349
+ shares_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11350
+ shares_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11351
+ totalDeposited?: InputMaybe<Scalars["BigInt"]["input"]>;
11352
+ totalDeposited_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11353
+ totalDeposited_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11354
+ totalDeposited_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11355
+ totalDeposited_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11356
+ totalDeposited_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11357
+ totalDeposited_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11358
+ totalDeposited_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11359
+ totalReclaimed?: InputMaybe<Scalars["BigInt"]["input"]>;
11360
+ totalReclaimed_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11361
+ totalReclaimed_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11362
+ totalReclaimed_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11363
+ totalReclaimed_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11364
+ totalReclaimed_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11365
+ totalReclaimed_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11366
+ totalReclaimed_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11367
+ };
11368
+ export declare enum SubgraphSimpleCollateralContractDepositor_OrderBy {
11369
+ CollateralContract = "collateralContract",
11370
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11371
+ CollateralContractBebopSettlementContract = "collateralContract__bebopSettlementContract",
11372
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11373
+ CollateralContractEventIndex = "collateralContract__eventIndex",
11374
+ CollateralContractId = "collateralContract__id",
11375
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11376
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11377
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11378
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11379
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11380
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11381
+ CollateralContractTotalShares = "collateralContract__totalShares",
11382
+ Deposits = "deposits",
11383
+ Id = "id",
11384
+ LiquidatedSharesResets = "liquidatedSharesResets",
11385
+ Reclaims = "reclaims",
11386
+ Shares = "shares",
11387
+ TotalDeposited = "totalDeposited",
11388
+ TotalReclaimed = "totalReclaimed"
11389
+ }
11390
+ export type SubgraphSimpleCollateralContractFullReset = {
11391
+ __typename: "SimpleCollateralContractFullReset";
11392
+ blockNumber: Scalars["Int"]["output"];
11393
+ blockTimestamp: Scalars["Int"]["output"];
11394
+ collateralContract: SubgraphSimpleCollateralContract;
11395
+ eventIndex: Scalars["Int"]["output"];
11396
+ id: Scalars["ID"]["output"];
11397
+ lastFullLiquidationIndex: Scalars["Int"]["output"];
11398
+ transactionHash: Scalars["Bytes"]["output"];
11399
+ };
11400
+ export type SubgraphSimpleCollateralContractFullReset_Filter = {
11401
+ /** Filter for the block changed event. */
11402
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11403
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>>>;
11404
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11405
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11406
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11407
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11408
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11409
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11410
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11411
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11412
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11413
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11414
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11415
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11416
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11417
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11418
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11419
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11420
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11421
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11422
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11423
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11424
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11425
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11426
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11427
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11428
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11429
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11430
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11431
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11432
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11433
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11434
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11435
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11436
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11437
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11438
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11439
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11440
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11441
+ eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
11442
+ eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11443
+ eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11444
+ eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11445
+ eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11446
+ eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11447
+ eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11448
+ eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11449
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11450
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11451
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11452
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11453
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11454
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11455
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11456
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11457
+ lastFullLiquidationIndex?: InputMaybe<Scalars["Int"]["input"]>;
11458
+ lastFullLiquidationIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11459
+ lastFullLiquidationIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11460
+ lastFullLiquidationIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11461
+ lastFullLiquidationIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11462
+ lastFullLiquidationIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11463
+ lastFullLiquidationIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11464
+ lastFullLiquidationIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11465
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>>>;
11466
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11467
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11468
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11469
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11470
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11471
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11472
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11473
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11474
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11475
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11476
+ };
11477
+ export declare enum SubgraphSimpleCollateralContractFullReset_OrderBy {
11478
+ BlockNumber = "blockNumber",
11479
+ BlockTimestamp = "blockTimestamp",
11480
+ CollateralContract = "collateralContract",
11481
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11482
+ CollateralContractBebopSettlementContract = "collateralContract__bebopSettlementContract",
11483
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11484
+ CollateralContractEventIndex = "collateralContract__eventIndex",
11485
+ CollateralContractId = "collateralContract__id",
11486
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11487
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11488
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11489
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11490
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11491
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11492
+ CollateralContractTotalShares = "collateralContract__totalShares",
11493
+ EventIndex = "eventIndex",
11494
+ Id = "id",
11495
+ LastFullLiquidationIndex = "lastFullLiquidationIndex",
11496
+ TransactionHash = "transactionHash"
11497
+ }
11498
+ export type SubgraphSimpleCollateralContractLiquidatedSharesReset = {
11499
+ __typename: "SimpleCollateralContractLiquidatedSharesReset";
11500
+ account: SubgraphSimpleCollateralContractDepositor;
11501
+ blockNumber: Scalars["Int"]["output"];
11502
+ blockTimestamp: Scalars["Int"]["output"];
11503
+ collateralContract: SubgraphSimpleCollateralContract;
11504
+ eventIndex: Scalars["Int"]["output"];
11505
+ id: Scalars["ID"]["output"];
11506
+ sharesReset: Scalars["BigInt"]["output"];
11507
+ transactionHash: Scalars["Bytes"]["output"];
11508
+ };
11509
+ export type SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter = {
11510
+ /** Filter for the block changed event. */
11511
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11512
+ account?: InputMaybe<Scalars["String"]["input"]>;
11513
+ account_?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11514
+ account_contains?: InputMaybe<Scalars["String"]["input"]>;
11515
+ account_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11516
+ account_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11517
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11518
+ account_gt?: InputMaybe<Scalars["String"]["input"]>;
11519
+ account_gte?: InputMaybe<Scalars["String"]["input"]>;
11520
+ account_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11521
+ account_lt?: InputMaybe<Scalars["String"]["input"]>;
11522
+ account_lte?: InputMaybe<Scalars["String"]["input"]>;
11523
+ account_not?: InputMaybe<Scalars["String"]["input"]>;
11524
+ account_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11525
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11526
+ account_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11527
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11528
+ account_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11529
+ account_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11530
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11531
+ account_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11532
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11533
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>>>;
11534
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11535
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11536
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11537
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11538
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11539
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11540
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11541
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11542
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11543
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11544
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11545
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11546
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11547
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11548
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11549
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11550
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11551
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11552
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11553
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11554
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11555
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11556
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11557
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11558
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11559
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11560
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11561
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11562
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11563
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11564
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11565
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11566
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11567
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11568
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11569
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11570
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11571
+ eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
11572
+ eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11573
+ eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11574
+ eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11575
+ eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11576
+ eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11577
+ eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11578
+ eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11579
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11580
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11581
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11582
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11583
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11584
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11585
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11586
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11587
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractLiquidatedSharesReset_Filter>>>;
11588
+ sharesReset?: InputMaybe<Scalars["BigInt"]["input"]>;
11589
+ sharesReset_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11590
+ sharesReset_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11591
+ sharesReset_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11592
+ sharesReset_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11593
+ sharesReset_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11594
+ sharesReset_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11595
+ sharesReset_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11596
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11597
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11598
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11599
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11600
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11601
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11602
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11603
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11604
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11605
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11606
+ };
11607
+ export declare enum SubgraphSimpleCollateralContractLiquidatedSharesReset_OrderBy {
11608
+ Account = "account",
11609
+ AccountId = "account__id",
11610
+ AccountShares = "account__shares",
11611
+ AccountTotalDeposited = "account__totalDeposited",
11612
+ AccountTotalReclaimed = "account__totalReclaimed",
11613
+ BlockNumber = "blockNumber",
11614
+ BlockTimestamp = "blockTimestamp",
11615
+ CollateralContract = "collateralContract",
11616
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11617
+ CollateralContractBebopSettlementContract = "collateralContract__bebopSettlementContract",
11618
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11619
+ CollateralContractEventIndex = "collateralContract__eventIndex",
11620
+ CollateralContractId = "collateralContract__id",
11621
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11622
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11623
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11624
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11625
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11626
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11627
+ CollateralContractTotalShares = "collateralContract__totalShares",
11628
+ EventIndex = "eventIndex",
11629
+ Id = "id",
11630
+ SharesReset = "sharesReset",
11631
+ TransactionHash = "transactionHash"
11632
+ }
11633
+ export type SubgraphSimpleCollateralContractLiquidation = {
11634
+ __typename: "SimpleCollateralContractLiquidation";
11635
+ blockNumber: Scalars["Int"]["output"];
11636
+ blockTimestamp: Scalars["Int"]["output"];
11637
+ collateralContract: SubgraphSimpleCollateralContract;
11638
+ collateralLiquidated: Scalars["BigInt"]["output"];
11639
+ eventIndex: Scalars["Int"]["output"];
11640
+ id: Scalars["ID"]["output"];
11641
+ liquidator: Scalars["Bytes"]["output"];
11642
+ transactionHash: Scalars["Bytes"]["output"];
11643
+ underlyingReceived: Scalars["BigInt"]["output"];
11644
+ };
11645
+ export type SubgraphSimpleCollateralContractLiquidation_Filter = {
11646
+ /** Filter for the block changed event. */
11647
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11648
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>>>;
11649
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11650
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11651
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11652
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11653
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11654
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11655
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11656
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11657
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11658
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11659
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11660
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11661
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11662
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11663
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11664
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11665
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11666
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11667
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11668
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11669
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11670
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11671
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11672
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11673
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11674
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11675
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11676
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11677
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11678
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11679
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11680
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11681
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11682
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11683
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11684
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11685
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11686
+ collateralLiquidated?: InputMaybe<Scalars["BigInt"]["input"]>;
11687
+ collateralLiquidated_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11688
+ collateralLiquidated_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11689
+ collateralLiquidated_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11690
+ collateralLiquidated_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11691
+ collateralLiquidated_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11692
+ collateralLiquidated_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11693
+ collateralLiquidated_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11694
+ eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
11695
+ eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11696
+ eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11697
+ eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11698
+ eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11699
+ eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11700
+ eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11701
+ eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11702
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11703
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11704
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11705
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11706
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11707
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11708
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11709
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11710
+ liquidator?: InputMaybe<Scalars["Bytes"]["input"]>;
11711
+ liquidator_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11712
+ liquidator_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11713
+ liquidator_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11714
+ liquidator_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11715
+ liquidator_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11716
+ liquidator_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11717
+ liquidator_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11718
+ liquidator_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11719
+ liquidator_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11720
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>>>;
11721
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11722
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11723
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11724
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11725
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11726
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11727
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11728
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11729
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11730
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11731
+ underlyingReceived?: InputMaybe<Scalars["BigInt"]["input"]>;
11732
+ underlyingReceived_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11733
+ underlyingReceived_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11734
+ underlyingReceived_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11735
+ underlyingReceived_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11736
+ underlyingReceived_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11737
+ underlyingReceived_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11738
+ underlyingReceived_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11739
+ };
11740
+ export declare enum SubgraphSimpleCollateralContractLiquidation_OrderBy {
11741
+ BlockNumber = "blockNumber",
11742
+ BlockTimestamp = "blockTimestamp",
11743
+ CollateralContract = "collateralContract",
11744
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11745
+ CollateralContractBebopSettlementContract = "collateralContract__bebopSettlementContract",
11746
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11747
+ CollateralContractEventIndex = "collateralContract__eventIndex",
11748
+ CollateralContractId = "collateralContract__id",
11749
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11750
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11751
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11752
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11753
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11754
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11755
+ CollateralContractTotalShares = "collateralContract__totalShares",
11756
+ CollateralLiquidated = "collateralLiquidated",
11757
+ EventIndex = "eventIndex",
11758
+ Id = "id",
11759
+ Liquidator = "liquidator",
11760
+ TransactionHash = "transactionHash",
11761
+ UnderlyingReceived = "underlyingReceived"
11762
+ }
11763
+ export type SubgraphSimpleCollateralContractReclaim = {
11764
+ __typename: "SimpleCollateralContractReclaim";
11765
+ account: SubgraphSimpleCollateralContractDepositor;
11766
+ amountReclaimed: Scalars["BigInt"]["output"];
11767
+ blockNumber: Scalars["Int"]["output"];
11768
+ blockTimestamp: Scalars["Int"]["output"];
11769
+ collateralContract: SubgraphSimpleCollateralContract;
11770
+ eventIndex: Scalars["Int"]["output"];
11771
+ id: Scalars["ID"]["output"];
11772
+ sharesBurned: Scalars["BigInt"]["output"];
11773
+ transactionHash: Scalars["Bytes"]["output"];
11774
+ };
11775
+ export type SubgraphSimpleCollateralContractReclaim_Filter = {
11776
+ /** Filter for the block changed event. */
11777
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11778
+ account?: InputMaybe<Scalars["String"]["input"]>;
11779
+ account_?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11780
+ account_contains?: InputMaybe<Scalars["String"]["input"]>;
11781
+ account_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11782
+ account_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11783
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11784
+ account_gt?: InputMaybe<Scalars["String"]["input"]>;
11785
+ account_gte?: InputMaybe<Scalars["String"]["input"]>;
11786
+ account_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11787
+ account_lt?: InputMaybe<Scalars["String"]["input"]>;
11788
+ account_lte?: InputMaybe<Scalars["String"]["input"]>;
11789
+ account_not?: InputMaybe<Scalars["String"]["input"]>;
11790
+ account_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11791
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11792
+ account_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11793
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11794
+ account_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11795
+ account_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11796
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11797
+ account_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11798
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11799
+ amountReclaimed?: InputMaybe<Scalars["BigInt"]["input"]>;
11800
+ amountReclaimed_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11801
+ amountReclaimed_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11802
+ amountReclaimed_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11803
+ amountReclaimed_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11804
+ amountReclaimed_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11805
+ amountReclaimed_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11806
+ amountReclaimed_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11807
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>>>;
11808
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
11809
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
11810
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
11811
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11812
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
11813
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
11814
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
11815
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11816
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
11817
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
11818
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
11819
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11820
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
11821
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
11822
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
11823
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11824
+ collateralContract?: InputMaybe<Scalars["String"]["input"]>;
11825
+ collateralContract_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
11826
+ collateralContract_contains?: InputMaybe<Scalars["String"]["input"]>;
11827
+ collateralContract_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11828
+ collateralContract_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11829
+ collateralContract_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11830
+ collateralContract_gt?: InputMaybe<Scalars["String"]["input"]>;
11831
+ collateralContract_gte?: InputMaybe<Scalars["String"]["input"]>;
11832
+ collateralContract_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11833
+ collateralContract_lt?: InputMaybe<Scalars["String"]["input"]>;
11834
+ collateralContract_lte?: InputMaybe<Scalars["String"]["input"]>;
11835
+ collateralContract_not?: InputMaybe<Scalars["String"]["input"]>;
11836
+ collateralContract_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11837
+ collateralContract_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11838
+ collateralContract_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11839
+ collateralContract_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11840
+ collateralContract_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11841
+ collateralContract_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11842
+ collateralContract_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11843
+ collateralContract_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11844
+ collateralContract_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11845
+ eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
11846
+ eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11847
+ eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11848
+ eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11849
+ eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11850
+ eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11851
+ eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11852
+ eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11853
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11854
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11855
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11856
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11857
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11858
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11859
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11860
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11861
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>>>;
11862
+ sharesBurned?: InputMaybe<Scalars["BigInt"]["input"]>;
11863
+ sharesBurned_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11864
+ sharesBurned_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11865
+ sharesBurned_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11866
+ sharesBurned_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11867
+ sharesBurned_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11868
+ sharesBurned_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11869
+ sharesBurned_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11870
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
11871
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11872
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11873
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11874
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11875
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11876
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11877
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11878
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11879
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11880
+ };
11881
+ export declare enum SubgraphSimpleCollateralContractReclaim_OrderBy {
11882
+ Account = "account",
11883
+ AccountId = "account__id",
11884
+ AccountShares = "account__shares",
11885
+ AccountTotalDeposited = "account__totalDeposited",
11886
+ AccountTotalReclaimed = "account__totalReclaimed",
11887
+ AmountReclaimed = "amountReclaimed",
11888
+ BlockNumber = "blockNumber",
11889
+ BlockTimestamp = "blockTimestamp",
11890
+ CollateralContract = "collateralContract",
11891
+ CollateralContractAvailableCollateral = "collateralContract__availableCollateral",
11892
+ CollateralContractBebopSettlementContract = "collateralContract__bebopSettlementContract",
11893
+ CollateralContractDepositIndex = "collateralContract__depositIndex",
11894
+ CollateralContractEventIndex = "collateralContract__eventIndex",
11895
+ CollateralContractId = "collateralContract__id",
11896
+ CollateralContractLastFullLiquidationIndex = "collateralContract__lastFullLiquidationIndex",
11897
+ CollateralContractLiquidationCooldown = "collateralContract__liquidationCooldown",
11898
+ CollateralContractNextLiquidationTrigger = "collateralContract__nextLiquidationTrigger",
11899
+ CollateralContractTotalDeposited = "collateralContract__totalDeposited",
11900
+ CollateralContractTotalLiquidated = "collateralContract__totalLiquidated",
11901
+ CollateralContractTotalReclaimed = "collateralContract__totalReclaimed",
11902
+ CollateralContractTotalShares = "collateralContract__totalShares",
11903
+ EventIndex = "eventIndex",
11904
+ Id = "id",
11905
+ SharesBurned = "sharesBurned",
11906
+ TransactionHash = "transactionHash"
11907
+ }
11908
+ export type SubgraphSimpleCollateralContract_Filter = {
11909
+ /** Filter for the block changed event. */
11910
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
11911
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContract_Filter>>>;
11912
+ availableCollateral?: InputMaybe<Scalars["BigInt"]["input"]>;
11913
+ availableCollateral_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
11914
+ availableCollateral_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
11915
+ availableCollateral_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11916
+ availableCollateral_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
11917
+ availableCollateral_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
11918
+ availableCollateral_not?: InputMaybe<Scalars["BigInt"]["input"]>;
11919
+ availableCollateral_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
11920
+ bebopSettlementContract?: InputMaybe<Scalars["Bytes"]["input"]>;
11921
+ bebopSettlementContract_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11922
+ bebopSettlementContract_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
11923
+ bebopSettlementContract_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
11924
+ bebopSettlementContract_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11925
+ bebopSettlementContract_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
11926
+ bebopSettlementContract_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
11927
+ bebopSettlementContract_not?: InputMaybe<Scalars["Bytes"]["input"]>;
11928
+ bebopSettlementContract_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
11929
+ bebopSettlementContract_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
11930
+ collateralAsset?: InputMaybe<Scalars["String"]["input"]>;
11931
+ collateralAsset_?: InputMaybe<SubgraphToken_Filter>;
11932
+ collateralAsset_contains?: InputMaybe<Scalars["String"]["input"]>;
11933
+ collateralAsset_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11934
+ collateralAsset_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11935
+ collateralAsset_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11936
+ collateralAsset_gt?: InputMaybe<Scalars["String"]["input"]>;
11937
+ collateralAsset_gte?: InputMaybe<Scalars["String"]["input"]>;
11938
+ collateralAsset_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11939
+ collateralAsset_lt?: InputMaybe<Scalars["String"]["input"]>;
11940
+ collateralAsset_lte?: InputMaybe<Scalars["String"]["input"]>;
11941
+ collateralAsset_not?: InputMaybe<Scalars["String"]["input"]>;
11942
+ collateralAsset_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11943
+ collateralAsset_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11944
+ collateralAsset_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11945
+ collateralAsset_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11946
+ collateralAsset_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11947
+ collateralAsset_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11948
+ collateralAsset_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11949
+ collateralAsset_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11950
+ collateralAsset_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11951
+ depositIndex?: InputMaybe<Scalars["Int"]["input"]>;
11952
+ depositIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11953
+ depositIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11954
+ depositIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11955
+ depositIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11956
+ depositIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11957
+ depositIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11958
+ depositIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11959
+ depositors_?: InputMaybe<SubgraphSimpleCollateralContractDepositor_Filter>;
11960
+ deposits_?: InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>;
11961
+ eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
11962
+ eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
11963
+ eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
11964
+ eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11965
+ eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
11966
+ eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
11967
+ eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
11968
+ eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
11969
+ factory?: InputMaybe<Scalars["String"]["input"]>;
11970
+ factory_?: InputMaybe<SubgraphSimpleCollateralFactory_Filter>;
11971
+ factory_contains?: InputMaybe<Scalars["String"]["input"]>;
11972
+ factory_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11973
+ factory_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11974
+ factory_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11975
+ factory_gt?: InputMaybe<Scalars["String"]["input"]>;
11976
+ factory_gte?: InputMaybe<Scalars["String"]["input"]>;
11977
+ factory_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11978
+ factory_lt?: InputMaybe<Scalars["String"]["input"]>;
11979
+ factory_lte?: InputMaybe<Scalars["String"]["input"]>;
11980
+ factory_not?: InputMaybe<Scalars["String"]["input"]>;
11981
+ factory_not_contains?: InputMaybe<Scalars["String"]["input"]>;
11982
+ factory_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
11983
+ factory_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
11984
+ factory_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11985
+ factory_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
11986
+ factory_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11987
+ factory_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11988
+ factory_starts_with?: InputMaybe<Scalars["String"]["input"]>;
11989
+ factory_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
11990
+ fullResets_?: InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>;
11991
+ id?: InputMaybe<Scalars["ID"]["input"]>;
11992
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
11993
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
11994
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11995
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
11996
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
11997
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
11998
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
11999
+ lastFullLiquidationIndex?: InputMaybe<Scalars["Int"]["input"]>;
12000
+ lastFullLiquidationIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
12001
+ lastFullLiquidationIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
12002
+ lastFullLiquidationIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
12003
+ lastFullLiquidationIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
12004
+ lastFullLiquidationIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
12005
+ lastFullLiquidationIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
12006
+ lastFullLiquidationIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
12007
+ liquidationCooldown?: InputMaybe<Scalars["Int"]["input"]>;
12008
+ liquidationCooldown_gt?: InputMaybe<Scalars["Int"]["input"]>;
12009
+ liquidationCooldown_gte?: InputMaybe<Scalars["Int"]["input"]>;
12010
+ liquidationCooldown_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
12011
+ liquidationCooldown_lt?: InputMaybe<Scalars["Int"]["input"]>;
12012
+ liquidationCooldown_lte?: InputMaybe<Scalars["Int"]["input"]>;
12013
+ liquidationCooldown_not?: InputMaybe<Scalars["Int"]["input"]>;
12014
+ liquidationCooldown_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
12015
+ liquidations_?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>;
12016
+ market?: InputMaybe<Scalars["String"]["input"]>;
12017
+ market_?: InputMaybe<SubgraphMarket_Filter>;
12018
+ market_contains?: InputMaybe<Scalars["String"]["input"]>;
12019
+ market_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
12020
+ market_ends_with?: InputMaybe<Scalars["String"]["input"]>;
12021
+ market_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
12022
+ market_gt?: InputMaybe<Scalars["String"]["input"]>;
12023
+ market_gte?: InputMaybe<Scalars["String"]["input"]>;
12024
+ market_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
12025
+ market_lt?: InputMaybe<Scalars["String"]["input"]>;
12026
+ market_lte?: InputMaybe<Scalars["String"]["input"]>;
12027
+ market_not?: InputMaybe<Scalars["String"]["input"]>;
12028
+ market_not_contains?: InputMaybe<Scalars["String"]["input"]>;
12029
+ market_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
12030
+ market_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
12031
+ market_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
12032
+ market_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
12033
+ market_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
12034
+ market_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
12035
+ market_starts_with?: InputMaybe<Scalars["String"]["input"]>;
12036
+ market_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
12037
+ nextLiquidationTrigger?: InputMaybe<Scalars["Int"]["input"]>;
12038
+ nextLiquidationTrigger_gt?: InputMaybe<Scalars["Int"]["input"]>;
12039
+ nextLiquidationTrigger_gte?: InputMaybe<Scalars["Int"]["input"]>;
12040
+ nextLiquidationTrigger_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
12041
+ nextLiquidationTrigger_lt?: InputMaybe<Scalars["Int"]["input"]>;
12042
+ nextLiquidationTrigger_lte?: InputMaybe<Scalars["Int"]["input"]>;
12043
+ nextLiquidationTrigger_not?: InputMaybe<Scalars["Int"]["input"]>;
12044
+ nextLiquidationTrigger_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
12045
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralContract_Filter>>>;
12046
+ reclaims_?: InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>;
12047
+ totalDeposited?: InputMaybe<Scalars["BigInt"]["input"]>;
12048
+ totalDeposited_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
12049
+ totalDeposited_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
12050
+ totalDeposited_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
12051
+ totalDeposited_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
12052
+ totalDeposited_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
12053
+ totalDeposited_not?: InputMaybe<Scalars["BigInt"]["input"]>;
12054
+ totalDeposited_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
12055
+ totalLiquidated?: InputMaybe<Scalars["BigInt"]["input"]>;
12056
+ totalLiquidated_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
12057
+ totalLiquidated_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
12058
+ totalLiquidated_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
12059
+ totalLiquidated_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
12060
+ totalLiquidated_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
12061
+ totalLiquidated_not?: InputMaybe<Scalars["BigInt"]["input"]>;
12062
+ totalLiquidated_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
12063
+ totalReclaimed?: InputMaybe<Scalars["BigInt"]["input"]>;
12064
+ totalReclaimed_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
12065
+ totalReclaimed_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
12066
+ totalReclaimed_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
12067
+ totalReclaimed_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
12068
+ totalReclaimed_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
12069
+ totalReclaimed_not?: InputMaybe<Scalars["BigInt"]["input"]>;
12070
+ totalReclaimed_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
12071
+ totalShares?: InputMaybe<Scalars["BigInt"]["input"]>;
12072
+ totalShares_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
12073
+ totalShares_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
12074
+ totalShares_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
12075
+ totalShares_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
12076
+ totalShares_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
12077
+ totalShares_not?: InputMaybe<Scalars["BigInt"]["input"]>;
12078
+ totalShares_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
12079
+ };
12080
+ export declare enum SubgraphSimpleCollateralContract_OrderBy {
12081
+ AvailableCollateral = "availableCollateral",
12082
+ BebopSettlementContract = "bebopSettlementContract",
12083
+ CollateralAsset = "collateralAsset",
12084
+ CollateralAssetAddress = "collateralAsset__address",
12085
+ CollateralAssetDecimals = "collateralAsset__decimals",
12086
+ CollateralAssetId = "collateralAsset__id",
12087
+ CollateralAssetIsMock = "collateralAsset__isMock",
12088
+ CollateralAssetName = "collateralAsset__name",
12089
+ CollateralAssetSymbol = "collateralAsset__symbol",
12090
+ DepositIndex = "depositIndex",
12091
+ Depositors = "depositors",
12092
+ Deposits = "deposits",
12093
+ EventIndex = "eventIndex",
12094
+ Factory = "factory",
12095
+ FactoryId = "factory__id",
12096
+ FullResets = "fullResets",
12097
+ Id = "id",
12098
+ LastFullLiquidationIndex = "lastFullLiquidationIndex",
12099
+ LiquidationCooldown = "liquidationCooldown",
12100
+ Liquidations = "liquidations",
12101
+ Market = "market",
12102
+ MarketAnnualInterestBips = "market__annualInterestBips",
12103
+ MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
12104
+ MarketBorrowIndex = "market__borrowIndex",
12105
+ MarketBorrower = "market__borrower",
12106
+ MarketCreatedAt = "market__createdAt",
12107
+ MarketDebtRepaidIndex = "market__debtRepaidIndex",
12108
+ MarketDecimals = "market__decimals",
12109
+ MarketDelinquencyFeeBips = "market__delinquencyFeeBips",
12110
+ MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
12111
+ MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
12112
+ MarketDepositIndex = "market__depositIndex",
12113
+ MarketEventIndex = "market__eventIndex",
12114
+ MarketFeeRecipient = "market__feeRecipient",
12115
+ MarketFeesCollectedIndex = "market__feesCollectedIndex",
12116
+ MarketFixedTermUpdatedIndex = "market__fixedTermUpdatedIndex",
12117
+ MarketForceBuyBackIndex = "market__forceBuyBackIndex",
12118
+ MarketId = "market__id",
12119
+ MarketIsClosed = "market__isClosed",
12120
+ MarketIsDelinquent = "market__isDelinquent",
12121
+ MarketIsIncurringPenalties = "market__isIncurringPenalties",
12122
+ MarketIsRegistered = "market__isRegistered",
12123
+ MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
12124
+ MarketMaxTotalSupply = "market__maxTotalSupply",
12125
+ MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
12126
+ MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
12127
+ MarketName = "market__name",
12128
+ MarketNormalizedUnclaimedWithdrawals = "market__normalizedUnclaimedWithdrawals",
12129
+ MarketOriginalAnnualInterestBips = "market__originalAnnualInterestBips",
12130
+ MarketOriginalReserveRatioBips = "market__originalReserveRatioBips",
12131
+ MarketPendingProtocolFees = "market__pendingProtocolFees",
12132
+ MarketPendingWithdrawalExpiry = "market__pendingWithdrawalExpiry",
12133
+ MarketProtocolFeeBips = "market__protocolFeeBips",
12134
+ MarketProtocolFeeBipsUpdatedIndex = "market__protocolFeeBipsUpdatedIndex",
12135
+ MarketReserveRatioBips = "market__reserveRatioBips",
12136
+ MarketScaleFactor = "market__scaleFactor",
12137
+ MarketScaledPendingWithdrawals = "market__scaledPendingWithdrawals",
12138
+ MarketScaledTotalSupply = "market__scaledTotalSupply",
12139
+ MarketSentinel = "market__sentinel",
12140
+ MarketSymbol = "market__symbol",
12141
+ MarketTemporaryReserveRatioActive = "market__temporaryReserveRatioActive",
12142
+ MarketTemporaryReserveRatioExpiry = "market__temporaryReserveRatioExpiry",
12143
+ MarketTimeDelinquent = "market__timeDelinquent",
12144
+ MarketTotalBaseInterestAccrued = "market__totalBaseInterestAccrued",
12145
+ MarketTotalBorrowed = "market__totalBorrowed",
12146
+ MarketTotalDelinquencyFeesAccrued = "market__totalDelinquencyFeesAccrued",
12147
+ MarketTotalDeposited = "market__totalDeposited",
12148
+ MarketTotalProtocolFeesAccrued = "market__totalProtocolFeesAccrued",
12149
+ MarketTotalRepaid = "market__totalRepaid",
12150
+ MarketVersion = "market__version",
12151
+ MarketWithdrawalBatchDuration = "market__withdrawalBatchDuration",
12152
+ MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
12153
+ NextLiquidationTrigger = "nextLiquidationTrigger",
12154
+ Reclaims = "reclaims",
12155
+ TotalDeposited = "totalDeposited",
12156
+ TotalLiquidated = "totalLiquidated",
12157
+ TotalReclaimed = "totalReclaimed",
12158
+ TotalShares = "totalShares"
12159
+ }
12160
+ export type SubgraphSimpleCollateralFactory = {
12161
+ __typename: "SimpleCollateralFactory";
12162
+ approvedLiquidators: SubgraphApprovedLiquidator[];
12163
+ collateralContracts: SubgraphSimpleCollateralContract[];
12164
+ id: Scalars["ID"]["output"];
12165
+ liquidatorApprovals: SubgraphLiquidatorApproved[];
12166
+ liquidatorRemovals: SubgraphLiquidatorRemoved[];
12167
+ };
12168
+ export type SubgraphSimpleCollateralFactoryApprovedLiquidatorsArgs = {
12169
+ first?: InputMaybe<Scalars["Int"]["input"]>;
12170
+ orderBy?: InputMaybe<SubgraphApprovedLiquidator_OrderBy>;
12171
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
12172
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
12173
+ where?: InputMaybe<SubgraphApprovedLiquidator_Filter>;
12174
+ };
12175
+ export type SubgraphSimpleCollateralFactoryCollateralContractsArgs = SubgraphMarketCollateralContractsArgs;
12176
+ export type SubgraphSimpleCollateralFactoryLiquidatorApprovalsArgs = {
12177
+ first?: InputMaybe<Scalars["Int"]["input"]>;
12178
+ orderBy?: InputMaybe<SubgraphLiquidatorApproved_OrderBy>;
12179
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
12180
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
12181
+ where?: InputMaybe<SubgraphLiquidatorApproved_Filter>;
12182
+ };
12183
+ export type SubgraphSimpleCollateralFactoryLiquidatorRemovalsArgs = {
12184
+ first?: InputMaybe<Scalars["Int"]["input"]>;
12185
+ orderBy?: InputMaybe<SubgraphLiquidatorRemoved_OrderBy>;
12186
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
12187
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
12188
+ where?: InputMaybe<SubgraphLiquidatorRemoved_Filter>;
12189
+ };
12190
+ export type SubgraphSimpleCollateralFactory_Filter = {
12191
+ /** Filter for the block changed event. */
12192
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
12193
+ and?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralFactory_Filter>>>;
12194
+ approvedLiquidators_?: InputMaybe<SubgraphApprovedLiquidator_Filter>;
12195
+ collateralContracts_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
12196
+ id?: InputMaybe<Scalars["ID"]["input"]>;
12197
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
12198
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
12199
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
12200
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
12201
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
12202
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
12203
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
12204
+ liquidatorApprovals_?: InputMaybe<SubgraphLiquidatorApproved_Filter>;
12205
+ liquidatorRemovals_?: InputMaybe<SubgraphLiquidatorRemoved_Filter>;
12206
+ or?: InputMaybe<Array<InputMaybe<SubgraphSimpleCollateralFactory_Filter>>>;
12207
+ };
12208
+ export declare enum SubgraphSimpleCollateralFactory_OrderBy {
12209
+ ApprovedLiquidators = "approvedLiquidators",
12210
+ CollateralContracts = "collateralContracts",
12211
+ Id = "id",
12212
+ LiquidatorApprovals = "liquidatorApprovals",
12213
+ LiquidatorRemovals = "liquidatorRemovals"
12214
+ }
12215
+ /** v2.0.1 */
12216
+ export type SubgraphSubgraphVersion = {
12217
+ __typename: "SubgraphVersion";
12218
+ id: Scalars["ID"]["output"];
12219
+ };
12220
+ export type SubgraphSubgraphVersion_Filter = {
12221
+ /** Filter for the block changed event. */
12222
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
12223
+ and?: InputMaybe<Array<InputMaybe<SubgraphSubgraphVersion_Filter>>>;
12224
+ id?: InputMaybe<Scalars["ID"]["input"]>;
12225
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
12226
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
12227
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
12228
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
12229
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
12230
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
12231
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
12232
+ or?: InputMaybe<Array<InputMaybe<SubgraphSubgraphVersion_Filter>>>;
12233
+ };
12234
+ export declare enum SubgraphSubgraphVersion_OrderBy {
12235
+ Id = "id"
12236
+ }
12237
+ export type SubgraphSubscription = {
12238
+ __typename: "Subscription";
12239
+ /** Access to subgraph metadata */
12240
+ _meta?: Maybe<Subgraph_Meta_>;
12241
+ accountAccessGranted?: Maybe<SubgraphAccountAccessGranted>;
12242
+ accountAccessGranteds: SubgraphAccountAccessGranted[];
12243
+ accountAccessRevoked?: Maybe<SubgraphAccountAccessRevoked>;
12244
+ accountAccessRevokeds: SubgraphAccountAccessRevoked[];
12245
+ accountBlockedFromDeposits?: Maybe<SubgraphAccountBlockedFromDeposits>;
12246
+ accountBlockedFromDeposits_collection: SubgraphAccountBlockedFromDeposits[];
12247
+ accountMadeFirstDeposit?: Maybe<SubgraphAccountMadeFirstDeposit>;
12248
+ accountMadeFirstDeposits: SubgraphAccountMadeFirstDeposit[];
12249
+ accountUnblockedFromDeposits?: Maybe<SubgraphAccountUnblockedFromDeposits>;
12250
+ accountUnblockedFromDeposits_collection: SubgraphAccountUnblockedFromDeposits[];
12251
+ annualInterestBipsUpdated?: Maybe<SubgraphAnnualInterestBipsUpdated>;
12252
+ annualInterestBipsUpdateds: SubgraphAnnualInterestBipsUpdated[];
12253
+ approval?: Maybe<SubgraphApproval>;
12254
+ approvals: SubgraphApproval[];
12255
+ approvedLiquidator?: Maybe<SubgraphApprovedLiquidator>;
12256
+ approvedLiquidators: SubgraphApprovedLiquidator[];
12257
+ archController?: Maybe<SubgraphArchController>;
12258
+ archControllers: SubgraphArchController[];
12259
+ borrow?: Maybe<SubgraphBorrow>;
12260
+ borrowerRegistrationChange?: Maybe<SubgraphBorrowerRegistrationChange>;
12261
+ borrowerRegistrationChanges: SubgraphBorrowerRegistrationChange[];
10725
12262
  borrows: SubgraphBorrow[];
10726
12263
  controller?: Maybe<SubgraphController>;
10727
12264
  controllerAdded?: Maybe<SubgraphControllerAdded>;
@@ -10781,6 +12318,10 @@ export type SubgraphSubscription = {
10781
12318
  lenderInterestAccrueds: SubgraphLenderInterestAccrued[];
10782
12319
  lenderWithdrawalStatus?: Maybe<SubgraphLenderWithdrawalStatus>;
10783
12320
  lenderWithdrawalStatuses: SubgraphLenderWithdrawalStatus[];
12321
+ liquidatorApproved?: Maybe<SubgraphLiquidatorApproved>;
12322
+ liquidatorApproveds: SubgraphLiquidatorApproved[];
12323
+ liquidatorRemoved?: Maybe<SubgraphLiquidatorRemoved>;
12324
+ liquidatorRemoveds: SubgraphLiquidatorRemoved[];
10784
12325
  market?: Maybe<SubgraphMarket>;
10785
12326
  marketAdded?: Maybe<SubgraphMarketAdded>;
10786
12327
  marketAddeds: SubgraphMarketAdded[];
@@ -10833,6 +12374,22 @@ export type SubgraphSubscription = {
10833
12374
  sanctionedAccountAssetsSentToEscrows: SubgraphSanctionedAccountAssetsSentToEscrow[];
10834
12375
  sanctionedAccountWithdrawalSentToEscrow?: Maybe<SubgraphSanctionedAccountWithdrawalSentToEscrow>;
10835
12376
  sanctionedAccountWithdrawalSentToEscrows: SubgraphSanctionedAccountWithdrawalSentToEscrow[];
12377
+ simpleCollateralContract?: Maybe<SubgraphSimpleCollateralContract>;
12378
+ simpleCollateralContractDeposit?: Maybe<SubgraphSimpleCollateralContractDeposit>;
12379
+ simpleCollateralContractDepositor?: Maybe<SubgraphSimpleCollateralContractDepositor>;
12380
+ simpleCollateralContractDepositors: SubgraphSimpleCollateralContractDepositor[];
12381
+ simpleCollateralContractDeposits: SubgraphSimpleCollateralContractDeposit[];
12382
+ simpleCollateralContractFullReset?: Maybe<SubgraphSimpleCollateralContractFullReset>;
12383
+ simpleCollateralContractFullResets: SubgraphSimpleCollateralContractFullReset[];
12384
+ simpleCollateralContractLiquidatedSharesReset?: Maybe<SubgraphSimpleCollateralContractLiquidatedSharesReset>;
12385
+ simpleCollateralContractLiquidatedSharesResets: SubgraphSimpleCollateralContractLiquidatedSharesReset[];
12386
+ simpleCollateralContractLiquidation?: Maybe<SubgraphSimpleCollateralContractLiquidation>;
12387
+ simpleCollateralContractLiquidations: SubgraphSimpleCollateralContractLiquidation[];
12388
+ simpleCollateralContractReclaim?: Maybe<SubgraphSimpleCollateralContractReclaim>;
12389
+ simpleCollateralContractReclaims: SubgraphSimpleCollateralContractReclaim[];
12390
+ simpleCollateralContracts: SubgraphSimpleCollateralContract[];
12391
+ simpleCollateralFactories: SubgraphSimpleCollateralFactory[];
12392
+ simpleCollateralFactory?: Maybe<SubgraphSimpleCollateralFactory>;
10836
12393
  subgraphVersion?: Maybe<SubgraphSubgraphVersion>;
10837
12394
  subgraphVersions: SubgraphSubgraphVersion[];
10838
12395
  token?: Maybe<SubgraphToken>;
@@ -10871,6 +12428,8 @@ export type SubgraphSubscriptionAnnualInterestBipsUpdatedArgs = SubgraphQueryAcc
10871
12428
  export type SubgraphSubscriptionAnnualInterestBipsUpdatedsArgs = SubgraphQueryAnnualInterestBipsUpdatedsArgs;
10872
12429
  export type SubgraphSubscriptionApprovalArgs = SubgraphQueryAccountAccessGrantedArgs;
10873
12430
  export type SubgraphSubscriptionApprovalsArgs = SubgraphQueryApprovalsArgs;
12431
+ export type SubgraphSubscriptionApprovedLiquidatorArgs = SubgraphQueryAccountAccessGrantedArgs;
12432
+ export type SubgraphSubscriptionApprovedLiquidatorsArgs = SubgraphQueryApprovedLiquidatorsArgs;
10874
12433
  export type SubgraphSubscriptionArchControllerArgs = SubgraphQueryAccountAccessGrantedArgs;
10875
12434
  export type SubgraphSubscriptionArchControllersArgs = SubgraphQueryArchControllersArgs;
10876
12435
  export type SubgraphSubscriptionBorrowArgs = SubgraphQueryAccountAccessGrantedArgs;
@@ -10935,6 +12494,10 @@ export type SubgraphSubscriptionLenderInterestAccruedArgs = SubgraphQueryAccount
10935
12494
  export type SubgraphSubscriptionLenderInterestAccruedsArgs = SubgraphQueryLenderInterestAccruedsArgs;
10936
12495
  export type SubgraphSubscriptionLenderWithdrawalStatusArgs = SubgraphQueryAccountAccessGrantedArgs;
10937
12496
  export type SubgraphSubscriptionLenderWithdrawalStatusesArgs = SubgraphQueryLenderWithdrawalStatusesArgs;
12497
+ export type SubgraphSubscriptionLiquidatorApprovedArgs = SubgraphQueryAccountAccessGrantedArgs;
12498
+ export type SubgraphSubscriptionLiquidatorApprovedsArgs = SubgraphQueryLiquidatorApprovedsArgs;
12499
+ export type SubgraphSubscriptionLiquidatorRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
12500
+ export type SubgraphSubscriptionLiquidatorRemovedsArgs = SubgraphQueryLiquidatorRemovedsArgs;
10938
12501
  export type SubgraphSubscriptionMarketArgs = SubgraphQueryAccountAccessGrantedArgs;
10939
12502
  export type SubgraphSubscriptionMarketAddedArgs = SubgraphQueryAccountAccessGrantedArgs;
10940
12503
  export type SubgraphSubscriptionMarketAddedsArgs = SubgraphQueryMarketAddedsArgs;
@@ -10987,6 +12550,22 @@ export type SubgraphSubscriptionSanctionedAccountAssetsSentToEscrowArgs = Subgra
10987
12550
  export type SubgraphSubscriptionSanctionedAccountAssetsSentToEscrowsArgs = SubgraphQuerySanctionedAccountAssetsSentToEscrowsArgs;
10988
12551
  export type SubgraphSubscriptionSanctionedAccountWithdrawalSentToEscrowArgs = SubgraphQueryAccountAccessGrantedArgs;
10989
12552
  export type SubgraphSubscriptionSanctionedAccountWithdrawalSentToEscrowsArgs = SubgraphQuerySanctionedAccountWithdrawalSentToEscrowsArgs;
12553
+ export type SubgraphSubscriptionSimpleCollateralContractArgs = SubgraphQueryAccountAccessGrantedArgs;
12554
+ export type SubgraphSubscriptionSimpleCollateralContractDepositArgs = SubgraphQueryAccountAccessGrantedArgs;
12555
+ export type SubgraphSubscriptionSimpleCollateralContractDepositorArgs = SubgraphQueryAccountAccessGrantedArgs;
12556
+ export type SubgraphSubscriptionSimpleCollateralContractDepositorsArgs = SubgraphQuerySimpleCollateralContractDepositorsArgs;
12557
+ export type SubgraphSubscriptionSimpleCollateralContractDepositsArgs = SubgraphQuerySimpleCollateralContractDepositsArgs;
12558
+ export type SubgraphSubscriptionSimpleCollateralContractFullResetArgs = SubgraphQueryAccountAccessGrantedArgs;
12559
+ export type SubgraphSubscriptionSimpleCollateralContractFullResetsArgs = SubgraphQuerySimpleCollateralContractFullResetsArgs;
12560
+ export type SubgraphSubscriptionSimpleCollateralContractLiquidatedSharesResetArgs = SubgraphQueryAccountAccessGrantedArgs;
12561
+ export type SubgraphSubscriptionSimpleCollateralContractLiquidatedSharesResetsArgs = SubgraphQuerySimpleCollateralContractLiquidatedSharesResetsArgs;
12562
+ export type SubgraphSubscriptionSimpleCollateralContractLiquidationArgs = SubgraphQueryAccountAccessGrantedArgs;
12563
+ export type SubgraphSubscriptionSimpleCollateralContractLiquidationsArgs = SubgraphQuerySimpleCollateralContractLiquidationsArgs;
12564
+ export type SubgraphSubscriptionSimpleCollateralContractReclaimArgs = SubgraphQueryAccountAccessGrantedArgs;
12565
+ export type SubgraphSubscriptionSimpleCollateralContractReclaimsArgs = SubgraphQuerySimpleCollateralContractReclaimsArgs;
12566
+ export type SubgraphSubscriptionSimpleCollateralContractsArgs = SubgraphQuerySimpleCollateralContractsArgs;
12567
+ export type SubgraphSubscriptionSimpleCollateralFactoriesArgs = SubgraphQuerySimpleCollateralFactoriesArgs;
12568
+ export type SubgraphSubscriptionSimpleCollateralFactoryArgs = SubgraphQueryAccountAccessGrantedArgs;
10990
12569
  export type SubgraphSubscriptionSubgraphVersionArgs = SubgraphQueryAccountAccessGrantedArgs;
10991
12570
  export type SubgraphSubscriptionSubgraphVersionsArgs = SubgraphQuerySubgraphVersionsArgs;
10992
12571
  export type SubgraphSubscriptionTokenArgs = SubgraphQueryAccountAccessGrantedArgs;
@@ -13225,6 +14804,180 @@ export type SubgraphHooksTemplateDataFragment = {
13225
14804
  disabled: boolean;
13226
14805
  originationFeeAsset?: SubgraphTokenDataFragment | null;
13227
14806
  };
14807
+ export type SubgraphApprovedLiquidatorDataFragment = {
14808
+ __typename: "ApprovedLiquidator";
14809
+ isApproved: boolean;
14810
+ liquidator: string;
14811
+ };
14812
+ export type SubgraphLiquidatorApprovedDataFragment = {
14813
+ __typename: "LiquidatorApproved";
14814
+ liquidator: string;
14815
+ blockNumber: number;
14816
+ blockTimestamp: number;
14817
+ transactionHash: string;
14818
+ };
14819
+ export type SubgraphLiquidatorRemovedDataFragment = {
14820
+ __typename: "LiquidatorRemoved";
14821
+ liquidator: string;
14822
+ blockNumber: number;
14823
+ blockTimestamp: number;
14824
+ transactionHash: string;
14825
+ };
14826
+ export type SubgraphSimpleCollateralContractDataFragment = {
14827
+ __typename: "SimpleCollateralContract";
14828
+ id: string;
14829
+ bebopSettlementContract: string;
14830
+ liquidationCooldown: number;
14831
+ nextLiquidationTrigger: number;
14832
+ totalDeposited: string;
14833
+ totalReclaimed: string;
14834
+ totalLiquidated: string;
14835
+ totalShares: string;
14836
+ availableCollateral: string;
14837
+ lastFullLiquidationIndex: number;
14838
+ depositIndex: number;
14839
+ eventIndex: number;
14840
+ factory: {
14841
+ __typename: "SimpleCollateralFactory";
14842
+ id: string;
14843
+ };
14844
+ market: {
14845
+ __typename: "Market";
14846
+ id: string;
14847
+ isClosed: boolean;
14848
+ isDelinquent: boolean;
14849
+ timeDelinquent: number;
14850
+ delinquencyGracePeriod: number;
14851
+ underlyingAsset: SubgraphTokenDataFragment;
14852
+ };
14853
+ collateralAsset?: SubgraphTokenDataFragment | null;
14854
+ };
14855
+ export type SubgraphSimpleCollateralContractReclaimDataFragment = {
14856
+ __typename: "SimpleCollateralContractReclaim";
14857
+ id: string;
14858
+ amountReclaimed: string;
14859
+ sharesBurned: string;
14860
+ blockNumber: number;
14861
+ blockTimestamp: number;
14862
+ transactionHash: string;
14863
+ collateralContract: {
14864
+ __typename: "SimpleCollateralContract";
14865
+ id: string;
14866
+ };
14867
+ account: {
14868
+ __typename: "SimpleCollateralContractDepositor";
14869
+ id: string;
14870
+ };
14871
+ };
14872
+ export type SubgraphSimpleCollateralContractDepositorDataFragment = {
14873
+ __typename: "SimpleCollateralContractDepositor";
14874
+ id: string;
14875
+ shares: string;
14876
+ totalDeposited: string;
14877
+ totalReclaimed: string;
14878
+ collateralContract: {
14879
+ __typename: "SimpleCollateralContract";
14880
+ id: string;
14881
+ };
14882
+ };
14883
+ export type SubgraphSimpleCollateralContractLiquidationDataFragment = {
14884
+ __typename: "SimpleCollateralContractLiquidation";
14885
+ id: string;
14886
+ collateralLiquidated: string;
14887
+ underlyingReceived: string;
14888
+ liquidator: string;
14889
+ eventIndex: number;
14890
+ blockNumber: number;
14891
+ blockTimestamp: number;
14892
+ transactionHash: string;
14893
+ collateralContract: {
14894
+ __typename: "SimpleCollateralContract";
14895
+ id: string;
14896
+ };
14897
+ };
14898
+ export type SubgraphSimpleCollateralContractFullResetDataFragment = {
14899
+ __typename: "SimpleCollateralContractFullReset";
14900
+ id: string;
14901
+ lastFullLiquidationIndex: number;
14902
+ eventIndex: number;
14903
+ blockNumber: number;
14904
+ blockTimestamp: number;
14905
+ transactionHash: string;
14906
+ collateralContract: {
14907
+ __typename: "SimpleCollateralContract";
14908
+ id: string;
14909
+ };
14910
+ };
14911
+ export type SubgraphSimpleCollateralContractLiquidatedSharesResetDataFragment = {
14912
+ __typename: "SimpleCollateralContractLiquidatedSharesReset";
14913
+ id: string;
14914
+ sharesReset: string;
14915
+ eventIndex: number;
14916
+ blockNumber: number;
14917
+ blockTimestamp: number;
14918
+ transactionHash: string;
14919
+ collateralContract: {
14920
+ __typename: "SimpleCollateralContract";
14921
+ id: string;
14922
+ };
14923
+ account: {
14924
+ __typename: "SimpleCollateralContractDepositor";
14925
+ id: string;
14926
+ };
14927
+ };
14928
+ export type SubgraphSimpleCollateralContractDepositDataFragment = {
14929
+ __typename: "SimpleCollateralContractDeposit";
14930
+ id: string;
14931
+ amountDeposited: string;
14932
+ sharesMinted: string;
14933
+ lastFullLiquidationIndex: number;
14934
+ depositIndex: number;
14935
+ blockNumber: number;
14936
+ blockTimestamp: number;
14937
+ transactionHash: string;
14938
+ collateralContract: {
14939
+ __typename: "SimpleCollateralContract";
14940
+ id: string;
14941
+ };
14942
+ account: {
14943
+ __typename: "SimpleCollateralContractDepositor";
14944
+ id: string;
14945
+ };
14946
+ };
14947
+ export type SubgraphSimpleCollateralContractDataWithEventsFragment = {
14948
+ __typename: "SimpleCollateralContract";
14949
+ id: string;
14950
+ bebopSettlementContract: string;
14951
+ liquidationCooldown: number;
14952
+ nextLiquidationTrigger: number;
14953
+ totalDeposited: string;
14954
+ totalReclaimed: string;
14955
+ totalLiquidated: string;
14956
+ totalShares: string;
14957
+ availableCollateral: string;
14958
+ lastFullLiquidationIndex: number;
14959
+ depositIndex: number;
14960
+ eventIndex: number;
14961
+ depositors: SubgraphSimpleCollateralContractDepositorDataFragment[];
14962
+ liquidations: SubgraphSimpleCollateralContractLiquidationDataFragment[];
14963
+ deposits: SubgraphSimpleCollateralContractDepositDataFragment[];
14964
+ reclaims: SubgraphSimpleCollateralContractReclaimDataFragment[];
14965
+ fullResets: SubgraphSimpleCollateralContractFullResetDataFragment[];
14966
+ factory: {
14967
+ __typename: "SimpleCollateralFactory";
14968
+ id: string;
14969
+ };
14970
+ market: {
14971
+ __typename: "Market";
14972
+ id: string;
14973
+ isClosed: boolean;
14974
+ isDelinquent: boolean;
14975
+ timeDelinquent: number;
14976
+ delinquencyGracePeriod: number;
14977
+ underlyingAsset: SubgraphTokenDataFragment;
14978
+ };
14979
+ collateralAsset?: SubgraphTokenDataFragment | null;
14980
+ };
13228
14981
  export type SubgraphGetLenderAccountForMarketQueryVariables = Exact<{
13229
14982
  market: Scalars["ID"]["input"];
13230
14983
  lender: Scalars["Bytes"]["input"];
@@ -14061,6 +15814,57 @@ export type SubgraphGetAllTokensWithMarketsQuery = {
14061
15814
  decimals: number;
14062
15815
  }>;
14063
15816
  };
15817
+ export type SubgraphGetCollateralContractsByMarketQueryVariables = Exact<{
15818
+ market: Scalars["ID"]["input"];
15819
+ }>;
15820
+ export type SubgraphGetCollateralContractsByMarketQuery = {
15821
+ __typename: "Query";
15822
+ market?: {
15823
+ __typename: "Market";
15824
+ collateralContracts: SubgraphSimpleCollateralContractDataFragment[];
15825
+ } | null;
15826
+ };
15827
+ export type SubgraphGetCollateralContractQueryVariables = Exact<{
15828
+ collateralContract: Scalars["ID"]["input"];
15829
+ }>;
15830
+ export type SubgraphGetCollateralContractQuery = {
15831
+ __typename: "Query";
15832
+ simpleCollateralContract?: SubgraphSimpleCollateralContractDataFragment | null;
15833
+ };
15834
+ export type SubgraphGetApprovedLiquidatorsQueryVariables = Exact<{
15835
+ [key: string]: never;
15836
+ }>;
15837
+ export type SubgraphGetApprovedLiquidatorsQuery = {
15838
+ __typename: "Query";
15839
+ approvedLiquidators: Array<{
15840
+ __typename: "ApprovedLiquidator";
15841
+ liquidator: string;
15842
+ }>;
15843
+ };
15844
+ export type SubgraphGetCollateralContractEventsQueryVariables = Exact<{
15845
+ collateralContract: Scalars["ID"]["input"];
15846
+ startEventIndex?: InputMaybe<Scalars["Int"]["input"]>;
15847
+ endEventIndex?: InputMaybe<Scalars["Int"]["input"]>;
15848
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
15849
+ depositRecordsFilter?: InputMaybe<SubgraphSimpleCollateralContractDeposit_Filter>;
15850
+ includeDeposits?: InputMaybe<Scalars["Boolean"]["input"]>;
15851
+ reclaimRecordsFilter?: InputMaybe<SubgraphSimpleCollateralContractReclaim_Filter>;
15852
+ includeReclaims?: InputMaybe<Scalars["Boolean"]["input"]>;
15853
+ liquidationRecordsFilter?: InputMaybe<SubgraphSimpleCollateralContractLiquidation_Filter>;
15854
+ includeLiquidations?: InputMaybe<Scalars["Boolean"]["input"]>;
15855
+ fullResetRecordsFilter?: InputMaybe<SubgraphSimpleCollateralContractFullReset_Filter>;
15856
+ includeFullResets?: InputMaybe<Scalars["Boolean"]["input"]>;
15857
+ }>;
15858
+ export type SubgraphGetCollateralContractEventsQuery = {
15859
+ __typename: "Query";
15860
+ simpleCollateralContract?: {
15861
+ __typename: "SimpleCollateralContract";
15862
+ deposits?: SubgraphSimpleCollateralContractDepositDataFragment[];
15863
+ reclaims?: SubgraphSimpleCollateralContractReclaimDataFragment[];
15864
+ liquidations?: SubgraphSimpleCollateralContractLiquidationDataFragment[];
15865
+ fullResets?: SubgraphSimpleCollateralContractFullResetDataFragment[];
15866
+ } | null;
15867
+ };
14064
15868
  export declare const LenderPropertiesFragmentDoc: Apollo.DocumentNode;
14065
15869
  export declare const RoleProviderDataFragmentDoc: Apollo.DocumentNode;
14066
15870
  export declare const LenderHooksAccessDataFragmentDoc: Apollo.DocumentNode;
@@ -14098,6 +15902,17 @@ export declare const WithdrawalBatchPropertiesWithEventsFragmentDoc: Apollo.Docu
14098
15902
  export declare const AnnualInterestBipsUpdatedDataFragmentDoc: Apollo.DocumentNode;
14099
15903
  export declare const MaxTotalSupplyUpdatedDataFragmentDoc: Apollo.DocumentNode;
14100
15904
  export declare const MarketClosedDataFragmentDoc: Apollo.DocumentNode;
15905
+ export declare const ApprovedLiquidatorDataFragmentDoc: Apollo.DocumentNode;
15906
+ export declare const LiquidatorApprovedDataFragmentDoc: Apollo.DocumentNode;
15907
+ export declare const LiquidatorRemovedDataFragmentDoc: Apollo.DocumentNode;
15908
+ export declare const SimpleCollateralContractLiquidatedSharesResetDataFragmentDoc: Apollo.DocumentNode;
15909
+ export declare const SimpleCollateralContractDataFragmentDoc: Apollo.DocumentNode;
15910
+ export declare const SimpleCollateralContractDepositorDataFragmentDoc: Apollo.DocumentNode;
15911
+ export declare const SimpleCollateralContractLiquidationDataFragmentDoc: Apollo.DocumentNode;
15912
+ export declare const SimpleCollateralContractDepositDataFragmentDoc: Apollo.DocumentNode;
15913
+ export declare const SimpleCollateralContractReclaimDataFragmentDoc: Apollo.DocumentNode;
15914
+ export declare const SimpleCollateralContractFullResetDataFragmentDoc: Apollo.DocumentNode;
15915
+ export declare const SimpleCollateralContractDataWithEventsFragmentDoc: Apollo.DocumentNode;
14101
15916
  export declare const V1LenderWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
14102
15917
  export declare const ControllerAuthorizedLendersWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
14103
15918
  export declare const V2LenderWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
@@ -14158,4 +15973,12 @@ export declare const GetMarketRecordsDocument: Apollo.DocumentNode;
14158
15973
  export type GetMarketRecordsQueryResult = Apollo.QueryResult<SubgraphGetMarketRecordsQuery, SubgraphGetMarketRecordsQueryVariables>;
14159
15974
  export declare const GetAllTokensWithMarketsDocument: Apollo.DocumentNode;
14160
15975
  export type GetAllTokensWithMarketsQueryResult = Apollo.QueryResult<SubgraphGetAllTokensWithMarketsQuery, SubgraphGetAllTokensWithMarketsQueryVariables>;
15976
+ export declare const GetCollateralContractsByMarketDocument: Apollo.DocumentNode;
15977
+ export type GetCollateralContractsByMarketQueryResult = Apollo.QueryResult<SubgraphGetCollateralContractsByMarketQuery, SubgraphGetCollateralContractsByMarketQueryVariables>;
15978
+ export declare const GetCollateralContractDocument: Apollo.DocumentNode;
15979
+ export type GetCollateralContractQueryResult = Apollo.QueryResult<SubgraphGetCollateralContractQuery, SubgraphGetCollateralContractQueryVariables>;
15980
+ export declare const GetApprovedLiquidatorsDocument: Apollo.DocumentNode;
15981
+ export type GetApprovedLiquidatorsQueryResult = Apollo.QueryResult<SubgraphGetApprovedLiquidatorsQuery, SubgraphGetApprovedLiquidatorsQueryVariables>;
15982
+ export declare const GetCollateralContractEventsDocument: Apollo.DocumentNode;
15983
+ export type GetCollateralContractEventsQueryResult = Apollo.QueryResult<SubgraphGetCollateralContractEventsQuery, SubgraphGetCollateralContractEventsQueryVariables>;
14161
15984
  //# sourceMappingURL=graphql.d.ts.map