@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
@@ -0,0 +1,2423 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IFixedTermHooks__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "AnnualInterestBipsOutOfBounds",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "CallerNotBorrower",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "CallerNotFactory",
22
+ type: "error",
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: "ClosureDisabledBeforeTerm",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "CreateRoleProviderFailed",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "DelinquencyFeeBipsOutOfBounds",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "DelinquencyGracePeriodOutOfBounds",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: "DepositBelowMinimum",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [],
51
+ name: "FixedTermNotProvided",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [],
56
+ name: "ForceBuyBackDisabledBeforeTerm",
57
+ type: "error",
58
+ },
59
+ {
60
+ inputs: [],
61
+ name: "ForceBuyBacksDisabled",
62
+ type: "error",
63
+ },
64
+ {
65
+ inputs: [],
66
+ name: "GrantedCredentialExpired",
67
+ type: "error",
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: "IncreaseFixedTerm",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "InvalidArrayLength",
77
+ type: "error",
78
+ },
79
+ {
80
+ inputs: [],
81
+ name: "InvalidCredentialReturned",
82
+ type: "error",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "InvalidFixedTerm",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [],
91
+ name: "NoReducingAprBeforeTermEnd",
92
+ type: "error",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "NotApprovedLender",
97
+ type: "error",
98
+ },
99
+ {
100
+ inputs: [],
101
+ name: "NotHookedMarket",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [],
106
+ name: "ProviderCanNotReplaceCredential",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "ProviderCanNotRevokeCredential",
112
+ type: "error",
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "ProviderNotFound",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "ReserveRatioBipsOutOfBounds",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "TermReductionDisabled",
127
+ type: "error",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "TransfersDisabled",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [],
136
+ name: "WithdrawBeforeTermEnd",
137
+ type: "error",
138
+ },
139
+ {
140
+ inputs: [],
141
+ name: "WithdrawalBatchDurationOutOfBounds",
142
+ type: "error",
143
+ },
144
+ {
145
+ anonymous: false,
146
+ inputs: [
147
+ {
148
+ indexed: true,
149
+ internalType: "address",
150
+ name: "providerAddress",
151
+ type: "address",
152
+ },
153
+ {
154
+ indexed: true,
155
+ internalType: "address",
156
+ name: "accountAddress",
157
+ type: "address",
158
+ },
159
+ {
160
+ indexed: false,
161
+ internalType: "uint32",
162
+ name: "credentialTimestamp",
163
+ type: "uint32",
164
+ },
165
+ ],
166
+ name: "AccountAccessGranted",
167
+ type: "event",
168
+ },
169
+ {
170
+ anonymous: false,
171
+ inputs: [
172
+ {
173
+ indexed: true,
174
+ internalType: "address",
175
+ name: "accountAddress",
176
+ type: "address",
177
+ },
178
+ ],
179
+ name: "AccountAccessRevoked",
180
+ type: "event",
181
+ },
182
+ {
183
+ anonymous: false,
184
+ inputs: [
185
+ {
186
+ indexed: true,
187
+ internalType: "address",
188
+ name: "accountAddress",
189
+ type: "address",
190
+ },
191
+ ],
192
+ name: "AccountBlockedFromDeposits",
193
+ type: "event",
194
+ },
195
+ {
196
+ anonymous: false,
197
+ inputs: [
198
+ {
199
+ indexed: true,
200
+ internalType: "address",
201
+ name: "market",
202
+ type: "address",
203
+ },
204
+ {
205
+ indexed: true,
206
+ internalType: "address",
207
+ name: "accountAddress",
208
+ type: "address",
209
+ },
210
+ ],
211
+ name: "AccountMadeFirstDeposit",
212
+ type: "event",
213
+ },
214
+ {
215
+ anonymous: false,
216
+ inputs: [
217
+ {
218
+ indexed: true,
219
+ internalType: "address",
220
+ name: "accountAddress",
221
+ type: "address",
222
+ },
223
+ ],
224
+ name: "AccountUnblockedFromDeposits",
225
+ type: "event",
226
+ },
227
+ {
228
+ anonymous: false,
229
+ inputs: [
230
+ {
231
+ indexed: false,
232
+ internalType: "address",
233
+ name: "market",
234
+ type: "address",
235
+ },
236
+ ],
237
+ name: "DisabledForceBuyBacks",
238
+ type: "event",
239
+ },
240
+ {
241
+ anonymous: false,
242
+ inputs: [
243
+ {
244
+ indexed: false,
245
+ internalType: "address",
246
+ name: "market",
247
+ type: "address",
248
+ },
249
+ {
250
+ indexed: false,
251
+ internalType: "uint32",
252
+ name: "fixedTermEndTime",
253
+ type: "uint32",
254
+ },
255
+ ],
256
+ name: "FixedTermUpdated",
257
+ type: "event",
258
+ },
259
+ {
260
+ anonymous: false,
261
+ inputs: [
262
+ {
263
+ indexed: false,
264
+ internalType: "address",
265
+ name: "market",
266
+ type: "address",
267
+ },
268
+ {
269
+ indexed: false,
270
+ internalType: "uint128",
271
+ name: "newMinimumDeposit",
272
+ type: "uint128",
273
+ },
274
+ ],
275
+ name: "MinimumDepositUpdated",
276
+ type: "event",
277
+ },
278
+ {
279
+ anonymous: false,
280
+ inputs: [
281
+ {
282
+ indexed: false,
283
+ internalType: "string",
284
+ name: "name",
285
+ type: "string",
286
+ },
287
+ ],
288
+ name: "NameUpdated",
289
+ type: "event",
290
+ },
291
+ {
292
+ anonymous: false,
293
+ inputs: [
294
+ {
295
+ indexed: true,
296
+ internalType: "address",
297
+ name: "providerAddress",
298
+ type: "address",
299
+ },
300
+ {
301
+ indexed: false,
302
+ internalType: "uint32",
303
+ name: "timeToLive",
304
+ type: "uint32",
305
+ },
306
+ {
307
+ indexed: false,
308
+ internalType: "uint24",
309
+ name: "pullProviderIndex",
310
+ type: "uint24",
311
+ },
312
+ {
313
+ indexed: false,
314
+ internalType: "uint24",
315
+ name: "pushProviderIndex",
316
+ type: "uint24",
317
+ },
318
+ ],
319
+ name: "RoleProviderAdded",
320
+ type: "event",
321
+ },
322
+ {
323
+ anonymous: false,
324
+ inputs: [
325
+ {
326
+ indexed: true,
327
+ internalType: "address",
328
+ name: "providerAddress",
329
+ type: "address",
330
+ },
331
+ {
332
+ indexed: false,
333
+ internalType: "uint24",
334
+ name: "pullProviderIndex",
335
+ type: "uint24",
336
+ },
337
+ {
338
+ indexed: false,
339
+ internalType: "uint24",
340
+ name: "pushProviderIndex",
341
+ type: "uint24",
342
+ },
343
+ ],
344
+ name: "RoleProviderRemoved",
345
+ type: "event",
346
+ },
347
+ {
348
+ anonymous: false,
349
+ inputs: [
350
+ {
351
+ indexed: true,
352
+ internalType: "address",
353
+ name: "providerAddress",
354
+ type: "address",
355
+ },
356
+ {
357
+ indexed: false,
358
+ internalType: "uint32",
359
+ name: "timeToLive",
360
+ type: "uint32",
361
+ },
362
+ {
363
+ indexed: false,
364
+ internalType: "uint24",
365
+ name: "pullProviderIndex",
366
+ type: "uint24",
367
+ },
368
+ {
369
+ indexed: false,
370
+ internalType: "uint24",
371
+ name: "pushProviderIndex",
372
+ type: "uint24",
373
+ },
374
+ ],
375
+ name: "RoleProviderUpdated",
376
+ type: "event",
377
+ },
378
+ {
379
+ anonymous: false,
380
+ inputs: [
381
+ {
382
+ indexed: true,
383
+ internalType: "address",
384
+ name: "market",
385
+ type: "address",
386
+ },
387
+ {
388
+ indexed: false,
389
+ internalType: "uint256",
390
+ name: "originalReserveRatioBips",
391
+ type: "uint256",
392
+ },
393
+ {
394
+ indexed: false,
395
+ internalType: "uint256",
396
+ name: "temporaryReserveRatioBips",
397
+ type: "uint256",
398
+ },
399
+ {
400
+ indexed: false,
401
+ internalType: "uint256",
402
+ name: "temporaryReserveRatioExpiry",
403
+ type: "uint256",
404
+ },
405
+ ],
406
+ name: "TemporaryExcessReserveRatioActivated",
407
+ type: "event",
408
+ },
409
+ {
410
+ anonymous: false,
411
+ inputs: [
412
+ {
413
+ indexed: true,
414
+ internalType: "address",
415
+ name: "market",
416
+ type: "address",
417
+ },
418
+ ],
419
+ name: "TemporaryExcessReserveRatioCanceled",
420
+ type: "event",
421
+ },
422
+ {
423
+ anonymous: false,
424
+ inputs: [
425
+ {
426
+ indexed: true,
427
+ internalType: "address",
428
+ name: "market",
429
+ type: "address",
430
+ },
431
+ ],
432
+ name: "TemporaryExcessReserveRatioExpired",
433
+ type: "event",
434
+ },
435
+ {
436
+ anonymous: false,
437
+ inputs: [
438
+ {
439
+ indexed: true,
440
+ internalType: "address",
441
+ name: "market",
442
+ type: "address",
443
+ },
444
+ {
445
+ indexed: false,
446
+ internalType: "uint256",
447
+ name: "originalReserveRatioBips",
448
+ type: "uint256",
449
+ },
450
+ {
451
+ indexed: false,
452
+ internalType: "uint256",
453
+ name: "temporaryReserveRatioBips",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ indexed: false,
458
+ internalType: "uint256",
459
+ name: "temporaryReserveRatioExpiry",
460
+ type: "uint256",
461
+ },
462
+ ],
463
+ name: "TemporaryExcessReserveRatioUpdated",
464
+ type: "event",
465
+ },
466
+ {
467
+ inputs: [],
468
+ name: "MaximumLoanTerm",
469
+ outputs: [
470
+ {
471
+ internalType: "uint32",
472
+ name: "",
473
+ type: "uint32",
474
+ },
475
+ ],
476
+ stateMutability: "view",
477
+ type: "function",
478
+ },
479
+ {
480
+ inputs: [
481
+ {
482
+ internalType: "address",
483
+ name: "providerAddress",
484
+ type: "address",
485
+ },
486
+ {
487
+ internalType: "uint32",
488
+ name: "timeToLive",
489
+ type: "uint32",
490
+ },
491
+ ],
492
+ name: "addRoleProvider",
493
+ outputs: [],
494
+ stateMutability: "nonpayable",
495
+ type: "function",
496
+ },
497
+ {
498
+ inputs: [
499
+ {
500
+ internalType: "address",
501
+ name: "account",
502
+ type: "address",
503
+ },
504
+ ],
505
+ name: "blockFromDeposits",
506
+ outputs: [],
507
+ stateMutability: "nonpayable",
508
+ type: "function",
509
+ },
510
+ {
511
+ inputs: [
512
+ {
513
+ internalType: "address[]",
514
+ name: "accounts",
515
+ type: "address[]",
516
+ },
517
+ ],
518
+ name: "blockFromDeposits",
519
+ outputs: [],
520
+ stateMutability: "nonpayable",
521
+ type: "function",
522
+ },
523
+ {
524
+ inputs: [],
525
+ name: "borrower",
526
+ outputs: [
527
+ {
528
+ internalType: "address",
529
+ name: "",
530
+ type: "address",
531
+ },
532
+ ],
533
+ stateMutability: "view",
534
+ type: "function",
535
+ },
536
+ {
537
+ inputs: [],
538
+ name: "config",
539
+ outputs: [
540
+ {
541
+ internalType: "HooksDeploymentConfig",
542
+ name: "param0",
543
+ type: "uint256",
544
+ },
545
+ ],
546
+ stateMutability: "view",
547
+ type: "function",
548
+ },
549
+ {
550
+ inputs: [
551
+ {
552
+ internalType: "address",
553
+ name: "providerFactory",
554
+ type: "address",
555
+ },
556
+ {
557
+ internalType: "uint32",
558
+ name: "timeToLive",
559
+ type: "uint32",
560
+ },
561
+ {
562
+ internalType: "bytes",
563
+ name: "data",
564
+ type: "bytes",
565
+ },
566
+ ],
567
+ name: "createRoleProvider",
568
+ outputs: [],
569
+ stateMutability: "nonpayable",
570
+ type: "function",
571
+ },
572
+ {
573
+ inputs: [
574
+ {
575
+ internalType: "address",
576
+ name: "market",
577
+ type: "address",
578
+ },
579
+ ],
580
+ name: "disableForceBuyBacks",
581
+ outputs: [],
582
+ stateMutability: "nonpayable",
583
+ type: "function",
584
+ },
585
+ {
586
+ inputs: [],
587
+ name: "factory",
588
+ outputs: [
589
+ {
590
+ internalType: "address",
591
+ name: "",
592
+ type: "address",
593
+ },
594
+ ],
595
+ stateMutability: "view",
596
+ type: "function",
597
+ },
598
+ {
599
+ inputs: [
600
+ {
601
+ internalType: "address",
602
+ name: "marketAddress",
603
+ type: "address",
604
+ },
605
+ ],
606
+ name: "getHookedMarket",
607
+ outputs: [
608
+ {
609
+ components: [
610
+ {
611
+ internalType: "bool",
612
+ name: "isHooked",
613
+ type: "bool",
614
+ },
615
+ {
616
+ internalType: "bool",
617
+ name: "transferRequiresAccess",
618
+ type: "bool",
619
+ },
620
+ {
621
+ internalType: "bool",
622
+ name: "depositRequiresAccess",
623
+ type: "bool",
624
+ },
625
+ {
626
+ internalType: "bool",
627
+ name: "withdrawalRequiresAccess",
628
+ type: "bool",
629
+ },
630
+ {
631
+ internalType: "uint128",
632
+ name: "minimumDeposit",
633
+ type: "uint128",
634
+ },
635
+ {
636
+ internalType: "uint32",
637
+ name: "fixedTermEndTime",
638
+ type: "uint32",
639
+ },
640
+ {
641
+ internalType: "bool",
642
+ name: "transfersDisabled",
643
+ type: "bool",
644
+ },
645
+ {
646
+ internalType: "bool",
647
+ name: "allowClosureBeforeTerm",
648
+ type: "bool",
649
+ },
650
+ {
651
+ internalType: "bool",
652
+ name: "allowTermReduction",
653
+ type: "bool",
654
+ },
655
+ {
656
+ internalType: "bool",
657
+ name: "allowForceBuyBacks",
658
+ type: "bool",
659
+ },
660
+ ],
661
+ internalType: "struct FixedTermHookedMarket",
662
+ name: "param0",
663
+ type: "tuple",
664
+ },
665
+ ],
666
+ stateMutability: "view",
667
+ type: "function",
668
+ },
669
+ {
670
+ inputs: [
671
+ {
672
+ internalType: "address[]",
673
+ name: "marketAddresses",
674
+ type: "address[]",
675
+ },
676
+ ],
677
+ name: "getHookedMarkets",
678
+ outputs: [
679
+ {
680
+ components: [
681
+ {
682
+ internalType: "bool",
683
+ name: "isHooked",
684
+ type: "bool",
685
+ },
686
+ {
687
+ internalType: "bool",
688
+ name: "transferRequiresAccess",
689
+ type: "bool",
690
+ },
691
+ {
692
+ internalType: "bool",
693
+ name: "depositRequiresAccess",
694
+ type: "bool",
695
+ },
696
+ {
697
+ internalType: "bool",
698
+ name: "withdrawalRequiresAccess",
699
+ type: "bool",
700
+ },
701
+ {
702
+ internalType: "uint128",
703
+ name: "minimumDeposit",
704
+ type: "uint128",
705
+ },
706
+ {
707
+ internalType: "uint32",
708
+ name: "fixedTermEndTime",
709
+ type: "uint32",
710
+ },
711
+ {
712
+ internalType: "bool",
713
+ name: "transfersDisabled",
714
+ type: "bool",
715
+ },
716
+ {
717
+ internalType: "bool",
718
+ name: "allowClosureBeforeTerm",
719
+ type: "bool",
720
+ },
721
+ {
722
+ internalType: "bool",
723
+ name: "allowTermReduction",
724
+ type: "bool",
725
+ },
726
+ {
727
+ internalType: "bool",
728
+ name: "allowForceBuyBacks",
729
+ type: "bool",
730
+ },
731
+ ],
732
+ internalType: "struct FixedTermHookedMarket[]",
733
+ name: "hookedMarkets",
734
+ type: "tuple[]",
735
+ },
736
+ ],
737
+ stateMutability: "view",
738
+ type: "function",
739
+ },
740
+ {
741
+ inputs: [
742
+ {
743
+ internalType: "address",
744
+ name: "accountAddress",
745
+ type: "address",
746
+ },
747
+ ],
748
+ name: "getLenderStatus",
749
+ outputs: [
750
+ {
751
+ components: [
752
+ {
753
+ internalType: "bool",
754
+ name: "isBlockedFromDeposits",
755
+ type: "bool",
756
+ },
757
+ {
758
+ internalType: "address",
759
+ name: "lastProvider",
760
+ type: "address",
761
+ },
762
+ {
763
+ internalType: "bool",
764
+ name: "canRefresh",
765
+ type: "bool",
766
+ },
767
+ {
768
+ internalType: "uint32",
769
+ name: "lastApprovalTimestamp",
770
+ type: "uint32",
771
+ },
772
+ ],
773
+ internalType: "struct LenderStatus",
774
+ name: "status",
775
+ type: "tuple",
776
+ },
777
+ ],
778
+ stateMutability: "view",
779
+ type: "function",
780
+ },
781
+ {
782
+ inputs: [],
783
+ name: "getParameterConstraints",
784
+ outputs: [
785
+ {
786
+ components: [
787
+ {
788
+ internalType: "uint32",
789
+ name: "minimumDelinquencyGracePeriod",
790
+ type: "uint32",
791
+ },
792
+ {
793
+ internalType: "uint32",
794
+ name: "maximumDelinquencyGracePeriod",
795
+ type: "uint32",
796
+ },
797
+ {
798
+ internalType: "uint16",
799
+ name: "minimumReserveRatioBips",
800
+ type: "uint16",
801
+ },
802
+ {
803
+ internalType: "uint16",
804
+ name: "maximumReserveRatioBips",
805
+ type: "uint16",
806
+ },
807
+ {
808
+ internalType: "uint16",
809
+ name: "minimumDelinquencyFeeBips",
810
+ type: "uint16",
811
+ },
812
+ {
813
+ internalType: "uint16",
814
+ name: "maximumDelinquencyFeeBips",
815
+ type: "uint16",
816
+ },
817
+ {
818
+ internalType: "uint32",
819
+ name: "minimumWithdrawalBatchDuration",
820
+ type: "uint32",
821
+ },
822
+ {
823
+ internalType: "uint32",
824
+ name: "maximumWithdrawalBatchDuration",
825
+ type: "uint32",
826
+ },
827
+ {
828
+ internalType: "uint16",
829
+ name: "minimumAnnualInterestBips",
830
+ type: "uint16",
831
+ },
832
+ {
833
+ internalType: "uint16",
834
+ name: "maximumAnnualInterestBips",
835
+ type: "uint16",
836
+ },
837
+ ],
838
+ internalType: "struct MarketParameterConstraints",
839
+ name: "constraints",
840
+ type: "tuple",
841
+ },
842
+ ],
843
+ stateMutability: "pure",
844
+ type: "function",
845
+ },
846
+ {
847
+ inputs: [
848
+ {
849
+ internalType: "address",
850
+ name: "accountAddress",
851
+ type: "address",
852
+ },
853
+ ],
854
+ name: "getPreviousLenderStatus",
855
+ outputs: [
856
+ {
857
+ components: [
858
+ {
859
+ internalType: "bool",
860
+ name: "isBlockedFromDeposits",
861
+ type: "bool",
862
+ },
863
+ {
864
+ internalType: "address",
865
+ name: "lastProvider",
866
+ type: "address",
867
+ },
868
+ {
869
+ internalType: "bool",
870
+ name: "canRefresh",
871
+ type: "bool",
872
+ },
873
+ {
874
+ internalType: "uint32",
875
+ name: "lastApprovalTimestamp",
876
+ type: "uint32",
877
+ },
878
+ ],
879
+ internalType: "struct LenderStatus",
880
+ name: "status",
881
+ type: "tuple",
882
+ },
883
+ ],
884
+ stateMutability: "view",
885
+ type: "function",
886
+ },
887
+ {
888
+ inputs: [],
889
+ name: "getPullProviders",
890
+ outputs: [
891
+ {
892
+ internalType: "RoleProvider[]",
893
+ name: "param0",
894
+ type: "uint256[]",
895
+ },
896
+ ],
897
+ stateMutability: "view",
898
+ type: "function",
899
+ },
900
+ {
901
+ inputs: [],
902
+ name: "getPushProviders",
903
+ outputs: [
904
+ {
905
+ internalType: "RoleProvider[]",
906
+ name: "param0",
907
+ type: "uint256[]",
908
+ },
909
+ ],
910
+ stateMutability: "view",
911
+ type: "function",
912
+ },
913
+ {
914
+ inputs: [
915
+ {
916
+ internalType: "address",
917
+ name: "providerAddress",
918
+ type: "address",
919
+ },
920
+ ],
921
+ name: "getRoleProvider",
922
+ outputs: [
923
+ {
924
+ internalType: "RoleProvider",
925
+ name: "param0",
926
+ type: "uint256",
927
+ },
928
+ ],
929
+ stateMutability: "view",
930
+ type: "function",
931
+ },
932
+ {
933
+ inputs: [
934
+ {
935
+ internalType: "address",
936
+ name: "account",
937
+ type: "address",
938
+ },
939
+ {
940
+ internalType: "uint32",
941
+ name: "roleGrantedTimestamp",
942
+ type: "uint32",
943
+ },
944
+ ],
945
+ name: "grantRole",
946
+ outputs: [],
947
+ stateMutability: "nonpayable",
948
+ type: "function",
949
+ },
950
+ {
951
+ inputs: [
952
+ {
953
+ internalType: "address[]",
954
+ name: "accounts",
955
+ type: "address[]",
956
+ },
957
+ {
958
+ internalType: "uint32[]",
959
+ name: "roleGrantedTimestamps",
960
+ type: "uint32[]",
961
+ },
962
+ ],
963
+ name: "grantRoles",
964
+ outputs: [],
965
+ stateMutability: "nonpayable",
966
+ type: "function",
967
+ },
968
+ {
969
+ inputs: [
970
+ {
971
+ internalType: "address",
972
+ name: "key0",
973
+ type: "address",
974
+ },
975
+ {
976
+ internalType: "address",
977
+ name: "key1",
978
+ type: "address",
979
+ },
980
+ ],
981
+ name: "isKnownLenderOnMarket",
982
+ outputs: [
983
+ {
984
+ internalType: "bool",
985
+ name: "",
986
+ type: "bool",
987
+ },
988
+ ],
989
+ stateMutability: "view",
990
+ type: "function",
991
+ },
992
+ {
993
+ inputs: [],
994
+ name: "name",
995
+ outputs: [
996
+ {
997
+ internalType: "string",
998
+ name: "",
999
+ type: "string",
1000
+ },
1001
+ ],
1002
+ stateMutability: "view",
1003
+ type: "function",
1004
+ },
1005
+ {
1006
+ inputs: [
1007
+ {
1008
+ internalType: "uint256",
1009
+ name: "param0",
1010
+ type: "uint256",
1011
+ },
1012
+ {
1013
+ components: [
1014
+ {
1015
+ internalType: "bool",
1016
+ name: "isClosed",
1017
+ type: "bool",
1018
+ },
1019
+ {
1020
+ internalType: "uint128",
1021
+ name: "maxTotalSupply",
1022
+ type: "uint128",
1023
+ },
1024
+ {
1025
+ internalType: "uint128",
1026
+ name: "accruedProtocolFees",
1027
+ type: "uint128",
1028
+ },
1029
+ {
1030
+ internalType: "uint128",
1031
+ name: "normalizedUnclaimedWithdrawals",
1032
+ type: "uint128",
1033
+ },
1034
+ {
1035
+ internalType: "uint104",
1036
+ name: "scaledTotalSupply",
1037
+ type: "uint104",
1038
+ },
1039
+ {
1040
+ internalType: "uint104",
1041
+ name: "scaledPendingWithdrawals",
1042
+ type: "uint104",
1043
+ },
1044
+ {
1045
+ internalType: "uint32",
1046
+ name: "pendingWithdrawalExpiry",
1047
+ type: "uint32",
1048
+ },
1049
+ {
1050
+ internalType: "bool",
1051
+ name: "isDelinquent",
1052
+ type: "bool",
1053
+ },
1054
+ {
1055
+ internalType: "uint32",
1056
+ name: "timeDelinquent",
1057
+ type: "uint32",
1058
+ },
1059
+ {
1060
+ internalType: "uint16",
1061
+ name: "protocolFeeBips",
1062
+ type: "uint16",
1063
+ },
1064
+ {
1065
+ internalType: "uint16",
1066
+ name: "annualInterestBips",
1067
+ type: "uint16",
1068
+ },
1069
+ {
1070
+ internalType: "uint16",
1071
+ name: "reserveRatioBips",
1072
+ type: "uint16",
1073
+ },
1074
+ {
1075
+ internalType: "uint112",
1076
+ name: "scaleFactor",
1077
+ type: "uint112",
1078
+ },
1079
+ {
1080
+ internalType: "uint32",
1081
+ name: "lastInterestAccruedTimestamp",
1082
+ type: "uint32",
1083
+ },
1084
+ ],
1085
+ internalType: "struct MarketStateV2",
1086
+ name: "param1",
1087
+ type: "tuple",
1088
+ },
1089
+ {
1090
+ internalType: "bytes",
1091
+ name: "param2",
1092
+ type: "bytes",
1093
+ },
1094
+ ],
1095
+ name: "onBorrow",
1096
+ outputs: [],
1097
+ stateMutability: "nonpayable",
1098
+ type: "function",
1099
+ },
1100
+ {
1101
+ inputs: [
1102
+ {
1103
+ components: [
1104
+ {
1105
+ internalType: "bool",
1106
+ name: "isClosed",
1107
+ type: "bool",
1108
+ },
1109
+ {
1110
+ internalType: "uint128",
1111
+ name: "maxTotalSupply",
1112
+ type: "uint128",
1113
+ },
1114
+ {
1115
+ internalType: "uint128",
1116
+ name: "accruedProtocolFees",
1117
+ type: "uint128",
1118
+ },
1119
+ {
1120
+ internalType: "uint128",
1121
+ name: "normalizedUnclaimedWithdrawals",
1122
+ type: "uint128",
1123
+ },
1124
+ {
1125
+ internalType: "uint104",
1126
+ name: "scaledTotalSupply",
1127
+ type: "uint104",
1128
+ },
1129
+ {
1130
+ internalType: "uint104",
1131
+ name: "scaledPendingWithdrawals",
1132
+ type: "uint104",
1133
+ },
1134
+ {
1135
+ internalType: "uint32",
1136
+ name: "pendingWithdrawalExpiry",
1137
+ type: "uint32",
1138
+ },
1139
+ {
1140
+ internalType: "bool",
1141
+ name: "isDelinquent",
1142
+ type: "bool",
1143
+ },
1144
+ {
1145
+ internalType: "uint32",
1146
+ name: "timeDelinquent",
1147
+ type: "uint32",
1148
+ },
1149
+ {
1150
+ internalType: "uint16",
1151
+ name: "protocolFeeBips",
1152
+ type: "uint16",
1153
+ },
1154
+ {
1155
+ internalType: "uint16",
1156
+ name: "annualInterestBips",
1157
+ type: "uint16",
1158
+ },
1159
+ {
1160
+ internalType: "uint16",
1161
+ name: "reserveRatioBips",
1162
+ type: "uint16",
1163
+ },
1164
+ {
1165
+ internalType: "uint112",
1166
+ name: "scaleFactor",
1167
+ type: "uint112",
1168
+ },
1169
+ {
1170
+ internalType: "uint32",
1171
+ name: "lastInterestAccruedTimestamp",
1172
+ type: "uint32",
1173
+ },
1174
+ ],
1175
+ internalType: "struct MarketStateV2",
1176
+ name: "param0",
1177
+ type: "tuple",
1178
+ },
1179
+ {
1180
+ internalType: "bytes",
1181
+ name: "param1",
1182
+ type: "bytes",
1183
+ },
1184
+ ],
1185
+ name: "onCloseMarket",
1186
+ outputs: [],
1187
+ stateMutability: "nonpayable",
1188
+ type: "function",
1189
+ },
1190
+ {
1191
+ inputs: [
1192
+ {
1193
+ internalType: "address",
1194
+ name: "deployer",
1195
+ type: "address",
1196
+ },
1197
+ {
1198
+ internalType: "address",
1199
+ name: "marketAddress",
1200
+ type: "address",
1201
+ },
1202
+ {
1203
+ components: [
1204
+ {
1205
+ internalType: "address",
1206
+ name: "asset",
1207
+ type: "address",
1208
+ },
1209
+ {
1210
+ internalType: "string",
1211
+ name: "namePrefix",
1212
+ type: "string",
1213
+ },
1214
+ {
1215
+ internalType: "string",
1216
+ name: "symbolPrefix",
1217
+ type: "string",
1218
+ },
1219
+ {
1220
+ internalType: "uint128",
1221
+ name: "maxTotalSupply",
1222
+ type: "uint128",
1223
+ },
1224
+ {
1225
+ internalType: "uint16",
1226
+ name: "annualInterestBips",
1227
+ type: "uint16",
1228
+ },
1229
+ {
1230
+ internalType: "uint16",
1231
+ name: "delinquencyFeeBips",
1232
+ type: "uint16",
1233
+ },
1234
+ {
1235
+ internalType: "uint32",
1236
+ name: "withdrawalBatchDuration",
1237
+ type: "uint32",
1238
+ },
1239
+ {
1240
+ internalType: "uint16",
1241
+ name: "reserveRatioBips",
1242
+ type: "uint16",
1243
+ },
1244
+ {
1245
+ internalType: "uint32",
1246
+ name: "delinquencyGracePeriod",
1247
+ type: "uint32",
1248
+ },
1249
+ {
1250
+ internalType: "HooksConfig",
1251
+ name: "hooks",
1252
+ type: "uint256",
1253
+ },
1254
+ ],
1255
+ internalType: "struct DeployMarketInputsV2",
1256
+ name: "parameters",
1257
+ type: "tuple",
1258
+ },
1259
+ {
1260
+ internalType: "bytes",
1261
+ name: "extraData",
1262
+ type: "bytes",
1263
+ },
1264
+ ],
1265
+ name: "onCreateMarket",
1266
+ outputs: [
1267
+ {
1268
+ internalType: "HooksConfig",
1269
+ name: "param0",
1270
+ type: "uint256",
1271
+ },
1272
+ ],
1273
+ stateMutability: "nonpayable",
1274
+ type: "function",
1275
+ },
1276
+ {
1277
+ inputs: [
1278
+ {
1279
+ internalType: "address",
1280
+ name: "lender",
1281
+ type: "address",
1282
+ },
1283
+ {
1284
+ internalType: "uint256",
1285
+ name: "scaledAmount",
1286
+ type: "uint256",
1287
+ },
1288
+ {
1289
+ components: [
1290
+ {
1291
+ internalType: "bool",
1292
+ name: "isClosed",
1293
+ type: "bool",
1294
+ },
1295
+ {
1296
+ internalType: "uint128",
1297
+ name: "maxTotalSupply",
1298
+ type: "uint128",
1299
+ },
1300
+ {
1301
+ internalType: "uint128",
1302
+ name: "accruedProtocolFees",
1303
+ type: "uint128",
1304
+ },
1305
+ {
1306
+ internalType: "uint128",
1307
+ name: "normalizedUnclaimedWithdrawals",
1308
+ type: "uint128",
1309
+ },
1310
+ {
1311
+ internalType: "uint104",
1312
+ name: "scaledTotalSupply",
1313
+ type: "uint104",
1314
+ },
1315
+ {
1316
+ internalType: "uint104",
1317
+ name: "scaledPendingWithdrawals",
1318
+ type: "uint104",
1319
+ },
1320
+ {
1321
+ internalType: "uint32",
1322
+ name: "pendingWithdrawalExpiry",
1323
+ type: "uint32",
1324
+ },
1325
+ {
1326
+ internalType: "bool",
1327
+ name: "isDelinquent",
1328
+ type: "bool",
1329
+ },
1330
+ {
1331
+ internalType: "uint32",
1332
+ name: "timeDelinquent",
1333
+ type: "uint32",
1334
+ },
1335
+ {
1336
+ internalType: "uint16",
1337
+ name: "protocolFeeBips",
1338
+ type: "uint16",
1339
+ },
1340
+ {
1341
+ internalType: "uint16",
1342
+ name: "annualInterestBips",
1343
+ type: "uint16",
1344
+ },
1345
+ {
1346
+ internalType: "uint16",
1347
+ name: "reserveRatioBips",
1348
+ type: "uint16",
1349
+ },
1350
+ {
1351
+ internalType: "uint112",
1352
+ name: "scaleFactor",
1353
+ type: "uint112",
1354
+ },
1355
+ {
1356
+ internalType: "uint32",
1357
+ name: "lastInterestAccruedTimestamp",
1358
+ type: "uint32",
1359
+ },
1360
+ ],
1361
+ internalType: "struct MarketStateV2",
1362
+ name: "state",
1363
+ type: "tuple",
1364
+ },
1365
+ {
1366
+ internalType: "bytes",
1367
+ name: "hooksData",
1368
+ type: "bytes",
1369
+ },
1370
+ ],
1371
+ name: "onDeposit",
1372
+ outputs: [],
1373
+ stateMutability: "nonpayable",
1374
+ type: "function",
1375
+ },
1376
+ {
1377
+ inputs: [
1378
+ {
1379
+ internalType: "address",
1380
+ name: "lender",
1381
+ type: "address",
1382
+ },
1383
+ {
1384
+ internalType: "uint128",
1385
+ name: "param1",
1386
+ type: "uint128",
1387
+ },
1388
+ {
1389
+ components: [
1390
+ {
1391
+ internalType: "bool",
1392
+ name: "isClosed",
1393
+ type: "bool",
1394
+ },
1395
+ {
1396
+ internalType: "uint128",
1397
+ name: "maxTotalSupply",
1398
+ type: "uint128",
1399
+ },
1400
+ {
1401
+ internalType: "uint128",
1402
+ name: "accruedProtocolFees",
1403
+ type: "uint128",
1404
+ },
1405
+ {
1406
+ internalType: "uint128",
1407
+ name: "normalizedUnclaimedWithdrawals",
1408
+ type: "uint128",
1409
+ },
1410
+ {
1411
+ internalType: "uint104",
1412
+ name: "scaledTotalSupply",
1413
+ type: "uint104",
1414
+ },
1415
+ {
1416
+ internalType: "uint104",
1417
+ name: "scaledPendingWithdrawals",
1418
+ type: "uint104",
1419
+ },
1420
+ {
1421
+ internalType: "uint32",
1422
+ name: "pendingWithdrawalExpiry",
1423
+ type: "uint32",
1424
+ },
1425
+ {
1426
+ internalType: "bool",
1427
+ name: "isDelinquent",
1428
+ type: "bool",
1429
+ },
1430
+ {
1431
+ internalType: "uint32",
1432
+ name: "timeDelinquent",
1433
+ type: "uint32",
1434
+ },
1435
+ {
1436
+ internalType: "uint16",
1437
+ name: "protocolFeeBips",
1438
+ type: "uint16",
1439
+ },
1440
+ {
1441
+ internalType: "uint16",
1442
+ name: "annualInterestBips",
1443
+ type: "uint16",
1444
+ },
1445
+ {
1446
+ internalType: "uint16",
1447
+ name: "reserveRatioBips",
1448
+ type: "uint16",
1449
+ },
1450
+ {
1451
+ internalType: "uint112",
1452
+ name: "scaleFactor",
1453
+ type: "uint112",
1454
+ },
1455
+ {
1456
+ internalType: "uint32",
1457
+ name: "lastInterestAccruedTimestamp",
1458
+ type: "uint32",
1459
+ },
1460
+ ],
1461
+ internalType: "struct MarketStateV2",
1462
+ name: "param2",
1463
+ type: "tuple",
1464
+ },
1465
+ {
1466
+ internalType: "bytes",
1467
+ name: "hooksData",
1468
+ type: "bytes",
1469
+ },
1470
+ ],
1471
+ name: "onExecuteWithdrawal",
1472
+ outputs: [],
1473
+ stateMutability: "nonpayable",
1474
+ type: "function",
1475
+ },
1476
+ {
1477
+ inputs: [
1478
+ {
1479
+ internalType: "address",
1480
+ name: "param0",
1481
+ type: "address",
1482
+ },
1483
+ {
1484
+ internalType: "uint256",
1485
+ name: "param1",
1486
+ type: "uint256",
1487
+ },
1488
+ {
1489
+ components: [
1490
+ {
1491
+ internalType: "bool",
1492
+ name: "isClosed",
1493
+ type: "bool",
1494
+ },
1495
+ {
1496
+ internalType: "uint128",
1497
+ name: "maxTotalSupply",
1498
+ type: "uint128",
1499
+ },
1500
+ {
1501
+ internalType: "uint128",
1502
+ name: "accruedProtocolFees",
1503
+ type: "uint128",
1504
+ },
1505
+ {
1506
+ internalType: "uint128",
1507
+ name: "normalizedUnclaimedWithdrawals",
1508
+ type: "uint128",
1509
+ },
1510
+ {
1511
+ internalType: "uint104",
1512
+ name: "scaledTotalSupply",
1513
+ type: "uint104",
1514
+ },
1515
+ {
1516
+ internalType: "uint104",
1517
+ name: "scaledPendingWithdrawals",
1518
+ type: "uint104",
1519
+ },
1520
+ {
1521
+ internalType: "uint32",
1522
+ name: "pendingWithdrawalExpiry",
1523
+ type: "uint32",
1524
+ },
1525
+ {
1526
+ internalType: "bool",
1527
+ name: "isDelinquent",
1528
+ type: "bool",
1529
+ },
1530
+ {
1531
+ internalType: "uint32",
1532
+ name: "timeDelinquent",
1533
+ type: "uint32",
1534
+ },
1535
+ {
1536
+ internalType: "uint16",
1537
+ name: "protocolFeeBips",
1538
+ type: "uint16",
1539
+ },
1540
+ {
1541
+ internalType: "uint16",
1542
+ name: "annualInterestBips",
1543
+ type: "uint16",
1544
+ },
1545
+ {
1546
+ internalType: "uint16",
1547
+ name: "reserveRatioBips",
1548
+ type: "uint16",
1549
+ },
1550
+ {
1551
+ internalType: "uint112",
1552
+ name: "scaleFactor",
1553
+ type: "uint112",
1554
+ },
1555
+ {
1556
+ internalType: "uint32",
1557
+ name: "lastInterestAccruedTimestamp",
1558
+ type: "uint32",
1559
+ },
1560
+ ],
1561
+ internalType: "struct MarketStateV2",
1562
+ name: "param2",
1563
+ type: "tuple",
1564
+ },
1565
+ {
1566
+ internalType: "bytes",
1567
+ name: "param3",
1568
+ type: "bytes",
1569
+ },
1570
+ ],
1571
+ name: "onForceBuyBack",
1572
+ outputs: [],
1573
+ stateMutability: "nonpayable",
1574
+ type: "function",
1575
+ },
1576
+ {
1577
+ inputs: [
1578
+ {
1579
+ internalType: "address",
1580
+ name: "param0",
1581
+ type: "address",
1582
+ },
1583
+ {
1584
+ components: [
1585
+ {
1586
+ internalType: "bool",
1587
+ name: "isClosed",
1588
+ type: "bool",
1589
+ },
1590
+ {
1591
+ internalType: "uint128",
1592
+ name: "maxTotalSupply",
1593
+ type: "uint128",
1594
+ },
1595
+ {
1596
+ internalType: "uint128",
1597
+ name: "accruedProtocolFees",
1598
+ type: "uint128",
1599
+ },
1600
+ {
1601
+ internalType: "uint128",
1602
+ name: "normalizedUnclaimedWithdrawals",
1603
+ type: "uint128",
1604
+ },
1605
+ {
1606
+ internalType: "uint104",
1607
+ name: "scaledTotalSupply",
1608
+ type: "uint104",
1609
+ },
1610
+ {
1611
+ internalType: "uint104",
1612
+ name: "scaledPendingWithdrawals",
1613
+ type: "uint104",
1614
+ },
1615
+ {
1616
+ internalType: "uint32",
1617
+ name: "pendingWithdrawalExpiry",
1618
+ type: "uint32",
1619
+ },
1620
+ {
1621
+ internalType: "bool",
1622
+ name: "isDelinquent",
1623
+ type: "bool",
1624
+ },
1625
+ {
1626
+ internalType: "uint32",
1627
+ name: "timeDelinquent",
1628
+ type: "uint32",
1629
+ },
1630
+ {
1631
+ internalType: "uint16",
1632
+ name: "protocolFeeBips",
1633
+ type: "uint16",
1634
+ },
1635
+ {
1636
+ internalType: "uint16",
1637
+ name: "annualInterestBips",
1638
+ type: "uint16",
1639
+ },
1640
+ {
1641
+ internalType: "uint16",
1642
+ name: "reserveRatioBips",
1643
+ type: "uint16",
1644
+ },
1645
+ {
1646
+ internalType: "uint112",
1647
+ name: "scaleFactor",
1648
+ type: "uint112",
1649
+ },
1650
+ {
1651
+ internalType: "uint32",
1652
+ name: "lastInterestAccruedTimestamp",
1653
+ type: "uint32",
1654
+ },
1655
+ ],
1656
+ internalType: "struct MarketStateV2",
1657
+ name: "param1",
1658
+ type: "tuple",
1659
+ },
1660
+ {
1661
+ internalType: "bytes",
1662
+ name: "param2",
1663
+ type: "bytes",
1664
+ },
1665
+ ],
1666
+ name: "onNukeFromOrbit",
1667
+ outputs: [],
1668
+ stateMutability: "nonpayable",
1669
+ type: "function",
1670
+ },
1671
+ {
1672
+ inputs: [
1673
+ {
1674
+ internalType: "address",
1675
+ name: "lender",
1676
+ type: "address",
1677
+ },
1678
+ {
1679
+ internalType: "uint32",
1680
+ name: "param1",
1681
+ type: "uint32",
1682
+ },
1683
+ {
1684
+ internalType: "uint256",
1685
+ name: "param2",
1686
+ type: "uint256",
1687
+ },
1688
+ {
1689
+ components: [
1690
+ {
1691
+ internalType: "bool",
1692
+ name: "isClosed",
1693
+ type: "bool",
1694
+ },
1695
+ {
1696
+ internalType: "uint128",
1697
+ name: "maxTotalSupply",
1698
+ type: "uint128",
1699
+ },
1700
+ {
1701
+ internalType: "uint128",
1702
+ name: "accruedProtocolFees",
1703
+ type: "uint128",
1704
+ },
1705
+ {
1706
+ internalType: "uint128",
1707
+ name: "normalizedUnclaimedWithdrawals",
1708
+ type: "uint128",
1709
+ },
1710
+ {
1711
+ internalType: "uint104",
1712
+ name: "scaledTotalSupply",
1713
+ type: "uint104",
1714
+ },
1715
+ {
1716
+ internalType: "uint104",
1717
+ name: "scaledPendingWithdrawals",
1718
+ type: "uint104",
1719
+ },
1720
+ {
1721
+ internalType: "uint32",
1722
+ name: "pendingWithdrawalExpiry",
1723
+ type: "uint32",
1724
+ },
1725
+ {
1726
+ internalType: "bool",
1727
+ name: "isDelinquent",
1728
+ type: "bool",
1729
+ },
1730
+ {
1731
+ internalType: "uint32",
1732
+ name: "timeDelinquent",
1733
+ type: "uint32",
1734
+ },
1735
+ {
1736
+ internalType: "uint16",
1737
+ name: "protocolFeeBips",
1738
+ type: "uint16",
1739
+ },
1740
+ {
1741
+ internalType: "uint16",
1742
+ name: "annualInterestBips",
1743
+ type: "uint16",
1744
+ },
1745
+ {
1746
+ internalType: "uint16",
1747
+ name: "reserveRatioBips",
1748
+ type: "uint16",
1749
+ },
1750
+ {
1751
+ internalType: "uint112",
1752
+ name: "scaleFactor",
1753
+ type: "uint112",
1754
+ },
1755
+ {
1756
+ internalType: "uint32",
1757
+ name: "lastInterestAccruedTimestamp",
1758
+ type: "uint32",
1759
+ },
1760
+ ],
1761
+ internalType: "struct MarketStateV2",
1762
+ name: "param3",
1763
+ type: "tuple",
1764
+ },
1765
+ {
1766
+ internalType: "bytes",
1767
+ name: "hooksData",
1768
+ type: "bytes",
1769
+ },
1770
+ ],
1771
+ name: "onQueueWithdrawal",
1772
+ outputs: [],
1773
+ stateMutability: "nonpayable",
1774
+ type: "function",
1775
+ },
1776
+ {
1777
+ inputs: [
1778
+ {
1779
+ internalType: "uint256",
1780
+ name: "normalizedAmount",
1781
+ type: "uint256",
1782
+ },
1783
+ {
1784
+ components: [
1785
+ {
1786
+ internalType: "bool",
1787
+ name: "isClosed",
1788
+ type: "bool",
1789
+ },
1790
+ {
1791
+ internalType: "uint128",
1792
+ name: "maxTotalSupply",
1793
+ type: "uint128",
1794
+ },
1795
+ {
1796
+ internalType: "uint128",
1797
+ name: "accruedProtocolFees",
1798
+ type: "uint128",
1799
+ },
1800
+ {
1801
+ internalType: "uint128",
1802
+ name: "normalizedUnclaimedWithdrawals",
1803
+ type: "uint128",
1804
+ },
1805
+ {
1806
+ internalType: "uint104",
1807
+ name: "scaledTotalSupply",
1808
+ type: "uint104",
1809
+ },
1810
+ {
1811
+ internalType: "uint104",
1812
+ name: "scaledPendingWithdrawals",
1813
+ type: "uint104",
1814
+ },
1815
+ {
1816
+ internalType: "uint32",
1817
+ name: "pendingWithdrawalExpiry",
1818
+ type: "uint32",
1819
+ },
1820
+ {
1821
+ internalType: "bool",
1822
+ name: "isDelinquent",
1823
+ type: "bool",
1824
+ },
1825
+ {
1826
+ internalType: "uint32",
1827
+ name: "timeDelinquent",
1828
+ type: "uint32",
1829
+ },
1830
+ {
1831
+ internalType: "uint16",
1832
+ name: "protocolFeeBips",
1833
+ type: "uint16",
1834
+ },
1835
+ {
1836
+ internalType: "uint16",
1837
+ name: "annualInterestBips",
1838
+ type: "uint16",
1839
+ },
1840
+ {
1841
+ internalType: "uint16",
1842
+ name: "reserveRatioBips",
1843
+ type: "uint16",
1844
+ },
1845
+ {
1846
+ internalType: "uint112",
1847
+ name: "scaleFactor",
1848
+ type: "uint112",
1849
+ },
1850
+ {
1851
+ internalType: "uint32",
1852
+ name: "lastInterestAccruedTimestamp",
1853
+ type: "uint32",
1854
+ },
1855
+ ],
1856
+ internalType: "struct MarketStateV2",
1857
+ name: "state",
1858
+ type: "tuple",
1859
+ },
1860
+ {
1861
+ internalType: "bytes",
1862
+ name: "hooksData",
1863
+ type: "bytes",
1864
+ },
1865
+ ],
1866
+ name: "onRepay",
1867
+ outputs: [],
1868
+ stateMutability: "nonpayable",
1869
+ type: "function",
1870
+ },
1871
+ {
1872
+ inputs: [
1873
+ {
1874
+ internalType: "uint16",
1875
+ name: "annualInterestBips",
1876
+ type: "uint16",
1877
+ },
1878
+ {
1879
+ internalType: "uint16",
1880
+ name: "reserveRatioBips",
1881
+ type: "uint16",
1882
+ },
1883
+ {
1884
+ components: [
1885
+ {
1886
+ internalType: "bool",
1887
+ name: "isClosed",
1888
+ type: "bool",
1889
+ },
1890
+ {
1891
+ internalType: "uint128",
1892
+ name: "maxTotalSupply",
1893
+ type: "uint128",
1894
+ },
1895
+ {
1896
+ internalType: "uint128",
1897
+ name: "accruedProtocolFees",
1898
+ type: "uint128",
1899
+ },
1900
+ {
1901
+ internalType: "uint128",
1902
+ name: "normalizedUnclaimedWithdrawals",
1903
+ type: "uint128",
1904
+ },
1905
+ {
1906
+ internalType: "uint104",
1907
+ name: "scaledTotalSupply",
1908
+ type: "uint104",
1909
+ },
1910
+ {
1911
+ internalType: "uint104",
1912
+ name: "scaledPendingWithdrawals",
1913
+ type: "uint104",
1914
+ },
1915
+ {
1916
+ internalType: "uint32",
1917
+ name: "pendingWithdrawalExpiry",
1918
+ type: "uint32",
1919
+ },
1920
+ {
1921
+ internalType: "bool",
1922
+ name: "isDelinquent",
1923
+ type: "bool",
1924
+ },
1925
+ {
1926
+ internalType: "uint32",
1927
+ name: "timeDelinquent",
1928
+ type: "uint32",
1929
+ },
1930
+ {
1931
+ internalType: "uint16",
1932
+ name: "protocolFeeBips",
1933
+ type: "uint16",
1934
+ },
1935
+ {
1936
+ internalType: "uint16",
1937
+ name: "annualInterestBips",
1938
+ type: "uint16",
1939
+ },
1940
+ {
1941
+ internalType: "uint16",
1942
+ name: "reserveRatioBips",
1943
+ type: "uint16",
1944
+ },
1945
+ {
1946
+ internalType: "uint112",
1947
+ name: "scaleFactor",
1948
+ type: "uint112",
1949
+ },
1950
+ {
1951
+ internalType: "uint32",
1952
+ name: "lastInterestAccruedTimestamp",
1953
+ type: "uint32",
1954
+ },
1955
+ ],
1956
+ internalType: "struct MarketStateV2",
1957
+ name: "intermediateState",
1958
+ type: "tuple",
1959
+ },
1960
+ {
1961
+ internalType: "bytes",
1962
+ name: "extraData",
1963
+ type: "bytes",
1964
+ },
1965
+ ],
1966
+ name: "onSetAnnualInterestAndReserveRatioBips",
1967
+ outputs: [
1968
+ {
1969
+ internalType: "uint16",
1970
+ name: "updatedAnnualInterestBips",
1971
+ type: "uint16",
1972
+ },
1973
+ {
1974
+ internalType: "uint16",
1975
+ name: "updatedReserveRatioBips",
1976
+ type: "uint16",
1977
+ },
1978
+ ],
1979
+ stateMutability: "nonpayable",
1980
+ type: "function",
1981
+ },
1982
+ {
1983
+ inputs: [
1984
+ {
1985
+ internalType: "uint256",
1986
+ name: "param0",
1987
+ type: "uint256",
1988
+ },
1989
+ {
1990
+ components: [
1991
+ {
1992
+ internalType: "bool",
1993
+ name: "isClosed",
1994
+ type: "bool",
1995
+ },
1996
+ {
1997
+ internalType: "uint128",
1998
+ name: "maxTotalSupply",
1999
+ type: "uint128",
2000
+ },
2001
+ {
2002
+ internalType: "uint128",
2003
+ name: "accruedProtocolFees",
2004
+ type: "uint128",
2005
+ },
2006
+ {
2007
+ internalType: "uint128",
2008
+ name: "normalizedUnclaimedWithdrawals",
2009
+ type: "uint128",
2010
+ },
2011
+ {
2012
+ internalType: "uint104",
2013
+ name: "scaledTotalSupply",
2014
+ type: "uint104",
2015
+ },
2016
+ {
2017
+ internalType: "uint104",
2018
+ name: "scaledPendingWithdrawals",
2019
+ type: "uint104",
2020
+ },
2021
+ {
2022
+ internalType: "uint32",
2023
+ name: "pendingWithdrawalExpiry",
2024
+ type: "uint32",
2025
+ },
2026
+ {
2027
+ internalType: "bool",
2028
+ name: "isDelinquent",
2029
+ type: "bool",
2030
+ },
2031
+ {
2032
+ internalType: "uint32",
2033
+ name: "timeDelinquent",
2034
+ type: "uint32",
2035
+ },
2036
+ {
2037
+ internalType: "uint16",
2038
+ name: "protocolFeeBips",
2039
+ type: "uint16",
2040
+ },
2041
+ {
2042
+ internalType: "uint16",
2043
+ name: "annualInterestBips",
2044
+ type: "uint16",
2045
+ },
2046
+ {
2047
+ internalType: "uint16",
2048
+ name: "reserveRatioBips",
2049
+ type: "uint16",
2050
+ },
2051
+ {
2052
+ internalType: "uint112",
2053
+ name: "scaleFactor",
2054
+ type: "uint112",
2055
+ },
2056
+ {
2057
+ internalType: "uint32",
2058
+ name: "lastInterestAccruedTimestamp",
2059
+ type: "uint32",
2060
+ },
2061
+ ],
2062
+ internalType: "struct MarketStateV2",
2063
+ name: "param1",
2064
+ type: "tuple",
2065
+ },
2066
+ {
2067
+ internalType: "bytes",
2068
+ name: "param2",
2069
+ type: "bytes",
2070
+ },
2071
+ ],
2072
+ name: "onSetMaxTotalSupply",
2073
+ outputs: [],
2074
+ stateMutability: "nonpayable",
2075
+ type: "function",
2076
+ },
2077
+ {
2078
+ inputs: [
2079
+ {
2080
+ internalType: "uint16",
2081
+ name: "param0",
2082
+ type: "uint16",
2083
+ },
2084
+ {
2085
+ components: [
2086
+ {
2087
+ internalType: "bool",
2088
+ name: "isClosed",
2089
+ type: "bool",
2090
+ },
2091
+ {
2092
+ internalType: "uint128",
2093
+ name: "maxTotalSupply",
2094
+ type: "uint128",
2095
+ },
2096
+ {
2097
+ internalType: "uint128",
2098
+ name: "accruedProtocolFees",
2099
+ type: "uint128",
2100
+ },
2101
+ {
2102
+ internalType: "uint128",
2103
+ name: "normalizedUnclaimedWithdrawals",
2104
+ type: "uint128",
2105
+ },
2106
+ {
2107
+ internalType: "uint104",
2108
+ name: "scaledTotalSupply",
2109
+ type: "uint104",
2110
+ },
2111
+ {
2112
+ internalType: "uint104",
2113
+ name: "scaledPendingWithdrawals",
2114
+ type: "uint104",
2115
+ },
2116
+ {
2117
+ internalType: "uint32",
2118
+ name: "pendingWithdrawalExpiry",
2119
+ type: "uint32",
2120
+ },
2121
+ {
2122
+ internalType: "bool",
2123
+ name: "isDelinquent",
2124
+ type: "bool",
2125
+ },
2126
+ {
2127
+ internalType: "uint32",
2128
+ name: "timeDelinquent",
2129
+ type: "uint32",
2130
+ },
2131
+ {
2132
+ internalType: "uint16",
2133
+ name: "protocolFeeBips",
2134
+ type: "uint16",
2135
+ },
2136
+ {
2137
+ internalType: "uint16",
2138
+ name: "annualInterestBips",
2139
+ type: "uint16",
2140
+ },
2141
+ {
2142
+ internalType: "uint16",
2143
+ name: "reserveRatioBips",
2144
+ type: "uint16",
2145
+ },
2146
+ {
2147
+ internalType: "uint112",
2148
+ name: "scaleFactor",
2149
+ type: "uint112",
2150
+ },
2151
+ {
2152
+ internalType: "uint32",
2153
+ name: "lastInterestAccruedTimestamp",
2154
+ type: "uint32",
2155
+ },
2156
+ ],
2157
+ internalType: "struct MarketStateV2",
2158
+ name: "param1",
2159
+ type: "tuple",
2160
+ },
2161
+ {
2162
+ internalType: "bytes",
2163
+ name: "param2",
2164
+ type: "bytes",
2165
+ },
2166
+ ],
2167
+ name: "onSetProtocolFeeBips",
2168
+ outputs: [],
2169
+ stateMutability: "nonpayable",
2170
+ type: "function",
2171
+ },
2172
+ {
2173
+ inputs: [
2174
+ {
2175
+ internalType: "address",
2176
+ name: "param0",
2177
+ type: "address",
2178
+ },
2179
+ {
2180
+ internalType: "address",
2181
+ name: "param1",
2182
+ type: "address",
2183
+ },
2184
+ {
2185
+ internalType: "address",
2186
+ name: "to",
2187
+ type: "address",
2188
+ },
2189
+ {
2190
+ internalType: "uint256",
2191
+ name: "param3",
2192
+ type: "uint256",
2193
+ },
2194
+ {
2195
+ components: [
2196
+ {
2197
+ internalType: "bool",
2198
+ name: "isClosed",
2199
+ type: "bool",
2200
+ },
2201
+ {
2202
+ internalType: "uint128",
2203
+ name: "maxTotalSupply",
2204
+ type: "uint128",
2205
+ },
2206
+ {
2207
+ internalType: "uint128",
2208
+ name: "accruedProtocolFees",
2209
+ type: "uint128",
2210
+ },
2211
+ {
2212
+ internalType: "uint128",
2213
+ name: "normalizedUnclaimedWithdrawals",
2214
+ type: "uint128",
2215
+ },
2216
+ {
2217
+ internalType: "uint104",
2218
+ name: "scaledTotalSupply",
2219
+ type: "uint104",
2220
+ },
2221
+ {
2222
+ internalType: "uint104",
2223
+ name: "scaledPendingWithdrawals",
2224
+ type: "uint104",
2225
+ },
2226
+ {
2227
+ internalType: "uint32",
2228
+ name: "pendingWithdrawalExpiry",
2229
+ type: "uint32",
2230
+ },
2231
+ {
2232
+ internalType: "bool",
2233
+ name: "isDelinquent",
2234
+ type: "bool",
2235
+ },
2236
+ {
2237
+ internalType: "uint32",
2238
+ name: "timeDelinquent",
2239
+ type: "uint32",
2240
+ },
2241
+ {
2242
+ internalType: "uint16",
2243
+ name: "protocolFeeBips",
2244
+ type: "uint16",
2245
+ },
2246
+ {
2247
+ internalType: "uint16",
2248
+ name: "annualInterestBips",
2249
+ type: "uint16",
2250
+ },
2251
+ {
2252
+ internalType: "uint16",
2253
+ name: "reserveRatioBips",
2254
+ type: "uint16",
2255
+ },
2256
+ {
2257
+ internalType: "uint112",
2258
+ name: "scaleFactor",
2259
+ type: "uint112",
2260
+ },
2261
+ {
2262
+ internalType: "uint32",
2263
+ name: "lastInterestAccruedTimestamp",
2264
+ type: "uint32",
2265
+ },
2266
+ ],
2267
+ internalType: "struct MarketStateV2",
2268
+ name: "param4",
2269
+ type: "tuple",
2270
+ },
2271
+ {
2272
+ internalType: "bytes",
2273
+ name: "extraData",
2274
+ type: "bytes",
2275
+ },
2276
+ ],
2277
+ name: "onTransfer",
2278
+ outputs: [],
2279
+ stateMutability: "nonpayable",
2280
+ type: "function",
2281
+ },
2282
+ {
2283
+ inputs: [
2284
+ {
2285
+ internalType: "address",
2286
+ name: "providerAddress",
2287
+ type: "address",
2288
+ },
2289
+ ],
2290
+ name: "removeRoleProvider",
2291
+ outputs: [],
2292
+ stateMutability: "nonpayable",
2293
+ type: "function",
2294
+ },
2295
+ {
2296
+ inputs: [
2297
+ {
2298
+ internalType: "address",
2299
+ name: "account",
2300
+ type: "address",
2301
+ },
2302
+ ],
2303
+ name: "revokeRole",
2304
+ outputs: [],
2305
+ stateMutability: "nonpayable",
2306
+ type: "function",
2307
+ },
2308
+ {
2309
+ inputs: [
2310
+ {
2311
+ internalType: "address",
2312
+ name: "market",
2313
+ type: "address",
2314
+ },
2315
+ {
2316
+ internalType: "uint32",
2317
+ name: "newFixedTermEndTime",
2318
+ type: "uint32",
2319
+ },
2320
+ ],
2321
+ name: "setFixedTermEndTime",
2322
+ outputs: [],
2323
+ stateMutability: "nonpayable",
2324
+ type: "function",
2325
+ },
2326
+ {
2327
+ inputs: [
2328
+ {
2329
+ internalType: "address",
2330
+ name: "market",
2331
+ type: "address",
2332
+ },
2333
+ {
2334
+ internalType: "uint128",
2335
+ name: "newMinimumDeposit",
2336
+ type: "uint128",
2337
+ },
2338
+ ],
2339
+ name: "setMinimumDeposit",
2340
+ outputs: [],
2341
+ stateMutability: "nonpayable",
2342
+ type: "function",
2343
+ },
2344
+ {
2345
+ inputs: [
2346
+ {
2347
+ internalType: "string",
2348
+ name: "_name",
2349
+ type: "string",
2350
+ },
2351
+ ],
2352
+ name: "setName",
2353
+ outputs: [],
2354
+ stateMutability: "nonpayable",
2355
+ type: "function",
2356
+ },
2357
+ {
2358
+ inputs: [
2359
+ {
2360
+ internalType: "address",
2361
+ name: "key0",
2362
+ type: "address",
2363
+ },
2364
+ ],
2365
+ name: "temporaryExcessReserveRatio",
2366
+ outputs: [
2367
+ {
2368
+ internalType: "uint16",
2369
+ name: "originalAnnualInterestBips",
2370
+ type: "uint16",
2371
+ },
2372
+ {
2373
+ internalType: "uint16",
2374
+ name: "originalReserveRatioBips",
2375
+ type: "uint16",
2376
+ },
2377
+ {
2378
+ internalType: "uint32",
2379
+ name: "expiry",
2380
+ type: "uint32",
2381
+ },
2382
+ ],
2383
+ stateMutability: "view",
2384
+ type: "function",
2385
+ },
2386
+ {
2387
+ inputs: [
2388
+ {
2389
+ internalType: "address",
2390
+ name: "account",
2391
+ type: "address",
2392
+ },
2393
+ ],
2394
+ name: "unblockFromDeposits",
2395
+ outputs: [],
2396
+ stateMutability: "nonpayable",
2397
+ type: "function",
2398
+ },
2399
+ {
2400
+ inputs: [],
2401
+ name: "version",
2402
+ outputs: [
2403
+ {
2404
+ internalType: "string",
2405
+ name: "param0",
2406
+ type: "string",
2407
+ },
2408
+ ],
2409
+ stateMutability: "pure",
2410
+ type: "function",
2411
+ },
2412
+ ];
2413
+ class IFixedTermHooks__factory {
2414
+ static createInterface() {
2415
+ return new ethers_1.utils.Interface(_abi);
2416
+ }
2417
+ static connect(address, signerOrProvider) {
2418
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
2419
+ }
2420
+ }
2421
+ IFixedTermHooks__factory.abi = _abi;
2422
+ exports.IFixedTermHooks__factory = IFixedTermHooks__factory;
2423
+ //# sourceMappingURL=IFixedTermHooks__factory.js.map