@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,2005 +7,2005 @@ exports.IDataCompressorV3_00__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
9
  {
10
+ type: "function",
11
+ name: "getCreditAccountData",
10
12
  inputs: [
11
13
  {
12
- internalType: "address",
13
14
  name: "creditAccount",
14
15
  type: "address",
16
+ internalType: "address",
15
17
  },
16
18
  {
19
+ name: "priceUpdates",
20
+ type: "tuple[]",
21
+ internalType: "struct PriceOnDemand[]",
17
22
  components: [
18
23
  {
19
- internalType: "address",
20
24
  name: "token",
21
25
  type: "address",
26
+ internalType: "address",
22
27
  },
23
28
  {
24
- internalType: "bytes",
25
29
  name: "callData",
26
30
  type: "bytes",
31
+ internalType: "bytes",
27
32
  },
28
33
  ],
29
- internalType: "struct PriceOnDemand[]",
30
- name: "priceUpdates",
31
- type: "tuple[]",
32
34
  },
33
35
  ],
34
- name: "getCreditAccountData",
35
36
  outputs: [
36
37
  {
38
+ name: "",
39
+ type: "tuple",
40
+ internalType: "struct CreditAccountData",
37
41
  components: [
38
42
  {
39
- internalType: "bool",
40
43
  name: "isSuccessful",
41
44
  type: "bool",
45
+ internalType: "bool",
42
46
  },
43
47
  {
44
- internalType: "address[]",
45
48
  name: "priceFeedsNeeded",
46
49
  type: "address[]",
50
+ internalType: "address[]",
47
51
  },
48
52
  {
49
- internalType: "address",
50
53
  name: "addr",
51
54
  type: "address",
55
+ internalType: "address",
52
56
  },
53
57
  {
54
- internalType: "address",
55
58
  name: "borrower",
56
59
  type: "address",
60
+ internalType: "address",
57
61
  },
58
62
  {
59
- internalType: "address",
60
63
  name: "creditManager",
61
64
  type: "address",
65
+ internalType: "address",
62
66
  },
63
67
  {
64
- internalType: "string",
65
68
  name: "cmName",
66
69
  type: "string",
70
+ internalType: "string",
67
71
  },
68
72
  {
69
- internalType: "address",
70
73
  name: "creditFacade",
71
74
  type: "address",
75
+ internalType: "address",
72
76
  },
73
77
  {
74
- internalType: "address",
75
78
  name: "underlying",
76
79
  type: "address",
80
+ internalType: "address",
77
81
  },
78
82
  {
79
- internalType: "uint256",
80
83
  name: "debt",
81
84
  type: "uint256",
85
+ internalType: "uint256",
82
86
  },
83
87
  {
84
- internalType: "uint256",
85
88
  name: "cumulativeIndexLastUpdate",
86
89
  type: "uint256",
90
+ internalType: "uint256",
87
91
  },
88
92
  {
89
- internalType: "uint128",
90
93
  name: "cumulativeQuotaInterest",
91
94
  type: "uint128",
95
+ internalType: "uint128",
92
96
  },
93
97
  {
94
- internalType: "uint256",
95
98
  name: "accruedInterest",
96
99
  type: "uint256",
100
+ internalType: "uint256",
97
101
  },
98
102
  {
99
- internalType: "uint256",
100
103
  name: "accruedFees",
101
104
  type: "uint256",
105
+ internalType: "uint256",
102
106
  },
103
107
  {
104
- internalType: "uint256",
105
108
  name: "totalDebtUSD",
106
109
  type: "uint256",
110
+ internalType: "uint256",
107
111
  },
108
112
  {
109
- internalType: "uint256",
110
113
  name: "totalValue",
111
114
  type: "uint256",
115
+ internalType: "uint256",
112
116
  },
113
117
  {
114
- internalType: "uint256",
115
118
  name: "totalValueUSD",
116
119
  type: "uint256",
120
+ internalType: "uint256",
117
121
  },
118
122
  {
119
- internalType: "uint256",
120
123
  name: "twvUSD",
121
124
  type: "uint256",
125
+ internalType: "uint256",
122
126
  },
123
127
  {
124
- internalType: "uint256",
125
128
  name: "enabledTokensMask",
126
129
  type: "uint256",
130
+ internalType: "uint256",
127
131
  },
128
132
  {
129
- internalType: "uint256",
130
133
  name: "healthFactor",
131
134
  type: "uint256",
135
+ internalType: "uint256",
132
136
  },
133
137
  {
134
- internalType: "uint256",
135
138
  name: "baseBorrowRate",
136
139
  type: "uint256",
140
+ internalType: "uint256",
137
141
  },
138
142
  {
139
- internalType: "uint256",
140
143
  name: "aggregatedBorrowRate",
141
144
  type: "uint256",
145
+ internalType: "uint256",
142
146
  },
143
147
  {
148
+ name: "balances",
149
+ type: "tuple[]",
150
+ internalType: "struct TokenBalance[]",
144
151
  components: [
145
152
  {
146
- internalType: "address",
147
153
  name: "token",
148
154
  type: "address",
155
+ internalType: "address",
149
156
  },
150
157
  {
151
- internalType: "uint256",
152
158
  name: "balance",
153
159
  type: "uint256",
160
+ internalType: "uint256",
154
161
  },
155
162
  {
156
- internalType: "bool",
157
163
  name: "isForbidden",
158
164
  type: "bool",
165
+ internalType: "bool",
159
166
  },
160
167
  {
161
- internalType: "bool",
162
168
  name: "isEnabled",
163
169
  type: "bool",
170
+ internalType: "bool",
164
171
  },
165
172
  {
166
- internalType: "bool",
167
173
  name: "isQuoted",
168
174
  type: "bool",
175
+ internalType: "bool",
169
176
  },
170
177
  {
171
- internalType: "uint256",
172
178
  name: "quota",
173
179
  type: "uint256",
180
+ internalType: "uint256",
174
181
  },
175
182
  {
176
- internalType: "uint16",
177
183
  name: "quotaRate",
178
184
  type: "uint16",
185
+ internalType: "uint16",
179
186
  },
180
187
  {
181
- internalType: "uint256",
182
188
  name: "quotaCumulativeIndexLU",
183
189
  type: "uint256",
190
+ internalType: "uint256",
184
191
  },
185
192
  ],
186
- internalType: "struct TokenBalance[]",
187
- name: "balances",
188
- type: "tuple[]",
189
193
  },
190
194
  {
191
- internalType: "uint64",
192
195
  name: "since",
193
196
  type: "uint64",
197
+ internalType: "uint64",
194
198
  },
195
199
  {
196
- internalType: "uint256",
197
200
  name: "cfVersion",
198
201
  type: "uint256",
202
+ internalType: "uint256",
199
203
  },
200
204
  {
201
- internalType: "uint40",
202
205
  name: "expirationDate",
203
206
  type: "uint40",
207
+ internalType: "uint40",
204
208
  },
205
209
  {
206
- internalType: "address[]",
207
210
  name: "activeBots",
208
211
  type: "address[]",
212
+ internalType: "address[]",
209
213
  },
210
214
  ],
211
- internalType: "struct CreditAccountData",
212
- name: "",
213
- type: "tuple",
214
215
  },
215
216
  ],
216
217
  stateMutability: "nonpayable",
217
- type: "function",
218
218
  },
219
219
  {
220
+ type: "function",
221
+ name: "getCreditAccountsByBorrower",
220
222
  inputs: [
221
223
  {
222
- internalType: "address",
223
224
  name: "borrower",
224
225
  type: "address",
226
+ internalType: "address",
225
227
  },
226
228
  {
229
+ name: "priceUpdates",
230
+ type: "tuple[]",
231
+ internalType: "struct PriceOnDemand[]",
227
232
  components: [
228
233
  {
229
- internalType: "address",
230
234
  name: "token",
231
235
  type: "address",
236
+ internalType: "address",
232
237
  },
233
238
  {
234
- internalType: "bytes",
235
239
  name: "callData",
236
240
  type: "bytes",
241
+ internalType: "bytes",
237
242
  },
238
243
  ],
239
- internalType: "struct PriceOnDemand[]",
240
- name: "priceUpdates",
241
- type: "tuple[]",
242
244
  },
243
245
  ],
244
- name: "getCreditAccountsByBorrower",
245
246
  outputs: [
246
247
  {
248
+ name: "",
249
+ type: "tuple[]",
250
+ internalType: "struct CreditAccountData[]",
247
251
  components: [
248
252
  {
249
- internalType: "bool",
250
253
  name: "isSuccessful",
251
254
  type: "bool",
255
+ internalType: "bool",
252
256
  },
253
257
  {
254
- internalType: "address[]",
255
258
  name: "priceFeedsNeeded",
256
259
  type: "address[]",
260
+ internalType: "address[]",
257
261
  },
258
262
  {
259
- internalType: "address",
260
263
  name: "addr",
261
264
  type: "address",
265
+ internalType: "address",
262
266
  },
263
267
  {
264
- internalType: "address",
265
268
  name: "borrower",
266
269
  type: "address",
270
+ internalType: "address",
267
271
  },
268
272
  {
269
- internalType: "address",
270
273
  name: "creditManager",
271
274
  type: "address",
275
+ internalType: "address",
272
276
  },
273
277
  {
274
- internalType: "string",
275
278
  name: "cmName",
276
279
  type: "string",
280
+ internalType: "string",
277
281
  },
278
282
  {
279
- internalType: "address",
280
283
  name: "creditFacade",
281
284
  type: "address",
285
+ internalType: "address",
282
286
  },
283
287
  {
284
- internalType: "address",
285
288
  name: "underlying",
286
289
  type: "address",
290
+ internalType: "address",
287
291
  },
288
292
  {
289
- internalType: "uint256",
290
293
  name: "debt",
291
294
  type: "uint256",
295
+ internalType: "uint256",
292
296
  },
293
297
  {
294
- internalType: "uint256",
295
298
  name: "cumulativeIndexLastUpdate",
296
299
  type: "uint256",
300
+ internalType: "uint256",
297
301
  },
298
302
  {
299
- internalType: "uint128",
300
303
  name: "cumulativeQuotaInterest",
301
304
  type: "uint128",
305
+ internalType: "uint128",
302
306
  },
303
307
  {
304
- internalType: "uint256",
305
308
  name: "accruedInterest",
306
309
  type: "uint256",
310
+ internalType: "uint256",
307
311
  },
308
312
  {
309
- internalType: "uint256",
310
313
  name: "accruedFees",
311
314
  type: "uint256",
315
+ internalType: "uint256",
312
316
  },
313
317
  {
314
- internalType: "uint256",
315
318
  name: "totalDebtUSD",
316
319
  type: "uint256",
320
+ internalType: "uint256",
317
321
  },
318
322
  {
319
- internalType: "uint256",
320
323
  name: "totalValue",
321
324
  type: "uint256",
325
+ internalType: "uint256",
322
326
  },
323
327
  {
324
- internalType: "uint256",
325
328
  name: "totalValueUSD",
326
329
  type: "uint256",
330
+ internalType: "uint256",
327
331
  },
328
332
  {
329
- internalType: "uint256",
330
333
  name: "twvUSD",
331
334
  type: "uint256",
335
+ internalType: "uint256",
332
336
  },
333
337
  {
334
- internalType: "uint256",
335
338
  name: "enabledTokensMask",
336
339
  type: "uint256",
340
+ internalType: "uint256",
337
341
  },
338
342
  {
339
- internalType: "uint256",
340
343
  name: "healthFactor",
341
344
  type: "uint256",
345
+ internalType: "uint256",
342
346
  },
343
347
  {
344
- internalType: "uint256",
345
348
  name: "baseBorrowRate",
346
349
  type: "uint256",
350
+ internalType: "uint256",
347
351
  },
348
352
  {
349
- internalType: "uint256",
350
353
  name: "aggregatedBorrowRate",
351
354
  type: "uint256",
355
+ internalType: "uint256",
352
356
  },
353
357
  {
358
+ name: "balances",
359
+ type: "tuple[]",
360
+ internalType: "struct TokenBalance[]",
354
361
  components: [
355
362
  {
356
- internalType: "address",
357
363
  name: "token",
358
364
  type: "address",
365
+ internalType: "address",
359
366
  },
360
367
  {
361
- internalType: "uint256",
362
368
  name: "balance",
363
369
  type: "uint256",
370
+ internalType: "uint256",
364
371
  },
365
372
  {
366
- internalType: "bool",
367
373
  name: "isForbidden",
368
374
  type: "bool",
375
+ internalType: "bool",
369
376
  },
370
377
  {
371
- internalType: "bool",
372
378
  name: "isEnabled",
373
379
  type: "bool",
380
+ internalType: "bool",
374
381
  },
375
382
  {
376
- internalType: "bool",
377
383
  name: "isQuoted",
378
384
  type: "bool",
385
+ internalType: "bool",
379
386
  },
380
387
  {
381
- internalType: "uint256",
382
388
  name: "quota",
383
389
  type: "uint256",
390
+ internalType: "uint256",
384
391
  },
385
392
  {
386
- internalType: "uint16",
387
393
  name: "quotaRate",
388
394
  type: "uint16",
395
+ internalType: "uint16",
389
396
  },
390
397
  {
391
- internalType: "uint256",
392
398
  name: "quotaCumulativeIndexLU",
393
399
  type: "uint256",
400
+ internalType: "uint256",
394
401
  },
395
402
  ],
396
- internalType: "struct TokenBalance[]",
397
- name: "balances",
398
- type: "tuple[]",
399
403
  },
400
404
  {
401
- internalType: "uint64",
402
405
  name: "since",
403
406
  type: "uint64",
407
+ internalType: "uint64",
404
408
  },
405
409
  {
406
- internalType: "uint256",
407
410
  name: "cfVersion",
408
411
  type: "uint256",
412
+ internalType: "uint256",
409
413
  },
410
414
  {
411
- internalType: "uint40",
412
415
  name: "expirationDate",
413
416
  type: "uint40",
417
+ internalType: "uint40",
414
418
  },
415
419
  {
416
- internalType: "address[]",
417
420
  name: "activeBots",
418
421
  type: "address[]",
422
+ internalType: "address[]",
419
423
  },
420
424
  ],
421
- internalType: "struct CreditAccountData[]",
422
- name: "",
423
- type: "tuple[]",
424
425
  },
425
426
  ],
426
427
  stateMutability: "nonpayable",
427
- type: "function",
428
428
  },
429
429
  {
430
+ type: "function",
431
+ name: "getCreditAccountsByCreditManager",
430
432
  inputs: [
431
433
  {
432
- internalType: "address",
433
434
  name: "creditManager",
434
435
  type: "address",
436
+ internalType: "address",
435
437
  },
436
438
  {
439
+ name: "priceUpdates",
440
+ type: "tuple[]",
441
+ internalType: "struct PriceOnDemand[]",
437
442
  components: [
438
443
  {
439
- internalType: "address",
440
444
  name: "token",
441
445
  type: "address",
446
+ internalType: "address",
442
447
  },
443
448
  {
444
- internalType: "bytes",
445
449
  name: "callData",
446
450
  type: "bytes",
451
+ internalType: "bytes",
447
452
  },
448
453
  ],
449
- internalType: "struct PriceOnDemand[]",
450
- name: "priceUpdates",
451
- type: "tuple[]",
452
454
  },
453
455
  ],
454
- name: "getCreditAccountsByCreditManager",
455
456
  outputs: [
456
457
  {
458
+ name: "",
459
+ type: "tuple[]",
460
+ internalType: "struct CreditAccountData[]",
457
461
  components: [
458
462
  {
459
- internalType: "bool",
460
463
  name: "isSuccessful",
461
464
  type: "bool",
465
+ internalType: "bool",
462
466
  },
463
467
  {
464
- internalType: "address[]",
465
468
  name: "priceFeedsNeeded",
466
469
  type: "address[]",
470
+ internalType: "address[]",
467
471
  },
468
472
  {
469
- internalType: "address",
470
473
  name: "addr",
471
474
  type: "address",
475
+ internalType: "address",
472
476
  },
473
477
  {
474
- internalType: "address",
475
478
  name: "borrower",
476
479
  type: "address",
480
+ internalType: "address",
477
481
  },
478
482
  {
479
- internalType: "address",
480
483
  name: "creditManager",
481
484
  type: "address",
485
+ internalType: "address",
482
486
  },
483
487
  {
484
- internalType: "string",
485
488
  name: "cmName",
486
489
  type: "string",
490
+ internalType: "string",
487
491
  },
488
492
  {
489
- internalType: "address",
490
493
  name: "creditFacade",
491
494
  type: "address",
495
+ internalType: "address",
492
496
  },
493
497
  {
494
- internalType: "address",
495
498
  name: "underlying",
496
499
  type: "address",
500
+ internalType: "address",
497
501
  },
498
502
  {
499
- internalType: "uint256",
500
503
  name: "debt",
501
504
  type: "uint256",
505
+ internalType: "uint256",
502
506
  },
503
507
  {
504
- internalType: "uint256",
505
508
  name: "cumulativeIndexLastUpdate",
506
509
  type: "uint256",
510
+ internalType: "uint256",
507
511
  },
508
512
  {
509
- internalType: "uint128",
510
513
  name: "cumulativeQuotaInterest",
511
514
  type: "uint128",
515
+ internalType: "uint128",
512
516
  },
513
517
  {
514
- internalType: "uint256",
515
518
  name: "accruedInterest",
516
519
  type: "uint256",
520
+ internalType: "uint256",
517
521
  },
518
522
  {
519
- internalType: "uint256",
520
523
  name: "accruedFees",
521
524
  type: "uint256",
525
+ internalType: "uint256",
522
526
  },
523
527
  {
524
- internalType: "uint256",
525
528
  name: "totalDebtUSD",
526
529
  type: "uint256",
530
+ internalType: "uint256",
527
531
  },
528
532
  {
529
- internalType: "uint256",
530
533
  name: "totalValue",
531
534
  type: "uint256",
535
+ internalType: "uint256",
532
536
  },
533
537
  {
534
- internalType: "uint256",
535
538
  name: "totalValueUSD",
536
539
  type: "uint256",
540
+ internalType: "uint256",
537
541
  },
538
542
  {
539
- internalType: "uint256",
540
543
  name: "twvUSD",
541
544
  type: "uint256",
545
+ internalType: "uint256",
542
546
  },
543
547
  {
544
- internalType: "uint256",
545
548
  name: "enabledTokensMask",
546
549
  type: "uint256",
550
+ internalType: "uint256",
547
551
  },
548
552
  {
549
- internalType: "uint256",
550
553
  name: "healthFactor",
551
554
  type: "uint256",
555
+ internalType: "uint256",
552
556
  },
553
557
  {
554
- internalType: "uint256",
555
558
  name: "baseBorrowRate",
556
559
  type: "uint256",
560
+ internalType: "uint256",
557
561
  },
558
562
  {
559
- internalType: "uint256",
560
563
  name: "aggregatedBorrowRate",
561
564
  type: "uint256",
565
+ internalType: "uint256",
562
566
  },
563
567
  {
568
+ name: "balances",
569
+ type: "tuple[]",
570
+ internalType: "struct TokenBalance[]",
564
571
  components: [
565
572
  {
566
- internalType: "address",
567
573
  name: "token",
568
574
  type: "address",
575
+ internalType: "address",
569
576
  },
570
577
  {
571
- internalType: "uint256",
572
578
  name: "balance",
573
579
  type: "uint256",
580
+ internalType: "uint256",
574
581
  },
575
582
  {
576
- internalType: "bool",
577
583
  name: "isForbidden",
578
584
  type: "bool",
585
+ internalType: "bool",
579
586
  },
580
587
  {
581
- internalType: "bool",
582
588
  name: "isEnabled",
583
589
  type: "bool",
590
+ internalType: "bool",
584
591
  },
585
592
  {
586
- internalType: "bool",
587
593
  name: "isQuoted",
588
594
  type: "bool",
595
+ internalType: "bool",
589
596
  },
590
597
  {
591
- internalType: "uint256",
592
598
  name: "quota",
593
599
  type: "uint256",
600
+ internalType: "uint256",
594
601
  },
595
602
  {
596
- internalType: "uint16",
597
603
  name: "quotaRate",
598
604
  type: "uint16",
605
+ internalType: "uint16",
599
606
  },
600
607
  {
601
- internalType: "uint256",
602
608
  name: "quotaCumulativeIndexLU",
603
609
  type: "uint256",
610
+ internalType: "uint256",
604
611
  },
605
612
  ],
606
- internalType: "struct TokenBalance[]",
607
- name: "balances",
608
- type: "tuple[]",
609
613
  },
610
614
  {
611
- internalType: "uint64",
612
615
  name: "since",
613
616
  type: "uint64",
617
+ internalType: "uint64",
614
618
  },
615
619
  {
616
- internalType: "uint256",
617
620
  name: "cfVersion",
618
621
  type: "uint256",
622
+ internalType: "uint256",
619
623
  },
620
624
  {
621
- internalType: "uint40",
622
625
  name: "expirationDate",
623
626
  type: "uint40",
627
+ internalType: "uint40",
624
628
  },
625
629
  {
626
- internalType: "address[]",
627
630
  name: "activeBots",
628
631
  type: "address[]",
632
+ internalType: "address[]",
629
633
  },
630
634
  ],
631
- internalType: "struct CreditAccountData[]",
632
- name: "",
633
- type: "tuple[]",
634
635
  },
635
636
  ],
636
637
  stateMutability: "nonpayable",
637
- type: "function",
638
638
  },
639
639
  {
640
+ type: "function",
641
+ name: "getCreditManagerData",
640
642
  inputs: [
641
643
  {
642
- internalType: "address",
643
644
  name: "creditManager",
644
645
  type: "address",
646
+ internalType: "address",
645
647
  },
646
648
  ],
647
- name: "getCreditManagerData",
648
649
  outputs: [
649
650
  {
651
+ name: "",
652
+ type: "tuple",
653
+ internalType: "struct CreditManagerData",
650
654
  components: [
651
655
  {
652
- internalType: "address",
653
656
  name: "addr",
654
657
  type: "address",
658
+ internalType: "address",
655
659
  },
656
660
  {
657
- internalType: "string",
658
661
  name: "name",
659
662
  type: "string",
663
+ internalType: "string",
660
664
  },
661
665
  {
662
- internalType: "uint256",
663
666
  name: "cfVersion",
664
667
  type: "uint256",
668
+ internalType: "uint256",
665
669
  },
666
670
  {
667
- internalType: "address",
668
671
  name: "creditFacade",
669
672
  type: "address",
673
+ internalType: "address",
670
674
  },
671
675
  {
672
- internalType: "address",
673
676
  name: "creditConfigurator",
674
677
  type: "address",
678
+ internalType: "address",
675
679
  },
676
680
  {
677
- internalType: "address",
678
681
  name: "underlying",
679
682
  type: "address",
683
+ internalType: "address",
680
684
  },
681
685
  {
682
- internalType: "address",
683
686
  name: "pool",
684
687
  type: "address",
688
+ internalType: "address",
685
689
  },
686
690
  {
687
- internalType: "uint256",
688
691
  name: "totalDebt",
689
692
  type: "uint256",
693
+ internalType: "uint256",
690
694
  },
691
695
  {
692
- internalType: "uint256",
693
696
  name: "totalDebtLimit",
694
697
  type: "uint256",
698
+ internalType: "uint256",
695
699
  },
696
700
  {
697
- internalType: "uint256",
698
701
  name: "baseBorrowRate",
699
702
  type: "uint256",
703
+ internalType: "uint256",
700
704
  },
701
705
  {
702
- internalType: "uint256",
703
706
  name: "minDebt",
704
707
  type: "uint256",
708
+ internalType: "uint256",
705
709
  },
706
710
  {
707
- internalType: "uint256",
708
711
  name: "maxDebt",
709
712
  type: "uint256",
713
+ internalType: "uint256",
710
714
  },
711
715
  {
712
- internalType: "uint256",
713
716
  name: "availableToBorrow",
714
717
  type: "uint256",
718
+ internalType: "uint256",
715
719
  },
716
720
  {
717
- internalType: "address[]",
718
721
  name: "collateralTokens",
719
722
  type: "address[]",
723
+ internalType: "address[]",
720
724
  },
721
725
  {
726
+ name: "adapters",
727
+ type: "tuple[]",
728
+ internalType: "struct ContractAdapter[]",
722
729
  components: [
723
730
  {
724
- internalType: "address",
725
731
  name: "targetContract",
726
732
  type: "address",
733
+ internalType: "address",
727
734
  },
728
735
  {
729
- internalType: "address",
730
736
  name: "adapter",
731
737
  type: "address",
738
+ internalType: "address",
732
739
  },
733
740
  ],
734
- internalType: "struct ContractAdapter[]",
735
- name: "adapters",
736
- type: "tuple[]",
737
741
  },
738
742
  {
739
- internalType: "uint256[]",
740
743
  name: "liquidationThresholds",
741
744
  type: "uint256[]",
745
+ internalType: "uint256[]",
742
746
  },
743
747
  {
744
- internalType: "bool",
745
748
  name: "isDegenMode",
746
749
  type: "bool",
750
+ internalType: "bool",
747
751
  },
748
752
  {
749
- internalType: "address",
750
753
  name: "degenNFT",
751
754
  type: "address",
755
+ internalType: "address",
752
756
  },
753
757
  {
754
- internalType: "uint256",
755
758
  name: "forbiddenTokenMask",
756
759
  type: "uint256",
760
+ internalType: "uint256",
757
761
  },
758
762
  {
759
- internalType: "uint8",
760
763
  name: "maxEnabledTokensLength",
761
764
  type: "uint8",
765
+ internalType: "uint8",
762
766
  },
763
767
  {
764
- internalType: "uint16",
765
768
  name: "feeInterest",
766
769
  type: "uint16",
770
+ internalType: "uint16",
767
771
  },
768
772
  {
769
- internalType: "uint16",
770
773
  name: "feeLiquidation",
771
774
  type: "uint16",
775
+ internalType: "uint16",
772
776
  },
773
777
  {
774
- internalType: "uint16",
775
778
  name: "liquidationDiscount",
776
779
  type: "uint16",
780
+ internalType: "uint16",
777
781
  },
778
782
  {
779
- internalType: "uint16",
780
783
  name: "feeLiquidationExpired",
781
784
  type: "uint16",
785
+ internalType: "uint16",
782
786
  },
783
787
  {
784
- internalType: "uint16",
785
788
  name: "liquidationDiscountExpired",
786
789
  type: "uint16",
790
+ internalType: "uint16",
787
791
  },
788
792
  {
793
+ name: "quotas",
794
+ type: "tuple[]",
795
+ internalType: "struct QuotaInfo[]",
789
796
  components: [
790
797
  {
791
- internalType: "address",
792
798
  name: "token",
793
799
  type: "address",
800
+ internalType: "address",
794
801
  },
795
802
  {
796
- internalType: "uint16",
797
803
  name: "rate",
798
804
  type: "uint16",
805
+ internalType: "uint16",
799
806
  },
800
807
  {
801
- internalType: "uint16",
802
808
  name: "quotaIncreaseFee",
803
809
  type: "uint16",
810
+ internalType: "uint16",
804
811
  },
805
812
  {
806
- internalType: "uint96",
807
813
  name: "totalQuoted",
808
814
  type: "uint96",
815
+ internalType: "uint96",
809
816
  },
810
817
  {
811
- internalType: "uint96",
812
818
  name: "limit",
813
819
  type: "uint96",
820
+ internalType: "uint96",
814
821
  },
815
822
  {
816
- internalType: "bool",
817
823
  name: "isActive",
818
824
  type: "bool",
825
+ internalType: "bool",
819
826
  },
820
827
  ],
821
- internalType: "struct QuotaInfo[]",
822
- name: "quotas",
823
- type: "tuple[]",
824
828
  },
825
829
  {
830
+ name: "lirm",
831
+ type: "tuple",
832
+ internalType: "struct LinearModel",
826
833
  components: [
827
834
  {
828
- internalType: "address",
829
835
  name: "interestModel",
830
836
  type: "address",
837
+ internalType: "address",
831
838
  },
832
839
  {
833
- internalType: "uint256",
834
840
  name: "version",
835
841
  type: "uint256",
842
+ internalType: "uint256",
836
843
  },
837
844
  {
838
- internalType: "uint16",
839
845
  name: "U_1",
840
846
  type: "uint16",
847
+ internalType: "uint16",
841
848
  },
842
849
  {
843
- internalType: "uint16",
844
850
  name: "U_2",
845
851
  type: "uint16",
852
+ internalType: "uint16",
846
853
  },
847
854
  {
848
- internalType: "uint16",
849
855
  name: "R_base",
850
856
  type: "uint16",
857
+ internalType: "uint16",
851
858
  },
852
859
  {
853
- internalType: "uint16",
854
860
  name: "R_slope1",
855
861
  type: "uint16",
862
+ internalType: "uint16",
856
863
  },
857
864
  {
858
- internalType: "uint16",
859
865
  name: "R_slope2",
860
866
  type: "uint16",
867
+ internalType: "uint16",
861
868
  },
862
869
  {
863
- internalType: "uint16",
864
870
  name: "R_slope3",
865
871
  type: "uint16",
872
+ internalType: "uint16",
866
873
  },
867
874
  {
868
- internalType: "bool",
869
875
  name: "isBorrowingMoreU2Forbidden",
870
876
  type: "bool",
877
+ internalType: "bool",
871
878
  },
872
879
  ],
873
- internalType: "struct LinearModel",
874
- name: "lirm",
875
- type: "tuple",
876
880
  },
877
881
  {
878
- internalType: "bool",
879
882
  name: "isPaused",
880
883
  type: "bool",
884
+ internalType: "bool",
881
885
  },
882
886
  ],
883
- internalType: "struct CreditManagerData",
884
- name: "",
885
- type: "tuple",
886
887
  },
887
888
  ],
888
889
  stateMutability: "view",
889
- type: "function",
890
890
  },
891
891
  {
892
- inputs: [],
892
+ type: "function",
893
893
  name: "getCreditManagersV3List",
894
+ inputs: [],
894
895
  outputs: [
895
896
  {
897
+ name: "",
898
+ type: "tuple[]",
899
+ internalType: "struct CreditManagerData[]",
896
900
  components: [
897
901
  {
898
- internalType: "address",
899
902
  name: "addr",
900
903
  type: "address",
904
+ internalType: "address",
901
905
  },
902
906
  {
903
- internalType: "string",
904
907
  name: "name",
905
908
  type: "string",
909
+ internalType: "string",
906
910
  },
907
911
  {
908
- internalType: "uint256",
909
912
  name: "cfVersion",
910
913
  type: "uint256",
914
+ internalType: "uint256",
911
915
  },
912
916
  {
913
- internalType: "address",
914
917
  name: "creditFacade",
915
918
  type: "address",
919
+ internalType: "address",
916
920
  },
917
921
  {
918
- internalType: "address",
919
922
  name: "creditConfigurator",
920
923
  type: "address",
924
+ internalType: "address",
921
925
  },
922
926
  {
923
- internalType: "address",
924
927
  name: "underlying",
925
928
  type: "address",
929
+ internalType: "address",
926
930
  },
927
931
  {
928
- internalType: "address",
929
932
  name: "pool",
930
933
  type: "address",
934
+ internalType: "address",
931
935
  },
932
936
  {
933
- internalType: "uint256",
934
937
  name: "totalDebt",
935
938
  type: "uint256",
939
+ internalType: "uint256",
936
940
  },
937
941
  {
938
- internalType: "uint256",
939
942
  name: "totalDebtLimit",
940
943
  type: "uint256",
944
+ internalType: "uint256",
941
945
  },
942
946
  {
943
- internalType: "uint256",
944
947
  name: "baseBorrowRate",
945
948
  type: "uint256",
949
+ internalType: "uint256",
946
950
  },
947
951
  {
948
- internalType: "uint256",
949
952
  name: "minDebt",
950
953
  type: "uint256",
954
+ internalType: "uint256",
951
955
  },
952
956
  {
953
- internalType: "uint256",
954
957
  name: "maxDebt",
955
958
  type: "uint256",
959
+ internalType: "uint256",
956
960
  },
957
961
  {
958
- internalType: "uint256",
959
962
  name: "availableToBorrow",
960
963
  type: "uint256",
964
+ internalType: "uint256",
961
965
  },
962
966
  {
963
- internalType: "address[]",
964
967
  name: "collateralTokens",
965
968
  type: "address[]",
969
+ internalType: "address[]",
966
970
  },
967
971
  {
972
+ name: "adapters",
973
+ type: "tuple[]",
974
+ internalType: "struct ContractAdapter[]",
968
975
  components: [
969
976
  {
970
- internalType: "address",
971
977
  name: "targetContract",
972
978
  type: "address",
979
+ internalType: "address",
973
980
  },
974
981
  {
975
- internalType: "address",
976
982
  name: "adapter",
977
983
  type: "address",
984
+ internalType: "address",
978
985
  },
979
986
  ],
980
- internalType: "struct ContractAdapter[]",
981
- name: "adapters",
982
- type: "tuple[]",
983
987
  },
984
988
  {
985
- internalType: "uint256[]",
986
989
  name: "liquidationThresholds",
987
990
  type: "uint256[]",
991
+ internalType: "uint256[]",
988
992
  },
989
993
  {
990
- internalType: "bool",
991
994
  name: "isDegenMode",
992
995
  type: "bool",
996
+ internalType: "bool",
993
997
  },
994
998
  {
995
- internalType: "address",
996
999
  name: "degenNFT",
997
1000
  type: "address",
1001
+ internalType: "address",
998
1002
  },
999
1003
  {
1000
- internalType: "uint256",
1001
1004
  name: "forbiddenTokenMask",
1002
1005
  type: "uint256",
1006
+ internalType: "uint256",
1003
1007
  },
1004
1008
  {
1005
- internalType: "uint8",
1006
1009
  name: "maxEnabledTokensLength",
1007
1010
  type: "uint8",
1011
+ internalType: "uint8",
1008
1012
  },
1009
1013
  {
1010
- internalType: "uint16",
1011
1014
  name: "feeInterest",
1012
1015
  type: "uint16",
1016
+ internalType: "uint16",
1013
1017
  },
1014
1018
  {
1015
- internalType: "uint16",
1016
1019
  name: "feeLiquidation",
1017
1020
  type: "uint16",
1021
+ internalType: "uint16",
1018
1022
  },
1019
1023
  {
1020
- internalType: "uint16",
1021
1024
  name: "liquidationDiscount",
1022
1025
  type: "uint16",
1026
+ internalType: "uint16",
1023
1027
  },
1024
1028
  {
1025
- internalType: "uint16",
1026
1029
  name: "feeLiquidationExpired",
1027
1030
  type: "uint16",
1031
+ internalType: "uint16",
1028
1032
  },
1029
1033
  {
1030
- internalType: "uint16",
1031
1034
  name: "liquidationDiscountExpired",
1032
1035
  type: "uint16",
1036
+ internalType: "uint16",
1033
1037
  },
1034
1038
  {
1039
+ name: "quotas",
1040
+ type: "tuple[]",
1041
+ internalType: "struct QuotaInfo[]",
1035
1042
  components: [
1036
1043
  {
1037
- internalType: "address",
1038
1044
  name: "token",
1039
1045
  type: "address",
1046
+ internalType: "address",
1040
1047
  },
1041
1048
  {
1042
- internalType: "uint16",
1043
1049
  name: "rate",
1044
1050
  type: "uint16",
1051
+ internalType: "uint16",
1045
1052
  },
1046
1053
  {
1047
- internalType: "uint16",
1048
1054
  name: "quotaIncreaseFee",
1049
1055
  type: "uint16",
1056
+ internalType: "uint16",
1050
1057
  },
1051
1058
  {
1052
- internalType: "uint96",
1053
1059
  name: "totalQuoted",
1054
1060
  type: "uint96",
1061
+ internalType: "uint96",
1055
1062
  },
1056
1063
  {
1057
- internalType: "uint96",
1058
1064
  name: "limit",
1059
1065
  type: "uint96",
1066
+ internalType: "uint96",
1060
1067
  },
1061
1068
  {
1062
- internalType: "bool",
1063
1069
  name: "isActive",
1064
1070
  type: "bool",
1071
+ internalType: "bool",
1065
1072
  },
1066
1073
  ],
1067
- internalType: "struct QuotaInfo[]",
1068
- name: "quotas",
1069
- type: "tuple[]",
1070
1074
  },
1071
1075
  {
1076
+ name: "lirm",
1077
+ type: "tuple",
1078
+ internalType: "struct LinearModel",
1072
1079
  components: [
1073
1080
  {
1074
- internalType: "address",
1075
1081
  name: "interestModel",
1076
1082
  type: "address",
1083
+ internalType: "address",
1077
1084
  },
1078
1085
  {
1079
- internalType: "uint256",
1080
1086
  name: "version",
1081
1087
  type: "uint256",
1088
+ internalType: "uint256",
1082
1089
  },
1083
1090
  {
1084
- internalType: "uint16",
1085
1091
  name: "U_1",
1086
1092
  type: "uint16",
1093
+ internalType: "uint16",
1087
1094
  },
1088
1095
  {
1089
- internalType: "uint16",
1090
1096
  name: "U_2",
1091
1097
  type: "uint16",
1098
+ internalType: "uint16",
1092
1099
  },
1093
1100
  {
1094
- internalType: "uint16",
1095
1101
  name: "R_base",
1096
1102
  type: "uint16",
1103
+ internalType: "uint16",
1097
1104
  },
1098
1105
  {
1099
- internalType: "uint16",
1100
1106
  name: "R_slope1",
1101
1107
  type: "uint16",
1108
+ internalType: "uint16",
1102
1109
  },
1103
1110
  {
1104
- internalType: "uint16",
1105
1111
  name: "R_slope2",
1106
1112
  type: "uint16",
1113
+ internalType: "uint16",
1107
1114
  },
1108
1115
  {
1109
- internalType: "uint16",
1110
1116
  name: "R_slope3",
1111
1117
  type: "uint16",
1118
+ internalType: "uint16",
1112
1119
  },
1113
1120
  {
1114
- internalType: "bool",
1115
1121
  name: "isBorrowingMoreU2Forbidden",
1116
1122
  type: "bool",
1123
+ internalType: "bool",
1117
1124
  },
1118
1125
  ],
1119
- internalType: "struct LinearModel",
1120
- name: "lirm",
1121
- type: "tuple",
1122
1126
  },
1123
1127
  {
1124
- internalType: "bool",
1125
1128
  name: "isPaused",
1126
1129
  type: "bool",
1130
+ internalType: "bool",
1127
1131
  },
1128
1132
  ],
1129
- internalType: "struct CreditManagerData[]",
1130
- name: "",
1131
- type: "tuple[]",
1132
1133
  },
1133
1134
  ],
1134
1135
  stateMutability: "view",
1135
- type: "function",
1136
1136
  },
1137
1137
  {
1138
+ type: "function",
1139
+ name: "getGaugesV3Data",
1138
1140
  inputs: [
1139
1141
  {
1140
- internalType: "address",
1141
1142
  name: "staker",
1142
1143
  type: "address",
1144
+ internalType: "address",
1143
1145
  },
1144
1146
  ],
1145
- name: "getGaugesV3Data",
1146
1147
  outputs: [
1147
1148
  {
1149
+ name: "result",
1150
+ type: "tuple[]",
1151
+ internalType: "struct GaugeInfo[]",
1148
1152
  components: [
1149
1153
  {
1150
- internalType: "address",
1151
1154
  name: "addr",
1152
1155
  type: "address",
1156
+ internalType: "address",
1153
1157
  },
1154
1158
  {
1155
- internalType: "address",
1156
1159
  name: "pool",
1157
1160
  type: "address",
1161
+ internalType: "address",
1158
1162
  },
1159
1163
  {
1160
- internalType: "string",
1161
1164
  name: "symbol",
1162
1165
  type: "string",
1166
+ internalType: "string",
1163
1167
  },
1164
1168
  {
1165
- internalType: "string",
1166
1169
  name: "name",
1167
1170
  type: "string",
1171
+ internalType: "string",
1168
1172
  },
1169
1173
  {
1170
- internalType: "address",
1171
1174
  name: "underlying",
1172
1175
  type: "address",
1176
+ internalType: "address",
1173
1177
  },
1174
1178
  {
1175
- internalType: "uint16",
1176
1179
  name: "currentEpoch",
1177
1180
  type: "uint16",
1181
+ internalType: "uint16",
1178
1182
  },
1179
1183
  {
1180
- internalType: "bool",
1181
1184
  name: "epochFrozen",
1182
1185
  type: "bool",
1186
+ internalType: "bool",
1183
1187
  },
1184
1188
  {
1189
+ name: "quotaParams",
1190
+ type: "tuple[]",
1191
+ internalType: "struct GaugeQuotaParams[]",
1185
1192
  components: [
1186
1193
  {
1187
- internalType: "address",
1188
1194
  name: "token",
1189
1195
  type: "address",
1196
+ internalType: "address",
1190
1197
  },
1191
1198
  {
1192
- internalType: "uint16",
1193
1199
  name: "minRate",
1194
1200
  type: "uint16",
1201
+ internalType: "uint16",
1195
1202
  },
1196
1203
  {
1197
- internalType: "uint16",
1198
1204
  name: "maxRate",
1199
1205
  type: "uint16",
1206
+ internalType: "uint16",
1200
1207
  },
1201
1208
  {
1202
- internalType: "uint96",
1203
1209
  name: "totalVotesLpSide",
1204
1210
  type: "uint96",
1211
+ internalType: "uint96",
1205
1212
  },
1206
1213
  {
1207
- internalType: "uint96",
1208
1214
  name: "totalVotesCaSide",
1209
1215
  type: "uint96",
1216
+ internalType: "uint96",
1210
1217
  },
1211
1218
  {
1212
- internalType: "uint16",
1213
1219
  name: "rate",
1214
1220
  type: "uint16",
1221
+ internalType: "uint16",
1215
1222
  },
1216
1223
  {
1217
- internalType: "uint16",
1218
1224
  name: "quotaIncreaseFee",
1219
1225
  type: "uint16",
1226
+ internalType: "uint16",
1220
1227
  },
1221
1228
  {
1222
- internalType: "uint96",
1223
1229
  name: "totalQuoted",
1224
1230
  type: "uint96",
1231
+ internalType: "uint96",
1225
1232
  },
1226
1233
  {
1227
- internalType: "uint96",
1228
1234
  name: "limit",
1229
1235
  type: "uint96",
1236
+ internalType: "uint96",
1230
1237
  },
1231
1238
  {
1232
- internalType: "bool",
1233
1239
  name: "isActive",
1234
1240
  type: "bool",
1241
+ internalType: "bool",
1235
1242
  },
1236
1243
  {
1237
- internalType: "uint96",
1238
1244
  name: "stakerVotesLpSide",
1239
1245
  type: "uint96",
1246
+ internalType: "uint96",
1240
1247
  },
1241
1248
  {
1242
- internalType: "uint96",
1243
1249
  name: "stakerVotesCaSide",
1244
1250
  type: "uint96",
1251
+ internalType: "uint96",
1245
1252
  },
1246
1253
  ],
1247
- internalType: "struct GaugeQuotaParams[]",
1248
- name: "quotaParams",
1249
- type: "tuple[]",
1250
1254
  },
1251
1255
  ],
1252
- internalType: "struct GaugeInfo[]",
1253
- name: "result",
1254
- type: "tuple[]",
1255
1256
  },
1256
1257
  ],
1257
1258
  stateMutability: "view",
1258
- type: "function",
1259
1259
  },
1260
1260
  {
1261
+ type: "function",
1262
+ name: "getLiquidatableCreditAccounts",
1261
1263
  inputs: [
1262
1264
  {
1265
+ name: "priceUpdates",
1266
+ type: "tuple[]",
1267
+ internalType: "struct PriceOnDemand[]",
1263
1268
  components: [
1264
1269
  {
1265
- internalType: "address",
1266
1270
  name: "token",
1267
1271
  type: "address",
1272
+ internalType: "address",
1268
1273
  },
1269
1274
  {
1270
- internalType: "bytes",
1271
1275
  name: "callData",
1272
1276
  type: "bytes",
1277
+ internalType: "bytes",
1273
1278
  },
1274
1279
  ],
1275
- internalType: "struct PriceOnDemand[]",
1276
- name: "priceUpdates",
1277
- type: "tuple[]",
1278
1280
  },
1279
1281
  ],
1280
- name: "getLiquidatableCreditAccounts",
1281
1282
  outputs: [
1282
1283
  {
1284
+ name: "result",
1285
+ type: "tuple[]",
1286
+ internalType: "struct CreditAccountData[]",
1283
1287
  components: [
1284
1288
  {
1285
- internalType: "bool",
1286
1289
  name: "isSuccessful",
1287
1290
  type: "bool",
1291
+ internalType: "bool",
1288
1292
  },
1289
1293
  {
1290
- internalType: "address[]",
1291
1294
  name: "priceFeedsNeeded",
1292
1295
  type: "address[]",
1296
+ internalType: "address[]",
1293
1297
  },
1294
1298
  {
1295
- internalType: "address",
1296
1299
  name: "addr",
1297
1300
  type: "address",
1301
+ internalType: "address",
1298
1302
  },
1299
1303
  {
1300
- internalType: "address",
1301
1304
  name: "borrower",
1302
1305
  type: "address",
1306
+ internalType: "address",
1303
1307
  },
1304
1308
  {
1305
- internalType: "address",
1306
1309
  name: "creditManager",
1307
1310
  type: "address",
1311
+ internalType: "address",
1308
1312
  },
1309
1313
  {
1310
- internalType: "string",
1311
1314
  name: "cmName",
1312
1315
  type: "string",
1316
+ internalType: "string",
1313
1317
  },
1314
1318
  {
1315
- internalType: "address",
1316
1319
  name: "creditFacade",
1317
1320
  type: "address",
1321
+ internalType: "address",
1318
1322
  },
1319
1323
  {
1320
- internalType: "address",
1321
1324
  name: "underlying",
1322
1325
  type: "address",
1326
+ internalType: "address",
1323
1327
  },
1324
1328
  {
1325
- internalType: "uint256",
1326
1329
  name: "debt",
1327
1330
  type: "uint256",
1331
+ internalType: "uint256",
1328
1332
  },
1329
1333
  {
1330
- internalType: "uint256",
1331
1334
  name: "cumulativeIndexLastUpdate",
1332
1335
  type: "uint256",
1336
+ internalType: "uint256",
1333
1337
  },
1334
1338
  {
1335
- internalType: "uint128",
1336
1339
  name: "cumulativeQuotaInterest",
1337
1340
  type: "uint128",
1341
+ internalType: "uint128",
1338
1342
  },
1339
1343
  {
1340
- internalType: "uint256",
1341
1344
  name: "accruedInterest",
1342
1345
  type: "uint256",
1346
+ internalType: "uint256",
1343
1347
  },
1344
1348
  {
1345
- internalType: "uint256",
1346
1349
  name: "accruedFees",
1347
1350
  type: "uint256",
1351
+ internalType: "uint256",
1348
1352
  },
1349
1353
  {
1350
- internalType: "uint256",
1351
1354
  name: "totalDebtUSD",
1352
1355
  type: "uint256",
1356
+ internalType: "uint256",
1353
1357
  },
1354
1358
  {
1355
- internalType: "uint256",
1356
1359
  name: "totalValue",
1357
1360
  type: "uint256",
1361
+ internalType: "uint256",
1358
1362
  },
1359
1363
  {
1360
- internalType: "uint256",
1361
1364
  name: "totalValueUSD",
1362
1365
  type: "uint256",
1366
+ internalType: "uint256",
1363
1367
  },
1364
1368
  {
1365
- internalType: "uint256",
1366
1369
  name: "twvUSD",
1367
1370
  type: "uint256",
1371
+ internalType: "uint256",
1368
1372
  },
1369
1373
  {
1370
- internalType: "uint256",
1371
1374
  name: "enabledTokensMask",
1372
1375
  type: "uint256",
1376
+ internalType: "uint256",
1373
1377
  },
1374
1378
  {
1375
- internalType: "uint256",
1376
1379
  name: "healthFactor",
1377
1380
  type: "uint256",
1381
+ internalType: "uint256",
1378
1382
  },
1379
1383
  {
1380
- internalType: "uint256",
1381
1384
  name: "baseBorrowRate",
1382
1385
  type: "uint256",
1386
+ internalType: "uint256",
1383
1387
  },
1384
1388
  {
1385
- internalType: "uint256",
1386
1389
  name: "aggregatedBorrowRate",
1387
1390
  type: "uint256",
1391
+ internalType: "uint256",
1388
1392
  },
1389
1393
  {
1394
+ name: "balances",
1395
+ type: "tuple[]",
1396
+ internalType: "struct TokenBalance[]",
1390
1397
  components: [
1391
1398
  {
1392
- internalType: "address",
1393
1399
  name: "token",
1394
1400
  type: "address",
1401
+ internalType: "address",
1395
1402
  },
1396
1403
  {
1397
- internalType: "uint256",
1398
1404
  name: "balance",
1399
1405
  type: "uint256",
1406
+ internalType: "uint256",
1400
1407
  },
1401
1408
  {
1402
- internalType: "bool",
1403
1409
  name: "isForbidden",
1404
1410
  type: "bool",
1411
+ internalType: "bool",
1405
1412
  },
1406
1413
  {
1407
- internalType: "bool",
1408
1414
  name: "isEnabled",
1409
1415
  type: "bool",
1416
+ internalType: "bool",
1410
1417
  },
1411
1418
  {
1412
- internalType: "bool",
1413
1419
  name: "isQuoted",
1414
1420
  type: "bool",
1421
+ internalType: "bool",
1415
1422
  },
1416
1423
  {
1417
- internalType: "uint256",
1418
1424
  name: "quota",
1419
1425
  type: "uint256",
1426
+ internalType: "uint256",
1420
1427
  },
1421
1428
  {
1422
- internalType: "uint16",
1423
1429
  name: "quotaRate",
1424
1430
  type: "uint16",
1431
+ internalType: "uint16",
1425
1432
  },
1426
1433
  {
1427
- internalType: "uint256",
1428
1434
  name: "quotaCumulativeIndexLU",
1429
1435
  type: "uint256",
1436
+ internalType: "uint256",
1430
1437
  },
1431
1438
  ],
1432
- internalType: "struct TokenBalance[]",
1433
- name: "balances",
1434
- type: "tuple[]",
1435
1439
  },
1436
1440
  {
1437
- internalType: "uint64",
1438
1441
  name: "since",
1439
1442
  type: "uint64",
1443
+ internalType: "uint64",
1440
1444
  },
1441
1445
  {
1442
- internalType: "uint256",
1443
1446
  name: "cfVersion",
1444
1447
  type: "uint256",
1448
+ internalType: "uint256",
1445
1449
  },
1446
1450
  {
1447
- internalType: "uint40",
1448
1451
  name: "expirationDate",
1449
1452
  type: "uint40",
1453
+ internalType: "uint40",
1450
1454
  },
1451
1455
  {
1452
- internalType: "address[]",
1453
1456
  name: "activeBots",
1454
1457
  type: "address[]",
1458
+ internalType: "address[]",
1455
1459
  },
1456
1460
  ],
1457
- internalType: "struct CreditAccountData[]",
1458
- name: "result",
1459
- type: "tuple[]",
1460
1461
  },
1461
1462
  ],
1462
1463
  stateMutability: "nonpayable",
1463
- type: "function",
1464
1464
  },
1465
1465
  {
1466
+ type: "function",
1467
+ name: "getPoolData",
1466
1468
  inputs: [
1467
1469
  {
1468
- internalType: "address",
1469
1470
  name: "_pool",
1470
1471
  type: "address",
1472
+ internalType: "address",
1471
1473
  },
1472
1474
  ],
1473
- name: "getPoolData",
1474
1475
  outputs: [
1475
1476
  {
1477
+ name: "",
1478
+ type: "tuple",
1479
+ internalType: "struct PoolData",
1476
1480
  components: [
1477
1481
  {
1478
- internalType: "address",
1479
1482
  name: "addr",
1480
1483
  type: "address",
1484
+ internalType: "address",
1481
1485
  },
1482
1486
  {
1483
- internalType: "address",
1484
1487
  name: "underlying",
1485
1488
  type: "address",
1489
+ internalType: "address",
1486
1490
  },
1487
1491
  {
1488
- internalType: "address",
1489
1492
  name: "dieselToken",
1490
1493
  type: "address",
1494
+ internalType: "address",
1491
1495
  },
1492
1496
  {
1493
- internalType: "string",
1494
1497
  name: "symbol",
1495
1498
  type: "string",
1499
+ internalType: "string",
1496
1500
  },
1497
1501
  {
1498
- internalType: "string",
1499
1502
  name: "name",
1500
1503
  type: "string",
1504
+ internalType: "string",
1501
1505
  },
1502
1506
  {
1503
- internalType: "uint256",
1504
1507
  name: "baseInterestIndex",
1505
1508
  type: "uint256",
1509
+ internalType: "uint256",
1506
1510
  },
1507
1511
  {
1508
- internalType: "uint256",
1509
1512
  name: "availableLiquidity",
1510
1513
  type: "uint256",
1514
+ internalType: "uint256",
1511
1515
  },
1512
1516
  {
1513
- internalType: "uint256",
1514
1517
  name: "expectedLiquidity",
1515
1518
  type: "uint256",
1519
+ internalType: "uint256",
1516
1520
  },
1517
1521
  {
1518
- internalType: "uint256",
1519
1522
  name: "totalBorrowed",
1520
1523
  type: "uint256",
1524
+ internalType: "uint256",
1521
1525
  },
1522
1526
  {
1523
- internalType: "uint256",
1524
1527
  name: "totalDebtLimit",
1525
1528
  type: "uint256",
1529
+ internalType: "uint256",
1526
1530
  },
1527
1531
  {
1532
+ name: "creditManagerDebtParams",
1533
+ type: "tuple[]",
1534
+ internalType: "struct CreditManagerDebtParams[]",
1528
1535
  components: [
1529
1536
  {
1530
- internalType: "address",
1531
1537
  name: "creditManager",
1532
1538
  type: "address",
1539
+ internalType: "address",
1533
1540
  },
1534
1541
  {
1535
- internalType: "uint256",
1536
1542
  name: "borrowed",
1537
1543
  type: "uint256",
1544
+ internalType: "uint256",
1538
1545
  },
1539
1546
  {
1540
- internalType: "uint256",
1541
1547
  name: "limit",
1542
1548
  type: "uint256",
1549
+ internalType: "uint256",
1543
1550
  },
1544
1551
  {
1545
- internalType: "uint256",
1546
1552
  name: "availableToBorrow",
1547
1553
  type: "uint256",
1554
+ internalType: "uint256",
1548
1555
  },
1549
1556
  ],
1550
- internalType: "struct CreditManagerDebtParams[]",
1551
- name: "creditManagerDebtParams",
1552
- type: "tuple[]",
1553
1557
  },
1554
1558
  {
1555
- internalType: "uint256",
1556
1559
  name: "totalAssets",
1557
1560
  type: "uint256",
1561
+ internalType: "uint256",
1558
1562
  },
1559
1563
  {
1560
- internalType: "uint256",
1561
1564
  name: "totalSupply",
1562
1565
  type: "uint256",
1566
+ internalType: "uint256",
1563
1567
  },
1564
1568
  {
1565
- internalType: "uint256",
1566
1569
  name: "supplyRate",
1567
1570
  type: "uint256",
1571
+ internalType: "uint256",
1568
1572
  },
1569
1573
  {
1570
- internalType: "uint256",
1571
1574
  name: "baseInterestRate",
1572
1575
  type: "uint256",
1576
+ internalType: "uint256",
1573
1577
  },
1574
1578
  {
1575
- internalType: "uint256",
1576
1579
  name: "dieselRate_RAY",
1577
1580
  type: "uint256",
1581
+ internalType: "uint256",
1578
1582
  },
1579
1583
  {
1580
- internalType: "uint256",
1581
1584
  name: "withdrawFee",
1582
1585
  type: "uint256",
1586
+ internalType: "uint256",
1583
1587
  },
1584
1588
  {
1585
- internalType: "uint256",
1586
1589
  name: "lastBaseInterestUpdate",
1587
1590
  type: "uint256",
1591
+ internalType: "uint256",
1588
1592
  },
1589
1593
  {
1590
- internalType: "uint256",
1591
1594
  name: "baseInterestIndexLU",
1592
1595
  type: "uint256",
1596
+ internalType: "uint256",
1593
1597
  },
1594
1598
  {
1595
- internalType: "uint256",
1596
1599
  name: "version",
1597
1600
  type: "uint256",
1601
+ internalType: "uint256",
1598
1602
  },
1599
1603
  {
1600
- internalType: "address",
1601
1604
  name: "poolQuotaKeeper",
1602
1605
  type: "address",
1606
+ internalType: "address",
1603
1607
  },
1604
1608
  {
1605
- internalType: "address",
1606
1609
  name: "gauge",
1607
1610
  type: "address",
1611
+ internalType: "address",
1608
1612
  },
1609
1613
  {
1614
+ name: "quotas",
1615
+ type: "tuple[]",
1616
+ internalType: "struct QuotaInfo[]",
1610
1617
  components: [
1611
1618
  {
1612
- internalType: "address",
1613
1619
  name: "token",
1614
1620
  type: "address",
1621
+ internalType: "address",
1615
1622
  },
1616
1623
  {
1617
- internalType: "uint16",
1618
1624
  name: "rate",
1619
1625
  type: "uint16",
1626
+ internalType: "uint16",
1620
1627
  },
1621
1628
  {
1622
- internalType: "uint16",
1623
1629
  name: "quotaIncreaseFee",
1624
1630
  type: "uint16",
1631
+ internalType: "uint16",
1625
1632
  },
1626
1633
  {
1627
- internalType: "uint96",
1628
1634
  name: "totalQuoted",
1629
1635
  type: "uint96",
1636
+ internalType: "uint96",
1630
1637
  },
1631
1638
  {
1632
- internalType: "uint96",
1633
1639
  name: "limit",
1634
1640
  type: "uint96",
1641
+ internalType: "uint96",
1635
1642
  },
1636
1643
  {
1637
- internalType: "bool",
1638
1644
  name: "isActive",
1639
1645
  type: "bool",
1646
+ internalType: "bool",
1640
1647
  },
1641
1648
  ],
1642
- internalType: "struct QuotaInfo[]",
1643
- name: "quotas",
1644
- type: "tuple[]",
1645
1649
  },
1646
1650
  {
1651
+ name: "zappers",
1652
+ type: "tuple[]",
1653
+ internalType: "struct ZapperInfo[]",
1647
1654
  components: [
1648
1655
  {
1649
- internalType: "address",
1650
1656
  name: "zapper",
1651
1657
  type: "address",
1658
+ internalType: "address",
1652
1659
  },
1653
1660
  {
1654
- internalType: "address",
1655
1661
  name: "tokenIn",
1656
1662
  type: "address",
1663
+ internalType: "address",
1657
1664
  },
1658
1665
  {
1659
- internalType: "address",
1660
1666
  name: "tokenOut",
1661
1667
  type: "address",
1668
+ internalType: "address",
1662
1669
  },
1663
1670
  ],
1664
- internalType: "struct ZapperInfo[]",
1665
- name: "zappers",
1666
- type: "tuple[]",
1667
1671
  },
1668
1672
  {
1673
+ name: "lirm",
1674
+ type: "tuple",
1675
+ internalType: "struct LinearModel",
1669
1676
  components: [
1670
1677
  {
1671
- internalType: "address",
1672
1678
  name: "interestModel",
1673
1679
  type: "address",
1680
+ internalType: "address",
1674
1681
  },
1675
1682
  {
1676
- internalType: "uint256",
1677
1683
  name: "version",
1678
1684
  type: "uint256",
1685
+ internalType: "uint256",
1679
1686
  },
1680
1687
  {
1681
- internalType: "uint16",
1682
1688
  name: "U_1",
1683
1689
  type: "uint16",
1690
+ internalType: "uint16",
1684
1691
  },
1685
1692
  {
1686
- internalType: "uint16",
1687
1693
  name: "U_2",
1688
1694
  type: "uint16",
1695
+ internalType: "uint16",
1689
1696
  },
1690
1697
  {
1691
- internalType: "uint16",
1692
1698
  name: "R_base",
1693
1699
  type: "uint16",
1700
+ internalType: "uint16",
1694
1701
  },
1695
1702
  {
1696
- internalType: "uint16",
1697
1703
  name: "R_slope1",
1698
1704
  type: "uint16",
1705
+ internalType: "uint16",
1699
1706
  },
1700
1707
  {
1701
- internalType: "uint16",
1702
1708
  name: "R_slope2",
1703
1709
  type: "uint16",
1710
+ internalType: "uint16",
1704
1711
  },
1705
1712
  {
1706
- internalType: "uint16",
1707
1713
  name: "R_slope3",
1708
1714
  type: "uint16",
1715
+ internalType: "uint16",
1709
1716
  },
1710
1717
  {
1711
- internalType: "bool",
1712
1718
  name: "isBorrowingMoreU2Forbidden",
1713
1719
  type: "bool",
1720
+ internalType: "bool",
1714
1721
  },
1715
1722
  ],
1716
- internalType: "struct LinearModel",
1717
- name: "lirm",
1718
- type: "tuple",
1719
1723
  },
1720
1724
  {
1721
- internalType: "bool",
1722
1725
  name: "isPaused",
1723
1726
  type: "bool",
1727
+ internalType: "bool",
1724
1728
  },
1725
1729
  ],
1726
- internalType: "struct PoolData",
1727
- name: "",
1728
- type: "tuple",
1729
1730
  },
1730
1731
  ],
1731
1732
  stateMutability: "view",
1732
- type: "function",
1733
1733
  },
1734
1734
  {
1735
- inputs: [],
1735
+ type: "function",
1736
1736
  name: "getPoolsV3List",
1737
+ inputs: [],
1737
1738
  outputs: [
1738
1739
  {
1740
+ name: "",
1741
+ type: "tuple[]",
1742
+ internalType: "struct PoolData[]",
1739
1743
  components: [
1740
1744
  {
1741
- internalType: "address",
1742
1745
  name: "addr",
1743
1746
  type: "address",
1747
+ internalType: "address",
1744
1748
  },
1745
1749
  {
1746
- internalType: "address",
1747
1750
  name: "underlying",
1748
1751
  type: "address",
1752
+ internalType: "address",
1749
1753
  },
1750
1754
  {
1751
- internalType: "address",
1752
1755
  name: "dieselToken",
1753
1756
  type: "address",
1757
+ internalType: "address",
1754
1758
  },
1755
1759
  {
1756
- internalType: "string",
1757
1760
  name: "symbol",
1758
1761
  type: "string",
1762
+ internalType: "string",
1759
1763
  },
1760
1764
  {
1761
- internalType: "string",
1762
1765
  name: "name",
1763
1766
  type: "string",
1767
+ internalType: "string",
1764
1768
  },
1765
1769
  {
1766
- internalType: "uint256",
1767
1770
  name: "baseInterestIndex",
1768
1771
  type: "uint256",
1772
+ internalType: "uint256",
1769
1773
  },
1770
1774
  {
1771
- internalType: "uint256",
1772
1775
  name: "availableLiquidity",
1773
1776
  type: "uint256",
1777
+ internalType: "uint256",
1774
1778
  },
1775
1779
  {
1776
- internalType: "uint256",
1777
1780
  name: "expectedLiquidity",
1778
1781
  type: "uint256",
1782
+ internalType: "uint256",
1779
1783
  },
1780
1784
  {
1781
- internalType: "uint256",
1782
1785
  name: "totalBorrowed",
1783
1786
  type: "uint256",
1787
+ internalType: "uint256",
1784
1788
  },
1785
1789
  {
1786
- internalType: "uint256",
1787
1790
  name: "totalDebtLimit",
1788
1791
  type: "uint256",
1792
+ internalType: "uint256",
1789
1793
  },
1790
1794
  {
1795
+ name: "creditManagerDebtParams",
1796
+ type: "tuple[]",
1797
+ internalType: "struct CreditManagerDebtParams[]",
1791
1798
  components: [
1792
1799
  {
1793
- internalType: "address",
1794
1800
  name: "creditManager",
1795
1801
  type: "address",
1802
+ internalType: "address",
1796
1803
  },
1797
1804
  {
1798
- internalType: "uint256",
1799
1805
  name: "borrowed",
1800
1806
  type: "uint256",
1807
+ internalType: "uint256",
1801
1808
  },
1802
1809
  {
1803
- internalType: "uint256",
1804
1810
  name: "limit",
1805
1811
  type: "uint256",
1812
+ internalType: "uint256",
1806
1813
  },
1807
1814
  {
1808
- internalType: "uint256",
1809
1815
  name: "availableToBorrow",
1810
1816
  type: "uint256",
1817
+ internalType: "uint256",
1811
1818
  },
1812
1819
  ],
1813
- internalType: "struct CreditManagerDebtParams[]",
1814
- name: "creditManagerDebtParams",
1815
- type: "tuple[]",
1816
1820
  },
1817
1821
  {
1818
- internalType: "uint256",
1819
1822
  name: "totalAssets",
1820
1823
  type: "uint256",
1824
+ internalType: "uint256",
1821
1825
  },
1822
1826
  {
1823
- internalType: "uint256",
1824
1827
  name: "totalSupply",
1825
1828
  type: "uint256",
1829
+ internalType: "uint256",
1826
1830
  },
1827
1831
  {
1828
- internalType: "uint256",
1829
1832
  name: "supplyRate",
1830
1833
  type: "uint256",
1834
+ internalType: "uint256",
1831
1835
  },
1832
1836
  {
1833
- internalType: "uint256",
1834
1837
  name: "baseInterestRate",
1835
1838
  type: "uint256",
1839
+ internalType: "uint256",
1836
1840
  },
1837
1841
  {
1838
- internalType: "uint256",
1839
1842
  name: "dieselRate_RAY",
1840
1843
  type: "uint256",
1844
+ internalType: "uint256",
1841
1845
  },
1842
1846
  {
1843
- internalType: "uint256",
1844
1847
  name: "withdrawFee",
1845
1848
  type: "uint256",
1849
+ internalType: "uint256",
1846
1850
  },
1847
1851
  {
1848
- internalType: "uint256",
1849
1852
  name: "lastBaseInterestUpdate",
1850
1853
  type: "uint256",
1854
+ internalType: "uint256",
1851
1855
  },
1852
1856
  {
1853
- internalType: "uint256",
1854
1857
  name: "baseInterestIndexLU",
1855
1858
  type: "uint256",
1859
+ internalType: "uint256",
1856
1860
  },
1857
1861
  {
1858
- internalType: "uint256",
1859
1862
  name: "version",
1860
1863
  type: "uint256",
1864
+ internalType: "uint256",
1861
1865
  },
1862
1866
  {
1863
- internalType: "address",
1864
1867
  name: "poolQuotaKeeper",
1865
1868
  type: "address",
1869
+ internalType: "address",
1866
1870
  },
1867
1871
  {
1868
- internalType: "address",
1869
1872
  name: "gauge",
1870
1873
  type: "address",
1874
+ internalType: "address",
1871
1875
  },
1872
1876
  {
1877
+ name: "quotas",
1878
+ type: "tuple[]",
1879
+ internalType: "struct QuotaInfo[]",
1873
1880
  components: [
1874
1881
  {
1875
- internalType: "address",
1876
1882
  name: "token",
1877
1883
  type: "address",
1884
+ internalType: "address",
1878
1885
  },
1879
1886
  {
1880
- internalType: "uint16",
1881
1887
  name: "rate",
1882
1888
  type: "uint16",
1889
+ internalType: "uint16",
1883
1890
  },
1884
1891
  {
1885
- internalType: "uint16",
1886
1892
  name: "quotaIncreaseFee",
1887
1893
  type: "uint16",
1894
+ internalType: "uint16",
1888
1895
  },
1889
1896
  {
1890
- internalType: "uint96",
1891
1897
  name: "totalQuoted",
1892
1898
  type: "uint96",
1899
+ internalType: "uint96",
1893
1900
  },
1894
1901
  {
1895
- internalType: "uint96",
1896
1902
  name: "limit",
1897
1903
  type: "uint96",
1904
+ internalType: "uint96",
1898
1905
  },
1899
1906
  {
1900
- internalType: "bool",
1901
1907
  name: "isActive",
1902
1908
  type: "bool",
1909
+ internalType: "bool",
1903
1910
  },
1904
1911
  ],
1905
- internalType: "struct QuotaInfo[]",
1906
- name: "quotas",
1907
- type: "tuple[]",
1908
1912
  },
1909
1913
  {
1914
+ name: "zappers",
1915
+ type: "tuple[]",
1916
+ internalType: "struct ZapperInfo[]",
1910
1917
  components: [
1911
1918
  {
1912
- internalType: "address",
1913
1919
  name: "zapper",
1914
1920
  type: "address",
1921
+ internalType: "address",
1915
1922
  },
1916
1923
  {
1917
- internalType: "address",
1918
1924
  name: "tokenIn",
1919
1925
  type: "address",
1926
+ internalType: "address",
1920
1927
  },
1921
1928
  {
1922
- internalType: "address",
1923
1929
  name: "tokenOut",
1924
1930
  type: "address",
1931
+ internalType: "address",
1925
1932
  },
1926
1933
  ],
1927
- internalType: "struct ZapperInfo[]",
1928
- name: "zappers",
1929
- type: "tuple[]",
1930
1934
  },
1931
1935
  {
1936
+ name: "lirm",
1937
+ type: "tuple",
1938
+ internalType: "struct LinearModel",
1932
1939
  components: [
1933
1940
  {
1934
- internalType: "address",
1935
1941
  name: "interestModel",
1936
1942
  type: "address",
1943
+ internalType: "address",
1937
1944
  },
1938
1945
  {
1939
- internalType: "uint256",
1940
1946
  name: "version",
1941
1947
  type: "uint256",
1948
+ internalType: "uint256",
1942
1949
  },
1943
1950
  {
1944
- internalType: "uint16",
1945
1951
  name: "U_1",
1946
1952
  type: "uint16",
1953
+ internalType: "uint16",
1947
1954
  },
1948
1955
  {
1949
- internalType: "uint16",
1950
1956
  name: "U_2",
1951
1957
  type: "uint16",
1958
+ internalType: "uint16",
1952
1959
  },
1953
1960
  {
1954
- internalType: "uint16",
1955
1961
  name: "R_base",
1956
1962
  type: "uint16",
1963
+ internalType: "uint16",
1957
1964
  },
1958
1965
  {
1959
- internalType: "uint16",
1960
1966
  name: "R_slope1",
1961
1967
  type: "uint16",
1968
+ internalType: "uint16",
1962
1969
  },
1963
1970
  {
1964
- internalType: "uint16",
1965
1971
  name: "R_slope2",
1966
1972
  type: "uint16",
1973
+ internalType: "uint16",
1967
1974
  },
1968
1975
  {
1969
- internalType: "uint16",
1970
1976
  name: "R_slope3",
1971
1977
  type: "uint16",
1978
+ internalType: "uint16",
1972
1979
  },
1973
1980
  {
1974
- internalType: "bool",
1975
1981
  name: "isBorrowingMoreU2Forbidden",
1976
1982
  type: "bool",
1983
+ internalType: "bool",
1977
1984
  },
1978
1985
  ],
1979
- internalType: "struct LinearModel",
1980
- name: "lirm",
1981
- type: "tuple",
1982
1986
  },
1983
1987
  {
1984
- internalType: "bool",
1985
1988
  name: "isPaused",
1986
1989
  type: "bool",
1990
+ internalType: "bool",
1987
1991
  },
1988
1992
  ],
1989
- internalType: "struct PoolData[]",
1990
- name: "",
1991
- type: "tuple[]",
1992
1993
  },
1993
1994
  ],
1994
1995
  stateMutability: "view",
1995
- type: "function",
1996
1996
  },
1997
1997
  {
1998
- inputs: [],
1998
+ type: "function",
1999
1999
  name: "version",
2000
+ inputs: [],
2000
2001
  outputs: [
2001
2002
  {
2002
- internalType: "uint256",
2003
2003
  name: "",
2004
2004
  type: "uint256",
2005
+ internalType: "uint256",
2005
2006
  },
2006
2007
  ],
2007
2008
  stateMutability: "view",
2008
- type: "function",
2009
2009
  },
2010
2010
  ];
2011
2011
  class IDataCompressorV3_00__factory {