@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,448 +3,448 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IRouterV3, IRouterV3Interface } from "../IRouterV3";
|
|
4
4
|
export declare class IRouterV3__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly indexed: true;
|
|
9
|
-
readonly internalType: "uint8";
|
|
10
|
-
readonly name: "ttIn";
|
|
11
|
-
readonly type: "uint8";
|
|
12
|
-
}, {
|
|
13
|
-
readonly indexed: true;
|
|
14
|
-
readonly internalType: "uint8";
|
|
15
|
-
readonly name: "ttOut";
|
|
16
|
-
readonly type: "uint8";
|
|
17
|
-
}, {
|
|
18
|
-
readonly indexed: true;
|
|
19
|
-
readonly internalType: "uint8";
|
|
20
|
-
readonly name: "rc";
|
|
21
|
-
readonly type: "uint8";
|
|
22
|
-
}];
|
|
23
|
-
readonly name: "ResolverUpdate";
|
|
24
|
-
readonly type: "event";
|
|
25
|
-
}, {
|
|
26
|
-
readonly anonymous: false;
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "componentAddressById";
|
|
27
8
|
readonly inputs: readonly [{
|
|
28
|
-
readonly indexed: true;
|
|
29
|
-
readonly internalType: "uint8";
|
|
30
9
|
readonly name: "";
|
|
31
10
|
readonly type: "uint8";
|
|
32
|
-
}, {
|
|
33
|
-
readonly indexed: true;
|
|
34
|
-
readonly internalType: "address";
|
|
35
|
-
readonly name: "";
|
|
36
|
-
readonly type: "address";
|
|
37
|
-
}];
|
|
38
|
-
readonly name: "RouterComponentUpdate";
|
|
39
|
-
readonly type: "event";
|
|
40
|
-
}, {
|
|
41
|
-
readonly anonymous: false;
|
|
42
|
-
readonly inputs: readonly [{
|
|
43
|
-
readonly indexed: true;
|
|
44
|
-
readonly internalType: "address";
|
|
45
|
-
readonly name: "tokenAddress";
|
|
46
|
-
readonly type: "address";
|
|
47
|
-
}, {
|
|
48
|
-
readonly indexed: true;
|
|
49
11
|
readonly internalType: "uint8";
|
|
50
|
-
readonly name: "tt";
|
|
51
|
-
readonly type: "uint8";
|
|
52
12
|
}];
|
|
53
|
-
readonly name: "TokenTypeUpdate";
|
|
54
|
-
readonly type: "event";
|
|
55
|
-
}, {
|
|
56
|
-
readonly inputs: readonly [{
|
|
57
|
-
readonly internalType: "uint8";
|
|
58
|
-
readonly name: "";
|
|
59
|
-
readonly type: "uint8";
|
|
60
|
-
}];
|
|
61
|
-
readonly name: "componentAddressById";
|
|
62
13
|
readonly outputs: readonly [{
|
|
63
|
-
readonly internalType: "address";
|
|
64
14
|
readonly name: "";
|
|
65
15
|
readonly type: "address";
|
|
16
|
+
readonly internalType: "address";
|
|
66
17
|
}];
|
|
67
18
|
readonly stateMutability: "view";
|
|
68
|
-
readonly type: "function";
|
|
69
19
|
}, {
|
|
20
|
+
readonly type: "function";
|
|
21
|
+
readonly name: "findAllSwaps";
|
|
70
22
|
readonly inputs: readonly [{
|
|
23
|
+
readonly name: "swapTask";
|
|
24
|
+
readonly type: "tuple";
|
|
25
|
+
readonly internalType: "struct SwapTask";
|
|
71
26
|
readonly components: readonly [{
|
|
72
|
-
readonly internalType: "enum SwapOperation";
|
|
73
27
|
readonly name: "swapOperation";
|
|
74
28
|
readonly type: "uint8";
|
|
29
|
+
readonly internalType: "enum SwapOperation";
|
|
75
30
|
}, {
|
|
76
|
-
readonly internalType: "address";
|
|
77
31
|
readonly name: "creditAccount";
|
|
78
32
|
readonly type: "address";
|
|
79
|
-
}, {
|
|
80
33
|
readonly internalType: "address";
|
|
34
|
+
}, {
|
|
81
35
|
readonly name: "tokenIn";
|
|
82
36
|
readonly type: "address";
|
|
83
|
-
}, {
|
|
84
37
|
readonly internalType: "address";
|
|
38
|
+
}, {
|
|
85
39
|
readonly name: "tokenOut";
|
|
86
40
|
readonly type: "address";
|
|
41
|
+
readonly internalType: "address";
|
|
87
42
|
}, {
|
|
88
|
-
readonly internalType: "address[]";
|
|
89
43
|
readonly name: "connectors";
|
|
90
44
|
readonly type: "address[]";
|
|
45
|
+
readonly internalType: "address[]";
|
|
91
46
|
}, {
|
|
92
|
-
readonly internalType: "uint256";
|
|
93
47
|
readonly name: "amount";
|
|
94
48
|
readonly type: "uint256";
|
|
95
|
-
}, {
|
|
96
49
|
readonly internalType: "uint256";
|
|
50
|
+
}, {
|
|
97
51
|
readonly name: "leftoverAmount";
|
|
98
52
|
readonly type: "uint256";
|
|
53
|
+
readonly internalType: "uint256";
|
|
99
54
|
}];
|
|
100
|
-
readonly internalType: "struct SwapTask";
|
|
101
|
-
readonly name: "swapTask";
|
|
102
|
-
readonly type: "tuple";
|
|
103
55
|
}, {
|
|
104
|
-
readonly internalType: "uint256";
|
|
105
56
|
readonly name: "slippage";
|
|
106
57
|
readonly type: "uint256";
|
|
58
|
+
readonly internalType: "uint256";
|
|
107
59
|
}];
|
|
108
|
-
readonly name: "findAllSwaps";
|
|
109
60
|
readonly outputs: readonly [{
|
|
61
|
+
readonly name: "";
|
|
62
|
+
readonly type: "tuple[]";
|
|
63
|
+
readonly internalType: "struct RouterResult[]";
|
|
110
64
|
readonly components: readonly [{
|
|
111
|
-
readonly internalType: "uint256";
|
|
112
65
|
readonly name: "amount";
|
|
113
66
|
readonly type: "uint256";
|
|
114
|
-
}, {
|
|
115
67
|
readonly internalType: "uint256";
|
|
68
|
+
}, {
|
|
116
69
|
readonly name: "minAmount";
|
|
117
70
|
readonly type: "uint256";
|
|
118
|
-
}, {
|
|
119
71
|
readonly internalType: "uint256";
|
|
72
|
+
}, {
|
|
120
73
|
readonly name: "gasUsage";
|
|
121
74
|
readonly type: "uint256";
|
|
75
|
+
readonly internalType: "uint256";
|
|
122
76
|
}, {
|
|
77
|
+
readonly name: "calls";
|
|
78
|
+
readonly type: "tuple[]";
|
|
79
|
+
readonly internalType: "struct MultiCall[]";
|
|
123
80
|
readonly components: readonly [{
|
|
124
|
-
readonly internalType: "address";
|
|
125
81
|
readonly name: "target";
|
|
126
82
|
readonly type: "address";
|
|
83
|
+
readonly internalType: "address";
|
|
127
84
|
}, {
|
|
128
|
-
readonly internalType: "bytes";
|
|
129
85
|
readonly name: "callData";
|
|
130
86
|
readonly type: "bytes";
|
|
87
|
+
readonly internalType: "bytes";
|
|
131
88
|
}];
|
|
132
|
-
readonly internalType: "struct MultiCall[]";
|
|
133
|
-
readonly name: "calls";
|
|
134
|
-
readonly type: "tuple[]";
|
|
135
89
|
}];
|
|
136
|
-
readonly internalType: "struct RouterResult[]";
|
|
137
|
-
readonly name: "";
|
|
138
|
-
readonly type: "tuple[]";
|
|
139
90
|
}];
|
|
140
91
|
readonly stateMutability: "nonpayable";
|
|
141
|
-
readonly type: "function";
|
|
142
92
|
}, {
|
|
93
|
+
readonly type: "function";
|
|
94
|
+
readonly name: "findBestClosePath";
|
|
143
95
|
readonly inputs: readonly [{
|
|
144
|
-
readonly internalType: "address";
|
|
145
96
|
readonly name: "creditAccount";
|
|
146
97
|
readonly type: "address";
|
|
98
|
+
readonly internalType: "address";
|
|
147
99
|
}, {
|
|
100
|
+
readonly name: "expectedBalances";
|
|
101
|
+
readonly type: "tuple[]";
|
|
102
|
+
readonly internalType: "struct Balance[]";
|
|
148
103
|
readonly components: readonly [{
|
|
149
|
-
readonly internalType: "address";
|
|
150
104
|
readonly name: "token";
|
|
151
105
|
readonly type: "address";
|
|
106
|
+
readonly internalType: "address";
|
|
152
107
|
}, {
|
|
153
|
-
readonly internalType: "uint256";
|
|
154
108
|
readonly name: "balance";
|
|
155
109
|
readonly type: "uint256";
|
|
110
|
+
readonly internalType: "uint256";
|
|
156
111
|
}];
|
|
157
|
-
readonly internalType: "struct Balance[]";
|
|
158
|
-
readonly name: "expectedBalances";
|
|
159
|
-
readonly type: "tuple[]";
|
|
160
112
|
}, {
|
|
113
|
+
readonly name: "leftoverBalances";
|
|
114
|
+
readonly type: "tuple[]";
|
|
115
|
+
readonly internalType: "struct Balance[]";
|
|
161
116
|
readonly components: readonly [{
|
|
162
|
-
readonly internalType: "address";
|
|
163
117
|
readonly name: "token";
|
|
164
118
|
readonly type: "address";
|
|
119
|
+
readonly internalType: "address";
|
|
165
120
|
}, {
|
|
166
|
-
readonly internalType: "uint256";
|
|
167
121
|
readonly name: "balance";
|
|
168
122
|
readonly type: "uint256";
|
|
123
|
+
readonly internalType: "uint256";
|
|
169
124
|
}];
|
|
170
|
-
readonly internalType: "struct Balance[]";
|
|
171
|
-
readonly name: "leftoverBalances";
|
|
172
|
-
readonly type: "tuple[]";
|
|
173
125
|
}, {
|
|
174
|
-
readonly internalType: "address[]";
|
|
175
126
|
readonly name: "connectors";
|
|
176
127
|
readonly type: "address[]";
|
|
128
|
+
readonly internalType: "address[]";
|
|
177
129
|
}, {
|
|
178
|
-
readonly internalType: "uint256";
|
|
179
130
|
readonly name: "slippage";
|
|
180
131
|
readonly type: "uint256";
|
|
132
|
+
readonly internalType: "uint256";
|
|
181
133
|
}, {
|
|
134
|
+
readonly name: "pathOptions";
|
|
135
|
+
readonly type: "tuple[]";
|
|
136
|
+
readonly internalType: "struct PathOption[]";
|
|
182
137
|
readonly components: readonly [{
|
|
183
|
-
readonly internalType: "address";
|
|
184
138
|
readonly name: "target";
|
|
185
139
|
readonly type: "address";
|
|
140
|
+
readonly internalType: "address";
|
|
186
141
|
}, {
|
|
187
|
-
readonly internalType: "uint8";
|
|
188
142
|
readonly name: "option";
|
|
189
143
|
readonly type: "uint8";
|
|
190
|
-
}, {
|
|
191
144
|
readonly internalType: "uint8";
|
|
145
|
+
}, {
|
|
192
146
|
readonly name: "totalOptions";
|
|
193
147
|
readonly type: "uint8";
|
|
148
|
+
readonly internalType: "uint8";
|
|
194
149
|
}];
|
|
195
|
-
readonly internalType: "struct PathOption[]";
|
|
196
|
-
readonly name: "pathOptions";
|
|
197
|
-
readonly type: "tuple[]";
|
|
198
150
|
}, {
|
|
199
|
-
readonly internalType: "uint256";
|
|
200
151
|
readonly name: "iterations";
|
|
201
152
|
readonly type: "uint256";
|
|
153
|
+
readonly internalType: "uint256";
|
|
202
154
|
}, {
|
|
203
|
-
readonly internalType: "bool";
|
|
204
155
|
readonly name: "force";
|
|
205
156
|
readonly type: "bool";
|
|
157
|
+
readonly internalType: "bool";
|
|
206
158
|
}];
|
|
207
|
-
readonly name: "findBestClosePath";
|
|
208
159
|
readonly outputs: readonly [{
|
|
160
|
+
readonly name: "result";
|
|
161
|
+
readonly type: "tuple";
|
|
162
|
+
readonly internalType: "struct RouterResult";
|
|
209
163
|
readonly components: readonly [{
|
|
210
|
-
readonly internalType: "uint256";
|
|
211
164
|
readonly name: "amount";
|
|
212
165
|
readonly type: "uint256";
|
|
213
|
-
}, {
|
|
214
166
|
readonly internalType: "uint256";
|
|
167
|
+
}, {
|
|
215
168
|
readonly name: "minAmount";
|
|
216
169
|
readonly type: "uint256";
|
|
217
|
-
}, {
|
|
218
170
|
readonly internalType: "uint256";
|
|
171
|
+
}, {
|
|
219
172
|
readonly name: "gasUsage";
|
|
220
173
|
readonly type: "uint256";
|
|
174
|
+
readonly internalType: "uint256";
|
|
221
175
|
}, {
|
|
176
|
+
readonly name: "calls";
|
|
177
|
+
readonly type: "tuple[]";
|
|
178
|
+
readonly internalType: "struct MultiCall[]";
|
|
222
179
|
readonly components: readonly [{
|
|
223
|
-
readonly internalType: "address";
|
|
224
180
|
readonly name: "target";
|
|
225
181
|
readonly type: "address";
|
|
182
|
+
readonly internalType: "address";
|
|
226
183
|
}, {
|
|
227
|
-
readonly internalType: "bytes";
|
|
228
184
|
readonly name: "callData";
|
|
229
185
|
readonly type: "bytes";
|
|
186
|
+
readonly internalType: "bytes";
|
|
230
187
|
}];
|
|
231
|
-
readonly internalType: "struct MultiCall[]";
|
|
232
|
-
readonly name: "calls";
|
|
233
|
-
readonly type: "tuple[]";
|
|
234
188
|
}];
|
|
235
|
-
readonly internalType: "struct RouterResult";
|
|
236
|
-
readonly name: "result";
|
|
237
|
-
readonly type: "tuple";
|
|
238
189
|
}, {
|
|
239
|
-
readonly internalType: "uint256";
|
|
240
190
|
readonly name: "gasPriceTargetRAY";
|
|
241
191
|
readonly type: "uint256";
|
|
192
|
+
readonly internalType: "uint256";
|
|
242
193
|
}];
|
|
243
194
|
readonly stateMutability: "nonpayable";
|
|
244
|
-
readonly type: "function";
|
|
245
195
|
}, {
|
|
196
|
+
readonly type: "function";
|
|
197
|
+
readonly name: "findOneTokenPath";
|
|
246
198
|
readonly inputs: readonly [{
|
|
247
|
-
readonly internalType: "address";
|
|
248
199
|
readonly name: "tokenIn";
|
|
249
200
|
readonly type: "address";
|
|
201
|
+
readonly internalType: "address";
|
|
250
202
|
}, {
|
|
251
|
-
readonly internalType: "uint256";
|
|
252
203
|
readonly name: "amount";
|
|
253
204
|
readonly type: "uint256";
|
|
205
|
+
readonly internalType: "uint256";
|
|
254
206
|
}, {
|
|
255
|
-
readonly internalType: "address";
|
|
256
207
|
readonly name: "tokenOut";
|
|
257
208
|
readonly type: "address";
|
|
258
|
-
}, {
|
|
259
209
|
readonly internalType: "address";
|
|
210
|
+
}, {
|
|
260
211
|
readonly name: "creditAccount";
|
|
261
212
|
readonly type: "address";
|
|
213
|
+
readonly internalType: "address";
|
|
262
214
|
}, {
|
|
263
|
-
readonly internalType: "address[]";
|
|
264
215
|
readonly name: "connectors";
|
|
265
216
|
readonly type: "address[]";
|
|
217
|
+
readonly internalType: "address[]";
|
|
266
218
|
}, {
|
|
267
|
-
readonly internalType: "uint256";
|
|
268
219
|
readonly name: "slippage";
|
|
269
220
|
readonly type: "uint256";
|
|
221
|
+
readonly internalType: "uint256";
|
|
270
222
|
}];
|
|
271
|
-
readonly name: "findOneTokenPath";
|
|
272
223
|
readonly outputs: readonly [{
|
|
224
|
+
readonly name: "";
|
|
225
|
+
readonly type: "tuple";
|
|
226
|
+
readonly internalType: "struct RouterResult";
|
|
273
227
|
readonly components: readonly [{
|
|
274
|
-
readonly internalType: "uint256";
|
|
275
228
|
readonly name: "amount";
|
|
276
229
|
readonly type: "uint256";
|
|
277
|
-
}, {
|
|
278
230
|
readonly internalType: "uint256";
|
|
231
|
+
}, {
|
|
279
232
|
readonly name: "minAmount";
|
|
280
233
|
readonly type: "uint256";
|
|
281
|
-
}, {
|
|
282
234
|
readonly internalType: "uint256";
|
|
235
|
+
}, {
|
|
283
236
|
readonly name: "gasUsage";
|
|
284
237
|
readonly type: "uint256";
|
|
238
|
+
readonly internalType: "uint256";
|
|
285
239
|
}, {
|
|
240
|
+
readonly name: "calls";
|
|
241
|
+
readonly type: "tuple[]";
|
|
242
|
+
readonly internalType: "struct MultiCall[]";
|
|
286
243
|
readonly components: readonly [{
|
|
287
|
-
readonly internalType: "address";
|
|
288
244
|
readonly name: "target";
|
|
289
245
|
readonly type: "address";
|
|
246
|
+
readonly internalType: "address";
|
|
290
247
|
}, {
|
|
291
|
-
readonly internalType: "bytes";
|
|
292
248
|
readonly name: "callData";
|
|
293
249
|
readonly type: "bytes";
|
|
250
|
+
readonly internalType: "bytes";
|
|
294
251
|
}];
|
|
295
|
-
readonly internalType: "struct MultiCall[]";
|
|
296
|
-
readonly name: "calls";
|
|
297
|
-
readonly type: "tuple[]";
|
|
298
252
|
}];
|
|
299
|
-
readonly internalType: "struct RouterResult";
|
|
300
|
-
readonly name: "";
|
|
301
|
-
readonly type: "tuple";
|
|
302
253
|
}];
|
|
303
254
|
readonly stateMutability: "nonpayable";
|
|
304
|
-
readonly type: "function";
|
|
305
255
|
}, {
|
|
256
|
+
readonly type: "function";
|
|
257
|
+
readonly name: "findOpenStrategyPath";
|
|
306
258
|
readonly inputs: readonly [{
|
|
307
|
-
readonly internalType: "address";
|
|
308
259
|
readonly name: "creditManager";
|
|
309
260
|
readonly type: "address";
|
|
261
|
+
readonly internalType: "address";
|
|
310
262
|
}, {
|
|
263
|
+
readonly name: "balances";
|
|
264
|
+
readonly type: "tuple[]";
|
|
265
|
+
readonly internalType: "struct Balance[]";
|
|
311
266
|
readonly components: readonly [{
|
|
312
|
-
readonly internalType: "address";
|
|
313
267
|
readonly name: "token";
|
|
314
268
|
readonly type: "address";
|
|
269
|
+
readonly internalType: "address";
|
|
315
270
|
}, {
|
|
316
|
-
readonly internalType: "uint256";
|
|
317
271
|
readonly name: "balance";
|
|
318
272
|
readonly type: "uint256";
|
|
273
|
+
readonly internalType: "uint256";
|
|
319
274
|
}];
|
|
320
|
-
readonly internalType: "struct Balance[]";
|
|
321
|
-
readonly name: "balances";
|
|
322
|
-
readonly type: "tuple[]";
|
|
323
275
|
}, {
|
|
276
|
+
readonly name: "leftoverBalances";
|
|
277
|
+
readonly type: "tuple[]";
|
|
278
|
+
readonly internalType: "struct Balance[]";
|
|
324
279
|
readonly components: readonly [{
|
|
325
|
-
readonly internalType: "address";
|
|
326
280
|
readonly name: "token";
|
|
327
281
|
readonly type: "address";
|
|
282
|
+
readonly internalType: "address";
|
|
328
283
|
}, {
|
|
329
|
-
readonly internalType: "uint256";
|
|
330
284
|
readonly name: "balance";
|
|
331
285
|
readonly type: "uint256";
|
|
286
|
+
readonly internalType: "uint256";
|
|
332
287
|
}];
|
|
333
|
-
readonly internalType: "struct Balance[]";
|
|
334
|
-
readonly name: "leftoverBalances";
|
|
335
|
-
readonly type: "tuple[]";
|
|
336
288
|
}, {
|
|
337
|
-
readonly internalType: "address";
|
|
338
289
|
readonly name: "target";
|
|
339
290
|
readonly type: "address";
|
|
291
|
+
readonly internalType: "address";
|
|
340
292
|
}, {
|
|
341
|
-
readonly internalType: "address[]";
|
|
342
293
|
readonly name: "connectors";
|
|
343
294
|
readonly type: "address[]";
|
|
295
|
+
readonly internalType: "address[]";
|
|
344
296
|
}, {
|
|
345
|
-
readonly internalType: "uint256";
|
|
346
297
|
readonly name: "slippage";
|
|
347
298
|
readonly type: "uint256";
|
|
299
|
+
readonly internalType: "uint256";
|
|
348
300
|
}];
|
|
349
|
-
readonly name: "findOpenStrategyPath";
|
|
350
301
|
readonly outputs: readonly [{
|
|
302
|
+
readonly name: "";
|
|
303
|
+
readonly type: "tuple[]";
|
|
304
|
+
readonly internalType: "struct Balance[]";
|
|
351
305
|
readonly components: readonly [{
|
|
352
|
-
readonly internalType: "address";
|
|
353
306
|
readonly name: "token";
|
|
354
307
|
readonly type: "address";
|
|
308
|
+
readonly internalType: "address";
|
|
355
309
|
}, {
|
|
356
|
-
readonly internalType: "uint256";
|
|
357
310
|
readonly name: "balance";
|
|
358
311
|
readonly type: "uint256";
|
|
312
|
+
readonly internalType: "uint256";
|
|
359
313
|
}];
|
|
360
|
-
readonly internalType: "struct Balance[]";
|
|
361
|
-
readonly name: "";
|
|
362
|
-
readonly type: "tuple[]";
|
|
363
314
|
}, {
|
|
315
|
+
readonly name: "";
|
|
316
|
+
readonly type: "tuple";
|
|
317
|
+
readonly internalType: "struct RouterResult";
|
|
364
318
|
readonly components: readonly [{
|
|
365
|
-
readonly internalType: "uint256";
|
|
366
319
|
readonly name: "amount";
|
|
367
320
|
readonly type: "uint256";
|
|
368
|
-
}, {
|
|
369
321
|
readonly internalType: "uint256";
|
|
322
|
+
}, {
|
|
370
323
|
readonly name: "minAmount";
|
|
371
324
|
readonly type: "uint256";
|
|
372
|
-
}, {
|
|
373
325
|
readonly internalType: "uint256";
|
|
326
|
+
}, {
|
|
374
327
|
readonly name: "gasUsage";
|
|
375
328
|
readonly type: "uint256";
|
|
329
|
+
readonly internalType: "uint256";
|
|
376
330
|
}, {
|
|
331
|
+
readonly name: "calls";
|
|
332
|
+
readonly type: "tuple[]";
|
|
333
|
+
readonly internalType: "struct MultiCall[]";
|
|
377
334
|
readonly components: readonly [{
|
|
378
|
-
readonly internalType: "address";
|
|
379
335
|
readonly name: "target";
|
|
380
336
|
readonly type: "address";
|
|
337
|
+
readonly internalType: "address";
|
|
381
338
|
}, {
|
|
382
|
-
readonly internalType: "bytes";
|
|
383
339
|
readonly name: "callData";
|
|
384
340
|
readonly type: "bytes";
|
|
341
|
+
readonly internalType: "bytes";
|
|
385
342
|
}];
|
|
386
|
-
readonly internalType: "struct MultiCall[]";
|
|
387
|
-
readonly name: "calls";
|
|
388
|
-
readonly type: "tuple[]";
|
|
389
343
|
}];
|
|
390
|
-
readonly internalType: "struct RouterResult";
|
|
391
|
-
readonly name: "";
|
|
392
|
-
readonly type: "tuple";
|
|
393
344
|
}];
|
|
394
345
|
readonly stateMutability: "nonpayable";
|
|
395
|
-
readonly type: "function";
|
|
396
346
|
}, {
|
|
347
|
+
readonly type: "function";
|
|
348
|
+
readonly name: "getGasPriceTokenOutRAY";
|
|
397
349
|
readonly inputs: readonly [{
|
|
398
|
-
readonly internalType: "address";
|
|
399
350
|
readonly name: "token";
|
|
400
351
|
readonly type: "address";
|
|
352
|
+
readonly internalType: "address";
|
|
401
353
|
}];
|
|
402
|
-
readonly name: "getGasPriceTokenOutRAY";
|
|
403
354
|
readonly outputs: readonly [{
|
|
404
|
-
readonly internalType: "uint256";
|
|
405
355
|
readonly name: "gasPrice";
|
|
406
356
|
readonly type: "uint256";
|
|
357
|
+
readonly internalType: "uint256";
|
|
407
358
|
}];
|
|
408
359
|
readonly stateMutability: "view";
|
|
409
|
-
readonly type: "function";
|
|
410
360
|
}, {
|
|
361
|
+
readonly type: "function";
|
|
362
|
+
readonly name: "isRouterConfigurator";
|
|
411
363
|
readonly inputs: readonly [{
|
|
412
|
-
readonly internalType: "address";
|
|
413
364
|
readonly name: "account";
|
|
414
365
|
readonly type: "address";
|
|
366
|
+
readonly internalType: "address";
|
|
415
367
|
}];
|
|
416
|
-
readonly name: "isRouterConfigurator";
|
|
417
368
|
readonly outputs: readonly [{
|
|
418
|
-
readonly internalType: "bool";
|
|
419
369
|
readonly name: "";
|
|
420
370
|
readonly type: "bool";
|
|
371
|
+
readonly internalType: "bool";
|
|
421
372
|
}];
|
|
422
373
|
readonly stateMutability: "view";
|
|
423
|
-
readonly type: "function";
|
|
424
374
|
}, {
|
|
375
|
+
readonly type: "function";
|
|
376
|
+
readonly name: "tokenTypes";
|
|
425
377
|
readonly inputs: readonly [{
|
|
426
|
-
readonly internalType: "address";
|
|
427
378
|
readonly name: "";
|
|
428
379
|
readonly type: "address";
|
|
380
|
+
readonly internalType: "address";
|
|
429
381
|
}];
|
|
430
|
-
readonly name: "tokenTypes";
|
|
431
382
|
readonly outputs: readonly [{
|
|
432
|
-
readonly internalType: "uint8";
|
|
433
383
|
readonly name: "";
|
|
434
384
|
readonly type: "uint8";
|
|
385
|
+
readonly internalType: "uint8";
|
|
435
386
|
}];
|
|
436
387
|
readonly stateMutability: "view";
|
|
437
|
-
readonly type: "function";
|
|
438
388
|
}, {
|
|
439
|
-
readonly
|
|
389
|
+
readonly type: "function";
|
|
440
390
|
readonly name: "version";
|
|
391
|
+
readonly inputs: readonly [];
|
|
441
392
|
readonly outputs: readonly [{
|
|
442
|
-
readonly internalType: "uint256";
|
|
443
393
|
readonly name: "";
|
|
444
394
|
readonly type: "uint256";
|
|
395
|
+
readonly internalType: "uint256";
|
|
445
396
|
}];
|
|
446
397
|
readonly stateMutability: "view";
|
|
447
|
-
|
|
398
|
+
}, {
|
|
399
|
+
readonly type: "event";
|
|
400
|
+
readonly name: "ResolverUpdate";
|
|
401
|
+
readonly inputs: readonly [{
|
|
402
|
+
readonly name: "ttIn";
|
|
403
|
+
readonly type: "uint8";
|
|
404
|
+
readonly indexed: true;
|
|
405
|
+
readonly internalType: "uint8";
|
|
406
|
+
}, {
|
|
407
|
+
readonly name: "ttOut";
|
|
408
|
+
readonly type: "uint8";
|
|
409
|
+
readonly indexed: true;
|
|
410
|
+
readonly internalType: "uint8";
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "rc";
|
|
413
|
+
readonly type: "uint8";
|
|
414
|
+
readonly indexed: true;
|
|
415
|
+
readonly internalType: "uint8";
|
|
416
|
+
}];
|
|
417
|
+
readonly anonymous: false;
|
|
418
|
+
}, {
|
|
419
|
+
readonly type: "event";
|
|
420
|
+
readonly name: "RouterComponentUpdate";
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly name: "";
|
|
423
|
+
readonly type: "uint8";
|
|
424
|
+
readonly indexed: true;
|
|
425
|
+
readonly internalType: "uint8";
|
|
426
|
+
}, {
|
|
427
|
+
readonly name: "";
|
|
428
|
+
readonly type: "address";
|
|
429
|
+
readonly indexed: true;
|
|
430
|
+
readonly internalType: "address";
|
|
431
|
+
}];
|
|
432
|
+
readonly anonymous: false;
|
|
433
|
+
}, {
|
|
434
|
+
readonly type: "event";
|
|
435
|
+
readonly name: "TokenTypeUpdate";
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly name: "tokenAddress";
|
|
438
|
+
readonly type: "address";
|
|
439
|
+
readonly indexed: true;
|
|
440
|
+
readonly internalType: "address";
|
|
441
|
+
}, {
|
|
442
|
+
readonly name: "tt";
|
|
443
|
+
readonly type: "uint8";
|
|
444
|
+
readonly indexed: true;
|
|
445
|
+
readonly internalType: "uint8";
|
|
446
|
+
}];
|
|
447
|
+
readonly anonymous: false;
|
|
448
448
|
}];
|
|
449
449
|
static createInterface(): IRouterV3Interface;
|
|
450
450
|
static connect(address: string, signerOrProvider: Signer | Provider): IRouterV3;
|