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