@gearbox-protocol/sdk 3.0.0-next.7 → 3.0.0-next.70
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/contracts/index.sol +29 -4
- package/lib/apy/curveAPY.js +2 -1
- package/lib/apy/index.d.ts +2 -2
- package/lib/apy/yearnAPY.js +1 -1
- package/lib/core/assets.d.ts +4 -4
- package/lib/core/assets.js +28 -17
- package/lib/core/creditAccount.d.ts +32 -8
- package/lib/core/creditAccount.js +101 -44
- package/lib/core/creditAccount.spec.js +693 -10
- package/lib/core/creditManager.d.ts +12 -3
- package/lib/core/creditManager.js +43 -10
- package/lib/core/events.js +14 -14
- package/lib/core/gauge.d.ts +26 -0
- package/lib/core/gauge.js +63 -0
- package/lib/core/gaugeMath.d.ts +40 -0
- package/lib/core/gaugeMath.js +108 -0
- package/lib/core/gaugeMath.spec.d.ts +1 -0
- package/lib/core/gaugeMath.spec.js +388 -0
- package/lib/core/{pool/data.d.ts → pool.d.ts} +17 -10
- package/lib/core/{pool/data.js → pool.js} +66 -24
- package/lib/core/strategy.d.ts +4 -3
- package/lib/core/strategy.js +15 -14
- package/lib/core/strategy.spec.js +68 -3
- package/lib/core/trade.d.ts +12 -29
- package/lib/core/trade.js +33 -82
- package/lib/core/transactions.d.ts +65 -3
- package/lib/core/transactions.js +162 -105
- package/lib/index.d.ts +3 -0
- package/lib/index.js +3 -0
- package/lib/parsers/abstractParser.js +1 -2
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +10 -8
- package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
- package/lib/parsers/convexBoosterAdapterParser.js +6 -6
- package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
- package/lib/parsers/creditFacadeParser.d.ts +2 -1
- package/lib/parsers/creditFacadeParser.js +40 -5
- package/lib/parsers/creditFacadeParser.spec.js +3 -4
- package/lib/parsers/curveAdapterParser.js +10 -11
- package/lib/parsers/curveAdapterParser.spec.js +6 -2
- package/lib/parsers/lidoAdapterParser.js +3 -2
- package/lib/parsers/lidoAdapterParser.spec.js +2 -2
- package/lib/parsers/txParser.d.ts +1 -1
- package/lib/parsers/txParser.js +9 -3
- package/lib/parsers/uniV2AdapterParser.js +5 -4
- package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
- package/lib/parsers/uniV3AdapterParser.js +9 -7
- package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
- package/lib/parsers/wstETHAdapterParser.js +6 -4
- package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
- package/lib/parsers/yearnAdapterParser.spec.js +4 -4
- package/lib/parsers/yearnV2AdapterParser.js +13 -3
- package/lib/pathfinder/core.d.ts +8 -9
- package/lib/pathfinder/pathOptions.d.ts +2 -1
- package/lib/pathfinder/pathOptions.js +20 -1
- package/lib/pathfinder/pathOptions.spec.js +2 -2
- package/lib/pathfinder/pathfinder.d.ts +38 -10
- package/lib/pathfinder/pathfinder.js +53 -34
- package/lib/pathfinder/pathfinder.spec.js +7 -3
- package/lib/payload/creditAccount.d.ts +3 -4
- package/lib/payload/gauge.d.ts +12 -0
- package/lib/payload/pool.d.ts +6 -1
- package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +171 -0
- package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +290 -0
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +308 -0
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +112 -0
- package/lib/types/IBalancerV2Vault.sol/index.d.ts +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +466 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
- package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts} +6 -18
- package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
- package/lib/types/IBotListV3.sol/IBotListV3.d.ts +286 -0
- package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +103 -0
- package/lib/types/IBotListV3.sol/index.d.ts +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +216 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +27 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
- package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +128 -0
- package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +50 -0
- package/lib/types/IContractsRegister.sol/index.d.ts +2 -0
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.d.ts +504 -0
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +82 -0
- package/lib/types/IControllerTimelockV3.sol/index.d.ts +2 -0
- package/lib/types/IConvexToken.d.ts +9 -1
- package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +46 -30
- package/lib/types/{IConvexV1BoosterAdapter.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts} +40 -21
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js +2 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/index.js +2 -0
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.d.ts +716 -0
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.js +2 -0
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.d.ts +275 -0
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.js +2 -0
- package/lib/types/ICreditConfiguratorV3.sol/index.d.ts +2 -0
- package/lib/types/ICreditConfiguratorV3.sol/index.js +2 -0
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +7 -11
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +201 -94
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +31 -33
- package/lib/types/ICreditFacadeV3Multicall.d.ts +91 -60
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +360 -98
- package/lib/types/ICurveV1Adapter.d.ts +41 -105
- package/lib/types/ICurveV1_2AssetsAdapter.d.ts +41 -105
- package/lib/types/ICurveV1_3AssetsAdapter.d.ts +41 -105
- package/lib/types/ICurveV1_4AssetsAdapter.d.ts +41 -105
- package/lib/types/IDataCompressorV2_10.d.ts +44 -36
- package/lib/types/IDataCompressorV3_00.d.ts +141 -37
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +339 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.js +2 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +61 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.js +2 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +27 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.js +2 -0
- package/lib/types/IDegenNFTV2.sol/index.d.ts +3 -0
- package/lib/types/IDegenNFTV2.sol/index.js +2 -0
- package/lib/types/IERC165.d.ts +42 -0
- package/lib/types/IERC165.js +2 -0
- package/lib/types/{draft-IERC20Permit.sol/IERC20Permit.d.ts → IERC20Permit.d.ts} +1 -1
- package/lib/types/IERC20Permit.js +2 -0
- package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
- package/lib/types/IERC20ZapperDeposits.js +2 -0
- package/lib/types/IERC4626Adapter.d.ts +238 -0
- package/lib/types/IERC4626Adapter.js +2 -0
- package/lib/types/IERC721.d.ts +220 -0
- package/lib/types/IERC721.js +2 -0
- package/lib/types/IERC721Metadata.d.ts +244 -0
- package/lib/types/IERC721Metadata.js +2 -0
- package/lib/types/IETHZapperDeposits.d.ts +66 -0
- package/lib/types/IETHZapperDeposits.js +2 -0
- package/lib/types/IGasPricer.d.ts +44 -0
- package/lib/types/IGasPricer.js +2 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
- package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
- package/lib/types/IGaugeV3.sol/index.js +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
- package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
- package/lib/types/IGearStakingV3.sol/index.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +285 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +54 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +27 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.js +2 -0
- package/lib/types/ILPPriceFeed.sol/index.d.ts +3 -0
- package/lib/types/ILPPriceFeed.sol/index.js +2 -0
- package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.d.ts → ILidoV1Adapter.d.ts} +13 -48
- package/lib/types/ILidoV1Adapter.js +2 -0
- package/lib/types/ILinearInterestRateModelV3.d.ts +120 -0
- package/lib/types/ILinearInterestRateModelV3.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
- package/lib/types/IPoolV3.sol/IPoolV3.d.ts +43 -11
- package/lib/types/IPoolV3.sol/index.d.ts +0 -1
- package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
- package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
- package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
- package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.js +2 -0
- package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
- package/lib/types/IPriceFeed.sol/index.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
- package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts → IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts} +3 -3
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
- package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
- package/lib/types/IPriceOracle.sol/index.js +2 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +272 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +79 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
- package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
- package/lib/types/IPriceOracleV3.sol/index.js +2 -0
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +10 -9
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +27 -21
- package/lib/types/IVotingContractV3.d.ts +74 -0
- package/lib/types/IVotingContractV3.js +2 -0
- package/lib/types/IYearnV2Adapter.d.ts +22 -22
- package/lib/types/IZapper.d.ts +125 -0
- package/lib/types/IZapper.js +2 -0
- package/lib/types/IZapperRegister.d.ts +62 -0
- package/lib/types/IZapperRegister.js +2 -0
- package/lib/types/IwstETHV1Adapter.d.ts +17 -17
- package/lib/types/factories/AddressProvider__factory.d.ts +1 -1
- package/lib/types/factories/AddressProvider__factory.js +1 -1
- package/lib/types/factories/Claimable__factory.d.ts +1 -1
- package/lib/types/factories/Claimable__factory.js +1 -1
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +158 -0
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +215 -0
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +252 -0
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +341 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +78 -0
- package/lib/types/factories/{ZapperBase__factory.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js} +54 -31
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +360 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +475 -0
- package/lib/types/factories/IBalancerV2Vault.sol/index.d.ts +2 -0
- package/lib/types/factories/IBalancerV2Vault.sol/index.js +10 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +23 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +38 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +12 -0
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js} +4 -4
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +514 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +675 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.js +12 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +103 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +138 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +315 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +416 -0
- package/lib/types/factories/IBotListV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IBotListV3.sol/index.js +10 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +196 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +267 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +16 -0
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js} +6 -8
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.js +10 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +28 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +45 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +134 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +186 -0
- package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
- package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +73 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +101 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +427 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +556 -0
- package/lib/types/factories/IControllerTimelockV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IControllerTimelockV3.sol/index.js +10 -0
- package/lib/types/factories/IConvexToken__factory.d.ts +10 -0
- package/lib/types/factories/IConvexToken__factory.js +13 -0
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +38 -6
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +48 -6
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +23 -0
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +38 -0
- package/lib/types/factories/{IConvexV1BoosterAdapter__factory.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts} +26 -3
- package/lib/types/factories/{IConvexV1BoosterAdapter__factory.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js} +31 -2
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.js +10 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +273 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +357 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +605 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +785 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/index.d.ts +2 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/index.js +10 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +0 -4
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +0 -5
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +19 -24
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +21 -27
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +151 -72
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +189 -85
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +77 -43
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +96 -54
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +339 -147
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +427 -180
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +13 -71
- package/lib/types/factories/ICurveV1Adapter__factory.js +14 -91
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +13 -71
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +14 -91
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +13 -71
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +14 -91
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +13 -71
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +14 -91
- package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +110 -54
- package/lib/types/factories/IDataCompressorV2_10__factory.js +138 -68
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +379 -79
- package/lib/types/factories/IDataCompressorV3_00__factory.js +481 -100
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +38 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +58 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +24 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +39 -0
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.d.ts → IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts} +190 -180
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js → IDegenNFTV2.sol/IDegenNFTV2__factory.js} +212 -195
- package/lib/types/factories/IDegenNFTV2.sol/index.d.ts +3 -0
- package/lib/types/factories/IDegenNFTV2.sol/index.js +12 -0
- package/lib/types/factories/IERC165__factory.d.ts +22 -0
- package/lib/types/factories/IERC165__factory.js +38 -0
- package/lib/types/factories/{draft-IERC20Permit.sol/IERC20Permit__factory.d.ts → IERC20Permit__factory.d.ts} +1 -1
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
- package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
- package/lib/types/factories/IERC721Metadata__factory.d.ts +262 -0
- package/lib/types/factories/IERC721Metadata__factory.js +349 -0
- package/lib/types/factories/IERC721__factory.d.ts +228 -0
- package/lib/types/factories/IERC721__factory.js +304 -0
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +40 -0
- package/lib/types/factories/{AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory.js → IETHZapperDeposits__factory.js} +18 -25
- package/lib/types/factories/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/IGasPricer__factory.js +38 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
- package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.d.ts → IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts} +33 -63
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js → IGearStakingV3.sol/IGearStakingV3Events__factory.js} +34 -70
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +504 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +660 -0
- package/lib/types/factories/IGearStakingV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IGearStakingV3.sol/index.js +10 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +33 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +51 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +24 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +39 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +257 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +339 -0
- package/lib/types/factories/ILPPriceFeed.sol/index.d.ts +3 -0
- package/lib/types/factories/ILPPriceFeed.sol/index.js +12 -0
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts → ILidoV1Adapter__factory.d.ts} +7 -37
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.js → ILidoV1Adapter__factory.js} +8 -46
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +98 -0
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +136 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +103 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +441 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +580 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.js +10 -0
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +62 -14
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +79 -17
- package/lib/types/factories/IPoolV3.sol/index.d.ts +0 -1
- package/lib/types/factories/IPoolV3.sol/index.js +1 -3
- package/lib/types/factories/{IPoolV3.sol/IPoolBase__factory.d.ts → IPriceFeed.sol/IPriceFeed__factory.d.ts} +39 -35
- package/lib/types/factories/{IPoolV3.sol/IPoolBase__factory.js → IPriceFeed.sol/IPriceFeed__factory.js} +40 -35
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +104 -0
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +143 -0
- package/lib/types/factories/IPriceFeed.sol/index.d.ts +2 -0
- package/lib/types/factories/IPriceFeed.sol/index.js +10 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +23 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
- package/lib/types/factories/{IAToken__factory.d.ts → IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts} +98 -99
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
- package/lib/types/factories/{IAToken__factory.js → IPriceOracle.sol/IPriceOracleV2__factory.js} +94 -112
- package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
- package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +78 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +106 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +326 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +433 -0
- package/lib/types/factories/IPriceOracleV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IPriceOracleV3.sol/index.js +10 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +5 -1
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +6 -1
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +12 -4
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +14 -4
- package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
- package/lib/types/factories/IVotingContractV3__factory.js +65 -0
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +21 -13
- package/lib/types/factories/IYearnV2Adapter__factory.js +27 -15
- package/lib/types/factories/IZapperRegister__factory.d.ts +42 -0
- package/lib/types/factories/IZapperRegister__factory.js +64 -0
- package/lib/types/factories/{WERC20ZapperBase__factory.d.ts → IZapper__factory.d.ts} +52 -64
- package/lib/types/factories/{WERC20ZapperBase__factory.js → IZapper__factory.js} +58 -74
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +12 -4
- package/lib/types/factories/IwstETHV1Adapter__factory.js +16 -4
- package/lib/types/factories/SafeERC20__factory.d.ts +1 -1
- package/lib/types/factories/SafeERC20__factory.js +1 -1
- package/lib/types/factories/index.d.ts +32 -14
- package/lib/types/factories/index.js +49 -26
- package/lib/types/factories/{IRouter__factory.d.ts → interfaces/IRouter__factory.d.ts} +75 -6
- package/lib/types/factories/{IRouter__factory.js → interfaces/IRouter__factory.js} +96 -6
- 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 +141 -46
- package/lib/types/index.js +109 -38
- package/lib/types/{IRouter.d.ts → interfaces/IRouter.d.ts} +48 -35
- package/lib/types/interfaces/IRouter.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/lib/utils/formatter.d.ts +0 -3
- package/lib/utils/formatter.js +1 -67
- package/lib/utils/math.d.ts +2 -0
- package/lib/utils/math.js +2 -0
- package/lib/utils/types.d.ts +1 -0
- package/lib/watchers/creditAccountWatcher.d.ts +3 -2
- package/lib/watchers/creditAccountWatcher.js +19 -13
- package/lib/watchers/creditAccountWatcher.spec.js +18 -18
- package/lib/watchers/creditManagerWatcher.d.ts +5 -3
- package/lib/watchers/creditManagerWatcher.js +32 -10
- package/lib/watchers/creditManagerWatcher.spec.js +12 -4
- package/package.json +10 -9
- package/contracts/IRouter.sol +0 -100
- package/lib/core/pool/index.d.ts +0 -1
- package/lib/core/pool/index.js +0 -17
- package/lib/types/AaveV2_WrappedAToken.sol/IWrappedATokenEvents.d.ts +0 -60
- package/lib/types/AaveV2_WrappedAToken.sol/WrappedAToken.d.ts +0 -332
- package/lib/types/AaveV2_WrappedAToken.sol/index.d.ts +0 -2
- package/lib/types/ERC20.d.ts +0 -198
- package/lib/types/IAToken.d.ts +0 -182
- package/lib/types/ILendingPool.d.ts +0 -140
- package/lib/types/ILidoV1Adapter.sol/index.d.ts +0 -3
- package/lib/types/IPoolV3.sol/IPoolBase.d.ts +0 -102
- package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
- package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
- package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
- package/lib/types/WATokenZapper.d.ts +0 -134
- package/lib/types/WERC20ZapperBase.d.ts +0 -134
- package/lib/types/WETHZapper.d.ts +0 -122
- package/lib/types/WstETHZapper.d.ts +0 -134
- package/lib/types/ZapperBase.d.ts +0 -70
- package/lib/types/draft-IERC20Permit.sol/index.d.ts +0 -1
- package/lib/types/factories/AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory.d.ts +0 -48
- package/lib/types/factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory.d.ts +0 -397
- package/lib/types/factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory.js +0 -535
- package/lib/types/factories/AaveV2_WrappedAToken.sol/index.d.ts +0 -2
- package/lib/types/factories/AaveV2_WrappedAToken.sol/index.js +0 -10
- package/lib/types/factories/ERC20__factory.d.ts +0 -239
- package/lib/types/factories/ERC20__factory.js +0 -328
- package/lib/types/factories/ILendingPool__factory.d.ts +0 -134
- package/lib/types/factories/ILendingPool__factory.js +0 -183
- package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts +0 -18
- package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
- package/lib/types/factories/ILidoV1Adapter.sol/index.d.ts +0 -3
- package/lib/types/factories/ILidoV1Adapter.sol/index.js +0 -12
- package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
- package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
- package/lib/types/factories/WATokenZapper__factory.d.ts +0 -161
- package/lib/types/factories/WATokenZapper__factory.js +0 -227
- package/lib/types/factories/WETHZapper__factory.d.ts +0 -138
- package/lib/types/factories/WETHZapper__factory.js +0 -198
- package/lib/types/factories/WstETHZapper__factory.d.ts +0 -161
- package/lib/types/factories/WstETHZapper__factory.js +0 -227
- package/lib/types/factories/ZapperBase__factory.d.ts +0 -60
- package/lib/types/factories/draft-IERC20Permit.sol/index.d.ts +0 -1
- package/lib/types/factories/draft-IERC20Permit.sol/index.js +0 -8
- /package/lib/{types/AaveV2_WrappedAToken.sol/IWrappedATokenEvents.js → payload/gauge.js} +0 -0
- /package/lib/types/{AaveV2_WrappedAToken.sol/WrappedAToken.js → IAaveV2_LendingPoolAdapter.js} +0 -0
- /package/lib/types/{AaveV2_WrappedAToken.sol/index.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
- /package/lib/types/{ERC20.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
- /package/lib/types/{IAToken.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol → IBalancerV2Vault.sol}/index.js +0 -0
- /package/lib/types/{IConvexV1BoosterAdapter.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js} +0 -0
- /package/lib/types/{ILendingPool.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol → IBalancerV2VaultAdapter.sol}/index.js +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → IBotListV3.sol/IBotListV3.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → IBotListV3.sol/IBotListV3Events.js} +0 -0
- /package/lib/types/{draft-IERC20Permit.sol → IBotListV3.sol}/index.js +0 -0
- /package/lib/types/{IPoolV3.sol/IPoolBase.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js} +0 -0
- /package/lib/types/{IRouter.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → ICompoundV2_CTokenAdapter.sol/index.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IContractsRegister.sol/IContractsRegister.js} +0 -0
- /package/lib/types/{WATokenZapper.js → IContractsRegister.sol/IContractsRegisterEvents.js} +0 -0
- /package/lib/types/{WERC20ZapperBase.js → IContractsRegister.sol/index.js} +0 -0
- /package/lib/types/{WETHZapper.js → IControllerTimelockV3.sol/IControllerTimelockV3.js} +0 -0
- /package/lib/types/{WstETHZapper.js → IControllerTimelockV3.sol/IControllerTimelockV3Events.js} +0 -0
- /package/lib/types/{ZapperBase.js → IControllerTimelockV3.sol/index.js} +0 -0
- /package/lib/types/{draft-IERC20Permit.sol/IERC20Permit.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js} +0 -0
- /package/lib/types/factories/{draft-IERC20Permit.sol/IERC20Permit__factory.js → IERC20Permit__factory.js} +0 -0
|
@@ -1,397 +0,0 @@
|
|
|
1
|
-
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
-
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
-
import type { PromiseOrValue } from "../../common";
|
|
4
|
-
import type { WrappedAToken, WrappedATokenInterface } from "../../AaveV2_WrappedAToken.sol/WrappedAToken";
|
|
5
|
-
type WrappedATokenConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
-
export declare class WrappedAToken__factory extends ContractFactory {
|
|
7
|
-
constructor(...args: WrappedATokenConstructorParams);
|
|
8
|
-
deploy(_aToken: PromiseOrValue<string>, overrides?: Overrides & {
|
|
9
|
-
from?: PromiseOrValue<string>;
|
|
10
|
-
}): Promise<WrappedAToken>;
|
|
11
|
-
getDeployTransaction(_aToken: PromiseOrValue<string>, overrides?: Overrides & {
|
|
12
|
-
from?: PromiseOrValue<string>;
|
|
13
|
-
}): TransactionRequest;
|
|
14
|
-
attach(address: string): WrappedAToken;
|
|
15
|
-
connect(signer: Signer): WrappedAToken__factory;
|
|
16
|
-
static readonly bytecode = "0x6101206040523480156200001257600080fd5b5060405162002104380380620021048339810160408190526200003591620004ec565b6001600160a01b0381166200005a5760405180602001604052806000815250620000e5565b806001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000099573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620000c391908101906200054f565b604051602001620000d5919062000607565b6040516020818303038152906040525b6001600160a01b0382166200010a576040518060200160405280600081525062000195565b816001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000149573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200017391908101906200054f565b60405160200162000185919062000639565b6040516020818303038152906040525b6003620001a38382620006f2565b506004620001b28282620006f2565b50505080620001c781620003b460201b60201c565b6001600160a01b0382166080819052604080516358b50cef60e11b8152905163b16a19de916004808201926020929091908290030181865afa15801562000212573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002389190620004ec565b6001600160a01b031660a0816001600160a01b0316815250506080516001600160a01b0316637535d2466040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000292573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b89190620004ec565b6001600160a01b0390811660c081905260a05160405163d15e005360e01b8152921660048301529063d15e005390602401602060405180830381865afa15801562000307573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032d9190620007be565b60e081815250506080516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000375573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039b9190620007d8565b60ff1661010052620003ac620003df565b5050620007fd565b6001600160a01b038116620003dc57604051635919af9760e11b815260040160405180910390fd5b50565b6200040a60c05160001960a0516001600160a01b03166200040c60201b62000aea179092919060201c565b565b620004218363095ea7b360e01b84846200047f565b6200047a576200043c8363095ea7b360e01b8460006200047f565b15806200045b5750620004598363095ea7b360e01b84846200047f565b155b156200047a5760405163019be9a960e41b815260040160405180910390fd5b505050565b60006040518481528360048201528260248201526020600060448360008a5af19150508015620004ce573d8015620004c457600160005114601f3d11169150620004cc565b6000863b1191505b505b949350505050565b6001600160a01b0381168114620003dc57600080fd5b600060208284031215620004ff57600080fd5b81516200050c81620004d6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620005465781810151838201526020016200052c565b50506000910152565b6000602082840312156200056257600080fd5b81516001600160401b03808211156200057a57600080fd5b818401915084601f8301126200058f57600080fd5b815181811115620005a457620005a462000513565b604051601f8201601f19908116603f01168101908382118183101715620005cf57620005cf62000513565b81604052828152876020848701011115620005e957600080fd5b620005fc83602083016020880162000529565b979650505050505050565b6702bb930b83832b2160c51b8152600082516200062c81600885016020870162000529565b9190910160080192915050565b607760f81b8152600082516200065781600185016020870162000529565b9190910160010192915050565b600181811c908216806200067957607f821691505b6020821081036200069a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200047a57600081815260208120601f850160051c81016020861015620006c95750805b601f850160051c820191505b81811015620006ea57828155600101620006d5565b505050505050565b81516001600160401b038111156200070e576200070e62000513565b62000726816200071f845462000664565b84620006a0565b602080601f8311600181146200075e5760008415620007455750858301515b600019600386901b1c1916600185901b178555620006ea565b600085815260208120601f198616915b828110156200078f578886015182559484019460019091019084016200076e565b5085821015620007ae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007d157600080fd5b5051919050565b600060208284031215620007eb57600080fd5b815160ff811681146200050c57600080fd5b60805160a05160c05160e051610100516118756200088f600039600061020801526000610755015260008181610329015281816104f60152818161077701528181610a7d0152611268015260008181610265015281816104be0152818161072a015281816109dc01528181610a4101526112460152600081816102ef015281816105d2015261093401526118756000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c80636f307dc3116100cd578063a59a997311610081578063b6b55f2511610066578063b6b55f251461035e578063b9f5be4114610371578063dd62ed3e1461038457600080fd5b8063a59a997314610324578063a9059cbb1461034b57600080fd5b806395d89b41116100b257806395d89b41146102e2578063a0c1f15e146102ea578063a457c2d71461031157600080fd5b80636f307dc31461026057806370a08231146102ac57600080fd5b80632e1a7d4d11610124578063395093511161010957806339509351146102325780633af9e669146102455780633ba0b9a91461025857600080fd5b80632e1a7d4d146101ee578063313ce5671461020157600080fd5b80631071a290116101555780631071a290146101b257806318160ddd146101d357806323b872dd146101db57600080fd5b806306fdde0314610171578063095ea7b31461018f575b600080fd5b6101796103ca565b60405161018691906115ba565b60405180910390f35b6101a261019d36600461164f565b61045c565b6040519015158152602001610186565b6101c56101c0366004611679565b610476565b604051908152602001610186565b6002546101c5565b6101a26101e9366004611692565b61056b565b6101c56101fc366004611679565b61058f565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610186565b6101a261024036600461164f565b610654565b6101c56102533660046116ce565b6106a0565b6101c56106ed565b6102877f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610186565b6101c56102ba3660046116ce565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610179610803565b6102877f000000000000000000000000000000000000000000000000000000000000000081565b6101a261031f36600461164f565b610812565b6102877f000000000000000000000000000000000000000000000000000000000000000081565b6101a261035936600461164f565b6108e8565b6101c561036c366004611679565b6108f6565b6101c561037f366004611679565b6109c0565b6101c56103923660046116f0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6060600380546103d990611723565b80601f016020809104026020016040519081016040528092919081815260200182805461040590611723565b80156104525780601f1061042757610100808354040283529160200191610452565b820191906000526020600020905b81548152906001019060200180831161043557829003601f168201915b5050505050905090565b60003361046a818585610bb8565b60019150505b92915050565b600061048182610d6b565b6040517f69328dec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018390523360448301529192507f0000000000000000000000000000000000000000000000000000000000000000909116906369328dec906064016020604051808303816000875af1158015610541573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105659190611770565b50919050565b600033610579858285610ddf565b610584858585610eb6565b506001949350505050565b600061059a82610d6b565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af1158015610630573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105659190611789565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061046a908290869061069b9087906117da565b610bb8565b6000670de0b6b3a76400006106b36106ed565b73ffffffffffffffffffffffffffffffffffffffff84166000908152602081905260409020546106e391906117ed565b6104709190611804565b6040517fd15e005300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000917f0000000000000000000000000000000000000000000000000000000000000000169063d15e005390602401602060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190611770565b6107f490670de0b6b3a76400006117ed565b6107fe9190611804565b905090565b6060600480546103d990611723565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156108db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6105848286868403610bb8565b60003361046a818585610eb6565b6040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018290526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906323b872dd906064016020604051808303816000875af1158015610992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b69190611789565b5061047082611125565b6000610a0473ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633308561118f565b6040517fe8eda9df00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201849052306044830152600060648301527f0000000000000000000000000000000000000000000000000000000000000000169063e8eda9df90608401600060405180830381600087803b158015610ac157600080fd5b505af1158015610ad5573d6000803e3d6000fd5b50505050610ae161122c565b61047082611125565b610b16837f095ea7b30000000000000000000000000000000000000000000000000000000084846112af565b610bb357610b47837f095ea7b3000000000000000000000000000000000000000000000000000000008460006112af565b1580610b7c5750610b7a837f095ea7b30000000000000000000000000000000000000000000000000000000084846112af565b155b15610bb3576040517f19be9a9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108d2565b73ffffffffffffffffffffffffffffffffffffffff8216610cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016108d2565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000670de0b6b3a7640000610d7e6106ed565b610d8890846117ed565b610d929190611804565b9050610d9e3383611303565b604080518281526020810184905233917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56891015b60405180910390a2919050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610eb05781811015610ea3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108d2565b610eb08484848403610bb8565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610f59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108d2565b73ffffffffffffffffffffffffffffffffffffffff8216610ffc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108d2565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156110b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108d2565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610eb0565b600061112f6106ed565b611141670de0b6b3a7640000846117ed565b61114b9190611804565b905061115733826114c7565b604080518381526020810183905233917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159101610dd2565b60006323b872dd60e01b905060006040518281528560048201528460248201528360448201526020600060648360008b5af191505080156111ed573d80156111e357600160005114601f3d111691506111eb565b6000873b1191505b505b80611224576040517ff405907100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050565b6112ad73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610aea565b565b60006040518481528360048201528260248201526020600060448360008a5af191505080156112fb573d80156112f157600160005114601f3d111691506112f9565b6000863b1191505b505b949350505050565b73ffffffffffffffffffffffffffffffffffffffff82166113a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016108d2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020548181101561145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016108d2565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8216611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108d2565b806002600082825461155691906117da565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b818110156115e7578581018301518582016040015282016115cb565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461164a57600080fd5b919050565b6000806040838503121561166257600080fd5b61166b83611626565b946020939093013593505050565b60006020828403121561168b57600080fd5b5035919050565b6000806000606084860312156116a757600080fd5b6116b084611626565b92506116be60208501611626565b9150604084013590509250925092565b6000602082840312156116e057600080fd5b6116e982611626565b9392505050565b6000806040838503121561170357600080fd5b61170c83611626565b915061171a60208401611626565b90509250929050565b600181811c9082168061173757607f821691505b602082108103610565577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006020828403121561178257600080fd5b5051919050565b60006020828403121561179b57600080fd5b815180151581146116e957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610470576104706117ab565b8082028115828204841417610470576104706117ab565b60008261183a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea2646970667358221220c0414f2ef1aa1f746f9f049eb0efb738c827caacac753fd96b387c1e4ad05b9d64736f6c63430008110033";
|
|
17
|
-
static readonly abi: readonly [{
|
|
18
|
-
readonly inputs: readonly [{
|
|
19
|
-
readonly internalType: "address";
|
|
20
|
-
readonly name: "_aToken";
|
|
21
|
-
readonly type: "address";
|
|
22
|
-
}];
|
|
23
|
-
readonly stateMutability: "nonpayable";
|
|
24
|
-
readonly type: "constructor";
|
|
25
|
-
}, {
|
|
26
|
-
readonly inputs: readonly [];
|
|
27
|
-
readonly name: "ForceApproveFailed";
|
|
28
|
-
readonly type: "error";
|
|
29
|
-
}, {
|
|
30
|
-
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "SafeTransferFromFailed";
|
|
32
|
-
readonly type: "error";
|
|
33
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "ZeroAddressException";
|
|
36
|
-
readonly type: "error";
|
|
37
|
-
}, {
|
|
38
|
-
readonly anonymous: false;
|
|
39
|
-
readonly inputs: readonly [{
|
|
40
|
-
readonly indexed: true;
|
|
41
|
-
readonly internalType: "address";
|
|
42
|
-
readonly name: "owner";
|
|
43
|
-
readonly type: "address";
|
|
44
|
-
}, {
|
|
45
|
-
readonly indexed: true;
|
|
46
|
-
readonly internalType: "address";
|
|
47
|
-
readonly name: "spender";
|
|
48
|
-
readonly type: "address";
|
|
49
|
-
}, {
|
|
50
|
-
readonly indexed: false;
|
|
51
|
-
readonly internalType: "uint256";
|
|
52
|
-
readonly name: "value";
|
|
53
|
-
readonly type: "uint256";
|
|
54
|
-
}];
|
|
55
|
-
readonly name: "Approval";
|
|
56
|
-
readonly type: "event";
|
|
57
|
-
}, {
|
|
58
|
-
readonly anonymous: false;
|
|
59
|
-
readonly inputs: readonly [{
|
|
60
|
-
readonly indexed: true;
|
|
61
|
-
readonly internalType: "address";
|
|
62
|
-
readonly name: "account";
|
|
63
|
-
readonly type: "address";
|
|
64
|
-
}, {
|
|
65
|
-
readonly indexed: false;
|
|
66
|
-
readonly internalType: "uint256";
|
|
67
|
-
readonly name: "assets";
|
|
68
|
-
readonly type: "uint256";
|
|
69
|
-
}, {
|
|
70
|
-
readonly indexed: false;
|
|
71
|
-
readonly internalType: "uint256";
|
|
72
|
-
readonly name: "shares";
|
|
73
|
-
readonly type: "uint256";
|
|
74
|
-
}];
|
|
75
|
-
readonly name: "Deposit";
|
|
76
|
-
readonly type: "event";
|
|
77
|
-
}, {
|
|
78
|
-
readonly anonymous: false;
|
|
79
|
-
readonly inputs: readonly [{
|
|
80
|
-
readonly indexed: true;
|
|
81
|
-
readonly internalType: "address";
|
|
82
|
-
readonly name: "from";
|
|
83
|
-
readonly type: "address";
|
|
84
|
-
}, {
|
|
85
|
-
readonly indexed: true;
|
|
86
|
-
readonly internalType: "address";
|
|
87
|
-
readonly name: "to";
|
|
88
|
-
readonly type: "address";
|
|
89
|
-
}, {
|
|
90
|
-
readonly indexed: false;
|
|
91
|
-
readonly internalType: "uint256";
|
|
92
|
-
readonly name: "value";
|
|
93
|
-
readonly type: "uint256";
|
|
94
|
-
}];
|
|
95
|
-
readonly name: "Transfer";
|
|
96
|
-
readonly type: "event";
|
|
97
|
-
}, {
|
|
98
|
-
readonly anonymous: false;
|
|
99
|
-
readonly inputs: readonly [{
|
|
100
|
-
readonly indexed: true;
|
|
101
|
-
readonly internalType: "address";
|
|
102
|
-
readonly name: "account";
|
|
103
|
-
readonly type: "address";
|
|
104
|
-
}, {
|
|
105
|
-
readonly indexed: false;
|
|
106
|
-
readonly internalType: "uint256";
|
|
107
|
-
readonly name: "assets";
|
|
108
|
-
readonly type: "uint256";
|
|
109
|
-
}, {
|
|
110
|
-
readonly indexed: false;
|
|
111
|
-
readonly internalType: "uint256";
|
|
112
|
-
readonly name: "shares";
|
|
113
|
-
readonly type: "uint256";
|
|
114
|
-
}];
|
|
115
|
-
readonly name: "Withdraw";
|
|
116
|
-
readonly type: "event";
|
|
117
|
-
}, {
|
|
118
|
-
readonly inputs: readonly [];
|
|
119
|
-
readonly name: "aToken";
|
|
120
|
-
readonly outputs: readonly [{
|
|
121
|
-
readonly internalType: "address";
|
|
122
|
-
readonly name: "";
|
|
123
|
-
readonly type: "address";
|
|
124
|
-
}];
|
|
125
|
-
readonly stateMutability: "view";
|
|
126
|
-
readonly type: "function";
|
|
127
|
-
}, {
|
|
128
|
-
readonly inputs: readonly [{
|
|
129
|
-
readonly internalType: "address";
|
|
130
|
-
readonly name: "owner";
|
|
131
|
-
readonly type: "address";
|
|
132
|
-
}, {
|
|
133
|
-
readonly internalType: "address";
|
|
134
|
-
readonly name: "spender";
|
|
135
|
-
readonly type: "address";
|
|
136
|
-
}];
|
|
137
|
-
readonly name: "allowance";
|
|
138
|
-
readonly outputs: readonly [{
|
|
139
|
-
readonly internalType: "uint256";
|
|
140
|
-
readonly name: "";
|
|
141
|
-
readonly type: "uint256";
|
|
142
|
-
}];
|
|
143
|
-
readonly stateMutability: "view";
|
|
144
|
-
readonly type: "function";
|
|
145
|
-
}, {
|
|
146
|
-
readonly inputs: readonly [{
|
|
147
|
-
readonly internalType: "address";
|
|
148
|
-
readonly name: "spender";
|
|
149
|
-
readonly type: "address";
|
|
150
|
-
}, {
|
|
151
|
-
readonly internalType: "uint256";
|
|
152
|
-
readonly name: "amount";
|
|
153
|
-
readonly type: "uint256";
|
|
154
|
-
}];
|
|
155
|
-
readonly name: "approve";
|
|
156
|
-
readonly outputs: readonly [{
|
|
157
|
-
readonly internalType: "bool";
|
|
158
|
-
readonly name: "";
|
|
159
|
-
readonly type: "bool";
|
|
160
|
-
}];
|
|
161
|
-
readonly stateMutability: "nonpayable";
|
|
162
|
-
readonly type: "function";
|
|
163
|
-
}, {
|
|
164
|
-
readonly inputs: readonly [{
|
|
165
|
-
readonly internalType: "address";
|
|
166
|
-
readonly name: "account";
|
|
167
|
-
readonly type: "address";
|
|
168
|
-
}];
|
|
169
|
-
readonly name: "balanceOf";
|
|
170
|
-
readonly outputs: readonly [{
|
|
171
|
-
readonly internalType: "uint256";
|
|
172
|
-
readonly name: "";
|
|
173
|
-
readonly type: "uint256";
|
|
174
|
-
}];
|
|
175
|
-
readonly stateMutability: "view";
|
|
176
|
-
readonly type: "function";
|
|
177
|
-
}, {
|
|
178
|
-
readonly inputs: readonly [{
|
|
179
|
-
readonly internalType: "address";
|
|
180
|
-
readonly name: "account";
|
|
181
|
-
readonly type: "address";
|
|
182
|
-
}];
|
|
183
|
-
readonly name: "balanceOfUnderlying";
|
|
184
|
-
readonly outputs: readonly [{
|
|
185
|
-
readonly internalType: "uint256";
|
|
186
|
-
readonly name: "";
|
|
187
|
-
readonly type: "uint256";
|
|
188
|
-
}];
|
|
189
|
-
readonly stateMutability: "view";
|
|
190
|
-
readonly type: "function";
|
|
191
|
-
}, {
|
|
192
|
-
readonly inputs: readonly [];
|
|
193
|
-
readonly name: "decimals";
|
|
194
|
-
readonly outputs: readonly [{
|
|
195
|
-
readonly internalType: "uint8";
|
|
196
|
-
readonly name: "";
|
|
197
|
-
readonly type: "uint8";
|
|
198
|
-
}];
|
|
199
|
-
readonly stateMutability: "view";
|
|
200
|
-
readonly type: "function";
|
|
201
|
-
}, {
|
|
202
|
-
readonly inputs: readonly [{
|
|
203
|
-
readonly internalType: "address";
|
|
204
|
-
readonly name: "spender";
|
|
205
|
-
readonly type: "address";
|
|
206
|
-
}, {
|
|
207
|
-
readonly internalType: "uint256";
|
|
208
|
-
readonly name: "subtractedValue";
|
|
209
|
-
readonly type: "uint256";
|
|
210
|
-
}];
|
|
211
|
-
readonly name: "decreaseAllowance";
|
|
212
|
-
readonly outputs: readonly [{
|
|
213
|
-
readonly internalType: "bool";
|
|
214
|
-
readonly name: "";
|
|
215
|
-
readonly type: "bool";
|
|
216
|
-
}];
|
|
217
|
-
readonly stateMutability: "nonpayable";
|
|
218
|
-
readonly type: "function";
|
|
219
|
-
}, {
|
|
220
|
-
readonly inputs: readonly [{
|
|
221
|
-
readonly internalType: "uint256";
|
|
222
|
-
readonly name: "assets";
|
|
223
|
-
readonly type: "uint256";
|
|
224
|
-
}];
|
|
225
|
-
readonly name: "deposit";
|
|
226
|
-
readonly outputs: readonly [{
|
|
227
|
-
readonly internalType: "uint256";
|
|
228
|
-
readonly name: "shares";
|
|
229
|
-
readonly type: "uint256";
|
|
230
|
-
}];
|
|
231
|
-
readonly stateMutability: "nonpayable";
|
|
232
|
-
readonly type: "function";
|
|
233
|
-
}, {
|
|
234
|
-
readonly inputs: readonly [{
|
|
235
|
-
readonly internalType: "uint256";
|
|
236
|
-
readonly name: "assets";
|
|
237
|
-
readonly type: "uint256";
|
|
238
|
-
}];
|
|
239
|
-
readonly name: "depositUnderlying";
|
|
240
|
-
readonly outputs: readonly [{
|
|
241
|
-
readonly internalType: "uint256";
|
|
242
|
-
readonly name: "shares";
|
|
243
|
-
readonly type: "uint256";
|
|
244
|
-
}];
|
|
245
|
-
readonly stateMutability: "nonpayable";
|
|
246
|
-
readonly type: "function";
|
|
247
|
-
}, {
|
|
248
|
-
readonly inputs: readonly [];
|
|
249
|
-
readonly name: "exchangeRate";
|
|
250
|
-
readonly outputs: readonly [{
|
|
251
|
-
readonly internalType: "uint256";
|
|
252
|
-
readonly name: "";
|
|
253
|
-
readonly type: "uint256";
|
|
254
|
-
}];
|
|
255
|
-
readonly stateMutability: "view";
|
|
256
|
-
readonly type: "function";
|
|
257
|
-
}, {
|
|
258
|
-
readonly inputs: readonly [{
|
|
259
|
-
readonly internalType: "address";
|
|
260
|
-
readonly name: "spender";
|
|
261
|
-
readonly type: "address";
|
|
262
|
-
}, {
|
|
263
|
-
readonly internalType: "uint256";
|
|
264
|
-
readonly name: "addedValue";
|
|
265
|
-
readonly type: "uint256";
|
|
266
|
-
}];
|
|
267
|
-
readonly name: "increaseAllowance";
|
|
268
|
-
readonly outputs: readonly [{
|
|
269
|
-
readonly internalType: "bool";
|
|
270
|
-
readonly name: "";
|
|
271
|
-
readonly type: "bool";
|
|
272
|
-
}];
|
|
273
|
-
readonly stateMutability: "nonpayable";
|
|
274
|
-
readonly type: "function";
|
|
275
|
-
}, {
|
|
276
|
-
readonly inputs: readonly [];
|
|
277
|
-
readonly name: "lendingPool";
|
|
278
|
-
readonly outputs: readonly [{
|
|
279
|
-
readonly internalType: "address";
|
|
280
|
-
readonly name: "";
|
|
281
|
-
readonly type: "address";
|
|
282
|
-
}];
|
|
283
|
-
readonly stateMutability: "view";
|
|
284
|
-
readonly type: "function";
|
|
285
|
-
}, {
|
|
286
|
-
readonly inputs: readonly [];
|
|
287
|
-
readonly name: "name";
|
|
288
|
-
readonly outputs: readonly [{
|
|
289
|
-
readonly internalType: "string";
|
|
290
|
-
readonly name: "";
|
|
291
|
-
readonly type: "string";
|
|
292
|
-
}];
|
|
293
|
-
readonly stateMutability: "view";
|
|
294
|
-
readonly type: "function";
|
|
295
|
-
}, {
|
|
296
|
-
readonly inputs: readonly [];
|
|
297
|
-
readonly name: "symbol";
|
|
298
|
-
readonly outputs: readonly [{
|
|
299
|
-
readonly internalType: "string";
|
|
300
|
-
readonly name: "";
|
|
301
|
-
readonly type: "string";
|
|
302
|
-
}];
|
|
303
|
-
readonly stateMutability: "view";
|
|
304
|
-
readonly type: "function";
|
|
305
|
-
}, {
|
|
306
|
-
readonly inputs: readonly [];
|
|
307
|
-
readonly name: "totalSupply";
|
|
308
|
-
readonly outputs: readonly [{
|
|
309
|
-
readonly internalType: "uint256";
|
|
310
|
-
readonly name: "";
|
|
311
|
-
readonly type: "uint256";
|
|
312
|
-
}];
|
|
313
|
-
readonly stateMutability: "view";
|
|
314
|
-
readonly type: "function";
|
|
315
|
-
}, {
|
|
316
|
-
readonly inputs: readonly [{
|
|
317
|
-
readonly internalType: "address";
|
|
318
|
-
readonly name: "to";
|
|
319
|
-
readonly type: "address";
|
|
320
|
-
}, {
|
|
321
|
-
readonly internalType: "uint256";
|
|
322
|
-
readonly name: "amount";
|
|
323
|
-
readonly type: "uint256";
|
|
324
|
-
}];
|
|
325
|
-
readonly name: "transfer";
|
|
326
|
-
readonly outputs: readonly [{
|
|
327
|
-
readonly internalType: "bool";
|
|
328
|
-
readonly name: "";
|
|
329
|
-
readonly type: "bool";
|
|
330
|
-
}];
|
|
331
|
-
readonly stateMutability: "nonpayable";
|
|
332
|
-
readonly type: "function";
|
|
333
|
-
}, {
|
|
334
|
-
readonly inputs: readonly [{
|
|
335
|
-
readonly internalType: "address";
|
|
336
|
-
readonly name: "from";
|
|
337
|
-
readonly type: "address";
|
|
338
|
-
}, {
|
|
339
|
-
readonly internalType: "address";
|
|
340
|
-
readonly name: "to";
|
|
341
|
-
readonly type: "address";
|
|
342
|
-
}, {
|
|
343
|
-
readonly internalType: "uint256";
|
|
344
|
-
readonly name: "amount";
|
|
345
|
-
readonly type: "uint256";
|
|
346
|
-
}];
|
|
347
|
-
readonly name: "transferFrom";
|
|
348
|
-
readonly outputs: readonly [{
|
|
349
|
-
readonly internalType: "bool";
|
|
350
|
-
readonly name: "";
|
|
351
|
-
readonly type: "bool";
|
|
352
|
-
}];
|
|
353
|
-
readonly stateMutability: "nonpayable";
|
|
354
|
-
readonly type: "function";
|
|
355
|
-
}, {
|
|
356
|
-
readonly inputs: readonly [];
|
|
357
|
-
readonly name: "underlying";
|
|
358
|
-
readonly outputs: readonly [{
|
|
359
|
-
readonly internalType: "address";
|
|
360
|
-
readonly name: "";
|
|
361
|
-
readonly type: "address";
|
|
362
|
-
}];
|
|
363
|
-
readonly stateMutability: "view";
|
|
364
|
-
readonly type: "function";
|
|
365
|
-
}, {
|
|
366
|
-
readonly inputs: readonly [{
|
|
367
|
-
readonly internalType: "uint256";
|
|
368
|
-
readonly name: "shares";
|
|
369
|
-
readonly type: "uint256";
|
|
370
|
-
}];
|
|
371
|
-
readonly name: "withdraw";
|
|
372
|
-
readonly outputs: readonly [{
|
|
373
|
-
readonly internalType: "uint256";
|
|
374
|
-
readonly name: "assets";
|
|
375
|
-
readonly type: "uint256";
|
|
376
|
-
}];
|
|
377
|
-
readonly stateMutability: "nonpayable";
|
|
378
|
-
readonly type: "function";
|
|
379
|
-
}, {
|
|
380
|
-
readonly inputs: readonly [{
|
|
381
|
-
readonly internalType: "uint256";
|
|
382
|
-
readonly name: "shares";
|
|
383
|
-
readonly type: "uint256";
|
|
384
|
-
}];
|
|
385
|
-
readonly name: "withdrawUnderlying";
|
|
386
|
-
readonly outputs: readonly [{
|
|
387
|
-
readonly internalType: "uint256";
|
|
388
|
-
readonly name: "assets";
|
|
389
|
-
readonly type: "uint256";
|
|
390
|
-
}];
|
|
391
|
-
readonly stateMutability: "nonpayable";
|
|
392
|
-
readonly type: "function";
|
|
393
|
-
}];
|
|
394
|
-
static createInterface(): WrappedATokenInterface;
|
|
395
|
-
static connect(address: string, signerOrProvider: Signer | Provider): WrappedAToken;
|
|
396
|
-
}
|
|
397
|
-
export {};
|