@gearbox-protocol/sdk 3.0.0-next.102 → 3.0.0-next.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/core/creditManager.d.ts +1 -0
- package/lib/core/creditManager.js +5 -0
- package/lib/core/strategy.d.ts +5 -7
- package/lib/core/strategy.js +4 -6
- package/lib/index.d.ts +1 -3
- package/lib/index.js +1 -3
- package/lib/parsers/ERC20Parser.js +1 -1
- package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
- package/lib/parsers/abstractParser.d.ts +7 -5
- package/lib/parsers/abstractParser.js +3 -0
- package/lib/parsers/addressProviderParser.js +1 -1
- package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
- package/lib/parsers/balancerV2VaultParser.js +34 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +1 -1
- package/lib/parsers/convexBoosterAdapterParser.js +1 -1
- package/lib/parsers/convextRewardPoolParser.js +1 -1
- package/lib/parsers/creditFacadeParser.js +1 -1
- package/lib/parsers/creditManagerParser.js +1 -1
- package/lib/parsers/curveAdapterParser.js +1 -1
- package/lib/parsers/erc626AdapterParser.d.ts +7 -0
- package/lib/parsers/erc626AdapterParser.js +21 -0
- package/lib/parsers/lidoAdapterParser.js +1 -1
- package/lib/parsers/lidoSTETHParser.js +1 -1
- package/lib/parsers/poolParser.js +1 -1
- package/lib/parsers/priceOracleParser.js +1 -1
- package/lib/parsers/txParser.d.ts +17 -11
- package/lib/parsers/txParser.js +36 -5
- package/lib/parsers/uniV2AdapterParser.js +1 -1
- package/lib/parsers/uniV3AdapterParser.js +1 -1
- package/lib/parsers/wstETHAdapterParser.js +1 -1
- package/lib/parsers/yearnV2AdapterParser.js +1 -1
- package/lib/pathfinder/index.d.ts +4 -0
- package/lib/pathfinder/index.js +20 -0
- package/lib/pathfinder/utils.d.ts +35 -0
- package/lib/pathfinder/utils.js +182 -0
- package/lib/types/contracts/index.d.ts +2 -0
- package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
- package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
- package/lib/types/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/contracts/interfaces/index.js +2 -0
- package/lib/types/factories/AddressProvider__factory.d.ts +111 -111
- package/lib/types/factories/AddressProvider__factory.js +119 -119
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +3 -3
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +3 -3
- package/lib/types/factories/CalldataExtractor__factory.d.ts +34 -34
- package/lib/types/factories/CalldataExtractor__factory.js +37 -37
- package/lib/types/factories/Claimable__factory.d.ts +28 -28
- package/lib/types/factories/Claimable__factory.js +32 -32
- package/lib/types/factories/ERC20__factory.d.ts +89 -89
- package/lib/types/factories/ERC20__factory.js +99 -99
- package/lib/types/factories/Errors__factory.d.ts +99 -99
- package/lib/types/factories/Errors__factory.js +99 -99
- package/lib/types/factories/FarmAccounting__factory.d.ts +6 -6
- package/lib/types/factories/FarmAccounting__factory.js +6 -6
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +42 -42
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +42 -42
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +70 -70
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +70 -70
- package/lib/types/factories/IAdapter__factory.d.ts +15 -15
- package/lib/types/factories/IAdapter__factory.js +15 -15
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +19 -19
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +19 -19
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +106 -106
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +106 -106
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +7 -7
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +7 -7
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +161 -161
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +166 -166
- package/lib/types/factories/IBaseRewardPool__factory.d.ts +114 -114
- package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +38 -38
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +43 -43
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +152 -152
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +170 -170
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +60 -60
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +63 -63
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +3 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +3 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +10 -10
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +51 -51
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +57 -57
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +30 -30
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +30 -30
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +165 -165
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +182 -182
- package/lib/types/factories/IConvexToken__factory.d.ts +86 -86
- package/lib/types/factories/IConvexToken__factory.js +96 -96
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +80 -80
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +80 -80
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +7 -7
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +7 -7
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +62 -62
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +66 -66
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +121 -121
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -23
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -23
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +72 -72
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +80 -80
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +288 -288
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +397 -397
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +59 -59
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +59 -59
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +294 -294
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +297 -297
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
- package/lib/types/factories/ICurvePool__factory.js +159 -159
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +169 -169
- package/lib/types/factories/ICurveV1Adapter__factory.js +169 -169
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/IDaiLikePermit__factory.d.ts +10 -10
- package/lib/types/factories/IDaiLikePermit__factory.js +10 -10
- package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +334 -334
- package/lib/types/factories/IDataCompressorV2_10__factory.js +334 -334
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +454 -454
- package/lib/types/factories/IDataCompressorV3_00__factory.js +454 -454
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +15 -15
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +15 -15
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +8 -8
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +8 -8
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +180 -180
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +208 -208
- package/lib/types/factories/IERC165__factory.d.ts +4 -4
- package/lib/types/factories/IERC165__factory.js +4 -4
- package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
- package/lib/types/factories/IERC20Metadata__factory.js +86 -86
- package/lib/types/factories/IERC20Permit__factory.d.ts +16 -16
- package/lib/types/factories/IERC20Permit__factory.js +16 -16
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +30 -30
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +30 -30
- package/lib/types/factories/IERC20__factory.d.ts +67 -67
- package/lib/types/factories/IERC20__factory.js +77 -77
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +60 -60
- package/lib/types/factories/IERC4626Adapter__factory.js +60 -60
- package/lib/types/factories/IERC4626__factory.d.ts +198 -198
- package/lib/types/factories/IERC4626__factory.js +221 -221
- package/lib/types/factories/IERC721Metadata__factory.d.ts +114 -114
- package/lib/types/factories/IERC721Metadata__factory.js +129 -129
- package/lib/types/factories/IERC721__factory.d.ts +104 -104
- package/lib/types/factories/IERC721__factory.js +119 -119
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +9 -9
- package/lib/types/factories/IETHZapperDeposits__factory.js +9 -9
- package/lib/types/factories/IFarmingPool__factory.d.ts +134 -134
- package/lib/types/factories/IFarmingPool__factory.js +152 -152
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +46 -46
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +50 -50
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +172 -172
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +200 -200
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +48 -48
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +49 -49
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +225 -225
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +253 -253
- package/lib/types/factories/IInterestRateModel__factory.d.ts +8 -8
- package/lib/types/factories/IInterestRateModel__factory.js +8 -8
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +11 -11
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +12 -12
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +10 -10
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +10 -10
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +107 -107
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +119 -119
- package/lib/types/factories/ILidoV1Adapter__factory.d.ts +40 -40
- package/lib/types/factories/ILidoV1Adapter__factory.js +40 -40
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +25 -25
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +25 -25
- package/lib/types/factories/IOffchainOracle__factory.d.ts +11 -11
- package/lib/types/factories/IOffchainOracle__factory.js +11 -11
- package/lib/types/factories/IPermit2__factory.d.ts +33 -33
- package/lib/types/factories/IPermit2__factory.js +33 -33
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +44 -44
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +45 -45
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +190 -190
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +216 -216
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +66 -66
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +574 -574
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +696 -696
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +22 -22
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +22 -22
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +28 -28
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +28 -28
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +7 -7
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +71 -71
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +78 -78
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +68 -68
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +75 -75
- package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
- package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +28 -28
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +31 -31
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +139 -139
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +156 -156
- package/lib/types/factories/IRouterV3__factory.d.ts +178 -178
- package/lib/types/factories/IRouterV3__factory.js +191 -191
- package/lib/types/factories/IRouter__factory.d.ts +159 -159
- package/lib/types/factories/IRouter__factory.js +172 -172
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +78 -78
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +84 -84
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +138 -138
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +145 -145
- package/lib/types/factories/IVersion__factory.d.ts +3 -3
- package/lib/types/factories/IVersion__factory.js +3 -3
- package/lib/types/factories/IVotingContractV3__factory.d.ts +10 -10
- package/lib/types/factories/IVotingContractV3__factory.js +10 -10
- package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
- package/lib/types/factories/IWETHGateway__factory.js +14 -14
- package/lib/types/factories/IWETH__factory.d.ts +102 -102
- package/lib/types/factories/IWETH__factory.js +120 -120
- package/lib/types/factories/IYVault__factory.d.ts +112 -112
- package/lib/types/factories/IYVault__factory.js +122 -122
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +63 -63
- package/lib/types/factories/IYearnV2Adapter__factory.js +63 -63
- package/lib/types/factories/IZapperRegister__factory.d.ts +20 -20
- package/lib/types/factories/IZapperRegister__factory.js +22 -22
- package/lib/types/factories/IZapper__factory.d.ts +34 -34
- package/lib/types/factories/IZapper__factory.js +34 -34
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +44 -44
- package/lib/types/factories/IwstETHV1Adapter__factory.js +44 -44
- package/lib/types/factories/NumericArrayLib__factory.d.ts +2 -2
- package/lib/types/factories/NumericArrayLib__factory.js +2 -2
- package/lib/types/factories/Ownable__factory.d.ts +23 -23
- package/lib/types/factories/Ownable__factory.js +27 -27
- package/lib/types/factories/RedstoneConstants__factory.d.ts +19 -19
- package/lib/types/factories/RedstoneConstants__factory.js +19 -19
- package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +101 -101
- package/lib/types/factories/RedstoneConsumerBase__factory.js +123 -123
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +101 -101
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +123 -123
- package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +8 -8
- package/lib/types/factories/RedstoneDefaultsLib__factory.js +8 -8
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +5 -5
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +5 -5
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +10 -10
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +10 -10
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +193 -193
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +220 -220
- package/lib/types/factories/SafeERC20__factory.d.ts +14 -14
- package/lib/types/factories/SafeERC20__factory.js +14 -14
- package/lib/types/factories/contracts/index.d.ts +1 -0
- package/lib/types/factories/contracts/index.js +30 -0
- package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/factories/contracts/interfaces/index.js +8 -0
- package/lib/types/factories/index.d.ts +2 -1
- package/lib/types/factories/index.js +4 -4
- package/lib/types/factories/{IGasPricer__factory.d.ts → interfaces/IGasPricer__factory.d.ts} +5 -5
- package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
- package/lib/types/factories/interfaces/index.d.ts +1 -0
- package/lib/types/factories/interfaces/index.js +8 -0
- package/lib/types/index.d.ts +18 -14
- package/lib/types/index.js +25 -25
- package/lib/types/{IGasPricer.d.ts → interfaces/IGasPricer.d.ts} +1 -1
- package/lib/types/interfaces/IGasPricer.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/package.json +4 -4
- package/lib/types/{IGasPricer.js → contracts/index.js} +0 -0
- package/lib/types/factories/{IGasPricer__factory.js → contracts/interfaces/IGasPricer__factory.js} +4 -4
|
@@ -7,660 +7,660 @@ exports.IBalancerV2VaultAdapter__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
-
|
|
11
|
-
name: "PoolNotSupportedException",
|
|
12
|
-
type: "error",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
anonymous: false,
|
|
16
|
-
inputs: [
|
|
17
|
-
{
|
|
18
|
-
indexed: true,
|
|
19
|
-
internalType: "bytes32",
|
|
20
|
-
name: "poolId",
|
|
21
|
-
type: "bytes32",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
indexed: false,
|
|
25
|
-
internalType: "enum PoolStatus",
|
|
26
|
-
name: "newStatus",
|
|
27
|
-
type: "uint8",
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
name: "SetPoolStatus",
|
|
31
|
-
type: "event",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
inputs: [],
|
|
10
|
+
type: "function",
|
|
35
11
|
name: "_gearboxAdapterType",
|
|
12
|
+
inputs: [],
|
|
36
13
|
outputs: [
|
|
37
14
|
{
|
|
38
|
-
internalType: "enum AdapterType",
|
|
39
15
|
name: "",
|
|
40
16
|
type: "uint8",
|
|
17
|
+
internalType: "enum AdapterType",
|
|
41
18
|
},
|
|
42
19
|
],
|
|
43
20
|
stateMutability: "view",
|
|
44
|
-
type: "function",
|
|
45
21
|
},
|
|
46
22
|
{
|
|
47
|
-
|
|
23
|
+
type: "function",
|
|
48
24
|
name: "_gearboxAdapterVersion",
|
|
25
|
+
inputs: [],
|
|
49
26
|
outputs: [
|
|
50
27
|
{
|
|
51
|
-
internalType: "uint16",
|
|
52
28
|
name: "",
|
|
53
29
|
type: "uint16",
|
|
30
|
+
internalType: "uint16",
|
|
54
31
|
},
|
|
55
32
|
],
|
|
56
33
|
stateMutability: "view",
|
|
57
|
-
type: "function",
|
|
58
34
|
},
|
|
59
35
|
{
|
|
60
|
-
|
|
36
|
+
type: "function",
|
|
61
37
|
name: "addressProvider",
|
|
38
|
+
inputs: [],
|
|
62
39
|
outputs: [
|
|
63
40
|
{
|
|
64
|
-
internalType: "address",
|
|
65
41
|
name: "",
|
|
66
42
|
type: "address",
|
|
43
|
+
internalType: "address",
|
|
67
44
|
},
|
|
68
45
|
],
|
|
69
46
|
stateMutability: "view",
|
|
70
|
-
type: "function",
|
|
71
47
|
},
|
|
72
48
|
{
|
|
49
|
+
type: "function",
|
|
50
|
+
name: "batchSwap",
|
|
73
51
|
inputs: [
|
|
74
52
|
{
|
|
75
|
-
internalType: "enum SwapKind",
|
|
76
53
|
name: "kind",
|
|
77
54
|
type: "uint8",
|
|
55
|
+
internalType: "enum SwapKind",
|
|
78
56
|
},
|
|
79
57
|
{
|
|
58
|
+
name: "swaps",
|
|
59
|
+
type: "tuple[]",
|
|
60
|
+
internalType: "struct BatchSwapStep[]",
|
|
80
61
|
components: [
|
|
81
62
|
{
|
|
82
|
-
internalType: "bytes32",
|
|
83
63
|
name: "poolId",
|
|
84
64
|
type: "bytes32",
|
|
65
|
+
internalType: "bytes32",
|
|
85
66
|
},
|
|
86
67
|
{
|
|
87
|
-
internalType: "uint256",
|
|
88
68
|
name: "assetInIndex",
|
|
89
69
|
type: "uint256",
|
|
70
|
+
internalType: "uint256",
|
|
90
71
|
},
|
|
91
72
|
{
|
|
92
|
-
internalType: "uint256",
|
|
93
73
|
name: "assetOutIndex",
|
|
94
74
|
type: "uint256",
|
|
75
|
+
internalType: "uint256",
|
|
95
76
|
},
|
|
96
77
|
{
|
|
97
|
-
internalType: "uint256",
|
|
98
78
|
name: "amount",
|
|
99
79
|
type: "uint256",
|
|
80
|
+
internalType: "uint256",
|
|
100
81
|
},
|
|
101
82
|
{
|
|
102
|
-
internalType: "bytes",
|
|
103
83
|
name: "userData",
|
|
104
84
|
type: "bytes",
|
|
85
|
+
internalType: "bytes",
|
|
105
86
|
},
|
|
106
87
|
],
|
|
107
|
-
internalType: "struct BatchSwapStep[]",
|
|
108
|
-
name: "swaps",
|
|
109
|
-
type: "tuple[]",
|
|
110
88
|
},
|
|
111
89
|
{
|
|
112
|
-
internalType: "contract IAsset[]",
|
|
113
90
|
name: "assets",
|
|
114
91
|
type: "address[]",
|
|
92
|
+
internalType: "contract IAsset[]",
|
|
115
93
|
},
|
|
116
94
|
{
|
|
95
|
+
name: "",
|
|
96
|
+
type: "tuple",
|
|
97
|
+
internalType: "struct FundManagement",
|
|
117
98
|
components: [
|
|
118
99
|
{
|
|
119
|
-
internalType: "address",
|
|
120
100
|
name: "sender",
|
|
121
101
|
type: "address",
|
|
102
|
+
internalType: "address",
|
|
122
103
|
},
|
|
123
104
|
{
|
|
124
|
-
internalType: "bool",
|
|
125
105
|
name: "fromInternalBalance",
|
|
126
106
|
type: "bool",
|
|
107
|
+
internalType: "bool",
|
|
127
108
|
},
|
|
128
109
|
{
|
|
129
|
-
internalType: "address payable",
|
|
130
110
|
name: "recipient",
|
|
131
111
|
type: "address",
|
|
112
|
+
internalType: "address payable",
|
|
132
113
|
},
|
|
133
114
|
{
|
|
134
|
-
internalType: "bool",
|
|
135
115
|
name: "toInternalBalance",
|
|
136
116
|
type: "bool",
|
|
117
|
+
internalType: "bool",
|
|
137
118
|
},
|
|
138
119
|
],
|
|
139
|
-
internalType: "struct FundManagement",
|
|
140
|
-
name: "",
|
|
141
|
-
type: "tuple",
|
|
142
120
|
},
|
|
143
121
|
{
|
|
144
|
-
internalType: "int256[]",
|
|
145
122
|
name: "limits",
|
|
146
123
|
type: "int256[]",
|
|
124
|
+
internalType: "int256[]",
|
|
147
125
|
},
|
|
148
126
|
{
|
|
149
|
-
internalType: "uint256",
|
|
150
127
|
name: "deadline",
|
|
151
128
|
type: "uint256",
|
|
129
|
+
internalType: "uint256",
|
|
152
130
|
},
|
|
153
131
|
],
|
|
154
|
-
name: "batchSwap",
|
|
155
132
|
outputs: [
|
|
156
133
|
{
|
|
157
|
-
internalType: "uint256",
|
|
158
134
|
name: "tokensToEnable",
|
|
159
135
|
type: "uint256",
|
|
136
|
+
internalType: "uint256",
|
|
160
137
|
},
|
|
161
138
|
{
|
|
162
|
-
internalType: "uint256",
|
|
163
139
|
name: "tokensToDisable",
|
|
164
140
|
type: "uint256",
|
|
141
|
+
internalType: "uint256",
|
|
165
142
|
},
|
|
166
143
|
],
|
|
167
144
|
stateMutability: "nonpayable",
|
|
168
|
-
type: "function",
|
|
169
145
|
},
|
|
170
146
|
{
|
|
171
|
-
|
|
147
|
+
type: "function",
|
|
172
148
|
name: "creditManager",
|
|
149
|
+
inputs: [],
|
|
173
150
|
outputs: [
|
|
174
151
|
{
|
|
175
|
-
internalType: "address",
|
|
176
152
|
name: "",
|
|
177
153
|
type: "address",
|
|
154
|
+
internalType: "address",
|
|
178
155
|
},
|
|
179
156
|
],
|
|
180
157
|
stateMutability: "view",
|
|
181
|
-
type: "function",
|
|
182
158
|
},
|
|
183
159
|
{
|
|
160
|
+
type: "function",
|
|
161
|
+
name: "exitPool",
|
|
184
162
|
inputs: [
|
|
185
163
|
{
|
|
186
|
-
internalType: "bytes32",
|
|
187
164
|
name: "poolId",
|
|
188
165
|
type: "bytes32",
|
|
166
|
+
internalType: "bytes32",
|
|
189
167
|
},
|
|
190
168
|
{
|
|
191
|
-
internalType: "address",
|
|
192
169
|
name: "",
|
|
193
170
|
type: "address",
|
|
171
|
+
internalType: "address",
|
|
194
172
|
},
|
|
195
173
|
{
|
|
196
|
-
internalType: "address payable",
|
|
197
174
|
name: "",
|
|
198
175
|
type: "address",
|
|
176
|
+
internalType: "address payable",
|
|
199
177
|
},
|
|
200
178
|
{
|
|
179
|
+
name: "request",
|
|
180
|
+
type: "tuple",
|
|
181
|
+
internalType: "struct ExitPoolRequest",
|
|
201
182
|
components: [
|
|
202
183
|
{
|
|
203
|
-
internalType: "contract IAsset[]",
|
|
204
184
|
name: "assets",
|
|
205
185
|
type: "address[]",
|
|
186
|
+
internalType: "contract IAsset[]",
|
|
206
187
|
},
|
|
207
188
|
{
|
|
208
|
-
internalType: "uint256[]",
|
|
209
189
|
name: "minAmountsOut",
|
|
210
190
|
type: "uint256[]",
|
|
191
|
+
internalType: "uint256[]",
|
|
211
192
|
},
|
|
212
193
|
{
|
|
213
|
-
internalType: "bytes",
|
|
214
194
|
name: "userData",
|
|
215
195
|
type: "bytes",
|
|
196
|
+
internalType: "bytes",
|
|
216
197
|
},
|
|
217
198
|
{
|
|
218
|
-
internalType: "bool",
|
|
219
199
|
name: "toInternalBalance",
|
|
220
200
|
type: "bool",
|
|
201
|
+
internalType: "bool",
|
|
221
202
|
},
|
|
222
203
|
],
|
|
223
|
-
internalType: "struct ExitPoolRequest",
|
|
224
|
-
name: "request",
|
|
225
|
-
type: "tuple",
|
|
226
204
|
},
|
|
227
205
|
],
|
|
228
|
-
name: "exitPool",
|
|
229
206
|
outputs: [
|
|
230
207
|
{
|
|
231
|
-
internalType: "uint256",
|
|
232
208
|
name: "tokensToEnable",
|
|
233
209
|
type: "uint256",
|
|
210
|
+
internalType: "uint256",
|
|
234
211
|
},
|
|
235
212
|
{
|
|
236
|
-
internalType: "uint256",
|
|
237
213
|
name: "tokensToDisable",
|
|
238
214
|
type: "uint256",
|
|
215
|
+
internalType: "uint256",
|
|
239
216
|
},
|
|
240
217
|
],
|
|
241
218
|
stateMutability: "nonpayable",
|
|
242
|
-
type: "function",
|
|
243
219
|
},
|
|
244
220
|
{
|
|
221
|
+
type: "function",
|
|
222
|
+
name: "exitPoolSingleAsset",
|
|
245
223
|
inputs: [
|
|
246
224
|
{
|
|
247
|
-
internalType: "bytes32",
|
|
248
225
|
name: "poolId",
|
|
249
226
|
type: "bytes32",
|
|
227
|
+
internalType: "bytes32",
|
|
250
228
|
},
|
|
251
229
|
{
|
|
252
|
-
internalType: "contract IAsset",
|
|
253
230
|
name: "assetOut",
|
|
254
231
|
type: "address",
|
|
232
|
+
internalType: "contract IAsset",
|
|
255
233
|
},
|
|
256
234
|
{
|
|
257
|
-
internalType: "uint256",
|
|
258
235
|
name: "amountIn",
|
|
259
236
|
type: "uint256",
|
|
237
|
+
internalType: "uint256",
|
|
260
238
|
},
|
|
261
239
|
{
|
|
262
|
-
internalType: "uint256",
|
|
263
240
|
name: "minAmountOut",
|
|
264
241
|
type: "uint256",
|
|
242
|
+
internalType: "uint256",
|
|
265
243
|
},
|
|
266
244
|
],
|
|
267
|
-
name: "exitPoolSingleAsset",
|
|
268
245
|
outputs: [
|
|
269
246
|
{
|
|
270
|
-
internalType: "uint256",
|
|
271
247
|
name: "tokensToEnable",
|
|
272
248
|
type: "uint256",
|
|
249
|
+
internalType: "uint256",
|
|
273
250
|
},
|
|
274
251
|
{
|
|
275
|
-
internalType: "uint256",
|
|
276
252
|
name: "tokensToDisable",
|
|
277
253
|
type: "uint256",
|
|
254
|
+
internalType: "uint256",
|
|
278
255
|
},
|
|
279
256
|
],
|
|
280
257
|
stateMutability: "nonpayable",
|
|
281
|
-
type: "function",
|
|
282
258
|
},
|
|
283
259
|
{
|
|
260
|
+
type: "function",
|
|
261
|
+
name: "exitPoolSingleAssetDiff",
|
|
284
262
|
inputs: [
|
|
285
263
|
{
|
|
286
|
-
internalType: "bytes32",
|
|
287
264
|
name: "poolId",
|
|
288
265
|
type: "bytes32",
|
|
266
|
+
internalType: "bytes32",
|
|
289
267
|
},
|
|
290
268
|
{
|
|
291
|
-
internalType: "contract IAsset",
|
|
292
269
|
name: "assetOut",
|
|
293
270
|
type: "address",
|
|
271
|
+
internalType: "contract IAsset",
|
|
294
272
|
},
|
|
295
273
|
{
|
|
296
|
-
internalType: "uint256",
|
|
297
274
|
name: "leftoverAmount",
|
|
298
275
|
type: "uint256",
|
|
276
|
+
internalType: "uint256",
|
|
299
277
|
},
|
|
300
278
|
{
|
|
301
|
-
internalType: "uint256",
|
|
302
279
|
name: "minRateRAY",
|
|
303
280
|
type: "uint256",
|
|
281
|
+
internalType: "uint256",
|
|
304
282
|
},
|
|
305
283
|
],
|
|
306
|
-
name: "exitPoolSingleAssetDiff",
|
|
307
284
|
outputs: [
|
|
308
285
|
{
|
|
309
|
-
internalType: "uint256",
|
|
310
286
|
name: "tokensToEnable",
|
|
311
287
|
type: "uint256",
|
|
288
|
+
internalType: "uint256",
|
|
312
289
|
},
|
|
313
290
|
{
|
|
314
|
-
internalType: "uint256",
|
|
315
291
|
name: "tokensToDisable",
|
|
316
292
|
type: "uint256",
|
|
293
|
+
internalType: "uint256",
|
|
317
294
|
},
|
|
318
295
|
],
|
|
319
296
|
stateMutability: "nonpayable",
|
|
320
|
-
type: "function",
|
|
321
297
|
},
|
|
322
298
|
{
|
|
299
|
+
type: "function",
|
|
300
|
+
name: "joinPool",
|
|
323
301
|
inputs: [
|
|
324
302
|
{
|
|
325
|
-
internalType: "bytes32",
|
|
326
303
|
name: "poolId",
|
|
327
304
|
type: "bytes32",
|
|
305
|
+
internalType: "bytes32",
|
|
328
306
|
},
|
|
329
307
|
{
|
|
330
|
-
internalType: "address",
|
|
331
308
|
name: "",
|
|
332
309
|
type: "address",
|
|
310
|
+
internalType: "address",
|
|
333
311
|
},
|
|
334
312
|
{
|
|
335
|
-
internalType: "address",
|
|
336
313
|
name: "",
|
|
337
314
|
type: "address",
|
|
315
|
+
internalType: "address",
|
|
338
316
|
},
|
|
339
317
|
{
|
|
318
|
+
name: "request",
|
|
319
|
+
type: "tuple",
|
|
320
|
+
internalType: "struct JoinPoolRequest",
|
|
340
321
|
components: [
|
|
341
322
|
{
|
|
342
|
-
internalType: "contract IAsset[]",
|
|
343
323
|
name: "assets",
|
|
344
324
|
type: "address[]",
|
|
325
|
+
internalType: "contract IAsset[]",
|
|
345
326
|
},
|
|
346
327
|
{
|
|
347
|
-
internalType: "uint256[]",
|
|
348
328
|
name: "maxAmountsIn",
|
|
349
329
|
type: "uint256[]",
|
|
330
|
+
internalType: "uint256[]",
|
|
350
331
|
},
|
|
351
332
|
{
|
|
352
|
-
internalType: "bytes",
|
|
353
333
|
name: "userData",
|
|
354
334
|
type: "bytes",
|
|
335
|
+
internalType: "bytes",
|
|
355
336
|
},
|
|
356
337
|
{
|
|
357
|
-
internalType: "bool",
|
|
358
338
|
name: "fromInternalBalance",
|
|
359
339
|
type: "bool",
|
|
340
|
+
internalType: "bool",
|
|
360
341
|
},
|
|
361
342
|
],
|
|
362
|
-
internalType: "struct JoinPoolRequest",
|
|
363
|
-
name: "request",
|
|
364
|
-
type: "tuple",
|
|
365
343
|
},
|
|
366
344
|
],
|
|
367
|
-
name: "joinPool",
|
|
368
345
|
outputs: [
|
|
369
346
|
{
|
|
370
|
-
internalType: "uint256",
|
|
371
347
|
name: "tokensToEnable",
|
|
372
348
|
type: "uint256",
|
|
349
|
+
internalType: "uint256",
|
|
373
350
|
},
|
|
374
351
|
{
|
|
375
|
-
internalType: "uint256",
|
|
376
352
|
name: "tokensToDisable",
|
|
377
353
|
type: "uint256",
|
|
354
|
+
internalType: "uint256",
|
|
378
355
|
},
|
|
379
356
|
],
|
|
380
357
|
stateMutability: "nonpayable",
|
|
381
|
-
type: "function",
|
|
382
358
|
},
|
|
383
359
|
{
|
|
360
|
+
type: "function",
|
|
361
|
+
name: "joinPoolSingleAsset",
|
|
384
362
|
inputs: [
|
|
385
363
|
{
|
|
386
|
-
internalType: "bytes32",
|
|
387
364
|
name: "poolId",
|
|
388
365
|
type: "bytes32",
|
|
366
|
+
internalType: "bytes32",
|
|
389
367
|
},
|
|
390
368
|
{
|
|
391
|
-
internalType: "contract IAsset",
|
|
392
369
|
name: "assetIn",
|
|
393
370
|
type: "address",
|
|
371
|
+
internalType: "contract IAsset",
|
|
394
372
|
},
|
|
395
373
|
{
|
|
396
|
-
internalType: "uint256",
|
|
397
374
|
name: "amountIn",
|
|
398
375
|
type: "uint256",
|
|
376
|
+
internalType: "uint256",
|
|
399
377
|
},
|
|
400
378
|
{
|
|
401
|
-
internalType: "uint256",
|
|
402
379
|
name: "minAmountOut",
|
|
403
380
|
type: "uint256",
|
|
381
|
+
internalType: "uint256",
|
|
404
382
|
},
|
|
405
383
|
],
|
|
406
|
-
name: "joinPoolSingleAsset",
|
|
407
384
|
outputs: [
|
|
408
385
|
{
|
|
409
|
-
internalType: "uint256",
|
|
410
386
|
name: "tokensToEnable",
|
|
411
387
|
type: "uint256",
|
|
388
|
+
internalType: "uint256",
|
|
412
389
|
},
|
|
413
390
|
{
|
|
414
|
-
internalType: "uint256",
|
|
415
391
|
name: "tokensToDisable",
|
|
416
392
|
type: "uint256",
|
|
393
|
+
internalType: "uint256",
|
|
417
394
|
},
|
|
418
395
|
],
|
|
419
396
|
stateMutability: "nonpayable",
|
|
420
|
-
type: "function",
|
|
421
397
|
},
|
|
422
398
|
{
|
|
399
|
+
type: "function",
|
|
400
|
+
name: "joinPoolSingleAssetDiff",
|
|
423
401
|
inputs: [
|
|
424
402
|
{
|
|
425
|
-
internalType: "bytes32",
|
|
426
403
|
name: "poolId",
|
|
427
404
|
type: "bytes32",
|
|
405
|
+
internalType: "bytes32",
|
|
428
406
|
},
|
|
429
407
|
{
|
|
430
|
-
internalType: "contract IAsset",
|
|
431
408
|
name: "assetIn",
|
|
432
409
|
type: "address",
|
|
410
|
+
internalType: "contract IAsset",
|
|
433
411
|
},
|
|
434
412
|
{
|
|
435
|
-
internalType: "uint256",
|
|
436
413
|
name: "leftoverAmount",
|
|
437
414
|
type: "uint256",
|
|
415
|
+
internalType: "uint256",
|
|
438
416
|
},
|
|
439
417
|
{
|
|
440
|
-
internalType: "uint256",
|
|
441
418
|
name: "minRateRAY",
|
|
442
419
|
type: "uint256",
|
|
420
|
+
internalType: "uint256",
|
|
443
421
|
},
|
|
444
422
|
],
|
|
445
|
-
name: "joinPoolSingleAssetDiff",
|
|
446
423
|
outputs: [
|
|
447
424
|
{
|
|
448
|
-
internalType: "uint256",
|
|
449
425
|
name: "tokensToEnable",
|
|
450
426
|
type: "uint256",
|
|
427
|
+
internalType: "uint256",
|
|
451
428
|
},
|
|
452
429
|
{
|
|
453
|
-
internalType: "uint256",
|
|
454
430
|
name: "tokensToDisable",
|
|
455
431
|
type: "uint256",
|
|
432
|
+
internalType: "uint256",
|
|
456
433
|
},
|
|
457
434
|
],
|
|
458
435
|
stateMutability: "nonpayable",
|
|
459
|
-
type: "function",
|
|
460
436
|
},
|
|
461
437
|
{
|
|
438
|
+
type: "function",
|
|
439
|
+
name: "poolStatus",
|
|
462
440
|
inputs: [
|
|
463
441
|
{
|
|
464
|
-
internalType: "bytes32",
|
|
465
442
|
name: "poolId",
|
|
466
443
|
type: "bytes32",
|
|
444
|
+
internalType: "bytes32",
|
|
467
445
|
},
|
|
468
446
|
],
|
|
469
|
-
name: "poolStatus",
|
|
470
447
|
outputs: [
|
|
471
448
|
{
|
|
472
|
-
internalType: "enum PoolStatus",
|
|
473
449
|
name: "",
|
|
474
450
|
type: "uint8",
|
|
451
|
+
internalType: "enum PoolStatus",
|
|
475
452
|
},
|
|
476
453
|
],
|
|
477
454
|
stateMutability: "view",
|
|
478
|
-
type: "function",
|
|
479
455
|
},
|
|
480
456
|
{
|
|
457
|
+
type: "function",
|
|
458
|
+
name: "setPoolStatus",
|
|
481
459
|
inputs: [
|
|
482
460
|
{
|
|
483
|
-
internalType: "bytes32",
|
|
484
461
|
name: "poolId",
|
|
485
462
|
type: "bytes32",
|
|
463
|
+
internalType: "bytes32",
|
|
486
464
|
},
|
|
487
465
|
{
|
|
488
|
-
internalType: "enum PoolStatus",
|
|
489
466
|
name: "newStatus",
|
|
490
467
|
type: "uint8",
|
|
468
|
+
internalType: "enum PoolStatus",
|
|
491
469
|
},
|
|
492
470
|
],
|
|
493
|
-
name: "setPoolStatus",
|
|
494
471
|
outputs: [],
|
|
495
472
|
stateMutability: "nonpayable",
|
|
496
|
-
type: "function",
|
|
497
473
|
},
|
|
498
474
|
{
|
|
475
|
+
type: "function",
|
|
476
|
+
name: "swap",
|
|
499
477
|
inputs: [
|
|
500
478
|
{
|
|
479
|
+
name: "singleSwap",
|
|
480
|
+
type: "tuple",
|
|
481
|
+
internalType: "struct SingleSwap",
|
|
501
482
|
components: [
|
|
502
483
|
{
|
|
503
|
-
internalType: "bytes32",
|
|
504
484
|
name: "poolId",
|
|
505
485
|
type: "bytes32",
|
|
486
|
+
internalType: "bytes32",
|
|
506
487
|
},
|
|
507
488
|
{
|
|
508
|
-
internalType: "enum SwapKind",
|
|
509
489
|
name: "kind",
|
|
510
490
|
type: "uint8",
|
|
491
|
+
internalType: "enum SwapKind",
|
|
511
492
|
},
|
|
512
493
|
{
|
|
513
|
-
internalType: "contract IAsset",
|
|
514
494
|
name: "assetIn",
|
|
515
495
|
type: "address",
|
|
496
|
+
internalType: "contract IAsset",
|
|
516
497
|
},
|
|
517
498
|
{
|
|
518
|
-
internalType: "contract IAsset",
|
|
519
499
|
name: "assetOut",
|
|
520
500
|
type: "address",
|
|
501
|
+
internalType: "contract IAsset",
|
|
521
502
|
},
|
|
522
503
|
{
|
|
523
|
-
internalType: "uint256",
|
|
524
504
|
name: "amount",
|
|
525
505
|
type: "uint256",
|
|
506
|
+
internalType: "uint256",
|
|
526
507
|
},
|
|
527
508
|
{
|
|
528
|
-
internalType: "bytes",
|
|
529
509
|
name: "userData",
|
|
530
510
|
type: "bytes",
|
|
511
|
+
internalType: "bytes",
|
|
531
512
|
},
|
|
532
513
|
],
|
|
533
|
-
internalType: "struct SingleSwap",
|
|
534
|
-
name: "singleSwap",
|
|
535
|
-
type: "tuple",
|
|
536
514
|
},
|
|
537
515
|
{
|
|
516
|
+
name: "",
|
|
517
|
+
type: "tuple",
|
|
518
|
+
internalType: "struct FundManagement",
|
|
538
519
|
components: [
|
|
539
520
|
{
|
|
540
|
-
internalType: "address",
|
|
541
521
|
name: "sender",
|
|
542
522
|
type: "address",
|
|
523
|
+
internalType: "address",
|
|
543
524
|
},
|
|
544
525
|
{
|
|
545
|
-
internalType: "bool",
|
|
546
526
|
name: "fromInternalBalance",
|
|
547
527
|
type: "bool",
|
|
528
|
+
internalType: "bool",
|
|
548
529
|
},
|
|
549
530
|
{
|
|
550
|
-
internalType: "address payable",
|
|
551
531
|
name: "recipient",
|
|
552
532
|
type: "address",
|
|
533
|
+
internalType: "address payable",
|
|
553
534
|
},
|
|
554
535
|
{
|
|
555
|
-
internalType: "bool",
|
|
556
536
|
name: "toInternalBalance",
|
|
557
537
|
type: "bool",
|
|
538
|
+
internalType: "bool",
|
|
558
539
|
},
|
|
559
540
|
],
|
|
560
|
-
internalType: "struct FundManagement",
|
|
561
|
-
name: "",
|
|
562
|
-
type: "tuple",
|
|
563
541
|
},
|
|
564
542
|
{
|
|
565
|
-
internalType: "uint256",
|
|
566
543
|
name: "limit",
|
|
567
544
|
type: "uint256",
|
|
545
|
+
internalType: "uint256",
|
|
568
546
|
},
|
|
569
547
|
{
|
|
570
|
-
internalType: "uint256",
|
|
571
548
|
name: "deadline",
|
|
572
549
|
type: "uint256",
|
|
550
|
+
internalType: "uint256",
|
|
573
551
|
},
|
|
574
552
|
],
|
|
575
|
-
name: "swap",
|
|
576
553
|
outputs: [
|
|
577
554
|
{
|
|
578
|
-
internalType: "uint256",
|
|
579
555
|
name: "tokensToEnable",
|
|
580
556
|
type: "uint256",
|
|
557
|
+
internalType: "uint256",
|
|
581
558
|
},
|
|
582
559
|
{
|
|
583
|
-
internalType: "uint256",
|
|
584
560
|
name: "tokensToDisable",
|
|
585
561
|
type: "uint256",
|
|
562
|
+
internalType: "uint256",
|
|
586
563
|
},
|
|
587
564
|
],
|
|
588
565
|
stateMutability: "nonpayable",
|
|
589
|
-
type: "function",
|
|
590
566
|
},
|
|
591
567
|
{
|
|
568
|
+
type: "function",
|
|
569
|
+
name: "swapDiff",
|
|
592
570
|
inputs: [
|
|
593
571
|
{
|
|
572
|
+
name: "singleSwapDiff",
|
|
573
|
+
type: "tuple",
|
|
574
|
+
internalType: "struct SingleSwapDiff",
|
|
594
575
|
components: [
|
|
595
576
|
{
|
|
596
|
-
internalType: "bytes32",
|
|
597
577
|
name: "poolId",
|
|
598
578
|
type: "bytes32",
|
|
579
|
+
internalType: "bytes32",
|
|
599
580
|
},
|
|
600
581
|
{
|
|
601
|
-
internalType: "uint256",
|
|
602
582
|
name: "leftoverAmount",
|
|
603
583
|
type: "uint256",
|
|
584
|
+
internalType: "uint256",
|
|
604
585
|
},
|
|
605
586
|
{
|
|
606
|
-
internalType: "contract IAsset",
|
|
607
587
|
name: "assetIn",
|
|
608
588
|
type: "address",
|
|
589
|
+
internalType: "contract IAsset",
|
|
609
590
|
},
|
|
610
591
|
{
|
|
611
|
-
internalType: "contract IAsset",
|
|
612
592
|
name: "assetOut",
|
|
613
593
|
type: "address",
|
|
594
|
+
internalType: "contract IAsset",
|
|
614
595
|
},
|
|
615
596
|
{
|
|
616
|
-
internalType: "bytes",
|
|
617
597
|
name: "userData",
|
|
618
598
|
type: "bytes",
|
|
599
|
+
internalType: "bytes",
|
|
619
600
|
},
|
|
620
601
|
],
|
|
621
|
-
internalType: "struct SingleSwapDiff",
|
|
622
|
-
name: "singleSwapDiff",
|
|
623
|
-
type: "tuple",
|
|
624
602
|
},
|
|
625
603
|
{
|
|
626
|
-
internalType: "uint256",
|
|
627
604
|
name: "limitRateRAY",
|
|
628
605
|
type: "uint256",
|
|
606
|
+
internalType: "uint256",
|
|
629
607
|
},
|
|
630
608
|
{
|
|
631
|
-
internalType: "uint256",
|
|
632
609
|
name: "deadline",
|
|
633
610
|
type: "uint256",
|
|
611
|
+
internalType: "uint256",
|
|
634
612
|
},
|
|
635
613
|
],
|
|
636
|
-
name: "swapDiff",
|
|
637
614
|
outputs: [
|
|
638
615
|
{
|
|
639
|
-
internalType: "uint256",
|
|
640
616
|
name: "tokensToEnable",
|
|
641
617
|
type: "uint256",
|
|
618
|
+
internalType: "uint256",
|
|
642
619
|
},
|
|
643
620
|
{
|
|
644
|
-
internalType: "uint256",
|
|
645
621
|
name: "tokensToDisable",
|
|
646
622
|
type: "uint256",
|
|
623
|
+
internalType: "uint256",
|
|
647
624
|
},
|
|
648
625
|
],
|
|
649
626
|
stateMutability: "nonpayable",
|
|
650
|
-
type: "function",
|
|
651
627
|
},
|
|
652
628
|
{
|
|
653
|
-
|
|
629
|
+
type: "function",
|
|
654
630
|
name: "targetContract",
|
|
631
|
+
inputs: [],
|
|
655
632
|
outputs: [
|
|
656
633
|
{
|
|
657
|
-
internalType: "address",
|
|
658
634
|
name: "",
|
|
659
635
|
type: "address",
|
|
636
|
+
internalType: "address",
|
|
660
637
|
},
|
|
661
638
|
],
|
|
662
639
|
stateMutability: "view",
|
|
663
|
-
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
type: "event",
|
|
643
|
+
name: "SetPoolStatus",
|
|
644
|
+
inputs: [
|
|
645
|
+
{
|
|
646
|
+
name: "poolId",
|
|
647
|
+
type: "bytes32",
|
|
648
|
+
indexed: true,
|
|
649
|
+
internalType: "bytes32",
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
name: "newStatus",
|
|
653
|
+
type: "uint8",
|
|
654
|
+
indexed: false,
|
|
655
|
+
internalType: "enum PoolStatus",
|
|
656
|
+
},
|
|
657
|
+
],
|
|
658
|
+
anonymous: false,
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
type: "error",
|
|
662
|
+
name: "PoolNotSupportedException",
|
|
663
|
+
inputs: [],
|
|
664
664
|
},
|
|
665
665
|
];
|
|
666
666
|
class IBalancerV2VaultAdapter__factory {
|