@wildcatfi/wildcat-sdk 3.0.76-beta → 3.1.1-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 (409) hide show
  1. package/README.md +2 -2
  2. package/dist/access/access-control.d.ts +23 -36
  3. package/dist/access/access-control.d.ts.map +1 -1
  4. package/dist/access/access-control.js +104 -142
  5. package/dist/access/access-control.js.map +1 -1
  6. package/dist/access/fixed-term.d.ts +23 -36
  7. package/dist/access/fixed-term.d.ts.map +1 -1
  8. package/dist/access/fixed-term.js +115 -154
  9. package/dist/access/fixed-term.js.map +1 -1
  10. package/dist/access/index.d.ts +9 -15
  11. package/dist/access/index.d.ts.map +1 -1
  12. package/dist/access/index.js +21 -59
  13. package/dist/access/index.js.map +1 -1
  14. package/dist/access/periodic-term.d.ts +84 -0
  15. package/dist/access/periodic-term.d.ts.map +1 -0
  16. package/dist/access/periodic-term.js +298 -0
  17. package/dist/access/periodic-term.js.map +1 -0
  18. package/dist/access/utils.d.ts +1 -11
  19. package/dist/access/utils.d.ts.map +1 -1
  20. package/dist/access/utils.js +11 -87
  21. package/dist/access/utils.js.map +1 -1
  22. package/dist/access/validation.d.ts +8 -32
  23. package/dist/access/validation.d.ts.map +1 -1
  24. package/dist/access/validation.js +1 -18
  25. package/dist/access/validation.js.map +1 -1
  26. package/dist/account/index.d.ts +39 -35
  27. package/dist/account/index.d.ts.map +1 -1
  28. package/dist/account/index.js +301 -315
  29. package/dist/account/index.js.map +1 -1
  30. package/dist/account/validation.d.ts +19 -3
  31. package/dist/account/validation.d.ts.map +1 -1
  32. package/dist/account/validation.js +16 -2
  33. package/dist/account/validation.js.map +1 -1
  34. package/dist/collateral/collateral-events.d.ts +10 -9
  35. package/dist/collateral/collateral-events.d.ts.map +1 -1
  36. package/dist/collateral/collateral-events.js +4 -4
  37. package/dist/collateral/collateral-events.js.map +1 -1
  38. package/dist/collateral/index.d.ts +10 -7
  39. package/dist/collateral/index.d.ts.map +1 -1
  40. package/dist/collateral/index.js +37 -36
  41. package/dist/collateral/index.js.map +1 -1
  42. package/dist/constants.d.ts +13 -100
  43. package/dist/constants.d.ts.map +1 -1
  44. package/dist/constants.js +27 -290
  45. package/dist/constants.js.map +1 -1
  46. package/dist/controller.d.ts +17 -10
  47. package/dist/controller.d.ts.map +1 -1
  48. package/dist/controller.js +67 -67
  49. package/dist/controller.js.map +1 -1
  50. package/dist/gql/getActiveLendersByMarket.d.ts +4 -5
  51. package/dist/gql/getActiveLendersByMarket.d.ts.map +1 -1
  52. package/dist/gql/getActiveLendersByMarket.js +10 -11
  53. package/dist/gql/getActiveLendersByMarket.js.map +1 -1
  54. package/dist/gql/getAllHooksDataForBorrower.d.ts.map +1 -1
  55. package/dist/gql/getAllHooksDataForBorrower.js +8 -11
  56. package/dist/gql/getAllHooksDataForBorrower.js.map +1 -1
  57. package/dist/gql/getAllHooksTemplates.d.ts.map +1 -1
  58. package/dist/gql/getAllHooksTemplates.js +4 -6
  59. package/dist/gql/getAllHooksTemplates.js.map +1 -1
  60. package/dist/gql/getLenderAccountsForAllMarkets.d.ts +1 -8
  61. package/dist/gql/getLenderAccountsForAllMarkets.d.ts.map +1 -1
  62. package/dist/gql/getLenderAccountsForAllMarkets.js +11 -26
  63. package/dist/gql/getLenderAccountsForAllMarkets.js.map +1 -1
  64. package/dist/gql/getMarketRecords.d.ts +2 -2
  65. package/dist/gql/getMarketRecords.d.ts.map +1 -1
  66. package/dist/gql/getMarketRecords.js +6 -2
  67. package/dist/gql/getMarketRecords.js.map +1 -1
  68. package/dist/gql/getMarketsForBorrower.d.ts.map +1 -1
  69. package/dist/gql/getMarketsForBorrower.js +2 -32
  70. package/dist/gql/getMarketsForBorrower.js.map +1 -1
  71. package/dist/gql/getMarketsWithEvents.d.ts.map +1 -1
  72. package/dist/gql/getMarketsWithEvents.js +0 -28
  73. package/dist/gql/getMarketsWithEvents.js.map +1 -1
  74. package/dist/gql/graphql.d.ts +678 -1480
  75. package/dist/gql/graphql.d.ts.map +1 -1
  76. package/dist/gql/graphql.js +243 -591
  77. package/dist/gql/graphql.js.map +1 -1
  78. package/dist/gql/index.d.ts +0 -2
  79. package/dist/gql/index.d.ts.map +1 -1
  80. package/dist/gql/index.js +0 -2
  81. package/dist/gql/index.js.map +1 -1
  82. package/dist/index.d.ts +4 -6
  83. package/dist/index.d.ts.map +1 -1
  84. package/dist/index.js +17 -8
  85. package/dist/index.js.map +1 -1
  86. package/dist/market.d.ts +22 -73
  87. package/dist/market.d.ts.map +1 -1
  88. package/dist/market.js +284 -582
  89. package/dist/market.js.map +1 -1
  90. package/dist/mockerc20factory.d.ts +11 -4
  91. package/dist/mockerc20factory.d.ts.map +1 -1
  92. package/dist/mockerc20factory.js +15 -20
  93. package/dist/mockerc20factory.js.map +1 -1
  94. package/dist/token.d.ts +12 -54
  95. package/dist/token.d.ts.map +1 -1
  96. package/dist/token.js +57 -148
  97. package/dist/token.js.map +1 -1
  98. package/dist/typechain/AccountQuery.d.ts +54 -0
  99. package/dist/typechain/AccountQuery.d.ts.map +1 -0
  100. package/dist/typechain/AccountQuery.js +3 -0
  101. package/dist/typechain/AccountQuery.js.map +1 -0
  102. package/dist/typechain/AccountsQuery.d.ts +54 -0
  103. package/dist/typechain/AccountsQuery.d.ts.map +1 -0
  104. package/dist/typechain/AccountsQuery.js +3 -0
  105. package/dist/typechain/AccountsQuery.js.map +1 -0
  106. package/dist/typechain/CheckBorrowersRegistered.d.ts +29 -0
  107. package/dist/typechain/CheckBorrowersRegistered.d.ts.map +1 -0
  108. package/dist/typechain/CheckBorrowersRegistered.js +3 -0
  109. package/dist/typechain/CheckBorrowersRegistered.js.map +1 -0
  110. package/dist/typechain/CheckSafeSignature.d.ts +29 -0
  111. package/dist/typechain/CheckSafeSignature.d.ts.map +1 -0
  112. package/dist/typechain/CheckSafeSignature.js +3 -0
  113. package/dist/typechain/CheckSafeSignature.js.map +1 -0
  114. package/dist/typechain/CollateralLens.d.ts +220 -0
  115. package/dist/typechain/CollateralLens.d.ts.map +1 -0
  116. package/dist/typechain/CollateralLens.js +3 -0
  117. package/dist/typechain/CollateralLens.js.map +1 -0
  118. package/dist/typechain/DescribeSignature.d.ts +100 -0
  119. package/dist/typechain/DescribeSignature.d.ts.map +1 -0
  120. package/dist/typechain/DescribeSignature.js +3 -0
  121. package/dist/typechain/DescribeSignature.js.map +1 -0
  122. package/dist/typechain/HooksFactory.d.ts +591 -16
  123. package/dist/typechain/HooksFactory.d.ts.map +1 -1
  124. package/dist/typechain/IERC20.d.ts +232 -0
  125. package/dist/typechain/IERC20.d.ts.map +1 -0
  126. package/dist/{lens-types.js → typechain/IERC20.js} +1 -1
  127. package/dist/typechain/IERC20.js.map +1 -0
  128. package/dist/typechain/IFixedTermHooks.d.ts +1032 -0
  129. package/dist/typechain/IFixedTermHooks.d.ts.map +1 -0
  130. package/dist/typechain/IFixedTermHooks.js +3 -0
  131. package/dist/typechain/IFixedTermHooks.js.map +1 -0
  132. package/dist/typechain/IOpenTermHooks.d.ts +987 -0
  133. package/dist/typechain/IOpenTermHooks.d.ts.map +1 -0
  134. package/dist/typechain/IOpenTermHooks.js +3 -0
  135. package/dist/typechain/IOpenTermHooks.js.map +1 -0
  136. package/dist/typechain/IPeriodicTermHooks.d.ts +663 -0
  137. package/dist/typechain/IPeriodicTermHooks.d.ts.map +1 -0
  138. package/dist/typechain/IPeriodicTermHooks.js +3 -0
  139. package/dist/typechain/IPeriodicTermHooks.js.map +1 -0
  140. package/dist/typechain/ISafe.d.ts +124 -0
  141. package/dist/typechain/ISafe.d.ts.map +1 -0
  142. package/dist/typechain/ISafe.js +3 -0
  143. package/dist/typechain/ISafe.js.map +1 -0
  144. package/dist/typechain/MarketLens.d.ts +611 -0
  145. package/dist/typechain/MarketLens.d.ts.map +1 -0
  146. package/dist/typechain/MarketLens.js +3 -0
  147. package/dist/typechain/MarketLens.js.map +1 -0
  148. package/dist/typechain/MarketLensV2.d.ts +710 -0
  149. package/dist/typechain/MarketLensV2.d.ts.map +1 -0
  150. package/dist/typechain/MarketLensV2.js +3 -0
  151. package/dist/typechain/MarketLensV2.js.map +1 -0
  152. package/dist/typechain/MockArchControllerOwner.d.ts +130 -0
  153. package/dist/typechain/MockArchControllerOwner.d.ts.map +1 -0
  154. package/dist/typechain/MockArchControllerOwner.js +3 -0
  155. package/dist/typechain/MockArchControllerOwner.js.map +1 -0
  156. package/dist/typechain/MockERC20Factory.d.ts +122 -0
  157. package/dist/typechain/MockERC20Factory.d.ts.map +1 -0
  158. package/dist/typechain/MockERC20Factory.js +3 -0
  159. package/dist/typechain/MockERC20Factory.js.map +1 -0
  160. package/dist/typechain/SimpleMarketCollateral.d.ts +270 -0
  161. package/dist/typechain/SimpleMarketCollateral.d.ts.map +1 -0
  162. package/dist/typechain/SimpleMarketCollateral.js +3 -0
  163. package/dist/typechain/SimpleMarketCollateral.js.map +1 -0
  164. package/dist/typechain/WildcatArchController.d.ts +545 -0
  165. package/dist/typechain/WildcatArchController.d.ts.map +1 -0
  166. package/dist/typechain/WildcatArchController.js +3 -0
  167. package/dist/typechain/WildcatArchController.js.map +1 -0
  168. package/dist/typechain/WildcatCollateralFactory.d.ts +164 -0
  169. package/dist/typechain/WildcatCollateralFactory.d.ts.map +1 -0
  170. package/dist/typechain/WildcatCollateralFactory.js +3 -0
  171. package/dist/typechain/WildcatCollateralFactory.js.map +1 -0
  172. package/dist/typechain/WildcatMarket.d.ts +1062 -0
  173. package/dist/typechain/WildcatMarket.d.ts.map +1 -0
  174. package/dist/typechain/WildcatMarket.js +3 -0
  175. package/dist/typechain/WildcatMarket.js.map +1 -0
  176. package/dist/typechain/WildcatMarketController.d.ts +553 -0
  177. package/dist/typechain/WildcatMarketController.d.ts.map +1 -0
  178. package/dist/typechain/WildcatMarketController.js +3 -0
  179. package/dist/typechain/WildcatMarketController.js.map +1 -0
  180. package/dist/typechain/WildcatMarketControllerFactory.d.ts +344 -0
  181. package/dist/typechain/WildcatMarketControllerFactory.d.ts.map +1 -0
  182. package/dist/typechain/WildcatMarketControllerFactory.js +3 -0
  183. package/dist/typechain/WildcatMarketControllerFactory.js.map +1 -0
  184. package/dist/typechain/WildcatMarketV2.d.ts +1086 -0
  185. package/dist/typechain/WildcatMarketV2.d.ts.map +1 -0
  186. package/dist/typechain/WildcatMarketV2.js +3 -0
  187. package/dist/typechain/WildcatMarketV2.js.map +1 -0
  188. package/dist/typechain/common.d.ts +23 -0
  189. package/dist/typechain/common.d.ts.map +1 -0
  190. package/dist/typechain/common.js +3 -0
  191. package/dist/typechain/common.js.map +1 -0
  192. package/dist/typechain/factories/AccountQuery__factory.d.ts +59 -0
  193. package/dist/typechain/factories/AccountQuery__factory.d.ts.map +1 -0
  194. package/dist/typechain/factories/AccountQuery__factory.js +91 -0
  195. package/dist/typechain/factories/AccountQuery__factory.js.map +1 -0
  196. package/dist/typechain/factories/AccountsQuery__factory.d.ts +59 -0
  197. package/dist/typechain/factories/AccountsQuery__factory.d.ts.map +1 -0
  198. package/dist/typechain/factories/AccountsQuery__factory.js +91 -0
  199. package/dist/typechain/factories/AccountsQuery__factory.js.map +1 -0
  200. package/dist/typechain/factories/CheckBorrowersRegistered__factory.d.ts +36 -0
  201. package/dist/typechain/factories/CheckBorrowersRegistered__factory.d.ts.map +1 -0
  202. package/dist/typechain/factories/CheckBorrowersRegistered__factory.js +60 -0
  203. package/dist/typechain/factories/CheckBorrowersRegistered__factory.js.map +1 -0
  204. package/dist/typechain/factories/CheckSafeSignature__factory.d.ts +40 -0
  205. package/dist/typechain/factories/CheckSafeSignature__factory.d.ts.map +1 -0
  206. package/dist/typechain/factories/CheckSafeSignature__factory.js +65 -0
  207. package/dist/typechain/factories/CheckSafeSignature__factory.js.map +1 -0
  208. package/dist/typechain/factories/CollateralLens__factory.d.ts +854 -0
  209. package/dist/typechain/factories/CollateralLens__factory.d.ts.map +1 -0
  210. package/dist/typechain/factories/CollateralLens__factory.js +1101 -0
  211. package/dist/typechain/factories/CollateralLens__factory.js.map +1 -0
  212. package/dist/typechain/factories/DescribeSignature__factory.d.ts +141 -0
  213. package/dist/typechain/factories/DescribeSignature__factory.d.ts.map +1 -0
  214. package/dist/typechain/factories/DescribeSignature__factory.js +198 -0
  215. package/dist/typechain/factories/DescribeSignature__factory.js.map +1 -0
  216. package/dist/typechain/factories/HooksFactory__factory.d.ts +902 -0
  217. package/dist/typechain/factories/HooksFactory__factory.d.ts.map +1 -0
  218. package/dist/typechain/factories/HooksFactory__factory.js +1168 -0
  219. package/dist/typechain/factories/HooksFactory__factory.js.map +1 -0
  220. package/dist/typechain/factories/IERC20__factory.d.ts +235 -0
  221. package/dist/typechain/factories/IERC20__factory.d.ts.map +1 -0
  222. package/dist/typechain/factories/IERC20__factory.js +315 -0
  223. package/dist/typechain/factories/IERC20__factory.js.map +1 -0
  224. package/dist/typechain/factories/IFixedTermHooks__factory.d.ts +1894 -0
  225. package/dist/typechain/factories/IFixedTermHooks__factory.d.ts.map +1 -0
  226. package/dist/typechain/factories/IFixedTermHooks__factory.js +2423 -0
  227. package/dist/typechain/factories/IFixedTermHooks__factory.js.map +1 -0
  228. package/dist/typechain/factories/IOpenTermHooks__factory.d.ts +1791 -0
  229. package/dist/typechain/factories/IOpenTermHooks__factory.d.ts.map +1 -0
  230. package/dist/typechain/factories/IOpenTermHooks__factory.js +2293 -0
  231. package/dist/typechain/factories/IOpenTermHooks__factory.js.map +1 -0
  232. package/dist/typechain/factories/IPeriodicTermHooks__factory.d.ts +750 -0
  233. package/dist/typechain/factories/IPeriodicTermHooks__factory.d.ts.map +1 -0
  234. package/dist/typechain/factories/IPeriodicTermHooks__factory.js +975 -0
  235. package/dist/typechain/factories/IPeriodicTermHooks__factory.js.map +1 -0
  236. package/dist/typechain/factories/ISafe__factory.d.ts +163 -0
  237. package/dist/typechain/factories/ISafe__factory.d.ts.map +1 -0
  238. package/dist/typechain/factories/ISafe__factory.js +225 -0
  239. package/dist/typechain/factories/ISafe__factory.js.map +1 -0
  240. package/dist/typechain/factories/MarketLensV2__factory.d.ts +6708 -0
  241. package/dist/typechain/factories/MarketLensV2__factory.d.ts.map +1 -0
  242. package/dist/typechain/factories/MarketLensV2__factory.js +8574 -0
  243. package/dist/typechain/factories/MarketLensV2__factory.js.map +1 -0
  244. package/dist/typechain/factories/MarketLens__factory.d.ts +3572 -0
  245. package/dist/typechain/factories/MarketLens__factory.d.ts.map +1 -0
  246. package/dist/typechain/factories/MarketLens__factory.js +4569 -0
  247. package/dist/typechain/factories/MarketLens__factory.js.map +1 -0
  248. package/dist/typechain/factories/MockArchControllerOwner__factory.d.ts +85 -0
  249. package/dist/typechain/factories/MockArchControllerOwner__factory.d.ts.map +1 -0
  250. package/dist/typechain/factories/MockArchControllerOwner__factory.js +118 -0
  251. package/dist/typechain/factories/MockArchControllerOwner__factory.js.map +1 -0
  252. package/dist/typechain/factories/MockERC20Factory__factory.d.ts +114 -0
  253. package/dist/typechain/factories/MockERC20Factory__factory.d.ts.map +1 -0
  254. package/dist/typechain/factories/MockERC20Factory__factory.js +157 -0
  255. package/dist/typechain/factories/MockERC20Factory__factory.js.map +1 -0
  256. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts +264 -0
  257. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts.map +1 -0
  258. package/dist/typechain/factories/SimpleMarketCollateral__factory.js +354 -0
  259. package/dist/typechain/factories/SimpleMarketCollateral__factory.js.map +1 -0
  260. package/dist/typechain/factories/WildcatArchController__factory.d.ts +554 -0
  261. package/dist/typechain/factories/WildcatArchController__factory.d.ts.map +1 -0
  262. package/dist/typechain/factories/WildcatArchController__factory.js +728 -0
  263. package/dist/typechain/factories/WildcatArchController__factory.js.map +1 -0
  264. package/dist/typechain/factories/WildcatCollateralFactory__factory.d.ts +160 -0
  265. package/dist/typechain/factories/WildcatCollateralFactory__factory.d.ts.map +1 -0
  266. package/dist/typechain/factories/WildcatCollateralFactory__factory.js +223 -0
  267. package/dist/typechain/factories/WildcatCollateralFactory__factory.js.map +1 -0
  268. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.d.ts +421 -0
  269. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.d.ts.map +1 -0
  270. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.js +549 -0
  271. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.js.map +1 -0
  272. package/dist/typechain/factories/WildcatMarketController__factory.d.ts +671 -0
  273. package/dist/typechain/factories/WildcatMarketController__factory.d.ts.map +1 -0
  274. package/dist/typechain/factories/WildcatMarketController__factory.js +870 -0
  275. package/dist/typechain/factories/WildcatMarketController__factory.js.map +1 -0
  276. package/dist/typechain/factories/WildcatMarketV2__factory.d.ts +1304 -0
  277. package/dist/typechain/factories/WildcatMarketV2__factory.d.ts.map +1 -0
  278. package/dist/typechain/factories/WildcatMarketV2__factory.js +1680 -0
  279. package/dist/typechain/factories/WildcatMarketV2__factory.js.map +1 -0
  280. package/dist/typechain/factories/WildcatMarket__factory.d.ts +1326 -0
  281. package/dist/typechain/factories/WildcatMarket__factory.d.ts.map +1 -0
  282. package/dist/typechain/factories/WildcatMarket__factory.js +1712 -0
  283. package/dist/typechain/factories/WildcatMarket__factory.js.map +1 -0
  284. package/dist/typechain/factories/index.d.ts +24 -0
  285. package/dist/typechain/factories/index.d.ts.map +1 -0
  286. package/dist/typechain/factories/index.js +53 -0
  287. package/dist/typechain/factories/index.js.map +1 -0
  288. package/dist/typechain/index.d.ts +60 -84
  289. package/dist/typechain/index.d.ts.map +1 -1
  290. package/dist/typechain/index.js +71 -120
  291. package/dist/typechain/index.js.map +1 -1
  292. package/dist/types.d.ts +34 -75
  293. package/dist/types.d.ts.map +1 -1
  294. package/dist/types.js +16 -21
  295. package/dist/types.js.map +1 -1
  296. package/dist/utils/check-registered-borrowers.d.ts.map +1 -1
  297. package/dist/utils/check-registered-borrowers.js +6 -7
  298. package/dist/utils/check-registered-borrowers.js.map +1 -1
  299. package/dist/utils/describe-account.d.ts +2 -5
  300. package/dist/utils/describe-account.d.ts.map +1 -1
  301. package/dist/utils/describe-account.js +8 -38
  302. package/dist/utils/describe-account.js.map +1 -1
  303. package/dist/utils/describe-signature.d.ts +1 -1
  304. package/dist/utils/describe-signature.d.ts.map +1 -1
  305. package/dist/utils/describe-signature.js +25 -80
  306. package/dist/utils/describe-signature.js.map +1 -1
  307. package/dist/utils/index.d.ts +0 -2
  308. package/dist/utils/index.d.ts.map +1 -1
  309. package/dist/utils/index.js +0 -2
  310. package/dist/utils/index.js.map +1 -1
  311. package/dist/utils/logger.d.ts.map +1 -1
  312. package/dist/utils/logger.js +1 -0
  313. package/dist/utils/logger.js.map +1 -1
  314. package/dist/utils/math.d.ts +13 -1
  315. package/dist/utils/math.d.ts.map +1 -1
  316. package/dist/utils/math.js +50 -14
  317. package/dist/utils/math.js.map +1 -1
  318. package/dist/utils/misc.d.ts +4 -5
  319. package/dist/utils/misc.d.ts.map +1 -1
  320. package/dist/utils/misc.js +6 -6
  321. package/dist/utils/misc.js.map +1 -1
  322. package/dist/utils/record-types.d.ts +10 -7
  323. package/dist/utils/record-types.d.ts.map +1 -1
  324. package/dist/utils/record-types.js +2 -2
  325. package/dist/utils/record-types.js.map +1 -1
  326. package/dist/utils/type-parsers.d.ts +3 -9
  327. package/dist/utils/type-parsers.d.ts.map +1 -1
  328. package/dist/utils/type-parsers.js +13 -12
  329. package/dist/utils/type-parsers.js.map +1 -1
  330. package/dist/withdrawal-batch.d.ts +9 -12
  331. package/dist/withdrawal-batch.d.ts.map +1 -1
  332. package/dist/withdrawal-batch.js +30 -46
  333. package/dist/withdrawal-batch.js.map +1 -1
  334. package/dist/withdrawal-status.d.ts +7 -12
  335. package/dist/withdrawal-status.d.ts.map +1 -1
  336. package/dist/withdrawal-status.js +12 -29
  337. package/dist/withdrawal-status.js.map +1 -1
  338. package/package.json +12 -20
  339. package/dist/abi/generated.d.ts +0 -34504
  340. package/dist/abi/generated.d.ts.map +0 -1
  341. package/dist/abi/generated.js +0 -44192
  342. package/dist/abi/generated.js.map +0 -1
  343. package/dist/abi/index.d.ts +0 -3
  344. package/dist/abi/index.d.ts.map +0 -1
  345. package/dist/abi/index.js +0 -19
  346. package/dist/abi/index.js.map +0 -1
  347. package/dist/abi/manual.d.ts +0 -354
  348. package/dist/abi/manual.d.ts.map +0 -1
  349. package/dist/abi/manual.js +0 -202
  350. package/dist/abi/manual.js.map +0 -1
  351. package/dist/access/revolving.d.ts +0 -8
  352. package/dist/access/revolving.d.ts.map +0 -1
  353. package/dist/access/revolving.js +0 -15
  354. package/dist/access/revolving.js.map +0 -1
  355. package/dist/access/subgraph-template.d.ts +0 -14
  356. package/dist/access/subgraph-template.d.ts.map +0 -1
  357. package/dist/access/subgraph-template.js +0 -20
  358. package/dist/access/subgraph-template.js.map +0 -1
  359. package/dist/client.d.ts +0 -22
  360. package/dist/client.d.ts.map +0 -1
  361. package/dist/client.js +0 -51
  362. package/dist/client.js.map +0 -1
  363. package/dist/gql/getMarketChartsData.d.ts +0 -35
  364. package/dist/gql/getMarketChartsData.d.ts.map +0 -1
  365. package/dist/gql/getMarketChartsData.js +0 -56
  366. package/dist/gql/getMarketChartsData.js.map +0 -1
  367. package/dist/gql/getMarketList.d.ts +0 -16
  368. package/dist/gql/getMarketList.d.ts.map +0 -1
  369. package/dist/gql/getMarketList.js +0 -23
  370. package/dist/gql/getMarketList.js.map +0 -1
  371. package/dist/internal/arch-controller.d.ts +0 -6
  372. package/dist/internal/arch-controller.d.ts.map +0 -1
  373. package/dist/internal/arch-controller.js +0 -36
  374. package/dist/internal/arch-controller.js.map +0 -1
  375. package/dist/internal/ethers-signer.d.ts +0 -4
  376. package/dist/internal/ethers-signer.d.ts.map +0 -1
  377. package/dist/internal/ethers-signer.js +0 -12
  378. package/dist/internal/ethers-signer.js.map +0 -1
  379. package/dist/internal/ethers-viem.d.ts +0 -4
  380. package/dist/internal/ethers-viem.d.ts.map +0 -1
  381. package/dist/internal/ethers-viem.js +0 -43
  382. package/dist/internal/ethers-viem.js.map +0 -1
  383. package/dist/internal/market-lens.d.ts +0 -28
  384. package/dist/internal/market-lens.d.ts.map +0 -1
  385. package/dist/internal/market-lens.js +0 -125
  386. package/dist/internal/market-lens.js.map +0 -1
  387. package/dist/internal/viem-read.d.ts +0 -3
  388. package/dist/internal/viem-read.d.ts.map +0 -1
  389. package/dist/internal/viem-read.js +0 -13
  390. package/dist/internal/viem-read.js.map +0 -1
  391. package/dist/internal/viem-write.d.ts +0 -10
  392. package/dist/internal/viem-write.d.ts.map +0 -1
  393. package/dist/internal/viem-write.js +0 -51
  394. package/dist/internal/viem-write.js.map +0 -1
  395. package/dist/lens-types.d.ts +0 -309
  396. package/dist/lens-types.d.ts.map +0 -1
  397. package/dist/lens-types.js.map +0 -1
  398. package/dist/utils/bigint.d.ts +0 -22
  399. package/dist/utils/bigint.d.ts.map +0 -1
  400. package/dist/utils/bigint.js +0 -111
  401. package/dist/utils/bigint.js.map +0 -1
  402. package/dist/utils/viem-encoding.d.ts +0 -15
  403. package/dist/utils/viem-encoding.d.ts.map +0 -1
  404. package/dist/utils/viem-encoding.js +0 -33
  405. package/dist/utils/viem-encoding.js.map +0 -1
  406. package/dist/wrapper/index.d.ts +0 -94
  407. package/dist/wrapper/index.d.ts.map +0 -1
  408. package/dist/wrapper/index.js +0 -296
  409. package/dist/wrapper/index.js.map +0 -1
@@ -658,7 +658,6 @@ export declare enum SubgraphAccountMadeFirstDeposit_OrderBy {
658
658
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
659
659
  MarketBorrowIndex = "market__borrowIndex",
660
660
  MarketBorrower = "market__borrower",
661
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
662
661
  MarketCreatedAt = "market__createdAt",
663
662
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
664
663
  MarketDecimals = "market__decimals",
@@ -666,7 +665,6 @@ export declare enum SubgraphAccountMadeFirstDeposit_OrderBy {
666
665
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
667
666
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
668
667
  MarketDepositIndex = "market__depositIndex",
669
- MarketDrawnAmount = "market__drawnAmount",
670
668
  MarketEventIndex = "market__eventIndex",
671
669
  MarketFeeRecipient = "market__feeRecipient",
672
670
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -679,7 +677,6 @@ export declare enum SubgraphAccountMadeFirstDeposit_OrderBy {
679
677
  MarketIsRegistered = "market__isRegistered",
680
678
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
681
679
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
682
- MarketMarketType = "market__marketType",
683
680
  MarketMaxTotalSupply = "market__maxTotalSupply",
684
681
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
685
682
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -843,10 +840,235 @@ export declare enum SubgraphAccountUnblockedFromDeposits_OrderBy {
843
840
  Id = "id",
844
841
  TransactionHash = "transactionHash"
845
842
  }
843
+ /** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
844
+ export declare enum SubgraphAggregation_Current {
845
+ /** Exclude the current, partially filled bucket from the response */
846
+ Exclude = "exclude",
847
+ /** Include the current, partially filled bucket in the response */
848
+ Include = "include"
849
+ }
846
850
  export declare enum SubgraphAggregation_Interval {
847
851
  Day = "day",
848
852
  Hour = "hour"
849
853
  }
854
+ export type SubgraphAnnualInterestBipsReductionProposed = {
855
+ __typename: "AnnualInterestBipsReductionProposed";
856
+ annualInterestBips: Scalars["Int"]["output"];
857
+ blockLogIndex: Scalars["Int"]["output"];
858
+ blockNumber: Scalars["Int"]["output"];
859
+ blockTimestamp: Scalars["Int"]["output"];
860
+ eventIndex: Scalars["Int"]["output"];
861
+ hooks: SubgraphHooksInstance;
862
+ id: Scalars["ID"]["output"];
863
+ market: SubgraphMarket;
864
+ proposalTimestamp: Scalars["Int"]["output"];
865
+ responseWindowEnd: Scalars["Int"]["output"];
866
+ responseWindowStart: Scalars["Int"]["output"];
867
+ transactionHash: Scalars["Bytes"]["output"];
868
+ };
869
+ export type SubgraphAnnualInterestBipsReductionProposed_Filter = {
870
+ /** Filter for the block changed event. */
871
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
872
+ and?: InputMaybe<Array<InputMaybe<SubgraphAnnualInterestBipsReductionProposed_Filter>>>;
873
+ annualInterestBips?: InputMaybe<Scalars["Int"]["input"]>;
874
+ annualInterestBips_gt?: InputMaybe<Scalars["Int"]["input"]>;
875
+ annualInterestBips_gte?: InputMaybe<Scalars["Int"]["input"]>;
876
+ annualInterestBips_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
877
+ annualInterestBips_lt?: InputMaybe<Scalars["Int"]["input"]>;
878
+ annualInterestBips_lte?: InputMaybe<Scalars["Int"]["input"]>;
879
+ annualInterestBips_not?: InputMaybe<Scalars["Int"]["input"]>;
880
+ annualInterestBips_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
881
+ blockLogIndex?: InputMaybe<Scalars["Int"]["input"]>;
882
+ blockLogIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
883
+ blockLogIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
884
+ blockLogIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
885
+ blockLogIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
886
+ blockLogIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
887
+ blockLogIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
888
+ blockLogIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
889
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
890
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
891
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
892
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
893
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
894
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
895
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
896
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
897
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
898
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
899
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
900
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
901
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
902
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
903
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
904
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
905
+ eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
906
+ eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
907
+ eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
908
+ eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
909
+ eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
910
+ eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
911
+ eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
912
+ eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
913
+ hooks?: InputMaybe<Scalars["String"]["input"]>;
914
+ hooks_?: InputMaybe<SubgraphHooksInstance_Filter>;
915
+ hooks_contains?: InputMaybe<Scalars["String"]["input"]>;
916
+ hooks_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
917
+ hooks_ends_with?: InputMaybe<Scalars["String"]["input"]>;
918
+ hooks_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
919
+ hooks_gt?: InputMaybe<Scalars["String"]["input"]>;
920
+ hooks_gte?: InputMaybe<Scalars["String"]["input"]>;
921
+ hooks_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
922
+ hooks_lt?: InputMaybe<Scalars["String"]["input"]>;
923
+ hooks_lte?: InputMaybe<Scalars["String"]["input"]>;
924
+ hooks_not?: InputMaybe<Scalars["String"]["input"]>;
925
+ hooks_not_contains?: InputMaybe<Scalars["String"]["input"]>;
926
+ hooks_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
927
+ hooks_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
928
+ hooks_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
929
+ hooks_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
930
+ hooks_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
931
+ hooks_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
932
+ hooks_starts_with?: InputMaybe<Scalars["String"]["input"]>;
933
+ hooks_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
934
+ id?: InputMaybe<Scalars["ID"]["input"]>;
935
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
936
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
937
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
938
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
939
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
940
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
941
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
942
+ market?: InputMaybe<Scalars["String"]["input"]>;
943
+ market_?: InputMaybe<SubgraphMarket_Filter>;
944
+ market_contains?: InputMaybe<Scalars["String"]["input"]>;
945
+ market_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
946
+ market_ends_with?: InputMaybe<Scalars["String"]["input"]>;
947
+ market_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
948
+ market_gt?: InputMaybe<Scalars["String"]["input"]>;
949
+ market_gte?: InputMaybe<Scalars["String"]["input"]>;
950
+ market_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
951
+ market_lt?: InputMaybe<Scalars["String"]["input"]>;
952
+ market_lte?: InputMaybe<Scalars["String"]["input"]>;
953
+ market_not?: InputMaybe<Scalars["String"]["input"]>;
954
+ market_not_contains?: InputMaybe<Scalars["String"]["input"]>;
955
+ market_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
956
+ market_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
957
+ market_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
958
+ market_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
959
+ market_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
960
+ market_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
961
+ market_starts_with?: InputMaybe<Scalars["String"]["input"]>;
962
+ market_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
963
+ or?: InputMaybe<Array<InputMaybe<SubgraphAnnualInterestBipsReductionProposed_Filter>>>;
964
+ proposalTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
965
+ proposalTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
966
+ proposalTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
967
+ proposalTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
968
+ proposalTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
969
+ proposalTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
970
+ proposalTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
971
+ proposalTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
972
+ responseWindowEnd?: InputMaybe<Scalars["Int"]["input"]>;
973
+ responseWindowEnd_gt?: InputMaybe<Scalars["Int"]["input"]>;
974
+ responseWindowEnd_gte?: InputMaybe<Scalars["Int"]["input"]>;
975
+ responseWindowEnd_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
976
+ responseWindowEnd_lt?: InputMaybe<Scalars["Int"]["input"]>;
977
+ responseWindowEnd_lte?: InputMaybe<Scalars["Int"]["input"]>;
978
+ responseWindowEnd_not?: InputMaybe<Scalars["Int"]["input"]>;
979
+ responseWindowEnd_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
980
+ responseWindowStart?: InputMaybe<Scalars["Int"]["input"]>;
981
+ responseWindowStart_gt?: InputMaybe<Scalars["Int"]["input"]>;
982
+ responseWindowStart_gte?: InputMaybe<Scalars["Int"]["input"]>;
983
+ responseWindowStart_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
984
+ responseWindowStart_lt?: InputMaybe<Scalars["Int"]["input"]>;
985
+ responseWindowStart_lte?: InputMaybe<Scalars["Int"]["input"]>;
986
+ responseWindowStart_not?: InputMaybe<Scalars["Int"]["input"]>;
987
+ responseWindowStart_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
988
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
989
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
990
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
991
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
992
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
993
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
994
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
995
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
996
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
997
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
998
+ };
999
+ export declare enum SubgraphAnnualInterestBipsReductionProposed_OrderBy {
1000
+ AnnualInterestBips = "annualInterestBips",
1001
+ BlockLogIndex = "blockLogIndex",
1002
+ BlockNumber = "blockNumber",
1003
+ BlockTimestamp = "blockTimestamp",
1004
+ EventIndex = "eventIndex",
1005
+ Hooks = "hooks",
1006
+ HooksBorrower = "hooks__borrower",
1007
+ HooksEventIndex = "hooks__eventIndex",
1008
+ HooksId = "hooks__id",
1009
+ HooksKind = "hooks__kind",
1010
+ HooksName = "hooks__name",
1011
+ HooksNumMarkets = "hooks__numMarkets",
1012
+ Id = "id",
1013
+ Market = "market",
1014
+ MarketAnnualInterestBips = "market__annualInterestBips",
1015
+ MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
1016
+ MarketBorrowIndex = "market__borrowIndex",
1017
+ MarketBorrower = "market__borrower",
1018
+ MarketCreatedAt = "market__createdAt",
1019
+ MarketDebtRepaidIndex = "market__debtRepaidIndex",
1020
+ MarketDecimals = "market__decimals",
1021
+ MarketDelinquencyFeeBips = "market__delinquencyFeeBips",
1022
+ MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
1023
+ MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
1024
+ MarketDepositIndex = "market__depositIndex",
1025
+ MarketEventIndex = "market__eventIndex",
1026
+ MarketFeeRecipient = "market__feeRecipient",
1027
+ MarketFeesCollectedIndex = "market__feesCollectedIndex",
1028
+ MarketFixedTermUpdatedIndex = "market__fixedTermUpdatedIndex",
1029
+ MarketForceBuyBackIndex = "market__forceBuyBackIndex",
1030
+ MarketId = "market__id",
1031
+ MarketIsClosed = "market__isClosed",
1032
+ MarketIsDelinquent = "market__isDelinquent",
1033
+ MarketIsIncurringPenalties = "market__isIncurringPenalties",
1034
+ MarketIsRegistered = "market__isRegistered",
1035
+ MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
1036
+ MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
1037
+ MarketMaxTotalSupply = "market__maxTotalSupply",
1038
+ MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
1039
+ MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
1040
+ MarketName = "market__name",
1041
+ MarketNormalizedUnclaimedWithdrawals = "market__normalizedUnclaimedWithdrawals",
1042
+ MarketNumCollateralContracts = "market__numCollateralContracts",
1043
+ MarketOriginalAnnualInterestBips = "market__originalAnnualInterestBips",
1044
+ MarketOriginalReserveRatioBips = "market__originalReserveRatioBips",
1045
+ MarketPendingProtocolFees = "market__pendingProtocolFees",
1046
+ MarketPendingWithdrawalExpiry = "market__pendingWithdrawalExpiry",
1047
+ MarketProtocolFeeBips = "market__protocolFeeBips",
1048
+ MarketProtocolFeeBipsUpdatedIndex = "market__protocolFeeBipsUpdatedIndex",
1049
+ MarketReserveRatioBips = "market__reserveRatioBips",
1050
+ MarketScaleFactor = "market__scaleFactor",
1051
+ MarketScaledPendingWithdrawals = "market__scaledPendingWithdrawals",
1052
+ MarketScaledTotalSupply = "market__scaledTotalSupply",
1053
+ MarketSentinel = "market__sentinel",
1054
+ MarketSymbol = "market__symbol",
1055
+ MarketTemporaryReserveRatioActive = "market__temporaryReserveRatioActive",
1056
+ MarketTemporaryReserveRatioExpiry = "market__temporaryReserveRatioExpiry",
1057
+ MarketTimeDelinquent = "market__timeDelinquent",
1058
+ MarketTotalBaseInterestAccrued = "market__totalBaseInterestAccrued",
1059
+ MarketTotalBorrowed = "market__totalBorrowed",
1060
+ MarketTotalDelinquencyFeesAccrued = "market__totalDelinquencyFeesAccrued",
1061
+ MarketTotalDeposited = "market__totalDeposited",
1062
+ MarketTotalProtocolFeesAccrued = "market__totalProtocolFeesAccrued",
1063
+ MarketTotalRepaid = "market__totalRepaid",
1064
+ MarketVersion = "market__version",
1065
+ MarketWithdrawalBatchDuration = "market__withdrawalBatchDuration",
1066
+ MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
1067
+ ProposalTimestamp = "proposalTimestamp",
1068
+ ResponseWindowEnd = "responseWindowEnd",
1069
+ ResponseWindowStart = "responseWindowStart",
1070
+ TransactionHash = "transactionHash"
1071
+ }
850
1072
  export type SubgraphAnnualInterestBipsUpdated = {
851
1073
  __typename: "AnnualInterestBipsUpdated";
852
1074
  annualInterestBipsUpdatedIndex: Scalars["Int"]["output"];
@@ -973,7 +1195,6 @@ export declare enum SubgraphAnnualInterestBipsUpdated_OrderBy {
973
1195
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
974
1196
  MarketBorrowIndex = "market__borrowIndex",
975
1197
  MarketBorrower = "market__borrower",
976
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
977
1198
  MarketCreatedAt = "market__createdAt",
978
1199
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
979
1200
  MarketDecimals = "market__decimals",
@@ -981,7 +1202,6 @@ export declare enum SubgraphAnnualInterestBipsUpdated_OrderBy {
981
1202
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
982
1203
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
983
1204
  MarketDepositIndex = "market__depositIndex",
984
- MarketDrawnAmount = "market__drawnAmount",
985
1205
  MarketEventIndex = "market__eventIndex",
986
1206
  MarketFeeRecipient = "market__feeRecipient",
987
1207
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -994,7 +1214,6 @@ export declare enum SubgraphAnnualInterestBipsUpdated_OrderBy {
994
1214
  MarketIsRegistered = "market__isRegistered",
995
1215
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
996
1216
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
997
- MarketMarketType = "market__marketType",
998
1217
  MarketMaxTotalSupply = "market__maxTotalSupply",
999
1218
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
1000
1219
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -1257,7 +1476,6 @@ export type SubgraphArchController = {
1257
1476
  borrowers: SubgraphRegisteredBorrower[];
1258
1477
  controllerFactories: SubgraphControllerFactory[];
1259
1478
  controllers: SubgraphController[];
1260
- hooksFactories: SubgraphHooksFactory[];
1261
1479
  hooksFactory?: Maybe<SubgraphHooksFactory>;
1262
1480
  id: Scalars["ID"]["output"];
1263
1481
  markets: SubgraphMarket[];
@@ -1283,13 +1501,6 @@ export type SubgraphArchControllerControllersArgs = {
1283
1501
  skip?: InputMaybe<Scalars["Int"]["input"]>;
1284
1502
  where?: InputMaybe<SubgraphController_Filter>;
1285
1503
  };
1286
- export type SubgraphArchControllerHooksFactoriesArgs = {
1287
- first?: InputMaybe<Scalars["Int"]["input"]>;
1288
- orderBy?: InputMaybe<SubgraphHooksFactory_OrderBy>;
1289
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
1290
- skip?: InputMaybe<Scalars["Int"]["input"]>;
1291
- where?: InputMaybe<SubgraphHooksFactory_Filter>;
1292
- };
1293
1504
  export type SubgraphArchControllerMarketsArgs = {
1294
1505
  first?: InputMaybe<Scalars["Int"]["input"]>;
1295
1506
  orderBy?: InputMaybe<SubgraphMarket_OrderBy>;
@@ -1304,7 +1515,6 @@ export type SubgraphArchController_Filter = {
1304
1515
  borrowers_?: InputMaybe<SubgraphRegisteredBorrower_Filter>;
1305
1516
  controllerFactories_?: InputMaybe<SubgraphControllerFactory_Filter>;
1306
1517
  controllers_?: InputMaybe<SubgraphController_Filter>;
1307
- hooksFactories_?: InputMaybe<SubgraphHooksFactory_Filter>;
1308
1518
  hooksFactory_?: InputMaybe<SubgraphHooksFactory_Filter>;
1309
1519
  id?: InputMaybe<Scalars["ID"]["input"]>;
1310
1520
  id_gt?: InputMaybe<Scalars["ID"]["input"]>;
@@ -1321,12 +1531,10 @@ export declare enum SubgraphArchController_OrderBy {
1321
1531
  Borrowers = "borrowers",
1322
1532
  ControllerFactories = "controllerFactories",
1323
1533
  Controllers = "controllers",
1324
- HooksFactories = "hooksFactories",
1325
1534
  HooksFactory = "hooksFactory",
1326
1535
  HooksFactoryEventIndex = "hooksFactory__eventIndex",
1327
1536
  HooksFactoryId = "hooksFactory__id",
1328
1537
  HooksFactoryIsRegistered = "hooksFactory__isRegistered",
1329
- HooksFactoryMarketType = "hooksFactory__marketType",
1330
1538
  HooksFactorySentinel = "hooksFactory__sentinel",
1331
1539
  Id = "id",
1332
1540
  Markets = "markets"
@@ -1457,7 +1665,6 @@ export declare enum SubgraphBorrow_OrderBy {
1457
1665
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
1458
1666
  MarketBorrowIndex = "market__borrowIndex",
1459
1667
  MarketBorrower = "market__borrower",
1460
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
1461
1668
  MarketCreatedAt = "market__createdAt",
1462
1669
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
1463
1670
  MarketDecimals = "market__decimals",
@@ -1465,7 +1672,6 @@ export declare enum SubgraphBorrow_OrderBy {
1465
1672
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
1466
1673
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
1467
1674
  MarketDepositIndex = "market__depositIndex",
1468
- MarketDrawnAmount = "market__drawnAmount",
1469
1675
  MarketEventIndex = "market__eventIndex",
1470
1676
  MarketFeeRecipient = "market__feeRecipient",
1471
1677
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -1478,7 +1684,6 @@ export declare enum SubgraphBorrow_OrderBy {
1478
1684
  MarketIsRegistered = "market__isRegistered",
1479
1685
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
1480
1686
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
1481
- MarketMarketType = "market__marketType",
1482
1687
  MarketMaxTotalSupply = "market__maxTotalSupply",
1483
1688
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
1484
1689
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -2631,7 +2836,6 @@ export declare enum SubgraphDebtRepaid_OrderBy {
2631
2836
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
2632
2837
  MarketBorrowIndex = "market__borrowIndex",
2633
2838
  MarketBorrower = "market__borrower",
2634
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
2635
2839
  MarketCreatedAt = "market__createdAt",
2636
2840
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
2637
2841
  MarketDecimals = "market__decimals",
@@ -2639,7 +2843,6 @@ export declare enum SubgraphDebtRepaid_OrderBy {
2639
2843
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
2640
2844
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
2641
2845
  MarketDepositIndex = "market__depositIndex",
2642
- MarketDrawnAmount = "market__drawnAmount",
2643
2846
  MarketEventIndex = "market__eventIndex",
2644
2847
  MarketFeeRecipient = "market__feeRecipient",
2645
2848
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -2652,7 +2855,6 @@ export declare enum SubgraphDebtRepaid_OrderBy {
2652
2855
  MarketIsRegistered = "market__isRegistered",
2653
2856
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
2654
2857
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
2655
- MarketMarketType = "market__marketType",
2656
2858
  MarketMaxTotalSupply = "market__maxTotalSupply",
2657
2859
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
2658
2860
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -2818,7 +3020,6 @@ export declare enum SubgraphDelinquencyStatusChanged_OrderBy {
2818
3020
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
2819
3021
  MarketBorrowIndex = "market__borrowIndex",
2820
3022
  MarketBorrower = "market__borrower",
2821
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
2822
3023
  MarketCreatedAt = "market__createdAt",
2823
3024
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
2824
3025
  MarketDecimals = "market__decimals",
@@ -2826,7 +3027,6 @@ export declare enum SubgraphDelinquencyStatusChanged_OrderBy {
2826
3027
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
2827
3028
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
2828
3029
  MarketDepositIndex = "market__depositIndex",
2829
- MarketDrawnAmount = "market__drawnAmount",
2830
3030
  MarketEventIndex = "market__eventIndex",
2831
3031
  MarketFeeRecipient = "market__feeRecipient",
2832
3032
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -2839,7 +3039,6 @@ export declare enum SubgraphDelinquencyStatusChanged_OrderBy {
2839
3039
  MarketIsRegistered = "market__isRegistered",
2840
3040
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
2841
3041
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
2842
- MarketMarketType = "market__marketType",
2843
3042
  MarketMaxTotalSupply = "market__maxTotalSupply",
2844
3043
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
2845
3044
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -3034,7 +3233,6 @@ export declare enum SubgraphDeposit_OrderBy {
3034
3233
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
3035
3234
  MarketBorrowIndex = "market__borrowIndex",
3036
3235
  MarketBorrower = "market__borrower",
3037
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
3038
3236
  MarketCreatedAt = "market__createdAt",
3039
3237
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
3040
3238
  MarketDecimals = "market__decimals",
@@ -3042,7 +3240,6 @@ export declare enum SubgraphDeposit_OrderBy {
3042
3240
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
3043
3241
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
3044
3242
  MarketDepositIndex = "market__depositIndex",
3045
- MarketDrawnAmount = "market__drawnAmount",
3046
3243
  MarketEventIndex = "market__eventIndex",
3047
3244
  MarketFeeRecipient = "market__feeRecipient",
3048
3245
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -3055,7 +3252,6 @@ export declare enum SubgraphDeposit_OrderBy {
3055
3252
  MarketIsRegistered = "market__isRegistered",
3056
3253
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
3057
3254
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
3058
- MarketMarketType = "market__marketType",
3059
3255
  MarketMaxTotalSupply = "market__maxTotalSupply",
3060
3256
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
3061
3257
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -3216,7 +3412,6 @@ export declare enum SubgraphDisabledForceBuyBacks_OrderBy {
3216
3412
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
3217
3413
  MarketBorrowIndex = "market__borrowIndex",
3218
3414
  MarketBorrower = "market__borrower",
3219
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
3220
3415
  MarketCreatedAt = "market__createdAt",
3221
3416
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
3222
3417
  MarketDecimals = "market__decimals",
@@ -3224,7 +3419,6 @@ export declare enum SubgraphDisabledForceBuyBacks_OrderBy {
3224
3419
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
3225
3420
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
3226
3421
  MarketDepositIndex = "market__depositIndex",
3227
- MarketDrawnAmount = "market__drawnAmount",
3228
3422
  MarketEventIndex = "market__eventIndex",
3229
3423
  MarketFeeRecipient = "market__feeRecipient",
3230
3424
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -3237,7 +3431,6 @@ export declare enum SubgraphDisabledForceBuyBacks_OrderBy {
3237
3431
  MarketIsRegistered = "market__isRegistered",
3238
3432
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
3239
3433
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
3240
- MarketMarketType = "market__marketType",
3241
3434
  MarketMaxTotalSupply = "market__maxTotalSupply",
3242
3435
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
3243
3436
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -3270,218 +3463,19 @@ export declare enum SubgraphDisabledForceBuyBacks_OrderBy {
3270
3463
  MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
3271
3464
  TransactionHash = "transactionHash"
3272
3465
  }
3273
- export type SubgraphFactoryHooksTemplate = {
3274
- __typename: "FactoryHooksTemplate";
3275
- deployedInstances: SubgraphHooksInstanceDeployed[];
3276
- disabled: Scalars["Boolean"]["output"];
3277
- feeRecipient: Scalars["Bytes"]["output"];
3278
- hooksFactory: SubgraphHooksFactory;
3279
- hooksInstances: SubgraphHooksInstance[];
3280
- hooksTemplate: SubgraphHooksTemplate;
3466
+ export type SubgraphFeesCollected = {
3467
+ __typename: "FeesCollected";
3468
+ blockLogIndex: Scalars["Int"]["output"];
3469
+ blockNumber: Scalars["Int"]["output"];
3470
+ blockTimestamp: Scalars["Int"]["output"];
3471
+ eventIndex: Scalars["Int"]["output"];
3472
+ feesCollected: Scalars["BigInt"]["output"];
3473
+ feesCollectedIndex: Scalars["Int"]["output"];
3281
3474
  id: Scalars["ID"]["output"];
3282
- name: Scalars["String"]["output"];
3283
- originationFeeAmount: Scalars["BigInt"]["output"];
3284
- originationFeeAsset?: Maybe<SubgraphToken>;
3285
- protocolFeeBips: Scalars["Int"]["output"];
3286
- templateAddress: Scalars["Bytes"]["output"];
3287
- };
3288
- export type SubgraphFactoryHooksTemplateDeployedInstancesArgs = {
3289
- first?: InputMaybe<Scalars["Int"]["input"]>;
3290
- orderBy?: InputMaybe<SubgraphHooksInstanceDeployed_OrderBy>;
3291
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
3292
- skip?: InputMaybe<Scalars["Int"]["input"]>;
3293
- where?: InputMaybe<SubgraphHooksInstanceDeployed_Filter>;
3294
- };
3295
- export type SubgraphFactoryHooksTemplateHooksInstancesArgs = {
3296
- first?: InputMaybe<Scalars["Int"]["input"]>;
3297
- orderBy?: InputMaybe<SubgraphHooksInstance_OrderBy>;
3298
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
3299
- skip?: InputMaybe<Scalars["Int"]["input"]>;
3300
- where?: InputMaybe<SubgraphHooksInstance_Filter>;
3475
+ market: SubgraphMarket;
3476
+ transactionHash: Scalars["Bytes"]["output"];
3301
3477
  };
3302
- export type SubgraphFactoryHooksTemplate_Filter = {
3303
- /** Filter for the block changed event. */
3304
- _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
3305
- and?: InputMaybe<Array<InputMaybe<SubgraphFactoryHooksTemplate_Filter>>>;
3306
- deployedInstances_?: InputMaybe<SubgraphHooksInstanceDeployed_Filter>;
3307
- disabled?: InputMaybe<Scalars["Boolean"]["input"]>;
3308
- disabled_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
3309
- disabled_not?: InputMaybe<Scalars["Boolean"]["input"]>;
3310
- disabled_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
3311
- feeRecipient?: InputMaybe<Scalars["Bytes"]["input"]>;
3312
- feeRecipient_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
3313
- feeRecipient_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
3314
- feeRecipient_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
3315
- feeRecipient_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
3316
- feeRecipient_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
3317
- feeRecipient_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
3318
- feeRecipient_not?: InputMaybe<Scalars["Bytes"]["input"]>;
3319
- feeRecipient_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
3320
- feeRecipient_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
3321
- hooksFactory?: InputMaybe<Scalars["String"]["input"]>;
3322
- hooksFactory_?: InputMaybe<SubgraphHooksFactory_Filter>;
3323
- hooksFactory_contains?: InputMaybe<Scalars["String"]["input"]>;
3324
- hooksFactory_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3325
- hooksFactory_ends_with?: InputMaybe<Scalars["String"]["input"]>;
3326
- hooksFactory_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3327
- hooksFactory_gt?: InputMaybe<Scalars["String"]["input"]>;
3328
- hooksFactory_gte?: InputMaybe<Scalars["String"]["input"]>;
3329
- hooksFactory_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
3330
- hooksFactory_lt?: InputMaybe<Scalars["String"]["input"]>;
3331
- hooksFactory_lte?: InputMaybe<Scalars["String"]["input"]>;
3332
- hooksFactory_not?: InputMaybe<Scalars["String"]["input"]>;
3333
- hooksFactory_not_contains?: InputMaybe<Scalars["String"]["input"]>;
3334
- hooksFactory_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3335
- hooksFactory_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
3336
- hooksFactory_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3337
- hooksFactory_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
3338
- hooksFactory_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
3339
- hooksFactory_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3340
- hooksFactory_starts_with?: InputMaybe<Scalars["String"]["input"]>;
3341
- hooksFactory_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3342
- hooksInstances_?: InputMaybe<SubgraphHooksInstance_Filter>;
3343
- hooksTemplate?: InputMaybe<Scalars["String"]["input"]>;
3344
- hooksTemplate_?: InputMaybe<SubgraphHooksTemplate_Filter>;
3345
- hooksTemplate_contains?: InputMaybe<Scalars["String"]["input"]>;
3346
- hooksTemplate_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3347
- hooksTemplate_ends_with?: InputMaybe<Scalars["String"]["input"]>;
3348
- hooksTemplate_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3349
- hooksTemplate_gt?: InputMaybe<Scalars["String"]["input"]>;
3350
- hooksTemplate_gte?: InputMaybe<Scalars["String"]["input"]>;
3351
- hooksTemplate_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
3352
- hooksTemplate_lt?: InputMaybe<Scalars["String"]["input"]>;
3353
- hooksTemplate_lte?: InputMaybe<Scalars["String"]["input"]>;
3354
- hooksTemplate_not?: InputMaybe<Scalars["String"]["input"]>;
3355
- hooksTemplate_not_contains?: InputMaybe<Scalars["String"]["input"]>;
3356
- hooksTemplate_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3357
- hooksTemplate_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
3358
- hooksTemplate_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3359
- hooksTemplate_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
3360
- hooksTemplate_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
3361
- hooksTemplate_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3362
- hooksTemplate_starts_with?: InputMaybe<Scalars["String"]["input"]>;
3363
- hooksTemplate_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3364
- id?: InputMaybe<Scalars["ID"]["input"]>;
3365
- id_gt?: InputMaybe<Scalars["ID"]["input"]>;
3366
- id_gte?: InputMaybe<Scalars["ID"]["input"]>;
3367
- id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
3368
- id_lt?: InputMaybe<Scalars["ID"]["input"]>;
3369
- id_lte?: InputMaybe<Scalars["ID"]["input"]>;
3370
- id_not?: InputMaybe<Scalars["ID"]["input"]>;
3371
- id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
3372
- name?: InputMaybe<Scalars["String"]["input"]>;
3373
- name_contains?: InputMaybe<Scalars["String"]["input"]>;
3374
- name_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3375
- name_ends_with?: InputMaybe<Scalars["String"]["input"]>;
3376
- name_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3377
- name_gt?: InputMaybe<Scalars["String"]["input"]>;
3378
- name_gte?: InputMaybe<Scalars["String"]["input"]>;
3379
- name_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
3380
- name_lt?: InputMaybe<Scalars["String"]["input"]>;
3381
- name_lte?: InputMaybe<Scalars["String"]["input"]>;
3382
- name_not?: InputMaybe<Scalars["String"]["input"]>;
3383
- name_not_contains?: InputMaybe<Scalars["String"]["input"]>;
3384
- name_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3385
- name_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
3386
- name_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3387
- name_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
3388
- name_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
3389
- name_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3390
- name_starts_with?: InputMaybe<Scalars["String"]["input"]>;
3391
- name_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3392
- or?: InputMaybe<Array<InputMaybe<SubgraphFactoryHooksTemplate_Filter>>>;
3393
- originationFeeAmount?: InputMaybe<Scalars["BigInt"]["input"]>;
3394
- originationFeeAmount_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
3395
- originationFeeAmount_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
3396
- originationFeeAmount_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
3397
- originationFeeAmount_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
3398
- originationFeeAmount_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
3399
- originationFeeAmount_not?: InputMaybe<Scalars["BigInt"]["input"]>;
3400
- originationFeeAmount_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
3401
- originationFeeAsset?: InputMaybe<Scalars["String"]["input"]>;
3402
- originationFeeAsset_?: InputMaybe<SubgraphToken_Filter>;
3403
- originationFeeAsset_contains?: InputMaybe<Scalars["String"]["input"]>;
3404
- originationFeeAsset_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3405
- originationFeeAsset_ends_with?: InputMaybe<Scalars["String"]["input"]>;
3406
- originationFeeAsset_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3407
- originationFeeAsset_gt?: InputMaybe<Scalars["String"]["input"]>;
3408
- originationFeeAsset_gte?: InputMaybe<Scalars["String"]["input"]>;
3409
- originationFeeAsset_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
3410
- originationFeeAsset_lt?: InputMaybe<Scalars["String"]["input"]>;
3411
- originationFeeAsset_lte?: InputMaybe<Scalars["String"]["input"]>;
3412
- originationFeeAsset_not?: InputMaybe<Scalars["String"]["input"]>;
3413
- originationFeeAsset_not_contains?: InputMaybe<Scalars["String"]["input"]>;
3414
- originationFeeAsset_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
3415
- originationFeeAsset_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
3416
- originationFeeAsset_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3417
- originationFeeAsset_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
3418
- originationFeeAsset_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
3419
- originationFeeAsset_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3420
- originationFeeAsset_starts_with?: InputMaybe<Scalars["String"]["input"]>;
3421
- originationFeeAsset_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
3422
- protocolFeeBips?: InputMaybe<Scalars["Int"]["input"]>;
3423
- protocolFeeBips_gt?: InputMaybe<Scalars["Int"]["input"]>;
3424
- protocolFeeBips_gte?: InputMaybe<Scalars["Int"]["input"]>;
3425
- protocolFeeBips_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
3426
- protocolFeeBips_lt?: InputMaybe<Scalars["Int"]["input"]>;
3427
- protocolFeeBips_lte?: InputMaybe<Scalars["Int"]["input"]>;
3428
- protocolFeeBips_not?: InputMaybe<Scalars["Int"]["input"]>;
3429
- protocolFeeBips_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
3430
- templateAddress?: InputMaybe<Scalars["Bytes"]["input"]>;
3431
- templateAddress_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
3432
- templateAddress_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
3433
- templateAddress_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
3434
- templateAddress_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
3435
- templateAddress_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
3436
- templateAddress_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
3437
- templateAddress_not?: InputMaybe<Scalars["Bytes"]["input"]>;
3438
- templateAddress_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
3439
- templateAddress_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
3440
- };
3441
- export declare enum SubgraphFactoryHooksTemplate_OrderBy {
3442
- DeployedInstances = "deployedInstances",
3443
- Disabled = "disabled",
3444
- FeeRecipient = "feeRecipient",
3445
- HooksFactory = "hooksFactory",
3446
- HooksFactoryEventIndex = "hooksFactory__eventIndex",
3447
- HooksFactoryId = "hooksFactory__id",
3448
- HooksFactoryIsRegistered = "hooksFactory__isRegistered",
3449
- HooksFactoryMarketType = "hooksFactory__marketType",
3450
- HooksFactorySentinel = "hooksFactory__sentinel",
3451
- HooksInstances = "hooksInstances",
3452
- HooksTemplate = "hooksTemplate",
3453
- HooksTemplateDisabled = "hooksTemplate__disabled",
3454
- HooksTemplateFeeRecipient = "hooksTemplate__feeRecipient",
3455
- HooksTemplateId = "hooksTemplate__id",
3456
- HooksTemplateName = "hooksTemplate__name",
3457
- HooksTemplateOriginationFeeAmount = "hooksTemplate__originationFeeAmount",
3458
- HooksTemplateProtocolFeeBips = "hooksTemplate__protocolFeeBips",
3459
- Id = "id",
3460
- Name = "name",
3461
- OriginationFeeAmount = "originationFeeAmount",
3462
- OriginationFeeAsset = "originationFeeAsset",
3463
- OriginationFeeAssetAddress = "originationFeeAsset__address",
3464
- OriginationFeeAssetDecimals = "originationFeeAsset__decimals",
3465
- OriginationFeeAssetId = "originationFeeAsset__id",
3466
- OriginationFeeAssetIsMock = "originationFeeAsset__isMock",
3467
- OriginationFeeAssetName = "originationFeeAsset__name",
3468
- OriginationFeeAssetSymbol = "originationFeeAsset__symbol",
3469
- ProtocolFeeBips = "protocolFeeBips",
3470
- TemplateAddress = "templateAddress"
3471
- }
3472
- export type SubgraphFeesCollected = {
3473
- __typename: "FeesCollected";
3474
- blockLogIndex: Scalars["Int"]["output"];
3475
- blockNumber: Scalars["Int"]["output"];
3476
- blockTimestamp: Scalars["Int"]["output"];
3477
- eventIndex: Scalars["Int"]["output"];
3478
- feesCollected: Scalars["BigInt"]["output"];
3479
- feesCollectedIndex: Scalars["Int"]["output"];
3480
- id: Scalars["ID"]["output"];
3481
- market: SubgraphMarket;
3482
- transactionHash: Scalars["Bytes"]["output"];
3483
- };
3484
- export type SubgraphFeesCollected_Filter = {
3478
+ export type SubgraphFeesCollected_Filter = {
3485
3479
  /** Filter for the block changed event. */
3486
3480
  _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
3487
3481
  and?: InputMaybe<Array<InputMaybe<SubgraphFeesCollected_Filter>>>;
@@ -3587,7 +3581,6 @@ export declare enum SubgraphFeesCollected_OrderBy {
3587
3581
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
3588
3582
  MarketBorrowIndex = "market__borrowIndex",
3589
3583
  MarketBorrower = "market__borrower",
3590
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
3591
3584
  MarketCreatedAt = "market__createdAt",
3592
3585
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
3593
3586
  MarketDecimals = "market__decimals",
@@ -3595,7 +3588,6 @@ export declare enum SubgraphFeesCollected_OrderBy {
3595
3588
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
3596
3589
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
3597
3590
  MarketDepositIndex = "market__depositIndex",
3598
- MarketDrawnAmount = "market__drawnAmount",
3599
3591
  MarketEventIndex = "market__eventIndex",
3600
3592
  MarketFeeRecipient = "market__feeRecipient",
3601
3593
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -3608,7 +3600,6 @@ export declare enum SubgraphFeesCollected_OrderBy {
3608
3600
  MarketIsRegistered = "market__isRegistered",
3609
3601
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
3610
3602
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
3611
- MarketMarketType = "market__marketType",
3612
3603
  MarketMaxTotalSupply = "market__maxTotalSupply",
3613
3604
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
3614
3605
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -3796,7 +3787,6 @@ export declare enum SubgraphFixedTermUpdated_OrderBy {
3796
3787
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
3797
3788
  MarketBorrowIndex = "market__borrowIndex",
3798
3789
  MarketBorrower = "market__borrower",
3799
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
3800
3790
  MarketCreatedAt = "market__createdAt",
3801
3791
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
3802
3792
  MarketDecimals = "market__decimals",
@@ -3804,7 +3794,6 @@ export declare enum SubgraphFixedTermUpdated_OrderBy {
3804
3794
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
3805
3795
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
3806
3796
  MarketDepositIndex = "market__depositIndex",
3807
- MarketDrawnAmount = "market__drawnAmount",
3808
3797
  MarketEventIndex = "market__eventIndex",
3809
3798
  MarketFeeRecipient = "market__feeRecipient",
3810
3799
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -3817,7 +3806,6 @@ export declare enum SubgraphFixedTermUpdated_OrderBy {
3817
3806
  MarketIsRegistered = "market__isRegistered",
3818
3807
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
3819
3808
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
3820
- MarketMarketType = "market__marketType",
3821
3809
  MarketMaxTotalSupply = "market__maxTotalSupply",
3822
3810
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
3823
3811
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -4021,7 +4009,6 @@ export declare enum SubgraphForceBuyBack_OrderBy {
4021
4009
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
4022
4010
  MarketBorrowIndex = "market__borrowIndex",
4023
4011
  MarketBorrower = "market__borrower",
4024
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
4025
4012
  MarketCreatedAt = "market__createdAt",
4026
4013
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
4027
4014
  MarketDecimals = "market__decimals",
@@ -4029,7 +4016,6 @@ export declare enum SubgraphForceBuyBack_OrderBy {
4029
4016
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
4030
4017
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
4031
4018
  MarketDepositIndex = "market__depositIndex",
4032
- MarketDrawnAmount = "market__drawnAmount",
4033
4019
  MarketEventIndex = "market__eventIndex",
4034
4020
  MarketFeeRecipient = "market__feeRecipient",
4035
4021
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -4042,7 +4028,6 @@ export declare enum SubgraphForceBuyBack_OrderBy {
4042
4028
  MarketIsRegistered = "market__isRegistered",
4043
4029
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
4044
4030
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
4045
- MarketMarketType = "market__marketType",
4046
4031
  MarketMaxTotalSupply = "market__maxTotalSupply",
4047
4032
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
4048
4033
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -4084,11 +4069,18 @@ export type SubgraphHooksConfig = {
4084
4069
  allowForceBuyBacks: Scalars["Boolean"]["output"];
4085
4070
  allowTermReduction: Scalars["Boolean"]["output"];
4086
4071
  depositRequiresAccess: Scalars["Boolean"]["output"];
4072
+ firstWithdrawalWindowStart: Scalars["Int"]["output"];
4087
4073
  fixedTermEndTime: Scalars["Int"]["output"];
4088
4074
  hooks: SubgraphHooksInstance;
4089
4075
  id: Scalars["ID"]["output"];
4090
4076
  market: SubgraphMarket;
4091
4077
  minimumDeposit?: Maybe<Scalars["BigInt"]["output"]>;
4078
+ pendingAnnualInterestBips: Scalars["Int"]["output"];
4079
+ pendingAnnualInterestProposalTimestamp: Scalars["Int"]["output"];
4080
+ pendingAnnualInterestResponseWindowEnd: Scalars["Int"]["output"];
4081
+ pendingAnnualInterestResponseWindowStart: Scalars["Int"]["output"];
4082
+ periodDuration: Scalars["Int"]["output"];
4083
+ periodicTermClosed: Scalars["Boolean"]["output"];
4092
4084
  queueWithdrawalRequiresAccess: Scalars["Boolean"]["output"];
4093
4085
  transferRequiresAccess: Scalars["Boolean"]["output"];
4094
4086
  transfersDisabled: Scalars["Boolean"]["output"];
@@ -4103,6 +4095,7 @@ export type SubgraphHooksConfig = {
4103
4095
  useOnSetMaxTotalSupply: Scalars["Boolean"]["output"];
4104
4096
  useOnSetProtocolFeeBips: Scalars["Boolean"]["output"];
4105
4097
  useOnTransfer: Scalars["Boolean"]["output"];
4098
+ withdrawalWindowDuration: Scalars["Int"]["output"];
4106
4099
  };
4107
4100
  export type SubgraphHooksConfig_Filter = {
4108
4101
  /** Filter for the block changed event. */
@@ -4124,6 +4117,14 @@ export type SubgraphHooksConfig_Filter = {
4124
4117
  depositRequiresAccess_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4125
4118
  depositRequiresAccess_not?: InputMaybe<Scalars["Boolean"]["input"]>;
4126
4119
  depositRequiresAccess_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4120
+ firstWithdrawalWindowStart?: InputMaybe<Scalars["Int"]["input"]>;
4121
+ firstWithdrawalWindowStart_gt?: InputMaybe<Scalars["Int"]["input"]>;
4122
+ firstWithdrawalWindowStart_gte?: InputMaybe<Scalars["Int"]["input"]>;
4123
+ firstWithdrawalWindowStart_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4124
+ firstWithdrawalWindowStart_lt?: InputMaybe<Scalars["Int"]["input"]>;
4125
+ firstWithdrawalWindowStart_lte?: InputMaybe<Scalars["Int"]["input"]>;
4126
+ firstWithdrawalWindowStart_not?: InputMaybe<Scalars["Int"]["input"]>;
4127
+ firstWithdrawalWindowStart_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4127
4128
  fixedTermEndTime?: InputMaybe<Scalars["Int"]["input"]>;
4128
4129
  fixedTermEndTime_gt?: InputMaybe<Scalars["Int"]["input"]>;
4129
4130
  fixedTermEndTime_gte?: InputMaybe<Scalars["Int"]["input"]>;
@@ -4191,6 +4192,50 @@ export type SubgraphHooksConfig_Filter = {
4191
4192
  minimumDeposit_not?: InputMaybe<Scalars["BigInt"]["input"]>;
4192
4193
  minimumDeposit_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
4193
4194
  or?: InputMaybe<Array<InputMaybe<SubgraphHooksConfig_Filter>>>;
4195
+ pendingAnnualInterestBips?: InputMaybe<Scalars["Int"]["input"]>;
4196
+ pendingAnnualInterestBips_gt?: InputMaybe<Scalars["Int"]["input"]>;
4197
+ pendingAnnualInterestBips_gte?: InputMaybe<Scalars["Int"]["input"]>;
4198
+ pendingAnnualInterestBips_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4199
+ pendingAnnualInterestBips_lt?: InputMaybe<Scalars["Int"]["input"]>;
4200
+ pendingAnnualInterestBips_lte?: InputMaybe<Scalars["Int"]["input"]>;
4201
+ pendingAnnualInterestBips_not?: InputMaybe<Scalars["Int"]["input"]>;
4202
+ pendingAnnualInterestBips_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4203
+ pendingAnnualInterestProposalTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
4204
+ pendingAnnualInterestProposalTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
4205
+ pendingAnnualInterestProposalTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
4206
+ pendingAnnualInterestProposalTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4207
+ pendingAnnualInterestProposalTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
4208
+ pendingAnnualInterestProposalTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
4209
+ pendingAnnualInterestProposalTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
4210
+ pendingAnnualInterestProposalTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4211
+ pendingAnnualInterestResponseWindowEnd?: InputMaybe<Scalars["Int"]["input"]>;
4212
+ pendingAnnualInterestResponseWindowEnd_gt?: InputMaybe<Scalars["Int"]["input"]>;
4213
+ pendingAnnualInterestResponseWindowEnd_gte?: InputMaybe<Scalars["Int"]["input"]>;
4214
+ pendingAnnualInterestResponseWindowEnd_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4215
+ pendingAnnualInterestResponseWindowEnd_lt?: InputMaybe<Scalars["Int"]["input"]>;
4216
+ pendingAnnualInterestResponseWindowEnd_lte?: InputMaybe<Scalars["Int"]["input"]>;
4217
+ pendingAnnualInterestResponseWindowEnd_not?: InputMaybe<Scalars["Int"]["input"]>;
4218
+ pendingAnnualInterestResponseWindowEnd_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4219
+ pendingAnnualInterestResponseWindowStart?: InputMaybe<Scalars["Int"]["input"]>;
4220
+ pendingAnnualInterestResponseWindowStart_gt?: InputMaybe<Scalars["Int"]["input"]>;
4221
+ pendingAnnualInterestResponseWindowStart_gte?: InputMaybe<Scalars["Int"]["input"]>;
4222
+ pendingAnnualInterestResponseWindowStart_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4223
+ pendingAnnualInterestResponseWindowStart_lt?: InputMaybe<Scalars["Int"]["input"]>;
4224
+ pendingAnnualInterestResponseWindowStart_lte?: InputMaybe<Scalars["Int"]["input"]>;
4225
+ pendingAnnualInterestResponseWindowStart_not?: InputMaybe<Scalars["Int"]["input"]>;
4226
+ pendingAnnualInterestResponseWindowStart_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4227
+ periodDuration?: InputMaybe<Scalars["Int"]["input"]>;
4228
+ periodDuration_gt?: InputMaybe<Scalars["Int"]["input"]>;
4229
+ periodDuration_gte?: InputMaybe<Scalars["Int"]["input"]>;
4230
+ periodDuration_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4231
+ periodDuration_lt?: InputMaybe<Scalars["Int"]["input"]>;
4232
+ periodDuration_lte?: InputMaybe<Scalars["Int"]["input"]>;
4233
+ periodDuration_not?: InputMaybe<Scalars["Int"]["input"]>;
4234
+ periodDuration_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4235
+ periodicTermClosed?: InputMaybe<Scalars["Boolean"]["input"]>;
4236
+ periodicTermClosed_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4237
+ periodicTermClosed_not?: InputMaybe<Scalars["Boolean"]["input"]>;
4238
+ periodicTermClosed_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4194
4239
  queueWithdrawalRequiresAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
4195
4240
  queueWithdrawalRequiresAccess_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4196
4241
  queueWithdrawalRequiresAccess_not?: InputMaybe<Scalars["Boolean"]["input"]>;
@@ -4247,12 +4292,21 @@ export type SubgraphHooksConfig_Filter = {
4247
4292
  useOnTransfer_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4248
4293
  useOnTransfer_not?: InputMaybe<Scalars["Boolean"]["input"]>;
4249
4294
  useOnTransfer_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4295
+ withdrawalWindowDuration?: InputMaybe<Scalars["Int"]["input"]>;
4296
+ withdrawalWindowDuration_gt?: InputMaybe<Scalars["Int"]["input"]>;
4297
+ withdrawalWindowDuration_gte?: InputMaybe<Scalars["Int"]["input"]>;
4298
+ withdrawalWindowDuration_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4299
+ withdrawalWindowDuration_lt?: InputMaybe<Scalars["Int"]["input"]>;
4300
+ withdrawalWindowDuration_lte?: InputMaybe<Scalars["Int"]["input"]>;
4301
+ withdrawalWindowDuration_not?: InputMaybe<Scalars["Int"]["input"]>;
4302
+ withdrawalWindowDuration_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4250
4303
  };
4251
4304
  export declare enum SubgraphHooksConfig_OrderBy {
4252
4305
  AllowClosureBeforeTerm = "allowClosureBeforeTerm",
4253
4306
  AllowForceBuyBacks = "allowForceBuyBacks",
4254
4307
  AllowTermReduction = "allowTermReduction",
4255
4308
  DepositRequiresAccess = "depositRequiresAccess",
4309
+ FirstWithdrawalWindowStart = "firstWithdrawalWindowStart",
4256
4310
  FixedTermEndTime = "fixedTermEndTime",
4257
4311
  Hooks = "hooks",
4258
4312
  HooksBorrower = "hooks__borrower",
@@ -4267,7 +4321,6 @@ export declare enum SubgraphHooksConfig_OrderBy {
4267
4321
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
4268
4322
  MarketBorrowIndex = "market__borrowIndex",
4269
4323
  MarketBorrower = "market__borrower",
4270
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
4271
4324
  MarketCreatedAt = "market__createdAt",
4272
4325
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
4273
4326
  MarketDecimals = "market__decimals",
@@ -4275,7 +4328,6 @@ export declare enum SubgraphHooksConfig_OrderBy {
4275
4328
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
4276
4329
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
4277
4330
  MarketDepositIndex = "market__depositIndex",
4278
- MarketDrawnAmount = "market__drawnAmount",
4279
4331
  MarketEventIndex = "market__eventIndex",
4280
4332
  MarketFeeRecipient = "market__feeRecipient",
4281
4333
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -4288,7 +4340,6 @@ export declare enum SubgraphHooksConfig_OrderBy {
4288
4340
  MarketIsRegistered = "market__isRegistered",
4289
4341
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
4290
4342
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
4291
- MarketMarketType = "market__marketType",
4292
4343
  MarketMaxTotalSupply = "market__maxTotalSupply",
4293
4344
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
4294
4345
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -4320,6 +4371,12 @@ export declare enum SubgraphHooksConfig_OrderBy {
4320
4371
  MarketWithdrawalBatchDuration = "market__withdrawalBatchDuration",
4321
4372
  MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
4322
4373
  MinimumDeposit = "minimumDeposit",
4374
+ PendingAnnualInterestBips = "pendingAnnualInterestBips",
4375
+ PendingAnnualInterestProposalTimestamp = "pendingAnnualInterestProposalTimestamp",
4376
+ PendingAnnualInterestResponseWindowEnd = "pendingAnnualInterestResponseWindowEnd",
4377
+ PendingAnnualInterestResponseWindowStart = "pendingAnnualInterestResponseWindowStart",
4378
+ PeriodDuration = "periodDuration",
4379
+ PeriodicTermClosed = "periodicTermClosed",
4323
4380
  QueueWithdrawalRequiresAccess = "queueWithdrawalRequiresAccess",
4324
4381
  TransferRequiresAccess = "transferRequiresAccess",
4325
4382
  TransfersDisabled = "transfersDisabled",
@@ -4333,28 +4390,26 @@ export declare enum SubgraphHooksConfig_OrderBy {
4333
4390
  UseOnSetAnnualInterestAndReserveRatioBips = "useOnSetAnnualInterestAndReserveRatioBips",
4334
4391
  UseOnSetMaxTotalSupply = "useOnSetMaxTotalSupply",
4335
4392
  UseOnSetProtocolFeeBips = "useOnSetProtocolFeeBips",
4336
- UseOnTransfer = "useOnTransfer"
4393
+ UseOnTransfer = "useOnTransfer",
4394
+ WithdrawalWindowDuration = "withdrawalWindowDuration"
4337
4395
  }
4338
4396
  export type SubgraphHooksFactory = {
4339
4397
  __typename: "HooksFactory";
4340
4398
  archController: SubgraphArchController;
4341
4399
  eventIndex: Scalars["Int"]["output"];
4342
- factoryHooksTemplates: SubgraphFactoryHooksTemplate[];
4343
4400
  hooksInstances: SubgraphHooksInstance[];
4344
4401
  hooksTemplates: SubgraphHooksTemplate[];
4345
4402
  id: Scalars["ID"]["output"];
4346
4403
  isRegistered: Scalars["Boolean"]["output"];
4347
- marketType?: Maybe<SubgraphMarketType>;
4348
4404
  sentinel: Scalars["Bytes"]["output"];
4349
4405
  };
4350
- export type SubgraphHooksFactoryFactoryHooksTemplatesArgs = {
4406
+ export type SubgraphHooksFactoryHooksInstancesArgs = {
4351
4407
  first?: InputMaybe<Scalars["Int"]["input"]>;
4352
- orderBy?: InputMaybe<SubgraphFactoryHooksTemplate_OrderBy>;
4408
+ orderBy?: InputMaybe<SubgraphHooksInstance_OrderBy>;
4353
4409
  orderDirection?: InputMaybe<SubgraphOrderDirection>;
4354
4410
  skip?: InputMaybe<Scalars["Int"]["input"]>;
4355
- where?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
4411
+ where?: InputMaybe<SubgraphHooksInstance_Filter>;
4356
4412
  };
4357
- export type SubgraphHooksFactoryHooksInstancesArgs = SubgraphFactoryHooksTemplateHooksInstancesArgs;
4358
4413
  export type SubgraphHooksFactoryHooksTemplatesArgs = {
4359
4414
  first?: InputMaybe<Scalars["Int"]["input"]>;
4360
4415
  orderBy?: InputMaybe<SubgraphHooksTemplate_OrderBy>;
@@ -4395,7 +4450,6 @@ export type SubgraphHooksFactory_Filter = {
4395
4450
  eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
4396
4451
  eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
4397
4452
  eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4398
- factoryHooksTemplates_?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
4399
4453
  hooksInstances_?: InputMaybe<SubgraphHooksInstance_Filter>;
4400
4454
  hooksTemplates_?: InputMaybe<SubgraphHooksTemplate_Filter>;
4401
4455
  id?: InputMaybe<Scalars["ID"]["input"]>;
@@ -4410,10 +4464,6 @@ export type SubgraphHooksFactory_Filter = {
4410
4464
  isRegistered_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4411
4465
  isRegistered_not?: InputMaybe<Scalars["Boolean"]["input"]>;
4412
4466
  isRegistered_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
4413
- marketType?: InputMaybe<SubgraphMarketType>;
4414
- marketType_in?: InputMaybe<SubgraphMarketType[]>;
4415
- marketType_not?: InputMaybe<SubgraphMarketType>;
4416
- marketType_not_in?: InputMaybe<SubgraphMarketType[]>;
4417
4467
  or?: InputMaybe<Array<InputMaybe<SubgraphHooksFactory_Filter>>>;
4418
4468
  sentinel?: InputMaybe<Scalars["Bytes"]["input"]>;
4419
4469
  sentinel_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
@@ -4430,12 +4480,10 @@ export declare enum SubgraphHooksFactory_OrderBy {
4430
4480
  ArchController = "archController",
4431
4481
  ArchControllerId = "archController__id",
4432
4482
  EventIndex = "eventIndex",
4433
- FactoryHooksTemplates = "factoryHooksTemplates",
4434
4483
  HooksInstances = "hooksInstances",
4435
4484
  HooksTemplates = "hooksTemplates",
4436
4485
  Id = "id",
4437
4486
  IsRegistered = "isRegistered",
4438
- MarketType = "marketType",
4439
4487
  Sentinel = "sentinel"
4440
4488
  }
4441
4489
  export type SubgraphHooksInstance = {
@@ -4445,7 +4493,6 @@ export type SubgraphHooksInstance = {
4445
4493
  accountUnblockFromDepositsRecords: SubgraphAccountUnblockedFromDeposits[];
4446
4494
  borrower: Scalars["Bytes"]["output"];
4447
4495
  eventIndex: Scalars["Int"]["output"];
4448
- factoryHooksTemplate: SubgraphFactoryHooksTemplate;
4449
4496
  hooksFactory: SubgraphHooksFactory;
4450
4497
  hooksTemplate: SubgraphHooksTemplate;
4451
4498
  id: Scalars["ID"]["output"];
@@ -4529,7 +4576,6 @@ export type SubgraphHooksInstanceDeployed = {
4529
4576
  blockLogIndex: Scalars["Int"]["output"];
4530
4577
  blockNumber: Scalars["Int"]["output"];
4531
4578
  blockTimestamp: Scalars["Int"]["output"];
4532
- factoryHooksTemplate: SubgraphFactoryHooksTemplate;
4533
4579
  hooks: SubgraphHooksInstance;
4534
4580
  hooksTemplate: SubgraphHooksTemplate;
4535
4581
  id: Scalars["ID"]["output"];
@@ -4563,27 +4609,6 @@ export type SubgraphHooksInstanceDeployed_Filter = {
4563
4609
  blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
4564
4610
  blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
4565
4611
  blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4566
- factoryHooksTemplate?: InputMaybe<Scalars["String"]["input"]>;
4567
- factoryHooksTemplate_?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
4568
- factoryHooksTemplate_contains?: InputMaybe<Scalars["String"]["input"]>;
4569
- factoryHooksTemplate_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
4570
- factoryHooksTemplate_ends_with?: InputMaybe<Scalars["String"]["input"]>;
4571
- factoryHooksTemplate_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
4572
- factoryHooksTemplate_gt?: InputMaybe<Scalars["String"]["input"]>;
4573
- factoryHooksTemplate_gte?: InputMaybe<Scalars["String"]["input"]>;
4574
- factoryHooksTemplate_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
4575
- factoryHooksTemplate_lt?: InputMaybe<Scalars["String"]["input"]>;
4576
- factoryHooksTemplate_lte?: InputMaybe<Scalars["String"]["input"]>;
4577
- factoryHooksTemplate_not?: InputMaybe<Scalars["String"]["input"]>;
4578
- factoryHooksTemplate_not_contains?: InputMaybe<Scalars["String"]["input"]>;
4579
- factoryHooksTemplate_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
4580
- factoryHooksTemplate_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
4581
- factoryHooksTemplate_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
4582
- factoryHooksTemplate_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
4583
- factoryHooksTemplate_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
4584
- factoryHooksTemplate_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
4585
- factoryHooksTemplate_starts_with?: InputMaybe<Scalars["String"]["input"]>;
4586
- factoryHooksTemplate_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
4587
4612
  hooks?: InputMaybe<Scalars["String"]["input"]>;
4588
4613
  hooksTemplate?: InputMaybe<Scalars["String"]["input"]>;
4589
4614
  hooksTemplate_?: InputMaybe<SubgraphHooksTemplate_Filter>;
@@ -4650,14 +4675,6 @@ export declare enum SubgraphHooksInstanceDeployed_OrderBy {
4650
4675
  BlockLogIndex = "blockLogIndex",
4651
4676
  BlockNumber = "blockNumber",
4652
4677
  BlockTimestamp = "blockTimestamp",
4653
- FactoryHooksTemplate = "factoryHooksTemplate",
4654
- FactoryHooksTemplateDisabled = "factoryHooksTemplate__disabled",
4655
- FactoryHooksTemplateFeeRecipient = "factoryHooksTemplate__feeRecipient",
4656
- FactoryHooksTemplateId = "factoryHooksTemplate__id",
4657
- FactoryHooksTemplateName = "factoryHooksTemplate__name",
4658
- FactoryHooksTemplateOriginationFeeAmount = "factoryHooksTemplate__originationFeeAmount",
4659
- FactoryHooksTemplateProtocolFeeBips = "factoryHooksTemplate__protocolFeeBips",
4660
- FactoryHooksTemplateTemplateAddress = "factoryHooksTemplate__templateAddress",
4661
4678
  Hooks = "hooks",
4662
4679
  HooksTemplate = "hooksTemplate",
4663
4680
  HooksTemplateDisabled = "hooksTemplate__disabled",
@@ -4700,27 +4717,6 @@ export type SubgraphHooksInstance_Filter = {
4700
4717
  eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
4701
4718
  eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
4702
4719
  eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
4703
- factoryHooksTemplate?: InputMaybe<Scalars["String"]["input"]>;
4704
- factoryHooksTemplate_?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
4705
- factoryHooksTemplate_contains?: InputMaybe<Scalars["String"]["input"]>;
4706
- factoryHooksTemplate_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
4707
- factoryHooksTemplate_ends_with?: InputMaybe<Scalars["String"]["input"]>;
4708
- factoryHooksTemplate_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
4709
- factoryHooksTemplate_gt?: InputMaybe<Scalars["String"]["input"]>;
4710
- factoryHooksTemplate_gte?: InputMaybe<Scalars["String"]["input"]>;
4711
- factoryHooksTemplate_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
4712
- factoryHooksTemplate_lt?: InputMaybe<Scalars["String"]["input"]>;
4713
- factoryHooksTemplate_lte?: InputMaybe<Scalars["String"]["input"]>;
4714
- factoryHooksTemplate_not?: InputMaybe<Scalars["String"]["input"]>;
4715
- factoryHooksTemplate_not_contains?: InputMaybe<Scalars["String"]["input"]>;
4716
- factoryHooksTemplate_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
4717
- factoryHooksTemplate_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
4718
- factoryHooksTemplate_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
4719
- factoryHooksTemplate_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
4720
- factoryHooksTemplate_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
4721
- factoryHooksTemplate_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
4722
- factoryHooksTemplate_starts_with?: InputMaybe<Scalars["String"]["input"]>;
4723
- factoryHooksTemplate_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
4724
4720
  hooksFactory?: InputMaybe<Scalars["String"]["input"]>;
4725
4721
  hooksFactory_?: InputMaybe<SubgraphHooksFactory_Filter>;
4726
4722
  hooksFactory_contains?: InputMaybe<Scalars["String"]["input"]>;
@@ -4818,19 +4814,10 @@ export declare enum SubgraphHooksInstance_OrderBy {
4818
4814
  AccountUnblockFromDepositsRecords = "accountUnblockFromDepositsRecords",
4819
4815
  Borrower = "borrower",
4820
4816
  EventIndex = "eventIndex",
4821
- FactoryHooksTemplate = "factoryHooksTemplate",
4822
- FactoryHooksTemplateDisabled = "factoryHooksTemplate__disabled",
4823
- FactoryHooksTemplateFeeRecipient = "factoryHooksTemplate__feeRecipient",
4824
- FactoryHooksTemplateId = "factoryHooksTemplate__id",
4825
- FactoryHooksTemplateName = "factoryHooksTemplate__name",
4826
- FactoryHooksTemplateOriginationFeeAmount = "factoryHooksTemplate__originationFeeAmount",
4827
- FactoryHooksTemplateProtocolFeeBips = "factoryHooksTemplate__protocolFeeBips",
4828
- FactoryHooksTemplateTemplateAddress = "factoryHooksTemplate__templateAddress",
4829
4817
  HooksFactory = "hooksFactory",
4830
4818
  HooksFactoryEventIndex = "hooksFactory__eventIndex",
4831
4819
  HooksFactoryId = "hooksFactory__id",
4832
4820
  HooksFactoryIsRegistered = "hooksFactory__isRegistered",
4833
- HooksFactoryMarketType = "hooksFactory__marketType",
4834
4821
  HooksFactorySentinel = "hooksFactory__sentinel",
4835
4822
  HooksTemplate = "hooksTemplate",
4836
4823
  HooksTemplateDisabled = "hooksTemplate__disabled",
@@ -4854,6 +4841,7 @@ export declare enum SubgraphHooksInstance_OrderBy {
4854
4841
  export declare enum SubgraphHooksKind {
4855
4842
  FixedTerm = "FixedTerm",
4856
4843
  OpenTerm = "OpenTerm",
4844
+ PeriodicTerm = "PeriodicTerm",
4857
4845
  Unknown = "Unknown"
4858
4846
  }
4859
4847
  export type SubgraphHooksNameUpdated = {
@@ -5006,7 +4994,6 @@ export type SubgraphHooksTemplate = {
5006
4994
  __typename: "HooksTemplate";
5007
4995
  deployedInstances: SubgraphHooksInstanceDeployed[];
5008
4996
  disabled: Scalars["Boolean"]["output"];
5009
- factoryHooksTemplates: SubgraphFactoryHooksTemplate[];
5010
4997
  feeRecipient: Scalars["Bytes"]["output"];
5011
4998
  hooksFactory: SubgraphHooksFactory;
5012
4999
  id: Scalars["ID"]["output"];
@@ -5015,14 +5002,18 @@ export type SubgraphHooksTemplate = {
5015
5002
  originationFeeAsset?: Maybe<SubgraphToken>;
5016
5003
  protocolFeeBips: Scalars["Int"]["output"];
5017
5004
  };
5018
- export type SubgraphHooksTemplateDeployedInstancesArgs = SubgraphFactoryHooksTemplateDeployedInstancesArgs;
5019
- export type SubgraphHooksTemplateFactoryHooksTemplatesArgs = SubgraphHooksFactoryFactoryHooksTemplatesArgs;
5005
+ export type SubgraphHooksTemplateDeployedInstancesArgs = {
5006
+ first?: InputMaybe<Scalars["Int"]["input"]>;
5007
+ orderBy?: InputMaybe<SubgraphHooksInstanceDeployed_OrderBy>;
5008
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
5009
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
5010
+ where?: InputMaybe<SubgraphHooksInstanceDeployed_Filter>;
5011
+ };
5020
5012
  export type SubgraphHooksTemplateAdded = {
5021
5013
  __typename: "HooksTemplateAdded";
5022
5014
  blockLogIndex: Scalars["Int"]["output"];
5023
5015
  blockNumber: Scalars["Int"]["output"];
5024
5016
  blockTimestamp: Scalars["Int"]["output"];
5025
- factoryHooksTemplate: SubgraphFactoryHooksTemplate;
5026
5017
  feeRecipient: Scalars["Bytes"]["output"];
5027
5018
  hooksTemplate: SubgraphHooksTemplate;
5028
5019
  id: Scalars["ID"]["output"];
@@ -5059,27 +5050,6 @@ export type SubgraphHooksTemplateAdded_Filter = {
5059
5050
  blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
5060
5051
  blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
5061
5052
  blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5062
- factoryHooksTemplate?: InputMaybe<Scalars["String"]["input"]>;
5063
- factoryHooksTemplate_?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
5064
- factoryHooksTemplate_contains?: InputMaybe<Scalars["String"]["input"]>;
5065
- factoryHooksTemplate_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5066
- factoryHooksTemplate_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5067
- factoryHooksTemplate_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5068
- factoryHooksTemplate_gt?: InputMaybe<Scalars["String"]["input"]>;
5069
- factoryHooksTemplate_gte?: InputMaybe<Scalars["String"]["input"]>;
5070
- factoryHooksTemplate_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5071
- factoryHooksTemplate_lt?: InputMaybe<Scalars["String"]["input"]>;
5072
- factoryHooksTemplate_lte?: InputMaybe<Scalars["String"]["input"]>;
5073
- factoryHooksTemplate_not?: InputMaybe<Scalars["String"]["input"]>;
5074
- factoryHooksTemplate_not_contains?: InputMaybe<Scalars["String"]["input"]>;
5075
- factoryHooksTemplate_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5076
- factoryHooksTemplate_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5077
- factoryHooksTemplate_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5078
- factoryHooksTemplate_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5079
- factoryHooksTemplate_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5080
- factoryHooksTemplate_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5081
- factoryHooksTemplate_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5082
- factoryHooksTemplate_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5083
5053
  feeRecipient?: InputMaybe<Scalars["Bytes"]["input"]>;
5084
5054
  feeRecipient_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
5085
5055
  feeRecipient_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
@@ -5172,14 +5142,6 @@ export declare enum SubgraphHooksTemplateAdded_OrderBy {
5172
5142
  BlockLogIndex = "blockLogIndex",
5173
5143
  BlockNumber = "blockNumber",
5174
5144
  BlockTimestamp = "blockTimestamp",
5175
- FactoryHooksTemplate = "factoryHooksTemplate",
5176
- FactoryHooksTemplateDisabled = "factoryHooksTemplate__disabled",
5177
- FactoryHooksTemplateFeeRecipient = "factoryHooksTemplate__feeRecipient",
5178
- FactoryHooksTemplateId = "factoryHooksTemplate__id",
5179
- FactoryHooksTemplateName = "factoryHooksTemplate__name",
5180
- FactoryHooksTemplateOriginationFeeAmount = "factoryHooksTemplate__originationFeeAmount",
5181
- FactoryHooksTemplateProtocolFeeBips = "factoryHooksTemplate__protocolFeeBips",
5182
- FactoryHooksTemplateTemplateAddress = "factoryHooksTemplate__templateAddress",
5183
5145
  FeeRecipient = "feeRecipient",
5184
5146
  HooksTemplate = "hooksTemplate",
5185
5147
  HooksTemplateDisabled = "hooksTemplate__disabled",
@@ -5205,7 +5167,6 @@ export type SubgraphHooksTemplateDisabled = {
5205
5167
  blockLogIndex: Scalars["Int"]["output"];
5206
5168
  blockNumber: Scalars["Int"]["output"];
5207
5169
  blockTimestamp: Scalars["Int"]["output"];
5208
- factoryHooksTemplate: SubgraphFactoryHooksTemplate;
5209
5170
  hooksTemplate: SubgraphHooksTemplate;
5210
5171
  id: Scalars["ID"]["output"];
5211
5172
  transactionHash: Scalars["Bytes"]["output"];
@@ -5238,27 +5199,6 @@ export type SubgraphHooksTemplateDisabled_Filter = {
5238
5199
  blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
5239
5200
  blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
5240
5201
  blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5241
- factoryHooksTemplate?: InputMaybe<Scalars["String"]["input"]>;
5242
- factoryHooksTemplate_?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
5243
- factoryHooksTemplate_contains?: InputMaybe<Scalars["String"]["input"]>;
5244
- factoryHooksTemplate_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5245
- factoryHooksTemplate_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5246
- factoryHooksTemplate_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5247
- factoryHooksTemplate_gt?: InputMaybe<Scalars["String"]["input"]>;
5248
- factoryHooksTemplate_gte?: InputMaybe<Scalars["String"]["input"]>;
5249
- factoryHooksTemplate_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5250
- factoryHooksTemplate_lt?: InputMaybe<Scalars["String"]["input"]>;
5251
- factoryHooksTemplate_lte?: InputMaybe<Scalars["String"]["input"]>;
5252
- factoryHooksTemplate_not?: InputMaybe<Scalars["String"]["input"]>;
5253
- factoryHooksTemplate_not_contains?: InputMaybe<Scalars["String"]["input"]>;
5254
- factoryHooksTemplate_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5255
- factoryHooksTemplate_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5256
- factoryHooksTemplate_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5257
- factoryHooksTemplate_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5258
- factoryHooksTemplate_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5259
- factoryHooksTemplate_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5260
- factoryHooksTemplate_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5261
- factoryHooksTemplate_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5262
5202
  hooksTemplate?: InputMaybe<Scalars["String"]["input"]>;
5263
5203
  hooksTemplate_?: InputMaybe<SubgraphHooksTemplate_Filter>;
5264
5204
  hooksTemplate_contains?: InputMaybe<Scalars["String"]["input"]>;
@@ -5304,14 +5244,6 @@ export declare enum SubgraphHooksTemplateDisabled_OrderBy {
5304
5244
  BlockLogIndex = "blockLogIndex",
5305
5245
  BlockNumber = "blockNumber",
5306
5246
  BlockTimestamp = "blockTimestamp",
5307
- FactoryHooksTemplate = "factoryHooksTemplate",
5308
- FactoryHooksTemplateDisabled = "factoryHooksTemplate__disabled",
5309
- FactoryHooksTemplateFeeRecipient = "factoryHooksTemplate__feeRecipient",
5310
- FactoryHooksTemplateId = "factoryHooksTemplate__id",
5311
- FactoryHooksTemplateName = "factoryHooksTemplate__name",
5312
- FactoryHooksTemplateOriginationFeeAmount = "factoryHooksTemplate__originationFeeAmount",
5313
- FactoryHooksTemplateProtocolFeeBips = "factoryHooksTemplate__protocolFeeBips",
5314
- FactoryHooksTemplateTemplateAddress = "factoryHooksTemplate__templateAddress",
5315
5247
  HooksTemplate = "hooksTemplate",
5316
5248
  HooksTemplateDisabled = "hooksTemplate__disabled",
5317
5249
  HooksTemplateFeeRecipient = "hooksTemplate__feeRecipient",
@@ -5327,7 +5259,6 @@ export type SubgraphHooksTemplateFeesUpdated = {
5327
5259
  blockLogIndex: Scalars["Int"]["output"];
5328
5260
  blockNumber: Scalars["Int"]["output"];
5329
5261
  blockTimestamp: Scalars["Int"]["output"];
5330
- factoryHooksTemplate: SubgraphFactoryHooksTemplate;
5331
5262
  feeRecipient: Scalars["Bytes"]["output"];
5332
5263
  hooksTemplate: SubgraphHooksTemplate;
5333
5264
  id: Scalars["ID"]["output"];
@@ -5364,27 +5295,6 @@ export type SubgraphHooksTemplateFeesUpdated_Filter = {
5364
5295
  blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
5365
5296
  blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
5366
5297
  blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
5367
- factoryHooksTemplate?: InputMaybe<Scalars["String"]["input"]>;
5368
- factoryHooksTemplate_?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
5369
- factoryHooksTemplate_contains?: InputMaybe<Scalars["String"]["input"]>;
5370
- factoryHooksTemplate_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5371
- factoryHooksTemplate_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5372
- factoryHooksTemplate_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5373
- factoryHooksTemplate_gt?: InputMaybe<Scalars["String"]["input"]>;
5374
- factoryHooksTemplate_gte?: InputMaybe<Scalars["String"]["input"]>;
5375
- factoryHooksTemplate_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5376
- factoryHooksTemplate_lt?: InputMaybe<Scalars["String"]["input"]>;
5377
- factoryHooksTemplate_lte?: InputMaybe<Scalars["String"]["input"]>;
5378
- factoryHooksTemplate_not?: InputMaybe<Scalars["String"]["input"]>;
5379
- factoryHooksTemplate_not_contains?: InputMaybe<Scalars["String"]["input"]>;
5380
- factoryHooksTemplate_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
5381
- factoryHooksTemplate_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
5382
- factoryHooksTemplate_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5383
- factoryHooksTemplate_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
5384
- factoryHooksTemplate_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5385
- factoryHooksTemplate_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5386
- factoryHooksTemplate_starts_with?: InputMaybe<Scalars["String"]["input"]>;
5387
- factoryHooksTemplate_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
5388
5298
  feeRecipient?: InputMaybe<Scalars["Bytes"]["input"]>;
5389
5299
  feeRecipient_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
5390
5300
  feeRecipient_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
@@ -5477,14 +5387,6 @@ export declare enum SubgraphHooksTemplateFeesUpdated_OrderBy {
5477
5387
  BlockLogIndex = "blockLogIndex",
5478
5388
  BlockNumber = "blockNumber",
5479
5389
  BlockTimestamp = "blockTimestamp",
5480
- FactoryHooksTemplate = "factoryHooksTemplate",
5481
- FactoryHooksTemplateDisabled = "factoryHooksTemplate__disabled",
5482
- FactoryHooksTemplateFeeRecipient = "factoryHooksTemplate__feeRecipient",
5483
- FactoryHooksTemplateId = "factoryHooksTemplate__id",
5484
- FactoryHooksTemplateName = "factoryHooksTemplate__name",
5485
- FactoryHooksTemplateOriginationFeeAmount = "factoryHooksTemplate__originationFeeAmount",
5486
- FactoryHooksTemplateProtocolFeeBips = "factoryHooksTemplate__protocolFeeBips",
5487
- FactoryHooksTemplateTemplateAddress = "factoryHooksTemplate__templateAddress",
5488
5390
  FeeRecipient = "feeRecipient",
5489
5391
  HooksTemplate = "hooksTemplate",
5490
5392
  HooksTemplateDisabled = "hooksTemplate__disabled",
@@ -5514,7 +5416,6 @@ export type SubgraphHooksTemplate_Filter = {
5514
5416
  disabled_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
5515
5417
  disabled_not?: InputMaybe<Scalars["Boolean"]["input"]>;
5516
5418
  disabled_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
5517
- factoryHooksTemplates_?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
5518
5419
  feeRecipient?: InputMaybe<Scalars["Bytes"]["input"]>;
5519
5420
  feeRecipient_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
5520
5421
  feeRecipient_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
@@ -5616,13 +5517,11 @@ export type SubgraphHooksTemplate_Filter = {
5616
5517
  export declare enum SubgraphHooksTemplate_OrderBy {
5617
5518
  DeployedInstances = "deployedInstances",
5618
5519
  Disabled = "disabled",
5619
- FactoryHooksTemplates = "factoryHooksTemplates",
5620
5520
  FeeRecipient = "feeRecipient",
5621
5521
  HooksFactory = "hooksFactory",
5622
5522
  HooksFactoryEventIndex = "hooksFactory__eventIndex",
5623
5523
  HooksFactoryId = "hooksFactory__id",
5624
5524
  HooksFactoryIsRegistered = "hooksFactory__isRegistered",
5625
- HooksFactoryMarketType = "hooksFactory__marketType",
5626
5525
  HooksFactorySentinel = "hooksFactory__sentinel",
5627
5526
  Id = "id",
5628
5527
  Name = "name",
@@ -5746,7 +5645,6 @@ export declare enum SubgraphKnownLenderStatus_OrderBy {
5746
5645
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
5747
5646
  MarketBorrowIndex = "market__borrowIndex",
5748
5647
  MarketBorrower = "market__borrower",
5749
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
5750
5648
  MarketCreatedAt = "market__createdAt",
5751
5649
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
5752
5650
  MarketDecimals = "market__decimals",
@@ -5754,7 +5652,6 @@ export declare enum SubgraphKnownLenderStatus_OrderBy {
5754
5652
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
5755
5653
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
5756
5654
  MarketDepositIndex = "market__depositIndex",
5757
- MarketDrawnAmount = "market__drawnAmount",
5758
5655
  MarketEventIndex = "market__eventIndex",
5759
5656
  MarketFeeRecipient = "market__feeRecipient",
5760
5657
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -5767,7 +5664,6 @@ export declare enum SubgraphKnownLenderStatus_OrderBy {
5767
5664
  MarketIsRegistered = "market__isRegistered",
5768
5665
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
5769
5666
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
5770
- MarketMarketType = "market__marketType",
5771
5667
  MarketMaxTotalSupply = "market__maxTotalSupply",
5772
5668
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
5773
5669
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -6028,7 +5924,6 @@ export declare enum SubgraphLenderAccount_OrderBy {
6028
5924
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
6029
5925
  MarketBorrowIndex = "market__borrowIndex",
6030
5926
  MarketBorrower = "market__borrower",
6031
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
6032
5927
  MarketCreatedAt = "market__createdAt",
6033
5928
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
6034
5929
  MarketDecimals = "market__decimals",
@@ -6036,7 +5931,6 @@ export declare enum SubgraphLenderAccount_OrderBy {
6036
5931
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
6037
5932
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
6038
5933
  MarketDepositIndex = "market__depositIndex",
6039
- MarketDrawnAmount = "market__drawnAmount",
6040
5934
  MarketEventIndex = "market__eventIndex",
6041
5935
  MarketFeeRecipient = "market__feeRecipient",
6042
5936
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -6049,7 +5943,6 @@ export declare enum SubgraphLenderAccount_OrderBy {
6049
5943
  MarketIsRegistered = "market__isRegistered",
6050
5944
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
6051
5945
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
6052
- MarketMarketType = "market__marketType",
6053
5946
  MarketMaxTotalSupply = "market__maxTotalSupply",
6054
5947
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
6055
5948
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -6595,7 +6488,6 @@ export declare enum SubgraphLenderInterestAccrued_OrderBy {
6595
6488
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
6596
6489
  MarketBorrowIndex = "market__borrowIndex",
6597
6490
  MarketBorrower = "market__borrower",
6598
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
6599
6491
  MarketCreatedAt = "market__createdAt",
6600
6492
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
6601
6493
  MarketDecimals = "market__decimals",
@@ -6603,7 +6495,6 @@ export declare enum SubgraphLenderInterestAccrued_OrderBy {
6603
6495
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
6604
6496
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
6605
6497
  MarketDepositIndex = "market__depositIndex",
6606
- MarketDrawnAmount = "market__drawnAmount",
6607
6498
  MarketEventIndex = "market__eventIndex",
6608
6499
  MarketFeeRecipient = "market__feeRecipient",
6609
6500
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -6616,7 +6507,6 @@ export declare enum SubgraphLenderInterestAccrued_OrderBy {
6616
6507
  MarketIsRegistered = "market__isRegistered",
6617
6508
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
6618
6509
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
6619
- MarketMarketType = "market__marketType",
6620
6510
  MarketMaxTotalSupply = "market__maxTotalSupply",
6621
6511
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
6622
6512
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -7027,6 +6917,7 @@ export type SubgraphMarket = {
7027
6917
  __typename: "Market";
7028
6918
  accountMadeFirstDepositRecords: SubgraphAccountMadeFirstDeposit[];
7029
6919
  annualInterestBips: Scalars["Int"]["output"];
6920
+ annualInterestBipsReductionProposedRecords: SubgraphAnnualInterestBipsReductionProposed[];
7030
6921
  annualInterestBipsUpdatedIndex: Scalars["Int"]["output"];
7031
6922
  annualInterestBipsUpdatedRecords: SubgraphAnnualInterestBipsUpdated[];
7032
6923
  archController: SubgraphArchController;
@@ -7035,7 +6926,6 @@ export type SubgraphMarket = {
7035
6926
  borrowRecords: SubgraphBorrow[];
7036
6927
  borrower: Scalars["Bytes"]["output"];
7037
6928
  collateralContracts: SubgraphSimpleCollateralContract[];
7038
- commitmentFeeBips?: Maybe<Scalars["BigInt"]["output"]>;
7039
6929
  controller?: Maybe<SubgraphController>;
7040
6930
  createdAt: Scalars["Int"]["output"];
7041
6931
  dailyStats: SubgraphMarketDailyStats[];
@@ -7048,7 +6938,6 @@ export type SubgraphMarket = {
7048
6938
  deployedEvent: SubgraphMarketDeployed;
7049
6939
  depositIndex: Scalars["Int"]["output"];
7050
6940
  depositRecords: SubgraphDeposit[];
7051
- drawnAmount?: Maybe<Scalars["BigInt"]["output"]>;
7052
6941
  eventIndex: Scalars["Int"]["output"];
7053
6942
  feeCollectionRecords: SubgraphFeesCollected[];
7054
6943
  feeRecipient: Scalars["Bytes"]["output"];
@@ -7071,7 +6960,6 @@ export type SubgraphMarket = {
7071
6960
  lastInterestAccruedTimestamp: Scalars["Int"]["output"];
7072
6961
  lenders: SubgraphLenderAccount[];
7073
6962
  marketClosedEvent?: Maybe<SubgraphMarketClosed>;
7074
- marketType?: Maybe<SubgraphMarketType>;
7075
6963
  maxTotalSupply: Scalars["BigInt"]["output"];
7076
6964
  maxTotalSupplyUpdatedIndex: Scalars["Int"]["output"];
7077
6965
  maxTotalSupplyUpdatedRecords: SubgraphMaxTotalSupplyUpdated[];
@@ -7084,6 +6972,7 @@ export type SubgraphMarket = {
7084
6972
  originalReserveRatioBips: Scalars["Int"]["output"];
7085
6973
  pendingProtocolFees: Scalars["BigInt"]["output"];
7086
6974
  pendingWithdrawalExpiry: Scalars["BigInt"]["output"];
6975
+ periodicTermClosedRecords: SubgraphPeriodicTermClosed[];
7087
6976
  protocolFeeBips: Scalars["Int"]["output"];
7088
6977
  protocolFeeBipsUpdatedIndex: Scalars["Int"]["output"];
7089
6978
  protocolFeeBipsUpdatedRecords: SubgraphProtocolFeeBipsUpdated[];
@@ -7099,7 +6988,6 @@ export type SubgraphMarket = {
7099
6988
  temporaryReserveRatioActive: Scalars["Boolean"]["output"];
7100
6989
  temporaryReserveRatioExpiry: Scalars["Int"]["output"];
7101
6990
  timeDelinquent: Scalars["Int"]["output"];
7102
- tokenWrapper?: Maybe<SubgraphWildcat4626Wrapper>;
7103
6991
  totalBaseInterestAccrued: Scalars["BigInt"]["output"];
7104
6992
  totalBorrowed: Scalars["BigInt"]["output"];
7105
6993
  totalDelinquencyFeesAccrued: Scalars["BigInt"]["output"];
@@ -7119,6 +7007,13 @@ export type SubgraphMarketAccountMadeFirstDepositRecordsArgs = {
7119
7007
  skip?: InputMaybe<Scalars["Int"]["input"]>;
7120
7008
  where?: InputMaybe<SubgraphAccountMadeFirstDeposit_Filter>;
7121
7009
  };
7010
+ export type SubgraphMarketAnnualInterestBipsReductionProposedRecordsArgs = {
7011
+ first?: InputMaybe<Scalars["Int"]["input"]>;
7012
+ orderBy?: InputMaybe<SubgraphAnnualInterestBipsReductionProposed_OrderBy>;
7013
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
7014
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
7015
+ where?: InputMaybe<SubgraphAnnualInterestBipsReductionProposed_Filter>;
7016
+ };
7122
7017
  export type SubgraphMarketAnnualInterestBipsUpdatedRecordsArgs = {
7123
7018
  first?: InputMaybe<Scalars["Int"]["input"]>;
7124
7019
  orderBy?: InputMaybe<SubgraphAnnualInterestBipsUpdated_OrderBy>;
@@ -7198,6 +7093,13 @@ export type SubgraphMarketMinimumDepositUpdateRecordsArgs = {
7198
7093
  skip?: InputMaybe<Scalars["Int"]["input"]>;
7199
7094
  where?: InputMaybe<SubgraphMinimumDepositUpdated_Filter>;
7200
7095
  };
7096
+ export type SubgraphMarketPeriodicTermClosedRecordsArgs = {
7097
+ first?: InputMaybe<Scalars["Int"]["input"]>;
7098
+ orderBy?: InputMaybe<SubgraphPeriodicTermClosed_OrderBy>;
7099
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
7100
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
7101
+ where?: InputMaybe<SubgraphPeriodicTermClosed_Filter>;
7102
+ };
7201
7103
  export type SubgraphMarketProtocolFeeBipsUpdatedRecordsArgs = {
7202
7104
  first?: InputMaybe<Scalars["Int"]["input"]>;
7203
7105
  orderBy?: InputMaybe<SubgraphProtocolFeeBipsUpdated_OrderBy>;
@@ -7342,7 +7244,6 @@ export declare enum SubgraphMarketAdded_OrderBy {
7342
7244
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
7343
7245
  MarketBorrowIndex = "market__borrowIndex",
7344
7246
  MarketBorrower = "market__borrower",
7345
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
7346
7247
  MarketCreatedAt = "market__createdAt",
7347
7248
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
7348
7249
  MarketDecimals = "market__decimals",
@@ -7350,7 +7251,6 @@ export declare enum SubgraphMarketAdded_OrderBy {
7350
7251
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
7351
7252
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
7352
7253
  MarketDepositIndex = "market__depositIndex",
7353
- MarketDrawnAmount = "market__drawnAmount",
7354
7254
  MarketEventIndex = "market__eventIndex",
7355
7255
  MarketFeeRecipient = "market__feeRecipient",
7356
7256
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -7363,7 +7263,6 @@ export declare enum SubgraphMarketAdded_OrderBy {
7363
7263
  MarketIsRegistered = "market__isRegistered",
7364
7264
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
7365
7265
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
7366
- MarketMarketType = "market__marketType",
7367
7266
  MarketMaxTotalSupply = "market__maxTotalSupply",
7368
7267
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
7369
7268
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -7503,7 +7402,6 @@ export declare enum SubgraphMarketClosed_OrderBy {
7503
7402
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
7504
7403
  MarketBorrowIndex = "market__borrowIndex",
7505
7404
  MarketBorrower = "market__borrower",
7506
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
7507
7405
  MarketCreatedAt = "market__createdAt",
7508
7406
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
7509
7407
  MarketDecimals = "market__decimals",
@@ -7511,7 +7409,6 @@ export declare enum SubgraphMarketClosed_OrderBy {
7511
7409
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
7512
7410
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
7513
7411
  MarketDepositIndex = "market__depositIndex",
7514
- MarketDrawnAmount = "market__drawnAmount",
7515
7412
  MarketEventIndex = "market__eventIndex",
7516
7413
  MarketFeeRecipient = "market__feeRecipient",
7517
7414
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -7524,7 +7421,6 @@ export declare enum SubgraphMarketClosed_OrderBy {
7524
7421
  MarketIsRegistered = "market__isRegistered",
7525
7422
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
7526
7423
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
7527
- MarketMarketType = "market__marketType",
7528
7424
  MarketMaxTotalSupply = "market__maxTotalSupply",
7529
7425
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
7530
7426
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -7669,7 +7565,6 @@ export declare enum SubgraphMarketDailyStats_OrderBy {
7669
7565
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
7670
7566
  MarketBorrowIndex = "market__borrowIndex",
7671
7567
  MarketBorrower = "market__borrower",
7672
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
7673
7568
  MarketCreatedAt = "market__createdAt",
7674
7569
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
7675
7570
  MarketDecimals = "market__decimals",
@@ -7677,7 +7572,6 @@ export declare enum SubgraphMarketDailyStats_OrderBy {
7677
7572
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
7678
7573
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
7679
7574
  MarketDepositIndex = "market__depositIndex",
7680
- MarketDrawnAmount = "market__drawnAmount",
7681
7575
  MarketEventIndex = "market__eventIndex",
7682
7576
  MarketFeeRecipient = "market__feeRecipient",
7683
7577
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -7690,7 +7584,6 @@ export declare enum SubgraphMarketDailyStats_OrderBy {
7690
7584
  MarketIsRegistered = "market__isRegistered",
7691
7585
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
7692
7586
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
7693
- MarketMarketType = "market__marketType",
7694
7587
  MarketMaxTotalSupply = "market__maxTotalSupply",
7695
7588
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
7696
7589
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -7816,7 +7709,6 @@ export declare enum SubgraphMarketDeployed_OrderBy {
7816
7709
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
7817
7710
  MarketBorrowIndex = "market__borrowIndex",
7818
7711
  MarketBorrower = "market__borrower",
7819
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
7820
7712
  MarketCreatedAt = "market__createdAt",
7821
7713
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
7822
7714
  MarketDecimals = "market__decimals",
@@ -7824,7 +7716,6 @@ export declare enum SubgraphMarketDeployed_OrderBy {
7824
7716
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
7825
7717
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
7826
7718
  MarketDepositIndex = "market__depositIndex",
7827
- MarketDrawnAmount = "market__drawnAmount",
7828
7719
  MarketEventIndex = "market__eventIndex",
7829
7720
  MarketFeeRecipient = "market__feeRecipient",
7830
7721
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -7837,7 +7728,6 @@ export declare enum SubgraphMarketDeployed_OrderBy {
7837
7728
  MarketIsRegistered = "market__isRegistered",
7838
7729
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
7839
7730
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
7840
- MarketMarketType = "market__marketType",
7841
7731
  MarketMaxTotalSupply = "market__maxTotalSupply",
7842
7732
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
7843
7733
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -8035,7 +7925,6 @@ export declare enum SubgraphMarketInterestAccrued_OrderBy {
8035
7925
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
8036
7926
  MarketBorrowIndex = "market__borrowIndex",
8037
7927
  MarketBorrower = "market__borrower",
8038
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
8039
7928
  MarketCreatedAt = "market__createdAt",
8040
7929
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
8041
7930
  MarketDecimals = "market__decimals",
@@ -8043,7 +7932,6 @@ export declare enum SubgraphMarketInterestAccrued_OrderBy {
8043
7932
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
8044
7933
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
8045
7934
  MarketDepositIndex = "market__depositIndex",
8046
- MarketDrawnAmount = "market__drawnAmount",
8047
7935
  MarketEventIndex = "market__eventIndex",
8048
7936
  MarketFeeRecipient = "market__feeRecipient",
8049
7937
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -8056,7 +7944,6 @@ export declare enum SubgraphMarketInterestAccrued_OrderBy {
8056
7944
  MarketIsRegistered = "market__isRegistered",
8057
7945
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
8058
7946
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
8059
- MarketMarketType = "market__marketType",
8060
7947
  MarketMaxTotalSupply = "market__maxTotalSupply",
8061
7948
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
8062
7949
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -8180,7 +8067,6 @@ export declare enum SubgraphMarketRemoved_OrderBy {
8180
8067
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
8181
8068
  MarketBorrowIndex = "market__borrowIndex",
8182
8069
  MarketBorrower = "market__borrower",
8183
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
8184
8070
  MarketCreatedAt = "market__createdAt",
8185
8071
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
8186
8072
  MarketDecimals = "market__decimals",
@@ -8188,7 +8074,6 @@ export declare enum SubgraphMarketRemoved_OrderBy {
8188
8074
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
8189
8075
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
8190
8076
  MarketDepositIndex = "market__depositIndex",
8191
- MarketDrawnAmount = "market__drawnAmount",
8192
8077
  MarketEventIndex = "market__eventIndex",
8193
8078
  MarketFeeRecipient = "market__feeRecipient",
8194
8079
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -8201,7 +8086,6 @@ export declare enum SubgraphMarketRemoved_OrderBy {
8201
8086
  MarketIsRegistered = "market__isRegistered",
8202
8087
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
8203
8088
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
8204
- MarketMarketType = "market__marketType",
8205
8089
  MarketMaxTotalSupply = "market__maxTotalSupply",
8206
8090
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
8207
8091
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -8234,10 +8118,6 @@ export declare enum SubgraphMarketRemoved_OrderBy {
8234
8118
  MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
8235
8119
  TransactionHash = "transactionHash"
8236
8120
  }
8237
- export declare enum SubgraphMarketType {
8238
- Legacy = "Legacy",
8239
- Revolving = "Revolving"
8240
- }
8241
8121
  export declare enum SubgraphMarketVersion {
8242
8122
  V1 = "V1",
8243
8123
  V2 = "V2"
@@ -8248,6 +8128,7 @@ export type SubgraphMarket_Filter = {
8248
8128
  accountMadeFirstDepositRecords_?: InputMaybe<SubgraphAccountMadeFirstDeposit_Filter>;
8249
8129
  and?: InputMaybe<Array<InputMaybe<SubgraphMarket_Filter>>>;
8250
8130
  annualInterestBips?: InputMaybe<Scalars["Int"]["input"]>;
8131
+ annualInterestBipsReductionProposedRecords_?: InputMaybe<SubgraphAnnualInterestBipsReductionProposed_Filter>;
8251
8132
  annualInterestBipsUpdatedIndex?: InputMaybe<Scalars["Int"]["input"]>;
8252
8133
  annualInterestBipsUpdatedIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
8253
8134
  annualInterestBipsUpdatedIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
@@ -8326,14 +8207,6 @@ export type SubgraphMarket_Filter = {
8326
8207
  borrower_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
8327
8208
  borrower_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
8328
8209
  collateralContracts_?: InputMaybe<SubgraphSimpleCollateralContract_Filter>;
8329
- commitmentFeeBips?: InputMaybe<Scalars["BigInt"]["input"]>;
8330
- commitmentFeeBips_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
8331
- commitmentFeeBips_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
8332
- commitmentFeeBips_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
8333
- commitmentFeeBips_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
8334
- commitmentFeeBips_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
8335
- commitmentFeeBips_not?: InputMaybe<Scalars["BigInt"]["input"]>;
8336
- commitmentFeeBips_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
8337
8210
  controller?: InputMaybe<Scalars["String"]["input"]>;
8338
8211
  controller_?: InputMaybe<SubgraphController_Filter>;
8339
8212
  controller_contains?: InputMaybe<Scalars["String"]["input"]>;
@@ -8435,14 +8308,6 @@ export type SubgraphMarket_Filter = {
8435
8308
  depositIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
8436
8309
  depositIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
8437
8310
  depositRecords_?: InputMaybe<SubgraphDeposit_Filter>;
8438
- drawnAmount?: InputMaybe<Scalars["BigInt"]["input"]>;
8439
- drawnAmount_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
8440
- drawnAmount_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
8441
- drawnAmount_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
8442
- drawnAmount_lt?: InputMaybe<Scalars["BigInt"]["input"]>;
8443
- drawnAmount_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
8444
- drawnAmount_not?: InputMaybe<Scalars["BigInt"]["input"]>;
8445
- drawnAmount_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
8446
8311
  eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
8447
8312
  eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
8448
8313
  eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
@@ -8575,10 +8440,6 @@ export type SubgraphMarket_Filter = {
8575
8440
  lastInterestAccruedTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
8576
8441
  lenders_?: InputMaybe<SubgraphLenderAccount_Filter>;
8577
8442
  marketClosedEvent_?: InputMaybe<SubgraphMarketClosed_Filter>;
8578
- marketType?: InputMaybe<SubgraphMarketType>;
8579
- marketType_in?: InputMaybe<SubgraphMarketType[]>;
8580
- marketType_not?: InputMaybe<SubgraphMarketType>;
8581
- marketType_not_in?: InputMaybe<SubgraphMarketType[]>;
8582
8443
  maxTotalSupply?: InputMaybe<Scalars["BigInt"]["input"]>;
8583
8444
  maxTotalSupplyUpdatedIndex?: InputMaybe<Scalars["Int"]["input"]>;
8584
8445
  maxTotalSupplyUpdatedIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
@@ -8674,6 +8535,7 @@ export type SubgraphMarket_Filter = {
8674
8535
  pendingWithdrawalExpiry_lte?: InputMaybe<Scalars["BigInt"]["input"]>;
8675
8536
  pendingWithdrawalExpiry_not?: InputMaybe<Scalars["BigInt"]["input"]>;
8676
8537
  pendingWithdrawalExpiry_not_in?: InputMaybe<Array<Scalars["BigInt"]["input"]>>;
8538
+ periodicTermClosedRecords_?: InputMaybe<SubgraphPeriodicTermClosed_Filter>;
8677
8539
  protocolFeeBips?: InputMaybe<Scalars["Int"]["input"]>;
8678
8540
  protocolFeeBipsUpdatedIndex?: InputMaybe<Scalars["Int"]["input"]>;
8679
8541
  protocolFeeBipsUpdatedIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
@@ -8776,27 +8638,6 @@ export type SubgraphMarket_Filter = {
8776
8638
  timeDelinquent_lte?: InputMaybe<Scalars["Int"]["input"]>;
8777
8639
  timeDelinquent_not?: InputMaybe<Scalars["Int"]["input"]>;
8778
8640
  timeDelinquent_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
8779
- tokenWrapper?: InputMaybe<Scalars["String"]["input"]>;
8780
- tokenWrapper_?: InputMaybe<SubgraphWildcat4626Wrapper_Filter>;
8781
- tokenWrapper_contains?: InputMaybe<Scalars["String"]["input"]>;
8782
- tokenWrapper_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
8783
- tokenWrapper_ends_with?: InputMaybe<Scalars["String"]["input"]>;
8784
- tokenWrapper_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
8785
- tokenWrapper_gt?: InputMaybe<Scalars["String"]["input"]>;
8786
- tokenWrapper_gte?: InputMaybe<Scalars["String"]["input"]>;
8787
- tokenWrapper_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
8788
- tokenWrapper_lt?: InputMaybe<Scalars["String"]["input"]>;
8789
- tokenWrapper_lte?: InputMaybe<Scalars["String"]["input"]>;
8790
- tokenWrapper_not?: InputMaybe<Scalars["String"]["input"]>;
8791
- tokenWrapper_not_contains?: InputMaybe<Scalars["String"]["input"]>;
8792
- tokenWrapper_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
8793
- tokenWrapper_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
8794
- tokenWrapper_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
8795
- tokenWrapper_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
8796
- tokenWrapper_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
8797
- tokenWrapper_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
8798
- tokenWrapper_starts_with?: InputMaybe<Scalars["String"]["input"]>;
8799
- tokenWrapper_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
8800
8641
  totalBaseInterestAccrued?: InputMaybe<Scalars["BigInt"]["input"]>;
8801
8642
  totalBaseInterestAccrued_gt?: InputMaybe<Scalars["BigInt"]["input"]>;
8802
8643
  totalBaseInterestAccrued_gte?: InputMaybe<Scalars["BigInt"]["input"]>;
@@ -8871,6 +8712,7 @@ export type SubgraphMarket_Filter = {
8871
8712
  export declare enum SubgraphMarket_OrderBy {
8872
8713
  AccountMadeFirstDepositRecords = "accountMadeFirstDepositRecords",
8873
8714
  AnnualInterestBips = "annualInterestBips",
8715
+ AnnualInterestBipsReductionProposedRecords = "annualInterestBipsReductionProposedRecords",
8874
8716
  AnnualInterestBipsUpdatedIndex = "annualInterestBipsUpdatedIndex",
8875
8717
  AnnualInterestBipsUpdatedRecords = "annualInterestBipsUpdatedRecords",
8876
8718
  ArchController = "archController",
@@ -8886,7 +8728,6 @@ export declare enum SubgraphMarket_OrderBy {
8886
8728
  BorrowRecords = "borrowRecords",
8887
8729
  Borrower = "borrower",
8888
8730
  CollateralContracts = "collateralContracts",
8889
- CommitmentFeeBips = "commitmentFeeBips",
8890
8731
  Controller = "controller",
8891
8732
  ControllerBorrower = "controller__borrower",
8892
8733
  ControllerId = "controller__id",
@@ -8908,7 +8749,6 @@ export declare enum SubgraphMarket_OrderBy {
8908
8749
  DeployedEventTransactionHash = "deployedEvent__transactionHash",
8909
8750
  DepositIndex = "depositIndex",
8910
8751
  DepositRecords = "depositRecords",
8911
- DrawnAmount = "drawnAmount",
8912
8752
  EventIndex = "eventIndex",
8913
8753
  FeeCollectionRecords = "feeCollectionRecords",
8914
8754
  FeeRecipient = "feeRecipient",
@@ -8930,9 +8770,16 @@ export declare enum SubgraphMarket_OrderBy {
8930
8770
  HooksConfigAllowForceBuyBacks = "hooksConfig__allowForceBuyBacks",
8931
8771
  HooksConfigAllowTermReduction = "hooksConfig__allowTermReduction",
8932
8772
  HooksConfigDepositRequiresAccess = "hooksConfig__depositRequiresAccess",
8773
+ HooksConfigFirstWithdrawalWindowStart = "hooksConfig__firstWithdrawalWindowStart",
8933
8774
  HooksConfigFixedTermEndTime = "hooksConfig__fixedTermEndTime",
8934
8775
  HooksConfigId = "hooksConfig__id",
8935
8776
  HooksConfigMinimumDeposit = "hooksConfig__minimumDeposit",
8777
+ HooksConfigPendingAnnualInterestBips = "hooksConfig__pendingAnnualInterestBips",
8778
+ HooksConfigPendingAnnualInterestProposalTimestamp = "hooksConfig__pendingAnnualInterestProposalTimestamp",
8779
+ HooksConfigPendingAnnualInterestResponseWindowEnd = "hooksConfig__pendingAnnualInterestResponseWindowEnd",
8780
+ HooksConfigPendingAnnualInterestResponseWindowStart = "hooksConfig__pendingAnnualInterestResponseWindowStart",
8781
+ HooksConfigPeriodDuration = "hooksConfig__periodDuration",
8782
+ HooksConfigPeriodicTermClosed = "hooksConfig__periodicTermClosed",
8936
8783
  HooksConfigQueueWithdrawalRequiresAccess = "hooksConfig__queueWithdrawalRequiresAccess",
8937
8784
  HooksConfigTransferRequiresAccess = "hooksConfig__transferRequiresAccess",
8938
8785
  HooksConfigTransfersDisabled = "hooksConfig__transfersDisabled",
@@ -8947,11 +8794,11 @@ export declare enum SubgraphMarket_OrderBy {
8947
8794
  HooksConfigUseOnSetMaxTotalSupply = "hooksConfig__useOnSetMaxTotalSupply",
8948
8795
  HooksConfigUseOnSetProtocolFeeBips = "hooksConfig__useOnSetProtocolFeeBips",
8949
8796
  HooksConfigUseOnTransfer = "hooksConfig__useOnTransfer",
8797
+ HooksConfigWithdrawalWindowDuration = "hooksConfig__withdrawalWindowDuration",
8950
8798
  HooksFactory = "hooksFactory",
8951
8799
  HooksFactoryEventIndex = "hooksFactory__eventIndex",
8952
8800
  HooksFactoryId = "hooksFactory__id",
8953
8801
  HooksFactoryIsRegistered = "hooksFactory__isRegistered",
8954
- HooksFactoryMarketType = "hooksFactory__marketType",
8955
8802
  HooksFactorySentinel = "hooksFactory__sentinel",
8956
8803
  HooksBorrower = "hooks__borrower",
8957
8804
  HooksEventIndex = "hooks__eventIndex",
@@ -8976,7 +8823,6 @@ export declare enum SubgraphMarket_OrderBy {
8976
8823
  MarketClosedEventId = "marketClosedEvent__id",
8977
8824
  MarketClosedEventTimestamp = "marketClosedEvent__timestamp",
8978
8825
  MarketClosedEventTransactionHash = "marketClosedEvent__transactionHash",
8979
- MarketType = "marketType",
8980
8826
  MaxTotalSupply = "maxTotalSupply",
8981
8827
  MaxTotalSupplyUpdatedIndex = "maxTotalSupplyUpdatedIndex",
8982
8828
  MaxTotalSupplyUpdatedRecords = "maxTotalSupplyUpdatedRecords",
@@ -8989,6 +8835,7 @@ export declare enum SubgraphMarket_OrderBy {
8989
8835
  OriginalReserveRatioBips = "originalReserveRatioBips",
8990
8836
  PendingProtocolFees = "pendingProtocolFees",
8991
8837
  PendingWithdrawalExpiry = "pendingWithdrawalExpiry",
8838
+ PeriodicTermClosedRecords = "periodicTermClosedRecords",
8992
8839
  ProtocolFeeBips = "protocolFeeBips",
8993
8840
  ProtocolFeeBipsUpdatedIndex = "protocolFeeBipsUpdatedIndex",
8994
8841
  ProtocolFeeBipsUpdatedRecords = "protocolFeeBipsUpdatedRecords",
@@ -9009,14 +8856,6 @@ export declare enum SubgraphMarket_OrderBy {
9009
8856
  TemporaryReserveRatioActive = "temporaryReserveRatioActive",
9010
8857
  TemporaryReserveRatioExpiry = "temporaryReserveRatioExpiry",
9011
8858
  TimeDelinquent = "timeDelinquent",
9012
- TokenWrapper = "tokenWrapper",
9013
- TokenWrapperAddress = "tokenWrapper__address",
9014
- TokenWrapperBlockLogIndex = "tokenWrapper__blockLogIndex",
9015
- TokenWrapperBlockNumber = "tokenWrapper__blockNumber",
9016
- TokenWrapperBlockTimestamp = "tokenWrapper__blockTimestamp",
9017
- TokenWrapperId = "tokenWrapper__id",
9018
- TokenWrapperMarketAddress = "tokenWrapper__marketAddress",
9019
- TokenWrapperTransactionHash = "tokenWrapper__transactionHash",
9020
8859
  TotalBaseInterestAccrued = "totalBaseInterestAccrued",
9021
8860
  TotalBorrowed = "totalBorrowed",
9022
8861
  TotalDelinquencyFeesAccrued = "totalDelinquencyFeesAccrued",
@@ -9154,7 +8993,6 @@ export declare enum SubgraphMaxTotalSupplyUpdated_OrderBy {
9154
8993
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
9155
8994
  MarketBorrowIndex = "market__borrowIndex",
9156
8995
  MarketBorrower = "market__borrower",
9157
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
9158
8996
  MarketCreatedAt = "market__createdAt",
9159
8997
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
9160
8998
  MarketDecimals = "market__decimals",
@@ -9162,7 +9000,6 @@ export declare enum SubgraphMaxTotalSupplyUpdated_OrderBy {
9162
9000
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
9163
9001
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
9164
9002
  MarketDepositIndex = "market__depositIndex",
9165
- MarketDrawnAmount = "market__drawnAmount",
9166
9003
  MarketEventIndex = "market__eventIndex",
9167
9004
  MarketFeeRecipient = "market__feeRecipient",
9168
9005
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -9175,7 +9012,6 @@ export declare enum SubgraphMaxTotalSupplyUpdated_OrderBy {
9175
9012
  MarketIsRegistered = "market__isRegistered",
9176
9013
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
9177
9014
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
9178
- MarketMarketType = "market__marketType",
9179
9015
  MarketMaxTotalSupply = "market__maxTotalSupply",
9180
9016
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
9181
9017
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -9365,7 +9201,6 @@ export declare enum SubgraphMinimumDepositUpdated_OrderBy {
9365
9201
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
9366
9202
  MarketBorrowIndex = "market__borrowIndex",
9367
9203
  MarketBorrower = "market__borrower",
9368
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
9369
9204
  MarketCreatedAt = "market__createdAt",
9370
9205
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
9371
9206
  MarketDecimals = "market__decimals",
@@ -9373,7 +9208,6 @@ export declare enum SubgraphMinimumDepositUpdated_OrderBy {
9373
9208
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
9374
9209
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
9375
9210
  MarketDepositIndex = "market__depositIndex",
9376
- MarketDrawnAmount = "market__drawnAmount",
9377
9211
  MarketEventIndex = "market__eventIndex",
9378
9212
  MarketFeeRecipient = "market__feeRecipient",
9379
9213
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -9386,7 +9220,6 @@ export declare enum SubgraphMinimumDepositUpdated_OrderBy {
9386
9220
  MarketIsRegistered = "market__isRegistered",
9387
9221
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
9388
9222
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
9389
- MarketMarketType = "market__marketType",
9390
9223
  MarketMaxTotalSupply = "market__maxTotalSupply",
9391
9224
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
9392
9225
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -10015,23 +9848,21 @@ export declare enum SubgraphParameterConstraints_OrderBy {
10015
9848
  MinimumReserveRatioBips = "minimumReserveRatioBips",
10016
9849
  MinimumWithdrawalBatchDuration = "minimumWithdrawalBatchDuration"
10017
9850
  }
10018
- export type SubgraphProtocolFeeBipsUpdated = {
10019
- __typename: "ProtocolFeeBipsUpdated";
9851
+ export type SubgraphPeriodicTermClosed = {
9852
+ __typename: "PeriodicTermClosed";
10020
9853
  blockLogIndex: Scalars["Int"]["output"];
10021
9854
  blockNumber: Scalars["Int"]["output"];
10022
9855
  blockTimestamp: Scalars["Int"]["output"];
10023
9856
  eventIndex: Scalars["Int"]["output"];
9857
+ hooks: SubgraphHooksInstance;
10024
9858
  id: Scalars["ID"]["output"];
10025
9859
  market: SubgraphMarket;
10026
- newProtocolFeeBips: Scalars["Int"]["output"];
10027
- oldProtocolFeeBips: Scalars["Int"]["output"];
10028
- protocolFeeBipsUpdatedIndex: Scalars["Int"]["output"];
10029
9860
  transactionHash: Scalars["Bytes"]["output"];
10030
9861
  };
10031
- export type SubgraphProtocolFeeBipsUpdated_Filter = {
9862
+ export type SubgraphPeriodicTermClosed_Filter = {
10032
9863
  /** Filter for the block changed event. */
10033
9864
  _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
10034
- and?: InputMaybe<Array<InputMaybe<SubgraphProtocolFeeBipsUpdated_Filter>>>;
9865
+ and?: InputMaybe<Array<InputMaybe<SubgraphPeriodicTermClosed_Filter>>>;
10035
9866
  blockLogIndex?: InputMaybe<Scalars["Int"]["input"]>;
10036
9867
  blockLogIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
10037
9868
  blockLogIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
@@ -10064,6 +9895,27 @@ export type SubgraphProtocolFeeBipsUpdated_Filter = {
10064
9895
  eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
10065
9896
  eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
10066
9897
  eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
9898
+ hooks?: InputMaybe<Scalars["String"]["input"]>;
9899
+ hooks_?: InputMaybe<SubgraphHooksInstance_Filter>;
9900
+ hooks_contains?: InputMaybe<Scalars["String"]["input"]>;
9901
+ hooks_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
9902
+ hooks_ends_with?: InputMaybe<Scalars["String"]["input"]>;
9903
+ hooks_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
9904
+ hooks_gt?: InputMaybe<Scalars["String"]["input"]>;
9905
+ hooks_gte?: InputMaybe<Scalars["String"]["input"]>;
9906
+ hooks_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
9907
+ hooks_lt?: InputMaybe<Scalars["String"]["input"]>;
9908
+ hooks_lte?: InputMaybe<Scalars["String"]["input"]>;
9909
+ hooks_not?: InputMaybe<Scalars["String"]["input"]>;
9910
+ hooks_not_contains?: InputMaybe<Scalars["String"]["input"]>;
9911
+ hooks_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
9912
+ hooks_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
9913
+ hooks_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
9914
+ hooks_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
9915
+ hooks_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
9916
+ hooks_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
9917
+ hooks_starts_with?: InputMaybe<Scalars["String"]["input"]>;
9918
+ hooks_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
10067
9919
  id?: InputMaybe<Scalars["ID"]["input"]>;
10068
9920
  id_gt?: InputMaybe<Scalars["ID"]["input"]>;
10069
9921
  id_gte?: InputMaybe<Scalars["ID"]["input"]>;
@@ -10093,31 +9945,7 @@ export type SubgraphProtocolFeeBipsUpdated_Filter = {
10093
9945
  market_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
10094
9946
  market_starts_with?: InputMaybe<Scalars["String"]["input"]>;
10095
9947
  market_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
10096
- newProtocolFeeBips?: InputMaybe<Scalars["Int"]["input"]>;
10097
- newProtocolFeeBips_gt?: InputMaybe<Scalars["Int"]["input"]>;
10098
- newProtocolFeeBips_gte?: InputMaybe<Scalars["Int"]["input"]>;
10099
- newProtocolFeeBips_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10100
- newProtocolFeeBips_lt?: InputMaybe<Scalars["Int"]["input"]>;
10101
- newProtocolFeeBips_lte?: InputMaybe<Scalars["Int"]["input"]>;
10102
- newProtocolFeeBips_not?: InputMaybe<Scalars["Int"]["input"]>;
10103
- newProtocolFeeBips_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10104
- oldProtocolFeeBips?: InputMaybe<Scalars["Int"]["input"]>;
10105
- oldProtocolFeeBips_gt?: InputMaybe<Scalars["Int"]["input"]>;
10106
- oldProtocolFeeBips_gte?: InputMaybe<Scalars["Int"]["input"]>;
10107
- oldProtocolFeeBips_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10108
- oldProtocolFeeBips_lt?: InputMaybe<Scalars["Int"]["input"]>;
10109
- oldProtocolFeeBips_lte?: InputMaybe<Scalars["Int"]["input"]>;
10110
- oldProtocolFeeBips_not?: InputMaybe<Scalars["Int"]["input"]>;
10111
- oldProtocolFeeBips_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10112
- or?: InputMaybe<Array<InputMaybe<SubgraphProtocolFeeBipsUpdated_Filter>>>;
10113
- protocolFeeBipsUpdatedIndex?: InputMaybe<Scalars["Int"]["input"]>;
10114
- protocolFeeBipsUpdatedIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
10115
- protocolFeeBipsUpdatedIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
10116
- protocolFeeBipsUpdatedIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10117
- protocolFeeBipsUpdatedIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
10118
- protocolFeeBipsUpdatedIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
10119
- protocolFeeBipsUpdatedIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
10120
- protocolFeeBipsUpdatedIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
9948
+ or?: InputMaybe<Array<InputMaybe<SubgraphPeriodicTermClosed_Filter>>>;
10121
9949
  transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
10122
9950
  transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
10123
9951
  transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
@@ -10129,18 +9957,24 @@ export type SubgraphProtocolFeeBipsUpdated_Filter = {
10129
9957
  transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
10130
9958
  transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
10131
9959
  };
10132
- export declare enum SubgraphProtocolFeeBipsUpdated_OrderBy {
9960
+ export declare enum SubgraphPeriodicTermClosed_OrderBy {
10133
9961
  BlockLogIndex = "blockLogIndex",
10134
9962
  BlockNumber = "blockNumber",
10135
9963
  BlockTimestamp = "blockTimestamp",
10136
9964
  EventIndex = "eventIndex",
9965
+ Hooks = "hooks",
9966
+ HooksBorrower = "hooks__borrower",
9967
+ HooksEventIndex = "hooks__eventIndex",
9968
+ HooksId = "hooks__id",
9969
+ HooksKind = "hooks__kind",
9970
+ HooksName = "hooks__name",
9971
+ HooksNumMarkets = "hooks__numMarkets",
10137
9972
  Id = "id",
10138
9973
  Market = "market",
10139
9974
  MarketAnnualInterestBips = "market__annualInterestBips",
10140
9975
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
10141
9976
  MarketBorrowIndex = "market__borrowIndex",
10142
9977
  MarketBorrower = "market__borrower",
10143
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
10144
9978
  MarketCreatedAt = "market__createdAt",
10145
9979
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
10146
9980
  MarketDecimals = "market__decimals",
@@ -10148,7 +9982,6 @@ export declare enum SubgraphProtocolFeeBipsUpdated_OrderBy {
10148
9982
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
10149
9983
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
10150
9984
  MarketDepositIndex = "market__depositIndex",
10151
- MarketDrawnAmount = "market__drawnAmount",
10152
9985
  MarketEventIndex = "market__eventIndex",
10153
9986
  MarketFeeRecipient = "market__feeRecipient",
10154
9987
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -10161,7 +9994,6 @@ export declare enum SubgraphProtocolFeeBipsUpdated_OrderBy {
10161
9994
  MarketIsRegistered = "market__isRegistered",
10162
9995
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
10163
9996
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
10164
- MarketMarketType = "market__marketType",
10165
9997
  MarketMaxTotalSupply = "market__maxTotalSupply",
10166
9998
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
10167
9999
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -10192,52 +10024,230 @@ export declare enum SubgraphProtocolFeeBipsUpdated_OrderBy {
10192
10024
  MarketVersion = "market__version",
10193
10025
  MarketWithdrawalBatchDuration = "market__withdrawalBatchDuration",
10194
10026
  MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
10195
- NewProtocolFeeBips = "newProtocolFeeBips",
10196
- OldProtocolFeeBips = "oldProtocolFeeBips",
10197
- ProtocolFeeBipsUpdatedIndex = "protocolFeeBipsUpdatedIndex",
10198
10027
  TransactionHash = "transactionHash"
10199
10028
  }
10200
- export type SubgraphQuery = {
10201
- __typename: "Query";
10202
- /** Access to subgraph metadata */
10203
- _meta?: Maybe<Subgraph_Meta_>;
10204
- accountAccessGranted?: Maybe<SubgraphAccountAccessGranted>;
10205
- accountAccessGranteds: SubgraphAccountAccessGranted[];
10206
- accountAccessRevoked?: Maybe<SubgraphAccountAccessRevoked>;
10207
- accountAccessRevokeds: SubgraphAccountAccessRevoked[];
10208
- accountBlockedFromDeposits?: Maybe<SubgraphAccountBlockedFromDeposits>;
10209
- accountBlockedFromDeposits_collection: SubgraphAccountBlockedFromDeposits[];
10210
- accountMadeFirstDeposit?: Maybe<SubgraphAccountMadeFirstDeposit>;
10211
- accountMadeFirstDeposits: SubgraphAccountMadeFirstDeposit[];
10212
- accountUnblockedFromDeposits?: Maybe<SubgraphAccountUnblockedFromDeposits>;
10213
- accountUnblockedFromDeposits_collection: SubgraphAccountUnblockedFromDeposits[];
10214
- annualInterestBipsUpdated?: Maybe<SubgraphAnnualInterestBipsUpdated>;
10215
- annualInterestBipsUpdateds: SubgraphAnnualInterestBipsUpdated[];
10216
- approval?: Maybe<SubgraphApproval>;
10217
- approvals: SubgraphApproval[];
10218
- approvedCollateralExchange?: Maybe<SubgraphApprovedCollateralExchange>;
10219
- approvedCollateralExchanges: SubgraphApprovedCollateralExchange[];
10220
- approvedLiquidator?: Maybe<SubgraphApprovedLiquidator>;
10221
- approvedLiquidators: SubgraphApprovedLiquidator[];
10222
- archController?: Maybe<SubgraphArchController>;
10223
- archControllers: SubgraphArchController[];
10224
- borrow?: Maybe<SubgraphBorrow>;
10225
- borrowerRegistrationChange?: Maybe<SubgraphBorrowerRegistrationChange>;
10226
- borrowerRegistrationChanges: SubgraphBorrowerRegistrationChange[];
10227
- borrows: SubgraphBorrow[];
10228
- collateralExchangeApproved?: Maybe<SubgraphCollateralExchangeApproved>;
10229
- collateralExchangeApproveds: SubgraphCollateralExchangeApproved[];
10230
- collateralExchangeRemoved?: Maybe<SubgraphCollateralExchangeRemoved>;
10231
- collateralExchangeRemoveds: SubgraphCollateralExchangeRemoved[];
10232
- controller?: Maybe<SubgraphController>;
10233
- controllerAdded?: Maybe<SubgraphControllerAdded>;
10234
- controllerAddeds: SubgraphControllerAdded[];
10235
- controllerFactories: SubgraphControllerFactory[];
10236
- controllerFactory?: Maybe<SubgraphControllerFactory>;
10237
- controllerFactoryAdded?: Maybe<SubgraphControllerFactoryAdded>;
10238
- controllerFactoryAddeds: SubgraphControllerFactoryAdded[];
10239
- controllerFactoryRemoved?: Maybe<SubgraphControllerFactoryRemoved>;
10240
- controllerFactoryRemoveds: SubgraphControllerFactoryRemoved[];
10029
+ export type SubgraphProtocolFeeBipsUpdated = {
10030
+ __typename: "ProtocolFeeBipsUpdated";
10031
+ blockLogIndex: Scalars["Int"]["output"];
10032
+ blockNumber: Scalars["Int"]["output"];
10033
+ blockTimestamp: Scalars["Int"]["output"];
10034
+ eventIndex: Scalars["Int"]["output"];
10035
+ id: Scalars["ID"]["output"];
10036
+ market: SubgraphMarket;
10037
+ newProtocolFeeBips: Scalars["Int"]["output"];
10038
+ oldProtocolFeeBips: Scalars["Int"]["output"];
10039
+ protocolFeeBipsUpdatedIndex: Scalars["Int"]["output"];
10040
+ transactionHash: Scalars["Bytes"]["output"];
10041
+ };
10042
+ export type SubgraphProtocolFeeBipsUpdated_Filter = {
10043
+ /** Filter for the block changed event. */
10044
+ _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
10045
+ and?: InputMaybe<Array<InputMaybe<SubgraphProtocolFeeBipsUpdated_Filter>>>;
10046
+ blockLogIndex?: InputMaybe<Scalars["Int"]["input"]>;
10047
+ blockLogIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
10048
+ blockLogIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
10049
+ blockLogIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10050
+ blockLogIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
10051
+ blockLogIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
10052
+ blockLogIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
10053
+ blockLogIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10054
+ blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
10055
+ blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
10056
+ blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
10057
+ blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10058
+ blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
10059
+ blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
10060
+ blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
10061
+ blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10062
+ blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
10063
+ blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
10064
+ blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
10065
+ blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10066
+ blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
10067
+ blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
10068
+ blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
10069
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10070
+ eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
10071
+ eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
10072
+ eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
10073
+ eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10074
+ eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
10075
+ eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
10076
+ eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
10077
+ eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10078
+ id?: InputMaybe<Scalars["ID"]["input"]>;
10079
+ id_gt?: InputMaybe<Scalars["ID"]["input"]>;
10080
+ id_gte?: InputMaybe<Scalars["ID"]["input"]>;
10081
+ id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
10082
+ id_lt?: InputMaybe<Scalars["ID"]["input"]>;
10083
+ id_lte?: InputMaybe<Scalars["ID"]["input"]>;
10084
+ id_not?: InputMaybe<Scalars["ID"]["input"]>;
10085
+ id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
10086
+ market?: InputMaybe<Scalars["String"]["input"]>;
10087
+ market_?: InputMaybe<SubgraphMarket_Filter>;
10088
+ market_contains?: InputMaybe<Scalars["String"]["input"]>;
10089
+ market_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
10090
+ market_ends_with?: InputMaybe<Scalars["String"]["input"]>;
10091
+ market_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
10092
+ market_gt?: InputMaybe<Scalars["String"]["input"]>;
10093
+ market_gte?: InputMaybe<Scalars["String"]["input"]>;
10094
+ market_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10095
+ market_lt?: InputMaybe<Scalars["String"]["input"]>;
10096
+ market_lte?: InputMaybe<Scalars["String"]["input"]>;
10097
+ market_not?: InputMaybe<Scalars["String"]["input"]>;
10098
+ market_not_contains?: InputMaybe<Scalars["String"]["input"]>;
10099
+ market_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
10100
+ market_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
10101
+ market_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
10102
+ market_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
10103
+ market_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
10104
+ market_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
10105
+ market_starts_with?: InputMaybe<Scalars["String"]["input"]>;
10106
+ market_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
10107
+ newProtocolFeeBips?: InputMaybe<Scalars["Int"]["input"]>;
10108
+ newProtocolFeeBips_gt?: InputMaybe<Scalars["Int"]["input"]>;
10109
+ newProtocolFeeBips_gte?: InputMaybe<Scalars["Int"]["input"]>;
10110
+ newProtocolFeeBips_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10111
+ newProtocolFeeBips_lt?: InputMaybe<Scalars["Int"]["input"]>;
10112
+ newProtocolFeeBips_lte?: InputMaybe<Scalars["Int"]["input"]>;
10113
+ newProtocolFeeBips_not?: InputMaybe<Scalars["Int"]["input"]>;
10114
+ newProtocolFeeBips_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10115
+ oldProtocolFeeBips?: InputMaybe<Scalars["Int"]["input"]>;
10116
+ oldProtocolFeeBips_gt?: InputMaybe<Scalars["Int"]["input"]>;
10117
+ oldProtocolFeeBips_gte?: InputMaybe<Scalars["Int"]["input"]>;
10118
+ oldProtocolFeeBips_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10119
+ oldProtocolFeeBips_lt?: InputMaybe<Scalars["Int"]["input"]>;
10120
+ oldProtocolFeeBips_lte?: InputMaybe<Scalars["Int"]["input"]>;
10121
+ oldProtocolFeeBips_not?: InputMaybe<Scalars["Int"]["input"]>;
10122
+ oldProtocolFeeBips_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10123
+ or?: InputMaybe<Array<InputMaybe<SubgraphProtocolFeeBipsUpdated_Filter>>>;
10124
+ protocolFeeBipsUpdatedIndex?: InputMaybe<Scalars["Int"]["input"]>;
10125
+ protocolFeeBipsUpdatedIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
10126
+ protocolFeeBipsUpdatedIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
10127
+ protocolFeeBipsUpdatedIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10128
+ protocolFeeBipsUpdatedIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
10129
+ protocolFeeBipsUpdatedIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
10130
+ protocolFeeBipsUpdatedIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
10131
+ protocolFeeBipsUpdatedIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
10132
+ transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
10133
+ transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
10134
+ transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
10135
+ transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
10136
+ transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
10137
+ transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
10138
+ transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
10139
+ transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
10140
+ transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
10141
+ transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
10142
+ };
10143
+ export declare enum SubgraphProtocolFeeBipsUpdated_OrderBy {
10144
+ BlockLogIndex = "blockLogIndex",
10145
+ BlockNumber = "blockNumber",
10146
+ BlockTimestamp = "blockTimestamp",
10147
+ EventIndex = "eventIndex",
10148
+ Id = "id",
10149
+ Market = "market",
10150
+ MarketAnnualInterestBips = "market__annualInterestBips",
10151
+ MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
10152
+ MarketBorrowIndex = "market__borrowIndex",
10153
+ MarketBorrower = "market__borrower",
10154
+ MarketCreatedAt = "market__createdAt",
10155
+ MarketDebtRepaidIndex = "market__debtRepaidIndex",
10156
+ MarketDecimals = "market__decimals",
10157
+ MarketDelinquencyFeeBips = "market__delinquencyFeeBips",
10158
+ MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
10159
+ MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
10160
+ MarketDepositIndex = "market__depositIndex",
10161
+ MarketEventIndex = "market__eventIndex",
10162
+ MarketFeeRecipient = "market__feeRecipient",
10163
+ MarketFeesCollectedIndex = "market__feesCollectedIndex",
10164
+ MarketFixedTermUpdatedIndex = "market__fixedTermUpdatedIndex",
10165
+ MarketForceBuyBackIndex = "market__forceBuyBackIndex",
10166
+ MarketId = "market__id",
10167
+ MarketIsClosed = "market__isClosed",
10168
+ MarketIsDelinquent = "market__isDelinquent",
10169
+ MarketIsIncurringPenalties = "market__isIncurringPenalties",
10170
+ MarketIsRegistered = "market__isRegistered",
10171
+ MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
10172
+ MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
10173
+ MarketMaxTotalSupply = "market__maxTotalSupply",
10174
+ MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
10175
+ MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
10176
+ MarketName = "market__name",
10177
+ MarketNormalizedUnclaimedWithdrawals = "market__normalizedUnclaimedWithdrawals",
10178
+ MarketNumCollateralContracts = "market__numCollateralContracts",
10179
+ MarketOriginalAnnualInterestBips = "market__originalAnnualInterestBips",
10180
+ MarketOriginalReserveRatioBips = "market__originalReserveRatioBips",
10181
+ MarketPendingProtocolFees = "market__pendingProtocolFees",
10182
+ MarketPendingWithdrawalExpiry = "market__pendingWithdrawalExpiry",
10183
+ MarketProtocolFeeBips = "market__protocolFeeBips",
10184
+ MarketProtocolFeeBipsUpdatedIndex = "market__protocolFeeBipsUpdatedIndex",
10185
+ MarketReserveRatioBips = "market__reserveRatioBips",
10186
+ MarketScaleFactor = "market__scaleFactor",
10187
+ MarketScaledPendingWithdrawals = "market__scaledPendingWithdrawals",
10188
+ MarketScaledTotalSupply = "market__scaledTotalSupply",
10189
+ MarketSentinel = "market__sentinel",
10190
+ MarketSymbol = "market__symbol",
10191
+ MarketTemporaryReserveRatioActive = "market__temporaryReserveRatioActive",
10192
+ MarketTemporaryReserveRatioExpiry = "market__temporaryReserveRatioExpiry",
10193
+ MarketTimeDelinquent = "market__timeDelinquent",
10194
+ MarketTotalBaseInterestAccrued = "market__totalBaseInterestAccrued",
10195
+ MarketTotalBorrowed = "market__totalBorrowed",
10196
+ MarketTotalDelinquencyFeesAccrued = "market__totalDelinquencyFeesAccrued",
10197
+ MarketTotalDeposited = "market__totalDeposited",
10198
+ MarketTotalProtocolFeesAccrued = "market__totalProtocolFeesAccrued",
10199
+ MarketTotalRepaid = "market__totalRepaid",
10200
+ MarketVersion = "market__version",
10201
+ MarketWithdrawalBatchDuration = "market__withdrawalBatchDuration",
10202
+ MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
10203
+ NewProtocolFeeBips = "newProtocolFeeBips",
10204
+ OldProtocolFeeBips = "oldProtocolFeeBips",
10205
+ ProtocolFeeBipsUpdatedIndex = "protocolFeeBipsUpdatedIndex",
10206
+ TransactionHash = "transactionHash"
10207
+ }
10208
+ export type SubgraphQuery = {
10209
+ __typename: "Query";
10210
+ /** Access to subgraph metadata */
10211
+ _meta?: Maybe<Subgraph_Meta_>;
10212
+ accountAccessGranted?: Maybe<SubgraphAccountAccessGranted>;
10213
+ accountAccessGranteds: SubgraphAccountAccessGranted[];
10214
+ accountAccessRevoked?: Maybe<SubgraphAccountAccessRevoked>;
10215
+ accountAccessRevokeds: SubgraphAccountAccessRevoked[];
10216
+ accountBlockedFromDeposits?: Maybe<SubgraphAccountBlockedFromDeposits>;
10217
+ accountBlockedFromDeposits_collection: SubgraphAccountBlockedFromDeposits[];
10218
+ accountMadeFirstDeposit?: Maybe<SubgraphAccountMadeFirstDeposit>;
10219
+ accountMadeFirstDeposits: SubgraphAccountMadeFirstDeposit[];
10220
+ accountUnblockedFromDeposits?: Maybe<SubgraphAccountUnblockedFromDeposits>;
10221
+ accountUnblockedFromDeposits_collection: SubgraphAccountUnblockedFromDeposits[];
10222
+ annualInterestBipsReductionProposed?: Maybe<SubgraphAnnualInterestBipsReductionProposed>;
10223
+ annualInterestBipsReductionProposeds: SubgraphAnnualInterestBipsReductionProposed[];
10224
+ annualInterestBipsUpdated?: Maybe<SubgraphAnnualInterestBipsUpdated>;
10225
+ annualInterestBipsUpdateds: SubgraphAnnualInterestBipsUpdated[];
10226
+ approval?: Maybe<SubgraphApproval>;
10227
+ approvals: SubgraphApproval[];
10228
+ approvedCollateralExchange?: Maybe<SubgraphApprovedCollateralExchange>;
10229
+ approvedCollateralExchanges: SubgraphApprovedCollateralExchange[];
10230
+ approvedLiquidator?: Maybe<SubgraphApprovedLiquidator>;
10231
+ approvedLiquidators: SubgraphApprovedLiquidator[];
10232
+ archController?: Maybe<SubgraphArchController>;
10233
+ archControllers: SubgraphArchController[];
10234
+ borrow?: Maybe<SubgraphBorrow>;
10235
+ borrowerRegistrationChange?: Maybe<SubgraphBorrowerRegistrationChange>;
10236
+ borrowerRegistrationChanges: SubgraphBorrowerRegistrationChange[];
10237
+ borrows: SubgraphBorrow[];
10238
+ collateralExchangeApproved?: Maybe<SubgraphCollateralExchangeApproved>;
10239
+ collateralExchangeApproveds: SubgraphCollateralExchangeApproved[];
10240
+ collateralExchangeRemoved?: Maybe<SubgraphCollateralExchangeRemoved>;
10241
+ collateralExchangeRemoveds: SubgraphCollateralExchangeRemoved[];
10242
+ controller?: Maybe<SubgraphController>;
10243
+ controllerAdded?: Maybe<SubgraphControllerAdded>;
10244
+ controllerAddeds: SubgraphControllerAdded[];
10245
+ controllerFactories: SubgraphControllerFactory[];
10246
+ controllerFactory?: Maybe<SubgraphControllerFactory>;
10247
+ controllerFactoryAdded?: Maybe<SubgraphControllerFactoryAdded>;
10248
+ controllerFactoryAddeds: SubgraphControllerFactoryAdded[];
10249
+ controllerFactoryRemoved?: Maybe<SubgraphControllerFactoryRemoved>;
10250
+ controllerFactoryRemoveds: SubgraphControllerFactoryRemoved[];
10241
10251
  controllerRemoved?: Maybe<SubgraphControllerRemoved>;
10242
10252
  controllerRemoveds: SubgraphControllerRemoved[];
10243
10253
  controllers: SubgraphController[];
@@ -10249,8 +10259,6 @@ export type SubgraphQuery = {
10249
10259
  deposits: SubgraphDeposit[];
10250
10260
  disabledForceBuyBacks?: Maybe<SubgraphDisabledForceBuyBacks>;
10251
10261
  disabledForceBuyBacks_collection: SubgraphDisabledForceBuyBacks[];
10252
- factoryHooksTemplate?: Maybe<SubgraphFactoryHooksTemplate>;
10253
- factoryHooksTemplates: SubgraphFactoryHooksTemplate[];
10254
10262
  feesCollected?: Maybe<SubgraphFeesCollected>;
10255
10263
  feesCollecteds: SubgraphFeesCollected[];
10256
10264
  fixedTermUpdated?: Maybe<SubgraphFixedTermUpdated>;
@@ -10323,6 +10331,8 @@ export type SubgraphQuery = {
10323
10331
  ownershipTransferreds: SubgraphOwnershipTransferred[];
10324
10332
  parameterConstraints?: Maybe<SubgraphParameterConstraints>;
10325
10333
  parameterConstraints_collection: SubgraphParameterConstraints[];
10334
+ periodicTermClosed?: Maybe<SubgraphPeriodicTermClosed>;
10335
+ periodicTermCloseds: SubgraphPeriodicTermClosed[];
10326
10336
  protocolFeeBipsUpdated?: Maybe<SubgraphProtocolFeeBipsUpdated>;
10327
10337
  protocolFeeBipsUpdateds: SubgraphProtocolFeeBipsUpdated[];
10328
10338
  registeredBorrower?: Maybe<SubgraphRegisteredBorrower>;
@@ -10371,12 +10381,6 @@ export type SubgraphQuery = {
10371
10381
  transfers: SubgraphTransfer[];
10372
10382
  updateProtocolFeeConfiguration?: Maybe<SubgraphUpdateProtocolFeeConfiguration>;
10373
10383
  updateProtocolFeeConfigurations: SubgraphUpdateProtocolFeeConfiguration[];
10374
- wildcat4626Wrapper?: Maybe<SubgraphWildcat4626Wrapper>;
10375
- wildcat4626WrapperDeployed?: Maybe<SubgraphWildcat4626WrapperDeployed>;
10376
- wildcat4626WrapperDeployeds: SubgraphWildcat4626WrapperDeployed[];
10377
- wildcat4626WrapperFactories: SubgraphWildcat4626WrapperFactory[];
10378
- wildcat4626WrapperFactory?: Maybe<SubgraphWildcat4626WrapperFactory>;
10379
- wildcat4626Wrappers: SubgraphWildcat4626Wrapper[];
10380
10384
  withdrawalBatch?: Maybe<SubgraphWithdrawalBatch>;
10381
10385
  withdrawalBatchCreated?: Maybe<SubgraphWithdrawalBatchCreated>;
10382
10386
  withdrawalBatchCreateds: SubgraphWithdrawalBatchCreated[];
@@ -10449,6 +10453,16 @@ export type SubgraphQueryAccountUnblockedFromDeposits_CollectionArgs = {
10449
10453
  subgraphError?: Subgraph_SubgraphErrorPolicy_;
10450
10454
  where?: InputMaybe<SubgraphAccountUnblockedFromDeposits_Filter>;
10451
10455
  };
10456
+ export type SubgraphQueryAnnualInterestBipsReductionProposedArgs = SubgraphQueryAccountAccessGrantedArgs;
10457
+ export type SubgraphQueryAnnualInterestBipsReductionProposedsArgs = {
10458
+ block?: InputMaybe<SubgraphBlock_Height>;
10459
+ first?: InputMaybe<Scalars["Int"]["input"]>;
10460
+ orderBy?: InputMaybe<SubgraphAnnualInterestBipsReductionProposed_OrderBy>;
10461
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
10462
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
10463
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
10464
+ where?: InputMaybe<SubgraphAnnualInterestBipsReductionProposed_Filter>;
10465
+ };
10452
10466
  export type SubgraphQueryAnnualInterestBipsUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
10453
10467
  export type SubgraphQueryAnnualInterestBipsUpdatedsArgs = {
10454
10468
  block?: InputMaybe<SubgraphBlock_Height>;
@@ -10639,16 +10653,6 @@ export type SubgraphQueryDisabledForceBuyBacks_CollectionArgs = {
10639
10653
  subgraphError?: Subgraph_SubgraphErrorPolicy_;
10640
10654
  where?: InputMaybe<SubgraphDisabledForceBuyBacks_Filter>;
10641
10655
  };
10642
- export type SubgraphQueryFactoryHooksTemplateArgs = SubgraphQueryAccountAccessGrantedArgs;
10643
- export type SubgraphQueryFactoryHooksTemplatesArgs = {
10644
- block?: InputMaybe<SubgraphBlock_Height>;
10645
- first?: InputMaybe<Scalars["Int"]["input"]>;
10646
- orderBy?: InputMaybe<SubgraphFactoryHooksTemplate_OrderBy>;
10647
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
10648
- skip?: InputMaybe<Scalars["Int"]["input"]>;
10649
- subgraphError?: Subgraph_SubgraphErrorPolicy_;
10650
- where?: InputMaybe<SubgraphFactoryHooksTemplate_Filter>;
10651
- };
10652
10656
  export type SubgraphQueryFeesCollectedArgs = SubgraphQueryAccountAccessGrantedArgs;
10653
10657
  export type SubgraphQueryFeesCollectedsArgs = {
10654
10658
  block?: InputMaybe<SubgraphBlock_Height>;
@@ -11009,6 +11013,16 @@ export type SubgraphQueryParameterConstraints_CollectionArgs = {
11009
11013
  subgraphError?: Subgraph_SubgraphErrorPolicy_;
11010
11014
  where?: InputMaybe<SubgraphParameterConstraints_Filter>;
11011
11015
  };
11016
+ export type SubgraphQueryPeriodicTermClosedArgs = SubgraphQueryAccountAccessGrantedArgs;
11017
+ export type SubgraphQueryPeriodicTermClosedsArgs = {
11018
+ block?: InputMaybe<SubgraphBlock_Height>;
11019
+ first?: InputMaybe<Scalars["Int"]["input"]>;
11020
+ orderBy?: InputMaybe<SubgraphPeriodicTermClosed_OrderBy>;
11021
+ orderDirection?: InputMaybe<SubgraphOrderDirection>;
11022
+ skip?: InputMaybe<Scalars["Int"]["input"]>;
11023
+ subgraphError?: Subgraph_SubgraphErrorPolicy_;
11024
+ where?: InputMaybe<SubgraphPeriodicTermClosed_Filter>;
11025
+ };
11012
11026
  export type SubgraphQueryProtocolFeeBipsUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
11013
11027
  export type SubgraphQueryProtocolFeeBipsUpdatedsArgs = {
11014
11028
  block?: InputMaybe<SubgraphBlock_Height>;
@@ -11249,36 +11263,6 @@ export type SubgraphQueryUpdateProtocolFeeConfigurationsArgs = {
11249
11263
  subgraphError?: Subgraph_SubgraphErrorPolicy_;
11250
11264
  where?: InputMaybe<SubgraphUpdateProtocolFeeConfiguration_Filter>;
11251
11265
  };
11252
- export type SubgraphQueryWildcat4626WrapperArgs = SubgraphQueryAccountAccessGrantedArgs;
11253
- export type SubgraphQueryWildcat4626WrapperDeployedArgs = SubgraphQueryAccountAccessGrantedArgs;
11254
- export type SubgraphQueryWildcat4626WrapperDeployedsArgs = {
11255
- block?: InputMaybe<SubgraphBlock_Height>;
11256
- first?: InputMaybe<Scalars["Int"]["input"]>;
11257
- orderBy?: InputMaybe<SubgraphWildcat4626WrapperDeployed_OrderBy>;
11258
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
11259
- skip?: InputMaybe<Scalars["Int"]["input"]>;
11260
- subgraphError?: Subgraph_SubgraphErrorPolicy_;
11261
- where?: InputMaybe<SubgraphWildcat4626WrapperDeployed_Filter>;
11262
- };
11263
- export type SubgraphQueryWildcat4626WrapperFactoriesArgs = {
11264
- block?: InputMaybe<SubgraphBlock_Height>;
11265
- first?: InputMaybe<Scalars["Int"]["input"]>;
11266
- orderBy?: InputMaybe<SubgraphWildcat4626WrapperFactory_OrderBy>;
11267
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
11268
- skip?: InputMaybe<Scalars["Int"]["input"]>;
11269
- subgraphError?: Subgraph_SubgraphErrorPolicy_;
11270
- where?: InputMaybe<SubgraphWildcat4626WrapperFactory_Filter>;
11271
- };
11272
- export type SubgraphQueryWildcat4626WrapperFactoryArgs = SubgraphQueryAccountAccessGrantedArgs;
11273
- export type SubgraphQueryWildcat4626WrappersArgs = {
11274
- block?: InputMaybe<SubgraphBlock_Height>;
11275
- first?: InputMaybe<Scalars["Int"]["input"]>;
11276
- orderBy?: InputMaybe<SubgraphWildcat4626Wrapper_OrderBy>;
11277
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
11278
- skip?: InputMaybe<Scalars["Int"]["input"]>;
11279
- subgraphError?: Subgraph_SubgraphErrorPolicy_;
11280
- where?: InputMaybe<SubgraphWildcat4626Wrapper_Filter>;
11281
- };
11282
11266
  export type SubgraphQueryWithdrawalBatchArgs = SubgraphQueryAccountAccessGrantedArgs;
11283
11267
  export type SubgraphQueryWithdrawalBatchCreatedArgs = SubgraphQueryAccountAccessGrantedArgs;
11284
11268
  export type SubgraphQueryWithdrawalBatchCreatedsArgs = {
@@ -11528,7 +11512,6 @@ export declare enum SubgraphReserveRatioBipsUpdated_OrderBy {
11528
11512
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
11529
11513
  MarketBorrowIndex = "market__borrowIndex",
11530
11514
  MarketBorrower = "market__borrower",
11531
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
11532
11515
  MarketCreatedAt = "market__createdAt",
11533
11516
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
11534
11517
  MarketDecimals = "market__decimals",
@@ -11536,7 +11519,6 @@ export declare enum SubgraphReserveRatioBipsUpdated_OrderBy {
11536
11519
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
11537
11520
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
11538
11521
  MarketDepositIndex = "market__depositIndex",
11539
- MarketDrawnAmount = "market__drawnAmount",
11540
11522
  MarketEventIndex = "market__eventIndex",
11541
11523
  MarketFeeRecipient = "market__feeRecipient",
11542
11524
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -11549,7 +11531,6 @@ export declare enum SubgraphReserveRatioBipsUpdated_OrderBy {
11549
11531
  MarketIsRegistered = "market__isRegistered",
11550
11532
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
11551
11533
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
11552
- MarketMarketType = "market__marketType",
11553
11534
  MarketMaxTotalSupply = "market__maxTotalSupply",
11554
11535
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
11555
11536
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -13762,7 +13743,6 @@ export declare enum SubgraphSimpleCollateralContract_OrderBy {
13762
13743
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
13763
13744
  MarketBorrowIndex = "market__borrowIndex",
13764
13745
  MarketBorrower = "market__borrower",
13765
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
13766
13746
  MarketCreatedAt = "market__createdAt",
13767
13747
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
13768
13748
  MarketDecimals = "market__decimals",
@@ -13770,7 +13750,6 @@ export declare enum SubgraphSimpleCollateralContract_OrderBy {
13770
13750
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
13771
13751
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
13772
13752
  MarketDepositIndex = "market__depositIndex",
13773
- MarketDrawnAmount = "market__drawnAmount",
13774
13753
  MarketEventIndex = "market__eventIndex",
13775
13754
  MarketFeeRecipient = "market__feeRecipient",
13776
13755
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -13783,7 +13762,6 @@ export declare enum SubgraphSimpleCollateralContract_OrderBy {
13783
13762
  MarketIsRegistered = "market__isRegistered",
13784
13763
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
13785
13764
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
13786
- MarketMarketType = "market__marketType",
13787
13765
  MarketMaxTotalSupply = "market__maxTotalSupply",
13788
13766
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
13789
13767
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -14164,7 +14142,6 @@ export declare enum SubgraphTransfer_OrderBy {
14164
14142
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
14165
14143
  MarketBorrowIndex = "market__borrowIndex",
14166
14144
  MarketBorrower = "market__borrower",
14167
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
14168
14145
  MarketCreatedAt = "market__createdAt",
14169
14146
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
14170
14147
  MarketDecimals = "market__decimals",
@@ -14172,7 +14149,6 @@ export declare enum SubgraphTransfer_OrderBy {
14172
14149
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
14173
14150
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
14174
14151
  MarketDepositIndex = "market__depositIndex",
14175
- MarketDrawnAmount = "market__drawnAmount",
14176
14152
  MarketEventIndex = "market__eventIndex",
14177
14153
  MarketFeeRecipient = "market__feeRecipient",
14178
14154
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -14185,7 +14161,6 @@ export declare enum SubgraphTransfer_OrderBy {
14185
14161
  MarketIsRegistered = "market__isRegistered",
14186
14162
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
14187
14163
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
14188
- MarketMarketType = "market__marketType",
14189
14164
  MarketMaxTotalSupply = "market__maxTotalSupply",
14190
14165
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
14191
14166
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -14338,590 +14313,21 @@ export type SubgraphUpdateProtocolFeeConfiguration_Filter = {
14338
14313
  transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14339
14314
  transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14340
14315
  };
14341
- export declare enum SubgraphUpdateProtocolFeeConfiguration_OrderBy {
14342
- BlockLogIndex = "blockLogIndex",
14343
- BlockNumber = "blockNumber",
14344
- BlockTimestamp = "blockTimestamp",
14345
- FeeRecipient = "feeRecipient",
14346
- Id = "id",
14347
- OriginationFeeAmount = "originationFeeAmount",
14348
- OriginationFeeAsset = "originationFeeAsset",
14349
- OriginationFeeAssetAddress = "originationFeeAsset__address",
14350
- OriginationFeeAssetDecimals = "originationFeeAsset__decimals",
14351
- OriginationFeeAssetId = "originationFeeAsset__id",
14352
- OriginationFeeAssetIsMock = "originationFeeAsset__isMock",
14353
- OriginationFeeAssetName = "originationFeeAsset__name",
14354
- OriginationFeeAssetSymbol = "originationFeeAsset__symbol",
14355
- ProtocolFeeBips = "protocolFeeBips",
14356
- TransactionHash = "transactionHash"
14357
- }
14358
- export type SubgraphWildcat4626Wrapper = {
14359
- __typename: "Wildcat4626Wrapper";
14360
- address: Scalars["Bytes"]["output"];
14361
- blockLogIndex: Scalars["Int"]["output"];
14362
- blockNumber: Scalars["Int"]["output"];
14363
- blockTimestamp: Scalars["Int"]["output"];
14364
- deployedEvent?: Maybe<SubgraphWildcat4626WrapperDeployed>;
14365
- factory: SubgraphWildcat4626WrapperFactory;
14366
- id: Scalars["ID"]["output"];
14367
- market?: Maybe<SubgraphMarket>;
14368
- marketAddress: Scalars["Bytes"]["output"];
14369
- marketToken: SubgraphToken;
14370
- token: SubgraphToken;
14371
- transactionHash: Scalars["Bytes"]["output"];
14372
- };
14373
- export type SubgraphWildcat4626WrapperDeployed = {
14374
- __typename: "Wildcat4626WrapperDeployed";
14375
- blockLogIndex: Scalars["Int"]["output"];
14376
- blockNumber: Scalars["Int"]["output"];
14377
- blockTimestamp: Scalars["Int"]["output"];
14378
- factory: SubgraphWildcat4626WrapperFactory;
14379
- id: Scalars["ID"]["output"];
14380
- market?: Maybe<SubgraphMarket>;
14381
- marketAddress: Scalars["Bytes"]["output"];
14382
- transactionHash: Scalars["Bytes"]["output"];
14383
- wrapper: SubgraphWildcat4626Wrapper;
14384
- wrapperAddress: Scalars["Bytes"]["output"];
14385
- };
14386
- export type SubgraphWildcat4626WrapperDeployed_Filter = {
14387
- /** Filter for the block changed event. */
14388
- _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
14389
- and?: InputMaybe<Array<InputMaybe<SubgraphWildcat4626WrapperDeployed_Filter>>>;
14390
- blockLogIndex?: InputMaybe<Scalars["Int"]["input"]>;
14391
- blockLogIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
14392
- blockLogIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
14393
- blockLogIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14394
- blockLogIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
14395
- blockLogIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
14396
- blockLogIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
14397
- blockLogIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14398
- blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
14399
- blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
14400
- blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
14401
- blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14402
- blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
14403
- blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
14404
- blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
14405
- blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14406
- blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
14407
- blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
14408
- blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
14409
- blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14410
- blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
14411
- blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
14412
- blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
14413
- blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14414
- factory?: InputMaybe<Scalars["String"]["input"]>;
14415
- factory_?: InputMaybe<SubgraphWildcat4626WrapperFactory_Filter>;
14416
- factory_contains?: InputMaybe<Scalars["String"]["input"]>;
14417
- factory_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14418
- factory_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14419
- factory_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14420
- factory_gt?: InputMaybe<Scalars["String"]["input"]>;
14421
- factory_gte?: InputMaybe<Scalars["String"]["input"]>;
14422
- factory_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14423
- factory_lt?: InputMaybe<Scalars["String"]["input"]>;
14424
- factory_lte?: InputMaybe<Scalars["String"]["input"]>;
14425
- factory_not?: InputMaybe<Scalars["String"]["input"]>;
14426
- factory_not_contains?: InputMaybe<Scalars["String"]["input"]>;
14427
- factory_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14428
- factory_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14429
- factory_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14430
- factory_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14431
- factory_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14432
- factory_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14433
- factory_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14434
- factory_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14435
- id?: InputMaybe<Scalars["ID"]["input"]>;
14436
- id_gt?: InputMaybe<Scalars["ID"]["input"]>;
14437
- id_gte?: InputMaybe<Scalars["ID"]["input"]>;
14438
- id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
14439
- id_lt?: InputMaybe<Scalars["ID"]["input"]>;
14440
- id_lte?: InputMaybe<Scalars["ID"]["input"]>;
14441
- id_not?: InputMaybe<Scalars["ID"]["input"]>;
14442
- id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
14443
- market?: InputMaybe<Scalars["String"]["input"]>;
14444
- marketAddress?: InputMaybe<Scalars["Bytes"]["input"]>;
14445
- marketAddress_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14446
- marketAddress_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
14447
- marketAddress_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
14448
- marketAddress_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14449
- marketAddress_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
14450
- marketAddress_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
14451
- marketAddress_not?: InputMaybe<Scalars["Bytes"]["input"]>;
14452
- marketAddress_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14453
- marketAddress_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14454
- market_?: InputMaybe<SubgraphMarket_Filter>;
14455
- market_contains?: InputMaybe<Scalars["String"]["input"]>;
14456
- market_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14457
- market_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14458
- market_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14459
- market_gt?: InputMaybe<Scalars["String"]["input"]>;
14460
- market_gte?: InputMaybe<Scalars["String"]["input"]>;
14461
- market_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14462
- market_lt?: InputMaybe<Scalars["String"]["input"]>;
14463
- market_lte?: InputMaybe<Scalars["String"]["input"]>;
14464
- market_not?: InputMaybe<Scalars["String"]["input"]>;
14465
- market_not_contains?: InputMaybe<Scalars["String"]["input"]>;
14466
- market_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14467
- market_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14468
- market_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14469
- market_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14470
- market_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14471
- market_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14472
- market_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14473
- market_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14474
- or?: InputMaybe<Array<InputMaybe<SubgraphWildcat4626WrapperDeployed_Filter>>>;
14475
- transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
14476
- transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14477
- transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
14478
- transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
14479
- transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14480
- transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
14481
- transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
14482
- transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
14483
- transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14484
- transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14485
- wrapper?: InputMaybe<Scalars["String"]["input"]>;
14486
- wrapperAddress?: InputMaybe<Scalars["Bytes"]["input"]>;
14487
- wrapperAddress_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14488
- wrapperAddress_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
14489
- wrapperAddress_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
14490
- wrapperAddress_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14491
- wrapperAddress_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
14492
- wrapperAddress_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
14493
- wrapperAddress_not?: InputMaybe<Scalars["Bytes"]["input"]>;
14494
- wrapperAddress_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14495
- wrapperAddress_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14496
- wrapper_?: InputMaybe<SubgraphWildcat4626Wrapper_Filter>;
14497
- wrapper_contains?: InputMaybe<Scalars["String"]["input"]>;
14498
- wrapper_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14499
- wrapper_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14500
- wrapper_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14501
- wrapper_gt?: InputMaybe<Scalars["String"]["input"]>;
14502
- wrapper_gte?: InputMaybe<Scalars["String"]["input"]>;
14503
- wrapper_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14504
- wrapper_lt?: InputMaybe<Scalars["String"]["input"]>;
14505
- wrapper_lte?: InputMaybe<Scalars["String"]["input"]>;
14506
- wrapper_not?: InputMaybe<Scalars["String"]["input"]>;
14507
- wrapper_not_contains?: InputMaybe<Scalars["String"]["input"]>;
14508
- wrapper_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14509
- wrapper_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14510
- wrapper_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14511
- wrapper_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14512
- wrapper_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14513
- wrapper_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14514
- wrapper_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14515
- wrapper_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14516
- };
14517
- export declare enum SubgraphWildcat4626WrapperDeployed_OrderBy {
14518
- BlockLogIndex = "blockLogIndex",
14519
- BlockNumber = "blockNumber",
14520
- BlockTimestamp = "blockTimestamp",
14521
- Factory = "factory",
14522
- FactoryAddress = "factory__address",
14523
- FactoryEventIndex = "factory__eventIndex",
14524
- FactoryId = "factory__id",
14525
- Id = "id",
14526
- Market = "market",
14527
- MarketAddress = "marketAddress",
14528
- MarketAnnualInterestBips = "market__annualInterestBips",
14529
- MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
14530
- MarketBorrowIndex = "market__borrowIndex",
14531
- MarketBorrower = "market__borrower",
14532
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
14533
- MarketCreatedAt = "market__createdAt",
14534
- MarketDebtRepaidIndex = "market__debtRepaidIndex",
14535
- MarketDecimals = "market__decimals",
14536
- MarketDelinquencyFeeBips = "market__delinquencyFeeBips",
14537
- MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
14538
- MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
14539
- MarketDepositIndex = "market__depositIndex",
14540
- MarketDrawnAmount = "market__drawnAmount",
14541
- MarketEventIndex = "market__eventIndex",
14542
- MarketFeeRecipient = "market__feeRecipient",
14543
- MarketFeesCollectedIndex = "market__feesCollectedIndex",
14544
- MarketFixedTermUpdatedIndex = "market__fixedTermUpdatedIndex",
14545
- MarketForceBuyBackIndex = "market__forceBuyBackIndex",
14546
- MarketId = "market__id",
14547
- MarketIsClosed = "market__isClosed",
14548
- MarketIsDelinquent = "market__isDelinquent",
14549
- MarketIsIncurringPenalties = "market__isIncurringPenalties",
14550
- MarketIsRegistered = "market__isRegistered",
14551
- MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
14552
- MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
14553
- MarketMarketType = "market__marketType",
14554
- MarketMaxTotalSupply = "market__maxTotalSupply",
14555
- MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
14556
- MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
14557
- MarketName = "market__name",
14558
- MarketNormalizedUnclaimedWithdrawals = "market__normalizedUnclaimedWithdrawals",
14559
- MarketNumCollateralContracts = "market__numCollateralContracts",
14560
- MarketOriginalAnnualInterestBips = "market__originalAnnualInterestBips",
14561
- MarketOriginalReserveRatioBips = "market__originalReserveRatioBips",
14562
- MarketPendingProtocolFees = "market__pendingProtocolFees",
14563
- MarketPendingWithdrawalExpiry = "market__pendingWithdrawalExpiry",
14564
- MarketProtocolFeeBips = "market__protocolFeeBips",
14565
- MarketProtocolFeeBipsUpdatedIndex = "market__protocolFeeBipsUpdatedIndex",
14566
- MarketReserveRatioBips = "market__reserveRatioBips",
14567
- MarketScaleFactor = "market__scaleFactor",
14568
- MarketScaledPendingWithdrawals = "market__scaledPendingWithdrawals",
14569
- MarketScaledTotalSupply = "market__scaledTotalSupply",
14570
- MarketSentinel = "market__sentinel",
14571
- MarketSymbol = "market__symbol",
14572
- MarketTemporaryReserveRatioActive = "market__temporaryReserveRatioActive",
14573
- MarketTemporaryReserveRatioExpiry = "market__temporaryReserveRatioExpiry",
14574
- MarketTimeDelinquent = "market__timeDelinquent",
14575
- MarketTotalBaseInterestAccrued = "market__totalBaseInterestAccrued",
14576
- MarketTotalBorrowed = "market__totalBorrowed",
14577
- MarketTotalDelinquencyFeesAccrued = "market__totalDelinquencyFeesAccrued",
14578
- MarketTotalDeposited = "market__totalDeposited",
14579
- MarketTotalProtocolFeesAccrued = "market__totalProtocolFeesAccrued",
14580
- MarketTotalRepaid = "market__totalRepaid",
14581
- MarketVersion = "market__version",
14582
- MarketWithdrawalBatchDuration = "market__withdrawalBatchDuration",
14583
- MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
14584
- TransactionHash = "transactionHash",
14585
- Wrapper = "wrapper",
14586
- WrapperAddress = "wrapperAddress",
14587
- WrapperNestedAddress = "wrapper__address",
14588
- WrapperBlockLogIndex = "wrapper__blockLogIndex",
14589
- WrapperBlockNumber = "wrapper__blockNumber",
14590
- WrapperBlockTimestamp = "wrapper__blockTimestamp",
14591
- WrapperId = "wrapper__id",
14592
- WrapperMarketAddress = "wrapper__marketAddress",
14593
- WrapperTransactionHash = "wrapper__transactionHash"
14594
- }
14595
- export type SubgraphWildcat4626WrapperFactory = {
14596
- __typename: "Wildcat4626WrapperFactory";
14597
- address: Scalars["Bytes"]["output"];
14598
- archController: SubgraphArchController;
14599
- deployedEvents: SubgraphWildcat4626WrapperDeployed[];
14600
- eventIndex: Scalars["Int"]["output"];
14601
- id: Scalars["ID"]["output"];
14602
- wrappers: SubgraphWildcat4626Wrapper[];
14603
- };
14604
- export type SubgraphWildcat4626WrapperFactoryDeployedEventsArgs = {
14605
- first?: InputMaybe<Scalars["Int"]["input"]>;
14606
- orderBy?: InputMaybe<SubgraphWildcat4626WrapperDeployed_OrderBy>;
14607
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
14608
- skip?: InputMaybe<Scalars["Int"]["input"]>;
14609
- where?: InputMaybe<SubgraphWildcat4626WrapperDeployed_Filter>;
14610
- };
14611
- export type SubgraphWildcat4626WrapperFactoryWrappersArgs = {
14612
- first?: InputMaybe<Scalars["Int"]["input"]>;
14613
- orderBy?: InputMaybe<SubgraphWildcat4626Wrapper_OrderBy>;
14614
- orderDirection?: InputMaybe<SubgraphOrderDirection>;
14615
- skip?: InputMaybe<Scalars["Int"]["input"]>;
14616
- where?: InputMaybe<SubgraphWildcat4626Wrapper_Filter>;
14617
- };
14618
- export type SubgraphWildcat4626WrapperFactory_Filter = {
14619
- /** Filter for the block changed event. */
14620
- _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
14621
- address?: InputMaybe<Scalars["Bytes"]["input"]>;
14622
- address_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14623
- address_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
14624
- address_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
14625
- address_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14626
- address_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
14627
- address_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
14628
- address_not?: InputMaybe<Scalars["Bytes"]["input"]>;
14629
- address_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14630
- address_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14631
- and?: InputMaybe<Array<InputMaybe<SubgraphWildcat4626WrapperFactory_Filter>>>;
14632
- archController?: InputMaybe<Scalars["String"]["input"]>;
14633
- archController_?: InputMaybe<SubgraphArchController_Filter>;
14634
- archController_contains?: InputMaybe<Scalars["String"]["input"]>;
14635
- archController_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14636
- archController_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14637
- archController_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14638
- archController_gt?: InputMaybe<Scalars["String"]["input"]>;
14639
- archController_gte?: InputMaybe<Scalars["String"]["input"]>;
14640
- archController_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14641
- archController_lt?: InputMaybe<Scalars["String"]["input"]>;
14642
- archController_lte?: InputMaybe<Scalars["String"]["input"]>;
14643
- archController_not?: InputMaybe<Scalars["String"]["input"]>;
14644
- archController_not_contains?: InputMaybe<Scalars["String"]["input"]>;
14645
- archController_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14646
- archController_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14647
- archController_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14648
- archController_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14649
- archController_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14650
- archController_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14651
- archController_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14652
- archController_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14653
- deployedEvents_?: InputMaybe<SubgraphWildcat4626WrapperDeployed_Filter>;
14654
- eventIndex?: InputMaybe<Scalars["Int"]["input"]>;
14655
- eventIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
14656
- eventIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
14657
- eventIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14658
- eventIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
14659
- eventIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
14660
- eventIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
14661
- eventIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14662
- id?: InputMaybe<Scalars["ID"]["input"]>;
14663
- id_gt?: InputMaybe<Scalars["ID"]["input"]>;
14664
- id_gte?: InputMaybe<Scalars["ID"]["input"]>;
14665
- id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
14666
- id_lt?: InputMaybe<Scalars["ID"]["input"]>;
14667
- id_lte?: InputMaybe<Scalars["ID"]["input"]>;
14668
- id_not?: InputMaybe<Scalars["ID"]["input"]>;
14669
- id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
14670
- or?: InputMaybe<Array<InputMaybe<SubgraphWildcat4626WrapperFactory_Filter>>>;
14671
- wrappers_?: InputMaybe<SubgraphWildcat4626Wrapper_Filter>;
14672
- };
14673
- export declare enum SubgraphWildcat4626WrapperFactory_OrderBy {
14674
- Address = "address",
14675
- ArchController = "archController",
14676
- ArchControllerId = "archController__id",
14677
- DeployedEvents = "deployedEvents",
14678
- EventIndex = "eventIndex",
14679
- Id = "id",
14680
- Wrappers = "wrappers"
14681
- }
14682
- export type SubgraphWildcat4626Wrapper_Filter = {
14683
- /** Filter for the block changed event. */
14684
- _change_block?: InputMaybe<SubgraphBlockChangedFilter>;
14685
- address?: InputMaybe<Scalars["Bytes"]["input"]>;
14686
- address_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14687
- address_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
14688
- address_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
14689
- address_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14690
- address_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
14691
- address_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
14692
- address_not?: InputMaybe<Scalars["Bytes"]["input"]>;
14693
- address_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14694
- address_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14695
- and?: InputMaybe<Array<InputMaybe<SubgraphWildcat4626Wrapper_Filter>>>;
14696
- blockLogIndex?: InputMaybe<Scalars["Int"]["input"]>;
14697
- blockLogIndex_gt?: InputMaybe<Scalars["Int"]["input"]>;
14698
- blockLogIndex_gte?: InputMaybe<Scalars["Int"]["input"]>;
14699
- blockLogIndex_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14700
- blockLogIndex_lt?: InputMaybe<Scalars["Int"]["input"]>;
14701
- blockLogIndex_lte?: InputMaybe<Scalars["Int"]["input"]>;
14702
- blockLogIndex_not?: InputMaybe<Scalars["Int"]["input"]>;
14703
- blockLogIndex_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14704
- blockNumber?: InputMaybe<Scalars["Int"]["input"]>;
14705
- blockNumber_gt?: InputMaybe<Scalars["Int"]["input"]>;
14706
- blockNumber_gte?: InputMaybe<Scalars["Int"]["input"]>;
14707
- blockNumber_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14708
- blockNumber_lt?: InputMaybe<Scalars["Int"]["input"]>;
14709
- blockNumber_lte?: InputMaybe<Scalars["Int"]["input"]>;
14710
- blockNumber_not?: InputMaybe<Scalars["Int"]["input"]>;
14711
- blockNumber_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14712
- blockTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
14713
- blockTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
14714
- blockTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
14715
- blockTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14716
- blockTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
14717
- blockTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
14718
- blockTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
14719
- blockTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
14720
- deployedEvent_?: InputMaybe<SubgraphWildcat4626WrapperDeployed_Filter>;
14721
- factory?: InputMaybe<Scalars["String"]["input"]>;
14722
- factory_?: InputMaybe<SubgraphWildcat4626WrapperFactory_Filter>;
14723
- factory_contains?: InputMaybe<Scalars["String"]["input"]>;
14724
- factory_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14725
- factory_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14726
- factory_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14727
- factory_gt?: InputMaybe<Scalars["String"]["input"]>;
14728
- factory_gte?: InputMaybe<Scalars["String"]["input"]>;
14729
- factory_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14730
- factory_lt?: InputMaybe<Scalars["String"]["input"]>;
14731
- factory_lte?: InputMaybe<Scalars["String"]["input"]>;
14732
- factory_not?: InputMaybe<Scalars["String"]["input"]>;
14733
- factory_not_contains?: InputMaybe<Scalars["String"]["input"]>;
14734
- factory_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14735
- factory_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14736
- factory_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14737
- factory_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14738
- factory_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14739
- factory_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14740
- factory_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14741
- factory_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14742
- id?: InputMaybe<Scalars["ID"]["input"]>;
14743
- id_gt?: InputMaybe<Scalars["ID"]["input"]>;
14744
- id_gte?: InputMaybe<Scalars["ID"]["input"]>;
14745
- id_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
14746
- id_lt?: InputMaybe<Scalars["ID"]["input"]>;
14747
- id_lte?: InputMaybe<Scalars["ID"]["input"]>;
14748
- id_not?: InputMaybe<Scalars["ID"]["input"]>;
14749
- id_not_in?: InputMaybe<Array<Scalars["ID"]["input"]>>;
14750
- market?: InputMaybe<Scalars["String"]["input"]>;
14751
- marketAddress?: InputMaybe<Scalars["Bytes"]["input"]>;
14752
- marketAddress_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14753
- marketAddress_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
14754
- marketAddress_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
14755
- marketAddress_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14756
- marketAddress_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
14757
- marketAddress_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
14758
- marketAddress_not?: InputMaybe<Scalars["Bytes"]["input"]>;
14759
- marketAddress_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14760
- marketAddress_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14761
- marketToken?: InputMaybe<Scalars["String"]["input"]>;
14762
- marketToken_?: InputMaybe<SubgraphToken_Filter>;
14763
- marketToken_contains?: InputMaybe<Scalars["String"]["input"]>;
14764
- marketToken_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14765
- marketToken_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14766
- marketToken_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14767
- marketToken_gt?: InputMaybe<Scalars["String"]["input"]>;
14768
- marketToken_gte?: InputMaybe<Scalars["String"]["input"]>;
14769
- marketToken_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14770
- marketToken_lt?: InputMaybe<Scalars["String"]["input"]>;
14771
- marketToken_lte?: InputMaybe<Scalars["String"]["input"]>;
14772
- marketToken_not?: InputMaybe<Scalars["String"]["input"]>;
14773
- marketToken_not_contains?: InputMaybe<Scalars["String"]["input"]>;
14774
- marketToken_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14775
- marketToken_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14776
- marketToken_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14777
- marketToken_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14778
- marketToken_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14779
- marketToken_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14780
- marketToken_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14781
- marketToken_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14782
- market_?: InputMaybe<SubgraphMarket_Filter>;
14783
- market_contains?: InputMaybe<Scalars["String"]["input"]>;
14784
- market_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14785
- market_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14786
- market_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14787
- market_gt?: InputMaybe<Scalars["String"]["input"]>;
14788
- market_gte?: InputMaybe<Scalars["String"]["input"]>;
14789
- market_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14790
- market_lt?: InputMaybe<Scalars["String"]["input"]>;
14791
- market_lte?: InputMaybe<Scalars["String"]["input"]>;
14792
- market_not?: InputMaybe<Scalars["String"]["input"]>;
14793
- market_not_contains?: InputMaybe<Scalars["String"]["input"]>;
14794
- market_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14795
- market_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14796
- market_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14797
- market_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14798
- market_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14799
- market_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14800
- market_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14801
- market_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14802
- or?: InputMaybe<Array<InputMaybe<SubgraphWildcat4626Wrapper_Filter>>>;
14803
- token?: InputMaybe<Scalars["String"]["input"]>;
14804
- token_?: InputMaybe<SubgraphToken_Filter>;
14805
- token_contains?: InputMaybe<Scalars["String"]["input"]>;
14806
- token_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14807
- token_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14808
- token_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14809
- token_gt?: InputMaybe<Scalars["String"]["input"]>;
14810
- token_gte?: InputMaybe<Scalars["String"]["input"]>;
14811
- token_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14812
- token_lt?: InputMaybe<Scalars["String"]["input"]>;
14813
- token_lte?: InputMaybe<Scalars["String"]["input"]>;
14814
- token_not?: InputMaybe<Scalars["String"]["input"]>;
14815
- token_not_contains?: InputMaybe<Scalars["String"]["input"]>;
14816
- token_not_contains_nocase?: InputMaybe<Scalars["String"]["input"]>;
14817
- token_not_ends_with?: InputMaybe<Scalars["String"]["input"]>;
14818
- token_not_ends_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14819
- token_not_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
14820
- token_not_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14821
- token_not_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14822
- token_starts_with?: InputMaybe<Scalars["String"]["input"]>;
14823
- token_starts_with_nocase?: InputMaybe<Scalars["String"]["input"]>;
14824
- transactionHash?: InputMaybe<Scalars["Bytes"]["input"]>;
14825
- transactionHash_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14826
- transactionHash_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
14827
- transactionHash_gte?: InputMaybe<Scalars["Bytes"]["input"]>;
14828
- transactionHash_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14829
- transactionHash_lt?: InputMaybe<Scalars["Bytes"]["input"]>;
14830
- transactionHash_lte?: InputMaybe<Scalars["Bytes"]["input"]>;
14831
- transactionHash_not?: InputMaybe<Scalars["Bytes"]["input"]>;
14832
- transactionHash_not_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
14833
- transactionHash_not_in?: InputMaybe<Array<Scalars["Bytes"]["input"]>>;
14834
- };
14835
- export declare enum SubgraphWildcat4626Wrapper_OrderBy {
14836
- Address = "address",
14316
+ export declare enum SubgraphUpdateProtocolFeeConfiguration_OrderBy {
14837
14317
  BlockLogIndex = "blockLogIndex",
14838
14318
  BlockNumber = "blockNumber",
14839
14319
  BlockTimestamp = "blockTimestamp",
14840
- DeployedEvent = "deployedEvent",
14841
- DeployedEventBlockLogIndex = "deployedEvent__blockLogIndex",
14842
- DeployedEventBlockNumber = "deployedEvent__blockNumber",
14843
- DeployedEventBlockTimestamp = "deployedEvent__blockTimestamp",
14844
- DeployedEventId = "deployedEvent__id",
14845
- DeployedEventMarketAddress = "deployedEvent__marketAddress",
14846
- DeployedEventTransactionHash = "deployedEvent__transactionHash",
14847
- DeployedEventWrapperAddress = "deployedEvent__wrapperAddress",
14848
- Factory = "factory",
14849
- FactoryAddress = "factory__address",
14850
- FactoryEventIndex = "factory__eventIndex",
14851
- FactoryId = "factory__id",
14320
+ FeeRecipient = "feeRecipient",
14852
14321
  Id = "id",
14853
- Market = "market",
14854
- MarketAddress = "marketAddress",
14855
- MarketToken = "marketToken",
14856
- MarketTokenAddress = "marketToken__address",
14857
- MarketTokenDecimals = "marketToken__decimals",
14858
- MarketTokenId = "marketToken__id",
14859
- MarketTokenIsMock = "marketToken__isMock",
14860
- MarketTokenName = "marketToken__name",
14861
- MarketTokenSymbol = "marketToken__symbol",
14862
- MarketAnnualInterestBips = "market__annualInterestBips",
14863
- MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
14864
- MarketBorrowIndex = "market__borrowIndex",
14865
- MarketBorrower = "market__borrower",
14866
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
14867
- MarketCreatedAt = "market__createdAt",
14868
- MarketDebtRepaidIndex = "market__debtRepaidIndex",
14869
- MarketDecimals = "market__decimals",
14870
- MarketDelinquencyFeeBips = "market__delinquencyFeeBips",
14871
- MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
14872
- MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
14873
- MarketDepositIndex = "market__depositIndex",
14874
- MarketDrawnAmount = "market__drawnAmount",
14875
- MarketEventIndex = "market__eventIndex",
14876
- MarketFeeRecipient = "market__feeRecipient",
14877
- MarketFeesCollectedIndex = "market__feesCollectedIndex",
14878
- MarketFixedTermUpdatedIndex = "market__fixedTermUpdatedIndex",
14879
- MarketForceBuyBackIndex = "market__forceBuyBackIndex",
14880
- MarketId = "market__id",
14881
- MarketIsClosed = "market__isClosed",
14882
- MarketIsDelinquent = "market__isDelinquent",
14883
- MarketIsIncurringPenalties = "market__isIncurringPenalties",
14884
- MarketIsRegistered = "market__isRegistered",
14885
- MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
14886
- MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
14887
- MarketMarketType = "market__marketType",
14888
- MarketMaxTotalSupply = "market__maxTotalSupply",
14889
- MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
14890
- MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
14891
- MarketName = "market__name",
14892
- MarketNormalizedUnclaimedWithdrawals = "market__normalizedUnclaimedWithdrawals",
14893
- MarketNumCollateralContracts = "market__numCollateralContracts",
14894
- MarketOriginalAnnualInterestBips = "market__originalAnnualInterestBips",
14895
- MarketOriginalReserveRatioBips = "market__originalReserveRatioBips",
14896
- MarketPendingProtocolFees = "market__pendingProtocolFees",
14897
- MarketPendingWithdrawalExpiry = "market__pendingWithdrawalExpiry",
14898
- MarketProtocolFeeBips = "market__protocolFeeBips",
14899
- MarketProtocolFeeBipsUpdatedIndex = "market__protocolFeeBipsUpdatedIndex",
14900
- MarketReserveRatioBips = "market__reserveRatioBips",
14901
- MarketScaleFactor = "market__scaleFactor",
14902
- MarketScaledPendingWithdrawals = "market__scaledPendingWithdrawals",
14903
- MarketScaledTotalSupply = "market__scaledTotalSupply",
14904
- MarketSentinel = "market__sentinel",
14905
- MarketSymbol = "market__symbol",
14906
- MarketTemporaryReserveRatioActive = "market__temporaryReserveRatioActive",
14907
- MarketTemporaryReserveRatioExpiry = "market__temporaryReserveRatioExpiry",
14908
- MarketTimeDelinquent = "market__timeDelinquent",
14909
- MarketTotalBaseInterestAccrued = "market__totalBaseInterestAccrued",
14910
- MarketTotalBorrowed = "market__totalBorrowed",
14911
- MarketTotalDelinquencyFeesAccrued = "market__totalDelinquencyFeesAccrued",
14912
- MarketTotalDeposited = "market__totalDeposited",
14913
- MarketTotalProtocolFeesAccrued = "market__totalProtocolFeesAccrued",
14914
- MarketTotalRepaid = "market__totalRepaid",
14915
- MarketVersion = "market__version",
14916
- MarketWithdrawalBatchDuration = "market__withdrawalBatchDuration",
14917
- MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
14918
- Token = "token",
14919
- TokenAddress = "token__address",
14920
- TokenDecimals = "token__decimals",
14921
- TokenId = "token__id",
14922
- TokenIsMock = "token__isMock",
14923
- TokenName = "token__name",
14924
- TokenSymbol = "token__symbol",
14322
+ OriginationFeeAmount = "originationFeeAmount",
14323
+ OriginationFeeAsset = "originationFeeAsset",
14324
+ OriginationFeeAssetAddress = "originationFeeAsset__address",
14325
+ OriginationFeeAssetDecimals = "originationFeeAsset__decimals",
14326
+ OriginationFeeAssetId = "originationFeeAsset__id",
14327
+ OriginationFeeAssetIsMock = "originationFeeAsset__isMock",
14328
+ OriginationFeeAssetName = "originationFeeAsset__name",
14329
+ OriginationFeeAssetSymbol = "originationFeeAsset__symbol",
14330
+ ProtocolFeeBips = "protocolFeeBips",
14925
14331
  TransactionHash = "transactionHash"
14926
14332
  }
14927
14333
  export type SubgraphWithdrawalBatch = {
@@ -15339,7 +14745,6 @@ export declare enum SubgraphWithdrawalBatchInterestAccrued_OrderBy {
15339
14745
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
15340
14746
  MarketBorrowIndex = "market__borrowIndex",
15341
14747
  MarketBorrower = "market__borrower",
15342
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
15343
14748
  MarketCreatedAt = "market__createdAt",
15344
14749
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
15345
14750
  MarketDecimals = "market__decimals",
@@ -15347,7 +14752,6 @@ export declare enum SubgraphWithdrawalBatchInterestAccrued_OrderBy {
15347
14752
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
15348
14753
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
15349
14754
  MarketDepositIndex = "market__depositIndex",
15350
- MarketDrawnAmount = "market__drawnAmount",
15351
14755
  MarketEventIndex = "market__eventIndex",
15352
14756
  MarketFeeRecipient = "market__feeRecipient",
15353
14757
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -15360,7 +14764,6 @@ export declare enum SubgraphWithdrawalBatchInterestAccrued_OrderBy {
15360
14764
  MarketIsRegistered = "market__isRegistered",
15361
14765
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
15362
14766
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
15363
- MarketMarketType = "market__marketType",
15364
14767
  MarketMaxTotalSupply = "market__maxTotalSupply",
15365
14768
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
15366
14769
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -15698,7 +15101,6 @@ export declare enum SubgraphWithdrawalBatch_OrderBy {
15698
15101
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
15699
15102
  MarketBorrowIndex = "market__borrowIndex",
15700
15103
  MarketBorrower = "market__borrower",
15701
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
15702
15104
  MarketCreatedAt = "market__createdAt",
15703
15105
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
15704
15106
  MarketDecimals = "market__decimals",
@@ -15706,7 +15108,6 @@ export declare enum SubgraphWithdrawalBatch_OrderBy {
15706
15108
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
15707
15109
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
15708
15110
  MarketDepositIndex = "market__depositIndex",
15709
- MarketDrawnAmount = "market__drawnAmount",
15710
15111
  MarketEventIndex = "market__eventIndex",
15711
15112
  MarketFeeRecipient = "market__feeRecipient",
15712
15113
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -15719,7 +15120,6 @@ export declare enum SubgraphWithdrawalBatch_OrderBy {
15719
15120
  MarketIsRegistered = "market__isRegistered",
15720
15121
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
15721
15122
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
15722
- MarketMarketType = "market__marketType",
15723
15123
  MarketMaxTotalSupply = "market__maxTotalSupply",
15724
15124
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
15725
15125
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -16166,7 +15566,6 @@ export declare enum SubgraphWithdrawalRequest_OrderBy {
16166
15566
  MarketAnnualInterestBipsUpdatedIndex = "market__annualInterestBipsUpdatedIndex",
16167
15567
  MarketBorrowIndex = "market__borrowIndex",
16168
15568
  MarketBorrower = "market__borrower",
16169
- MarketCommitmentFeeBips = "market__commitmentFeeBips",
16170
15569
  MarketCreatedAt = "market__createdAt",
16171
15570
  MarketDebtRepaidIndex = "market__debtRepaidIndex",
16172
15571
  MarketDecimals = "market__decimals",
@@ -16174,7 +15573,6 @@ export declare enum SubgraphWithdrawalRequest_OrderBy {
16174
15573
  MarketDelinquencyGracePeriod = "market__delinquencyGracePeriod",
16175
15574
  MarketDelinquencyStatusChangedIndex = "market__delinquencyStatusChangedIndex",
16176
15575
  MarketDepositIndex = "market__depositIndex",
16177
- MarketDrawnAmount = "market__drawnAmount",
16178
15576
  MarketEventIndex = "market__eventIndex",
16179
15577
  MarketFeeRecipient = "market__feeRecipient",
16180
15578
  MarketFeesCollectedIndex = "market__feesCollectedIndex",
@@ -16187,7 +15585,6 @@ export declare enum SubgraphWithdrawalRequest_OrderBy {
16187
15585
  MarketIsRegistered = "market__isRegistered",
16188
15586
  MarketLastInterestAccruedBlockNumber = "market__lastInterestAccruedBlockNumber",
16189
15587
  MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
16190
- MarketMarketType = "market__marketType",
16191
15588
  MarketMaxTotalSupply = "market__maxTotalSupply",
16192
15589
  MarketMaxTotalSupplyUpdatedIndex = "market__maxTotalSupplyUpdatedIndex",
16193
15590
  MarketMinimumDepositUpdatedIndex = "market__minimumDepositUpdatedIndex",
@@ -16316,27 +15713,6 @@ export type SubgraphAccountDataForLenderViewFragment = {
16316
15713
  } | null;
16317
15714
  deposits: SubgraphDepositDataFragment[];
16318
15715
  };
16319
- export type SubgraphAccountDataForLenderListViewFragment = {
16320
- __typename: "LenderAccount";
16321
- id: string;
16322
- address: string;
16323
- scaledBalance: string;
16324
- role: SubgraphLenderStatus;
16325
- totalDeposited: string;
16326
- lastScaleFactor: string;
16327
- lastUpdatedTimestamp: number;
16328
- totalInterestEarned: string;
16329
- numPendingWithdrawalBatches: number;
16330
- controllerAuthorization?: {
16331
- __typename: "LenderAuthorization";
16332
- authorized: boolean;
16333
- } | null;
16334
- hooksAccess?: SubgraphLenderHooksAccessDataFragment | null;
16335
- knownLenderStatus?: {
16336
- __typename: "KnownLenderStatus";
16337
- id: string;
16338
- } | null;
16339
- };
16340
15716
  export type SubgraphBasicLenderDataFragment = {
16341
15717
  __typename: "LenderAccount";
16342
15718
  id: string;
@@ -16422,9 +15798,7 @@ export type SubgraphMarketDataFragment = {
16422
15798
  isDelinquent: boolean;
16423
15799
  timeDelinquent: number;
16424
15800
  annualInterestBips: number;
16425
- commitmentFeeBips?: string | null;
16426
15801
  reserveRatioBips: number;
16427
- drawnAmount?: string | null;
16428
15802
  scaleFactor: string;
16429
15803
  lastInterestAccruedTimestamp: number;
16430
15804
  originalAnnualInterestBips: number;
@@ -16522,9 +15896,7 @@ export type SubgraphMarketDataWithEventsFragment = {
16522
15896
  isDelinquent: boolean;
16523
15897
  timeDelinquent: number;
16524
15898
  annualInterestBips: number;
16525
- commitmentFeeBips?: string | null;
16526
15899
  reserveRatioBips: number;
16527
- drawnAmount?: string | null;
16528
15900
  scaleFactor: string;
16529
15901
  lastInterestAccruedTimestamp: number;
16530
15902
  originalAnnualInterestBips: number;
@@ -16551,54 +15923,6 @@ export type SubgraphMarketDataWithEventsFragment = {
16551
15923
  feeCollectionRecords: SubgraphFeesCollectedDataFragment[];
16552
15924
  repaymentRecords: SubgraphRepaymentDataFragment[];
16553
15925
  };
16554
- export type SubgraphMarketListDataFragment = {
16555
- __typename: "Market";
16556
- id: string;
16557
- version: SubgraphMarketVersion;
16558
- isRegistered: boolean;
16559
- isClosed: boolean;
16560
- borrower: string;
16561
- feeRecipient: string;
16562
- name: string;
16563
- symbol: string;
16564
- decimals: number;
16565
- protocolFeeBips: number;
16566
- delinquencyGracePeriod: number;
16567
- delinquencyFeeBips: number;
16568
- withdrawalBatchDuration: number;
16569
- numCollateralContracts: number;
16570
- annualInterestBips: number;
16571
- commitmentFeeBips?: string | null;
16572
- reserveRatioBips: number;
16573
- drawnAmount?: string | null;
16574
- maxTotalSupply: string;
16575
- pendingProtocolFees: string;
16576
- normalizedUnclaimedWithdrawals: string;
16577
- scaledTotalSupply: string;
16578
- scaledPendingWithdrawals: string;
16579
- pendingWithdrawalExpiry: string;
16580
- isDelinquent: boolean;
16581
- timeDelinquent: number;
16582
- scaleFactor: string;
16583
- lastInterestAccruedTimestamp: number;
16584
- originalAnnualInterestBips: number;
16585
- originalReserveRatioBips: number;
16586
- temporaryReserveRatioExpiry: number;
16587
- temporaryReserveRatioActive: boolean;
16588
- eventIndex: number;
16589
- controller?: {
16590
- __typename: "Controller";
16591
- id: string;
16592
- } | null;
16593
- _asset: SubgraphTokenDataFragment;
16594
- hooksConfig?: SubgraphHooksConfigDataForMarketFragment | null;
16595
- hooks?: {
16596
- __typename: "HooksInstance";
16597
- id: string;
16598
- factoryHooksTemplate: SubgraphFactoryHooksTemplateDataFragment;
16599
- } | null;
16600
- deployedEvent: SubgraphMarketDeployedEventFragment;
16601
- };
16602
15926
  export type SubgraphWithdrawalBatchPaymentPropertiesFragment = {
16603
15927
  __typename: "WithdrawalBatchPayment";
16604
15928
  id: string;
@@ -16704,6 +16028,26 @@ export type SubgraphFixedTermUpdatedDataFragment = {
16704
16028
  eventIndex: number;
16705
16029
  fixedTermUpdatedIndex: number;
16706
16030
  };
16031
+ export type SubgraphPeriodicTermClosedDataFragment = {
16032
+ __typename: "PeriodicTermClosed";
16033
+ id: string;
16034
+ blockNumber: number;
16035
+ blockTimestamp: number;
16036
+ transactionHash: string;
16037
+ eventIndex: number;
16038
+ };
16039
+ export type SubgraphAnnualInterestBipsReductionProposedDataFragment = {
16040
+ __typename: "AnnualInterestBipsReductionProposed";
16041
+ id: string;
16042
+ annualInterestBips: number;
16043
+ proposalTimestamp: number;
16044
+ responseWindowStart: number;
16045
+ responseWindowEnd: number;
16046
+ blockNumber: number;
16047
+ blockTimestamp: number;
16048
+ transactionHash: string;
16049
+ eventIndex: number;
16050
+ };
16707
16051
  export type SubgraphLenderWithdrawalPropertiesWithEventsFragment = {
16708
16052
  __typename: "LenderWithdrawalStatus";
16709
16053
  id: string;
@@ -16852,6 +16196,14 @@ export type SubgraphHooksConfigDataForMarketFragment = {
16852
16196
  fixedTermEndTime: number;
16853
16197
  allowClosureBeforeTerm: boolean;
16854
16198
  allowTermReduction: boolean;
16199
+ firstWithdrawalWindowStart: number;
16200
+ periodDuration: number;
16201
+ withdrawalWindowDuration: number;
16202
+ periodicTermClosed: boolean;
16203
+ pendingAnnualInterestBips: number;
16204
+ pendingAnnualInterestProposalTimestamp: number;
16205
+ pendingAnnualInterestResponseWindowStart: number;
16206
+ pendingAnnualInterestResponseWindowEnd: number;
16855
16207
  };
16856
16208
  export type SubgraphHooksInstanceDataFragment = {
16857
16209
  __typename: "HooksInstance";
@@ -16862,7 +16214,6 @@ export type SubgraphHooksInstanceDataFragment = {
16862
16214
  numMarkets: number;
16863
16215
  eventIndex: number;
16864
16216
  hooksTemplate: SubgraphHooksTemplateDataFragment;
16865
- factoryHooksTemplate: SubgraphFactoryHooksTemplateDataFragment;
16866
16217
  providers: SubgraphRoleProviderDataFragment[];
16867
16218
  };
16868
16219
  export type SubgraphHooksTemplateDataFragment = {
@@ -16875,23 +16226,6 @@ export type SubgraphHooksTemplateDataFragment = {
16875
16226
  disabled: boolean;
16876
16227
  originationFeeAsset?: SubgraphTokenDataFragment | null;
16877
16228
  };
16878
- export type SubgraphFactoryHooksTemplateDataFragment = {
16879
- __typename: "FactoryHooksTemplate";
16880
- id: string;
16881
- templateAddress: string;
16882
- name: string;
16883
- feeRecipient: string;
16884
- protocolFeeBips: number;
16885
- originationFeeAmount: string;
16886
- disabled: boolean;
16887
- originationFeeAsset?: SubgraphTokenDataFragment | null;
16888
- hooksFactory: {
16889
- __typename: "HooksFactory";
16890
- id: string;
16891
- marketType?: SubgraphMarketType | null;
16892
- isRegistered: boolean;
16893
- };
16894
- };
16895
16229
  export type SubgraphApprovedLiquidatorDataFragment = {
16896
16230
  __typename: "ApprovedLiquidator";
16897
16231
  isApproved: boolean;
@@ -17131,9 +16465,7 @@ export type SubgraphGetLenderAccountWithMarketQuery = {
17131
16465
  isDelinquent: boolean;
17132
16466
  timeDelinquent: number;
17133
16467
  annualInterestBips: number;
17134
- commitmentFeeBips?: string | null;
17135
16468
  reserveRatioBips: number;
17136
- drawnAmount?: string | null;
17137
16469
  scaleFactor: string;
17138
16470
  lastInterestAccruedTimestamp: number;
17139
16471
  originalAnnualInterestBips: number;
@@ -17222,9 +16554,7 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
17222
16554
  isDelinquent: boolean;
17223
16555
  timeDelinquent: number;
17224
16556
  annualInterestBips: number;
17225
- commitmentFeeBips?: string | null;
17226
16557
  reserveRatioBips: number;
17227
- drawnAmount?: string | null;
17228
16558
  scaleFactor: string;
17229
16559
  lastInterestAccruedTimestamp: number;
17230
16560
  originalAnnualInterestBips: number;
@@ -17263,78 +16593,6 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
17263
16593
  };
17264
16594
  }>;
17265
16595
  };
17266
- export type SubgraphGetAllMarketsForLenderListViewQueryVariables = Exact<{
17267
- lender?: InputMaybe<Scalars["Bytes"]["input"]>;
17268
- marketFilter?: InputMaybe<SubgraphMarket_Filter>;
17269
- numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
17270
- skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
17271
- orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
17272
- directionMarkets?: InputMaybe<SubgraphOrderDirection>;
17273
- }>;
17274
- export type SubgraphGetAllMarketsForLenderListViewQuery = {
17275
- __typename: "Query";
17276
- markets: Array<{
17277
- __typename: "Market";
17278
- id: string;
17279
- version: SubgraphMarketVersion;
17280
- isRegistered: boolean;
17281
- isClosed: boolean;
17282
- borrower: string;
17283
- feeRecipient: string;
17284
- name: string;
17285
- symbol: string;
17286
- decimals: number;
17287
- protocolFeeBips: number;
17288
- delinquencyGracePeriod: number;
17289
- delinquencyFeeBips: number;
17290
- withdrawalBatchDuration: number;
17291
- numCollateralContracts: number;
17292
- annualInterestBips: number;
17293
- commitmentFeeBips?: string | null;
17294
- reserveRatioBips: number;
17295
- drawnAmount?: string | null;
17296
- maxTotalSupply: string;
17297
- pendingProtocolFees: string;
17298
- normalizedUnclaimedWithdrawals: string;
17299
- scaledTotalSupply: string;
17300
- scaledPendingWithdrawals: string;
17301
- pendingWithdrawalExpiry: string;
17302
- isDelinquent: boolean;
17303
- timeDelinquent: number;
17304
- scaleFactor: string;
17305
- lastInterestAccruedTimestamp: number;
17306
- originalAnnualInterestBips: number;
17307
- originalReserveRatioBips: number;
17308
- temporaryReserveRatioExpiry: number;
17309
- temporaryReserveRatioActive: boolean;
17310
- eventIndex: number;
17311
- lenders: SubgraphAccountDataForLenderListViewFragment[];
17312
- controller?: {
17313
- __typename: "Controller";
17314
- id: string;
17315
- } | null;
17316
- _asset: SubgraphTokenDataFragment;
17317
- hooksConfig?: SubgraphHooksConfigDataForMarketFragment | null;
17318
- hooks?: {
17319
- __typename: "HooksInstance";
17320
- id: string;
17321
- factoryHooksTemplate: SubgraphFactoryHooksTemplateDataFragment;
17322
- } | null;
17323
- deployedEvent: SubgraphMarketDeployedEventFragment;
17324
- }>;
17325
- controllerAuthorizations: Array<{
17326
- __typename: "LenderAuthorization";
17327
- lender: string;
17328
- authorized: boolean;
17329
- controller: {
17330
- __typename: "Controller";
17331
- markets: Array<{
17332
- __typename: "Market";
17333
- id: string;
17334
- }>;
17335
- };
17336
- }>;
17337
- };
17338
16596
  export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables = Exact<{
17339
16597
  lender: Scalars["Bytes"]["input"];
17340
16598
  accountFilter?: InputMaybe<SubgraphLenderAccount_Filter>;
@@ -17395,9 +16653,7 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
17395
16653
  isDelinquent: boolean;
17396
16654
  timeDelinquent: number;
17397
16655
  annualInterestBips: number;
17398
- commitmentFeeBips?: string | null;
17399
16656
  reserveRatioBips: number;
17400
- drawnAmount?: string | null;
17401
16657
  scaleFactor: string;
17402
16658
  lastInterestAccruedTimestamp: number;
17403
16659
  originalAnnualInterestBips: number;
@@ -17465,9 +16721,7 @@ export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery = {
17465
16721
  isDelinquent: boolean;
17466
16722
  timeDelinquent: number;
17467
16723
  annualInterestBips: number;
17468
- commitmentFeeBips?: string | null;
17469
16724
  reserveRatioBips: number;
17470
- drawnAmount?: string | null;
17471
16725
  scaleFactor: string;
17472
16726
  lastInterestAccruedTimestamp: number;
17473
16727
  originalAnnualInterestBips: number;
@@ -17572,7 +16826,7 @@ export type SubgraphGetAllHooksTemplatesQueryVariables = Exact<{
17572
16826
  }>;
17573
16827
  export type SubgraphGetAllHooksTemplatesQuery = {
17574
16828
  __typename: "Query";
17575
- factoryHooksTemplates: SubgraphFactoryHooksTemplateDataFragment[];
16829
+ hooksTemplates: SubgraphHooksTemplateDataFragment[];
17576
16830
  registeredBorrowers?: Array<{
17577
16831
  __typename: "RegisteredBorrower";
17578
16832
  isRegistered: boolean;
@@ -17590,7 +16844,7 @@ export type SubgraphGetAllHooksDataForBorrowerQueryVariables = Exact<{
17590
16844
  }>;
17591
16845
  export type SubgraphGetAllHooksDataForBorrowerQuery = {
17592
16846
  __typename: "Query";
17593
- factoryHooksTemplates: SubgraphFactoryHooksTemplateDataFragment[];
16847
+ hooksTemplates: SubgraphHooksTemplateDataFragment[];
17594
16848
  hooksInstances: SubgraphHooksInstanceDataFragment[];
17595
16849
  registeredBorrowers: Array<{
17596
16850
  __typename: "RegisteredBorrower";
@@ -17615,6 +16869,8 @@ export type SubgraphGetMarketEventsQueryVariables = Exact<{
17615
16869
  minimumDepositUpdateRecordsFilter?: InputMaybe<SubgraphMinimumDepositUpdated_Filter>;
17616
16870
  protocolFeeBipsUpdatedRecordsFilter?: InputMaybe<SubgraphProtocolFeeBipsUpdated_Filter>;
17617
16871
  fixedTermUpdatedRecordsFilter?: InputMaybe<SubgraphFixedTermUpdated_Filter>;
16872
+ periodicTermClosedRecordsFilter?: InputMaybe<SubgraphPeriodicTermClosed_Filter>;
16873
+ annualInterestBipsReductionProposedRecordsFilter?: InputMaybe<SubgraphAnnualInterestBipsReductionProposed_Filter>;
17618
16874
  }>;
17619
16875
  export type SubgraphGetMarketEventsQuery = {
17620
16876
  __typename: "Query";
@@ -17634,6 +16890,8 @@ export type SubgraphGetMarketEventsQuery = {
17634
16890
  minimumDepositUpdateRecords: SubgraphMinimumDepositUpdatedDataFragment[];
17635
16891
  protocolFeeBipsUpdatedRecords: SubgraphProtocolFeeBipsUpdatedDataFragment[];
17636
16892
  fixedTermUpdatedRecords: SubgraphFixedTermUpdatedDataFragment[];
16893
+ periodicTermClosedRecords: SubgraphPeriodicTermClosedDataFragment[];
16894
+ annualInterestBipsReductionProposedRecords: SubgraphAnnualInterestBipsReductionProposedDataFragment[];
17637
16895
  } | null;
17638
16896
  };
17639
16897
  export type SubgraphGetMarketsWithEventsQueryVariables = Exact<{
@@ -17724,17 +16982,6 @@ export type SubgraphGetAllMarketsQuery = {
17724
16982
  __typename: "Query";
17725
16983
  markets: SubgraphMarketDataFragment[];
17726
16984
  };
17727
- export type SubgraphGetMarketListQueryVariables = Exact<{
17728
- marketFilter?: InputMaybe<SubgraphMarket_Filter>;
17729
- numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
17730
- skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
17731
- orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
17732
- directionMarkets?: InputMaybe<SubgraphOrderDirection>;
17733
- }>;
17734
- export type SubgraphGetMarketListQuery = {
17735
- __typename: "Query";
17736
- markets: SubgraphMarketListDataFragment[];
17737
- };
17738
16985
  export type SubgraphGetAuthorizedLendersByMarketQueryVariables = Exact<{
17739
16986
  market: Scalars["ID"]["input"];
17740
16987
  }>;
@@ -17864,7 +17111,6 @@ export type SubgraphGetLendersByHooksInstanceOrControllerQuery = {
17864
17111
  numMarkets: number;
17865
17112
  eventIndex: number;
17866
17113
  hooksTemplate: SubgraphHooksTemplateDataFragment;
17867
- factoryHooksTemplate: SubgraphFactoryHooksTemplateDataFragment;
17868
17114
  providers: SubgraphRoleProviderDataFragment[];
17869
17115
  lenders: SubgraphV2LenderWithActiveMarketsFragment[];
17870
17116
  } | null;
@@ -17898,7 +17144,6 @@ export type SubgraphGetMarketsAndLendersByHooksInstanceOrControllerQuery = {
17898
17144
  eventIndex: number;
17899
17145
  markets: SubgraphMarketDataFragment[];
17900
17146
  hooksTemplate: SubgraphHooksTemplateDataFragment;
17901
- factoryHooksTemplate: SubgraphFactoryHooksTemplateDataFragment;
17902
17147
  providers: SubgraphRoleProviderDataFragment[];
17903
17148
  lenders: SubgraphV2LenderWithActiveMarketsFragment[];
17904
17149
  } | null;
@@ -18056,52 +17301,11 @@ export type SubgraphGetCollateralContractEventsQuery = {
18056
17301
  fullResets?: SubgraphSimpleCollateralContractFullResetDataFragment[];
18057
17302
  } | null;
18058
17303
  };
18059
- export type SubgraphGetMarketChartsDataQueryVariables = Exact<{
18060
- market: Scalars["ID"]["input"];
18061
- numWithdrawalBatches?: InputMaybe<Scalars["Int"]["input"]>;
18062
- skipWithdrawalBatches?: InputMaybe<Scalars["Int"]["input"]>;
18063
- orderWithdrawalBatches?: InputMaybe<SubgraphWithdrawalBatch_OrderBy>;
18064
- directionWithdrawalBatches?: InputMaybe<SubgraphOrderDirection>;
18065
- numDailyStats?: InputMaybe<Scalars["Int"]["input"]>;
18066
- skipDailyStats?: InputMaybe<Scalars["Int"]["input"]>;
18067
- orderDailyStats?: InputMaybe<SubgraphMarketDailyStats_OrderBy>;
18068
- directionDailyStats?: InputMaybe<SubgraphOrderDirection>;
18069
- }>;
18070
- export type SubgraphGetMarketChartsDataQuery = {
18071
- __typename: "Query";
18072
- market?: {
18073
- __typename: "Market";
18074
- withdrawalBatches: Array<{
18075
- __typename: "WithdrawalBatch";
18076
- expiry: string;
18077
- expiration?: {
18078
- __typename: "WithdrawalBatchExpired";
18079
- normalizedAmountPaid: string;
18080
- normalizedAmountOwed: string;
18081
- } | null;
18082
- }>;
18083
- asset: {
18084
- __typename: "Token";
18085
- decimals: number;
18086
- symbol: string;
18087
- name: string;
18088
- };
18089
- dailyStats: Array<{
18090
- __typename: "MarketDailyStats";
18091
- totalDeposited: string;
18092
- totalWithdrawalsRequested: string;
18093
- totalBorrowed: string;
18094
- totalRepaid: string;
18095
- timestamp: number;
18096
- }>;
18097
- } | null;
18098
- };
18099
17304
  export declare const LenderPropertiesFragmentDoc: Apollo.DocumentNode;
18100
17305
  export declare const RoleProviderDataFragmentDoc: Apollo.DocumentNode;
18101
17306
  export declare const LenderHooksAccessDataFragmentDoc: Apollo.DocumentNode;
18102
17307
  export declare const DepositDataFragmentDoc: Apollo.DocumentNode;
18103
17308
  export declare const AccountDataForLenderViewFragmentDoc: Apollo.DocumentNode;
18104
- export declare const AccountDataForLenderListViewFragmentDoc: Apollo.DocumentNode;
18105
17309
  export declare const BasicLenderDataFragmentDoc: Apollo.DocumentNode;
18106
17310
  export declare const AllAuthorizedLendersViewFragmentDoc: Apollo.DocumentNode;
18107
17311
  export declare const ParameterConstraintsDataFragmentDoc: Apollo.DocumentNode;
@@ -18111,7 +17315,6 @@ export declare const AprConstraintsFragmentDoc: Apollo.DocumentNode;
18111
17315
  export declare const DelinquencyStatusChangedDataFragmentDoc: Apollo.DocumentNode;
18112
17316
  export declare const HooksConfigDataForMarketFragmentDoc: Apollo.DocumentNode;
18113
17317
  export declare const HooksTemplateDataFragmentDoc: Apollo.DocumentNode;
18114
- export declare const FactoryHooksTemplateDataFragmentDoc: Apollo.DocumentNode;
18115
17318
  export declare const HooksInstanceDataFragmentDoc: Apollo.DocumentNode;
18116
17319
  export declare const MarketDeployedEventFragmentDoc: Apollo.DocumentNode;
18117
17320
  export declare const MarketDataFragmentDoc: Apollo.DocumentNode;
@@ -18120,12 +17323,13 @@ export declare const FeesCollectedDataFragmentDoc: Apollo.DocumentNode;
18120
17323
  export declare const RepaymentDataFragmentDoc: Apollo.DocumentNode;
18121
17324
  export declare const MarketRecordsFragmentDoc: Apollo.DocumentNode;
18122
17325
  export declare const MarketDataWithEventsFragmentDoc: Apollo.DocumentNode;
18123
- export declare const MarketListDataFragmentDoc: Apollo.DocumentNode;
18124
17326
  export declare const ForceBuyBackDataFragmentDoc: Apollo.DocumentNode;
18125
17327
  export declare const MinimumDepositUpdatedDataFragmentDoc: Apollo.DocumentNode;
18126
17328
  export declare const ProtocolFeeBipsUpdatedDataFragmentDoc: Apollo.DocumentNode;
18127
17329
  export declare const DisabledForceBuyBacksDataFragmentDoc: Apollo.DocumentNode;
18128
17330
  export declare const FixedTermUpdatedDataFragmentDoc: Apollo.DocumentNode;
17331
+ export declare const PeriodicTermClosedDataFragmentDoc: Apollo.DocumentNode;
17332
+ export declare const AnnualInterestBipsReductionProposedDataFragmentDoc: Apollo.DocumentNode;
18129
17333
  export declare const LenderWithdrawalPropertiesFragmentDoc: Apollo.DocumentNode;
18130
17334
  export declare const WithdrawalBatchPaymentPropertiesFragmentDoc: Apollo.DocumentNode;
18131
17335
  export declare const WithdrawalBatchPropertiesFragmentDoc: Apollo.DocumentNode;
@@ -18159,8 +17363,6 @@ export declare const GetBasicBorrowerDataDocument: Apollo.DocumentNode;
18159
17363
  export type GetBasicBorrowerDataQueryResult = Apollo.QueryResult<SubgraphGetBasicBorrowerDataQuery, SubgraphGetBasicBorrowerDataQueryVariables>;
18160
17364
  export declare const GetAllMarketsForLenderViewDocument: Apollo.DocumentNode;
18161
17365
  export type GetAllMarketsForLenderViewQueryResult = Apollo.QueryResult<SubgraphGetAllMarketsForLenderViewQuery, SubgraphGetAllMarketsForLenderViewQueryVariables>;
18162
- export declare const GetAllMarketsForLenderListViewDocument: Apollo.DocumentNode;
18163
- export type GetAllMarketsForLenderListViewQueryResult = Apollo.QueryResult<SubgraphGetAllMarketsForLenderListViewQuery, SubgraphGetAllMarketsForLenderListViewQueryVariables>;
18164
17366
  export declare const GetAccountsWhereLenderAuthorizedOrActiveDocument: Apollo.DocumentNode;
18165
17367
  export type GetAccountsWhereLenderAuthorizedOrActiveQueryResult = Apollo.QueryResult<SubgraphGetAccountsWhereLenderAuthorizedOrActiveQuery, SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables>;
18166
17368
  export declare const GetLenderWithdrawalsForMarketDocument: Apollo.DocumentNode;
@@ -18189,8 +17391,6 @@ export declare const GetIncompleteWithdrawalsForMarketDocument: Apollo.DocumentN
18189
17391
  export type GetIncompleteWithdrawalsForMarketQueryResult = Apollo.QueryResult<SubgraphGetIncompleteWithdrawalsForMarketQuery, SubgraphGetIncompleteWithdrawalsForMarketQueryVariables>;
18190
17392
  export declare const GetAllMarketsDocument: Apollo.DocumentNode;
18191
17393
  export type GetAllMarketsQueryResult = Apollo.QueryResult<SubgraphGetAllMarketsQuery, SubgraphGetAllMarketsQueryVariables>;
18192
- export declare const GetMarketListDocument: Apollo.DocumentNode;
18193
- export type GetMarketListQueryResult = Apollo.QueryResult<SubgraphGetMarketListQuery, SubgraphGetMarketListQueryVariables>;
18194
17394
  export declare const GetAuthorizedLendersByMarketDocument: Apollo.DocumentNode;
18195
17395
  export type GetAuthorizedLendersByMarketQueryResult = Apollo.QueryResult<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>;
18196
17396
  export declare const GetAllAuthorizedLendersDocument: Apollo.DocumentNode;
@@ -18219,6 +17419,4 @@ export declare const GetApprovedLiquidatorsDocument: Apollo.DocumentNode;
18219
17419
  export type GetApprovedLiquidatorsQueryResult = Apollo.QueryResult<SubgraphGetApprovedLiquidatorsQuery, SubgraphGetApprovedLiquidatorsQueryVariables>;
18220
17420
  export declare const GetCollateralContractEventsDocument: Apollo.DocumentNode;
18221
17421
  export type GetCollateralContractEventsQueryResult = Apollo.QueryResult<SubgraphGetCollateralContractEventsQuery, SubgraphGetCollateralContractEventsQueryVariables>;
18222
- export declare const GetMarketChartsDataDocument: Apollo.DocumentNode;
18223
- export type GetMarketChartsDataQueryResult = Apollo.QueryResult<SubgraphGetMarketChartsDataQuery, SubgraphGetMarketChartsDataQueryVariables>;
18224
17422
  //# sourceMappingURL=graphql.d.ts.map