@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
|
@@ -3,603 +3,603 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { ICurveV1Adapter, ICurveV1AdapterInterface } from "../ICurveV1Adapter";
|
|
4
4
|
export declare class ICurveV1Adapter__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly
|
|
6
|
+
readonly type: "function";
|
|
7
7
|
readonly name: "_gearboxAdapterType";
|
|
8
|
+
readonly inputs: readonly [];
|
|
8
9
|
readonly outputs: readonly [{
|
|
9
|
-
readonly internalType: "enum AdapterType";
|
|
10
10
|
readonly name: "";
|
|
11
11
|
readonly type: "uint8";
|
|
12
|
+
readonly internalType: "enum AdapterType";
|
|
12
13
|
}];
|
|
13
14
|
readonly stateMutability: "view";
|
|
14
|
-
readonly type: "function";
|
|
15
15
|
}, {
|
|
16
|
-
readonly
|
|
16
|
+
readonly type: "function";
|
|
17
17
|
readonly name: "_gearboxAdapterVersion";
|
|
18
|
+
readonly inputs: readonly [];
|
|
18
19
|
readonly outputs: readonly [{
|
|
19
|
-
readonly internalType: "uint16";
|
|
20
20
|
readonly name: "";
|
|
21
21
|
readonly type: "uint16";
|
|
22
|
+
readonly internalType: "uint16";
|
|
22
23
|
}];
|
|
23
24
|
readonly stateMutability: "view";
|
|
24
|
-
readonly type: "function";
|
|
25
25
|
}, {
|
|
26
|
+
readonly type: "function";
|
|
27
|
+
readonly name: "add_diff_liquidity_one_coin";
|
|
26
28
|
readonly inputs: readonly [{
|
|
27
|
-
readonly internalType: "uint256";
|
|
28
29
|
readonly name: "leftoverAmount";
|
|
29
30
|
readonly type: "uint256";
|
|
30
|
-
}, {
|
|
31
31
|
readonly internalType: "uint256";
|
|
32
|
+
}, {
|
|
32
33
|
readonly name: "i";
|
|
33
34
|
readonly type: "uint256";
|
|
34
|
-
}, {
|
|
35
35
|
readonly internalType: "uint256";
|
|
36
|
+
}, {
|
|
36
37
|
readonly name: "rateMinRAY";
|
|
37
38
|
readonly type: "uint256";
|
|
39
|
+
readonly internalType: "uint256";
|
|
38
40
|
}];
|
|
39
|
-
readonly name: "add_diff_liquidity_one_coin";
|
|
40
41
|
readonly outputs: readonly [{
|
|
41
|
-
readonly internalType: "uint256";
|
|
42
42
|
readonly name: "tokensToEnable";
|
|
43
43
|
readonly type: "uint256";
|
|
44
|
-
}, {
|
|
45
44
|
readonly internalType: "uint256";
|
|
45
|
+
}, {
|
|
46
46
|
readonly name: "tokensToDisable";
|
|
47
47
|
readonly type: "uint256";
|
|
48
|
+
readonly internalType: "uint256";
|
|
48
49
|
}];
|
|
49
50
|
readonly stateMutability: "nonpayable";
|
|
50
|
-
readonly type: "function";
|
|
51
51
|
}, {
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
readonly name: "add_liquidity_one_coin";
|
|
52
54
|
readonly inputs: readonly [{
|
|
53
|
-
readonly internalType: "uint256";
|
|
54
55
|
readonly name: "amount";
|
|
55
56
|
readonly type: "uint256";
|
|
56
|
-
}, {
|
|
57
57
|
readonly internalType: "uint256";
|
|
58
|
+
}, {
|
|
58
59
|
readonly name: "i";
|
|
59
60
|
readonly type: "uint256";
|
|
60
|
-
}, {
|
|
61
61
|
readonly internalType: "uint256";
|
|
62
|
+
}, {
|
|
62
63
|
readonly name: "minAmount";
|
|
63
64
|
readonly type: "uint256";
|
|
65
|
+
readonly internalType: "uint256";
|
|
64
66
|
}];
|
|
65
|
-
readonly name: "add_liquidity_one_coin";
|
|
66
67
|
readonly outputs: readonly [{
|
|
67
|
-
readonly internalType: "uint256";
|
|
68
68
|
readonly name: "tokensToEnable";
|
|
69
69
|
readonly type: "uint256";
|
|
70
|
-
}, {
|
|
71
70
|
readonly internalType: "uint256";
|
|
71
|
+
}, {
|
|
72
72
|
readonly name: "tokensToDisable";
|
|
73
73
|
readonly type: "uint256";
|
|
74
|
+
readonly internalType: "uint256";
|
|
74
75
|
}];
|
|
75
76
|
readonly stateMutability: "nonpayable";
|
|
76
|
-
readonly type: "function";
|
|
77
77
|
}, {
|
|
78
|
-
readonly
|
|
78
|
+
readonly type: "function";
|
|
79
79
|
readonly name: "addressProvider";
|
|
80
|
+
readonly inputs: readonly [];
|
|
80
81
|
readonly outputs: readonly [{
|
|
81
|
-
readonly internalType: "address";
|
|
82
82
|
readonly name: "";
|
|
83
83
|
readonly type: "address";
|
|
84
|
+
readonly internalType: "address";
|
|
84
85
|
}];
|
|
85
86
|
readonly stateMutability: "view";
|
|
86
|
-
readonly type: "function";
|
|
87
87
|
}, {
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
readonly name: "calc_add_one_coin";
|
|
88
90
|
readonly inputs: readonly [{
|
|
89
|
-
readonly internalType: "uint256";
|
|
90
91
|
readonly name: "amount";
|
|
91
92
|
readonly type: "uint256";
|
|
92
|
-
}, {
|
|
93
93
|
readonly internalType: "uint256";
|
|
94
|
+
}, {
|
|
94
95
|
readonly name: "i";
|
|
95
96
|
readonly type: "uint256";
|
|
97
|
+
readonly internalType: "uint256";
|
|
96
98
|
}];
|
|
97
|
-
readonly name: "calc_add_one_coin";
|
|
98
99
|
readonly outputs: readonly [{
|
|
99
|
-
readonly internalType: "uint256";
|
|
100
100
|
readonly name: "";
|
|
101
101
|
readonly type: "uint256";
|
|
102
|
+
readonly internalType: "uint256";
|
|
102
103
|
}];
|
|
103
104
|
readonly stateMutability: "view";
|
|
104
|
-
readonly type: "function";
|
|
105
105
|
}, {
|
|
106
|
-
readonly
|
|
106
|
+
readonly type: "function";
|
|
107
107
|
readonly name: "creditManager";
|
|
108
|
+
readonly inputs: readonly [];
|
|
108
109
|
readonly outputs: readonly [{
|
|
109
|
-
readonly internalType: "address";
|
|
110
110
|
readonly name: "";
|
|
111
111
|
readonly type: "address";
|
|
112
|
+
readonly internalType: "address";
|
|
112
113
|
}];
|
|
113
114
|
readonly stateMutability: "view";
|
|
114
|
-
readonly type: "function";
|
|
115
115
|
}, {
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
readonly name: "exchange";
|
|
116
118
|
readonly inputs: readonly [{
|
|
117
|
-
readonly internalType: "int128";
|
|
118
119
|
readonly name: "i";
|
|
119
120
|
readonly type: "int128";
|
|
120
|
-
}, {
|
|
121
121
|
readonly internalType: "int128";
|
|
122
|
+
}, {
|
|
122
123
|
readonly name: "j";
|
|
123
124
|
readonly type: "int128";
|
|
125
|
+
readonly internalType: "int128";
|
|
124
126
|
}, {
|
|
125
|
-
readonly internalType: "uint256";
|
|
126
127
|
readonly name: "dx";
|
|
127
128
|
readonly type: "uint256";
|
|
128
|
-
}, {
|
|
129
129
|
readonly internalType: "uint256";
|
|
130
|
+
}, {
|
|
130
131
|
readonly name: "min_dy";
|
|
131
132
|
readonly type: "uint256";
|
|
133
|
+
readonly internalType: "uint256";
|
|
132
134
|
}];
|
|
133
|
-
readonly name: "exchange";
|
|
134
135
|
readonly outputs: readonly [{
|
|
135
|
-
readonly internalType: "uint256";
|
|
136
136
|
readonly name: "tokensToEnable";
|
|
137
137
|
readonly type: "uint256";
|
|
138
|
-
}, {
|
|
139
138
|
readonly internalType: "uint256";
|
|
139
|
+
}, {
|
|
140
140
|
readonly name: "tokensToDisable";
|
|
141
141
|
readonly type: "uint256";
|
|
142
|
+
readonly internalType: "uint256";
|
|
142
143
|
}];
|
|
143
144
|
readonly stateMutability: "nonpayable";
|
|
144
|
-
readonly type: "function";
|
|
145
145
|
}, {
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
readonly name: "exchange";
|
|
146
148
|
readonly inputs: readonly [{
|
|
147
|
-
readonly internalType: "uint256";
|
|
148
149
|
readonly name: "i";
|
|
149
150
|
readonly type: "uint256";
|
|
150
|
-
}, {
|
|
151
151
|
readonly internalType: "uint256";
|
|
152
|
+
}, {
|
|
152
153
|
readonly name: "j";
|
|
153
154
|
readonly type: "uint256";
|
|
154
|
-
}, {
|
|
155
155
|
readonly internalType: "uint256";
|
|
156
|
+
}, {
|
|
156
157
|
readonly name: "dx";
|
|
157
158
|
readonly type: "uint256";
|
|
158
|
-
}, {
|
|
159
159
|
readonly internalType: "uint256";
|
|
160
|
+
}, {
|
|
160
161
|
readonly name: "min_dy";
|
|
161
162
|
readonly type: "uint256";
|
|
163
|
+
readonly internalType: "uint256";
|
|
162
164
|
}];
|
|
163
|
-
readonly name: "exchange";
|
|
164
165
|
readonly outputs: readonly [{
|
|
165
|
-
readonly internalType: "uint256";
|
|
166
166
|
readonly name: "tokensToEnable";
|
|
167
167
|
readonly type: "uint256";
|
|
168
|
-
}, {
|
|
169
168
|
readonly internalType: "uint256";
|
|
169
|
+
}, {
|
|
170
170
|
readonly name: "tokensToDisable";
|
|
171
171
|
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
172
173
|
}];
|
|
173
174
|
readonly stateMutability: "nonpayable";
|
|
174
|
-
readonly type: "function";
|
|
175
175
|
}, {
|
|
176
|
+
readonly type: "function";
|
|
177
|
+
readonly name: "exchange_diff";
|
|
176
178
|
readonly inputs: readonly [{
|
|
177
|
-
readonly internalType: "uint256";
|
|
178
179
|
readonly name: "i";
|
|
179
180
|
readonly type: "uint256";
|
|
180
|
-
}, {
|
|
181
181
|
readonly internalType: "uint256";
|
|
182
|
+
}, {
|
|
182
183
|
readonly name: "j";
|
|
183
184
|
readonly type: "uint256";
|
|
184
|
-
}, {
|
|
185
185
|
readonly internalType: "uint256";
|
|
186
|
+
}, {
|
|
186
187
|
readonly name: "leftoverAmount";
|
|
187
188
|
readonly type: "uint256";
|
|
188
|
-
}, {
|
|
189
189
|
readonly internalType: "uint256";
|
|
190
|
+
}, {
|
|
190
191
|
readonly name: "rateMinRAY";
|
|
191
192
|
readonly type: "uint256";
|
|
193
|
+
readonly internalType: "uint256";
|
|
192
194
|
}];
|
|
193
|
-
readonly name: "exchange_diff";
|
|
194
195
|
readonly outputs: readonly [{
|
|
195
|
-
readonly internalType: "uint256";
|
|
196
196
|
readonly name: "tokensToEnable";
|
|
197
197
|
readonly type: "uint256";
|
|
198
|
-
}, {
|
|
199
198
|
readonly internalType: "uint256";
|
|
199
|
+
}, {
|
|
200
200
|
readonly name: "tokensToDisable";
|
|
201
201
|
readonly type: "uint256";
|
|
202
|
+
readonly internalType: "uint256";
|
|
202
203
|
}];
|
|
203
204
|
readonly stateMutability: "nonpayable";
|
|
204
|
-
readonly type: "function";
|
|
205
205
|
}, {
|
|
206
|
+
readonly type: "function";
|
|
207
|
+
readonly name: "exchange_diff_underlying";
|
|
206
208
|
readonly inputs: readonly [{
|
|
207
|
-
readonly internalType: "uint256";
|
|
208
209
|
readonly name: "i";
|
|
209
210
|
readonly type: "uint256";
|
|
210
|
-
}, {
|
|
211
211
|
readonly internalType: "uint256";
|
|
212
|
+
}, {
|
|
212
213
|
readonly name: "j";
|
|
213
214
|
readonly type: "uint256";
|
|
214
|
-
}, {
|
|
215
215
|
readonly internalType: "uint256";
|
|
216
|
+
}, {
|
|
216
217
|
readonly name: "leftoverAmount";
|
|
217
218
|
readonly type: "uint256";
|
|
218
|
-
}, {
|
|
219
219
|
readonly internalType: "uint256";
|
|
220
|
+
}, {
|
|
220
221
|
readonly name: "rateMinRAY";
|
|
221
222
|
readonly type: "uint256";
|
|
223
|
+
readonly internalType: "uint256";
|
|
222
224
|
}];
|
|
223
|
-
readonly name: "exchange_diff_underlying";
|
|
224
225
|
readonly outputs: readonly [{
|
|
225
|
-
readonly internalType: "uint256";
|
|
226
226
|
readonly name: "tokensToEnable";
|
|
227
227
|
readonly type: "uint256";
|
|
228
|
-
}, {
|
|
229
228
|
readonly internalType: "uint256";
|
|
229
|
+
}, {
|
|
230
230
|
readonly name: "tokensToDisable";
|
|
231
231
|
readonly type: "uint256";
|
|
232
|
+
readonly internalType: "uint256";
|
|
232
233
|
}];
|
|
233
234
|
readonly stateMutability: "nonpayable";
|
|
234
|
-
readonly type: "function";
|
|
235
235
|
}, {
|
|
236
|
+
readonly type: "function";
|
|
237
|
+
readonly name: "exchange_underlying";
|
|
236
238
|
readonly inputs: readonly [{
|
|
237
|
-
readonly internalType: "uint256";
|
|
238
239
|
readonly name: "i";
|
|
239
240
|
readonly type: "uint256";
|
|
240
|
-
}, {
|
|
241
241
|
readonly internalType: "uint256";
|
|
242
|
+
}, {
|
|
242
243
|
readonly name: "j";
|
|
243
244
|
readonly type: "uint256";
|
|
244
|
-
}, {
|
|
245
245
|
readonly internalType: "uint256";
|
|
246
|
+
}, {
|
|
246
247
|
readonly name: "dx";
|
|
247
248
|
readonly type: "uint256";
|
|
248
|
-
}, {
|
|
249
249
|
readonly internalType: "uint256";
|
|
250
|
+
}, {
|
|
250
251
|
readonly name: "min_dy";
|
|
251
252
|
readonly type: "uint256";
|
|
253
|
+
readonly internalType: "uint256";
|
|
252
254
|
}];
|
|
253
|
-
readonly name: "exchange_underlying";
|
|
254
255
|
readonly outputs: readonly [{
|
|
255
|
-
readonly internalType: "uint256";
|
|
256
256
|
readonly name: "tokensToEnable";
|
|
257
257
|
readonly type: "uint256";
|
|
258
|
-
}, {
|
|
259
258
|
readonly internalType: "uint256";
|
|
259
|
+
}, {
|
|
260
260
|
readonly name: "tokensToDisable";
|
|
261
261
|
readonly type: "uint256";
|
|
262
|
+
readonly internalType: "uint256";
|
|
262
263
|
}];
|
|
263
264
|
readonly stateMutability: "nonpayable";
|
|
264
|
-
readonly type: "function";
|
|
265
265
|
}, {
|
|
266
|
+
readonly type: "function";
|
|
267
|
+
readonly name: "exchange_underlying";
|
|
266
268
|
readonly inputs: readonly [{
|
|
267
|
-
readonly internalType: "int128";
|
|
268
269
|
readonly name: "i";
|
|
269
270
|
readonly type: "int128";
|
|
270
|
-
}, {
|
|
271
271
|
readonly internalType: "int128";
|
|
272
|
+
}, {
|
|
272
273
|
readonly name: "j";
|
|
273
274
|
readonly type: "int128";
|
|
275
|
+
readonly internalType: "int128";
|
|
274
276
|
}, {
|
|
275
|
-
readonly internalType: "uint256";
|
|
276
277
|
readonly name: "dx";
|
|
277
278
|
readonly type: "uint256";
|
|
278
|
-
}, {
|
|
279
279
|
readonly internalType: "uint256";
|
|
280
|
+
}, {
|
|
280
281
|
readonly name: "min_dy";
|
|
281
282
|
readonly type: "uint256";
|
|
283
|
+
readonly internalType: "uint256";
|
|
282
284
|
}];
|
|
283
|
-
readonly name: "exchange_underlying";
|
|
284
285
|
readonly outputs: readonly [{
|
|
285
|
-
readonly internalType: "uint256";
|
|
286
286
|
readonly name: "tokensToEnable";
|
|
287
287
|
readonly type: "uint256";
|
|
288
|
-
}, {
|
|
289
288
|
readonly internalType: "uint256";
|
|
289
|
+
}, {
|
|
290
290
|
readonly name: "tokensToDisable";
|
|
291
291
|
readonly type: "uint256";
|
|
292
|
+
readonly internalType: "uint256";
|
|
292
293
|
}];
|
|
293
294
|
readonly stateMutability: "nonpayable";
|
|
294
|
-
readonly type: "function";
|
|
295
295
|
}, {
|
|
296
|
-
readonly
|
|
296
|
+
readonly type: "function";
|
|
297
297
|
readonly name: "lpTokenMask";
|
|
298
|
+
readonly inputs: readonly [];
|
|
298
299
|
readonly outputs: readonly [{
|
|
299
|
-
readonly internalType: "uint256";
|
|
300
300
|
readonly name: "";
|
|
301
301
|
readonly type: "uint256";
|
|
302
|
+
readonly internalType: "uint256";
|
|
302
303
|
}];
|
|
303
304
|
readonly stateMutability: "view";
|
|
304
|
-
readonly type: "function";
|
|
305
305
|
}, {
|
|
306
|
-
readonly
|
|
306
|
+
readonly type: "function";
|
|
307
307
|
readonly name: "lp_token";
|
|
308
|
+
readonly inputs: readonly [];
|
|
308
309
|
readonly outputs: readonly [{
|
|
309
|
-
readonly internalType: "address";
|
|
310
310
|
readonly name: "";
|
|
311
311
|
readonly type: "address";
|
|
312
|
+
readonly internalType: "address";
|
|
312
313
|
}];
|
|
313
314
|
readonly stateMutability: "view";
|
|
314
|
-
readonly type: "function";
|
|
315
315
|
}, {
|
|
316
|
-
readonly
|
|
316
|
+
readonly type: "function";
|
|
317
317
|
readonly name: "metapoolBase";
|
|
318
|
+
readonly inputs: readonly [];
|
|
318
319
|
readonly outputs: readonly [{
|
|
319
|
-
readonly internalType: "address";
|
|
320
320
|
readonly name: "";
|
|
321
321
|
readonly type: "address";
|
|
322
|
+
readonly internalType: "address";
|
|
322
323
|
}];
|
|
323
324
|
readonly stateMutability: "view";
|
|
324
|
-
readonly type: "function";
|
|
325
325
|
}, {
|
|
326
|
-
readonly
|
|
326
|
+
readonly type: "function";
|
|
327
327
|
readonly name: "nCoins";
|
|
328
|
+
readonly inputs: readonly [];
|
|
328
329
|
readonly outputs: readonly [{
|
|
329
|
-
readonly internalType: "uint256";
|
|
330
330
|
readonly name: "";
|
|
331
331
|
readonly type: "uint256";
|
|
332
|
+
readonly internalType: "uint256";
|
|
332
333
|
}];
|
|
333
334
|
readonly stateMutability: "view";
|
|
334
|
-
readonly type: "function";
|
|
335
335
|
}, {
|
|
336
|
+
readonly type: "function";
|
|
337
|
+
readonly name: "remove_diff_liquidity_one_coin";
|
|
336
338
|
readonly inputs: readonly [{
|
|
337
|
-
readonly internalType: "uint256";
|
|
338
339
|
readonly name: "leftoverAmount";
|
|
339
340
|
readonly type: "uint256";
|
|
340
|
-
}, {
|
|
341
341
|
readonly internalType: "uint256";
|
|
342
|
+
}, {
|
|
342
343
|
readonly name: "i";
|
|
343
344
|
readonly type: "uint256";
|
|
344
|
-
}, {
|
|
345
345
|
readonly internalType: "uint256";
|
|
346
|
+
}, {
|
|
346
347
|
readonly name: "rateMinRAY";
|
|
347
348
|
readonly type: "uint256";
|
|
349
|
+
readonly internalType: "uint256";
|
|
348
350
|
}];
|
|
349
|
-
readonly name: "remove_diff_liquidity_one_coin";
|
|
350
351
|
readonly outputs: readonly [{
|
|
351
|
-
readonly internalType: "uint256";
|
|
352
352
|
readonly name: "tokensToEnable";
|
|
353
353
|
readonly type: "uint256";
|
|
354
|
-
}, {
|
|
355
354
|
readonly internalType: "uint256";
|
|
355
|
+
}, {
|
|
356
356
|
readonly name: "tokensToDisable";
|
|
357
357
|
readonly type: "uint256";
|
|
358
|
+
readonly internalType: "uint256";
|
|
358
359
|
}];
|
|
359
360
|
readonly stateMutability: "nonpayable";
|
|
360
|
-
readonly type: "function";
|
|
361
361
|
}, {
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
readonly name: "remove_liquidity_one_coin";
|
|
362
364
|
readonly inputs: readonly [{
|
|
363
|
-
readonly internalType: "uint256";
|
|
364
365
|
readonly name: "amount";
|
|
365
366
|
readonly type: "uint256";
|
|
367
|
+
readonly internalType: "uint256";
|
|
366
368
|
}, {
|
|
367
|
-
readonly internalType: "int128";
|
|
368
369
|
readonly name: "i";
|
|
369
370
|
readonly type: "int128";
|
|
371
|
+
readonly internalType: "int128";
|
|
370
372
|
}, {
|
|
371
|
-
readonly internalType: "uint256";
|
|
372
373
|
readonly name: "minAmount";
|
|
373
374
|
readonly type: "uint256";
|
|
375
|
+
readonly internalType: "uint256";
|
|
374
376
|
}];
|
|
375
|
-
readonly name: "remove_liquidity_one_coin";
|
|
376
377
|
readonly outputs: readonly [{
|
|
377
|
-
readonly internalType: "uint256";
|
|
378
378
|
readonly name: "tokensToEnable";
|
|
379
379
|
readonly type: "uint256";
|
|
380
|
-
}, {
|
|
381
380
|
readonly internalType: "uint256";
|
|
381
|
+
}, {
|
|
382
382
|
readonly name: "tokensToDisable";
|
|
383
383
|
readonly type: "uint256";
|
|
384
|
+
readonly internalType: "uint256";
|
|
384
385
|
}];
|
|
385
386
|
readonly stateMutability: "nonpayable";
|
|
386
|
-
readonly type: "function";
|
|
387
387
|
}, {
|
|
388
|
+
readonly type: "function";
|
|
389
|
+
readonly name: "remove_liquidity_one_coin";
|
|
388
390
|
readonly inputs: readonly [{
|
|
389
|
-
readonly internalType: "uint256";
|
|
390
391
|
readonly name: "amount";
|
|
391
392
|
readonly type: "uint256";
|
|
392
|
-
}, {
|
|
393
393
|
readonly internalType: "uint256";
|
|
394
|
+
}, {
|
|
394
395
|
readonly name: "i";
|
|
395
396
|
readonly type: "uint256";
|
|
396
|
-
}, {
|
|
397
397
|
readonly internalType: "uint256";
|
|
398
|
+
}, {
|
|
398
399
|
readonly name: "minAmount";
|
|
399
400
|
readonly type: "uint256";
|
|
401
|
+
readonly internalType: "uint256";
|
|
400
402
|
}];
|
|
401
|
-
readonly name: "remove_liquidity_one_coin";
|
|
402
403
|
readonly outputs: readonly [{
|
|
403
|
-
readonly internalType: "uint256";
|
|
404
404
|
readonly name: "tokensToEnable";
|
|
405
405
|
readonly type: "uint256";
|
|
406
|
-
}, {
|
|
407
406
|
readonly internalType: "uint256";
|
|
407
|
+
}, {
|
|
408
408
|
readonly name: "tokensToDisable";
|
|
409
409
|
readonly type: "uint256";
|
|
410
|
+
readonly internalType: "uint256";
|
|
410
411
|
}];
|
|
411
412
|
readonly stateMutability: "nonpayable";
|
|
412
|
-
readonly type: "function";
|
|
413
413
|
}, {
|
|
414
|
-
readonly
|
|
414
|
+
readonly type: "function";
|
|
415
415
|
readonly name: "targetContract";
|
|
416
|
+
readonly inputs: readonly [];
|
|
416
417
|
readonly outputs: readonly [{
|
|
417
|
-
readonly internalType: "address";
|
|
418
418
|
readonly name: "";
|
|
419
419
|
readonly type: "address";
|
|
420
|
+
readonly internalType: "address";
|
|
420
421
|
}];
|
|
421
422
|
readonly stateMutability: "view";
|
|
422
|
-
readonly type: "function";
|
|
423
423
|
}, {
|
|
424
|
-
readonly
|
|
424
|
+
readonly type: "function";
|
|
425
425
|
readonly name: "token";
|
|
426
|
+
readonly inputs: readonly [];
|
|
426
427
|
readonly outputs: readonly [{
|
|
427
|
-
readonly internalType: "address";
|
|
428
428
|
readonly name: "";
|
|
429
429
|
readonly type: "address";
|
|
430
|
+
readonly internalType: "address";
|
|
430
431
|
}];
|
|
431
432
|
readonly stateMutability: "view";
|
|
432
|
-
readonly type: "function";
|
|
433
433
|
}, {
|
|
434
|
-
readonly
|
|
434
|
+
readonly type: "function";
|
|
435
435
|
readonly name: "token0";
|
|
436
|
+
readonly inputs: readonly [];
|
|
436
437
|
readonly outputs: readonly [{
|
|
437
|
-
readonly internalType: "address";
|
|
438
438
|
readonly name: "";
|
|
439
439
|
readonly type: "address";
|
|
440
|
+
readonly internalType: "address";
|
|
440
441
|
}];
|
|
441
442
|
readonly stateMutability: "view";
|
|
442
|
-
readonly type: "function";
|
|
443
443
|
}, {
|
|
444
|
-
readonly
|
|
444
|
+
readonly type: "function";
|
|
445
445
|
readonly name: "token0Mask";
|
|
446
|
+
readonly inputs: readonly [];
|
|
446
447
|
readonly outputs: readonly [{
|
|
447
|
-
readonly internalType: "uint256";
|
|
448
448
|
readonly name: "";
|
|
449
449
|
readonly type: "uint256";
|
|
450
|
+
readonly internalType: "uint256";
|
|
450
451
|
}];
|
|
451
452
|
readonly stateMutability: "view";
|
|
452
|
-
readonly type: "function";
|
|
453
453
|
}, {
|
|
454
|
-
readonly
|
|
454
|
+
readonly type: "function";
|
|
455
455
|
readonly name: "token1";
|
|
456
|
+
readonly inputs: readonly [];
|
|
456
457
|
readonly outputs: readonly [{
|
|
457
|
-
readonly internalType: "address";
|
|
458
458
|
readonly name: "";
|
|
459
459
|
readonly type: "address";
|
|
460
|
+
readonly internalType: "address";
|
|
460
461
|
}];
|
|
461
462
|
readonly stateMutability: "view";
|
|
462
|
-
readonly type: "function";
|
|
463
463
|
}, {
|
|
464
|
-
readonly
|
|
464
|
+
readonly type: "function";
|
|
465
465
|
readonly name: "token1Mask";
|
|
466
|
+
readonly inputs: readonly [];
|
|
466
467
|
readonly outputs: readonly [{
|
|
467
|
-
readonly internalType: "uint256";
|
|
468
468
|
readonly name: "";
|
|
469
469
|
readonly type: "uint256";
|
|
470
|
+
readonly internalType: "uint256";
|
|
470
471
|
}];
|
|
471
472
|
readonly stateMutability: "view";
|
|
472
|
-
readonly type: "function";
|
|
473
473
|
}, {
|
|
474
|
-
readonly
|
|
474
|
+
readonly type: "function";
|
|
475
475
|
readonly name: "token2";
|
|
476
|
+
readonly inputs: readonly [];
|
|
476
477
|
readonly outputs: readonly [{
|
|
477
|
-
readonly internalType: "address";
|
|
478
478
|
readonly name: "";
|
|
479
479
|
readonly type: "address";
|
|
480
|
+
readonly internalType: "address";
|
|
480
481
|
}];
|
|
481
482
|
readonly stateMutability: "view";
|
|
482
|
-
readonly type: "function";
|
|
483
483
|
}, {
|
|
484
|
-
readonly
|
|
484
|
+
readonly type: "function";
|
|
485
485
|
readonly name: "token2Mask";
|
|
486
|
+
readonly inputs: readonly [];
|
|
486
487
|
readonly outputs: readonly [{
|
|
487
|
-
readonly internalType: "uint256";
|
|
488
488
|
readonly name: "";
|
|
489
489
|
readonly type: "uint256";
|
|
490
|
+
readonly internalType: "uint256";
|
|
490
491
|
}];
|
|
491
492
|
readonly stateMutability: "view";
|
|
492
|
-
readonly type: "function";
|
|
493
493
|
}, {
|
|
494
|
-
readonly
|
|
494
|
+
readonly type: "function";
|
|
495
495
|
readonly name: "token3";
|
|
496
|
+
readonly inputs: readonly [];
|
|
496
497
|
readonly outputs: readonly [{
|
|
497
|
-
readonly internalType: "address";
|
|
498
498
|
readonly name: "";
|
|
499
499
|
readonly type: "address";
|
|
500
|
+
readonly internalType: "address";
|
|
500
501
|
}];
|
|
501
502
|
readonly stateMutability: "view";
|
|
502
|
-
readonly type: "function";
|
|
503
503
|
}, {
|
|
504
|
-
readonly
|
|
504
|
+
readonly type: "function";
|
|
505
505
|
readonly name: "token3Mask";
|
|
506
|
+
readonly inputs: readonly [];
|
|
506
507
|
readonly outputs: readonly [{
|
|
507
|
-
readonly internalType: "uint256";
|
|
508
508
|
readonly name: "";
|
|
509
509
|
readonly type: "uint256";
|
|
510
|
+
readonly internalType: "uint256";
|
|
510
511
|
}];
|
|
511
512
|
readonly stateMutability: "view";
|
|
512
|
-
readonly type: "function";
|
|
513
513
|
}, {
|
|
514
|
-
readonly
|
|
514
|
+
readonly type: "function";
|
|
515
515
|
readonly name: "underlying0";
|
|
516
|
+
readonly inputs: readonly [];
|
|
516
517
|
readonly outputs: readonly [{
|
|
517
|
-
readonly internalType: "address";
|
|
518
518
|
readonly name: "";
|
|
519
519
|
readonly type: "address";
|
|
520
|
+
readonly internalType: "address";
|
|
520
521
|
}];
|
|
521
522
|
readonly stateMutability: "view";
|
|
522
|
-
readonly type: "function";
|
|
523
523
|
}, {
|
|
524
|
-
readonly
|
|
524
|
+
readonly type: "function";
|
|
525
525
|
readonly name: "underlying0Mask";
|
|
526
|
+
readonly inputs: readonly [];
|
|
526
527
|
readonly outputs: readonly [{
|
|
527
|
-
readonly internalType: "uint256";
|
|
528
528
|
readonly name: "";
|
|
529
529
|
readonly type: "uint256";
|
|
530
|
+
readonly internalType: "uint256";
|
|
530
531
|
}];
|
|
531
532
|
readonly stateMutability: "view";
|
|
532
|
-
readonly type: "function";
|
|
533
533
|
}, {
|
|
534
|
-
readonly
|
|
534
|
+
readonly type: "function";
|
|
535
535
|
readonly name: "underlying1";
|
|
536
|
+
readonly inputs: readonly [];
|
|
536
537
|
readonly outputs: readonly [{
|
|
537
|
-
readonly internalType: "address";
|
|
538
538
|
readonly name: "";
|
|
539
539
|
readonly type: "address";
|
|
540
|
+
readonly internalType: "address";
|
|
540
541
|
}];
|
|
541
542
|
readonly stateMutability: "view";
|
|
542
|
-
readonly type: "function";
|
|
543
543
|
}, {
|
|
544
|
-
readonly
|
|
544
|
+
readonly type: "function";
|
|
545
545
|
readonly name: "underlying1Mask";
|
|
546
|
+
readonly inputs: readonly [];
|
|
546
547
|
readonly outputs: readonly [{
|
|
547
|
-
readonly internalType: "uint256";
|
|
548
548
|
readonly name: "";
|
|
549
549
|
readonly type: "uint256";
|
|
550
|
+
readonly internalType: "uint256";
|
|
550
551
|
}];
|
|
551
552
|
readonly stateMutability: "view";
|
|
552
|
-
readonly type: "function";
|
|
553
553
|
}, {
|
|
554
|
-
readonly
|
|
554
|
+
readonly type: "function";
|
|
555
555
|
readonly name: "underlying2";
|
|
556
|
+
readonly inputs: readonly [];
|
|
556
557
|
readonly outputs: readonly [{
|
|
557
|
-
readonly internalType: "address";
|
|
558
558
|
readonly name: "";
|
|
559
559
|
readonly type: "address";
|
|
560
|
+
readonly internalType: "address";
|
|
560
561
|
}];
|
|
561
562
|
readonly stateMutability: "view";
|
|
562
|
-
readonly type: "function";
|
|
563
563
|
}, {
|
|
564
|
-
readonly
|
|
564
|
+
readonly type: "function";
|
|
565
565
|
readonly name: "underlying2Mask";
|
|
566
|
+
readonly inputs: readonly [];
|
|
566
567
|
readonly outputs: readonly [{
|
|
567
|
-
readonly internalType: "uint256";
|
|
568
568
|
readonly name: "";
|
|
569
569
|
readonly type: "uint256";
|
|
570
|
+
readonly internalType: "uint256";
|
|
570
571
|
}];
|
|
571
572
|
readonly stateMutability: "view";
|
|
572
|
-
readonly type: "function";
|
|
573
573
|
}, {
|
|
574
|
-
readonly
|
|
574
|
+
readonly type: "function";
|
|
575
575
|
readonly name: "underlying3";
|
|
576
|
+
readonly inputs: readonly [];
|
|
576
577
|
readonly outputs: readonly [{
|
|
577
|
-
readonly internalType: "address";
|
|
578
578
|
readonly name: "";
|
|
579
579
|
readonly type: "address";
|
|
580
|
+
readonly internalType: "address";
|
|
580
581
|
}];
|
|
581
582
|
readonly stateMutability: "view";
|
|
582
|
-
readonly type: "function";
|
|
583
583
|
}, {
|
|
584
|
-
readonly
|
|
584
|
+
readonly type: "function";
|
|
585
585
|
readonly name: "underlying3Mask";
|
|
586
|
+
readonly inputs: readonly [];
|
|
586
587
|
readonly outputs: readonly [{
|
|
587
|
-
readonly internalType: "uint256";
|
|
588
588
|
readonly name: "";
|
|
589
589
|
readonly type: "uint256";
|
|
590
|
+
readonly internalType: "uint256";
|
|
590
591
|
}];
|
|
591
592
|
readonly stateMutability: "view";
|
|
592
|
-
readonly type: "function";
|
|
593
593
|
}, {
|
|
594
|
-
readonly
|
|
594
|
+
readonly type: "function";
|
|
595
595
|
readonly name: "use256";
|
|
596
|
+
readonly inputs: readonly [];
|
|
596
597
|
readonly outputs: readonly [{
|
|
597
|
-
readonly internalType: "bool";
|
|
598
598
|
readonly name: "";
|
|
599
599
|
readonly type: "bool";
|
|
600
|
+
readonly internalType: "bool";
|
|
600
601
|
}];
|
|
601
602
|
readonly stateMutability: "view";
|
|
602
|
-
readonly type: "function";
|
|
603
603
|
}];
|
|
604
604
|
static createInterface(): ICurveV1AdapterInterface;
|
|
605
605
|
static connect(address: string, signerOrProvider: Signer | Provider): ICurveV1Adapter;
|