@gearbox-protocol/sdk 3.0.0-next.6 → 3.0.0-next.61

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 (470) hide show
  1. package/contracts/IAirdropDistributor.sol +55 -0
  2. package/contracts/IDegenDistributor.sol +28 -0
  3. package/contracts/IOffchainOracle.sol +17 -0
  4. package/contracts/IWETHGateway.sol +33 -0
  5. package/contracts/IwstETHGateway.sol +24 -0
  6. package/contracts/index.sol +26 -3
  7. package/lib/apy/curveAPY.js +2 -1
  8. package/lib/apy/index.d.ts +2 -2
  9. package/lib/apy/yearnAPY.js +1 -1
  10. package/lib/config.d.ts +0 -1
  11. package/lib/config.js +1 -2
  12. package/lib/core/assets.d.ts +4 -4
  13. package/lib/core/assets.js +28 -17
  14. package/lib/core/creditAccount.d.ts +32 -8
  15. package/lib/core/creditAccount.js +101 -44
  16. package/lib/core/creditAccount.spec.js +693 -10
  17. package/lib/core/creditManager.d.ts +23 -9
  18. package/lib/core/creditManager.js +97 -31
  19. package/lib/core/events.js +14 -14
  20. package/lib/core/gauge.d.ts +26 -0
  21. package/lib/core/gauge.js +63 -0
  22. package/lib/core/gaugeMath.d.ts +40 -0
  23. package/lib/core/gaugeMath.js +108 -0
  24. package/lib/core/gaugeMath.spec.d.ts +1 -0
  25. package/lib/core/gaugeMath.spec.js +388 -0
  26. package/lib/core/{pool/data.d.ts → pool.d.ts} +18 -10
  27. package/lib/core/{pool/data.js → pool.js} +69 -24
  28. package/lib/core/rewardClaimer.d.ts +2 -2
  29. package/lib/core/strategy.js +2 -2
  30. package/lib/core/trade.d.ts +14 -32
  31. package/lib/core/trade.js +33 -82
  32. package/lib/core/transactions.d.ts +65 -3
  33. package/lib/core/transactions.js +162 -105
  34. package/lib/index.d.ts +3 -0
  35. package/lib/index.js +3 -0
  36. package/lib/parsers/abstractParser.js +1 -2
  37. package/lib/parsers/convexBaseRewardPoolAdapterParser.js +10 -8
  38. package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
  39. package/lib/parsers/convexBoosterAdapterParser.js +6 -6
  40. package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
  41. package/lib/parsers/creditFacadeParser.d.ts +2 -1
  42. package/lib/parsers/creditFacadeParser.js +25 -5
  43. package/lib/parsers/creditFacadeParser.spec.js +2 -3
  44. package/lib/parsers/curveAdapterParser.js +10 -11
  45. package/lib/parsers/curveAdapterParser.spec.js +6 -2
  46. package/lib/parsers/lidoAdapterParser.js +3 -2
  47. package/lib/parsers/lidoAdapterParser.spec.js +2 -2
  48. package/lib/parsers/txParser.d.ts +4 -4
  49. package/lib/parsers/txParser.js +9 -3
  50. package/lib/parsers/uniV2AdapterParser.js +5 -4
  51. package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
  52. package/lib/parsers/uniV3AdapterParser.js +9 -7
  53. package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
  54. package/lib/parsers/wstETHAdapterParser.js +6 -4
  55. package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
  56. package/lib/parsers/yearnAdapterParser.spec.js +4 -4
  57. package/lib/parsers/yearnV2AdapterParser.js +13 -3
  58. package/lib/pathfinder/core.d.ts +11 -9
  59. package/lib/pathfinder/pathOptions.d.ts +2 -1
  60. package/lib/pathfinder/pathOptions.js +20 -1
  61. package/lib/pathfinder/pathOptions.spec.js +2 -2
  62. package/lib/pathfinder/pathfinder.d.ts +37 -10
  63. package/lib/pathfinder/pathfinder.js +46 -33
  64. package/lib/pathfinder/pathfinder.spec.js +7 -3
  65. package/lib/payload/creditAccount.d.ts +3 -4
  66. package/lib/payload/gauge.d.ts +12 -0
  67. package/lib/payload/pool.d.ts +6 -1
  68. package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +171 -0
  69. package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +290 -0
  70. package/lib/types/IAirdropDistributor.sol/IAirdropDistributor.d.ts +124 -0
  71. package/lib/types/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +73 -0
  72. package/lib/types/IAirdropDistributor.sol/index.d.ts +2 -0
  73. package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +308 -0
  74. package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +112 -0
  75. package/lib/types/IBalancerV2Vault.sol/index.d.ts +2 -0
  76. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +466 -0
  77. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
  78. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts} +6 -18
  79. package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  80. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +216 -0
  81. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +27 -0
  82. package/lib/types/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  83. package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +128 -0
  84. package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +50 -0
  85. package/lib/types/IContractsRegister.sol/index.d.ts +2 -0
  86. package/lib/types/IConvexToken.d.ts +9 -1
  87. package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +46 -30
  88. package/lib/types/{IConvexV1BoosterAdapter.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts} +40 -21
  89. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
  90. package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  91. package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.d.ts +716 -0
  92. package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.d.ts +275 -0
  93. package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.js +2 -0
  94. package/lib/types/ICreditConfiguratorV3.sol/index.d.ts +2 -0
  95. package/lib/types/ICreditConfiguratorV3.sol/index.js +2 -0
  96. package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +7 -11
  97. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +201 -94
  98. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +31 -33
  99. package/lib/types/ICreditFacadeV3Multicall.d.ts +91 -60
  100. package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +360 -98
  101. package/lib/types/ICurveV1Adapter.d.ts +41 -105
  102. package/lib/types/ICurveV1_2AssetsAdapter.d.ts +41 -105
  103. package/lib/types/ICurveV1_3AssetsAdapter.d.ts +41 -105
  104. package/lib/types/ICurveV1_4AssetsAdapter.d.ts +41 -105
  105. package/lib/types/IDataCompressorV2_10.d.ts +44 -36
  106. package/lib/types/IDataCompressorV3_00.d.ts +141 -37
  107. package/lib/types/IDegenDistributor.sol/IDegenDistributor.d.ts +96 -0
  108. package/lib/types/IDegenDistributor.sol/IDegenDistributor.js +2 -0
  109. package/lib/types/IDegenDistributor.sol/IDegenDistributorEvents.d.ts +53 -0
  110. package/lib/types/IDegenDistributor.sol/IDegenDistributorEvents.js +2 -0
  111. package/lib/types/IDegenDistributor.sol/index.d.ts +2 -0
  112. package/lib/types/IDegenDistributor.sol/index.js +2 -0
  113. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +339 -0
  114. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.js +2 -0
  115. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +61 -0
  116. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.js +2 -0
  117. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +27 -0
  118. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.js +2 -0
  119. package/lib/types/IDegenNFTV2.sol/index.d.ts +3 -0
  120. package/lib/types/IDegenNFTV2.sol/index.js +2 -0
  121. package/lib/types/IERC165.d.ts +42 -0
  122. package/lib/types/IERC165.js +2 -0
  123. package/lib/types/{draft-IERC20Permit.sol/IERC20Permit.d.ts → IERC20Permit.d.ts} +1 -1
  124. package/lib/types/IERC20Permit.js +2 -0
  125. package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
  126. package/lib/types/IERC20ZapperDeposits.js +2 -0
  127. package/lib/types/IERC4626Adapter.d.ts +238 -0
  128. package/lib/types/IERC4626Adapter.js +2 -0
  129. package/lib/types/IERC721.d.ts +220 -0
  130. package/lib/types/IERC721.js +2 -0
  131. package/lib/types/IERC721Metadata.d.ts +244 -0
  132. package/lib/types/IERC721Metadata.js +2 -0
  133. package/lib/types/IETHZapperDeposits.d.ts +66 -0
  134. package/lib/types/IETHZapperDeposits.js +2 -0
  135. package/lib/types/IGasPricer.d.ts +44 -0
  136. package/lib/types/IGasPricer.js +2 -0
  137. package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
  138. package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
  139. package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
  140. package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
  141. package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
  142. package/lib/types/IGaugeV3.sol/index.js +2 -0
  143. package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
  144. package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
  145. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
  146. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
  147. package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
  148. package/lib/types/IGearStakingV3.sol/index.js +2 -0
  149. package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.d.ts → ILidoV1Adapter.d.ts} +13 -48
  150. package/lib/types/ILidoV1Adapter.js +2 -0
  151. package/lib/types/ILinearInterestRateModelV3.d.ts +120 -0
  152. package/lib/types/ILinearInterestRateModelV3.js +2 -0
  153. package/lib/types/IOffchainOracle.d.ts +58 -0
  154. package/lib/types/IOffchainOracle.js +2 -0
  155. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
  156. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
  157. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
  158. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
  159. package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  160. package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
  161. package/lib/types/IPoolV3.sol/IPoolV3.d.ts +43 -11
  162. package/lib/types/IPoolV3.sol/index.d.ts +0 -1
  163. package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
  164. package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
  165. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
  166. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.js +2 -0
  167. package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
  168. package/lib/types/IPriceFeed.sol/index.js +2 -0
  169. package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
  170. package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
  171. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
  172. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
  173. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts → IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts} +3 -3
  174. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
  175. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
  176. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
  177. package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
  178. package/lib/types/IPriceOracle.sol/index.js +2 -0
  179. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +272 -0
  180. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
  181. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +79 -0
  182. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
  183. package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
  184. package/lib/types/IPriceOracleV3.sol/index.js +2 -0
  185. package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +10 -9
  186. package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +27 -21
  187. package/lib/types/IVotingContractV3.d.ts +74 -0
  188. package/lib/types/IVotingContractV3.js +2 -0
  189. package/lib/types/IWETHGateway.d.ts +90 -0
  190. package/lib/types/IWETHGateway.js +2 -0
  191. package/lib/types/IYearnV2Adapter.d.ts +22 -22
  192. package/lib/types/IZapper.d.ts +125 -0
  193. package/lib/types/IZapper.js +2 -0
  194. package/lib/types/IwstETHGateway.sol/IwstETHGateWay.d.ts +70 -0
  195. package/lib/types/IwstETHGateway.sol/IwstETHGateWay.js +2 -0
  196. package/lib/types/IwstETHGateway.sol/index.d.ts +1 -0
  197. package/lib/types/IwstETHGateway.sol/index.js +2 -0
  198. package/lib/types/IwstETHV1Adapter.d.ts +17 -17
  199. package/lib/types/factories/AddressProvider__factory.d.ts +1 -1
  200. package/lib/types/factories/AddressProvider__factory.js +1 -1
  201. package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +1 -1
  202. package/lib/types/factories/Balances.sol/BalanceOps__factory.js +1 -1
  203. package/lib/types/factories/Claimable__factory.d.ts +1 -1
  204. package/lib/types/factories/Claimable__factory.js +1 -1
  205. package/lib/types/factories/Errors__factory.d.ts +1 -1
  206. package/lib/types/factories/Errors__factory.js +1 -1
  207. package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +158 -0
  208. package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +215 -0
  209. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +252 -0
  210. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +341 -0
  211. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +63 -0
  212. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +88 -0
  213. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +119 -0
  214. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +161 -0
  215. package/lib/types/factories/IAirdropDistributor.sol/index.d.ts +2 -0
  216. package/lib/types/factories/IAirdropDistributor.sol/index.js +10 -0
  217. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +78 -0
  218. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +111 -0
  219. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +360 -0
  220. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +475 -0
  221. package/lib/types/factories/IBalancerV2Vault.sol/index.d.ts +2 -0
  222. package/lib/types/factories/IBalancerV2Vault.sol/index.js +10 -0
  223. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +23 -0
  224. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +38 -0
  225. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +12 -0
  226. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js} +4 -4
  227. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +514 -0
  228. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +675 -0
  229. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  230. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.js +12 -0
  231. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +196 -0
  232. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +267 -0
  233. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +16 -0
  234. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js} +6 -8
  235. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  236. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.js +10 -0
  237. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +28 -0
  238. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +45 -0
  239. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +134 -0
  240. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +186 -0
  241. package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
  242. package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
  243. package/lib/types/factories/IConvexToken__factory.d.ts +10 -0
  244. package/lib/types/factories/IConvexToken__factory.js +13 -0
  245. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +38 -6
  246. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +48 -6
  247. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +23 -0
  248. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +38 -0
  249. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts} +26 -3
  250. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js} +31 -2
  251. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  252. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.js +10 -0
  253. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +273 -0
  254. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +357 -0
  255. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +605 -0
  256. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +785 -0
  257. package/lib/types/factories/ICreditConfiguratorV3.sol/index.d.ts +2 -0
  258. package/lib/types/factories/ICreditConfiguratorV3.sol/index.js +10 -0
  259. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +0 -4
  260. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +0 -5
  261. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +19 -24
  262. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +21 -27
  263. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +151 -72
  264. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +189 -85
  265. package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +77 -43
  266. package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +96 -54
  267. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +339 -147
  268. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +427 -180
  269. package/lib/types/factories/ICurveV1Adapter__factory.d.ts +13 -71
  270. package/lib/types/factories/ICurveV1Adapter__factory.js +14 -91
  271. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +13 -71
  272. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +14 -91
  273. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +13 -71
  274. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +14 -91
  275. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +13 -71
  276. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +14 -91
  277. package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +110 -54
  278. package/lib/types/factories/IDataCompressorV2_10__factory.js +138 -68
  279. package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +379 -79
  280. package/lib/types/factories/IDataCompressorV3_00__factory.js +481 -100
  281. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +38 -0
  282. package/lib/types/factories/{AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory.js → IDegenDistributor.sol/IDegenDistributorEvents__factory.js} +13 -25
  283. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +84 -0
  284. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +117 -0
  285. package/lib/types/factories/IDegenDistributor.sol/index.d.ts +2 -0
  286. package/lib/types/factories/IDegenDistributor.sol/index.js +10 -0
  287. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +38 -0
  288. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +58 -0
  289. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +24 -0
  290. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +39 -0
  291. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.d.ts → IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts} +190 -180
  292. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js → IDegenNFTV2.sol/IDegenNFTV2__factory.js} +212 -195
  293. package/lib/types/factories/IDegenNFTV2.sol/index.d.ts +3 -0
  294. package/lib/types/factories/IDegenNFTV2.sol/index.js +12 -0
  295. package/lib/types/factories/IERC165__factory.d.ts +22 -0
  296. package/lib/types/factories/IERC165__factory.js +38 -0
  297. package/lib/types/factories/{draft-IERC20Permit.sol/IERC20Permit__factory.d.ts → IERC20Permit__factory.d.ts} +1 -1
  298. package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
  299. package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
  300. package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
  301. package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
  302. package/lib/types/factories/IERC721Metadata__factory.d.ts +262 -0
  303. package/lib/types/factories/IERC721Metadata__factory.js +349 -0
  304. package/lib/types/factories/IERC721__factory.d.ts +228 -0
  305. package/lib/types/factories/IERC721__factory.js +304 -0
  306. package/lib/types/factories/IETHZapperDeposits__factory.d.ts +40 -0
  307. package/lib/types/factories/IETHZapperDeposits__factory.js +62 -0
  308. package/lib/types/factories/IGasPricer__factory.d.ts +22 -0
  309. package/lib/types/factories/IGasPricer__factory.js +38 -0
  310. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
  311. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
  312. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
  313. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
  314. package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
  315. package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
  316. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.d.ts → IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts} +33 -63
  317. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js → IGearStakingV3.sol/IGearStakingV3Events__factory.js} +34 -70
  318. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +504 -0
  319. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +660 -0
  320. package/lib/types/factories/IGearStakingV3.sol/index.d.ts +2 -0
  321. package/lib/types/factories/IGearStakingV3.sol/index.js +10 -0
  322. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts → ILidoV1Adapter__factory.d.ts} +7 -37
  323. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.js → ILidoV1Adapter__factory.js} +8 -46
  324. package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +98 -0
  325. package/lib/types/factories/ILinearInterestRateModelV3__factory.js +136 -0
  326. package/lib/types/factories/IOffchainOracle__factory.d.ts +48 -0
  327. package/lib/types/factories/IOffchainOracle__factory.js +72 -0
  328. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +103 -0
  329. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
  330. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +441 -0
  331. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +580 -0
  332. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  333. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.js +10 -0
  334. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +62 -14
  335. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +79 -17
  336. package/lib/types/factories/IPoolV3.sol/index.d.ts +0 -1
  337. package/lib/types/factories/IPoolV3.sol/index.js +1 -3
  338. package/lib/types/factories/{IPoolV3.sol/IPoolBase__factory.d.ts → IPriceFeed.sol/IPriceFeed__factory.d.ts} +39 -35
  339. package/lib/types/factories/{IPoolV3.sol/IPoolBase__factory.js → IPriceFeed.sol/IPriceFeed__factory.js} +40 -35
  340. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +104 -0
  341. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +143 -0
  342. package/lib/types/factories/IPriceFeed.sol/index.d.ts +2 -0
  343. package/lib/types/factories/IPriceFeed.sol/index.js +10 -0
  344. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +23 -0
  345. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
  346. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
  347. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
  348. package/lib/types/factories/{IAToken__factory.d.ts → IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts} +98 -99
  349. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
  350. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
  351. package/lib/types/factories/{IAToken__factory.js → IPriceOracle.sol/IPriceOracleV2__factory.js} +94 -112
  352. package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
  353. package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
  354. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +78 -0
  355. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +106 -0
  356. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +326 -0
  357. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +433 -0
  358. package/lib/types/factories/IPriceOracleV3.sol/index.d.ts +2 -0
  359. package/lib/types/factories/IPriceOracleV3.sol/index.js +10 -0
  360. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +5 -1
  361. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +6 -1
  362. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +12 -4
  363. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +14 -4
  364. package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
  365. package/lib/types/factories/IVotingContractV3__factory.js +65 -0
  366. package/lib/types/factories/IWETHGateway__factory.d.ts +58 -0
  367. package/lib/types/factories/IWETHGateway__factory.js +83 -0
  368. package/lib/types/factories/IYearnV2Adapter__factory.d.ts +21 -13
  369. package/lib/types/factories/IYearnV2Adapter__factory.js +27 -15
  370. package/lib/types/factories/{WERC20ZapperBase__factory.d.ts → IZapper__factory.d.ts} +52 -64
  371. package/lib/types/factories/{WERC20ZapperBase__factory.js → IZapper__factory.js} +58 -74
  372. package/lib/types/factories/{ZapperBase__factory.d.ts → IwstETHGateway.sol/IwstETHGateWay__factory.d.ts} +22 -34
  373. package/lib/types/factories/{ZapperBase__factory.js → IwstETHGateway.sol/IwstETHGateWay__factory.js} +22 -39
  374. package/lib/types/factories/IwstETHGateway.sol/index.d.ts +1 -0
  375. package/lib/types/factories/IwstETHGateway.sol/index.js +8 -0
  376. package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +12 -4
  377. package/lib/types/factories/IwstETHV1Adapter__factory.js +16 -4
  378. package/lib/types/factories/SafeERC20__factory.d.ts +1 -1
  379. package/lib/types/factories/SafeERC20__factory.js +1 -1
  380. package/lib/types/factories/index.d.ts +33 -14
  381. package/lib/types/factories/index.js +51 -26
  382. package/lib/types/factories/{IRouter__factory.d.ts → interfaces/IRouter__factory.d.ts} +75 -6
  383. package/lib/types/factories/{IRouter__factory.js → interfaces/IRouter__factory.js} +96 -6
  384. package/lib/types/factories/interfaces/index.d.ts +1 -0
  385. package/lib/types/factories/interfaces/index.js +8 -0
  386. package/lib/types/index.d.ts +146 -54
  387. package/lib/types/index.js +117 -50
  388. package/lib/types/{IRouter.d.ts → interfaces/IRouter.d.ts} +48 -35
  389. package/lib/types/interfaces/IRouter.js +2 -0
  390. package/lib/types/interfaces/index.d.ts +1 -0
  391. package/lib/types/interfaces/index.js +2 -0
  392. package/lib/utils/formatter.d.ts +0 -3
  393. package/lib/utils/formatter.js +1 -67
  394. package/lib/utils/math.d.ts +2 -0
  395. package/lib/utils/math.js +2 -0
  396. package/lib/utils/types.d.ts +1 -0
  397. package/lib/watchers/creditAccountWatcher.d.ts +3 -2
  398. package/lib/watchers/creditAccountWatcher.js +19 -13
  399. package/lib/watchers/creditAccountWatcher.spec.js +18 -18
  400. package/lib/watchers/creditManagerWatcher.d.ts +5 -3
  401. package/lib/watchers/creditManagerWatcher.js +32 -10
  402. package/lib/watchers/creditManagerWatcher.spec.js +12 -4
  403. package/package.json +10 -9
  404. package/contracts/IRouter.sol +0 -100
  405. package/lib/core/pool/index.d.ts +0 -1
  406. package/lib/core/pool/index.js +0 -17
  407. package/lib/types/AaveV2_WrappedAToken.sol/IWrappedATokenEvents.d.ts +0 -60
  408. package/lib/types/AaveV2_WrappedAToken.sol/WrappedAToken.d.ts +0 -332
  409. package/lib/types/AaveV2_WrappedAToken.sol/index.d.ts +0 -2
  410. package/lib/types/ERC20.d.ts +0 -198
  411. package/lib/types/IAToken.d.ts +0 -182
  412. package/lib/types/ILendingPool.d.ts +0 -140
  413. package/lib/types/ILidoV1Adapter.sol/index.d.ts +0 -3
  414. package/lib/types/IPoolV3.sol/IPoolBase.d.ts +0 -102
  415. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
  416. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
  417. package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  418. package/lib/types/WATokenZapper.d.ts +0 -134
  419. package/lib/types/WERC20ZapperBase.d.ts +0 -134
  420. package/lib/types/WETHZapper.d.ts +0 -122
  421. package/lib/types/WstETHZapper.d.ts +0 -134
  422. package/lib/types/ZapperBase.d.ts +0 -70
  423. package/lib/types/draft-IERC20Permit.sol/index.d.ts +0 -1
  424. package/lib/types/factories/AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory.d.ts +0 -48
  425. package/lib/types/factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory.d.ts +0 -397
  426. package/lib/types/factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory.js +0 -535
  427. package/lib/types/factories/AaveV2_WrappedAToken.sol/index.d.ts +0 -2
  428. package/lib/types/factories/AaveV2_WrappedAToken.sol/index.js +0 -10
  429. package/lib/types/factories/ERC20__factory.d.ts +0 -239
  430. package/lib/types/factories/ERC20__factory.js +0 -328
  431. package/lib/types/factories/ILendingPool__factory.d.ts +0 -134
  432. package/lib/types/factories/ILendingPool__factory.js +0 -183
  433. package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts +0 -18
  434. package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
  435. package/lib/types/factories/ILidoV1Adapter.sol/index.d.ts +0 -3
  436. package/lib/types/factories/ILidoV1Adapter.sol/index.js +0 -12
  437. package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  438. package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
  439. package/lib/types/factories/WATokenZapper__factory.d.ts +0 -161
  440. package/lib/types/factories/WATokenZapper__factory.js +0 -227
  441. package/lib/types/factories/WETHZapper__factory.d.ts +0 -138
  442. package/lib/types/factories/WETHZapper__factory.js +0 -198
  443. package/lib/types/factories/WstETHZapper__factory.d.ts +0 -161
  444. package/lib/types/factories/WstETHZapper__factory.js +0 -227
  445. package/lib/types/factories/draft-IERC20Permit.sol/index.d.ts +0 -1
  446. package/lib/types/factories/draft-IERC20Permit.sol/index.js +0 -8
  447. /package/lib/{types/AaveV2_WrappedAToken.sol/IWrappedATokenEvents.js → payload/gauge.js} +0 -0
  448. /package/lib/types/{AaveV2_WrappedAToken.sol/WrappedAToken.js → IAaveV2_LendingPoolAdapter.js} +0 -0
  449. /package/lib/types/{AaveV2_WrappedAToken.sol/index.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
  450. /package/lib/types/{ERC20.js → IAirdropDistributor.sol/IAirdropDistributor.js} +0 -0
  451. /package/lib/types/{IAToken.js → IAirdropDistributor.sol/IAirdropDistributorEvents.js} +0 -0
  452. /package/lib/types/{ILidoV1Adapter.sol → IAirdropDistributor.sol}/index.js +0 -0
  453. /package/lib/types/{IConvexV1BoosterAdapter.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
  454. /package/lib/types/{ILendingPool.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
  455. /package/lib/types/{IWithdrawalManagerV3.sol → IBalancerV2Vault.sol}/index.js +0 -0
  456. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js} +0 -0
  457. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js} +0 -0
  458. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.js} +0 -0
  459. /package/lib/types/{draft-IERC20Permit.sol → IBalancerV2VaultAdapter.sol}/index.js +0 -0
  460. /package/lib/types/{IPoolV3.sol/IPoolBase.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js} +0 -0
  461. /package/lib/types/{IRouter.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js} +0 -0
  462. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → ICompoundV2_CTokenAdapter.sol/index.js} +0 -0
  463. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IContractsRegister.sol/IContractsRegister.js} +0 -0
  464. /package/lib/types/{WATokenZapper.js → IContractsRegister.sol/IContractsRegisterEvents.js} +0 -0
  465. /package/lib/types/{WERC20ZapperBase.js → IContractsRegister.sol/index.js} +0 -0
  466. /package/lib/types/{WETHZapper.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js} +0 -0
  467. /package/lib/types/{WstETHZapper.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js} +0 -0
  468. /package/lib/types/{ZapperBase.js → IConvexV1BoosterAdapter.sol/index.js} +0 -0
  469. /package/lib/types/{draft-IERC20Permit.sol/IERC20Permit.js → ICreditConfiguratorV3.sol/ICreditConfiguratorV3.js} +0 -0
  470. /package/lib/types/factories/{draft-IERC20Permit.sol/IERC20Permit__factory.js → IERC20Permit__factory.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { Signer } from "ethers";
2
2
  import type { Provider } from "@ethersproject/providers";
3
- import type { IRouter, IRouterInterface } from "../IRouter";
3
+ import type { IRouter, IRouterInterface } from "../../interfaces/IRouter";
4
4
  export declare class IRouter__factory {
5
5
  static readonly abi: readonly [{
6
6
  readonly anonymous: false;
@@ -94,16 +94,16 @@ export declare class IRouter__factory {
94
94
  readonly type: "uint256";
95
95
  }, {
96
96
  readonly internalType: "uint256";
97
- readonly name: "slippage";
97
+ readonly name: "leftoverAmount";
98
98
  readonly type: "uint256";
99
- }, {
100
- readonly internalType: "bool";
101
- readonly name: "externalSlippage";
102
- readonly type: "bool";
103
99
  }];
104
100
  readonly internalType: "struct SwapTask";
105
101
  readonly name: "swapTask";
106
102
  readonly type: "tuple";
103
+ }, {
104
+ readonly internalType: "uint256";
105
+ readonly name: "slippage";
106
+ readonly type: "uint256";
107
107
  }];
108
108
  readonly name: "findAllSwaps";
109
109
  readonly outputs: readonly [{
@@ -111,6 +111,10 @@ export declare class IRouter__factory {
111
111
  readonly internalType: "uint256";
112
112
  readonly name: "amount";
113
113
  readonly type: "uint256";
114
+ }, {
115
+ readonly internalType: "uint256";
116
+ readonly name: "minAmount";
117
+ readonly type: "uint256";
114
118
  }, {
115
119
  readonly internalType: "uint256";
116
120
  readonly name: "gasUsage";
@@ -140,6 +144,32 @@ export declare class IRouter__factory {
140
144
  readonly internalType: "address";
141
145
  readonly name: "creditAccount";
142
146
  readonly type: "address";
147
+ }, {
148
+ readonly components: readonly [{
149
+ readonly internalType: "address";
150
+ readonly name: "token";
151
+ readonly type: "address";
152
+ }, {
153
+ readonly internalType: "uint256";
154
+ readonly name: "balance";
155
+ readonly type: "uint256";
156
+ }];
157
+ readonly internalType: "struct Balance[]";
158
+ readonly name: "expectedBalances";
159
+ readonly type: "tuple[]";
160
+ }, {
161
+ readonly components: readonly [{
162
+ readonly internalType: "address";
163
+ readonly name: "token";
164
+ readonly type: "address";
165
+ }, {
166
+ readonly internalType: "uint256";
167
+ readonly name: "balance";
168
+ readonly type: "uint256";
169
+ }];
170
+ readonly internalType: "struct Balance[]";
171
+ readonly name: "leftoverBalances";
172
+ readonly type: "tuple[]";
143
173
  }, {
144
174
  readonly internalType: "address[]";
145
175
  readonly name: "connectors";
@@ -180,6 +210,10 @@ export declare class IRouter__factory {
180
210
  readonly internalType: "uint256";
181
211
  readonly name: "amount";
182
212
  readonly type: "uint256";
213
+ }, {
214
+ readonly internalType: "uint256";
215
+ readonly name: "minAmount";
216
+ readonly type: "uint256";
183
217
  }, {
184
218
  readonly internalType: "uint256";
185
219
  readonly name: "gasUsage";
@@ -240,6 +274,10 @@ export declare class IRouter__factory {
240
274
  readonly internalType: "uint256";
241
275
  readonly name: "amount";
242
276
  readonly type: "uint256";
277
+ }, {
278
+ readonly internalType: "uint256";
279
+ readonly name: "minAmount";
280
+ readonly type: "uint256";
243
281
  }, {
244
282
  readonly internalType: "uint256";
245
283
  readonly name: "gasUsage";
@@ -282,6 +320,19 @@ export declare class IRouter__factory {
282
320
  readonly internalType: "struct Balance[]";
283
321
  readonly name: "balances";
284
322
  readonly type: "tuple[]";
323
+ }, {
324
+ readonly components: readonly [{
325
+ readonly internalType: "address";
326
+ readonly name: "token";
327
+ readonly type: "address";
328
+ }, {
329
+ readonly internalType: "uint256";
330
+ readonly name: "balance";
331
+ readonly type: "uint256";
332
+ }];
333
+ readonly internalType: "struct Balance[]";
334
+ readonly name: "leftoverBalances";
335
+ readonly type: "tuple[]";
285
336
  }, {
286
337
  readonly internalType: "address";
287
338
  readonly name: "target";
@@ -314,6 +365,10 @@ export declare class IRouter__factory {
314
365
  readonly internalType: "uint256";
315
366
  readonly name: "amount";
316
367
  readonly type: "uint256";
368
+ }, {
369
+ readonly internalType: "uint256";
370
+ readonly name: "minAmount";
371
+ readonly type: "uint256";
317
372
  }, {
318
373
  readonly internalType: "uint256";
319
374
  readonly name: "gasUsage";
@@ -338,6 +393,20 @@ export declare class IRouter__factory {
338
393
  }];
339
394
  readonly stateMutability: "nonpayable";
340
395
  readonly type: "function";
396
+ }, {
397
+ readonly inputs: readonly [{
398
+ readonly internalType: "address";
399
+ readonly name: "token";
400
+ readonly type: "address";
401
+ }];
402
+ readonly name: "getGasPriceTokenOutRAY";
403
+ readonly outputs: readonly [{
404
+ readonly internalType: "uint256";
405
+ readonly name: "gasPrice";
406
+ readonly type: "uint256";
407
+ }];
408
+ readonly stateMutability: "view";
409
+ readonly type: "function";
341
410
  }, {
342
411
  readonly inputs: readonly [{
343
412
  readonly internalType: "address";
@@ -124,19 +124,19 @@ const _abi = [
124
124
  },
125
125
  {
126
126
  internalType: "uint256",
127
- name: "slippage",
127
+ name: "leftoverAmount",
128
128
  type: "uint256",
129
129
  },
130
- {
131
- internalType: "bool",
132
- name: "externalSlippage",
133
- type: "bool",
134
- },
135
130
  ],
136
131
  internalType: "struct SwapTask",
137
132
  name: "swapTask",
138
133
  type: "tuple",
139
134
  },
135
+ {
136
+ internalType: "uint256",
137
+ name: "slippage",
138
+ type: "uint256",
139
+ },
140
140
  ],
141
141
  name: "findAllSwaps",
142
142
  outputs: [
@@ -147,6 +147,11 @@ const _abi = [
147
147
  name: "amount",
148
148
  type: "uint256",
149
149
  },
150
+ {
151
+ internalType: "uint256",
152
+ name: "minAmount",
153
+ type: "uint256",
154
+ },
150
155
  {
151
156
  internalType: "uint256",
152
157
  name: "gasUsage",
@@ -185,6 +190,40 @@ const _abi = [
185
190
  name: "creditAccount",
186
191
  type: "address",
187
192
  },
193
+ {
194
+ components: [
195
+ {
196
+ internalType: "address",
197
+ name: "token",
198
+ type: "address",
199
+ },
200
+ {
201
+ internalType: "uint256",
202
+ name: "balance",
203
+ type: "uint256",
204
+ },
205
+ ],
206
+ internalType: "struct Balance[]",
207
+ name: "expectedBalances",
208
+ type: "tuple[]",
209
+ },
210
+ {
211
+ components: [
212
+ {
213
+ internalType: "address",
214
+ name: "token",
215
+ type: "address",
216
+ },
217
+ {
218
+ internalType: "uint256",
219
+ name: "balance",
220
+ type: "uint256",
221
+ },
222
+ ],
223
+ internalType: "struct Balance[]",
224
+ name: "leftoverBalances",
225
+ type: "tuple[]",
226
+ },
188
227
  {
189
228
  internalType: "address[]",
190
229
  name: "connectors",
@@ -237,6 +276,11 @@ const _abi = [
237
276
  name: "amount",
238
277
  type: "uint256",
239
278
  },
279
+ {
280
+ internalType: "uint256",
281
+ name: "minAmount",
282
+ type: "uint256",
283
+ },
240
284
  {
241
285
  internalType: "uint256",
242
286
  name: "gasUsage",
@@ -315,6 +359,11 @@ const _abi = [
315
359
  name: "amount",
316
360
  type: "uint256",
317
361
  },
362
+ {
363
+ internalType: "uint256",
364
+ name: "minAmount",
365
+ type: "uint256",
366
+ },
318
367
  {
319
368
  internalType: "uint256",
320
369
  name: "gasUsage",
@@ -370,6 +419,23 @@ const _abi = [
370
419
  name: "balances",
371
420
  type: "tuple[]",
372
421
  },
422
+ {
423
+ components: [
424
+ {
425
+ internalType: "address",
426
+ name: "token",
427
+ type: "address",
428
+ },
429
+ {
430
+ internalType: "uint256",
431
+ name: "balance",
432
+ type: "uint256",
433
+ },
434
+ ],
435
+ internalType: "struct Balance[]",
436
+ name: "leftoverBalances",
437
+ type: "tuple[]",
438
+ },
373
439
  {
374
440
  internalType: "address",
375
441
  name: "target",
@@ -412,6 +478,11 @@ const _abi = [
412
478
  name: "amount",
413
479
  type: "uint256",
414
480
  },
481
+ {
482
+ internalType: "uint256",
483
+ name: "minAmount",
484
+ type: "uint256",
485
+ },
415
486
  {
416
487
  internalType: "uint256",
417
488
  name: "gasUsage",
@@ -443,6 +514,25 @@ const _abi = [
443
514
  stateMutability: "nonpayable",
444
515
  type: "function",
445
516
  },
517
+ {
518
+ inputs: [
519
+ {
520
+ internalType: "address",
521
+ name: "token",
522
+ type: "address",
523
+ },
524
+ ],
525
+ name: "getGasPriceTokenOutRAY",
526
+ outputs: [
527
+ {
528
+ internalType: "uint256",
529
+ name: "gasPrice",
530
+ type: "uint256",
531
+ },
532
+ ],
533
+ stateMutability: "view",
534
+ type: "function",
535
+ },
446
536
  {
447
537
  inputs: [
448
538
  {
@@ -0,0 +1 @@
1
+ export { IRouter__factory } from "./IRouter__factory";
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IRouter__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ var IRouter__factory_1 = require("./IRouter__factory");
8
+ Object.defineProperty(exports, "IRouter__factory", { enumerable: true, get: function () { return IRouter__factory_1.IRouter__factory; } });
@@ -1,13 +1,25 @@
1
- import type * as aaveV2WrappedATokenSol from "./AaveV2_WrappedAToken.sol";
2
- export type { aaveV2WrappedATokenSol };
3
1
  import type * as balancesSol from "./Balances.sol";
4
2
  export type { balancesSol };
5
3
  import type * as iAddressProviderSol from "./IAddressProvider.sol";
6
4
  export type { iAddressProviderSol };
7
5
  import type * as iAddressProviderV3Sol from "./IAddressProviderV3.sol";
8
6
  export type { iAddressProviderV3Sol };
7
+ import type * as iAirdropDistributorSol from "./IAirdropDistributor.sol";
8
+ export type { iAirdropDistributorSol };
9
+ import type * as iBalancerV2VaultSol from "./IBalancerV2Vault.sol";
10
+ export type { iBalancerV2VaultSol };
11
+ import type * as iBalancerV2VaultAdapterSol from "./IBalancerV2VaultAdapter.sol";
12
+ export type { iBalancerV2VaultAdapterSol };
13
+ import type * as iCompoundV2CTokenAdapterSol from "./ICompoundV2_CTokenAdapter.sol";
14
+ export type { iCompoundV2CTokenAdapterSol };
15
+ import type * as iContractsRegisterSol from "./IContractsRegister.sol";
16
+ export type { iContractsRegisterSol };
17
+ import type * as iConvexV1BoosterAdapterSol from "./IConvexV1BoosterAdapter.sol";
18
+ export type { iConvexV1BoosterAdapterSol };
9
19
  import type * as iCreditConfiguratorV2Sol from "./ICreditConfiguratorV2.sol";
10
20
  export type { iCreditConfiguratorV2Sol };
21
+ import type * as iCreditConfiguratorV3Sol from "./ICreditConfiguratorV3.sol";
22
+ export type { iCreditConfiguratorV3Sol };
11
23
  import type * as iCreditFacadeV2Sol from "./ICreditFacadeV2.sol";
12
24
  export type { iCreditFacadeV2Sol };
13
25
  import type * as iCreditFacadeV3Sol from "./ICreditFacadeV3.sol";
@@ -22,36 +34,49 @@ import type * as iCurvePool3Sol from "./ICurvePool_3.sol";
22
34
  export type { iCurvePool3Sol };
23
35
  import type * as iCurvePool4Sol from "./ICurvePool_4.sol";
24
36
  export type { iCurvePool4Sol };
25
- import type * as iLidoV1AdapterSol from "./ILidoV1Adapter.sol";
26
- export type { iLidoV1AdapterSol };
37
+ import type * as iDegenDistributorSol from "./IDegenDistributor.sol";
38
+ export type { iDegenDistributorSol };
39
+ import type * as iDegenNftv2Sol from "./IDegenNFTV2.sol";
40
+ export type { iDegenNftv2Sol };
41
+ import type * as iGaugeV3Sol from "./IGaugeV3.sol";
42
+ export type { iGaugeV3Sol };
43
+ import type * as iGearStakingV3Sol from "./IGearStakingV3.sol";
44
+ export type { iGearStakingV3Sol };
45
+ import type * as iPoolQuotaKeeperV3Sol from "./IPoolQuotaKeeperV3.sol";
46
+ export type { iPoolQuotaKeeperV3Sol };
27
47
  import type * as iPoolServiceSol from "./IPoolService.sol";
28
48
  export type { iPoolServiceSol };
29
49
  import type * as iPoolV3Sol from "./IPoolV3.sol";
30
50
  export type { iPoolV3Sol };
51
+ import type * as iPriceFeedSol from "./IPriceFeed.sol";
52
+ export type { iPriceFeedSol };
53
+ import type * as iPriceOracleSol from "./IPriceOracle.sol";
54
+ export type { iPriceOracleSol };
55
+ import type * as iPriceOracleV3Sol from "./IPriceOracleV3.sol";
56
+ export type { iPriceOracleV3Sol };
31
57
  import type * as iUniswapV2AdapterSol from "./IUniswapV2Adapter.sol";
32
58
  export type { iUniswapV2AdapterSol };
33
59
  import type * as iUniswapV3Sol from "./IUniswapV3.sol";
34
60
  export type { iUniswapV3Sol };
35
61
  import type * as iUniswapV3AdapterSol from "./IUniswapV3Adapter.sol";
36
62
  export type { iUniswapV3AdapterSol };
37
- import type * as iWithdrawalManagerV3Sol from "./IWithdrawalManagerV3.sol";
38
- export type { iWithdrawalManagerV3Sol };
39
63
  import type * as istEthSol from "./IstETH.sol";
40
64
  export type { istEthSol };
41
65
  import type * as iwstEthSol from "./IwstETH.sol";
42
66
  export type { iwstEthSol };
43
- import type * as draftIerc20PermitSol from "./draft-IERC20Permit.sol";
44
- export type { draftIerc20PermitSol };
67
+ import type * as iwstEthGatewaySol from "./IwstETHGateway.sol";
68
+ export type { iwstEthGatewaySol };
69
+ import type * as interfaces from "./interfaces";
70
+ export type { interfaces };
45
71
  export type { AddressProvider } from "./AddressProvider";
46
72
  export type { Claimable } from "./Claimable";
47
- export type { ERC20 } from "./ERC20";
48
73
  export type { Errors } from "./Errors";
49
- export type { IAToken } from "./IAToken";
74
+ export type { IAaveV2_LendingPoolAdapter } from "./IAaveV2_LendingPoolAdapter";
75
+ export type { IAaveV2_WrappedATokenAdapter } from "./IAaveV2_WrappedATokenAdapter";
50
76
  export type { IAdapter } from "./IAdapter";
51
77
  export type { IBaseRewardPool } from "./IBaseRewardPool";
52
78
  export type { IConvexToken } from "./IConvexToken";
53
79
  export type { IConvexV1BaseRewardPoolAdapter } from "./IConvexV1BaseRewardPoolAdapter";
54
- export type { IConvexV1BoosterAdapter } from "./IConvexV1BoosterAdapter";
55
80
  export type { ICreditFacadeV3Multicall } from "./ICreditFacadeV3Multicall";
56
81
  export type { ICurvePool } from "./ICurvePool";
57
82
  export type { ICurveV1Adapter } from "./ICurveV1Adapter";
@@ -61,38 +86,41 @@ export type { ICurveV1_4AssetsAdapter } from "./ICurveV1_4AssetsAdapter";
61
86
  export type { IDaiLikePermit } from "./IDaiLikePermit";
62
87
  export type { IDataCompressorV2_10 } from "./IDataCompressorV2_10";
63
88
  export type { IDataCompressorV3_00 } from "./IDataCompressorV3_00";
89
+ export type { IERC165 } from "./IERC165";
64
90
  export type { IERC20 } from "./IERC20";
65
91
  export type { IERC20Metadata } from "./IERC20Metadata";
92
+ export type { IERC20Permit } from "./IERC20Permit";
93
+ export type { IERC20ZapperDeposits } from "./IERC20ZapperDeposits";
66
94
  export type { IERC4626 } from "./IERC4626";
95
+ export type { IERC4626Adapter } from "./IERC4626Adapter";
96
+ export type { IERC721 } from "./IERC721";
97
+ export type { IERC721Metadata } from "./IERC721Metadata";
98
+ export type { IETHZapperDeposits } from "./IETHZapperDeposits";
99
+ export type { IGasPricer } from "./IGasPricer";
67
100
  export type { IInterestRateModel } from "./IInterestRateModel";
68
- export type { ILendingPool } from "./ILendingPool";
101
+ export type { ILidoV1Adapter } from "./ILidoV1Adapter";
102
+ export type { ILinearInterestRateModelV3 } from "./ILinearInterestRateModelV3";
103
+ export type { IOffchainOracle } from "./IOffchainOracle";
69
104
  export type { IPermit2 } from "./IPermit2";
70
105
  export type { IPriceOracleBase } from "./IPriceOracleBase";
71
- export type { IRouter } from "./IRouter";
72
106
  export type { IVersion } from "./IVersion";
107
+ export type { IVotingContractV3 } from "./IVotingContractV3";
73
108
  export type { IWETH } from "./IWETH";
109
+ export type { IWETHGateway } from "./IWETHGateway";
74
110
  export type { IYVault } from "./IYVault";
75
111
  export type { IYearnV2Adapter } from "./IYearnV2Adapter";
112
+ export type { IZapper } from "./IZapper";
76
113
  export type { IwstETHV1Adapter } from "./IwstETHV1Adapter";
77
114
  export type { Ownable } from "./Ownable";
78
115
  export type { SafeERC20 } from "./SafeERC20";
79
- export type { WATokenZapper } from "./WATokenZapper";
80
- export type { WERC20ZapperBase } from "./WERC20ZapperBase";
81
- export type { WETHZapper } from "./WETHZapper";
82
- export type { WstETHZapper } from "./WstETHZapper";
83
- export type { ZapperBase } from "./ZapperBase";
84
116
  export * as factories from "./factories";
85
- export type { IWrappedATokenEvents } from "./AaveV2_WrappedAToken.sol/IWrappedATokenEvents";
86
- export { IWrappedATokenEvents__factory } from "./factories/AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory";
87
- export type { WrappedAToken } from "./AaveV2_WrappedAToken.sol/WrappedAToken";
88
- export { WrappedAToken__factory } from "./factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory";
89
117
  export { AddressProvider__factory } from "./factories/AddressProvider__factory";
90
118
  export type { BalanceOps } from "./Balances.sol/BalanceOps";
91
119
  export { BalanceOps__factory } from "./factories/Balances.sol/BalanceOps__factory";
92
120
  export { Claimable__factory } from "./factories/Claimable__factory";
93
- export { ERC20__factory } from "./factories/ERC20__factory";
94
121
  export { Errors__factory } from "./factories/Errors__factory";
95
- export { IAToken__factory } from "./factories/IAToken__factory";
122
+ export { IAaveV2_LendingPoolAdapter__factory } from "./factories/IAaveV2_LendingPoolAdapter__factory";
123
+ export { IAaveV2_WrappedATokenAdapter__factory } from "./factories/IAaveV2_WrappedATokenAdapter__factory";
96
124
  export { IAdapter__factory } from "./factories/IAdapter__factory";
97
125
  export type { IAddressProvider } from "./IAddressProvider.sol/IAddressProvider";
98
126
  export { IAddressProvider__factory } from "./factories/IAddressProvider.sol/IAddressProvider__factory";
@@ -102,16 +130,45 @@ export type { IAddressProviderV3 } from "./IAddressProviderV3.sol/IAddressProvid
102
130
  export { IAddressProviderV3__factory } from "./factories/IAddressProviderV3.sol/IAddressProviderV3__factory";
103
131
  export type { IAddressProviderV3Events } from "./IAddressProviderV3.sol/IAddressProviderV3Events";
104
132
  export { IAddressProviderV3Events__factory } from "./factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory";
133
+ export type { IAirdropDistributor } from "./IAirdropDistributor.sol/IAirdropDistributor";
134
+ export { IAirdropDistributor__factory } from "./factories/IAirdropDistributor.sol/IAirdropDistributor__factory";
135
+ export type { IAirdropDistributorEvents } from "./IAirdropDistributor.sol/IAirdropDistributorEvents";
136
+ export { IAirdropDistributorEvents__factory } from "./factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory";
137
+ export type { IBalancerV2Vault } from "./IBalancerV2Vault.sol/IBalancerV2Vault";
138
+ export { IBalancerV2Vault__factory } from "./factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory";
139
+ export type { IBalancerV2VaultGetters } from "./IBalancerV2Vault.sol/IBalancerV2VaultGetters";
140
+ export { IBalancerV2VaultGetters__factory } from "./factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory";
141
+ export type { IBalancerV2VaultAdapter } from "./IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter";
142
+ export { IBalancerV2VaultAdapter__factory } from "./factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory";
143
+ export type { IBalancerV2VaultAdapterEvents } from "./IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents";
144
+ export { IBalancerV2VaultAdapterEvents__factory } from "./factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory";
145
+ export type { IBalancerV2VaultAdapterExceptions } from "./IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions";
146
+ export { IBalancerV2VaultAdapterExceptions__factory } from "./factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory";
105
147
  export { IBaseRewardPool__factory } from "./factories/IBaseRewardPool__factory";
148
+ export type { ICompoundV2_CTokenAdapter } from "./ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter";
149
+ export { ICompoundV2_CTokenAdapter__factory } from "./factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory";
150
+ export type { ICompoundV2_Exceptions } from "./ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions";
151
+ export { ICompoundV2_Exceptions__factory } from "./factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory";
152
+ export type { IContractsRegister } from "./IContractsRegister.sol/IContractsRegister";
153
+ export { IContractsRegister__factory } from "./factories/IContractsRegister.sol/IContractsRegister__factory";
154
+ export type { IContractsRegisterEvents } from "./IContractsRegister.sol/IContractsRegisterEvents";
155
+ export { IContractsRegisterEvents__factory } from "./factories/IContractsRegister.sol/IContractsRegisterEvents__factory";
106
156
  export { IConvexToken__factory } from "./factories/IConvexToken__factory";
107
157
  export { IConvexV1BaseRewardPoolAdapter__factory } from "./factories/IConvexV1BaseRewardPoolAdapter__factory";
108
- export { IConvexV1BoosterAdapter__factory } from "./factories/IConvexV1BoosterAdapter__factory";
158
+ export type { IConvexV1BoosterAdapter } from "./IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter";
159
+ export { IConvexV1BoosterAdapter__factory } from "./factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory";
160
+ export type { IConvexV1BoosterAdapterEvents } from "./IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents";
161
+ export { IConvexV1BoosterAdapterEvents__factory } from "./factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory";
109
162
  export type { ICreditConfiguratorV2 } from "./ICreditConfiguratorV2.sol/ICreditConfiguratorV2";
110
163
  export { ICreditConfiguratorV2__factory } from "./factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory";
111
164
  export type { ICreditConfiguratorV2Events } from "./ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events";
112
165
  export { ICreditConfiguratorV2Events__factory } from "./factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory";
113
166
  export type { ICreditConfiguratorV2Exceptions } from "./ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions";
114
167
  export { ICreditConfiguratorV2Exceptions__factory } from "./factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory";
168
+ export type { ICreditConfiguratorV3 } from "./ICreditConfiguratorV3.sol/ICreditConfiguratorV3";
169
+ export { ICreditConfiguratorV3__factory } from "./factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory";
170
+ export type { ICreditConfiguratorV3Events } from "./ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events";
171
+ export { ICreditConfiguratorV3Events__factory } from "./factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory";
115
172
  export type { ICreditFacadeV2 } from "./ICreditFacadeV2.sol/ICreditFacadeV2";
116
173
  export { ICreditFacadeV2__factory } from "./factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory";
117
174
  export type { ICreditFacadeV2Events } from "./ICreditFacadeV2.sol/ICreditFacadeV2Events";
@@ -137,44 +194,89 @@ export type { ICreditManagerV3 } from "./ICreditManagerV3.sol/ICreditManagerV3";
137
194
  export { ICreditManagerV3__factory } from "./factories/ICreditManagerV3.sol/ICreditManagerV3__factory";
138
195
  export type { ICreditManagerV3Events } from "./ICreditManagerV3.sol/ICreditManagerV3Events";
139
196
  export { ICreditManagerV3Events__factory } from "./factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory";
140
- export { ICurvePool__factory } from "./factories/ICurvePool__factory";
141
197
  export type { ICurvePool2Assets } from "./ICurvePool_2.sol/ICurvePool2Assets";
142
198
  export { ICurvePool2Assets__factory } from "./factories/ICurvePool_2.sol/ICurvePool2Assets__factory";
143
199
  export type { ICurvePool3Assets } from "./ICurvePool_3.sol/ICurvePool3Assets";
144
200
  export { ICurvePool3Assets__factory } from "./factories/ICurvePool_3.sol/ICurvePool3Assets__factory";
145
201
  export type { ICurvePool4Assets } from "./ICurvePool_4.sol/ICurvePool4Assets";
146
202
  export { ICurvePool4Assets__factory } from "./factories/ICurvePool_4.sol/ICurvePool4Assets__factory";
147
- export { ICurveV1Adapter__factory } from "./factories/ICurveV1Adapter__factory";
203
+ export { ICurvePool__factory } from "./factories/ICurvePool__factory";
148
204
  export { ICurveV1_2AssetsAdapter__factory } from "./factories/ICurveV1_2AssetsAdapter__factory";
149
205
  export { ICurveV1_3AssetsAdapter__factory } from "./factories/ICurveV1_3AssetsAdapter__factory";
150
206
  export { ICurveV1_4AssetsAdapter__factory } from "./factories/ICurveV1_4AssetsAdapter__factory";
207
+ export { ICurveV1Adapter__factory } from "./factories/ICurveV1Adapter__factory";
151
208
  export { IDaiLikePermit__factory } from "./factories/IDaiLikePermit__factory";
152
209
  export { IDataCompressorV2_10__factory } from "./factories/IDataCompressorV2_10__factory";
153
210
  export { IDataCompressorV3_00__factory } from "./factories/IDataCompressorV3_00__factory";
211
+ export type { IDegenDistributor } from "./IDegenDistributor.sol/IDegenDistributor";
212
+ export { IDegenDistributor__factory } from "./factories/IDegenDistributor.sol/IDegenDistributor__factory";
213
+ export type { IDegenDistributorEvents } from "./IDegenDistributor.sol/IDegenDistributorEvents";
214
+ export { IDegenDistributorEvents__factory } from "./factories/IDegenDistributor.sol/IDegenDistributorEvents__factory";
215
+ export type { IDegenNFTV2 } from "./IDegenNFTV2.sol/IDegenNFTV2";
216
+ export { IDegenNFTV2__factory } from "./factories/IDegenNFTV2.sol/IDegenNFTV2__factory";
217
+ export type { IDegenNFTV2Events } from "./IDegenNFTV2.sol/IDegenNFTV2Events";
218
+ export { IDegenNFTV2Events__factory } from "./factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory";
219
+ export type { IDegenNFTV2Exceptions } from "./IDegenNFTV2.sol/IDegenNFTV2Exceptions";
220
+ export { IDegenNFTV2Exceptions__factory } from "./factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory";
221
+ export { IERC165__factory } from "./factories/IERC165__factory";
154
222
  export { IERC20__factory } from "./factories/IERC20__factory";
155
223
  export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory";
224
+ export { IERC20Permit__factory } from "./factories/IERC20Permit__factory";
225
+ export { IERC20ZapperDeposits__factory } from "./factories/IERC20ZapperDeposits__factory";
156
226
  export { IERC4626__factory } from "./factories/IERC4626__factory";
227
+ export { IERC4626Adapter__factory } from "./factories/IERC4626Adapter__factory";
228
+ export { IERC721__factory } from "./factories/IERC721__factory";
229
+ export { IERC721Metadata__factory } from "./factories/IERC721Metadata__factory";
230
+ export { IETHZapperDeposits__factory } from "./factories/IETHZapperDeposits__factory";
231
+ export { IGasPricer__factory } from "./factories/IGasPricer__factory";
232
+ export type { IGaugeV3 } from "./IGaugeV3.sol/IGaugeV3";
233
+ export { IGaugeV3__factory } from "./factories/IGaugeV3.sol/IGaugeV3__factory";
234
+ export type { IGaugeV3Events } from "./IGaugeV3.sol/IGaugeV3Events";
235
+ export { IGaugeV3Events__factory } from "./factories/IGaugeV3.sol/IGaugeV3Events__factory";
236
+ export type { IGearStakingV3 } from "./IGearStakingV3.sol/IGearStakingV3";
237
+ export { IGearStakingV3__factory } from "./factories/IGearStakingV3.sol/IGearStakingV3__factory";
238
+ export type { IGearStakingV3Events } from "./IGearStakingV3.sol/IGearStakingV3Events";
239
+ export { IGearStakingV3Events__factory } from "./factories/IGearStakingV3.sol/IGearStakingV3Events__factory";
157
240
  export { IInterestRateModel__factory } from "./factories/IInterestRateModel__factory";
158
- export { ILendingPool__factory } from "./factories/ILendingPool__factory";
159
- export type { ILidoV1Adapter } from "./ILidoV1Adapter.sol/ILidoV1Adapter";
160
- export { ILidoV1Adapter__factory } from "./factories/ILidoV1Adapter.sol/ILidoV1Adapter__factory";
161
- export type { ILidoV1AdapterEvents } from "./ILidoV1Adapter.sol/ILidoV1AdapterEvents";
162
- export { ILidoV1AdapterEvents__factory } from "./factories/ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory";
163
- export type { ILidoV1AdapterExceptions } from "./ILidoV1Adapter.sol/ILidoV1AdapterExceptions";
164
- export { ILidoV1AdapterExceptions__factory } from "./factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory";
241
+ export { ILidoV1Adapter__factory } from "./factories/ILidoV1Adapter__factory";
242
+ export { ILinearInterestRateModelV3__factory } from "./factories/ILinearInterestRateModelV3__factory";
243
+ export type { IRouter } from "./interfaces/IRouter";
244
+ export { IRouter__factory } from "./factories/interfaces/IRouter__factory";
245
+ export { IOffchainOracle__factory } from "./factories/IOffchainOracle__factory";
165
246
  export { IPermit2__factory } from "./factories/IPermit2__factory";
247
+ export type { IPoolQuotaKeeperV3 } from "./IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3";
248
+ export { IPoolQuotaKeeperV3__factory } from "./factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory";
249
+ export type { IPoolQuotaKeeperV3Events } from "./IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events";
250
+ export { IPoolQuotaKeeperV3Events__factory } from "./factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory";
166
251
  export type { IPoolService } from "./IPoolService.sol/IPoolService";
167
252
  export { IPoolService__factory } from "./factories/IPoolService.sol/IPoolService__factory";
168
253
  export type { IPoolServiceEvents } from "./IPoolService.sol/IPoolServiceEvents";
169
254
  export { IPoolServiceEvents__factory } from "./factories/IPoolService.sol/IPoolServiceEvents__factory";
170
- export type { IPoolBase } from "./IPoolV3.sol/IPoolBase";
171
- export { IPoolBase__factory } from "./factories/IPoolV3.sol/IPoolBase__factory";
172
255
  export type { IPoolV3 } from "./IPoolV3.sol/IPoolV3";
173
256
  export { IPoolV3__factory } from "./factories/IPoolV3.sol/IPoolV3__factory";
174
257
  export type { IPoolV3Events } from "./IPoolV3.sol/IPoolV3Events";
175
258
  export { IPoolV3Events__factory } from "./factories/IPoolV3.sol/IPoolV3Events__factory";
259
+ export type { IPriceFeed } from "./IPriceFeed.sol/IPriceFeed";
260
+ export { IPriceFeed__factory } from "./factories/IPriceFeed.sol/IPriceFeed__factory";
261
+ export type { IUpdatablePriceFeed } from "./IPriceFeed.sol/IUpdatablePriceFeed";
262
+ export { IUpdatablePriceFeed__factory } from "./factories/IPriceFeed.sol/IUpdatablePriceFeed__factory";
263
+ export type { IPriceOracleV2 } from "./IPriceOracle.sol/IPriceOracleV2";
264
+ export { IPriceOracleV2__factory } from "./factories/IPriceOracle.sol/IPriceOracleV2__factory";
265
+ export type { IPriceOracleV2Events } from "./IPriceOracle.sol/IPriceOracleV2Events";
266
+ export { IPriceOracleV2Events__factory } from "./factories/IPriceOracle.sol/IPriceOracleV2Events__factory";
267
+ export type { IPriceOracleV2Exceptions } from "./IPriceOracle.sol/IPriceOracleV2Exceptions";
268
+ export { IPriceOracleV2Exceptions__factory } from "./factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory";
269
+ export type { IPriceOracleV2Ext } from "./IPriceOracle.sol/IPriceOracleV2Ext";
270
+ export { IPriceOracleV2Ext__factory } from "./factories/IPriceOracle.sol/IPriceOracleV2Ext__factory";
176
271
  export { IPriceOracleBase__factory } from "./factories/IPriceOracleBase__factory";
177
- export { IRouter__factory } from "./factories/IRouter__factory";
272
+ export type { IPriceOracleV3 } from "./IPriceOracleV3.sol/IPriceOracleV3";
273
+ export { IPriceOracleV3__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3__factory";
274
+ export type { IPriceOracleV3Events } from "./IPriceOracleV3.sol/IPriceOracleV3Events";
275
+ export { IPriceOracleV3Events__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory";
276
+ export type { IstETH } from "./IstETH.sol/IstETH";
277
+ export { IstETH__factory } from "./factories/IstETH.sol/IstETH__factory";
278
+ export type { IstETHGetters } from "./IstETH.sol/IstETHGetters";
279
+ export { IstETHGetters__factory } from "./factories/IstETH.sol/IstETHGetters__factory";
178
280
  export type { IUniswapV2Adapter } from "./IUniswapV2Adapter.sol/IUniswapV2Adapter";
179
281
  export { IUniswapV2Adapter__factory } from "./factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory";
180
282
  export type { IUniswapV2AdapterEvents } from "./IUniswapV2Adapter.sol/IUniswapV2AdapterEvents";
@@ -190,28 +292,18 @@ export { IUniswapV3AdapterEvents__factory } from "./factories/IUniswapV3Adapter.
190
292
  export type { IUniswapV3AdapterExceptions } from "./IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions";
191
293
  export { IUniswapV3AdapterExceptions__factory } from "./factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory";
192
294
  export { IVersion__factory } from "./factories/IVersion__factory";
295
+ export { IVotingContractV3__factory } from "./factories/IVotingContractV3__factory";
193
296
  export { IWETH__factory } from "./factories/IWETH__factory";
194
- export type { IWithdrawalManagerV3 } from "./IWithdrawalManagerV3.sol/IWithdrawalManagerV3";
195
- export { IWithdrawalManagerV3__factory } from "./factories/IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory";
196
- export type { IWithdrawalManagerV3Events } from "./IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events";
197
- export { IWithdrawalManagerV3Events__factory } from "./factories/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory";
198
- export { IYVault__factory } from "./factories/IYVault__factory";
199
- export { IYearnV2Adapter__factory } from "./factories/IYearnV2Adapter__factory";
200
- export type { IstETH } from "./IstETH.sol/IstETH";
201
- export { IstETH__factory } from "./factories/IstETH.sol/IstETH__factory";
202
- export type { IstETHGetters } from "./IstETH.sol/IstETHGetters";
203
- export { IstETHGetters__factory } from "./factories/IstETH.sol/IstETHGetters__factory";
297
+ export { IWETHGateway__factory } from "./factories/IWETHGateway__factory";
204
298
  export type { IwstETH } from "./IwstETH.sol/IwstETH";
205
299
  export { IwstETH__factory } from "./factories/IwstETH.sol/IwstETH__factory";
206
300
  export type { IwstETHGetters } from "./IwstETH.sol/IwstETHGetters";
207
301
  export { IwstETHGetters__factory } from "./factories/IwstETH.sol/IwstETHGetters__factory";
302
+ export type { IwstETHGateWay } from "./IwstETHGateway.sol/IwstETHGateWay";
303
+ export { IwstETHGateWay__factory } from "./factories/IwstETHGateway.sol/IwstETHGateWay__factory";
208
304
  export { IwstETHV1Adapter__factory } from "./factories/IwstETHV1Adapter__factory";
305
+ export { IYearnV2Adapter__factory } from "./factories/IYearnV2Adapter__factory";
306
+ export { IYVault__factory } from "./factories/IYVault__factory";
307
+ export { IZapper__factory } from "./factories/IZapper__factory";
209
308
  export { Ownable__factory } from "./factories/Ownable__factory";
210
309
  export { SafeERC20__factory } from "./factories/SafeERC20__factory";
211
- export { WATokenZapper__factory } from "./factories/WATokenZapper__factory";
212
- export { WERC20ZapperBase__factory } from "./factories/WERC20ZapperBase__factory";
213
- export { WETHZapper__factory } from "./factories/WETHZapper__factory";
214
- export { WstETHZapper__factory } from "./factories/WstETHZapper__factory";
215
- export { ZapperBase__factory } from "./factories/ZapperBase__factory";
216
- export type { IERC20Permit } from "./draft-IERC20Permit.sol/IERC20Permit";
217
- export { IERC20Permit__factory } from "./factories/draft-IERC20Permit.sol/IERC20Permit__factory";