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