@gearbox-protocol/sdk 3.0.0-next.15 → 3.0.0-next.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/index.sol +34 -5
- package/lib/apy/auraAPY.d.ts +1 -0
- package/lib/apy/auraAPY.js +23 -0
- package/lib/apy/auraAbi.d.ts +17 -0
- package/lib/apy/auraAbi.js +26 -0
- package/lib/apy/convexAPY.d.ts +8 -7
- package/lib/apy/convexAPY.js +19 -8
- package/lib/apy/curveAPY.d.ts +57 -5
- package/lib/apy/curveAPY.js +112 -59
- package/lib/apy/defiLamaAPY.d.ts +3 -0
- package/lib/apy/defiLamaAPY.js +74 -0
- package/lib/apy/index.d.ts +3 -2
- package/lib/apy/index.js +9 -0
- package/lib/apy/lidoAPY.d.ts +4 -1
- package/lib/apy/lidoAPY.js +6 -3
- package/lib/apy/yearnAPY.d.ts +3 -3
- package/lib/apy/yearnAPY.js +15 -12
- package/lib/contracts/contractsRegister.d.ts +13 -6
- package/lib/contracts/contractsRegister.js +39 -2
- package/lib/core/assets.js +2 -2
- package/lib/core/creditAccount.d.ts +59 -16
- package/lib/core/creditAccount.js +176 -77
- package/lib/core/creditAccount.spec.js +639 -27
- package/lib/core/creditManager.d.ts +18 -5
- package/lib/core/creditManager.js +70 -12
- package/lib/core/creditSession.d.ts +24 -3
- package/lib/core/creditSession.js +32 -7
- package/lib/core/endpoint.d.ts +14 -0
- package/lib/core/endpoint.js +34 -0
- package/lib/core/eventOrTx.d.ts +2 -3
- package/lib/core/events.js +16 -16
- 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/data.d.ts → pool.d.ts} +14 -8
- package/lib/core/{pool/data.js → pool.js} +38 -20
- package/lib/core/rewardClaimer.d.ts +4 -2
- package/lib/core/rewardConvex.d.ts +26 -9
- package/lib/core/rewardConvex.js +183 -56
- package/lib/core/rewardConvex.spec.js +32 -68
- package/lib/core/strategy.d.ts +18 -21
- package/lib/core/strategy.js +16 -36
- package/lib/core/trade.d.ts +11 -12
- package/lib/core/trade.js +36 -29
- package/lib/core/transactions.d.ts +97 -15
- package/lib/core/transactions.js +164 -117
- package/lib/index.d.ts +6 -2
- package/lib/index.js +6 -2
- package/lib/parsers/ERC20Parser.js +1 -1
- package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
- package/lib/parsers/abstractParser.d.ts +7 -5
- package/lib/parsers/abstractParser.js +4 -2
- package/lib/parsers/addressProviderParser.js +1 -1
- package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
- package/lib/parsers/balancerV2VaultParser.js +34 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +13 -9
- package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
- package/lib/parsers/convexBoosterAdapterParser.js +7 -7
- package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
- package/lib/parsers/convextRewardPoolParser.js +1 -1
- package/lib/parsers/creditFacadeParser.js +34 -7
- package/lib/parsers/creditFacadeParser.spec.js +2 -3
- package/lib/parsers/creditManagerParser.js +1 -1
- package/lib/parsers/curveAdapterParser.js +11 -12
- package/lib/parsers/curveAdapterParser.spec.js +6 -2
- package/lib/parsers/erc626AdapterParser.d.ts +7 -0
- package/lib/parsers/erc626AdapterParser.js +21 -0
- package/lib/parsers/lidoAdapterParser.js +4 -3
- package/lib/parsers/lidoAdapterParser.spec.js +2 -2
- package/lib/parsers/lidoSTETHParser.js +1 -1
- package/lib/parsers/poolParser.js +1 -1
- package/lib/parsers/priceOracleParser.js +1 -1
- package/lib/parsers/txParser.d.ts +17 -11
- package/lib/parsers/txParser.js +41 -4
- package/lib/parsers/uniV2AdapterParser.js +6 -5
- package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
- package/lib/parsers/uniV3AdapterParser.js +10 -8
- package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
- package/lib/parsers/wstETHAdapterParser.js +7 -5
- package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
- package/lib/parsers/yearnAdapterParser.spec.js +4 -4
- package/lib/parsers/yearnV2AdapterParser.js +14 -4
- package/lib/pathfinder/balancerVault.d.ts +33 -0
- package/lib/pathfinder/balancerVault.js +59 -0
- package/lib/pathfinder/core.d.ts +8 -9
- package/lib/pathfinder/index.d.ts +4 -0
- package/lib/{core/pool → pathfinder}/index.js +4 -1
- package/lib/pathfinder/pathOptions.d.ts +2 -1
- package/lib/pathfinder/pathOptions.js +33 -11
- package/lib/pathfinder/pathOptions.spec.js +2 -2
- package/lib/pathfinder/pathfinder.d.ts +46 -19
- package/lib/pathfinder/pathfinder.js +67 -55
- package/lib/pathfinder/pathfinder.spec.js +22 -9
- package/lib/pathfinder/utils.d.ts +36 -0
- package/lib/pathfinder/utils.js +181 -0
- 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 +3 -4
- package/lib/payload/creditManager.d.ts +5 -1
- package/lib/payload/creditSession.d.ts +15 -1
- package/lib/payload/gauge.d.ts +12 -0
- package/lib/payload/pool.d.ts +6 -2
- package/lib/payload/token.d.ts +3 -1
- package/lib/tokens/tokenData.d.ts +5 -4
- package/lib/tokens/tokenData.js +21 -5
- package/lib/types/CalldataExtractor.d.ts +44 -0
- package/lib/types/ERC20.d.ts +198 -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/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/IBalancerV2VaultAdapterExceptions.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/index.js +2 -0
- package/lib/types/IBotListV3.sol/IBotListV3.d.ts +286 -0
- package/lib/types/IBotListV3.sol/IBotListV3.js +2 -0
- package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +103 -0
- package/lib/types/IBotListV3.sol/IBotListV3Events.js +2 -0
- package/lib/types/IBotListV3.sol/index.d.ts +2 -0
- package/lib/types/IBotListV3.sol/index.js +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +216 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +27 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/index.js +2 -0
- package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +128 -0
- package/lib/types/IContractsRegister.sol/IContractsRegister.js +2 -0
- package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +50 -0
- package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.js +2 -0
- package/lib/types/IContractsRegister.sol/index.d.ts +2 -0
- package/lib/types/IContractsRegister.sol/index.js +2 -0
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.d.ts +504 -0
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.js +2 -0
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +82 -0
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.js +2 -0
- package/lib/types/IControllerTimelockV3.sol/index.d.ts +2 -0
- package/lib/types/IControllerTimelockV3.sol/index.js +2 -0
- package/lib/types/IConvexToken.d.ts +9 -1
- package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +46 -30
- package/lib/types/{IConvexV1BoosterAdapter.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts} +40 -21
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js +2 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js +2 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/index.js +2 -0
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +7 -11
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +52 -100
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +30 -32
- package/lib/types/ICreditFacadeV3Multicall.d.ts +68 -60
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +99 -79
- package/lib/types/ICurveV1Adapter.d.ts +41 -105
- package/lib/types/ICurveV1_2AssetsAdapter.d.ts +41 -105
- package/lib/types/ICurveV1_3AssetsAdapter.d.ts +41 -105
- package/lib/types/ICurveV1_4AssetsAdapter.d.ts +41 -105
- package/lib/types/IDaiLikePermit.d.ts +59 -0
- package/lib/types/IDaiLikePermit.js +2 -0
- package/lib/types/{IDataCompressorV2_10.d.ts → IDataCompressorV2_1.d.ts} +14 -43
- package/lib/types/IDataCompressorV2_1.js +2 -0
- package/lib/types/{IDataCompressorV3_00.d.ts → IDataCompressorV3.d.ts} +111 -44
- package/lib/types/IDataCompressorV3.js +2 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +339 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.js +2 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +61 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.js +2 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +27 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.js +2 -0
- package/lib/types/IDegenNFTV2.sol/index.d.ts +3 -0
- package/lib/types/IDegenNFTV2.sol/index.js +2 -0
- package/lib/types/IERC165.d.ts +42 -0
- package/lib/types/IERC165.js +2 -0
- package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
- package/lib/types/IERC20ZapperDeposits.js +2 -0
- package/lib/types/IERC4626Adapter.d.ts +238 -0
- package/lib/types/IERC4626Adapter.js +2 -0
- package/lib/types/IERC721.d.ts +220 -0
- package/lib/types/IERC721.js +2 -0
- package/lib/types/IERC721Metadata.d.ts +244 -0
- package/lib/types/IERC721Metadata.js +2 -0
- package/lib/types/IETHZapperDeposits.d.ts +66 -0
- package/lib/types/IETHZapperDeposits.js +2 -0
- package/lib/types/IFarmingPool.d.ts +318 -0
- package/lib/types/IFarmingPool.js +2 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
- package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
- package/lib/types/IGaugeV3.sol/index.js +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
- package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
- package/lib/types/IGearStakingV3.sol/index.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +285 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +54 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +27 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.js +2 -0
- package/lib/types/ILPPriceFeed.sol/index.d.ts +3 -0
- package/lib/types/ILPPriceFeed.sol/index.js +2 -0
- package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.d.ts → ILidoV1Adapter.d.ts} +13 -48
- package/lib/types/ILidoV1Adapter.js +2 -0
- package/lib/types/ILinearInterestRateModelV3.d.ts +120 -0
- package/lib/types/ILinearInterestRateModelV3.js +2 -0
- package/lib/types/IPermit2.d.ts +130 -0
- package/lib/types/IPermit2.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
- package/lib/types/IPoolV3.sol/IPoolV3.d.ts +2 -2
- package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
- package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
- package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
- package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.js +2 -0
- package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
- package/lib/types/IPriceFeed.sol/index.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
- package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts → IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts} +3 -3
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
- package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
- package/lib/types/IPriceOracle.sol/index.js +2 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +272 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +79 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
- package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
- package/lib/types/IPriceOracleV3.sol/index.js +2 -0
- package/lib/types/IRouter.d.ts +11 -1
- package/lib/types/IRouterV3.d.ts +315 -0
- package/lib/types/IRouterV3.js +2 -0
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +10 -9
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +27 -21
- package/lib/types/IVotingContractV3.d.ts +74 -0
- package/lib/types/IVotingContractV3.js +2 -0
- package/lib/types/IWETH.d.ts +197 -0
- package/lib/types/IWETH.js +2 -0
- package/lib/types/IYearnV2Adapter.d.ts +22 -22
- package/lib/types/IZapper.d.ts +42 -47
- package/lib/types/IZapperRegister.d.ts +62 -0
- package/lib/types/IZapperRegister.js +2 -0
- package/lib/types/IwstETHV1Adapter.d.ts +17 -17
- package/lib/types/NumericArrayLib.d.ts +27 -0
- package/lib/types/NumericArrayLib.js +2 -0
- package/lib/types/RedstoneConstants.d.ts +27 -0
- package/lib/types/RedstoneConstants.js +2 -0
- package/lib/types/RedstoneConsumerBase.d.ts +84 -0
- package/lib/types/RedstoneConsumerBase.js +2 -0
- package/lib/types/RedstoneConsumerNumericBase.d.ts +84 -0
- package/lib/types/RedstoneConsumerNumericBase.js +2 -0
- package/lib/types/RedstoneDefaultsLib.d.ts +27 -0
- package/lib/types/RedstoneDefaultsLib.js +2 -0
- package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts} +11 -11
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.js +2 -0
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +27 -0
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.js +2 -0
- package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +279 -0
- package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.js +2 -0
- package/lib/types/RedstonePriceFeed.sol/index.d.ts +3 -0
- package/lib/types/RedstonePriceFeed.sol/index.js +2 -0
- package/lib/types/SafeERC20.d.ts +27 -0
- package/lib/types/SafeERC20.js +2 -0
- package/lib/types/contracts/index.d.ts +2 -0
- package/lib/types/contracts/index.js +2 -0
- package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
- package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
- package/lib/types/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/contracts/interfaces/index.js +2 -0
- package/lib/types/factories/AddressProvider__factory.d.ts +112 -112
- package/lib/types/factories/AddressProvider__factory.js +120 -120
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +4 -4
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +4 -4
- 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 +29 -29
- package/lib/types/factories/Claimable__factory.js +33 -33
- 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 +100 -100
- package/lib/types/factories/Errors__factory.js +100 -100
- package/lib/types/factories/FarmAccounting__factory.d.ts +33 -0
- package/lib/types/factories/FarmAccounting__factory.js +57 -0
- package/lib/types/factories/{IWERC20Zapper__factory.d.ts → IAaveV2_LendingPoolAdapter__factory.d.ts} +96 -114
- package/lib/types/factories/{IWETHZapper__factory.js → IAaveV2_LendingPoolAdapter__factory.js} +105 -120
- 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 +15 -15
- package/lib/types/factories/IAdapter__factory.js +15 -15
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +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/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js} +5 -5
- 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 +114 -114
- package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
- 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/IContractsRegisterEvents__factory.js +45 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +134 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +186 -0
- package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
- package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +73 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +101 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +427 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +556 -0
- package/lib/types/factories/IControllerTimelockV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IControllerTimelockV3.sol/index.js +10 -0
- package/lib/types/factories/IConvexToken__factory.d.ts +89 -79
- package/lib/types/factories/IConvexToken__factory.js +99 -86
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +103 -71
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +113 -71
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +23 -0
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +38 -0
- package/lib/types/factories/{IConvexV1BoosterAdapter__factory.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts} +67 -44
- package/lib/types/factories/{IConvexV1BoosterAdapter__factory.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js} +72 -43
- 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 +121 -121
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -27
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -28
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +78 -83
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +85 -91
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +281 -348
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +372 -457
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +85 -81
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +93 -89
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +398 -390
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +436 -426
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
- package/lib/types/factories/ICurvePool__factory.js +159 -159
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +171 -229
- package/lib/types/factories/ICurveV1Adapter__factory.js +171 -248
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +189 -247
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +189 -266
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +189 -247
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +189 -266
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +189 -247
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +189 -266
- 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 → IDataCompressorV2_1__factory.d.ts} +348 -398
- package/lib/types/factories/{IDataCompressorV2_10__factory.js → IDataCompressorV2_1__factory.js} +349 -413
- package/lib/types/factories/{IDataCompressorV3_00__factory.d.ts → IDataCompressorV3__factory.d.ts} +654 -472
- package/lib/types/factories/{IDataCompressorV3_00__factory.js → IDataCompressorV3__factory.js} +727 -495
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +38 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +58 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +24 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +39 -0
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.d.ts → IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts} +248 -238
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js → IDegenNFTV2.sol/IDegenNFTV2__factory.js} +270 -253
- package/lib/types/factories/IDegenNFTV2.sol/index.d.ts +3 -0
- package/lib/types/factories/IDegenNFTV2.sol/index.js +12 -0
- package/lib/types/factories/IERC165__factory.d.ts +22 -0
- package/lib/types/factories/IERC165__factory.js +38 -0
- package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
- package/lib/types/factories/IERC20Metadata__factory.js +86 -86
- package/lib/types/factories/IERC20Permit__factory.d.ts +16 -16
- package/lib/types/factories/IERC20Permit__factory.js +16 -16
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
- package/lib/types/factories/IERC20__factory.d.ts +67 -67
- package/lib/types/factories/IERC20__factory.js +77 -77
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
- package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
- package/lib/types/factories/IERC4626__factory.d.ts +198 -198
- package/lib/types/factories/IERC4626__factory.js +221 -221
- package/lib/types/factories/IERC721Metadata__factory.d.ts +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/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
- package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.d.ts → IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts} +55 -85
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js → IGearStakingV3.sol/IGearStakingV3Events__factory.js} +58 -94
- 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 +8 -8
- package/lib/types/factories/IInterestRateModel__factory.js +8 -8
- 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/ILPPriceFeed.sol/index.d.ts +3 -0
- package/lib/types/factories/ILPPriceFeed.sol/index.js +12 -0
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts → ILidoV1Adapter__factory.d.ts} +44 -74
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.js → ILidoV1Adapter__factory.js} +45 -83
- 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 +11 -11
- package/lib/types/factories/IOffchainOracle__factory.js +11 -11
- 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 +66 -66
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +574 -574
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +698 -698
- 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/IPriceOracleV2Events__factory.js +38 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +197 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
- package/lib/types/factories/{IWETHZapper__factory.d.ts → IPriceOracle.sol/IPriceOracleV2__factory.d.ts} +114 -99
- package/lib/types/factories/{IWERC20Zapper__factory.js → IPriceOracle.sol/IPriceOracleV2__factory.js} +119 -110
- package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
- package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
- package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
- package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +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 +512 -0
- package/lib/types/factories/IRouterV3__factory.js +676 -0
- package/lib/types/factories/IRouter__factory.d.ts +168 -154
- package/lib/types/factories/IRouter__factory.js +186 -167
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +80 -76
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +87 -82
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +142 -134
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +151 -141
- package/lib/types/factories/IVersion__factory.d.ts +3 -3
- package/lib/types/factories/IVersion__factory.js +3 -3
- package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
- package/lib/types/factories/IVotingContractV3__factory.js +65 -0
- package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
- package/lib/types/factories/IWETHGateway__factory.js +14 -14
- package/lib/types/factories/IWETH__factory.d.ts +194 -0
- package/lib/types/factories/IWETH__factory.js +260 -0
- package/lib/types/factories/IYVault__factory.d.ts +112 -112
- package/lib/types/factories/IYVault__factory.js +122 -122
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +76 -68
- package/lib/types/factories/IYearnV2Adapter__factory.js +82 -70
- 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 +40 -48
- package/lib/types/factories/IZapper__factory.js +40 -50
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +52 -44
- package/lib/types/factories/IwstETHV1Adapter__factory.js +56 -44
- 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 +23 -23
- package/lib/types/factories/Ownable__factory.js +27 -27
- 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/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts} +9 -9
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js} +8 -8
- 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/contracts/index.d.ts +1 -0
- package/lib/types/factories/contracts/index.js +30 -0
- package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/contracts/interfaces/IGasPricer__factory.js +38 -0
- package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/factories/contracts/interfaces/index.js +8 -0
- package/lib/types/factories/index.d.ts +45 -7
- package/lib/types/factories/index.js +75 -14
- package/lib/types/index.d.ts +168 -24
- package/lib/types/index.js +135 -20
- package/lib/utils/formatter.d.ts +1 -4
- package/lib/utils/formatter.js +3 -69
- package/lib/utils/types.d.ts +1 -0
- package/lib/watchers/creditAccountWatcher.d.ts +3 -2
- package/lib/watchers/creditAccountWatcher.js +20 -14
- package/lib/watchers/creditAccountWatcher.spec.js +18 -18
- package/lib/watchers/creditManagerWatcher.d.ts +5 -3
- package/lib/watchers/creditManagerWatcher.js +32 -10
- package/lib/watchers/creditManagerWatcher.spec.js +12 -4
- package/package.json +12 -8
- package/contracts/IRouter.sol +0 -100
- package/lib/core/pool/index.d.ts +0 -1
- package/lib/core/strategy.spec.js +0 -62
- package/lib/types/ILidoV1Adapter.sol/index.d.ts +0 -3
- package/lib/types/IWERC20Zapper.d.ts +0 -166
- package/lib/types/IWETHZapper.d.ts +0 -162
- package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
- package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
- package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
- package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
- package/lib/types/factories/ILidoV1Adapter.sol/index.d.ts +0 -3
- package/lib/types/factories/ILidoV1Adapter.sol/index.js +0 -12
- package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
- package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
- /package/lib/core/{strategy.spec.d.ts → gaugeMath.spec.d.ts} +0 -0
- /package/lib/{types/IConvexV1BoosterAdapter.js → pathfinder/v1/core.js} +0 -0
- /package/lib/{types/IDataCompressorV2_10.js → payload/gauge.js} +0 -0
- /package/lib/types/{IDataCompressorV3_00.js → CalldataExtractor.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.js → ERC20.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → FarmAccounting.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → IAaveV2_LendingPoolAdapter.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/index.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
- /package/lib/types/{IWERC20Zapper.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
- /package/lib/types/{IWETHZapper.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol → IBalancerV2Vault.sol}/index.js +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js} +0 -0
|
@@ -7,917 +7,917 @@ exports.ICreditManagerV2__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
-
|
|
11
|
-
name: "
|
|
12
|
-
type: "error",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
inputs: [],
|
|
16
|
-
name: "AllowanceFailedException",
|
|
17
|
-
type: "error",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
inputs: [],
|
|
21
|
-
name: "CreditConfiguratorOnlyException",
|
|
22
|
-
type: "error",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
inputs: [],
|
|
26
|
-
name: "CreditFacadeOnlyException",
|
|
27
|
-
type: "error",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
inputs: [],
|
|
31
|
-
name: "HasNoOpenedAccountException",
|
|
32
|
-
type: "error",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
inputs: [],
|
|
36
|
-
name: "NotEnoughCollateralException",
|
|
37
|
-
type: "error",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
inputs: [],
|
|
41
|
-
name: "ReentrancyLockException",
|
|
42
|
-
type: "error",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
inputs: [],
|
|
46
|
-
name: "TargetContractNotAllowedException",
|
|
47
|
-
type: "error",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
inputs: [],
|
|
51
|
-
name: "TokenAlreadyAddedException",
|
|
52
|
-
type: "error",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
inputs: [],
|
|
56
|
-
name: "TokenNotAllowedException",
|
|
57
|
-
type: "error",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
inputs: [],
|
|
61
|
-
name: "TooManyEnabledTokensException",
|
|
62
|
-
type: "error",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
inputs: [],
|
|
66
|
-
name: "TooManyTokensException",
|
|
67
|
-
type: "error",
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
inputs: [],
|
|
71
|
-
name: "ZeroAddressOrUserAlreadyHasAccountException",
|
|
72
|
-
type: "error",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
anonymous: false,
|
|
76
|
-
inputs: [
|
|
77
|
-
{
|
|
78
|
-
indexed: true,
|
|
79
|
-
internalType: "address",
|
|
80
|
-
name: "borrower",
|
|
81
|
-
type: "address",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
indexed: true,
|
|
85
|
-
internalType: "address",
|
|
86
|
-
name: "target",
|
|
87
|
-
type: "address",
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
name: "ExecuteOrder",
|
|
91
|
-
type: "event",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
anonymous: false,
|
|
95
|
-
inputs: [
|
|
96
|
-
{
|
|
97
|
-
indexed: true,
|
|
98
|
-
internalType: "address",
|
|
99
|
-
name: "newConfigurator",
|
|
100
|
-
type: "address",
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
name: "NewConfigurator",
|
|
104
|
-
type: "event",
|
|
105
|
-
},
|
|
106
|
-
{
|
|
10
|
+
type: "function",
|
|
11
|
+
name: "adapterToContract",
|
|
107
12
|
inputs: [
|
|
108
13
|
{
|
|
109
|
-
internalType: "address",
|
|
110
14
|
name: "adapter",
|
|
111
15
|
type: "address",
|
|
16
|
+
internalType: "address",
|
|
112
17
|
},
|
|
113
18
|
],
|
|
114
|
-
name: "adapterToContract",
|
|
115
19
|
outputs: [
|
|
116
20
|
{
|
|
117
|
-
internalType: "address",
|
|
118
21
|
name: "",
|
|
119
22
|
type: "address",
|
|
23
|
+
internalType: "address",
|
|
120
24
|
},
|
|
121
25
|
],
|
|
122
26
|
stateMutability: "view",
|
|
123
|
-
type: "function",
|
|
124
27
|
},
|
|
125
28
|
{
|
|
29
|
+
type: "function",
|
|
30
|
+
name: "addCollateral",
|
|
126
31
|
inputs: [
|
|
127
32
|
{
|
|
128
|
-
internalType: "address",
|
|
129
33
|
name: "payer",
|
|
130
34
|
type: "address",
|
|
35
|
+
internalType: "address",
|
|
131
36
|
},
|
|
132
37
|
{
|
|
133
|
-
internalType: "address",
|
|
134
38
|
name: "creditAccount",
|
|
135
39
|
type: "address",
|
|
40
|
+
internalType: "address",
|
|
136
41
|
},
|
|
137
42
|
{
|
|
138
|
-
internalType: "address",
|
|
139
43
|
name: "token",
|
|
140
44
|
type: "address",
|
|
45
|
+
internalType: "address",
|
|
141
46
|
},
|
|
142
47
|
{
|
|
143
|
-
internalType: "uint256",
|
|
144
48
|
name: "amount",
|
|
145
49
|
type: "uint256",
|
|
50
|
+
internalType: "uint256",
|
|
146
51
|
},
|
|
147
52
|
],
|
|
148
|
-
name: "addCollateral",
|
|
149
53
|
outputs: [],
|
|
150
54
|
stateMutability: "nonpayable",
|
|
151
|
-
type: "function",
|
|
152
55
|
},
|
|
153
56
|
{
|
|
57
|
+
type: "function",
|
|
58
|
+
name: "approveCreditAccount",
|
|
154
59
|
inputs: [
|
|
155
60
|
{
|
|
156
|
-
internalType: "address",
|
|
157
61
|
name: "borrower",
|
|
158
62
|
type: "address",
|
|
63
|
+
internalType: "address",
|
|
159
64
|
},
|
|
160
65
|
{
|
|
161
|
-
internalType: "address",
|
|
162
66
|
name: "targetContract",
|
|
163
67
|
type: "address",
|
|
68
|
+
internalType: "address",
|
|
164
69
|
},
|
|
165
70
|
{
|
|
166
|
-
internalType: "address",
|
|
167
71
|
name: "token",
|
|
168
72
|
type: "address",
|
|
73
|
+
internalType: "address",
|
|
169
74
|
},
|
|
170
75
|
{
|
|
171
|
-
internalType: "uint256",
|
|
172
76
|
name: "amount",
|
|
173
77
|
type: "uint256",
|
|
78
|
+
internalType: "uint256",
|
|
174
79
|
},
|
|
175
80
|
],
|
|
176
|
-
name: "approveCreditAccount",
|
|
177
81
|
outputs: [],
|
|
178
82
|
stateMutability: "nonpayable",
|
|
179
|
-
type: "function",
|
|
180
83
|
},
|
|
181
84
|
{
|
|
85
|
+
type: "function",
|
|
86
|
+
name: "calcClosePayments",
|
|
182
87
|
inputs: [
|
|
183
88
|
{
|
|
184
|
-
internalType: "uint256",
|
|
185
89
|
name: "totalValue",
|
|
186
90
|
type: "uint256",
|
|
91
|
+
internalType: "uint256",
|
|
187
92
|
},
|
|
188
93
|
{
|
|
189
|
-
internalType: "enum ClosureAction",
|
|
190
94
|
name: "closureActionType",
|
|
191
95
|
type: "uint8",
|
|
96
|
+
internalType: "enum ClosureAction",
|
|
192
97
|
},
|
|
193
98
|
{
|
|
194
|
-
internalType: "uint256",
|
|
195
99
|
name: "borrowedAmount",
|
|
196
100
|
type: "uint256",
|
|
101
|
+
internalType: "uint256",
|
|
197
102
|
},
|
|
198
103
|
{
|
|
199
|
-
internalType: "uint256",
|
|
200
104
|
name: "borrowedAmountWithInterest",
|
|
201
105
|
type: "uint256",
|
|
106
|
+
internalType: "uint256",
|
|
202
107
|
},
|
|
203
108
|
],
|
|
204
|
-
name: "calcClosePayments",
|
|
205
109
|
outputs: [
|
|
206
110
|
{
|
|
207
|
-
internalType: "uint256",
|
|
208
111
|
name: "amountToPool",
|
|
209
112
|
type: "uint256",
|
|
113
|
+
internalType: "uint256",
|
|
210
114
|
},
|
|
211
115
|
{
|
|
212
|
-
internalType: "uint256",
|
|
213
116
|
name: "remainingFunds",
|
|
214
117
|
type: "uint256",
|
|
118
|
+
internalType: "uint256",
|
|
215
119
|
},
|
|
216
120
|
{
|
|
217
|
-
internalType: "uint256",
|
|
218
121
|
name: "profit",
|
|
219
122
|
type: "uint256",
|
|
123
|
+
internalType: "uint256",
|
|
220
124
|
},
|
|
221
125
|
{
|
|
222
|
-
internalType: "uint256",
|
|
223
126
|
name: "loss",
|
|
224
127
|
type: "uint256",
|
|
128
|
+
internalType: "uint256",
|
|
225
129
|
},
|
|
226
130
|
],
|
|
227
131
|
stateMutability: "view",
|
|
228
|
-
type: "function",
|
|
229
132
|
},
|
|
230
133
|
{
|
|
134
|
+
type: "function",
|
|
135
|
+
name: "calcCreditAccountAccruedInterest",
|
|
231
136
|
inputs: [
|
|
232
137
|
{
|
|
233
|
-
internalType: "address",
|
|
234
138
|
name: "creditAccount",
|
|
235
139
|
type: "address",
|
|
140
|
+
internalType: "address",
|
|
236
141
|
},
|
|
237
142
|
],
|
|
238
|
-
name: "calcCreditAccountAccruedInterest",
|
|
239
143
|
outputs: [
|
|
240
144
|
{
|
|
241
|
-
internalType: "uint256",
|
|
242
145
|
name: "borrowedAmount",
|
|
243
146
|
type: "uint256",
|
|
147
|
+
internalType: "uint256",
|
|
244
148
|
},
|
|
245
149
|
{
|
|
246
|
-
internalType: "uint256",
|
|
247
150
|
name: "borrowedAmountWithInterest",
|
|
248
151
|
type: "uint256",
|
|
152
|
+
internalType: "uint256",
|
|
249
153
|
},
|
|
250
154
|
{
|
|
251
|
-
internalType: "uint256",
|
|
252
155
|
name: "borrowedAmountWithInterestAndFees",
|
|
253
156
|
type: "uint256",
|
|
157
|
+
internalType: "uint256",
|
|
254
158
|
},
|
|
255
159
|
],
|
|
256
160
|
stateMutability: "view",
|
|
257
|
-
type: "function",
|
|
258
161
|
},
|
|
259
162
|
{
|
|
163
|
+
type: "function",
|
|
164
|
+
name: "canLiquidateWhilePaused",
|
|
260
165
|
inputs: [
|
|
261
166
|
{
|
|
262
|
-
internalType: "address",
|
|
263
167
|
name: "",
|
|
264
168
|
type: "address",
|
|
169
|
+
internalType: "address",
|
|
265
170
|
},
|
|
266
171
|
],
|
|
267
|
-
name: "canLiquidateWhilePaused",
|
|
268
172
|
outputs: [
|
|
269
173
|
{
|
|
270
|
-
internalType: "bool",
|
|
271
174
|
name: "",
|
|
272
175
|
type: "bool",
|
|
176
|
+
internalType: "bool",
|
|
273
177
|
},
|
|
274
178
|
],
|
|
275
179
|
stateMutability: "view",
|
|
276
|
-
type: "function",
|
|
277
180
|
},
|
|
278
181
|
{
|
|
182
|
+
type: "function",
|
|
183
|
+
name: "checkAndEnableToken",
|
|
279
184
|
inputs: [
|
|
280
185
|
{
|
|
281
|
-
internalType: "address",
|
|
282
186
|
name: "creditAccount",
|
|
283
187
|
type: "address",
|
|
188
|
+
internalType: "address",
|
|
284
189
|
},
|
|
285
190
|
{
|
|
286
|
-
internalType: "address",
|
|
287
191
|
name: "token",
|
|
288
192
|
type: "address",
|
|
193
|
+
internalType: "address",
|
|
289
194
|
},
|
|
290
195
|
],
|
|
291
|
-
name: "checkAndEnableToken",
|
|
292
196
|
outputs: [],
|
|
293
197
|
stateMutability: "nonpayable",
|
|
294
|
-
type: "function",
|
|
295
198
|
},
|
|
296
199
|
{
|
|
200
|
+
type: "function",
|
|
201
|
+
name: "checkAndOptimizeEnabledTokens",
|
|
297
202
|
inputs: [
|
|
298
203
|
{
|
|
299
|
-
internalType: "address",
|
|
300
204
|
name: "creditAccount",
|
|
301
205
|
type: "address",
|
|
206
|
+
internalType: "address",
|
|
302
207
|
},
|
|
303
208
|
],
|
|
304
|
-
name: "checkAndOptimizeEnabledTokens",
|
|
305
209
|
outputs: [],
|
|
306
210
|
stateMutability: "nonpayable",
|
|
307
|
-
type: "function",
|
|
308
211
|
},
|
|
309
212
|
{
|
|
213
|
+
type: "function",
|
|
214
|
+
name: "checkEmergencyPausable",
|
|
310
215
|
inputs: [
|
|
311
216
|
{
|
|
312
|
-
internalType: "address",
|
|
313
217
|
name: "caller",
|
|
314
218
|
type: "address",
|
|
219
|
+
internalType: "address",
|
|
315
220
|
},
|
|
316
221
|
{
|
|
317
|
-
internalType: "bool",
|
|
318
222
|
name: "state",
|
|
319
223
|
type: "bool",
|
|
224
|
+
internalType: "bool",
|
|
320
225
|
},
|
|
321
226
|
],
|
|
322
|
-
name: "checkEmergencyPausable",
|
|
323
227
|
outputs: [
|
|
324
228
|
{
|
|
325
|
-
internalType: "bool",
|
|
326
229
|
name: "",
|
|
327
230
|
type: "bool",
|
|
231
|
+
internalType: "bool",
|
|
328
232
|
},
|
|
329
233
|
],
|
|
330
234
|
stateMutability: "nonpayable",
|
|
331
|
-
type: "function",
|
|
332
235
|
},
|
|
333
236
|
{
|
|
237
|
+
type: "function",
|
|
238
|
+
name: "closeCreditAccount",
|
|
334
239
|
inputs: [
|
|
335
240
|
{
|
|
336
|
-
internalType: "address",
|
|
337
241
|
name: "borrower",
|
|
338
242
|
type: "address",
|
|
243
|
+
internalType: "address",
|
|
339
244
|
},
|
|
340
245
|
{
|
|
341
|
-
internalType: "enum ClosureAction",
|
|
342
246
|
name: "closureActionType",
|
|
343
247
|
type: "uint8",
|
|
248
|
+
internalType: "enum ClosureAction",
|
|
344
249
|
},
|
|
345
250
|
{
|
|
346
|
-
internalType: "uint256",
|
|
347
251
|
name: "totalValue",
|
|
348
252
|
type: "uint256",
|
|
253
|
+
internalType: "uint256",
|
|
349
254
|
},
|
|
350
255
|
{
|
|
351
|
-
internalType: "address",
|
|
352
256
|
name: "payer",
|
|
353
257
|
type: "address",
|
|
258
|
+
internalType: "address",
|
|
354
259
|
},
|
|
355
260
|
{
|
|
356
|
-
internalType: "address",
|
|
357
261
|
name: "to",
|
|
358
262
|
type: "address",
|
|
263
|
+
internalType: "address",
|
|
359
264
|
},
|
|
360
265
|
{
|
|
361
|
-
internalType: "uint256",
|
|
362
266
|
name: "skipTokenMask",
|
|
363
267
|
type: "uint256",
|
|
268
|
+
internalType: "uint256",
|
|
364
269
|
},
|
|
365
270
|
{
|
|
366
|
-
internalType: "bool",
|
|
367
271
|
name: "convertWETH",
|
|
368
272
|
type: "bool",
|
|
273
|
+
internalType: "bool",
|
|
369
274
|
},
|
|
370
275
|
],
|
|
371
|
-
name: "closeCreditAccount",
|
|
372
276
|
outputs: [
|
|
373
277
|
{
|
|
374
|
-
internalType: "uint256",
|
|
375
278
|
name: "remainingFunds",
|
|
376
279
|
type: "uint256",
|
|
280
|
+
internalType: "uint256",
|
|
377
281
|
},
|
|
378
282
|
],
|
|
379
283
|
stateMutability: "nonpayable",
|
|
380
|
-
type: "function",
|
|
381
284
|
},
|
|
382
285
|
{
|
|
286
|
+
type: "function",
|
|
287
|
+
name: "collateralTokens",
|
|
383
288
|
inputs: [
|
|
384
289
|
{
|
|
385
|
-
internalType: "uint256",
|
|
386
290
|
name: "id",
|
|
387
291
|
type: "uint256",
|
|
292
|
+
internalType: "uint256",
|
|
388
293
|
},
|
|
389
294
|
],
|
|
390
|
-
name: "collateralTokens",
|
|
391
295
|
outputs: [
|
|
392
296
|
{
|
|
393
|
-
internalType: "address",
|
|
394
297
|
name: "token",
|
|
395
298
|
type: "address",
|
|
299
|
+
internalType: "address",
|
|
396
300
|
},
|
|
397
301
|
{
|
|
398
|
-
internalType: "uint16",
|
|
399
302
|
name: "liquidationThreshold",
|
|
400
303
|
type: "uint16",
|
|
304
|
+
internalType: "uint16",
|
|
401
305
|
},
|
|
402
306
|
],
|
|
403
307
|
stateMutability: "view",
|
|
404
|
-
type: "function",
|
|
405
308
|
},
|
|
406
309
|
{
|
|
310
|
+
type: "function",
|
|
311
|
+
name: "collateralTokensByMask",
|
|
407
312
|
inputs: [
|
|
408
313
|
{
|
|
409
|
-
internalType: "uint256",
|
|
410
314
|
name: "tokenMask",
|
|
411
315
|
type: "uint256",
|
|
316
|
+
internalType: "uint256",
|
|
412
317
|
},
|
|
413
318
|
],
|
|
414
|
-
name: "collateralTokensByMask",
|
|
415
319
|
outputs: [
|
|
416
320
|
{
|
|
417
|
-
internalType: "address",
|
|
418
321
|
name: "token",
|
|
419
322
|
type: "address",
|
|
323
|
+
internalType: "address",
|
|
420
324
|
},
|
|
421
325
|
{
|
|
422
|
-
internalType: "uint16",
|
|
423
326
|
name: "liquidationThreshold",
|
|
424
327
|
type: "uint16",
|
|
328
|
+
internalType: "uint16",
|
|
425
329
|
},
|
|
426
330
|
],
|
|
427
331
|
stateMutability: "view",
|
|
428
|
-
type: "function",
|
|
429
332
|
},
|
|
430
333
|
{
|
|
431
|
-
|
|
334
|
+
type: "function",
|
|
432
335
|
name: "collateralTokensCount",
|
|
336
|
+
inputs: [],
|
|
433
337
|
outputs: [
|
|
434
338
|
{
|
|
435
|
-
internalType: "uint256",
|
|
436
339
|
name: "",
|
|
437
340
|
type: "uint256",
|
|
341
|
+
internalType: "uint256",
|
|
438
342
|
},
|
|
439
343
|
],
|
|
440
344
|
stateMutability: "view",
|
|
441
|
-
type: "function",
|
|
442
345
|
},
|
|
443
346
|
{
|
|
347
|
+
type: "function",
|
|
348
|
+
name: "contractToAdapter",
|
|
444
349
|
inputs: [
|
|
445
350
|
{
|
|
446
|
-
internalType: "address",
|
|
447
351
|
name: "targetContract",
|
|
448
352
|
type: "address",
|
|
353
|
+
internalType: "address",
|
|
449
354
|
},
|
|
450
355
|
],
|
|
451
|
-
name: "contractToAdapter",
|
|
452
356
|
outputs: [
|
|
453
357
|
{
|
|
454
|
-
internalType: "address",
|
|
455
358
|
name: "",
|
|
456
359
|
type: "address",
|
|
360
|
+
internalType: "address",
|
|
457
361
|
},
|
|
458
362
|
],
|
|
459
363
|
stateMutability: "view",
|
|
460
|
-
type: "function",
|
|
461
364
|
},
|
|
462
365
|
{
|
|
366
|
+
type: "function",
|
|
367
|
+
name: "creditAccounts",
|
|
463
368
|
inputs: [
|
|
464
369
|
{
|
|
465
|
-
internalType: "address",
|
|
466
370
|
name: "borrower",
|
|
467
371
|
type: "address",
|
|
372
|
+
internalType: "address",
|
|
468
373
|
},
|
|
469
374
|
],
|
|
470
|
-
name: "creditAccounts",
|
|
471
375
|
outputs: [
|
|
472
376
|
{
|
|
473
|
-
internalType: "address",
|
|
474
377
|
name: "",
|
|
475
378
|
type: "address",
|
|
379
|
+
internalType: "address",
|
|
476
380
|
},
|
|
477
381
|
],
|
|
478
382
|
stateMutability: "view",
|
|
479
|
-
type: "function",
|
|
480
383
|
},
|
|
481
384
|
{
|
|
482
|
-
|
|
385
|
+
type: "function",
|
|
483
386
|
name: "creditConfigurator",
|
|
387
|
+
inputs: [],
|
|
484
388
|
outputs: [
|
|
485
389
|
{
|
|
486
|
-
internalType: "address",
|
|
487
390
|
name: "",
|
|
488
391
|
type: "address",
|
|
392
|
+
internalType: "address",
|
|
489
393
|
},
|
|
490
394
|
],
|
|
491
395
|
stateMutability: "view",
|
|
492
|
-
type: "function",
|
|
493
396
|
},
|
|
494
397
|
{
|
|
495
|
-
|
|
398
|
+
type: "function",
|
|
496
399
|
name: "creditFacade",
|
|
400
|
+
inputs: [],
|
|
497
401
|
outputs: [
|
|
498
402
|
{
|
|
499
|
-
internalType: "address",
|
|
500
403
|
name: "",
|
|
501
404
|
type: "address",
|
|
405
|
+
internalType: "address",
|
|
502
406
|
},
|
|
503
407
|
],
|
|
504
408
|
stateMutability: "view",
|
|
505
|
-
type: "function",
|
|
506
409
|
},
|
|
507
410
|
{
|
|
411
|
+
type: "function",
|
|
412
|
+
name: "cumulativeDropAtFastCheckRAY",
|
|
508
413
|
inputs: [
|
|
509
414
|
{
|
|
510
|
-
internalType: "address",
|
|
511
415
|
name: "creditAccount",
|
|
512
416
|
type: "address",
|
|
417
|
+
internalType: "address",
|
|
513
418
|
},
|
|
514
419
|
],
|
|
515
|
-
name: "cumulativeDropAtFastCheckRAY",
|
|
516
420
|
outputs: [
|
|
517
421
|
{
|
|
518
|
-
internalType: "uint256",
|
|
519
422
|
name: "",
|
|
520
423
|
type: "uint256",
|
|
424
|
+
internalType: "uint256",
|
|
521
425
|
},
|
|
522
426
|
],
|
|
523
427
|
stateMutability: "view",
|
|
524
|
-
type: "function",
|
|
525
428
|
},
|
|
526
429
|
{
|
|
430
|
+
type: "function",
|
|
431
|
+
name: "disableToken",
|
|
527
432
|
inputs: [
|
|
528
433
|
{
|
|
529
|
-
internalType: "address",
|
|
530
434
|
name: "creditAccount",
|
|
531
435
|
type: "address",
|
|
436
|
+
internalType: "address",
|
|
532
437
|
},
|
|
533
438
|
{
|
|
534
|
-
internalType: "address",
|
|
535
439
|
name: "token",
|
|
536
440
|
type: "address",
|
|
441
|
+
internalType: "address",
|
|
537
442
|
},
|
|
538
443
|
],
|
|
539
|
-
name: "disableToken",
|
|
540
444
|
outputs: [
|
|
541
445
|
{
|
|
542
|
-
internalType: "bool",
|
|
543
446
|
name: "",
|
|
544
447
|
type: "bool",
|
|
448
|
+
internalType: "bool",
|
|
545
449
|
},
|
|
546
450
|
],
|
|
547
451
|
stateMutability: "nonpayable",
|
|
548
|
-
type: "function",
|
|
549
452
|
},
|
|
550
453
|
{
|
|
454
|
+
type: "function",
|
|
455
|
+
name: "enabledTokensMap",
|
|
551
456
|
inputs: [
|
|
552
457
|
{
|
|
553
|
-
internalType: "address",
|
|
554
458
|
name: "creditAccount",
|
|
555
459
|
type: "address",
|
|
460
|
+
internalType: "address",
|
|
556
461
|
},
|
|
557
462
|
],
|
|
558
|
-
name: "enabledTokensMap",
|
|
559
463
|
outputs: [
|
|
560
464
|
{
|
|
561
|
-
internalType: "uint256",
|
|
562
465
|
name: "",
|
|
563
466
|
type: "uint256",
|
|
467
|
+
internalType: "uint256",
|
|
564
468
|
},
|
|
565
469
|
],
|
|
566
470
|
stateMutability: "view",
|
|
567
|
-
type: "function",
|
|
568
471
|
},
|
|
569
472
|
{
|
|
473
|
+
type: "function",
|
|
474
|
+
name: "executeOrder",
|
|
570
475
|
inputs: [
|
|
571
476
|
{
|
|
572
|
-
internalType: "address",
|
|
573
477
|
name: "borrower",
|
|
574
478
|
type: "address",
|
|
479
|
+
internalType: "address",
|
|
575
480
|
},
|
|
576
481
|
{
|
|
577
|
-
internalType: "address",
|
|
578
482
|
name: "targetContract",
|
|
579
483
|
type: "address",
|
|
484
|
+
internalType: "address",
|
|
580
485
|
},
|
|
581
486
|
{
|
|
582
|
-
internalType: "bytes",
|
|
583
487
|
name: "data",
|
|
584
488
|
type: "bytes",
|
|
489
|
+
internalType: "bytes",
|
|
585
490
|
},
|
|
586
491
|
],
|
|
587
|
-
name: "executeOrder",
|
|
588
492
|
outputs: [
|
|
589
493
|
{
|
|
590
|
-
internalType: "bytes",
|
|
591
494
|
name: "",
|
|
592
495
|
type: "bytes",
|
|
496
|
+
internalType: "bytes",
|
|
593
497
|
},
|
|
594
498
|
],
|
|
595
499
|
stateMutability: "nonpayable",
|
|
596
|
-
type: "function",
|
|
597
500
|
},
|
|
598
501
|
{
|
|
502
|
+
type: "function",
|
|
503
|
+
name: "fastCollateralCheck",
|
|
599
504
|
inputs: [
|
|
600
505
|
{
|
|
601
|
-
internalType: "address",
|
|
602
506
|
name: "creditAccount",
|
|
603
507
|
type: "address",
|
|
508
|
+
internalType: "address",
|
|
604
509
|
},
|
|
605
510
|
{
|
|
606
|
-
internalType: "address",
|
|
607
511
|
name: "tokenIn",
|
|
608
512
|
type: "address",
|
|
513
|
+
internalType: "address",
|
|
609
514
|
},
|
|
610
515
|
{
|
|
611
|
-
internalType: "address",
|
|
612
516
|
name: "tokenOut",
|
|
613
517
|
type: "address",
|
|
518
|
+
internalType: "address",
|
|
614
519
|
},
|
|
615
520
|
{
|
|
616
|
-
internalType: "uint256",
|
|
617
521
|
name: "balanceInBefore",
|
|
618
522
|
type: "uint256",
|
|
523
|
+
internalType: "uint256",
|
|
619
524
|
},
|
|
620
525
|
{
|
|
621
|
-
internalType: "uint256",
|
|
622
526
|
name: "balanceOutBefore",
|
|
623
527
|
type: "uint256",
|
|
528
|
+
internalType: "uint256",
|
|
624
529
|
},
|
|
625
530
|
],
|
|
626
|
-
name: "fastCollateralCheck",
|
|
627
531
|
outputs: [],
|
|
628
532
|
stateMutability: "nonpayable",
|
|
629
|
-
type: "function",
|
|
630
533
|
},
|
|
631
534
|
{
|
|
632
|
-
|
|
535
|
+
type: "function",
|
|
633
536
|
name: "fees",
|
|
537
|
+
inputs: [],
|
|
634
538
|
outputs: [
|
|
635
539
|
{
|
|
636
|
-
internalType: "uint16",
|
|
637
540
|
name: "feeInterest",
|
|
638
541
|
type: "uint16",
|
|
542
|
+
internalType: "uint16",
|
|
639
543
|
},
|
|
640
544
|
{
|
|
641
|
-
internalType: "uint16",
|
|
642
545
|
name: "feeLiquidation",
|
|
643
546
|
type: "uint16",
|
|
547
|
+
internalType: "uint16",
|
|
644
548
|
},
|
|
645
549
|
{
|
|
646
|
-
internalType: "uint16",
|
|
647
550
|
name: "liquidationDiscount",
|
|
648
551
|
type: "uint16",
|
|
552
|
+
internalType: "uint16",
|
|
649
553
|
},
|
|
650
554
|
{
|
|
651
|
-
internalType: "uint16",
|
|
652
555
|
name: "feeLiquidationExpired",
|
|
653
556
|
type: "uint16",
|
|
557
|
+
internalType: "uint16",
|
|
654
558
|
},
|
|
655
559
|
{
|
|
656
|
-
internalType: "uint16",
|
|
657
560
|
name: "liquidationDiscountExpired",
|
|
658
561
|
type: "uint16",
|
|
562
|
+
internalType: "uint16",
|
|
659
563
|
},
|
|
660
564
|
],
|
|
661
565
|
stateMutability: "view",
|
|
662
|
-
type: "function",
|
|
663
566
|
},
|
|
664
567
|
{
|
|
665
|
-
|
|
568
|
+
type: "function",
|
|
666
569
|
name: "forbiddenTokenMask",
|
|
570
|
+
inputs: [],
|
|
667
571
|
outputs: [
|
|
668
572
|
{
|
|
669
|
-
internalType: "uint256",
|
|
670
573
|
name: "",
|
|
671
574
|
type: "uint256",
|
|
575
|
+
internalType: "uint256",
|
|
672
576
|
},
|
|
673
577
|
],
|
|
674
578
|
stateMutability: "view",
|
|
675
|
-
type: "function",
|
|
676
579
|
},
|
|
677
580
|
{
|
|
581
|
+
type: "function",
|
|
582
|
+
name: "fullCollateralCheck",
|
|
678
583
|
inputs: [
|
|
679
584
|
{
|
|
680
|
-
internalType: "address",
|
|
681
585
|
name: "creditAccount",
|
|
682
586
|
type: "address",
|
|
587
|
+
internalType: "address",
|
|
683
588
|
},
|
|
684
589
|
],
|
|
685
|
-
name: "fullCollateralCheck",
|
|
686
590
|
outputs: [],
|
|
687
591
|
stateMutability: "nonpayable",
|
|
688
|
-
type: "function",
|
|
689
592
|
},
|
|
690
593
|
{
|
|
594
|
+
type: "function",
|
|
595
|
+
name: "getCreditAccountOrRevert",
|
|
691
596
|
inputs: [
|
|
692
597
|
{
|
|
693
|
-
internalType: "address",
|
|
694
598
|
name: "borrower",
|
|
695
599
|
type: "address",
|
|
600
|
+
internalType: "address",
|
|
696
601
|
},
|
|
697
602
|
],
|
|
698
|
-
name: "getCreditAccountOrRevert",
|
|
699
603
|
outputs: [
|
|
700
604
|
{
|
|
701
|
-
internalType: "address",
|
|
702
605
|
name: "",
|
|
703
606
|
type: "address",
|
|
607
|
+
internalType: "address",
|
|
704
608
|
},
|
|
705
609
|
],
|
|
706
610
|
stateMutability: "view",
|
|
707
|
-
type: "function",
|
|
708
611
|
},
|
|
709
612
|
{
|
|
613
|
+
type: "function",
|
|
614
|
+
name: "liquidationThresholds",
|
|
710
615
|
inputs: [
|
|
711
616
|
{
|
|
712
|
-
internalType: "address",
|
|
713
617
|
name: "token",
|
|
714
618
|
type: "address",
|
|
619
|
+
internalType: "address",
|
|
715
620
|
},
|
|
716
621
|
],
|
|
717
|
-
name: "liquidationThresholds",
|
|
718
622
|
outputs: [
|
|
719
623
|
{
|
|
720
|
-
internalType: "uint16",
|
|
721
624
|
name: "",
|
|
722
625
|
type: "uint16",
|
|
626
|
+
internalType: "uint16",
|
|
723
627
|
},
|
|
724
628
|
],
|
|
725
629
|
stateMutability: "view",
|
|
726
|
-
type: "function",
|
|
727
630
|
},
|
|
728
631
|
{
|
|
632
|
+
type: "function",
|
|
633
|
+
name: "manageDebt",
|
|
729
634
|
inputs: [
|
|
730
635
|
{
|
|
731
|
-
internalType: "address",
|
|
732
636
|
name: "creditAccount",
|
|
733
637
|
type: "address",
|
|
638
|
+
internalType: "address",
|
|
734
639
|
},
|
|
735
640
|
{
|
|
736
|
-
internalType: "uint256",
|
|
737
641
|
name: "amount",
|
|
738
642
|
type: "uint256",
|
|
643
|
+
internalType: "uint256",
|
|
739
644
|
},
|
|
740
645
|
{
|
|
741
|
-
internalType: "bool",
|
|
742
646
|
name: "increase",
|
|
743
647
|
type: "bool",
|
|
648
|
+
internalType: "bool",
|
|
744
649
|
},
|
|
745
650
|
],
|
|
746
|
-
name: "manageDebt",
|
|
747
651
|
outputs: [
|
|
748
652
|
{
|
|
749
|
-
internalType: "uint256",
|
|
750
653
|
name: "newBorrowedAmount",
|
|
751
654
|
type: "uint256",
|
|
655
|
+
internalType: "uint256",
|
|
752
656
|
},
|
|
753
657
|
],
|
|
754
658
|
stateMutability: "nonpayable",
|
|
755
|
-
type: "function",
|
|
756
659
|
},
|
|
757
660
|
{
|
|
758
|
-
|
|
661
|
+
type: "function",
|
|
759
662
|
name: "maxAllowedEnabledTokenLength",
|
|
663
|
+
inputs: [],
|
|
760
664
|
outputs: [
|
|
761
665
|
{
|
|
762
|
-
internalType: "uint8",
|
|
763
666
|
name: "",
|
|
764
667
|
type: "uint8",
|
|
668
|
+
internalType: "uint8",
|
|
765
669
|
},
|
|
766
670
|
],
|
|
767
671
|
stateMutability: "view",
|
|
768
|
-
type: "function",
|
|
769
672
|
},
|
|
770
673
|
{
|
|
674
|
+
type: "function",
|
|
675
|
+
name: "openCreditAccount",
|
|
771
676
|
inputs: [
|
|
772
677
|
{
|
|
773
|
-
internalType: "uint256",
|
|
774
678
|
name: "borrowedAmount",
|
|
775
679
|
type: "uint256",
|
|
680
|
+
internalType: "uint256",
|
|
776
681
|
},
|
|
777
682
|
{
|
|
778
|
-
internalType: "address",
|
|
779
683
|
name: "onBehalfOf",
|
|
780
684
|
type: "address",
|
|
685
|
+
internalType: "address",
|
|
781
686
|
},
|
|
782
687
|
],
|
|
783
|
-
name: "openCreditAccount",
|
|
784
688
|
outputs: [
|
|
785
689
|
{
|
|
786
|
-
internalType: "address",
|
|
787
690
|
name: "",
|
|
788
691
|
type: "address",
|
|
692
|
+
internalType: "address",
|
|
789
693
|
},
|
|
790
694
|
],
|
|
791
695
|
stateMutability: "nonpayable",
|
|
792
|
-
type: "function",
|
|
793
696
|
},
|
|
794
697
|
{
|
|
795
|
-
|
|
698
|
+
type: "function",
|
|
796
699
|
name: "pool",
|
|
700
|
+
inputs: [],
|
|
797
701
|
outputs: [
|
|
798
702
|
{
|
|
799
|
-
internalType: "address",
|
|
800
703
|
name: "",
|
|
801
704
|
type: "address",
|
|
705
|
+
internalType: "address",
|
|
802
706
|
},
|
|
803
707
|
],
|
|
804
708
|
stateMutability: "view",
|
|
805
|
-
type: "function",
|
|
806
709
|
},
|
|
807
710
|
{
|
|
808
|
-
|
|
711
|
+
type: "function",
|
|
809
712
|
name: "poolService",
|
|
713
|
+
inputs: [],
|
|
810
714
|
outputs: [
|
|
811
715
|
{
|
|
812
|
-
internalType: "address",
|
|
813
716
|
name: "",
|
|
814
717
|
type: "address",
|
|
718
|
+
internalType: "address",
|
|
815
719
|
},
|
|
816
720
|
],
|
|
817
721
|
stateMutability: "view",
|
|
818
|
-
type: "function",
|
|
819
722
|
},
|
|
820
723
|
{
|
|
821
|
-
|
|
724
|
+
type: "function",
|
|
822
725
|
name: "priceOracle",
|
|
726
|
+
inputs: [],
|
|
823
727
|
outputs: [
|
|
824
728
|
{
|
|
825
|
-
internalType: "address",
|
|
826
729
|
name: "",
|
|
827
730
|
type: "address",
|
|
731
|
+
internalType: "address",
|
|
828
732
|
},
|
|
829
733
|
],
|
|
830
734
|
stateMutability: "view",
|
|
831
|
-
type: "function",
|
|
832
735
|
},
|
|
833
736
|
{
|
|
737
|
+
type: "function",
|
|
738
|
+
name: "tokenMasksMap",
|
|
834
739
|
inputs: [
|
|
835
740
|
{
|
|
836
|
-
internalType: "address",
|
|
837
741
|
name: "token",
|
|
838
742
|
type: "address",
|
|
743
|
+
internalType: "address",
|
|
839
744
|
},
|
|
840
745
|
],
|
|
841
|
-
name: "tokenMasksMap",
|
|
842
746
|
outputs: [
|
|
843
747
|
{
|
|
844
|
-
internalType: "uint256",
|
|
845
748
|
name: "",
|
|
846
749
|
type: "uint256",
|
|
750
|
+
internalType: "uint256",
|
|
847
751
|
},
|
|
848
752
|
],
|
|
849
753
|
stateMutability: "view",
|
|
850
|
-
type: "function",
|
|
851
754
|
},
|
|
852
755
|
{
|
|
756
|
+
type: "function",
|
|
757
|
+
name: "transferAccountOwnership",
|
|
853
758
|
inputs: [
|
|
854
759
|
{
|
|
855
|
-
internalType: "address",
|
|
856
760
|
name: "from",
|
|
857
761
|
type: "address",
|
|
762
|
+
internalType: "address",
|
|
858
763
|
},
|
|
859
764
|
{
|
|
860
|
-
internalType: "address",
|
|
861
765
|
name: "to",
|
|
862
766
|
type: "address",
|
|
767
|
+
internalType: "address",
|
|
863
768
|
},
|
|
864
769
|
],
|
|
865
|
-
name: "transferAccountOwnership",
|
|
866
770
|
outputs: [],
|
|
867
771
|
stateMutability: "nonpayable",
|
|
868
|
-
type: "function",
|
|
869
772
|
},
|
|
870
773
|
{
|
|
871
|
-
|
|
774
|
+
type: "function",
|
|
872
775
|
name: "underlying",
|
|
776
|
+
inputs: [],
|
|
873
777
|
outputs: [
|
|
874
778
|
{
|
|
875
|
-
internalType: "address",
|
|
876
779
|
name: "",
|
|
877
780
|
type: "address",
|
|
781
|
+
internalType: "address",
|
|
878
782
|
},
|
|
879
783
|
],
|
|
880
784
|
stateMutability: "view",
|
|
881
|
-
type: "function",
|
|
882
785
|
},
|
|
883
786
|
{
|
|
884
|
-
|
|
787
|
+
type: "function",
|
|
885
788
|
name: "universalAdapter",
|
|
789
|
+
inputs: [],
|
|
886
790
|
outputs: [
|
|
887
791
|
{
|
|
888
|
-
internalType: "address",
|
|
889
792
|
name: "",
|
|
890
793
|
type: "address",
|
|
794
|
+
internalType: "address",
|
|
891
795
|
},
|
|
892
796
|
],
|
|
893
797
|
stateMutability: "view",
|
|
894
|
-
type: "function",
|
|
895
798
|
},
|
|
896
799
|
{
|
|
897
|
-
|
|
800
|
+
type: "function",
|
|
898
801
|
name: "version",
|
|
802
|
+
inputs: [],
|
|
899
803
|
outputs: [
|
|
900
804
|
{
|
|
901
|
-
internalType: "uint256",
|
|
902
805
|
name: "",
|
|
903
806
|
type: "uint256",
|
|
807
|
+
internalType: "uint256",
|
|
904
808
|
},
|
|
905
809
|
],
|
|
906
810
|
stateMutability: "view",
|
|
907
|
-
type: "function",
|
|
908
811
|
},
|
|
909
812
|
{
|
|
910
|
-
|
|
813
|
+
type: "function",
|
|
911
814
|
name: "wethAddress",
|
|
815
|
+
inputs: [],
|
|
912
816
|
outputs: [
|
|
913
817
|
{
|
|
914
|
-
internalType: "address",
|
|
915
818
|
name: "",
|
|
916
819
|
type: "address",
|
|
820
|
+
internalType: "address",
|
|
917
821
|
},
|
|
918
822
|
],
|
|
919
823
|
stateMutability: "view",
|
|
920
|
-
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
type: "event",
|
|
827
|
+
name: "ExecuteOrder",
|
|
828
|
+
inputs: [
|
|
829
|
+
{
|
|
830
|
+
name: "borrower",
|
|
831
|
+
type: "address",
|
|
832
|
+
indexed: true,
|
|
833
|
+
internalType: "address",
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
name: "target",
|
|
837
|
+
type: "address",
|
|
838
|
+
indexed: true,
|
|
839
|
+
internalType: "address",
|
|
840
|
+
},
|
|
841
|
+
],
|
|
842
|
+
anonymous: false,
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
type: "event",
|
|
846
|
+
name: "NewConfigurator",
|
|
847
|
+
inputs: [
|
|
848
|
+
{
|
|
849
|
+
name: "newConfigurator",
|
|
850
|
+
type: "address",
|
|
851
|
+
indexed: true,
|
|
852
|
+
internalType: "address",
|
|
853
|
+
},
|
|
854
|
+
],
|
|
855
|
+
anonymous: false,
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
type: "error",
|
|
859
|
+
name: "AdaptersOrCreditFacadeOnlyException",
|
|
860
|
+
inputs: [],
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
type: "error",
|
|
864
|
+
name: "AllowanceFailedException",
|
|
865
|
+
inputs: [],
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
type: "error",
|
|
869
|
+
name: "CreditConfiguratorOnlyException",
|
|
870
|
+
inputs: [],
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
type: "error",
|
|
874
|
+
name: "CreditFacadeOnlyException",
|
|
875
|
+
inputs: [],
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
type: "error",
|
|
879
|
+
name: "HasNoOpenedAccountException",
|
|
880
|
+
inputs: [],
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
type: "error",
|
|
884
|
+
name: "NotEnoughCollateralException",
|
|
885
|
+
inputs: [],
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
type: "error",
|
|
889
|
+
name: "ReentrancyLockException",
|
|
890
|
+
inputs: [],
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
type: "error",
|
|
894
|
+
name: "TargetContractNotAllowedException",
|
|
895
|
+
inputs: [],
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
type: "error",
|
|
899
|
+
name: "TokenAlreadyAddedException",
|
|
900
|
+
inputs: [],
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
type: "error",
|
|
904
|
+
name: "TokenNotAllowedException",
|
|
905
|
+
inputs: [],
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
type: "error",
|
|
909
|
+
name: "TooManyEnabledTokensException",
|
|
910
|
+
inputs: [],
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
type: "error",
|
|
914
|
+
name: "TooManyTokensException",
|
|
915
|
+
inputs: [],
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
type: "error",
|
|
919
|
+
name: "ZeroAddressOrUserAlreadyHasAccountException",
|
|
920
|
+
inputs: [],
|
|
921
921
|
},
|
|
922
922
|
];
|
|
923
923
|
class ICreditManagerV2__factory {
|