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