@wildcatfi/wildcat-sdk 3.0.76-beta → 3.1.1-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/README.md +2 -2
  2. package/dist/access/access-control.d.ts +23 -36
  3. package/dist/access/access-control.d.ts.map +1 -1
  4. package/dist/access/access-control.js +104 -142
  5. package/dist/access/access-control.js.map +1 -1
  6. package/dist/access/fixed-term.d.ts +23 -36
  7. package/dist/access/fixed-term.d.ts.map +1 -1
  8. package/dist/access/fixed-term.js +115 -154
  9. package/dist/access/fixed-term.js.map +1 -1
  10. package/dist/access/index.d.ts +9 -15
  11. package/dist/access/index.d.ts.map +1 -1
  12. package/dist/access/index.js +21 -59
  13. package/dist/access/index.js.map +1 -1
  14. package/dist/access/periodic-term.d.ts +84 -0
  15. package/dist/access/periodic-term.d.ts.map +1 -0
  16. package/dist/access/periodic-term.js +298 -0
  17. package/dist/access/periodic-term.js.map +1 -0
  18. package/dist/access/utils.d.ts +1 -11
  19. package/dist/access/utils.d.ts.map +1 -1
  20. package/dist/access/utils.js +11 -87
  21. package/dist/access/utils.js.map +1 -1
  22. package/dist/access/validation.d.ts +8 -32
  23. package/dist/access/validation.d.ts.map +1 -1
  24. package/dist/access/validation.js +1 -18
  25. package/dist/access/validation.js.map +1 -1
  26. package/dist/account/index.d.ts +39 -35
  27. package/dist/account/index.d.ts.map +1 -1
  28. package/dist/account/index.js +301 -315
  29. package/dist/account/index.js.map +1 -1
  30. package/dist/account/validation.d.ts +19 -3
  31. package/dist/account/validation.d.ts.map +1 -1
  32. package/dist/account/validation.js +16 -2
  33. package/dist/account/validation.js.map +1 -1
  34. package/dist/collateral/collateral-events.d.ts +10 -9
  35. package/dist/collateral/collateral-events.d.ts.map +1 -1
  36. package/dist/collateral/collateral-events.js +4 -4
  37. package/dist/collateral/collateral-events.js.map +1 -1
  38. package/dist/collateral/index.d.ts +10 -7
  39. package/dist/collateral/index.d.ts.map +1 -1
  40. package/dist/collateral/index.js +37 -36
  41. package/dist/collateral/index.js.map +1 -1
  42. package/dist/constants.d.ts +13 -100
  43. package/dist/constants.d.ts.map +1 -1
  44. package/dist/constants.js +27 -290
  45. package/dist/constants.js.map +1 -1
  46. package/dist/controller.d.ts +17 -10
  47. package/dist/controller.d.ts.map +1 -1
  48. package/dist/controller.js +67 -67
  49. package/dist/controller.js.map +1 -1
  50. package/dist/gql/getActiveLendersByMarket.d.ts +4 -5
  51. package/dist/gql/getActiveLendersByMarket.d.ts.map +1 -1
  52. package/dist/gql/getActiveLendersByMarket.js +10 -11
  53. package/dist/gql/getActiveLendersByMarket.js.map +1 -1
  54. package/dist/gql/getAllHooksDataForBorrower.d.ts.map +1 -1
  55. package/dist/gql/getAllHooksDataForBorrower.js +8 -11
  56. package/dist/gql/getAllHooksDataForBorrower.js.map +1 -1
  57. package/dist/gql/getAllHooksTemplates.d.ts.map +1 -1
  58. package/dist/gql/getAllHooksTemplates.js +4 -6
  59. package/dist/gql/getAllHooksTemplates.js.map +1 -1
  60. package/dist/gql/getLenderAccountsForAllMarkets.d.ts +1 -8
  61. package/dist/gql/getLenderAccountsForAllMarkets.d.ts.map +1 -1
  62. package/dist/gql/getLenderAccountsForAllMarkets.js +11 -26
  63. package/dist/gql/getLenderAccountsForAllMarkets.js.map +1 -1
  64. package/dist/gql/getMarketRecords.d.ts +2 -2
  65. package/dist/gql/getMarketRecords.d.ts.map +1 -1
  66. package/dist/gql/getMarketRecords.js +6 -2
  67. package/dist/gql/getMarketRecords.js.map +1 -1
  68. package/dist/gql/getMarketsForBorrower.d.ts.map +1 -1
  69. package/dist/gql/getMarketsForBorrower.js +2 -32
  70. package/dist/gql/getMarketsForBorrower.js.map +1 -1
  71. package/dist/gql/getMarketsWithEvents.d.ts.map +1 -1
  72. package/dist/gql/getMarketsWithEvents.js +0 -28
  73. package/dist/gql/getMarketsWithEvents.js.map +1 -1
  74. package/dist/gql/graphql.d.ts +678 -1480
  75. package/dist/gql/graphql.d.ts.map +1 -1
  76. package/dist/gql/graphql.js +243 -591
  77. package/dist/gql/graphql.js.map +1 -1
  78. package/dist/gql/index.d.ts +0 -2
  79. package/dist/gql/index.d.ts.map +1 -1
  80. package/dist/gql/index.js +0 -2
  81. package/dist/gql/index.js.map +1 -1
  82. package/dist/index.d.ts +4 -6
  83. package/dist/index.d.ts.map +1 -1
  84. package/dist/index.js +17 -8
  85. package/dist/index.js.map +1 -1
  86. package/dist/market.d.ts +22 -73
  87. package/dist/market.d.ts.map +1 -1
  88. package/dist/market.js +284 -582
  89. package/dist/market.js.map +1 -1
  90. package/dist/mockerc20factory.d.ts +11 -4
  91. package/dist/mockerc20factory.d.ts.map +1 -1
  92. package/dist/mockerc20factory.js +15 -20
  93. package/dist/mockerc20factory.js.map +1 -1
  94. package/dist/token.d.ts +12 -54
  95. package/dist/token.d.ts.map +1 -1
  96. package/dist/token.js +57 -148
  97. package/dist/token.js.map +1 -1
  98. package/dist/typechain/AccountQuery.d.ts +54 -0
  99. package/dist/typechain/AccountQuery.d.ts.map +1 -0
  100. package/dist/typechain/AccountQuery.js +3 -0
  101. package/dist/typechain/AccountQuery.js.map +1 -0
  102. package/dist/typechain/AccountsQuery.d.ts +54 -0
  103. package/dist/typechain/AccountsQuery.d.ts.map +1 -0
  104. package/dist/typechain/AccountsQuery.js +3 -0
  105. package/dist/typechain/AccountsQuery.js.map +1 -0
  106. package/dist/typechain/CheckBorrowersRegistered.d.ts +29 -0
  107. package/dist/typechain/CheckBorrowersRegistered.d.ts.map +1 -0
  108. package/dist/typechain/CheckBorrowersRegistered.js +3 -0
  109. package/dist/typechain/CheckBorrowersRegistered.js.map +1 -0
  110. package/dist/typechain/CheckSafeSignature.d.ts +29 -0
  111. package/dist/typechain/CheckSafeSignature.d.ts.map +1 -0
  112. package/dist/typechain/CheckSafeSignature.js +3 -0
  113. package/dist/typechain/CheckSafeSignature.js.map +1 -0
  114. package/dist/typechain/CollateralLens.d.ts +220 -0
  115. package/dist/typechain/CollateralLens.d.ts.map +1 -0
  116. package/dist/typechain/CollateralLens.js +3 -0
  117. package/dist/typechain/CollateralLens.js.map +1 -0
  118. package/dist/typechain/DescribeSignature.d.ts +100 -0
  119. package/dist/typechain/DescribeSignature.d.ts.map +1 -0
  120. package/dist/typechain/DescribeSignature.js +3 -0
  121. package/dist/typechain/DescribeSignature.js.map +1 -0
  122. package/dist/typechain/HooksFactory.d.ts +591 -16
  123. package/dist/typechain/HooksFactory.d.ts.map +1 -1
  124. package/dist/typechain/IERC20.d.ts +232 -0
  125. package/dist/typechain/IERC20.d.ts.map +1 -0
  126. package/dist/{lens-types.js → typechain/IERC20.js} +1 -1
  127. package/dist/typechain/IERC20.js.map +1 -0
  128. package/dist/typechain/IFixedTermHooks.d.ts +1032 -0
  129. package/dist/typechain/IFixedTermHooks.d.ts.map +1 -0
  130. package/dist/typechain/IFixedTermHooks.js +3 -0
  131. package/dist/typechain/IFixedTermHooks.js.map +1 -0
  132. package/dist/typechain/IOpenTermHooks.d.ts +987 -0
  133. package/dist/typechain/IOpenTermHooks.d.ts.map +1 -0
  134. package/dist/typechain/IOpenTermHooks.js +3 -0
  135. package/dist/typechain/IOpenTermHooks.js.map +1 -0
  136. package/dist/typechain/IPeriodicTermHooks.d.ts +663 -0
  137. package/dist/typechain/IPeriodicTermHooks.d.ts.map +1 -0
  138. package/dist/typechain/IPeriodicTermHooks.js +3 -0
  139. package/dist/typechain/IPeriodicTermHooks.js.map +1 -0
  140. package/dist/typechain/ISafe.d.ts +124 -0
  141. package/dist/typechain/ISafe.d.ts.map +1 -0
  142. package/dist/typechain/ISafe.js +3 -0
  143. package/dist/typechain/ISafe.js.map +1 -0
  144. package/dist/typechain/MarketLens.d.ts +611 -0
  145. package/dist/typechain/MarketLens.d.ts.map +1 -0
  146. package/dist/typechain/MarketLens.js +3 -0
  147. package/dist/typechain/MarketLens.js.map +1 -0
  148. package/dist/typechain/MarketLensV2.d.ts +710 -0
  149. package/dist/typechain/MarketLensV2.d.ts.map +1 -0
  150. package/dist/typechain/MarketLensV2.js +3 -0
  151. package/dist/typechain/MarketLensV2.js.map +1 -0
  152. package/dist/typechain/MockArchControllerOwner.d.ts +130 -0
  153. package/dist/typechain/MockArchControllerOwner.d.ts.map +1 -0
  154. package/dist/typechain/MockArchControllerOwner.js +3 -0
  155. package/dist/typechain/MockArchControllerOwner.js.map +1 -0
  156. package/dist/typechain/MockERC20Factory.d.ts +122 -0
  157. package/dist/typechain/MockERC20Factory.d.ts.map +1 -0
  158. package/dist/typechain/MockERC20Factory.js +3 -0
  159. package/dist/typechain/MockERC20Factory.js.map +1 -0
  160. package/dist/typechain/SimpleMarketCollateral.d.ts +270 -0
  161. package/dist/typechain/SimpleMarketCollateral.d.ts.map +1 -0
  162. package/dist/typechain/SimpleMarketCollateral.js +3 -0
  163. package/dist/typechain/SimpleMarketCollateral.js.map +1 -0
  164. package/dist/typechain/WildcatArchController.d.ts +545 -0
  165. package/dist/typechain/WildcatArchController.d.ts.map +1 -0
  166. package/dist/typechain/WildcatArchController.js +3 -0
  167. package/dist/typechain/WildcatArchController.js.map +1 -0
  168. package/dist/typechain/WildcatCollateralFactory.d.ts +164 -0
  169. package/dist/typechain/WildcatCollateralFactory.d.ts.map +1 -0
  170. package/dist/typechain/WildcatCollateralFactory.js +3 -0
  171. package/dist/typechain/WildcatCollateralFactory.js.map +1 -0
  172. package/dist/typechain/WildcatMarket.d.ts +1062 -0
  173. package/dist/typechain/WildcatMarket.d.ts.map +1 -0
  174. package/dist/typechain/WildcatMarket.js +3 -0
  175. package/dist/typechain/WildcatMarket.js.map +1 -0
  176. package/dist/typechain/WildcatMarketController.d.ts +553 -0
  177. package/dist/typechain/WildcatMarketController.d.ts.map +1 -0
  178. package/dist/typechain/WildcatMarketController.js +3 -0
  179. package/dist/typechain/WildcatMarketController.js.map +1 -0
  180. package/dist/typechain/WildcatMarketControllerFactory.d.ts +344 -0
  181. package/dist/typechain/WildcatMarketControllerFactory.d.ts.map +1 -0
  182. package/dist/typechain/WildcatMarketControllerFactory.js +3 -0
  183. package/dist/typechain/WildcatMarketControllerFactory.js.map +1 -0
  184. package/dist/typechain/WildcatMarketV2.d.ts +1086 -0
  185. package/dist/typechain/WildcatMarketV2.d.ts.map +1 -0
  186. package/dist/typechain/WildcatMarketV2.js +3 -0
  187. package/dist/typechain/WildcatMarketV2.js.map +1 -0
  188. package/dist/typechain/common.d.ts +23 -0
  189. package/dist/typechain/common.d.ts.map +1 -0
  190. package/dist/typechain/common.js +3 -0
  191. package/dist/typechain/common.js.map +1 -0
  192. package/dist/typechain/factories/AccountQuery__factory.d.ts +59 -0
  193. package/dist/typechain/factories/AccountQuery__factory.d.ts.map +1 -0
  194. package/dist/typechain/factories/AccountQuery__factory.js +91 -0
  195. package/dist/typechain/factories/AccountQuery__factory.js.map +1 -0
  196. package/dist/typechain/factories/AccountsQuery__factory.d.ts +59 -0
  197. package/dist/typechain/factories/AccountsQuery__factory.d.ts.map +1 -0
  198. package/dist/typechain/factories/AccountsQuery__factory.js +91 -0
  199. package/dist/typechain/factories/AccountsQuery__factory.js.map +1 -0
  200. package/dist/typechain/factories/CheckBorrowersRegistered__factory.d.ts +36 -0
  201. package/dist/typechain/factories/CheckBorrowersRegistered__factory.d.ts.map +1 -0
  202. package/dist/typechain/factories/CheckBorrowersRegistered__factory.js +60 -0
  203. package/dist/typechain/factories/CheckBorrowersRegistered__factory.js.map +1 -0
  204. package/dist/typechain/factories/CheckSafeSignature__factory.d.ts +40 -0
  205. package/dist/typechain/factories/CheckSafeSignature__factory.d.ts.map +1 -0
  206. package/dist/typechain/factories/CheckSafeSignature__factory.js +65 -0
  207. package/dist/typechain/factories/CheckSafeSignature__factory.js.map +1 -0
  208. package/dist/typechain/factories/CollateralLens__factory.d.ts +854 -0
  209. package/dist/typechain/factories/CollateralLens__factory.d.ts.map +1 -0
  210. package/dist/typechain/factories/CollateralLens__factory.js +1101 -0
  211. package/dist/typechain/factories/CollateralLens__factory.js.map +1 -0
  212. package/dist/typechain/factories/DescribeSignature__factory.d.ts +141 -0
  213. package/dist/typechain/factories/DescribeSignature__factory.d.ts.map +1 -0
  214. package/dist/typechain/factories/DescribeSignature__factory.js +198 -0
  215. package/dist/typechain/factories/DescribeSignature__factory.js.map +1 -0
  216. package/dist/typechain/factories/HooksFactory__factory.d.ts +902 -0
  217. package/dist/typechain/factories/HooksFactory__factory.d.ts.map +1 -0
  218. package/dist/typechain/factories/HooksFactory__factory.js +1168 -0
  219. package/dist/typechain/factories/HooksFactory__factory.js.map +1 -0
  220. package/dist/typechain/factories/IERC20__factory.d.ts +235 -0
  221. package/dist/typechain/factories/IERC20__factory.d.ts.map +1 -0
  222. package/dist/typechain/factories/IERC20__factory.js +315 -0
  223. package/dist/typechain/factories/IERC20__factory.js.map +1 -0
  224. package/dist/typechain/factories/IFixedTermHooks__factory.d.ts +1894 -0
  225. package/dist/typechain/factories/IFixedTermHooks__factory.d.ts.map +1 -0
  226. package/dist/typechain/factories/IFixedTermHooks__factory.js +2423 -0
  227. package/dist/typechain/factories/IFixedTermHooks__factory.js.map +1 -0
  228. package/dist/typechain/factories/IOpenTermHooks__factory.d.ts +1791 -0
  229. package/dist/typechain/factories/IOpenTermHooks__factory.d.ts.map +1 -0
  230. package/dist/typechain/factories/IOpenTermHooks__factory.js +2293 -0
  231. package/dist/typechain/factories/IOpenTermHooks__factory.js.map +1 -0
  232. package/dist/typechain/factories/IPeriodicTermHooks__factory.d.ts +750 -0
  233. package/dist/typechain/factories/IPeriodicTermHooks__factory.d.ts.map +1 -0
  234. package/dist/typechain/factories/IPeriodicTermHooks__factory.js +975 -0
  235. package/dist/typechain/factories/IPeriodicTermHooks__factory.js.map +1 -0
  236. package/dist/typechain/factories/ISafe__factory.d.ts +163 -0
  237. package/dist/typechain/factories/ISafe__factory.d.ts.map +1 -0
  238. package/dist/typechain/factories/ISafe__factory.js +225 -0
  239. package/dist/typechain/factories/ISafe__factory.js.map +1 -0
  240. package/dist/typechain/factories/MarketLensV2__factory.d.ts +6708 -0
  241. package/dist/typechain/factories/MarketLensV2__factory.d.ts.map +1 -0
  242. package/dist/typechain/factories/MarketLensV2__factory.js +8574 -0
  243. package/dist/typechain/factories/MarketLensV2__factory.js.map +1 -0
  244. package/dist/typechain/factories/MarketLens__factory.d.ts +3572 -0
  245. package/dist/typechain/factories/MarketLens__factory.d.ts.map +1 -0
  246. package/dist/typechain/factories/MarketLens__factory.js +4569 -0
  247. package/dist/typechain/factories/MarketLens__factory.js.map +1 -0
  248. package/dist/typechain/factories/MockArchControllerOwner__factory.d.ts +85 -0
  249. package/dist/typechain/factories/MockArchControllerOwner__factory.d.ts.map +1 -0
  250. package/dist/typechain/factories/MockArchControllerOwner__factory.js +118 -0
  251. package/dist/typechain/factories/MockArchControllerOwner__factory.js.map +1 -0
  252. package/dist/typechain/factories/MockERC20Factory__factory.d.ts +114 -0
  253. package/dist/typechain/factories/MockERC20Factory__factory.d.ts.map +1 -0
  254. package/dist/typechain/factories/MockERC20Factory__factory.js +157 -0
  255. package/dist/typechain/factories/MockERC20Factory__factory.js.map +1 -0
  256. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts +264 -0
  257. package/dist/typechain/factories/SimpleMarketCollateral__factory.d.ts.map +1 -0
  258. package/dist/typechain/factories/SimpleMarketCollateral__factory.js +354 -0
  259. package/dist/typechain/factories/SimpleMarketCollateral__factory.js.map +1 -0
  260. package/dist/typechain/factories/WildcatArchController__factory.d.ts +554 -0
  261. package/dist/typechain/factories/WildcatArchController__factory.d.ts.map +1 -0
  262. package/dist/typechain/factories/WildcatArchController__factory.js +728 -0
  263. package/dist/typechain/factories/WildcatArchController__factory.js.map +1 -0
  264. package/dist/typechain/factories/WildcatCollateralFactory__factory.d.ts +160 -0
  265. package/dist/typechain/factories/WildcatCollateralFactory__factory.d.ts.map +1 -0
  266. package/dist/typechain/factories/WildcatCollateralFactory__factory.js +223 -0
  267. package/dist/typechain/factories/WildcatCollateralFactory__factory.js.map +1 -0
  268. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.d.ts +421 -0
  269. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.d.ts.map +1 -0
  270. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.js +549 -0
  271. package/dist/typechain/factories/WildcatMarketControllerFactory__factory.js.map +1 -0
  272. package/dist/typechain/factories/WildcatMarketController__factory.d.ts +671 -0
  273. package/dist/typechain/factories/WildcatMarketController__factory.d.ts.map +1 -0
  274. package/dist/typechain/factories/WildcatMarketController__factory.js +870 -0
  275. package/dist/typechain/factories/WildcatMarketController__factory.js.map +1 -0
  276. package/dist/typechain/factories/WildcatMarketV2__factory.d.ts +1304 -0
  277. package/dist/typechain/factories/WildcatMarketV2__factory.d.ts.map +1 -0
  278. package/dist/typechain/factories/WildcatMarketV2__factory.js +1680 -0
  279. package/dist/typechain/factories/WildcatMarketV2__factory.js.map +1 -0
  280. package/dist/typechain/factories/WildcatMarket__factory.d.ts +1326 -0
  281. package/dist/typechain/factories/WildcatMarket__factory.d.ts.map +1 -0
  282. package/dist/typechain/factories/WildcatMarket__factory.js +1712 -0
  283. package/dist/typechain/factories/WildcatMarket__factory.js.map +1 -0
  284. package/dist/typechain/factories/index.d.ts +24 -0
  285. package/dist/typechain/factories/index.d.ts.map +1 -0
  286. package/dist/typechain/factories/index.js +53 -0
  287. package/dist/typechain/factories/index.js.map +1 -0
  288. package/dist/typechain/index.d.ts +60 -84
  289. package/dist/typechain/index.d.ts.map +1 -1
  290. package/dist/typechain/index.js +71 -120
  291. package/dist/typechain/index.js.map +1 -1
  292. package/dist/types.d.ts +34 -75
  293. package/dist/types.d.ts.map +1 -1
  294. package/dist/types.js +16 -21
  295. package/dist/types.js.map +1 -1
  296. package/dist/utils/check-registered-borrowers.d.ts.map +1 -1
  297. package/dist/utils/check-registered-borrowers.js +6 -7
  298. package/dist/utils/check-registered-borrowers.js.map +1 -1
  299. package/dist/utils/describe-account.d.ts +2 -5
  300. package/dist/utils/describe-account.d.ts.map +1 -1
  301. package/dist/utils/describe-account.js +8 -38
  302. package/dist/utils/describe-account.js.map +1 -1
  303. package/dist/utils/describe-signature.d.ts +1 -1
  304. package/dist/utils/describe-signature.d.ts.map +1 -1
  305. package/dist/utils/describe-signature.js +25 -80
  306. package/dist/utils/describe-signature.js.map +1 -1
  307. package/dist/utils/index.d.ts +0 -2
  308. package/dist/utils/index.d.ts.map +1 -1
  309. package/dist/utils/index.js +0 -2
  310. package/dist/utils/index.js.map +1 -1
  311. package/dist/utils/logger.d.ts.map +1 -1
  312. package/dist/utils/logger.js +1 -0
  313. package/dist/utils/logger.js.map +1 -1
  314. package/dist/utils/math.d.ts +13 -1
  315. package/dist/utils/math.d.ts.map +1 -1
  316. package/dist/utils/math.js +50 -14
  317. package/dist/utils/math.js.map +1 -1
  318. package/dist/utils/misc.d.ts +4 -5
  319. package/dist/utils/misc.d.ts.map +1 -1
  320. package/dist/utils/misc.js +6 -6
  321. package/dist/utils/misc.js.map +1 -1
  322. package/dist/utils/record-types.d.ts +10 -7
  323. package/dist/utils/record-types.d.ts.map +1 -1
  324. package/dist/utils/record-types.js +2 -2
  325. package/dist/utils/record-types.js.map +1 -1
  326. package/dist/utils/type-parsers.d.ts +3 -9
  327. package/dist/utils/type-parsers.d.ts.map +1 -1
  328. package/dist/utils/type-parsers.js +13 -12
  329. package/dist/utils/type-parsers.js.map +1 -1
  330. package/dist/withdrawal-batch.d.ts +9 -12
  331. package/dist/withdrawal-batch.d.ts.map +1 -1
  332. package/dist/withdrawal-batch.js +30 -46
  333. package/dist/withdrawal-batch.js.map +1 -1
  334. package/dist/withdrawal-status.d.ts +7 -12
  335. package/dist/withdrawal-status.d.ts.map +1 -1
  336. package/dist/withdrawal-status.js +12 -29
  337. package/dist/withdrawal-status.js.map +1 -1
  338. package/package.json +12 -20
  339. package/dist/abi/generated.d.ts +0 -34504
  340. package/dist/abi/generated.d.ts.map +0 -1
  341. package/dist/abi/generated.js +0 -44192
  342. package/dist/abi/generated.js.map +0 -1
  343. package/dist/abi/index.d.ts +0 -3
  344. package/dist/abi/index.d.ts.map +0 -1
  345. package/dist/abi/index.js +0 -19
  346. package/dist/abi/index.js.map +0 -1
  347. package/dist/abi/manual.d.ts +0 -354
  348. package/dist/abi/manual.d.ts.map +0 -1
  349. package/dist/abi/manual.js +0 -202
  350. package/dist/abi/manual.js.map +0 -1
  351. package/dist/access/revolving.d.ts +0 -8
  352. package/dist/access/revolving.d.ts.map +0 -1
  353. package/dist/access/revolving.js +0 -15
  354. package/dist/access/revolving.js.map +0 -1
  355. package/dist/access/subgraph-template.d.ts +0 -14
  356. package/dist/access/subgraph-template.d.ts.map +0 -1
  357. package/dist/access/subgraph-template.js +0 -20
  358. package/dist/access/subgraph-template.js.map +0 -1
  359. package/dist/client.d.ts +0 -22
  360. package/dist/client.d.ts.map +0 -1
  361. package/dist/client.js +0 -51
  362. package/dist/client.js.map +0 -1
  363. package/dist/gql/getMarketChartsData.d.ts +0 -35
  364. package/dist/gql/getMarketChartsData.d.ts.map +0 -1
  365. package/dist/gql/getMarketChartsData.js +0 -56
  366. package/dist/gql/getMarketChartsData.js.map +0 -1
  367. package/dist/gql/getMarketList.d.ts +0 -16
  368. package/dist/gql/getMarketList.d.ts.map +0 -1
  369. package/dist/gql/getMarketList.js +0 -23
  370. package/dist/gql/getMarketList.js.map +0 -1
  371. package/dist/internal/arch-controller.d.ts +0 -6
  372. package/dist/internal/arch-controller.d.ts.map +0 -1
  373. package/dist/internal/arch-controller.js +0 -36
  374. package/dist/internal/arch-controller.js.map +0 -1
  375. package/dist/internal/ethers-signer.d.ts +0 -4
  376. package/dist/internal/ethers-signer.d.ts.map +0 -1
  377. package/dist/internal/ethers-signer.js +0 -12
  378. package/dist/internal/ethers-signer.js.map +0 -1
  379. package/dist/internal/ethers-viem.d.ts +0 -4
  380. package/dist/internal/ethers-viem.d.ts.map +0 -1
  381. package/dist/internal/ethers-viem.js +0 -43
  382. package/dist/internal/ethers-viem.js.map +0 -1
  383. package/dist/internal/market-lens.d.ts +0 -28
  384. package/dist/internal/market-lens.d.ts.map +0 -1
  385. package/dist/internal/market-lens.js +0 -125
  386. package/dist/internal/market-lens.js.map +0 -1
  387. package/dist/internal/viem-read.d.ts +0 -3
  388. package/dist/internal/viem-read.d.ts.map +0 -1
  389. package/dist/internal/viem-read.js +0 -13
  390. package/dist/internal/viem-read.js.map +0 -1
  391. package/dist/internal/viem-write.d.ts +0 -10
  392. package/dist/internal/viem-write.d.ts.map +0 -1
  393. package/dist/internal/viem-write.js +0 -51
  394. package/dist/internal/viem-write.js.map +0 -1
  395. package/dist/lens-types.d.ts +0 -309
  396. package/dist/lens-types.d.ts.map +0 -1
  397. package/dist/lens-types.js.map +0 -1
  398. package/dist/utils/bigint.d.ts +0 -22
  399. package/dist/utils/bigint.d.ts.map +0 -1
  400. package/dist/utils/bigint.js +0 -111
  401. package/dist/utils/bigint.js.map +0 -1
  402. package/dist/utils/viem-encoding.d.ts +0 -15
  403. package/dist/utils/viem-encoding.d.ts.map +0 -1
  404. package/dist/utils/viem-encoding.js +0 -33
  405. package/dist/utils/viem-encoding.js.map +0 -1
  406. package/dist/wrapper/index.d.ts +0 -94
  407. package/dist/wrapper/index.d.ts.map +0 -1
  408. package/dist/wrapper/index.js +0 -296
  409. package/dist/wrapper/index.js.map +0 -1
@@ -0,0 +1,1712 @@
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.WildcatMarket__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "AccountBlacklisted",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "AccountNotBlocked",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "BadLaunchCode",
22
+ type: "error",
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: "BorrowAmountTooHigh",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "BorrowFromClosedMarket",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "CloseMarketInPenalizedDelinquency",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "CloseMarketWithUnpaidWithdrawals",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: "DepositToClosedMarket",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [],
51
+ name: "FeeSetWithoutRecipient",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [],
56
+ name: "InsufficientReservesForFeeWithdrawal",
57
+ type: "error",
58
+ },
59
+ {
60
+ inputs: [],
61
+ name: "InsufficientReservesForNewLiquidityRatio",
62
+ type: "error",
63
+ },
64
+ {
65
+ inputs: [],
66
+ name: "InsufficientReservesForOldLiquidityRatio",
67
+ type: "error",
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: "InterestFeeTooHigh",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "InterestRateTooHigh",
77
+ type: "error",
78
+ },
79
+ {
80
+ inputs: [],
81
+ name: "MaxSupplyExceeded",
82
+ type: "error",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "NewMaxSupplyTooLow",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [],
91
+ name: "NotApprovedBorrower",
92
+ type: "error",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "NotApprovedLender",
97
+ type: "error",
98
+ },
99
+ {
100
+ inputs: [],
101
+ name: "NotController",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [],
106
+ name: "NotReversedOrStunning",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "NullBurnAmount",
112
+ type: "error",
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "NullFeeAmount",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "NullMintAmount",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "NullRepayAmount",
127
+ type: "error",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "NullTransferAmount",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [],
136
+ name: "NullWithdrawalAmount",
137
+ type: "error",
138
+ },
139
+ {
140
+ inputs: [],
141
+ name: "PenaltyFeeTooHigh",
142
+ type: "error",
143
+ },
144
+ {
145
+ inputs: [],
146
+ name: "RepayToClosedMarket",
147
+ type: "error",
148
+ },
149
+ {
150
+ inputs: [],
151
+ name: "ReserveRatioBipsTooHigh",
152
+ type: "error",
153
+ },
154
+ {
155
+ inputs: [],
156
+ name: "UnknownNameQueryError",
157
+ type: "error",
158
+ },
159
+ {
160
+ inputs: [],
161
+ name: "UnknownSymbolQueryError",
162
+ type: "error",
163
+ },
164
+ {
165
+ inputs: [],
166
+ name: "WithdrawalBatchNotExpired",
167
+ type: "error",
168
+ },
169
+ {
170
+ anonymous: false,
171
+ inputs: [
172
+ {
173
+ indexed: false,
174
+ internalType: "uint256",
175
+ name: "annualInterestBipsUpdated",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ name: "AnnualInterestBipsUpdated",
180
+ type: "event",
181
+ },
182
+ {
183
+ anonymous: false,
184
+ inputs: [
185
+ {
186
+ indexed: true,
187
+ internalType: "address",
188
+ name: "owner",
189
+ type: "address",
190
+ },
191
+ {
192
+ indexed: true,
193
+ internalType: "address",
194
+ name: "spender",
195
+ type: "address",
196
+ },
197
+ {
198
+ indexed: false,
199
+ internalType: "uint256",
200
+ name: "value",
201
+ type: "uint256",
202
+ },
203
+ ],
204
+ name: "Approval",
205
+ type: "event",
206
+ },
207
+ {
208
+ anonymous: false,
209
+ inputs: [
210
+ {
211
+ indexed: true,
212
+ internalType: "address",
213
+ name: "account",
214
+ type: "address",
215
+ },
216
+ {
217
+ indexed: false,
218
+ internalType: "enum AuthRole",
219
+ name: "role",
220
+ type: "uint8",
221
+ },
222
+ ],
223
+ name: "AuthorizationStatusUpdated",
224
+ type: "event",
225
+ },
226
+ {
227
+ anonymous: false,
228
+ inputs: [
229
+ {
230
+ indexed: false,
231
+ internalType: "uint256",
232
+ name: "assetAmount",
233
+ type: "uint256",
234
+ },
235
+ ],
236
+ name: "Borrow",
237
+ type: "event",
238
+ },
239
+ {
240
+ anonymous: false,
241
+ inputs: [
242
+ {
243
+ indexed: true,
244
+ internalType: "address",
245
+ name: "from",
246
+ type: "address",
247
+ },
248
+ {
249
+ indexed: false,
250
+ internalType: "uint256",
251
+ name: "assetAmount",
252
+ type: "uint256",
253
+ },
254
+ ],
255
+ name: "DebtRepaid",
256
+ type: "event",
257
+ },
258
+ {
259
+ anonymous: false,
260
+ inputs: [
261
+ {
262
+ indexed: true,
263
+ internalType: "address",
264
+ name: "account",
265
+ type: "address",
266
+ },
267
+ {
268
+ indexed: false,
269
+ internalType: "uint256",
270
+ name: "assetAmount",
271
+ type: "uint256",
272
+ },
273
+ {
274
+ indexed: false,
275
+ internalType: "uint256",
276
+ name: "scaledAmount",
277
+ type: "uint256",
278
+ },
279
+ ],
280
+ name: "Deposit",
281
+ type: "event",
282
+ },
283
+ {
284
+ anonymous: false,
285
+ inputs: [
286
+ {
287
+ indexed: false,
288
+ internalType: "uint256",
289
+ name: "assets",
290
+ type: "uint256",
291
+ },
292
+ ],
293
+ name: "FeesCollected",
294
+ type: "event",
295
+ },
296
+ {
297
+ anonymous: false,
298
+ inputs: [
299
+ {
300
+ indexed: false,
301
+ internalType: "uint256",
302
+ name: "timestamp",
303
+ type: "uint256",
304
+ },
305
+ ],
306
+ name: "MarketClosed",
307
+ type: "event",
308
+ },
309
+ {
310
+ anonymous: false,
311
+ inputs: [
312
+ {
313
+ indexed: false,
314
+ internalType: "uint256",
315
+ name: "assets",
316
+ type: "uint256",
317
+ },
318
+ ],
319
+ name: "MaxTotalSupplyUpdated",
320
+ type: "event",
321
+ },
322
+ {
323
+ anonymous: false,
324
+ inputs: [
325
+ {
326
+ indexed: false,
327
+ internalType: "uint256",
328
+ name: "reserveRatioBipsUpdated",
329
+ type: "uint256",
330
+ },
331
+ ],
332
+ name: "ReserveRatioBipsUpdated",
333
+ type: "event",
334
+ },
335
+ {
336
+ anonymous: false,
337
+ inputs: [
338
+ {
339
+ indexed: true,
340
+ internalType: "address",
341
+ name: "account",
342
+ type: "address",
343
+ },
344
+ {
345
+ indexed: false,
346
+ internalType: "address",
347
+ name: "escrow",
348
+ type: "address",
349
+ },
350
+ {
351
+ indexed: false,
352
+ internalType: "uint256",
353
+ name: "amount",
354
+ type: "uint256",
355
+ },
356
+ ],
357
+ name: "SanctionedAccountAssetsSentToEscrow",
358
+ type: "event",
359
+ },
360
+ {
361
+ anonymous: false,
362
+ inputs: [
363
+ {
364
+ indexed: true,
365
+ internalType: "address",
366
+ name: "account",
367
+ type: "address",
368
+ },
369
+ {
370
+ indexed: false,
371
+ internalType: "address",
372
+ name: "escrow",
373
+ type: "address",
374
+ },
375
+ {
376
+ indexed: false,
377
+ internalType: "uint32",
378
+ name: "expiry",
379
+ type: "uint32",
380
+ },
381
+ {
382
+ indexed: false,
383
+ internalType: "uint256",
384
+ name: "amount",
385
+ type: "uint256",
386
+ },
387
+ ],
388
+ name: "SanctionedAccountWithdrawalSentToEscrow",
389
+ type: "event",
390
+ },
391
+ {
392
+ anonymous: false,
393
+ inputs: [
394
+ {
395
+ indexed: false,
396
+ internalType: "uint256",
397
+ name: "scaleFactor",
398
+ type: "uint256",
399
+ },
400
+ {
401
+ indexed: false,
402
+ internalType: "uint256",
403
+ name: "baseInterestRay",
404
+ type: "uint256",
405
+ },
406
+ {
407
+ indexed: false,
408
+ internalType: "uint256",
409
+ name: "delinquencyFeeRay",
410
+ type: "uint256",
411
+ },
412
+ {
413
+ indexed: false,
414
+ internalType: "uint256",
415
+ name: "protocolFee",
416
+ type: "uint256",
417
+ },
418
+ ],
419
+ name: "ScaleFactorUpdated",
420
+ type: "event",
421
+ },
422
+ {
423
+ anonymous: false,
424
+ inputs: [
425
+ {
426
+ indexed: false,
427
+ internalType: "uint256",
428
+ name: "scaleFactor",
429
+ type: "uint256",
430
+ },
431
+ {
432
+ indexed: false,
433
+ internalType: "bool",
434
+ name: "isDelinquent",
435
+ type: "bool",
436
+ },
437
+ ],
438
+ name: "StateUpdated",
439
+ type: "event",
440
+ },
441
+ {
442
+ anonymous: false,
443
+ inputs: [
444
+ {
445
+ indexed: true,
446
+ internalType: "address",
447
+ name: "from",
448
+ type: "address",
449
+ },
450
+ {
451
+ indexed: true,
452
+ internalType: "address",
453
+ name: "to",
454
+ type: "address",
455
+ },
456
+ {
457
+ indexed: false,
458
+ internalType: "uint256",
459
+ name: "value",
460
+ type: "uint256",
461
+ },
462
+ ],
463
+ name: "Transfer",
464
+ type: "event",
465
+ },
466
+ {
467
+ anonymous: false,
468
+ inputs: [
469
+ {
470
+ indexed: true,
471
+ internalType: "address",
472
+ name: "account",
473
+ type: "address",
474
+ },
475
+ {
476
+ indexed: false,
477
+ internalType: "uint256",
478
+ name: "assetAmount",
479
+ type: "uint256",
480
+ },
481
+ {
482
+ indexed: false,
483
+ internalType: "uint256",
484
+ name: "scaledAmount",
485
+ type: "uint256",
486
+ },
487
+ ],
488
+ name: "Withdrawal",
489
+ type: "event",
490
+ },
491
+ {
492
+ anonymous: false,
493
+ inputs: [
494
+ {
495
+ indexed: true,
496
+ internalType: "uint256",
497
+ name: "expiry",
498
+ type: "uint256",
499
+ },
500
+ ],
501
+ name: "WithdrawalBatchClosed",
502
+ type: "event",
503
+ },
504
+ {
505
+ anonymous: false,
506
+ inputs: [
507
+ {
508
+ indexed: true,
509
+ internalType: "uint256",
510
+ name: "expiry",
511
+ type: "uint256",
512
+ },
513
+ ],
514
+ name: "WithdrawalBatchCreated",
515
+ type: "event",
516
+ },
517
+ {
518
+ anonymous: false,
519
+ inputs: [
520
+ {
521
+ indexed: true,
522
+ internalType: "uint256",
523
+ name: "expiry",
524
+ type: "uint256",
525
+ },
526
+ {
527
+ indexed: false,
528
+ internalType: "uint256",
529
+ name: "scaledTotalAmount",
530
+ type: "uint256",
531
+ },
532
+ {
533
+ indexed: false,
534
+ internalType: "uint256",
535
+ name: "scaledAmountBurned",
536
+ type: "uint256",
537
+ },
538
+ {
539
+ indexed: false,
540
+ internalType: "uint256",
541
+ name: "normalizedAmountPaid",
542
+ type: "uint256",
543
+ },
544
+ ],
545
+ name: "WithdrawalBatchExpired",
546
+ type: "event",
547
+ },
548
+ {
549
+ anonymous: false,
550
+ inputs: [
551
+ {
552
+ indexed: true,
553
+ internalType: "uint256",
554
+ name: "expiry",
555
+ type: "uint256",
556
+ },
557
+ {
558
+ indexed: false,
559
+ internalType: "uint256",
560
+ name: "scaledAmountBurned",
561
+ type: "uint256",
562
+ },
563
+ {
564
+ indexed: false,
565
+ internalType: "uint256",
566
+ name: "normalizedAmountPaid",
567
+ type: "uint256",
568
+ },
569
+ ],
570
+ name: "WithdrawalBatchPayment",
571
+ type: "event",
572
+ },
573
+ {
574
+ anonymous: false,
575
+ inputs: [
576
+ {
577
+ indexed: true,
578
+ internalType: "uint256",
579
+ name: "expiry",
580
+ type: "uint256",
581
+ },
582
+ {
583
+ indexed: true,
584
+ internalType: "address",
585
+ name: "account",
586
+ type: "address",
587
+ },
588
+ {
589
+ indexed: false,
590
+ internalType: "uint256",
591
+ name: "normalizedAmount",
592
+ type: "uint256",
593
+ },
594
+ ],
595
+ name: "WithdrawalExecuted",
596
+ type: "event",
597
+ },
598
+ {
599
+ anonymous: false,
600
+ inputs: [
601
+ {
602
+ indexed: true,
603
+ internalType: "uint256",
604
+ name: "expiry",
605
+ type: "uint256",
606
+ },
607
+ {
608
+ indexed: true,
609
+ internalType: "address",
610
+ name: "account",
611
+ type: "address",
612
+ },
613
+ {
614
+ indexed: false,
615
+ internalType: "uint256",
616
+ name: "scaledAmount",
617
+ type: "uint256",
618
+ },
619
+ {
620
+ indexed: false,
621
+ internalType: "uint256",
622
+ name: "normalizedAmount",
623
+ type: "uint256",
624
+ },
625
+ ],
626
+ name: "WithdrawalQueued",
627
+ type: "event",
628
+ },
629
+ {
630
+ inputs: [],
631
+ name: "accruedProtocolFees",
632
+ outputs: [
633
+ {
634
+ internalType: "uint256",
635
+ name: "",
636
+ type: "uint256",
637
+ },
638
+ ],
639
+ stateMutability: "view",
640
+ type: "function",
641
+ },
642
+ {
643
+ inputs: [
644
+ {
645
+ internalType: "address",
646
+ name: "",
647
+ type: "address",
648
+ },
649
+ {
650
+ internalType: "address",
651
+ name: "",
652
+ type: "address",
653
+ },
654
+ ],
655
+ name: "allowance",
656
+ outputs: [
657
+ {
658
+ internalType: "uint256",
659
+ name: "",
660
+ type: "uint256",
661
+ },
662
+ ],
663
+ stateMutability: "view",
664
+ type: "function",
665
+ },
666
+ {
667
+ inputs: [],
668
+ name: "annualInterestBips",
669
+ outputs: [
670
+ {
671
+ internalType: "uint256",
672
+ name: "",
673
+ type: "uint256",
674
+ },
675
+ ],
676
+ stateMutability: "view",
677
+ type: "function",
678
+ },
679
+ {
680
+ inputs: [
681
+ {
682
+ internalType: "address",
683
+ name: "spender",
684
+ type: "address",
685
+ },
686
+ {
687
+ internalType: "uint256",
688
+ name: "amount",
689
+ type: "uint256",
690
+ },
691
+ ],
692
+ name: "approve",
693
+ outputs: [
694
+ {
695
+ internalType: "bool",
696
+ name: "",
697
+ type: "bool",
698
+ },
699
+ ],
700
+ stateMutability: "nonpayable",
701
+ type: "function",
702
+ },
703
+ {
704
+ inputs: [],
705
+ name: "asset",
706
+ outputs: [
707
+ {
708
+ internalType: "address",
709
+ name: "",
710
+ type: "address",
711
+ },
712
+ ],
713
+ stateMutability: "view",
714
+ type: "function",
715
+ },
716
+ {
717
+ inputs: [
718
+ {
719
+ internalType: "address",
720
+ name: "account",
721
+ type: "address",
722
+ },
723
+ ],
724
+ name: "balanceOf",
725
+ outputs: [
726
+ {
727
+ internalType: "uint256",
728
+ name: "",
729
+ type: "uint256",
730
+ },
731
+ ],
732
+ stateMutability: "view",
733
+ type: "function",
734
+ },
735
+ {
736
+ inputs: [
737
+ {
738
+ internalType: "uint256",
739
+ name: "amount",
740
+ type: "uint256",
741
+ },
742
+ ],
743
+ name: "borrow",
744
+ outputs: [],
745
+ stateMutability: "nonpayable",
746
+ type: "function",
747
+ },
748
+ {
749
+ inputs: [],
750
+ name: "borrowableAssets",
751
+ outputs: [
752
+ {
753
+ internalType: "uint256",
754
+ name: "",
755
+ type: "uint256",
756
+ },
757
+ ],
758
+ stateMutability: "view",
759
+ type: "function",
760
+ },
761
+ {
762
+ inputs: [],
763
+ name: "borrower",
764
+ outputs: [
765
+ {
766
+ internalType: "address",
767
+ name: "",
768
+ type: "address",
769
+ },
770
+ ],
771
+ stateMutability: "view",
772
+ type: "function",
773
+ },
774
+ {
775
+ inputs: [],
776
+ name: "closeMarket",
777
+ outputs: [],
778
+ stateMutability: "nonpayable",
779
+ type: "function",
780
+ },
781
+ {
782
+ inputs: [],
783
+ name: "collectFees",
784
+ outputs: [],
785
+ stateMutability: "nonpayable",
786
+ type: "function",
787
+ },
788
+ {
789
+ inputs: [],
790
+ name: "controller",
791
+ outputs: [
792
+ {
793
+ internalType: "address",
794
+ name: "",
795
+ type: "address",
796
+ },
797
+ ],
798
+ stateMutability: "view",
799
+ type: "function",
800
+ },
801
+ {
802
+ inputs: [],
803
+ name: "coverageLiquidity",
804
+ outputs: [
805
+ {
806
+ internalType: "uint256",
807
+ name: "",
808
+ type: "uint256",
809
+ },
810
+ ],
811
+ stateMutability: "view",
812
+ type: "function",
813
+ },
814
+ {
815
+ inputs: [],
816
+ name: "currentState",
817
+ outputs: [
818
+ {
819
+ components: [
820
+ {
821
+ internalType: "bool",
822
+ name: "isClosed",
823
+ type: "bool",
824
+ },
825
+ {
826
+ internalType: "uint128",
827
+ name: "maxTotalSupply",
828
+ type: "uint128",
829
+ },
830
+ {
831
+ internalType: "uint128",
832
+ name: "accruedProtocolFees",
833
+ type: "uint128",
834
+ },
835
+ {
836
+ internalType: "uint128",
837
+ name: "normalizedUnclaimedWithdrawals",
838
+ type: "uint128",
839
+ },
840
+ {
841
+ internalType: "uint104",
842
+ name: "scaledTotalSupply",
843
+ type: "uint104",
844
+ },
845
+ {
846
+ internalType: "uint104",
847
+ name: "scaledPendingWithdrawals",
848
+ type: "uint104",
849
+ },
850
+ {
851
+ internalType: "uint32",
852
+ name: "pendingWithdrawalExpiry",
853
+ type: "uint32",
854
+ },
855
+ {
856
+ internalType: "bool",
857
+ name: "isDelinquent",
858
+ type: "bool",
859
+ },
860
+ {
861
+ internalType: "uint32",
862
+ name: "timeDelinquent",
863
+ type: "uint32",
864
+ },
865
+ {
866
+ internalType: "uint16",
867
+ name: "annualInterestBips",
868
+ type: "uint16",
869
+ },
870
+ {
871
+ internalType: "uint16",
872
+ name: "reserveRatioBips",
873
+ type: "uint16",
874
+ },
875
+ {
876
+ internalType: "uint112",
877
+ name: "scaleFactor",
878
+ type: "uint112",
879
+ },
880
+ {
881
+ internalType: "uint32",
882
+ name: "lastInterestAccruedTimestamp",
883
+ type: "uint32",
884
+ },
885
+ ],
886
+ internalType: "struct MarketState",
887
+ name: "state",
888
+ type: "tuple",
889
+ },
890
+ ],
891
+ stateMutability: "view",
892
+ type: "function",
893
+ },
894
+ {
895
+ inputs: [],
896
+ name: "decimals",
897
+ outputs: [
898
+ {
899
+ internalType: "uint8",
900
+ name: "",
901
+ type: "uint8",
902
+ },
903
+ ],
904
+ stateMutability: "view",
905
+ type: "function",
906
+ },
907
+ {
908
+ inputs: [],
909
+ name: "delinquencyFeeBips",
910
+ outputs: [
911
+ {
912
+ internalType: "uint256",
913
+ name: "",
914
+ type: "uint256",
915
+ },
916
+ ],
917
+ stateMutability: "view",
918
+ type: "function",
919
+ },
920
+ {
921
+ inputs: [],
922
+ name: "delinquencyGracePeriod",
923
+ outputs: [
924
+ {
925
+ internalType: "uint256",
926
+ name: "",
927
+ type: "uint256",
928
+ },
929
+ ],
930
+ stateMutability: "view",
931
+ type: "function",
932
+ },
933
+ {
934
+ inputs: [],
935
+ name: "delinquentDebt",
936
+ outputs: [
937
+ {
938
+ internalType: "uint256",
939
+ name: "",
940
+ type: "uint256",
941
+ },
942
+ ],
943
+ stateMutability: "view",
944
+ type: "function",
945
+ },
946
+ {
947
+ inputs: [
948
+ {
949
+ internalType: "uint256",
950
+ name: "amount",
951
+ type: "uint256",
952
+ },
953
+ ],
954
+ name: "deposit",
955
+ outputs: [],
956
+ stateMutability: "nonpayable",
957
+ type: "function",
958
+ },
959
+ {
960
+ inputs: [
961
+ {
962
+ internalType: "uint256",
963
+ name: "amount",
964
+ type: "uint256",
965
+ },
966
+ ],
967
+ name: "depositUpTo",
968
+ outputs: [
969
+ {
970
+ internalType: "uint256",
971
+ name: "",
972
+ type: "uint256",
973
+ },
974
+ ],
975
+ stateMutability: "nonpayable",
976
+ type: "function",
977
+ },
978
+ {
979
+ inputs: [],
980
+ name: "effectiveBorrowerAPR",
981
+ outputs: [
982
+ {
983
+ internalType: "uint256",
984
+ name: "",
985
+ type: "uint256",
986
+ },
987
+ ],
988
+ stateMutability: "view",
989
+ type: "function",
990
+ },
991
+ {
992
+ inputs: [],
993
+ name: "effectiveLenderAPR",
994
+ outputs: [
995
+ {
996
+ internalType: "uint256",
997
+ name: "",
998
+ type: "uint256",
999
+ },
1000
+ ],
1001
+ stateMutability: "view",
1002
+ type: "function",
1003
+ },
1004
+ {
1005
+ inputs: [
1006
+ {
1007
+ internalType: "address",
1008
+ name: "accountAddress",
1009
+ type: "address",
1010
+ },
1011
+ {
1012
+ internalType: "uint32",
1013
+ name: "expiry",
1014
+ type: "uint32",
1015
+ },
1016
+ ],
1017
+ name: "executeWithdrawal",
1018
+ outputs: [
1019
+ {
1020
+ internalType: "uint256",
1021
+ name: "",
1022
+ type: "uint256",
1023
+ },
1024
+ ],
1025
+ stateMutability: "nonpayable",
1026
+ type: "function",
1027
+ },
1028
+ {
1029
+ inputs: [
1030
+ {
1031
+ internalType: "address[]",
1032
+ name: "accountAddresses",
1033
+ type: "address[]",
1034
+ },
1035
+ {
1036
+ internalType: "uint32[]",
1037
+ name: "expiries",
1038
+ type: "uint32[]",
1039
+ },
1040
+ ],
1041
+ name: "executeWithdrawals",
1042
+ outputs: [
1043
+ {
1044
+ internalType: "uint256[]",
1045
+ name: "",
1046
+ type: "uint256[]",
1047
+ },
1048
+ ],
1049
+ stateMutability: "nonpayable",
1050
+ type: "function",
1051
+ },
1052
+ {
1053
+ inputs: [],
1054
+ name: "feeRecipient",
1055
+ outputs: [
1056
+ {
1057
+ internalType: "address",
1058
+ name: "",
1059
+ type: "address",
1060
+ },
1061
+ ],
1062
+ stateMutability: "view",
1063
+ type: "function",
1064
+ },
1065
+ {
1066
+ inputs: [
1067
+ {
1068
+ internalType: "address",
1069
+ name: "account",
1070
+ type: "address",
1071
+ },
1072
+ ],
1073
+ name: "getAccountRole",
1074
+ outputs: [
1075
+ {
1076
+ internalType: "enum AuthRole",
1077
+ name: "",
1078
+ type: "uint8",
1079
+ },
1080
+ ],
1081
+ stateMutability: "view",
1082
+ type: "function",
1083
+ },
1084
+ {
1085
+ inputs: [
1086
+ {
1087
+ internalType: "address",
1088
+ name: "accountAddress",
1089
+ type: "address",
1090
+ },
1091
+ {
1092
+ internalType: "uint32",
1093
+ name: "expiry",
1094
+ type: "uint32",
1095
+ },
1096
+ ],
1097
+ name: "getAccountWithdrawalStatus",
1098
+ outputs: [
1099
+ {
1100
+ components: [
1101
+ {
1102
+ internalType: "uint104",
1103
+ name: "scaledAmount",
1104
+ type: "uint104",
1105
+ },
1106
+ {
1107
+ internalType: "uint128",
1108
+ name: "normalizedAmountWithdrawn",
1109
+ type: "uint128",
1110
+ },
1111
+ ],
1112
+ internalType: "struct AccountWithdrawalStatus",
1113
+ name: "",
1114
+ type: "tuple",
1115
+ },
1116
+ ],
1117
+ stateMutability: "view",
1118
+ type: "function",
1119
+ },
1120
+ {
1121
+ inputs: [
1122
+ {
1123
+ internalType: "address",
1124
+ name: "accountAddress",
1125
+ type: "address",
1126
+ },
1127
+ {
1128
+ internalType: "uint32",
1129
+ name: "expiry",
1130
+ type: "uint32",
1131
+ },
1132
+ ],
1133
+ name: "getAvailableWithdrawalAmount",
1134
+ outputs: [
1135
+ {
1136
+ internalType: "uint256",
1137
+ name: "",
1138
+ type: "uint256",
1139
+ },
1140
+ ],
1141
+ stateMutability: "view",
1142
+ type: "function",
1143
+ },
1144
+ {
1145
+ inputs: [],
1146
+ name: "getUnpaidBatchExpiries",
1147
+ outputs: [
1148
+ {
1149
+ internalType: "uint32[]",
1150
+ name: "",
1151
+ type: "uint32[]",
1152
+ },
1153
+ ],
1154
+ stateMutability: "view",
1155
+ type: "function",
1156
+ },
1157
+ {
1158
+ inputs: [
1159
+ {
1160
+ internalType: "uint32",
1161
+ name: "expiry",
1162
+ type: "uint32",
1163
+ },
1164
+ ],
1165
+ name: "getWithdrawalBatch",
1166
+ outputs: [
1167
+ {
1168
+ components: [
1169
+ {
1170
+ internalType: "uint104",
1171
+ name: "scaledTotalAmount",
1172
+ type: "uint104",
1173
+ },
1174
+ {
1175
+ internalType: "uint104",
1176
+ name: "scaledAmountBurned",
1177
+ type: "uint104",
1178
+ },
1179
+ {
1180
+ internalType: "uint128",
1181
+ name: "normalizedAmountPaid",
1182
+ type: "uint128",
1183
+ },
1184
+ ],
1185
+ internalType: "struct WithdrawalBatch",
1186
+ name: "",
1187
+ type: "tuple",
1188
+ },
1189
+ ],
1190
+ stateMutability: "view",
1191
+ type: "function",
1192
+ },
1193
+ {
1194
+ inputs: [],
1195
+ name: "maxTotalSupply",
1196
+ outputs: [
1197
+ {
1198
+ internalType: "uint256",
1199
+ name: "",
1200
+ type: "uint256",
1201
+ },
1202
+ ],
1203
+ stateMutability: "view",
1204
+ type: "function",
1205
+ },
1206
+ {
1207
+ inputs: [],
1208
+ name: "maximumDeposit",
1209
+ outputs: [
1210
+ {
1211
+ internalType: "uint256",
1212
+ name: "",
1213
+ type: "uint256",
1214
+ },
1215
+ ],
1216
+ stateMutability: "view",
1217
+ type: "function",
1218
+ },
1219
+ {
1220
+ inputs: [],
1221
+ name: "name",
1222
+ outputs: [
1223
+ {
1224
+ internalType: "string",
1225
+ name: "",
1226
+ type: "string",
1227
+ },
1228
+ ],
1229
+ stateMutability: "view",
1230
+ type: "function",
1231
+ },
1232
+ {
1233
+ inputs: [
1234
+ {
1235
+ internalType: "address",
1236
+ name: "accountAddress",
1237
+ type: "address",
1238
+ },
1239
+ ],
1240
+ name: "nukeFromOrbit",
1241
+ outputs: [],
1242
+ stateMutability: "nonpayable",
1243
+ type: "function",
1244
+ },
1245
+ {
1246
+ inputs: [],
1247
+ name: "outstandingDebt",
1248
+ outputs: [
1249
+ {
1250
+ internalType: "uint256",
1251
+ name: "",
1252
+ type: "uint256",
1253
+ },
1254
+ ],
1255
+ stateMutability: "view",
1256
+ type: "function",
1257
+ },
1258
+ {
1259
+ inputs: [],
1260
+ name: "previousState",
1261
+ outputs: [
1262
+ {
1263
+ components: [
1264
+ {
1265
+ internalType: "bool",
1266
+ name: "isClosed",
1267
+ type: "bool",
1268
+ },
1269
+ {
1270
+ internalType: "uint128",
1271
+ name: "maxTotalSupply",
1272
+ type: "uint128",
1273
+ },
1274
+ {
1275
+ internalType: "uint128",
1276
+ name: "accruedProtocolFees",
1277
+ type: "uint128",
1278
+ },
1279
+ {
1280
+ internalType: "uint128",
1281
+ name: "normalizedUnclaimedWithdrawals",
1282
+ type: "uint128",
1283
+ },
1284
+ {
1285
+ internalType: "uint104",
1286
+ name: "scaledTotalSupply",
1287
+ type: "uint104",
1288
+ },
1289
+ {
1290
+ internalType: "uint104",
1291
+ name: "scaledPendingWithdrawals",
1292
+ type: "uint104",
1293
+ },
1294
+ {
1295
+ internalType: "uint32",
1296
+ name: "pendingWithdrawalExpiry",
1297
+ type: "uint32",
1298
+ },
1299
+ {
1300
+ internalType: "bool",
1301
+ name: "isDelinquent",
1302
+ type: "bool",
1303
+ },
1304
+ {
1305
+ internalType: "uint32",
1306
+ name: "timeDelinquent",
1307
+ type: "uint32",
1308
+ },
1309
+ {
1310
+ internalType: "uint16",
1311
+ name: "annualInterestBips",
1312
+ type: "uint16",
1313
+ },
1314
+ {
1315
+ internalType: "uint16",
1316
+ name: "reserveRatioBips",
1317
+ type: "uint16",
1318
+ },
1319
+ {
1320
+ internalType: "uint112",
1321
+ name: "scaleFactor",
1322
+ type: "uint112",
1323
+ },
1324
+ {
1325
+ internalType: "uint32",
1326
+ name: "lastInterestAccruedTimestamp",
1327
+ type: "uint32",
1328
+ },
1329
+ ],
1330
+ internalType: "struct MarketState",
1331
+ name: "",
1332
+ type: "tuple",
1333
+ },
1334
+ ],
1335
+ stateMutability: "view",
1336
+ type: "function",
1337
+ },
1338
+ {
1339
+ inputs: [],
1340
+ name: "protocolFeeBips",
1341
+ outputs: [
1342
+ {
1343
+ internalType: "uint256",
1344
+ name: "",
1345
+ type: "uint256",
1346
+ },
1347
+ ],
1348
+ stateMutability: "view",
1349
+ type: "function",
1350
+ },
1351
+ {
1352
+ inputs: [
1353
+ {
1354
+ internalType: "uint256",
1355
+ name: "amount",
1356
+ type: "uint256",
1357
+ },
1358
+ ],
1359
+ name: "queueWithdrawal",
1360
+ outputs: [],
1361
+ stateMutability: "nonpayable",
1362
+ type: "function",
1363
+ },
1364
+ {
1365
+ inputs: [
1366
+ {
1367
+ internalType: "uint256",
1368
+ name: "amount",
1369
+ type: "uint256",
1370
+ },
1371
+ ],
1372
+ name: "repay",
1373
+ outputs: [],
1374
+ stateMutability: "nonpayable",
1375
+ type: "function",
1376
+ },
1377
+ {
1378
+ inputs: [
1379
+ {
1380
+ internalType: "uint256",
1381
+ name: "repayAmount",
1382
+ type: "uint256",
1383
+ },
1384
+ {
1385
+ internalType: "uint256",
1386
+ name: "maxBatches",
1387
+ type: "uint256",
1388
+ },
1389
+ ],
1390
+ name: "repayAndProcessUnpaidWithdrawalBatches",
1391
+ outputs: [],
1392
+ stateMutability: "nonpayable",
1393
+ type: "function",
1394
+ },
1395
+ {
1396
+ inputs: [],
1397
+ name: "repayDelinquentDebt",
1398
+ outputs: [],
1399
+ stateMutability: "nonpayable",
1400
+ type: "function",
1401
+ },
1402
+ {
1403
+ inputs: [],
1404
+ name: "repayOutstandingDebt",
1405
+ outputs: [],
1406
+ stateMutability: "nonpayable",
1407
+ type: "function",
1408
+ },
1409
+ {
1410
+ inputs: [],
1411
+ name: "reserveRatioBips",
1412
+ outputs: [
1413
+ {
1414
+ internalType: "uint256",
1415
+ name: "",
1416
+ type: "uint256",
1417
+ },
1418
+ ],
1419
+ stateMutability: "view",
1420
+ type: "function",
1421
+ },
1422
+ {
1423
+ inputs: [],
1424
+ name: "scaleFactor",
1425
+ outputs: [
1426
+ {
1427
+ internalType: "uint256",
1428
+ name: "",
1429
+ type: "uint256",
1430
+ },
1431
+ ],
1432
+ stateMutability: "view",
1433
+ type: "function",
1434
+ },
1435
+ {
1436
+ inputs: [
1437
+ {
1438
+ internalType: "address",
1439
+ name: "account",
1440
+ type: "address",
1441
+ },
1442
+ ],
1443
+ name: "scaledBalanceOf",
1444
+ outputs: [
1445
+ {
1446
+ internalType: "uint256",
1447
+ name: "",
1448
+ type: "uint256",
1449
+ },
1450
+ ],
1451
+ stateMutability: "view",
1452
+ type: "function",
1453
+ },
1454
+ {
1455
+ inputs: [],
1456
+ name: "scaledTotalSupply",
1457
+ outputs: [
1458
+ {
1459
+ internalType: "uint256",
1460
+ name: "",
1461
+ type: "uint256",
1462
+ },
1463
+ ],
1464
+ stateMutability: "view",
1465
+ type: "function",
1466
+ },
1467
+ {
1468
+ inputs: [],
1469
+ name: "sentinel",
1470
+ outputs: [
1471
+ {
1472
+ internalType: "address",
1473
+ name: "",
1474
+ type: "address",
1475
+ },
1476
+ ],
1477
+ stateMutability: "view",
1478
+ type: "function",
1479
+ },
1480
+ {
1481
+ inputs: [
1482
+ {
1483
+ internalType: "uint16",
1484
+ name: "_annualInterestBips",
1485
+ type: "uint16",
1486
+ },
1487
+ ],
1488
+ name: "setAnnualInterestBips",
1489
+ outputs: [],
1490
+ stateMutability: "nonpayable",
1491
+ type: "function",
1492
+ },
1493
+ {
1494
+ inputs: [
1495
+ {
1496
+ internalType: "uint256",
1497
+ name: "_maxTotalSupply",
1498
+ type: "uint256",
1499
+ },
1500
+ ],
1501
+ name: "setMaxTotalSupply",
1502
+ outputs: [],
1503
+ stateMutability: "nonpayable",
1504
+ type: "function",
1505
+ },
1506
+ {
1507
+ inputs: [
1508
+ {
1509
+ internalType: "uint16",
1510
+ name: "_reserveRatioBips",
1511
+ type: "uint16",
1512
+ },
1513
+ ],
1514
+ name: "setReserveRatioBips",
1515
+ outputs: [],
1516
+ stateMutability: "nonpayable",
1517
+ type: "function",
1518
+ },
1519
+ {
1520
+ inputs: [
1521
+ {
1522
+ internalType: "address",
1523
+ name: "accountAddress",
1524
+ type: "address",
1525
+ },
1526
+ ],
1527
+ name: "stunningReversal",
1528
+ outputs: [],
1529
+ stateMutability: "nonpayable",
1530
+ type: "function",
1531
+ },
1532
+ {
1533
+ inputs: [],
1534
+ name: "symbol",
1535
+ outputs: [
1536
+ {
1537
+ internalType: "string",
1538
+ name: "",
1539
+ type: "string",
1540
+ },
1541
+ ],
1542
+ stateMutability: "view",
1543
+ type: "function",
1544
+ },
1545
+ {
1546
+ inputs: [],
1547
+ name: "totalAssets",
1548
+ outputs: [
1549
+ {
1550
+ internalType: "uint256",
1551
+ name: "",
1552
+ type: "uint256",
1553
+ },
1554
+ ],
1555
+ stateMutability: "view",
1556
+ type: "function",
1557
+ },
1558
+ {
1559
+ inputs: [],
1560
+ name: "totalDebts",
1561
+ outputs: [
1562
+ {
1563
+ internalType: "uint256",
1564
+ name: "",
1565
+ type: "uint256",
1566
+ },
1567
+ ],
1568
+ stateMutability: "view",
1569
+ type: "function",
1570
+ },
1571
+ {
1572
+ inputs: [],
1573
+ name: "totalSupply",
1574
+ outputs: [
1575
+ {
1576
+ internalType: "uint256",
1577
+ name: "",
1578
+ type: "uint256",
1579
+ },
1580
+ ],
1581
+ stateMutability: "view",
1582
+ type: "function",
1583
+ },
1584
+ {
1585
+ inputs: [
1586
+ {
1587
+ internalType: "address",
1588
+ name: "to",
1589
+ type: "address",
1590
+ },
1591
+ {
1592
+ internalType: "uint256",
1593
+ name: "amount",
1594
+ type: "uint256",
1595
+ },
1596
+ ],
1597
+ name: "transfer",
1598
+ outputs: [
1599
+ {
1600
+ internalType: "bool",
1601
+ name: "",
1602
+ type: "bool",
1603
+ },
1604
+ ],
1605
+ stateMutability: "nonpayable",
1606
+ type: "function",
1607
+ },
1608
+ {
1609
+ inputs: [
1610
+ {
1611
+ internalType: "address",
1612
+ name: "from",
1613
+ type: "address",
1614
+ },
1615
+ {
1616
+ internalType: "address",
1617
+ name: "to",
1618
+ type: "address",
1619
+ },
1620
+ {
1621
+ internalType: "uint256",
1622
+ name: "amount",
1623
+ type: "uint256",
1624
+ },
1625
+ ],
1626
+ name: "transferFrom",
1627
+ outputs: [
1628
+ {
1629
+ internalType: "bool",
1630
+ name: "",
1631
+ type: "bool",
1632
+ },
1633
+ ],
1634
+ stateMutability: "nonpayable",
1635
+ type: "function",
1636
+ },
1637
+ {
1638
+ inputs: [
1639
+ {
1640
+ internalType: "address[]",
1641
+ name: "accounts",
1642
+ type: "address[]",
1643
+ },
1644
+ {
1645
+ internalType: "bool",
1646
+ name: "authorize",
1647
+ type: "bool",
1648
+ },
1649
+ ],
1650
+ name: "updateAccountAuthorizations",
1651
+ outputs: [],
1652
+ stateMutability: "nonpayable",
1653
+ type: "function",
1654
+ },
1655
+ {
1656
+ inputs: [],
1657
+ name: "updateState",
1658
+ outputs: [],
1659
+ stateMutability: "nonpayable",
1660
+ type: "function",
1661
+ },
1662
+ {
1663
+ inputs: [],
1664
+ name: "version",
1665
+ outputs: [
1666
+ {
1667
+ internalType: "string",
1668
+ name: "",
1669
+ type: "string",
1670
+ },
1671
+ ],
1672
+ stateMutability: "view",
1673
+ type: "function",
1674
+ },
1675
+ {
1676
+ inputs: [],
1677
+ name: "withdrawableProtocolFees",
1678
+ outputs: [
1679
+ {
1680
+ internalType: "uint128",
1681
+ name: "",
1682
+ type: "uint128",
1683
+ },
1684
+ ],
1685
+ stateMutability: "view",
1686
+ type: "function",
1687
+ },
1688
+ {
1689
+ inputs: [],
1690
+ name: "withdrawalBatchDuration",
1691
+ outputs: [
1692
+ {
1693
+ internalType: "uint256",
1694
+ name: "",
1695
+ type: "uint256",
1696
+ },
1697
+ ],
1698
+ stateMutability: "view",
1699
+ type: "function",
1700
+ },
1701
+ ];
1702
+ class WildcatMarket__factory {
1703
+ static createInterface() {
1704
+ return new ethers_1.utils.Interface(_abi);
1705
+ }
1706
+ static connect(address, signerOrProvider) {
1707
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
1708
+ }
1709
+ }
1710
+ WildcatMarket__factory.abi = _abi;
1711
+ exports.WildcatMarket__factory = WildcatMarket__factory;
1712
+ //# sourceMappingURL=WildcatMarket__factory.js.map