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