@gearbox-protocol/sdk 3.0.0-next.1 → 3.0.0-next.100
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/IAirdropDistributor.sol +55 -0
- package/contracts/IDegenDistributor.sol +28 -0
- package/contracts/IOffchainOracle.sol +17 -0
- package/contracts/IWETHGateway.sol +33 -0
- package/contracts/IwstETHGateway.sol +24 -0
- package/contracts/index.sol +77 -0
- package/lib/apy/convexAPY.d.ts +1 -1
- package/lib/apy/convexAPY.js +8 -9
- package/lib/apy/curveAPY.js +2 -1
- package/lib/apy/index.d.ts +2 -2
- package/lib/apy/yearnAPY.js +1 -1
- package/lib/config.d.ts +0 -1
- package/lib/config.js +1 -2
- package/lib/contracts/contractsRegister.d.ts +5 -2
- package/lib/contracts/contractsRegister.js +12 -0
- package/lib/core/assets.d.ts +4 -4
- package/lib/core/assets.js +28 -17
- package/lib/core/creditAccount.d.ts +78 -28
- package/lib/core/creditAccount.js +199 -96
- package/lib/core/creditAccount.spec.js +745 -16
- package/lib/core/creditManager.d.ts +44 -36
- package/lib/core/creditManager.js +177 -130
- package/lib/core/creditSession.d.ts +11 -1
- package/lib/core/creditSession.js +37 -20
- package/lib/core/endpoint.d.ts +10 -0
- package/lib/core/endpoint.js +26 -0
- package/lib/core/errors.d.ts +0 -9
- package/lib/core/errors.js +0 -15
- package/lib/core/events.js +35 -35
- 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.js +388 -0
- package/lib/core/pool.d.ts +124 -0
- package/lib/core/pool.js +306 -0
- package/lib/core/priceOracle.js +1 -2
- package/lib/core/rewardConvex.d.ts +3 -3
- package/lib/core/rewardConvex.js +2 -3
- package/lib/core/strategy.d.ts +15 -15
- package/lib/core/strategy.js +10 -26
- package/lib/core/trade.d.ts +14 -30
- package/lib/core/trade.js +37 -84
- package/lib/core/transactions.d.ts +110 -14
- package/lib/core/transactions.js +191 -108
- package/lib/index.d.ts +15 -7
- package/lib/index.js +15 -8
- package/lib/parsers/ERC20Parser.js +2 -2
- 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 +44 -5
- package/lib/parsers/creditFacadeParser.spec.js +4 -5
- package/lib/parsers/creditManagerParser.js +3 -3
- package/lib/parsers/curveAdapterParser.js +15 -11
- package/lib/parsers/curveAdapterParser.spec.js +11 -7
- package/lib/parsers/lidoAdapterParser.js +3 -2
- package/lib/parsers/lidoAdapterParser.spec.js +2 -2
- package/lib/parsers/lidoSTETHParser.js +2 -2
- package/lib/parsers/poolParser.js +1 -1
- package/lib/parsers/priceOracleParser.js +1 -1
- package/lib/parsers/txParser.d.ts +6 -10
- package/lib/parsers/txParser.js +9 -24
- 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 +8 -6
- 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 +10 -11
- package/lib/pathfinder/pathOptions.d.ts +6 -4
- package/lib/pathfinder/pathOptions.js +23 -5
- package/lib/pathfinder/pathOptions.spec.js +29 -29
- package/lib/pathfinder/pathfinder.d.ts +44 -16
- package/lib/pathfinder/pathfinder.js +66 -46
- package/lib/pathfinder/pathfinder.spec.js +7 -3
- package/lib/pathfinder/v1/core.d.ts +16 -0
- package/lib/pathfinder/v1/pathfinderv1.d.ts +46 -0
- package/lib/pathfinder/v1/pathfinderv1.js +155 -0
- package/lib/pathfinder/v1/pathfinderv1.spec.d.ts +1 -0
- package/lib/pathfinder/v1/pathfinderv1.spec.js +39 -0
- package/lib/payload/creditAccount.d.ts +4 -3
- package/lib/payload/creditManager.d.ts +10 -6
- package/lib/payload/creditSession.d.ts +11 -0
- package/lib/payload/gauge.d.ts +12 -0
- package/lib/payload/pool.d.ts +13 -2
- package/lib/types/AddressProvider.d.ts +382 -0
- package/lib/types/Balances.sol/BalanceOps.d.ts +27 -0
- package/lib/types/Balances.sol/index.d.ts +1 -0
- package/lib/types/CalldataExtractor.d.ts +44 -0
- package/lib/types/Claimable.d.ts +113 -0
- package/lib/types/ERC20.d.ts +198 -0
- package/lib/types/Errors.d.ts +298 -0
- package/lib/types/FarmAccounting.d.ts +27 -0
- package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +171 -0
- package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +290 -0
- package/lib/types/IAdapter.d.ts +74 -0
- package/lib/types/IAddressProvider.sol/IAddressProvider.d.ts +137 -0
- package/lib/types/IAddressProvider.sol/IAddressProviderEvents.d.ts +43 -0
- package/lib/types/IAddressProviderV3.sol/IAddressProviderV3.d.ts +97 -0
- package/lib/types/IAddressProviderV3.sol/IAddressProviderV3Events.d.ts +45 -0
- package/lib/types/IAddressProviderV3.sol/index.d.ts +2 -0
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributor.d.ts +124 -0
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +73 -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/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +27 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
- package/lib/types/IBaseRewardPool.d.ts +378 -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/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 +190 -0
- package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +300 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts +209 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2.d.ts +641 -0
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events.d.ts +293 -0
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions.d.ts +27 -0
- package/lib/types/ICreditConfiguratorV2.sol/index.d.ts +3 -0
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.d.ts +716 -0
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.d.ts +275 -0
- package/lib/types/ICreditConfiguratorV3.sol/index.d.ts +2 -0
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2.d.ts +710 -0
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Events.d.ts +244 -0
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions.d.ts +27 -0
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +138 -0
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2V2.d.ts +66 -0
- package/lib/types/ICreditFacadeV2.sol/index.d.ts +5 -0
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +524 -0
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +166 -0
- package/lib/types/ICreditFacadeV3.sol/index.d.ts +2 -0
- package/lib/types/ICreditFacadeV3Multicall.d.ts +277 -0
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2.d.ts +639 -0
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2Events.d.ts +54 -0
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2Exceptions.d.ts +27 -0
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +967 -0
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3Events.d.ts +41 -0
- package/lib/types/ICreditManagerV3.sol/index.d.ts +2 -0
- package/lib/types/ICurvePool.d.ts +438 -0
- package/lib/types/ICurvePool_2.sol/ICurvePool2Assets.d.ts +590 -0
- package/lib/types/ICurvePool_3.sol/ICurvePool3Assets.d.ts +686 -0
- package/lib/types/ICurvePool_4.sol/ICurvePool4Assets.d.ts +722 -0
- package/lib/types/ICurveV1Adapter.d.ts +550 -0
- package/lib/types/ICurveV1_2AssetsAdapter.d.ts +634 -0
- package/lib/types/ICurveV1_3AssetsAdapter.d.ts +697 -0
- package/lib/types/ICurveV1_4AssetsAdapter.d.ts +715 -0
- package/lib/types/IDaiLikePermit.d.ts +59 -0
- package/lib/types/IDataCompressorV2_10.d.ts +482 -0
- package/lib/types/IDataCompressorV3_00.d.ts +600 -0
- package/lib/types/IDegenDistributor.sol/IDegenDistributor.d.ts +96 -0
- package/lib/types/IDegenDistributor.sol/IDegenDistributorEvents.d.ts +53 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +339 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +61 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +27 -0
- package/lib/types/IDegenNFTV2.sol/index.d.ts +3 -0
- package/lib/types/IERC165.d.ts +42 -0
- package/lib/types/IERC20.d.ts +142 -0
- package/lib/types/IERC20Metadata.d.ts +166 -0
- package/lib/types/IERC20Permit.d.ts +74 -0
- package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
- package/lib/types/IERC4626.d.ts +394 -0
- package/lib/types/IERC4626Adapter.d.ts +238 -0
- package/lib/types/IERC721.d.ts +220 -0
- package/lib/types/IERC721Metadata.d.ts +244 -0
- package/lib/types/IETHZapperDeposits.d.ts +66 -0
- package/lib/types/IFarmingPool.d.ts +318 -0
- package/lib/types/IGasPricer.d.ts +44 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
- package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
- package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
- package/lib/types/IInterestRateModel.d.ts +50 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +285 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +54 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +27 -0
- package/lib/types/ILidoV1Adapter.d.ts +158 -0
- package/lib/types/ILinearInterestRateModelV3.d.ts +120 -0
- package/lib/types/IOffchainOracle.d.ts +58 -0
- package/lib/types/IPermit2.d.ts +130 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
- package/lib/types/IPoolService.sol/IPoolService.d.ts +392 -0
- package/lib/types/IPoolService.sol/IPoolServiceEvents.d.ts +162 -0
- package/lib/types/IPoolV3.sol/IPoolV3.d.ts +936 -0
- package/lib/types/IPoolV3.sol/IPoolV3Events.d.ts +158 -0
- package/lib/types/IPoolV3.sol/index.d.ts +2 -0
- package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
- package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
- package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts +27 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
- package/lib/types/IPriceOracleBase.d.ts +88 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +272 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +79 -0
- package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
- package/lib/types/IRouter.d.ts +278 -0
- package/lib/types/IRouterV3.d.ts +281 -0
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +208 -0
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents.d.ts +45 -0
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.d.ts +27 -0
- package/lib/types/IUniswapV2Adapter.sol/index.d.ts +3 -0
- package/lib/types/IUniswapV3.sol/ISwapRouter.d.ts +198 -0
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +415 -0
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents.d.ts +47 -0
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions.d.ts +27 -0
- package/lib/types/IUniswapV3Adapter.sol/index.d.ts +3 -0
- package/lib/types/IVersion.d.ts +42 -0
- package/lib/types/IVotingContractV3.d.ts +74 -0
- package/lib/types/IWETH.d.ts +197 -0
- package/lib/types/IWETHGateway.d.ts +90 -0
- package/lib/types/IYVault.d.ts +298 -0
- package/lib/types/IYearnV2Adapter.d.ts +256 -0
- package/lib/types/IZapper.d.ts +125 -0
- package/lib/types/IZapperRegister.d.ts +62 -0
- package/lib/types/IstETH.sol/IstETH.d.ts +230 -0
- package/lib/types/IstETH.sol/IstETHGetters.d.ts +214 -0
- package/lib/types/IwstETH.sol/IwstETH.d.ts +238 -0
- package/lib/types/IwstETH.sol/IwstETHGetters.d.ts +206 -0
- package/lib/types/IwstETHGateway.sol/IwstETHGateWay.d.ts +70 -0
- package/lib/types/IwstETHV1Adapter.d.ts +186 -0
- package/lib/types/NumericArrayLib.d.ts +27 -0
- package/lib/types/Ownable.d.ts +89 -0
- package/lib/types/RedstoneConstants.d.ts +27 -0
- package/lib/types/RedstoneConsumerBase.d.ts +84 -0
- package/lib/types/RedstoneConsumerNumericBase.d.ts +84 -0
- package/lib/types/RedstoneDefaultsLib.d.ts +27 -0
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts +39 -0
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +27 -0
- package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +279 -0
- package/lib/types/RedstonePriceFeed.sol/index.d.ts +3 -0
- package/lib/types/SafeERC20.d.ts +27 -0
- package/lib/types/common.d.ts +1 -0
- package/lib/types/factories/AddressProvider__factory.d.ts +321 -0
- package/lib/types/factories/AddressProvider__factory.js +430 -0
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +29 -0
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +53 -0
- package/lib/types/factories/Balances.sol/index.d.ts +1 -0
- package/lib/types/factories/Balances.sol/index.js +8 -0
- package/lib/types/factories/CalldataExtractor__factory.d.ts +87 -0
- package/lib/types/factories/CalldataExtractor__factory.js +127 -0
- package/lib/types/factories/Claimable__factory.d.ts +78 -0
- package/lib/types/factories/Claimable__factory.js +114 -0
- package/lib/types/factories/ERC20__factory.d.ts +239 -0
- package/lib/types/factories/ERC20__factory.js +328 -0
- package/lib/types/factories/Errors__factory.d.ts +351 -0
- package/lib/types/factories/Errors__factory.js +471 -0
- package/lib/types/factories/FarmAccounting__factory.d.ts +33 -0
- package/lib/types/factories/FarmAccounting__factory.js +57 -0
- 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/IAdapter__factory.d.ts +58 -0
- package/lib/types/factories/IAdapter__factory.js +84 -0
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +23 -0
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +133 -0
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +28 -0
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +44 -0
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +92 -0
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +128 -0
- package/lib/types/factories/IAddressProviderV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IAddressProviderV3.sol/index.js +10 -0
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +63 -0
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +119 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +78 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +111 -0
- 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/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +24 -0
- 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/IBaseRewardPool__factory.d.ts +398 -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/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +30 -0
- 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/IContractsRegister__factory.d.ts +134 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +186 -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 +208 -0
- package/lib/types/factories/IConvexToken__factory.js +280 -0
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +286 -0
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +383 -0
- 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.sol/IConvexV1BoosterAdapter__factory.d.ts +189 -0
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +255 -0
- 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/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +268 -0
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +353 -0
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +44 -0
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +64 -0
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +576 -0
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +749 -0
- package/lib/types/factories/ICreditConfiguratorV2.sol/index.d.ts +3 -0
- package/lib/types/factories/ICreditConfiguratorV2.sol/index.js +12 -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/ICreditFacadeV2Events__factory.d.ts +263 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +340 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +140 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +185 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +81 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +114 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +26 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +42 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +901 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +1163 -0
- package/lib/types/factories/ICreditFacadeV2.sol/index.d.ts +5 -0
- package/lib/types/factories/ICreditFacadeV2.sol/index.js +16 -0
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +183 -0
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +238 -0
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +550 -0
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +715 -0
- package/lib/types/factories/ICreditFacadeV3.sol/index.d.ts +2 -0
- package/lib/types/factories/ICreditFacadeV3.sol/index.js +10 -0
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +204 -0
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +271 -0
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +33 -0
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +60 -0
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +707 -0
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +932 -0
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +18 -0
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +32 -0
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +1023 -0
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +1341 -0
- package/lib/types/factories/ICreditManagerV3.sol/index.d.ts +2 -0
- package/lib/types/factories/ICreditManagerV3.sol/index.js +10 -0
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +678 -0
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +897 -0
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +678 -0
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +897 -0
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +678 -0
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +897 -0
- package/lib/types/factories/ICurvePool__factory.d.ts +566 -0
- package/lib/types/factories/ICurvePool__factory.js +751 -0
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +606 -0
- package/lib/types/factories/ICurveV1Adapter__factory.js +798 -0
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +672 -0
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +885 -0
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +672 -0
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +885 -0
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +672 -0
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +885 -0
- package/lib/types/factories/IDaiLikePermit__factory.d.ts +46 -0
- package/lib/types/factories/IDaiLikePermit__factory.js +67 -0
- package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +1172 -0
- package/lib/types/factories/IDataCompressorV2_10__factory.js +1501 -0
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +1580 -0
- package/lib/types/factories/IDataCompressorV3_00__factory.js +2020 -0
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +38 -0
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +84 -0
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +117 -0
- 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/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +376 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +496 -0
- 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/IERC20Metadata__factory.d.ts +178 -0
- package/lib/types/factories/IERC20Metadata__factory.js +241 -0
- package/lib/types/factories/IERC20Permit__factory.d.ts +66 -0
- package/lib/types/factories/IERC20Permit__factory.js +94 -0
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
- package/lib/types/factories/IERC20__factory.d.ts +148 -0
- package/lib/types/factories/IERC20__factory.js +202 -0
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
- package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
- package/lib/types/factories/IERC4626__factory.d.ts +473 -0
- package/lib/types/factories/IERC4626__factory.js +631 -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/IETHZapperDeposits__factory.js +62 -0
- package/lib/types/factories/IFarmingPool__factory.d.ts +299 -0
- package/lib/types/factories/IFarmingPool__factory.js +396 -0
- package/lib/types/factories/IGasPricer__factory.d.ts +22 -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/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +113 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +152 -0
- 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/IInterestRateModel__factory.d.ts +36 -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 +28 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +44 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +261 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +344 -0
- package/lib/types/factories/ILidoV1Adapter__factory.d.ts +144 -0
- package/lib/types/factories/ILidoV1Adapter__factory.js +197 -0
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +98 -0
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +136 -0
- package/lib/types/factories/IOffchainOracle__factory.d.ts +48 -0
- package/lib/types/factories/IPermit2__factory.d.ts +113 -0
- package/lib/types/factories/IPermit2__factory.js +155 -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/IPoolService.sol/IPoolServiceEvents__factory.d.ts +163 -0
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +437 -0
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +153 -0
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +203 -0
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +1068 -0
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +1402 -0
- package/lib/types/factories/IPoolV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IPoolV3.sol/index.js +10 -0
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +84 -0
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +117 -0
- 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/IPriceOracleV2Exceptions__factory.d.ts +20 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +197 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
- package/lib/types/factories/IPriceOracleBase__factory.d.ts +104 -0
- package/lib/types/factories/IPriceOracleBase__factory.js +147 -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/IRouterV3__factory.d.ts +451 -0
- package/lib/types/factories/IRouterV3__factory.js +597 -0
- package/lib/types/factories/IRouter__factory.d.ts +396 -0
- package/lib/types/factories/IRouter__factory.js +526 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +28 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +44 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +12 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +221 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +295 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/index.d.ts +3 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/index.js +12 -0
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +172 -0
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +33 -0
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +50 -0
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +12 -0
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +398 -0
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +525 -0
- package/lib/types/factories/IUniswapV3Adapter.sol/index.d.ts +3 -0
- package/lib/types/factories/IUniswapV3Adapter.sol/index.js +12 -0
- package/lib/types/factories/IVersion__factory.d.ts +18 -0
- package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
- package/lib/types/factories/IVotingContractV3__factory.js +65 -0
- package/lib/types/factories/IWETHGateway__factory.d.ts +58 -0
- package/lib/types/factories/IWETH__factory.d.ts +194 -0
- package/lib/types/factories/IWETH__factory.js +260 -0
- package/lib/types/factories/IYVault__factory.d.ts +304 -0
- package/lib/types/factories/IYVault__factory.js +408 -0
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +230 -0
- package/lib/types/factories/IYearnV2Adapter__factory.js +311 -0
- package/lib/types/factories/IZapperRegister__factory.d.ts +42 -0
- package/lib/types/factories/IZapperRegister__factory.js +64 -0
- package/lib/types/factories/IZapper__factory.d.ts +128 -0
- package/lib/types/factories/IZapper__factory.js +177 -0
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +250 -0
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +337 -0
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +264 -0
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +356 -0
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +236 -0
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +318 -0
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +264 -0
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +356 -0
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +48 -0
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +160 -0
- package/lib/types/factories/IwstETHV1Adapter__factory.js +219 -0
- package/lib/types/factories/NumericArrayLib__factory.d.ts +25 -0
- package/lib/types/factories/NumericArrayLib__factory.js +47 -0
- package/lib/types/factories/Ownable__factory.d.ts +49 -0
- package/lib/types/factories/Ownable__factory.js +71 -0
- package/lib/types/factories/RedstoneConstants__factory.d.ts +65 -0
- package/lib/types/factories/RedstoneConstants__factory.js +99 -0
- package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +164 -0
- package/lib/types/factories/RedstoneConsumerBase__factory.js +223 -0
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +164 -0
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +223 -0
- package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +45 -0
- package/lib/types/factories/RedstoneDefaultsLib__factory.js +74 -0
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +18 -0
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +32 -0
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +28 -0
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +44 -0
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +443 -0
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +589 -0
- package/lib/types/factories/RedstonePriceFeed.sol/index.d.ts +3 -0
- package/lib/types/factories/RedstonePriceFeed.sol/index.js +12 -0
- package/lib/types/factories/SafeERC20__factory.d.ts +49 -0
- package/lib/types/factories/SafeERC20__factory.js +77 -0
- package/lib/types/factories/index.d.ts +95 -4
- package/lib/types/factories/index.js +154 -5
- package/lib/types/index.d.ts +356 -300
- package/lib/types/index.js +253 -265
- package/lib/utils/formatter.d.ts +0 -4
- package/lib/utils/formatter.js +2 -75
- package/lib/utils/math.d.ts +2 -0
- package/lib/utils/math.js +2 -0
- package/lib/utils/types.d.ts +5 -0
- package/lib/watchers/creditAccountWatcher.d.ts +7 -6
- package/lib/watchers/creditAccountWatcher.js +24 -17
- package/lib/watchers/creditAccountWatcher.spec.js +20 -20
- package/lib/watchers/creditManagerWatcher.d.ts +5 -3
- package/lib/watchers/creditManagerWatcher.js +32 -9
- package/lib/watchers/creditManagerWatcher.spec.js +13 -5
- package/package.json +21 -7
- package/lib/core/pool/data.d.ts +0 -109
- package/lib/core/pool/data.js +0 -223
- package/lib/core/pool/index.d.ts +0 -1
- package/lib/core/pool/index.js +0 -17
- package/lib/core/strategy.spec.js +0 -62
- package/lib/parsers/airdropDistributorParser.d.ts +0 -6
- package/lib/parsers/airdropDistributorParser.js +0 -22
- package/lib/parsers/dataCompressorParser.d.ts +0 -6
- package/lib/parsers/dataCompressorParser.js +0 -23
- package/lib/parsers/lidoOracleParser.d.ts +0 -6
- package/lib/parsers/lidoOracleParser.js +0 -21
- package/lib/parsers/multicallParser.d.ts +0 -6
- package/lib/parsers/multicallParser.js +0 -30
- package/lib/parsers/offchainOracleParser.d.ts +0 -6
- package/lib/parsers/offchainOracleParser.js +0 -23
- package/lib/types/@chainlink/contracts/index.d.ts +0 -2
- package/lib/types/@chainlink/contracts/src/index.d.ts +0 -2
- package/lib/types/@chainlink/contracts/src/v0.8/index.d.ts +0 -2
- package/lib/types/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.d.ts +0 -106
- package/lib/types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.d.ts +0 -218
- package/lib/types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts +0 -146
- package/lib/types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +0 -3
- package/lib/types/@chainlink/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/core-v2/contracts/index.d.ts +0 -6
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACL.d.ts +0 -120
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLEvents.d.ts +0 -74
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/index.d.ts +0 -3
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactory.d.ts +0 -183
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryEvents.d.ts +0 -89
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryGetters.d.ts +0 -82
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/index.d.ts +0 -3
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProvider.d.ts +0 -137
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProviderEvents.d.ts +0 -43
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor.d.ts +0 -119
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +0 -73
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegister.d.ts +0 -144
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegisterEvents.d.ts +0 -50
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICrediAccountExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICreditAccount.d.ts +0 -178
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator.d.ts +0 -631
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents.d.ts +0 -251
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/index.d.ts +0 -3
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacade.d.ts +0 -598
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeEvents.d.ts +0 -209
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended.d.ts +0 -138
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/index.d.ts +0 -4
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2.d.ts +0 -610
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Events.d.ts +0 -54
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Exceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressor.d.ts +0 -326
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressorExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributor.d.ts +0 -99
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributorEvents.d.ts +0 -53
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT.d.ts +0 -326
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTEvents.d.ts +0 -61
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/index.d.ts +0 -3
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselToken.d.ts +0 -146
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselTokenExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IInterestRateModel.d.ts +0 -50
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeed.d.ts +0 -217
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +0 -43
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IPhantomERC20.d.ts +0 -170
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol/IPoolService.d.ts +0 -384
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol/IPoolServiceEvents.d.ts +0 -162
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IPriceFeedType.d.ts +0 -50
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2.d.ts +0 -157
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Events.d.ts +0 -43
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +0 -173
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IVersion.d.ts +0 -42
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IWETHGateway.d.ts +0 -82
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditFilter.d.ts +0 -482
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditManager.d.ts +0 -523
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/V1/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter.d.ts +0 -66
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapterExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter.d.ts +0 -106
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapterExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/index.d.ts +0 -4
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/external/IWETH.d.ts +0 -82
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/external/index.d.ts +0 -1
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/index.d.ts +0 -43
- package/lib/types/@gearbox-protocol/core-v2/contracts/pool/PoolService.d.ts +0 -570
- package/lib/types/@gearbox-protocol/core-v2/contracts/pool/index.d.ts +0 -1
- package/lib/types/@gearbox-protocol/core-v2/contracts/test/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/core-v2/contracts/test/interfaces/ITokenTestSuite.d.ts +0 -148
- package/lib/types/@gearbox-protocol/core-v2/contracts/test/interfaces/index.d.ts +0 -1
- package/lib/types/@gearbox-protocol/core-v2/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/index.d.ts +0 -6
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/index.d.ts +0 -6
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBaseRewardPool.d.ts +0 -378
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBooster.d.ts +0 -195
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IClaimZap.d.ts +0 -76
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IConvexToken.d.ts +0 -178
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IBasicRewards.d.ts +0 -98
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IRewards.d.ts +0 -186
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICrvDeposit.d.ts +0 -58
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveGauge.d.ts +0 -114
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveVoteEscrow.d.ts +0 -106
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IDeposit.d.ts +0 -162
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IFeeDistro.d.ts +0 -58
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IMinter.d.ts +0 -50
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IPools.d.ts +0 -122
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRegistry.d.ts +0 -74
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewardFactory.d.ts +0 -122
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewards.d.ts +0 -186
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStaker.d.ts +0 -290
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStash.d.ts +0 -98
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStashFactory.d.ts +0 -50
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenFactory.d.ts +0 -50
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenMinter.d.ts +0 -66
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVestedEscrow.d.ts +0 -50
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVoting.d.ts +0 -107
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IWalletChecker.d.ts +0 -42
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/index.d.ts +0 -18
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/convex/index.d.ts +0 -8
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool.d.ts +0 -306
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePoolStETH.d.ts +0 -282
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol/ICurvePool2Assets.d.ts +0 -404
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol/ICurvePool3Assets.d.ts +0 -406
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol/ICurvePool4Assets.d.ts +0 -432
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurveRegistry.d.ts +0 -58
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/curve/index.d.ts +0 -9
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/index.d.ts +0 -10
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/lido/ILidoOracle.d.ts +0 -66
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETH.d.ts +0 -226
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETHGetters.d.ts +0 -210
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETH.d.ts +0 -234
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETHGetters.d.ts +0 -202
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay.d.ts +0 -66
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/lido/index.d.ts +0 -7
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IQuoter.d.ts +0 -98
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router01.d.ts +0 -386
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router02.d.ts +0 -484
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol/ISwapRouter.d.ts +0 -198
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/index.d.ts +0 -5
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/yearn/IYVault.d.ts +0 -290
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/integrations/yearn/index.d.ts +0 -1
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter.d.ts +0 -450
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapterErrors.d.ts +0 -27
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter.d.ts +0 -243
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/index.d.ts +0 -3
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter.d.ts +0 -514
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1AdapterExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter.d.ts +0 -612
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter.d.ts +0 -614
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter.d.ts +0 -640
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/index.d.ts +0 -5
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/index.d.ts +0 -10
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter.d.ts +0 -237
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts +0 -39
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/index.d.ts +0 -3
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter.d.ts +0 -218
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/index.d.ts +0 -3
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker.d.ts +0 -106
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +0 -532
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +0 -301
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions.d.ts +0 -27
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.d.ts +0 -5
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter.d.ts +0 -322
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/index.d.ts +0 -1
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/ISupportedContracts.d.ts +0 -66
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/index.d.ts +0 -1
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/index.js +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/config/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/config/index.js +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/index.d.ts +0 -4
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/index.js +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/mocks/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/mocks/index.js +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/ILidoMockEvents.d.ts +0 -45
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/ILidoMockEvents.js +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/index.d.ts +0 -1
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/index.js +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/index.js +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/integrations-v2/index.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/index.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IClosePathResolver.d.ts +0 -146
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IClosePathResolver.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositor.d.ts +0 -180
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositor.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositorOptions.d.ts +0 -209
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositorOptions.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/index.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IGasPricer.d.ts +0 -44
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorker.d.ts +0 -134
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorker.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorkerOptions.d.ts +0 -140
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorkerOptions.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/index.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IPathResolver.d.ts +0 -152
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IPathResolver.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IRouter.d.ts +0 -265
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IRouterComponent.d.ts +0 -50
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IRouterComponent.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ISwapAggregator.d.ts +0 -314
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ISwapAggregator.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ISwapper.d.ts +0 -136
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/ISwapper.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawer.d.ts +0 -188
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawer.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawerOptions.d.ts +0 -204
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawerOptions.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/index.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IWrapper.d.ts +0 -152
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/IWrapper.js +0 -2
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/index.d.ts +0 -14
- package/lib/types/@gearbox-protocol/router/contracts/interfaces/index.js +0 -2
- package/lib/types/@gearbox-protocol/router/index.d.ts +0 -2
- package/lib/types/@gearbox-protocol/router/index.js +0 -2
- package/lib/types/@openzeppelin/contracts/index.d.ts +0 -4
- package/lib/types/@openzeppelin/contracts/index.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts +0 -138
- package/lib/types/@openzeppelin/contracts/token/ERC20/IERC20.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts +0 -162
- package/lib/types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +0 -1
- package/lib/types/@openzeppelin/contracts/token/ERC20/extensions/index.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC20/index.d.ts +0 -3
- package/lib/types/@openzeppelin/contracts/token/ERC20/index.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC721/IERC721.d.ts +0 -207
- package/lib/types/@openzeppelin/contracts/token/ERC721/IERC721.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC721/IERC721Receiver.d.ts +0 -50
- package/lib/types/@openzeppelin/contracts/token/ERC721/IERC721Receiver.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.d.ts +0 -231
- package/lib/types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +0 -1
- package/lib/types/@openzeppelin/contracts/token/ERC721/extensions/index.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/ERC721/index.d.ts +0 -4
- package/lib/types/@openzeppelin/contracts/token/ERC721/index.js +0 -2
- package/lib/types/@openzeppelin/contracts/token/index.d.ts +0 -4
- package/lib/types/@openzeppelin/contracts/token/index.js +0 -2
- package/lib/types/@openzeppelin/contracts/utils/index.d.ts +0 -2
- package/lib/types/@openzeppelin/contracts/utils/index.js +0 -2
- package/lib/types/@openzeppelin/contracts/utils/introspection/IERC165.d.ts +0 -42
- package/lib/types/@openzeppelin/contracts/utils/introspection/IERC165.js +0 -2
- package/lib/types/@openzeppelin/contracts/utils/introspection/index.d.ts +0 -1
- package/lib/types/@openzeppelin/contracts/utils/introspection/index.js +0 -2
- package/lib/types/@openzeppelin/index.d.ts +0 -2
- package/lib/types/@openzeppelin/index.js +0 -2
- package/lib/types/contracts/IGas.d.ts +0 -50
- package/lib/types/contracts/IGas.js +0 -2
- package/lib/types/contracts/IGnosisSafeSignatureValidator.d.ts +0 -42
- package/lib/types/contracts/IGnosisSafeSignatureValidator.js +0 -2
- package/lib/types/contracts/ITokenDistributor.sol/ITokenDistributor.d.ts +0 -198
- package/lib/types/contracts/ITokenDistributor.sol/ITokenDistributor.js +0 -2
- package/lib/types/contracts/ITokenDistributor.sol/ITokenDistributorEvents.d.ts +0 -86
- package/lib/types/contracts/ITokenDistributor.sol/ITokenDistributorEvents.js +0 -2
- package/lib/types/contracts/ITokenDistributor.sol/ITokenDistributorExceptions.d.ts +0 -27
- package/lib/types/contracts/ITokenDistributor.sol/ITokenDistributorExceptions.js +0 -2
- package/lib/types/contracts/ITokenDistributor.sol/index.d.ts +0 -3
- package/lib/types/contracts/ITokenDistributor.sol/index.js +0 -2
- package/lib/types/contracts/index.d.ts +0 -6
- package/lib/types/contracts/index.js +0 -2
- package/lib/types/contracts/support/IOffchainOracle.d.ts +0 -54
- package/lib/types/contracts/support/IOffchainOracle.js +0 -2
- package/lib/types/contracts/support/MultiCall.sol/Multicall2.d.ts +0 -218
- package/lib/types/contracts/support/MultiCall.sol/Multicall2.js +0 -2
- package/lib/types/contracts/support/MultiCall.sol/index.d.ts +0 -1
- package/lib/types/contracts/support/MultiCall.sol/index.js +0 -2
- package/lib/types/contracts/support/index.d.ts +0 -3
- package/lib/types/contracts/support/index.js +0 -2
- package/lib/types/factories/@chainlink/contracts/index.d.ts +0 -1
- package/lib/types/factories/@chainlink/contracts/index.js +0 -30
- package/lib/types/factories/@chainlink/contracts/src/index.d.ts +0 -1
- package/lib/types/factories/@chainlink/contracts/src/index.js +0 -30
- package/lib/types/factories/@chainlink/contracts/src/v0.8/index.d.ts +0 -1
- package/lib/types/factories/@chainlink/contracts/src/v0.8/index.js +0 -30
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface__factory.d.ts +0 -35
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface__factory.js +0 -146
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface__factory.d.ts +0 -35
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface__factory.js +0 -257
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts +0 -22
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js +0 -130
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +0 -3
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js +0 -12
- package/lib/types/factories/@chainlink/index.d.ts +0 -1
- package/lib/types/factories/@chainlink/index.js +0 -30
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/index.js +0 -32
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLEvents__factory.js +0 -71
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLExceptions__factory.d.ts +0 -16
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLExceptions__factory.js +0 -41
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACL__factory.d.ts +0 -46
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACL__factory.js +0 -176
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/index.js +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryEvents__factory.js +0 -96
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryGetters__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryGetters__factory.js +0 -109
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactory__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactory__factory.js +0 -236
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/index.js +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProvider__factory.d.ts +0 -31
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegister__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegister__factory.js +0 -186
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICrediAccountExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICrediAccountExceptions__factory.js +0 -29
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICreditAccount__factory.d.ts +0 -28
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICreditAccount__factory.js +0 -220
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents__factory.js +0 -308
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorExceptions__factory.js +0 -64
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator__factory.d.ts +0 -49
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator__factory.js +0 -730
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/index.js +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeEvents__factory.js +0 -295
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExceptions__factory.d.ts +0 -16
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExceptions__factory.js +0 -175
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended__factory.d.ts +0 -33
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended__factory.js +0 -119
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacade__factory.d.ts +0 -67
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacade__factory.js +0 -1011
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/index.d.ts +0 -4
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/index.js +0 -14
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +0 -42
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2__factory.js +0 -932
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressorExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressorExceptions__factory.js +0 -29
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressor__factory.d.ts +0 -57
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressor__factory.js +0 -887
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributor__factory.js +0 -130
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTEvents__factory.js +0 -58
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTExceptions__factory.js +0 -39
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.d.ts +0 -42
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.js +0 -496
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/index.js +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselTokenExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselTokenExceptions__factory.js +0 -24
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselToken__factory.d.ts +0 -42
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselToken__factory.js +0 -220
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IInterestRateModel__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +0 -38
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +0 -29
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +0 -42
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeed__factory.js +0 -237
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPhantomERC20__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPhantomERC20__factory.js +0 -254
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol/IPoolServiceEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol/IPoolService__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceFeedType__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceFeedType__factory.js +0 -45
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +0 -42
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +0 -42
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IVersion__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IWETHGateway__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditFilter__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditFilter__factory.js +0 -697
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditManager__factory.d.ts +0 -56
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditManager__factory.js +0 -766
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/V1/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/V1/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapterExceptions__factory.d.ts +0 -16
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapterExceptions__factory.js +0 -30
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter__factory.d.ts +0 -28
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter__factory.js +0 -82
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapterExceptions__factory.d.ts +0 -16
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapterExceptions__factory.js +0 -35
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter__factory.d.ts +0 -48
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter__factory.js +0 -153
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/index.js +0 -31
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/external/IWETH__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/external/IWETH__factory.js +0 -63
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/external/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/external/index.js +0 -8
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/index.d.ts +0 -24
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/index.js +0 -58
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/PoolService__factory.d.ts +0 -65
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/PoolService__factory.js +0 -861
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/index.js +0 -8
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/test/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/test/index.js +0 -30
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/test/interfaces/ITokenTestSuite__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/test/interfaces/ITokenTestSuite__factory.js +0 -178
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/test/interfaces/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/test/interfaces/index.js +0 -8
- package/lib/types/factories/@gearbox-protocol/core-v2/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/core-v2/index.js +0 -30
- package/lib/types/factories/@gearbox-protocol/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/index.js +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/index.js +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBaseRewardPool__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBooster__factory.d.ts +0 -41
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBooster__factory.js +0 -270
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IClaimZap__factory.d.ts +0 -28
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IClaimZap__factory.js +0 -98
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IConvexToken__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IConvexToken__factory.js +0 -267
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IBasicRewards__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IBasicRewards__factory.js +0 -86
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IRewards__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IRewards__factory.js +0 -183
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICrvDeposit__factory.d.ts +0 -28
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICrvDeposit__factory.js +0 -50
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveGauge__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveGauge__factory.js +0 -116
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveVoteEscrow__factory.d.ts +0 -28
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveVoteEscrow__factory.js +0 -83
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IDeposit__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IDeposit__factory.js +0 -223
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IFeeDistro__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IFeeDistro__factory.js +0 -39
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IMinter__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IMinter__factory.js +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IPools__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IPools__factory.js +0 -185
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRegistry__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRegistry__factory.js +0 -107
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewardFactory__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewardFactory__factory.js +0 -157
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewards__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewards__factory.js +0 -183
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStaker__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStaker__factory.js +0 -317
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStashFactory__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStashFactory__factory.js +0 -53
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStash__factory.d.ts +0 -28
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStash__factory.js +0 -91
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenFactory__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenFactory__factory.js +0 -38
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenMinter__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenMinter__factory.js +0 -55
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVestedEscrow__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVestedEscrow__factory.js +0 -43
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVoting__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVoting__factory.js +0 -124
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IWalletChecker__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IWalletChecker__factory.js +0 -38
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/index.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/index.js +0 -42
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/index.d.ts +0 -6
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/index.js +0 -39
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePoolStETH__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePoolStETH__factory.js +0 -471
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol/ICurvePool2Assets__factory.js +0 -710
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol/ICurvePool3Assets__factory.js +0 -710
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol/ICurvePool4Assets__factory.js +0 -710
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool__factory.js +0 -564
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurveRegistry__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurveRegistry__factory.js +0 -76
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/index.d.ts +0 -6
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/index.js +0 -38
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/index.d.ts +0 -5
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/index.js +0 -34
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/ILidoOracle__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/ILidoOracle__factory.js +0 -42
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETHGetters__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETHGetters__factory.js +0 -337
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETH__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETH__factory.js +0 -356
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETHGetters__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETHGetters__factory.js +0 -318
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETH__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETH__factory.js +0 -356
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +0 -28
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/index.d.ts +0 -4
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/index.js +0 -34
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IQuoter__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IQuoter__factory.js +0 -145
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router01__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router01__factory.js +0 -768
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router02__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router02__factory.js +0 -970
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol/ISwapRouter__factory.d.ts +0 -27
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/index.d.ts +0 -4
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/index.js +0 -36
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/yearn/IYVault__factory.d.ts +0 -35
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/yearn/IYVault__factory.js +0 -408
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/yearn/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/yearn/index.js +0 -8
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapterErrors__factory.d.ts +0 -16
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapterErrors__factory.js +0 -30
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter__factory.d.ts +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter__factory.js +0 -673
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter__factory.d.ts +0 -51
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter__factory.js +0 -340
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/index.js +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1AdapterExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1AdapterExceptions__factory.js +0 -24
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter__factory.d.ts +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter__factory.js +0 -904
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter__factory.d.ts +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter__factory.js +0 -1050
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter__factory.d.ts +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter__factory.js +0 -1050
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter__factory.d.ts +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter__factory.js +0 -1050
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/index.d.ts +0 -4
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/index.js +0 -36
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/index.d.ts +0 -5
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/index.js +0 -34
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js +0 -24
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts +0 -46
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter__factory.js +0 -362
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/index.js +0 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter__factory.d.ts +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter__factory.js +0 -318
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/index.js +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker__factory.js +0 -96
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +0 -32
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +0 -1067
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +0 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +0 -37
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +0 -388
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.d.ts +0 -3
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.js +0 -33
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter__factory.d.ts +0 -46
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter__factory.js +0 -471
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/index.js +0 -8
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/ISupportedContracts__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/ISupportedContracts__factory.js +0 -89
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/index.js +0 -8
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/config/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/config/index.js +0 -30
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/index.js +0 -31
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/index.js +0 -30
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/ILidoMockEvents__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/ILidoMockEvents__factory.js +0 -44
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/index.js +0 -8
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/index.js +0 -30
- package/lib/types/factories/@gearbox-protocol/integrations-v2/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/integrations-v2/index.js +0 -30
- package/lib/types/factories/@gearbox-protocol/router/contracts/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/router/contracts/index.js +0 -30
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IClosePathResolver__factory.d.ts +0 -67
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IClosePathResolver__factory.js +0 -307
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositorOptions__factory.d.ts +0 -62
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositorOptions__factory.js +0 -1055
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositor__factory.d.ts +0 -62
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositor__factory.js +0 -785
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IGasPricer__factory.d.ts +0 -22
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.d.ts +0 -62
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.js +0 -295
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorker__factory.d.ts +0 -62
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorker__factory.js +0 -290
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IPathResolver__factory.d.ts +0 -67
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IPathResolver__factory.js +0 -530
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IRouterComponent__factory.d.ts +0 -18
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IRouterComponent__factory.js +0 -45
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IRouter__factory.d.ts +0 -65
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IRouter__factory.js +0 -526
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ISwapAggregator__factory.d.ts +0 -62
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ISwapAggregator__factory.js +0 -1750
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ISwapper__factory.d.ts +0 -57
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ISwapper__factory.js +0 -245
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.d.ts +0 -62
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.js +0 -1067
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawer__factory.d.ts +0 -62
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawer__factory.js +0 -1020
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/index.d.ts +0 -2
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/index.js +0 -10
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWrapper__factory.d.ts +0 -61
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWrapper__factory.js +0 -293
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/index.d.ts +0 -11
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/index.js +0 -48
- package/lib/types/factories/@gearbox-protocol/router/index.d.ts +0 -1
- package/lib/types/factories/@gearbox-protocol/router/index.js +0 -30
- package/lib/types/factories/@openzeppelin/contracts/index.d.ts +0 -2
- package/lib/types/factories/@openzeppelin/contracts/index.js +0 -31
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts +0 -35
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js +0 -202
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts +0 -35
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js +0 -241
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +0 -1
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js +0 -8
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +0 -2
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/index.js +0 -32
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.d.ts +0 -22
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.js +0 -53
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.d.ts +0 -35
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.js +0 -304
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.d.ts +0 -35
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.js +0 -349
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +0 -1
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.js +0 -8
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/index.d.ts +0 -3
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/index.js +0 -34
- package/lib/types/factories/@openzeppelin/contracts/token/index.d.ts +0 -2
- package/lib/types/factories/@openzeppelin/contracts/token/index.js +0 -31
- package/lib/types/factories/@openzeppelin/contracts/utils/index.d.ts +0 -1
- package/lib/types/factories/@openzeppelin/contracts/utils/index.js +0 -30
- package/lib/types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts +0 -22
- package/lib/types/factories/@openzeppelin/contracts/utils/introspection/index.d.ts +0 -1
- package/lib/types/factories/@openzeppelin/contracts/utils/introspection/index.js +0 -8
- package/lib/types/factories/@openzeppelin/index.d.ts +0 -1
- package/lib/types/factories/@openzeppelin/index.js +0 -30
- package/lib/types/factories/contracts/IGas__factory.d.ts +0 -18
- package/lib/types/factories/contracts/IGas__factory.js +0 -32
- package/lib/types/factories/contracts/IGnosisSafeSignatureValidator__factory.d.ts +0 -22
- package/lib/types/factories/contracts/IGnosisSafeSignatureValidator__factory.js +0 -43
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributorEvents__factory.d.ts +0 -18
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributorEvents__factory.js +0 -107
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributorExceptions__factory.d.ts +0 -16
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributorExceptions__factory.js +0 -61
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributor__factory.d.ts +0 -46
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributor__factory.js +0 -294
- package/lib/types/factories/contracts/ITokenDistributor.sol/index.d.ts +0 -3
- package/lib/types/factories/contracts/ITokenDistributor.sol/index.js +0 -12
- package/lib/types/factories/contracts/index.d.ts +0 -4
- package/lib/types/factories/contracts/index.js +0 -35
- package/lib/types/factories/contracts/support/IOffchainOracle__factory.d.ts +0 -22
- package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.d.ts +0 -54
- package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.js +0 -353
- package/lib/types/factories/contracts/support/MultiCall.sol/index.d.ts +0 -1
- package/lib/types/factories/contracts/support/MultiCall.sol/index.js +0 -8
- package/lib/types/factories/contracts/support/index.d.ts +0 -2
- package/lib/types/factories/contracts/support/index.js +0 -32
- /package/lib/core/{strategy.spec.d.ts → gaugeMath.spec.d.ts} +0 -0
- /package/lib/{types/@chainlink/contracts/index.js → pathfinder/v1/core.js} +0 -0
- /package/lib/{types/@chainlink/contracts/src/index.js → payload/gauge.js} +0 -0
- /package/lib/types/{@chainlink/contracts/src/v0.8/index.js → AddressProvider.js} +0 -0
- /package/lib/types/{@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.js → Balances.sol/BalanceOps.js} +0 -0
- /package/lib/types/{@chainlink/contracts/src/v0.8/interfaces → Balances.sol}/index.js +0 -0
- /package/lib/types/{@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.js → CalldataExtractor.js} +0 -0
- /package/lib/types/{@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js → Claimable.js} +0 -0
- /package/lib/types/{@chainlink/index.js → ERC20.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/index.js → Errors.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACL.js → FarmAccounting.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLEvents.js → IAaveV2_LendingPoolAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLExceptions.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter.js → IAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol → IAddressProvider.sol}/IAddressProvider.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol → IAddressProvider.sol}/IAddressProviderEvents.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol → IAddressProvider.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol → IAddressProvider.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactory.js → IAddressProviderV3.sol/IAddressProviderV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryEvents.js → IAddressProviderV3.sol/IAddressProviderV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol → IAddressProviderV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol → IAirdropDistributor.sol}/IAirdropDistributor.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol → IAirdropDistributor.sol}/IAirdropDistributorEvents.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol → IAirdropDistributor.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol → IAirdropDistributor.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryGetters.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol → IBalancerV2Vault.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegister.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegisterEvents.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICrediAccountExceptions.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol → IBalancerV2VaultAdapter.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBaseRewardPool.js → IBaseRewardPool.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICreditAccount.js → IBotListV3.sol/IBotListV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator.js → IBotListV3.sol/IBotListV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol → IBotListV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorExceptions.js → ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol → ICompoundV2_CTokenAdapter.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacade.js → IContractsRegister.sol/IContractsRegister.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeEvents.js → IContractsRegister.sol/IContractsRegisterEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol → IContractsRegister.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol → IContractsRegister.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExceptions.js → IControllerTimelockV3.sol/IControllerTimelockV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended.js → IControllerTimelockV3.sol/IControllerTimelockV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol → IControllerTimelockV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/IConvexToken.js → IConvexToken.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2.js → IConvexV1BaseRewardPoolAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Events.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Exceptions.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol → IConvexV1BoosterAdapter.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressor.js → ICreditConfiguratorV2.sol/ICreditConfiguratorV2.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressorExceptions.js → ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributor.js → ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol → ICreditConfiguratorV2.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributorEvents.js → ICreditConfiguratorV3.sol/ICreditConfiguratorV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT.js → ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol → ICreditConfiguratorV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTEvents.js → ICreditFacadeV2.sol/ICreditFacadeV2.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTExceptions.js → ICreditFacadeV2.sol/ICreditFacadeV2Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselToken.js → ICreditFacadeV2.sol/ICreditFacadeV2Exceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselTokenExceptions.js → ICreditFacadeV2.sol/ICreditFacadeV2Extended.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IInterestRateModel.js → ICreditFacadeV2.sol/ICreditFacadeV2V2.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol → ICreditFacadeV2.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeed.js → ICreditFacadeV3.sol/ICreditFacadeV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedEvents.js → ICreditFacadeV3.sol/ICreditFacadeV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol → ICreditFacadeV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedExceptions.js → ICreditFacadeV3Multicall.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPhantomERC20.js → ICreditManagerV2.sol/ICreditManagerV2.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol/IPoolService.js → ICreditManagerV2.sol/ICreditManagerV2Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol/IPoolServiceEvents.js → ICreditManagerV2.sol/ICreditManagerV2Exceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol → ICreditManagerV2.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol → ICreditManagerV2.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceFeedType.js → ICreditManagerV3.sol/ICreditManagerV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2.js → ICreditManagerV3.sol/ICreditManagerV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/V1 → ICreditManagerV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool.js → ICurvePool.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol → ICurvePool_2.sol}/ICurvePool2Assets.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol → ICurvePool_2.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol → ICurvePool_2.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol → ICurvePool_3.sol}/ICurvePool3Assets.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol → ICurvePool_3.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol → ICurvePool_3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol → ICurvePool_4.sol}/ICurvePool4Assets.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol → ICurvePool_4.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/adapters → ICurvePool_4.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter.js → ICurveV1Adapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter.js → ICurveV1_2AssetsAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter.js → ICurveV1_3AssetsAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter.js → ICurveV1_4AssetsAdapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Events.js → IDaiLikePermit.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Exceptions.js → IDataCompressorV2_10.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Ext.js → IDataCompressorV3_00.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IVersion.js → IDegenDistributor.sol/IDegenDistributor.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IWETHGateway.js → IDegenDistributor.sol/IDegenDistributorEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol → IDegenDistributor.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/external → IDegenDistributor.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditFilter.js → IDegenNFTV2.sol/IDegenNFTV2.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditManager.js → IDegenNFTV2.sol/IDegenNFTV2Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapterExceptions.js → IDegenNFTV2.sol/IDegenNFTV2Exceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces → IDegenNFTV2.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter.js → IERC165.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapterExceptions.js → IERC20.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/external/IWETH.js → IERC20Metadata.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/pool/PoolService.js → IERC20Permit.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/pool/index.js → IERC20ZapperDeposits.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/test/index.js → IERC4626.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/test/interfaces/ITokenTestSuite.js → IERC4626Adapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/test/interfaces/index.js → IERC721.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/index.js → IERC721Metadata.js} +0 -0
- /package/lib/types/{@gearbox-protocol/index.js → IETHZapperDeposits.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/index.js → IFarmingPool.js} +0 -0
- /package/lib/types/{@gearbox-protocol/router/contracts/interfaces/IGasPricer.js → IGasPricer.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBooster.js → IGaugeV3.sol/IGaugeV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/IClaimZap.js → IGaugeV3.sol/IGaugeV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol → IGaugeV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IBasicRewards.js → IGearStakingV3.sol/IGearStakingV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IRewards.js → IGearStakingV3.sol/IGearStakingV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol → IGearStakingV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICrvDeposit.js → IInterestRateModel.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveGauge.js → ILPPriceFeed.sol/ILPPriceFeed.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveVoteEscrow.js → ILPPriceFeed.sol/ILPPriceFeedEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IDeposit.js → ILPPriceFeed.sol/ILPPriceFeedExceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol → ILPPriceFeed.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex → ILPPriceFeed.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter.js → ILidoV1Adapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IFeeDistro.js → ILinearInterestRateModelV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IMinter.js → IOffchainOracle.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IPools.js → IPermit2.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRegistry.js → IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewardFactory.js → IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol → IPoolQuotaKeeperV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewards.js → IPoolService.sol/IPoolService.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStaker.js → IPoolService.sol/IPoolServiceEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol → IPoolService.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol → IPoolService.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStash.js → IPoolV3.sol/IPoolV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStashFactory.js → IPoolV3.sol/IPoolV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol → IPoolV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenFactory.js → IPriceFeed.sol/IPriceFeed.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenMinter.js → IPriceFeed.sol/IUpdatablePriceFeed.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve → IPriceFeed.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVestedEscrow.js → IPriceOracle.sol/IPriceOracleV2.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVoting.js → IPriceOracle.sol/IPriceOracleV2Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IWalletChecker.js → IPriceOracle.sol/IPriceOracleV2Exceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePoolStETH.js → IPriceOracle.sol/IPriceOracleV2Ext.js} +0 -0
- /package/lib/types/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol → IPriceOracle.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations → IPriceOracle.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurveRegistry.js → IPriceOracleBase.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/ILidoOracle.js → IPriceOracleV3.sol/IPriceOracleV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETH.js → IPriceOracleV3.sol/IPriceOracleV3Events.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol → IPriceOracleV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/router/contracts/interfaces/IRouter.js → IRouter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETHGetters.js → IRouterV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol → IUniswapV2Adapter.sol}/IUniswapV2Adapter.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETH.js → IUniswapV2Adapter.sol/IUniswapV2AdapterEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol → IUniswapV2Adapter.sol}/IUniswapV2AdapterExceptions.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol → IUniswapV2Adapter.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol → IUniswapV3.sol}/ISwapRouter.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol → IUniswapV3.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol → IUniswapV3.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol → IUniswapV3Adapter.sol}/IUniswapV3Adapter.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETHGetters.js → IUniswapV3Adapter.sol/IUniswapV3AdapterEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol → IUniswapV3Adapter.sol}/IUniswapV3AdapterExceptions.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido → IUniswapV3Adapter.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay.js → IVersion.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IQuoter.js → IVotingContractV3.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router01.js → IWETH.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router02.js → IWETHGateway.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/yearn/IYVault.js → IYVault.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter.js → IYearnV2Adapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol/index.js → IZapper.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/index.js → IZapperRegister.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/yearn/index.js → IstETH.sol/IstETH.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter.js → IstETH.sol/IstETHGetters.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol → IstETH.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol → IstETH.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapterErrors.js → IwstETH.sol/IwstETH.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter.js → IwstETH.sol/IwstETHGetters.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol → IwstETH.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/convex → IwstETH.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1AdapterExceptions.js → IwstETHGateway.sol/IwstETHGateWay.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol → IwstETHGateway.sol}/index.d.ts +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol → IwstETHGateway.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter.js → IwstETHV1Adapter.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/curve/index.js → NumericArrayLib.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/index.js → Ownable.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → RedstoneConstants.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → RedstoneConsumerBase.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/index.js → RedstoneConsumerNumericBase.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/lido/index.js → RedstoneDefaultsLib.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker.js → RedstonePriceFeed.sol/IRedstonePriceFeedEvents.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.js → RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/index.js → RedstonePriceFeed.sol/RedstonePriceFeed.js} +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap → RedstonePriceFeed.sol}/index.js +0 -0
- /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/index.js → SafeERC20.js} +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol → IAddressProvider.sol}/IAddressProviderEvents__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol → IAddressProvider.sol}/IAddressProvider__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol → IAddressProvider.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol → IAddressProvider.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol → IAirdropDistributor.sol}/IAirdropDistributorEvents__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol → IAirdropDistributor.sol}/IAirdropDistributor__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol → IAirdropDistributor.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol → IAirdropDistributor.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBaseRewardPool__factory.js → IBaseRewardPool__factory.js} +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol → IContractsRegister.sol}/IContractsRegisterEvents__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol → IContractsRegister.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol → IContractsRegister.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol → ICreditManagerV2.sol}/ICreditManagerV2Events__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol → ICreditManagerV2.sol}/ICreditManagerV2Exceptions__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol → ICreditManagerV2.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol → ICreditManagerV2.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol → ICurvePool_2.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol → ICurvePool_2.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol → ICurvePool_3.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol → ICurvePool_3.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol → ICurvePool_4.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol → ICurvePool_4.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol → IDegenDistributor.sol}/IDegenDistributorEvents__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol → IDegenDistributor.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol → IDegenDistributor.sol}/index.js +0 -0
- /package/lib/types/factories/{@openzeppelin/contracts/utils/introspection/IERC165__factory.js → IERC165__factory.js} +0 -0
- /package/lib/types/factories/{@gearbox-protocol/router/contracts/interfaces/IGasPricer__factory.js → IGasPricer__factory.js} +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IInterestRateModel__factory.js → IInterestRateModel__factory.js} +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol → ILPPriceFeed.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol → ILPPriceFeed.sol}/index.js +0 -0
- /package/lib/types/factories/{contracts/support/IOffchainOracle__factory.js → IOffchainOracle__factory.js} +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol → IPoolService.sol}/IPoolServiceEvents__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol → IPoolService.sol}/IPoolService__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol → IPoolService.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol → IPoolService.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol → IPriceOracle.sol}/IPriceOracleV2Events__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol → IPriceOracle.sol}/IPriceOracleV2Exceptions__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol → IPriceOracle.sol}/IPriceOracleV2Ext__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol → IPriceOracle.sol}/IPriceOracleV2__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol → IPriceOracle.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol → IPriceOracle.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol → IUniswapV2Adapter.sol}/IUniswapV2AdapterExceptions__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol → IUniswapV3.sol}/ISwapRouter__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol → IUniswapV3.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol → IUniswapV3.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol → IUniswapV3Adapter.sol}/IUniswapV3AdapterExceptions__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IVersion__factory.js → IVersion__factory.js} +0 -0
- /package/lib/types/factories/{@gearbox-protocol/core-v2/contracts/interfaces/IWETHGateway__factory.js → IWETHGateway__factory.js} +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol → IstETH.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol → IstETH.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol → IwstETH.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol → IwstETH.sol}/index.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol → IwstETHGateway.sol}/IwstETHGateWay__factory.js +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol → IwstETHGateway.sol}/index.d.ts +0 -0
- /package/lib/types/factories/{@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol → IwstETHGateway.sol}/index.js +0 -0
- /package/lib/{types/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/ISupportedContracts.js → utils/types.js} +0 -0
package/lib/utils/formatter.d.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { BigNumberish } from "ethers";
|
|
2
2
|
export declare function rayToNumber(num: BigNumberish): number;
|
|
3
3
|
export declare function formatRAY(num?: bigint): string;
|
|
4
|
-
export declare function formatBN(num: BigNumberish | undefined, decimals: number, precision?: number): string;
|
|
5
|
-
export declare function formatBn4dig(num: bigint, precision?: number): string;
|
|
6
|
-
export declare function toHumanFormat(num: bigint, precision?: number): string;
|
|
7
4
|
export declare function toSignificant(num: bigint, decimals: number): string;
|
|
8
|
-
export declare const toBigInt: (v: BigNumberish) => bigint;
|
|
9
5
|
export declare function toBN(num: string, decimals: number): bigint;
|
|
10
6
|
export declare function shortAddress(address?: string): string;
|
|
11
7
|
export declare function shortHash(address?: string): string;
|
package/lib/utils/formatter.js
CHANGED
|
@@ -1,83 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.formatDateTime = exports.formatLeverage = exports.formatPercentage = exports.formatDate = exports.shortHash = exports.shortAddress = exports.toBN = exports.
|
|
3
|
+
exports.formatDateTime = exports.formatLeverage = exports.formatPercentage = exports.formatDate = exports.shortHash = exports.shortAddress = exports.toBN = exports.toSignificant = exports.formatRAY = exports.rayToNumber = void 0;
|
|
4
4
|
const sdk_gov_1 = require("@gearbox-protocol/sdk-gov");
|
|
5
5
|
const decimal_js_light_1 = require("decimal.js-light");
|
|
6
6
|
const moment_1 = require("moment");
|
|
7
7
|
function rayToNumber(num) {
|
|
8
|
-
return Number((0,
|
|
8
|
+
return Number((0, sdk_gov_1.toBigInt)(num) / 10n ** 21n) / 1000000;
|
|
9
9
|
}
|
|
10
10
|
exports.rayToNumber = rayToNumber;
|
|
11
11
|
function formatRAY(num = 0n) {
|
|
12
12
|
return toSignificant(num, 27);
|
|
13
13
|
}
|
|
14
14
|
exports.formatRAY = formatRAY;
|
|
15
|
-
const limitPrecision = (n, p) => {
|
|
16
|
-
const notZero = n !== 0n;
|
|
17
|
-
if (n <= 10n && notZero) {
|
|
18
|
-
return 6;
|
|
19
|
-
}
|
|
20
|
-
if (n <= 100n && notZero) {
|
|
21
|
-
return 5;
|
|
22
|
-
}
|
|
23
|
-
if (n <= 1000n && notZero) {
|
|
24
|
-
return 4;
|
|
25
|
-
}
|
|
26
|
-
if (n <= 10000n && notZero) {
|
|
27
|
-
return 3;
|
|
28
|
-
}
|
|
29
|
-
if (p === undefined && n > 10n ** 21n) {
|
|
30
|
-
return 2;
|
|
31
|
-
}
|
|
32
|
-
if (p === undefined && n > 10n ** 24n) {
|
|
33
|
-
return 0;
|
|
34
|
-
}
|
|
35
|
-
return p;
|
|
36
|
-
};
|
|
37
|
-
const limitNum = (n, d = 18) => {
|
|
38
|
-
let limited = n <= 2n ? 0n : n;
|
|
39
|
-
if (d <= 6) {
|
|
40
|
-
return limited * 10n ** BigInt(6 - d);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
return limited / 10n ** BigInt(d - 6);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
function formatBN(num, decimals, precision) {
|
|
47
|
-
if (num === undefined)
|
|
48
|
-
return "-";
|
|
49
|
-
const numBInt = (0, exports.toBigInt)(num);
|
|
50
|
-
// GUSD: 2 decimals
|
|
51
|
-
const limitedNum = limitNum(numBInt, decimals);
|
|
52
|
-
const limitedPrecision = limitPrecision(limitedNum, precision);
|
|
53
|
-
return toHumanFormat(limitedNum, limitedPrecision);
|
|
54
|
-
}
|
|
55
|
-
exports.formatBN = formatBN;
|
|
56
|
-
function formatBn4dig(num, precision = 2) {
|
|
57
|
-
if (precision > 6) {
|
|
58
|
-
throw new Error("Precision is too high, try <= 6");
|
|
59
|
-
}
|
|
60
|
-
const numStr = num.toString();
|
|
61
|
-
if (numStr.length <= 6) {
|
|
62
|
-
const completed = "0".repeat(6 - numStr.length) + numStr;
|
|
63
|
-
return `0.${completed.slice(0, precision)}`;
|
|
64
|
-
}
|
|
65
|
-
return `${numStr.slice(0, numStr.length - 6)}.${numStr.slice(numStr.length - 6, numStr.length - 6 + precision)}`;
|
|
66
|
-
}
|
|
67
|
-
exports.formatBn4dig = formatBn4dig;
|
|
68
|
-
function toHumanFormat(num, precision = 2) {
|
|
69
|
-
if (num >= BigInt(1e15)) {
|
|
70
|
-
return `${formatBn4dig(num / BigInt(1e9), precision)}Bn`;
|
|
71
|
-
}
|
|
72
|
-
if (num >= BigInt(1e12)) {
|
|
73
|
-
return `${formatBn4dig(num / BigInt(1e6), precision)}M`;
|
|
74
|
-
}
|
|
75
|
-
if (num >= BigInt(1e9)) {
|
|
76
|
-
return `${formatBn4dig(num / BigInt(1e3), precision)}K`;
|
|
77
|
-
}
|
|
78
|
-
return formatBn4dig(num, precision);
|
|
79
|
-
}
|
|
80
|
-
exports.toHumanFormat = toHumanFormat;
|
|
81
15
|
function toSignificant(num, decimals) {
|
|
82
16
|
if (num === 1n)
|
|
83
17
|
return "0";
|
|
@@ -86,13 +20,6 @@ function toSignificant(num, decimals) {
|
|
|
86
20
|
return number.toSignificantDigits(6, 4).toString();
|
|
87
21
|
}
|
|
88
22
|
exports.toSignificant = toSignificant;
|
|
89
|
-
const toBigInt = (v) => {
|
|
90
|
-
const value = typeof v === "object" && v.type === "BigNumber"
|
|
91
|
-
? v.hex
|
|
92
|
-
: v.toString();
|
|
93
|
-
return BigInt(value);
|
|
94
|
-
};
|
|
95
|
-
exports.toBigInt = toBigInt;
|
|
96
23
|
function toBN(num, decimals) {
|
|
97
24
|
if (num === "")
|
|
98
25
|
return 0n;
|
package/lib/utils/math.d.ts
CHANGED
|
@@ -7,4 +7,6 @@ export declare const nonNegativeBn: (v: bigint) => bigint;
|
|
|
7
7
|
export declare class BigIntMath {
|
|
8
8
|
static abs: (x: bigint) => bigint;
|
|
9
9
|
static toHexString: (x: bigint) => string;
|
|
10
|
+
static max: (a: bigint, b: bigint) => bigint;
|
|
11
|
+
static min: (a: bigint, b: bigint) => bigint;
|
|
10
12
|
}
|
package/lib/utils/math.js
CHANGED
|
@@ -41,5 +41,7 @@ exports.nonNegativeBn = nonNegativeBn;
|
|
|
41
41
|
class BigIntMath {
|
|
42
42
|
static abs = (x) => (x < 0n ? -x : x);
|
|
43
43
|
static toHexString = (x) => ethers_1.BigNumber.from(x).toHexString();
|
|
44
|
+
static max = (a, b) => (a > b ? a : b);
|
|
45
|
+
static min = (a, b) => (a < b ? a : b);
|
|
44
46
|
}
|
|
45
47
|
exports.BigIntMath = BigIntMath;
|
|
@@ -10,11 +10,11 @@ interface BatchCreditAccountLoadOptions {
|
|
|
10
10
|
atBlock?: number;
|
|
11
11
|
chunkSize?: number;
|
|
12
12
|
}
|
|
13
|
-
export declare class
|
|
14
|
-
static IERC20: import("../types
|
|
15
|
-
static creditManagerInterface: import("../types
|
|
16
|
-
static creditConfiguratorInterface: import("../types
|
|
17
|
-
static creditFacadeInterface: import("../types
|
|
13
|
+
export declare class CreditAccountWatcherV2 {
|
|
14
|
+
static IERC20: import("../types/IERC20").IERC20Interface;
|
|
15
|
+
static creditManagerInterface: import("../types/ICreditManagerV2.sol/ICreditManagerV2").ICreditManagerV2Interface;
|
|
16
|
+
static creditConfiguratorInterface: import("../types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2").ICreditConfiguratorV2Interface;
|
|
17
|
+
static creditFacadeInterface: import("../types/ICreditFacadeV2.sol/ICreditFacadeV2").ICreditFacadeV2Interface;
|
|
18
18
|
/**
|
|
19
19
|
* Gets hashes of all opened credit accounts at toBlock (or "latest" by default)
|
|
20
20
|
* @param creditManager CreditManagerData of desired CreditManager to check
|
|
@@ -23,7 +23,7 @@ export declare class CreditAccountWatcher {
|
|
|
23
23
|
* @returns Arrays of hashes for opened accounts
|
|
24
24
|
*/
|
|
25
25
|
static getOpenAccounts(creditManager: CreditManagerData, provider: providers.Provider, toBlock?: number): Promise<Array<CreditAccountHash>>;
|
|
26
|
-
static batchCreditAccountLoad(accs: Array<CreditAccountHash>,
|
|
26
|
+
static batchCreditAccountLoad(accs: Array<CreditAccountHash>, dataCompressor210: string, signer: Signer | providers.Provider, options?: BatchCreditAccountLoadOptions | number): Promise<Array<CreditAccountData>>;
|
|
27
27
|
/**
|
|
28
28
|
* Tracks block logs and detects whichj acccounts were changed (created / modified) and which were deleted
|
|
29
29
|
* @param logs Logs from last N blocks
|
|
@@ -32,5 +32,6 @@ export declare class CreditAccountWatcher {
|
|
|
32
32
|
*/
|
|
33
33
|
static detectChanges(logs: Array<providers.Log>, creditManagers: Array<CreditManagerData>): CreditManagerUpdate;
|
|
34
34
|
static trackDirectTransfers(freshLogs: Array<providers.Log>, tokensToTrack: Array<string>, accounts: Array<CreditAccountData>): Array<CreditAccountHash>;
|
|
35
|
+
private static assertCMSupported;
|
|
35
36
|
}
|
|
36
37
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CreditAccountWatcherV2 = void 0;
|
|
4
4
|
const sdk_gov_1 = require("@gearbox-protocol/sdk-gov");
|
|
5
5
|
const creditAccount_1 = require("../core/creditAccount");
|
|
6
6
|
const types_1 = require("../types");
|
|
7
|
-
class
|
|
7
|
+
class CreditAccountWatcherV2 {
|
|
8
8
|
static IERC20 = types_1.IERC20__factory.createInterface();
|
|
9
9
|
static creditManagerInterface = types_1.ICreditManagerV2__factory.createInterface();
|
|
10
|
-
static creditConfiguratorInterface = types_1.
|
|
11
|
-
static creditFacadeInterface = types_1.
|
|
10
|
+
static creditConfiguratorInterface = types_1.ICreditConfiguratorV2__factory.createInterface();
|
|
11
|
+
static creditFacadeInterface = types_1.ICreditFacadeV2__factory.createInterface();
|
|
12
12
|
/**
|
|
13
13
|
* Gets hashes of all opened credit accounts at toBlock (or "latest" by default)
|
|
14
14
|
* @param creditManager CreditManagerData of desired CreditManager to check
|
|
@@ -17,9 +17,7 @@ class CreditAccountWatcher {
|
|
|
17
17
|
* @returns Arrays of hashes for opened accounts
|
|
18
18
|
*/
|
|
19
19
|
static async getOpenAccounts(creditManager, provider, toBlock) {
|
|
20
|
-
|
|
21
|
-
throw new Error("Works for V2 only");
|
|
22
|
-
}
|
|
20
|
+
CreditAccountWatcherV2.assertCMSupported(creditManager);
|
|
23
21
|
const eventsByDate = [];
|
|
24
22
|
const addToEvents = (e, address, operation) => {
|
|
25
23
|
eventsByDate.push({
|
|
@@ -34,12 +32,12 @@ class CreditAccountWatcher {
|
|
|
34
32
|
const ccAddrs = (await cm.queryFilter(cm.filters.NewConfigurator(), undefined, toBlock)).map(e => e.args.newConfigurator);
|
|
35
33
|
// get all historical creditFacades for this cm
|
|
36
34
|
const cfUpgraded = (await Promise.all(ccAddrs.map(async (ccAddr) => {
|
|
37
|
-
const cc = types_1.
|
|
35
|
+
const cc = types_1.ICreditConfiguratorV2__factory.connect(ccAddr, provider);
|
|
38
36
|
const cfUpgradedEvents = await cc.queryFilter(cc.filters.CreditFacadeUpgraded(), undefined, toBlock);
|
|
39
37
|
return cfUpgradedEvents.map(e => e.args.newCreditFacade);
|
|
40
38
|
}))).flat();
|
|
41
39
|
for (const creditFacade of cfUpgraded) {
|
|
42
|
-
const cf = types_1.
|
|
40
|
+
const cf = types_1.ICreditFacadeV2__factory.connect(creditFacade, provider);
|
|
43
41
|
const topics = {
|
|
44
42
|
OpenCreditAccount: cf.interface.getEventTopic("OpenCreditAccount"),
|
|
45
43
|
CloseCreditAccount: cf.interface.getEventTopic("CloseCreditAccount"),
|
|
@@ -83,7 +81,7 @@ class CreditAccountWatcher {
|
|
|
83
81
|
});
|
|
84
82
|
return Array.from(accounts.values()).map(borrower => creditAccount_1.CreditAccountData.hash(creditManager.address, borrower));
|
|
85
83
|
}
|
|
86
|
-
static async batchCreditAccountLoad(accs,
|
|
84
|
+
static async batchCreditAccountLoad(accs, dataCompressor210, signer, options) {
|
|
87
85
|
let chunkSize = 1000;
|
|
88
86
|
let atBlock;
|
|
89
87
|
if (typeof options === "object") {
|
|
@@ -93,7 +91,8 @@ class CreditAccountWatcher {
|
|
|
93
91
|
else {
|
|
94
92
|
atBlock = options;
|
|
95
93
|
}
|
|
96
|
-
const
|
|
94
|
+
const dcInterface = types_1.IDataCompressorV2_10__factory.createInterface();
|
|
95
|
+
const dcmc = new sdk_gov_1.MultiCallContract(dataCompressor210, dcInterface, signer);
|
|
97
96
|
const calls = [];
|
|
98
97
|
for (let i = 0; i < accs.length; i++) {
|
|
99
98
|
const chunk = accs.slice(i * chunkSize, (i + 1) * chunkSize);
|
|
@@ -118,7 +117,10 @@ class CreditAccountWatcher {
|
|
|
118
117
|
* @returns CreditManagerUpdate which contains updated (created / modified) and deleted accounts
|
|
119
118
|
*/
|
|
120
119
|
static detectChanges(logs, creditManagers) {
|
|
121
|
-
const cms = creditManagers.map(
|
|
120
|
+
const cms = creditManagers.map(cm => {
|
|
121
|
+
CreditAccountWatcherV2.assertCMSupported(cm);
|
|
122
|
+
return cm.address.toLowerCase();
|
|
123
|
+
});
|
|
122
124
|
const cfToCm = {};
|
|
123
125
|
const ccToCm = {};
|
|
124
126
|
// maps credit manager addr to credit configurator addresses
|
|
@@ -134,7 +136,7 @@ class CreditAccountWatcher {
|
|
|
134
136
|
for (let log of logs) {
|
|
135
137
|
const logAddr = log.address.toLowerCase();
|
|
136
138
|
if (cms.includes(logAddr)) {
|
|
137
|
-
const { name, args } =
|
|
139
|
+
const { name, args } = CreditAccountWatcherV2.creditManagerInterface.parseLog(log);
|
|
138
140
|
if (name === "ExecuteOrder") {
|
|
139
141
|
const { borrower } = args;
|
|
140
142
|
if (!borrower)
|
|
@@ -150,14 +152,14 @@ class CreditAccountWatcher {
|
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
154
|
else if (logAddr in ccToCm) {
|
|
153
|
-
const { name, args } =
|
|
155
|
+
const { name, args } = CreditAccountWatcherV2.creditConfiguratorInterface.parseLog(log);
|
|
154
156
|
if (name === "CreditFacadeUpgraded") {
|
|
155
157
|
const newCreditFacade = args.newCreditFacade.toLowerCase();
|
|
156
158
|
cfToCm[newCreditFacade] = ccToCm[logAddr];
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
161
|
else if (logAddr in cfToCm) {
|
|
160
|
-
const { name, args } =
|
|
162
|
+
const { name, args } = CreditAccountWatcherV2.creditFacadeInterface.parseLog(log);
|
|
161
163
|
switch (name) {
|
|
162
164
|
case "OpenCreditAccount":
|
|
163
165
|
case "AddCollateral": {
|
|
@@ -224,7 +226,7 @@ class CreditAccountWatcher {
|
|
|
224
226
|
});
|
|
225
227
|
for (let log of freshLogs) {
|
|
226
228
|
if (tkns.includes(log.address.toLocaleLowerCase())) {
|
|
227
|
-
const { name, args } =
|
|
229
|
+
const { name, args } = CreditAccountWatcherV2.IERC20.parseLog(log);
|
|
228
230
|
if (name === "Transfer" &&
|
|
229
231
|
accAddresses.includes(args.to.toLowerCase())) {
|
|
230
232
|
modified.add(accToCa[args.to.toLowerCase()].hash());
|
|
@@ -233,5 +235,10 @@ class CreditAccountWatcher {
|
|
|
233
235
|
}
|
|
234
236
|
return Array.from(modified);
|
|
235
237
|
}
|
|
238
|
+
static assertCMSupported(cm) {
|
|
239
|
+
if (cm.version < 2 || cm.version > 299) {
|
|
240
|
+
throw new Error(`CreditAccountWatcherV2 does not support credit manager version ${cm.version}`);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
236
243
|
}
|
|
237
|
-
exports.
|
|
244
|
+
exports.CreditAccountWatcherV2 = CreditAccountWatcherV2;
|
|
@@ -13,8 +13,8 @@ const CREDIT_CONFIGURATOR_NEW = "0xcb9a588a47dd0393af3d0d5f86e6f1c8fd252000";
|
|
|
13
13
|
const BORROWER = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266";
|
|
14
14
|
const expectedHash = `${CREDIT_MANAGER_ADDRESS.toLowerCase()}:${BORROWER.toLowerCase()}`;
|
|
15
15
|
const creditManagerInterface = types_1.ICreditManagerV2__factory.createInterface();
|
|
16
|
-
const creditFacadeInterface = types_1.
|
|
17
|
-
const creditConfiguratorInterface = types_1.
|
|
16
|
+
const creditFacadeInterface = types_1.ICreditFacadeV2__factory.createInterface();
|
|
17
|
+
const creditConfiguratorInterface = types_1.ICreditConfiguratorV2__factory.createInterface();
|
|
18
18
|
const cmDumb = {
|
|
19
19
|
address: CREDIT_MANAGER_ADDRESS.toLowerCase(),
|
|
20
20
|
creditFacade: CREDIT_FACADE_ADDRESS.toLowerCase(),
|
|
@@ -55,7 +55,7 @@ const newConfiguratorLog = (managerAddr = CREDIT_MANAGER_ADDRESS, configuratorAd
|
|
|
55
55
|
]);
|
|
56
56
|
describe("CreditAccountTracker test", () => {
|
|
57
57
|
it("detects update events correctly", () => {
|
|
58
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
58
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([openLog()], [cmDumb])).to.be.eql({
|
|
59
59
|
updated: [expectedHash],
|
|
60
60
|
deleted: [],
|
|
61
61
|
});
|
|
@@ -63,7 +63,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
63
63
|
creditFacadeInterface.getEventTopic("IncreaseBorrowedAmount"),
|
|
64
64
|
encode("address", BORROWER),
|
|
65
65
|
], ethers_1.utils.defaultAbiCoder.encode(["uint256"], [10]));
|
|
66
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
66
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
67
67
|
updated: [expectedHash],
|
|
68
68
|
deleted: [],
|
|
69
69
|
});
|
|
@@ -71,7 +71,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
71
71
|
creditFacadeInterface.getEventTopic("DecreaseBorrowedAmount"),
|
|
72
72
|
encode("address", BORROWER),
|
|
73
73
|
], ethers_1.utils.defaultAbiCoder.encode(["uint256"], [10]));
|
|
74
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
74
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
75
75
|
updated: [expectedHash],
|
|
76
76
|
deleted: [],
|
|
77
77
|
});
|
|
@@ -80,7 +80,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
80
80
|
encode("address", BORROWER),
|
|
81
81
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
82
82
|
], ethers_1.utils.defaultAbiCoder.encode(["uint256"], [10]));
|
|
83
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
83
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
84
84
|
updated: [expectedHash],
|
|
85
85
|
deleted: [],
|
|
86
86
|
});
|
|
@@ -88,7 +88,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
88
88
|
creditFacadeInterface.getEventTopic("MultiCallStarted"),
|
|
89
89
|
encode("address", BORROWER),
|
|
90
90
|
]);
|
|
91
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
91
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
92
92
|
updated: [expectedHash],
|
|
93
93
|
deleted: [],
|
|
94
94
|
});
|
|
@@ -97,7 +97,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
97
97
|
encode("address", BORROWER),
|
|
98
98
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
99
99
|
]);
|
|
100
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
100
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
101
101
|
updated: [expectedHash],
|
|
102
102
|
deleted: [],
|
|
103
103
|
});
|
|
@@ -106,7 +106,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
106
106
|
encode("address", BORROWER),
|
|
107
107
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
108
108
|
]);
|
|
109
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
109
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
110
110
|
updated: [expectedHash],
|
|
111
111
|
deleted: [],
|
|
112
112
|
});
|
|
@@ -115,7 +115,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
115
115
|
encode("address", BORROWER),
|
|
116
116
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
117
117
|
]);
|
|
118
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
118
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
119
119
|
updated: [expectedHash],
|
|
120
120
|
deleted: [],
|
|
121
121
|
});
|
|
@@ -124,7 +124,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
124
124
|
// DELETED
|
|
125
125
|
//
|
|
126
126
|
it("detects delete events correctly", () => {
|
|
127
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
127
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([closeLog()], [cmDumb])).to.be.eql({
|
|
128
128
|
updated: [],
|
|
129
129
|
deleted: [expectedHash],
|
|
130
130
|
});
|
|
@@ -135,7 +135,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
135
135
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
136
136
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
137
137
|
], ethers_1.utils.defaultAbiCoder.encode(["uint256"], [10]));
|
|
138
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
138
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
139
139
|
updated: [],
|
|
140
140
|
deleted: [expectedHash],
|
|
141
141
|
});
|
|
@@ -146,27 +146,27 @@ describe("CreditAccountTracker test", () => {
|
|
|
146
146
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
147
147
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
148
148
|
], ethers_1.utils.defaultAbiCoder.encode(["uint256"], [10]));
|
|
149
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
149
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([log], [cmDumb])).to.be.eql({
|
|
150
150
|
updated: [],
|
|
151
151
|
deleted: [expectedHash],
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
it("doesn't make duplicated", () => {
|
|
155
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
155
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([openLog(), openLog(), openLog()], [cmDumb])).to.be.eql({
|
|
156
156
|
updated: [expectedHash],
|
|
157
157
|
deleted: [],
|
|
158
158
|
});
|
|
159
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
159
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([closeLog(), closeLog(), closeLog()], [cmDumb])).to.be.eql({
|
|
160
160
|
updated: [],
|
|
161
161
|
deleted: [expectedHash],
|
|
162
162
|
});
|
|
163
163
|
});
|
|
164
164
|
it("updates accounts were created and deleted in the batch", () => {
|
|
165
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
165
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([openLog(), closeLog()], [cmDumb])).to.be.eql({
|
|
166
166
|
updated: [],
|
|
167
167
|
deleted: [expectedHash],
|
|
168
168
|
});
|
|
169
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
169
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([openLog(), closeLog(), openLog()], [cmDumb])).to.be.eql({
|
|
170
170
|
updated: [expectedHash],
|
|
171
171
|
deleted: [expectedHash],
|
|
172
172
|
});
|
|
@@ -177,7 +177,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
177
177
|
encode("address", BORROWER),
|
|
178
178
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
179
179
|
]);
|
|
180
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
180
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([openLog(), transferLog], [cmDumb])).to.be.eql({
|
|
181
181
|
updated: [
|
|
182
182
|
`${CREDIT_MANAGER_ADDRESS.toLowerCase()}:${sdk_gov_1.DUMB_ADDRESS.toLowerCase()}`,
|
|
183
183
|
],
|
|
@@ -185,7 +185,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
185
185
|
});
|
|
186
186
|
});
|
|
187
187
|
it("correctly handles credit configurator change", () => {
|
|
188
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
188
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([
|
|
189
189
|
openLog(),
|
|
190
190
|
newConfiguratorLog(),
|
|
191
191
|
upgradeFacadeLog(),
|
|
@@ -194,7 +194,7 @@ describe("CreditAccountTracker test", () => {
|
|
|
194
194
|
updated: [],
|
|
195
195
|
deleted: [expectedHash],
|
|
196
196
|
});
|
|
197
|
-
(0, chai_1.expect)(creditAccountWatcher_1.
|
|
197
|
+
(0, chai_1.expect)(creditAccountWatcher_1.CreditAccountWatcherV2.detectChanges([
|
|
198
198
|
openLog(),
|
|
199
199
|
closeLog(),
|
|
200
200
|
newConfiguratorLog(),
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { providers, Signer } from "ethers";
|
|
2
2
|
import { CreditManagerData } from "../core/creditManager";
|
|
3
3
|
export declare class CreditManagerWatcher {
|
|
4
|
-
static
|
|
5
|
-
static
|
|
6
|
-
static
|
|
4
|
+
private static newConfiguratorV2Topic;
|
|
5
|
+
private static newConfiguratorV3Topic;
|
|
6
|
+
static getAllCreditManagers(addressProvider: string, signer: Signer | providers.Provider, atBlock?: number): Promise<Record<string, CreditManagerData>>;
|
|
7
|
+
static getV2CreditManagers(dataCompressorV210: string, signer: Signer | providers.Provider, atBlock?: number): Promise<Record<string, CreditManagerData>>;
|
|
8
|
+
static getV3CreditManagers(dataCompressorV300: string, signer: Signer | providers.Provider, atBlock?: number): Promise<Record<string, CreditManagerData>>;
|
|
7
9
|
static detectConfigChanges(freshLogs: Array<providers.Log>, creditManagers: Array<CreditManagerData>): boolean;
|
|
8
10
|
}
|
|
@@ -1,17 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreditManagerWatcher = void 0;
|
|
4
|
+
const utils_1 = require("ethers/lib/utils");
|
|
4
5
|
const creditManager_1 = require("../core/creditManager");
|
|
5
6
|
const types_1 = require("../types");
|
|
6
7
|
class CreditManagerWatcher {
|
|
7
|
-
static
|
|
8
|
-
static
|
|
9
|
-
static async
|
|
8
|
+
static newConfiguratorV2Topic = types_1.ICreditManagerV2__factory.createInterface().getEventTopic("NewConfigurator");
|
|
9
|
+
static newConfiguratorV3Topic = types_1.ICreditManagerV3__factory.createInterface().getEventTopic("SetCreditConfigurator");
|
|
10
|
+
static async getAllCreditManagers(addressProvider, signer, atBlock) {
|
|
11
|
+
const ap = types_1.IAddressProviderV3__factory.connect(addressProvider, signer);
|
|
12
|
+
const [dc210, dc300] = await Promise.all([
|
|
13
|
+
ap.getAddressOrRevert((0, utils_1.formatBytes32String)("DATA_COMPRESSOR"), 210, {
|
|
14
|
+
blockTag: atBlock,
|
|
15
|
+
}),
|
|
16
|
+
ap.getAddressOrRevert((0, utils_1.formatBytes32String)("DATA_COMPRESSOR"), 300, {
|
|
17
|
+
blockTag: atBlock,
|
|
18
|
+
}),
|
|
19
|
+
]);
|
|
20
|
+
const [cms2, cms3] = await Promise.all([
|
|
21
|
+
CreditManagerWatcher.getV2CreditManagers(dc210, signer, atBlock),
|
|
22
|
+
CreditManagerWatcher.getV3CreditManagers(dc300, signer, atBlock),
|
|
23
|
+
]);
|
|
24
|
+
return { ...cms2, ...cms3 };
|
|
25
|
+
}
|
|
26
|
+
static async getV2CreditManagers(dataCompressorV210, signer, atBlock) {
|
|
27
|
+
const creditManagers = {};
|
|
28
|
+
const creditManagersPayload = await types_1.IDataCompressorV2_10__factory.connect(dataCompressorV210, signer).getCreditManagersV2List({ blockTag: atBlock });
|
|
29
|
+
creditManagersPayload.forEach(c => {
|
|
30
|
+
creditManagers[c.addr.toLowerCase()] = new creditManager_1.CreditManagerData(c);
|
|
31
|
+
});
|
|
32
|
+
return creditManagers;
|
|
33
|
+
}
|
|
34
|
+
static async getV3CreditManagers(dataCompressorV300, signer, atBlock) {
|
|
10
35
|
const creditManagers = {};
|
|
11
|
-
const creditManagersPayload = await types_1.
|
|
12
|
-
creditManagersPayload
|
|
13
|
-
.filter(c => c.version === 2 || c.version === 210)
|
|
14
|
-
.forEach(c => {
|
|
36
|
+
const creditManagersPayload = await types_1.IDataCompressorV3_00__factory.connect(dataCompressorV300, signer).getCreditManagersV3List({ blockTag: atBlock });
|
|
37
|
+
creditManagersPayload.forEach(c => {
|
|
15
38
|
creditManagers[c.addr.toLowerCase()] = new creditManager_1.CreditManagerData(c);
|
|
16
39
|
});
|
|
17
40
|
return creditManagers;
|
|
@@ -21,8 +44,8 @@ class CreditManagerWatcher {
|
|
|
21
44
|
const ccs = creditManagers.map(c => c.creditConfigurator);
|
|
22
45
|
for (let log of freshLogs) {
|
|
23
46
|
if (cms.includes(log.address.toLowerCase())) {
|
|
24
|
-
|
|
25
|
-
|
|
47
|
+
if (log.topics[0] === CreditManagerWatcher.newConfiguratorV2Topic ||
|
|
48
|
+
log.topics[0] === CreditManagerWatcher.newConfiguratorV3Topic) {
|
|
26
49
|
return true;
|
|
27
50
|
}
|
|
28
51
|
}
|
|
@@ -26,22 +26,30 @@ const makeLog = (address, topics, data = sdk_gov_1.ADDRESS_0X0) => {
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
describe("CreditManagerTracker test", () => {
|
|
29
|
-
it("detects
|
|
30
|
-
const
|
|
29
|
+
it("detects CreditManagerV2 events correctly", () => {
|
|
30
|
+
const cmV2Interface = types_1.ICreditManagerV2__factory.createInterface();
|
|
31
31
|
let log = makeLog(CREDIT_MANAGER_ADDRESS, [
|
|
32
|
-
|
|
32
|
+
cmV2Interface.getEventTopic("NewConfigurator"),
|
|
33
33
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
34
34
|
]);
|
|
35
35
|
(0, chai_1.expect)(creditManagerWatcher_1.CreditManagerWatcher.detectConfigChanges([log], [cmDumb])).to.be.eq(true);
|
|
36
36
|
log = makeLog(CREDIT_MANAGER_ADDRESS, [
|
|
37
|
-
|
|
37
|
+
cmV2Interface.getEventTopic("ExecuteOrder"),
|
|
38
38
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
39
39
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
40
40
|
]);
|
|
41
41
|
(0, chai_1.expect)(creditManagerWatcher_1.CreditManagerWatcher.detectConfigChanges([log], [cmDumb])).to.be.eq(false);
|
|
42
42
|
});
|
|
43
|
+
it("detects CreditManagerV3 events correctly", () => {
|
|
44
|
+
const cmV3Interface = types_1.ICreditManagerV3__factory.createInterface();
|
|
45
|
+
let log = makeLog(CREDIT_MANAGER_ADDRESS, [
|
|
46
|
+
cmV3Interface.getEventTopic("SetCreditConfigurator"),
|
|
47
|
+
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
|
48
|
+
]);
|
|
49
|
+
(0, chai_1.expect)(creditManagerWatcher_1.CreditManagerWatcher.detectConfigChanges([log], [cmDumb])).to.be.eq(true);
|
|
50
|
+
});
|
|
43
51
|
it("detects CreditConfigurator events correctly", () => {
|
|
44
|
-
const ccInterface = types_1.
|
|
52
|
+
const ccInterface = types_1.ICreditConfiguratorV2__factory.createInterface();
|
|
45
53
|
let log = makeLog(CREDIT_CONFIGIURATOR_ADDRESS, [
|
|
46
54
|
ccInterface.getEventTopic("TokenLiquidationThresholdUpdated"),
|
|
47
55
|
encode("address", sdk_gov_1.DUMB_ADDRESS),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/sdk",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.100",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -17,30 +17,44 @@
|
|
|
17
17
|
"decimals": "yarn ts-node ./scripts/generate_decimals.ts",
|
|
18
18
|
"dev": "tsc -w --p tsconfig.build.json",
|
|
19
19
|
"pub": "rm -rf ./src/types/hardhat.ts && cp ./src/types/*.d.ts ./lib/types && tsc --p tsconfig.build.json && yarn publish",
|
|
20
|
-
"
|
|
20
|
+
"types:clean": "rm -rf forge-out src/types",
|
|
21
|
+
"types:build": "forge build",
|
|
22
|
+
"types:generate": "typechain --target ethers-v5 --out-dir src/types ./forge-out/**/*.json",
|
|
23
|
+
"types": "yarn types:clean && yarn types:build && yarn types:generate",
|
|
21
24
|
"prepare": "husky install",
|
|
22
25
|
"prettier": "prettier --write .",
|
|
23
26
|
"prettier:ci": "npx prettier --check .",
|
|
24
27
|
"lint": "eslint \"**/*.ts\" --fix",
|
|
25
28
|
"lint:ci": "eslint \"**/*.ts\"",
|
|
26
29
|
"typecheck:ci": "tsc --noEmit",
|
|
27
|
-
"test": "npx mocha -r ts-node/register -r dotenv/config src/**/*.spec.ts"
|
|
30
|
+
"test": "npx mocha -r ts-node/register -r dotenv/config 'src/**/*.spec.ts'"
|
|
28
31
|
},
|
|
29
32
|
"dependencies": {
|
|
30
|
-
"@gearbox-protocol/sdk-gov": "^1.
|
|
31
|
-
"@types/deep-eql": "^4.0.0",
|
|
33
|
+
"@gearbox-protocol/sdk-gov": "^1.16.0",
|
|
32
34
|
"axios": "^1.2.6",
|
|
33
35
|
"decimal.js-light": "^2.5.1",
|
|
34
36
|
"deep-eql": "^4.1.0",
|
|
35
37
|
"moment": "^2.29.4"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
|
-
"@
|
|
40
|
+
"@1inch/farming": "^3.1.0",
|
|
41
|
+
"@1inch/solidity-utils": "^2.2.27",
|
|
42
|
+
"@commitlint/cli": "^17.6.3",
|
|
39
43
|
"@commitlint/config-conventional": "^17.0.3",
|
|
44
|
+
"@gearbox-protocol/core-v2": "1.19.0-base.17",
|
|
45
|
+
"@gearbox-protocol/core-v3": "^1.45.8",
|
|
40
46
|
"@gearbox-protocol/eslint-config": "^1.4.1",
|
|
47
|
+
"@gearbox-protocol/integrations-v3": "^1.27.2",
|
|
48
|
+
"@gearbox-protocol/oracles-v3": "^1.9.0",
|
|
49
|
+
"@gearbox-protocol/periphery-v3": "^1.3.12",
|
|
41
50
|
"@gearbox-protocol/prettier-config": "^1.4.1",
|
|
42
|
-
"@
|
|
51
|
+
"@gearbox-protocol/router": "^1.5.5",
|
|
52
|
+
"@gearbox-protocol/router-v3": "^1.8.2",
|
|
53
|
+
"@openzeppelin/contracts": "^4.9.3",
|
|
54
|
+
"@redstone-finance/evm-connector": "^0.3.6",
|
|
55
|
+
"@typechain/ethers-v5": "^10.1.0",
|
|
43
56
|
"@types/chai": "^4.3.3",
|
|
57
|
+
"@types/deep-eql": "^4.0.0",
|
|
44
58
|
"@types/jest": "^28.1.7",
|
|
45
59
|
"@types/mocha": "^10.0.1",
|
|
46
60
|
"@types/node": "^18.7.6",
|