@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
|
@@ -3,1179 +3,1169 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IDataCompressorV2_10, IDataCompressorV2_10Interface } from "../IDataCompressorV2_10";
|
|
4
4
|
export declare class IDataCompressorV2_10__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "getAdapter";
|
|
6
8
|
readonly inputs: readonly [{
|
|
7
|
-
readonly internalType: "address";
|
|
8
9
|
readonly name: "_creditManager";
|
|
9
10
|
readonly type: "address";
|
|
10
|
-
}, {
|
|
11
11
|
readonly internalType: "address";
|
|
12
|
+
}, {
|
|
12
13
|
readonly name: "_allowedContract";
|
|
13
14
|
readonly type: "address";
|
|
15
|
+
readonly internalType: "address";
|
|
14
16
|
}];
|
|
15
|
-
readonly name: "getAdapter";
|
|
16
17
|
readonly outputs: readonly [{
|
|
17
|
-
readonly internalType: "address";
|
|
18
18
|
readonly name: "adapter";
|
|
19
19
|
readonly type: "address";
|
|
20
|
+
readonly internalType: "address";
|
|
20
21
|
}];
|
|
21
22
|
readonly stateMutability: "view";
|
|
22
|
-
readonly type: "function";
|
|
23
23
|
}, {
|
|
24
|
+
readonly type: "function";
|
|
25
|
+
readonly name: "getCreditAccountData";
|
|
24
26
|
readonly inputs: readonly [{
|
|
25
|
-
readonly internalType: "address";
|
|
26
27
|
readonly name: "_creditManager";
|
|
27
28
|
readonly type: "address";
|
|
28
|
-
}, {
|
|
29
29
|
readonly internalType: "address";
|
|
30
|
+
}, {
|
|
30
31
|
readonly name: "borrower";
|
|
31
32
|
readonly type: "address";
|
|
33
|
+
readonly internalType: "address";
|
|
32
34
|
}];
|
|
33
|
-
readonly name: "getCreditAccountData";
|
|
34
35
|
readonly outputs: readonly [{
|
|
36
|
+
readonly name: "";
|
|
37
|
+
readonly type: "tuple";
|
|
38
|
+
readonly internalType: "struct CreditAccountData";
|
|
35
39
|
readonly components: readonly [{
|
|
36
|
-
readonly internalType: "bool";
|
|
37
40
|
readonly name: "isSuccessful";
|
|
38
41
|
readonly type: "bool";
|
|
42
|
+
readonly internalType: "bool";
|
|
39
43
|
}, {
|
|
40
|
-
readonly internalType: "address[]";
|
|
41
44
|
readonly name: "priceFeedsNeeded";
|
|
42
45
|
readonly type: "address[]";
|
|
46
|
+
readonly internalType: "address[]";
|
|
43
47
|
}, {
|
|
44
|
-
readonly internalType: "address";
|
|
45
48
|
readonly name: "addr";
|
|
46
49
|
readonly type: "address";
|
|
47
|
-
}, {
|
|
48
50
|
readonly internalType: "address";
|
|
51
|
+
}, {
|
|
49
52
|
readonly name: "borrower";
|
|
50
53
|
readonly type: "address";
|
|
51
|
-
}, {
|
|
52
54
|
readonly internalType: "address";
|
|
55
|
+
}, {
|
|
53
56
|
readonly name: "creditManager";
|
|
54
57
|
readonly type: "address";
|
|
55
|
-
}, {
|
|
56
58
|
readonly internalType: "address";
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "cmName";
|
|
61
|
+
readonly type: "string";
|
|
62
|
+
readonly internalType: "string";
|
|
63
|
+
}, {
|
|
57
64
|
readonly name: "creditFacade";
|
|
58
65
|
readonly type: "address";
|
|
59
|
-
}, {
|
|
60
66
|
readonly internalType: "address";
|
|
67
|
+
}, {
|
|
61
68
|
readonly name: "underlying";
|
|
62
69
|
readonly type: "address";
|
|
70
|
+
readonly internalType: "address";
|
|
63
71
|
}, {
|
|
64
|
-
readonly internalType: "uint256";
|
|
65
72
|
readonly name: "debt";
|
|
66
73
|
readonly type: "uint256";
|
|
67
|
-
}, {
|
|
68
74
|
readonly internalType: "uint256";
|
|
69
|
-
readonly name: "cumulativeIndexNow";
|
|
70
|
-
readonly type: "uint256";
|
|
71
75
|
}, {
|
|
72
|
-
readonly internalType: "uint256";
|
|
73
76
|
readonly name: "cumulativeIndexLastUpdate";
|
|
74
77
|
readonly type: "uint256";
|
|
78
|
+
readonly internalType: "uint256";
|
|
75
79
|
}, {
|
|
76
|
-
readonly internalType: "uint128";
|
|
77
80
|
readonly name: "cumulativeQuotaInterest";
|
|
78
81
|
readonly type: "uint128";
|
|
82
|
+
readonly internalType: "uint128";
|
|
79
83
|
}, {
|
|
80
|
-
readonly internalType: "uint256";
|
|
81
84
|
readonly name: "accruedInterest";
|
|
82
85
|
readonly type: "uint256";
|
|
83
|
-
}, {
|
|
84
86
|
readonly internalType: "uint256";
|
|
87
|
+
}, {
|
|
85
88
|
readonly name: "accruedFees";
|
|
86
89
|
readonly type: "uint256";
|
|
87
|
-
}, {
|
|
88
90
|
readonly internalType: "uint256";
|
|
91
|
+
}, {
|
|
89
92
|
readonly name: "totalDebtUSD";
|
|
90
93
|
readonly type: "uint256";
|
|
91
|
-
}, {
|
|
92
94
|
readonly internalType: "uint256";
|
|
95
|
+
}, {
|
|
93
96
|
readonly name: "totalValue";
|
|
94
97
|
readonly type: "uint256";
|
|
95
|
-
}, {
|
|
96
98
|
readonly internalType: "uint256";
|
|
99
|
+
}, {
|
|
97
100
|
readonly name: "totalValueUSD";
|
|
98
101
|
readonly type: "uint256";
|
|
99
|
-
}, {
|
|
100
102
|
readonly internalType: "uint256";
|
|
103
|
+
}, {
|
|
101
104
|
readonly name: "twvUSD";
|
|
102
105
|
readonly type: "uint256";
|
|
103
|
-
}, {
|
|
104
106
|
readonly internalType: "uint256";
|
|
107
|
+
}, {
|
|
105
108
|
readonly name: "enabledTokensMask";
|
|
106
109
|
readonly type: "uint256";
|
|
107
|
-
}, {
|
|
108
110
|
readonly internalType: "uint256";
|
|
111
|
+
}, {
|
|
109
112
|
readonly name: "healthFactor";
|
|
110
113
|
readonly type: "uint256";
|
|
111
|
-
}, {
|
|
112
114
|
readonly internalType: "uint256";
|
|
115
|
+
}, {
|
|
113
116
|
readonly name: "baseBorrowRate";
|
|
114
117
|
readonly type: "uint256";
|
|
115
|
-
}, {
|
|
116
118
|
readonly internalType: "uint256";
|
|
119
|
+
}, {
|
|
117
120
|
readonly name: "aggregatedBorrowRate";
|
|
118
121
|
readonly type: "uint256";
|
|
122
|
+
readonly internalType: "uint256";
|
|
119
123
|
}, {
|
|
124
|
+
readonly name: "balances";
|
|
125
|
+
readonly type: "tuple[]";
|
|
126
|
+
readonly internalType: "struct TokenBalance[]";
|
|
120
127
|
readonly components: readonly [{
|
|
121
|
-
readonly internalType: "address";
|
|
122
128
|
readonly name: "token";
|
|
123
129
|
readonly type: "address";
|
|
130
|
+
readonly internalType: "address";
|
|
124
131
|
}, {
|
|
125
|
-
readonly internalType: "uint256";
|
|
126
132
|
readonly name: "balance";
|
|
127
133
|
readonly type: "uint256";
|
|
134
|
+
readonly internalType: "uint256";
|
|
128
135
|
}, {
|
|
129
|
-
readonly internalType: "bool";
|
|
130
136
|
readonly name: "isForbidden";
|
|
131
137
|
readonly type: "bool";
|
|
132
|
-
}, {
|
|
133
138
|
readonly internalType: "bool";
|
|
139
|
+
}, {
|
|
134
140
|
readonly name: "isEnabled";
|
|
135
141
|
readonly type: "bool";
|
|
136
|
-
}, {
|
|
137
142
|
readonly internalType: "bool";
|
|
143
|
+
}, {
|
|
138
144
|
readonly name: "isQuoted";
|
|
139
145
|
readonly type: "bool";
|
|
146
|
+
readonly internalType: "bool";
|
|
140
147
|
}, {
|
|
141
|
-
readonly internalType: "uint256";
|
|
142
148
|
readonly name: "quota";
|
|
143
149
|
readonly type: "uint256";
|
|
150
|
+
readonly internalType: "uint256";
|
|
144
151
|
}, {
|
|
145
|
-
readonly internalType: "uint16";
|
|
146
152
|
readonly name: "quotaRate";
|
|
147
153
|
readonly type: "uint16";
|
|
154
|
+
readonly internalType: "uint16";
|
|
155
|
+
}, {
|
|
156
|
+
readonly name: "quotaCumulativeIndexLU";
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
readonly internalType: "uint256";
|
|
148
159
|
}];
|
|
149
|
-
readonly internalType: "struct TokenBalance[]";
|
|
150
|
-
readonly name: "balances";
|
|
151
|
-
readonly type: "tuple[]";
|
|
152
160
|
}, {
|
|
153
|
-
readonly internalType: "uint64";
|
|
154
161
|
readonly name: "since";
|
|
155
162
|
readonly type: "uint64";
|
|
163
|
+
readonly internalType: "uint64";
|
|
156
164
|
}, {
|
|
157
|
-
readonly internalType: "uint256";
|
|
158
165
|
readonly name: "cfVersion";
|
|
159
166
|
readonly type: "uint256";
|
|
167
|
+
readonly internalType: "uint256";
|
|
160
168
|
}, {
|
|
161
|
-
readonly internalType: "uint40";
|
|
162
169
|
readonly name: "expirationDate";
|
|
163
170
|
readonly type: "uint40";
|
|
171
|
+
readonly internalType: "uint40";
|
|
164
172
|
}, {
|
|
165
|
-
readonly internalType: "address[]";
|
|
166
173
|
readonly name: "activeBots";
|
|
167
174
|
readonly type: "address[]";
|
|
168
|
-
|
|
169
|
-
readonly internalType: "uint256";
|
|
170
|
-
readonly name: "maxApprovedBots";
|
|
171
|
-
readonly type: "uint256";
|
|
172
|
-
}, {
|
|
173
|
-
readonly components: readonly [{
|
|
174
|
-
readonly internalType: "uint8";
|
|
175
|
-
readonly name: "tokenIndex";
|
|
176
|
-
readonly type: "uint8";
|
|
177
|
-
}, {
|
|
178
|
-
readonly internalType: "uint40";
|
|
179
|
-
readonly name: "maturity";
|
|
180
|
-
readonly type: "uint40";
|
|
181
|
-
}, {
|
|
182
|
-
readonly internalType: "address";
|
|
183
|
-
readonly name: "token";
|
|
184
|
-
readonly type: "address";
|
|
185
|
-
}, {
|
|
186
|
-
readonly internalType: "uint256";
|
|
187
|
-
readonly name: "amount";
|
|
188
|
-
readonly type: "uint256";
|
|
189
|
-
}];
|
|
190
|
-
readonly internalType: "struct ScheduledWithdrawal[2]";
|
|
191
|
-
readonly name: "schedultedWithdrawals";
|
|
192
|
-
readonly type: "tuple[2]";
|
|
175
|
+
readonly internalType: "address[]";
|
|
193
176
|
}];
|
|
194
|
-
readonly internalType: "struct CreditAccountData";
|
|
195
|
-
readonly name: "";
|
|
196
|
-
readonly type: "tuple";
|
|
197
177
|
}];
|
|
198
178
|
readonly stateMutability: "view";
|
|
199
|
-
readonly type: "function";
|
|
200
179
|
}, {
|
|
180
|
+
readonly type: "function";
|
|
181
|
+
readonly name: "getCreditAccountsByBorrower";
|
|
201
182
|
readonly inputs: readonly [{
|
|
202
|
-
readonly internalType: "address";
|
|
203
183
|
readonly name: "borrower";
|
|
204
184
|
readonly type: "address";
|
|
185
|
+
readonly internalType: "address";
|
|
205
186
|
}];
|
|
206
|
-
readonly name: "getCreditAccountsByBorrower";
|
|
207
187
|
readonly outputs: readonly [{
|
|
188
|
+
readonly name: "";
|
|
189
|
+
readonly type: "tuple[]";
|
|
190
|
+
readonly internalType: "struct CreditAccountData[]";
|
|
208
191
|
readonly components: readonly [{
|
|
209
|
-
readonly internalType: "bool";
|
|
210
192
|
readonly name: "isSuccessful";
|
|
211
193
|
readonly type: "bool";
|
|
194
|
+
readonly internalType: "bool";
|
|
212
195
|
}, {
|
|
213
|
-
readonly internalType: "address[]";
|
|
214
196
|
readonly name: "priceFeedsNeeded";
|
|
215
197
|
readonly type: "address[]";
|
|
198
|
+
readonly internalType: "address[]";
|
|
216
199
|
}, {
|
|
217
|
-
readonly internalType: "address";
|
|
218
200
|
readonly name: "addr";
|
|
219
201
|
readonly type: "address";
|
|
220
|
-
}, {
|
|
221
202
|
readonly internalType: "address";
|
|
203
|
+
}, {
|
|
222
204
|
readonly name: "borrower";
|
|
223
205
|
readonly type: "address";
|
|
224
|
-
}, {
|
|
225
206
|
readonly internalType: "address";
|
|
207
|
+
}, {
|
|
226
208
|
readonly name: "creditManager";
|
|
227
209
|
readonly type: "address";
|
|
228
|
-
}, {
|
|
229
210
|
readonly internalType: "address";
|
|
211
|
+
}, {
|
|
212
|
+
readonly name: "cmName";
|
|
213
|
+
readonly type: "string";
|
|
214
|
+
readonly internalType: "string";
|
|
215
|
+
}, {
|
|
230
216
|
readonly name: "creditFacade";
|
|
231
217
|
readonly type: "address";
|
|
232
|
-
}, {
|
|
233
218
|
readonly internalType: "address";
|
|
219
|
+
}, {
|
|
234
220
|
readonly name: "underlying";
|
|
235
221
|
readonly type: "address";
|
|
222
|
+
readonly internalType: "address";
|
|
236
223
|
}, {
|
|
237
|
-
readonly internalType: "uint256";
|
|
238
224
|
readonly name: "debt";
|
|
239
225
|
readonly type: "uint256";
|
|
240
|
-
}, {
|
|
241
226
|
readonly internalType: "uint256";
|
|
242
|
-
readonly name: "cumulativeIndexNow";
|
|
243
|
-
readonly type: "uint256";
|
|
244
227
|
}, {
|
|
245
|
-
readonly internalType: "uint256";
|
|
246
228
|
readonly name: "cumulativeIndexLastUpdate";
|
|
247
229
|
readonly type: "uint256";
|
|
230
|
+
readonly internalType: "uint256";
|
|
248
231
|
}, {
|
|
249
|
-
readonly internalType: "uint128";
|
|
250
232
|
readonly name: "cumulativeQuotaInterest";
|
|
251
233
|
readonly type: "uint128";
|
|
234
|
+
readonly internalType: "uint128";
|
|
252
235
|
}, {
|
|
253
|
-
readonly internalType: "uint256";
|
|
254
236
|
readonly name: "accruedInterest";
|
|
255
237
|
readonly type: "uint256";
|
|
256
|
-
}, {
|
|
257
238
|
readonly internalType: "uint256";
|
|
239
|
+
}, {
|
|
258
240
|
readonly name: "accruedFees";
|
|
259
241
|
readonly type: "uint256";
|
|
260
|
-
}, {
|
|
261
242
|
readonly internalType: "uint256";
|
|
243
|
+
}, {
|
|
262
244
|
readonly name: "totalDebtUSD";
|
|
263
245
|
readonly type: "uint256";
|
|
264
|
-
}, {
|
|
265
246
|
readonly internalType: "uint256";
|
|
247
|
+
}, {
|
|
266
248
|
readonly name: "totalValue";
|
|
267
249
|
readonly type: "uint256";
|
|
268
|
-
}, {
|
|
269
250
|
readonly internalType: "uint256";
|
|
251
|
+
}, {
|
|
270
252
|
readonly name: "totalValueUSD";
|
|
271
253
|
readonly type: "uint256";
|
|
272
|
-
}, {
|
|
273
254
|
readonly internalType: "uint256";
|
|
255
|
+
}, {
|
|
274
256
|
readonly name: "twvUSD";
|
|
275
257
|
readonly type: "uint256";
|
|
276
|
-
}, {
|
|
277
258
|
readonly internalType: "uint256";
|
|
259
|
+
}, {
|
|
278
260
|
readonly name: "enabledTokensMask";
|
|
279
261
|
readonly type: "uint256";
|
|
280
|
-
}, {
|
|
281
262
|
readonly internalType: "uint256";
|
|
263
|
+
}, {
|
|
282
264
|
readonly name: "healthFactor";
|
|
283
265
|
readonly type: "uint256";
|
|
284
|
-
}, {
|
|
285
266
|
readonly internalType: "uint256";
|
|
267
|
+
}, {
|
|
286
268
|
readonly name: "baseBorrowRate";
|
|
287
269
|
readonly type: "uint256";
|
|
288
|
-
}, {
|
|
289
270
|
readonly internalType: "uint256";
|
|
271
|
+
}, {
|
|
290
272
|
readonly name: "aggregatedBorrowRate";
|
|
291
273
|
readonly type: "uint256";
|
|
274
|
+
readonly internalType: "uint256";
|
|
292
275
|
}, {
|
|
276
|
+
readonly name: "balances";
|
|
277
|
+
readonly type: "tuple[]";
|
|
278
|
+
readonly internalType: "struct TokenBalance[]";
|
|
293
279
|
readonly components: readonly [{
|
|
294
|
-
readonly internalType: "address";
|
|
295
280
|
readonly name: "token";
|
|
296
281
|
readonly type: "address";
|
|
282
|
+
readonly internalType: "address";
|
|
297
283
|
}, {
|
|
298
|
-
readonly internalType: "uint256";
|
|
299
284
|
readonly name: "balance";
|
|
300
285
|
readonly type: "uint256";
|
|
286
|
+
readonly internalType: "uint256";
|
|
301
287
|
}, {
|
|
302
|
-
readonly internalType: "bool";
|
|
303
288
|
readonly name: "isForbidden";
|
|
304
289
|
readonly type: "bool";
|
|
305
|
-
}, {
|
|
306
290
|
readonly internalType: "bool";
|
|
291
|
+
}, {
|
|
307
292
|
readonly name: "isEnabled";
|
|
308
293
|
readonly type: "bool";
|
|
309
|
-
}, {
|
|
310
294
|
readonly internalType: "bool";
|
|
295
|
+
}, {
|
|
311
296
|
readonly name: "isQuoted";
|
|
312
297
|
readonly type: "bool";
|
|
298
|
+
readonly internalType: "bool";
|
|
313
299
|
}, {
|
|
314
|
-
readonly internalType: "uint256";
|
|
315
300
|
readonly name: "quota";
|
|
316
301
|
readonly type: "uint256";
|
|
302
|
+
readonly internalType: "uint256";
|
|
317
303
|
}, {
|
|
318
|
-
readonly internalType: "uint16";
|
|
319
304
|
readonly name: "quotaRate";
|
|
320
305
|
readonly type: "uint16";
|
|
306
|
+
readonly internalType: "uint16";
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: "quotaCumulativeIndexLU";
|
|
309
|
+
readonly type: "uint256";
|
|
310
|
+
readonly internalType: "uint256";
|
|
321
311
|
}];
|
|
322
|
-
readonly internalType: "struct TokenBalance[]";
|
|
323
|
-
readonly name: "balances";
|
|
324
|
-
readonly type: "tuple[]";
|
|
325
312
|
}, {
|
|
326
|
-
readonly internalType: "uint64";
|
|
327
313
|
readonly name: "since";
|
|
328
314
|
readonly type: "uint64";
|
|
315
|
+
readonly internalType: "uint64";
|
|
329
316
|
}, {
|
|
330
|
-
readonly internalType: "uint256";
|
|
331
317
|
readonly name: "cfVersion";
|
|
332
318
|
readonly type: "uint256";
|
|
319
|
+
readonly internalType: "uint256";
|
|
333
320
|
}, {
|
|
334
|
-
readonly internalType: "uint40";
|
|
335
321
|
readonly name: "expirationDate";
|
|
336
322
|
readonly type: "uint40";
|
|
323
|
+
readonly internalType: "uint40";
|
|
337
324
|
}, {
|
|
338
|
-
readonly internalType: "address[]";
|
|
339
325
|
readonly name: "activeBots";
|
|
340
326
|
readonly type: "address[]";
|
|
341
|
-
|
|
342
|
-
readonly internalType: "uint256";
|
|
343
|
-
readonly name: "maxApprovedBots";
|
|
344
|
-
readonly type: "uint256";
|
|
345
|
-
}, {
|
|
346
|
-
readonly components: readonly [{
|
|
347
|
-
readonly internalType: "uint8";
|
|
348
|
-
readonly name: "tokenIndex";
|
|
349
|
-
readonly type: "uint8";
|
|
350
|
-
}, {
|
|
351
|
-
readonly internalType: "uint40";
|
|
352
|
-
readonly name: "maturity";
|
|
353
|
-
readonly type: "uint40";
|
|
354
|
-
}, {
|
|
355
|
-
readonly internalType: "address";
|
|
356
|
-
readonly name: "token";
|
|
357
|
-
readonly type: "address";
|
|
358
|
-
}, {
|
|
359
|
-
readonly internalType: "uint256";
|
|
360
|
-
readonly name: "amount";
|
|
361
|
-
readonly type: "uint256";
|
|
362
|
-
}];
|
|
363
|
-
readonly internalType: "struct ScheduledWithdrawal[2]";
|
|
364
|
-
readonly name: "schedultedWithdrawals";
|
|
365
|
-
readonly type: "tuple[2]";
|
|
327
|
+
readonly internalType: "address[]";
|
|
366
328
|
}];
|
|
367
|
-
readonly internalType: "struct CreditAccountData[]";
|
|
368
|
-
readonly name: "";
|
|
369
|
-
readonly type: "tuple[]";
|
|
370
329
|
}];
|
|
371
330
|
readonly stateMutability: "view";
|
|
372
|
-
readonly type: "function";
|
|
373
331
|
}, {
|
|
332
|
+
readonly type: "function";
|
|
333
|
+
readonly name: "getCreditManagerData";
|
|
374
334
|
readonly inputs: readonly [{
|
|
375
|
-
readonly internalType: "address";
|
|
376
335
|
readonly name: "_creditManager";
|
|
377
336
|
readonly type: "address";
|
|
337
|
+
readonly internalType: "address";
|
|
378
338
|
}];
|
|
379
|
-
readonly name: "getCreditManagerData";
|
|
380
339
|
readonly outputs: readonly [{
|
|
340
|
+
readonly name: "";
|
|
341
|
+
readonly type: "tuple";
|
|
342
|
+
readonly internalType: "struct CreditManagerData";
|
|
381
343
|
readonly components: readonly [{
|
|
382
|
-
readonly internalType: "address";
|
|
383
344
|
readonly name: "addr";
|
|
384
345
|
readonly type: "address";
|
|
346
|
+
readonly internalType: "address";
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "name";
|
|
349
|
+
readonly type: "string";
|
|
350
|
+
readonly internalType: "string";
|
|
385
351
|
}, {
|
|
386
|
-
readonly internalType: "uint256";
|
|
387
352
|
readonly name: "cfVersion";
|
|
388
353
|
readonly type: "uint256";
|
|
354
|
+
readonly internalType: "uint256";
|
|
389
355
|
}, {
|
|
390
|
-
readonly internalType: "address";
|
|
391
356
|
readonly name: "creditFacade";
|
|
392
357
|
readonly type: "address";
|
|
393
|
-
}, {
|
|
394
358
|
readonly internalType: "address";
|
|
359
|
+
}, {
|
|
395
360
|
readonly name: "creditConfigurator";
|
|
396
361
|
readonly type: "address";
|
|
397
|
-
}, {
|
|
398
362
|
readonly internalType: "address";
|
|
363
|
+
}, {
|
|
399
364
|
readonly name: "underlying";
|
|
400
365
|
readonly type: "address";
|
|
401
|
-
}, {
|
|
402
366
|
readonly internalType: "address";
|
|
367
|
+
}, {
|
|
403
368
|
readonly name: "pool";
|
|
404
369
|
readonly type: "address";
|
|
370
|
+
readonly internalType: "address";
|
|
405
371
|
}, {
|
|
406
|
-
readonly internalType: "uint256";
|
|
407
372
|
readonly name: "totalDebt";
|
|
408
373
|
readonly type: "uint256";
|
|
409
|
-
}, {
|
|
410
374
|
readonly internalType: "uint256";
|
|
375
|
+
}, {
|
|
411
376
|
readonly name: "totalDebtLimit";
|
|
412
377
|
readonly type: "uint256";
|
|
413
|
-
}, {
|
|
414
378
|
readonly internalType: "uint256";
|
|
379
|
+
}, {
|
|
415
380
|
readonly name: "baseBorrowRate";
|
|
416
381
|
readonly type: "uint256";
|
|
417
|
-
}, {
|
|
418
382
|
readonly internalType: "uint256";
|
|
383
|
+
}, {
|
|
419
384
|
readonly name: "minDebt";
|
|
420
385
|
readonly type: "uint256";
|
|
421
|
-
}, {
|
|
422
386
|
readonly internalType: "uint256";
|
|
387
|
+
}, {
|
|
423
388
|
readonly name: "maxDebt";
|
|
424
389
|
readonly type: "uint256";
|
|
425
|
-
}, {
|
|
426
390
|
readonly internalType: "uint256";
|
|
391
|
+
}, {
|
|
427
392
|
readonly name: "availableToBorrow";
|
|
428
393
|
readonly type: "uint256";
|
|
394
|
+
readonly internalType: "uint256";
|
|
429
395
|
}, {
|
|
430
|
-
readonly internalType: "address[]";
|
|
431
396
|
readonly name: "collateralTokens";
|
|
432
397
|
readonly type: "address[]";
|
|
398
|
+
readonly internalType: "address[]";
|
|
433
399
|
}, {
|
|
400
|
+
readonly name: "adapters";
|
|
401
|
+
readonly type: "tuple[]";
|
|
402
|
+
readonly internalType: "struct ContractAdapter[]";
|
|
434
403
|
readonly components: readonly [{
|
|
435
|
-
readonly internalType: "address";
|
|
436
404
|
readonly name: "targetContract";
|
|
437
405
|
readonly type: "address";
|
|
438
|
-
}, {
|
|
439
406
|
readonly internalType: "address";
|
|
407
|
+
}, {
|
|
440
408
|
readonly name: "adapter";
|
|
441
409
|
readonly type: "address";
|
|
410
|
+
readonly internalType: "address";
|
|
442
411
|
}];
|
|
443
|
-
readonly internalType: "struct ContractAdapter[]";
|
|
444
|
-
readonly name: "adapters";
|
|
445
|
-
readonly type: "tuple[]";
|
|
446
412
|
}, {
|
|
447
|
-
readonly internalType: "uint256[]";
|
|
448
413
|
readonly name: "liquidationThresholds";
|
|
449
414
|
readonly type: "uint256[]";
|
|
415
|
+
readonly internalType: "uint256[]";
|
|
450
416
|
}, {
|
|
451
|
-
readonly internalType: "bool";
|
|
452
417
|
readonly name: "isDegenMode";
|
|
453
418
|
readonly type: "bool";
|
|
419
|
+
readonly internalType: "bool";
|
|
454
420
|
}, {
|
|
455
|
-
readonly internalType: "address";
|
|
456
421
|
readonly name: "degenNFT";
|
|
457
422
|
readonly type: "address";
|
|
423
|
+
readonly internalType: "address";
|
|
458
424
|
}, {
|
|
459
|
-
readonly internalType: "uint256";
|
|
460
425
|
readonly name: "forbiddenTokenMask";
|
|
461
426
|
readonly type: "uint256";
|
|
427
|
+
readonly internalType: "uint256";
|
|
462
428
|
}, {
|
|
463
|
-
readonly internalType: "uint8";
|
|
464
429
|
readonly name: "maxEnabledTokensLength";
|
|
465
430
|
readonly type: "uint8";
|
|
431
|
+
readonly internalType: "uint8";
|
|
466
432
|
}, {
|
|
467
|
-
readonly internalType: "uint16";
|
|
468
433
|
readonly name: "feeInterest";
|
|
469
434
|
readonly type: "uint16";
|
|
470
|
-
}, {
|
|
471
435
|
readonly internalType: "uint16";
|
|
436
|
+
}, {
|
|
472
437
|
readonly name: "feeLiquidation";
|
|
473
438
|
readonly type: "uint16";
|
|
474
|
-
}, {
|
|
475
439
|
readonly internalType: "uint16";
|
|
440
|
+
}, {
|
|
476
441
|
readonly name: "liquidationDiscount";
|
|
477
442
|
readonly type: "uint16";
|
|
478
|
-
}, {
|
|
479
443
|
readonly internalType: "uint16";
|
|
444
|
+
}, {
|
|
480
445
|
readonly name: "feeLiquidationExpired";
|
|
481
446
|
readonly type: "uint16";
|
|
482
|
-
}, {
|
|
483
447
|
readonly internalType: "uint16";
|
|
448
|
+
}, {
|
|
484
449
|
readonly name: "liquidationDiscountExpired";
|
|
485
450
|
readonly type: "uint16";
|
|
451
|
+
readonly internalType: "uint16";
|
|
486
452
|
}, {
|
|
453
|
+
readonly name: "quotas";
|
|
454
|
+
readonly type: "tuple[]";
|
|
455
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
487
456
|
readonly components: readonly [{
|
|
488
|
-
readonly internalType: "address";
|
|
489
457
|
readonly name: "token";
|
|
490
458
|
readonly type: "address";
|
|
459
|
+
readonly internalType: "address";
|
|
491
460
|
}, {
|
|
492
|
-
readonly internalType: "uint16";
|
|
493
461
|
readonly name: "rate";
|
|
494
462
|
readonly type: "uint16";
|
|
495
|
-
}, {
|
|
496
463
|
readonly internalType: "uint16";
|
|
464
|
+
}, {
|
|
497
465
|
readonly name: "quotaIncreaseFee";
|
|
498
466
|
readonly type: "uint16";
|
|
467
|
+
readonly internalType: "uint16";
|
|
499
468
|
}, {
|
|
500
|
-
readonly internalType: "uint96";
|
|
501
469
|
readonly name: "totalQuoted";
|
|
502
470
|
readonly type: "uint96";
|
|
503
|
-
}, {
|
|
504
471
|
readonly internalType: "uint96";
|
|
472
|
+
}, {
|
|
505
473
|
readonly name: "limit";
|
|
506
474
|
readonly type: "uint96";
|
|
475
|
+
readonly internalType: "uint96";
|
|
507
476
|
}, {
|
|
508
|
-
readonly internalType: "bool";
|
|
509
477
|
readonly name: "isActive";
|
|
510
478
|
readonly type: "bool";
|
|
479
|
+
readonly internalType: "bool";
|
|
511
480
|
}];
|
|
512
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
513
|
-
readonly name: "quotas";
|
|
514
|
-
readonly type: "tuple[]";
|
|
515
481
|
}, {
|
|
482
|
+
readonly name: "lirm";
|
|
483
|
+
readonly type: "tuple";
|
|
484
|
+
readonly internalType: "struct LinearModel";
|
|
516
485
|
readonly components: readonly [{
|
|
517
|
-
readonly internalType: "address";
|
|
518
486
|
readonly name: "interestModel";
|
|
519
487
|
readonly type: "address";
|
|
488
|
+
readonly internalType: "address";
|
|
520
489
|
}, {
|
|
521
|
-
readonly internalType: "uint256";
|
|
522
490
|
readonly name: "version";
|
|
523
491
|
readonly type: "uint256";
|
|
492
|
+
readonly internalType: "uint256";
|
|
524
493
|
}, {
|
|
525
|
-
readonly internalType: "uint16";
|
|
526
494
|
readonly name: "U_1";
|
|
527
495
|
readonly type: "uint16";
|
|
528
|
-
}, {
|
|
529
496
|
readonly internalType: "uint16";
|
|
497
|
+
}, {
|
|
530
498
|
readonly name: "U_2";
|
|
531
499
|
readonly type: "uint16";
|
|
532
|
-
}, {
|
|
533
500
|
readonly internalType: "uint16";
|
|
501
|
+
}, {
|
|
534
502
|
readonly name: "R_base";
|
|
535
503
|
readonly type: "uint16";
|
|
536
|
-
}, {
|
|
537
504
|
readonly internalType: "uint16";
|
|
505
|
+
}, {
|
|
538
506
|
readonly name: "R_slope1";
|
|
539
507
|
readonly type: "uint16";
|
|
540
|
-
}, {
|
|
541
508
|
readonly internalType: "uint16";
|
|
509
|
+
}, {
|
|
542
510
|
readonly name: "R_slope2";
|
|
543
511
|
readonly type: "uint16";
|
|
544
|
-
}, {
|
|
545
512
|
readonly internalType: "uint16";
|
|
513
|
+
}, {
|
|
546
514
|
readonly name: "R_slope3";
|
|
547
515
|
readonly type: "uint16";
|
|
516
|
+
readonly internalType: "uint16";
|
|
548
517
|
}, {
|
|
549
|
-
readonly internalType: "bool";
|
|
550
518
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
551
519
|
readonly type: "bool";
|
|
520
|
+
readonly internalType: "bool";
|
|
552
521
|
}];
|
|
553
|
-
readonly internalType: "struct LinearModel";
|
|
554
|
-
readonly name: "lirm";
|
|
555
|
-
readonly type: "tuple";
|
|
556
522
|
}, {
|
|
557
|
-
readonly internalType: "bool";
|
|
558
523
|
readonly name: "isPaused";
|
|
559
524
|
readonly type: "bool";
|
|
525
|
+
readonly internalType: "bool";
|
|
560
526
|
}];
|
|
561
|
-
readonly internalType: "struct CreditManagerData";
|
|
562
|
-
readonly name: "";
|
|
563
|
-
readonly type: "tuple";
|
|
564
527
|
}];
|
|
565
528
|
readonly stateMutability: "view";
|
|
566
|
-
readonly type: "function";
|
|
567
529
|
}, {
|
|
568
|
-
readonly
|
|
530
|
+
readonly type: "function";
|
|
569
531
|
readonly name: "getCreditManagersV2List";
|
|
532
|
+
readonly inputs: readonly [];
|
|
570
533
|
readonly outputs: readonly [{
|
|
534
|
+
readonly name: "";
|
|
535
|
+
readonly type: "tuple[]";
|
|
536
|
+
readonly internalType: "struct CreditManagerData[]";
|
|
571
537
|
readonly components: readonly [{
|
|
572
|
-
readonly internalType: "address";
|
|
573
538
|
readonly name: "addr";
|
|
574
539
|
readonly type: "address";
|
|
540
|
+
readonly internalType: "address";
|
|
541
|
+
}, {
|
|
542
|
+
readonly name: "name";
|
|
543
|
+
readonly type: "string";
|
|
544
|
+
readonly internalType: "string";
|
|
575
545
|
}, {
|
|
576
|
-
readonly internalType: "uint256";
|
|
577
546
|
readonly name: "cfVersion";
|
|
578
547
|
readonly type: "uint256";
|
|
548
|
+
readonly internalType: "uint256";
|
|
579
549
|
}, {
|
|
580
|
-
readonly internalType: "address";
|
|
581
550
|
readonly name: "creditFacade";
|
|
582
551
|
readonly type: "address";
|
|
583
|
-
}, {
|
|
584
552
|
readonly internalType: "address";
|
|
553
|
+
}, {
|
|
585
554
|
readonly name: "creditConfigurator";
|
|
586
555
|
readonly type: "address";
|
|
587
|
-
}, {
|
|
588
556
|
readonly internalType: "address";
|
|
557
|
+
}, {
|
|
589
558
|
readonly name: "underlying";
|
|
590
559
|
readonly type: "address";
|
|
591
|
-
}, {
|
|
592
560
|
readonly internalType: "address";
|
|
561
|
+
}, {
|
|
593
562
|
readonly name: "pool";
|
|
594
563
|
readonly type: "address";
|
|
564
|
+
readonly internalType: "address";
|
|
595
565
|
}, {
|
|
596
|
-
readonly internalType: "uint256";
|
|
597
566
|
readonly name: "totalDebt";
|
|
598
567
|
readonly type: "uint256";
|
|
599
|
-
}, {
|
|
600
568
|
readonly internalType: "uint256";
|
|
569
|
+
}, {
|
|
601
570
|
readonly name: "totalDebtLimit";
|
|
602
571
|
readonly type: "uint256";
|
|
603
|
-
}, {
|
|
604
572
|
readonly internalType: "uint256";
|
|
573
|
+
}, {
|
|
605
574
|
readonly name: "baseBorrowRate";
|
|
606
575
|
readonly type: "uint256";
|
|
607
|
-
}, {
|
|
608
576
|
readonly internalType: "uint256";
|
|
577
|
+
}, {
|
|
609
578
|
readonly name: "minDebt";
|
|
610
579
|
readonly type: "uint256";
|
|
611
|
-
}, {
|
|
612
580
|
readonly internalType: "uint256";
|
|
581
|
+
}, {
|
|
613
582
|
readonly name: "maxDebt";
|
|
614
583
|
readonly type: "uint256";
|
|
615
|
-
}, {
|
|
616
584
|
readonly internalType: "uint256";
|
|
585
|
+
}, {
|
|
617
586
|
readonly name: "availableToBorrow";
|
|
618
587
|
readonly type: "uint256";
|
|
588
|
+
readonly internalType: "uint256";
|
|
619
589
|
}, {
|
|
620
|
-
readonly internalType: "address[]";
|
|
621
590
|
readonly name: "collateralTokens";
|
|
622
591
|
readonly type: "address[]";
|
|
592
|
+
readonly internalType: "address[]";
|
|
623
593
|
}, {
|
|
594
|
+
readonly name: "adapters";
|
|
595
|
+
readonly type: "tuple[]";
|
|
596
|
+
readonly internalType: "struct ContractAdapter[]";
|
|
624
597
|
readonly components: readonly [{
|
|
625
|
-
readonly internalType: "address";
|
|
626
598
|
readonly name: "targetContract";
|
|
627
599
|
readonly type: "address";
|
|
628
|
-
}, {
|
|
629
600
|
readonly internalType: "address";
|
|
601
|
+
}, {
|
|
630
602
|
readonly name: "adapter";
|
|
631
603
|
readonly type: "address";
|
|
604
|
+
readonly internalType: "address";
|
|
632
605
|
}];
|
|
633
|
-
readonly internalType: "struct ContractAdapter[]";
|
|
634
|
-
readonly name: "adapters";
|
|
635
|
-
readonly type: "tuple[]";
|
|
636
606
|
}, {
|
|
637
|
-
readonly internalType: "uint256[]";
|
|
638
607
|
readonly name: "liquidationThresholds";
|
|
639
608
|
readonly type: "uint256[]";
|
|
609
|
+
readonly internalType: "uint256[]";
|
|
640
610
|
}, {
|
|
641
|
-
readonly internalType: "bool";
|
|
642
611
|
readonly name: "isDegenMode";
|
|
643
612
|
readonly type: "bool";
|
|
613
|
+
readonly internalType: "bool";
|
|
644
614
|
}, {
|
|
645
|
-
readonly internalType: "address";
|
|
646
615
|
readonly name: "degenNFT";
|
|
647
616
|
readonly type: "address";
|
|
617
|
+
readonly internalType: "address";
|
|
648
618
|
}, {
|
|
649
|
-
readonly internalType: "uint256";
|
|
650
619
|
readonly name: "forbiddenTokenMask";
|
|
651
620
|
readonly type: "uint256";
|
|
621
|
+
readonly internalType: "uint256";
|
|
652
622
|
}, {
|
|
653
|
-
readonly internalType: "uint8";
|
|
654
623
|
readonly name: "maxEnabledTokensLength";
|
|
655
624
|
readonly type: "uint8";
|
|
625
|
+
readonly internalType: "uint8";
|
|
656
626
|
}, {
|
|
657
|
-
readonly internalType: "uint16";
|
|
658
627
|
readonly name: "feeInterest";
|
|
659
628
|
readonly type: "uint16";
|
|
660
|
-
}, {
|
|
661
629
|
readonly internalType: "uint16";
|
|
630
|
+
}, {
|
|
662
631
|
readonly name: "feeLiquidation";
|
|
663
632
|
readonly type: "uint16";
|
|
664
|
-
}, {
|
|
665
633
|
readonly internalType: "uint16";
|
|
634
|
+
}, {
|
|
666
635
|
readonly name: "liquidationDiscount";
|
|
667
636
|
readonly type: "uint16";
|
|
668
|
-
}, {
|
|
669
637
|
readonly internalType: "uint16";
|
|
638
|
+
}, {
|
|
670
639
|
readonly name: "feeLiquidationExpired";
|
|
671
640
|
readonly type: "uint16";
|
|
672
|
-
}, {
|
|
673
641
|
readonly internalType: "uint16";
|
|
642
|
+
}, {
|
|
674
643
|
readonly name: "liquidationDiscountExpired";
|
|
675
644
|
readonly type: "uint16";
|
|
645
|
+
readonly internalType: "uint16";
|
|
676
646
|
}, {
|
|
647
|
+
readonly name: "quotas";
|
|
648
|
+
readonly type: "tuple[]";
|
|
649
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
677
650
|
readonly components: readonly [{
|
|
678
|
-
readonly internalType: "address";
|
|
679
651
|
readonly name: "token";
|
|
680
652
|
readonly type: "address";
|
|
653
|
+
readonly internalType: "address";
|
|
681
654
|
}, {
|
|
682
|
-
readonly internalType: "uint16";
|
|
683
655
|
readonly name: "rate";
|
|
684
656
|
readonly type: "uint16";
|
|
685
|
-
}, {
|
|
686
657
|
readonly internalType: "uint16";
|
|
658
|
+
}, {
|
|
687
659
|
readonly name: "quotaIncreaseFee";
|
|
688
660
|
readonly type: "uint16";
|
|
661
|
+
readonly internalType: "uint16";
|
|
689
662
|
}, {
|
|
690
|
-
readonly internalType: "uint96";
|
|
691
663
|
readonly name: "totalQuoted";
|
|
692
664
|
readonly type: "uint96";
|
|
693
|
-
}, {
|
|
694
665
|
readonly internalType: "uint96";
|
|
666
|
+
}, {
|
|
695
667
|
readonly name: "limit";
|
|
696
668
|
readonly type: "uint96";
|
|
669
|
+
readonly internalType: "uint96";
|
|
697
670
|
}, {
|
|
698
|
-
readonly internalType: "bool";
|
|
699
671
|
readonly name: "isActive";
|
|
700
672
|
readonly type: "bool";
|
|
673
|
+
readonly internalType: "bool";
|
|
701
674
|
}];
|
|
702
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
703
|
-
readonly name: "quotas";
|
|
704
|
-
readonly type: "tuple[]";
|
|
705
675
|
}, {
|
|
676
|
+
readonly name: "lirm";
|
|
677
|
+
readonly type: "tuple";
|
|
678
|
+
readonly internalType: "struct LinearModel";
|
|
706
679
|
readonly components: readonly [{
|
|
707
|
-
readonly internalType: "address";
|
|
708
680
|
readonly name: "interestModel";
|
|
709
681
|
readonly type: "address";
|
|
682
|
+
readonly internalType: "address";
|
|
710
683
|
}, {
|
|
711
|
-
readonly internalType: "uint256";
|
|
712
684
|
readonly name: "version";
|
|
713
685
|
readonly type: "uint256";
|
|
686
|
+
readonly internalType: "uint256";
|
|
714
687
|
}, {
|
|
715
|
-
readonly internalType: "uint16";
|
|
716
688
|
readonly name: "U_1";
|
|
717
689
|
readonly type: "uint16";
|
|
718
|
-
}, {
|
|
719
690
|
readonly internalType: "uint16";
|
|
691
|
+
}, {
|
|
720
692
|
readonly name: "U_2";
|
|
721
693
|
readonly type: "uint16";
|
|
722
|
-
}, {
|
|
723
694
|
readonly internalType: "uint16";
|
|
695
|
+
}, {
|
|
724
696
|
readonly name: "R_base";
|
|
725
697
|
readonly type: "uint16";
|
|
726
|
-
}, {
|
|
727
698
|
readonly internalType: "uint16";
|
|
699
|
+
}, {
|
|
728
700
|
readonly name: "R_slope1";
|
|
729
701
|
readonly type: "uint16";
|
|
730
|
-
}, {
|
|
731
702
|
readonly internalType: "uint16";
|
|
703
|
+
}, {
|
|
732
704
|
readonly name: "R_slope2";
|
|
733
705
|
readonly type: "uint16";
|
|
734
|
-
}, {
|
|
735
706
|
readonly internalType: "uint16";
|
|
707
|
+
}, {
|
|
736
708
|
readonly name: "R_slope3";
|
|
737
709
|
readonly type: "uint16";
|
|
710
|
+
readonly internalType: "uint16";
|
|
738
711
|
}, {
|
|
739
|
-
readonly internalType: "bool";
|
|
740
712
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
741
713
|
readonly type: "bool";
|
|
714
|
+
readonly internalType: "bool";
|
|
742
715
|
}];
|
|
743
|
-
readonly internalType: "struct LinearModel";
|
|
744
|
-
readonly name: "lirm";
|
|
745
|
-
readonly type: "tuple";
|
|
746
716
|
}, {
|
|
747
|
-
readonly internalType: "bool";
|
|
748
717
|
readonly name: "isPaused";
|
|
749
718
|
readonly type: "bool";
|
|
719
|
+
readonly internalType: "bool";
|
|
750
720
|
}];
|
|
751
|
-
readonly internalType: "struct CreditManagerData[]";
|
|
752
|
-
readonly name: "";
|
|
753
|
-
readonly type: "tuple[]";
|
|
754
721
|
}];
|
|
755
722
|
readonly stateMutability: "view";
|
|
756
|
-
readonly type: "function";
|
|
757
723
|
}, {
|
|
724
|
+
readonly type: "function";
|
|
725
|
+
readonly name: "getPoolData";
|
|
758
726
|
readonly inputs: readonly [{
|
|
759
|
-
readonly internalType: "address";
|
|
760
727
|
readonly name: "_pool";
|
|
761
728
|
readonly type: "address";
|
|
729
|
+
readonly internalType: "address";
|
|
762
730
|
}];
|
|
763
|
-
readonly name: "getPoolData";
|
|
764
731
|
readonly outputs: readonly [{
|
|
732
|
+
readonly name: "";
|
|
733
|
+
readonly type: "tuple";
|
|
734
|
+
readonly internalType: "struct PoolData";
|
|
765
735
|
readonly components: readonly [{
|
|
766
|
-
readonly internalType: "address";
|
|
767
736
|
readonly name: "addr";
|
|
768
737
|
readonly type: "address";
|
|
769
|
-
}, {
|
|
770
738
|
readonly internalType: "address";
|
|
739
|
+
}, {
|
|
771
740
|
readonly name: "underlying";
|
|
772
741
|
readonly type: "address";
|
|
773
|
-
}, {
|
|
774
742
|
readonly internalType: "address";
|
|
743
|
+
}, {
|
|
775
744
|
readonly name: "dieselToken";
|
|
776
745
|
readonly type: "address";
|
|
746
|
+
readonly internalType: "address";
|
|
777
747
|
}, {
|
|
778
|
-
readonly
|
|
779
|
-
readonly
|
|
780
|
-
readonly
|
|
748
|
+
readonly name: "symbol";
|
|
749
|
+
readonly type: "string";
|
|
750
|
+
readonly internalType: "string";
|
|
781
751
|
}, {
|
|
752
|
+
readonly name: "name";
|
|
753
|
+
readonly type: "string";
|
|
754
|
+
readonly internalType: "string";
|
|
755
|
+
}, {
|
|
756
|
+
readonly name: "baseInterestIndex";
|
|
757
|
+
readonly type: "uint256";
|
|
782
758
|
readonly internalType: "uint256";
|
|
759
|
+
}, {
|
|
783
760
|
readonly name: "availableLiquidity";
|
|
784
761
|
readonly type: "uint256";
|
|
785
|
-
}, {
|
|
786
762
|
readonly internalType: "uint256";
|
|
763
|
+
}, {
|
|
787
764
|
readonly name: "expectedLiquidity";
|
|
788
765
|
readonly type: "uint256";
|
|
789
|
-
}, {
|
|
790
766
|
readonly internalType: "uint256";
|
|
767
|
+
}, {
|
|
791
768
|
readonly name: "totalBorrowed";
|
|
792
769
|
readonly type: "uint256";
|
|
793
|
-
}, {
|
|
794
770
|
readonly internalType: "uint256";
|
|
771
|
+
}, {
|
|
795
772
|
readonly name: "totalDebtLimit";
|
|
796
773
|
readonly type: "uint256";
|
|
774
|
+
readonly internalType: "uint256";
|
|
797
775
|
}, {
|
|
776
|
+
readonly name: "creditManagerDebtParams";
|
|
777
|
+
readonly type: "tuple[]";
|
|
778
|
+
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
798
779
|
readonly components: readonly [{
|
|
799
|
-
readonly internalType: "address";
|
|
800
780
|
readonly name: "creditManager";
|
|
801
781
|
readonly type: "address";
|
|
782
|
+
readonly internalType: "address";
|
|
802
783
|
}, {
|
|
803
|
-
readonly internalType: "uint256";
|
|
804
784
|
readonly name: "borrowed";
|
|
805
785
|
readonly type: "uint256";
|
|
806
|
-
}, {
|
|
807
786
|
readonly internalType: "uint256";
|
|
787
|
+
}, {
|
|
808
788
|
readonly name: "limit";
|
|
809
789
|
readonly type: "uint256";
|
|
810
|
-
}, {
|
|
811
790
|
readonly internalType: "uint256";
|
|
791
|
+
}, {
|
|
812
792
|
readonly name: "availableToBorrow";
|
|
813
793
|
readonly type: "uint256";
|
|
794
|
+
readonly internalType: "uint256";
|
|
814
795
|
}];
|
|
815
|
-
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
816
|
-
readonly name: "creditManagerDebtParams";
|
|
817
|
-
readonly type: "tuple[]";
|
|
818
796
|
}, {
|
|
819
|
-
readonly internalType: "uint256";
|
|
820
797
|
readonly name: "totalAssets";
|
|
821
798
|
readonly type: "uint256";
|
|
822
|
-
}, {
|
|
823
799
|
readonly internalType: "uint256";
|
|
800
|
+
}, {
|
|
824
801
|
readonly name: "totalSupply";
|
|
825
802
|
readonly type: "uint256";
|
|
826
|
-
}, {
|
|
827
803
|
readonly internalType: "uint256";
|
|
804
|
+
}, {
|
|
828
805
|
readonly name: "supplyRate";
|
|
829
806
|
readonly type: "uint256";
|
|
830
|
-
}, {
|
|
831
807
|
readonly internalType: "uint256";
|
|
808
|
+
}, {
|
|
832
809
|
readonly name: "baseInterestRate";
|
|
833
810
|
readonly type: "uint256";
|
|
834
|
-
}, {
|
|
835
811
|
readonly internalType: "uint256";
|
|
812
|
+
}, {
|
|
836
813
|
readonly name: "dieselRate_RAY";
|
|
837
814
|
readonly type: "uint256";
|
|
838
|
-
}, {
|
|
839
815
|
readonly internalType: "uint256";
|
|
816
|
+
}, {
|
|
840
817
|
readonly name: "withdrawFee";
|
|
841
818
|
readonly type: "uint256";
|
|
842
|
-
}, {
|
|
843
819
|
readonly internalType: "uint256";
|
|
844
|
-
readonly name: "cumulativeIndex_RAY";
|
|
845
|
-
readonly type: "uint256";
|
|
846
820
|
}, {
|
|
821
|
+
readonly name: "lastBaseInterestUpdate";
|
|
822
|
+
readonly type: "uint256";
|
|
847
823
|
readonly internalType: "uint256";
|
|
824
|
+
}, {
|
|
848
825
|
readonly name: "baseInterestIndexLU";
|
|
849
826
|
readonly type: "uint256";
|
|
850
|
-
}, {
|
|
851
827
|
readonly internalType: "uint256";
|
|
828
|
+
}, {
|
|
852
829
|
readonly name: "version";
|
|
853
830
|
readonly type: "uint256";
|
|
831
|
+
readonly internalType: "uint256";
|
|
854
832
|
}, {
|
|
855
|
-
readonly internalType: "address";
|
|
856
833
|
readonly name: "poolQuotaKeeper";
|
|
857
834
|
readonly type: "address";
|
|
858
|
-
}, {
|
|
859
835
|
readonly internalType: "address";
|
|
836
|
+
}, {
|
|
860
837
|
readonly name: "gauge";
|
|
861
838
|
readonly type: "address";
|
|
839
|
+
readonly internalType: "address";
|
|
862
840
|
}, {
|
|
841
|
+
readonly name: "quotas";
|
|
842
|
+
readonly type: "tuple[]";
|
|
843
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
863
844
|
readonly components: readonly [{
|
|
864
|
-
readonly internalType: "address";
|
|
865
845
|
readonly name: "token";
|
|
866
846
|
readonly type: "address";
|
|
847
|
+
readonly internalType: "address";
|
|
867
848
|
}, {
|
|
868
|
-
readonly internalType: "uint16";
|
|
869
849
|
readonly name: "rate";
|
|
870
850
|
readonly type: "uint16";
|
|
871
|
-
}, {
|
|
872
851
|
readonly internalType: "uint16";
|
|
852
|
+
}, {
|
|
873
853
|
readonly name: "quotaIncreaseFee";
|
|
874
854
|
readonly type: "uint16";
|
|
855
|
+
readonly internalType: "uint16";
|
|
875
856
|
}, {
|
|
876
|
-
readonly internalType: "uint96";
|
|
877
857
|
readonly name: "totalQuoted";
|
|
878
858
|
readonly type: "uint96";
|
|
879
|
-
}, {
|
|
880
859
|
readonly internalType: "uint96";
|
|
860
|
+
}, {
|
|
881
861
|
readonly name: "limit";
|
|
882
862
|
readonly type: "uint96";
|
|
863
|
+
readonly internalType: "uint96";
|
|
883
864
|
}, {
|
|
884
|
-
readonly internalType: "bool";
|
|
885
865
|
readonly name: "isActive";
|
|
886
866
|
readonly type: "bool";
|
|
867
|
+
readonly internalType: "bool";
|
|
887
868
|
}];
|
|
888
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
889
|
-
readonly name: "quotas";
|
|
890
|
-
readonly type: "tuple[]";
|
|
891
869
|
}, {
|
|
870
|
+
readonly name: "zappers";
|
|
871
|
+
readonly type: "tuple[]";
|
|
872
|
+
readonly internalType: "struct ZapperInfo[]";
|
|
892
873
|
readonly components: readonly [{
|
|
893
|
-
readonly
|
|
894
|
-
readonly name: "tokenFrom";
|
|
874
|
+
readonly name: "zapper";
|
|
895
875
|
readonly type: "address";
|
|
876
|
+
readonly internalType: "address";
|
|
896
877
|
}, {
|
|
878
|
+
readonly name: "tokenIn";
|
|
879
|
+
readonly type: "address";
|
|
897
880
|
readonly internalType: "address";
|
|
898
|
-
|
|
881
|
+
}, {
|
|
882
|
+
readonly name: "tokenOut";
|
|
899
883
|
readonly type: "address";
|
|
884
|
+
readonly internalType: "address";
|
|
900
885
|
}];
|
|
901
|
-
readonly internalType: "struct ZapperInfo[]";
|
|
902
|
-
readonly name: "zappers";
|
|
903
|
-
readonly type: "tuple[]";
|
|
904
886
|
}, {
|
|
887
|
+
readonly name: "lirm";
|
|
888
|
+
readonly type: "tuple";
|
|
889
|
+
readonly internalType: "struct LinearModel";
|
|
905
890
|
readonly components: readonly [{
|
|
906
|
-
readonly internalType: "address";
|
|
907
891
|
readonly name: "interestModel";
|
|
908
892
|
readonly type: "address";
|
|
893
|
+
readonly internalType: "address";
|
|
909
894
|
}, {
|
|
910
|
-
readonly internalType: "uint256";
|
|
911
895
|
readonly name: "version";
|
|
912
896
|
readonly type: "uint256";
|
|
897
|
+
readonly internalType: "uint256";
|
|
913
898
|
}, {
|
|
914
|
-
readonly internalType: "uint16";
|
|
915
899
|
readonly name: "U_1";
|
|
916
900
|
readonly type: "uint16";
|
|
917
|
-
}, {
|
|
918
901
|
readonly internalType: "uint16";
|
|
902
|
+
}, {
|
|
919
903
|
readonly name: "U_2";
|
|
920
904
|
readonly type: "uint16";
|
|
921
|
-
}, {
|
|
922
905
|
readonly internalType: "uint16";
|
|
906
|
+
}, {
|
|
923
907
|
readonly name: "R_base";
|
|
924
908
|
readonly type: "uint16";
|
|
925
|
-
}, {
|
|
926
909
|
readonly internalType: "uint16";
|
|
910
|
+
}, {
|
|
927
911
|
readonly name: "R_slope1";
|
|
928
912
|
readonly type: "uint16";
|
|
929
|
-
}, {
|
|
930
913
|
readonly internalType: "uint16";
|
|
914
|
+
}, {
|
|
931
915
|
readonly name: "R_slope2";
|
|
932
916
|
readonly type: "uint16";
|
|
933
|
-
}, {
|
|
934
917
|
readonly internalType: "uint16";
|
|
918
|
+
}, {
|
|
935
919
|
readonly name: "R_slope3";
|
|
936
920
|
readonly type: "uint16";
|
|
921
|
+
readonly internalType: "uint16";
|
|
937
922
|
}, {
|
|
938
|
-
readonly internalType: "bool";
|
|
939
923
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
940
924
|
readonly type: "bool";
|
|
925
|
+
readonly internalType: "bool";
|
|
941
926
|
}];
|
|
942
|
-
readonly internalType: "struct LinearModel";
|
|
943
|
-
readonly name: "lirm";
|
|
944
|
-
readonly type: "tuple";
|
|
945
927
|
}, {
|
|
946
|
-
readonly internalType: "bool";
|
|
947
928
|
readonly name: "isPaused";
|
|
948
929
|
readonly type: "bool";
|
|
930
|
+
readonly internalType: "bool";
|
|
949
931
|
}];
|
|
950
|
-
readonly internalType: "struct PoolData";
|
|
951
|
-
readonly name: "";
|
|
952
|
-
readonly type: "tuple";
|
|
953
932
|
}];
|
|
954
933
|
readonly stateMutability: "view";
|
|
955
|
-
readonly type: "function";
|
|
956
934
|
}, {
|
|
957
|
-
readonly
|
|
935
|
+
readonly type: "function";
|
|
958
936
|
readonly name: "getPoolsV1List";
|
|
937
|
+
readonly inputs: readonly [];
|
|
959
938
|
readonly outputs: readonly [{
|
|
939
|
+
readonly name: "";
|
|
940
|
+
readonly type: "tuple[]";
|
|
941
|
+
readonly internalType: "struct PoolData[]";
|
|
960
942
|
readonly components: readonly [{
|
|
961
|
-
readonly internalType: "address";
|
|
962
943
|
readonly name: "addr";
|
|
963
944
|
readonly type: "address";
|
|
964
|
-
}, {
|
|
965
945
|
readonly internalType: "address";
|
|
946
|
+
}, {
|
|
966
947
|
readonly name: "underlying";
|
|
967
948
|
readonly type: "address";
|
|
968
|
-
}, {
|
|
969
949
|
readonly internalType: "address";
|
|
950
|
+
}, {
|
|
970
951
|
readonly name: "dieselToken";
|
|
971
952
|
readonly type: "address";
|
|
953
|
+
readonly internalType: "address";
|
|
972
954
|
}, {
|
|
973
|
-
readonly
|
|
974
|
-
readonly
|
|
975
|
-
readonly
|
|
955
|
+
readonly name: "symbol";
|
|
956
|
+
readonly type: "string";
|
|
957
|
+
readonly internalType: "string";
|
|
958
|
+
}, {
|
|
959
|
+
readonly name: "name";
|
|
960
|
+
readonly type: "string";
|
|
961
|
+
readonly internalType: "string";
|
|
976
962
|
}, {
|
|
963
|
+
readonly name: "baseInterestIndex";
|
|
964
|
+
readonly type: "uint256";
|
|
977
965
|
readonly internalType: "uint256";
|
|
966
|
+
}, {
|
|
978
967
|
readonly name: "availableLiquidity";
|
|
979
968
|
readonly type: "uint256";
|
|
980
|
-
}, {
|
|
981
969
|
readonly internalType: "uint256";
|
|
970
|
+
}, {
|
|
982
971
|
readonly name: "expectedLiquidity";
|
|
983
972
|
readonly type: "uint256";
|
|
984
|
-
}, {
|
|
985
973
|
readonly internalType: "uint256";
|
|
974
|
+
}, {
|
|
986
975
|
readonly name: "totalBorrowed";
|
|
987
976
|
readonly type: "uint256";
|
|
988
|
-
}, {
|
|
989
977
|
readonly internalType: "uint256";
|
|
978
|
+
}, {
|
|
990
979
|
readonly name: "totalDebtLimit";
|
|
991
980
|
readonly type: "uint256";
|
|
981
|
+
readonly internalType: "uint256";
|
|
992
982
|
}, {
|
|
983
|
+
readonly name: "creditManagerDebtParams";
|
|
984
|
+
readonly type: "tuple[]";
|
|
985
|
+
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
993
986
|
readonly components: readonly [{
|
|
994
|
-
readonly internalType: "address";
|
|
995
987
|
readonly name: "creditManager";
|
|
996
988
|
readonly type: "address";
|
|
989
|
+
readonly internalType: "address";
|
|
997
990
|
}, {
|
|
998
|
-
readonly internalType: "uint256";
|
|
999
991
|
readonly name: "borrowed";
|
|
1000
992
|
readonly type: "uint256";
|
|
1001
|
-
}, {
|
|
1002
993
|
readonly internalType: "uint256";
|
|
994
|
+
}, {
|
|
1003
995
|
readonly name: "limit";
|
|
1004
996
|
readonly type: "uint256";
|
|
1005
|
-
}, {
|
|
1006
997
|
readonly internalType: "uint256";
|
|
998
|
+
}, {
|
|
1007
999
|
readonly name: "availableToBorrow";
|
|
1008
1000
|
readonly type: "uint256";
|
|
1001
|
+
readonly internalType: "uint256";
|
|
1009
1002
|
}];
|
|
1010
|
-
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
1011
|
-
readonly name: "creditManagerDebtParams";
|
|
1012
|
-
readonly type: "tuple[]";
|
|
1013
1003
|
}, {
|
|
1014
|
-
readonly internalType: "uint256";
|
|
1015
1004
|
readonly name: "totalAssets";
|
|
1016
1005
|
readonly type: "uint256";
|
|
1017
|
-
}, {
|
|
1018
1006
|
readonly internalType: "uint256";
|
|
1007
|
+
}, {
|
|
1019
1008
|
readonly name: "totalSupply";
|
|
1020
1009
|
readonly type: "uint256";
|
|
1021
|
-
}, {
|
|
1022
1010
|
readonly internalType: "uint256";
|
|
1011
|
+
}, {
|
|
1023
1012
|
readonly name: "supplyRate";
|
|
1024
1013
|
readonly type: "uint256";
|
|
1025
|
-
}, {
|
|
1026
1014
|
readonly internalType: "uint256";
|
|
1015
|
+
}, {
|
|
1027
1016
|
readonly name: "baseInterestRate";
|
|
1028
1017
|
readonly type: "uint256";
|
|
1029
|
-
}, {
|
|
1030
1018
|
readonly internalType: "uint256";
|
|
1019
|
+
}, {
|
|
1031
1020
|
readonly name: "dieselRate_RAY";
|
|
1032
1021
|
readonly type: "uint256";
|
|
1033
|
-
}, {
|
|
1034
1022
|
readonly internalType: "uint256";
|
|
1023
|
+
}, {
|
|
1035
1024
|
readonly name: "withdrawFee";
|
|
1036
1025
|
readonly type: "uint256";
|
|
1037
|
-
}, {
|
|
1038
1026
|
readonly internalType: "uint256";
|
|
1039
|
-
readonly name: "cumulativeIndex_RAY";
|
|
1040
|
-
readonly type: "uint256";
|
|
1041
1027
|
}, {
|
|
1028
|
+
readonly name: "lastBaseInterestUpdate";
|
|
1029
|
+
readonly type: "uint256";
|
|
1042
1030
|
readonly internalType: "uint256";
|
|
1031
|
+
}, {
|
|
1043
1032
|
readonly name: "baseInterestIndexLU";
|
|
1044
1033
|
readonly type: "uint256";
|
|
1045
|
-
}, {
|
|
1046
1034
|
readonly internalType: "uint256";
|
|
1035
|
+
}, {
|
|
1047
1036
|
readonly name: "version";
|
|
1048
1037
|
readonly type: "uint256";
|
|
1038
|
+
readonly internalType: "uint256";
|
|
1049
1039
|
}, {
|
|
1050
|
-
readonly internalType: "address";
|
|
1051
1040
|
readonly name: "poolQuotaKeeper";
|
|
1052
1041
|
readonly type: "address";
|
|
1053
|
-
}, {
|
|
1054
1042
|
readonly internalType: "address";
|
|
1043
|
+
}, {
|
|
1055
1044
|
readonly name: "gauge";
|
|
1056
1045
|
readonly type: "address";
|
|
1046
|
+
readonly internalType: "address";
|
|
1057
1047
|
}, {
|
|
1048
|
+
readonly name: "quotas";
|
|
1049
|
+
readonly type: "tuple[]";
|
|
1050
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
1058
1051
|
readonly components: readonly [{
|
|
1059
|
-
readonly internalType: "address";
|
|
1060
1052
|
readonly name: "token";
|
|
1061
1053
|
readonly type: "address";
|
|
1054
|
+
readonly internalType: "address";
|
|
1062
1055
|
}, {
|
|
1063
|
-
readonly internalType: "uint16";
|
|
1064
1056
|
readonly name: "rate";
|
|
1065
1057
|
readonly type: "uint16";
|
|
1066
|
-
}, {
|
|
1067
1058
|
readonly internalType: "uint16";
|
|
1059
|
+
}, {
|
|
1068
1060
|
readonly name: "quotaIncreaseFee";
|
|
1069
1061
|
readonly type: "uint16";
|
|
1062
|
+
readonly internalType: "uint16";
|
|
1070
1063
|
}, {
|
|
1071
|
-
readonly internalType: "uint96";
|
|
1072
1064
|
readonly name: "totalQuoted";
|
|
1073
1065
|
readonly type: "uint96";
|
|
1074
|
-
}, {
|
|
1075
1066
|
readonly internalType: "uint96";
|
|
1067
|
+
}, {
|
|
1076
1068
|
readonly name: "limit";
|
|
1077
1069
|
readonly type: "uint96";
|
|
1070
|
+
readonly internalType: "uint96";
|
|
1078
1071
|
}, {
|
|
1079
|
-
readonly internalType: "bool";
|
|
1080
1072
|
readonly name: "isActive";
|
|
1081
1073
|
readonly type: "bool";
|
|
1074
|
+
readonly internalType: "bool";
|
|
1082
1075
|
}];
|
|
1083
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
1084
|
-
readonly name: "quotas";
|
|
1085
|
-
readonly type: "tuple[]";
|
|
1086
1076
|
}, {
|
|
1077
|
+
readonly name: "zappers";
|
|
1078
|
+
readonly type: "tuple[]";
|
|
1079
|
+
readonly internalType: "struct ZapperInfo[]";
|
|
1087
1080
|
readonly components: readonly [{
|
|
1088
|
-
readonly
|
|
1089
|
-
readonly name: "tokenFrom";
|
|
1081
|
+
readonly name: "zapper";
|
|
1090
1082
|
readonly type: "address";
|
|
1083
|
+
readonly internalType: "address";
|
|
1091
1084
|
}, {
|
|
1085
|
+
readonly name: "tokenIn";
|
|
1086
|
+
readonly type: "address";
|
|
1092
1087
|
readonly internalType: "address";
|
|
1093
|
-
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly name: "tokenOut";
|
|
1094
1090
|
readonly type: "address";
|
|
1091
|
+
readonly internalType: "address";
|
|
1095
1092
|
}];
|
|
1096
|
-
readonly internalType: "struct ZapperInfo[]";
|
|
1097
|
-
readonly name: "zappers";
|
|
1098
|
-
readonly type: "tuple[]";
|
|
1099
1093
|
}, {
|
|
1094
|
+
readonly name: "lirm";
|
|
1095
|
+
readonly type: "tuple";
|
|
1096
|
+
readonly internalType: "struct LinearModel";
|
|
1100
1097
|
readonly components: readonly [{
|
|
1101
|
-
readonly internalType: "address";
|
|
1102
1098
|
readonly name: "interestModel";
|
|
1103
1099
|
readonly type: "address";
|
|
1100
|
+
readonly internalType: "address";
|
|
1104
1101
|
}, {
|
|
1105
|
-
readonly internalType: "uint256";
|
|
1106
1102
|
readonly name: "version";
|
|
1107
1103
|
readonly type: "uint256";
|
|
1104
|
+
readonly internalType: "uint256";
|
|
1108
1105
|
}, {
|
|
1109
|
-
readonly internalType: "uint16";
|
|
1110
1106
|
readonly name: "U_1";
|
|
1111
1107
|
readonly type: "uint16";
|
|
1112
|
-
}, {
|
|
1113
1108
|
readonly internalType: "uint16";
|
|
1109
|
+
}, {
|
|
1114
1110
|
readonly name: "U_2";
|
|
1115
1111
|
readonly type: "uint16";
|
|
1116
|
-
}, {
|
|
1117
1112
|
readonly internalType: "uint16";
|
|
1113
|
+
}, {
|
|
1118
1114
|
readonly name: "R_base";
|
|
1119
1115
|
readonly type: "uint16";
|
|
1120
|
-
}, {
|
|
1121
1116
|
readonly internalType: "uint16";
|
|
1117
|
+
}, {
|
|
1122
1118
|
readonly name: "R_slope1";
|
|
1123
1119
|
readonly type: "uint16";
|
|
1124
|
-
}, {
|
|
1125
1120
|
readonly internalType: "uint16";
|
|
1121
|
+
}, {
|
|
1126
1122
|
readonly name: "R_slope2";
|
|
1127
1123
|
readonly type: "uint16";
|
|
1128
|
-
}, {
|
|
1129
1124
|
readonly internalType: "uint16";
|
|
1125
|
+
}, {
|
|
1130
1126
|
readonly name: "R_slope3";
|
|
1131
1127
|
readonly type: "uint16";
|
|
1128
|
+
readonly internalType: "uint16";
|
|
1132
1129
|
}, {
|
|
1133
|
-
readonly internalType: "bool";
|
|
1134
1130
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
1135
1131
|
readonly type: "bool";
|
|
1132
|
+
readonly internalType: "bool";
|
|
1136
1133
|
}];
|
|
1137
|
-
readonly internalType: "struct LinearModel";
|
|
1138
|
-
readonly name: "lirm";
|
|
1139
|
-
readonly type: "tuple";
|
|
1140
1134
|
}, {
|
|
1141
|
-
readonly internalType: "bool";
|
|
1142
1135
|
readonly name: "isPaused";
|
|
1143
1136
|
readonly type: "bool";
|
|
1137
|
+
readonly internalType: "bool";
|
|
1144
1138
|
}];
|
|
1145
|
-
readonly internalType: "struct PoolData[]";
|
|
1146
|
-
readonly name: "";
|
|
1147
|
-
readonly type: "tuple[]";
|
|
1148
1139
|
}];
|
|
1149
1140
|
readonly stateMutability: "view";
|
|
1150
|
-
readonly type: "function";
|
|
1151
1141
|
}, {
|
|
1142
|
+
readonly type: "function";
|
|
1143
|
+
readonly name: "hasOpenedCreditAccount";
|
|
1152
1144
|
readonly inputs: readonly [{
|
|
1153
|
-
readonly internalType: "address";
|
|
1154
1145
|
readonly name: "creditManager";
|
|
1155
1146
|
readonly type: "address";
|
|
1156
|
-
}, {
|
|
1157
1147
|
readonly internalType: "address";
|
|
1148
|
+
}, {
|
|
1158
1149
|
readonly name: "borrower";
|
|
1159
1150
|
readonly type: "address";
|
|
1151
|
+
readonly internalType: "address";
|
|
1160
1152
|
}];
|
|
1161
|
-
readonly name: "hasOpenedCreditAccount";
|
|
1162
1153
|
readonly outputs: readonly [{
|
|
1163
|
-
readonly internalType: "bool";
|
|
1164
1154
|
readonly name: "";
|
|
1165
1155
|
readonly type: "bool";
|
|
1156
|
+
readonly internalType: "bool";
|
|
1166
1157
|
}];
|
|
1167
1158
|
readonly stateMutability: "view";
|
|
1168
|
-
readonly type: "function";
|
|
1169
1159
|
}, {
|
|
1170
|
-
readonly
|
|
1160
|
+
readonly type: "function";
|
|
1171
1161
|
readonly name: "version";
|
|
1162
|
+
readonly inputs: readonly [];
|
|
1172
1163
|
readonly outputs: readonly [{
|
|
1173
|
-
readonly internalType: "uint256";
|
|
1174
1164
|
readonly name: "";
|
|
1175
1165
|
readonly type: "uint256";
|
|
1166
|
+
readonly internalType: "uint256";
|
|
1176
1167
|
}];
|
|
1177
1168
|
readonly stateMutability: "view";
|
|
1178
|
-
readonly type: "function";
|
|
1179
1169
|
}];
|
|
1180
1170
|
static createInterface(): IDataCompressorV2_10Interface;
|
|
1181
1171
|
static connect(address: string, signerOrProvider: Signer | Provider): IDataCompressorV2_10;
|