@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
package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts
CHANGED
|
@@ -3,511 +3,511 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IBalancerV2VaultAdapter, IBalancerV2VaultAdapterInterface } from "../../IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter";
|
|
4
4
|
export declare class IBalancerV2VaultAdapter__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly
|
|
7
|
-
readonly name: "PoolNotSupportedException";
|
|
8
|
-
readonly type: "error";
|
|
9
|
-
}, {
|
|
10
|
-
readonly anonymous: false;
|
|
11
|
-
readonly inputs: readonly [{
|
|
12
|
-
readonly indexed: true;
|
|
13
|
-
readonly internalType: "bytes32";
|
|
14
|
-
readonly name: "poolId";
|
|
15
|
-
readonly type: "bytes32";
|
|
16
|
-
}, {
|
|
17
|
-
readonly indexed: false;
|
|
18
|
-
readonly internalType: "enum PoolStatus";
|
|
19
|
-
readonly name: "newStatus";
|
|
20
|
-
readonly type: "uint8";
|
|
21
|
-
}];
|
|
22
|
-
readonly name: "SetPoolStatus";
|
|
23
|
-
readonly type: "event";
|
|
24
|
-
}, {
|
|
25
|
-
readonly inputs: readonly [];
|
|
6
|
+
readonly type: "function";
|
|
26
7
|
readonly name: "_gearboxAdapterType";
|
|
8
|
+
readonly inputs: readonly [];
|
|
27
9
|
readonly outputs: readonly [{
|
|
28
|
-
readonly internalType: "enum AdapterType";
|
|
29
10
|
readonly name: "";
|
|
30
11
|
readonly type: "uint8";
|
|
12
|
+
readonly internalType: "enum AdapterType";
|
|
31
13
|
}];
|
|
32
14
|
readonly stateMutability: "view";
|
|
33
|
-
readonly type: "function";
|
|
34
15
|
}, {
|
|
35
|
-
readonly
|
|
16
|
+
readonly type: "function";
|
|
36
17
|
readonly name: "_gearboxAdapterVersion";
|
|
18
|
+
readonly inputs: readonly [];
|
|
37
19
|
readonly outputs: readonly [{
|
|
38
|
-
readonly internalType: "uint16";
|
|
39
20
|
readonly name: "";
|
|
40
21
|
readonly type: "uint16";
|
|
22
|
+
readonly internalType: "uint16";
|
|
41
23
|
}];
|
|
42
24
|
readonly stateMutability: "view";
|
|
43
|
-
readonly type: "function";
|
|
44
25
|
}, {
|
|
45
|
-
readonly
|
|
26
|
+
readonly type: "function";
|
|
46
27
|
readonly name: "addressProvider";
|
|
28
|
+
readonly inputs: readonly [];
|
|
47
29
|
readonly outputs: readonly [{
|
|
48
|
-
readonly internalType: "address";
|
|
49
30
|
readonly name: "";
|
|
50
31
|
readonly type: "address";
|
|
32
|
+
readonly internalType: "address";
|
|
51
33
|
}];
|
|
52
34
|
readonly stateMutability: "view";
|
|
53
|
-
readonly type: "function";
|
|
54
35
|
}, {
|
|
36
|
+
readonly type: "function";
|
|
37
|
+
readonly name: "batchSwap";
|
|
55
38
|
readonly inputs: readonly [{
|
|
56
|
-
readonly internalType: "enum SwapKind";
|
|
57
39
|
readonly name: "kind";
|
|
58
40
|
readonly type: "uint8";
|
|
41
|
+
readonly internalType: "enum SwapKind";
|
|
59
42
|
}, {
|
|
43
|
+
readonly name: "swaps";
|
|
44
|
+
readonly type: "tuple[]";
|
|
45
|
+
readonly internalType: "struct BatchSwapStep[]";
|
|
60
46
|
readonly components: readonly [{
|
|
61
|
-
readonly internalType: "bytes32";
|
|
62
47
|
readonly name: "poolId";
|
|
63
48
|
readonly type: "bytes32";
|
|
49
|
+
readonly internalType: "bytes32";
|
|
64
50
|
}, {
|
|
65
|
-
readonly internalType: "uint256";
|
|
66
51
|
readonly name: "assetInIndex";
|
|
67
52
|
readonly type: "uint256";
|
|
68
|
-
}, {
|
|
69
53
|
readonly internalType: "uint256";
|
|
54
|
+
}, {
|
|
70
55
|
readonly name: "assetOutIndex";
|
|
71
56
|
readonly type: "uint256";
|
|
72
|
-
}, {
|
|
73
57
|
readonly internalType: "uint256";
|
|
58
|
+
}, {
|
|
74
59
|
readonly name: "amount";
|
|
75
60
|
readonly type: "uint256";
|
|
61
|
+
readonly internalType: "uint256";
|
|
76
62
|
}, {
|
|
77
|
-
readonly internalType: "bytes";
|
|
78
63
|
readonly name: "userData";
|
|
79
64
|
readonly type: "bytes";
|
|
65
|
+
readonly internalType: "bytes";
|
|
80
66
|
}];
|
|
81
|
-
readonly internalType: "struct BatchSwapStep[]";
|
|
82
|
-
readonly name: "swaps";
|
|
83
|
-
readonly type: "tuple[]";
|
|
84
67
|
}, {
|
|
85
|
-
readonly internalType: "contract IAsset[]";
|
|
86
68
|
readonly name: "assets";
|
|
87
69
|
readonly type: "address[]";
|
|
70
|
+
readonly internalType: "contract IAsset[]";
|
|
88
71
|
}, {
|
|
72
|
+
readonly name: "";
|
|
73
|
+
readonly type: "tuple";
|
|
74
|
+
readonly internalType: "struct FundManagement";
|
|
89
75
|
readonly components: readonly [{
|
|
90
|
-
readonly internalType: "address";
|
|
91
76
|
readonly name: "sender";
|
|
92
77
|
readonly type: "address";
|
|
78
|
+
readonly internalType: "address";
|
|
93
79
|
}, {
|
|
94
|
-
readonly internalType: "bool";
|
|
95
80
|
readonly name: "fromInternalBalance";
|
|
96
81
|
readonly type: "bool";
|
|
82
|
+
readonly internalType: "bool";
|
|
97
83
|
}, {
|
|
98
|
-
readonly internalType: "address payable";
|
|
99
84
|
readonly name: "recipient";
|
|
100
85
|
readonly type: "address";
|
|
86
|
+
readonly internalType: "address payable";
|
|
101
87
|
}, {
|
|
102
|
-
readonly internalType: "bool";
|
|
103
88
|
readonly name: "toInternalBalance";
|
|
104
89
|
readonly type: "bool";
|
|
90
|
+
readonly internalType: "bool";
|
|
105
91
|
}];
|
|
106
|
-
readonly internalType: "struct FundManagement";
|
|
107
|
-
readonly name: "";
|
|
108
|
-
readonly type: "tuple";
|
|
109
92
|
}, {
|
|
110
|
-
readonly internalType: "int256[]";
|
|
111
93
|
readonly name: "limits";
|
|
112
94
|
readonly type: "int256[]";
|
|
95
|
+
readonly internalType: "int256[]";
|
|
113
96
|
}, {
|
|
114
|
-
readonly internalType: "uint256";
|
|
115
97
|
readonly name: "deadline";
|
|
116
98
|
readonly type: "uint256";
|
|
99
|
+
readonly internalType: "uint256";
|
|
117
100
|
}];
|
|
118
|
-
readonly name: "batchSwap";
|
|
119
101
|
readonly outputs: readonly [{
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
102
|
readonly name: "tokensToEnable";
|
|
122
103
|
readonly type: "uint256";
|
|
123
|
-
}, {
|
|
124
104
|
readonly internalType: "uint256";
|
|
105
|
+
}, {
|
|
125
106
|
readonly name: "tokensToDisable";
|
|
126
107
|
readonly type: "uint256";
|
|
108
|
+
readonly internalType: "uint256";
|
|
127
109
|
}];
|
|
128
110
|
readonly stateMutability: "nonpayable";
|
|
129
|
-
readonly type: "function";
|
|
130
111
|
}, {
|
|
131
|
-
readonly
|
|
112
|
+
readonly type: "function";
|
|
132
113
|
readonly name: "creditManager";
|
|
114
|
+
readonly inputs: readonly [];
|
|
133
115
|
readonly outputs: readonly [{
|
|
134
|
-
readonly internalType: "address";
|
|
135
116
|
readonly name: "";
|
|
136
117
|
readonly type: "address";
|
|
118
|
+
readonly internalType: "address";
|
|
137
119
|
}];
|
|
138
120
|
readonly stateMutability: "view";
|
|
139
|
-
readonly type: "function";
|
|
140
121
|
}, {
|
|
122
|
+
readonly type: "function";
|
|
123
|
+
readonly name: "exitPool";
|
|
141
124
|
readonly inputs: readonly [{
|
|
142
|
-
readonly internalType: "bytes32";
|
|
143
125
|
readonly name: "poolId";
|
|
144
126
|
readonly type: "bytes32";
|
|
127
|
+
readonly internalType: "bytes32";
|
|
145
128
|
}, {
|
|
146
|
-
readonly internalType: "address";
|
|
147
129
|
readonly name: "";
|
|
148
130
|
readonly type: "address";
|
|
131
|
+
readonly internalType: "address";
|
|
149
132
|
}, {
|
|
150
|
-
readonly internalType: "address payable";
|
|
151
133
|
readonly name: "";
|
|
152
134
|
readonly type: "address";
|
|
135
|
+
readonly internalType: "address payable";
|
|
153
136
|
}, {
|
|
137
|
+
readonly name: "request";
|
|
138
|
+
readonly type: "tuple";
|
|
139
|
+
readonly internalType: "struct ExitPoolRequest";
|
|
154
140
|
readonly components: readonly [{
|
|
155
|
-
readonly internalType: "contract IAsset[]";
|
|
156
141
|
readonly name: "assets";
|
|
157
142
|
readonly type: "address[]";
|
|
143
|
+
readonly internalType: "contract IAsset[]";
|
|
158
144
|
}, {
|
|
159
|
-
readonly internalType: "uint256[]";
|
|
160
145
|
readonly name: "minAmountsOut";
|
|
161
146
|
readonly type: "uint256[]";
|
|
147
|
+
readonly internalType: "uint256[]";
|
|
162
148
|
}, {
|
|
163
|
-
readonly internalType: "bytes";
|
|
164
149
|
readonly name: "userData";
|
|
165
150
|
readonly type: "bytes";
|
|
151
|
+
readonly internalType: "bytes";
|
|
166
152
|
}, {
|
|
167
|
-
readonly internalType: "bool";
|
|
168
153
|
readonly name: "toInternalBalance";
|
|
169
154
|
readonly type: "bool";
|
|
155
|
+
readonly internalType: "bool";
|
|
170
156
|
}];
|
|
171
|
-
readonly internalType: "struct ExitPoolRequest";
|
|
172
|
-
readonly name: "request";
|
|
173
|
-
readonly type: "tuple";
|
|
174
157
|
}];
|
|
175
|
-
readonly name: "exitPool";
|
|
176
158
|
readonly outputs: readonly [{
|
|
177
|
-
readonly internalType: "uint256";
|
|
178
159
|
readonly name: "tokensToEnable";
|
|
179
160
|
readonly type: "uint256";
|
|
180
|
-
}, {
|
|
181
161
|
readonly internalType: "uint256";
|
|
162
|
+
}, {
|
|
182
163
|
readonly name: "tokensToDisable";
|
|
183
164
|
readonly type: "uint256";
|
|
165
|
+
readonly internalType: "uint256";
|
|
184
166
|
}];
|
|
185
167
|
readonly stateMutability: "nonpayable";
|
|
186
|
-
readonly type: "function";
|
|
187
168
|
}, {
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
readonly name: "exitPoolSingleAsset";
|
|
188
171
|
readonly inputs: readonly [{
|
|
189
|
-
readonly internalType: "bytes32";
|
|
190
172
|
readonly name: "poolId";
|
|
191
173
|
readonly type: "bytes32";
|
|
174
|
+
readonly internalType: "bytes32";
|
|
192
175
|
}, {
|
|
193
|
-
readonly internalType: "contract IAsset";
|
|
194
176
|
readonly name: "assetOut";
|
|
195
177
|
readonly type: "address";
|
|
178
|
+
readonly internalType: "contract IAsset";
|
|
196
179
|
}, {
|
|
197
|
-
readonly internalType: "uint256";
|
|
198
180
|
readonly name: "amountIn";
|
|
199
181
|
readonly type: "uint256";
|
|
200
|
-
}, {
|
|
201
182
|
readonly internalType: "uint256";
|
|
183
|
+
}, {
|
|
202
184
|
readonly name: "minAmountOut";
|
|
203
185
|
readonly type: "uint256";
|
|
186
|
+
readonly internalType: "uint256";
|
|
204
187
|
}];
|
|
205
|
-
readonly name: "exitPoolSingleAsset";
|
|
206
188
|
readonly outputs: readonly [{
|
|
207
|
-
readonly internalType: "uint256";
|
|
208
189
|
readonly name: "tokensToEnable";
|
|
209
190
|
readonly type: "uint256";
|
|
210
|
-
}, {
|
|
211
191
|
readonly internalType: "uint256";
|
|
192
|
+
}, {
|
|
212
193
|
readonly name: "tokensToDisable";
|
|
213
194
|
readonly type: "uint256";
|
|
195
|
+
readonly internalType: "uint256";
|
|
214
196
|
}];
|
|
215
197
|
readonly stateMutability: "nonpayable";
|
|
216
|
-
readonly type: "function";
|
|
217
198
|
}, {
|
|
199
|
+
readonly type: "function";
|
|
200
|
+
readonly name: "exitPoolSingleAssetDiff";
|
|
218
201
|
readonly inputs: readonly [{
|
|
219
|
-
readonly internalType: "bytes32";
|
|
220
202
|
readonly name: "poolId";
|
|
221
203
|
readonly type: "bytes32";
|
|
204
|
+
readonly internalType: "bytes32";
|
|
222
205
|
}, {
|
|
223
|
-
readonly internalType: "contract IAsset";
|
|
224
206
|
readonly name: "assetOut";
|
|
225
207
|
readonly type: "address";
|
|
208
|
+
readonly internalType: "contract IAsset";
|
|
226
209
|
}, {
|
|
227
|
-
readonly internalType: "uint256";
|
|
228
210
|
readonly name: "leftoverAmount";
|
|
229
211
|
readonly type: "uint256";
|
|
230
|
-
}, {
|
|
231
212
|
readonly internalType: "uint256";
|
|
213
|
+
}, {
|
|
232
214
|
readonly name: "minRateRAY";
|
|
233
215
|
readonly type: "uint256";
|
|
216
|
+
readonly internalType: "uint256";
|
|
234
217
|
}];
|
|
235
|
-
readonly name: "exitPoolSingleAssetDiff";
|
|
236
218
|
readonly outputs: readonly [{
|
|
237
|
-
readonly internalType: "uint256";
|
|
238
219
|
readonly name: "tokensToEnable";
|
|
239
220
|
readonly type: "uint256";
|
|
240
|
-
}, {
|
|
241
221
|
readonly internalType: "uint256";
|
|
222
|
+
}, {
|
|
242
223
|
readonly name: "tokensToDisable";
|
|
243
224
|
readonly type: "uint256";
|
|
225
|
+
readonly internalType: "uint256";
|
|
244
226
|
}];
|
|
245
227
|
readonly stateMutability: "nonpayable";
|
|
246
|
-
readonly type: "function";
|
|
247
228
|
}, {
|
|
229
|
+
readonly type: "function";
|
|
230
|
+
readonly name: "joinPool";
|
|
248
231
|
readonly inputs: readonly [{
|
|
249
|
-
readonly internalType: "bytes32";
|
|
250
232
|
readonly name: "poolId";
|
|
251
233
|
readonly type: "bytes32";
|
|
234
|
+
readonly internalType: "bytes32";
|
|
252
235
|
}, {
|
|
253
|
-
readonly internalType: "address";
|
|
254
236
|
readonly name: "";
|
|
255
237
|
readonly type: "address";
|
|
256
|
-
}, {
|
|
257
238
|
readonly internalType: "address";
|
|
239
|
+
}, {
|
|
258
240
|
readonly name: "";
|
|
259
241
|
readonly type: "address";
|
|
242
|
+
readonly internalType: "address";
|
|
260
243
|
}, {
|
|
244
|
+
readonly name: "request";
|
|
245
|
+
readonly type: "tuple";
|
|
246
|
+
readonly internalType: "struct JoinPoolRequest";
|
|
261
247
|
readonly components: readonly [{
|
|
262
|
-
readonly internalType: "contract IAsset[]";
|
|
263
248
|
readonly name: "assets";
|
|
264
249
|
readonly type: "address[]";
|
|
250
|
+
readonly internalType: "contract IAsset[]";
|
|
265
251
|
}, {
|
|
266
|
-
readonly internalType: "uint256[]";
|
|
267
252
|
readonly name: "maxAmountsIn";
|
|
268
253
|
readonly type: "uint256[]";
|
|
254
|
+
readonly internalType: "uint256[]";
|
|
269
255
|
}, {
|
|
270
|
-
readonly internalType: "bytes";
|
|
271
256
|
readonly name: "userData";
|
|
272
257
|
readonly type: "bytes";
|
|
258
|
+
readonly internalType: "bytes";
|
|
273
259
|
}, {
|
|
274
|
-
readonly internalType: "bool";
|
|
275
260
|
readonly name: "fromInternalBalance";
|
|
276
261
|
readonly type: "bool";
|
|
262
|
+
readonly internalType: "bool";
|
|
277
263
|
}];
|
|
278
|
-
readonly internalType: "struct JoinPoolRequest";
|
|
279
|
-
readonly name: "request";
|
|
280
|
-
readonly type: "tuple";
|
|
281
264
|
}];
|
|
282
|
-
readonly name: "joinPool";
|
|
283
265
|
readonly outputs: readonly [{
|
|
284
|
-
readonly internalType: "uint256";
|
|
285
266
|
readonly name: "tokensToEnable";
|
|
286
267
|
readonly type: "uint256";
|
|
287
|
-
}, {
|
|
288
268
|
readonly internalType: "uint256";
|
|
269
|
+
}, {
|
|
289
270
|
readonly name: "tokensToDisable";
|
|
290
271
|
readonly type: "uint256";
|
|
272
|
+
readonly internalType: "uint256";
|
|
291
273
|
}];
|
|
292
274
|
readonly stateMutability: "nonpayable";
|
|
293
|
-
readonly type: "function";
|
|
294
275
|
}, {
|
|
276
|
+
readonly type: "function";
|
|
277
|
+
readonly name: "joinPoolSingleAsset";
|
|
295
278
|
readonly inputs: readonly [{
|
|
296
|
-
readonly internalType: "bytes32";
|
|
297
279
|
readonly name: "poolId";
|
|
298
280
|
readonly type: "bytes32";
|
|
281
|
+
readonly internalType: "bytes32";
|
|
299
282
|
}, {
|
|
300
|
-
readonly internalType: "contract IAsset";
|
|
301
283
|
readonly name: "assetIn";
|
|
302
284
|
readonly type: "address";
|
|
285
|
+
readonly internalType: "contract IAsset";
|
|
303
286
|
}, {
|
|
304
|
-
readonly internalType: "uint256";
|
|
305
287
|
readonly name: "amountIn";
|
|
306
288
|
readonly type: "uint256";
|
|
307
|
-
}, {
|
|
308
289
|
readonly internalType: "uint256";
|
|
290
|
+
}, {
|
|
309
291
|
readonly name: "minAmountOut";
|
|
310
292
|
readonly type: "uint256";
|
|
293
|
+
readonly internalType: "uint256";
|
|
311
294
|
}];
|
|
312
|
-
readonly name: "joinPoolSingleAsset";
|
|
313
295
|
readonly outputs: readonly [{
|
|
314
|
-
readonly internalType: "uint256";
|
|
315
296
|
readonly name: "tokensToEnable";
|
|
316
297
|
readonly type: "uint256";
|
|
317
|
-
}, {
|
|
318
298
|
readonly internalType: "uint256";
|
|
299
|
+
}, {
|
|
319
300
|
readonly name: "tokensToDisable";
|
|
320
301
|
readonly type: "uint256";
|
|
302
|
+
readonly internalType: "uint256";
|
|
321
303
|
}];
|
|
322
304
|
readonly stateMutability: "nonpayable";
|
|
323
|
-
readonly type: "function";
|
|
324
305
|
}, {
|
|
306
|
+
readonly type: "function";
|
|
307
|
+
readonly name: "joinPoolSingleAssetDiff";
|
|
325
308
|
readonly inputs: readonly [{
|
|
326
|
-
readonly internalType: "bytes32";
|
|
327
309
|
readonly name: "poolId";
|
|
328
310
|
readonly type: "bytes32";
|
|
311
|
+
readonly internalType: "bytes32";
|
|
329
312
|
}, {
|
|
330
|
-
readonly internalType: "contract IAsset";
|
|
331
313
|
readonly name: "assetIn";
|
|
332
314
|
readonly type: "address";
|
|
315
|
+
readonly internalType: "contract IAsset";
|
|
333
316
|
}, {
|
|
334
|
-
readonly internalType: "uint256";
|
|
335
317
|
readonly name: "leftoverAmount";
|
|
336
318
|
readonly type: "uint256";
|
|
337
|
-
}, {
|
|
338
319
|
readonly internalType: "uint256";
|
|
320
|
+
}, {
|
|
339
321
|
readonly name: "minRateRAY";
|
|
340
322
|
readonly type: "uint256";
|
|
323
|
+
readonly internalType: "uint256";
|
|
341
324
|
}];
|
|
342
|
-
readonly name: "joinPoolSingleAssetDiff";
|
|
343
325
|
readonly outputs: readonly [{
|
|
344
|
-
readonly internalType: "uint256";
|
|
345
326
|
readonly name: "tokensToEnable";
|
|
346
327
|
readonly type: "uint256";
|
|
347
|
-
}, {
|
|
348
328
|
readonly internalType: "uint256";
|
|
329
|
+
}, {
|
|
349
330
|
readonly name: "tokensToDisable";
|
|
350
331
|
readonly type: "uint256";
|
|
332
|
+
readonly internalType: "uint256";
|
|
351
333
|
}];
|
|
352
334
|
readonly stateMutability: "nonpayable";
|
|
353
|
-
readonly type: "function";
|
|
354
335
|
}, {
|
|
336
|
+
readonly type: "function";
|
|
337
|
+
readonly name: "poolStatus";
|
|
355
338
|
readonly inputs: readonly [{
|
|
356
|
-
readonly internalType: "bytes32";
|
|
357
339
|
readonly name: "poolId";
|
|
358
340
|
readonly type: "bytes32";
|
|
341
|
+
readonly internalType: "bytes32";
|
|
359
342
|
}];
|
|
360
|
-
readonly name: "poolStatus";
|
|
361
343
|
readonly outputs: readonly [{
|
|
362
|
-
readonly internalType: "enum PoolStatus";
|
|
363
344
|
readonly name: "";
|
|
364
345
|
readonly type: "uint8";
|
|
346
|
+
readonly internalType: "enum PoolStatus";
|
|
365
347
|
}];
|
|
366
348
|
readonly stateMutability: "view";
|
|
367
|
-
readonly type: "function";
|
|
368
349
|
}, {
|
|
350
|
+
readonly type: "function";
|
|
351
|
+
readonly name: "setPoolStatus";
|
|
369
352
|
readonly inputs: readonly [{
|
|
370
|
-
readonly internalType: "bytes32";
|
|
371
353
|
readonly name: "poolId";
|
|
372
354
|
readonly type: "bytes32";
|
|
355
|
+
readonly internalType: "bytes32";
|
|
373
356
|
}, {
|
|
374
|
-
readonly internalType: "enum PoolStatus";
|
|
375
357
|
readonly name: "newStatus";
|
|
376
358
|
readonly type: "uint8";
|
|
359
|
+
readonly internalType: "enum PoolStatus";
|
|
377
360
|
}];
|
|
378
|
-
readonly name: "setPoolStatus";
|
|
379
361
|
readonly outputs: readonly [];
|
|
380
362
|
readonly stateMutability: "nonpayable";
|
|
381
|
-
readonly type: "function";
|
|
382
363
|
}, {
|
|
364
|
+
readonly type: "function";
|
|
365
|
+
readonly name: "swap";
|
|
383
366
|
readonly inputs: readonly [{
|
|
367
|
+
readonly name: "singleSwap";
|
|
368
|
+
readonly type: "tuple";
|
|
369
|
+
readonly internalType: "struct SingleSwap";
|
|
384
370
|
readonly components: readonly [{
|
|
385
|
-
readonly internalType: "bytes32";
|
|
386
371
|
readonly name: "poolId";
|
|
387
372
|
readonly type: "bytes32";
|
|
373
|
+
readonly internalType: "bytes32";
|
|
388
374
|
}, {
|
|
389
|
-
readonly internalType: "enum SwapKind";
|
|
390
375
|
readonly name: "kind";
|
|
391
376
|
readonly type: "uint8";
|
|
377
|
+
readonly internalType: "enum SwapKind";
|
|
392
378
|
}, {
|
|
393
|
-
readonly internalType: "contract IAsset";
|
|
394
379
|
readonly name: "assetIn";
|
|
395
380
|
readonly type: "address";
|
|
396
|
-
}, {
|
|
397
381
|
readonly internalType: "contract IAsset";
|
|
382
|
+
}, {
|
|
398
383
|
readonly name: "assetOut";
|
|
399
384
|
readonly type: "address";
|
|
385
|
+
readonly internalType: "contract IAsset";
|
|
400
386
|
}, {
|
|
401
|
-
readonly internalType: "uint256";
|
|
402
387
|
readonly name: "amount";
|
|
403
388
|
readonly type: "uint256";
|
|
389
|
+
readonly internalType: "uint256";
|
|
404
390
|
}, {
|
|
405
|
-
readonly internalType: "bytes";
|
|
406
391
|
readonly name: "userData";
|
|
407
392
|
readonly type: "bytes";
|
|
393
|
+
readonly internalType: "bytes";
|
|
408
394
|
}];
|
|
409
|
-
readonly internalType: "struct SingleSwap";
|
|
410
|
-
readonly name: "singleSwap";
|
|
411
|
-
readonly type: "tuple";
|
|
412
395
|
}, {
|
|
396
|
+
readonly name: "";
|
|
397
|
+
readonly type: "tuple";
|
|
398
|
+
readonly internalType: "struct FundManagement";
|
|
413
399
|
readonly components: readonly [{
|
|
414
|
-
readonly internalType: "address";
|
|
415
400
|
readonly name: "sender";
|
|
416
401
|
readonly type: "address";
|
|
402
|
+
readonly internalType: "address";
|
|
417
403
|
}, {
|
|
418
|
-
readonly internalType: "bool";
|
|
419
404
|
readonly name: "fromInternalBalance";
|
|
420
405
|
readonly type: "bool";
|
|
406
|
+
readonly internalType: "bool";
|
|
421
407
|
}, {
|
|
422
|
-
readonly internalType: "address payable";
|
|
423
408
|
readonly name: "recipient";
|
|
424
409
|
readonly type: "address";
|
|
410
|
+
readonly internalType: "address payable";
|
|
425
411
|
}, {
|
|
426
|
-
readonly internalType: "bool";
|
|
427
412
|
readonly name: "toInternalBalance";
|
|
428
413
|
readonly type: "bool";
|
|
414
|
+
readonly internalType: "bool";
|
|
429
415
|
}];
|
|
430
|
-
readonly internalType: "struct FundManagement";
|
|
431
|
-
readonly name: "";
|
|
432
|
-
readonly type: "tuple";
|
|
433
416
|
}, {
|
|
434
|
-
readonly internalType: "uint256";
|
|
435
417
|
readonly name: "limit";
|
|
436
418
|
readonly type: "uint256";
|
|
437
|
-
}, {
|
|
438
419
|
readonly internalType: "uint256";
|
|
420
|
+
}, {
|
|
439
421
|
readonly name: "deadline";
|
|
440
422
|
readonly type: "uint256";
|
|
423
|
+
readonly internalType: "uint256";
|
|
441
424
|
}];
|
|
442
|
-
readonly name: "swap";
|
|
443
425
|
readonly outputs: readonly [{
|
|
444
|
-
readonly internalType: "uint256";
|
|
445
426
|
readonly name: "tokensToEnable";
|
|
446
427
|
readonly type: "uint256";
|
|
447
|
-
}, {
|
|
448
428
|
readonly internalType: "uint256";
|
|
429
|
+
}, {
|
|
449
430
|
readonly name: "tokensToDisable";
|
|
450
431
|
readonly type: "uint256";
|
|
432
|
+
readonly internalType: "uint256";
|
|
451
433
|
}];
|
|
452
434
|
readonly stateMutability: "nonpayable";
|
|
453
|
-
readonly type: "function";
|
|
454
435
|
}, {
|
|
436
|
+
readonly type: "function";
|
|
437
|
+
readonly name: "swapDiff";
|
|
455
438
|
readonly inputs: readonly [{
|
|
439
|
+
readonly name: "singleSwapDiff";
|
|
440
|
+
readonly type: "tuple";
|
|
441
|
+
readonly internalType: "struct SingleSwapDiff";
|
|
456
442
|
readonly components: readonly [{
|
|
457
|
-
readonly internalType: "bytes32";
|
|
458
443
|
readonly name: "poolId";
|
|
459
444
|
readonly type: "bytes32";
|
|
445
|
+
readonly internalType: "bytes32";
|
|
460
446
|
}, {
|
|
461
|
-
readonly internalType: "uint256";
|
|
462
447
|
readonly name: "leftoverAmount";
|
|
463
448
|
readonly type: "uint256";
|
|
449
|
+
readonly internalType: "uint256";
|
|
464
450
|
}, {
|
|
465
|
-
readonly internalType: "contract IAsset";
|
|
466
451
|
readonly name: "assetIn";
|
|
467
452
|
readonly type: "address";
|
|
468
|
-
}, {
|
|
469
453
|
readonly internalType: "contract IAsset";
|
|
454
|
+
}, {
|
|
470
455
|
readonly name: "assetOut";
|
|
471
456
|
readonly type: "address";
|
|
457
|
+
readonly internalType: "contract IAsset";
|
|
472
458
|
}, {
|
|
473
|
-
readonly internalType: "bytes";
|
|
474
459
|
readonly name: "userData";
|
|
475
460
|
readonly type: "bytes";
|
|
461
|
+
readonly internalType: "bytes";
|
|
476
462
|
}];
|
|
477
|
-
readonly internalType: "struct SingleSwapDiff";
|
|
478
|
-
readonly name: "singleSwapDiff";
|
|
479
|
-
readonly type: "tuple";
|
|
480
463
|
}, {
|
|
481
|
-
readonly internalType: "uint256";
|
|
482
464
|
readonly name: "limitRateRAY";
|
|
483
465
|
readonly type: "uint256";
|
|
484
|
-
}, {
|
|
485
466
|
readonly internalType: "uint256";
|
|
467
|
+
}, {
|
|
486
468
|
readonly name: "deadline";
|
|
487
469
|
readonly type: "uint256";
|
|
470
|
+
readonly internalType: "uint256";
|
|
488
471
|
}];
|
|
489
|
-
readonly name: "swapDiff";
|
|
490
472
|
readonly outputs: readonly [{
|
|
491
|
-
readonly internalType: "uint256";
|
|
492
473
|
readonly name: "tokensToEnable";
|
|
493
474
|
readonly type: "uint256";
|
|
494
|
-
}, {
|
|
495
475
|
readonly internalType: "uint256";
|
|
476
|
+
}, {
|
|
496
477
|
readonly name: "tokensToDisable";
|
|
497
478
|
readonly type: "uint256";
|
|
479
|
+
readonly internalType: "uint256";
|
|
498
480
|
}];
|
|
499
481
|
readonly stateMutability: "nonpayable";
|
|
500
|
-
readonly type: "function";
|
|
501
482
|
}, {
|
|
502
|
-
readonly
|
|
483
|
+
readonly type: "function";
|
|
503
484
|
readonly name: "targetContract";
|
|
485
|
+
readonly inputs: readonly [];
|
|
504
486
|
readonly outputs: readonly [{
|
|
505
|
-
readonly internalType: "address";
|
|
506
487
|
readonly name: "";
|
|
507
488
|
readonly type: "address";
|
|
489
|
+
readonly internalType: "address";
|
|
508
490
|
}];
|
|
509
491
|
readonly stateMutability: "view";
|
|
510
|
-
|
|
492
|
+
}, {
|
|
493
|
+
readonly type: "event";
|
|
494
|
+
readonly name: "SetPoolStatus";
|
|
495
|
+
readonly inputs: readonly [{
|
|
496
|
+
readonly name: "poolId";
|
|
497
|
+
readonly type: "bytes32";
|
|
498
|
+
readonly indexed: true;
|
|
499
|
+
readonly internalType: "bytes32";
|
|
500
|
+
}, {
|
|
501
|
+
readonly name: "newStatus";
|
|
502
|
+
readonly type: "uint8";
|
|
503
|
+
readonly indexed: false;
|
|
504
|
+
readonly internalType: "enum PoolStatus";
|
|
505
|
+
}];
|
|
506
|
+
readonly anonymous: false;
|
|
507
|
+
}, {
|
|
508
|
+
readonly type: "error";
|
|
509
|
+
readonly name: "PoolNotSupportedException";
|
|
510
|
+
readonly inputs: readonly [];
|
|
511
511
|
}];
|
|
512
512
|
static createInterface(): IBalancerV2VaultAdapterInterface;
|
|
513
513
|
static connect(address: string, signerOrProvider: Signer | Provider): IBalancerV2VaultAdapter;
|