@gearbox-protocol/sdk 3.0.0-next.8 → 3.0.0-next.81

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 (510) hide show
  1. package/contracts/index.sol +35 -4
  2. package/lib/apy/curveAPY.js +2 -1
  3. package/lib/apy/index.d.ts +2 -2
  4. package/lib/apy/yearnAPY.js +1 -1
  5. package/lib/core/assets.d.ts +4 -4
  6. package/lib/core/assets.js +28 -17
  7. package/lib/core/creditAccount.d.ts +33 -9
  8. package/lib/core/creditAccount.js +102 -46
  9. package/lib/core/creditAccount.spec.js +703 -10
  10. package/lib/core/creditManager.d.ts +13 -3
  11. package/lib/core/creditManager.js +48 -9
  12. package/lib/core/events.js +16 -16
  13. package/lib/core/gauge.d.ts +26 -0
  14. package/lib/core/gauge.js +63 -0
  15. package/lib/core/gaugeMath.d.ts +40 -0
  16. package/lib/core/gaugeMath.js +108 -0
  17. package/lib/core/gaugeMath.spec.d.ts +1 -0
  18. package/lib/core/gaugeMath.spec.js +388 -0
  19. package/lib/core/{pool/data.d.ts → pool.d.ts} +18 -10
  20. package/lib/core/{pool/data.js → pool.js} +68 -24
  21. package/lib/core/strategy.d.ts +5 -4
  22. package/lib/core/strategy.js +16 -15
  23. package/lib/core/strategy.spec.js +69 -19
  24. package/lib/core/trade.d.ts +9 -8
  25. package/lib/core/trade.js +32 -25
  26. package/lib/core/transactions.d.ts +65 -3
  27. package/lib/core/transactions.js +165 -108
  28. package/lib/index.d.ts +3 -0
  29. package/lib/index.js +3 -0
  30. package/lib/parsers/abstractParser.js +1 -2
  31. package/lib/parsers/convexBaseRewardPoolAdapterParser.js +10 -8
  32. package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
  33. package/lib/parsers/convexBoosterAdapterParser.js +6 -6
  34. package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
  35. package/lib/parsers/creditFacadeParser.d.ts +2 -1
  36. package/lib/parsers/creditFacadeParser.js +44 -5
  37. package/lib/parsers/creditFacadeParser.spec.js +3 -4
  38. package/lib/parsers/curveAdapterParser.js +10 -11
  39. package/lib/parsers/curveAdapterParser.spec.js +6 -2
  40. package/lib/parsers/lidoAdapterParser.js +3 -2
  41. package/lib/parsers/lidoAdapterParser.spec.js +2 -2
  42. package/lib/parsers/txParser.d.ts +1 -1
  43. package/lib/parsers/txParser.js +9 -3
  44. package/lib/parsers/uniV2AdapterParser.js +5 -4
  45. package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
  46. package/lib/parsers/uniV3AdapterParser.js +9 -7
  47. package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
  48. package/lib/parsers/wstETHAdapterParser.js +6 -4
  49. package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
  50. package/lib/parsers/yearnAdapterParser.spec.js +4 -4
  51. package/lib/parsers/yearnV2AdapterParser.js +13 -3
  52. package/lib/pathfinder/core.d.ts +8 -9
  53. package/lib/pathfinder/pathOptions.d.ts +2 -1
  54. package/lib/pathfinder/pathOptions.js +20 -1
  55. package/lib/pathfinder/pathOptions.spec.js +2 -2
  56. package/lib/pathfinder/pathfinder.d.ts +44 -16
  57. package/lib/pathfinder/pathfinder.js +58 -39
  58. package/lib/pathfinder/pathfinder.spec.js +7 -3
  59. package/lib/payload/creditAccount.d.ts +3 -4
  60. package/lib/payload/gauge.d.ts +12 -0
  61. package/lib/payload/pool.d.ts +7 -1
  62. package/lib/types/CalldataExtractor.d.ts +44 -0
  63. package/lib/types/FarmAccounting.d.ts +27 -0
  64. package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +171 -0
  65. package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +290 -0
  66. package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +308 -0
  67. package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +112 -0
  68. package/lib/types/IBalancerV2Vault.sol/index.d.ts +2 -0
  69. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +466 -0
  70. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
  71. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +27 -0
  72. package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  73. package/lib/types/IBotListV3.sol/IBotListV3.d.ts +286 -0
  74. package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +103 -0
  75. package/lib/types/IBotListV3.sol/index.d.ts +2 -0
  76. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +216 -0
  77. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +27 -0
  78. package/lib/types/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  79. package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +128 -0
  80. package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +50 -0
  81. package/lib/types/IContractsRegister.sol/index.d.ts +2 -0
  82. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.d.ts +504 -0
  83. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +82 -0
  84. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.js +2 -0
  85. package/lib/types/IControllerTimelockV3.sol/index.d.ts +2 -0
  86. package/lib/types/IControllerTimelockV3.sol/index.js +2 -0
  87. package/lib/types/IConvexToken.d.ts +9 -1
  88. package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +46 -30
  89. package/lib/types/{IConvexV1BoosterAdapter.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts} +40 -21
  90. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js +2 -0
  91. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
  92. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js +2 -0
  93. package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  94. package/lib/types/IConvexV1BoosterAdapter.sol/index.js +2 -0
  95. package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.d.ts +716 -0
  96. package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.js +2 -0
  97. package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.d.ts +275 -0
  98. package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.js +2 -0
  99. package/lib/types/ICreditConfiguratorV3.sol/index.d.ts +2 -0
  100. package/lib/types/ICreditConfiguratorV3.sol/index.js +2 -0
  101. package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +7 -11
  102. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +193 -96
  103. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +31 -35
  104. package/lib/types/ICreditFacadeV3Multicall.d.ts +91 -60
  105. package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +360 -106
  106. package/lib/types/ICurveV1Adapter.d.ts +41 -105
  107. package/lib/types/ICurveV1_2AssetsAdapter.d.ts +41 -105
  108. package/lib/types/ICurveV1_3AssetsAdapter.d.ts +41 -105
  109. package/lib/types/ICurveV1_4AssetsAdapter.d.ts +41 -105
  110. package/lib/types/IDataCompressorV2_10.d.ts +44 -39
  111. package/lib/types/IDataCompressorV3_00.d.ts +141 -40
  112. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +339 -0
  113. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.js +2 -0
  114. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +61 -0
  115. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.js +2 -0
  116. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +27 -0
  117. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.js +2 -0
  118. package/lib/types/IDegenNFTV2.sol/index.d.ts +3 -0
  119. package/lib/types/IDegenNFTV2.sol/index.js +2 -0
  120. package/lib/types/IERC165.d.ts +42 -0
  121. package/lib/types/IERC165.js +2 -0
  122. package/lib/types/{draft-IERC20Permit.sol/IERC20Permit.d.ts → IERC20Permit.d.ts} +1 -1
  123. package/lib/types/IERC20Permit.js +2 -0
  124. package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
  125. package/lib/types/IERC20ZapperDeposits.js +2 -0
  126. package/lib/types/IERC4626Adapter.d.ts +238 -0
  127. package/lib/types/IERC4626Adapter.js +2 -0
  128. package/lib/types/IERC721.d.ts +220 -0
  129. package/lib/types/IERC721.js +2 -0
  130. package/lib/types/IERC721Metadata.d.ts +244 -0
  131. package/lib/types/IERC721Metadata.js +2 -0
  132. package/lib/types/IETHZapperDeposits.d.ts +66 -0
  133. package/lib/types/IETHZapperDeposits.js +2 -0
  134. package/lib/types/{AaveV2_WrappedAToken.sol/WrappedAToken.d.ts → IFarmingPool.d.ts} +131 -145
  135. package/lib/types/IFarmingPool.js +2 -0
  136. package/lib/types/IGasPricer.d.ts +44 -0
  137. package/lib/types/IGasPricer.js +2 -0
  138. package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
  139. package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
  140. package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
  141. package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
  142. package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
  143. package/lib/types/IGaugeV3.sol/index.js +2 -0
  144. package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
  145. package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
  146. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
  147. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
  148. package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
  149. package/lib/types/IGearStakingV3.sol/index.js +2 -0
  150. package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +285 -0
  151. package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.js +2 -0
  152. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +54 -0
  153. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.js +2 -0
  154. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +27 -0
  155. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.js +2 -0
  156. package/lib/types/ILPPriceFeed.sol/index.d.ts +3 -0
  157. package/lib/types/ILPPriceFeed.sol/index.js +2 -0
  158. package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.d.ts → ILidoV1Adapter.d.ts} +13 -48
  159. package/lib/types/ILidoV1Adapter.js +2 -0
  160. package/lib/types/ILinearInterestRateModelV3.d.ts +120 -0
  161. package/lib/types/ILinearInterestRateModelV3.js +2 -0
  162. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
  163. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
  164. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
  165. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
  166. package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  167. package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
  168. package/lib/types/IPoolV3.sol/IPoolV3.d.ts +43 -11
  169. package/lib/types/IPoolV3.sol/index.d.ts +0 -1
  170. package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
  171. package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
  172. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
  173. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.js +2 -0
  174. package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
  175. package/lib/types/IPriceFeed.sol/index.js +2 -0
  176. package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
  177. package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
  178. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
  179. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
  180. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts → IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts} +3 -3
  181. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
  182. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
  183. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
  184. package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
  185. package/lib/types/IPriceOracle.sol/index.js +2 -0
  186. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +272 -0
  187. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
  188. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +79 -0
  189. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
  190. package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
  191. package/lib/types/IPriceOracleV3.sol/index.js +2 -0
  192. package/lib/types/{IRouter.d.ts → IRouterV3.d.ts} +50 -37
  193. package/lib/types/IRouterV3.js +2 -0
  194. package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +10 -9
  195. package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +27 -21
  196. package/lib/types/IVotingContractV3.d.ts +74 -0
  197. package/lib/types/IVotingContractV3.js +2 -0
  198. package/lib/types/IYearnV2Adapter.d.ts +22 -22
  199. package/lib/types/IZapper.d.ts +125 -0
  200. package/lib/types/IZapper.js +2 -0
  201. package/lib/types/IZapperRegister.d.ts +62 -0
  202. package/lib/types/IZapperRegister.js +2 -0
  203. package/lib/types/IwstETHV1Adapter.d.ts +17 -17
  204. package/lib/types/NumericArrayLib.d.ts +27 -0
  205. package/lib/types/NumericArrayLib.js +2 -0
  206. package/lib/types/RedstoneConstants.d.ts +27 -0
  207. package/lib/types/RedstoneConstants.js +2 -0
  208. package/lib/types/RedstoneConsumerBase.d.ts +84 -0
  209. package/lib/types/RedstoneConsumerBase.js +2 -0
  210. package/lib/types/RedstoneConsumerNumericBase.d.ts +84 -0
  211. package/lib/types/RedstoneConsumerNumericBase.js +2 -0
  212. package/lib/types/RedstoneDefaultsLib.d.ts +27 -0
  213. package/lib/types/RedstoneDefaultsLib.js +2 -0
  214. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts} +11 -11
  215. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.js +2 -0
  216. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +27 -0
  217. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.js +2 -0
  218. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +279 -0
  219. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.js +2 -0
  220. package/lib/types/RedstonePriceFeed.sol/index.d.ts +3 -0
  221. package/lib/types/RedstonePriceFeed.sol/index.js +2 -0
  222. package/lib/types/factories/AddressProvider__factory.d.ts +1 -1
  223. package/lib/types/factories/AddressProvider__factory.js +1 -1
  224. package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +1 -1
  225. package/lib/types/factories/Balances.sol/BalanceOps__factory.js +1 -1
  226. package/lib/types/factories/CalldataExtractor__factory.d.ts +87 -0
  227. package/lib/types/factories/CalldataExtractor__factory.js +127 -0
  228. package/lib/types/factories/Claimable__factory.d.ts +1 -1
  229. package/lib/types/factories/Claimable__factory.js +1 -1
  230. package/lib/types/factories/ERC20__factory.d.ts +1 -1
  231. package/lib/types/factories/ERC20__factory.js +1 -1
  232. package/lib/types/factories/Errors__factory.d.ts +1 -1
  233. package/lib/types/factories/Errors__factory.js +1 -1
  234. package/lib/types/factories/FarmAccounting__factory.d.ts +33 -0
  235. package/lib/types/factories/FarmAccounting__factory.js +57 -0
  236. package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +158 -0
  237. package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +215 -0
  238. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +252 -0
  239. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +341 -0
  240. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +78 -0
  241. package/lib/types/factories/{ZapperBase__factory.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js} +54 -31
  242. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +360 -0
  243. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +475 -0
  244. package/lib/types/factories/IBalancerV2Vault.sol/index.d.ts +2 -0
  245. package/lib/types/factories/IBalancerV2Vault.sol/index.js +10 -0
  246. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +23 -0
  247. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +38 -0
  248. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +12 -0
  249. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js} +4 -4
  250. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +514 -0
  251. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +675 -0
  252. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  253. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.js +12 -0
  254. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +103 -0
  255. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +138 -0
  256. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +315 -0
  257. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +416 -0
  258. package/lib/types/factories/IBotListV3.sol/index.d.ts +2 -0
  259. package/lib/types/factories/IBotListV3.sol/index.js +10 -0
  260. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +196 -0
  261. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +267 -0
  262. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +16 -0
  263. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +30 -0
  264. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  265. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.js +10 -0
  266. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +28 -0
  267. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +45 -0
  268. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +134 -0
  269. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +186 -0
  270. package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
  271. package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
  272. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +73 -0
  273. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +101 -0
  274. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +427 -0
  275. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +556 -0
  276. package/lib/types/factories/IControllerTimelockV3.sol/index.d.ts +2 -0
  277. package/lib/types/factories/IControllerTimelockV3.sol/index.js +10 -0
  278. package/lib/types/factories/IConvexToken__factory.d.ts +10 -0
  279. package/lib/types/factories/IConvexToken__factory.js +13 -0
  280. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +38 -6
  281. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +48 -6
  282. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +23 -0
  283. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +38 -0
  284. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts} +26 -3
  285. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js} +31 -2
  286. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  287. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.js +10 -0
  288. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +273 -0
  289. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +357 -0
  290. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +605 -0
  291. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +785 -0
  292. package/lib/types/factories/ICreditConfiguratorV3.sol/index.d.ts +2 -0
  293. package/lib/types/factories/ICreditConfiguratorV3.sol/index.js +10 -0
  294. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +0 -4
  295. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +0 -5
  296. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +19 -29
  297. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +21 -33
  298. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +141 -77
  299. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +176 -91
  300. package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +77 -43
  301. package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +96 -54
  302. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +337 -155
  303. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +423 -189
  304. package/lib/types/factories/ICurveV1Adapter__factory.d.ts +13 -71
  305. package/lib/types/factories/ICurveV1Adapter__factory.js +14 -91
  306. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +13 -71
  307. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +14 -91
  308. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +13 -71
  309. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +14 -91
  310. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +13 -71
  311. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +14 -91
  312. package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +110 -62
  313. package/lib/types/factories/IDataCompressorV2_10__factory.js +138 -78
  314. package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +375 -91
  315. package/lib/types/factories/IDataCompressorV3_00__factory.js +476 -115
  316. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +38 -0
  317. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +58 -0
  318. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +24 -0
  319. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +39 -0
  320. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.d.ts → IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts} +190 -180
  321. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js → IDegenNFTV2.sol/IDegenNFTV2__factory.js} +212 -195
  322. package/lib/types/factories/IDegenNFTV2.sol/index.d.ts +3 -0
  323. package/lib/types/factories/IDegenNFTV2.sol/index.js +12 -0
  324. package/lib/types/factories/IERC165__factory.d.ts +22 -0
  325. package/lib/types/factories/IERC165__factory.js +38 -0
  326. package/lib/types/factories/{draft-IERC20Permit.sol/IERC20Permit__factory.d.ts → IERC20Permit__factory.d.ts} +1 -1
  327. package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
  328. package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
  329. package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
  330. package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
  331. package/lib/types/factories/IERC721Metadata__factory.d.ts +262 -0
  332. package/lib/types/factories/IERC721Metadata__factory.js +349 -0
  333. package/lib/types/factories/IERC721__factory.d.ts +228 -0
  334. package/lib/types/factories/IERC721__factory.js +304 -0
  335. package/lib/types/factories/IETHZapperDeposits__factory.d.ts +40 -0
  336. package/lib/types/factories/{AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory.js → IETHZapperDeposits__factory.js} +18 -25
  337. package/lib/types/factories/IFarmingPool__factory.d.ts +299 -0
  338. package/lib/types/factories/IFarmingPool__factory.js +396 -0
  339. package/lib/types/factories/IGasPricer__factory.d.ts +22 -0
  340. package/lib/types/factories/IGasPricer__factory.js +38 -0
  341. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
  342. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
  343. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
  344. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
  345. package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
  346. package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
  347. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.d.ts → IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts} +33 -63
  348. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js → IGearStakingV3.sol/IGearStakingV3Events__factory.js} +34 -70
  349. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +504 -0
  350. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +660 -0
  351. package/lib/types/factories/IGearStakingV3.sol/index.d.ts +2 -0
  352. package/lib/types/factories/IGearStakingV3.sol/index.js +10 -0
  353. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +33 -0
  354. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +51 -0
  355. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +28 -0
  356. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +44 -0
  357. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +261 -0
  358. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +344 -0
  359. package/lib/types/factories/ILPPriceFeed.sol/index.d.ts +3 -0
  360. package/lib/types/factories/ILPPriceFeed.sol/index.js +12 -0
  361. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts → ILidoV1Adapter__factory.d.ts} +7 -37
  362. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.js → ILidoV1Adapter__factory.js} +8 -46
  363. package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +98 -0
  364. package/lib/types/factories/ILinearInterestRateModelV3__factory.js +136 -0
  365. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +103 -0
  366. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
  367. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +441 -0
  368. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +580 -0
  369. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  370. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.js +10 -0
  371. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +62 -14
  372. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +79 -17
  373. package/lib/types/factories/IPoolV3.sol/index.d.ts +0 -1
  374. package/lib/types/factories/IPoolV3.sol/index.js +1 -3
  375. package/lib/types/factories/{IPoolV3.sol/IPoolBase__factory.d.ts → IPriceFeed.sol/IPriceFeed__factory.d.ts} +39 -35
  376. package/lib/types/factories/{IPoolV3.sol/IPoolBase__factory.js → IPriceFeed.sol/IPriceFeed__factory.js} +40 -35
  377. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +104 -0
  378. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +143 -0
  379. package/lib/types/factories/IPriceFeed.sol/index.d.ts +2 -0
  380. package/lib/types/factories/IPriceFeed.sol/index.js +10 -0
  381. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +23 -0
  382. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
  383. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
  384. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
  385. package/lib/types/factories/{IAToken__factory.d.ts → IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts} +98 -99
  386. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
  387. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
  388. package/lib/types/factories/{IAToken__factory.js → IPriceOracle.sol/IPriceOracleV2__factory.js} +94 -112
  389. package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
  390. package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
  391. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +78 -0
  392. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +106 -0
  393. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +326 -0
  394. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +433 -0
  395. package/lib/types/factories/IPriceOracleV3.sol/index.d.ts +2 -0
  396. package/lib/types/factories/IPriceOracleV3.sol/index.js +10 -0
  397. package/lib/types/factories/{IRouter__factory.d.ts → IRouterV3__factory.d.ts} +78 -9
  398. package/lib/types/factories/{IRouter__factory.js → IRouterV3__factory.js} +99 -9
  399. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +5 -1
  400. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +6 -1
  401. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +12 -4
  402. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +14 -4
  403. package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
  404. package/lib/types/factories/IVotingContractV3__factory.js +65 -0
  405. package/lib/types/factories/IYearnV2Adapter__factory.d.ts +21 -13
  406. package/lib/types/factories/IYearnV2Adapter__factory.js +27 -15
  407. package/lib/types/factories/IZapperRegister__factory.d.ts +42 -0
  408. package/lib/types/factories/IZapperRegister__factory.js +64 -0
  409. package/lib/types/factories/{WERC20ZapperBase__factory.d.ts → IZapper__factory.d.ts} +52 -64
  410. package/lib/types/factories/{WERC20ZapperBase__factory.js → IZapper__factory.js} +58 -74
  411. package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +12 -4
  412. package/lib/types/factories/IwstETHV1Adapter__factory.js +16 -4
  413. package/lib/types/factories/NumericArrayLib__factory.d.ts +25 -0
  414. package/lib/types/factories/NumericArrayLib__factory.js +47 -0
  415. package/lib/types/factories/RedstoneConstants__factory.d.ts +65 -0
  416. package/lib/types/factories/RedstoneConstants__factory.js +99 -0
  417. package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +164 -0
  418. package/lib/types/factories/RedstoneConsumerBase__factory.js +223 -0
  419. package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +164 -0
  420. package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +223 -0
  421. package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +45 -0
  422. package/lib/types/factories/RedstoneDefaultsLib__factory.js +74 -0
  423. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts} +6 -6
  424. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js} +5 -5
  425. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +28 -0
  426. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +44 -0
  427. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +443 -0
  428. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +589 -0
  429. package/lib/types/factories/RedstonePriceFeed.sol/index.d.ts +3 -0
  430. package/lib/types/factories/RedstonePriceFeed.sol/index.js +12 -0
  431. package/lib/types/factories/SafeERC20__factory.d.ts +1 -1
  432. package/lib/types/factories/SafeERC20__factory.js +1 -1
  433. package/lib/types/factories/index.d.ts +41 -13
  434. package/lib/types/factories/index.js +67 -24
  435. package/lib/types/index.d.ts +163 -44
  436. package/lib/types/index.js +131 -36
  437. package/lib/utils/formatter.d.ts +0 -3
  438. package/lib/utils/formatter.js +1 -67
  439. package/lib/utils/math.d.ts +2 -0
  440. package/lib/utils/math.js +2 -0
  441. package/lib/utils/types.d.ts +1 -0
  442. package/lib/watchers/creditAccountWatcher.d.ts +3 -2
  443. package/lib/watchers/creditAccountWatcher.js +19 -13
  444. package/lib/watchers/creditAccountWatcher.spec.js +18 -18
  445. package/lib/watchers/creditManagerWatcher.d.ts +5 -3
  446. package/lib/watchers/creditManagerWatcher.js +32 -10
  447. package/lib/watchers/creditManagerWatcher.spec.js +12 -4
  448. package/package.json +12 -9
  449. package/contracts/IRouter.sol +0 -100
  450. package/lib/core/pool/index.d.ts +0 -1
  451. package/lib/core/pool/index.js +0 -17
  452. package/lib/types/AaveV2_WrappedAToken.sol/IWrappedATokenEvents.d.ts +0 -60
  453. package/lib/types/AaveV2_WrappedAToken.sol/index.d.ts +0 -2
  454. package/lib/types/IAToken.d.ts +0 -182
  455. package/lib/types/ILendingPool.d.ts +0 -140
  456. package/lib/types/ILidoV1Adapter.sol/index.d.ts +0 -3
  457. package/lib/types/IPoolV3.sol/IPoolBase.d.ts +0 -102
  458. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
  459. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
  460. package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  461. package/lib/types/WATokenZapper.d.ts +0 -134
  462. package/lib/types/WERC20ZapperBase.d.ts +0 -134
  463. package/lib/types/WETHZapper.d.ts +0 -122
  464. package/lib/types/WstETHZapper.d.ts +0 -134
  465. package/lib/types/ZapperBase.d.ts +0 -70
  466. package/lib/types/draft-IERC20Permit.sol/index.d.ts +0 -1
  467. package/lib/types/factories/AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory.d.ts +0 -48
  468. package/lib/types/factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory.d.ts +0 -397
  469. package/lib/types/factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory.js +0 -535
  470. package/lib/types/factories/AaveV2_WrappedAToken.sol/index.d.ts +0 -2
  471. package/lib/types/factories/AaveV2_WrappedAToken.sol/index.js +0 -10
  472. package/lib/types/factories/ILendingPool__factory.d.ts +0 -134
  473. package/lib/types/factories/ILendingPool__factory.js +0 -183
  474. package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
  475. package/lib/types/factories/ILidoV1Adapter.sol/index.d.ts +0 -3
  476. package/lib/types/factories/ILidoV1Adapter.sol/index.js +0 -12
  477. package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  478. package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
  479. package/lib/types/factories/WATokenZapper__factory.d.ts +0 -161
  480. package/lib/types/factories/WATokenZapper__factory.js +0 -227
  481. package/lib/types/factories/WETHZapper__factory.d.ts +0 -138
  482. package/lib/types/factories/WETHZapper__factory.js +0 -198
  483. package/lib/types/factories/WstETHZapper__factory.d.ts +0 -161
  484. package/lib/types/factories/WstETHZapper__factory.js +0 -227
  485. package/lib/types/factories/ZapperBase__factory.d.ts +0 -60
  486. package/lib/types/factories/draft-IERC20Permit.sol/index.d.ts +0 -1
  487. package/lib/types/factories/draft-IERC20Permit.sol/index.js +0 -8
  488. /package/lib/{types/AaveV2_WrappedAToken.sol/IWrappedATokenEvents.js → payload/gauge.js} +0 -0
  489. /package/lib/types/{AaveV2_WrappedAToken.sol/WrappedAToken.js → CalldataExtractor.js} +0 -0
  490. /package/lib/types/{AaveV2_WrappedAToken.sol/index.js → FarmAccounting.js} +0 -0
  491. /package/lib/types/{IAToken.js → IAaveV2_LendingPoolAdapter.js} +0 -0
  492. /package/lib/types/{IConvexV1BoosterAdapter.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
  493. /package/lib/types/{ILendingPool.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
  494. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
  495. /package/lib/types/{ILidoV1Adapter.sol → IBalancerV2Vault.sol}/index.js +0 -0
  496. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js} +0 -0
  497. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js} +0 -0
  498. /package/lib/types/{IPoolV3.sol/IPoolBase.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.js} +0 -0
  499. /package/lib/types/{IWithdrawalManagerV3.sol → IBalancerV2VaultAdapter.sol}/index.js +0 -0
  500. /package/lib/types/{IRouter.js → IBotListV3.sol/IBotListV3.js} +0 -0
  501. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → IBotListV3.sol/IBotListV3Events.js} +0 -0
  502. /package/lib/types/{draft-IERC20Permit.sol → IBotListV3.sol}/index.js +0 -0
  503. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js} +0 -0
  504. /package/lib/types/{WATokenZapper.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js} +0 -0
  505. /package/lib/types/{WERC20ZapperBase.js → ICompoundV2_CTokenAdapter.sol/index.js} +0 -0
  506. /package/lib/types/{WETHZapper.js → IContractsRegister.sol/IContractsRegister.js} +0 -0
  507. /package/lib/types/{WstETHZapper.js → IContractsRegister.sol/IContractsRegisterEvents.js} +0 -0
  508. /package/lib/types/{ZapperBase.js → IContractsRegister.sol/index.js} +0 -0
  509. /package/lib/types/{draft-IERC20Permit.sol/IERC20Permit.js → IControllerTimelockV3.sol/IControllerTimelockV3.js} +0 -0
  510. /package/lib/types/factories/{draft-IERC20Permit.sol/IERC20Permit__factory.js → IERC20Permit__factory.js} +0 -0
@@ -79,7 +79,7 @@ const _abi = [
79
79
  type: "function",
80
80
  },
81
81
  ];
82
- const _bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61045b8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80638da5cb5b116100505780638da5cb5b1461007e578063e30c3978146100c1578063f2fde38b146100e157600080fd5b80634e71e0c81461006c578063715018a614610076575b600080fd5b6100746100f4565b005b6100746101ec565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6001546100989073ffffffffffffffffffffffffffffffffffffffff1681565b6100746100ef3660046103e8565b610200565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f436c61696d61626c653a2053656e646572206973206e6f742070656e64696e6760448201527f206f776e6572000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6001546101c29073ffffffffffffffffffffffffffffffffffffffff166102f2565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6101f4610367565b6101fe60006102f2565b565b610208610367565b73ffffffffffffffffffffffffffffffffffffffff81166102ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f436c61696d61626c653a206e6577206f776e657220697320746865207a65726f60448201527f20616464726573730000000000000000000000000000000000000000000000006064820152608401610197565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610197565b6000602082840312156103fa57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461041e57600080fd5b939250505056fea2646970667358221220e368e70675888abc2a67cab6b6b6189f5c35944cc522e1234e302a839b0a3b9364736f6c63430008110033";
82
+ const _bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61045b8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80638da5cb5b116100505780638da5cb5b1461007e578063e30c3978146100c1578063f2fde38b146100e157600080fd5b80634e71e0c81461006c578063715018a614610076575b600080fd5b6100746100f4565b005b6100746101ec565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6001546100989073ffffffffffffffffffffffffffffffffffffffff1681565b6100746100ef3660046103e8565b610200565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f436c61696d61626c653a2053656e646572206973206e6f742070656e64696e6760448201527f206f776e6572000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6001546101c29073ffffffffffffffffffffffffffffffffffffffff166102f2565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6101f4610367565b6101fe60006102f2565b565b610208610367565b73ffffffffffffffffffffffffffffffffffffffff81166102ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f436c61696d61626c653a206e6577206f776e657220697320746865207a65726f60448201527f20616464726573730000000000000000000000000000000000000000000000006064820152608401610197565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610197565b6000602082840312156103fa57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461041e57600080fd5b939250505056fea2646970667358221220c7bbeef6e1a7155e6c0d8d791460d36c10ef5a98101ce08d24dd37089d899dab64736f6c63430008110033";
83
83
  const isSuperArgs = (xs) => xs.length > 1;
84
84
  class Claimable__factory extends ethers_1.ContractFactory {
85
85
  constructor(...args) {
@@ -13,7 +13,7 @@ export declare class ERC20__factory extends ContractFactory {
13
13
  }): TransactionRequest;
14
14
  attach(address: string): ERC20;
15
15
  connect(signer: Signer): ERC20__factory;
16
- static readonly bytecode = "0x60806040523480156200001157600080fd5b5060405162000e0f38038062000e0f83398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b1b80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610908565b60405180910390f35b6100ff6100fa36600461099d565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c7565b6102ac565b604051601281526020016100e3565b6100ff61015136600461099d565b6102d0565b610113610164366004610a03565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d661031c565b6100ff6101a236600461099d565b61032b565b6100ff6101b536600461099d565b610401565b6101136101c8366004610a25565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a58565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a58565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b6000336102a081858561040f565b60019150505b92915050565b6000336102ba8582856105c2565b6102c5858585610699565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102a09082908690610317908790610aab565b61040f565b60606004805461020f90610a58565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102c5828686840361040f565b6000336102a0818585610699565b73ffffffffffffffffffffffffffffffffffffffff83166104b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff8216610554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106935781811015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b610693848484840361040f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661073c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff82166107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610693565b600060208083528351808285015260005b8181101561093557858101830151858201604001528201610919565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461099857600080fd5b919050565b600080604083850312156109b057600080fd5b6109b983610974565b946020939093013593505050565b6000806000606084860312156109dc57600080fd5b6109e584610974565b92506109f360208501610974565b9150604084013590509250925092565b600060208284031215610a1557600080fd5b610a1e82610974565b9392505050565b60008060408385031215610a3857600080fd5b610a4183610974565b9150610a4f60208401610974565b90509250929050565b600181811c90821680610a6c57607f821691505b602082108103610aa5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156102a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220aca39ef1aa90a6de81d9137dffa828869c919640815a7706778840412b70366964736f6c63430008110033";
16
+ static readonly bytecode = "0x60806040523480156200001157600080fd5b5060405162000e0f38038062000e0f83398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b1b80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610908565b60405180910390f35b6100ff6100fa36600461099d565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c7565b6102ac565b604051601281526020016100e3565b6100ff61015136600461099d565b6102d0565b610113610164366004610a03565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d661031c565b6100ff6101a236600461099d565b61032b565b6100ff6101b536600461099d565b610401565b6101136101c8366004610a25565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a58565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a58565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b6000336102a081858561040f565b60019150505b92915050565b6000336102ba8582856105c2565b6102c5858585610699565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102a09082908690610317908790610aab565b61040f565b60606004805461020f90610a58565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102c5828686840361040f565b6000336102a0818585610699565b73ffffffffffffffffffffffffffffffffffffffff83166104b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff8216610554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106935781811015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b610693848484840361040f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661073c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff82166107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610693565b600060208083528351808285015260005b8181101561093557858101830151858201604001528201610919565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461099857600080fd5b919050565b600080604083850312156109b057600080fd5b6109b983610974565b946020939093013593505050565b6000806000606084860312156109dc57600080fd5b6109e584610974565b92506109f360208501610974565b9150604084013590509250925092565b600060208284031215610a1557600080fd5b610a1e82610974565b9392505050565b60008060408385031215610a3857600080fd5b610a4183610974565b9150610a4f60208401610974565b90509250929050565b600181811c90821680610a6c57607f821691505b602082108103610aa5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156102a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212204f6c335da98a4d625432f1cf70d64eae94140c14fad4e6c939bad73f31edc29164736f6c63430008110033";
17
17
  static readonly abi: readonly [{
18
18
  readonly inputs: readonly [{
19
19
  readonly internalType: "string";
@@ -293,7 +293,7 @@ const _abi = [
293
293
  type: "function",
294
294
  },
295
295
  ];
296
- const _bytecode = "0x60806040523480156200001157600080fd5b5060405162000e0f38038062000e0f83398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b1b80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610908565b60405180910390f35b6100ff6100fa36600461099d565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c7565b6102ac565b604051601281526020016100e3565b6100ff61015136600461099d565b6102d0565b610113610164366004610a03565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d661031c565b6100ff6101a236600461099d565b61032b565b6100ff6101b536600461099d565b610401565b6101136101c8366004610a25565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a58565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a58565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b6000336102a081858561040f565b60019150505b92915050565b6000336102ba8582856105c2565b6102c5858585610699565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102a09082908690610317908790610aab565b61040f565b60606004805461020f90610a58565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102c5828686840361040f565b6000336102a0818585610699565b73ffffffffffffffffffffffffffffffffffffffff83166104b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff8216610554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106935781811015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b610693848484840361040f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661073c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff82166107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610693565b600060208083528351808285015260005b8181101561093557858101830151858201604001528201610919565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461099857600080fd5b919050565b600080604083850312156109b057600080fd5b6109b983610974565b946020939093013593505050565b6000806000606084860312156109dc57600080fd5b6109e584610974565b92506109f360208501610974565b9150604084013590509250925092565b600060208284031215610a1557600080fd5b610a1e82610974565b9392505050565b60008060408385031215610a3857600080fd5b610a4183610974565b9150610a4f60208401610974565b90509250929050565b600181811c90821680610a6c57607f821691505b602082108103610aa5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156102a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220aca39ef1aa90a6de81d9137dffa828869c919640815a7706778840412b70366964736f6c63430008110033";
296
+ const _bytecode = "0x60806040523480156200001157600080fd5b5060405162000e0f38038062000e0f83398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b1b80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610908565b60405180910390f35b6100ff6100fa36600461099d565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c7565b6102ac565b604051601281526020016100e3565b6100ff61015136600461099d565b6102d0565b610113610164366004610a03565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d661031c565b6100ff6101a236600461099d565b61032b565b6100ff6101b536600461099d565b610401565b6101136101c8366004610a25565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a58565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a58565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b6000336102a081858561040f565b60019150505b92915050565b6000336102ba8582856105c2565b6102c5858585610699565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102a09082908690610317908790610aab565b61040f565b60606004805461020f90610a58565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102c5828686840361040f565b6000336102a0818585610699565b73ffffffffffffffffffffffffffffffffffffffff83166104b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff8216610554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106935781811015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b610693848484840361040f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661073c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff82166107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610693565b600060208083528351808285015260005b8181101561093557858101830151858201604001528201610919565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461099857600080fd5b919050565b600080604083850312156109b057600080fd5b6109b983610974565b946020939093013593505050565b6000806000606084860312156109dc57600080fd5b6109e584610974565b92506109f360208501610974565b9150604084013590509250925092565b600060208284031215610a1557600080fd5b610a1e82610974565b9392505050565b60008060408385031215610a3857600080fd5b610a4183610974565b9150610a4f60208401610974565b90509250929050565b600181811c90821680610a6c57607f821691505b602082108103610aa5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156102a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212204f6c335da98a4d625432f1cf70d64eae94140c14fad4e6c939bad73f31edc29164736f6c63430008110033";
297
297
  const isSuperArgs = (xs) => xs.length > 1;
298
298
  class ERC20__factory extends ethers_1.ContractFactory {
299
299
  constructor(...args) {
@@ -13,7 +13,7 @@ export declare class Errors__factory extends ContractFactory {
13
13
  }): TransactionRequest;
14
14
  attach(address: string): Errors;
15
15
  connect(signer: Signer): Errors__factory;
16
- static readonly bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220a391012b5f272f5267267c387ae5b43cae298bbf233ca529088cea08067a537c64736f6c63430008110033";
16
+ static readonly bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220e2e63073553c1bd2f25826276818268716ff6f417c7403be26db1261c98d1fe564736f6c63430008110033";
17
17
  static readonly abi: readonly [{
18
18
  readonly inputs: readonly [];
19
19
  readonly name: "ACL_CALLER_NOT_CONFIGURATOR";
@@ -436,7 +436,7 @@ const _abi = [
436
436
  type: "function",
437
437
  },
438
438
  ];
439
- const _bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220a391012b5f272f5267267c387ae5b43cae298bbf233ca529088cea08067a537c64736f6c63430008110033";
439
+ const _bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220e2e63073553c1bd2f25826276818268716ff6f417c7403be26db1261c98d1fe564736f6c63430008110033";
440
440
  const isSuperArgs = (xs) => xs.length > 1;
441
441
  class Errors__factory extends ethers_1.ContractFactory {
442
442
  constructor(...args) {
@@ -0,0 +1,33 @@
1
+ import { Signer, ContractFactory, Overrides } from "ethers";
2
+ import type { Provider, TransactionRequest } from "@ethersproject/providers";
3
+ import type { PromiseOrValue } from "../common";
4
+ import type { FarmAccounting, FarmAccountingInterface } from "../FarmAccounting";
5
+ type FarmAccountingConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class FarmAccounting__factory extends ContractFactory {
7
+ constructor(...args: FarmAccountingConstructorParams);
8
+ deploy(overrides?: Overrides & {
9
+ from?: PromiseOrValue<string>;
10
+ }): Promise<FarmAccounting>;
11
+ getDeployTransaction(overrides?: Overrides & {
12
+ from?: PromiseOrValue<string>;
13
+ }): TransactionRequest;
14
+ attach(address: string): FarmAccounting;
15
+ connect(signer: Signer): FarmAccounting__factory;
16
+ static readonly bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208a341149f7b9d5a73c18204c09ef25592fa4a244d87bfcb9ffc9ec06fffa114664736f6c63430008110033";
17
+ static readonly abi: readonly [{
18
+ readonly inputs: readonly [];
19
+ readonly name: "AmountTooLarge";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "DurationTooLarge";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "ZeroDuration";
28
+ readonly type: "error";
29
+ }];
30
+ static createInterface(): FarmAccountingInterface;
31
+ static connect(address: string, signerOrProvider: Signer | Provider): FarmAccounting;
32
+ }
33
+ export {};
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FarmAccounting__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "AmountTooLarge",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "DurationTooLarge",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "ZeroDuration",
22
+ type: "error",
23
+ },
24
+ ];
25
+ const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208a341149f7b9d5a73c18204c09ef25592fa4a244d87bfcb9ffc9ec06fffa114664736f6c63430008110033";
26
+ const isSuperArgs = (xs) => xs.length > 1;
27
+ class FarmAccounting__factory extends ethers_1.ContractFactory {
28
+ constructor(...args) {
29
+ if (isSuperArgs(args)) {
30
+ super(...args);
31
+ }
32
+ else {
33
+ super(_abi, _bytecode, args[0]);
34
+ }
35
+ }
36
+ deploy(overrides) {
37
+ return super.deploy(overrides || {});
38
+ }
39
+ getDeployTransaction(overrides) {
40
+ return super.getDeployTransaction(overrides || {});
41
+ }
42
+ attach(address) {
43
+ return super.attach(address);
44
+ }
45
+ connect(signer) {
46
+ return super.connect(signer);
47
+ }
48
+ static bytecode = _bytecode;
49
+ static abi = _abi;
50
+ static createInterface() {
51
+ return new ethers_1.utils.Interface(_abi);
52
+ }
53
+ static connect(address, signerOrProvider) {
54
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
55
+ }
56
+ }
57
+ exports.FarmAccounting__factory = FarmAccounting__factory;
@@ -0,0 +1,158 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { IAaveV2_LendingPoolAdapter, IAaveV2_LendingPoolAdapterInterface } from "../IAaveV2_LendingPoolAdapter";
4
+ export declare class IAaveV2_LendingPoolAdapter__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [];
7
+ readonly name: "_gearboxAdapterType";
8
+ readonly outputs: readonly [{
9
+ readonly internalType: "enum AdapterType";
10
+ readonly name: "";
11
+ readonly type: "uint8";
12
+ }];
13
+ readonly stateMutability: "view";
14
+ readonly type: "function";
15
+ }, {
16
+ readonly inputs: readonly [];
17
+ readonly name: "_gearboxAdapterVersion";
18
+ readonly outputs: readonly [{
19
+ readonly internalType: "uint16";
20
+ readonly name: "";
21
+ readonly type: "uint16";
22
+ }];
23
+ readonly stateMutability: "view";
24
+ readonly type: "function";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "addressProvider";
28
+ readonly outputs: readonly [{
29
+ readonly internalType: "address";
30
+ readonly name: "";
31
+ readonly type: "address";
32
+ }];
33
+ readonly stateMutability: "view";
34
+ readonly type: "function";
35
+ }, {
36
+ readonly inputs: readonly [];
37
+ readonly name: "creditManager";
38
+ readonly outputs: readonly [{
39
+ readonly internalType: "address";
40
+ readonly name: "";
41
+ readonly type: "address";
42
+ }];
43
+ readonly stateMutability: "view";
44
+ readonly type: "function";
45
+ }, {
46
+ readonly inputs: readonly [{
47
+ readonly internalType: "address";
48
+ readonly name: "asset";
49
+ readonly type: "address";
50
+ }, {
51
+ readonly internalType: "uint256";
52
+ readonly name: "amount";
53
+ readonly type: "uint256";
54
+ }, {
55
+ readonly internalType: "address";
56
+ readonly name: "";
57
+ readonly type: "address";
58
+ }, {
59
+ readonly internalType: "uint16";
60
+ readonly name: "";
61
+ readonly type: "uint16";
62
+ }];
63
+ readonly name: "deposit";
64
+ readonly outputs: readonly [{
65
+ readonly internalType: "uint256";
66
+ readonly name: "tokensToEnable";
67
+ readonly type: "uint256";
68
+ }, {
69
+ readonly internalType: "uint256";
70
+ readonly name: "tokensToDisable";
71
+ readonly type: "uint256";
72
+ }];
73
+ readonly stateMutability: "nonpayable";
74
+ readonly type: "function";
75
+ }, {
76
+ readonly inputs: readonly [{
77
+ readonly internalType: "address";
78
+ readonly name: "asset";
79
+ readonly type: "address";
80
+ }, {
81
+ readonly internalType: "uint256";
82
+ readonly name: "leftoverAmount";
83
+ readonly type: "uint256";
84
+ }];
85
+ readonly name: "depositDiff";
86
+ readonly outputs: readonly [{
87
+ readonly internalType: "uint256";
88
+ readonly name: "tokensToEnable";
89
+ readonly type: "uint256";
90
+ }, {
91
+ readonly internalType: "uint256";
92
+ readonly name: "tokensToDisable";
93
+ readonly type: "uint256";
94
+ }];
95
+ readonly stateMutability: "nonpayable";
96
+ readonly type: "function";
97
+ }, {
98
+ readonly inputs: readonly [];
99
+ readonly name: "targetContract";
100
+ readonly outputs: readonly [{
101
+ readonly internalType: "address";
102
+ readonly name: "";
103
+ readonly type: "address";
104
+ }];
105
+ readonly stateMutability: "view";
106
+ readonly type: "function";
107
+ }, {
108
+ readonly inputs: readonly [{
109
+ readonly internalType: "address";
110
+ readonly name: "asset";
111
+ readonly type: "address";
112
+ }, {
113
+ readonly internalType: "uint256";
114
+ readonly name: "amount";
115
+ readonly type: "uint256";
116
+ }, {
117
+ readonly internalType: "address";
118
+ readonly name: "";
119
+ readonly type: "address";
120
+ }];
121
+ readonly name: "withdraw";
122
+ readonly outputs: readonly [{
123
+ readonly internalType: "uint256";
124
+ readonly name: "tokensToEnable";
125
+ readonly type: "uint256";
126
+ }, {
127
+ readonly internalType: "uint256";
128
+ readonly name: "tokensToDisable";
129
+ readonly type: "uint256";
130
+ }];
131
+ readonly stateMutability: "nonpayable";
132
+ readonly type: "function";
133
+ }, {
134
+ readonly inputs: readonly [{
135
+ readonly internalType: "address";
136
+ readonly name: "asset";
137
+ readonly type: "address";
138
+ }, {
139
+ readonly internalType: "uint256";
140
+ readonly name: "leftoverAmount";
141
+ readonly type: "uint256";
142
+ }];
143
+ readonly name: "withdrawDiff";
144
+ readonly outputs: readonly [{
145
+ readonly internalType: "uint256";
146
+ readonly name: "tokensToEnable";
147
+ readonly type: "uint256";
148
+ }, {
149
+ readonly internalType: "uint256";
150
+ readonly name: "tokensToDisable";
151
+ readonly type: "uint256";
152
+ }];
153
+ readonly stateMutability: "nonpayable";
154
+ readonly type: "function";
155
+ }];
156
+ static createInterface(): IAaveV2_LendingPoolAdapterInterface;
157
+ static connect(address: string, signerOrProvider: Signer | Provider): IAaveV2_LendingPoolAdapter;
158
+ }
@@ -0,0 +1,215 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IAaveV2_LendingPoolAdapter__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "_gearboxAdapterType",
12
+ outputs: [
13
+ {
14
+ internalType: "enum AdapterType",
15
+ name: "",
16
+ type: "uint8",
17
+ },
18
+ ],
19
+ stateMutability: "view",
20
+ type: "function",
21
+ },
22
+ {
23
+ inputs: [],
24
+ name: "_gearboxAdapterVersion",
25
+ outputs: [
26
+ {
27
+ internalType: "uint16",
28
+ name: "",
29
+ type: "uint16",
30
+ },
31
+ ],
32
+ stateMutability: "view",
33
+ type: "function",
34
+ },
35
+ {
36
+ inputs: [],
37
+ name: "addressProvider",
38
+ outputs: [
39
+ {
40
+ internalType: "address",
41
+ name: "",
42
+ type: "address",
43
+ },
44
+ ],
45
+ stateMutability: "view",
46
+ type: "function",
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: "creditManager",
51
+ outputs: [
52
+ {
53
+ internalType: "address",
54
+ name: "",
55
+ type: "address",
56
+ },
57
+ ],
58
+ stateMutability: "view",
59
+ type: "function",
60
+ },
61
+ {
62
+ inputs: [
63
+ {
64
+ internalType: "address",
65
+ name: "asset",
66
+ type: "address",
67
+ },
68
+ {
69
+ internalType: "uint256",
70
+ name: "amount",
71
+ type: "uint256",
72
+ },
73
+ {
74
+ internalType: "address",
75
+ name: "",
76
+ type: "address",
77
+ },
78
+ {
79
+ internalType: "uint16",
80
+ name: "",
81
+ type: "uint16",
82
+ },
83
+ ],
84
+ name: "deposit",
85
+ outputs: [
86
+ {
87
+ internalType: "uint256",
88
+ name: "tokensToEnable",
89
+ type: "uint256",
90
+ },
91
+ {
92
+ internalType: "uint256",
93
+ name: "tokensToDisable",
94
+ type: "uint256",
95
+ },
96
+ ],
97
+ stateMutability: "nonpayable",
98
+ type: "function",
99
+ },
100
+ {
101
+ inputs: [
102
+ {
103
+ internalType: "address",
104
+ name: "asset",
105
+ type: "address",
106
+ },
107
+ {
108
+ internalType: "uint256",
109
+ name: "leftoverAmount",
110
+ type: "uint256",
111
+ },
112
+ ],
113
+ name: "depositDiff",
114
+ outputs: [
115
+ {
116
+ internalType: "uint256",
117
+ name: "tokensToEnable",
118
+ type: "uint256",
119
+ },
120
+ {
121
+ internalType: "uint256",
122
+ name: "tokensToDisable",
123
+ type: "uint256",
124
+ },
125
+ ],
126
+ stateMutability: "nonpayable",
127
+ type: "function",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "targetContract",
132
+ outputs: [
133
+ {
134
+ internalType: "address",
135
+ name: "",
136
+ type: "address",
137
+ },
138
+ ],
139
+ stateMutability: "view",
140
+ type: "function",
141
+ },
142
+ {
143
+ inputs: [
144
+ {
145
+ internalType: "address",
146
+ name: "asset",
147
+ type: "address",
148
+ },
149
+ {
150
+ internalType: "uint256",
151
+ name: "amount",
152
+ type: "uint256",
153
+ },
154
+ {
155
+ internalType: "address",
156
+ name: "",
157
+ type: "address",
158
+ },
159
+ ],
160
+ name: "withdraw",
161
+ outputs: [
162
+ {
163
+ internalType: "uint256",
164
+ name: "tokensToEnable",
165
+ type: "uint256",
166
+ },
167
+ {
168
+ internalType: "uint256",
169
+ name: "tokensToDisable",
170
+ type: "uint256",
171
+ },
172
+ ],
173
+ stateMutability: "nonpayable",
174
+ type: "function",
175
+ },
176
+ {
177
+ inputs: [
178
+ {
179
+ internalType: "address",
180
+ name: "asset",
181
+ type: "address",
182
+ },
183
+ {
184
+ internalType: "uint256",
185
+ name: "leftoverAmount",
186
+ type: "uint256",
187
+ },
188
+ ],
189
+ name: "withdrawDiff",
190
+ outputs: [
191
+ {
192
+ internalType: "uint256",
193
+ name: "tokensToEnable",
194
+ type: "uint256",
195
+ },
196
+ {
197
+ internalType: "uint256",
198
+ name: "tokensToDisable",
199
+ type: "uint256",
200
+ },
201
+ ],
202
+ stateMutability: "nonpayable",
203
+ type: "function",
204
+ },
205
+ ];
206
+ class IAaveV2_LendingPoolAdapter__factory {
207
+ static abi = _abi;
208
+ static createInterface() {
209
+ return new ethers_1.utils.Interface(_abi);
210
+ }
211
+ static connect(address, signerOrProvider) {
212
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
213
+ }
214
+ }
215
+ exports.IAaveV2_LendingPoolAdapter__factory = IAaveV2_LendingPoolAdapter__factory;