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