@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,280 +7,280 @@ exports.IUniswapV2Adapter__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
-
|
|
11
|
-
name: "InvalidPathException",
|
|
12
|
-
type: "error",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
anonymous: false,
|
|
16
|
-
inputs: [
|
|
17
|
-
{
|
|
18
|
-
indexed: true,
|
|
19
|
-
internalType: "address",
|
|
20
|
-
name: "token0",
|
|
21
|
-
type: "address",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
indexed: true,
|
|
25
|
-
internalType: "address",
|
|
26
|
-
name: "token1",
|
|
27
|
-
type: "address",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
indexed: false,
|
|
31
|
-
internalType: "bool",
|
|
32
|
-
name: "allowed",
|
|
33
|
-
type: "bool",
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
name: "SetPairStatus",
|
|
37
|
-
type: "event",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
inputs: [],
|
|
10
|
+
type: "function",
|
|
41
11
|
name: "_gearboxAdapterType",
|
|
12
|
+
inputs: [],
|
|
42
13
|
outputs: [
|
|
43
14
|
{
|
|
44
|
-
internalType: "enum AdapterType",
|
|
45
15
|
name: "",
|
|
46
16
|
type: "uint8",
|
|
17
|
+
internalType: "enum AdapterType",
|
|
47
18
|
},
|
|
48
19
|
],
|
|
49
20
|
stateMutability: "view",
|
|
50
|
-
type: "function",
|
|
51
21
|
},
|
|
52
22
|
{
|
|
53
|
-
|
|
23
|
+
type: "function",
|
|
54
24
|
name: "_gearboxAdapterVersion",
|
|
25
|
+
inputs: [],
|
|
55
26
|
outputs: [
|
|
56
27
|
{
|
|
57
|
-
internalType: "uint16",
|
|
58
28
|
name: "",
|
|
59
29
|
type: "uint16",
|
|
30
|
+
internalType: "uint16",
|
|
60
31
|
},
|
|
61
32
|
],
|
|
62
33
|
stateMutability: "view",
|
|
63
|
-
type: "function",
|
|
64
34
|
},
|
|
65
35
|
{
|
|
66
|
-
|
|
36
|
+
type: "function",
|
|
67
37
|
name: "addressProvider",
|
|
38
|
+
inputs: [],
|
|
68
39
|
outputs: [
|
|
69
40
|
{
|
|
70
|
-
internalType: "address",
|
|
71
41
|
name: "",
|
|
72
42
|
type: "address",
|
|
43
|
+
internalType: "address",
|
|
73
44
|
},
|
|
74
45
|
],
|
|
75
46
|
stateMutability: "view",
|
|
76
|
-
type: "function",
|
|
77
47
|
},
|
|
78
48
|
{
|
|
79
|
-
|
|
49
|
+
type: "function",
|
|
80
50
|
name: "creditManager",
|
|
51
|
+
inputs: [],
|
|
81
52
|
outputs: [
|
|
82
53
|
{
|
|
83
|
-
internalType: "address",
|
|
84
54
|
name: "",
|
|
85
55
|
type: "address",
|
|
56
|
+
internalType: "address",
|
|
86
57
|
},
|
|
87
58
|
],
|
|
88
59
|
stateMutability: "view",
|
|
89
|
-
type: "function",
|
|
90
60
|
},
|
|
91
61
|
{
|
|
62
|
+
type: "function",
|
|
63
|
+
name: "isPairAllowed",
|
|
92
64
|
inputs: [
|
|
93
65
|
{
|
|
94
|
-
internalType: "address",
|
|
95
66
|
name: "token0",
|
|
96
67
|
type: "address",
|
|
68
|
+
internalType: "address",
|
|
97
69
|
},
|
|
98
70
|
{
|
|
99
|
-
internalType: "address",
|
|
100
71
|
name: "token1",
|
|
101
72
|
type: "address",
|
|
73
|
+
internalType: "address",
|
|
102
74
|
},
|
|
103
75
|
],
|
|
104
|
-
name: "isPairAllowed",
|
|
105
76
|
outputs: [
|
|
106
77
|
{
|
|
107
|
-
internalType: "bool",
|
|
108
78
|
name: "",
|
|
109
79
|
type: "bool",
|
|
80
|
+
internalType: "bool",
|
|
110
81
|
},
|
|
111
82
|
],
|
|
112
83
|
stateMutability: "view",
|
|
113
|
-
type: "function",
|
|
114
84
|
},
|
|
115
85
|
{
|
|
86
|
+
type: "function",
|
|
87
|
+
name: "setPairStatusBatch",
|
|
116
88
|
inputs: [
|
|
117
89
|
{
|
|
90
|
+
name: "pairs",
|
|
91
|
+
type: "tuple[]",
|
|
92
|
+
internalType: "struct UniswapV2PairStatus[]",
|
|
118
93
|
components: [
|
|
119
94
|
{
|
|
120
|
-
internalType: "address",
|
|
121
95
|
name: "token0",
|
|
122
96
|
type: "address",
|
|
97
|
+
internalType: "address",
|
|
123
98
|
},
|
|
124
99
|
{
|
|
125
|
-
internalType: "address",
|
|
126
100
|
name: "token1",
|
|
127
101
|
type: "address",
|
|
102
|
+
internalType: "address",
|
|
128
103
|
},
|
|
129
104
|
{
|
|
130
|
-
internalType: "bool",
|
|
131
105
|
name: "allowed",
|
|
132
106
|
type: "bool",
|
|
107
|
+
internalType: "bool",
|
|
133
108
|
},
|
|
134
109
|
],
|
|
135
|
-
internalType: "struct UniswapV2PairStatus[]",
|
|
136
|
-
name: "pairs",
|
|
137
|
-
type: "tuple[]",
|
|
138
110
|
},
|
|
139
111
|
],
|
|
140
|
-
name: "setPairStatusBatch",
|
|
141
112
|
outputs: [],
|
|
142
113
|
stateMutability: "nonpayable",
|
|
143
|
-
type: "function",
|
|
144
114
|
},
|
|
145
115
|
{
|
|
116
|
+
type: "function",
|
|
117
|
+
name: "swapDiffTokensForTokens",
|
|
146
118
|
inputs: [
|
|
147
119
|
{
|
|
148
|
-
internalType: "uint256",
|
|
149
120
|
name: "leftoverAmount",
|
|
150
121
|
type: "uint256",
|
|
122
|
+
internalType: "uint256",
|
|
151
123
|
},
|
|
152
124
|
{
|
|
153
|
-
internalType: "uint256",
|
|
154
125
|
name: "rateMinRAY",
|
|
155
126
|
type: "uint256",
|
|
127
|
+
internalType: "uint256",
|
|
156
128
|
},
|
|
157
129
|
{
|
|
158
|
-
internalType: "address[]",
|
|
159
130
|
name: "path",
|
|
160
131
|
type: "address[]",
|
|
132
|
+
internalType: "address[]",
|
|
161
133
|
},
|
|
162
134
|
{
|
|
163
|
-
internalType: "uint256",
|
|
164
135
|
name: "deadline",
|
|
165
136
|
type: "uint256",
|
|
137
|
+
internalType: "uint256",
|
|
166
138
|
},
|
|
167
139
|
],
|
|
168
|
-
name: "swapDiffTokensForTokens",
|
|
169
140
|
outputs: [
|
|
170
141
|
{
|
|
171
|
-
internalType: "uint256",
|
|
172
142
|
name: "tokensToEnable",
|
|
173
143
|
type: "uint256",
|
|
144
|
+
internalType: "uint256",
|
|
174
145
|
},
|
|
175
146
|
{
|
|
176
|
-
internalType: "uint256",
|
|
177
147
|
name: "tokensToDisable",
|
|
178
148
|
type: "uint256",
|
|
149
|
+
internalType: "uint256",
|
|
179
150
|
},
|
|
180
151
|
],
|
|
181
152
|
stateMutability: "nonpayable",
|
|
182
|
-
type: "function",
|
|
183
153
|
},
|
|
184
154
|
{
|
|
155
|
+
type: "function",
|
|
156
|
+
name: "swapExactTokensForTokens",
|
|
185
157
|
inputs: [
|
|
186
158
|
{
|
|
187
|
-
internalType: "uint256",
|
|
188
159
|
name: "amountIn",
|
|
189
160
|
type: "uint256",
|
|
161
|
+
internalType: "uint256",
|
|
190
162
|
},
|
|
191
163
|
{
|
|
192
|
-
internalType: "uint256",
|
|
193
164
|
name: "amountOutMin",
|
|
194
165
|
type: "uint256",
|
|
166
|
+
internalType: "uint256",
|
|
195
167
|
},
|
|
196
168
|
{
|
|
197
|
-
internalType: "address[]",
|
|
198
169
|
name: "path",
|
|
199
170
|
type: "address[]",
|
|
171
|
+
internalType: "address[]",
|
|
200
172
|
},
|
|
201
173
|
{
|
|
202
|
-
internalType: "address",
|
|
203
174
|
name: "",
|
|
204
175
|
type: "address",
|
|
176
|
+
internalType: "address",
|
|
205
177
|
},
|
|
206
178
|
{
|
|
207
|
-
internalType: "uint256",
|
|
208
179
|
name: "deadline",
|
|
209
180
|
type: "uint256",
|
|
181
|
+
internalType: "uint256",
|
|
210
182
|
},
|
|
211
183
|
],
|
|
212
|
-
name: "swapExactTokensForTokens",
|
|
213
184
|
outputs: [
|
|
214
185
|
{
|
|
215
|
-
internalType: "uint256",
|
|
216
186
|
name: "tokensToEnable",
|
|
217
187
|
type: "uint256",
|
|
188
|
+
internalType: "uint256",
|
|
218
189
|
},
|
|
219
190
|
{
|
|
220
|
-
internalType: "uint256",
|
|
221
191
|
name: "tokensToDisable",
|
|
222
192
|
type: "uint256",
|
|
193
|
+
internalType: "uint256",
|
|
223
194
|
},
|
|
224
195
|
],
|
|
225
196
|
stateMutability: "nonpayable",
|
|
226
|
-
type: "function",
|
|
227
197
|
},
|
|
228
198
|
{
|
|
199
|
+
type: "function",
|
|
200
|
+
name: "swapTokensForExactTokens",
|
|
229
201
|
inputs: [
|
|
230
202
|
{
|
|
231
|
-
internalType: "uint256",
|
|
232
203
|
name: "amountOut",
|
|
233
204
|
type: "uint256",
|
|
205
|
+
internalType: "uint256",
|
|
234
206
|
},
|
|
235
207
|
{
|
|
236
|
-
internalType: "uint256",
|
|
237
208
|
name: "amountInMax",
|
|
238
209
|
type: "uint256",
|
|
210
|
+
internalType: "uint256",
|
|
239
211
|
},
|
|
240
212
|
{
|
|
241
|
-
internalType: "address[]",
|
|
242
213
|
name: "path",
|
|
243
214
|
type: "address[]",
|
|
215
|
+
internalType: "address[]",
|
|
244
216
|
},
|
|
245
217
|
{
|
|
246
|
-
internalType: "address",
|
|
247
218
|
name: "",
|
|
248
219
|
type: "address",
|
|
220
|
+
internalType: "address",
|
|
249
221
|
},
|
|
250
222
|
{
|
|
251
|
-
internalType: "uint256",
|
|
252
223
|
name: "deadline",
|
|
253
224
|
type: "uint256",
|
|
225
|
+
internalType: "uint256",
|
|
254
226
|
},
|
|
255
227
|
],
|
|
256
|
-
name: "swapTokensForExactTokens",
|
|
257
228
|
outputs: [
|
|
258
229
|
{
|
|
259
|
-
internalType: "uint256",
|
|
260
230
|
name: "tokensToEnable",
|
|
261
231
|
type: "uint256",
|
|
232
|
+
internalType: "uint256",
|
|
262
233
|
},
|
|
263
234
|
{
|
|
264
|
-
internalType: "uint256",
|
|
265
235
|
name: "tokensToDisable",
|
|
266
236
|
type: "uint256",
|
|
237
|
+
internalType: "uint256",
|
|
267
238
|
},
|
|
268
239
|
],
|
|
269
240
|
stateMutability: "nonpayable",
|
|
270
|
-
type: "function",
|
|
271
241
|
},
|
|
272
242
|
{
|
|
273
|
-
|
|
243
|
+
type: "function",
|
|
274
244
|
name: "targetContract",
|
|
245
|
+
inputs: [],
|
|
275
246
|
outputs: [
|
|
276
247
|
{
|
|
277
|
-
internalType: "address",
|
|
278
248
|
name: "",
|
|
279
249
|
type: "address",
|
|
250
|
+
internalType: "address",
|
|
280
251
|
},
|
|
281
252
|
],
|
|
282
253
|
stateMutability: "view",
|
|
283
|
-
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
type: "event",
|
|
257
|
+
name: "SetPairStatus",
|
|
258
|
+
inputs: [
|
|
259
|
+
{
|
|
260
|
+
name: "token0",
|
|
261
|
+
type: "address",
|
|
262
|
+
indexed: true,
|
|
263
|
+
internalType: "address",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: "token1",
|
|
267
|
+
type: "address",
|
|
268
|
+
indexed: true,
|
|
269
|
+
internalType: "address",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: "allowed",
|
|
273
|
+
type: "bool",
|
|
274
|
+
indexed: false,
|
|
275
|
+
internalType: "bool",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
anonymous: false,
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
type: "error",
|
|
282
|
+
name: "InvalidPathException",
|
|
283
|
+
inputs: [],
|
|
284
284
|
},
|
|
285
285
|
];
|
|
286
286
|
class IUniswapV2Adapter__factory {
|
|
@@ -3,169 +3,169 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { ISwapRouter, ISwapRouterInterface } from "../../IUniswapV3.sol/ISwapRouter";
|
|
4
4
|
export declare class ISwapRouter__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "exactInput";
|
|
6
8
|
readonly inputs: readonly [{
|
|
9
|
+
readonly name: "params";
|
|
10
|
+
readonly type: "tuple";
|
|
11
|
+
readonly internalType: "struct ISwapRouter.ExactInputParams";
|
|
7
12
|
readonly components: readonly [{
|
|
8
|
-
readonly internalType: "bytes";
|
|
9
13
|
readonly name: "path";
|
|
10
14
|
readonly type: "bytes";
|
|
15
|
+
readonly internalType: "bytes";
|
|
11
16
|
}, {
|
|
12
|
-
readonly internalType: "address";
|
|
13
17
|
readonly name: "recipient";
|
|
14
18
|
readonly type: "address";
|
|
19
|
+
readonly internalType: "address";
|
|
15
20
|
}, {
|
|
16
|
-
readonly internalType: "uint256";
|
|
17
21
|
readonly name: "deadline";
|
|
18
22
|
readonly type: "uint256";
|
|
19
|
-
}, {
|
|
20
23
|
readonly internalType: "uint256";
|
|
24
|
+
}, {
|
|
21
25
|
readonly name: "amountIn";
|
|
22
26
|
readonly type: "uint256";
|
|
23
|
-
}, {
|
|
24
27
|
readonly internalType: "uint256";
|
|
28
|
+
}, {
|
|
25
29
|
readonly name: "amountOutMinimum";
|
|
26
30
|
readonly type: "uint256";
|
|
31
|
+
readonly internalType: "uint256";
|
|
27
32
|
}];
|
|
28
|
-
readonly internalType: "struct ISwapRouter.ExactInputParams";
|
|
29
|
-
readonly name: "params";
|
|
30
|
-
readonly type: "tuple";
|
|
31
33
|
}];
|
|
32
|
-
readonly name: "exactInput";
|
|
33
34
|
readonly outputs: readonly [{
|
|
34
|
-
readonly internalType: "uint256";
|
|
35
35
|
readonly name: "amountOut";
|
|
36
36
|
readonly type: "uint256";
|
|
37
|
+
readonly internalType: "uint256";
|
|
37
38
|
}];
|
|
38
39
|
readonly stateMutability: "payable";
|
|
39
|
-
readonly type: "function";
|
|
40
40
|
}, {
|
|
41
|
+
readonly type: "function";
|
|
42
|
+
readonly name: "exactInputSingle";
|
|
41
43
|
readonly inputs: readonly [{
|
|
44
|
+
readonly name: "params";
|
|
45
|
+
readonly type: "tuple";
|
|
46
|
+
readonly internalType: "struct ISwapRouter.ExactInputSingleParams";
|
|
42
47
|
readonly components: readonly [{
|
|
43
|
-
readonly internalType: "address";
|
|
44
48
|
readonly name: "tokenIn";
|
|
45
49
|
readonly type: "address";
|
|
46
|
-
}, {
|
|
47
50
|
readonly internalType: "address";
|
|
51
|
+
}, {
|
|
48
52
|
readonly name: "tokenOut";
|
|
49
53
|
readonly type: "address";
|
|
54
|
+
readonly internalType: "address";
|
|
50
55
|
}, {
|
|
51
|
-
readonly internalType: "uint24";
|
|
52
56
|
readonly name: "fee";
|
|
53
57
|
readonly type: "uint24";
|
|
58
|
+
readonly internalType: "uint24";
|
|
54
59
|
}, {
|
|
55
|
-
readonly internalType: "address";
|
|
56
60
|
readonly name: "recipient";
|
|
57
61
|
readonly type: "address";
|
|
62
|
+
readonly internalType: "address";
|
|
58
63
|
}, {
|
|
59
|
-
readonly internalType: "uint256";
|
|
60
64
|
readonly name: "deadline";
|
|
61
65
|
readonly type: "uint256";
|
|
62
|
-
}, {
|
|
63
66
|
readonly internalType: "uint256";
|
|
67
|
+
}, {
|
|
64
68
|
readonly name: "amountIn";
|
|
65
69
|
readonly type: "uint256";
|
|
66
|
-
}, {
|
|
67
70
|
readonly internalType: "uint256";
|
|
71
|
+
}, {
|
|
68
72
|
readonly name: "amountOutMinimum";
|
|
69
73
|
readonly type: "uint256";
|
|
74
|
+
readonly internalType: "uint256";
|
|
70
75
|
}, {
|
|
71
|
-
readonly internalType: "uint160";
|
|
72
76
|
readonly name: "sqrtPriceLimitX96";
|
|
73
77
|
readonly type: "uint160";
|
|
78
|
+
readonly internalType: "uint160";
|
|
74
79
|
}];
|
|
75
|
-
readonly internalType: "struct ISwapRouter.ExactInputSingleParams";
|
|
76
|
-
readonly name: "params";
|
|
77
|
-
readonly type: "tuple";
|
|
78
80
|
}];
|
|
79
|
-
readonly name: "exactInputSingle";
|
|
80
81
|
readonly outputs: readonly [{
|
|
81
|
-
readonly internalType: "uint256";
|
|
82
82
|
readonly name: "amountOut";
|
|
83
83
|
readonly type: "uint256";
|
|
84
|
+
readonly internalType: "uint256";
|
|
84
85
|
}];
|
|
85
86
|
readonly stateMutability: "payable";
|
|
86
|
-
readonly type: "function";
|
|
87
87
|
}, {
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
readonly name: "exactOutput";
|
|
88
90
|
readonly inputs: readonly [{
|
|
91
|
+
readonly name: "params";
|
|
92
|
+
readonly type: "tuple";
|
|
93
|
+
readonly internalType: "struct ISwapRouter.ExactOutputParams";
|
|
89
94
|
readonly components: readonly [{
|
|
90
|
-
readonly internalType: "bytes";
|
|
91
95
|
readonly name: "path";
|
|
92
96
|
readonly type: "bytes";
|
|
97
|
+
readonly internalType: "bytes";
|
|
93
98
|
}, {
|
|
94
|
-
readonly internalType: "address";
|
|
95
99
|
readonly name: "recipient";
|
|
96
100
|
readonly type: "address";
|
|
101
|
+
readonly internalType: "address";
|
|
97
102
|
}, {
|
|
98
|
-
readonly internalType: "uint256";
|
|
99
103
|
readonly name: "deadline";
|
|
100
104
|
readonly type: "uint256";
|
|
101
|
-
}, {
|
|
102
105
|
readonly internalType: "uint256";
|
|
106
|
+
}, {
|
|
103
107
|
readonly name: "amountOut";
|
|
104
108
|
readonly type: "uint256";
|
|
105
|
-
}, {
|
|
106
109
|
readonly internalType: "uint256";
|
|
110
|
+
}, {
|
|
107
111
|
readonly name: "amountInMaximum";
|
|
108
112
|
readonly type: "uint256";
|
|
113
|
+
readonly internalType: "uint256";
|
|
109
114
|
}];
|
|
110
|
-
readonly internalType: "struct ISwapRouter.ExactOutputParams";
|
|
111
|
-
readonly name: "params";
|
|
112
|
-
readonly type: "tuple";
|
|
113
115
|
}];
|
|
114
|
-
readonly name: "exactOutput";
|
|
115
116
|
readonly outputs: readonly [{
|
|
116
|
-
readonly internalType: "uint256";
|
|
117
117
|
readonly name: "amountIn";
|
|
118
118
|
readonly type: "uint256";
|
|
119
|
+
readonly internalType: "uint256";
|
|
119
120
|
}];
|
|
120
121
|
readonly stateMutability: "payable";
|
|
121
|
-
readonly type: "function";
|
|
122
122
|
}, {
|
|
123
|
+
readonly type: "function";
|
|
124
|
+
readonly name: "exactOutputSingle";
|
|
123
125
|
readonly inputs: readonly [{
|
|
126
|
+
readonly name: "params";
|
|
127
|
+
readonly type: "tuple";
|
|
128
|
+
readonly internalType: "struct ISwapRouter.ExactOutputSingleParams";
|
|
124
129
|
readonly components: readonly [{
|
|
125
|
-
readonly internalType: "address";
|
|
126
130
|
readonly name: "tokenIn";
|
|
127
131
|
readonly type: "address";
|
|
128
|
-
}, {
|
|
129
132
|
readonly internalType: "address";
|
|
133
|
+
}, {
|
|
130
134
|
readonly name: "tokenOut";
|
|
131
135
|
readonly type: "address";
|
|
136
|
+
readonly internalType: "address";
|
|
132
137
|
}, {
|
|
133
|
-
readonly internalType: "uint24";
|
|
134
138
|
readonly name: "fee";
|
|
135
139
|
readonly type: "uint24";
|
|
140
|
+
readonly internalType: "uint24";
|
|
136
141
|
}, {
|
|
137
|
-
readonly internalType: "address";
|
|
138
142
|
readonly name: "recipient";
|
|
139
143
|
readonly type: "address";
|
|
144
|
+
readonly internalType: "address";
|
|
140
145
|
}, {
|
|
141
|
-
readonly internalType: "uint256";
|
|
142
146
|
readonly name: "deadline";
|
|
143
147
|
readonly type: "uint256";
|
|
144
|
-
}, {
|
|
145
148
|
readonly internalType: "uint256";
|
|
149
|
+
}, {
|
|
146
150
|
readonly name: "amountOut";
|
|
147
151
|
readonly type: "uint256";
|
|
148
|
-
}, {
|
|
149
152
|
readonly internalType: "uint256";
|
|
153
|
+
}, {
|
|
150
154
|
readonly name: "amountInMaximum";
|
|
151
155
|
readonly type: "uint256";
|
|
156
|
+
readonly internalType: "uint256";
|
|
152
157
|
}, {
|
|
153
|
-
readonly internalType: "uint160";
|
|
154
158
|
readonly name: "sqrtPriceLimitX96";
|
|
155
159
|
readonly type: "uint160";
|
|
160
|
+
readonly internalType: "uint160";
|
|
156
161
|
}];
|
|
157
|
-
readonly internalType: "struct ISwapRouter.ExactOutputSingleParams";
|
|
158
|
-
readonly name: "params";
|
|
159
|
-
readonly type: "tuple";
|
|
160
162
|
}];
|
|
161
|
-
readonly name: "exactOutputSingle";
|
|
162
163
|
readonly outputs: readonly [{
|
|
163
|
-
readonly internalType: "uint256";
|
|
164
164
|
readonly name: "amountIn";
|
|
165
165
|
readonly type: "uint256";
|
|
166
|
+
readonly internalType: "uint256";
|
|
166
167
|
}];
|
|
167
168
|
readonly stateMutability: "payable";
|
|
168
|
-
readonly type: "function";
|
|
169
169
|
}];
|
|
170
170
|
static createInterface(): ISwapRouterInterface;
|
|
171
171
|
static connect(address: string, signerOrProvider: Signer | Provider): ISwapRouter;
|