@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,870 +7,870 @@ exports.ICurveV1_3AssetsAdapter__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",
|
|
70
72
|
inputs: [
|
|
71
73
|
{
|
|
72
|
-
internalType: "uint256[3]",
|
|
73
74
|
name: "amounts",
|
|
74
75
|
type: "uint256[3]",
|
|
76
|
+
internalType: "uint256[3]",
|
|
75
77
|
},
|
|
76
78
|
{
|
|
77
|
-
internalType: "uint256",
|
|
78
79
|
name: "",
|
|
79
80
|
type: "uint256",
|
|
81
|
+
internalType: "uint256",
|
|
80
82
|
},
|
|
81
83
|
],
|
|
82
|
-
name: "add_liquidity",
|
|
83
84
|
outputs: [
|
|
84
85
|
{
|
|
85
|
-
internalType: "uint256",
|
|
86
86
|
name: "tokensToEnable",
|
|
87
87
|
type: "uint256",
|
|
88
|
+
internalType: "uint256",
|
|
88
89
|
},
|
|
89
90
|
{
|
|
90
|
-
internalType: "uint256",
|
|
91
91
|
name: "tokensToDisable",
|
|
92
92
|
type: "uint256",
|
|
93
|
+
internalType: "uint256",
|
|
93
94
|
},
|
|
94
95
|
],
|
|
95
96
|
stateMutability: "nonpayable",
|
|
96
|
-
type: "function",
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
+
type: "function",
|
|
100
|
+
name: "add_liquidity_one_coin",
|
|
99
101
|
inputs: [
|
|
100
102
|
{
|
|
101
|
-
internalType: "uint256",
|
|
102
103
|
name: "amount",
|
|
103
104
|
type: "uint256",
|
|
105
|
+
internalType: "uint256",
|
|
104
106
|
},
|
|
105
107
|
{
|
|
106
|
-
internalType: "uint256",
|
|
107
108
|
name: "i",
|
|
108
109
|
type: "uint256",
|
|
110
|
+
internalType: "uint256",
|
|
109
111
|
},
|
|
110
112
|
{
|
|
111
|
-
internalType: "uint256",
|
|
112
113
|
name: "minAmount",
|
|
113
114
|
type: "uint256",
|
|
115
|
+
internalType: "uint256",
|
|
114
116
|
},
|
|
115
117
|
],
|
|
116
|
-
name: "add_liquidity_one_coin",
|
|
117
118
|
outputs: [
|
|
118
119
|
{
|
|
119
|
-
internalType: "uint256",
|
|
120
120
|
name: "tokensToEnable",
|
|
121
121
|
type: "uint256",
|
|
122
|
+
internalType: "uint256",
|
|
122
123
|
},
|
|
123
124
|
{
|
|
124
|
-
internalType: "uint256",
|
|
125
125
|
name: "tokensToDisable",
|
|
126
126
|
type: "uint256",
|
|
127
|
+
internalType: "uint256",
|
|
127
128
|
},
|
|
128
129
|
],
|
|
129
130
|
stateMutability: "nonpayable",
|
|
130
|
-
type: "function",
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
|
-
|
|
133
|
+
type: "function",
|
|
134
134
|
name: "addressProvider",
|
|
135
|
+
inputs: [],
|
|
135
136
|
outputs: [
|
|
136
137
|
{
|
|
137
|
-
internalType: "address",
|
|
138
138
|
name: "",
|
|
139
139
|
type: "address",
|
|
140
|
+
internalType: "address",
|
|
140
141
|
},
|
|
141
142
|
],
|
|
142
143
|
stateMutability: "view",
|
|
143
|
-
type: "function",
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
+
type: "function",
|
|
147
|
+
name: "calc_add_one_coin",
|
|
146
148
|
inputs: [
|
|
147
149
|
{
|
|
148
|
-
internalType: "uint256",
|
|
149
150
|
name: "amount",
|
|
150
151
|
type: "uint256",
|
|
152
|
+
internalType: "uint256",
|
|
151
153
|
},
|
|
152
154
|
{
|
|
153
|
-
internalType: "uint256",
|
|
154
155
|
name: "i",
|
|
155
156
|
type: "uint256",
|
|
157
|
+
internalType: "uint256",
|
|
156
158
|
},
|
|
157
159
|
],
|
|
158
|
-
name: "calc_add_one_coin",
|
|
159
160
|
outputs: [
|
|
160
161
|
{
|
|
161
|
-
internalType: "uint256",
|
|
162
162
|
name: "",
|
|
163
163
|
type: "uint256",
|
|
164
|
+
internalType: "uint256",
|
|
164
165
|
},
|
|
165
166
|
],
|
|
166
167
|
stateMutability: "view",
|
|
167
|
-
type: "function",
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
|
-
|
|
170
|
+
type: "function",
|
|
171
171
|
name: "creditManager",
|
|
172
|
+
inputs: [],
|
|
172
173
|
outputs: [
|
|
173
174
|
{
|
|
174
|
-
internalType: "address",
|
|
175
175
|
name: "",
|
|
176
176
|
type: "address",
|
|
177
|
+
internalType: "address",
|
|
177
178
|
},
|
|
178
179
|
],
|
|
179
180
|
stateMutability: "view",
|
|
180
|
-
type: "function",
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
+
type: "function",
|
|
184
|
+
name: "exchange",
|
|
183
185
|
inputs: [
|
|
184
186
|
{
|
|
185
|
-
internalType: "int128",
|
|
186
187
|
name: "i",
|
|
187
188
|
type: "int128",
|
|
189
|
+
internalType: "int128",
|
|
188
190
|
},
|
|
189
191
|
{
|
|
190
|
-
internalType: "int128",
|
|
191
192
|
name: "j",
|
|
192
193
|
type: "int128",
|
|
194
|
+
internalType: "int128",
|
|
193
195
|
},
|
|
194
196
|
{
|
|
195
|
-
internalType: "uint256",
|
|
196
197
|
name: "dx",
|
|
197
198
|
type: "uint256",
|
|
199
|
+
internalType: "uint256",
|
|
198
200
|
},
|
|
199
201
|
{
|
|
200
|
-
internalType: "uint256",
|
|
201
202
|
name: "min_dy",
|
|
202
203
|
type: "uint256",
|
|
204
|
+
internalType: "uint256",
|
|
203
205
|
},
|
|
204
206
|
],
|
|
205
|
-
name: "exchange",
|
|
206
207
|
outputs: [
|
|
207
208
|
{
|
|
208
|
-
internalType: "uint256",
|
|
209
209
|
name: "tokensToEnable",
|
|
210
210
|
type: "uint256",
|
|
211
|
+
internalType: "uint256",
|
|
211
212
|
},
|
|
212
213
|
{
|
|
213
|
-
internalType: "uint256",
|
|
214
214
|
name: "tokensToDisable",
|
|
215
215
|
type: "uint256",
|
|
216
|
+
internalType: "uint256",
|
|
216
217
|
},
|
|
217
218
|
],
|
|
218
219
|
stateMutability: "nonpayable",
|
|
219
|
-
type: "function",
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
|
+
type: "function",
|
|
223
|
+
name: "exchange",
|
|
222
224
|
inputs: [
|
|
223
225
|
{
|
|
224
|
-
internalType: "uint256",
|
|
225
226
|
name: "i",
|
|
226
227
|
type: "uint256",
|
|
228
|
+
internalType: "uint256",
|
|
227
229
|
},
|
|
228
230
|
{
|
|
229
|
-
internalType: "uint256",
|
|
230
231
|
name: "j",
|
|
231
232
|
type: "uint256",
|
|
233
|
+
internalType: "uint256",
|
|
232
234
|
},
|
|
233
235
|
{
|
|
234
|
-
internalType: "uint256",
|
|
235
236
|
name: "dx",
|
|
236
237
|
type: "uint256",
|
|
238
|
+
internalType: "uint256",
|
|
237
239
|
},
|
|
238
240
|
{
|
|
239
|
-
internalType: "uint256",
|
|
240
241
|
name: "min_dy",
|
|
241
242
|
type: "uint256",
|
|
243
|
+
internalType: "uint256",
|
|
242
244
|
},
|
|
243
245
|
],
|
|
244
|
-
name: "exchange",
|
|
245
246
|
outputs: [
|
|
246
247
|
{
|
|
247
|
-
internalType: "uint256",
|
|
248
248
|
name: "tokensToEnable",
|
|
249
249
|
type: "uint256",
|
|
250
|
+
internalType: "uint256",
|
|
250
251
|
},
|
|
251
252
|
{
|
|
252
|
-
internalType: "uint256",
|
|
253
253
|
name: "tokensToDisable",
|
|
254
254
|
type: "uint256",
|
|
255
|
+
internalType: "uint256",
|
|
255
256
|
},
|
|
256
257
|
],
|
|
257
258
|
stateMutability: "nonpayable",
|
|
258
|
-
type: "function",
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
|
+
type: "function",
|
|
262
|
+
name: "exchange_diff",
|
|
261
263
|
inputs: [
|
|
262
264
|
{
|
|
263
|
-
internalType: "uint256",
|
|
264
265
|
name: "i",
|
|
265
266
|
type: "uint256",
|
|
267
|
+
internalType: "uint256",
|
|
266
268
|
},
|
|
267
269
|
{
|
|
268
|
-
internalType: "uint256",
|
|
269
270
|
name: "j",
|
|
270
271
|
type: "uint256",
|
|
272
|
+
internalType: "uint256",
|
|
271
273
|
},
|
|
272
274
|
{
|
|
273
|
-
internalType: "uint256",
|
|
274
275
|
name: "leftoverAmount",
|
|
275
276
|
type: "uint256",
|
|
277
|
+
internalType: "uint256",
|
|
276
278
|
},
|
|
277
279
|
{
|
|
278
|
-
internalType: "uint256",
|
|
279
280
|
name: "rateMinRAY",
|
|
280
281
|
type: "uint256",
|
|
282
|
+
internalType: "uint256",
|
|
281
283
|
},
|
|
282
284
|
],
|
|
283
|
-
name: "exchange_diff",
|
|
284
285
|
outputs: [
|
|
285
286
|
{
|
|
286
|
-
internalType: "uint256",
|
|
287
287
|
name: "tokensToEnable",
|
|
288
288
|
type: "uint256",
|
|
289
|
+
internalType: "uint256",
|
|
289
290
|
},
|
|
290
291
|
{
|
|
291
|
-
internalType: "uint256",
|
|
292
292
|
name: "tokensToDisable",
|
|
293
293
|
type: "uint256",
|
|
294
|
+
internalType: "uint256",
|
|
294
295
|
},
|
|
295
296
|
],
|
|
296
297
|
stateMutability: "nonpayable",
|
|
297
|
-
type: "function",
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
|
+
type: "function",
|
|
301
|
+
name: "exchange_diff_underlying",
|
|
300
302
|
inputs: [
|
|
301
303
|
{
|
|
302
|
-
internalType: "uint256",
|
|
303
304
|
name: "i",
|
|
304
305
|
type: "uint256",
|
|
306
|
+
internalType: "uint256",
|
|
305
307
|
},
|
|
306
308
|
{
|
|
307
|
-
internalType: "uint256",
|
|
308
309
|
name: "j",
|
|
309
310
|
type: "uint256",
|
|
311
|
+
internalType: "uint256",
|
|
310
312
|
},
|
|
311
313
|
{
|
|
312
|
-
internalType: "uint256",
|
|
313
314
|
name: "leftoverAmount",
|
|
314
315
|
type: "uint256",
|
|
316
|
+
internalType: "uint256",
|
|
315
317
|
},
|
|
316
318
|
{
|
|
317
|
-
internalType: "uint256",
|
|
318
319
|
name: "rateMinRAY",
|
|
319
320
|
type: "uint256",
|
|
321
|
+
internalType: "uint256",
|
|
320
322
|
},
|
|
321
323
|
],
|
|
322
|
-
name: "exchange_diff_underlying",
|
|
323
324
|
outputs: [
|
|
324
325
|
{
|
|
325
|
-
internalType: "uint256",
|
|
326
326
|
name: "tokensToEnable",
|
|
327
327
|
type: "uint256",
|
|
328
|
+
internalType: "uint256",
|
|
328
329
|
},
|
|
329
330
|
{
|
|
330
|
-
internalType: "uint256",
|
|
331
331
|
name: "tokensToDisable",
|
|
332
332
|
type: "uint256",
|
|
333
|
+
internalType: "uint256",
|
|
333
334
|
},
|
|
334
335
|
],
|
|
335
336
|
stateMutability: "nonpayable",
|
|
336
|
-
type: "function",
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
|
+
type: "function",
|
|
340
|
+
name: "exchange_underlying",
|
|
339
341
|
inputs: [
|
|
340
342
|
{
|
|
341
|
-
internalType: "uint256",
|
|
342
343
|
name: "i",
|
|
343
344
|
type: "uint256",
|
|
345
|
+
internalType: "uint256",
|
|
344
346
|
},
|
|
345
347
|
{
|
|
346
|
-
internalType: "uint256",
|
|
347
348
|
name: "j",
|
|
348
349
|
type: "uint256",
|
|
350
|
+
internalType: "uint256",
|
|
349
351
|
},
|
|
350
352
|
{
|
|
351
|
-
internalType: "uint256",
|
|
352
353
|
name: "dx",
|
|
353
354
|
type: "uint256",
|
|
355
|
+
internalType: "uint256",
|
|
354
356
|
},
|
|
355
357
|
{
|
|
356
|
-
internalType: "uint256",
|
|
357
358
|
name: "min_dy",
|
|
358
359
|
type: "uint256",
|
|
360
|
+
internalType: "uint256",
|
|
359
361
|
},
|
|
360
362
|
],
|
|
361
|
-
name: "exchange_underlying",
|
|
362
363
|
outputs: [
|
|
363
364
|
{
|
|
364
|
-
internalType: "uint256",
|
|
365
365
|
name: "tokensToEnable",
|
|
366
366
|
type: "uint256",
|
|
367
|
+
internalType: "uint256",
|
|
367
368
|
},
|
|
368
369
|
{
|
|
369
|
-
internalType: "uint256",
|
|
370
370
|
name: "tokensToDisable",
|
|
371
371
|
type: "uint256",
|
|
372
|
+
internalType: "uint256",
|
|
372
373
|
},
|
|
373
374
|
],
|
|
374
375
|
stateMutability: "nonpayable",
|
|
375
|
-
type: "function",
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
|
+
type: "function",
|
|
379
|
+
name: "exchange_underlying",
|
|
378
380
|
inputs: [
|
|
379
381
|
{
|
|
380
|
-
internalType: "int128",
|
|
381
382
|
name: "i",
|
|
382
383
|
type: "int128",
|
|
384
|
+
internalType: "int128",
|
|
383
385
|
},
|
|
384
386
|
{
|
|
385
|
-
internalType: "int128",
|
|
386
387
|
name: "j",
|
|
387
388
|
type: "int128",
|
|
389
|
+
internalType: "int128",
|
|
388
390
|
},
|
|
389
391
|
{
|
|
390
|
-
internalType: "uint256",
|
|
391
392
|
name: "dx",
|
|
392
393
|
type: "uint256",
|
|
394
|
+
internalType: "uint256",
|
|
393
395
|
},
|
|
394
396
|
{
|
|
395
|
-
internalType: "uint256",
|
|
396
397
|
name: "min_dy",
|
|
397
398
|
type: "uint256",
|
|
399
|
+
internalType: "uint256",
|
|
398
400
|
},
|
|
399
401
|
],
|
|
400
|
-
name: "exchange_underlying",
|
|
401
402
|
outputs: [
|
|
402
403
|
{
|
|
403
|
-
internalType: "uint256",
|
|
404
404
|
name: "tokensToEnable",
|
|
405
405
|
type: "uint256",
|
|
406
|
+
internalType: "uint256",
|
|
406
407
|
},
|
|
407
408
|
{
|
|
408
|
-
internalType: "uint256",
|
|
409
409
|
name: "tokensToDisable",
|
|
410
410
|
type: "uint256",
|
|
411
|
+
internalType: "uint256",
|
|
411
412
|
},
|
|
412
413
|
],
|
|
413
414
|
stateMutability: "nonpayable",
|
|
414
|
-
type: "function",
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
|
|
417
|
+
type: "function",
|
|
418
418
|
name: "lpTokenMask",
|
|
419
|
+
inputs: [],
|
|
419
420
|
outputs: [
|
|
420
421
|
{
|
|
421
|
-
internalType: "uint256",
|
|
422
422
|
name: "",
|
|
423
423
|
type: "uint256",
|
|
424
|
+
internalType: "uint256",
|
|
424
425
|
},
|
|
425
426
|
],
|
|
426
427
|
stateMutability: "view",
|
|
427
|
-
type: "function",
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
|
-
|
|
430
|
+
type: "function",
|
|
431
431
|
name: "lp_token",
|
|
432
|
+
inputs: [],
|
|
432
433
|
outputs: [
|
|
433
434
|
{
|
|
434
|
-
internalType: "address",
|
|
435
435
|
name: "",
|
|
436
436
|
type: "address",
|
|
437
|
+
internalType: "address",
|
|
437
438
|
},
|
|
438
439
|
],
|
|
439
440
|
stateMutability: "view",
|
|
440
|
-
type: "function",
|
|
441
441
|
},
|
|
442
442
|
{
|
|
443
|
-
|
|
443
|
+
type: "function",
|
|
444
444
|
name: "metapoolBase",
|
|
445
|
+
inputs: [],
|
|
445
446
|
outputs: [
|
|
446
447
|
{
|
|
447
|
-
internalType: "address",
|
|
448
448
|
name: "",
|
|
449
449
|
type: "address",
|
|
450
|
+
internalType: "address",
|
|
450
451
|
},
|
|
451
452
|
],
|
|
452
453
|
stateMutability: "view",
|
|
453
|
-
type: "function",
|
|
454
454
|
},
|
|
455
455
|
{
|
|
456
|
-
|
|
456
|
+
type: "function",
|
|
457
457
|
name: "nCoins",
|
|
458
|
+
inputs: [],
|
|
458
459
|
outputs: [
|
|
459
460
|
{
|
|
460
|
-
internalType: "uint256",
|
|
461
461
|
name: "",
|
|
462
462
|
type: "uint256",
|
|
463
|
+
internalType: "uint256",
|
|
463
464
|
},
|
|
464
465
|
],
|
|
465
466
|
stateMutability: "view",
|
|
466
|
-
type: "function",
|
|
467
467
|
},
|
|
468
468
|
{
|
|
469
|
+
type: "function",
|
|
470
|
+
name: "remove_diff_liquidity_one_coin",
|
|
469
471
|
inputs: [
|
|
470
472
|
{
|
|
471
|
-
internalType: "uint256",
|
|
472
473
|
name: "leftoverAmount",
|
|
473
474
|
type: "uint256",
|
|
475
|
+
internalType: "uint256",
|
|
474
476
|
},
|
|
475
477
|
{
|
|
476
|
-
internalType: "uint256",
|
|
477
478
|
name: "i",
|
|
478
479
|
type: "uint256",
|
|
480
|
+
internalType: "uint256",
|
|
479
481
|
},
|
|
480
482
|
{
|
|
481
|
-
internalType: "uint256",
|
|
482
483
|
name: "rateMinRAY",
|
|
483
484
|
type: "uint256",
|
|
485
|
+
internalType: "uint256",
|
|
484
486
|
},
|
|
485
487
|
],
|
|
486
|
-
name: "remove_diff_liquidity_one_coin",
|
|
487
488
|
outputs: [
|
|
488
489
|
{
|
|
489
|
-
internalType: "uint256",
|
|
490
490
|
name: "tokensToEnable",
|
|
491
491
|
type: "uint256",
|
|
492
|
+
internalType: "uint256",
|
|
492
493
|
},
|
|
493
494
|
{
|
|
494
|
-
internalType: "uint256",
|
|
495
495
|
name: "tokensToDisable",
|
|
496
496
|
type: "uint256",
|
|
497
|
+
internalType: "uint256",
|
|
497
498
|
},
|
|
498
499
|
],
|
|
499
500
|
stateMutability: "nonpayable",
|
|
500
|
-
type: "function",
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
|
+
type: "function",
|
|
504
|
+
name: "remove_liquidity",
|
|
503
505
|
inputs: [
|
|
504
506
|
{
|
|
505
|
-
internalType: "uint256",
|
|
506
507
|
name: "",
|
|
507
508
|
type: "uint256",
|
|
509
|
+
internalType: "uint256",
|
|
508
510
|
},
|
|
509
511
|
{
|
|
510
|
-
internalType: "uint256[3]",
|
|
511
512
|
name: "",
|
|
512
513
|
type: "uint256[3]",
|
|
514
|
+
internalType: "uint256[3]",
|
|
513
515
|
},
|
|
514
516
|
],
|
|
515
|
-
name: "remove_liquidity",
|
|
516
517
|
outputs: [
|
|
517
518
|
{
|
|
518
|
-
internalType: "uint256",
|
|
519
519
|
name: "tokensToEnable",
|
|
520
520
|
type: "uint256",
|
|
521
|
+
internalType: "uint256",
|
|
521
522
|
},
|
|
522
523
|
{
|
|
523
|
-
internalType: "uint256",
|
|
524
524
|
name: "tokensToDisable",
|
|
525
525
|
type: "uint256",
|
|
526
|
+
internalType: "uint256",
|
|
526
527
|
},
|
|
527
528
|
],
|
|
528
529
|
stateMutability: "nonpayable",
|
|
529
|
-
type: "function",
|
|
530
530
|
},
|
|
531
531
|
{
|
|
532
|
+
type: "function",
|
|
533
|
+
name: "remove_liquidity_imbalance",
|
|
532
534
|
inputs: [
|
|
533
535
|
{
|
|
534
|
-
internalType: "uint256[3]",
|
|
535
536
|
name: "amounts",
|
|
536
537
|
type: "uint256[3]",
|
|
538
|
+
internalType: "uint256[3]",
|
|
537
539
|
},
|
|
538
540
|
{
|
|
539
|
-
internalType: "uint256",
|
|
540
541
|
name: "",
|
|
541
542
|
type: "uint256",
|
|
543
|
+
internalType: "uint256",
|
|
542
544
|
},
|
|
543
545
|
],
|
|
544
|
-
name: "remove_liquidity_imbalance",
|
|
545
546
|
outputs: [
|
|
546
547
|
{
|
|
547
|
-
internalType: "uint256",
|
|
548
548
|
name: "tokensToEnable",
|
|
549
549
|
type: "uint256",
|
|
550
|
+
internalType: "uint256",
|
|
550
551
|
},
|
|
551
552
|
{
|
|
552
|
-
internalType: "uint256",
|
|
553
553
|
name: "tokensToDisable",
|
|
554
554
|
type: "uint256",
|
|
555
|
+
internalType: "uint256",
|
|
555
556
|
},
|
|
556
557
|
],
|
|
557
558
|
stateMutability: "nonpayable",
|
|
558
|
-
type: "function",
|
|
559
559
|
},
|
|
560
560
|
{
|
|
561
|
+
type: "function",
|
|
562
|
+
name: "remove_liquidity_one_coin",
|
|
561
563
|
inputs: [
|
|
562
564
|
{
|
|
563
|
-
internalType: "uint256",
|
|
564
565
|
name: "amount",
|
|
565
566
|
type: "uint256",
|
|
567
|
+
internalType: "uint256",
|
|
566
568
|
},
|
|
567
569
|
{
|
|
568
|
-
internalType: "int128",
|
|
569
570
|
name: "i",
|
|
570
571
|
type: "int128",
|
|
572
|
+
internalType: "int128",
|
|
571
573
|
},
|
|
572
574
|
{
|
|
573
|
-
internalType: "uint256",
|
|
574
575
|
name: "minAmount",
|
|
575
576
|
type: "uint256",
|
|
577
|
+
internalType: "uint256",
|
|
576
578
|
},
|
|
577
579
|
],
|
|
578
|
-
name: "remove_liquidity_one_coin",
|
|
579
580
|
outputs: [
|
|
580
581
|
{
|
|
581
|
-
internalType: "uint256",
|
|
582
582
|
name: "tokensToEnable",
|
|
583
583
|
type: "uint256",
|
|
584
|
+
internalType: "uint256",
|
|
584
585
|
},
|
|
585
586
|
{
|
|
586
|
-
internalType: "uint256",
|
|
587
587
|
name: "tokensToDisable",
|
|
588
588
|
type: "uint256",
|
|
589
|
+
internalType: "uint256",
|
|
589
590
|
},
|
|
590
591
|
],
|
|
591
592
|
stateMutability: "nonpayable",
|
|
592
|
-
type: "function",
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
+
type: "function",
|
|
596
|
+
name: "remove_liquidity_one_coin",
|
|
595
597
|
inputs: [
|
|
596
598
|
{
|
|
597
|
-
internalType: "uint256",
|
|
598
599
|
name: "amount",
|
|
599
600
|
type: "uint256",
|
|
601
|
+
internalType: "uint256",
|
|
600
602
|
},
|
|
601
603
|
{
|
|
602
|
-
internalType: "uint256",
|
|
603
604
|
name: "i",
|
|
604
605
|
type: "uint256",
|
|
606
|
+
internalType: "uint256",
|
|
605
607
|
},
|
|
606
608
|
{
|
|
607
|
-
internalType: "uint256",
|
|
608
609
|
name: "minAmount",
|
|
609
610
|
type: "uint256",
|
|
611
|
+
internalType: "uint256",
|
|
610
612
|
},
|
|
611
613
|
],
|
|
612
|
-
name: "remove_liquidity_one_coin",
|
|
613
614
|
outputs: [
|
|
614
615
|
{
|
|
615
|
-
internalType: "uint256",
|
|
616
616
|
name: "tokensToEnable",
|
|
617
617
|
type: "uint256",
|
|
618
|
+
internalType: "uint256",
|
|
618
619
|
},
|
|
619
620
|
{
|
|
620
|
-
internalType: "uint256",
|
|
621
621
|
name: "tokensToDisable",
|
|
622
622
|
type: "uint256",
|
|
623
|
+
internalType: "uint256",
|
|
623
624
|
},
|
|
624
625
|
],
|
|
625
626
|
stateMutability: "nonpayable",
|
|
626
|
-
type: "function",
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
|
-
|
|
629
|
+
type: "function",
|
|
630
630
|
name: "targetContract",
|
|
631
|
+
inputs: [],
|
|
631
632
|
outputs: [
|
|
632
633
|
{
|
|
633
|
-
internalType: "address",
|
|
634
634
|
name: "",
|
|
635
635
|
type: "address",
|
|
636
|
+
internalType: "address",
|
|
636
637
|
},
|
|
637
638
|
],
|
|
638
639
|
stateMutability: "view",
|
|
639
|
-
type: "function",
|
|
640
640
|
},
|
|
641
641
|
{
|
|
642
|
-
|
|
642
|
+
type: "function",
|
|
643
643
|
name: "token",
|
|
644
|
+
inputs: [],
|
|
644
645
|
outputs: [
|
|
645
646
|
{
|
|
646
|
-
internalType: "address",
|
|
647
647
|
name: "",
|
|
648
648
|
type: "address",
|
|
649
|
+
internalType: "address",
|
|
649
650
|
},
|
|
650
651
|
],
|
|
651
652
|
stateMutability: "view",
|
|
652
|
-
type: "function",
|
|
653
653
|
},
|
|
654
654
|
{
|
|
655
|
-
|
|
655
|
+
type: "function",
|
|
656
656
|
name: "token0",
|
|
657
|
+
inputs: [],
|
|
657
658
|
outputs: [
|
|
658
659
|
{
|
|
659
|
-
internalType: "address",
|
|
660
660
|
name: "",
|
|
661
661
|
type: "address",
|
|
662
|
+
internalType: "address",
|
|
662
663
|
},
|
|
663
664
|
],
|
|
664
665
|
stateMutability: "view",
|
|
665
|
-
type: "function",
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
|
-
|
|
668
|
+
type: "function",
|
|
669
669
|
name: "token0Mask",
|
|
670
|
+
inputs: [],
|
|
670
671
|
outputs: [
|
|
671
672
|
{
|
|
672
|
-
internalType: "uint256",
|
|
673
673
|
name: "",
|
|
674
674
|
type: "uint256",
|
|
675
|
+
internalType: "uint256",
|
|
675
676
|
},
|
|
676
677
|
],
|
|
677
678
|
stateMutability: "view",
|
|
678
|
-
type: "function",
|
|
679
679
|
},
|
|
680
680
|
{
|
|
681
|
-
|
|
681
|
+
type: "function",
|
|
682
682
|
name: "token1",
|
|
683
|
+
inputs: [],
|
|
683
684
|
outputs: [
|
|
684
685
|
{
|
|
685
|
-
internalType: "address",
|
|
686
686
|
name: "",
|
|
687
687
|
type: "address",
|
|
688
|
+
internalType: "address",
|
|
688
689
|
},
|
|
689
690
|
],
|
|
690
691
|
stateMutability: "view",
|
|
691
|
-
type: "function",
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
|
-
|
|
694
|
+
type: "function",
|
|
695
695
|
name: "token1Mask",
|
|
696
|
+
inputs: [],
|
|
696
697
|
outputs: [
|
|
697
698
|
{
|
|
698
|
-
internalType: "uint256",
|
|
699
699
|
name: "",
|
|
700
700
|
type: "uint256",
|
|
701
|
+
internalType: "uint256",
|
|
701
702
|
},
|
|
702
703
|
],
|
|
703
704
|
stateMutability: "view",
|
|
704
|
-
type: "function",
|
|
705
705
|
},
|
|
706
706
|
{
|
|
707
|
-
|
|
707
|
+
type: "function",
|
|
708
708
|
name: "token2",
|
|
709
|
+
inputs: [],
|
|
709
710
|
outputs: [
|
|
710
711
|
{
|
|
711
|
-
internalType: "address",
|
|
712
712
|
name: "",
|
|
713
713
|
type: "address",
|
|
714
|
+
internalType: "address",
|
|
714
715
|
},
|
|
715
716
|
],
|
|
716
717
|
stateMutability: "view",
|
|
717
|
-
type: "function",
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
|
-
|
|
720
|
+
type: "function",
|
|
721
721
|
name: "token2Mask",
|
|
722
|
+
inputs: [],
|
|
722
723
|
outputs: [
|
|
723
724
|
{
|
|
724
|
-
internalType: "uint256",
|
|
725
725
|
name: "",
|
|
726
726
|
type: "uint256",
|
|
727
|
+
internalType: "uint256",
|
|
727
728
|
},
|
|
728
729
|
],
|
|
729
730
|
stateMutability: "view",
|
|
730
|
-
type: "function",
|
|
731
731
|
},
|
|
732
732
|
{
|
|
733
|
-
|
|
733
|
+
type: "function",
|
|
734
734
|
name: "token3",
|
|
735
|
+
inputs: [],
|
|
735
736
|
outputs: [
|
|
736
737
|
{
|
|
737
|
-
internalType: "address",
|
|
738
738
|
name: "",
|
|
739
739
|
type: "address",
|
|
740
|
+
internalType: "address",
|
|
740
741
|
},
|
|
741
742
|
],
|
|
742
743
|
stateMutability: "view",
|
|
743
|
-
type: "function",
|
|
744
744
|
},
|
|
745
745
|
{
|
|
746
|
-
|
|
746
|
+
type: "function",
|
|
747
747
|
name: "token3Mask",
|
|
748
|
+
inputs: [],
|
|
748
749
|
outputs: [
|
|
749
750
|
{
|
|
750
|
-
internalType: "uint256",
|
|
751
751
|
name: "",
|
|
752
752
|
type: "uint256",
|
|
753
|
+
internalType: "uint256",
|
|
753
754
|
},
|
|
754
755
|
],
|
|
755
756
|
stateMutability: "view",
|
|
756
|
-
type: "function",
|
|
757
757
|
},
|
|
758
758
|
{
|
|
759
|
-
|
|
759
|
+
type: "function",
|
|
760
760
|
name: "underlying0",
|
|
761
|
+
inputs: [],
|
|
761
762
|
outputs: [
|
|
762
763
|
{
|
|
763
|
-
internalType: "address",
|
|
764
764
|
name: "",
|
|
765
765
|
type: "address",
|
|
766
|
+
internalType: "address",
|
|
766
767
|
},
|
|
767
768
|
],
|
|
768
769
|
stateMutability: "view",
|
|
769
|
-
type: "function",
|
|
770
770
|
},
|
|
771
771
|
{
|
|
772
|
-
|
|
772
|
+
type: "function",
|
|
773
773
|
name: "underlying0Mask",
|
|
774
|
+
inputs: [],
|
|
774
775
|
outputs: [
|
|
775
776
|
{
|
|
776
|
-
internalType: "uint256",
|
|
777
777
|
name: "",
|
|
778
778
|
type: "uint256",
|
|
779
|
+
internalType: "uint256",
|
|
779
780
|
},
|
|
780
781
|
],
|
|
781
782
|
stateMutability: "view",
|
|
782
|
-
type: "function",
|
|
783
783
|
},
|
|
784
784
|
{
|
|
785
|
-
|
|
785
|
+
type: "function",
|
|
786
786
|
name: "underlying1",
|
|
787
|
+
inputs: [],
|
|
787
788
|
outputs: [
|
|
788
789
|
{
|
|
789
|
-
internalType: "address",
|
|
790
790
|
name: "",
|
|
791
791
|
type: "address",
|
|
792
|
+
internalType: "address",
|
|
792
793
|
},
|
|
793
794
|
],
|
|
794
795
|
stateMutability: "view",
|
|
795
|
-
type: "function",
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
|
-
|
|
798
|
+
type: "function",
|
|
799
799
|
name: "underlying1Mask",
|
|
800
|
+
inputs: [],
|
|
800
801
|
outputs: [
|
|
801
802
|
{
|
|
802
|
-
internalType: "uint256",
|
|
803
803
|
name: "",
|
|
804
804
|
type: "uint256",
|
|
805
|
+
internalType: "uint256",
|
|
805
806
|
},
|
|
806
807
|
],
|
|
807
808
|
stateMutability: "view",
|
|
808
|
-
type: "function",
|
|
809
809
|
},
|
|
810
810
|
{
|
|
811
|
-
|
|
811
|
+
type: "function",
|
|
812
812
|
name: "underlying2",
|
|
813
|
+
inputs: [],
|
|
813
814
|
outputs: [
|
|
814
815
|
{
|
|
815
|
-
internalType: "address",
|
|
816
816
|
name: "",
|
|
817
817
|
type: "address",
|
|
818
|
+
internalType: "address",
|
|
818
819
|
},
|
|
819
820
|
],
|
|
820
821
|
stateMutability: "view",
|
|
821
|
-
type: "function",
|
|
822
822
|
},
|
|
823
823
|
{
|
|
824
|
-
|
|
824
|
+
type: "function",
|
|
825
825
|
name: "underlying2Mask",
|
|
826
|
+
inputs: [],
|
|
826
827
|
outputs: [
|
|
827
828
|
{
|
|
828
|
-
internalType: "uint256",
|
|
829
829
|
name: "",
|
|
830
830
|
type: "uint256",
|
|
831
|
+
internalType: "uint256",
|
|
831
832
|
},
|
|
832
833
|
],
|
|
833
834
|
stateMutability: "view",
|
|
834
|
-
type: "function",
|
|
835
835
|
},
|
|
836
836
|
{
|
|
837
|
-
|
|
837
|
+
type: "function",
|
|
838
838
|
name: "underlying3",
|
|
839
|
+
inputs: [],
|
|
839
840
|
outputs: [
|
|
840
841
|
{
|
|
841
|
-
internalType: "address",
|
|
842
842
|
name: "",
|
|
843
843
|
type: "address",
|
|
844
|
+
internalType: "address",
|
|
844
845
|
},
|
|
845
846
|
],
|
|
846
847
|
stateMutability: "view",
|
|
847
|
-
type: "function",
|
|
848
848
|
},
|
|
849
849
|
{
|
|
850
|
-
|
|
850
|
+
type: "function",
|
|
851
851
|
name: "underlying3Mask",
|
|
852
|
+
inputs: [],
|
|
852
853
|
outputs: [
|
|
853
854
|
{
|
|
854
|
-
internalType: "uint256",
|
|
855
855
|
name: "",
|
|
856
856
|
type: "uint256",
|
|
857
|
+
internalType: "uint256",
|
|
857
858
|
},
|
|
858
859
|
],
|
|
859
860
|
stateMutability: "view",
|
|
860
|
-
type: "function",
|
|
861
861
|
},
|
|
862
862
|
{
|
|
863
|
-
|
|
863
|
+
type: "function",
|
|
864
864
|
name: "use256",
|
|
865
|
+
inputs: [],
|
|
865
866
|
outputs: [
|
|
866
867
|
{
|
|
867
|
-
internalType: "bool",
|
|
868
868
|
name: "",
|
|
869
869
|
type: "bool",
|
|
870
|
+
internalType: "bool",
|
|
870
871
|
},
|
|
871
872
|
],
|
|
872
873
|
stateMutability: "view",
|
|
873
|
-
type: "function",
|
|
874
874
|
},
|
|
875
875
|
];
|
|
876
876
|
class ICurveV1_3AssetsAdapter__factory {
|