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