@gearbox-protocol/sdk 3.0.0-next.18 → 3.0.0-next.181

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