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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/lib/core/creditManager.d.ts +1 -0
  2. package/lib/core/creditManager.js +5 -0
  3. package/lib/core/strategy.d.ts +5 -7
  4. package/lib/core/strategy.js +4 -6
  5. package/lib/index.d.ts +1 -3
  6. package/lib/index.js +1 -3
  7. package/lib/parsers/ERC20Parser.js +1 -1
  8. package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
  9. package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
  10. package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
  11. package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
  12. package/lib/parsers/abstractParser.d.ts +7 -5
  13. package/lib/parsers/abstractParser.js +3 -0
  14. package/lib/parsers/addressProviderParser.js +1 -1
  15. package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
  16. package/lib/parsers/balancerV2VaultParser.js +34 -0
  17. package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
  18. package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
  19. package/lib/parsers/convexBaseRewardPoolAdapterParser.js +1 -1
  20. package/lib/parsers/convexBoosterAdapterParser.js +1 -1
  21. package/lib/parsers/convextRewardPoolParser.js +1 -1
  22. package/lib/parsers/creditFacadeParser.js +1 -1
  23. package/lib/parsers/creditManagerParser.js +1 -1
  24. package/lib/parsers/curveAdapterParser.js +1 -1
  25. package/lib/parsers/erc626AdapterParser.d.ts +7 -0
  26. package/lib/parsers/erc626AdapterParser.js +21 -0
  27. package/lib/parsers/lidoAdapterParser.js +1 -1
  28. package/lib/parsers/lidoSTETHParser.js +1 -1
  29. package/lib/parsers/poolParser.js +1 -1
  30. package/lib/parsers/priceOracleParser.js +1 -1
  31. package/lib/parsers/txParser.d.ts +17 -11
  32. package/lib/parsers/txParser.js +36 -5
  33. package/lib/parsers/uniV2AdapterParser.js +1 -1
  34. package/lib/parsers/uniV3AdapterParser.js +1 -1
  35. package/lib/parsers/wstETHAdapterParser.js +1 -1
  36. package/lib/parsers/yearnV2AdapterParser.js +1 -1
  37. package/lib/pathfinder/index.d.ts +4 -0
  38. package/lib/pathfinder/index.js +20 -0
  39. package/lib/pathfinder/utils.d.ts +35 -0
  40. package/lib/pathfinder/utils.js +182 -0
  41. package/lib/types/contracts/index.d.ts +2 -0
  42. package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
  43. package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
  44. package/lib/types/contracts/interfaces/index.d.ts +1 -0
  45. package/lib/types/contracts/interfaces/index.js +2 -0
  46. package/lib/types/factories/AddressProvider__factory.d.ts +111 -111
  47. package/lib/types/factories/AddressProvider__factory.js +119 -119
  48. package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +3 -3
  49. package/lib/types/factories/Balances.sol/BalanceOps__factory.js +3 -3
  50. package/lib/types/factories/CalldataExtractor__factory.d.ts +34 -34
  51. package/lib/types/factories/CalldataExtractor__factory.js +37 -37
  52. package/lib/types/factories/Claimable__factory.d.ts +28 -28
  53. package/lib/types/factories/Claimable__factory.js +32 -32
  54. package/lib/types/factories/ERC20__factory.d.ts +89 -89
  55. package/lib/types/factories/ERC20__factory.js +99 -99
  56. package/lib/types/factories/Errors__factory.d.ts +99 -99
  57. package/lib/types/factories/Errors__factory.js +99 -99
  58. package/lib/types/factories/FarmAccounting__factory.d.ts +6 -6
  59. package/lib/types/factories/FarmAccounting__factory.js +6 -6
  60. package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +42 -42
  61. package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +42 -42
  62. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +70 -70
  63. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +70 -70
  64. package/lib/types/factories/IAdapter__factory.d.ts +15 -15
  65. package/lib/types/factories/IAdapter__factory.js +15 -15
  66. package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
  67. package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
  68. package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
  69. package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
  70. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
  71. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
  72. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
  73. package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
  74. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
  75. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
  76. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
  77. package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
  78. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +19 -19
  79. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +19 -19
  80. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +106 -106
  81. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +106 -106
  82. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +7 -7
  83. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +7 -7
  84. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +2 -2
  85. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +2 -2
  86. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +161 -161
  87. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +166 -166
  88. package/lib/types/factories/IBaseRewardPool__factory.d.ts +114 -114
  89. package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
  90. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +38 -38
  91. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +43 -43
  92. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +152 -152
  93. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +170 -170
  94. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +60 -60
  95. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +63 -63
  96. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +3 -3
  97. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +3 -3
  98. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +10 -10
  99. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +10 -10
  100. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +51 -51
  101. package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +57 -57
  102. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +30 -30
  103. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +30 -30
  104. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +165 -165
  105. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +182 -182
  106. package/lib/types/factories/IConvexToken__factory.d.ts +86 -86
  107. package/lib/types/factories/IConvexToken__factory.js +96 -96
  108. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +80 -80
  109. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +80 -80
  110. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +7 -7
  111. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +7 -7
  112. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +62 -62
  113. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +66 -66
  114. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +121 -121
  115. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
  116. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
  117. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
  118. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
  119. package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
  120. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
  121. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
  122. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
  123. package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
  124. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
  125. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
  126. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
  127. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
  128. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -23
  129. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -23
  130. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
  131. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
  132. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
  133. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
  134. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +72 -72
  135. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +80 -80
  136. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +288 -288
  137. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +397 -397
  138. package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +59 -59
  139. package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +59 -59
  140. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
  141. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
  142. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
  143. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
  144. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
  145. package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
  146. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
  147. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
  148. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +294 -294
  149. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +297 -297
  150. package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
  151. package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
  152. package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
  153. package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
  154. package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
  155. package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
  156. package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
  157. package/lib/types/factories/ICurvePool__factory.js +159 -159
  158. package/lib/types/factories/ICurveV1Adapter__factory.d.ts +169 -169
  159. package/lib/types/factories/ICurveV1Adapter__factory.js +169 -169
  160. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +187 -187
  161. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +187 -187
  162. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +187 -187
  163. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +187 -187
  164. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +187 -187
  165. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +187 -187
  166. package/lib/types/factories/IDaiLikePermit__factory.d.ts +10 -10
  167. package/lib/types/factories/IDaiLikePermit__factory.js +10 -10
  168. package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +334 -334
  169. package/lib/types/factories/IDataCompressorV2_10__factory.js +334 -334
  170. package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +454 -454
  171. package/lib/types/factories/IDataCompressorV3_00__factory.js +454 -454
  172. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
  173. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
  174. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
  175. package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
  176. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +15 -15
  177. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +15 -15
  178. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +8 -8
  179. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +8 -8
  180. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +180 -180
  181. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +208 -208
  182. package/lib/types/factories/IERC165__factory.d.ts +4 -4
  183. package/lib/types/factories/IERC165__factory.js +4 -4
  184. package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
  185. package/lib/types/factories/IERC20Metadata__factory.js +86 -86
  186. package/lib/types/factories/IERC20Permit__factory.d.ts +16 -16
  187. package/lib/types/factories/IERC20Permit__factory.js +16 -16
  188. package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +30 -30
  189. package/lib/types/factories/IERC20ZapperDeposits__factory.js +30 -30
  190. package/lib/types/factories/IERC20__factory.d.ts +67 -67
  191. package/lib/types/factories/IERC20__factory.js +77 -77
  192. package/lib/types/factories/IERC4626Adapter__factory.d.ts +60 -60
  193. package/lib/types/factories/IERC4626Adapter__factory.js +60 -60
  194. package/lib/types/factories/IERC4626__factory.d.ts +198 -198
  195. package/lib/types/factories/IERC4626__factory.js +221 -221
  196. package/lib/types/factories/IERC721Metadata__factory.d.ts +114 -114
  197. package/lib/types/factories/IERC721Metadata__factory.js +129 -129
  198. package/lib/types/factories/IERC721__factory.d.ts +104 -104
  199. package/lib/types/factories/IERC721__factory.js +119 -119
  200. package/lib/types/factories/IETHZapperDeposits__factory.d.ts +9 -9
  201. package/lib/types/factories/IETHZapperDeposits__factory.js +9 -9
  202. package/lib/types/factories/IFarmingPool__factory.d.ts +134 -134
  203. package/lib/types/factories/IFarmingPool__factory.js +152 -152
  204. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +46 -46
  205. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +50 -50
  206. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +172 -172
  207. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +200 -200
  208. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +48 -48
  209. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +49 -49
  210. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +225 -225
  211. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +253 -253
  212. package/lib/types/factories/IInterestRateModel__factory.d.ts +8 -8
  213. package/lib/types/factories/IInterestRateModel__factory.js +8 -8
  214. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +11 -11
  215. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +12 -12
  216. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +10 -10
  217. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +10 -10
  218. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +107 -107
  219. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +119 -119
  220. package/lib/types/factories/ILidoV1Adapter__factory.d.ts +40 -40
  221. package/lib/types/factories/ILidoV1Adapter__factory.js +40 -40
  222. package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +25 -25
  223. package/lib/types/factories/ILinearInterestRateModelV3__factory.js +25 -25
  224. package/lib/types/factories/IOffchainOracle__factory.d.ts +11 -11
  225. package/lib/types/factories/IOffchainOracle__factory.js +11 -11
  226. package/lib/types/factories/IPermit2__factory.d.ts +33 -33
  227. package/lib/types/factories/IPermit2__factory.js +33 -33
  228. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +44 -44
  229. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +45 -45
  230. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +190 -190
  231. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +216 -216
  232. package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +66 -66
  233. package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
  234. package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
  235. package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
  236. package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
  237. package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
  238. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +574 -574
  239. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +696 -696
  240. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +22 -22
  241. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +22 -22
  242. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +28 -28
  243. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +28 -28
  244. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +6 -6
  245. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +7 -7
  246. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +6 -6
  247. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +6 -6
  248. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +71 -71
  249. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +78 -78
  250. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +68 -68
  251. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +75 -75
  252. package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
  253. package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
  254. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +28 -28
  255. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +31 -31
  256. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +139 -139
  257. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +156 -156
  258. package/lib/types/factories/IRouterV3__factory.d.ts +178 -178
  259. package/lib/types/factories/IRouterV3__factory.js +191 -191
  260. package/lib/types/factories/IRouter__factory.d.ts +159 -159
  261. package/lib/types/factories/IRouter__factory.js +172 -172
  262. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
  263. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
  264. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
  265. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
  266. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +78 -78
  267. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +84 -84
  268. package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
  269. package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
  270. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
  271. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
  272. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
  273. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
  274. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +138 -138
  275. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +145 -145
  276. package/lib/types/factories/IVersion__factory.d.ts +3 -3
  277. package/lib/types/factories/IVersion__factory.js +3 -3
  278. package/lib/types/factories/IVotingContractV3__factory.d.ts +10 -10
  279. package/lib/types/factories/IVotingContractV3__factory.js +10 -10
  280. package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
  281. package/lib/types/factories/IWETHGateway__factory.js +14 -14
  282. package/lib/types/factories/IWETH__factory.d.ts +102 -102
  283. package/lib/types/factories/IWETH__factory.js +120 -120
  284. package/lib/types/factories/IYVault__factory.d.ts +112 -112
  285. package/lib/types/factories/IYVault__factory.js +122 -122
  286. package/lib/types/factories/IYearnV2Adapter__factory.d.ts +63 -63
  287. package/lib/types/factories/IYearnV2Adapter__factory.js +63 -63
  288. package/lib/types/factories/IZapperRegister__factory.d.ts +20 -20
  289. package/lib/types/factories/IZapperRegister__factory.js +22 -22
  290. package/lib/types/factories/IZapper__factory.d.ts +34 -34
  291. package/lib/types/factories/IZapper__factory.js +34 -34
  292. package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
  293. package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
  294. package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
  295. package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
  296. package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
  297. package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
  298. package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
  299. package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
  300. package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
  301. package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
  302. package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +44 -44
  303. package/lib/types/factories/IwstETHV1Adapter__factory.js +44 -44
  304. package/lib/types/factories/NumericArrayLib__factory.d.ts +2 -2
  305. package/lib/types/factories/NumericArrayLib__factory.js +2 -2
  306. package/lib/types/factories/Ownable__factory.d.ts +23 -23
  307. package/lib/types/factories/Ownable__factory.js +27 -27
  308. package/lib/types/factories/RedstoneConstants__factory.d.ts +19 -19
  309. package/lib/types/factories/RedstoneConstants__factory.js +19 -19
  310. package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +101 -101
  311. package/lib/types/factories/RedstoneConsumerBase__factory.js +123 -123
  312. package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +101 -101
  313. package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +123 -123
  314. package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +8 -8
  315. package/lib/types/factories/RedstoneDefaultsLib__factory.js +8 -8
  316. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +5 -5
  317. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +5 -5
  318. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +10 -10
  319. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +10 -10
  320. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +193 -193
  321. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +220 -220
  322. package/lib/types/factories/SafeERC20__factory.d.ts +14 -14
  323. package/lib/types/factories/SafeERC20__factory.js +14 -14
  324. package/lib/types/factories/contracts/index.d.ts +1 -0
  325. package/lib/types/factories/contracts/index.js +30 -0
  326. package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
  327. package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
  328. package/lib/types/factories/contracts/interfaces/index.js +8 -0
  329. package/lib/types/factories/index.d.ts +2 -1
  330. package/lib/types/factories/index.js +4 -4
  331. package/lib/types/factories/{IGasPricer__factory.d.ts → interfaces/IGasPricer__factory.d.ts} +5 -5
  332. package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
  333. package/lib/types/factories/interfaces/index.d.ts +1 -0
  334. package/lib/types/factories/interfaces/index.js +8 -0
  335. package/lib/types/index.d.ts +18 -14
  336. package/lib/types/index.js +25 -25
  337. package/lib/types/{IGasPricer.d.ts → interfaces/IGasPricer.d.ts} +1 -1
  338. package/lib/types/interfaces/IGasPricer.js +2 -0
  339. package/lib/types/interfaces/index.d.ts +1 -0
  340. package/lib/types/interfaces/index.js +2 -0
  341. package/package.json +4 -4
  342. package/lib/types/{IGasPricer.js → contracts/index.js} +0 -0
  343. package/lib/types/factories/{IGasPricer__factory.js → contracts/interfaces/IGasPricer__factory.js} +4 -4
@@ -7,736 +7,736 @@ exports.ICurvePool__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
9
  {
10
- inputs: [],
10
+ type: "function",
11
11
  name: "A",
12
+ inputs: [],
12
13
  outputs: [
13
14
  {
14
- internalType: "uint256",
15
15
  name: "",
16
16
  type: "uint256",
17
+ internalType: "uint256",
17
18
  },
18
19
  ],
19
20
  stateMutability: "view",
20
- type: "function",
21
21
  },
22
22
  {
23
- inputs: [],
23
+ type: "function",
24
24
  name: "A_precise",
25
+ inputs: [],
25
26
  outputs: [
26
27
  {
27
- internalType: "uint256",
28
28
  name: "",
29
29
  type: "uint256",
30
+ internalType: "uint256",
30
31
  },
31
32
  ],
32
33
  stateMutability: "view",
33
- type: "function",
34
34
  },
35
35
  {
36
- inputs: [],
36
+ type: "function",
37
37
  name: "admin",
38
+ inputs: [],
38
39
  outputs: [
39
40
  {
40
- internalType: "address",
41
41
  name: "",
42
42
  type: "address",
43
+ internalType: "address",
43
44
  },
44
45
  ],
45
46
  stateMutability: "view",
46
- type: "function",
47
47
  },
48
48
  {
49
+ type: "function",
50
+ name: "admin_balances",
49
51
  inputs: [
50
52
  {
51
- internalType: "uint256",
52
53
  name: "i",
53
54
  type: "uint256",
55
+ internalType: "uint256",
54
56
  },
55
57
  ],
56
- name: "admin_balances",
57
58
  outputs: [
58
59
  {
59
- internalType: "uint256",
60
60
  name: "",
61
61
  type: "uint256",
62
+ internalType: "uint256",
62
63
  },
63
64
  ],
64
65
  stateMutability: "view",
65
- type: "function",
66
66
  },
67
67
  {
68
- inputs: [],
68
+ type: "function",
69
69
  name: "admin_fee",
70
+ inputs: [],
70
71
  outputs: [
71
72
  {
72
- internalType: "uint256",
73
73
  name: "",
74
74
  type: "uint256",
75
+ internalType: "uint256",
75
76
  },
76
77
  ],
77
78
  stateMutability: "view",
78
- type: "function",
79
79
  },
80
80
  {
81
+ type: "function",
82
+ name: "allowance",
81
83
  inputs: [
82
84
  {
83
- internalType: "address",
84
85
  name: "",
85
86
  type: "address",
87
+ internalType: "address",
86
88
  },
87
89
  {
88
- internalType: "address",
89
90
  name: "",
90
91
  type: "address",
92
+ internalType: "address",
91
93
  },
92
94
  ],
93
- name: "allowance",
94
95
  outputs: [
95
96
  {
96
- internalType: "uint256",
97
97
  name: "",
98
98
  type: "uint256",
99
+ internalType: "uint256",
99
100
  },
100
101
  ],
101
102
  stateMutability: "view",
102
- type: "function",
103
103
  },
104
104
  {
105
+ type: "function",
106
+ name: "balanceOf",
105
107
  inputs: [
106
108
  {
107
- internalType: "address",
108
109
  name: "",
109
110
  type: "address",
111
+ internalType: "address",
110
112
  },
111
113
  ],
112
- name: "balanceOf",
113
114
  outputs: [
114
115
  {
115
- internalType: "uint256",
116
116
  name: "",
117
117
  type: "uint256",
118
+ internalType: "uint256",
118
119
  },
119
120
  ],
120
121
  stateMutability: "view",
121
- type: "function",
122
122
  },
123
123
  {
124
+ type: "function",
125
+ name: "balances",
124
126
  inputs: [
125
127
  {
126
- internalType: "int128",
127
128
  name: "",
128
129
  type: "int128",
130
+ internalType: "int128",
129
131
  },
130
132
  ],
131
- name: "balances",
132
133
  outputs: [
133
134
  {
134
- internalType: "uint256",
135
135
  name: "",
136
136
  type: "uint256",
137
+ internalType: "uint256",
137
138
  },
138
139
  ],
139
140
  stateMutability: "view",
140
- type: "function",
141
141
  },
142
142
  {
143
+ type: "function",
144
+ name: "balances",
143
145
  inputs: [
144
146
  {
145
- internalType: "uint256",
146
147
  name: "i",
147
148
  type: "uint256",
149
+ internalType: "uint256",
148
150
  },
149
151
  ],
150
- name: "balances",
151
152
  outputs: [
152
153
  {
153
- internalType: "uint256",
154
154
  name: "",
155
155
  type: "uint256",
156
+ internalType: "uint256",
156
157
  },
157
158
  ],
158
159
  stateMutability: "view",
159
- type: "function",
160
160
  },
161
161
  {
162
- inputs: [],
162
+ type: "function",
163
163
  name: "block_timestamp_last",
164
+ inputs: [],
164
165
  outputs: [
165
166
  {
166
- internalType: "uint256",
167
167
  name: "",
168
168
  type: "uint256",
169
+ internalType: "uint256",
169
170
  },
170
171
  ],
171
172
  stateMutability: "view",
172
- type: "function",
173
173
  },
174
174
  {
175
+ type: "function",
176
+ name: "calc_withdraw_one_coin",
175
177
  inputs: [
176
178
  {
177
- internalType: "uint256",
178
179
  name: "_burn_amount",
179
180
  type: "uint256",
181
+ internalType: "uint256",
180
182
  },
181
183
  {
182
- internalType: "uint256",
183
184
  name: "i",
184
185
  type: "uint256",
186
+ internalType: "uint256",
185
187
  },
186
188
  ],
187
- name: "calc_withdraw_one_coin",
188
189
  outputs: [
189
190
  {
190
- internalType: "uint256",
191
191
  name: "",
192
192
  type: "uint256",
193
+ internalType: "uint256",
193
194
  },
194
195
  ],
195
196
  stateMutability: "view",
196
- type: "function",
197
197
  },
198
198
  {
199
+ type: "function",
200
+ name: "calc_withdraw_one_coin",
199
201
  inputs: [
200
202
  {
201
- internalType: "uint256",
202
203
  name: "_burn_amount",
203
204
  type: "uint256",
205
+ internalType: "uint256",
204
206
  },
205
207
  {
206
- internalType: "int128",
207
208
  name: "i",
208
209
  type: "int128",
210
+ internalType: "int128",
209
211
  },
210
212
  ],
211
- name: "calc_withdraw_one_coin",
212
213
  outputs: [
213
214
  {
214
- internalType: "uint256",
215
215
  name: "",
216
216
  type: "uint256",
217
+ internalType: "uint256",
217
218
  },
218
219
  ],
219
220
  stateMutability: "view",
220
- type: "function",
221
221
  },
222
222
  {
223
+ type: "function",
224
+ name: "coins",
223
225
  inputs: [
224
226
  {
225
- internalType: "int128",
226
227
  name: "",
227
228
  type: "int128",
229
+ internalType: "int128",
228
230
  },
229
231
  ],
230
- name: "coins",
231
232
  outputs: [
232
233
  {
233
- internalType: "address",
234
234
  name: "",
235
235
  type: "address",
236
+ internalType: "address",
236
237
  },
237
238
  ],
238
239
  stateMutability: "view",
239
- type: "function",
240
240
  },
241
241
  {
242
+ type: "function",
243
+ name: "coins",
242
244
  inputs: [
243
245
  {
244
- internalType: "uint256",
245
246
  name: "i",
246
247
  type: "uint256",
248
+ internalType: "uint256",
247
249
  },
248
250
  ],
249
- name: "coins",
250
251
  outputs: [
251
252
  {
252
- internalType: "address",
253
253
  name: "",
254
254
  type: "address",
255
+ internalType: "address",
255
256
  },
256
257
  ],
257
258
  stateMutability: "view",
258
- type: "function",
259
259
  },
260
260
  {
261
- inputs: [],
261
+ type: "function",
262
262
  name: "decimals",
263
+ inputs: [],
263
264
  outputs: [
264
265
  {
265
- internalType: "uint256",
266
266
  name: "",
267
267
  type: "uint256",
268
+ internalType: "uint256",
268
269
  },
269
270
  ],
270
271
  stateMutability: "view",
271
- type: "function",
272
272
  },
273
273
  {
274
+ type: "function",
275
+ name: "exchange",
274
276
  inputs: [
275
277
  {
276
- internalType: "int128",
277
278
  name: "i",
278
279
  type: "int128",
280
+ internalType: "int128",
279
281
  },
280
282
  {
281
- internalType: "int128",
282
283
  name: "j",
283
284
  type: "int128",
285
+ internalType: "int128",
284
286
  },
285
287
  {
286
- internalType: "uint256",
287
288
  name: "dx",
288
289
  type: "uint256",
290
+ internalType: "uint256",
289
291
  },
290
292
  {
291
- internalType: "uint256",
292
293
  name: "min_dy",
293
294
  type: "uint256",
295
+ internalType: "uint256",
294
296
  },
295
297
  ],
296
- name: "exchange",
297
298
  outputs: [],
298
299
  stateMutability: "nonpayable",
299
- type: "function",
300
300
  },
301
301
  {
302
+ type: "function",
303
+ name: "exchange",
302
304
  inputs: [
303
305
  {
304
- internalType: "uint256",
305
306
  name: "i",
306
307
  type: "uint256",
308
+ internalType: "uint256",
307
309
  },
308
310
  {
309
- internalType: "uint256",
310
311
  name: "j",
311
312
  type: "uint256",
313
+ internalType: "uint256",
312
314
  },
313
315
  {
314
- internalType: "uint256",
315
316
  name: "dx",
316
317
  type: "uint256",
318
+ internalType: "uint256",
317
319
  },
318
320
  {
319
- internalType: "uint256",
320
321
  name: "min_dy",
321
322
  type: "uint256",
323
+ internalType: "uint256",
322
324
  },
323
325
  ],
324
- name: "exchange",
325
326
  outputs: [],
326
327
  stateMutability: "nonpayable",
327
- type: "function",
328
328
  },
329
329
  {
330
+ type: "function",
331
+ name: "exchange_underlying",
330
332
  inputs: [
331
333
  {
332
- internalType: "uint256",
333
334
  name: "i",
334
335
  type: "uint256",
336
+ internalType: "uint256",
335
337
  },
336
338
  {
337
- internalType: "uint256",
338
339
  name: "j",
339
340
  type: "uint256",
341
+ internalType: "uint256",
340
342
  },
341
343
  {
342
- internalType: "uint256",
343
344
  name: "dx",
344
345
  type: "uint256",
346
+ internalType: "uint256",
345
347
  },
346
348
  {
347
- internalType: "uint256",
348
349
  name: "min_dy",
349
350
  type: "uint256",
351
+ internalType: "uint256",
350
352
  },
351
353
  ],
352
- name: "exchange_underlying",
353
354
  outputs: [],
354
355
  stateMutability: "nonpayable",
355
- type: "function",
356
356
  },
357
357
  {
358
+ type: "function",
359
+ name: "exchange_underlying",
358
360
  inputs: [
359
361
  {
360
- internalType: "int128",
361
362
  name: "i",
362
363
  type: "int128",
364
+ internalType: "int128",
363
365
  },
364
366
  {
365
- internalType: "int128",
366
367
  name: "j",
367
368
  type: "int128",
369
+ internalType: "int128",
368
370
  },
369
371
  {
370
- internalType: "uint256",
371
372
  name: "dx",
372
373
  type: "uint256",
374
+ internalType: "uint256",
373
375
  },
374
376
  {
375
- internalType: "uint256",
376
377
  name: "min_dy",
377
378
  type: "uint256",
379
+ internalType: "uint256",
378
380
  },
379
381
  ],
380
- name: "exchange_underlying",
381
382
  outputs: [],
382
383
  stateMutability: "nonpayable",
383
- type: "function",
384
384
  },
385
385
  {
386
- inputs: [],
386
+ type: "function",
387
387
  name: "fee",
388
+ inputs: [],
388
389
  outputs: [
389
390
  {
390
- internalType: "uint256",
391
391
  name: "",
392
392
  type: "uint256",
393
+ internalType: "uint256",
393
394
  },
394
395
  ],
395
396
  stateMutability: "view",
396
- type: "function",
397
397
  },
398
398
  {
399
- inputs: [],
399
+ type: "function",
400
400
  name: "future_A",
401
+ inputs: [],
401
402
  outputs: [
402
403
  {
403
- internalType: "uint256",
404
404
  name: "",
405
405
  type: "uint256",
406
+ internalType: "uint256",
406
407
  },
407
408
  ],
408
409
  stateMutability: "view",
409
- type: "function",
410
410
  },
411
411
  {
412
- inputs: [],
412
+ type: "function",
413
413
  name: "future_A_time",
414
+ inputs: [],
414
415
  outputs: [
415
416
  {
416
- internalType: "uint256",
417
417
  name: "",
418
418
  type: "uint256",
419
+ internalType: "uint256",
419
420
  },
420
421
  ],
421
422
  stateMutability: "view",
422
- type: "function",
423
423
  },
424
424
  {
425
+ type: "function",
426
+ name: "get_dy",
425
427
  inputs: [
426
428
  {
427
- internalType: "uint256",
428
429
  name: "i",
429
430
  type: "uint256",
431
+ internalType: "uint256",
430
432
  },
431
433
  {
432
- internalType: "uint256",
433
434
  name: "j",
434
435
  type: "uint256",
436
+ internalType: "uint256",
435
437
  },
436
438
  {
437
- internalType: "uint256",
438
439
  name: "dx",
439
440
  type: "uint256",
441
+ internalType: "uint256",
440
442
  },
441
443
  ],
442
- name: "get_dy",
443
444
  outputs: [
444
445
  {
445
- internalType: "uint256",
446
446
  name: "",
447
447
  type: "uint256",
448
+ internalType: "uint256",
448
449
  },
449
450
  ],
450
451
  stateMutability: "view",
451
- type: "function",
452
452
  },
453
453
  {
454
+ type: "function",
455
+ name: "get_dy",
454
456
  inputs: [
455
457
  {
456
- internalType: "int128",
457
458
  name: "i",
458
459
  type: "int128",
460
+ internalType: "int128",
459
461
  },
460
462
  {
461
- internalType: "int128",
462
463
  name: "j",
463
464
  type: "int128",
465
+ internalType: "int128",
464
466
  },
465
467
  {
466
- internalType: "uint256",
467
468
  name: "dx",
468
469
  type: "uint256",
470
+ internalType: "uint256",
469
471
  },
470
472
  ],
471
- name: "get_dy",
472
473
  outputs: [
473
474
  {
474
- internalType: "uint256",
475
475
  name: "",
476
476
  type: "uint256",
477
+ internalType: "uint256",
477
478
  },
478
479
  ],
479
480
  stateMutability: "view",
480
- type: "function",
481
481
  },
482
482
  {
483
+ type: "function",
484
+ name: "get_dy_underlying",
483
485
  inputs: [
484
486
  {
485
- internalType: "int128",
486
487
  name: "i",
487
488
  type: "int128",
489
+ internalType: "int128",
488
490
  },
489
491
  {
490
- internalType: "int128",
491
492
  name: "j",
492
493
  type: "int128",
494
+ internalType: "int128",
493
495
  },
494
496
  {
495
- internalType: "uint256",
496
497
  name: "dx",
497
498
  type: "uint256",
499
+ internalType: "uint256",
498
500
  },
499
501
  ],
500
- name: "get_dy_underlying",
501
502
  outputs: [
502
503
  {
503
- internalType: "uint256",
504
504
  name: "",
505
505
  type: "uint256",
506
+ internalType: "uint256",
506
507
  },
507
508
  ],
508
509
  stateMutability: "view",
509
- type: "function",
510
510
  },
511
511
  {
512
+ type: "function",
513
+ name: "get_dy_underlying",
512
514
  inputs: [
513
515
  {
514
- internalType: "uint256",
515
516
  name: "i",
516
517
  type: "uint256",
518
+ internalType: "uint256",
517
519
  },
518
520
  {
519
- internalType: "uint256",
520
521
  name: "j",
521
522
  type: "uint256",
523
+ internalType: "uint256",
522
524
  },
523
525
  {
524
- internalType: "uint256",
525
526
  name: "dx",
526
527
  type: "uint256",
528
+ internalType: "uint256",
527
529
  },
528
530
  ],
529
- name: "get_dy_underlying",
530
531
  outputs: [
531
532
  {
532
- internalType: "uint256",
533
533
  name: "",
534
534
  type: "uint256",
535
+ internalType: "uint256",
535
536
  },
536
537
  ],
537
538
  stateMutability: "view",
538
- type: "function",
539
539
  },
540
540
  {
541
- inputs: [],
541
+ type: "function",
542
542
  name: "get_virtual_price",
543
+ inputs: [],
543
544
  outputs: [
544
545
  {
545
- internalType: "uint256",
546
546
  name: "",
547
547
  type: "uint256",
548
+ internalType: "uint256",
548
549
  },
549
550
  ],
550
551
  stateMutability: "view",
551
- type: "function",
552
552
  },
553
553
  {
554
- inputs: [],
554
+ type: "function",
555
555
  name: "initial_A",
556
+ inputs: [],
556
557
  outputs: [
557
558
  {
558
- internalType: "uint256",
559
559
  name: "",
560
560
  type: "uint256",
561
+ internalType: "uint256",
561
562
  },
562
563
  ],
563
564
  stateMutability: "view",
564
- type: "function",
565
565
  },
566
566
  {
567
- inputs: [],
567
+ type: "function",
568
568
  name: "initial_A_time",
569
+ inputs: [],
569
570
  outputs: [
570
571
  {
571
- internalType: "uint256",
572
572
  name: "",
573
573
  type: "uint256",
574
+ internalType: "uint256",
574
575
  },
575
576
  ],
576
577
  stateMutability: "view",
577
- type: "function",
578
578
  },
579
579
  {
580
- inputs: [],
580
+ type: "function",
581
581
  name: "mid_fee",
582
+ inputs: [],
582
583
  outputs: [
583
584
  {
584
- internalType: "uint256",
585
585
  name: "",
586
586
  type: "uint256",
587
+ internalType: "uint256",
587
588
  },
588
589
  ],
589
590
  stateMutability: "view",
590
- type: "function",
591
591
  },
592
592
  {
593
- inputs: [],
593
+ type: "function",
594
594
  name: "name",
595
+ inputs: [],
595
596
  outputs: [
596
597
  {
597
- internalType: "string",
598
598
  name: "",
599
599
  type: "string",
600
+ internalType: "string",
600
601
  },
601
602
  ],
602
603
  stateMutability: "view",
603
- type: "function",
604
604
  },
605
605
  {
606
+ type: "function",
607
+ name: "remove_liquidity_one_coin",
606
608
  inputs: [
607
609
  {
608
- internalType: "uint256",
609
610
  name: "_token_amount",
610
611
  type: "uint256",
612
+ internalType: "uint256",
611
613
  },
612
614
  {
613
- internalType: "int128",
614
615
  name: "i",
615
616
  type: "int128",
617
+ internalType: "int128",
616
618
  },
617
619
  {
618
- internalType: "uint256",
619
620
  name: "min_amount",
620
621
  type: "uint256",
622
+ internalType: "uint256",
621
623
  },
622
624
  ],
623
- name: "remove_liquidity_one_coin",
624
625
  outputs: [],
625
626
  stateMutability: "nonpayable",
626
- type: "function",
627
627
  },
628
628
  {
629
+ type: "function",
630
+ name: "remove_liquidity_one_coin",
629
631
  inputs: [
630
632
  {
631
- internalType: "uint256",
632
633
  name: "_token_amount",
633
634
  type: "uint256",
635
+ internalType: "uint256",
634
636
  },
635
637
  {
636
- internalType: "uint256",
637
638
  name: "i",
638
639
  type: "uint256",
640
+ internalType: "uint256",
639
641
  },
640
642
  {
641
- internalType: "uint256",
642
643
  name: "min_amount",
643
644
  type: "uint256",
645
+ internalType: "uint256",
644
646
  },
645
647
  ],
646
- name: "remove_liquidity_one_coin",
647
648
  outputs: [],
648
649
  stateMutability: "nonpayable",
649
- type: "function",
650
650
  },
651
651
  {
652
- inputs: [],
652
+ type: "function",
653
653
  name: "symbol",
654
+ inputs: [],
654
655
  outputs: [
655
656
  {
656
- internalType: "string",
657
657
  name: "",
658
658
  type: "string",
659
+ internalType: "string",
659
660
  },
660
661
  ],
661
662
  stateMutability: "view",
662
- type: "function",
663
663
  },
664
664
  {
665
- inputs: [],
665
+ type: "function",
666
666
  name: "token",
667
+ inputs: [],
667
668
  outputs: [
668
669
  {
669
- internalType: "address",
670
670
  name: "",
671
671
  type: "address",
672
+ internalType: "address",
672
673
  },
673
674
  ],
674
675
  stateMutability: "view",
675
- type: "function",
676
676
  },
677
677
  {
678
- inputs: [],
678
+ type: "function",
679
679
  name: "totalSupply",
680
+ inputs: [],
680
681
  outputs: [
681
682
  {
682
- internalType: "uint256",
683
683
  name: "",
684
684
  type: "uint256",
685
+ internalType: "uint256",
685
686
  },
686
687
  ],
687
688
  stateMutability: "view",
688
- type: "function",
689
689
  },
690
690
  {
691
+ type: "function",
692
+ name: "underlying_coins",
691
693
  inputs: [
692
694
  {
693
- internalType: "int128",
694
695
  name: "",
695
696
  type: "int128",
697
+ internalType: "int128",
696
698
  },
697
699
  ],
698
- name: "underlying_coins",
699
700
  outputs: [
700
701
  {
701
- internalType: "address",
702
702
  name: "",
703
703
  type: "address",
704
+ internalType: "address",
704
705
  },
705
706
  ],
706
707
  stateMutability: "view",
707
- type: "function",
708
708
  },
709
709
  {
710
+ type: "function",
711
+ name: "underlying_coins",
710
712
  inputs: [
711
713
  {
712
- internalType: "uint256",
713
714
  name: "i",
714
715
  type: "uint256",
716
+ internalType: "uint256",
715
717
  },
716
718
  ],
717
- name: "underlying_coins",
718
719
  outputs: [
719
720
  {
720
- internalType: "address",
721
721
  name: "",
722
722
  type: "address",
723
+ internalType: "address",
723
724
  },
724
725
  ],
725
726
  stateMutability: "view",
726
- type: "function",
727
727
  },
728
728
  {
729
- inputs: [],
729
+ type: "function",
730
730
  name: "virtual_price",
731
+ inputs: [],
731
732
  outputs: [
732
733
  {
733
- internalType: "uint256",
734
734
  name: "",
735
735
  type: "uint256",
736
+ internalType: "uint256",
736
737
  },
737
738
  ],
738
739
  stateMutability: "view",
739
- type: "function",
740
740
  },
741
741
  ];
742
742
  class ICurvePool__factory {