@gearbox-protocol/sdk 3.0.0-next.102 → 3.0.0-next.104

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