@gearbox-protocol/sdk 3.0.0-next.11 → 3.0.0-next.110

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 (643) hide show
  1. package/contracts/index.sol +32 -3
  2. package/lib/apy/convexAPY.d.ts +2 -2
  3. package/lib/apy/convexAPY.js +2 -0
  4. package/lib/apy/curveAPY.js +3 -1
  5. package/lib/apy/index.d.ts +3 -2
  6. package/lib/apy/index.js +1 -0
  7. package/lib/apy/maker.d.ts +39 -0
  8. package/lib/apy/maker.js +68 -0
  9. package/lib/apy/yearnAPY.js +6 -3
  10. package/lib/contracts/contractsRegister.d.ts +9 -4
  11. package/lib/contracts/contractsRegister.js +15 -0
  12. package/lib/core/assets.d.ts +2 -2
  13. package/lib/core/assets.js +4 -4
  14. package/lib/core/creditAccount.d.ts +72 -15
  15. package/lib/core/creditAccount.js +156 -62
  16. package/lib/core/creditAccount.spec.js +908 -17
  17. package/lib/core/creditManager.d.ts +18 -6
  18. package/lib/core/creditManager.js +61 -13
  19. package/lib/core/creditSession.d.ts +11 -1
  20. package/lib/core/creditSession.js +20 -2
  21. package/lib/core/endpoint.d.ts +13 -0
  22. package/lib/core/endpoint.js +31 -0
  23. package/lib/core/events.js +16 -16
  24. package/lib/core/gauge.d.ts +26 -0
  25. package/lib/core/gauge.js +63 -0
  26. package/lib/core/gaugeMath.d.ts +40 -0
  27. package/lib/core/gaugeMath.js +108 -0
  28. package/lib/core/gaugeMath.spec.js +388 -0
  29. package/lib/core/{pool/data.d.ts → pool.d.ts} +16 -8
  30. package/lib/core/{pool/data.js → pool.js} +43 -20
  31. package/lib/core/strategy.d.ts +18 -21
  32. package/lib/core/strategy.js +16 -36
  33. package/lib/core/trade.d.ts +11 -12
  34. package/lib/core/trade.js +36 -29
  35. package/lib/core/transactions.d.ts +110 -14
  36. package/lib/core/transactions.js +191 -108
  37. package/lib/index.d.ts +5 -2
  38. package/lib/index.js +5 -2
  39. package/lib/parsers/ERC20Parser.js +1 -1
  40. package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
  41. package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
  42. package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
  43. package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
  44. package/lib/parsers/abstractParser.d.ts +7 -5
  45. package/lib/parsers/abstractParser.js +4 -2
  46. package/lib/parsers/addressProviderParser.js +1 -1
  47. package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
  48. package/lib/parsers/balancerV2VaultParser.js +34 -0
  49. package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
  50. package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
  51. package/lib/parsers/convexBaseRewardPoolAdapterParser.js +11 -9
  52. package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
  53. package/lib/parsers/convexBoosterAdapterParser.js +7 -7
  54. package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
  55. package/lib/parsers/convextRewardPoolParser.js +1 -1
  56. package/lib/parsers/creditFacadeParser.js +33 -6
  57. package/lib/parsers/creditFacadeParser.spec.js +2 -3
  58. package/lib/parsers/creditManagerParser.js +1 -1
  59. package/lib/parsers/curveAdapterParser.js +11 -12
  60. package/lib/parsers/curveAdapterParser.spec.js +6 -2
  61. package/lib/parsers/erc626AdapterParser.d.ts +7 -0
  62. package/lib/parsers/erc626AdapterParser.js +21 -0
  63. package/lib/parsers/lidoAdapterParser.js +4 -3
  64. package/lib/parsers/lidoAdapterParser.spec.js +2 -2
  65. package/lib/parsers/lidoSTETHParser.js +1 -1
  66. package/lib/parsers/poolParser.js +1 -1
  67. package/lib/parsers/priceOracleParser.js +1 -1
  68. package/lib/parsers/txParser.d.ts +17 -11
  69. package/lib/parsers/txParser.js +41 -4
  70. package/lib/parsers/uniV2AdapterParser.js +6 -5
  71. package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
  72. package/lib/parsers/uniV3AdapterParser.js +10 -8
  73. package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
  74. package/lib/parsers/wstETHAdapterParser.js +7 -5
  75. package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
  76. package/lib/parsers/yearnAdapterParser.spec.js +4 -4
  77. package/lib/parsers/yearnV2AdapterParser.js +14 -4
  78. package/lib/pathfinder/core.d.ts +8 -9
  79. package/lib/pathfinder/index.d.ts +4 -0
  80. package/lib/{core/pool → pathfinder}/index.js +4 -1
  81. package/lib/pathfinder/pathOptions.d.ts +2 -1
  82. package/lib/pathfinder/pathOptions.js +20 -1
  83. package/lib/pathfinder/pathOptions.spec.js +2 -2
  84. package/lib/pathfinder/pathfinder.d.ts +44 -16
  85. package/lib/pathfinder/pathfinder.js +58 -39
  86. package/lib/pathfinder/pathfinder.spec.js +7 -3
  87. package/lib/pathfinder/utils.d.ts +35 -0
  88. package/lib/pathfinder/utils.js +182 -0
  89. package/lib/pathfinder/v1/core.d.ts +16 -0
  90. package/lib/pathfinder/v1/pathfinderv1.d.ts +46 -0
  91. package/lib/pathfinder/v1/pathfinderv1.js +155 -0
  92. package/lib/pathfinder/v1/pathfinderv1.spec.d.ts +1 -0
  93. package/lib/pathfinder/v1/pathfinderv1.spec.js +39 -0
  94. package/lib/payload/creditAccount.d.ts +3 -4
  95. package/lib/payload/creditManager.d.ts +3 -0
  96. package/lib/payload/creditSession.d.ts +11 -0
  97. package/lib/payload/gauge.d.ts +12 -0
  98. package/lib/payload/pool.d.ts +4 -0
  99. package/lib/types/CalldataExtractor.d.ts +44 -0
  100. package/lib/types/ERC20.d.ts +198 -0
  101. package/lib/types/FarmAccounting.d.ts +27 -0
  102. package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +171 -0
  103. package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +290 -0
  104. package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +308 -0
  105. package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +112 -0
  106. package/lib/types/IBalancerV2Vault.sol/index.d.ts +2 -0
  107. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +466 -0
  108. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js +2 -0
  109. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
  110. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js +2 -0
  111. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +27 -0
  112. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.js +2 -0
  113. package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  114. package/lib/types/IBalancerV2VaultAdapter.sol/index.js +2 -0
  115. package/lib/types/IBotListV3.sol/IBotListV3.d.ts +286 -0
  116. package/lib/types/IBotListV3.sol/IBotListV3.js +2 -0
  117. package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +103 -0
  118. package/lib/types/IBotListV3.sol/IBotListV3Events.js +2 -0
  119. package/lib/types/IBotListV3.sol/index.d.ts +2 -0
  120. package/lib/types/IBotListV3.sol/index.js +2 -0
  121. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +216 -0
  122. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js +2 -0
  123. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +27 -0
  124. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js +2 -0
  125. package/lib/types/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  126. package/lib/types/ICompoundV2_CTokenAdapter.sol/index.js +2 -0
  127. package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +128 -0
  128. package/lib/types/IContractsRegister.sol/IContractsRegister.js +2 -0
  129. package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +50 -0
  130. package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.js +2 -0
  131. package/lib/types/IContractsRegister.sol/index.d.ts +2 -0
  132. package/lib/types/IContractsRegister.sol/index.js +2 -0
  133. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.d.ts +504 -0
  134. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.js +2 -0
  135. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +82 -0
  136. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.js +2 -0
  137. package/lib/types/IControllerTimelockV3.sol/index.d.ts +2 -0
  138. package/lib/types/IControllerTimelockV3.sol/index.js +2 -0
  139. package/lib/types/IConvexToken.d.ts +9 -1
  140. package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +46 -30
  141. package/lib/types/{IConvexV1BoosterAdapter.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts} +40 -21
  142. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js +2 -0
  143. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
  144. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js +2 -0
  145. package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  146. package/lib/types/IConvexV1BoosterAdapter.sol/index.js +2 -0
  147. package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +7 -11
  148. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +58 -109
  149. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +31 -35
  150. package/lib/types/ICreditFacadeV3Multicall.d.ts +91 -60
  151. package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +117 -97
  152. package/lib/types/ICurveV1Adapter.d.ts +41 -105
  153. package/lib/types/ICurveV1_2AssetsAdapter.d.ts +41 -105
  154. package/lib/types/ICurveV1_3AssetsAdapter.d.ts +41 -105
  155. package/lib/types/ICurveV1_4AssetsAdapter.d.ts +41 -105
  156. package/lib/types/IDaiLikePermit.d.ts +59 -0
  157. package/lib/types/IDaiLikePermit.js +2 -0
  158. package/lib/types/IDataCompressorV2_10.d.ts +26 -41
  159. package/lib/types/IDataCompressorV3_00.d.ts +123 -42
  160. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +339 -0
  161. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.js +2 -0
  162. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +61 -0
  163. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.js +2 -0
  164. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +27 -0
  165. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.js +2 -0
  166. package/lib/types/IDegenNFTV2.sol/index.d.ts +3 -0
  167. package/lib/types/IDegenNFTV2.sol/index.js +2 -0
  168. package/lib/types/IERC165.d.ts +42 -0
  169. package/lib/types/IERC165.js +2 -0
  170. package/lib/types/IERC20Permit.d.ts +74 -0
  171. package/lib/types/IERC20Permit.js +2 -0
  172. package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
  173. package/lib/types/IERC20ZapperDeposits.js +2 -0
  174. package/lib/types/IERC4626Adapter.d.ts +238 -0
  175. package/lib/types/IERC4626Adapter.js +2 -0
  176. package/lib/types/IERC721.d.ts +220 -0
  177. package/lib/types/IERC721.js +2 -0
  178. package/lib/types/IERC721Metadata.d.ts +244 -0
  179. package/lib/types/IERC721Metadata.js +2 -0
  180. package/lib/types/IETHZapperDeposits.d.ts +66 -0
  181. package/lib/types/IETHZapperDeposits.js +2 -0
  182. package/lib/types/IFarmingPool.d.ts +318 -0
  183. package/lib/types/IFarmingPool.js +2 -0
  184. package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
  185. package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
  186. package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
  187. package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
  188. package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
  189. package/lib/types/IGaugeV3.sol/index.js +2 -0
  190. package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
  191. package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
  192. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
  193. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
  194. package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
  195. package/lib/types/IGearStakingV3.sol/index.js +2 -0
  196. package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +285 -0
  197. package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.js +2 -0
  198. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +54 -0
  199. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.js +2 -0
  200. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +27 -0
  201. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.js +2 -0
  202. package/lib/types/ILPPriceFeed.sol/index.d.ts +3 -0
  203. package/lib/types/ILPPriceFeed.sol/index.js +2 -0
  204. package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.d.ts → ILidoV1Adapter.d.ts} +13 -48
  205. package/lib/types/ILidoV1Adapter.js +2 -0
  206. package/lib/types/ILinearInterestRateModelV3.d.ts +120 -0
  207. package/lib/types/ILinearInterestRateModelV3.js +2 -0
  208. package/lib/types/IPermit2.d.ts +130 -0
  209. package/lib/types/IPermit2.js +2 -0
  210. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
  211. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
  212. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
  213. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
  214. package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  215. package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
  216. package/lib/types/IPoolV3.sol/IPoolV3.d.ts +43 -3
  217. package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
  218. package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
  219. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
  220. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.js +2 -0
  221. package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
  222. package/lib/types/IPriceFeed.sol/index.js +2 -0
  223. package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
  224. package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
  225. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
  226. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
  227. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts → IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts} +3 -3
  228. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
  229. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
  230. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
  231. package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
  232. package/lib/types/IPriceOracle.sol/index.js +2 -0
  233. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +272 -0
  234. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
  235. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +79 -0
  236. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
  237. package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
  238. package/lib/types/IPriceOracleV3.sol/index.js +2 -0
  239. package/lib/types/IRouter.d.ts +11 -1
  240. package/lib/types/IRouterV3.d.ts +281 -0
  241. package/lib/types/IRouterV3.js +2 -0
  242. package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +10 -9
  243. package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +27 -21
  244. package/lib/types/IVotingContractV3.d.ts +74 -0
  245. package/lib/types/IVotingContractV3.js +2 -0
  246. package/lib/types/IWETH.d.ts +197 -0
  247. package/lib/types/IWETH.js +2 -0
  248. package/lib/types/IYearnV2Adapter.d.ts +22 -22
  249. package/lib/types/IZapper.d.ts +56 -37
  250. package/lib/types/IZapperRegister.d.ts +62 -0
  251. package/lib/types/IZapperRegister.js +2 -0
  252. package/lib/types/IwstETHV1Adapter.d.ts +17 -17
  253. package/lib/types/NumericArrayLib.d.ts +27 -0
  254. package/lib/types/NumericArrayLib.js +2 -0
  255. package/lib/types/RedstoneConstants.d.ts +27 -0
  256. package/lib/types/RedstoneConstants.js +2 -0
  257. package/lib/types/RedstoneConsumerBase.d.ts +84 -0
  258. package/lib/types/RedstoneConsumerBase.js +2 -0
  259. package/lib/types/RedstoneConsumerNumericBase.d.ts +84 -0
  260. package/lib/types/RedstoneConsumerNumericBase.js +2 -0
  261. package/lib/types/RedstoneDefaultsLib.d.ts +27 -0
  262. package/lib/types/RedstoneDefaultsLib.js +2 -0
  263. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts} +11 -11
  264. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.js +2 -0
  265. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +27 -0
  266. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.js +2 -0
  267. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +279 -0
  268. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.js +2 -0
  269. package/lib/types/RedstonePriceFeed.sol/index.d.ts +3 -0
  270. package/lib/types/RedstonePriceFeed.sol/index.js +2 -0
  271. package/lib/types/SafeERC20.d.ts +27 -0
  272. package/lib/types/SafeERC20.js +2 -0
  273. package/lib/types/contracts/index.d.ts +2 -0
  274. package/lib/types/contracts/index.js +2 -0
  275. package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
  276. package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
  277. package/lib/types/contracts/interfaces/index.d.ts +1 -0
  278. package/lib/types/contracts/interfaces/index.js +2 -0
  279. package/lib/types/factories/AddressProvider__factory.d.ts +112 -112
  280. package/lib/types/factories/AddressProvider__factory.js +120 -120
  281. package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +4 -4
  282. package/lib/types/factories/Balances.sol/BalanceOps__factory.js +4 -4
  283. package/lib/types/factories/CalldataExtractor__factory.d.ts +87 -0
  284. package/lib/types/factories/CalldataExtractor__factory.js +127 -0
  285. package/lib/types/factories/Claimable__factory.d.ts +29 -29
  286. package/lib/types/factories/Claimable__factory.js +33 -33
  287. package/lib/types/factories/ERC20__factory.d.ts +239 -0
  288. package/lib/types/factories/ERC20__factory.js +328 -0
  289. package/lib/types/factories/Errors__factory.d.ts +100 -100
  290. package/lib/types/factories/Errors__factory.js +100 -100
  291. package/lib/types/factories/FarmAccounting__factory.d.ts +33 -0
  292. package/lib/types/factories/FarmAccounting__factory.js +57 -0
  293. package/lib/types/factories/{IWERC20Zapper__factory.d.ts → IAaveV2_LendingPoolAdapter__factory.d.ts} +103 -83
  294. package/lib/types/factories/{IWERC20Zapper__factory.js → IAaveV2_LendingPoolAdapter__factory.js} +114 -90
  295. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +252 -0
  296. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +341 -0
  297. package/lib/types/factories/IAdapter__factory.d.ts +15 -15
  298. package/lib/types/factories/IAdapter__factory.js +15 -15
  299. package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
  300. package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
  301. package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
  302. package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
  303. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
  304. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
  305. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
  306. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
  307. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
  308. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
  309. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
  310. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
  311. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +78 -0
  312. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +111 -0
  313. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +360 -0
  314. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +475 -0
  315. package/lib/types/factories/IBalancerV2Vault.sol/index.d.ts +2 -0
  316. package/lib/types/factories/IBalancerV2Vault.sol/index.js +10 -0
  317. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +23 -0
  318. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +38 -0
  319. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +12 -0
  320. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js} +5 -5
  321. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +514 -0
  322. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +675 -0
  323. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  324. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.js +12 -0
  325. package/lib/types/factories/IBaseRewardPool__factory.d.ts +114 -114
  326. package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
  327. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +103 -0
  328. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +138 -0
  329. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +315 -0
  330. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +416 -0
  331. package/lib/types/factories/IBotListV3.sol/index.d.ts +2 -0
  332. package/lib/types/factories/IBotListV3.sol/index.js +10 -0
  333. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +196 -0
  334. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +267 -0
  335. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +16 -0
  336. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +30 -0
  337. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  338. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.js +10 -0
  339. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +28 -0
  340. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +45 -0
  341. package/lib/types/factories/{IWETHZapper__factory.d.ts → IContractsRegister.sol/IContractsRegister__factory.d.ts} +80 -76
  342. package/lib/types/factories/{IWETHZapper__factory.js → IContractsRegister.sol/IContractsRegister__factory.js} +85 -80
  343. package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
  344. package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
  345. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +73 -0
  346. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +101 -0
  347. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +427 -0
  348. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +556 -0
  349. package/lib/types/factories/IControllerTimelockV3.sol/index.d.ts +2 -0
  350. package/lib/types/factories/IControllerTimelockV3.sol/index.js +10 -0
  351. package/lib/types/factories/IConvexToken__factory.d.ts +89 -79
  352. package/lib/types/factories/IConvexToken__factory.js +99 -86
  353. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +103 -71
  354. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +113 -71
  355. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +23 -0
  356. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +38 -0
  357. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts} +67 -44
  358. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js} +72 -43
  359. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  360. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.js +10 -0
  361. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +121 -121
  362. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
  363. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
  364. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
  365. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
  366. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
  367. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
  368. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
  369. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
  370. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
  371. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
  372. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
  373. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
  374. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
  375. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -27
  376. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -28
  377. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
  378. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
  379. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
  380. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
  381. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +77 -87
  382. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +84 -96
  383. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +281 -357
  384. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +372 -468
  385. package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +106 -72
  386. package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +122 -80
  387. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
  388. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
  389. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
  390. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
  391. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
  392. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
  393. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
  394. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
  395. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +404 -400
  396. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +450 -445
  397. package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
  398. package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
  399. package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
  400. package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
  401. package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
  402. package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
  403. package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
  404. package/lib/types/factories/ICurvePool__factory.js +159 -159
  405. package/lib/types/factories/ICurveV1Adapter__factory.d.ts +171 -229
  406. package/lib/types/factories/ICurveV1Adapter__factory.js +171 -248
  407. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +189 -247
  408. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +189 -266
  409. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +189 -247
  410. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +189 -266
  411. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +189 -247
  412. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +189 -266
  413. package/lib/types/factories/IDaiLikePermit__factory.d.ts +46 -0
  414. package/lib/types/factories/IDaiLikePermit__factory.js +67 -0
  415. package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +374 -384
  416. package/lib/types/factories/IDataCompressorV2_10__factory.js +386 -400
  417. package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +683 -457
  418. package/lib/types/factories/IDataCompressorV3_00__factory.js +765 -478
  419. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
  420. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
  421. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
  422. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
  423. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +38 -0
  424. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +58 -0
  425. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +24 -0
  426. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +39 -0
  427. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.d.ts → IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts} +248 -238
  428. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js → IDegenNFTV2.sol/IDegenNFTV2__factory.js} +270 -253
  429. package/lib/types/factories/IDegenNFTV2.sol/index.d.ts +3 -0
  430. package/lib/types/factories/IDegenNFTV2.sol/index.js +12 -0
  431. package/lib/types/factories/IERC165__factory.d.ts +22 -0
  432. package/lib/types/factories/IERC165__factory.js +38 -0
  433. package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
  434. package/lib/types/factories/IERC20Metadata__factory.js +86 -86
  435. package/lib/types/factories/IERC20Permit__factory.d.ts +66 -0
  436. package/lib/types/factories/IERC20Permit__factory.js +94 -0
  437. package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
  438. package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
  439. package/lib/types/factories/IERC20__factory.d.ts +67 -67
  440. package/lib/types/factories/IERC20__factory.js +77 -77
  441. package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
  442. package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
  443. package/lib/types/factories/IERC4626__factory.d.ts +198 -198
  444. package/lib/types/factories/IERC4626__factory.js +221 -221
  445. package/lib/types/factories/IERC721Metadata__factory.d.ts +262 -0
  446. package/lib/types/factories/IERC721Metadata__factory.js +349 -0
  447. package/lib/types/factories/IERC721__factory.d.ts +228 -0
  448. package/lib/types/factories/IERC721__factory.js +304 -0
  449. package/lib/types/factories/IETHZapperDeposits__factory.d.ts +40 -0
  450. package/lib/types/factories/IETHZapperDeposits__factory.js +62 -0
  451. package/lib/types/factories/IFarmingPool__factory.d.ts +299 -0
  452. package/lib/types/factories/IFarmingPool__factory.js +396 -0
  453. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
  454. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
  455. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
  456. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
  457. package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
  458. package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
  459. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.d.ts → IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts} +55 -85
  460. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js → IGearStakingV3.sol/IGearStakingV3Events__factory.js} +58 -94
  461. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +504 -0
  462. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +660 -0
  463. package/lib/types/factories/IGearStakingV3.sol/index.d.ts +2 -0
  464. package/lib/types/factories/IGearStakingV3.sol/index.js +10 -0
  465. package/lib/types/factories/IInterestRateModel__factory.d.ts +8 -8
  466. package/lib/types/factories/IInterestRateModel__factory.js +8 -8
  467. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +33 -0
  468. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +51 -0
  469. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +28 -0
  470. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +44 -0
  471. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +261 -0
  472. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +344 -0
  473. package/lib/types/factories/ILPPriceFeed.sol/index.d.ts +3 -0
  474. package/lib/types/factories/ILPPriceFeed.sol/index.js +12 -0
  475. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts → ILidoV1Adapter__factory.d.ts} +44 -74
  476. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.js → ILidoV1Adapter__factory.js} +45 -83
  477. package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +98 -0
  478. package/lib/types/factories/ILinearInterestRateModelV3__factory.js +136 -0
  479. package/lib/types/factories/IOffchainOracle__factory.d.ts +11 -11
  480. package/lib/types/factories/IOffchainOracle__factory.js +11 -11
  481. package/lib/types/factories/IPermit2__factory.d.ts +113 -0
  482. package/lib/types/factories/IPermit2__factory.js +155 -0
  483. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +103 -0
  484. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
  485. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +441 -0
  486. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +580 -0
  487. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  488. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.js +10 -0
  489. package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +66 -66
  490. package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
  491. package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
  492. package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
  493. package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
  494. package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
  495. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +591 -533
  496. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +734 -659
  497. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +84 -0
  498. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +117 -0
  499. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +104 -0
  500. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +143 -0
  501. package/lib/types/factories/IPriceFeed.sol/index.d.ts +2 -0
  502. package/lib/types/factories/IPriceFeed.sol/index.js +10 -0
  503. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +23 -0
  504. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
  505. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
  506. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
  507. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +197 -0
  508. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
  509. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
  510. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +249 -0
  511. package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
  512. package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
  513. package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
  514. package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
  515. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +78 -0
  516. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +106 -0
  517. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +326 -0
  518. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +433 -0
  519. package/lib/types/factories/IPriceOracleV3.sol/index.d.ts +2 -0
  520. package/lib/types/factories/IPriceOracleV3.sol/index.js +10 -0
  521. package/lib/types/factories/IRouterV3__factory.d.ts +451 -0
  522. package/lib/types/factories/IRouterV3__factory.js +597 -0
  523. package/lib/types/factories/IRouter__factory.d.ts +168 -154
  524. package/lib/types/factories/IRouter__factory.js +186 -167
  525. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
  526. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
  527. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
  528. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
  529. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +80 -76
  530. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +87 -82
  531. package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
  532. package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
  533. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
  534. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
  535. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
  536. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
  537. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +142 -134
  538. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +151 -141
  539. package/lib/types/factories/IVersion__factory.d.ts +3 -3
  540. package/lib/types/factories/IVersion__factory.js +3 -3
  541. package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
  542. package/lib/types/factories/IVotingContractV3__factory.js +65 -0
  543. package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
  544. package/lib/types/factories/IWETHGateway__factory.js +14 -14
  545. package/lib/types/factories/IWETH__factory.d.ts +194 -0
  546. package/lib/types/factories/IWETH__factory.js +260 -0
  547. package/lib/types/factories/IYVault__factory.d.ts +112 -112
  548. package/lib/types/factories/IYVault__factory.js +122 -122
  549. package/lib/types/factories/IYearnV2Adapter__factory.d.ts +76 -68
  550. package/lib/types/factories/IYearnV2Adapter__factory.js +82 -70
  551. package/lib/types/factories/IZapperRegister__factory.d.ts +42 -0
  552. package/lib/types/factories/IZapperRegister__factory.js +64 -0
  553. package/lib/types/factories/IZapper__factory.d.ts +63 -33
  554. package/lib/types/factories/IZapper__factory.js +72 -33
  555. package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
  556. package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
  557. package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
  558. package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
  559. package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
  560. package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
  561. package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
  562. package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
  563. package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
  564. package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
  565. package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +52 -44
  566. package/lib/types/factories/IwstETHV1Adapter__factory.js +56 -44
  567. package/lib/types/factories/NumericArrayLib__factory.d.ts +25 -0
  568. package/lib/types/factories/NumericArrayLib__factory.js +47 -0
  569. package/lib/types/factories/Ownable__factory.d.ts +23 -23
  570. package/lib/types/factories/Ownable__factory.js +27 -27
  571. package/lib/types/factories/RedstoneConstants__factory.d.ts +65 -0
  572. package/lib/types/factories/RedstoneConstants__factory.js +99 -0
  573. package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +164 -0
  574. package/lib/types/factories/RedstoneConsumerBase__factory.js +223 -0
  575. package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +164 -0
  576. package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +223 -0
  577. package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +45 -0
  578. package/lib/types/factories/RedstoneDefaultsLib__factory.js +74 -0
  579. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts} +9 -9
  580. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js} +8 -8
  581. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +28 -0
  582. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +44 -0
  583. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +443 -0
  584. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +589 -0
  585. package/lib/types/factories/RedstonePriceFeed.sol/index.d.ts +3 -0
  586. package/lib/types/factories/RedstonePriceFeed.sol/index.js +12 -0
  587. package/lib/types/factories/SafeERC20__factory.d.ts +49 -0
  588. package/lib/types/factories/SafeERC20__factory.js +77 -0
  589. package/lib/types/factories/contracts/index.d.ts +1 -0
  590. package/lib/types/factories/contracts/index.js +30 -0
  591. package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
  592. package/lib/types/factories/contracts/interfaces/IGasPricer__factory.js +38 -0
  593. package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
  594. package/lib/types/factories/contracts/interfaces/index.js +8 -0
  595. package/lib/types/factories/index.d.ts +45 -5
  596. package/lib/types/factories/index.js +74 -10
  597. package/lib/types/factories/interfaces/IGasPricer__factory.d.ts +22 -0
  598. package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
  599. package/lib/types/factories/interfaces/index.d.ts +1 -0
  600. package/lib/types/factories/interfaces/index.js +8 -0
  601. package/lib/types/index.d.ts +168 -20
  602. package/lib/types/index.js +133 -16
  603. package/lib/types/interfaces/IGasPricer.d.ts +44 -0
  604. package/lib/types/interfaces/IGasPricer.js +2 -0
  605. package/lib/types/interfaces/index.d.ts +1 -0
  606. package/lib/types/interfaces/index.js +2 -0
  607. package/lib/utils/formatter.d.ts +1 -4
  608. package/lib/utils/formatter.js +3 -69
  609. package/lib/utils/math.d.ts +2 -0
  610. package/lib/utils/math.js +2 -0
  611. package/lib/utils/types.d.ts +1 -0
  612. package/lib/watchers/creditAccountWatcher.d.ts +3 -2
  613. package/lib/watchers/creditAccountWatcher.js +19 -13
  614. package/lib/watchers/creditAccountWatcher.spec.js +18 -18
  615. package/lib/watchers/creditManagerWatcher.d.ts +5 -3
  616. package/lib/watchers/creditManagerWatcher.js +32 -10
  617. package/lib/watchers/creditManagerWatcher.spec.js +12 -4
  618. package/package.json +13 -9
  619. package/contracts/IRouter.sol +0 -100
  620. package/lib/core/pool/index.d.ts +0 -1
  621. package/lib/core/strategy.spec.js +0 -62
  622. package/lib/types/ILidoV1Adapter.sol/index.d.ts +0 -3
  623. package/lib/types/IWERC20Zapper.d.ts +0 -142
  624. package/lib/types/IWETHZapper.d.ts +0 -138
  625. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
  626. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
  627. package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  628. package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
  629. package/lib/types/factories/ILidoV1Adapter.sol/index.d.ts +0 -3
  630. package/lib/types/factories/ILidoV1Adapter.sol/index.js +0 -12
  631. package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  632. package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
  633. /package/lib/core/{strategy.spec.d.ts → gaugeMath.spec.d.ts} +0 -0
  634. /package/lib/{types/IConvexV1BoosterAdapter.js → pathfinder/v1/core.js} +0 -0
  635. /package/lib/{types/ILidoV1Adapter.sol/ILidoV1Adapter.js → payload/gauge.js} +0 -0
  636. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → CalldataExtractor.js} +0 -0
  637. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → ERC20.js} +0 -0
  638. /package/lib/types/{ILidoV1Adapter.sol/index.js → FarmAccounting.js} +0 -0
  639. /package/lib/types/{IWERC20Zapper.js → IAaveV2_LendingPoolAdapter.js} +0 -0
  640. /package/lib/types/{IWETHZapper.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
  641. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
  642. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
  643. /package/lib/types/{IWithdrawalManagerV3.sol → IBalancerV2Vault.sol}/index.js +0 -0
@@ -3,1007 +3,1065 @@ import type { Provider } from "@ethersproject/providers";
3
3
  import type { IPoolV3, IPoolV3Interface } from "../../IPoolV3.sol/IPoolV3";
4
4
  export declare class IPoolV3__factory {
5
5
  static readonly abi: readonly [{
6
- readonly anonymous: false;
7
- readonly inputs: readonly [{
8
- readonly indexed: true;
9
- readonly internalType: "address";
10
- readonly name: "creditManager";
6
+ readonly type: "function";
7
+ readonly name: "DOMAIN_SEPARATOR";
8
+ readonly inputs: readonly [];
9
+ readonly outputs: readonly [{
10
+ readonly name: "";
11
+ readonly type: "bytes32";
12
+ readonly internalType: "bytes32";
13
+ }];
14
+ readonly stateMutability: "view";
15
+ }, {
16
+ readonly type: "function";
17
+ readonly name: "addressProvider";
18
+ readonly inputs: readonly [];
19
+ readonly outputs: readonly [{
20
+ readonly name: "";
11
21
  readonly type: "address";
22
+ readonly internalType: "address";
12
23
  }];
13
- readonly name: "AddCreditManager";
14
- readonly type: "event";
24
+ readonly stateMutability: "view";
15
25
  }, {
16
- readonly anonymous: false;
26
+ readonly type: "function";
27
+ readonly name: "allowance";
17
28
  readonly inputs: readonly [{
18
- readonly indexed: true;
19
- readonly internalType: "address";
20
29
  readonly name: "owner";
21
30
  readonly type: "address";
22
- }, {
23
- readonly indexed: true;
24
31
  readonly internalType: "address";
32
+ }, {
25
33
  readonly name: "spender";
26
34
  readonly type: "address";
27
- }, {
28
- readonly indexed: false;
29
- readonly internalType: "uint256";
30
- readonly name: "value";
35
+ readonly internalType: "address";
36
+ }];
37
+ readonly outputs: readonly [{
38
+ readonly name: "";
31
39
  readonly type: "uint256";
40
+ readonly internalType: "uint256";
32
41
  }];
33
- readonly name: "Approval";
34
- readonly type: "event";
42
+ readonly stateMutability: "view";
35
43
  }, {
36
- readonly anonymous: false;
44
+ readonly type: "function";
45
+ readonly name: "approve";
37
46
  readonly inputs: readonly [{
38
- readonly indexed: true;
39
- readonly internalType: "address";
40
- readonly name: "creditManager";
47
+ readonly name: "spender";
41
48
  readonly type: "address";
42
- }, {
43
- readonly indexed: true;
44
49
  readonly internalType: "address";
45
- readonly name: "creditAccount";
46
- readonly type: "address";
47
50
  }, {
48
- readonly indexed: false;
49
- readonly internalType: "uint256";
50
51
  readonly name: "amount";
51
52
  readonly type: "uint256";
53
+ readonly internalType: "uint256";
52
54
  }];
53
- readonly name: "Borrow";
54
- readonly type: "event";
55
+ readonly outputs: readonly [{
56
+ readonly name: "";
57
+ readonly type: "bool";
58
+ readonly internalType: "bool";
59
+ }];
60
+ readonly stateMutability: "nonpayable";
55
61
  }, {
56
- readonly anonymous: false;
57
- readonly inputs: readonly [{
58
- readonly indexed: true;
59
- readonly internalType: "address";
60
- readonly name: "sender";
62
+ readonly type: "function";
63
+ readonly name: "asset";
64
+ readonly inputs: readonly [];
65
+ readonly outputs: readonly [{
66
+ readonly name: "assetTokenAddress";
61
67
  readonly type: "address";
62
- }, {
63
- readonly indexed: true;
64
68
  readonly internalType: "address";
65
- readonly name: "owner";
66
- readonly type: "address";
67
- }, {
68
- readonly indexed: false;
69
- readonly internalType: "uint256";
70
- readonly name: "assets";
69
+ }];
70
+ readonly stateMutability: "view";
71
+ }, {
72
+ readonly type: "function";
73
+ readonly name: "availableLiquidity";
74
+ readonly inputs: readonly [];
75
+ readonly outputs: readonly [{
76
+ readonly name: "";
71
77
  readonly type: "uint256";
72
- }, {
73
- readonly indexed: false;
74
78
  readonly internalType: "uint256";
75
- readonly name: "shares";
76
- readonly type: "uint256";
77
79
  }];
78
- readonly name: "Deposit";
79
- readonly type: "event";
80
+ readonly stateMutability: "view";
80
81
  }, {
81
- readonly anonymous: false;
82
+ readonly type: "function";
83
+ readonly name: "balanceOf";
82
84
  readonly inputs: readonly [{
83
- readonly indexed: true;
84
- readonly internalType: "address";
85
- readonly name: "creditManager";
85
+ readonly name: "account";
86
86
  readonly type: "address";
87
- }, {
88
- readonly indexed: false;
89
- readonly internalType: "uint256";
90
- readonly name: "loss";
87
+ readonly internalType: "address";
88
+ }];
89
+ readonly outputs: readonly [{
90
+ readonly name: "";
91
91
  readonly type: "uint256";
92
+ readonly internalType: "uint256";
92
93
  }];
93
- readonly name: "IncurUncoveredLoss";
94
- readonly type: "event";
94
+ readonly stateMutability: "view";
95
95
  }, {
96
- readonly anonymous: false;
97
- readonly inputs: readonly [{
98
- readonly indexed: true;
99
- readonly internalType: "address";
100
- readonly name: "onBehalfOf";
101
- readonly type: "address";
102
- }, {
103
- readonly indexed: true;
96
+ readonly type: "function";
97
+ readonly name: "baseInterestIndex";
98
+ readonly inputs: readonly [];
99
+ readonly outputs: readonly [{
100
+ readonly name: "";
101
+ readonly type: "uint256";
104
102
  readonly internalType: "uint256";
105
- readonly name: "referralCode";
103
+ }];
104
+ readonly stateMutability: "view";
105
+ }, {
106
+ readonly type: "function";
107
+ readonly name: "baseInterestIndexLU";
108
+ readonly inputs: readonly [];
109
+ readonly outputs: readonly [{
110
+ readonly name: "";
106
111
  readonly type: "uint256";
107
- }, {
108
- readonly indexed: false;
109
112
  readonly internalType: "uint256";
110
- readonly name: "amount";
113
+ }];
114
+ readonly stateMutability: "view";
115
+ }, {
116
+ readonly type: "function";
117
+ readonly name: "baseInterestRate";
118
+ readonly inputs: readonly [];
119
+ readonly outputs: readonly [{
120
+ readonly name: "";
111
121
  readonly type: "uint256";
122
+ readonly internalType: "uint256";
112
123
  }];
113
- readonly name: "Refer";
114
- readonly type: "event";
124
+ readonly stateMutability: "view";
115
125
  }, {
116
- readonly anonymous: false;
126
+ readonly type: "function";
127
+ readonly name: "convertToAssets";
117
128
  readonly inputs: readonly [{
118
- readonly indexed: true;
119
- readonly internalType: "address";
120
- readonly name: "creditManager";
121
- readonly type: "address";
122
- }, {
123
- readonly indexed: false;
124
- readonly internalType: "uint256";
125
- readonly name: "borrowedAmount";
129
+ readonly name: "shares";
126
130
  readonly type: "uint256";
127
- }, {
128
- readonly indexed: false;
129
131
  readonly internalType: "uint256";
130
- readonly name: "profit";
132
+ }];
133
+ readonly outputs: readonly [{
134
+ readonly name: "assets";
131
135
  readonly type: "uint256";
132
- }, {
133
- readonly indexed: false;
134
136
  readonly internalType: "uint256";
135
- readonly name: "loss";
136
- readonly type: "uint256";
137
137
  }];
138
- readonly name: "Repay";
139
- readonly type: "event";
138
+ readonly stateMutability: "view";
140
139
  }, {
141
- readonly anonymous: false;
140
+ readonly type: "function";
141
+ readonly name: "convertToShares";
142
142
  readonly inputs: readonly [{
143
- readonly indexed: true;
144
- readonly internalType: "address";
145
- readonly name: "creditManager";
146
- readonly type: "address";
147
- }, {
148
- readonly indexed: false;
143
+ readonly name: "assets";
144
+ readonly type: "uint256";
149
145
  readonly internalType: "uint256";
150
- readonly name: "newLimit";
146
+ }];
147
+ readonly outputs: readonly [{
148
+ readonly name: "shares";
151
149
  readonly type: "uint256";
150
+ readonly internalType: "uint256";
152
151
  }];
153
- readonly name: "SetCreditManagerDebtLimit";
154
- readonly type: "event";
152
+ readonly stateMutability: "view";
155
153
  }, {
156
- readonly anonymous: false;
154
+ readonly type: "function";
155
+ readonly name: "creditManagerBorrowable";
157
156
  readonly inputs: readonly [{
158
- readonly indexed: true;
159
- readonly internalType: "address";
160
- readonly name: "newInterestRateModel";
157
+ readonly name: "creditManager";
161
158
  readonly type: "address";
162
- }];
163
- readonly name: "SetInterestRateModel";
164
- readonly type: "event";
165
- }, {
166
- readonly anonymous: false;
167
- readonly inputs: readonly [{
168
- readonly indexed: true;
169
159
  readonly internalType: "address";
170
- readonly name: "newPoolQuotaKeeper";
171
- readonly type: "address";
172
160
  }];
173
- readonly name: "SetPoolQuotaKeeper";
174
- readonly type: "event";
175
- }, {
176
- readonly anonymous: false;
177
- readonly inputs: readonly [{
178
- readonly indexed: false;
179
- readonly internalType: "uint256";
180
- readonly name: "limit";
161
+ readonly outputs: readonly [{
162
+ readonly name: "borrowable";
181
163
  readonly type: "uint256";
164
+ readonly internalType: "uint256";
182
165
  }];
183
- readonly name: "SetTotalDebtLimit";
184
- readonly type: "event";
166
+ readonly stateMutability: "view";
185
167
  }, {
186
- readonly anonymous: false;
168
+ readonly type: "function";
169
+ readonly name: "creditManagerBorrowed";
187
170
  readonly inputs: readonly [{
188
- readonly indexed: false;
189
- readonly internalType: "uint256";
190
- readonly name: "fee";
171
+ readonly name: "creditManager";
172
+ readonly type: "address";
173
+ readonly internalType: "address";
174
+ }];
175
+ readonly outputs: readonly [{
176
+ readonly name: "";
191
177
  readonly type: "uint256";
178
+ readonly internalType: "uint256";
192
179
  }];
193
- readonly name: "SetWithdrawFee";
194
- readonly type: "event";
180
+ readonly stateMutability: "view";
195
181
  }, {
196
- readonly anonymous: false;
182
+ readonly type: "function";
183
+ readonly name: "creditManagerDebtLimit";
197
184
  readonly inputs: readonly [{
198
- readonly indexed: true;
199
- readonly internalType: "address";
200
- readonly name: "from";
185
+ readonly name: "creditManager";
201
186
  readonly type: "address";
202
- }, {
203
- readonly indexed: true;
204
187
  readonly internalType: "address";
205
- readonly name: "to";
206
- readonly type: "address";
207
- }, {
208
- readonly indexed: false;
209
- readonly internalType: "uint256";
210
- readonly name: "value";
211
- readonly type: "uint256";
212
188
  }];
213
- readonly name: "Transfer";
214
- readonly type: "event";
215
- }, {
216
- readonly anonymous: false;
217
- readonly inputs: readonly [{
218
- readonly indexed: true;
219
- readonly internalType: "address";
220
- readonly name: "sender";
221
- readonly type: "address";
222
- }, {
223
- readonly indexed: true;
224
- readonly internalType: "address";
225
- readonly name: "receiver";
226
- readonly type: "address";
227
- }, {
228
- readonly indexed: true;
229
- readonly internalType: "address";
230
- readonly name: "owner";
231
- readonly type: "address";
232
- }, {
233
- readonly indexed: false;
234
- readonly internalType: "uint256";
235
- readonly name: "assets";
189
+ readonly outputs: readonly [{
190
+ readonly name: "";
236
191
  readonly type: "uint256";
237
- }, {
238
- readonly indexed: false;
239
192
  readonly internalType: "uint256";
240
- readonly name: "shares";
241
- readonly type: "uint256";
242
193
  }];
243
- readonly name: "Withdraw";
244
- readonly type: "event";
194
+ readonly stateMutability: "view";
245
195
  }, {
196
+ readonly type: "function";
197
+ readonly name: "creditManagers";
246
198
  readonly inputs: readonly [];
247
- readonly name: "addressProvider";
248
199
  readonly outputs: readonly [{
249
- readonly internalType: "address";
250
200
  readonly name: "";
251
- readonly type: "address";
201
+ readonly type: "address[]";
202
+ readonly internalType: "address[]";
252
203
  }];
253
204
  readonly stateMutability: "view";
205
+ }, {
254
206
  readonly type: "function";
207
+ readonly name: "decimals";
208
+ readonly inputs: readonly [];
209
+ readonly outputs: readonly [{
210
+ readonly name: "";
211
+ readonly type: "uint8";
212
+ readonly internalType: "uint8";
213
+ }];
214
+ readonly stateMutability: "view";
255
215
  }, {
216
+ readonly type: "function";
217
+ readonly name: "deposit";
256
218
  readonly inputs: readonly [{
257
- readonly internalType: "address";
258
- readonly name: "owner";
259
- readonly type: "address";
219
+ readonly name: "assets";
220
+ readonly type: "uint256";
221
+ readonly internalType: "uint256";
260
222
  }, {
261
- readonly internalType: "address";
262
- readonly name: "spender";
223
+ readonly name: "receiver";
263
224
  readonly type: "address";
225
+ readonly internalType: "address";
264
226
  }];
265
- readonly name: "allowance";
266
227
  readonly outputs: readonly [{
267
- readonly internalType: "uint256";
268
- readonly name: "";
228
+ readonly name: "shares";
269
229
  readonly type: "uint256";
230
+ readonly internalType: "uint256";
270
231
  }];
271
- readonly stateMutability: "view";
272
- readonly type: "function";
232
+ readonly stateMutability: "nonpayable";
273
233
  }, {
234
+ readonly type: "function";
235
+ readonly name: "depositWithReferral";
274
236
  readonly inputs: readonly [{
275
- readonly internalType: "address";
276
- readonly name: "spender";
237
+ readonly name: "assets";
238
+ readonly type: "uint256";
239
+ readonly internalType: "uint256";
240
+ }, {
241
+ readonly name: "receiver";
277
242
  readonly type: "address";
243
+ readonly internalType: "address";
278
244
  }, {
279
- readonly internalType: "uint256";
280
- readonly name: "amount";
245
+ readonly name: "referralCode";
281
246
  readonly type: "uint256";
247
+ readonly internalType: "uint256";
282
248
  }];
283
- readonly name: "approve";
284
249
  readonly outputs: readonly [{
285
- readonly internalType: "bool";
286
- readonly name: "";
287
- readonly type: "bool";
250
+ readonly name: "shares";
251
+ readonly type: "uint256";
252
+ readonly internalType: "uint256";
288
253
  }];
289
254
  readonly stateMutability: "nonpayable";
290
- readonly type: "function";
291
255
  }, {
292
- readonly inputs: readonly [];
293
- readonly name: "asset";
294
- readonly outputs: readonly [{
295
- readonly internalType: "address";
296
- readonly name: "assetTokenAddress";
297
- readonly type: "address";
298
- }];
299
- readonly stateMutability: "view";
300
256
  readonly type: "function";
301
- }, {
257
+ readonly name: "expectedLiquidity";
302
258
  readonly inputs: readonly [];
303
- readonly name: "availableLiquidity";
304
259
  readonly outputs: readonly [{
305
- readonly internalType: "uint256";
306
260
  readonly name: "";
307
261
  readonly type: "uint256";
262
+ readonly internalType: "uint256";
308
263
  }];
309
264
  readonly stateMutability: "view";
310
- readonly type: "function";
311
265
  }, {
312
- readonly inputs: readonly [{
313
- readonly internalType: "address";
314
- readonly name: "account";
315
- readonly type: "address";
316
- }];
317
- readonly name: "balanceOf";
266
+ readonly type: "function";
267
+ readonly name: "expectedLiquidityLU";
268
+ readonly inputs: readonly [];
318
269
  readonly outputs: readonly [{
319
- readonly internalType: "uint256";
320
270
  readonly name: "";
321
271
  readonly type: "uint256";
272
+ readonly internalType: "uint256";
322
273
  }];
323
274
  readonly stateMutability: "view";
324
- readonly type: "function";
325
275
  }, {
276
+ readonly type: "function";
277
+ readonly name: "interestRateModel";
326
278
  readonly inputs: readonly [];
327
- readonly name: "baseInterestIndex";
328
279
  readonly outputs: readonly [{
329
- readonly internalType: "uint256";
330
280
  readonly name: "";
331
- readonly type: "uint256";
281
+ readonly type: "address";
282
+ readonly internalType: "address";
332
283
  }];
333
284
  readonly stateMutability: "view";
334
- readonly type: "function";
335
285
  }, {
286
+ readonly type: "function";
287
+ readonly name: "lastBaseInterestUpdate";
336
288
  readonly inputs: readonly [];
337
- readonly name: "baseInterestIndexLU";
338
289
  readonly outputs: readonly [{
339
- readonly internalType: "uint256";
340
290
  readonly name: "";
341
- readonly type: "uint256";
291
+ readonly type: "uint40";
292
+ readonly internalType: "uint40";
342
293
  }];
343
294
  readonly stateMutability: "view";
344
- readonly type: "function";
345
295
  }, {
296
+ readonly type: "function";
297
+ readonly name: "lastQuotaRevenueUpdate";
346
298
  readonly inputs: readonly [];
347
- readonly name: "baseInterestRate";
348
299
  readonly outputs: readonly [{
349
- readonly internalType: "uint256";
350
300
  readonly name: "";
351
- readonly type: "uint256";
301
+ readonly type: "uint40";
302
+ readonly internalType: "uint40";
352
303
  }];
353
304
  readonly stateMutability: "view";
354
- readonly type: "function";
355
305
  }, {
306
+ readonly type: "function";
307
+ readonly name: "lendCreditAccount";
356
308
  readonly inputs: readonly [{
357
- readonly internalType: "uint256";
358
- readonly name: "shares";
309
+ readonly name: "borrowedAmount";
359
310
  readonly type: "uint256";
360
- }];
361
- readonly name: "convertToAssets";
362
- readonly outputs: readonly [{
363
311
  readonly internalType: "uint256";
364
- readonly name: "assets";
365
- readonly type: "uint256";
312
+ }, {
313
+ readonly name: "creditAccount";
314
+ readonly type: "address";
315
+ readonly internalType: "address";
366
316
  }];
367
- readonly stateMutability: "view";
368
- readonly type: "function";
317
+ readonly outputs: readonly [];
318
+ readonly stateMutability: "nonpayable";
369
319
  }, {
320
+ readonly type: "function";
321
+ readonly name: "maxDeposit";
370
322
  readonly inputs: readonly [{
371
- readonly internalType: "uint256";
372
- readonly name: "assets";
373
- readonly type: "uint256";
323
+ readonly name: "receiver";
324
+ readonly type: "address";
325
+ readonly internalType: "address";
374
326
  }];
375
- readonly name: "convertToShares";
376
327
  readonly outputs: readonly [{
377
- readonly internalType: "uint256";
378
- readonly name: "shares";
328
+ readonly name: "maxAssets";
379
329
  readonly type: "uint256";
330
+ readonly internalType: "uint256";
380
331
  }];
381
332
  readonly stateMutability: "view";
382
- readonly type: "function";
383
333
  }, {
334
+ readonly type: "function";
335
+ readonly name: "maxMint";
384
336
  readonly inputs: readonly [{
385
- readonly internalType: "address";
386
- readonly name: "creditManager";
337
+ readonly name: "receiver";
387
338
  readonly type: "address";
339
+ readonly internalType: "address";
388
340
  }];
389
- readonly name: "creditManagerBorrowable";
390
341
  readonly outputs: readonly [{
391
- readonly internalType: "uint256";
392
- readonly name: "borrowable";
342
+ readonly name: "maxShares";
393
343
  readonly type: "uint256";
344
+ readonly internalType: "uint256";
394
345
  }];
395
346
  readonly stateMutability: "view";
396
- readonly type: "function";
397
347
  }, {
348
+ readonly type: "function";
349
+ readonly name: "maxRedeem";
398
350
  readonly inputs: readonly [{
399
- readonly internalType: "address";
400
- readonly name: "creditManager";
351
+ readonly name: "owner";
401
352
  readonly type: "address";
353
+ readonly internalType: "address";
402
354
  }];
403
- readonly name: "creditManagerBorrowed";
404
355
  readonly outputs: readonly [{
405
- readonly internalType: "uint256";
406
- readonly name: "";
356
+ readonly name: "maxShares";
407
357
  readonly type: "uint256";
358
+ readonly internalType: "uint256";
408
359
  }];
409
360
  readonly stateMutability: "view";
410
- readonly type: "function";
411
361
  }, {
362
+ readonly type: "function";
363
+ readonly name: "maxWithdraw";
412
364
  readonly inputs: readonly [{
413
- readonly internalType: "address";
414
- readonly name: "creditManager";
365
+ readonly name: "owner";
415
366
  readonly type: "address";
367
+ readonly internalType: "address";
416
368
  }];
417
- readonly name: "creditManagerDebtLimit";
418
369
  readonly outputs: readonly [{
419
- readonly internalType: "uint256";
420
- readonly name: "";
370
+ readonly name: "maxAssets";
421
371
  readonly type: "uint256";
372
+ readonly internalType: "uint256";
422
373
  }];
423
374
  readonly stateMutability: "view";
424
- readonly type: "function";
425
- }, {
426
- readonly inputs: readonly [];
427
- readonly name: "creditManagers";
428
- readonly outputs: readonly [{
429
- readonly internalType: "address[]";
430
- readonly name: "";
431
- readonly type: "address[]";
432
- }];
433
- readonly stateMutability: "view";
434
- readonly type: "function";
435
375
  }, {
436
- readonly inputs: readonly [];
437
- readonly name: "decimals";
438
- readonly outputs: readonly [{
439
- readonly internalType: "uint8";
440
- readonly name: "";
441
- readonly type: "uint8";
442
- }];
443
- readonly stateMutability: "view";
444
376
  readonly type: "function";
445
- }, {
377
+ readonly name: "mint";
446
378
  readonly inputs: readonly [{
447
- readonly internalType: "uint256";
448
- readonly name: "assets";
379
+ readonly name: "shares";
449
380
  readonly type: "uint256";
381
+ readonly internalType: "uint256";
450
382
  }, {
451
- readonly internalType: "address";
452
383
  readonly name: "receiver";
453
384
  readonly type: "address";
385
+ readonly internalType: "address";
454
386
  }];
455
- readonly name: "deposit";
456
387
  readonly outputs: readonly [{
457
- readonly internalType: "uint256";
458
- readonly name: "shares";
388
+ readonly name: "assets";
459
389
  readonly type: "uint256";
390
+ readonly internalType: "uint256";
460
391
  }];
461
392
  readonly stateMutability: "nonpayable";
462
- readonly type: "function";
463
393
  }, {
394
+ readonly type: "function";
395
+ readonly name: "mintWithReferral";
464
396
  readonly inputs: readonly [{
465
- readonly internalType: "uint256";
466
- readonly name: "assets";
397
+ readonly name: "shares";
467
398
  readonly type: "uint256";
399
+ readonly internalType: "uint256";
468
400
  }, {
469
- readonly internalType: "address";
470
401
  readonly name: "receiver";
471
402
  readonly type: "address";
403
+ readonly internalType: "address";
472
404
  }, {
473
- readonly internalType: "uint16";
474
405
  readonly name: "referralCode";
475
- readonly type: "uint16";
406
+ readonly type: "uint256";
407
+ readonly internalType: "uint256";
476
408
  }];
477
- readonly name: "depositWithReferral";
478
409
  readonly outputs: readonly [{
479
- readonly internalType: "uint256";
480
- readonly name: "shares";
481
- readonly type: "uint256";
482
- }];
483
- readonly stateMutability: "nonpayable";
484
- readonly type: "function";
485
- }, {
486
- readonly inputs: readonly [];
487
- readonly name: "expectedLiquidity";
488
- readonly outputs: readonly [{
489
- readonly internalType: "uint256";
490
- readonly name: "";
410
+ readonly name: "assets";
491
411
  readonly type: "uint256";
492
- }];
493
- readonly stateMutability: "view";
494
- readonly type: "function";
495
- }, {
496
- readonly inputs: readonly [];
497
- readonly name: "expectedLiquidityLU";
498
- readonly outputs: readonly [{
499
412
  readonly internalType: "uint256";
500
- readonly name: "";
501
- readonly type: "uint256";
502
413
  }];
503
- readonly stateMutability: "view";
504
- readonly type: "function";
414
+ readonly stateMutability: "nonpayable";
505
415
  }, {
506
- readonly inputs: readonly [];
507
- readonly name: "interestRateModel";
508
- readonly outputs: readonly [{
509
- readonly internalType: "address";
510
- readonly name: "";
511
- readonly type: "address";
512
- }];
513
- readonly stateMutability: "view";
514
416
  readonly type: "function";
515
- }, {
417
+ readonly name: "name";
516
418
  readonly inputs: readonly [];
517
- readonly name: "lastBaseInterestUpdate";
518
419
  readonly outputs: readonly [{
519
- readonly internalType: "uint40";
520
420
  readonly name: "";
521
- readonly type: "uint40";
421
+ readonly type: "string";
422
+ readonly internalType: "string";
522
423
  }];
523
424
  readonly stateMutability: "view";
524
- readonly type: "function";
525
425
  }, {
526
- readonly inputs: readonly [];
527
- readonly name: "lastQuotaRevenueUpdate";
528
- readonly outputs: readonly [{
529
- readonly internalType: "uint40";
530
- readonly name: "";
531
- readonly type: "uint40";
532
- }];
533
- readonly stateMutability: "view";
534
426
  readonly type: "function";
535
- }, {
427
+ readonly name: "nonces";
536
428
  readonly inputs: readonly [{
537
- readonly internalType: "uint256";
538
- readonly name: "borrowedAmount";
539
- readonly type: "uint256";
540
- }, {
541
- readonly internalType: "address";
542
- readonly name: "creditAccount";
429
+ readonly name: "owner";
543
430
  readonly type: "address";
544
- }];
545
- readonly name: "lendCreditAccount";
546
- readonly outputs: readonly [];
547
- readonly stateMutability: "nonpayable";
548
- readonly type: "function";
549
- }, {
550
- readonly inputs: readonly [{
551
431
  readonly internalType: "address";
552
- readonly name: "receiver";
553
- readonly type: "address";
554
432
  }];
555
- readonly name: "maxDeposit";
556
433
  readonly outputs: readonly [{
557
- readonly internalType: "uint256";
558
- readonly name: "maxAssets";
434
+ readonly name: "";
559
435
  readonly type: "uint256";
560
- }];
561
- readonly stateMutability: "view";
562
- readonly type: "function";
563
- }, {
564
- readonly inputs: readonly [{
565
- readonly internalType: "address";
566
- readonly name: "receiver";
567
- readonly type: "address";
568
- }];
569
- readonly name: "maxMint";
570
- readonly outputs: readonly [{
571
436
  readonly internalType: "uint256";
572
- readonly name: "maxShares";
573
- readonly type: "uint256";
574
437
  }];
575
438
  readonly stateMutability: "view";
576
- readonly type: "function";
577
439
  }, {
440
+ readonly type: "function";
441
+ readonly name: "permit";
578
442
  readonly inputs: readonly [{
579
- readonly internalType: "address";
580
443
  readonly name: "owner";
581
444
  readonly type: "address";
582
- }];
583
- readonly name: "maxRedeem";
584
- readonly outputs: readonly [{
585
- readonly internalType: "uint256";
586
- readonly name: "maxShares";
587
- readonly type: "uint256";
588
- }];
589
- readonly stateMutability: "view";
590
- readonly type: "function";
591
- }, {
592
- readonly inputs: readonly [{
593
445
  readonly internalType: "address";
594
- readonly name: "owner";
446
+ }, {
447
+ readonly name: "spender";
595
448
  readonly type: "address";
596
- }];
597
- readonly name: "maxWithdraw";
598
- readonly outputs: readonly [{
599
- readonly internalType: "uint256";
600
- readonly name: "maxAssets";
449
+ readonly internalType: "address";
450
+ }, {
451
+ readonly name: "value";
601
452
  readonly type: "uint256";
602
- }];
603
- readonly stateMutability: "view";
604
- readonly type: "function";
605
- }, {
606
- readonly inputs: readonly [{
607
453
  readonly internalType: "uint256";
608
- readonly name: "shares";
609
- readonly type: "uint256";
610
454
  }, {
611
- readonly internalType: "address";
612
- readonly name: "receiver";
613
- readonly type: "address";
614
- }];
615
- readonly name: "mint";
616
- readonly outputs: readonly [{
617
- readonly internalType: "uint256";
618
- readonly name: "assets";
455
+ readonly name: "deadline";
619
456
  readonly type: "uint256";
620
- }];
621
- readonly stateMutability: "nonpayable";
622
- readonly type: "function";
623
- }, {
624
- readonly inputs: readonly [{
625
457
  readonly internalType: "uint256";
626
- readonly name: "shares";
627
- readonly type: "uint256";
628
458
  }, {
629
- readonly internalType: "address";
630
- readonly name: "receiver";
631
- readonly type: "address";
459
+ readonly name: "v";
460
+ readonly type: "uint8";
461
+ readonly internalType: "uint8";
632
462
  }, {
633
- readonly internalType: "uint16";
634
- readonly name: "referralCode";
635
- readonly type: "uint16";
636
- }];
637
- readonly name: "mintWithReferral";
638
- readonly outputs: readonly [{
639
- readonly internalType: "uint256";
640
- readonly name: "assets";
641
- readonly type: "uint256";
463
+ readonly name: "r";
464
+ readonly type: "bytes32";
465
+ readonly internalType: "bytes32";
466
+ }, {
467
+ readonly name: "s";
468
+ readonly type: "bytes32";
469
+ readonly internalType: "bytes32";
642
470
  }];
471
+ readonly outputs: readonly [];
643
472
  readonly stateMutability: "nonpayable";
644
- readonly type: "function";
645
473
  }, {
646
- readonly inputs: readonly [];
647
- readonly name: "name";
648
- readonly outputs: readonly [{
649
- readonly internalType: "string";
650
- readonly name: "";
651
- readonly type: "string";
652
- }];
653
- readonly stateMutability: "view";
654
474
  readonly type: "function";
655
- }, {
656
- readonly inputs: readonly [];
657
475
  readonly name: "poolQuotaKeeper";
476
+ readonly inputs: readonly [];
658
477
  readonly outputs: readonly [{
659
- readonly internalType: "address";
660
478
  readonly name: "";
661
479
  readonly type: "address";
480
+ readonly internalType: "address";
662
481
  }];
663
482
  readonly stateMutability: "view";
664
- readonly type: "function";
665
483
  }, {
484
+ readonly type: "function";
485
+ readonly name: "previewDeposit";
666
486
  readonly inputs: readonly [{
667
- readonly internalType: "uint256";
668
487
  readonly name: "assets";
669
488
  readonly type: "uint256";
489
+ readonly internalType: "uint256";
670
490
  }];
671
- readonly name: "previewDeposit";
672
491
  readonly outputs: readonly [{
673
- readonly internalType: "uint256";
674
492
  readonly name: "shares";
675
493
  readonly type: "uint256";
494
+ readonly internalType: "uint256";
676
495
  }];
677
496
  readonly stateMutability: "view";
678
- readonly type: "function";
679
497
  }, {
498
+ readonly type: "function";
499
+ readonly name: "previewMint";
680
500
  readonly inputs: readonly [{
681
- readonly internalType: "uint256";
682
501
  readonly name: "shares";
683
502
  readonly type: "uint256";
503
+ readonly internalType: "uint256";
684
504
  }];
685
- readonly name: "previewMint";
686
505
  readonly outputs: readonly [{
687
- readonly internalType: "uint256";
688
506
  readonly name: "assets";
689
507
  readonly type: "uint256";
508
+ readonly internalType: "uint256";
690
509
  }];
691
510
  readonly stateMutability: "view";
692
- readonly type: "function";
693
511
  }, {
512
+ readonly type: "function";
513
+ readonly name: "previewRedeem";
694
514
  readonly inputs: readonly [{
695
- readonly internalType: "uint256";
696
515
  readonly name: "shares";
697
516
  readonly type: "uint256";
517
+ readonly internalType: "uint256";
698
518
  }];
699
- readonly name: "previewRedeem";
700
519
  readonly outputs: readonly [{
701
- readonly internalType: "uint256";
702
520
  readonly name: "assets";
703
521
  readonly type: "uint256";
522
+ readonly internalType: "uint256";
704
523
  }];
705
524
  readonly stateMutability: "view";
706
- readonly type: "function";
707
525
  }, {
526
+ readonly type: "function";
527
+ readonly name: "previewWithdraw";
708
528
  readonly inputs: readonly [{
709
- readonly internalType: "uint256";
710
529
  readonly name: "assets";
711
530
  readonly type: "uint256";
531
+ readonly internalType: "uint256";
712
532
  }];
713
- readonly name: "previewWithdraw";
714
533
  readonly outputs: readonly [{
715
- readonly internalType: "uint256";
716
534
  readonly name: "shares";
717
535
  readonly type: "uint256";
536
+ readonly internalType: "uint256";
718
537
  }];
719
538
  readonly stateMutability: "view";
720
- readonly type: "function";
721
539
  }, {
722
- readonly inputs: readonly [];
540
+ readonly type: "function";
723
541
  readonly name: "quotaRevenue";
542
+ readonly inputs: readonly [];
724
543
  readonly outputs: readonly [{
725
- readonly internalType: "uint256";
726
544
  readonly name: "";
727
545
  readonly type: "uint256";
546
+ readonly internalType: "uint256";
728
547
  }];
729
548
  readonly stateMutability: "view";
730
- readonly type: "function";
731
549
  }, {
550
+ readonly type: "function";
551
+ readonly name: "redeem";
732
552
  readonly inputs: readonly [{
733
- readonly internalType: "uint256";
734
553
  readonly name: "shares";
735
554
  readonly type: "uint256";
555
+ readonly internalType: "uint256";
736
556
  }, {
737
- readonly internalType: "address";
738
557
  readonly name: "receiver";
739
558
  readonly type: "address";
740
- }, {
741
559
  readonly internalType: "address";
560
+ }, {
742
561
  readonly name: "owner";
743
562
  readonly type: "address";
563
+ readonly internalType: "address";
744
564
  }];
745
- readonly name: "redeem";
746
565
  readonly outputs: readonly [{
747
- readonly internalType: "uint256";
748
566
  readonly name: "assets";
749
567
  readonly type: "uint256";
568
+ readonly internalType: "uint256";
750
569
  }];
751
570
  readonly stateMutability: "nonpayable";
752
- readonly type: "function";
753
571
  }, {
572
+ readonly type: "function";
573
+ readonly name: "repayCreditAccount";
754
574
  readonly inputs: readonly [{
755
- readonly internalType: "uint256";
756
575
  readonly name: "repaidAmount";
757
576
  readonly type: "uint256";
758
- }, {
759
577
  readonly internalType: "uint256";
578
+ }, {
760
579
  readonly name: "profit";
761
580
  readonly type: "uint256";
762
- }, {
763
581
  readonly internalType: "uint256";
582
+ }, {
764
583
  readonly name: "loss";
765
584
  readonly type: "uint256";
585
+ readonly internalType: "uint256";
766
586
  }];
767
- readonly name: "repayCreditAccount";
768
587
  readonly outputs: readonly [];
769
588
  readonly stateMutability: "nonpayable";
770
- readonly type: "function";
771
589
  }, {
590
+ readonly type: "function";
591
+ readonly name: "setCreditManagerDebtLimit";
772
592
  readonly inputs: readonly [{
773
- readonly internalType: "address";
774
593
  readonly name: "creditManager";
775
594
  readonly type: "address";
595
+ readonly internalType: "address";
776
596
  }, {
777
- readonly internalType: "uint256";
778
597
  readonly name: "newLimit";
779
598
  readonly type: "uint256";
599
+ readonly internalType: "uint256";
780
600
  }];
781
- readonly name: "setCreditManagerDebtLimit";
782
601
  readonly outputs: readonly [];
783
602
  readonly stateMutability: "nonpayable";
784
- readonly type: "function";
785
603
  }, {
604
+ readonly type: "function";
605
+ readonly name: "setInterestRateModel";
786
606
  readonly inputs: readonly [{
787
- readonly internalType: "address";
788
607
  readonly name: "newInterestRateModel";
789
608
  readonly type: "address";
609
+ readonly internalType: "address";
790
610
  }];
791
- readonly name: "setInterestRateModel";
792
611
  readonly outputs: readonly [];
793
612
  readonly stateMutability: "nonpayable";
794
- readonly type: "function";
795
613
  }, {
614
+ readonly type: "function";
615
+ readonly name: "setPoolQuotaKeeper";
796
616
  readonly inputs: readonly [{
797
- readonly internalType: "address";
798
617
  readonly name: "newPoolQuotaKeeper";
799
618
  readonly type: "address";
619
+ readonly internalType: "address";
800
620
  }];
801
- readonly name: "setPoolQuotaKeeper";
802
621
  readonly outputs: readonly [];
803
622
  readonly stateMutability: "nonpayable";
804
- readonly type: "function";
805
623
  }, {
624
+ readonly type: "function";
625
+ readonly name: "setQuotaRevenue";
806
626
  readonly inputs: readonly [{
807
- readonly internalType: "uint256";
808
627
  readonly name: "newQuotaRevenue";
809
628
  readonly type: "uint256";
629
+ readonly internalType: "uint256";
810
630
  }];
811
- readonly name: "setQuotaRevenue";
812
631
  readonly outputs: readonly [];
813
632
  readonly stateMutability: "nonpayable";
814
- readonly type: "function";
815
633
  }, {
634
+ readonly type: "function";
635
+ readonly name: "setTotalDebtLimit";
816
636
  readonly inputs: readonly [{
817
- readonly internalType: "uint256";
818
637
  readonly name: "newLimit";
819
638
  readonly type: "uint256";
639
+ readonly internalType: "uint256";
820
640
  }];
821
- readonly name: "setTotalDebtLimit";
822
641
  readonly outputs: readonly [];
823
642
  readonly stateMutability: "nonpayable";
824
- readonly type: "function";
825
643
  }, {
644
+ readonly type: "function";
645
+ readonly name: "setWithdrawFee";
826
646
  readonly inputs: readonly [{
827
- readonly internalType: "uint256";
828
647
  readonly name: "newWithdrawFee";
829
648
  readonly type: "uint256";
649
+ readonly internalType: "uint256";
830
650
  }];
831
- readonly name: "setWithdrawFee";
832
651
  readonly outputs: readonly [];
833
652
  readonly stateMutability: "nonpayable";
834
- readonly type: "function";
835
653
  }, {
836
- readonly inputs: readonly [];
654
+ readonly type: "function";
837
655
  readonly name: "supplyRate";
656
+ readonly inputs: readonly [];
838
657
  readonly outputs: readonly [{
839
- readonly internalType: "uint256";
840
658
  readonly name: "";
841
659
  readonly type: "uint256";
660
+ readonly internalType: "uint256";
842
661
  }];
843
662
  readonly stateMutability: "view";
844
- readonly type: "function";
845
663
  }, {
846
- readonly inputs: readonly [];
664
+ readonly type: "function";
847
665
  readonly name: "symbol";
666
+ readonly inputs: readonly [];
848
667
  readonly outputs: readonly [{
849
- readonly internalType: "string";
850
668
  readonly name: "";
851
669
  readonly type: "string";
670
+ readonly internalType: "string";
852
671
  }];
853
672
  readonly stateMutability: "view";
854
- readonly type: "function";
855
673
  }, {
856
- readonly inputs: readonly [];
674
+ readonly type: "function";
857
675
  readonly name: "totalAssets";
676
+ readonly inputs: readonly [];
858
677
  readonly outputs: readonly [{
859
- readonly internalType: "uint256";
860
678
  readonly name: "totalManagedAssets";
861
679
  readonly type: "uint256";
680
+ readonly internalType: "uint256";
862
681
  }];
863
682
  readonly stateMutability: "view";
864
- readonly type: "function";
865
683
  }, {
866
- readonly inputs: readonly [];
684
+ readonly type: "function";
867
685
  readonly name: "totalBorrowed";
686
+ readonly inputs: readonly [];
868
687
  readonly outputs: readonly [{
869
- readonly internalType: "uint256";
870
688
  readonly name: "";
871
689
  readonly type: "uint256";
690
+ readonly internalType: "uint256";
872
691
  }];
873
692
  readonly stateMutability: "view";
874
- readonly type: "function";
875
693
  }, {
876
- readonly inputs: readonly [];
694
+ readonly type: "function";
877
695
  readonly name: "totalDebtLimit";
696
+ readonly inputs: readonly [];
878
697
  readonly outputs: readonly [{
879
- readonly internalType: "uint256";
880
698
  readonly name: "";
881
699
  readonly type: "uint256";
700
+ readonly internalType: "uint256";
882
701
  }];
883
702
  readonly stateMutability: "view";
884
- readonly type: "function";
885
703
  }, {
886
- readonly inputs: readonly [];
704
+ readonly type: "function";
887
705
  readonly name: "totalSupply";
706
+ readonly inputs: readonly [];
888
707
  readonly outputs: readonly [{
889
- readonly internalType: "uint256";
890
708
  readonly name: "";
891
709
  readonly type: "uint256";
710
+ readonly internalType: "uint256";
892
711
  }];
893
712
  readonly stateMutability: "view";
894
- readonly type: "function";
895
713
  }, {
714
+ readonly type: "function";
715
+ readonly name: "transfer";
896
716
  readonly inputs: readonly [{
897
- readonly internalType: "address";
898
717
  readonly name: "to";
899
718
  readonly type: "address";
719
+ readonly internalType: "address";
900
720
  }, {
901
- readonly internalType: "uint256";
902
721
  readonly name: "amount";
903
722
  readonly type: "uint256";
723
+ readonly internalType: "uint256";
904
724
  }];
905
- readonly name: "transfer";
906
725
  readonly outputs: readonly [{
907
- readonly internalType: "bool";
908
726
  readonly name: "";
909
727
  readonly type: "bool";
728
+ readonly internalType: "bool";
910
729
  }];
911
730
  readonly stateMutability: "nonpayable";
912
- readonly type: "function";
913
731
  }, {
732
+ readonly type: "function";
733
+ readonly name: "transferFrom";
914
734
  readonly inputs: readonly [{
915
- readonly internalType: "address";
916
735
  readonly name: "from";
917
736
  readonly type: "address";
918
- }, {
919
737
  readonly internalType: "address";
738
+ }, {
920
739
  readonly name: "to";
921
740
  readonly type: "address";
741
+ readonly internalType: "address";
922
742
  }, {
923
- readonly internalType: "uint256";
924
743
  readonly name: "amount";
925
744
  readonly type: "uint256";
745
+ readonly internalType: "uint256";
926
746
  }];
927
- readonly name: "transferFrom";
928
747
  readonly outputs: readonly [{
929
- readonly internalType: "bool";
930
748
  readonly name: "";
931
749
  readonly type: "bool";
750
+ readonly internalType: "bool";
932
751
  }];
933
752
  readonly stateMutability: "nonpayable";
934
- readonly type: "function";
935
753
  }, {
936
- readonly inputs: readonly [];
754
+ readonly type: "function";
937
755
  readonly name: "treasury";
756
+ readonly inputs: readonly [];
938
757
  readonly outputs: readonly [{
939
- readonly internalType: "address";
940
758
  readonly name: "";
941
759
  readonly type: "address";
760
+ readonly internalType: "address";
942
761
  }];
943
762
  readonly stateMutability: "view";
944
- readonly type: "function";
945
763
  }, {
946
- readonly inputs: readonly [];
764
+ readonly type: "function";
947
765
  readonly name: "underlyingToken";
766
+ readonly inputs: readonly [];
948
767
  readonly outputs: readonly [{
949
- readonly internalType: "address";
950
768
  readonly name: "";
951
769
  readonly type: "address";
770
+ readonly internalType: "address";
952
771
  }];
953
772
  readonly stateMutability: "view";
954
- readonly type: "function";
955
773
  }, {
774
+ readonly type: "function";
775
+ readonly name: "updateQuotaRevenue";
956
776
  readonly inputs: readonly [{
957
- readonly internalType: "int256";
958
777
  readonly name: "quotaRevenueDelta";
959
778
  readonly type: "int256";
779
+ readonly internalType: "int256";
960
780
  }];
961
- readonly name: "updateQuotaRevenue";
962
781
  readonly outputs: readonly [];
963
782
  readonly stateMutability: "nonpayable";
964
- readonly type: "function";
965
783
  }, {
966
- readonly inputs: readonly [];
784
+ readonly type: "function";
967
785
  readonly name: "version";
786
+ readonly inputs: readonly [];
968
787
  readonly outputs: readonly [{
969
- readonly internalType: "uint256";
970
788
  readonly name: "";
971
789
  readonly type: "uint256";
790
+ readonly internalType: "uint256";
972
791
  }];
973
792
  readonly stateMutability: "view";
974
- readonly type: "function";
975
793
  }, {
794
+ readonly type: "function";
795
+ readonly name: "withdraw";
976
796
  readonly inputs: readonly [{
977
- readonly internalType: "uint256";
978
797
  readonly name: "assets";
979
798
  readonly type: "uint256";
799
+ readonly internalType: "uint256";
980
800
  }, {
981
- readonly internalType: "address";
982
801
  readonly name: "receiver";
983
802
  readonly type: "address";
984
- }, {
985
803
  readonly internalType: "address";
804
+ }, {
986
805
  readonly name: "owner";
987
806
  readonly type: "address";
807
+ readonly internalType: "address";
988
808
  }];
989
- readonly name: "withdraw";
990
809
  readonly outputs: readonly [{
991
- readonly internalType: "uint256";
992
810
  readonly name: "shares";
993
811
  readonly type: "uint256";
812
+ readonly internalType: "uint256";
994
813
  }];
995
814
  readonly stateMutability: "nonpayable";
996
- readonly type: "function";
997
815
  }, {
998
- readonly inputs: readonly [];
816
+ readonly type: "function";
999
817
  readonly name: "withdrawFee";
818
+ readonly inputs: readonly [];
1000
819
  readonly outputs: readonly [{
1001
- readonly internalType: "uint16";
1002
820
  readonly name: "";
1003
821
  readonly type: "uint16";
822
+ readonly internalType: "uint16";
1004
823
  }];
1005
824
  readonly stateMutability: "view";
1006
- readonly type: "function";
825
+ }, {
826
+ readonly type: "event";
827
+ readonly name: "AddCreditManager";
828
+ readonly inputs: readonly [{
829
+ readonly name: "creditManager";
830
+ readonly type: "address";
831
+ readonly indexed: true;
832
+ readonly internalType: "address";
833
+ }];
834
+ readonly anonymous: false;
835
+ }, {
836
+ readonly type: "event";
837
+ readonly name: "Approval";
838
+ readonly inputs: readonly [{
839
+ readonly name: "owner";
840
+ readonly type: "address";
841
+ readonly indexed: true;
842
+ readonly internalType: "address";
843
+ }, {
844
+ readonly name: "spender";
845
+ readonly type: "address";
846
+ readonly indexed: true;
847
+ readonly internalType: "address";
848
+ }, {
849
+ readonly name: "value";
850
+ readonly type: "uint256";
851
+ readonly indexed: false;
852
+ readonly internalType: "uint256";
853
+ }];
854
+ readonly anonymous: false;
855
+ }, {
856
+ readonly type: "event";
857
+ readonly name: "Borrow";
858
+ readonly inputs: readonly [{
859
+ readonly name: "creditManager";
860
+ readonly type: "address";
861
+ readonly indexed: true;
862
+ readonly internalType: "address";
863
+ }, {
864
+ readonly name: "creditAccount";
865
+ readonly type: "address";
866
+ readonly indexed: true;
867
+ readonly internalType: "address";
868
+ }, {
869
+ readonly name: "amount";
870
+ readonly type: "uint256";
871
+ readonly indexed: false;
872
+ readonly internalType: "uint256";
873
+ }];
874
+ readonly anonymous: false;
875
+ }, {
876
+ readonly type: "event";
877
+ readonly name: "Deposit";
878
+ readonly inputs: readonly [{
879
+ readonly name: "sender";
880
+ readonly type: "address";
881
+ readonly indexed: true;
882
+ readonly internalType: "address";
883
+ }, {
884
+ readonly name: "owner";
885
+ readonly type: "address";
886
+ readonly indexed: true;
887
+ readonly internalType: "address";
888
+ }, {
889
+ readonly name: "assets";
890
+ readonly type: "uint256";
891
+ readonly indexed: false;
892
+ readonly internalType: "uint256";
893
+ }, {
894
+ readonly name: "shares";
895
+ readonly type: "uint256";
896
+ readonly indexed: false;
897
+ readonly internalType: "uint256";
898
+ }];
899
+ readonly anonymous: false;
900
+ }, {
901
+ readonly type: "event";
902
+ readonly name: "IncurUncoveredLoss";
903
+ readonly inputs: readonly [{
904
+ readonly name: "creditManager";
905
+ readonly type: "address";
906
+ readonly indexed: true;
907
+ readonly internalType: "address";
908
+ }, {
909
+ readonly name: "loss";
910
+ readonly type: "uint256";
911
+ readonly indexed: false;
912
+ readonly internalType: "uint256";
913
+ }];
914
+ readonly anonymous: false;
915
+ }, {
916
+ readonly type: "event";
917
+ readonly name: "Refer";
918
+ readonly inputs: readonly [{
919
+ readonly name: "onBehalfOf";
920
+ readonly type: "address";
921
+ readonly indexed: true;
922
+ readonly internalType: "address";
923
+ }, {
924
+ readonly name: "referralCode";
925
+ readonly type: "uint256";
926
+ readonly indexed: true;
927
+ readonly internalType: "uint256";
928
+ }, {
929
+ readonly name: "amount";
930
+ readonly type: "uint256";
931
+ readonly indexed: false;
932
+ readonly internalType: "uint256";
933
+ }];
934
+ readonly anonymous: false;
935
+ }, {
936
+ readonly type: "event";
937
+ readonly name: "Repay";
938
+ readonly inputs: readonly [{
939
+ readonly name: "creditManager";
940
+ readonly type: "address";
941
+ readonly indexed: true;
942
+ readonly internalType: "address";
943
+ }, {
944
+ readonly name: "borrowedAmount";
945
+ readonly type: "uint256";
946
+ readonly indexed: false;
947
+ readonly internalType: "uint256";
948
+ }, {
949
+ readonly name: "profit";
950
+ readonly type: "uint256";
951
+ readonly indexed: false;
952
+ readonly internalType: "uint256";
953
+ }, {
954
+ readonly name: "loss";
955
+ readonly type: "uint256";
956
+ readonly indexed: false;
957
+ readonly internalType: "uint256";
958
+ }];
959
+ readonly anonymous: false;
960
+ }, {
961
+ readonly type: "event";
962
+ readonly name: "SetCreditManagerDebtLimit";
963
+ readonly inputs: readonly [{
964
+ readonly name: "creditManager";
965
+ readonly type: "address";
966
+ readonly indexed: true;
967
+ readonly internalType: "address";
968
+ }, {
969
+ readonly name: "newLimit";
970
+ readonly type: "uint256";
971
+ readonly indexed: false;
972
+ readonly internalType: "uint256";
973
+ }];
974
+ readonly anonymous: false;
975
+ }, {
976
+ readonly type: "event";
977
+ readonly name: "SetInterestRateModel";
978
+ readonly inputs: readonly [{
979
+ readonly name: "newInterestRateModel";
980
+ readonly type: "address";
981
+ readonly indexed: true;
982
+ readonly internalType: "address";
983
+ }];
984
+ readonly anonymous: false;
985
+ }, {
986
+ readonly type: "event";
987
+ readonly name: "SetPoolQuotaKeeper";
988
+ readonly inputs: readonly [{
989
+ readonly name: "newPoolQuotaKeeper";
990
+ readonly type: "address";
991
+ readonly indexed: true;
992
+ readonly internalType: "address";
993
+ }];
994
+ readonly anonymous: false;
995
+ }, {
996
+ readonly type: "event";
997
+ readonly name: "SetTotalDebtLimit";
998
+ readonly inputs: readonly [{
999
+ readonly name: "limit";
1000
+ readonly type: "uint256";
1001
+ readonly indexed: false;
1002
+ readonly internalType: "uint256";
1003
+ }];
1004
+ readonly anonymous: false;
1005
+ }, {
1006
+ readonly type: "event";
1007
+ readonly name: "SetWithdrawFee";
1008
+ readonly inputs: readonly [{
1009
+ readonly name: "fee";
1010
+ readonly type: "uint256";
1011
+ readonly indexed: false;
1012
+ readonly internalType: "uint256";
1013
+ }];
1014
+ readonly anonymous: false;
1015
+ }, {
1016
+ readonly type: "event";
1017
+ readonly name: "Transfer";
1018
+ readonly inputs: readonly [{
1019
+ readonly name: "from";
1020
+ readonly type: "address";
1021
+ readonly indexed: true;
1022
+ readonly internalType: "address";
1023
+ }, {
1024
+ readonly name: "to";
1025
+ readonly type: "address";
1026
+ readonly indexed: true;
1027
+ readonly internalType: "address";
1028
+ }, {
1029
+ readonly name: "value";
1030
+ readonly type: "uint256";
1031
+ readonly indexed: false;
1032
+ readonly internalType: "uint256";
1033
+ }];
1034
+ readonly anonymous: false;
1035
+ }, {
1036
+ readonly type: "event";
1037
+ readonly name: "Withdraw";
1038
+ readonly inputs: readonly [{
1039
+ readonly name: "sender";
1040
+ readonly type: "address";
1041
+ readonly indexed: true;
1042
+ readonly internalType: "address";
1043
+ }, {
1044
+ readonly name: "receiver";
1045
+ readonly type: "address";
1046
+ readonly indexed: true;
1047
+ readonly internalType: "address";
1048
+ }, {
1049
+ readonly name: "owner";
1050
+ readonly type: "address";
1051
+ readonly indexed: true;
1052
+ readonly internalType: "address";
1053
+ }, {
1054
+ readonly name: "assets";
1055
+ readonly type: "uint256";
1056
+ readonly indexed: false;
1057
+ readonly internalType: "uint256";
1058
+ }, {
1059
+ readonly name: "shares";
1060
+ readonly type: "uint256";
1061
+ readonly indexed: false;
1062
+ readonly internalType: "uint256";
1063
+ }];
1064
+ readonly anonymous: false;
1007
1065
  }];
1008
1066
  static createInterface(): IPoolV3Interface;
1009
1067
  static connect(address: string, signerOrProvider: Signer | Provider): IPoolV3;