@wildcatfi/wildcat-sdk 3.0.68-beta → 3.0.70-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 (416) hide show
  1. package/README.md +2 -2
  2. package/dist/abi/generated.d.ts +34207 -0
  3. package/dist/abi/generated.d.ts.map +1 -0
  4. package/dist/abi/generated.js +43811 -0
  5. package/dist/abi/generated.js.map +1 -0
  6. package/dist/abi/index.d.ts +3 -0
  7. package/dist/abi/index.d.ts.map +1 -0
  8. package/dist/abi/index.js +19 -0
  9. package/dist/abi/index.js.map +1 -0
  10. package/dist/abi/manual.d.ts +354 -0
  11. package/dist/abi/manual.d.ts.map +1 -0
  12. package/dist/abi/manual.js +202 -0
  13. package/dist/abi/manual.js.map +1 -0
  14. package/dist/access/access-control.d.ts +16 -18
  15. package/dist/access/access-control.d.ts.map +1 -1
  16. package/dist/access/access-control.js +101 -101
  17. package/dist/access/access-control.js.map +1 -1
  18. package/dist/access/fixed-term.d.ts +16 -18
  19. package/dist/access/fixed-term.d.ts.map +1 -1
  20. package/dist/access/fixed-term.js +115 -104
  21. package/dist/access/fixed-term.js.map +1 -1
  22. package/dist/access/index.d.ts +3 -3
  23. package/dist/access/index.d.ts.map +1 -1
  24. package/dist/access/index.js +47 -13
  25. package/dist/access/index.js.map +1 -1
  26. package/dist/access/revolving.d.ts +2 -1
  27. package/dist/access/revolving.d.ts.map +1 -1
  28. package/dist/access/revolving.js +6 -6
  29. package/dist/access/revolving.js.map +1 -1
  30. package/dist/access/utils.d.ts +2 -1
  31. package/dist/access/utils.d.ts.map +1 -1
  32. package/dist/access/utils.js +40 -10
  33. package/dist/access/utils.js.map +1 -1
  34. package/dist/access/validation.d.ts +7 -6
  35. package/dist/access/validation.d.ts.map +1 -1
  36. package/dist/access/validation.js +1 -0
  37. package/dist/access/validation.js.map +1 -1
  38. package/dist/account/index.d.ts +21 -30
  39. package/dist/account/index.d.ts.map +1 -1
  40. package/dist/account/index.js +193 -224
  41. package/dist/account/index.js.map +1 -1
  42. package/dist/client.d.ts +22 -0
  43. package/dist/client.d.ts.map +1 -0
  44. package/dist/client.js +51 -0
  45. package/dist/client.js.map +1 -0
  46. package/dist/collateral/collateral-events.d.ts +9 -10
  47. package/dist/collateral/collateral-events.d.ts.map +1 -1
  48. package/dist/collateral/collateral-events.js +4 -4
  49. package/dist/collateral/collateral-events.js.map +1 -1
  50. package/dist/collateral/index.d.ts +7 -10
  51. package/dist/collateral/index.d.ts.map +1 -1
  52. package/dist/collateral/index.js +36 -37
  53. package/dist/collateral/index.js.map +1 -1
  54. package/dist/constants.d.ts +72 -16
  55. package/dist/constants.d.ts.map +1 -1
  56. package/dist/constants.js +148 -23
  57. package/dist/constants.js.map +1 -1
  58. package/dist/controller.d.ts +10 -17
  59. package/dist/controller.d.ts.map +1 -1
  60. package/dist/controller.js +66 -67
  61. package/dist/controller.js.map +1 -1
  62. package/dist/gql/getActiveLendersByMarket.d.ts +2 -3
  63. package/dist/gql/getActiveLendersByMarket.d.ts.map +1 -1
  64. package/dist/gql/getActiveLendersByMarket.js +10 -10
  65. package/dist/gql/getActiveLendersByMarket.js.map +1 -1
  66. package/dist/gql/getAllHooksDataForBorrower.d.ts.map +1 -1
  67. package/dist/gql/getAllHooksDataForBorrower.js +6 -3
  68. package/dist/gql/getAllHooksDataForBorrower.js.map +1 -1
  69. package/dist/gql/getAllHooksTemplates.d.ts.map +1 -1
  70. package/dist/gql/getAllHooksTemplates.js +3 -3
  71. package/dist/gql/getAllHooksTemplates.js.map +1 -1
  72. package/dist/gql/graphql.d.ts +373 -10
  73. package/dist/gql/graphql.d.ts.map +1 -1
  74. package/dist/gql/graphql.js +78 -4
  75. package/dist/gql/graphql.js.map +1 -1
  76. package/dist/index.d.ts +2 -1
  77. package/dist/index.d.ts.map +1 -1
  78. package/dist/index.js +3 -14
  79. package/dist/index.js.map +1 -1
  80. package/dist/internal/arch-controller.d.ts +6 -0
  81. package/dist/internal/arch-controller.d.ts.map +1 -0
  82. package/dist/internal/arch-controller.js +36 -0
  83. package/dist/internal/arch-controller.js.map +1 -0
  84. package/dist/internal/ethers-signer.d.ts +4 -0
  85. package/dist/internal/ethers-signer.d.ts.map +1 -0
  86. package/dist/internal/ethers-signer.js +12 -0
  87. package/dist/internal/ethers-signer.js.map +1 -0
  88. package/dist/internal/ethers-viem.d.ts +4 -0
  89. package/dist/internal/ethers-viem.d.ts.map +1 -0
  90. package/dist/internal/ethers-viem.js +43 -0
  91. package/dist/internal/ethers-viem.js.map +1 -0
  92. package/dist/internal/market-lens.d.ts +26 -0
  93. package/dist/internal/market-lens.d.ts.map +1 -0
  94. package/dist/internal/market-lens.js +117 -0
  95. package/dist/internal/market-lens.js.map +1 -0
  96. package/dist/internal/viem-read.d.ts +3 -0
  97. package/dist/internal/viem-read.d.ts.map +1 -0
  98. package/dist/internal/viem-read.js +13 -0
  99. package/dist/internal/viem-read.js.map +1 -0
  100. package/dist/internal/viem-write.d.ts +9 -0
  101. package/dist/internal/viem-write.d.ts.map +1 -0
  102. package/dist/internal/viem-write.js +24 -0
  103. package/dist/internal/viem-write.js.map +1 -0
  104. package/dist/lens-types.d.ts +283 -0
  105. package/dist/lens-types.d.ts.map +1 -0
  106. package/dist/{typechain/ISafe.js → lens-types.js} +1 -1
  107. package/dist/lens-types.js.map +1 -0
  108. package/dist/market.d.ts +13 -16
  109. package/dist/market.d.ts.map +1 -1
  110. package/dist/market.js +207 -198
  111. package/dist/market.js.map +1 -1
  112. package/dist/mockerc20factory.d.ts +4 -15
  113. package/dist/mockerc20factory.d.ts.map +1 -1
  114. package/dist/mockerc20factory.js +20 -15
  115. package/dist/mockerc20factory.js.map +1 -1
  116. package/dist/token.d.ts +24 -11
  117. package/dist/token.d.ts.map +1 -1
  118. package/dist/token.js +78 -61
  119. package/dist/token.js.map +1 -1
  120. package/dist/types.d.ts +53 -12
  121. package/dist/types.d.ts.map +1 -1
  122. package/dist/types.js +6 -15
  123. package/dist/types.js.map +1 -1
  124. package/dist/utils/bigint.d.ts +22 -0
  125. package/dist/utils/bigint.d.ts.map +1 -0
  126. package/dist/utils/bigint.js +111 -0
  127. package/dist/utils/bigint.js.map +1 -0
  128. package/dist/utils/check-registered-borrowers.d.ts.map +1 -1
  129. package/dist/utils/check-registered-borrowers.js +7 -6
  130. package/dist/utils/check-registered-borrowers.js.map +1 -1
  131. package/dist/utils/describe-account.d.ts.map +1 -1
  132. package/dist/utils/describe-account.js +33 -4
  133. package/dist/utils/describe-account.js.map +1 -1
  134. package/dist/utils/describe-signature.d.ts.map +1 -1
  135. package/dist/utils/describe-signature.js +66 -14
  136. package/dist/utils/describe-signature.js.map +1 -1
  137. package/dist/utils/index.d.ts +2 -0
  138. package/dist/utils/index.d.ts.map +1 -1
  139. package/dist/utils/index.js +2 -0
  140. package/dist/utils/index.js.map +1 -1
  141. package/dist/utils/math.d.ts +1 -13
  142. package/dist/utils/math.d.ts.map +1 -1
  143. package/dist/utils/math.js +14 -50
  144. package/dist/utils/math.js.map +1 -1
  145. package/dist/utils/misc.d.ts +5 -4
  146. package/dist/utils/misc.d.ts.map +1 -1
  147. package/dist/utils/misc.js +6 -6
  148. package/dist/utils/misc.js.map +1 -1
  149. package/dist/utils/record-types.d.ts +4 -5
  150. package/dist/utils/record-types.d.ts.map +1 -1
  151. package/dist/utils/record-types.js +2 -2
  152. package/dist/utils/record-types.js.map +1 -1
  153. package/dist/utils/type-parsers.d.ts +9 -3
  154. package/dist/utils/type-parsers.d.ts.map +1 -1
  155. package/dist/utils/type-parsers.js +14 -13
  156. package/dist/utils/type-parsers.js.map +1 -1
  157. package/dist/utils/viem-encoding.d.ts +15 -0
  158. package/dist/utils/viem-encoding.d.ts.map +1 -0
  159. package/dist/utils/viem-encoding.js +33 -0
  160. package/dist/utils/viem-encoding.js.map +1 -0
  161. package/dist/withdrawal-batch.d.ts +6 -7
  162. package/dist/withdrawal-batch.d.ts.map +1 -1
  163. package/dist/withdrawal-batch.js +29 -30
  164. package/dist/withdrawal-batch.js.map +1 -1
  165. package/dist/withdrawal-status.d.ts +5 -5
  166. package/dist/withdrawal-status.d.ts.map +1 -1
  167. package/dist/withdrawal-status.js +15 -12
  168. package/dist/withdrawal-status.js.map +1 -1
  169. package/dist/wrapper/index.d.ts +14 -31
  170. package/dist/wrapper/index.d.ts.map +1 -1
  171. package/dist/wrapper/index.js +80 -83
  172. package/dist/wrapper/index.js.map +1 -1
  173. package/package.json +13 -11
  174. package/dist/typechain/AccountQuery.d.ts +0 -56
  175. package/dist/typechain/AccountQuery.d.ts.map +0 -1
  176. package/dist/typechain/AccountQuery.js +0 -3
  177. package/dist/typechain/AccountQuery.js.map +0 -1
  178. package/dist/typechain/AccountsQuery.d.ts +0 -56
  179. package/dist/typechain/AccountsQuery.d.ts.map +0 -1
  180. package/dist/typechain/AccountsQuery.js +0 -3
  181. package/dist/typechain/AccountsQuery.js.map +0 -1
  182. package/dist/typechain/CheckBorrowersRegistered.d.ts +0 -29
  183. package/dist/typechain/CheckBorrowersRegistered.d.ts.map +0 -1
  184. package/dist/typechain/CheckBorrowersRegistered.js +0 -3
  185. package/dist/typechain/CheckBorrowersRegistered.js.map +0 -1
  186. package/dist/typechain/CheckSafeSignature.d.ts +0 -29
  187. package/dist/typechain/CheckSafeSignature.d.ts.map +0 -1
  188. package/dist/typechain/CheckSafeSignature.js +0 -3
  189. package/dist/typechain/CheckSafeSignature.js.map +0 -1
  190. package/dist/typechain/CollateralLens.d.ts +0 -220
  191. package/dist/typechain/CollateralLens.d.ts.map +0 -1
  192. package/dist/typechain/CollateralLens.js +0 -3
  193. package/dist/typechain/CollateralLens.js.map +0 -1
  194. package/dist/typechain/DescribeSignature.d.ts +0 -102
  195. package/dist/typechain/DescribeSignature.d.ts.map +0 -1
  196. package/dist/typechain/DescribeSignature.js +0 -3
  197. package/dist/typechain/DescribeSignature.js.map +0 -1
  198. package/dist/typechain/HooksFactory.d.ts +0 -593
  199. package/dist/typechain/HooksFactory.d.ts.map +0 -1
  200. package/dist/typechain/HooksFactory.js +0 -3
  201. package/dist/typechain/HooksFactory.js.map +0 -1
  202. package/dist/typechain/HooksFactoryRevolving.d.ts +0 -603
  203. package/dist/typechain/HooksFactoryRevolving.d.ts.map +0 -1
  204. package/dist/typechain/HooksFactoryRevolving.js +0 -3
  205. package/dist/typechain/HooksFactoryRevolving.js.map +0 -1
  206. package/dist/typechain/IERC20.d.ts +0 -232
  207. package/dist/typechain/IERC20.d.ts.map +0 -1
  208. package/dist/typechain/IERC20.js +0 -3
  209. package/dist/typechain/IERC20.js.map +0 -1
  210. package/dist/typechain/IFixedTermHooks.d.ts +0 -1032
  211. package/dist/typechain/IFixedTermHooks.d.ts.map +0 -1
  212. package/dist/typechain/IFixedTermHooks.js +0 -3
  213. package/dist/typechain/IFixedTermHooks.js.map +0 -1
  214. package/dist/typechain/IOpenTermHooks.d.ts +0 -987
  215. package/dist/typechain/IOpenTermHooks.d.ts.map +0 -1
  216. package/dist/typechain/IOpenTermHooks.js +0 -3
  217. package/dist/typechain/IOpenTermHooks.js.map +0 -1
  218. package/dist/typechain/ISafe.d.ts +0 -124
  219. package/dist/typechain/ISafe.d.ts.map +0 -1
  220. package/dist/typechain/ISafe.js.map +0 -1
  221. package/dist/typechain/MarketLens.d.ts +0 -611
  222. package/dist/typechain/MarketLens.d.ts.map +0 -1
  223. package/dist/typechain/MarketLens.js +0 -3
  224. package/dist/typechain/MarketLens.js.map +0 -1
  225. package/dist/typechain/MarketLensV2.d.ts +0 -704
  226. package/dist/typechain/MarketLensV2.d.ts.map +0 -1
  227. package/dist/typechain/MarketLensV2.js +0 -3
  228. package/dist/typechain/MarketLensV2.js.map +0 -1
  229. package/dist/typechain/MarketLensV2_5.d.ts +0 -996
  230. package/dist/typechain/MarketLensV2_5.d.ts.map +0 -1
  231. package/dist/typechain/MarketLensV2_5.js +0 -3
  232. package/dist/typechain/MarketLensV2_5.js.map +0 -1
  233. package/dist/typechain/MockArchControllerOwner.d.ts +0 -130
  234. package/dist/typechain/MockArchControllerOwner.d.ts.map +0 -1
  235. package/dist/typechain/MockArchControllerOwner.js +0 -3
  236. package/dist/typechain/MockArchControllerOwner.js.map +0 -1
  237. package/dist/typechain/MockERC20Factory.d.ts +0 -122
  238. package/dist/typechain/MockERC20Factory.d.ts.map +0 -1
  239. package/dist/typechain/MockERC20Factory.js +0 -3
  240. package/dist/typechain/MockERC20Factory.js.map +0 -1
  241. package/dist/typechain/SimpleMarketCollateral.d.ts +0 -270
  242. package/dist/typechain/SimpleMarketCollateral.d.ts.map +0 -1
  243. package/dist/typechain/SimpleMarketCollateral.js +0 -3
  244. package/dist/typechain/SimpleMarketCollateral.js.map +0 -1
  245. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatMarketToken.d.ts +0 -176
  246. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatMarketToken.d.ts.map +0 -1
  247. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatMarketToken.js +0 -3
  248. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatMarketToken.js.map +0 -1
  249. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel.d.ts +0 -44
  250. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel.d.ts.map +0 -1
  251. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel.js +0 -3
  252. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel.js.map +0 -1
  253. package/dist/typechain/Wildcat4626Wrapper.sol/Wildcat4626Wrapper.d.ts +0 -501
  254. package/dist/typechain/Wildcat4626Wrapper.sol/Wildcat4626Wrapper.d.ts.map +0 -1
  255. package/dist/typechain/Wildcat4626Wrapper.sol/Wildcat4626Wrapper.js +0 -3
  256. package/dist/typechain/Wildcat4626Wrapper.sol/Wildcat4626Wrapper.js.map +0 -1
  257. package/dist/typechain/Wildcat4626Wrapper.sol/index.d.ts +0 -4
  258. package/dist/typechain/Wildcat4626Wrapper.sol/index.d.ts.map +0 -1
  259. package/dist/typechain/Wildcat4626Wrapper.sol/index.js +0 -3
  260. package/dist/typechain/Wildcat4626Wrapper.sol/index.js.map +0 -1
  261. package/dist/typechain/Wildcat4626WrapperFactory.d.ts +0 -83
  262. package/dist/typechain/Wildcat4626WrapperFactory.d.ts.map +0 -1
  263. package/dist/typechain/Wildcat4626WrapperFactory.js +0 -3
  264. package/dist/typechain/Wildcat4626WrapperFactory.js.map +0 -1
  265. package/dist/typechain/WildcatArchController.d.ts +0 -545
  266. package/dist/typechain/WildcatArchController.d.ts.map +0 -1
  267. package/dist/typechain/WildcatArchController.js +0 -3
  268. package/dist/typechain/WildcatArchController.js.map +0 -1
  269. package/dist/typechain/WildcatCollateralFactory.d.ts +0 -164
  270. package/dist/typechain/WildcatCollateralFactory.d.ts.map +0 -1
  271. package/dist/typechain/WildcatCollateralFactory.js +0 -3
  272. package/dist/typechain/WildcatCollateralFactory.js.map +0 -1
  273. package/dist/typechain/WildcatMarket.d.ts +0 -1062
  274. package/dist/typechain/WildcatMarket.d.ts.map +0 -1
  275. package/dist/typechain/WildcatMarket.js +0 -3
  276. package/dist/typechain/WildcatMarket.js.map +0 -1
  277. package/dist/typechain/WildcatMarketController.d.ts +0 -553
  278. package/dist/typechain/WildcatMarketController.d.ts.map +0 -1
  279. package/dist/typechain/WildcatMarketController.js +0 -3
  280. package/dist/typechain/WildcatMarketController.js.map +0 -1
  281. package/dist/typechain/WildcatMarketControllerFactory.d.ts +0 -344
  282. package/dist/typechain/WildcatMarketControllerFactory.d.ts.map +0 -1
  283. package/dist/typechain/WildcatMarketControllerFactory.js +0 -3
  284. package/dist/typechain/WildcatMarketControllerFactory.js.map +0 -1
  285. package/dist/typechain/WildcatMarketV2.d.ts +0 -1086
  286. package/dist/typechain/WildcatMarketV2.d.ts.map +0 -1
  287. package/dist/typechain/WildcatMarketV2.js +0 -3
  288. package/dist/typechain/WildcatMarketV2.js.map +0 -1
  289. package/dist/typechain/common.d.ts +0 -23
  290. package/dist/typechain/common.d.ts.map +0 -1
  291. package/dist/typechain/common.js +0 -3
  292. package/dist/typechain/common.js.map +0 -1
  293. package/dist/typechain/factories/AccountQuery__factory.d.ts +0 -63
  294. package/dist/typechain/factories/AccountQuery__factory.d.ts.map +0 -1
  295. package/dist/typechain/factories/AccountQuery__factory.js +0 -96
  296. package/dist/typechain/factories/AccountQuery__factory.js.map +0 -1
  297. package/dist/typechain/factories/AccountsQuery__factory.d.ts +0 -63
  298. package/dist/typechain/factories/AccountsQuery__factory.d.ts.map +0 -1
  299. package/dist/typechain/factories/AccountsQuery__factory.js +0 -96
  300. package/dist/typechain/factories/AccountsQuery__factory.js.map +0 -1
  301. package/dist/typechain/factories/CheckBorrowersRegistered__factory.d.ts +0 -36
  302. package/dist/typechain/factories/CheckBorrowersRegistered__factory.d.ts.map +0 -1
  303. package/dist/typechain/factories/CheckBorrowersRegistered__factory.js +0 -60
  304. package/dist/typechain/factories/CheckBorrowersRegistered__factory.js.map +0 -1
  305. package/dist/typechain/factories/CheckSafeSignature__factory.d.ts +0 -40
  306. package/dist/typechain/factories/CheckSafeSignature__factory.d.ts.map +0 -1
  307. package/dist/typechain/factories/CheckSafeSignature__factory.js +0 -65
  308. package/dist/typechain/factories/CheckSafeSignature__factory.js.map +0 -1
  309. package/dist/typechain/factories/CollateralLens__factory.d.ts +0 -854
  310. package/dist/typechain/factories/CollateralLens__factory.d.ts.map +0 -1
  311. package/dist/typechain/factories/CollateralLens__factory.js +0 -1101
  312. package/dist/typechain/factories/CollateralLens__factory.js.map +0 -1
  313. package/dist/typechain/factories/DescribeSignature__factory.d.ts +0 -145
  314. package/dist/typechain/factories/DescribeSignature__factory.d.ts.map +0 -1
  315. package/dist/typechain/factories/DescribeSignature__factory.js +0 -203
  316. package/dist/typechain/factories/DescribeSignature__factory.js.map +0 -1
  317. package/dist/typechain/factories/HooksFactoryRevolving__factory.d.ts +0 -872
  318. package/dist/typechain/factories/HooksFactoryRevolving__factory.d.ts.map +0 -1
  319. package/dist/typechain/factories/HooksFactoryRevolving__factory.js +0 -1131
  320. package/dist/typechain/factories/HooksFactoryRevolving__factory.js.map +0 -1
  321. package/dist/typechain/factories/HooksFactory__factory.d.ts +0 -902
  322. package/dist/typechain/factories/HooksFactory__factory.d.ts.map +0 -1
  323. package/dist/typechain/factories/HooksFactory__factory.js +0 -1168
  324. package/dist/typechain/factories/HooksFactory__factory.js.map +0 -1
  325. package/dist/typechain/factories/IERC20__factory.d.ts +0 -235
  326. package/dist/typechain/factories/IERC20__factory.d.ts.map +0 -1
  327. package/dist/typechain/factories/IERC20__factory.js +0 -315
  328. package/dist/typechain/factories/IERC20__factory.js.map +0 -1
  329. package/dist/typechain/factories/IFixedTermHooks__factory.d.ts +0 -1894
  330. package/dist/typechain/factories/IFixedTermHooks__factory.d.ts.map +0 -1
  331. package/dist/typechain/factories/IFixedTermHooks__factory.js +0 -2423
  332. package/dist/typechain/factories/IFixedTermHooks__factory.js.map +0 -1
  333. package/dist/typechain/factories/IOpenTermHooks__factory.d.ts +0 -1791
  334. package/dist/typechain/factories/IOpenTermHooks__factory.d.ts.map +0 -1
  335. package/dist/typechain/factories/IOpenTermHooks__factory.js +0 -2293
  336. package/dist/typechain/factories/IOpenTermHooks__factory.js.map +0 -1
  337. package/dist/typechain/factories/ISafe__factory.d.ts +0 -163
  338. package/dist/typechain/factories/ISafe__factory.d.ts.map +0 -1
  339. package/dist/typechain/factories/ISafe__factory.js +0 -225
  340. package/dist/typechain/factories/ISafe__factory.js.map +0 -1
  341. package/dist/typechain/factories/MarketLensV2_5__factory.d.ts +0 -14397
  342. package/dist/typechain/factories/MarketLensV2_5__factory.d.ts.map +0 -1
  343. package/dist/typechain/factories/MarketLensV2_5__factory.js +0 -18393
  344. package/dist/typechain/factories/MarketLensV2_5__factory.js.map +0 -1
  345. package/dist/typechain/factories/MarketLensV2__factory.d.ts +0 -6612
  346. package/dist/typechain/factories/MarketLensV2__factory.d.ts.map +0 -1
  347. package/dist/typechain/factories/MarketLensV2__factory.js +0 -8454
  348. package/dist/typechain/factories/MarketLensV2__factory.js.map +0 -1
  349. package/dist/typechain/factories/MarketLens__factory.d.ts +0 -3572
  350. package/dist/typechain/factories/MarketLens__factory.d.ts.map +0 -1
  351. package/dist/typechain/factories/MarketLens__factory.js +0 -4569
  352. package/dist/typechain/factories/MarketLens__factory.js.map +0 -1
  353. package/dist/typechain/factories/MockArchControllerOwner__factory.d.ts +0 -85
  354. package/dist/typechain/factories/MockArchControllerOwner__factory.d.ts.map +0 -1
  355. package/dist/typechain/factories/MockArchControllerOwner__factory.js +0 -118
  356. package/dist/typechain/factories/MockArchControllerOwner__factory.js.map +0 -1
  357. package/dist/typechain/factories/MockERC20Factory__factory.d.ts +0 -114
  358. package/dist/typechain/factories/MockERC20Factory__factory.d.ts.map +0 -1
  359. package/dist/typechain/factories/MockERC20Factory__factory.js +0 -157
  360. package/dist/typechain/factories/MockERC20Factory__factory.js.map +0 -1
  361. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts +0 -264
  362. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts.map +0 -1
  363. package/dist/typechain/factories/SimpleMarketCollateral__factory.js +0 -354
  364. package/dist/typechain/factories/SimpleMarketCollateral__factory.js.map +0 -1
  365. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatMarketToken__factory.d.ts +0 -193
  366. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatMarketToken__factory.d.ts.map +0 -1
  367. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatMarketToken__factory.js +0 -263
  368. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatMarketToken__factory.js.map +0 -1
  369. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel__factory.d.ts +0 -27
  370. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel__factory.d.ts.map +0 -1
  371. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel__factory.js +0 -44
  372. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel__factory.js.map +0 -1
  373. package/dist/typechain/factories/Wildcat4626Wrapper.sol/Wildcat4626Wrapper__factory.d.ts +0 -718
  374. package/dist/typechain/factories/Wildcat4626Wrapper.sol/Wildcat4626Wrapper__factory.d.ts.map +0 -1
  375. package/dist/typechain/factories/Wildcat4626Wrapper.sol/Wildcat4626Wrapper__factory.js +0 -946
  376. package/dist/typechain/factories/Wildcat4626Wrapper.sol/Wildcat4626Wrapper__factory.js.map +0 -1
  377. package/dist/typechain/factories/Wildcat4626Wrapper.sol/index.d.ts +0 -4
  378. package/dist/typechain/factories/Wildcat4626Wrapper.sol/index.d.ts.map +0 -1
  379. package/dist/typechain/factories/Wildcat4626Wrapper.sol/index.js +0 -13
  380. package/dist/typechain/factories/Wildcat4626Wrapper.sol/index.js.map +0 -1
  381. package/dist/typechain/factories/Wildcat4626WrapperFactory__factory.d.ts +0 -82
  382. package/dist/typechain/factories/Wildcat4626WrapperFactory__factory.d.ts.map +0 -1
  383. package/dist/typechain/factories/Wildcat4626WrapperFactory__factory.js +0 -117
  384. package/dist/typechain/factories/Wildcat4626WrapperFactory__factory.js.map +0 -1
  385. package/dist/typechain/factories/WildcatArchController__factory.d.ts +0 -554
  386. package/dist/typechain/factories/WildcatArchController__factory.d.ts.map +0 -1
  387. package/dist/typechain/factories/WildcatArchController__factory.js +0 -728
  388. package/dist/typechain/factories/WildcatArchController__factory.js.map +0 -1
  389. package/dist/typechain/factories/WildcatCollateralFactory__factory.d.ts +0 -160
  390. package/dist/typechain/factories/WildcatCollateralFactory__factory.d.ts.map +0 -1
  391. package/dist/typechain/factories/WildcatCollateralFactory__factory.js +0 -223
  392. package/dist/typechain/factories/WildcatCollateralFactory__factory.js.map +0 -1
  393. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.d.ts +0 -421
  394. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.d.ts.map +0 -1
  395. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.js +0 -549
  396. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.js.map +0 -1
  397. package/dist/typechain/factories/WildcatMarketController__factory.d.ts +0 -671
  398. package/dist/typechain/factories/WildcatMarketController__factory.d.ts.map +0 -1
  399. package/dist/typechain/factories/WildcatMarketController__factory.js +0 -870
  400. package/dist/typechain/factories/WildcatMarketController__factory.js.map +0 -1
  401. package/dist/typechain/factories/WildcatMarketV2__factory.d.ts +0 -1304
  402. package/dist/typechain/factories/WildcatMarketV2__factory.d.ts.map +0 -1
  403. package/dist/typechain/factories/WildcatMarketV2__factory.js +0 -1680
  404. package/dist/typechain/factories/WildcatMarketV2__factory.js.map +0 -1
  405. package/dist/typechain/factories/WildcatMarket__factory.d.ts +0 -1326
  406. package/dist/typechain/factories/WildcatMarket__factory.d.ts.map +0 -1
  407. package/dist/typechain/factories/WildcatMarket__factory.js +0 -1712
  408. package/dist/typechain/factories/WildcatMarket__factory.js.map +0 -1
  409. package/dist/typechain/factories/index.d.ts +0 -27
  410. package/dist/typechain/factories/index.d.ts.map +0 -1
  411. package/dist/typechain/factories/index.js +0 -81
  412. package/dist/typechain/factories/index.js.map +0 -1
  413. package/dist/typechain/index.d.ts +0 -73
  414. package/dist/typechain/index.d.ts.map +0 -1
  415. package/dist/typechain/index.js +0 -84
  416. package/dist/typechain/index.js.map +0 -1
@@ -1,2423 +0,0 @@
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