@gearbox-protocol/sdk 3.0.0-next.102 → 3.0.0-next.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/core/creditManager.d.ts +1 -0
- package/lib/core/creditManager.js +5 -0
- package/lib/core/strategy.d.ts +5 -7
- package/lib/core/strategy.js +4 -6
- package/lib/index.d.ts +1 -3
- package/lib/index.js +1 -3
- package/lib/parsers/ERC20Parser.js +1 -1
- package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
- package/lib/parsers/abstractParser.d.ts +7 -5
- package/lib/parsers/abstractParser.js +3 -0
- package/lib/parsers/addressProviderParser.js +1 -1
- package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
- package/lib/parsers/balancerV2VaultParser.js +34 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +1 -1
- package/lib/parsers/convexBoosterAdapterParser.js +1 -1
- package/lib/parsers/convextRewardPoolParser.js +1 -1
- package/lib/parsers/creditFacadeParser.js +1 -1
- package/lib/parsers/creditManagerParser.js +1 -1
- package/lib/parsers/curveAdapterParser.js +1 -1
- package/lib/parsers/erc626AdapterParser.d.ts +7 -0
- package/lib/parsers/erc626AdapterParser.js +21 -0
- package/lib/parsers/lidoAdapterParser.js +1 -1
- package/lib/parsers/lidoSTETHParser.js +1 -1
- package/lib/parsers/poolParser.js +1 -1
- package/lib/parsers/priceOracleParser.js +1 -1
- package/lib/parsers/txParser.d.ts +17 -11
- package/lib/parsers/txParser.js +36 -5
- package/lib/parsers/uniV2AdapterParser.js +1 -1
- package/lib/parsers/uniV3AdapterParser.js +1 -1
- package/lib/parsers/wstETHAdapterParser.js +1 -1
- package/lib/parsers/yearnV2AdapterParser.js +1 -1
- package/lib/pathfinder/index.d.ts +4 -0
- package/lib/pathfinder/index.js +20 -0
- package/lib/pathfinder/utils.d.ts +35 -0
- package/lib/pathfinder/utils.js +182 -0
- package/lib/types/contracts/index.d.ts +2 -0
- package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
- package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
- package/lib/types/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/contracts/interfaces/index.js +2 -0
- package/lib/types/factories/AddressProvider__factory.d.ts +111 -111
- package/lib/types/factories/AddressProvider__factory.js +119 -119
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +3 -3
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +3 -3
- package/lib/types/factories/CalldataExtractor__factory.d.ts +34 -34
- package/lib/types/factories/CalldataExtractor__factory.js +37 -37
- package/lib/types/factories/Claimable__factory.d.ts +28 -28
- package/lib/types/factories/Claimable__factory.js +32 -32
- package/lib/types/factories/ERC20__factory.d.ts +89 -89
- package/lib/types/factories/ERC20__factory.js +99 -99
- package/lib/types/factories/Errors__factory.d.ts +99 -99
- package/lib/types/factories/Errors__factory.js +99 -99
- package/lib/types/factories/FarmAccounting__factory.d.ts +6 -6
- package/lib/types/factories/FarmAccounting__factory.js +6 -6
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +42 -42
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +42 -42
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +70 -70
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +70 -70
- package/lib/types/factories/IAdapter__factory.d.ts +15 -15
- package/lib/types/factories/IAdapter__factory.js +15 -15
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +19 -19
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +19 -19
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +106 -106
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +106 -106
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +7 -7
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +7 -7
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +161 -161
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +166 -166
- package/lib/types/factories/IBaseRewardPool__factory.d.ts +114 -114
- package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +38 -38
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +43 -43
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +152 -152
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +170 -170
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +60 -60
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +63 -63
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +3 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +3 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +10 -10
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +51 -51
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +57 -57
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +30 -30
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +30 -30
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +165 -165
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +182 -182
- package/lib/types/factories/IConvexToken__factory.d.ts +86 -86
- package/lib/types/factories/IConvexToken__factory.js +96 -96
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +80 -80
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +80 -80
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +7 -7
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +7 -7
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +62 -62
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +66 -66
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +121 -121
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -23
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -23
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +72 -72
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +80 -80
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +288 -288
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +397 -397
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +59 -59
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +59 -59
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +294 -294
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +297 -297
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
- package/lib/types/factories/ICurvePool__factory.js +159 -159
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +169 -169
- package/lib/types/factories/ICurveV1Adapter__factory.js +169 -169
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/IDaiLikePermit__factory.d.ts +10 -10
- package/lib/types/factories/IDaiLikePermit__factory.js +10 -10
- package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +334 -334
- package/lib/types/factories/IDataCompressorV2_10__factory.js +334 -334
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +454 -454
- package/lib/types/factories/IDataCompressorV3_00__factory.js +454 -454
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +15 -15
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +15 -15
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +8 -8
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +8 -8
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +180 -180
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +208 -208
- package/lib/types/factories/IERC165__factory.d.ts +4 -4
- package/lib/types/factories/IERC165__factory.js +4 -4
- package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
- package/lib/types/factories/IERC20Metadata__factory.js +86 -86
- package/lib/types/factories/IERC20Permit__factory.d.ts +16 -16
- package/lib/types/factories/IERC20Permit__factory.js +16 -16
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +30 -30
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +30 -30
- package/lib/types/factories/IERC20__factory.d.ts +67 -67
- package/lib/types/factories/IERC20__factory.js +77 -77
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +60 -60
- package/lib/types/factories/IERC4626Adapter__factory.js +60 -60
- package/lib/types/factories/IERC4626__factory.d.ts +198 -198
- package/lib/types/factories/IERC4626__factory.js +221 -221
- package/lib/types/factories/IERC721Metadata__factory.d.ts +114 -114
- package/lib/types/factories/IERC721Metadata__factory.js +129 -129
- package/lib/types/factories/IERC721__factory.d.ts +104 -104
- package/lib/types/factories/IERC721__factory.js +119 -119
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +9 -9
- package/lib/types/factories/IETHZapperDeposits__factory.js +9 -9
- package/lib/types/factories/IFarmingPool__factory.d.ts +134 -134
- package/lib/types/factories/IFarmingPool__factory.js +152 -152
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +46 -46
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +50 -50
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +172 -172
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +200 -200
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +48 -48
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +49 -49
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +225 -225
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +253 -253
- package/lib/types/factories/IInterestRateModel__factory.d.ts +8 -8
- package/lib/types/factories/IInterestRateModel__factory.js +8 -8
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +11 -11
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +12 -12
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +10 -10
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +10 -10
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +107 -107
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +119 -119
- package/lib/types/factories/ILidoV1Adapter__factory.d.ts +40 -40
- package/lib/types/factories/ILidoV1Adapter__factory.js +40 -40
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +25 -25
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +25 -25
- package/lib/types/factories/IOffchainOracle__factory.d.ts +11 -11
- package/lib/types/factories/IOffchainOracle__factory.js +11 -11
- package/lib/types/factories/IPermit2__factory.d.ts +33 -33
- package/lib/types/factories/IPermit2__factory.js +33 -33
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +44 -44
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +45 -45
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +190 -190
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +216 -216
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +66 -66
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +574 -574
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +696 -696
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +22 -22
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +22 -22
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +28 -28
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +28 -28
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +7 -7
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +71 -71
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +78 -78
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +68 -68
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +75 -75
- package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
- package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +28 -28
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +31 -31
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +139 -139
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +156 -156
- package/lib/types/factories/IRouterV3__factory.d.ts +178 -178
- package/lib/types/factories/IRouterV3__factory.js +191 -191
- package/lib/types/factories/IRouter__factory.d.ts +159 -159
- package/lib/types/factories/IRouter__factory.js +172 -172
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +78 -78
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +84 -84
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +138 -138
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +145 -145
- package/lib/types/factories/IVersion__factory.d.ts +3 -3
- package/lib/types/factories/IVersion__factory.js +3 -3
- package/lib/types/factories/IVotingContractV3__factory.d.ts +10 -10
- package/lib/types/factories/IVotingContractV3__factory.js +10 -10
- package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
- package/lib/types/factories/IWETHGateway__factory.js +14 -14
- package/lib/types/factories/IWETH__factory.d.ts +102 -102
- package/lib/types/factories/IWETH__factory.js +120 -120
- package/lib/types/factories/IYVault__factory.d.ts +112 -112
- package/lib/types/factories/IYVault__factory.js +122 -122
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +63 -63
- package/lib/types/factories/IYearnV2Adapter__factory.js +63 -63
- package/lib/types/factories/IZapperRegister__factory.d.ts +20 -20
- package/lib/types/factories/IZapperRegister__factory.js +22 -22
- package/lib/types/factories/IZapper__factory.d.ts +34 -34
- package/lib/types/factories/IZapper__factory.js +34 -34
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +44 -44
- package/lib/types/factories/IwstETHV1Adapter__factory.js +44 -44
- package/lib/types/factories/NumericArrayLib__factory.d.ts +2 -2
- package/lib/types/factories/NumericArrayLib__factory.js +2 -2
- package/lib/types/factories/Ownable__factory.d.ts +23 -23
- package/lib/types/factories/Ownable__factory.js +27 -27
- package/lib/types/factories/RedstoneConstants__factory.d.ts +19 -19
- package/lib/types/factories/RedstoneConstants__factory.js +19 -19
- package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +101 -101
- package/lib/types/factories/RedstoneConsumerBase__factory.js +123 -123
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +101 -101
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +123 -123
- package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +8 -8
- package/lib/types/factories/RedstoneDefaultsLib__factory.js +8 -8
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +5 -5
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +5 -5
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +10 -10
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +10 -10
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +193 -193
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +220 -220
- package/lib/types/factories/SafeERC20__factory.d.ts +14 -14
- package/lib/types/factories/SafeERC20__factory.js +14 -14
- package/lib/types/factories/contracts/index.d.ts +1 -0
- package/lib/types/factories/contracts/index.js +30 -0
- package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/factories/contracts/interfaces/index.js +8 -0
- package/lib/types/factories/index.d.ts +2 -1
- package/lib/types/factories/index.js +4 -4
- package/lib/types/factories/{IGasPricer__factory.d.ts → interfaces/IGasPricer__factory.d.ts} +5 -5
- package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
- package/lib/types/factories/interfaces/index.d.ts +1 -0
- package/lib/types/factories/interfaces/index.js +8 -0
- package/lib/types/index.d.ts +18 -14
- package/lib/types/index.js +25 -25
- package/lib/types/{IGasPricer.d.ts → interfaces/IGasPricer.d.ts} +1 -1
- package/lib/types/interfaces/IGasPricer.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/package.json +4 -4
- package/lib/types/{IGasPricer.js → contracts/index.js} +0 -0
- package/lib/types/factories/{IGasPricer__factory.js → contracts/interfaces/IGasPricer__factory.js} +4 -4
|
@@ -3,357 +3,357 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IBalancerV2Vault, IBalancerV2VaultInterface } from "../../IBalancerV2Vault.sol/IBalancerV2Vault";
|
|
4
4
|
export declare class IBalancerV2Vault__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "batchSwap";
|
|
6
8
|
readonly inputs: readonly [{
|
|
7
|
-
readonly internalType: "enum SwapKind";
|
|
8
9
|
readonly name: "kind";
|
|
9
10
|
readonly type: "uint8";
|
|
11
|
+
readonly internalType: "enum SwapKind";
|
|
10
12
|
}, {
|
|
13
|
+
readonly name: "swaps";
|
|
14
|
+
readonly type: "tuple[]";
|
|
15
|
+
readonly internalType: "struct BatchSwapStep[]";
|
|
11
16
|
readonly components: readonly [{
|
|
12
|
-
readonly internalType: "bytes32";
|
|
13
17
|
readonly name: "poolId";
|
|
14
18
|
readonly type: "bytes32";
|
|
19
|
+
readonly internalType: "bytes32";
|
|
15
20
|
}, {
|
|
16
|
-
readonly internalType: "uint256";
|
|
17
21
|
readonly name: "assetInIndex";
|
|
18
22
|
readonly type: "uint256";
|
|
19
|
-
}, {
|
|
20
23
|
readonly internalType: "uint256";
|
|
24
|
+
}, {
|
|
21
25
|
readonly name: "assetOutIndex";
|
|
22
26
|
readonly type: "uint256";
|
|
23
|
-
}, {
|
|
24
27
|
readonly internalType: "uint256";
|
|
28
|
+
}, {
|
|
25
29
|
readonly name: "amount";
|
|
26
30
|
readonly type: "uint256";
|
|
31
|
+
readonly internalType: "uint256";
|
|
27
32
|
}, {
|
|
28
|
-
readonly internalType: "bytes";
|
|
29
33
|
readonly name: "userData";
|
|
30
34
|
readonly type: "bytes";
|
|
35
|
+
readonly internalType: "bytes";
|
|
31
36
|
}];
|
|
32
|
-
readonly internalType: "struct BatchSwapStep[]";
|
|
33
|
-
readonly name: "swaps";
|
|
34
|
-
readonly type: "tuple[]";
|
|
35
37
|
}, {
|
|
36
|
-
readonly internalType: "contract IAsset[]";
|
|
37
38
|
readonly name: "assets";
|
|
38
39
|
readonly type: "address[]";
|
|
40
|
+
readonly internalType: "contract IAsset[]";
|
|
39
41
|
}, {
|
|
42
|
+
readonly name: "funds";
|
|
43
|
+
readonly type: "tuple";
|
|
44
|
+
readonly internalType: "struct FundManagement";
|
|
40
45
|
readonly components: readonly [{
|
|
41
|
-
readonly internalType: "address";
|
|
42
46
|
readonly name: "sender";
|
|
43
47
|
readonly type: "address";
|
|
48
|
+
readonly internalType: "address";
|
|
44
49
|
}, {
|
|
45
|
-
readonly internalType: "bool";
|
|
46
50
|
readonly name: "fromInternalBalance";
|
|
47
51
|
readonly type: "bool";
|
|
52
|
+
readonly internalType: "bool";
|
|
48
53
|
}, {
|
|
49
|
-
readonly internalType: "address payable";
|
|
50
54
|
readonly name: "recipient";
|
|
51
55
|
readonly type: "address";
|
|
56
|
+
readonly internalType: "address payable";
|
|
52
57
|
}, {
|
|
53
|
-
readonly internalType: "bool";
|
|
54
58
|
readonly name: "toInternalBalance";
|
|
55
59
|
readonly type: "bool";
|
|
60
|
+
readonly internalType: "bool";
|
|
56
61
|
}];
|
|
57
|
-
readonly internalType: "struct FundManagement";
|
|
58
|
-
readonly name: "funds";
|
|
59
|
-
readonly type: "tuple";
|
|
60
62
|
}, {
|
|
61
|
-
readonly internalType: "int256[]";
|
|
62
63
|
readonly name: "limits";
|
|
63
64
|
readonly type: "int256[]";
|
|
65
|
+
readonly internalType: "int256[]";
|
|
64
66
|
}, {
|
|
65
|
-
readonly internalType: "uint256";
|
|
66
67
|
readonly name: "deadline";
|
|
67
68
|
readonly type: "uint256";
|
|
69
|
+
readonly internalType: "uint256";
|
|
68
70
|
}];
|
|
69
|
-
readonly name: "batchSwap";
|
|
70
71
|
readonly outputs: readonly [{
|
|
71
|
-
readonly internalType: "int256[]";
|
|
72
72
|
readonly name: "assetDeltas";
|
|
73
73
|
readonly type: "int256[]";
|
|
74
|
+
readonly internalType: "int256[]";
|
|
74
75
|
}];
|
|
75
76
|
readonly stateMutability: "nonpayable";
|
|
76
|
-
readonly type: "function";
|
|
77
77
|
}, {
|
|
78
|
+
readonly type: "function";
|
|
79
|
+
readonly name: "exitPool";
|
|
78
80
|
readonly inputs: readonly [{
|
|
79
|
-
readonly internalType: "bytes32";
|
|
80
81
|
readonly name: "poolId";
|
|
81
82
|
readonly type: "bytes32";
|
|
83
|
+
readonly internalType: "bytes32";
|
|
82
84
|
}, {
|
|
83
|
-
readonly internalType: "address";
|
|
84
85
|
readonly name: "sender";
|
|
85
86
|
readonly type: "address";
|
|
87
|
+
readonly internalType: "address";
|
|
86
88
|
}, {
|
|
87
|
-
readonly internalType: "address payable";
|
|
88
89
|
readonly name: "recipient";
|
|
89
90
|
readonly type: "address";
|
|
91
|
+
readonly internalType: "address payable";
|
|
90
92
|
}, {
|
|
93
|
+
readonly name: "request";
|
|
94
|
+
readonly type: "tuple";
|
|
95
|
+
readonly internalType: "struct ExitPoolRequest";
|
|
91
96
|
readonly components: readonly [{
|
|
92
|
-
readonly internalType: "contract IAsset[]";
|
|
93
97
|
readonly name: "assets";
|
|
94
98
|
readonly type: "address[]";
|
|
99
|
+
readonly internalType: "contract IAsset[]";
|
|
95
100
|
}, {
|
|
96
|
-
readonly internalType: "uint256[]";
|
|
97
101
|
readonly name: "minAmountsOut";
|
|
98
102
|
readonly type: "uint256[]";
|
|
103
|
+
readonly internalType: "uint256[]";
|
|
99
104
|
}, {
|
|
100
|
-
readonly internalType: "bytes";
|
|
101
105
|
readonly name: "userData";
|
|
102
106
|
readonly type: "bytes";
|
|
107
|
+
readonly internalType: "bytes";
|
|
103
108
|
}, {
|
|
104
|
-
readonly internalType: "bool";
|
|
105
109
|
readonly name: "toInternalBalance";
|
|
106
110
|
readonly type: "bool";
|
|
111
|
+
readonly internalType: "bool";
|
|
107
112
|
}];
|
|
108
|
-
readonly internalType: "struct ExitPoolRequest";
|
|
109
|
-
readonly name: "request";
|
|
110
|
-
readonly type: "tuple";
|
|
111
113
|
}];
|
|
112
|
-
readonly name: "exitPool";
|
|
113
114
|
readonly outputs: readonly [];
|
|
114
115
|
readonly stateMutability: "nonpayable";
|
|
115
|
-
readonly type: "function";
|
|
116
116
|
}, {
|
|
117
|
+
readonly type: "function";
|
|
118
|
+
readonly name: "getPool";
|
|
117
119
|
readonly inputs: readonly [{
|
|
118
|
-
readonly internalType: "bytes32";
|
|
119
120
|
readonly name: "poolId";
|
|
120
121
|
readonly type: "bytes32";
|
|
122
|
+
readonly internalType: "bytes32";
|
|
121
123
|
}];
|
|
122
|
-
readonly name: "getPool";
|
|
123
124
|
readonly outputs: readonly [{
|
|
124
|
-
readonly internalType: "address";
|
|
125
125
|
readonly name: "";
|
|
126
126
|
readonly type: "address";
|
|
127
|
+
readonly internalType: "address";
|
|
127
128
|
}, {
|
|
128
|
-
readonly internalType: "enum PoolSpecialization";
|
|
129
129
|
readonly name: "";
|
|
130
130
|
readonly type: "uint8";
|
|
131
|
+
readonly internalType: "enum PoolSpecialization";
|
|
131
132
|
}];
|
|
132
133
|
readonly stateMutability: "view";
|
|
133
|
-
readonly type: "function";
|
|
134
134
|
}, {
|
|
135
|
+
readonly type: "function";
|
|
136
|
+
readonly name: "getPoolTokenInfo";
|
|
135
137
|
readonly inputs: readonly [{
|
|
136
|
-
readonly internalType: "bytes32";
|
|
137
138
|
readonly name: "poolId";
|
|
138
139
|
readonly type: "bytes32";
|
|
140
|
+
readonly internalType: "bytes32";
|
|
139
141
|
}, {
|
|
140
|
-
readonly internalType: "contract IERC20";
|
|
141
142
|
readonly name: "token";
|
|
142
143
|
readonly type: "address";
|
|
144
|
+
readonly internalType: "contract IERC20";
|
|
143
145
|
}];
|
|
144
|
-
readonly name: "getPoolTokenInfo";
|
|
145
146
|
readonly outputs: readonly [{
|
|
146
|
-
readonly internalType: "uint256";
|
|
147
147
|
readonly name: "cash";
|
|
148
148
|
readonly type: "uint256";
|
|
149
|
-
}, {
|
|
150
149
|
readonly internalType: "uint256";
|
|
150
|
+
}, {
|
|
151
151
|
readonly name: "managed";
|
|
152
152
|
readonly type: "uint256";
|
|
153
|
-
}, {
|
|
154
153
|
readonly internalType: "uint256";
|
|
154
|
+
}, {
|
|
155
155
|
readonly name: "lastChangeBlock";
|
|
156
156
|
readonly type: "uint256";
|
|
157
|
+
readonly internalType: "uint256";
|
|
157
158
|
}, {
|
|
158
|
-
readonly internalType: "address";
|
|
159
159
|
readonly name: "assetManager";
|
|
160
160
|
readonly type: "address";
|
|
161
|
+
readonly internalType: "address";
|
|
161
162
|
}];
|
|
162
163
|
readonly stateMutability: "view";
|
|
163
|
-
readonly type: "function";
|
|
164
164
|
}, {
|
|
165
|
+
readonly type: "function";
|
|
166
|
+
readonly name: "getPoolTokens";
|
|
165
167
|
readonly inputs: readonly [{
|
|
166
|
-
readonly internalType: "bytes32";
|
|
167
168
|
readonly name: "poolId";
|
|
168
169
|
readonly type: "bytes32";
|
|
170
|
+
readonly internalType: "bytes32";
|
|
169
171
|
}];
|
|
170
|
-
readonly name: "getPoolTokens";
|
|
171
172
|
readonly outputs: readonly [{
|
|
172
|
-
readonly internalType: "contract IERC20[]";
|
|
173
173
|
readonly name: "tokens";
|
|
174
174
|
readonly type: "address[]";
|
|
175
|
+
readonly internalType: "contract IERC20[]";
|
|
175
176
|
}, {
|
|
176
|
-
readonly internalType: "uint256[]";
|
|
177
177
|
readonly name: "balances";
|
|
178
178
|
readonly type: "uint256[]";
|
|
179
|
+
readonly internalType: "uint256[]";
|
|
179
180
|
}, {
|
|
180
|
-
readonly internalType: "uint256";
|
|
181
181
|
readonly name: "lastChangeBlock";
|
|
182
182
|
readonly type: "uint256";
|
|
183
|
+
readonly internalType: "uint256";
|
|
183
184
|
}];
|
|
184
185
|
readonly stateMutability: "view";
|
|
185
|
-
readonly type: "function";
|
|
186
186
|
}, {
|
|
187
|
+
readonly type: "function";
|
|
188
|
+
readonly name: "joinPool";
|
|
187
189
|
readonly inputs: readonly [{
|
|
188
|
-
readonly internalType: "bytes32";
|
|
189
190
|
readonly name: "poolId";
|
|
190
191
|
readonly type: "bytes32";
|
|
192
|
+
readonly internalType: "bytes32";
|
|
191
193
|
}, {
|
|
192
|
-
readonly internalType: "address";
|
|
193
194
|
readonly name: "sender";
|
|
194
195
|
readonly type: "address";
|
|
195
|
-
}, {
|
|
196
196
|
readonly internalType: "address";
|
|
197
|
+
}, {
|
|
197
198
|
readonly name: "recipient";
|
|
198
199
|
readonly type: "address";
|
|
200
|
+
readonly internalType: "address";
|
|
199
201
|
}, {
|
|
202
|
+
readonly name: "request";
|
|
203
|
+
readonly type: "tuple";
|
|
204
|
+
readonly internalType: "struct JoinPoolRequest";
|
|
200
205
|
readonly components: readonly [{
|
|
201
|
-
readonly internalType: "contract IAsset[]";
|
|
202
206
|
readonly name: "assets";
|
|
203
207
|
readonly type: "address[]";
|
|
208
|
+
readonly internalType: "contract IAsset[]";
|
|
204
209
|
}, {
|
|
205
|
-
readonly internalType: "uint256[]";
|
|
206
210
|
readonly name: "maxAmountsIn";
|
|
207
211
|
readonly type: "uint256[]";
|
|
212
|
+
readonly internalType: "uint256[]";
|
|
208
213
|
}, {
|
|
209
|
-
readonly internalType: "bytes";
|
|
210
214
|
readonly name: "userData";
|
|
211
215
|
readonly type: "bytes";
|
|
216
|
+
readonly internalType: "bytes";
|
|
212
217
|
}, {
|
|
213
|
-
readonly internalType: "bool";
|
|
214
218
|
readonly name: "fromInternalBalance";
|
|
215
219
|
readonly type: "bool";
|
|
220
|
+
readonly internalType: "bool";
|
|
216
221
|
}];
|
|
217
|
-
readonly internalType: "struct JoinPoolRequest";
|
|
218
|
-
readonly name: "request";
|
|
219
|
-
readonly type: "tuple";
|
|
220
222
|
}];
|
|
221
|
-
readonly name: "joinPool";
|
|
222
223
|
readonly outputs: readonly [];
|
|
223
224
|
readonly stateMutability: "nonpayable";
|
|
224
|
-
readonly type: "function";
|
|
225
225
|
}, {
|
|
226
|
+
readonly type: "function";
|
|
227
|
+
readonly name: "queryBatchSwap";
|
|
226
228
|
readonly inputs: readonly [{
|
|
227
|
-
readonly internalType: "enum SwapKind";
|
|
228
229
|
readonly name: "kind";
|
|
229
230
|
readonly type: "uint8";
|
|
231
|
+
readonly internalType: "enum SwapKind";
|
|
230
232
|
}, {
|
|
233
|
+
readonly name: "swaps";
|
|
234
|
+
readonly type: "tuple[]";
|
|
235
|
+
readonly internalType: "struct BatchSwapStep[]";
|
|
231
236
|
readonly components: readonly [{
|
|
232
|
-
readonly internalType: "bytes32";
|
|
233
237
|
readonly name: "poolId";
|
|
234
238
|
readonly type: "bytes32";
|
|
239
|
+
readonly internalType: "bytes32";
|
|
235
240
|
}, {
|
|
236
|
-
readonly internalType: "uint256";
|
|
237
241
|
readonly name: "assetInIndex";
|
|
238
242
|
readonly type: "uint256";
|
|
239
|
-
}, {
|
|
240
243
|
readonly internalType: "uint256";
|
|
244
|
+
}, {
|
|
241
245
|
readonly name: "assetOutIndex";
|
|
242
246
|
readonly type: "uint256";
|
|
243
|
-
}, {
|
|
244
247
|
readonly internalType: "uint256";
|
|
248
|
+
}, {
|
|
245
249
|
readonly name: "amount";
|
|
246
250
|
readonly type: "uint256";
|
|
251
|
+
readonly internalType: "uint256";
|
|
247
252
|
}, {
|
|
248
|
-
readonly internalType: "bytes";
|
|
249
253
|
readonly name: "userData";
|
|
250
254
|
readonly type: "bytes";
|
|
255
|
+
readonly internalType: "bytes";
|
|
251
256
|
}];
|
|
252
|
-
readonly internalType: "struct BatchSwapStep[]";
|
|
253
|
-
readonly name: "swaps";
|
|
254
|
-
readonly type: "tuple[]";
|
|
255
257
|
}, {
|
|
256
|
-
readonly internalType: "contract IAsset[]";
|
|
257
258
|
readonly name: "assets";
|
|
258
259
|
readonly type: "address[]";
|
|
260
|
+
readonly internalType: "contract IAsset[]";
|
|
259
261
|
}, {
|
|
262
|
+
readonly name: "funds";
|
|
263
|
+
readonly type: "tuple";
|
|
264
|
+
readonly internalType: "struct FundManagement";
|
|
260
265
|
readonly components: readonly [{
|
|
261
|
-
readonly internalType: "address";
|
|
262
266
|
readonly name: "sender";
|
|
263
267
|
readonly type: "address";
|
|
268
|
+
readonly internalType: "address";
|
|
264
269
|
}, {
|
|
265
|
-
readonly internalType: "bool";
|
|
266
270
|
readonly name: "fromInternalBalance";
|
|
267
271
|
readonly type: "bool";
|
|
272
|
+
readonly internalType: "bool";
|
|
268
273
|
}, {
|
|
269
|
-
readonly internalType: "address payable";
|
|
270
274
|
readonly name: "recipient";
|
|
271
275
|
readonly type: "address";
|
|
276
|
+
readonly internalType: "address payable";
|
|
272
277
|
}, {
|
|
273
|
-
readonly internalType: "bool";
|
|
274
278
|
readonly name: "toInternalBalance";
|
|
275
279
|
readonly type: "bool";
|
|
280
|
+
readonly internalType: "bool";
|
|
276
281
|
}];
|
|
277
|
-
readonly internalType: "struct FundManagement";
|
|
278
|
-
readonly name: "funds";
|
|
279
|
-
readonly type: "tuple";
|
|
280
282
|
}];
|
|
281
|
-
readonly name: "queryBatchSwap";
|
|
282
283
|
readonly outputs: readonly [{
|
|
283
|
-
readonly internalType: "int256[]";
|
|
284
284
|
readonly name: "assetDeltas";
|
|
285
285
|
readonly type: "int256[]";
|
|
286
|
+
readonly internalType: "int256[]";
|
|
286
287
|
}];
|
|
287
288
|
readonly stateMutability: "nonpayable";
|
|
288
|
-
readonly type: "function";
|
|
289
289
|
}, {
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
readonly name: "swap";
|
|
290
292
|
readonly inputs: readonly [{
|
|
293
|
+
readonly name: "singleSwap";
|
|
294
|
+
readonly type: "tuple";
|
|
295
|
+
readonly internalType: "struct SingleSwap";
|
|
291
296
|
readonly components: readonly [{
|
|
292
|
-
readonly internalType: "bytes32";
|
|
293
297
|
readonly name: "poolId";
|
|
294
298
|
readonly type: "bytes32";
|
|
299
|
+
readonly internalType: "bytes32";
|
|
295
300
|
}, {
|
|
296
|
-
readonly internalType: "enum SwapKind";
|
|
297
301
|
readonly name: "kind";
|
|
298
302
|
readonly type: "uint8";
|
|
303
|
+
readonly internalType: "enum SwapKind";
|
|
299
304
|
}, {
|
|
300
|
-
readonly internalType: "contract IAsset";
|
|
301
305
|
readonly name: "assetIn";
|
|
302
306
|
readonly type: "address";
|
|
303
|
-
}, {
|
|
304
307
|
readonly internalType: "contract IAsset";
|
|
308
|
+
}, {
|
|
305
309
|
readonly name: "assetOut";
|
|
306
310
|
readonly type: "address";
|
|
311
|
+
readonly internalType: "contract IAsset";
|
|
307
312
|
}, {
|
|
308
|
-
readonly internalType: "uint256";
|
|
309
313
|
readonly name: "amount";
|
|
310
314
|
readonly type: "uint256";
|
|
315
|
+
readonly internalType: "uint256";
|
|
311
316
|
}, {
|
|
312
|
-
readonly internalType: "bytes";
|
|
313
317
|
readonly name: "userData";
|
|
314
318
|
readonly type: "bytes";
|
|
319
|
+
readonly internalType: "bytes";
|
|
315
320
|
}];
|
|
316
|
-
readonly internalType: "struct SingleSwap";
|
|
317
|
-
readonly name: "singleSwap";
|
|
318
|
-
readonly type: "tuple";
|
|
319
321
|
}, {
|
|
322
|
+
readonly name: "funds";
|
|
323
|
+
readonly type: "tuple";
|
|
324
|
+
readonly internalType: "struct FundManagement";
|
|
320
325
|
readonly components: readonly [{
|
|
321
|
-
readonly internalType: "address";
|
|
322
326
|
readonly name: "sender";
|
|
323
327
|
readonly type: "address";
|
|
328
|
+
readonly internalType: "address";
|
|
324
329
|
}, {
|
|
325
|
-
readonly internalType: "bool";
|
|
326
330
|
readonly name: "fromInternalBalance";
|
|
327
331
|
readonly type: "bool";
|
|
332
|
+
readonly internalType: "bool";
|
|
328
333
|
}, {
|
|
329
|
-
readonly internalType: "address payable";
|
|
330
334
|
readonly name: "recipient";
|
|
331
335
|
readonly type: "address";
|
|
336
|
+
readonly internalType: "address payable";
|
|
332
337
|
}, {
|
|
333
|
-
readonly internalType: "bool";
|
|
334
338
|
readonly name: "toInternalBalance";
|
|
335
339
|
readonly type: "bool";
|
|
340
|
+
readonly internalType: "bool";
|
|
336
341
|
}];
|
|
337
|
-
readonly internalType: "struct FundManagement";
|
|
338
|
-
readonly name: "funds";
|
|
339
|
-
readonly type: "tuple";
|
|
340
342
|
}, {
|
|
341
|
-
readonly internalType: "uint256";
|
|
342
343
|
readonly name: "limit";
|
|
343
344
|
readonly type: "uint256";
|
|
344
|
-
}, {
|
|
345
345
|
readonly internalType: "uint256";
|
|
346
|
+
}, {
|
|
346
347
|
readonly name: "deadline";
|
|
347
348
|
readonly type: "uint256";
|
|
349
|
+
readonly internalType: "uint256";
|
|
348
350
|
}];
|
|
349
|
-
readonly name: "swap";
|
|
350
351
|
readonly outputs: readonly [{
|
|
351
|
-
readonly internalType: "uint256";
|
|
352
352
|
readonly name: "amountCalculated";
|
|
353
353
|
readonly type: "uint256";
|
|
354
|
+
readonly internalType: "uint256";
|
|
354
355
|
}];
|
|
355
356
|
readonly stateMutability: "nonpayable";
|
|
356
|
-
readonly type: "function";
|
|
357
357
|
}];
|
|
358
358
|
static createInterface(): IBalancerV2VaultInterface;
|
|
359
359
|
static connect(address: string, signerOrProvider: Signer | Provider): IBalancerV2Vault;
|