@gearbox-protocol/sdk 3.0.0-next.12 → 3.0.0-next.120
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 +32 -3
- package/lib/apy/convexAPY.d.ts +8 -7
- package/lib/apy/convexAPY.js +19 -8
- package/lib/apy/curveAPY.d.ts +49 -4
- package/lib/apy/curveAPY.js +20 -10
- package/lib/apy/defiLamaAPY.d.ts +3 -0
- package/lib/apy/defiLamaAPY.js +64 -0
- package/lib/apy/index.d.ts +5 -4
- package/lib/apy/index.js +5 -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 +14 -12
- package/lib/contracts/contractsRegister.d.ts +9 -4
- package/lib/contracts/contractsRegister.js +15 -0
- package/lib/core/assets.d.ts +2 -2
- package/lib/core/assets.js +4 -4
- package/lib/core/creditAccount.d.ts +74 -16
- package/lib/core/creditAccount.js +176 -64
- package/lib/core/creditAccount.spec.js +908 -17
- package/lib/core/creditManager.d.ts +18 -7
- package/lib/core/creditManager.js +61 -15
- package/lib/core/creditSession.d.ts +11 -1
- package/lib/core/creditSession.js +20 -2
- package/lib/core/endpoint.d.ts +13 -0
- package/lib/core/endpoint.js +31 -0
- 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} +39 -20
- package/lib/core/rewardConvex.js +2 -0
- 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 +110 -14
- package/lib/core/transactions.js +191 -108
- package/lib/index.d.ts +5 -2
- package/lib/index.js +5 -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 +11 -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 +33 -6
- 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/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 +28 -1
- package/lib/pathfinder/pathOptions.spec.js +2 -2
- package/lib/pathfinder/pathfinder.d.ts +46 -19
- package/lib/pathfinder/pathfinder.js +59 -48
- package/lib/pathfinder/pathfinder.spec.js +21 -4
- package/lib/pathfinder/utils.d.ts +35 -0
- package/lib/pathfinder/utils.js +182 -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 +3 -0
- package/lib/payload/creditSession.d.ts +11 -0
- package/lib/payload/gauge.d.ts +12 -0
- package/lib/payload/pool.d.ts +4 -0
- 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/IBalancerV2VaultAdapter.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js +2 -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 +18 -45
- package/lib/types/IDataCompressorV3_00.d.ts +115 -46
- 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 +281 -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 +354 -396
- package/lib/types/factories/IDataCompressorV2_10__factory.js +358 -412
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +659 -469
- package/lib/types/factories/IDataCompressorV3_00__factory.js +734 -492
- 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 +451 -0
- package/lib/types/factories/IRouterV3__factory.js +597 -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 +44 -5
- package/lib/types/factories/index.js +72 -10
- package/lib/types/factories/interfaces/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
- package/lib/types/factories/interfaces/index.d.ts +1 -0
- package/lib/types/factories/interfaces/index.js +8 -0
- package/lib/types/index.d.ts +166 -20
- package/lib/types/index.js +131 -16
- package/lib/types/interfaces/IGasPricer.d.ts +44 -0
- package/lib/types/interfaces/IGasPricer.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/lib/utils/formatter.d.ts +1 -4
- package/lib/utils/formatter.js +3 -69
- package/lib/utils/math.d.ts +2 -0
- package/lib/utils/math.js +2 -0
- package/lib/utils/types.d.ts +1 -0
- package/lib/watchers/creditAccountWatcher.d.ts +3 -2
- package/lib/watchers/creditAccountWatcher.js +19 -13
- package/lib/watchers/creditAccountWatcher.spec.js +18 -18
- package/lib/watchers/creditManagerWatcher.d.ts +5 -3
- package/lib/watchers/creditManagerWatcher.js +32 -10
- package/lib/watchers/creditManagerWatcher.spec.js +12 -4
- package/package.json +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/ILidoV1Adapter.sol/ILidoV1Adapter.js → payload/gauge.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → CalldataExtractor.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → ERC20.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/index.js → FarmAccounting.js} +0 -0
- /package/lib/types/{IWERC20Zapper.js → IAaveV2_LendingPoolAdapter.js} +0 -0
- /package/lib/types/{IWETHZapper.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol → IBalancerV2Vault.sol}/index.js +0 -0
|
@@ -7,1540 +7,1486 @@ exports.IDataCompressorV2_10__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
+
type: "function",
|
|
11
|
+
name: "getAdapter",
|
|
10
12
|
inputs: [
|
|
11
13
|
{
|
|
12
|
-
internalType: "address",
|
|
13
14
|
name: "_creditManager",
|
|
14
15
|
type: "address",
|
|
16
|
+
internalType: "address",
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
|
-
internalType: "address",
|
|
18
19
|
name: "_allowedContract",
|
|
19
20
|
type: "address",
|
|
21
|
+
internalType: "address",
|
|
20
22
|
},
|
|
21
23
|
],
|
|
22
|
-
name: "getAdapter",
|
|
23
24
|
outputs: [
|
|
24
25
|
{
|
|
25
|
-
internalType: "address",
|
|
26
26
|
name: "adapter",
|
|
27
27
|
type: "address",
|
|
28
|
+
internalType: "address",
|
|
28
29
|
},
|
|
29
30
|
],
|
|
30
31
|
stateMutability: "view",
|
|
31
|
-
type: "function",
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
+
type: "function",
|
|
35
|
+
name: "getCreditAccountData",
|
|
34
36
|
inputs: [
|
|
35
37
|
{
|
|
36
|
-
internalType: "address",
|
|
37
38
|
name: "_creditManager",
|
|
38
39
|
type: "address",
|
|
40
|
+
internalType: "address",
|
|
39
41
|
},
|
|
40
42
|
{
|
|
41
|
-
internalType: "address",
|
|
42
43
|
name: "borrower",
|
|
43
44
|
type: "address",
|
|
45
|
+
internalType: "address",
|
|
44
46
|
},
|
|
45
47
|
],
|
|
46
|
-
name: "getCreditAccountData",
|
|
47
48
|
outputs: [
|
|
48
49
|
{
|
|
50
|
+
name: "",
|
|
51
|
+
type: "tuple",
|
|
52
|
+
internalType: "struct CreditAccountData",
|
|
49
53
|
components: [
|
|
50
54
|
{
|
|
51
|
-
internalType: "bool",
|
|
52
55
|
name: "isSuccessful",
|
|
53
56
|
type: "bool",
|
|
57
|
+
internalType: "bool",
|
|
54
58
|
},
|
|
55
59
|
{
|
|
56
|
-
internalType: "address[]",
|
|
57
60
|
name: "priceFeedsNeeded",
|
|
58
61
|
type: "address[]",
|
|
62
|
+
internalType: "address[]",
|
|
59
63
|
},
|
|
60
64
|
{
|
|
61
|
-
internalType: "address",
|
|
62
65
|
name: "addr",
|
|
63
66
|
type: "address",
|
|
67
|
+
internalType: "address",
|
|
64
68
|
},
|
|
65
69
|
{
|
|
66
|
-
internalType: "address",
|
|
67
70
|
name: "borrower",
|
|
68
71
|
type: "address",
|
|
72
|
+
internalType: "address",
|
|
69
73
|
},
|
|
70
74
|
{
|
|
71
|
-
internalType: "address",
|
|
72
75
|
name: "creditManager",
|
|
73
76
|
type: "address",
|
|
77
|
+
internalType: "address",
|
|
74
78
|
},
|
|
75
79
|
{
|
|
76
|
-
|
|
77
|
-
name: "cmDescription",
|
|
80
|
+
name: "cmName",
|
|
78
81
|
type: "string",
|
|
82
|
+
internalType: "string",
|
|
79
83
|
},
|
|
80
84
|
{
|
|
81
|
-
internalType: "address",
|
|
82
85
|
name: "creditFacade",
|
|
83
86
|
type: "address",
|
|
87
|
+
internalType: "address",
|
|
84
88
|
},
|
|
85
89
|
{
|
|
86
|
-
internalType: "address",
|
|
87
90
|
name: "underlying",
|
|
88
91
|
type: "address",
|
|
92
|
+
internalType: "address",
|
|
89
93
|
},
|
|
90
94
|
{
|
|
91
|
-
internalType: "uint256",
|
|
92
95
|
name: "debt",
|
|
93
96
|
type: "uint256",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
97
|
internalType: "uint256",
|
|
97
|
-
name: "cumulativeIndexNow",
|
|
98
|
-
type: "uint256",
|
|
99
98
|
},
|
|
100
99
|
{
|
|
101
|
-
internalType: "uint256",
|
|
102
100
|
name: "cumulativeIndexLastUpdate",
|
|
103
101
|
type: "uint256",
|
|
102
|
+
internalType: "uint256",
|
|
104
103
|
},
|
|
105
104
|
{
|
|
106
|
-
internalType: "uint128",
|
|
107
105
|
name: "cumulativeQuotaInterest",
|
|
108
106
|
type: "uint128",
|
|
107
|
+
internalType: "uint128",
|
|
109
108
|
},
|
|
110
109
|
{
|
|
111
|
-
internalType: "uint256",
|
|
112
110
|
name: "accruedInterest",
|
|
113
111
|
type: "uint256",
|
|
112
|
+
internalType: "uint256",
|
|
114
113
|
},
|
|
115
114
|
{
|
|
116
|
-
internalType: "uint256",
|
|
117
115
|
name: "accruedFees",
|
|
118
116
|
type: "uint256",
|
|
117
|
+
internalType: "uint256",
|
|
119
118
|
},
|
|
120
119
|
{
|
|
121
|
-
internalType: "uint256",
|
|
122
120
|
name: "totalDebtUSD",
|
|
123
121
|
type: "uint256",
|
|
122
|
+
internalType: "uint256",
|
|
124
123
|
},
|
|
125
124
|
{
|
|
126
|
-
internalType: "uint256",
|
|
127
125
|
name: "totalValue",
|
|
128
126
|
type: "uint256",
|
|
127
|
+
internalType: "uint256",
|
|
129
128
|
},
|
|
130
129
|
{
|
|
131
|
-
internalType: "uint256",
|
|
132
130
|
name: "totalValueUSD",
|
|
133
131
|
type: "uint256",
|
|
132
|
+
internalType: "uint256",
|
|
134
133
|
},
|
|
135
134
|
{
|
|
136
|
-
internalType: "uint256",
|
|
137
135
|
name: "twvUSD",
|
|
138
136
|
type: "uint256",
|
|
137
|
+
internalType: "uint256",
|
|
139
138
|
},
|
|
140
139
|
{
|
|
141
|
-
internalType: "uint256",
|
|
142
140
|
name: "enabledTokensMask",
|
|
143
141
|
type: "uint256",
|
|
142
|
+
internalType: "uint256",
|
|
144
143
|
},
|
|
145
144
|
{
|
|
146
|
-
internalType: "uint256",
|
|
147
145
|
name: "healthFactor",
|
|
148
146
|
type: "uint256",
|
|
147
|
+
internalType: "uint256",
|
|
149
148
|
},
|
|
150
149
|
{
|
|
151
|
-
internalType: "uint256",
|
|
152
150
|
name: "baseBorrowRate",
|
|
153
151
|
type: "uint256",
|
|
152
|
+
internalType: "uint256",
|
|
154
153
|
},
|
|
155
154
|
{
|
|
156
|
-
internalType: "uint256",
|
|
157
155
|
name: "aggregatedBorrowRate",
|
|
158
156
|
type: "uint256",
|
|
157
|
+
internalType: "uint256",
|
|
159
158
|
},
|
|
160
159
|
{
|
|
160
|
+
name: "balances",
|
|
161
|
+
type: "tuple[]",
|
|
162
|
+
internalType: "struct TokenBalance[]",
|
|
161
163
|
components: [
|
|
162
164
|
{
|
|
163
|
-
internalType: "address",
|
|
164
165
|
name: "token",
|
|
165
166
|
type: "address",
|
|
167
|
+
internalType: "address",
|
|
166
168
|
},
|
|
167
169
|
{
|
|
168
|
-
internalType: "uint256",
|
|
169
170
|
name: "balance",
|
|
170
171
|
type: "uint256",
|
|
172
|
+
internalType: "uint256",
|
|
171
173
|
},
|
|
172
174
|
{
|
|
173
|
-
internalType: "bool",
|
|
174
175
|
name: "isForbidden",
|
|
175
176
|
type: "bool",
|
|
177
|
+
internalType: "bool",
|
|
176
178
|
},
|
|
177
179
|
{
|
|
178
|
-
internalType: "bool",
|
|
179
180
|
name: "isEnabled",
|
|
180
181
|
type: "bool",
|
|
182
|
+
internalType: "bool",
|
|
181
183
|
},
|
|
182
184
|
{
|
|
183
|
-
internalType: "bool",
|
|
184
185
|
name: "isQuoted",
|
|
185
186
|
type: "bool",
|
|
187
|
+
internalType: "bool",
|
|
186
188
|
},
|
|
187
189
|
{
|
|
188
|
-
internalType: "uint256",
|
|
189
190
|
name: "quota",
|
|
190
191
|
type: "uint256",
|
|
192
|
+
internalType: "uint256",
|
|
191
193
|
},
|
|
192
194
|
{
|
|
193
|
-
internalType: "uint16",
|
|
194
195
|
name: "quotaRate",
|
|
195
196
|
type: "uint16",
|
|
197
|
+
internalType: "uint16",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: "quotaCumulativeIndexLU",
|
|
201
|
+
type: "uint256",
|
|
202
|
+
internalType: "uint256",
|
|
196
203
|
},
|
|
197
204
|
],
|
|
198
|
-
internalType: "struct TokenBalance[]",
|
|
199
|
-
name: "balances",
|
|
200
|
-
type: "tuple[]",
|
|
201
205
|
},
|
|
202
206
|
{
|
|
203
|
-
internalType: "uint64",
|
|
204
207
|
name: "since",
|
|
205
208
|
type: "uint64",
|
|
209
|
+
internalType: "uint64",
|
|
206
210
|
},
|
|
207
211
|
{
|
|
208
|
-
internalType: "uint256",
|
|
209
212
|
name: "cfVersion",
|
|
210
213
|
type: "uint256",
|
|
214
|
+
internalType: "uint256",
|
|
211
215
|
},
|
|
212
216
|
{
|
|
213
|
-
internalType: "uint40",
|
|
214
217
|
name: "expirationDate",
|
|
215
218
|
type: "uint40",
|
|
219
|
+
internalType: "uint40",
|
|
216
220
|
},
|
|
217
221
|
{
|
|
218
|
-
internalType: "address[]",
|
|
219
222
|
name: "activeBots",
|
|
220
223
|
type: "address[]",
|
|
221
|
-
|
|
222
|
-
{
|
|
223
|
-
internalType: "uint256",
|
|
224
|
-
name: "maxApprovedBots",
|
|
225
|
-
type: "uint256",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
components: [
|
|
229
|
-
{
|
|
230
|
-
internalType: "uint8",
|
|
231
|
-
name: "tokenIndex",
|
|
232
|
-
type: "uint8",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
internalType: "uint40",
|
|
236
|
-
name: "maturity",
|
|
237
|
-
type: "uint40",
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
internalType: "address",
|
|
241
|
-
name: "token",
|
|
242
|
-
type: "address",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
internalType: "uint256",
|
|
246
|
-
name: "amount",
|
|
247
|
-
type: "uint256",
|
|
248
|
-
},
|
|
249
|
-
],
|
|
250
|
-
internalType: "struct ScheduledWithdrawal[2]",
|
|
251
|
-
name: "schedultedWithdrawals",
|
|
252
|
-
type: "tuple[2]",
|
|
224
|
+
internalType: "address[]",
|
|
253
225
|
},
|
|
254
226
|
],
|
|
255
|
-
internalType: "struct CreditAccountData",
|
|
256
|
-
name: "",
|
|
257
|
-
type: "tuple",
|
|
258
227
|
},
|
|
259
228
|
],
|
|
260
229
|
stateMutability: "view",
|
|
261
|
-
type: "function",
|
|
262
230
|
},
|
|
263
231
|
{
|
|
232
|
+
type: "function",
|
|
233
|
+
name: "getCreditAccountsByBorrower",
|
|
264
234
|
inputs: [
|
|
265
235
|
{
|
|
266
|
-
internalType: "address",
|
|
267
236
|
name: "borrower",
|
|
268
237
|
type: "address",
|
|
238
|
+
internalType: "address",
|
|
269
239
|
},
|
|
270
240
|
],
|
|
271
|
-
name: "getCreditAccountsByBorrower",
|
|
272
241
|
outputs: [
|
|
273
242
|
{
|
|
243
|
+
name: "",
|
|
244
|
+
type: "tuple[]",
|
|
245
|
+
internalType: "struct CreditAccountData[]",
|
|
274
246
|
components: [
|
|
275
247
|
{
|
|
276
|
-
internalType: "bool",
|
|
277
248
|
name: "isSuccessful",
|
|
278
249
|
type: "bool",
|
|
250
|
+
internalType: "bool",
|
|
279
251
|
},
|
|
280
252
|
{
|
|
281
|
-
internalType: "address[]",
|
|
282
253
|
name: "priceFeedsNeeded",
|
|
283
254
|
type: "address[]",
|
|
255
|
+
internalType: "address[]",
|
|
284
256
|
},
|
|
285
257
|
{
|
|
286
|
-
internalType: "address",
|
|
287
258
|
name: "addr",
|
|
288
259
|
type: "address",
|
|
260
|
+
internalType: "address",
|
|
289
261
|
},
|
|
290
262
|
{
|
|
291
|
-
internalType: "address",
|
|
292
263
|
name: "borrower",
|
|
293
264
|
type: "address",
|
|
265
|
+
internalType: "address",
|
|
294
266
|
},
|
|
295
267
|
{
|
|
296
|
-
internalType: "address",
|
|
297
268
|
name: "creditManager",
|
|
298
269
|
type: "address",
|
|
270
|
+
internalType: "address",
|
|
299
271
|
},
|
|
300
272
|
{
|
|
301
|
-
|
|
302
|
-
name: "cmDescription",
|
|
273
|
+
name: "cmName",
|
|
303
274
|
type: "string",
|
|
275
|
+
internalType: "string",
|
|
304
276
|
},
|
|
305
277
|
{
|
|
306
|
-
internalType: "address",
|
|
307
278
|
name: "creditFacade",
|
|
308
279
|
type: "address",
|
|
280
|
+
internalType: "address",
|
|
309
281
|
},
|
|
310
282
|
{
|
|
311
|
-
internalType: "address",
|
|
312
283
|
name: "underlying",
|
|
313
284
|
type: "address",
|
|
285
|
+
internalType: "address",
|
|
314
286
|
},
|
|
315
287
|
{
|
|
316
|
-
internalType: "uint256",
|
|
317
288
|
name: "debt",
|
|
318
289
|
type: "uint256",
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
290
|
internalType: "uint256",
|
|
322
|
-
name: "cumulativeIndexNow",
|
|
323
|
-
type: "uint256",
|
|
324
291
|
},
|
|
325
292
|
{
|
|
326
|
-
internalType: "uint256",
|
|
327
293
|
name: "cumulativeIndexLastUpdate",
|
|
328
294
|
type: "uint256",
|
|
295
|
+
internalType: "uint256",
|
|
329
296
|
},
|
|
330
297
|
{
|
|
331
|
-
internalType: "uint128",
|
|
332
298
|
name: "cumulativeQuotaInterest",
|
|
333
299
|
type: "uint128",
|
|
300
|
+
internalType: "uint128",
|
|
334
301
|
},
|
|
335
302
|
{
|
|
336
|
-
internalType: "uint256",
|
|
337
303
|
name: "accruedInterest",
|
|
338
304
|
type: "uint256",
|
|
305
|
+
internalType: "uint256",
|
|
339
306
|
},
|
|
340
307
|
{
|
|
341
|
-
internalType: "uint256",
|
|
342
308
|
name: "accruedFees",
|
|
343
309
|
type: "uint256",
|
|
310
|
+
internalType: "uint256",
|
|
344
311
|
},
|
|
345
312
|
{
|
|
346
|
-
internalType: "uint256",
|
|
347
313
|
name: "totalDebtUSD",
|
|
348
314
|
type: "uint256",
|
|
315
|
+
internalType: "uint256",
|
|
349
316
|
},
|
|
350
317
|
{
|
|
351
|
-
internalType: "uint256",
|
|
352
318
|
name: "totalValue",
|
|
353
319
|
type: "uint256",
|
|
320
|
+
internalType: "uint256",
|
|
354
321
|
},
|
|
355
322
|
{
|
|
356
|
-
internalType: "uint256",
|
|
357
323
|
name: "totalValueUSD",
|
|
358
324
|
type: "uint256",
|
|
325
|
+
internalType: "uint256",
|
|
359
326
|
},
|
|
360
327
|
{
|
|
361
|
-
internalType: "uint256",
|
|
362
328
|
name: "twvUSD",
|
|
363
329
|
type: "uint256",
|
|
330
|
+
internalType: "uint256",
|
|
364
331
|
},
|
|
365
332
|
{
|
|
366
|
-
internalType: "uint256",
|
|
367
333
|
name: "enabledTokensMask",
|
|
368
334
|
type: "uint256",
|
|
335
|
+
internalType: "uint256",
|
|
369
336
|
},
|
|
370
337
|
{
|
|
371
|
-
internalType: "uint256",
|
|
372
338
|
name: "healthFactor",
|
|
373
339
|
type: "uint256",
|
|
340
|
+
internalType: "uint256",
|
|
374
341
|
},
|
|
375
342
|
{
|
|
376
|
-
internalType: "uint256",
|
|
377
343
|
name: "baseBorrowRate",
|
|
378
344
|
type: "uint256",
|
|
345
|
+
internalType: "uint256",
|
|
379
346
|
},
|
|
380
347
|
{
|
|
381
|
-
internalType: "uint256",
|
|
382
348
|
name: "aggregatedBorrowRate",
|
|
383
349
|
type: "uint256",
|
|
350
|
+
internalType: "uint256",
|
|
384
351
|
},
|
|
385
352
|
{
|
|
353
|
+
name: "balances",
|
|
354
|
+
type: "tuple[]",
|
|
355
|
+
internalType: "struct TokenBalance[]",
|
|
386
356
|
components: [
|
|
387
357
|
{
|
|
388
|
-
internalType: "address",
|
|
389
358
|
name: "token",
|
|
390
359
|
type: "address",
|
|
360
|
+
internalType: "address",
|
|
391
361
|
},
|
|
392
362
|
{
|
|
393
|
-
internalType: "uint256",
|
|
394
363
|
name: "balance",
|
|
395
364
|
type: "uint256",
|
|
365
|
+
internalType: "uint256",
|
|
396
366
|
},
|
|
397
367
|
{
|
|
398
|
-
internalType: "bool",
|
|
399
368
|
name: "isForbidden",
|
|
400
369
|
type: "bool",
|
|
370
|
+
internalType: "bool",
|
|
401
371
|
},
|
|
402
372
|
{
|
|
403
|
-
internalType: "bool",
|
|
404
373
|
name: "isEnabled",
|
|
405
374
|
type: "bool",
|
|
375
|
+
internalType: "bool",
|
|
406
376
|
},
|
|
407
377
|
{
|
|
408
|
-
internalType: "bool",
|
|
409
378
|
name: "isQuoted",
|
|
410
379
|
type: "bool",
|
|
380
|
+
internalType: "bool",
|
|
411
381
|
},
|
|
412
382
|
{
|
|
413
|
-
internalType: "uint256",
|
|
414
383
|
name: "quota",
|
|
415
384
|
type: "uint256",
|
|
385
|
+
internalType: "uint256",
|
|
416
386
|
},
|
|
417
387
|
{
|
|
418
|
-
internalType: "uint16",
|
|
419
388
|
name: "quotaRate",
|
|
420
389
|
type: "uint16",
|
|
390
|
+
internalType: "uint16",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
name: "quotaCumulativeIndexLU",
|
|
394
|
+
type: "uint256",
|
|
395
|
+
internalType: "uint256",
|
|
421
396
|
},
|
|
422
397
|
],
|
|
423
|
-
internalType: "struct TokenBalance[]",
|
|
424
|
-
name: "balances",
|
|
425
|
-
type: "tuple[]",
|
|
426
398
|
},
|
|
427
399
|
{
|
|
428
|
-
internalType: "uint64",
|
|
429
400
|
name: "since",
|
|
430
401
|
type: "uint64",
|
|
402
|
+
internalType: "uint64",
|
|
431
403
|
},
|
|
432
404
|
{
|
|
433
|
-
internalType: "uint256",
|
|
434
405
|
name: "cfVersion",
|
|
435
406
|
type: "uint256",
|
|
407
|
+
internalType: "uint256",
|
|
436
408
|
},
|
|
437
409
|
{
|
|
438
|
-
internalType: "uint40",
|
|
439
410
|
name: "expirationDate",
|
|
440
411
|
type: "uint40",
|
|
412
|
+
internalType: "uint40",
|
|
441
413
|
},
|
|
442
414
|
{
|
|
443
|
-
internalType: "address[]",
|
|
444
415
|
name: "activeBots",
|
|
445
416
|
type: "address[]",
|
|
446
|
-
|
|
447
|
-
{
|
|
448
|
-
internalType: "uint256",
|
|
449
|
-
name: "maxApprovedBots",
|
|
450
|
-
type: "uint256",
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
components: [
|
|
454
|
-
{
|
|
455
|
-
internalType: "uint8",
|
|
456
|
-
name: "tokenIndex",
|
|
457
|
-
type: "uint8",
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
internalType: "uint40",
|
|
461
|
-
name: "maturity",
|
|
462
|
-
type: "uint40",
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
internalType: "address",
|
|
466
|
-
name: "token",
|
|
467
|
-
type: "address",
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
internalType: "uint256",
|
|
471
|
-
name: "amount",
|
|
472
|
-
type: "uint256",
|
|
473
|
-
},
|
|
474
|
-
],
|
|
475
|
-
internalType: "struct ScheduledWithdrawal[2]",
|
|
476
|
-
name: "schedultedWithdrawals",
|
|
477
|
-
type: "tuple[2]",
|
|
417
|
+
internalType: "address[]",
|
|
478
418
|
},
|
|
479
419
|
],
|
|
480
|
-
internalType: "struct CreditAccountData[]",
|
|
481
|
-
name: "",
|
|
482
|
-
type: "tuple[]",
|
|
483
420
|
},
|
|
484
421
|
],
|
|
485
422
|
stateMutability: "view",
|
|
486
|
-
type: "function",
|
|
487
423
|
},
|
|
488
424
|
{
|
|
425
|
+
type: "function",
|
|
426
|
+
name: "getCreditManagerData",
|
|
489
427
|
inputs: [
|
|
490
428
|
{
|
|
491
|
-
internalType: "address",
|
|
492
429
|
name: "_creditManager",
|
|
493
430
|
type: "address",
|
|
431
|
+
internalType: "address",
|
|
494
432
|
},
|
|
495
433
|
],
|
|
496
|
-
name: "getCreditManagerData",
|
|
497
434
|
outputs: [
|
|
498
435
|
{
|
|
436
|
+
name: "",
|
|
437
|
+
type: "tuple",
|
|
438
|
+
internalType: "struct CreditManagerData",
|
|
499
439
|
components: [
|
|
500
440
|
{
|
|
501
|
-
internalType: "address",
|
|
502
441
|
name: "addr",
|
|
503
442
|
type: "address",
|
|
443
|
+
internalType: "address",
|
|
504
444
|
},
|
|
505
445
|
{
|
|
506
|
-
|
|
507
|
-
name: "description",
|
|
446
|
+
name: "name",
|
|
508
447
|
type: "string",
|
|
448
|
+
internalType: "string",
|
|
509
449
|
},
|
|
510
450
|
{
|
|
511
|
-
internalType: "uint256",
|
|
512
451
|
name: "cfVersion",
|
|
513
452
|
type: "uint256",
|
|
453
|
+
internalType: "uint256",
|
|
514
454
|
},
|
|
515
455
|
{
|
|
516
|
-
internalType: "address",
|
|
517
456
|
name: "creditFacade",
|
|
518
457
|
type: "address",
|
|
458
|
+
internalType: "address",
|
|
519
459
|
},
|
|
520
460
|
{
|
|
521
|
-
internalType: "address",
|
|
522
461
|
name: "creditConfigurator",
|
|
523
462
|
type: "address",
|
|
463
|
+
internalType: "address",
|
|
524
464
|
},
|
|
525
465
|
{
|
|
526
|
-
internalType: "address",
|
|
527
466
|
name: "underlying",
|
|
528
467
|
type: "address",
|
|
468
|
+
internalType: "address",
|
|
529
469
|
},
|
|
530
470
|
{
|
|
531
|
-
internalType: "address",
|
|
532
471
|
name: "pool",
|
|
533
472
|
type: "address",
|
|
473
|
+
internalType: "address",
|
|
534
474
|
},
|
|
535
475
|
{
|
|
536
|
-
internalType: "uint256",
|
|
537
476
|
name: "totalDebt",
|
|
538
477
|
type: "uint256",
|
|
478
|
+
internalType: "uint256",
|
|
539
479
|
},
|
|
540
480
|
{
|
|
541
|
-
internalType: "uint256",
|
|
542
481
|
name: "totalDebtLimit",
|
|
543
482
|
type: "uint256",
|
|
483
|
+
internalType: "uint256",
|
|
544
484
|
},
|
|
545
485
|
{
|
|
546
|
-
internalType: "uint256",
|
|
547
486
|
name: "baseBorrowRate",
|
|
548
487
|
type: "uint256",
|
|
488
|
+
internalType: "uint256",
|
|
549
489
|
},
|
|
550
490
|
{
|
|
551
|
-
internalType: "uint256",
|
|
552
491
|
name: "minDebt",
|
|
553
492
|
type: "uint256",
|
|
493
|
+
internalType: "uint256",
|
|
554
494
|
},
|
|
555
495
|
{
|
|
556
|
-
internalType: "uint256",
|
|
557
496
|
name: "maxDebt",
|
|
558
497
|
type: "uint256",
|
|
498
|
+
internalType: "uint256",
|
|
559
499
|
},
|
|
560
500
|
{
|
|
561
|
-
internalType: "uint256",
|
|
562
501
|
name: "availableToBorrow",
|
|
563
502
|
type: "uint256",
|
|
503
|
+
internalType: "uint256",
|
|
564
504
|
},
|
|
565
505
|
{
|
|
566
|
-
internalType: "address[]",
|
|
567
506
|
name: "collateralTokens",
|
|
568
507
|
type: "address[]",
|
|
508
|
+
internalType: "address[]",
|
|
569
509
|
},
|
|
570
510
|
{
|
|
511
|
+
name: "adapters",
|
|
512
|
+
type: "tuple[]",
|
|
513
|
+
internalType: "struct ContractAdapter[]",
|
|
571
514
|
components: [
|
|
572
515
|
{
|
|
573
|
-
internalType: "address",
|
|
574
516
|
name: "targetContract",
|
|
575
517
|
type: "address",
|
|
518
|
+
internalType: "address",
|
|
576
519
|
},
|
|
577
520
|
{
|
|
578
|
-
internalType: "address",
|
|
579
521
|
name: "adapter",
|
|
580
522
|
type: "address",
|
|
523
|
+
internalType: "address",
|
|
581
524
|
},
|
|
582
525
|
],
|
|
583
|
-
internalType: "struct ContractAdapter[]",
|
|
584
|
-
name: "adapters",
|
|
585
|
-
type: "tuple[]",
|
|
586
526
|
},
|
|
587
527
|
{
|
|
588
|
-
internalType: "uint256[]",
|
|
589
528
|
name: "liquidationThresholds",
|
|
590
529
|
type: "uint256[]",
|
|
530
|
+
internalType: "uint256[]",
|
|
591
531
|
},
|
|
592
532
|
{
|
|
593
|
-
internalType: "bool",
|
|
594
533
|
name: "isDegenMode",
|
|
595
534
|
type: "bool",
|
|
535
|
+
internalType: "bool",
|
|
596
536
|
},
|
|
597
537
|
{
|
|
598
|
-
internalType: "address",
|
|
599
538
|
name: "degenNFT",
|
|
600
539
|
type: "address",
|
|
540
|
+
internalType: "address",
|
|
601
541
|
},
|
|
602
542
|
{
|
|
603
|
-
internalType: "uint256",
|
|
604
543
|
name: "forbiddenTokenMask",
|
|
605
544
|
type: "uint256",
|
|
545
|
+
internalType: "uint256",
|
|
606
546
|
},
|
|
607
547
|
{
|
|
608
|
-
internalType: "uint8",
|
|
609
548
|
name: "maxEnabledTokensLength",
|
|
610
549
|
type: "uint8",
|
|
550
|
+
internalType: "uint8",
|
|
611
551
|
},
|
|
612
552
|
{
|
|
613
|
-
internalType: "uint16",
|
|
614
553
|
name: "feeInterest",
|
|
615
554
|
type: "uint16",
|
|
555
|
+
internalType: "uint16",
|
|
616
556
|
},
|
|
617
557
|
{
|
|
618
|
-
internalType: "uint16",
|
|
619
558
|
name: "feeLiquidation",
|
|
620
559
|
type: "uint16",
|
|
560
|
+
internalType: "uint16",
|
|
621
561
|
},
|
|
622
562
|
{
|
|
623
|
-
internalType: "uint16",
|
|
624
563
|
name: "liquidationDiscount",
|
|
625
564
|
type: "uint16",
|
|
565
|
+
internalType: "uint16",
|
|
626
566
|
},
|
|
627
567
|
{
|
|
628
|
-
internalType: "uint16",
|
|
629
568
|
name: "feeLiquidationExpired",
|
|
630
569
|
type: "uint16",
|
|
570
|
+
internalType: "uint16",
|
|
631
571
|
},
|
|
632
572
|
{
|
|
633
|
-
internalType: "uint16",
|
|
634
573
|
name: "liquidationDiscountExpired",
|
|
635
574
|
type: "uint16",
|
|
575
|
+
internalType: "uint16",
|
|
636
576
|
},
|
|
637
577
|
{
|
|
578
|
+
name: "quotas",
|
|
579
|
+
type: "tuple[]",
|
|
580
|
+
internalType: "struct QuotaInfo[]",
|
|
638
581
|
components: [
|
|
639
582
|
{
|
|
640
|
-
internalType: "address",
|
|
641
583
|
name: "token",
|
|
642
584
|
type: "address",
|
|
585
|
+
internalType: "address",
|
|
643
586
|
},
|
|
644
587
|
{
|
|
645
|
-
internalType: "uint16",
|
|
646
588
|
name: "rate",
|
|
647
589
|
type: "uint16",
|
|
590
|
+
internalType: "uint16",
|
|
648
591
|
},
|
|
649
592
|
{
|
|
650
|
-
internalType: "uint16",
|
|
651
593
|
name: "quotaIncreaseFee",
|
|
652
594
|
type: "uint16",
|
|
595
|
+
internalType: "uint16",
|
|
653
596
|
},
|
|
654
597
|
{
|
|
655
|
-
internalType: "uint96",
|
|
656
598
|
name: "totalQuoted",
|
|
657
599
|
type: "uint96",
|
|
600
|
+
internalType: "uint96",
|
|
658
601
|
},
|
|
659
602
|
{
|
|
660
|
-
internalType: "uint96",
|
|
661
603
|
name: "limit",
|
|
662
604
|
type: "uint96",
|
|
605
|
+
internalType: "uint96",
|
|
663
606
|
},
|
|
664
607
|
{
|
|
665
|
-
internalType: "bool",
|
|
666
608
|
name: "isActive",
|
|
667
609
|
type: "bool",
|
|
610
|
+
internalType: "bool",
|
|
668
611
|
},
|
|
669
612
|
],
|
|
670
|
-
internalType: "struct QuotaInfo[]",
|
|
671
|
-
name: "quotas",
|
|
672
|
-
type: "tuple[]",
|
|
673
613
|
},
|
|
674
614
|
{
|
|
615
|
+
name: "lirm",
|
|
616
|
+
type: "tuple",
|
|
617
|
+
internalType: "struct LinearModel",
|
|
675
618
|
components: [
|
|
676
619
|
{
|
|
677
|
-
internalType: "address",
|
|
678
620
|
name: "interestModel",
|
|
679
621
|
type: "address",
|
|
622
|
+
internalType: "address",
|
|
680
623
|
},
|
|
681
624
|
{
|
|
682
|
-
internalType: "uint256",
|
|
683
625
|
name: "version",
|
|
684
626
|
type: "uint256",
|
|
627
|
+
internalType: "uint256",
|
|
685
628
|
},
|
|
686
629
|
{
|
|
687
|
-
internalType: "uint16",
|
|
688
630
|
name: "U_1",
|
|
689
631
|
type: "uint16",
|
|
632
|
+
internalType: "uint16",
|
|
690
633
|
},
|
|
691
634
|
{
|
|
692
|
-
internalType: "uint16",
|
|
693
635
|
name: "U_2",
|
|
694
636
|
type: "uint16",
|
|
637
|
+
internalType: "uint16",
|
|
695
638
|
},
|
|
696
639
|
{
|
|
697
|
-
internalType: "uint16",
|
|
698
640
|
name: "R_base",
|
|
699
641
|
type: "uint16",
|
|
642
|
+
internalType: "uint16",
|
|
700
643
|
},
|
|
701
644
|
{
|
|
702
|
-
internalType: "uint16",
|
|
703
645
|
name: "R_slope1",
|
|
704
646
|
type: "uint16",
|
|
647
|
+
internalType: "uint16",
|
|
705
648
|
},
|
|
706
649
|
{
|
|
707
|
-
internalType: "uint16",
|
|
708
650
|
name: "R_slope2",
|
|
709
651
|
type: "uint16",
|
|
652
|
+
internalType: "uint16",
|
|
710
653
|
},
|
|
711
654
|
{
|
|
712
|
-
internalType: "uint16",
|
|
713
655
|
name: "R_slope3",
|
|
714
656
|
type: "uint16",
|
|
657
|
+
internalType: "uint16",
|
|
715
658
|
},
|
|
716
659
|
{
|
|
717
|
-
internalType: "bool",
|
|
718
660
|
name: "isBorrowingMoreU2Forbidden",
|
|
719
661
|
type: "bool",
|
|
662
|
+
internalType: "bool",
|
|
720
663
|
},
|
|
721
664
|
],
|
|
722
|
-
internalType: "struct LinearModel",
|
|
723
|
-
name: "lirm",
|
|
724
|
-
type: "tuple",
|
|
725
665
|
},
|
|
726
666
|
{
|
|
727
|
-
internalType: "bool",
|
|
728
667
|
name: "isPaused",
|
|
729
668
|
type: "bool",
|
|
669
|
+
internalType: "bool",
|
|
730
670
|
},
|
|
731
671
|
],
|
|
732
|
-
internalType: "struct CreditManagerData",
|
|
733
|
-
name: "",
|
|
734
|
-
type: "tuple",
|
|
735
672
|
},
|
|
736
673
|
],
|
|
737
674
|
stateMutability: "view",
|
|
738
|
-
type: "function",
|
|
739
675
|
},
|
|
740
676
|
{
|
|
741
|
-
|
|
677
|
+
type: "function",
|
|
742
678
|
name: "getCreditManagersV2List",
|
|
679
|
+
inputs: [],
|
|
743
680
|
outputs: [
|
|
744
681
|
{
|
|
682
|
+
name: "",
|
|
683
|
+
type: "tuple[]",
|
|
684
|
+
internalType: "struct CreditManagerData[]",
|
|
745
685
|
components: [
|
|
746
686
|
{
|
|
747
|
-
internalType: "address",
|
|
748
687
|
name: "addr",
|
|
749
688
|
type: "address",
|
|
689
|
+
internalType: "address",
|
|
750
690
|
},
|
|
751
691
|
{
|
|
752
|
-
|
|
753
|
-
name: "description",
|
|
692
|
+
name: "name",
|
|
754
693
|
type: "string",
|
|
694
|
+
internalType: "string",
|
|
755
695
|
},
|
|
756
696
|
{
|
|
757
|
-
internalType: "uint256",
|
|
758
697
|
name: "cfVersion",
|
|
759
698
|
type: "uint256",
|
|
699
|
+
internalType: "uint256",
|
|
760
700
|
},
|
|
761
701
|
{
|
|
762
|
-
internalType: "address",
|
|
763
702
|
name: "creditFacade",
|
|
764
703
|
type: "address",
|
|
704
|
+
internalType: "address",
|
|
765
705
|
},
|
|
766
706
|
{
|
|
767
|
-
internalType: "address",
|
|
768
707
|
name: "creditConfigurator",
|
|
769
708
|
type: "address",
|
|
709
|
+
internalType: "address",
|
|
770
710
|
},
|
|
771
711
|
{
|
|
772
|
-
internalType: "address",
|
|
773
712
|
name: "underlying",
|
|
774
713
|
type: "address",
|
|
714
|
+
internalType: "address",
|
|
775
715
|
},
|
|
776
716
|
{
|
|
777
|
-
internalType: "address",
|
|
778
717
|
name: "pool",
|
|
779
718
|
type: "address",
|
|
719
|
+
internalType: "address",
|
|
780
720
|
},
|
|
781
721
|
{
|
|
782
|
-
internalType: "uint256",
|
|
783
722
|
name: "totalDebt",
|
|
784
723
|
type: "uint256",
|
|
724
|
+
internalType: "uint256",
|
|
785
725
|
},
|
|
786
726
|
{
|
|
787
|
-
internalType: "uint256",
|
|
788
727
|
name: "totalDebtLimit",
|
|
789
728
|
type: "uint256",
|
|
729
|
+
internalType: "uint256",
|
|
790
730
|
},
|
|
791
731
|
{
|
|
792
|
-
internalType: "uint256",
|
|
793
732
|
name: "baseBorrowRate",
|
|
794
733
|
type: "uint256",
|
|
734
|
+
internalType: "uint256",
|
|
795
735
|
},
|
|
796
736
|
{
|
|
797
|
-
internalType: "uint256",
|
|
798
737
|
name: "minDebt",
|
|
799
738
|
type: "uint256",
|
|
739
|
+
internalType: "uint256",
|
|
800
740
|
},
|
|
801
741
|
{
|
|
802
|
-
internalType: "uint256",
|
|
803
742
|
name: "maxDebt",
|
|
804
743
|
type: "uint256",
|
|
744
|
+
internalType: "uint256",
|
|
805
745
|
},
|
|
806
746
|
{
|
|
807
|
-
internalType: "uint256",
|
|
808
747
|
name: "availableToBorrow",
|
|
809
748
|
type: "uint256",
|
|
749
|
+
internalType: "uint256",
|
|
810
750
|
},
|
|
811
751
|
{
|
|
812
|
-
internalType: "address[]",
|
|
813
752
|
name: "collateralTokens",
|
|
814
753
|
type: "address[]",
|
|
754
|
+
internalType: "address[]",
|
|
815
755
|
},
|
|
816
756
|
{
|
|
757
|
+
name: "adapters",
|
|
758
|
+
type: "tuple[]",
|
|
759
|
+
internalType: "struct ContractAdapter[]",
|
|
817
760
|
components: [
|
|
818
761
|
{
|
|
819
|
-
internalType: "address",
|
|
820
762
|
name: "targetContract",
|
|
821
763
|
type: "address",
|
|
764
|
+
internalType: "address",
|
|
822
765
|
},
|
|
823
766
|
{
|
|
824
|
-
internalType: "address",
|
|
825
767
|
name: "adapter",
|
|
826
768
|
type: "address",
|
|
769
|
+
internalType: "address",
|
|
827
770
|
},
|
|
828
771
|
],
|
|
829
|
-
internalType: "struct ContractAdapter[]",
|
|
830
|
-
name: "adapters",
|
|
831
|
-
type: "tuple[]",
|
|
832
772
|
},
|
|
833
773
|
{
|
|
834
|
-
internalType: "uint256[]",
|
|
835
774
|
name: "liquidationThresholds",
|
|
836
775
|
type: "uint256[]",
|
|
776
|
+
internalType: "uint256[]",
|
|
837
777
|
},
|
|
838
778
|
{
|
|
839
|
-
internalType: "bool",
|
|
840
779
|
name: "isDegenMode",
|
|
841
780
|
type: "bool",
|
|
781
|
+
internalType: "bool",
|
|
842
782
|
},
|
|
843
783
|
{
|
|
844
|
-
internalType: "address",
|
|
845
784
|
name: "degenNFT",
|
|
846
785
|
type: "address",
|
|
786
|
+
internalType: "address",
|
|
847
787
|
},
|
|
848
788
|
{
|
|
849
|
-
internalType: "uint256",
|
|
850
789
|
name: "forbiddenTokenMask",
|
|
851
790
|
type: "uint256",
|
|
791
|
+
internalType: "uint256",
|
|
852
792
|
},
|
|
853
793
|
{
|
|
854
|
-
internalType: "uint8",
|
|
855
794
|
name: "maxEnabledTokensLength",
|
|
856
795
|
type: "uint8",
|
|
796
|
+
internalType: "uint8",
|
|
857
797
|
},
|
|
858
798
|
{
|
|
859
|
-
internalType: "uint16",
|
|
860
799
|
name: "feeInterest",
|
|
861
800
|
type: "uint16",
|
|
801
|
+
internalType: "uint16",
|
|
862
802
|
},
|
|
863
803
|
{
|
|
864
|
-
internalType: "uint16",
|
|
865
804
|
name: "feeLiquidation",
|
|
866
805
|
type: "uint16",
|
|
806
|
+
internalType: "uint16",
|
|
867
807
|
},
|
|
868
808
|
{
|
|
869
|
-
internalType: "uint16",
|
|
870
809
|
name: "liquidationDiscount",
|
|
871
810
|
type: "uint16",
|
|
811
|
+
internalType: "uint16",
|
|
872
812
|
},
|
|
873
813
|
{
|
|
874
|
-
internalType: "uint16",
|
|
875
814
|
name: "feeLiquidationExpired",
|
|
876
815
|
type: "uint16",
|
|
816
|
+
internalType: "uint16",
|
|
877
817
|
},
|
|
878
818
|
{
|
|
879
|
-
internalType: "uint16",
|
|
880
819
|
name: "liquidationDiscountExpired",
|
|
881
820
|
type: "uint16",
|
|
821
|
+
internalType: "uint16",
|
|
882
822
|
},
|
|
883
823
|
{
|
|
824
|
+
name: "quotas",
|
|
825
|
+
type: "tuple[]",
|
|
826
|
+
internalType: "struct QuotaInfo[]",
|
|
884
827
|
components: [
|
|
885
828
|
{
|
|
886
|
-
internalType: "address",
|
|
887
829
|
name: "token",
|
|
888
830
|
type: "address",
|
|
831
|
+
internalType: "address",
|
|
889
832
|
},
|
|
890
833
|
{
|
|
891
|
-
internalType: "uint16",
|
|
892
834
|
name: "rate",
|
|
893
835
|
type: "uint16",
|
|
836
|
+
internalType: "uint16",
|
|
894
837
|
},
|
|
895
838
|
{
|
|
896
|
-
internalType: "uint16",
|
|
897
839
|
name: "quotaIncreaseFee",
|
|
898
840
|
type: "uint16",
|
|
841
|
+
internalType: "uint16",
|
|
899
842
|
},
|
|
900
843
|
{
|
|
901
|
-
internalType: "uint96",
|
|
902
844
|
name: "totalQuoted",
|
|
903
845
|
type: "uint96",
|
|
846
|
+
internalType: "uint96",
|
|
904
847
|
},
|
|
905
848
|
{
|
|
906
|
-
internalType: "uint96",
|
|
907
849
|
name: "limit",
|
|
908
850
|
type: "uint96",
|
|
851
|
+
internalType: "uint96",
|
|
909
852
|
},
|
|
910
853
|
{
|
|
911
|
-
internalType: "bool",
|
|
912
854
|
name: "isActive",
|
|
913
855
|
type: "bool",
|
|
856
|
+
internalType: "bool",
|
|
914
857
|
},
|
|
915
858
|
],
|
|
916
|
-
internalType: "struct QuotaInfo[]",
|
|
917
|
-
name: "quotas",
|
|
918
|
-
type: "tuple[]",
|
|
919
859
|
},
|
|
920
860
|
{
|
|
861
|
+
name: "lirm",
|
|
862
|
+
type: "tuple",
|
|
863
|
+
internalType: "struct LinearModel",
|
|
921
864
|
components: [
|
|
922
865
|
{
|
|
923
|
-
internalType: "address",
|
|
924
866
|
name: "interestModel",
|
|
925
867
|
type: "address",
|
|
868
|
+
internalType: "address",
|
|
926
869
|
},
|
|
927
870
|
{
|
|
928
|
-
internalType: "uint256",
|
|
929
871
|
name: "version",
|
|
930
872
|
type: "uint256",
|
|
873
|
+
internalType: "uint256",
|
|
931
874
|
},
|
|
932
875
|
{
|
|
933
|
-
internalType: "uint16",
|
|
934
876
|
name: "U_1",
|
|
935
877
|
type: "uint16",
|
|
878
|
+
internalType: "uint16",
|
|
936
879
|
},
|
|
937
880
|
{
|
|
938
|
-
internalType: "uint16",
|
|
939
881
|
name: "U_2",
|
|
940
882
|
type: "uint16",
|
|
883
|
+
internalType: "uint16",
|
|
941
884
|
},
|
|
942
885
|
{
|
|
943
|
-
internalType: "uint16",
|
|
944
886
|
name: "R_base",
|
|
945
887
|
type: "uint16",
|
|
888
|
+
internalType: "uint16",
|
|
946
889
|
},
|
|
947
890
|
{
|
|
948
|
-
internalType: "uint16",
|
|
949
891
|
name: "R_slope1",
|
|
950
892
|
type: "uint16",
|
|
893
|
+
internalType: "uint16",
|
|
951
894
|
},
|
|
952
895
|
{
|
|
953
|
-
internalType: "uint16",
|
|
954
896
|
name: "R_slope2",
|
|
955
897
|
type: "uint16",
|
|
898
|
+
internalType: "uint16",
|
|
956
899
|
},
|
|
957
900
|
{
|
|
958
|
-
internalType: "uint16",
|
|
959
901
|
name: "R_slope3",
|
|
960
902
|
type: "uint16",
|
|
903
|
+
internalType: "uint16",
|
|
961
904
|
},
|
|
962
905
|
{
|
|
963
|
-
internalType: "bool",
|
|
964
906
|
name: "isBorrowingMoreU2Forbidden",
|
|
965
907
|
type: "bool",
|
|
908
|
+
internalType: "bool",
|
|
966
909
|
},
|
|
967
910
|
],
|
|
968
|
-
internalType: "struct LinearModel",
|
|
969
|
-
name: "lirm",
|
|
970
|
-
type: "tuple",
|
|
971
911
|
},
|
|
972
912
|
{
|
|
973
|
-
internalType: "bool",
|
|
974
913
|
name: "isPaused",
|
|
975
914
|
type: "bool",
|
|
915
|
+
internalType: "bool",
|
|
976
916
|
},
|
|
977
917
|
],
|
|
978
|
-
internalType: "struct CreditManagerData[]",
|
|
979
|
-
name: "",
|
|
980
|
-
type: "tuple[]",
|
|
981
918
|
},
|
|
982
919
|
],
|
|
983
920
|
stateMutability: "view",
|
|
984
|
-
type: "function",
|
|
985
921
|
},
|
|
986
922
|
{
|
|
923
|
+
type: "function",
|
|
924
|
+
name: "getPoolData",
|
|
987
925
|
inputs: [
|
|
988
926
|
{
|
|
989
|
-
internalType: "address",
|
|
990
927
|
name: "_pool",
|
|
991
928
|
type: "address",
|
|
929
|
+
internalType: "address",
|
|
992
930
|
},
|
|
993
931
|
],
|
|
994
|
-
name: "getPoolData",
|
|
995
932
|
outputs: [
|
|
996
933
|
{
|
|
934
|
+
name: "",
|
|
935
|
+
type: "tuple",
|
|
936
|
+
internalType: "struct PoolData",
|
|
997
937
|
components: [
|
|
998
938
|
{
|
|
999
|
-
internalType: "address",
|
|
1000
939
|
name: "addr",
|
|
1001
940
|
type: "address",
|
|
941
|
+
internalType: "address",
|
|
1002
942
|
},
|
|
1003
943
|
{
|
|
1004
|
-
internalType: "address",
|
|
1005
944
|
name: "underlying",
|
|
1006
945
|
type: "address",
|
|
946
|
+
internalType: "address",
|
|
1007
947
|
},
|
|
1008
948
|
{
|
|
1009
|
-
internalType: "address",
|
|
1010
949
|
name: "dieselToken",
|
|
1011
950
|
type: "address",
|
|
951
|
+
internalType: "address",
|
|
1012
952
|
},
|
|
1013
953
|
{
|
|
1014
|
-
internalType: "string",
|
|
1015
954
|
name: "symbol",
|
|
1016
955
|
type: "string",
|
|
956
|
+
internalType: "string",
|
|
1017
957
|
},
|
|
1018
958
|
{
|
|
1019
|
-
internalType: "string",
|
|
1020
959
|
name: "name",
|
|
1021
960
|
type: "string",
|
|
961
|
+
internalType: "string",
|
|
1022
962
|
},
|
|
1023
963
|
{
|
|
1024
|
-
|
|
1025
|
-
name: "linearCumulativeIndex",
|
|
964
|
+
name: "baseInterestIndex",
|
|
1026
965
|
type: "uint256",
|
|
966
|
+
internalType: "uint256",
|
|
1027
967
|
},
|
|
1028
968
|
{
|
|
1029
|
-
internalType: "uint256",
|
|
1030
969
|
name: "availableLiquidity",
|
|
1031
970
|
type: "uint256",
|
|
971
|
+
internalType: "uint256",
|
|
1032
972
|
},
|
|
1033
973
|
{
|
|
1034
|
-
internalType: "uint256",
|
|
1035
974
|
name: "expectedLiquidity",
|
|
1036
975
|
type: "uint256",
|
|
976
|
+
internalType: "uint256",
|
|
1037
977
|
},
|
|
1038
978
|
{
|
|
1039
|
-
internalType: "uint256",
|
|
1040
979
|
name: "totalBorrowed",
|
|
1041
980
|
type: "uint256",
|
|
981
|
+
internalType: "uint256",
|
|
1042
982
|
},
|
|
1043
983
|
{
|
|
1044
|
-
internalType: "uint256",
|
|
1045
984
|
name: "totalDebtLimit",
|
|
1046
985
|
type: "uint256",
|
|
986
|
+
internalType: "uint256",
|
|
1047
987
|
},
|
|
1048
988
|
{
|
|
989
|
+
name: "creditManagerDebtParams",
|
|
990
|
+
type: "tuple[]",
|
|
991
|
+
internalType: "struct CreditManagerDebtParams[]",
|
|
1049
992
|
components: [
|
|
1050
993
|
{
|
|
1051
|
-
internalType: "address",
|
|
1052
994
|
name: "creditManager",
|
|
1053
995
|
type: "address",
|
|
996
|
+
internalType: "address",
|
|
1054
997
|
},
|
|
1055
998
|
{
|
|
1056
|
-
internalType: "uint256",
|
|
1057
999
|
name: "borrowed",
|
|
1058
1000
|
type: "uint256",
|
|
1001
|
+
internalType: "uint256",
|
|
1059
1002
|
},
|
|
1060
1003
|
{
|
|
1061
|
-
internalType: "uint256",
|
|
1062
1004
|
name: "limit",
|
|
1063
1005
|
type: "uint256",
|
|
1006
|
+
internalType: "uint256",
|
|
1064
1007
|
},
|
|
1065
1008
|
{
|
|
1066
|
-
internalType: "uint256",
|
|
1067
1009
|
name: "availableToBorrow",
|
|
1068
1010
|
type: "uint256",
|
|
1011
|
+
internalType: "uint256",
|
|
1069
1012
|
},
|
|
1070
1013
|
],
|
|
1071
|
-
internalType: "struct CreditManagerDebtParams[]",
|
|
1072
|
-
name: "creditManagerDebtParams",
|
|
1073
|
-
type: "tuple[]",
|
|
1074
1014
|
},
|
|
1075
1015
|
{
|
|
1076
|
-
internalType: "uint256",
|
|
1077
1016
|
name: "totalAssets",
|
|
1078
1017
|
type: "uint256",
|
|
1018
|
+
internalType: "uint256",
|
|
1079
1019
|
},
|
|
1080
1020
|
{
|
|
1081
|
-
internalType: "uint256",
|
|
1082
1021
|
name: "totalSupply",
|
|
1083
1022
|
type: "uint256",
|
|
1023
|
+
internalType: "uint256",
|
|
1084
1024
|
},
|
|
1085
1025
|
{
|
|
1086
|
-
internalType: "uint256",
|
|
1087
1026
|
name: "supplyRate",
|
|
1088
1027
|
type: "uint256",
|
|
1028
|
+
internalType: "uint256",
|
|
1089
1029
|
},
|
|
1090
1030
|
{
|
|
1091
|
-
internalType: "uint256",
|
|
1092
1031
|
name: "baseInterestRate",
|
|
1093
1032
|
type: "uint256",
|
|
1033
|
+
internalType: "uint256",
|
|
1094
1034
|
},
|
|
1095
1035
|
{
|
|
1096
|
-
internalType: "uint256",
|
|
1097
1036
|
name: "dieselRate_RAY",
|
|
1098
1037
|
type: "uint256",
|
|
1038
|
+
internalType: "uint256",
|
|
1099
1039
|
},
|
|
1100
1040
|
{
|
|
1101
|
-
internalType: "uint256",
|
|
1102
1041
|
name: "withdrawFee",
|
|
1103
1042
|
type: "uint256",
|
|
1043
|
+
internalType: "uint256",
|
|
1104
1044
|
},
|
|
1105
1045
|
{
|
|
1106
|
-
|
|
1107
|
-
name: "cumulativeIndex_RAY",
|
|
1046
|
+
name: "lastBaseInterestUpdate",
|
|
1108
1047
|
type: "uint256",
|
|
1048
|
+
internalType: "uint256",
|
|
1109
1049
|
},
|
|
1110
1050
|
{
|
|
1111
|
-
internalType: "uint256",
|
|
1112
1051
|
name: "baseInterestIndexLU",
|
|
1113
1052
|
type: "uint256",
|
|
1053
|
+
internalType: "uint256",
|
|
1114
1054
|
},
|
|
1115
1055
|
{
|
|
1116
|
-
internalType: "uint256",
|
|
1117
1056
|
name: "version",
|
|
1118
1057
|
type: "uint256",
|
|
1058
|
+
internalType: "uint256",
|
|
1119
1059
|
},
|
|
1120
1060
|
{
|
|
1121
|
-
internalType: "address",
|
|
1122
1061
|
name: "poolQuotaKeeper",
|
|
1123
1062
|
type: "address",
|
|
1063
|
+
internalType: "address",
|
|
1124
1064
|
},
|
|
1125
1065
|
{
|
|
1126
|
-
internalType: "address",
|
|
1127
1066
|
name: "gauge",
|
|
1128
1067
|
type: "address",
|
|
1068
|
+
internalType: "address",
|
|
1129
1069
|
},
|
|
1130
1070
|
{
|
|
1071
|
+
name: "quotas",
|
|
1072
|
+
type: "tuple[]",
|
|
1073
|
+
internalType: "struct QuotaInfo[]",
|
|
1131
1074
|
components: [
|
|
1132
1075
|
{
|
|
1133
|
-
internalType: "address",
|
|
1134
1076
|
name: "token",
|
|
1135
1077
|
type: "address",
|
|
1078
|
+
internalType: "address",
|
|
1136
1079
|
},
|
|
1137
1080
|
{
|
|
1138
|
-
internalType: "uint16",
|
|
1139
1081
|
name: "rate",
|
|
1140
1082
|
type: "uint16",
|
|
1083
|
+
internalType: "uint16",
|
|
1141
1084
|
},
|
|
1142
1085
|
{
|
|
1143
|
-
internalType: "uint16",
|
|
1144
1086
|
name: "quotaIncreaseFee",
|
|
1145
1087
|
type: "uint16",
|
|
1088
|
+
internalType: "uint16",
|
|
1146
1089
|
},
|
|
1147
1090
|
{
|
|
1148
|
-
internalType: "uint96",
|
|
1149
1091
|
name: "totalQuoted",
|
|
1150
1092
|
type: "uint96",
|
|
1093
|
+
internalType: "uint96",
|
|
1151
1094
|
},
|
|
1152
1095
|
{
|
|
1153
|
-
internalType: "uint96",
|
|
1154
1096
|
name: "limit",
|
|
1155
1097
|
type: "uint96",
|
|
1098
|
+
internalType: "uint96",
|
|
1156
1099
|
},
|
|
1157
1100
|
{
|
|
1158
|
-
internalType: "bool",
|
|
1159
1101
|
name: "isActive",
|
|
1160
1102
|
type: "bool",
|
|
1103
|
+
internalType: "bool",
|
|
1161
1104
|
},
|
|
1162
1105
|
],
|
|
1163
|
-
internalType: "struct QuotaInfo[]",
|
|
1164
|
-
name: "quotas",
|
|
1165
|
-
type: "tuple[]",
|
|
1166
1106
|
},
|
|
1167
1107
|
{
|
|
1108
|
+
name: "zappers",
|
|
1109
|
+
type: "tuple[]",
|
|
1110
|
+
internalType: "struct ZapperInfo[]",
|
|
1168
1111
|
components: [
|
|
1169
1112
|
{
|
|
1170
|
-
|
|
1171
|
-
name: "tokenFrom",
|
|
1113
|
+
name: "zapper",
|
|
1172
1114
|
type: "address",
|
|
1115
|
+
internalType: "address",
|
|
1173
1116
|
},
|
|
1174
1117
|
{
|
|
1118
|
+
name: "tokenIn",
|
|
1119
|
+
type: "address",
|
|
1175
1120
|
internalType: "address",
|
|
1176
|
-
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
name: "tokenOut",
|
|
1177
1124
|
type: "address",
|
|
1125
|
+
internalType: "address",
|
|
1178
1126
|
},
|
|
1179
1127
|
],
|
|
1180
|
-
internalType: "struct ZapperInfo[]",
|
|
1181
|
-
name: "zappers",
|
|
1182
|
-
type: "tuple[]",
|
|
1183
1128
|
},
|
|
1184
1129
|
{
|
|
1130
|
+
name: "lirm",
|
|
1131
|
+
type: "tuple",
|
|
1132
|
+
internalType: "struct LinearModel",
|
|
1185
1133
|
components: [
|
|
1186
1134
|
{
|
|
1187
|
-
internalType: "address",
|
|
1188
1135
|
name: "interestModel",
|
|
1189
1136
|
type: "address",
|
|
1137
|
+
internalType: "address",
|
|
1190
1138
|
},
|
|
1191
1139
|
{
|
|
1192
|
-
internalType: "uint256",
|
|
1193
1140
|
name: "version",
|
|
1194
1141
|
type: "uint256",
|
|
1142
|
+
internalType: "uint256",
|
|
1195
1143
|
},
|
|
1196
1144
|
{
|
|
1197
|
-
internalType: "uint16",
|
|
1198
1145
|
name: "U_1",
|
|
1199
1146
|
type: "uint16",
|
|
1147
|
+
internalType: "uint16",
|
|
1200
1148
|
},
|
|
1201
1149
|
{
|
|
1202
|
-
internalType: "uint16",
|
|
1203
1150
|
name: "U_2",
|
|
1204
1151
|
type: "uint16",
|
|
1152
|
+
internalType: "uint16",
|
|
1205
1153
|
},
|
|
1206
1154
|
{
|
|
1207
|
-
internalType: "uint16",
|
|
1208
1155
|
name: "R_base",
|
|
1209
1156
|
type: "uint16",
|
|
1157
|
+
internalType: "uint16",
|
|
1210
1158
|
},
|
|
1211
1159
|
{
|
|
1212
|
-
internalType: "uint16",
|
|
1213
1160
|
name: "R_slope1",
|
|
1214
1161
|
type: "uint16",
|
|
1162
|
+
internalType: "uint16",
|
|
1215
1163
|
},
|
|
1216
1164
|
{
|
|
1217
|
-
internalType: "uint16",
|
|
1218
1165
|
name: "R_slope2",
|
|
1219
1166
|
type: "uint16",
|
|
1167
|
+
internalType: "uint16",
|
|
1220
1168
|
},
|
|
1221
1169
|
{
|
|
1222
|
-
internalType: "uint16",
|
|
1223
1170
|
name: "R_slope3",
|
|
1224
1171
|
type: "uint16",
|
|
1172
|
+
internalType: "uint16",
|
|
1225
1173
|
},
|
|
1226
1174
|
{
|
|
1227
|
-
internalType: "bool",
|
|
1228
1175
|
name: "isBorrowingMoreU2Forbidden",
|
|
1229
1176
|
type: "bool",
|
|
1177
|
+
internalType: "bool",
|
|
1230
1178
|
},
|
|
1231
1179
|
],
|
|
1232
|
-
internalType: "struct LinearModel",
|
|
1233
|
-
name: "lirm",
|
|
1234
|
-
type: "tuple",
|
|
1235
1180
|
},
|
|
1236
1181
|
{
|
|
1237
|
-
internalType: "bool",
|
|
1238
1182
|
name: "isPaused",
|
|
1239
1183
|
type: "bool",
|
|
1184
|
+
internalType: "bool",
|
|
1240
1185
|
},
|
|
1241
1186
|
],
|
|
1242
|
-
internalType: "struct PoolData",
|
|
1243
|
-
name: "",
|
|
1244
|
-
type: "tuple",
|
|
1245
1187
|
},
|
|
1246
1188
|
],
|
|
1247
1189
|
stateMutability: "view",
|
|
1248
|
-
type: "function",
|
|
1249
1190
|
},
|
|
1250
1191
|
{
|
|
1251
|
-
|
|
1192
|
+
type: "function",
|
|
1252
1193
|
name: "getPoolsV1List",
|
|
1194
|
+
inputs: [],
|
|
1253
1195
|
outputs: [
|
|
1254
1196
|
{
|
|
1197
|
+
name: "",
|
|
1198
|
+
type: "tuple[]",
|
|
1199
|
+
internalType: "struct PoolData[]",
|
|
1255
1200
|
components: [
|
|
1256
1201
|
{
|
|
1257
|
-
internalType: "address",
|
|
1258
1202
|
name: "addr",
|
|
1259
1203
|
type: "address",
|
|
1204
|
+
internalType: "address",
|
|
1260
1205
|
},
|
|
1261
1206
|
{
|
|
1262
|
-
internalType: "address",
|
|
1263
1207
|
name: "underlying",
|
|
1264
1208
|
type: "address",
|
|
1209
|
+
internalType: "address",
|
|
1265
1210
|
},
|
|
1266
1211
|
{
|
|
1267
|
-
internalType: "address",
|
|
1268
1212
|
name: "dieselToken",
|
|
1269
1213
|
type: "address",
|
|
1214
|
+
internalType: "address",
|
|
1270
1215
|
},
|
|
1271
1216
|
{
|
|
1272
|
-
internalType: "string",
|
|
1273
1217
|
name: "symbol",
|
|
1274
1218
|
type: "string",
|
|
1219
|
+
internalType: "string",
|
|
1275
1220
|
},
|
|
1276
1221
|
{
|
|
1277
|
-
internalType: "string",
|
|
1278
1222
|
name: "name",
|
|
1279
1223
|
type: "string",
|
|
1224
|
+
internalType: "string",
|
|
1280
1225
|
},
|
|
1281
1226
|
{
|
|
1282
|
-
|
|
1283
|
-
name: "linearCumulativeIndex",
|
|
1227
|
+
name: "baseInterestIndex",
|
|
1284
1228
|
type: "uint256",
|
|
1229
|
+
internalType: "uint256",
|
|
1285
1230
|
},
|
|
1286
1231
|
{
|
|
1287
|
-
internalType: "uint256",
|
|
1288
1232
|
name: "availableLiquidity",
|
|
1289
1233
|
type: "uint256",
|
|
1234
|
+
internalType: "uint256",
|
|
1290
1235
|
},
|
|
1291
1236
|
{
|
|
1292
|
-
internalType: "uint256",
|
|
1293
1237
|
name: "expectedLiquidity",
|
|
1294
1238
|
type: "uint256",
|
|
1239
|
+
internalType: "uint256",
|
|
1295
1240
|
},
|
|
1296
1241
|
{
|
|
1297
|
-
internalType: "uint256",
|
|
1298
1242
|
name: "totalBorrowed",
|
|
1299
1243
|
type: "uint256",
|
|
1244
|
+
internalType: "uint256",
|
|
1300
1245
|
},
|
|
1301
1246
|
{
|
|
1302
|
-
internalType: "uint256",
|
|
1303
1247
|
name: "totalDebtLimit",
|
|
1304
1248
|
type: "uint256",
|
|
1249
|
+
internalType: "uint256",
|
|
1305
1250
|
},
|
|
1306
1251
|
{
|
|
1252
|
+
name: "creditManagerDebtParams",
|
|
1253
|
+
type: "tuple[]",
|
|
1254
|
+
internalType: "struct CreditManagerDebtParams[]",
|
|
1307
1255
|
components: [
|
|
1308
1256
|
{
|
|
1309
|
-
internalType: "address",
|
|
1310
1257
|
name: "creditManager",
|
|
1311
1258
|
type: "address",
|
|
1259
|
+
internalType: "address",
|
|
1312
1260
|
},
|
|
1313
1261
|
{
|
|
1314
|
-
internalType: "uint256",
|
|
1315
1262
|
name: "borrowed",
|
|
1316
1263
|
type: "uint256",
|
|
1264
|
+
internalType: "uint256",
|
|
1317
1265
|
},
|
|
1318
1266
|
{
|
|
1319
|
-
internalType: "uint256",
|
|
1320
1267
|
name: "limit",
|
|
1321
1268
|
type: "uint256",
|
|
1269
|
+
internalType: "uint256",
|
|
1322
1270
|
},
|
|
1323
1271
|
{
|
|
1324
|
-
internalType: "uint256",
|
|
1325
1272
|
name: "availableToBorrow",
|
|
1326
1273
|
type: "uint256",
|
|
1274
|
+
internalType: "uint256",
|
|
1327
1275
|
},
|
|
1328
1276
|
],
|
|
1329
|
-
internalType: "struct CreditManagerDebtParams[]",
|
|
1330
|
-
name: "creditManagerDebtParams",
|
|
1331
|
-
type: "tuple[]",
|
|
1332
1277
|
},
|
|
1333
1278
|
{
|
|
1334
|
-
internalType: "uint256",
|
|
1335
1279
|
name: "totalAssets",
|
|
1336
1280
|
type: "uint256",
|
|
1281
|
+
internalType: "uint256",
|
|
1337
1282
|
},
|
|
1338
1283
|
{
|
|
1339
|
-
internalType: "uint256",
|
|
1340
1284
|
name: "totalSupply",
|
|
1341
1285
|
type: "uint256",
|
|
1286
|
+
internalType: "uint256",
|
|
1342
1287
|
},
|
|
1343
1288
|
{
|
|
1344
|
-
internalType: "uint256",
|
|
1345
1289
|
name: "supplyRate",
|
|
1346
1290
|
type: "uint256",
|
|
1291
|
+
internalType: "uint256",
|
|
1347
1292
|
},
|
|
1348
1293
|
{
|
|
1349
|
-
internalType: "uint256",
|
|
1350
1294
|
name: "baseInterestRate",
|
|
1351
1295
|
type: "uint256",
|
|
1296
|
+
internalType: "uint256",
|
|
1352
1297
|
},
|
|
1353
1298
|
{
|
|
1354
|
-
internalType: "uint256",
|
|
1355
1299
|
name: "dieselRate_RAY",
|
|
1356
1300
|
type: "uint256",
|
|
1301
|
+
internalType: "uint256",
|
|
1357
1302
|
},
|
|
1358
1303
|
{
|
|
1359
|
-
internalType: "uint256",
|
|
1360
1304
|
name: "withdrawFee",
|
|
1361
1305
|
type: "uint256",
|
|
1306
|
+
internalType: "uint256",
|
|
1362
1307
|
},
|
|
1363
1308
|
{
|
|
1364
|
-
|
|
1365
|
-
name: "cumulativeIndex_RAY",
|
|
1309
|
+
name: "lastBaseInterestUpdate",
|
|
1366
1310
|
type: "uint256",
|
|
1311
|
+
internalType: "uint256",
|
|
1367
1312
|
},
|
|
1368
1313
|
{
|
|
1369
|
-
internalType: "uint256",
|
|
1370
1314
|
name: "baseInterestIndexLU",
|
|
1371
1315
|
type: "uint256",
|
|
1316
|
+
internalType: "uint256",
|
|
1372
1317
|
},
|
|
1373
1318
|
{
|
|
1374
|
-
internalType: "uint256",
|
|
1375
1319
|
name: "version",
|
|
1376
1320
|
type: "uint256",
|
|
1321
|
+
internalType: "uint256",
|
|
1377
1322
|
},
|
|
1378
1323
|
{
|
|
1379
|
-
internalType: "address",
|
|
1380
1324
|
name: "poolQuotaKeeper",
|
|
1381
1325
|
type: "address",
|
|
1326
|
+
internalType: "address",
|
|
1382
1327
|
},
|
|
1383
1328
|
{
|
|
1384
|
-
internalType: "address",
|
|
1385
1329
|
name: "gauge",
|
|
1386
1330
|
type: "address",
|
|
1331
|
+
internalType: "address",
|
|
1387
1332
|
},
|
|
1388
1333
|
{
|
|
1334
|
+
name: "quotas",
|
|
1335
|
+
type: "tuple[]",
|
|
1336
|
+
internalType: "struct QuotaInfo[]",
|
|
1389
1337
|
components: [
|
|
1390
1338
|
{
|
|
1391
|
-
internalType: "address",
|
|
1392
1339
|
name: "token",
|
|
1393
1340
|
type: "address",
|
|
1341
|
+
internalType: "address",
|
|
1394
1342
|
},
|
|
1395
1343
|
{
|
|
1396
|
-
internalType: "uint16",
|
|
1397
1344
|
name: "rate",
|
|
1398
1345
|
type: "uint16",
|
|
1346
|
+
internalType: "uint16",
|
|
1399
1347
|
},
|
|
1400
1348
|
{
|
|
1401
|
-
internalType: "uint16",
|
|
1402
1349
|
name: "quotaIncreaseFee",
|
|
1403
1350
|
type: "uint16",
|
|
1351
|
+
internalType: "uint16",
|
|
1404
1352
|
},
|
|
1405
1353
|
{
|
|
1406
|
-
internalType: "uint96",
|
|
1407
1354
|
name: "totalQuoted",
|
|
1408
1355
|
type: "uint96",
|
|
1356
|
+
internalType: "uint96",
|
|
1409
1357
|
},
|
|
1410
1358
|
{
|
|
1411
|
-
internalType: "uint96",
|
|
1412
1359
|
name: "limit",
|
|
1413
1360
|
type: "uint96",
|
|
1361
|
+
internalType: "uint96",
|
|
1414
1362
|
},
|
|
1415
1363
|
{
|
|
1416
|
-
internalType: "bool",
|
|
1417
1364
|
name: "isActive",
|
|
1418
1365
|
type: "bool",
|
|
1366
|
+
internalType: "bool",
|
|
1419
1367
|
},
|
|
1420
1368
|
],
|
|
1421
|
-
internalType: "struct QuotaInfo[]",
|
|
1422
|
-
name: "quotas",
|
|
1423
|
-
type: "tuple[]",
|
|
1424
1369
|
},
|
|
1425
1370
|
{
|
|
1371
|
+
name: "zappers",
|
|
1372
|
+
type: "tuple[]",
|
|
1373
|
+
internalType: "struct ZapperInfo[]",
|
|
1426
1374
|
components: [
|
|
1427
1375
|
{
|
|
1428
|
-
|
|
1429
|
-
name: "tokenFrom",
|
|
1376
|
+
name: "zapper",
|
|
1430
1377
|
type: "address",
|
|
1378
|
+
internalType: "address",
|
|
1431
1379
|
},
|
|
1432
1380
|
{
|
|
1381
|
+
name: "tokenIn",
|
|
1382
|
+
type: "address",
|
|
1433
1383
|
internalType: "address",
|
|
1434
|
-
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
name: "tokenOut",
|
|
1435
1387
|
type: "address",
|
|
1388
|
+
internalType: "address",
|
|
1436
1389
|
},
|
|
1437
1390
|
],
|
|
1438
|
-
internalType: "struct ZapperInfo[]",
|
|
1439
|
-
name: "zappers",
|
|
1440
|
-
type: "tuple[]",
|
|
1441
1391
|
},
|
|
1442
1392
|
{
|
|
1393
|
+
name: "lirm",
|
|
1394
|
+
type: "tuple",
|
|
1395
|
+
internalType: "struct LinearModel",
|
|
1443
1396
|
components: [
|
|
1444
1397
|
{
|
|
1445
|
-
internalType: "address",
|
|
1446
1398
|
name: "interestModel",
|
|
1447
1399
|
type: "address",
|
|
1400
|
+
internalType: "address",
|
|
1448
1401
|
},
|
|
1449
1402
|
{
|
|
1450
|
-
internalType: "uint256",
|
|
1451
1403
|
name: "version",
|
|
1452
1404
|
type: "uint256",
|
|
1405
|
+
internalType: "uint256",
|
|
1453
1406
|
},
|
|
1454
1407
|
{
|
|
1455
|
-
internalType: "uint16",
|
|
1456
1408
|
name: "U_1",
|
|
1457
1409
|
type: "uint16",
|
|
1410
|
+
internalType: "uint16",
|
|
1458
1411
|
},
|
|
1459
1412
|
{
|
|
1460
|
-
internalType: "uint16",
|
|
1461
1413
|
name: "U_2",
|
|
1462
1414
|
type: "uint16",
|
|
1415
|
+
internalType: "uint16",
|
|
1463
1416
|
},
|
|
1464
1417
|
{
|
|
1465
|
-
internalType: "uint16",
|
|
1466
1418
|
name: "R_base",
|
|
1467
1419
|
type: "uint16",
|
|
1420
|
+
internalType: "uint16",
|
|
1468
1421
|
},
|
|
1469
1422
|
{
|
|
1470
|
-
internalType: "uint16",
|
|
1471
1423
|
name: "R_slope1",
|
|
1472
1424
|
type: "uint16",
|
|
1425
|
+
internalType: "uint16",
|
|
1473
1426
|
},
|
|
1474
1427
|
{
|
|
1475
|
-
internalType: "uint16",
|
|
1476
1428
|
name: "R_slope2",
|
|
1477
1429
|
type: "uint16",
|
|
1430
|
+
internalType: "uint16",
|
|
1478
1431
|
},
|
|
1479
1432
|
{
|
|
1480
|
-
internalType: "uint16",
|
|
1481
1433
|
name: "R_slope3",
|
|
1482
1434
|
type: "uint16",
|
|
1435
|
+
internalType: "uint16",
|
|
1483
1436
|
},
|
|
1484
1437
|
{
|
|
1485
|
-
internalType: "bool",
|
|
1486
1438
|
name: "isBorrowingMoreU2Forbidden",
|
|
1487
1439
|
type: "bool",
|
|
1440
|
+
internalType: "bool",
|
|
1488
1441
|
},
|
|
1489
1442
|
],
|
|
1490
|
-
internalType: "struct LinearModel",
|
|
1491
|
-
name: "lirm",
|
|
1492
|
-
type: "tuple",
|
|
1493
1443
|
},
|
|
1494
1444
|
{
|
|
1495
|
-
internalType: "bool",
|
|
1496
1445
|
name: "isPaused",
|
|
1497
1446
|
type: "bool",
|
|
1447
|
+
internalType: "bool",
|
|
1498
1448
|
},
|
|
1499
1449
|
],
|
|
1500
|
-
internalType: "struct PoolData[]",
|
|
1501
|
-
name: "",
|
|
1502
|
-
type: "tuple[]",
|
|
1503
1450
|
},
|
|
1504
1451
|
],
|
|
1505
1452
|
stateMutability: "view",
|
|
1506
|
-
type: "function",
|
|
1507
1453
|
},
|
|
1508
1454
|
{
|
|
1455
|
+
type: "function",
|
|
1456
|
+
name: "hasOpenedCreditAccount",
|
|
1509
1457
|
inputs: [
|
|
1510
1458
|
{
|
|
1511
|
-
internalType: "address",
|
|
1512
1459
|
name: "creditManager",
|
|
1513
1460
|
type: "address",
|
|
1461
|
+
internalType: "address",
|
|
1514
1462
|
},
|
|
1515
1463
|
{
|
|
1516
|
-
internalType: "address",
|
|
1517
1464
|
name: "borrower",
|
|
1518
1465
|
type: "address",
|
|
1466
|
+
internalType: "address",
|
|
1519
1467
|
},
|
|
1520
1468
|
],
|
|
1521
|
-
name: "hasOpenedCreditAccount",
|
|
1522
1469
|
outputs: [
|
|
1523
1470
|
{
|
|
1524
|
-
internalType: "bool",
|
|
1525
1471
|
name: "",
|
|
1526
1472
|
type: "bool",
|
|
1473
|
+
internalType: "bool",
|
|
1527
1474
|
},
|
|
1528
1475
|
],
|
|
1529
1476
|
stateMutability: "view",
|
|
1530
|
-
type: "function",
|
|
1531
1477
|
},
|
|
1532
1478
|
{
|
|
1533
|
-
|
|
1479
|
+
type: "function",
|
|
1534
1480
|
name: "version",
|
|
1481
|
+
inputs: [],
|
|
1535
1482
|
outputs: [
|
|
1536
1483
|
{
|
|
1537
|
-
internalType: "uint256",
|
|
1538
1484
|
name: "",
|
|
1539
1485
|
type: "uint256",
|
|
1486
|
+
internalType: "uint256",
|
|
1540
1487
|
},
|
|
1541
1488
|
],
|
|
1542
1489
|
stateMutability: "view",
|
|
1543
|
-
type: "function",
|
|
1544
1490
|
},
|
|
1545
1491
|
];
|
|
1546
1492
|
class IDataCompressorV2_10__factory {
|