@gearbox-protocol/sdk 3.0.0-next.17 → 3.0.0-next.170

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 (694) hide show
  1. package/contracts/index.sol +37 -5
  2. package/lib/apy/auraAPY.d.ts +1 -0
  3. package/lib/apy/auraAPY.js +23 -0
  4. package/lib/apy/auraAbi.d.ts +17 -0
  5. package/lib/apy/auraAbi.js +26 -0
  6. package/lib/apy/convexAPY.d.ts +10 -7
  7. package/lib/apy/convexAPY.js +22 -14
  8. package/lib/apy/curveAPY.d.ts +54 -5
  9. package/lib/apy/curveAPY.js +118 -71
  10. package/lib/apy/defiLamaAPY.d.ts +3 -0
  11. package/lib/apy/defiLamaAPY.js +68 -0
  12. package/lib/apy/index.d.ts +4 -3
  13. package/lib/apy/index.js +13 -3
  14. package/lib/apy/lidoAPY.d.ts +4 -1
  15. package/lib/apy/lidoAPY.js +7 -10
  16. package/lib/apy/yearnAPY.d.ts +3 -3
  17. package/lib/apy/yearnAPY.js +15 -12
  18. package/lib/contracts/contractsRegister.d.ts +13 -6
  19. package/lib/contracts/contractsRegister.js +47 -2
  20. package/lib/core/assets.js +2 -2
  21. package/lib/core/bot.d.ts +11 -0
  22. package/lib/core/bot.js +23 -0
  23. package/lib/core/creditAccount.d.ts +60 -20
  24. package/lib/core/creditAccount.js +198 -89
  25. package/lib/core/creditAccount.spec.js +728 -81
  26. package/lib/core/creditManager.d.ts +18 -5
  27. package/lib/core/creditManager.js +70 -12
  28. package/lib/core/creditSession.d.ts +24 -3
  29. package/lib/core/creditSession.js +32 -7
  30. package/lib/core/endpoint.d.ts +11 -0
  31. package/lib/core/endpoint.js +37 -0
  32. package/lib/core/eventOrTx.d.ts +2 -3
  33. package/lib/core/events.js +16 -16
  34. package/lib/core/gauge.d.ts +26 -0
  35. package/lib/core/gauge.js +63 -0
  36. package/lib/core/gaugeMath.d.ts +40 -0
  37. package/lib/core/gaugeMath.js +108 -0
  38. package/lib/core/gaugeMath.spec.js +388 -0
  39. package/lib/core/{pool/data.d.ts → pool.d.ts} +17 -9
  40. package/lib/core/{pool/data.js → pool.js} +54 -29
  41. package/lib/core/rewardClaimer.d.ts +4 -2
  42. package/lib/core/rewardConvex.d.ts +26 -9
  43. package/lib/core/rewardConvex.js +192 -56
  44. package/lib/core/rewardConvex.spec.js +32 -68
  45. package/lib/core/strategy.d.ts +18 -21
  46. package/lib/core/strategy.js +14 -34
  47. package/lib/core/trade.d.ts +11 -12
  48. package/lib/core/trade.js +36 -29
  49. package/lib/core/transactions.d.ts +118 -18
  50. package/lib/core/transactions.js +211 -122
  51. package/lib/gearboxRewards/abi.d.ts +2 -0
  52. package/lib/gearboxRewards/abi.js +54 -0
  53. package/lib/gearboxRewards/api.d.ts +83 -0
  54. package/lib/gearboxRewards/api.js +247 -0
  55. package/lib/gearboxRewards/apy.d.ts +37 -0
  56. package/lib/gearboxRewards/apy.js +65 -0
  57. package/lib/gearboxRewards/extraAPY.d.ts +34 -0
  58. package/lib/gearboxRewards/extraAPY.js +130 -0
  59. package/lib/gearboxRewards/index.d.ts +4 -0
  60. package/lib/{core/pool → gearboxRewards}/index.js +4 -1
  61. package/lib/index.d.ts +9 -2
  62. package/lib/index.js +9 -2
  63. package/lib/parsers/ERC20Parser.js +1 -1
  64. package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
  65. package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
  66. package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
  67. package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
  68. package/lib/parsers/abstractParser.d.ts +7 -5
  69. package/lib/parsers/abstractParser.js +4 -2
  70. package/lib/parsers/addressProviderParser.js +1 -1
  71. package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
  72. package/lib/parsers/balancerV2VaultParser.js +34 -0
  73. package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
  74. package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
  75. package/lib/parsers/convexBaseRewardPoolAdapterParser.js +13 -9
  76. package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
  77. package/lib/parsers/convexBoosterAdapterParser.js +7 -7
  78. package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
  79. package/lib/parsers/convextRewardPoolParser.js +1 -1
  80. package/lib/parsers/creditFacadeParser.js +34 -7
  81. package/lib/parsers/creditFacadeParser.spec.js +2 -3
  82. package/lib/parsers/creditManagerParser.js +1 -1
  83. package/lib/parsers/curveAdapterParser.js +11 -12
  84. package/lib/parsers/curveAdapterParser.spec.js +6 -2
  85. package/lib/parsers/erc626AdapterParser.d.ts +7 -0
  86. package/lib/parsers/erc626AdapterParser.js +21 -0
  87. package/lib/parsers/lidoAdapterParser.js +4 -3
  88. package/lib/parsers/lidoAdapterParser.spec.js +2 -2
  89. package/lib/parsers/lidoSTETHParser.js +1 -1
  90. package/lib/parsers/poolParser.js +1 -1
  91. package/lib/parsers/priceOracleParser.js +1 -1
  92. package/lib/parsers/txParser.d.ts +17 -11
  93. package/lib/parsers/txParser.js +41 -4
  94. package/lib/parsers/uniV2AdapterParser.js +6 -5
  95. package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
  96. package/lib/parsers/uniV3AdapterParser.js +10 -8
  97. package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
  98. package/lib/parsers/wstETHAdapterParser.js +7 -5
  99. package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
  100. package/lib/parsers/yearnAdapterParser.spec.js +4 -4
  101. package/lib/parsers/yearnV2AdapterParser.js +14 -4
  102. package/lib/pathfinder/balancerVault.d.ts +33 -0
  103. package/lib/pathfinder/balancerVault.js +59 -0
  104. package/lib/pathfinder/core.d.ts +8 -9
  105. package/lib/pathfinder/index.d.ts +4 -0
  106. package/lib/pathfinder/index.js +20 -0
  107. package/lib/pathfinder/pathOptions.d.ts +3 -3
  108. package/lib/pathfinder/pathOptions.js +34 -18
  109. package/lib/pathfinder/pathOptions.spec.js +3 -6
  110. package/lib/pathfinder/pathfinder.d.ts +47 -19
  111. package/lib/pathfinder/pathfinder.js +68 -56
  112. package/lib/pathfinder/pathfinder.spec.js +22 -9
  113. package/lib/pathfinder/utils.d.ts +36 -0
  114. package/lib/pathfinder/utils.js +181 -0
  115. package/lib/pathfinder/v1/core.d.ts +16 -0
  116. package/lib/pathfinder/v1/pathfinderv1.d.ts +46 -0
  117. package/lib/pathfinder/v1/pathfinderv1.js +155 -0
  118. package/lib/pathfinder/v1/pathfinderv1.spec.d.ts +1 -0
  119. package/lib/pathfinder/v1/pathfinderv1.spec.js +39 -0
  120. package/lib/payload/bot.d.ts +13 -0
  121. package/lib/payload/creditAccount.d.ts +3 -4
  122. package/lib/payload/creditManager.d.ts +6 -2
  123. package/lib/payload/creditSession.d.ts +15 -1
  124. package/lib/payload/gauge.d.ts +12 -0
  125. package/lib/payload/pool.d.ts +6 -2
  126. package/lib/payload/token.d.ts +3 -1
  127. package/lib/tokens/tokenData.d.ts +5 -4
  128. package/lib/tokens/tokenData.js +24 -5
  129. package/lib/types/CalldataExtractor.d.ts +44 -0
  130. package/lib/types/CompositePriceFeed.d.ts +162 -0
  131. package/lib/types/ContractsRegisterTrait.d.ts +42 -0
  132. package/lib/types/ERC20.d.ts +198 -0
  133. package/lib/types/FarmAccounting.d.ts +27 -0
  134. package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +171 -0
  135. package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +290 -0
  136. package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +308 -0
  137. package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +112 -0
  138. package/lib/types/IBalancerV2Vault.sol/index.d.ts +2 -0
  139. package/lib/types/IBalancerV2Vault.sol/index.js +2 -0
  140. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +466 -0
  141. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js +2 -0
  142. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
  143. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js +2 -0
  144. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +27 -0
  145. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.js +2 -0
  146. package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  147. package/lib/types/IBalancerV2VaultAdapter.sol/index.js +2 -0
  148. package/lib/types/IBotListV3.sol/IBotListV3.d.ts +286 -0
  149. package/lib/types/IBotListV3.sol/IBotListV3.js +2 -0
  150. package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +103 -0
  151. package/lib/types/IBotListV3.sol/IBotListV3Events.js +2 -0
  152. package/lib/types/IBotListV3.sol/index.d.ts +2 -0
  153. package/lib/types/IBotListV3.sol/index.js +2 -0
  154. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +216 -0
  155. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js +2 -0
  156. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +27 -0
  157. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js +2 -0
  158. package/lib/types/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  159. package/lib/types/ICompoundV2_CTokenAdapter.sol/index.js +2 -0
  160. package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +128 -0
  161. package/lib/types/IContractsRegister.sol/IContractsRegister.js +2 -0
  162. package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +50 -0
  163. package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.js +2 -0
  164. package/lib/types/IContractsRegister.sol/index.d.ts +2 -0
  165. package/lib/types/IContractsRegister.sol/index.js +2 -0
  166. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.d.ts +504 -0
  167. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.js +2 -0
  168. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +82 -0
  169. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.js +2 -0
  170. package/lib/types/IControllerTimelockV3.sol/index.d.ts +2 -0
  171. package/lib/types/IControllerTimelockV3.sol/index.js +2 -0
  172. package/lib/types/IConvexToken.d.ts +9 -1
  173. package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +62 -30
  174. package/lib/types/{IConvexV1BoosterAdapter.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts} +40 -21
  175. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js +2 -0
  176. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
  177. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js +2 -0
  178. package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  179. package/lib/types/IConvexV1BoosterAdapter.sol/index.js +2 -0
  180. package/lib/types/ICreditAccountV3.sol/ICreditAccountBase.d.ts +86 -0
  181. package/lib/types/ICreditAccountV3.sol/ICreditAccountBase.js +2 -0
  182. package/lib/types/ICreditAccountV3.sol/ICreditAccountV3.d.ts +110 -0
  183. package/lib/types/ICreditAccountV3.sol/ICreditAccountV3.js +2 -0
  184. package/lib/types/ICreditAccountV3.sol/index.d.ts +2 -0
  185. package/lib/types/ICreditAccountV3.sol/index.js +2 -0
  186. package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +7 -11
  187. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +52 -100
  188. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +30 -32
  189. package/lib/types/ICreditFacadeV3Multicall.d.ts +68 -60
  190. package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +99 -79
  191. package/lib/types/ICurveV1Adapter.d.ts +41 -105
  192. package/lib/types/ICurveV1_2AssetsAdapter.d.ts +41 -105
  193. package/lib/types/ICurveV1_3AssetsAdapter.d.ts +41 -105
  194. package/lib/types/ICurveV1_4AssetsAdapter.d.ts +41 -105
  195. package/lib/types/IDaiLikePermit.d.ts +59 -0
  196. package/lib/types/IDaiLikePermit.js +2 -0
  197. package/lib/types/{IDataCompressorV2_10.d.ts → IDataCompressorV2_1.d.ts} +14 -43
  198. package/lib/types/IDataCompressorV2_1.js +2 -0
  199. package/lib/types/{IDataCompressorV3_00.d.ts → IDataCompressorV3.d.ts} +111 -44
  200. package/lib/types/IDataCompressorV3.js +2 -0
  201. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +339 -0
  202. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.js +2 -0
  203. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +61 -0
  204. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.js +2 -0
  205. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +27 -0
  206. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.js +2 -0
  207. package/lib/types/IDegenNFTV2.sol/index.d.ts +3 -0
  208. package/lib/types/IDegenNFTV2.sol/index.js +2 -0
  209. package/lib/types/IERC165.d.ts +42 -0
  210. package/lib/types/IERC165.js +2 -0
  211. package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
  212. package/lib/types/IERC20ZapperDeposits.js +2 -0
  213. package/lib/types/IERC4626Adapter.d.ts +238 -0
  214. package/lib/types/IERC4626Adapter.js +2 -0
  215. package/lib/types/IERC721.d.ts +220 -0
  216. package/lib/types/IERC721.js +2 -0
  217. package/lib/types/IERC721Metadata.d.ts +244 -0
  218. package/lib/types/IERC721Metadata.js +2 -0
  219. package/lib/types/IETHZapperDeposits.d.ts +66 -0
  220. package/lib/types/IETHZapperDeposits.js +2 -0
  221. package/lib/types/IFarmingPool.d.ts +318 -0
  222. package/lib/types/IFarmingPool.js +2 -0
  223. package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
  224. package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
  225. package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
  226. package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
  227. package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
  228. package/lib/types/IGaugeV3.sol/index.js +2 -0
  229. package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
  230. package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
  231. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
  232. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
  233. package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
  234. package/lib/types/IGearStakingV3.sol/index.js +2 -0
  235. package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +285 -0
  236. package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.js +2 -0
  237. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +54 -0
  238. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.js +2 -0
  239. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +27 -0
  240. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.js +2 -0
  241. package/lib/types/ILPPriceFeed.sol/index.d.ts +3 -0
  242. package/lib/types/ILPPriceFeed.sol/index.js +2 -0
  243. package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.d.ts → ILidoV1Adapter.d.ts} +13 -48
  244. package/lib/types/ILidoV1Adapter.js +2 -0
  245. package/lib/types/ILinearInterestRateModelV3.d.ts +120 -0
  246. package/lib/types/ILinearInterestRateModelV3.js +2 -0
  247. package/lib/types/IPartialLiquidationBotV3.d.ts +163 -0
  248. package/lib/types/IPartialLiquidationBotV3.js +2 -0
  249. package/lib/types/IPermit2.d.ts +130 -0
  250. package/lib/types/IPermit2.js +2 -0
  251. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
  252. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
  253. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
  254. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
  255. package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  256. package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
  257. package/lib/types/IPoolV3.sol/IPoolV3.d.ts +2 -2
  258. package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
  259. package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
  260. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
  261. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.js +2 -0
  262. package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
  263. package/lib/types/IPriceFeed.sol/index.js +2 -0
  264. package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
  265. package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
  266. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
  267. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
  268. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts → IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts} +3 -3
  269. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
  270. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
  271. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
  272. package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
  273. package/lib/types/IPriceOracle.sol/index.js +2 -0
  274. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +272 -0
  275. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
  276. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +79 -0
  277. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
  278. package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
  279. package/lib/types/IPriceOracleV3.sol/index.js +2 -0
  280. package/lib/types/IRouter.d.ts +11 -1
  281. package/lib/types/IRouterV3.d.ts +315 -0
  282. package/lib/types/IRouterV3.js +2 -0
  283. package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +10 -9
  284. package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +27 -21
  285. package/lib/types/IVotingContractV3.d.ts +74 -0
  286. package/lib/types/IVotingContractV3.js +2 -0
  287. package/lib/types/IWETH.d.ts +197 -0
  288. package/lib/types/IWETH.js +2 -0
  289. package/lib/types/IYearnV2Adapter.d.ts +22 -22
  290. package/lib/types/IZapper.d.ts +42 -47
  291. package/lib/types/IZapperRegister.d.ts +62 -0
  292. package/lib/types/IZapperRegister.js +2 -0
  293. package/lib/types/IwstETHV1Adapter.d.ts +17 -17
  294. package/lib/types/NumericArrayLib.d.ts +27 -0
  295. package/lib/types/NumericArrayLib.js +2 -0
  296. package/lib/types/PartialLiquidationBotV3.d.ts +171 -0
  297. package/lib/types/PartialLiquidationBotV3.js +2 -0
  298. package/lib/types/RedstoneConstants.d.ts +27 -0
  299. package/lib/types/RedstoneConstants.js +2 -0
  300. package/lib/types/RedstoneConsumerBase.d.ts +84 -0
  301. package/lib/types/RedstoneConsumerBase.js +2 -0
  302. package/lib/types/RedstoneConsumerNumericBase.d.ts +84 -0
  303. package/lib/types/RedstoneConsumerNumericBase.js +2 -0
  304. package/lib/types/RedstoneDefaultsLib.d.ts +27 -0
  305. package/lib/types/RedstoneDefaultsLib.js +2 -0
  306. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts} +11 -11
  307. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.js +2 -0
  308. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +27 -0
  309. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.js +2 -0
  310. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +279 -0
  311. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.js +2 -0
  312. package/lib/types/RedstonePriceFeed.sol/index.d.ts +3 -0
  313. package/lib/types/RedstonePriceFeed.sol/index.js +2 -0
  314. package/lib/types/SafeERC20.d.ts +27 -0
  315. package/lib/types/SafeERC20.js +2 -0
  316. package/lib/types/contracts/index.d.ts +2 -0
  317. package/lib/types/contracts/index.js +2 -0
  318. package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
  319. package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
  320. package/lib/types/contracts/interfaces/index.d.ts +1 -0
  321. package/lib/types/contracts/interfaces/index.js +2 -0
  322. package/lib/types/factories/AddressProvider__factory.d.ts +112 -112
  323. package/lib/types/factories/AddressProvider__factory.js +120 -120
  324. package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +4 -4
  325. package/lib/types/factories/Balances.sol/BalanceOps__factory.js +4 -4
  326. package/lib/types/factories/CalldataExtractor__factory.d.ts +87 -0
  327. package/lib/types/factories/CalldataExtractor__factory.js +127 -0
  328. package/lib/types/factories/Claimable__factory.d.ts +29 -29
  329. package/lib/types/factories/Claimable__factory.js +33 -33
  330. package/lib/types/factories/CompositePriceFeed__factory.d.ts +202 -0
  331. package/lib/types/factories/CompositePriceFeed__factory.js +277 -0
  332. package/lib/types/factories/ContractsRegisterTrait__factory.d.ts +22 -0
  333. package/lib/types/factories/ContractsRegisterTrait__factory.js +37 -0
  334. package/lib/types/factories/ERC20__factory.d.ts +239 -0
  335. package/lib/types/factories/ERC20__factory.js +328 -0
  336. package/lib/types/factories/Errors__factory.d.ts +100 -100
  337. package/lib/types/factories/Errors__factory.js +100 -100
  338. package/lib/types/factories/FarmAccounting__factory.d.ts +33 -0
  339. package/lib/types/factories/FarmAccounting__factory.js +57 -0
  340. package/lib/types/factories/{IWERC20Zapper__factory.d.ts → IAaveV2_LendingPoolAdapter__factory.d.ts} +96 -114
  341. package/lib/types/factories/{IWETHZapper__factory.js → IAaveV2_LendingPoolAdapter__factory.js} +105 -120
  342. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +252 -0
  343. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +341 -0
  344. package/lib/types/factories/IAdapter__factory.d.ts +15 -15
  345. package/lib/types/factories/IAdapter__factory.js +15 -15
  346. package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
  347. package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
  348. package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
  349. package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
  350. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
  351. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
  352. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
  353. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
  354. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
  355. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
  356. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
  357. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
  358. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +78 -0
  359. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +111 -0
  360. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +360 -0
  361. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +475 -0
  362. package/lib/types/factories/IBalancerV2Vault.sol/index.d.ts +2 -0
  363. package/lib/types/factories/IBalancerV2Vault.sol/index.js +10 -0
  364. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +23 -0
  365. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +38 -0
  366. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +12 -0
  367. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js} +5 -5
  368. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +514 -0
  369. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +675 -0
  370. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  371. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.js +12 -0
  372. package/lib/types/factories/IBaseRewardPool__factory.d.ts +114 -114
  373. package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
  374. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +103 -0
  375. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +138 -0
  376. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +315 -0
  377. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +416 -0
  378. package/lib/types/factories/IBotListV3.sol/index.d.ts +2 -0
  379. package/lib/types/factories/IBotListV3.sol/index.js +10 -0
  380. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +196 -0
  381. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +267 -0
  382. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +16 -0
  383. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +30 -0
  384. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  385. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.js +10 -0
  386. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +28 -0
  387. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +45 -0
  388. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +134 -0
  389. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +186 -0
  390. package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
  391. package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
  392. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +73 -0
  393. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +101 -0
  394. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +427 -0
  395. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +556 -0
  396. package/lib/types/factories/IControllerTimelockV3.sol/index.d.ts +2 -0
  397. package/lib/types/factories/IControllerTimelockV3.sol/index.js +10 -0
  398. package/lib/types/factories/IConvexToken__factory.d.ts +89 -79
  399. package/lib/types/factories/IConvexToken__factory.js +99 -86
  400. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +121 -69
  401. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +137 -69
  402. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +23 -0
  403. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +38 -0
  404. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts} +67 -44
  405. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js} +72 -43
  406. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  407. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.js +10 -0
  408. package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountBase__factory.d.ts +64 -0
  409. package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountBase__factory.js +92 -0
  410. package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountV3__factory.d.ts +88 -0
  411. package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountV3__factory.js +123 -0
  412. package/lib/types/factories/ICreditAccountV3.sol/index.d.ts +2 -0
  413. package/lib/types/factories/ICreditAccountV3.sol/index.js +10 -0
  414. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +121 -121
  415. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
  416. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
  417. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
  418. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
  419. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
  420. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
  421. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
  422. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
  423. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
  424. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
  425. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
  426. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
  427. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
  428. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -27
  429. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -28
  430. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
  431. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
  432. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
  433. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
  434. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +78 -83
  435. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +85 -91
  436. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +281 -348
  437. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +372 -457
  438. package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +85 -81
  439. package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +93 -89
  440. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
  441. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
  442. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
  443. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
  444. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
  445. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
  446. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
  447. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
  448. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +398 -390
  449. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +436 -426
  450. package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
  451. package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
  452. package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
  453. package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
  454. package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
  455. package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
  456. package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
  457. package/lib/types/factories/ICurvePool__factory.js +159 -159
  458. package/lib/types/factories/ICurveV1Adapter__factory.d.ts +171 -229
  459. package/lib/types/factories/ICurveV1Adapter__factory.js +171 -248
  460. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +189 -247
  461. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +189 -266
  462. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +189 -247
  463. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +189 -266
  464. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +189 -247
  465. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +189 -266
  466. package/lib/types/factories/IDaiLikePermit__factory.d.ts +46 -0
  467. package/lib/types/factories/IDaiLikePermit__factory.js +67 -0
  468. package/lib/types/factories/{IDataCompressorV2_10__factory.d.ts → IDataCompressorV2_1__factory.d.ts} +348 -398
  469. package/lib/types/factories/{IDataCompressorV2_10__factory.js → IDataCompressorV2_1__factory.js} +349 -413
  470. package/lib/types/factories/{IDataCompressorV3_00__factory.d.ts → IDataCompressorV3__factory.d.ts} +654 -472
  471. package/lib/types/factories/{IDataCompressorV3_00__factory.js → IDataCompressorV3__factory.js} +727 -495
  472. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
  473. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
  474. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
  475. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
  476. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +38 -0
  477. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +58 -0
  478. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +24 -0
  479. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +39 -0
  480. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.d.ts → IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts} +248 -238
  481. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js → IDegenNFTV2.sol/IDegenNFTV2__factory.js} +270 -253
  482. package/lib/types/factories/IDegenNFTV2.sol/index.d.ts +3 -0
  483. package/lib/types/factories/IDegenNFTV2.sol/index.js +12 -0
  484. package/lib/types/factories/IERC165__factory.d.ts +22 -0
  485. package/lib/types/factories/IERC165__factory.js +38 -0
  486. package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
  487. package/lib/types/factories/IERC20Metadata__factory.js +86 -86
  488. package/lib/types/factories/IERC20Permit__factory.d.ts +16 -16
  489. package/lib/types/factories/IERC20Permit__factory.js +16 -16
  490. package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
  491. package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
  492. package/lib/types/factories/IERC20__factory.d.ts +67 -67
  493. package/lib/types/factories/IERC20__factory.js +77 -77
  494. package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
  495. package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
  496. package/lib/types/factories/IERC4626__factory.d.ts +198 -198
  497. package/lib/types/factories/IERC4626__factory.js +221 -221
  498. package/lib/types/factories/IERC721Metadata__factory.d.ts +262 -0
  499. package/lib/types/factories/IERC721Metadata__factory.js +349 -0
  500. package/lib/types/factories/IERC721__factory.d.ts +228 -0
  501. package/lib/types/factories/IERC721__factory.js +304 -0
  502. package/lib/types/factories/IETHZapperDeposits__factory.d.ts +40 -0
  503. package/lib/types/factories/IETHZapperDeposits__factory.js +62 -0
  504. package/lib/types/factories/IFarmingPool__factory.d.ts +299 -0
  505. package/lib/types/factories/IFarmingPool__factory.js +396 -0
  506. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
  507. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
  508. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
  509. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
  510. package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
  511. package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
  512. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.d.ts → IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts} +55 -85
  513. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js → IGearStakingV3.sol/IGearStakingV3Events__factory.js} +58 -94
  514. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +504 -0
  515. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +660 -0
  516. package/lib/types/factories/IGearStakingV3.sol/index.d.ts +2 -0
  517. package/lib/types/factories/IGearStakingV3.sol/index.js +10 -0
  518. package/lib/types/factories/IInterestRateModel__factory.d.ts +8 -8
  519. package/lib/types/factories/IInterestRateModel__factory.js +8 -8
  520. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +33 -0
  521. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +51 -0
  522. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +28 -0
  523. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +44 -0
  524. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +261 -0
  525. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +344 -0
  526. package/lib/types/factories/ILPPriceFeed.sol/index.d.ts +3 -0
  527. package/lib/types/factories/ILPPriceFeed.sol/index.js +12 -0
  528. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts → ILidoV1Adapter__factory.d.ts} +44 -74
  529. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.js → ILidoV1Adapter__factory.js} +45 -83
  530. package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +98 -0
  531. package/lib/types/factories/ILinearInterestRateModelV3__factory.js +136 -0
  532. package/lib/types/factories/IOffchainOracle__factory.d.ts +11 -11
  533. package/lib/types/factories/IOffchainOracle__factory.js +11 -11
  534. package/lib/types/factories/IPartialLiquidationBotV3__factory.d.ts +217 -0
  535. package/lib/types/factories/IPartialLiquidationBotV3__factory.js +287 -0
  536. package/lib/types/factories/IPermit2__factory.d.ts +113 -0
  537. package/lib/types/factories/IPermit2__factory.js +155 -0
  538. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +103 -0
  539. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
  540. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +441 -0
  541. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +580 -0
  542. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  543. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.js +10 -0
  544. package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +66 -66
  545. package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
  546. package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
  547. package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
  548. package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
  549. package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
  550. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +574 -574
  551. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +698 -698
  552. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +84 -0
  553. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +117 -0
  554. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +104 -0
  555. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +143 -0
  556. package/lib/types/factories/IPriceFeed.sol/index.d.ts +2 -0
  557. package/lib/types/factories/IPriceFeed.sol/index.js +10 -0
  558. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +23 -0
  559. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
  560. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
  561. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
  562. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +197 -0
  563. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
  564. package/lib/types/factories/{IWETHZapper__factory.d.ts → IPriceOracle.sol/IPriceOracleV2__factory.d.ts} +114 -99
  565. package/lib/types/factories/{IWERC20Zapper__factory.js → IPriceOracle.sol/IPriceOracleV2__factory.js} +119 -110
  566. package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
  567. package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
  568. package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
  569. package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
  570. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +78 -0
  571. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +106 -0
  572. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +326 -0
  573. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +433 -0
  574. package/lib/types/factories/IPriceOracleV3.sol/index.d.ts +2 -0
  575. package/lib/types/factories/IPriceOracleV3.sol/index.js +10 -0
  576. package/lib/types/factories/IRouterV3__factory.d.ts +512 -0
  577. package/lib/types/factories/IRouterV3__factory.js +676 -0
  578. package/lib/types/factories/IRouter__factory.d.ts +168 -154
  579. package/lib/types/factories/IRouter__factory.js +186 -167
  580. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
  581. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
  582. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
  583. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
  584. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +80 -76
  585. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +87 -82
  586. package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
  587. package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
  588. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
  589. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
  590. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
  591. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
  592. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +142 -134
  593. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +151 -141
  594. package/lib/types/factories/IVersion__factory.d.ts +3 -3
  595. package/lib/types/factories/IVersion__factory.js +3 -3
  596. package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
  597. package/lib/types/factories/IVotingContractV3__factory.js +65 -0
  598. package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
  599. package/lib/types/factories/IWETHGateway__factory.js +14 -14
  600. package/lib/types/factories/IWETH__factory.d.ts +194 -0
  601. package/lib/types/factories/IWETH__factory.js +260 -0
  602. package/lib/types/factories/IYVault__factory.d.ts +112 -112
  603. package/lib/types/factories/IYVault__factory.js +122 -122
  604. package/lib/types/factories/IYearnV2Adapter__factory.d.ts +76 -68
  605. package/lib/types/factories/IYearnV2Adapter__factory.js +82 -70
  606. package/lib/types/factories/IZapperRegister__factory.d.ts +42 -0
  607. package/lib/types/factories/IZapperRegister__factory.js +64 -0
  608. package/lib/types/factories/IZapper__factory.d.ts +40 -48
  609. package/lib/types/factories/IZapper__factory.js +40 -50
  610. package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
  611. package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
  612. package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
  613. package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
  614. package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
  615. package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
  616. package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
  617. package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
  618. package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
  619. package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
  620. package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +52 -44
  621. package/lib/types/factories/IwstETHV1Adapter__factory.js +56 -44
  622. package/lib/types/factories/NumericArrayLib__factory.d.ts +25 -0
  623. package/lib/types/factories/NumericArrayLib__factory.js +47 -0
  624. package/lib/types/factories/Ownable__factory.d.ts +23 -23
  625. package/lib/types/factories/Ownable__factory.js +27 -27
  626. package/lib/types/factories/PartialLiquidationBotV3__factory.d.ts +284 -0
  627. package/lib/types/factories/PartialLiquidationBotV3__factory.js +379 -0
  628. package/lib/types/factories/RedstoneConstants__factory.d.ts +65 -0
  629. package/lib/types/factories/RedstoneConstants__factory.js +99 -0
  630. package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +164 -0
  631. package/lib/types/factories/RedstoneConsumerBase__factory.js +223 -0
  632. package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +164 -0
  633. package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +223 -0
  634. package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +45 -0
  635. package/lib/types/factories/RedstoneDefaultsLib__factory.js +74 -0
  636. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts} +9 -9
  637. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js} +8 -8
  638. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +28 -0
  639. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +44 -0
  640. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +443 -0
  641. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +589 -0
  642. package/lib/types/factories/RedstonePriceFeed.sol/index.d.ts +3 -0
  643. package/lib/types/factories/RedstonePriceFeed.sol/index.js +12 -0
  644. package/lib/types/factories/SafeERC20__factory.d.ts +49 -0
  645. package/lib/types/factories/SafeERC20__factory.js +77 -0
  646. package/lib/types/factories/contracts/index.d.ts +1 -0
  647. package/lib/types/factories/contracts/index.js +30 -0
  648. package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
  649. package/lib/types/factories/contracts/interfaces/IGasPricer__factory.js +38 -0
  650. package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
  651. package/lib/types/factories/contracts/interfaces/index.js +8 -0
  652. package/lib/types/factories/index.d.ts +50 -7
  653. package/lib/types/factories/index.js +84 -14
  654. package/lib/types/index.d.ts +182 -24
  655. package/lib/types/index.js +147 -20
  656. package/lib/utils/formatter.d.ts +1 -4
  657. package/lib/utils/formatter.js +3 -69
  658. package/lib/utils/math.d.ts +1 -0
  659. package/lib/utils/math.js +1 -0
  660. package/lib/utils/types.d.ts +1 -0
  661. package/lib/watchers/creditAccountWatcher.d.ts +3 -2
  662. package/lib/watchers/creditAccountWatcher.js +20 -14
  663. package/lib/watchers/creditAccountWatcher.spec.js +18 -18
  664. package/lib/watchers/creditManagerWatcher.d.ts +5 -3
  665. package/lib/watchers/creditManagerWatcher.js +32 -10
  666. package/lib/watchers/creditManagerWatcher.spec.js +12 -4
  667. package/package.json +13 -8
  668. package/contracts/IRouter.sol +0 -100
  669. package/lib/core/pool/index.d.ts +0 -1
  670. package/lib/core/strategy.spec.js +0 -62
  671. package/lib/types/ILidoV1Adapter.sol/index.d.ts +0 -3
  672. package/lib/types/IWERC20Zapper.d.ts +0 -166
  673. package/lib/types/IWETHZapper.d.ts +0 -162
  674. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
  675. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
  676. package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  677. package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
  678. package/lib/types/factories/ILidoV1Adapter.sol/index.d.ts +0 -3
  679. package/lib/types/factories/ILidoV1Adapter.sol/index.js +0 -12
  680. package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  681. package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
  682. /package/lib/core/{strategy.spec.d.ts → gaugeMath.spec.d.ts} +0 -0
  683. /package/lib/{types/IConvexV1BoosterAdapter.js → pathfinder/v1/core.js} +0 -0
  684. /package/lib/{types/IDataCompressorV2_10.js → payload/bot.js} +0 -0
  685. /package/lib/{types/IDataCompressorV3_00.js → payload/gauge.js} +0 -0
  686. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.js → CalldataExtractor.js} +0 -0
  687. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → CompositePriceFeed.js} +0 -0
  688. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → ContractsRegisterTrait.js} +0 -0
  689. /package/lib/types/{ILidoV1Adapter.sol/index.js → ERC20.js} +0 -0
  690. /package/lib/types/{IWERC20Zapper.js → FarmAccounting.js} +0 -0
  691. /package/lib/types/{IWETHZapper.js → IAaveV2_LendingPoolAdapter.js} +0 -0
  692. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
  693. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
  694. /package/lib/types/{IWithdrawalManagerV3.sol/index.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
@@ -1,1398 +1,1580 @@
1
1
  import { Signer } from "ethers";
2
2
  import type { Provider } from "@ethersproject/providers";
3
- import type { IDataCompressorV3_00, IDataCompressorV3_00Interface } from "../IDataCompressorV3_00";
4
- export declare class IDataCompressorV3_00__factory {
3
+ import type { IDataCompressorV3, IDataCompressorV3Interface } from "../IDataCompressorV3";
4
+ export declare class IDataCompressorV3__factory {
5
5
  static readonly abi: readonly [{
6
+ readonly type: "function";
7
+ readonly name: "getCreditAccountData";
6
8
  readonly inputs: readonly [{
7
- readonly internalType: "address";
8
9
  readonly name: "creditAccount";
9
10
  readonly type: "address";
11
+ readonly internalType: "address";
10
12
  }, {
13
+ readonly name: "priceUpdates";
14
+ readonly type: "tuple[]";
15
+ readonly internalType: "struct PriceOnDemand[]";
11
16
  readonly components: readonly [{
12
- readonly internalType: "address";
13
17
  readonly name: "token";
14
18
  readonly type: "address";
19
+ readonly internalType: "address";
15
20
  }, {
16
- readonly internalType: "bytes";
17
21
  readonly name: "callData";
18
22
  readonly type: "bytes";
23
+ readonly internalType: "bytes";
19
24
  }];
20
- readonly internalType: "struct PriceOnDemand[]";
21
- readonly name: "priceUpdates";
22
- readonly type: "tuple[]";
23
25
  }];
24
- readonly name: "getCreditAccountData";
25
26
  readonly outputs: readonly [{
27
+ readonly name: "";
28
+ readonly type: "tuple";
29
+ readonly internalType: "struct CreditAccountData";
26
30
  readonly components: readonly [{
27
- readonly internalType: "bool";
28
31
  readonly name: "isSuccessful";
29
32
  readonly type: "bool";
33
+ readonly internalType: "bool";
30
34
  }, {
31
- readonly internalType: "address[]";
32
35
  readonly name: "priceFeedsNeeded";
33
36
  readonly type: "address[]";
37
+ readonly internalType: "address[]";
34
38
  }, {
35
- readonly internalType: "address";
36
39
  readonly name: "addr";
37
40
  readonly type: "address";
38
- }, {
39
41
  readonly internalType: "address";
42
+ }, {
40
43
  readonly name: "borrower";
41
44
  readonly type: "address";
42
- }, {
43
45
  readonly internalType: "address";
46
+ }, {
44
47
  readonly name: "creditManager";
45
48
  readonly type: "address";
49
+ readonly internalType: "address";
46
50
  }, {
47
- readonly internalType: "string";
48
- readonly name: "cmDescription";
51
+ readonly name: "cmName";
49
52
  readonly type: "string";
53
+ readonly internalType: "string";
50
54
  }, {
51
- readonly internalType: "address";
52
55
  readonly name: "creditFacade";
53
56
  readonly type: "address";
54
- }, {
55
57
  readonly internalType: "address";
58
+ }, {
56
59
  readonly name: "underlying";
57
60
  readonly type: "address";
61
+ readonly internalType: "address";
58
62
  }, {
59
- readonly internalType: "uint256";
60
63
  readonly name: "debt";
61
64
  readonly type: "uint256";
62
- }, {
63
65
  readonly internalType: "uint256";
64
- readonly name: "cumulativeIndexNow";
65
- readonly type: "uint256";
66
66
  }, {
67
- readonly internalType: "uint256";
68
67
  readonly name: "cumulativeIndexLastUpdate";
69
68
  readonly type: "uint256";
69
+ readonly internalType: "uint256";
70
70
  }, {
71
- readonly internalType: "uint128";
72
71
  readonly name: "cumulativeQuotaInterest";
73
72
  readonly type: "uint128";
73
+ readonly internalType: "uint128";
74
74
  }, {
75
- readonly internalType: "uint256";
76
75
  readonly name: "accruedInterest";
77
76
  readonly type: "uint256";
78
- }, {
79
77
  readonly internalType: "uint256";
78
+ }, {
80
79
  readonly name: "accruedFees";
81
80
  readonly type: "uint256";
82
- }, {
83
81
  readonly internalType: "uint256";
82
+ }, {
84
83
  readonly name: "totalDebtUSD";
85
84
  readonly type: "uint256";
86
- }, {
87
85
  readonly internalType: "uint256";
86
+ }, {
88
87
  readonly name: "totalValue";
89
88
  readonly type: "uint256";
90
- }, {
91
89
  readonly internalType: "uint256";
90
+ }, {
92
91
  readonly name: "totalValueUSD";
93
92
  readonly type: "uint256";
94
- }, {
95
93
  readonly internalType: "uint256";
94
+ }, {
96
95
  readonly name: "twvUSD";
97
96
  readonly type: "uint256";
98
- }, {
99
97
  readonly internalType: "uint256";
98
+ }, {
100
99
  readonly name: "enabledTokensMask";
101
100
  readonly type: "uint256";
102
- }, {
103
101
  readonly internalType: "uint256";
102
+ }, {
104
103
  readonly name: "healthFactor";
105
104
  readonly type: "uint256";
106
- }, {
107
105
  readonly internalType: "uint256";
106
+ }, {
108
107
  readonly name: "baseBorrowRate";
109
108
  readonly type: "uint256";
110
- }, {
111
109
  readonly internalType: "uint256";
110
+ }, {
112
111
  readonly name: "aggregatedBorrowRate";
113
112
  readonly type: "uint256";
113
+ readonly internalType: "uint256";
114
114
  }, {
115
+ readonly name: "balances";
116
+ readonly type: "tuple[]";
117
+ readonly internalType: "struct TokenBalance[]";
115
118
  readonly components: readonly [{
116
- readonly internalType: "address";
117
119
  readonly name: "token";
118
120
  readonly type: "address";
121
+ readonly internalType: "address";
119
122
  }, {
120
- readonly internalType: "uint256";
121
123
  readonly name: "balance";
122
124
  readonly type: "uint256";
125
+ readonly internalType: "uint256";
123
126
  }, {
124
- readonly internalType: "bool";
125
127
  readonly name: "isForbidden";
126
128
  readonly type: "bool";
127
- }, {
128
129
  readonly internalType: "bool";
130
+ }, {
129
131
  readonly name: "isEnabled";
130
132
  readonly type: "bool";
131
- }, {
132
133
  readonly internalType: "bool";
134
+ }, {
133
135
  readonly name: "isQuoted";
134
136
  readonly type: "bool";
137
+ readonly internalType: "bool";
135
138
  }, {
136
- readonly internalType: "uint256";
137
139
  readonly name: "quota";
138
140
  readonly type: "uint256";
141
+ readonly internalType: "uint256";
139
142
  }, {
140
- readonly internalType: "uint16";
141
143
  readonly name: "quotaRate";
142
144
  readonly type: "uint16";
145
+ readonly internalType: "uint16";
146
+ }, {
147
+ readonly name: "quotaCumulativeIndexLU";
148
+ readonly type: "uint256";
149
+ readonly internalType: "uint256";
143
150
  }];
144
- readonly internalType: "struct TokenBalance[]";
145
- readonly name: "balances";
146
- readonly type: "tuple[]";
147
151
  }, {
148
- readonly internalType: "uint64";
149
152
  readonly name: "since";
150
153
  readonly type: "uint64";
154
+ readonly internalType: "uint64";
151
155
  }, {
152
- readonly internalType: "uint256";
153
156
  readonly name: "cfVersion";
154
157
  readonly type: "uint256";
158
+ readonly internalType: "uint256";
155
159
  }, {
156
- readonly internalType: "uint40";
157
160
  readonly name: "expirationDate";
158
161
  readonly type: "uint40";
162
+ readonly internalType: "uint40";
159
163
  }, {
160
- readonly internalType: "address[]";
161
164
  readonly name: "activeBots";
162
165
  readonly type: "address[]";
163
- }, {
164
- readonly internalType: "uint256";
165
- readonly name: "maxApprovedBots";
166
- readonly type: "uint256";
167
- }, {
168
- readonly components: readonly [{
169
- readonly internalType: "uint8";
170
- readonly name: "tokenIndex";
171
- readonly type: "uint8";
172
- }, {
173
- readonly internalType: "uint40";
174
- readonly name: "maturity";
175
- readonly type: "uint40";
176
- }, {
177
- readonly internalType: "address";
178
- readonly name: "token";
179
- readonly type: "address";
180
- }, {
181
- readonly internalType: "uint256";
182
- readonly name: "amount";
183
- readonly type: "uint256";
184
- }];
185
- readonly internalType: "struct ScheduledWithdrawal[2]";
186
- readonly name: "schedultedWithdrawals";
187
- readonly type: "tuple[2]";
166
+ readonly internalType: "address[]";
188
167
  }];
189
- readonly internalType: "struct CreditAccountData";
190
- readonly name: "";
191
- readonly type: "tuple";
192
168
  }];
193
169
  readonly stateMutability: "nonpayable";
194
- readonly type: "function";
195
170
  }, {
171
+ readonly type: "function";
172
+ readonly name: "getCreditAccountsByBorrower";
196
173
  readonly inputs: readonly [{
197
- readonly internalType: "address";
198
174
  readonly name: "borrower";
199
175
  readonly type: "address";
176
+ readonly internalType: "address";
200
177
  }, {
178
+ readonly name: "priceUpdates";
179
+ readonly type: "tuple[]";
180
+ readonly internalType: "struct PriceOnDemand[]";
201
181
  readonly components: readonly [{
202
- readonly internalType: "address";
203
182
  readonly name: "token";
204
183
  readonly type: "address";
184
+ readonly internalType: "address";
205
185
  }, {
206
- readonly internalType: "bytes";
207
186
  readonly name: "callData";
208
187
  readonly type: "bytes";
188
+ readonly internalType: "bytes";
209
189
  }];
210
- readonly internalType: "struct PriceOnDemand[]";
211
- readonly name: "priceUpdates";
212
- readonly type: "tuple[]";
213
190
  }];
214
- readonly name: "getCreditAccountsByBorrower";
215
191
  readonly outputs: readonly [{
192
+ readonly name: "";
193
+ readonly type: "tuple[]";
194
+ readonly internalType: "struct CreditAccountData[]";
216
195
  readonly components: readonly [{
217
- readonly internalType: "bool";
218
196
  readonly name: "isSuccessful";
219
197
  readonly type: "bool";
198
+ readonly internalType: "bool";
220
199
  }, {
221
- readonly internalType: "address[]";
222
200
  readonly name: "priceFeedsNeeded";
223
201
  readonly type: "address[]";
202
+ readonly internalType: "address[]";
224
203
  }, {
225
- readonly internalType: "address";
226
204
  readonly name: "addr";
227
205
  readonly type: "address";
228
- }, {
229
206
  readonly internalType: "address";
207
+ }, {
230
208
  readonly name: "borrower";
231
209
  readonly type: "address";
232
- }, {
233
210
  readonly internalType: "address";
211
+ }, {
234
212
  readonly name: "creditManager";
235
213
  readonly type: "address";
214
+ readonly internalType: "address";
236
215
  }, {
237
- readonly internalType: "string";
238
- readonly name: "cmDescription";
216
+ readonly name: "cmName";
239
217
  readonly type: "string";
218
+ readonly internalType: "string";
240
219
  }, {
241
- readonly internalType: "address";
242
220
  readonly name: "creditFacade";
243
221
  readonly type: "address";
244
- }, {
245
222
  readonly internalType: "address";
223
+ }, {
246
224
  readonly name: "underlying";
247
225
  readonly type: "address";
226
+ readonly internalType: "address";
248
227
  }, {
249
- readonly internalType: "uint256";
250
228
  readonly name: "debt";
251
229
  readonly type: "uint256";
252
- }, {
253
230
  readonly internalType: "uint256";
254
- readonly name: "cumulativeIndexNow";
255
- readonly type: "uint256";
256
231
  }, {
257
- readonly internalType: "uint256";
258
232
  readonly name: "cumulativeIndexLastUpdate";
259
233
  readonly type: "uint256";
234
+ readonly internalType: "uint256";
260
235
  }, {
261
- readonly internalType: "uint128";
262
236
  readonly name: "cumulativeQuotaInterest";
263
237
  readonly type: "uint128";
238
+ readonly internalType: "uint128";
264
239
  }, {
265
- readonly internalType: "uint256";
266
240
  readonly name: "accruedInterest";
267
241
  readonly type: "uint256";
268
- }, {
269
242
  readonly internalType: "uint256";
243
+ }, {
270
244
  readonly name: "accruedFees";
271
245
  readonly type: "uint256";
272
- }, {
273
246
  readonly internalType: "uint256";
247
+ }, {
274
248
  readonly name: "totalDebtUSD";
275
249
  readonly type: "uint256";
276
- }, {
277
250
  readonly internalType: "uint256";
251
+ }, {
278
252
  readonly name: "totalValue";
279
253
  readonly type: "uint256";
280
- }, {
281
254
  readonly internalType: "uint256";
255
+ }, {
282
256
  readonly name: "totalValueUSD";
283
257
  readonly type: "uint256";
284
- }, {
285
258
  readonly internalType: "uint256";
259
+ }, {
286
260
  readonly name: "twvUSD";
287
261
  readonly type: "uint256";
288
- }, {
289
262
  readonly internalType: "uint256";
263
+ }, {
290
264
  readonly name: "enabledTokensMask";
291
265
  readonly type: "uint256";
292
- }, {
293
266
  readonly internalType: "uint256";
267
+ }, {
294
268
  readonly name: "healthFactor";
295
269
  readonly type: "uint256";
296
- }, {
297
270
  readonly internalType: "uint256";
271
+ }, {
298
272
  readonly name: "baseBorrowRate";
299
273
  readonly type: "uint256";
300
- }, {
301
274
  readonly internalType: "uint256";
275
+ }, {
302
276
  readonly name: "aggregatedBorrowRate";
303
277
  readonly type: "uint256";
278
+ readonly internalType: "uint256";
304
279
  }, {
280
+ readonly name: "balances";
281
+ readonly type: "tuple[]";
282
+ readonly internalType: "struct TokenBalance[]";
305
283
  readonly components: readonly [{
306
- readonly internalType: "address";
307
284
  readonly name: "token";
308
285
  readonly type: "address";
286
+ readonly internalType: "address";
309
287
  }, {
310
- readonly internalType: "uint256";
311
288
  readonly name: "balance";
312
289
  readonly type: "uint256";
290
+ readonly internalType: "uint256";
313
291
  }, {
314
- readonly internalType: "bool";
315
292
  readonly name: "isForbidden";
316
293
  readonly type: "bool";
317
- }, {
318
294
  readonly internalType: "bool";
295
+ }, {
319
296
  readonly name: "isEnabled";
320
297
  readonly type: "bool";
321
- }, {
322
298
  readonly internalType: "bool";
299
+ }, {
323
300
  readonly name: "isQuoted";
324
301
  readonly type: "bool";
302
+ readonly internalType: "bool";
325
303
  }, {
326
- readonly internalType: "uint256";
327
304
  readonly name: "quota";
328
305
  readonly type: "uint256";
306
+ readonly internalType: "uint256";
329
307
  }, {
330
- readonly internalType: "uint16";
331
308
  readonly name: "quotaRate";
332
309
  readonly type: "uint16";
310
+ readonly internalType: "uint16";
311
+ }, {
312
+ readonly name: "quotaCumulativeIndexLU";
313
+ readonly type: "uint256";
314
+ readonly internalType: "uint256";
333
315
  }];
334
- readonly internalType: "struct TokenBalance[]";
335
- readonly name: "balances";
336
- readonly type: "tuple[]";
337
316
  }, {
338
- readonly internalType: "uint64";
339
317
  readonly name: "since";
340
318
  readonly type: "uint64";
319
+ readonly internalType: "uint64";
341
320
  }, {
342
- readonly internalType: "uint256";
343
321
  readonly name: "cfVersion";
344
322
  readonly type: "uint256";
323
+ readonly internalType: "uint256";
345
324
  }, {
346
- readonly internalType: "uint40";
347
325
  readonly name: "expirationDate";
348
326
  readonly type: "uint40";
327
+ readonly internalType: "uint40";
349
328
  }, {
350
- readonly internalType: "address[]";
351
329
  readonly name: "activeBots";
352
330
  readonly type: "address[]";
353
- }, {
354
- readonly internalType: "uint256";
355
- readonly name: "maxApprovedBots";
356
- readonly type: "uint256";
357
- }, {
358
- readonly components: readonly [{
359
- readonly internalType: "uint8";
360
- readonly name: "tokenIndex";
361
- readonly type: "uint8";
362
- }, {
363
- readonly internalType: "uint40";
364
- readonly name: "maturity";
365
- readonly type: "uint40";
366
- }, {
367
- readonly internalType: "address";
368
- readonly name: "token";
369
- readonly type: "address";
370
- }, {
371
- readonly internalType: "uint256";
372
- readonly name: "amount";
373
- readonly type: "uint256";
374
- }];
375
- readonly internalType: "struct ScheduledWithdrawal[2]";
376
- readonly name: "schedultedWithdrawals";
377
- readonly type: "tuple[2]";
331
+ readonly internalType: "address[]";
378
332
  }];
379
- readonly internalType: "struct CreditAccountData[]";
380
- readonly name: "";
381
- readonly type: "tuple[]";
382
333
  }];
383
334
  readonly stateMutability: "nonpayable";
384
- readonly type: "function";
385
335
  }, {
336
+ readonly type: "function";
337
+ readonly name: "getCreditAccountsByCreditManager";
386
338
  readonly inputs: readonly [{
387
- readonly internalType: "address";
388
339
  readonly name: "creditManager";
389
340
  readonly type: "address";
341
+ readonly internalType: "address";
390
342
  }, {
343
+ readonly name: "priceUpdates";
344
+ readonly type: "tuple[]";
345
+ readonly internalType: "struct PriceOnDemand[]";
391
346
  readonly components: readonly [{
392
- readonly internalType: "address";
393
347
  readonly name: "token";
394
348
  readonly type: "address";
349
+ readonly internalType: "address";
395
350
  }, {
396
- readonly internalType: "bytes";
397
351
  readonly name: "callData";
398
352
  readonly type: "bytes";
353
+ readonly internalType: "bytes";
399
354
  }];
400
- readonly internalType: "struct PriceOnDemand[]";
401
- readonly name: "priceUpdates";
402
- readonly type: "tuple[]";
403
355
  }];
404
- readonly name: "getCreditAccountsByCreditManager";
405
356
  readonly outputs: readonly [{
357
+ readonly name: "";
358
+ readonly type: "tuple[]";
359
+ readonly internalType: "struct CreditAccountData[]";
406
360
  readonly components: readonly [{
407
- readonly internalType: "bool";
408
361
  readonly name: "isSuccessful";
409
362
  readonly type: "bool";
363
+ readonly internalType: "bool";
410
364
  }, {
411
- readonly internalType: "address[]";
412
365
  readonly name: "priceFeedsNeeded";
413
366
  readonly type: "address[]";
367
+ readonly internalType: "address[]";
414
368
  }, {
415
- readonly internalType: "address";
416
369
  readonly name: "addr";
417
370
  readonly type: "address";
418
- }, {
419
371
  readonly internalType: "address";
372
+ }, {
420
373
  readonly name: "borrower";
421
374
  readonly type: "address";
422
- }, {
423
375
  readonly internalType: "address";
376
+ }, {
424
377
  readonly name: "creditManager";
425
378
  readonly type: "address";
379
+ readonly internalType: "address";
426
380
  }, {
427
- readonly internalType: "string";
428
- readonly name: "cmDescription";
381
+ readonly name: "cmName";
429
382
  readonly type: "string";
383
+ readonly internalType: "string";
430
384
  }, {
431
- readonly internalType: "address";
432
385
  readonly name: "creditFacade";
433
386
  readonly type: "address";
434
- }, {
435
387
  readonly internalType: "address";
388
+ }, {
436
389
  readonly name: "underlying";
437
390
  readonly type: "address";
391
+ readonly internalType: "address";
438
392
  }, {
439
- readonly internalType: "uint256";
440
393
  readonly name: "debt";
441
394
  readonly type: "uint256";
442
- }, {
443
395
  readonly internalType: "uint256";
444
- readonly name: "cumulativeIndexNow";
445
- readonly type: "uint256";
446
396
  }, {
447
- readonly internalType: "uint256";
448
397
  readonly name: "cumulativeIndexLastUpdate";
449
398
  readonly type: "uint256";
399
+ readonly internalType: "uint256";
450
400
  }, {
451
- readonly internalType: "uint128";
452
401
  readonly name: "cumulativeQuotaInterest";
453
402
  readonly type: "uint128";
403
+ readonly internalType: "uint128";
454
404
  }, {
455
- readonly internalType: "uint256";
456
405
  readonly name: "accruedInterest";
457
406
  readonly type: "uint256";
458
- }, {
459
407
  readonly internalType: "uint256";
408
+ }, {
460
409
  readonly name: "accruedFees";
461
410
  readonly type: "uint256";
462
- }, {
463
411
  readonly internalType: "uint256";
412
+ }, {
464
413
  readonly name: "totalDebtUSD";
465
414
  readonly type: "uint256";
466
- }, {
467
415
  readonly internalType: "uint256";
416
+ }, {
468
417
  readonly name: "totalValue";
469
418
  readonly type: "uint256";
470
- }, {
471
419
  readonly internalType: "uint256";
420
+ }, {
472
421
  readonly name: "totalValueUSD";
473
422
  readonly type: "uint256";
474
- }, {
475
423
  readonly internalType: "uint256";
424
+ }, {
476
425
  readonly name: "twvUSD";
477
426
  readonly type: "uint256";
478
- }, {
479
427
  readonly internalType: "uint256";
428
+ }, {
480
429
  readonly name: "enabledTokensMask";
481
430
  readonly type: "uint256";
482
- }, {
483
431
  readonly internalType: "uint256";
432
+ }, {
484
433
  readonly name: "healthFactor";
485
434
  readonly type: "uint256";
486
- }, {
487
435
  readonly internalType: "uint256";
436
+ }, {
488
437
  readonly name: "baseBorrowRate";
489
438
  readonly type: "uint256";
490
- }, {
491
439
  readonly internalType: "uint256";
440
+ }, {
492
441
  readonly name: "aggregatedBorrowRate";
493
442
  readonly type: "uint256";
443
+ readonly internalType: "uint256";
494
444
  }, {
445
+ readonly name: "balances";
446
+ readonly type: "tuple[]";
447
+ readonly internalType: "struct TokenBalance[]";
495
448
  readonly components: readonly [{
496
- readonly internalType: "address";
497
449
  readonly name: "token";
498
450
  readonly type: "address";
451
+ readonly internalType: "address";
499
452
  }, {
500
- readonly internalType: "uint256";
501
453
  readonly name: "balance";
502
454
  readonly type: "uint256";
455
+ readonly internalType: "uint256";
503
456
  }, {
504
- readonly internalType: "bool";
505
457
  readonly name: "isForbidden";
506
458
  readonly type: "bool";
507
- }, {
508
459
  readonly internalType: "bool";
460
+ }, {
509
461
  readonly name: "isEnabled";
510
462
  readonly type: "bool";
511
- }, {
512
463
  readonly internalType: "bool";
464
+ }, {
513
465
  readonly name: "isQuoted";
514
466
  readonly type: "bool";
467
+ readonly internalType: "bool";
515
468
  }, {
516
- readonly internalType: "uint256";
517
469
  readonly name: "quota";
518
470
  readonly type: "uint256";
471
+ readonly internalType: "uint256";
519
472
  }, {
520
- readonly internalType: "uint16";
521
473
  readonly name: "quotaRate";
522
474
  readonly type: "uint16";
475
+ readonly internalType: "uint16";
476
+ }, {
477
+ readonly name: "quotaCumulativeIndexLU";
478
+ readonly type: "uint256";
479
+ readonly internalType: "uint256";
523
480
  }];
524
- readonly internalType: "struct TokenBalance[]";
525
- readonly name: "balances";
526
- readonly type: "tuple[]";
527
481
  }, {
528
- readonly internalType: "uint64";
529
482
  readonly name: "since";
530
483
  readonly type: "uint64";
484
+ readonly internalType: "uint64";
531
485
  }, {
532
- readonly internalType: "uint256";
533
486
  readonly name: "cfVersion";
534
487
  readonly type: "uint256";
488
+ readonly internalType: "uint256";
535
489
  }, {
536
- readonly internalType: "uint40";
537
490
  readonly name: "expirationDate";
538
491
  readonly type: "uint40";
492
+ readonly internalType: "uint40";
539
493
  }, {
540
- readonly internalType: "address[]";
541
494
  readonly name: "activeBots";
542
495
  readonly type: "address[]";
543
- }, {
544
- readonly internalType: "uint256";
545
- readonly name: "maxApprovedBots";
546
- readonly type: "uint256";
547
- }, {
548
- readonly components: readonly [{
549
- readonly internalType: "uint8";
550
- readonly name: "tokenIndex";
551
- readonly type: "uint8";
552
- }, {
553
- readonly internalType: "uint40";
554
- readonly name: "maturity";
555
- readonly type: "uint40";
556
- }, {
557
- readonly internalType: "address";
558
- readonly name: "token";
559
- readonly type: "address";
560
- }, {
561
- readonly internalType: "uint256";
562
- readonly name: "amount";
563
- readonly type: "uint256";
564
- }];
565
- readonly internalType: "struct ScheduledWithdrawal[2]";
566
- readonly name: "schedultedWithdrawals";
567
- readonly type: "tuple[2]";
496
+ readonly internalType: "address[]";
568
497
  }];
569
- readonly internalType: "struct CreditAccountData[]";
570
- readonly name: "";
571
- readonly type: "tuple[]";
572
498
  }];
573
499
  readonly stateMutability: "nonpayable";
574
- readonly type: "function";
575
500
  }, {
501
+ readonly type: "function";
502
+ readonly name: "getCreditManagerData";
576
503
  readonly inputs: readonly [{
577
- readonly internalType: "address";
578
504
  readonly name: "creditManager";
579
505
  readonly type: "address";
506
+ readonly internalType: "address";
580
507
  }];
581
- readonly name: "getCreditManagerData";
582
508
  readonly outputs: readonly [{
509
+ readonly name: "";
510
+ readonly type: "tuple";
511
+ readonly internalType: "struct CreditManagerData";
583
512
  readonly components: readonly [{
584
- readonly internalType: "address";
585
513
  readonly name: "addr";
586
514
  readonly type: "address";
515
+ readonly internalType: "address";
587
516
  }, {
588
- readonly internalType: "string";
589
517
  readonly name: "name";
590
518
  readonly type: "string";
519
+ readonly internalType: "string";
591
520
  }, {
592
- readonly internalType: "uint256";
593
521
  readonly name: "cfVersion";
594
522
  readonly type: "uint256";
523
+ readonly internalType: "uint256";
595
524
  }, {
596
- readonly internalType: "address";
597
525
  readonly name: "creditFacade";
598
526
  readonly type: "address";
599
- }, {
600
527
  readonly internalType: "address";
528
+ }, {
601
529
  readonly name: "creditConfigurator";
602
530
  readonly type: "address";
603
- }, {
604
531
  readonly internalType: "address";
532
+ }, {
605
533
  readonly name: "underlying";
606
534
  readonly type: "address";
607
- }, {
608
535
  readonly internalType: "address";
536
+ }, {
609
537
  readonly name: "pool";
610
538
  readonly type: "address";
539
+ readonly internalType: "address";
611
540
  }, {
612
- readonly internalType: "uint256";
613
541
  readonly name: "totalDebt";
614
542
  readonly type: "uint256";
615
- }, {
616
543
  readonly internalType: "uint256";
544
+ }, {
617
545
  readonly name: "totalDebtLimit";
618
546
  readonly type: "uint256";
619
- }, {
620
547
  readonly internalType: "uint256";
548
+ }, {
621
549
  readonly name: "baseBorrowRate";
622
550
  readonly type: "uint256";
623
- }, {
624
551
  readonly internalType: "uint256";
552
+ }, {
625
553
  readonly name: "minDebt";
626
554
  readonly type: "uint256";
627
- }, {
628
555
  readonly internalType: "uint256";
556
+ }, {
629
557
  readonly name: "maxDebt";
630
558
  readonly type: "uint256";
631
- }, {
632
559
  readonly internalType: "uint256";
560
+ }, {
633
561
  readonly name: "availableToBorrow";
634
562
  readonly type: "uint256";
563
+ readonly internalType: "uint256";
635
564
  }, {
636
- readonly internalType: "address[]";
637
565
  readonly name: "collateralTokens";
638
566
  readonly type: "address[]";
567
+ readonly internalType: "address[]";
639
568
  }, {
569
+ readonly name: "adapters";
570
+ readonly type: "tuple[]";
571
+ readonly internalType: "struct ContractAdapter[]";
640
572
  readonly components: readonly [{
641
- readonly internalType: "address";
642
573
  readonly name: "targetContract";
643
574
  readonly type: "address";
644
- }, {
645
575
  readonly internalType: "address";
576
+ }, {
646
577
  readonly name: "adapter";
647
578
  readonly type: "address";
579
+ readonly internalType: "address";
648
580
  }];
649
- readonly internalType: "struct ContractAdapter[]";
650
- readonly name: "adapters";
651
- readonly type: "tuple[]";
652
581
  }, {
653
- readonly internalType: "uint256[]";
654
582
  readonly name: "liquidationThresholds";
655
583
  readonly type: "uint256[]";
584
+ readonly internalType: "uint256[]";
656
585
  }, {
657
- readonly internalType: "bool";
658
586
  readonly name: "isDegenMode";
659
587
  readonly type: "bool";
588
+ readonly internalType: "bool";
660
589
  }, {
661
- readonly internalType: "address";
662
590
  readonly name: "degenNFT";
663
591
  readonly type: "address";
592
+ readonly internalType: "address";
664
593
  }, {
665
- readonly internalType: "uint256";
666
594
  readonly name: "forbiddenTokenMask";
667
595
  readonly type: "uint256";
596
+ readonly internalType: "uint256";
668
597
  }, {
669
- readonly internalType: "uint8";
670
598
  readonly name: "maxEnabledTokensLength";
671
599
  readonly type: "uint8";
600
+ readonly internalType: "uint8";
672
601
  }, {
673
- readonly internalType: "uint16";
674
602
  readonly name: "feeInterest";
675
603
  readonly type: "uint16";
676
- }, {
677
604
  readonly internalType: "uint16";
605
+ }, {
678
606
  readonly name: "feeLiquidation";
679
607
  readonly type: "uint16";
680
- }, {
681
608
  readonly internalType: "uint16";
609
+ }, {
682
610
  readonly name: "liquidationDiscount";
683
611
  readonly type: "uint16";
684
- }, {
685
612
  readonly internalType: "uint16";
613
+ }, {
686
614
  readonly name: "feeLiquidationExpired";
687
615
  readonly type: "uint16";
688
- }, {
689
616
  readonly internalType: "uint16";
617
+ }, {
690
618
  readonly name: "liquidationDiscountExpired";
691
619
  readonly type: "uint16";
620
+ readonly internalType: "uint16";
692
621
  }, {
622
+ readonly name: "quotas";
623
+ readonly type: "tuple[]";
624
+ readonly internalType: "struct QuotaInfo[]";
693
625
  readonly components: readonly [{
694
- readonly internalType: "address";
695
626
  readonly name: "token";
696
627
  readonly type: "address";
628
+ readonly internalType: "address";
697
629
  }, {
698
- readonly internalType: "uint16";
699
630
  readonly name: "rate";
700
631
  readonly type: "uint16";
701
- }, {
702
632
  readonly internalType: "uint16";
633
+ }, {
703
634
  readonly name: "quotaIncreaseFee";
704
635
  readonly type: "uint16";
636
+ readonly internalType: "uint16";
705
637
  }, {
706
- readonly internalType: "uint96";
707
638
  readonly name: "totalQuoted";
708
639
  readonly type: "uint96";
709
- }, {
710
640
  readonly internalType: "uint96";
641
+ }, {
711
642
  readonly name: "limit";
712
643
  readonly type: "uint96";
644
+ readonly internalType: "uint96";
713
645
  }, {
714
- readonly internalType: "bool";
715
646
  readonly name: "isActive";
716
647
  readonly type: "bool";
648
+ readonly internalType: "bool";
717
649
  }];
718
- readonly internalType: "struct QuotaInfo[]";
719
- readonly name: "quotas";
720
- readonly type: "tuple[]";
721
650
  }, {
651
+ readonly name: "lirm";
652
+ readonly type: "tuple";
653
+ readonly internalType: "struct LinearModel";
722
654
  readonly components: readonly [{
723
- readonly internalType: "address";
724
655
  readonly name: "interestModel";
725
656
  readonly type: "address";
657
+ readonly internalType: "address";
726
658
  }, {
727
- readonly internalType: "uint256";
728
659
  readonly name: "version";
729
660
  readonly type: "uint256";
661
+ readonly internalType: "uint256";
730
662
  }, {
731
- readonly internalType: "uint16";
732
663
  readonly name: "U_1";
733
664
  readonly type: "uint16";
734
- }, {
735
665
  readonly internalType: "uint16";
666
+ }, {
736
667
  readonly name: "U_2";
737
668
  readonly type: "uint16";
738
- }, {
739
669
  readonly internalType: "uint16";
670
+ }, {
740
671
  readonly name: "R_base";
741
672
  readonly type: "uint16";
742
- }, {
743
673
  readonly internalType: "uint16";
674
+ }, {
744
675
  readonly name: "R_slope1";
745
676
  readonly type: "uint16";
746
- }, {
747
677
  readonly internalType: "uint16";
678
+ }, {
748
679
  readonly name: "R_slope2";
749
680
  readonly type: "uint16";
750
- }, {
751
681
  readonly internalType: "uint16";
682
+ }, {
752
683
  readonly name: "R_slope3";
753
684
  readonly type: "uint16";
685
+ readonly internalType: "uint16";
754
686
  }, {
755
- readonly internalType: "bool";
756
687
  readonly name: "isBorrowingMoreU2Forbidden";
757
688
  readonly type: "bool";
689
+ readonly internalType: "bool";
758
690
  }];
759
- readonly internalType: "struct LinearModel";
760
- readonly name: "lirm";
761
- readonly type: "tuple";
762
691
  }, {
763
- readonly internalType: "bool";
764
692
  readonly name: "isPaused";
765
693
  readonly type: "bool";
694
+ readonly internalType: "bool";
766
695
  }];
767
- readonly internalType: "struct CreditManagerData";
768
- readonly name: "";
769
- readonly type: "tuple";
770
696
  }];
771
697
  readonly stateMutability: "view";
772
- readonly type: "function";
773
698
  }, {
774
- readonly inputs: readonly [];
699
+ readonly type: "function";
775
700
  readonly name: "getCreditManagersV3List";
701
+ readonly inputs: readonly [];
776
702
  readonly outputs: readonly [{
703
+ readonly name: "";
704
+ readonly type: "tuple[]";
705
+ readonly internalType: "struct CreditManagerData[]";
777
706
  readonly components: readonly [{
778
- readonly internalType: "address";
779
707
  readonly name: "addr";
780
708
  readonly type: "address";
709
+ readonly internalType: "address";
781
710
  }, {
782
- readonly internalType: "string";
783
711
  readonly name: "name";
784
712
  readonly type: "string";
713
+ readonly internalType: "string";
785
714
  }, {
786
- readonly internalType: "uint256";
787
715
  readonly name: "cfVersion";
788
716
  readonly type: "uint256";
717
+ readonly internalType: "uint256";
789
718
  }, {
790
- readonly internalType: "address";
791
719
  readonly name: "creditFacade";
792
720
  readonly type: "address";
793
- }, {
794
721
  readonly internalType: "address";
722
+ }, {
795
723
  readonly name: "creditConfigurator";
796
724
  readonly type: "address";
797
- }, {
798
725
  readonly internalType: "address";
726
+ }, {
799
727
  readonly name: "underlying";
800
728
  readonly type: "address";
801
- }, {
802
729
  readonly internalType: "address";
730
+ }, {
803
731
  readonly name: "pool";
804
732
  readonly type: "address";
733
+ readonly internalType: "address";
805
734
  }, {
806
- readonly internalType: "uint256";
807
735
  readonly name: "totalDebt";
808
736
  readonly type: "uint256";
809
- }, {
810
737
  readonly internalType: "uint256";
738
+ }, {
811
739
  readonly name: "totalDebtLimit";
812
740
  readonly type: "uint256";
813
- }, {
814
741
  readonly internalType: "uint256";
742
+ }, {
815
743
  readonly name: "baseBorrowRate";
816
744
  readonly type: "uint256";
817
- }, {
818
745
  readonly internalType: "uint256";
746
+ }, {
819
747
  readonly name: "minDebt";
820
748
  readonly type: "uint256";
821
- }, {
822
749
  readonly internalType: "uint256";
750
+ }, {
823
751
  readonly name: "maxDebt";
824
752
  readonly type: "uint256";
825
- }, {
826
753
  readonly internalType: "uint256";
754
+ }, {
827
755
  readonly name: "availableToBorrow";
828
756
  readonly type: "uint256";
757
+ readonly internalType: "uint256";
829
758
  }, {
830
- readonly internalType: "address[]";
831
759
  readonly name: "collateralTokens";
832
760
  readonly type: "address[]";
761
+ readonly internalType: "address[]";
833
762
  }, {
763
+ readonly name: "adapters";
764
+ readonly type: "tuple[]";
765
+ readonly internalType: "struct ContractAdapter[]";
834
766
  readonly components: readonly [{
835
- readonly internalType: "address";
836
767
  readonly name: "targetContract";
837
768
  readonly type: "address";
838
- }, {
839
769
  readonly internalType: "address";
770
+ }, {
840
771
  readonly name: "adapter";
841
772
  readonly type: "address";
773
+ readonly internalType: "address";
842
774
  }];
843
- readonly internalType: "struct ContractAdapter[]";
844
- readonly name: "adapters";
845
- readonly type: "tuple[]";
846
775
  }, {
847
- readonly internalType: "uint256[]";
848
776
  readonly name: "liquidationThresholds";
849
777
  readonly type: "uint256[]";
778
+ readonly internalType: "uint256[]";
850
779
  }, {
851
- readonly internalType: "bool";
852
780
  readonly name: "isDegenMode";
853
781
  readonly type: "bool";
782
+ readonly internalType: "bool";
854
783
  }, {
855
- readonly internalType: "address";
856
784
  readonly name: "degenNFT";
857
785
  readonly type: "address";
786
+ readonly internalType: "address";
858
787
  }, {
859
- readonly internalType: "uint256";
860
788
  readonly name: "forbiddenTokenMask";
861
789
  readonly type: "uint256";
790
+ readonly internalType: "uint256";
862
791
  }, {
863
- readonly internalType: "uint8";
864
792
  readonly name: "maxEnabledTokensLength";
865
793
  readonly type: "uint8";
794
+ readonly internalType: "uint8";
866
795
  }, {
867
- readonly internalType: "uint16";
868
796
  readonly name: "feeInterest";
869
797
  readonly type: "uint16";
870
- }, {
871
798
  readonly internalType: "uint16";
799
+ }, {
872
800
  readonly name: "feeLiquidation";
873
801
  readonly type: "uint16";
874
- }, {
875
802
  readonly internalType: "uint16";
803
+ }, {
876
804
  readonly name: "liquidationDiscount";
877
805
  readonly type: "uint16";
878
- }, {
879
806
  readonly internalType: "uint16";
807
+ }, {
880
808
  readonly name: "feeLiquidationExpired";
881
809
  readonly type: "uint16";
882
- }, {
883
810
  readonly internalType: "uint16";
811
+ }, {
884
812
  readonly name: "liquidationDiscountExpired";
885
813
  readonly type: "uint16";
814
+ readonly internalType: "uint16";
886
815
  }, {
816
+ readonly name: "quotas";
817
+ readonly type: "tuple[]";
818
+ readonly internalType: "struct QuotaInfo[]";
887
819
  readonly components: readonly [{
888
- readonly internalType: "address";
889
820
  readonly name: "token";
890
821
  readonly type: "address";
822
+ readonly internalType: "address";
891
823
  }, {
892
- readonly internalType: "uint16";
893
824
  readonly name: "rate";
894
825
  readonly type: "uint16";
895
- }, {
896
826
  readonly internalType: "uint16";
827
+ }, {
897
828
  readonly name: "quotaIncreaseFee";
898
829
  readonly type: "uint16";
830
+ readonly internalType: "uint16";
899
831
  }, {
900
- readonly internalType: "uint96";
901
832
  readonly name: "totalQuoted";
902
833
  readonly type: "uint96";
903
- }, {
904
834
  readonly internalType: "uint96";
835
+ }, {
905
836
  readonly name: "limit";
906
837
  readonly type: "uint96";
838
+ readonly internalType: "uint96";
907
839
  }, {
908
- readonly internalType: "bool";
909
840
  readonly name: "isActive";
910
841
  readonly type: "bool";
842
+ readonly internalType: "bool";
911
843
  }];
912
- readonly internalType: "struct QuotaInfo[]";
913
- readonly name: "quotas";
914
- readonly type: "tuple[]";
915
844
  }, {
845
+ readonly name: "lirm";
846
+ readonly type: "tuple";
847
+ readonly internalType: "struct LinearModel";
916
848
  readonly components: readonly [{
917
- readonly internalType: "address";
918
849
  readonly name: "interestModel";
919
850
  readonly type: "address";
851
+ readonly internalType: "address";
920
852
  }, {
921
- readonly internalType: "uint256";
922
853
  readonly name: "version";
923
854
  readonly type: "uint256";
855
+ readonly internalType: "uint256";
924
856
  }, {
925
- readonly internalType: "uint16";
926
857
  readonly name: "U_1";
927
858
  readonly type: "uint16";
928
- }, {
929
859
  readonly internalType: "uint16";
860
+ }, {
930
861
  readonly name: "U_2";
931
862
  readonly type: "uint16";
932
- }, {
933
863
  readonly internalType: "uint16";
864
+ }, {
934
865
  readonly name: "R_base";
935
866
  readonly type: "uint16";
936
- }, {
937
867
  readonly internalType: "uint16";
868
+ }, {
938
869
  readonly name: "R_slope1";
939
870
  readonly type: "uint16";
940
- }, {
941
871
  readonly internalType: "uint16";
872
+ }, {
942
873
  readonly name: "R_slope2";
943
874
  readonly type: "uint16";
944
- }, {
945
875
  readonly internalType: "uint16";
876
+ }, {
946
877
  readonly name: "R_slope3";
947
878
  readonly type: "uint16";
879
+ readonly internalType: "uint16";
948
880
  }, {
949
- readonly internalType: "bool";
950
881
  readonly name: "isBorrowingMoreU2Forbidden";
951
882
  readonly type: "bool";
883
+ readonly internalType: "bool";
952
884
  }];
953
- readonly internalType: "struct LinearModel";
954
- readonly name: "lirm";
955
- readonly type: "tuple";
956
885
  }, {
957
- readonly internalType: "bool";
958
886
  readonly name: "isPaused";
959
887
  readonly type: "bool";
888
+ readonly internalType: "bool";
960
889
  }];
961
- readonly internalType: "struct CreditManagerData[]";
962
- readonly name: "";
890
+ }];
891
+ readonly stateMutability: "view";
892
+ }, {
893
+ readonly type: "function";
894
+ readonly name: "getGaugesV3Data";
895
+ readonly inputs: readonly [{
896
+ readonly name: "staker";
897
+ readonly type: "address";
898
+ readonly internalType: "address";
899
+ }];
900
+ readonly outputs: readonly [{
901
+ readonly name: "result";
902
+ readonly type: "tuple[]";
903
+ readonly internalType: "struct GaugeInfo[]";
904
+ readonly components: readonly [{
905
+ readonly name: "addr";
906
+ readonly type: "address";
907
+ readonly internalType: "address";
908
+ }, {
909
+ readonly name: "pool";
910
+ readonly type: "address";
911
+ readonly internalType: "address";
912
+ }, {
913
+ readonly name: "symbol";
914
+ readonly type: "string";
915
+ readonly internalType: "string";
916
+ }, {
917
+ readonly name: "name";
918
+ readonly type: "string";
919
+ readonly internalType: "string";
920
+ }, {
921
+ readonly name: "underlying";
922
+ readonly type: "address";
923
+ readonly internalType: "address";
924
+ }, {
925
+ readonly name: "currentEpoch";
926
+ readonly type: "uint16";
927
+ readonly internalType: "uint16";
928
+ }, {
929
+ readonly name: "epochFrozen";
930
+ readonly type: "bool";
931
+ readonly internalType: "bool";
932
+ }, {
933
+ readonly name: "quotaParams";
934
+ readonly type: "tuple[]";
935
+ readonly internalType: "struct GaugeQuotaParams[]";
936
+ readonly components: readonly [{
937
+ readonly name: "token";
938
+ readonly type: "address";
939
+ readonly internalType: "address";
940
+ }, {
941
+ readonly name: "minRate";
942
+ readonly type: "uint16";
943
+ readonly internalType: "uint16";
944
+ }, {
945
+ readonly name: "maxRate";
946
+ readonly type: "uint16";
947
+ readonly internalType: "uint16";
948
+ }, {
949
+ readonly name: "totalVotesLpSide";
950
+ readonly type: "uint96";
951
+ readonly internalType: "uint96";
952
+ }, {
953
+ readonly name: "totalVotesCaSide";
954
+ readonly type: "uint96";
955
+ readonly internalType: "uint96";
956
+ }, {
957
+ readonly name: "rate";
958
+ readonly type: "uint16";
959
+ readonly internalType: "uint16";
960
+ }, {
961
+ readonly name: "quotaIncreaseFee";
962
+ readonly type: "uint16";
963
+ readonly internalType: "uint16";
964
+ }, {
965
+ readonly name: "totalQuoted";
966
+ readonly type: "uint96";
967
+ readonly internalType: "uint96";
968
+ }, {
969
+ readonly name: "limit";
970
+ readonly type: "uint96";
971
+ readonly internalType: "uint96";
972
+ }, {
973
+ readonly name: "isActive";
974
+ readonly type: "bool";
975
+ readonly internalType: "bool";
976
+ }, {
977
+ readonly name: "stakerVotesLpSide";
978
+ readonly type: "uint96";
979
+ readonly internalType: "uint96";
980
+ }, {
981
+ readonly name: "stakerVotesCaSide";
982
+ readonly type: "uint96";
983
+ readonly internalType: "uint96";
984
+ }];
985
+ }];
986
+ }];
987
+ readonly stateMutability: "view";
988
+ }, {
989
+ readonly type: "function";
990
+ readonly name: "getLiquidatableCreditAccounts";
991
+ readonly inputs: readonly [{
992
+ readonly name: "priceUpdates";
963
993
  readonly type: "tuple[]";
994
+ readonly internalType: "struct PriceOnDemand[]";
995
+ readonly components: readonly [{
996
+ readonly name: "token";
997
+ readonly type: "address";
998
+ readonly internalType: "address";
999
+ }, {
1000
+ readonly name: "callData";
1001
+ readonly type: "bytes";
1002
+ readonly internalType: "bytes";
1003
+ }];
1004
+ }];
1005
+ readonly outputs: readonly [{
1006
+ readonly name: "result";
1007
+ readonly type: "tuple[]";
1008
+ readonly internalType: "struct CreditAccountData[]";
1009
+ readonly components: readonly [{
1010
+ readonly name: "isSuccessful";
1011
+ readonly type: "bool";
1012
+ readonly internalType: "bool";
1013
+ }, {
1014
+ readonly name: "priceFeedsNeeded";
1015
+ readonly type: "address[]";
1016
+ readonly internalType: "address[]";
1017
+ }, {
1018
+ readonly name: "addr";
1019
+ readonly type: "address";
1020
+ readonly internalType: "address";
1021
+ }, {
1022
+ readonly name: "borrower";
1023
+ readonly type: "address";
1024
+ readonly internalType: "address";
1025
+ }, {
1026
+ readonly name: "creditManager";
1027
+ readonly type: "address";
1028
+ readonly internalType: "address";
1029
+ }, {
1030
+ readonly name: "cmName";
1031
+ readonly type: "string";
1032
+ readonly internalType: "string";
1033
+ }, {
1034
+ readonly name: "creditFacade";
1035
+ readonly type: "address";
1036
+ readonly internalType: "address";
1037
+ }, {
1038
+ readonly name: "underlying";
1039
+ readonly type: "address";
1040
+ readonly internalType: "address";
1041
+ }, {
1042
+ readonly name: "debt";
1043
+ readonly type: "uint256";
1044
+ readonly internalType: "uint256";
1045
+ }, {
1046
+ readonly name: "cumulativeIndexLastUpdate";
1047
+ readonly type: "uint256";
1048
+ readonly internalType: "uint256";
1049
+ }, {
1050
+ readonly name: "cumulativeQuotaInterest";
1051
+ readonly type: "uint128";
1052
+ readonly internalType: "uint128";
1053
+ }, {
1054
+ readonly name: "accruedInterest";
1055
+ readonly type: "uint256";
1056
+ readonly internalType: "uint256";
1057
+ }, {
1058
+ readonly name: "accruedFees";
1059
+ readonly type: "uint256";
1060
+ readonly internalType: "uint256";
1061
+ }, {
1062
+ readonly name: "totalDebtUSD";
1063
+ readonly type: "uint256";
1064
+ readonly internalType: "uint256";
1065
+ }, {
1066
+ readonly name: "totalValue";
1067
+ readonly type: "uint256";
1068
+ readonly internalType: "uint256";
1069
+ }, {
1070
+ readonly name: "totalValueUSD";
1071
+ readonly type: "uint256";
1072
+ readonly internalType: "uint256";
1073
+ }, {
1074
+ readonly name: "twvUSD";
1075
+ readonly type: "uint256";
1076
+ readonly internalType: "uint256";
1077
+ }, {
1078
+ readonly name: "enabledTokensMask";
1079
+ readonly type: "uint256";
1080
+ readonly internalType: "uint256";
1081
+ }, {
1082
+ readonly name: "healthFactor";
1083
+ readonly type: "uint256";
1084
+ readonly internalType: "uint256";
1085
+ }, {
1086
+ readonly name: "baseBorrowRate";
1087
+ readonly type: "uint256";
1088
+ readonly internalType: "uint256";
1089
+ }, {
1090
+ readonly name: "aggregatedBorrowRate";
1091
+ readonly type: "uint256";
1092
+ readonly internalType: "uint256";
1093
+ }, {
1094
+ readonly name: "balances";
1095
+ readonly type: "tuple[]";
1096
+ readonly internalType: "struct TokenBalance[]";
1097
+ readonly components: readonly [{
1098
+ readonly name: "token";
1099
+ readonly type: "address";
1100
+ readonly internalType: "address";
1101
+ }, {
1102
+ readonly name: "balance";
1103
+ readonly type: "uint256";
1104
+ readonly internalType: "uint256";
1105
+ }, {
1106
+ readonly name: "isForbidden";
1107
+ readonly type: "bool";
1108
+ readonly internalType: "bool";
1109
+ }, {
1110
+ readonly name: "isEnabled";
1111
+ readonly type: "bool";
1112
+ readonly internalType: "bool";
1113
+ }, {
1114
+ readonly name: "isQuoted";
1115
+ readonly type: "bool";
1116
+ readonly internalType: "bool";
1117
+ }, {
1118
+ readonly name: "quota";
1119
+ readonly type: "uint256";
1120
+ readonly internalType: "uint256";
1121
+ }, {
1122
+ readonly name: "quotaRate";
1123
+ readonly type: "uint16";
1124
+ readonly internalType: "uint16";
1125
+ }, {
1126
+ readonly name: "quotaCumulativeIndexLU";
1127
+ readonly type: "uint256";
1128
+ readonly internalType: "uint256";
1129
+ }];
1130
+ }, {
1131
+ readonly name: "since";
1132
+ readonly type: "uint64";
1133
+ readonly internalType: "uint64";
1134
+ }, {
1135
+ readonly name: "cfVersion";
1136
+ readonly type: "uint256";
1137
+ readonly internalType: "uint256";
1138
+ }, {
1139
+ readonly name: "expirationDate";
1140
+ readonly type: "uint40";
1141
+ readonly internalType: "uint40";
1142
+ }, {
1143
+ readonly name: "activeBots";
1144
+ readonly type: "address[]";
1145
+ readonly internalType: "address[]";
1146
+ }];
964
1147
  }];
965
- readonly stateMutability: "view";
966
- readonly type: "function";
1148
+ readonly stateMutability: "nonpayable";
967
1149
  }, {
1150
+ readonly type: "function";
1151
+ readonly name: "getPoolData";
968
1152
  readonly inputs: readonly [{
969
- readonly internalType: "address";
970
1153
  readonly name: "_pool";
971
1154
  readonly type: "address";
1155
+ readonly internalType: "address";
972
1156
  }];
973
- readonly name: "getPoolData";
974
1157
  readonly outputs: readonly [{
1158
+ readonly name: "";
1159
+ readonly type: "tuple";
1160
+ readonly internalType: "struct PoolData";
975
1161
  readonly components: readonly [{
976
- readonly internalType: "address";
977
1162
  readonly name: "addr";
978
1163
  readonly type: "address";
979
- }, {
980
1164
  readonly internalType: "address";
1165
+ }, {
981
1166
  readonly name: "underlying";
982
1167
  readonly type: "address";
983
- }, {
984
1168
  readonly internalType: "address";
1169
+ }, {
985
1170
  readonly name: "dieselToken";
986
1171
  readonly type: "address";
1172
+ readonly internalType: "address";
987
1173
  }, {
988
- readonly internalType: "string";
989
1174
  readonly name: "symbol";
990
1175
  readonly type: "string";
991
- }, {
992
1176
  readonly internalType: "string";
1177
+ }, {
993
1178
  readonly name: "name";
994
1179
  readonly type: "string";
1180
+ readonly internalType: "string";
995
1181
  }, {
996
- readonly internalType: "uint256";
997
- readonly name: "linearCumulativeIndex";
1182
+ readonly name: "baseInterestIndex";
998
1183
  readonly type: "uint256";
999
- }, {
1000
1184
  readonly internalType: "uint256";
1185
+ }, {
1001
1186
  readonly name: "availableLiquidity";
1002
1187
  readonly type: "uint256";
1003
- }, {
1004
1188
  readonly internalType: "uint256";
1189
+ }, {
1005
1190
  readonly name: "expectedLiquidity";
1006
1191
  readonly type: "uint256";
1007
- }, {
1008
1192
  readonly internalType: "uint256";
1193
+ }, {
1009
1194
  readonly name: "totalBorrowed";
1010
1195
  readonly type: "uint256";
1011
- }, {
1012
1196
  readonly internalType: "uint256";
1197
+ }, {
1013
1198
  readonly name: "totalDebtLimit";
1014
1199
  readonly type: "uint256";
1200
+ readonly internalType: "uint256";
1015
1201
  }, {
1202
+ readonly name: "creditManagerDebtParams";
1203
+ readonly type: "tuple[]";
1204
+ readonly internalType: "struct CreditManagerDebtParams[]";
1016
1205
  readonly components: readonly [{
1017
- readonly internalType: "address";
1018
1206
  readonly name: "creditManager";
1019
1207
  readonly type: "address";
1208
+ readonly internalType: "address";
1020
1209
  }, {
1021
- readonly internalType: "uint256";
1022
1210
  readonly name: "borrowed";
1023
1211
  readonly type: "uint256";
1024
- }, {
1025
1212
  readonly internalType: "uint256";
1213
+ }, {
1026
1214
  readonly name: "limit";
1027
1215
  readonly type: "uint256";
1028
- }, {
1029
1216
  readonly internalType: "uint256";
1217
+ }, {
1030
1218
  readonly name: "availableToBorrow";
1031
1219
  readonly type: "uint256";
1220
+ readonly internalType: "uint256";
1032
1221
  }];
1033
- readonly internalType: "struct CreditManagerDebtParams[]";
1034
- readonly name: "creditManagerDebtParams";
1035
- readonly type: "tuple[]";
1036
1222
  }, {
1037
- readonly internalType: "uint256";
1038
1223
  readonly name: "totalAssets";
1039
1224
  readonly type: "uint256";
1040
- }, {
1041
1225
  readonly internalType: "uint256";
1226
+ }, {
1042
1227
  readonly name: "totalSupply";
1043
1228
  readonly type: "uint256";
1044
- }, {
1045
1229
  readonly internalType: "uint256";
1230
+ }, {
1046
1231
  readonly name: "supplyRate";
1047
1232
  readonly type: "uint256";
1048
- }, {
1049
1233
  readonly internalType: "uint256";
1234
+ }, {
1050
1235
  readonly name: "baseInterestRate";
1051
1236
  readonly type: "uint256";
1052
- }, {
1053
1237
  readonly internalType: "uint256";
1238
+ }, {
1054
1239
  readonly name: "dieselRate_RAY";
1055
1240
  readonly type: "uint256";
1056
- }, {
1057
1241
  readonly internalType: "uint256";
1242
+ }, {
1058
1243
  readonly name: "withdrawFee";
1059
1244
  readonly type: "uint256";
1060
- }, {
1061
1245
  readonly internalType: "uint256";
1062
- readonly name: "cumulativeIndex_RAY";
1063
- readonly type: "uint256";
1064
1246
  }, {
1247
+ readonly name: "lastBaseInterestUpdate";
1248
+ readonly type: "uint256";
1065
1249
  readonly internalType: "uint256";
1250
+ }, {
1066
1251
  readonly name: "baseInterestIndexLU";
1067
1252
  readonly type: "uint256";
1068
- }, {
1069
1253
  readonly internalType: "uint256";
1254
+ }, {
1070
1255
  readonly name: "version";
1071
1256
  readonly type: "uint256";
1257
+ readonly internalType: "uint256";
1072
1258
  }, {
1073
- readonly internalType: "address";
1074
1259
  readonly name: "poolQuotaKeeper";
1075
1260
  readonly type: "address";
1076
- }, {
1077
1261
  readonly internalType: "address";
1262
+ }, {
1078
1263
  readonly name: "gauge";
1079
1264
  readonly type: "address";
1265
+ readonly internalType: "address";
1080
1266
  }, {
1267
+ readonly name: "quotas";
1268
+ readonly type: "tuple[]";
1269
+ readonly internalType: "struct QuotaInfo[]";
1081
1270
  readonly components: readonly [{
1082
- readonly internalType: "address";
1083
1271
  readonly name: "token";
1084
1272
  readonly type: "address";
1273
+ readonly internalType: "address";
1085
1274
  }, {
1086
- readonly internalType: "uint16";
1087
1275
  readonly name: "rate";
1088
1276
  readonly type: "uint16";
1089
- }, {
1090
1277
  readonly internalType: "uint16";
1278
+ }, {
1091
1279
  readonly name: "quotaIncreaseFee";
1092
1280
  readonly type: "uint16";
1281
+ readonly internalType: "uint16";
1093
1282
  }, {
1094
- readonly internalType: "uint96";
1095
1283
  readonly name: "totalQuoted";
1096
1284
  readonly type: "uint96";
1097
- }, {
1098
1285
  readonly internalType: "uint96";
1286
+ }, {
1099
1287
  readonly name: "limit";
1100
1288
  readonly type: "uint96";
1289
+ readonly internalType: "uint96";
1101
1290
  }, {
1102
- readonly internalType: "bool";
1103
1291
  readonly name: "isActive";
1104
1292
  readonly type: "bool";
1293
+ readonly internalType: "bool";
1105
1294
  }];
1106
- readonly internalType: "struct QuotaInfo[]";
1107
- readonly name: "quotas";
1108
- readonly type: "tuple[]";
1109
1295
  }, {
1296
+ readonly name: "zappers";
1297
+ readonly type: "tuple[]";
1298
+ readonly internalType: "struct ZapperInfo[]";
1110
1299
  readonly components: readonly [{
1111
- readonly internalType: "address";
1112
1300
  readonly name: "zapper";
1113
1301
  readonly type: "address";
1114
- }, {
1115
1302
  readonly internalType: "address";
1303
+ }, {
1116
1304
  readonly name: "tokenIn";
1117
1305
  readonly type: "address";
1118
- }, {
1119
1306
  readonly internalType: "address";
1307
+ }, {
1120
1308
  readonly name: "tokenOut";
1121
1309
  readonly type: "address";
1310
+ readonly internalType: "address";
1122
1311
  }];
1123
- readonly internalType: "struct ZapperInfo[]";
1124
- readonly name: "zappers";
1125
- readonly type: "tuple[]";
1126
1312
  }, {
1313
+ readonly name: "lirm";
1314
+ readonly type: "tuple";
1315
+ readonly internalType: "struct LinearModel";
1127
1316
  readonly components: readonly [{
1128
- readonly internalType: "address";
1129
1317
  readonly name: "interestModel";
1130
1318
  readonly type: "address";
1319
+ readonly internalType: "address";
1131
1320
  }, {
1132
- readonly internalType: "uint256";
1133
1321
  readonly name: "version";
1134
1322
  readonly type: "uint256";
1323
+ readonly internalType: "uint256";
1135
1324
  }, {
1136
- readonly internalType: "uint16";
1137
1325
  readonly name: "U_1";
1138
1326
  readonly type: "uint16";
1139
- }, {
1140
1327
  readonly internalType: "uint16";
1328
+ }, {
1141
1329
  readonly name: "U_2";
1142
1330
  readonly type: "uint16";
1143
- }, {
1144
1331
  readonly internalType: "uint16";
1332
+ }, {
1145
1333
  readonly name: "R_base";
1146
1334
  readonly type: "uint16";
1147
- }, {
1148
1335
  readonly internalType: "uint16";
1336
+ }, {
1149
1337
  readonly name: "R_slope1";
1150
1338
  readonly type: "uint16";
1151
- }, {
1152
1339
  readonly internalType: "uint16";
1340
+ }, {
1153
1341
  readonly name: "R_slope2";
1154
1342
  readonly type: "uint16";
1155
- }, {
1156
1343
  readonly internalType: "uint16";
1344
+ }, {
1157
1345
  readonly name: "R_slope3";
1158
1346
  readonly type: "uint16";
1347
+ readonly internalType: "uint16";
1159
1348
  }, {
1160
- readonly internalType: "bool";
1161
1349
  readonly name: "isBorrowingMoreU2Forbidden";
1162
1350
  readonly type: "bool";
1351
+ readonly internalType: "bool";
1163
1352
  }];
1164
- readonly internalType: "struct LinearModel";
1165
- readonly name: "lirm";
1166
- readonly type: "tuple";
1167
1353
  }, {
1168
- readonly internalType: "bool";
1169
1354
  readonly name: "isPaused";
1170
1355
  readonly type: "bool";
1356
+ readonly internalType: "bool";
1171
1357
  }];
1172
- readonly internalType: "struct PoolData";
1173
- readonly name: "";
1174
- readonly type: "tuple";
1175
1358
  }];
1176
1359
  readonly stateMutability: "view";
1177
- readonly type: "function";
1178
1360
  }, {
1179
- readonly inputs: readonly [];
1361
+ readonly type: "function";
1180
1362
  readonly name: "getPoolsV3List";
1363
+ readonly inputs: readonly [];
1181
1364
  readonly outputs: readonly [{
1365
+ readonly name: "";
1366
+ readonly type: "tuple[]";
1367
+ readonly internalType: "struct PoolData[]";
1182
1368
  readonly components: readonly [{
1183
- readonly internalType: "address";
1184
1369
  readonly name: "addr";
1185
1370
  readonly type: "address";
1186
- }, {
1187
1371
  readonly internalType: "address";
1372
+ }, {
1188
1373
  readonly name: "underlying";
1189
1374
  readonly type: "address";
1190
- }, {
1191
1375
  readonly internalType: "address";
1376
+ }, {
1192
1377
  readonly name: "dieselToken";
1193
1378
  readonly type: "address";
1379
+ readonly internalType: "address";
1194
1380
  }, {
1195
- readonly internalType: "string";
1196
1381
  readonly name: "symbol";
1197
1382
  readonly type: "string";
1198
- }, {
1199
1383
  readonly internalType: "string";
1384
+ }, {
1200
1385
  readonly name: "name";
1201
1386
  readonly type: "string";
1387
+ readonly internalType: "string";
1202
1388
  }, {
1203
- readonly internalType: "uint256";
1204
- readonly name: "linearCumulativeIndex";
1389
+ readonly name: "baseInterestIndex";
1205
1390
  readonly type: "uint256";
1206
- }, {
1207
1391
  readonly internalType: "uint256";
1392
+ }, {
1208
1393
  readonly name: "availableLiquidity";
1209
1394
  readonly type: "uint256";
1210
- }, {
1211
1395
  readonly internalType: "uint256";
1396
+ }, {
1212
1397
  readonly name: "expectedLiquidity";
1213
1398
  readonly type: "uint256";
1214
- }, {
1215
1399
  readonly internalType: "uint256";
1400
+ }, {
1216
1401
  readonly name: "totalBorrowed";
1217
1402
  readonly type: "uint256";
1218
- }, {
1219
1403
  readonly internalType: "uint256";
1404
+ }, {
1220
1405
  readonly name: "totalDebtLimit";
1221
1406
  readonly type: "uint256";
1407
+ readonly internalType: "uint256";
1222
1408
  }, {
1409
+ readonly name: "creditManagerDebtParams";
1410
+ readonly type: "tuple[]";
1411
+ readonly internalType: "struct CreditManagerDebtParams[]";
1223
1412
  readonly components: readonly [{
1224
- readonly internalType: "address";
1225
1413
  readonly name: "creditManager";
1226
1414
  readonly type: "address";
1415
+ readonly internalType: "address";
1227
1416
  }, {
1228
- readonly internalType: "uint256";
1229
1417
  readonly name: "borrowed";
1230
1418
  readonly type: "uint256";
1231
- }, {
1232
1419
  readonly internalType: "uint256";
1420
+ }, {
1233
1421
  readonly name: "limit";
1234
1422
  readonly type: "uint256";
1235
- }, {
1236
1423
  readonly internalType: "uint256";
1424
+ }, {
1237
1425
  readonly name: "availableToBorrow";
1238
1426
  readonly type: "uint256";
1427
+ readonly internalType: "uint256";
1239
1428
  }];
1240
- readonly internalType: "struct CreditManagerDebtParams[]";
1241
- readonly name: "creditManagerDebtParams";
1242
- readonly type: "tuple[]";
1243
1429
  }, {
1244
- readonly internalType: "uint256";
1245
1430
  readonly name: "totalAssets";
1246
1431
  readonly type: "uint256";
1247
- }, {
1248
1432
  readonly internalType: "uint256";
1433
+ }, {
1249
1434
  readonly name: "totalSupply";
1250
1435
  readonly type: "uint256";
1251
- }, {
1252
1436
  readonly internalType: "uint256";
1437
+ }, {
1253
1438
  readonly name: "supplyRate";
1254
1439
  readonly type: "uint256";
1255
- }, {
1256
1440
  readonly internalType: "uint256";
1441
+ }, {
1257
1442
  readonly name: "baseInterestRate";
1258
1443
  readonly type: "uint256";
1259
- }, {
1260
1444
  readonly internalType: "uint256";
1445
+ }, {
1261
1446
  readonly name: "dieselRate_RAY";
1262
1447
  readonly type: "uint256";
1263
- }, {
1264
1448
  readonly internalType: "uint256";
1449
+ }, {
1265
1450
  readonly name: "withdrawFee";
1266
1451
  readonly type: "uint256";
1267
- }, {
1268
1452
  readonly internalType: "uint256";
1269
- readonly name: "cumulativeIndex_RAY";
1270
- readonly type: "uint256";
1271
1453
  }, {
1454
+ readonly name: "lastBaseInterestUpdate";
1455
+ readonly type: "uint256";
1272
1456
  readonly internalType: "uint256";
1457
+ }, {
1273
1458
  readonly name: "baseInterestIndexLU";
1274
1459
  readonly type: "uint256";
1275
- }, {
1276
1460
  readonly internalType: "uint256";
1461
+ }, {
1277
1462
  readonly name: "version";
1278
1463
  readonly type: "uint256";
1464
+ readonly internalType: "uint256";
1279
1465
  }, {
1280
- readonly internalType: "address";
1281
1466
  readonly name: "poolQuotaKeeper";
1282
1467
  readonly type: "address";
1283
- }, {
1284
1468
  readonly internalType: "address";
1469
+ }, {
1285
1470
  readonly name: "gauge";
1286
1471
  readonly type: "address";
1472
+ readonly internalType: "address";
1287
1473
  }, {
1474
+ readonly name: "quotas";
1475
+ readonly type: "tuple[]";
1476
+ readonly internalType: "struct QuotaInfo[]";
1288
1477
  readonly components: readonly [{
1289
- readonly internalType: "address";
1290
1478
  readonly name: "token";
1291
1479
  readonly type: "address";
1480
+ readonly internalType: "address";
1292
1481
  }, {
1293
- readonly internalType: "uint16";
1294
1482
  readonly name: "rate";
1295
1483
  readonly type: "uint16";
1296
- }, {
1297
1484
  readonly internalType: "uint16";
1485
+ }, {
1298
1486
  readonly name: "quotaIncreaseFee";
1299
1487
  readonly type: "uint16";
1488
+ readonly internalType: "uint16";
1300
1489
  }, {
1301
- readonly internalType: "uint96";
1302
1490
  readonly name: "totalQuoted";
1303
1491
  readonly type: "uint96";
1304
- }, {
1305
1492
  readonly internalType: "uint96";
1493
+ }, {
1306
1494
  readonly name: "limit";
1307
1495
  readonly type: "uint96";
1496
+ readonly internalType: "uint96";
1308
1497
  }, {
1309
- readonly internalType: "bool";
1310
1498
  readonly name: "isActive";
1311
1499
  readonly type: "bool";
1500
+ readonly internalType: "bool";
1312
1501
  }];
1313
- readonly internalType: "struct QuotaInfo[]";
1314
- readonly name: "quotas";
1315
- readonly type: "tuple[]";
1316
1502
  }, {
1503
+ readonly name: "zappers";
1504
+ readonly type: "tuple[]";
1505
+ readonly internalType: "struct ZapperInfo[]";
1317
1506
  readonly components: readonly [{
1318
- readonly internalType: "address";
1319
1507
  readonly name: "zapper";
1320
1508
  readonly type: "address";
1321
- }, {
1322
1509
  readonly internalType: "address";
1510
+ }, {
1323
1511
  readonly name: "tokenIn";
1324
1512
  readonly type: "address";
1325
- }, {
1326
1513
  readonly internalType: "address";
1514
+ }, {
1327
1515
  readonly name: "tokenOut";
1328
1516
  readonly type: "address";
1517
+ readonly internalType: "address";
1329
1518
  }];
1330
- readonly internalType: "struct ZapperInfo[]";
1331
- readonly name: "zappers";
1332
- readonly type: "tuple[]";
1333
1519
  }, {
1520
+ readonly name: "lirm";
1521
+ readonly type: "tuple";
1522
+ readonly internalType: "struct LinearModel";
1334
1523
  readonly components: readonly [{
1335
- readonly internalType: "address";
1336
1524
  readonly name: "interestModel";
1337
1525
  readonly type: "address";
1526
+ readonly internalType: "address";
1338
1527
  }, {
1339
- readonly internalType: "uint256";
1340
1528
  readonly name: "version";
1341
1529
  readonly type: "uint256";
1530
+ readonly internalType: "uint256";
1342
1531
  }, {
1343
- readonly internalType: "uint16";
1344
1532
  readonly name: "U_1";
1345
1533
  readonly type: "uint16";
1346
- }, {
1347
1534
  readonly internalType: "uint16";
1535
+ }, {
1348
1536
  readonly name: "U_2";
1349
1537
  readonly type: "uint16";
1350
- }, {
1351
1538
  readonly internalType: "uint16";
1539
+ }, {
1352
1540
  readonly name: "R_base";
1353
1541
  readonly type: "uint16";
1354
- }, {
1355
1542
  readonly internalType: "uint16";
1543
+ }, {
1356
1544
  readonly name: "R_slope1";
1357
1545
  readonly type: "uint16";
1358
- }, {
1359
1546
  readonly internalType: "uint16";
1547
+ }, {
1360
1548
  readonly name: "R_slope2";
1361
1549
  readonly type: "uint16";
1362
- }, {
1363
1550
  readonly internalType: "uint16";
1551
+ }, {
1364
1552
  readonly name: "R_slope3";
1365
1553
  readonly type: "uint16";
1554
+ readonly internalType: "uint16";
1366
1555
  }, {
1367
- readonly internalType: "bool";
1368
1556
  readonly name: "isBorrowingMoreU2Forbidden";
1369
1557
  readonly type: "bool";
1558
+ readonly internalType: "bool";
1370
1559
  }];
1371
- readonly internalType: "struct LinearModel";
1372
- readonly name: "lirm";
1373
- readonly type: "tuple";
1374
1560
  }, {
1375
- readonly internalType: "bool";
1376
1561
  readonly name: "isPaused";
1377
1562
  readonly type: "bool";
1563
+ readonly internalType: "bool";
1378
1564
  }];
1379
- readonly internalType: "struct PoolData[]";
1380
- readonly name: "";
1381
- readonly type: "tuple[]";
1382
1565
  }];
1383
1566
  readonly stateMutability: "view";
1384
- readonly type: "function";
1385
1567
  }, {
1386
- readonly inputs: readonly [];
1568
+ readonly type: "function";
1387
1569
  readonly name: "version";
1570
+ readonly inputs: readonly [];
1388
1571
  readonly outputs: readonly [{
1389
- readonly internalType: "uint256";
1390
1572
  readonly name: "";
1391
1573
  readonly type: "uint256";
1574
+ readonly internalType: "uint256";
1392
1575
  }];
1393
1576
  readonly stateMutability: "view";
1394
- readonly type: "function";
1395
1577
  }];
1396
- static createInterface(): IDataCompressorV3_00Interface;
1397
- static connect(address: string, signerOrProvider: Signer | Provider): IDataCompressorV3_00;
1578
+ static createInterface(): IDataCompressorV3Interface;
1579
+ static connect(address: string, signerOrProvider: Signer | Provider): IDataCompressorV3;
1398
1580
  }