@gearbox-protocol/sdk 3.0.0-next.19 → 3.0.0-next.191
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 +37 -5
- package/lib/apy/auraAPY.d.ts +1 -0
- package/lib/apy/auraAPY.js +23 -0
- package/lib/apy/auraAbi.d.ts +17 -0
- package/lib/apy/auraAbi.js +26 -0
- package/lib/apy/convexAPY.d.ts +10 -7
- package/lib/apy/convexAPY.js +32 -24
- package/lib/apy/curveAPY.d.ts +54 -5
- package/lib/apy/curveAPY.js +128 -72
- package/lib/apy/defiLamaAPY.d.ts +3 -0
- package/lib/apy/defiLamaAPY.js +69 -0
- package/lib/apy/index.d.ts +13 -4
- package/lib/apy/index.js +59 -5
- package/lib/apy/lidoAPY.d.ts +4 -1
- package/lib/apy/lidoAPY.js +7 -10
- package/lib/apy/yearnAPY.d.ts +3 -3
- package/lib/apy/yearnAPY.js +15 -12
- package/lib/contracts/contractsRegister.d.ts +13 -6
- package/lib/contracts/contractsRegister.js +47 -2
- package/lib/core/assets.js +2 -2
- package/lib/core/bot.d.ts +11 -0
- package/lib/core/bot.js +23 -0
- package/lib/core/creditAccount.d.ts +67 -22
- package/lib/core/creditAccount.js +234 -107
- package/lib/core/creditAccount.spec.js +850 -93
- package/lib/core/creditManager.d.ts +19 -5
- package/lib/core/creditManager.js +111 -49
- package/lib/core/creditSession.d.ts +24 -3
- package/lib/core/creditSession.js +32 -7
- package/lib/core/endpoint.d.ts +11 -0
- package/lib/core/endpoint.js +37 -0
- package/lib/core/eventOrTx.d.ts +2 -3
- package/lib/core/events.js +7 -7
- 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 +105 -0
- package/lib/core/gaugeMath.spec.js +388 -0
- package/lib/core/{pool/data.d.ts → pool.d.ts} +21 -13
- package/lib/core/{pool/data.js → pool.js} +82 -61
- package/lib/core/rewardClaimer.d.ts +6 -4
- package/lib/core/rewardConvex.d.ts +27 -11
- package/lib/core/rewardConvex.js +197 -56
- package/lib/core/rewardConvex.spec.js +32 -69
- package/lib/core/strategy.d.ts +18 -21
- package/lib/core/strategy.js +14 -34
- package/lib/core/trade.d.ts +11 -12
- package/lib/core/trade.js +36 -28
- package/lib/core/transactions.d.ts +131 -18
- package/lib/core/transactions.js +240 -119
- package/lib/gearboxRewards/abi.d.ts +2 -0
- package/lib/gearboxRewards/abi.js +54 -0
- package/lib/gearboxRewards/api.d.ts +80 -0
- package/lib/gearboxRewards/api.js +261 -0
- package/lib/gearboxRewards/apy.d.ts +37 -0
- package/lib/gearboxRewards/apy.js +65 -0
- package/lib/gearboxRewards/extraAPY.d.ts +32 -0
- package/lib/gearboxRewards/extraAPY.js +132 -0
- package/lib/gearboxRewards/index.d.ts +4 -0
- package/lib/gearboxRewards/index.js +20 -0
- package/lib/index.d.ts +11 -5
- package/lib/index.js +12 -6
- 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 +11 -9
- package/lib/parsers/abstractParser.js +14 -2
- package/lib/parsers/addressProviderParser.js +1 -1
- package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
- package/lib/parsers/balancerV2VaultParser.js +34 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +13 -9
- package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
- package/lib/parsers/convexBoosterAdapterParser.js +7 -7
- package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
- package/lib/parsers/convextRewardPoolParser.js +1 -1
- package/lib/parsers/creditFacadeParser.js +34 -7
- package/lib/parsers/creditFacadeParser.spec.js +2 -3
- package/lib/parsers/creditManagerParser.js +1 -1
- package/lib/parsers/curveAdapterParser.js +11 -11
- 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/iParser.d.ts +1 -1
- 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 +5 -4
- package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
- package/lib/parsers/uniV3AdapterParser.js +9 -7
- package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
- package/lib/parsers/wstETHAdapterParser.js +7 -5
- package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
- package/lib/parsers/yearnAdapterParser.spec.js +4 -4
- package/lib/parsers/yearnV2AdapterParser.js +14 -4
- package/lib/pathfinder/balancerVault.d.ts +33 -0
- package/lib/pathfinder/balancerVault.js +59 -0
- package/lib/pathfinder/core.d.ts +7 -9
- package/lib/pathfinder/index.d.ts +4 -0
- package/lib/pathfinder/index.js +20 -0
- package/lib/pathfinder/pathOptions.d.ts +3 -3
- package/lib/pathfinder/pathOptions.js +34 -18
- package/lib/pathfinder/pathOptions.spec.js +3 -6
- package/lib/pathfinder/pathfinder.d.ts +47 -19
- package/lib/pathfinder/pathfinder.js +71 -60
- package/lib/pathfinder/pathfinder.spec.js +23 -10
- package/lib/pathfinder/utils.d.ts +35 -0
- package/lib/pathfinder/utils.js +181 -0
- package/lib/pathfinder/v1/core.d.ts +16 -0
- package/lib/pathfinder/v1/pathfinderv1.d.ts +46 -0
- package/lib/pathfinder/v1/pathfinderv1.js +154 -0
- package/lib/pathfinder/v1/pathfinderv1.spec.js +39 -0
- package/lib/payload/bot.d.ts +13 -0
- package/lib/payload/creditAccount.d.ts +3 -4
- package/lib/payload/creditManager.d.ts +7 -4
- package/lib/payload/creditSession.d.ts +15 -1
- package/lib/payload/gauge.d.ts +11 -0
- package/lib/payload/pool.d.ts +8 -2
- package/lib/payload/token.d.ts +3 -1
- package/lib/redstone/api.d.ts +44 -0
- package/lib/redstone/api.js +344 -0
- package/lib/redstone/index.d.ts +1 -0
- package/lib/{core/pool → redstone}/index.js +1 -1
- package/lib/tokens/tokenData.d.ts +5 -4
- package/lib/tokens/tokenData.js +24 -5
- package/lib/types/AddressProvider.d.ts +151 -332
- package/lib/types/Balances.sol/BalanceOps.d.ts +15 -22
- package/lib/types/CalldataExtractor.d.ts +28 -0
- package/lib/types/Claimable.d.ts +46 -97
- package/lib/types/CompositePriceFeed.d.ts +90 -0
- package/lib/types/ContractsRegisterTrait.d.ts +25 -0
- package/lib/types/ERC20.d.ts +169 -0
- package/lib/types/Errors.d.ts +106 -227
- package/lib/types/FarmAccounting.d.ts +20 -0
- package/lib/types/FarmAccounting.js +2 -0
- package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +127 -0
- package/lib/types/IAaveV2_LendingPoolAdapter.js +2 -0
- package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +205 -0
- package/lib/types/IAaveV2_WrappedATokenAdapter.js +2 -0
- package/lib/types/IAdapter.d.ts +26 -59
- package/lib/types/IAddressProvider.sol/IAddressProvider.d.ts +53 -108
- package/lib/types/IAddressProvider.sol/IAddressProviderEvents.d.ts +29 -35
- package/lib/types/IAddressProviderV3.sol/IAddressProviderV3.d.ts +79 -85
- package/lib/types/IAddressProviderV3.sol/IAddressProviderV3Events.d.ts +34 -37
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributor.d.ts +101 -109
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +76 -64
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +287 -0
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.js +2 -0
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +87 -0
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.js +2 -0
- package/lib/types/IBalancerV2Vault.sol/index.d.ts +2 -0
- package/lib/types/IBalancerV2Vault.sol/index.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +415 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +37 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +20 -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/IBaseRewardPool.d.ts +143 -320
- package/lib/types/IBotListV3.sol/IBotListV3.d.ts +300 -0
- package/lib/types/IBotListV3.sol/IBotListV3.js +2 -0
- package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +127 -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 +147 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +20 -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 +87 -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 +416 -0
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.js +2 -0
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +97 -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 +128 -157
- package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +183 -250
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts +132 -183
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +29 -35
- package/lib/types/ICreditAccountV3.sol/ICreditAccountBase.d.ts +59 -0
- package/lib/types/ICreditAccountV3.sol/ICreditAccountBase.js +2 -0
- package/lib/types/ICreditAccountV3.sol/ICreditAccountV3.d.ts +77 -0
- package/lib/types/ICreditAccountV3.sol/ICreditAccountV3.js +2 -0
- package/lib/types/ICreditAccountV3.sol/index.d.ts +2 -0
- package/lib/types/ICreditAccountV3.sol/index.js +2 -0
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2.d.ts +526 -579
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events.d.ts +342 -264
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.d.ts +549 -648
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.d.ts +327 -248
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2.d.ts +587 -635
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Events.d.ts +294 -239
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +59 -126
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2V2.d.ts +34 -53
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +421 -512
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +202 -152
- package/lib/types/ICreditFacadeV3Multicall.d.ts +170 -245
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2.d.ts +438 -567
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2Events.d.ts +43 -46
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +652 -841
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3Events.d.ts +28 -33
- package/lib/types/ICurvePool.d.ts +285 -376
- package/lib/types/ICurvePool_2.sol/ICurvePool2Assets.d.ts +365 -511
- package/lib/types/ICurvePool_3.sol/ICurvePool3Assets.d.ts +370 -607
- package/lib/types/ICurvePool_4.sol/ICurvePool4Assets.d.ts +387 -631
- package/lib/types/ICurveV1Adapter.d.ts +330 -547
- package/lib/types/ICurveV1_2AssetsAdapter.d.ts +387 -628
- package/lib/types/ICurveV1_3AssetsAdapter.d.ts +387 -691
- package/lib/types/ICurveV1_4AssetsAdapter.d.ts +399 -697
- package/lib/types/IDaiLikePermit.d.ts +48 -51
- package/lib/types/IDataCompressorV2_1.d.ts +491 -0
- package/lib/types/IDataCompressorV2_1.js +2 -0
- package/lib/types/IDataCompressorV3.d.ts +581 -0
- package/lib/types/IDataCompressorV3.js +2 -0
- package/lib/types/IDegenDistributor.sol/IDegenDistributor.d.ts +67 -84
- package/lib/types/IDegenDistributor.sol/IDegenDistributorEvents.d.ts +44 -45
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +297 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.js +2 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +64 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.js +2 -0
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +20 -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 +29 -0
- package/lib/types/IERC165.js +2 -0
- package/lib/types/IERC20.d.ts +114 -127
- package/lib/types/IERC20Metadata.d.ts +120 -145
- package/lib/types/IERC20Permit.d.ts +50 -63
- package/lib/types/IERC20ZapperDeposits.d.ts +112 -0
- package/lib/types/IERC20ZapperDeposits.js +2 -0
- package/lib/types/IERC4626.d.ts +277 -353
- package/lib/types/IERC4626Adapter.d.ts +173 -0
- package/lib/types/IERC4626Adapter.js +2 -0
- package/lib/types/IERC721.d.ts +199 -0
- package/lib/types/IERC721.js +2 -0
- package/lib/types/IERC721Metadata.d.ts +211 -0
- package/lib/types/IERC721Metadata.js +2 -0
- package/lib/types/IETHZapperDeposits.d.ts +39 -0
- package/lib/types/IETHZapperDeposits.js +2 -0
- package/lib/types/IFarmingPool.d.ts +245 -0
- package/lib/types/IFarmingPool.js +2 -0
- package/lib/types/IGasPricer.d.ts +29 -0
- package/lib/types/IGasPricer.js +2 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +309 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +144 -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 +354 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +135 -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/IInterestRateModel.d.ts +31 -42
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +164 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +51 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +20 -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.d.ts +71 -132
- package/lib/types/ILinearInterestRateModelV3.d.ts +97 -0
- package/lib/types/ILinearInterestRateModelV3.js +2 -0
- package/lib/types/IOffchainOracle.d.ts +44 -51
- package/lib/types/IPartialLiquidationBotV3.d.ts +154 -0
- package/lib/types/IPartialLiquidationBotV3.js +2 -0
- package/lib/types/IPermit2.d.ts +91 -103
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +380 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +133 -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/IPoolService.sol/IPoolService.d.ts +292 -338
- package/lib/types/IPoolService.sol/IPoolServiceEvents.d.ts +189 -146
- package/lib/types/IPoolV3.sol/IPoolV3.d.ts +662 -825
- package/lib/types/IPoolV3.sol/IPoolV3Events.d.ts +181 -142
- package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +69 -0
- package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
- package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +77 -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 +146 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +37 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts +20 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +160 -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/IPriceOracleBase.d.ts +65 -76
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +281 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +94 -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 +226 -208
- package/lib/types/IRouterV3.d.ts +333 -0
- package/lib/types/IRouterV3.js +2 -0
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +159 -175
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents.d.ts +34 -37
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.d.ts +15 -22
- package/lib/types/IUniswapV3.sol/ISwapRouter.d.ts +124 -153
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +289 -330
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents.d.ts +41 -39
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions.d.ts +15 -22
- package/lib/types/IVersion.d.ts +18 -35
- package/lib/types/IVotingContractV3.d.ts +53 -0
- package/lib/types/IVotingContractV3.js +2 -0
- package/lib/types/IWETH.d.ts +147 -177
- package/lib/types/IWETHGateway.d.ts +59 -82
- package/lib/types/IYVault.d.ts +183 -264
- package/lib/types/IYearnV2Adapter.d.ts +161 -230
- package/lib/types/IZapper.d.ts +81 -115
- package/lib/types/IZapperRegister.d.ts +55 -0
- package/lib/types/IZapperRegister.js +2 -0
- package/lib/types/IstETH.sol/IstETH.d.ts +146 -199
- package/lib/types/IstETH.sol/IstETHGetters.d.ts +143 -184
- package/lib/types/IwstETH.sol/IwstETH.d.ts +154 -207
- package/lib/types/IwstETH.sol/IwstETHGetters.d.ts +140 -177
- package/lib/types/IwstETHGateway.sol/IwstETHGateWay.d.ts +44 -63
- package/lib/types/IwstETHV1Adapter.d.ts +102 -163
- package/lib/types/NumericArrayLib.d.ts +20 -0
- package/lib/types/NumericArrayLib.js +2 -0
- package/lib/types/Ownable.d.ts +42 -77
- package/lib/types/PartialLiquidationBotV3.d.ts +158 -0
- package/lib/types/PartialLiquidationBotV3.js +2 -0
- package/lib/types/RedstoneConstants.d.ts +20 -0
- package/lib/types/RedstoneConstants.js +2 -0
- package/lib/types/RedstoneConsumerBase.d.ts +64 -0
- package/lib/types/RedstoneConsumerBase.js +2 -0
- package/lib/types/RedstoneConsumerNumericBase.d.ts +64 -0
- package/lib/types/RedstoneConsumerNumericBase.js +2 -0
- package/lib/types/RedstoneDefaultsLib.d.ts +20 -0
- package/lib/types/RedstoneDefaultsLib.js +2 -0
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts +36 -0
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.js +2 -0
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +20 -0
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.js +2 -0
- package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +174 -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 +15 -22
- package/lib/types/common.d.ts +40 -12
- package/lib/types/factories/AddressProvider__factory.d.ts +125 -124
- package/lib/types/factories/AddressProvider__factory.js +127 -130
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +17 -16
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +11 -14
- package/lib/types/factories/CalldataExtractor__factory.d.ts +88 -0
- package/lib/types/factories/CalldataExtractor__factory.js +124 -0
- package/lib/types/factories/Claimable__factory.d.ts +42 -41
- package/lib/types/factories/Claimable__factory.js +40 -43
- package/lib/types/factories/CompositePriceFeed__factory.d.ts +203 -0
- package/lib/types/factories/CompositePriceFeed__factory.js +274 -0
- package/lib/types/factories/ContractsRegisterTrait__factory.d.ts +21 -0
- package/lib/types/factories/ContractsRegisterTrait__factory.js +37 -0
- package/lib/types/factories/ERC20__factory.d.ts +240 -0
- package/lib/types/factories/ERC20__factory.js +325 -0
- package/lib/types/factories/Errors__factory.d.ts +113 -112
- package/lib/types/factories/Errors__factory.js +107 -110
- package/lib/types/factories/FarmAccounting__factory.d.ts +34 -0
- package/lib/types/factories/FarmAccounting__factory.js +54 -0
- package/lib/types/factories/{IWETHZapper__factory.d.ts → IAaveV2_LendingPoolAdapter__factory.d.ts} +97 -108
- package/lib/types/factories/{IWETHZapper__factory.js → IAaveV2_LendingPoolAdapter__factory.js} +108 -123
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +251 -0
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +341 -0
- package/lib/types/factories/IAdapter__factory.d.ts +17 -18
- package/lib/types/factories/IAdapter__factory.js +18 -18
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +9 -10
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +10 -10
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +50 -51
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +55 -55
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +11 -12
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +12 -12
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +39 -40
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +45 -45
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +27 -28
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +28 -28
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +73 -74
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +88 -88
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +77 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +111 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +359 -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 +22 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +38 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +11 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +24 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +513 -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 +116 -117
- package/lib/types/factories/IBaseRewardPool__factory.js +117 -117
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +102 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +138 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +314 -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 +195 -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 +15 -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 +27 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +45 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +133 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +186 -0
- package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
- package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +72 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +101 -0
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +426 -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 +91 -82
- package/lib/types/factories/IConvexToken__factory.js +102 -89
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +123 -72
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +140 -72
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +9 -10
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +10 -10
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +68 -61
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +75 -65
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountBase__factory.d.ts +63 -0
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountBase__factory.js +92 -0
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountV3__factory.d.ts +87 -0
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountV3__factory.js +123 -0
- package/lib/types/factories/ICreditAccountV3.sol/index.d.ts +2 -0
- package/lib/types/factories/ICreditAccountV3.sol/index.js +10 -0
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +123 -124
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +130 -130
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +20 -21
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +21 -21
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +378 -379
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +420 -420
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +120 -121
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +130 -130
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +397 -398
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +423 -423
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +109 -110
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +121 -121
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +67 -68
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +68 -68
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +25 -30
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +26 -31
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +7 -8
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +8 -8
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +603 -604
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +752 -752
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +79 -85
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +87 -93
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +282 -350
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +374 -459
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +87 -84
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +96 -92
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +13 -14
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +15 -15
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +28 -29
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +29 -29
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +254 -255
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +275 -275
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +7 -8
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +8 -8
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +400 -393
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +439 -429
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +193 -194
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +194 -194
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +193 -194
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +194 -194
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +193 -194
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +194 -194
- package/lib/types/factories/ICurvePool__factory.d.ts +161 -162
- package/lib/types/factories/ICurvePool__factory.js +162 -162
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +173 -232
- package/lib/types/factories/ICurveV1Adapter__factory.js +174 -251
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +191 -250
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +192 -269
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +191 -250
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +192 -269
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +191 -250
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +192 -269
- package/lib/types/factories/IDaiLikePermit__factory.d.ts +12 -13
- package/lib/types/factories/IDaiLikePermit__factory.js +13 -13
- package/lib/types/factories/{IDataCompressorV2_10__factory.d.ts → IDataCompressorV2_1__factory.d.ts} +349 -400
- package/lib/types/factories/{IDataCompressorV2_10__factory.js → IDataCompressorV2_1__factory.js} +352 -416
- package/lib/types/factories/{IDataCompressorV3_00__factory.d.ts → IDataCompressorV3__factory.d.ts} +655 -474
- package/lib/types/factories/{IDataCompressorV3_00__factory.js → IDataCompressorV3__factory.js} +730 -498
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +16 -17
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +17 -17
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +45 -46
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +54 -54
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +37 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +58 -0
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +23 -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} +249 -240
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js → IDegenNFTV2.sol/IDegenNFTV2__factory.js} +273 -256
- 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 +21 -0
- package/lib/types/factories/IERC165__factory.js +38 -0
- package/lib/types/factories/IERC20Metadata__factory.d.ts +78 -79
- package/lib/types/factories/IERC20Metadata__factory.js +89 -89
- package/lib/types/factories/IERC20Permit__factory.d.ts +18 -19
- package/lib/types/factories/IERC20Permit__factory.js +19 -19
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +119 -0
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
- package/lib/types/factories/IERC20__factory.d.ts +69 -70
- package/lib/types/factories/IERC20__factory.js +80 -80
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +219 -0
- package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
- package/lib/types/factories/IERC4626__factory.d.ts +200 -201
- package/lib/types/factories/IERC4626__factory.js +224 -224
- package/lib/types/factories/IERC721Metadata__factory.d.ts +261 -0
- package/lib/types/factories/IERC721Metadata__factory.js +349 -0
- package/lib/types/factories/IERC721__factory.d.ts +227 -0
- package/lib/types/factories/IERC721__factory.js +304 -0
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +39 -0
- package/lib/types/factories/IETHZapperDeposits__factory.js +62 -0
- package/lib/types/factories/IFarmingPool__factory.d.ts +298 -0
- package/lib/types/factories/IFarmingPool__factory.js +396 -0
- package/lib/types/factories/IGasPricer__factory.d.ts +21 -0
- package/lib/types/factories/IGasPricer__factory.js +38 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +117 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +341 -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} +56 -87
- package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js → IGearStakingV3.sol/IGearStakingV3Events__factory.js} +61 -97
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +503 -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 +10 -11
- package/lib/types/factories/IInterestRateModel__factory.js +11 -11
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +32 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +51 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +27 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +44 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +260 -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__factory.d.ts +46 -43
- package/lib/types/factories/ILidoV1Adapter__factory.js +49 -43
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +97 -0
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +136 -0
- package/lib/types/factories/IOffchainOracle__factory.d.ts +13 -14
- package/lib/types/factories/IOffchainOracle__factory.js +14 -14
- package/lib/types/factories/IPartialLiquidationBotV3__factory.d.ts +216 -0
- package/lib/types/factories/IPartialLiquidationBotV3__factory.js +287 -0
- package/lib/types/factories/IPermit2__factory.d.ts +35 -36
- package/lib/types/factories/IPermit2__factory.js +36 -36
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +102 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +440 -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 +68 -69
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +75 -75
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +237 -238
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +289 -289
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +67 -68
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +71 -71
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +576 -577
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +699 -699
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +83 -0
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +117 -0
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +103 -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 +22 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +19 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +196 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
- package/lib/types/factories/{IWERC20Zapper__factory.d.ts → IPriceOracle.sol/IPriceOracleV2__factory.d.ts} +109 -103
- package/lib/types/factories/{IWERC20Zapper__factory.js → IPriceOracle.sol/IPriceOracleV2__factory.js} +122 -113
- 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 +29 -30
- package/lib/types/factories/IPriceOracleBase__factory.js +30 -30
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +77 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +106 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +325 -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 +511 -0
- package/lib/types/factories/IRouterV3__factory.js +676 -0
- package/lib/types/factories/IRouter__factory.d.ts +170 -157
- package/lib/types/factories/IRouter__factory.js +189 -170
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +10 -11
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +12 -12
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +4 -5
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +5 -5
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +82 -79
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +90 -85
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +52 -53
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +53 -53
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +12 -13
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +14 -14
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +4 -5
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +5 -5
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +144 -137
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +154 -144
- package/lib/types/factories/IVersion__factory.d.ts +5 -6
- package/lib/types/factories/IVersion__factory.js +6 -6
- package/lib/types/factories/IVotingContractV3__factory.d.ts +43 -0
- package/lib/types/factories/IVotingContractV3__factory.js +65 -0
- package/lib/types/factories/IWETHGateway__factory.d.ts +16 -17
- package/lib/types/factories/IWETHGateway__factory.js +17 -17
- package/lib/types/factories/IWETH__factory.d.ts +104 -105
- package/lib/types/factories/IWETH__factory.js +123 -123
- package/lib/types/factories/IYVault__factory.d.ts +114 -115
- package/lib/types/factories/IYVault__factory.js +125 -125
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +78 -71
- package/lib/types/factories/IYearnV2Adapter__factory.js +85 -73
- package/lib/types/factories/IZapperRegister__factory.d.ts +41 -0
- package/lib/types/factories/IZapperRegister__factory.js +64 -0
- package/lib/types/factories/IZapper__factory.d.ts +42 -51
- package/lib/types/factories/IZapper__factory.js +43 -53
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +99 -100
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +110 -110
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +103 -104
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +114 -114
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +95 -96
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +106 -106
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +103 -104
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +114 -114
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +16 -17
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +18 -18
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +54 -47
- package/lib/types/factories/IwstETHV1Adapter__factory.js +59 -47
- package/lib/types/factories/NumericArrayLib__factory.d.ts +26 -0
- package/lib/types/factories/NumericArrayLib__factory.js +44 -0
- package/lib/types/factories/Ownable__factory.d.ts +25 -26
- package/lib/types/factories/Ownable__factory.js +30 -30
- package/lib/types/factories/PartialLiquidationBotV3__factory.d.ts +285 -0
- package/lib/types/factories/PartialLiquidationBotV3__factory.js +376 -0
- package/lib/types/factories/RedstoneConstants__factory.d.ts +66 -0
- package/lib/types/factories/RedstoneConstants__factory.js +96 -0
- package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +163 -0
- package/lib/types/factories/RedstoneConsumerBase__factory.js +223 -0
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +163 -0
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +223 -0
- package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +46 -0
- package/lib/types/factories/RedstoneDefaultsLib__factory.js +71 -0
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +17 -0
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +32 -0
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +27 -0
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +44 -0
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +444 -0
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +586 -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 +28 -27
- package/lib/types/factories/SafeERC20__factory.js +22 -25
- package/lib/types/factories/index.d.ts +44 -5
- package/lib/types/factories/index.js +74 -11
- package/lib/types/index.d.ts +164 -14
- package/lib/types/index.js +135 -14
- package/lib/utils/calls.d.ts +7 -0
- package/lib/utils/{repeater.js → calls.js} +11 -1
- package/lib/utils/formatter.d.ts +1 -1
- package/lib/utils/formatter.js +2 -2
- package/lib/utils/math.d.ts +1 -1
- package/lib/utils/math.js +1 -2
- package/lib/utils/types.d.ts +0 -4
- package/package.json +17 -13
- 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/IDataCompressorV2_10.d.ts +0 -511
- package/lib/types/IDataCompressorV3_00.d.ts +0 -533
- package/lib/types/IWERC20Zapper.d.ts +0 -166
- package/lib/types/IWETHZapper.d.ts +0 -162
- package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
- package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
- package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
- package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
- package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
- package/lib/utils/repeater.d.ts +0 -1
- package/lib/watchers/creditAccountWatcher.d.ts +0 -36
- package/lib/watchers/creditAccountWatcher.js +0 -238
- package/lib/watchers/creditAccountWatcher.spec.js +0 -208
- package/lib/watchers/creditManagerWatcher.d.ts +0 -8
- package/lib/watchers/creditManagerWatcher.js +0 -37
- package/lib/watchers/creditManagerWatcher.spec.d.ts +0 -1
- package/lib/watchers/creditManagerWatcher.spec.js +0 -107
- /package/lib/core/{strategy.spec.d.ts → gaugeMath.spec.d.ts} +0 -0
- /package/lib/{types/IDataCompressorV2_10.js → pathfinder/v1/core.js} +0 -0
- /package/lib/{watchers/creditAccountWatcher.spec.d.ts → pathfinder/v1/pathfinderv1.spec.d.ts} +0 -0
- /package/lib/{types/IDataCompressorV3_00.js → payload/bot.js} +0 -0
- /package/lib/{types/IWERC20Zapper.js → payload/gauge.js} +0 -0
- /package/lib/types/{IWETHZapper.js → CalldataExtractor.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → CompositePriceFeed.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → ContractsRegisterTrait.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/index.js → ERC20.js} +0 -0
package/lib/types/factories/{IDataCompressorV2_10__factory.d.ts → IDataCompressorV2_1__factory.d.ts}
RENAMED
|
@@ -1,1222 +1,1171 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
export declare class IDataCompressorV2_10__factory {
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IDataCompressorV2_1, IDataCompressorV2_1Interface } from "../IDataCompressorV2_1";
|
|
3
|
+
export declare class IDataCompressorV2_1__factory {
|
|
5
4
|
static readonly abi: readonly [{
|
|
5
|
+
readonly type: "function";
|
|
6
|
+
readonly name: "getAdapter";
|
|
6
7
|
readonly inputs: readonly [{
|
|
7
|
-
readonly internalType: "address";
|
|
8
8
|
readonly name: "_creditManager";
|
|
9
9
|
readonly type: "address";
|
|
10
|
-
}, {
|
|
11
10
|
readonly internalType: "address";
|
|
11
|
+
}, {
|
|
12
12
|
readonly name: "_allowedContract";
|
|
13
13
|
readonly type: "address";
|
|
14
|
+
readonly internalType: "address";
|
|
14
15
|
}];
|
|
15
|
-
readonly name: "getAdapter";
|
|
16
16
|
readonly outputs: readonly [{
|
|
17
|
-
readonly internalType: "address";
|
|
18
17
|
readonly name: "adapter";
|
|
19
18
|
readonly type: "address";
|
|
19
|
+
readonly internalType: "address";
|
|
20
20
|
}];
|
|
21
21
|
readonly stateMutability: "view";
|
|
22
|
-
readonly type: "function";
|
|
23
22
|
}, {
|
|
23
|
+
readonly type: "function";
|
|
24
|
+
readonly name: "getCreditAccountData";
|
|
24
25
|
readonly inputs: readonly [{
|
|
25
|
-
readonly internalType: "address";
|
|
26
26
|
readonly name: "_creditManager";
|
|
27
27
|
readonly type: "address";
|
|
28
|
-
}, {
|
|
29
28
|
readonly internalType: "address";
|
|
29
|
+
}, {
|
|
30
30
|
readonly name: "borrower";
|
|
31
31
|
readonly type: "address";
|
|
32
|
+
readonly internalType: "address";
|
|
32
33
|
}];
|
|
33
|
-
readonly name: "getCreditAccountData";
|
|
34
34
|
readonly outputs: readonly [{
|
|
35
|
+
readonly name: "";
|
|
36
|
+
readonly type: "tuple";
|
|
37
|
+
readonly internalType: "struct CreditAccountData";
|
|
35
38
|
readonly components: readonly [{
|
|
36
|
-
readonly internalType: "bool";
|
|
37
39
|
readonly name: "isSuccessful";
|
|
38
40
|
readonly type: "bool";
|
|
41
|
+
readonly internalType: "bool";
|
|
39
42
|
}, {
|
|
40
|
-
readonly internalType: "address[]";
|
|
41
43
|
readonly name: "priceFeedsNeeded";
|
|
42
44
|
readonly type: "address[]";
|
|
45
|
+
readonly internalType: "address[]";
|
|
43
46
|
}, {
|
|
44
|
-
readonly internalType: "address";
|
|
45
47
|
readonly name: "addr";
|
|
46
48
|
readonly type: "address";
|
|
47
|
-
}, {
|
|
48
49
|
readonly internalType: "address";
|
|
50
|
+
}, {
|
|
49
51
|
readonly name: "borrower";
|
|
50
52
|
readonly type: "address";
|
|
51
|
-
}, {
|
|
52
53
|
readonly internalType: "address";
|
|
54
|
+
}, {
|
|
53
55
|
readonly name: "creditManager";
|
|
54
56
|
readonly type: "address";
|
|
57
|
+
readonly internalType: "address";
|
|
55
58
|
}, {
|
|
56
|
-
readonly
|
|
57
|
-
readonly name: "cmDescription";
|
|
59
|
+
readonly name: "cmName";
|
|
58
60
|
readonly type: "string";
|
|
61
|
+
readonly internalType: "string";
|
|
59
62
|
}, {
|
|
60
|
-
readonly internalType: "address";
|
|
61
63
|
readonly name: "creditFacade";
|
|
62
64
|
readonly type: "address";
|
|
63
|
-
}, {
|
|
64
65
|
readonly internalType: "address";
|
|
66
|
+
}, {
|
|
65
67
|
readonly name: "underlying";
|
|
66
68
|
readonly type: "address";
|
|
69
|
+
readonly internalType: "address";
|
|
67
70
|
}, {
|
|
68
|
-
readonly internalType: "uint256";
|
|
69
71
|
readonly name: "debt";
|
|
70
72
|
readonly type: "uint256";
|
|
71
|
-
}, {
|
|
72
73
|
readonly internalType: "uint256";
|
|
73
|
-
readonly name: "cumulativeIndexNow";
|
|
74
|
-
readonly type: "uint256";
|
|
75
74
|
}, {
|
|
76
|
-
readonly internalType: "uint256";
|
|
77
75
|
readonly name: "cumulativeIndexLastUpdate";
|
|
78
76
|
readonly type: "uint256";
|
|
77
|
+
readonly internalType: "uint256";
|
|
79
78
|
}, {
|
|
80
|
-
readonly internalType: "uint128";
|
|
81
79
|
readonly name: "cumulativeQuotaInterest";
|
|
82
80
|
readonly type: "uint128";
|
|
81
|
+
readonly internalType: "uint128";
|
|
83
82
|
}, {
|
|
84
|
-
readonly internalType: "uint256";
|
|
85
83
|
readonly name: "accruedInterest";
|
|
86
84
|
readonly type: "uint256";
|
|
87
|
-
}, {
|
|
88
85
|
readonly internalType: "uint256";
|
|
86
|
+
}, {
|
|
89
87
|
readonly name: "accruedFees";
|
|
90
88
|
readonly type: "uint256";
|
|
91
|
-
}, {
|
|
92
89
|
readonly internalType: "uint256";
|
|
90
|
+
}, {
|
|
93
91
|
readonly name: "totalDebtUSD";
|
|
94
92
|
readonly type: "uint256";
|
|
95
|
-
}, {
|
|
96
93
|
readonly internalType: "uint256";
|
|
94
|
+
}, {
|
|
97
95
|
readonly name: "totalValue";
|
|
98
96
|
readonly type: "uint256";
|
|
99
|
-
}, {
|
|
100
97
|
readonly internalType: "uint256";
|
|
98
|
+
}, {
|
|
101
99
|
readonly name: "totalValueUSD";
|
|
102
100
|
readonly type: "uint256";
|
|
103
|
-
}, {
|
|
104
101
|
readonly internalType: "uint256";
|
|
102
|
+
}, {
|
|
105
103
|
readonly name: "twvUSD";
|
|
106
104
|
readonly type: "uint256";
|
|
107
|
-
}, {
|
|
108
105
|
readonly internalType: "uint256";
|
|
106
|
+
}, {
|
|
109
107
|
readonly name: "enabledTokensMask";
|
|
110
108
|
readonly type: "uint256";
|
|
111
|
-
}, {
|
|
112
109
|
readonly internalType: "uint256";
|
|
110
|
+
}, {
|
|
113
111
|
readonly name: "healthFactor";
|
|
114
112
|
readonly type: "uint256";
|
|
115
|
-
}, {
|
|
116
113
|
readonly internalType: "uint256";
|
|
114
|
+
}, {
|
|
117
115
|
readonly name: "baseBorrowRate";
|
|
118
116
|
readonly type: "uint256";
|
|
119
|
-
}, {
|
|
120
117
|
readonly internalType: "uint256";
|
|
118
|
+
}, {
|
|
121
119
|
readonly name: "aggregatedBorrowRate";
|
|
122
120
|
readonly type: "uint256";
|
|
121
|
+
readonly internalType: "uint256";
|
|
123
122
|
}, {
|
|
123
|
+
readonly name: "balances";
|
|
124
|
+
readonly type: "tuple[]";
|
|
125
|
+
readonly internalType: "struct TokenBalance[]";
|
|
124
126
|
readonly components: readonly [{
|
|
125
|
-
readonly internalType: "address";
|
|
126
127
|
readonly name: "token";
|
|
127
128
|
readonly type: "address";
|
|
129
|
+
readonly internalType: "address";
|
|
128
130
|
}, {
|
|
129
|
-
readonly internalType: "uint256";
|
|
130
131
|
readonly name: "balance";
|
|
131
132
|
readonly type: "uint256";
|
|
133
|
+
readonly internalType: "uint256";
|
|
132
134
|
}, {
|
|
133
|
-
readonly internalType: "bool";
|
|
134
135
|
readonly name: "isForbidden";
|
|
135
136
|
readonly type: "bool";
|
|
136
|
-
}, {
|
|
137
137
|
readonly internalType: "bool";
|
|
138
|
+
}, {
|
|
138
139
|
readonly name: "isEnabled";
|
|
139
140
|
readonly type: "bool";
|
|
140
|
-
}, {
|
|
141
141
|
readonly internalType: "bool";
|
|
142
|
+
}, {
|
|
142
143
|
readonly name: "isQuoted";
|
|
143
144
|
readonly type: "bool";
|
|
145
|
+
readonly internalType: "bool";
|
|
144
146
|
}, {
|
|
145
|
-
readonly internalType: "uint256";
|
|
146
147
|
readonly name: "quota";
|
|
147
148
|
readonly type: "uint256";
|
|
149
|
+
readonly internalType: "uint256";
|
|
148
150
|
}, {
|
|
149
|
-
readonly internalType: "uint16";
|
|
150
151
|
readonly name: "quotaRate";
|
|
151
152
|
readonly type: "uint16";
|
|
153
|
+
readonly internalType: "uint16";
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "quotaCumulativeIndexLU";
|
|
156
|
+
readonly type: "uint256";
|
|
157
|
+
readonly internalType: "uint256";
|
|
152
158
|
}];
|
|
153
|
-
readonly internalType: "struct TokenBalance[]";
|
|
154
|
-
readonly name: "balances";
|
|
155
|
-
readonly type: "tuple[]";
|
|
156
159
|
}, {
|
|
157
|
-
readonly internalType: "uint64";
|
|
158
160
|
readonly name: "since";
|
|
159
161
|
readonly type: "uint64";
|
|
162
|
+
readonly internalType: "uint64";
|
|
160
163
|
}, {
|
|
161
|
-
readonly internalType: "uint256";
|
|
162
164
|
readonly name: "cfVersion";
|
|
163
165
|
readonly type: "uint256";
|
|
166
|
+
readonly internalType: "uint256";
|
|
164
167
|
}, {
|
|
165
|
-
readonly internalType: "uint40";
|
|
166
168
|
readonly name: "expirationDate";
|
|
167
169
|
readonly type: "uint40";
|
|
170
|
+
readonly internalType: "uint40";
|
|
168
171
|
}, {
|
|
169
|
-
readonly internalType: "address[]";
|
|
170
172
|
readonly name: "activeBots";
|
|
171
173
|
readonly type: "address[]";
|
|
172
|
-
|
|
173
|
-
readonly internalType: "uint256";
|
|
174
|
-
readonly name: "maxApprovedBots";
|
|
175
|
-
readonly type: "uint256";
|
|
176
|
-
}, {
|
|
177
|
-
readonly components: readonly [{
|
|
178
|
-
readonly internalType: "uint8";
|
|
179
|
-
readonly name: "tokenIndex";
|
|
180
|
-
readonly type: "uint8";
|
|
181
|
-
}, {
|
|
182
|
-
readonly internalType: "uint40";
|
|
183
|
-
readonly name: "maturity";
|
|
184
|
-
readonly type: "uint40";
|
|
185
|
-
}, {
|
|
186
|
-
readonly internalType: "address";
|
|
187
|
-
readonly name: "token";
|
|
188
|
-
readonly type: "address";
|
|
189
|
-
}, {
|
|
190
|
-
readonly internalType: "uint256";
|
|
191
|
-
readonly name: "amount";
|
|
192
|
-
readonly type: "uint256";
|
|
193
|
-
}];
|
|
194
|
-
readonly internalType: "struct ScheduledWithdrawal[2]";
|
|
195
|
-
readonly name: "schedultedWithdrawals";
|
|
196
|
-
readonly type: "tuple[2]";
|
|
174
|
+
readonly internalType: "address[]";
|
|
197
175
|
}];
|
|
198
|
-
readonly internalType: "struct CreditAccountData";
|
|
199
|
-
readonly name: "";
|
|
200
|
-
readonly type: "tuple";
|
|
201
176
|
}];
|
|
202
177
|
readonly stateMutability: "view";
|
|
203
|
-
readonly type: "function";
|
|
204
178
|
}, {
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
readonly name: "getCreditAccountsByBorrower";
|
|
205
181
|
readonly inputs: readonly [{
|
|
206
|
-
readonly internalType: "address";
|
|
207
182
|
readonly name: "borrower";
|
|
208
183
|
readonly type: "address";
|
|
184
|
+
readonly internalType: "address";
|
|
209
185
|
}];
|
|
210
|
-
readonly name: "getCreditAccountsByBorrower";
|
|
211
186
|
readonly outputs: readonly [{
|
|
187
|
+
readonly name: "";
|
|
188
|
+
readonly type: "tuple[]";
|
|
189
|
+
readonly internalType: "struct CreditAccountData[]";
|
|
212
190
|
readonly components: readonly [{
|
|
213
|
-
readonly internalType: "bool";
|
|
214
191
|
readonly name: "isSuccessful";
|
|
215
192
|
readonly type: "bool";
|
|
193
|
+
readonly internalType: "bool";
|
|
216
194
|
}, {
|
|
217
|
-
readonly internalType: "address[]";
|
|
218
195
|
readonly name: "priceFeedsNeeded";
|
|
219
196
|
readonly type: "address[]";
|
|
197
|
+
readonly internalType: "address[]";
|
|
220
198
|
}, {
|
|
221
|
-
readonly internalType: "address";
|
|
222
199
|
readonly name: "addr";
|
|
223
200
|
readonly type: "address";
|
|
224
|
-
}, {
|
|
225
201
|
readonly internalType: "address";
|
|
202
|
+
}, {
|
|
226
203
|
readonly name: "borrower";
|
|
227
204
|
readonly type: "address";
|
|
228
|
-
}, {
|
|
229
205
|
readonly internalType: "address";
|
|
206
|
+
}, {
|
|
230
207
|
readonly name: "creditManager";
|
|
231
208
|
readonly type: "address";
|
|
209
|
+
readonly internalType: "address";
|
|
232
210
|
}, {
|
|
233
|
-
readonly
|
|
234
|
-
readonly name: "cmDescription";
|
|
211
|
+
readonly name: "cmName";
|
|
235
212
|
readonly type: "string";
|
|
213
|
+
readonly internalType: "string";
|
|
236
214
|
}, {
|
|
237
|
-
readonly internalType: "address";
|
|
238
215
|
readonly name: "creditFacade";
|
|
239
216
|
readonly type: "address";
|
|
240
|
-
}, {
|
|
241
217
|
readonly internalType: "address";
|
|
218
|
+
}, {
|
|
242
219
|
readonly name: "underlying";
|
|
243
220
|
readonly type: "address";
|
|
221
|
+
readonly internalType: "address";
|
|
244
222
|
}, {
|
|
245
|
-
readonly internalType: "uint256";
|
|
246
223
|
readonly name: "debt";
|
|
247
224
|
readonly type: "uint256";
|
|
248
|
-
}, {
|
|
249
225
|
readonly internalType: "uint256";
|
|
250
|
-
readonly name: "cumulativeIndexNow";
|
|
251
|
-
readonly type: "uint256";
|
|
252
226
|
}, {
|
|
253
|
-
readonly internalType: "uint256";
|
|
254
227
|
readonly name: "cumulativeIndexLastUpdate";
|
|
255
228
|
readonly type: "uint256";
|
|
229
|
+
readonly internalType: "uint256";
|
|
256
230
|
}, {
|
|
257
|
-
readonly internalType: "uint128";
|
|
258
231
|
readonly name: "cumulativeQuotaInterest";
|
|
259
232
|
readonly type: "uint128";
|
|
233
|
+
readonly internalType: "uint128";
|
|
260
234
|
}, {
|
|
261
|
-
readonly internalType: "uint256";
|
|
262
235
|
readonly name: "accruedInterest";
|
|
263
236
|
readonly type: "uint256";
|
|
264
|
-
}, {
|
|
265
237
|
readonly internalType: "uint256";
|
|
238
|
+
}, {
|
|
266
239
|
readonly name: "accruedFees";
|
|
267
240
|
readonly type: "uint256";
|
|
268
|
-
}, {
|
|
269
241
|
readonly internalType: "uint256";
|
|
242
|
+
}, {
|
|
270
243
|
readonly name: "totalDebtUSD";
|
|
271
244
|
readonly type: "uint256";
|
|
272
|
-
}, {
|
|
273
245
|
readonly internalType: "uint256";
|
|
246
|
+
}, {
|
|
274
247
|
readonly name: "totalValue";
|
|
275
248
|
readonly type: "uint256";
|
|
276
|
-
}, {
|
|
277
249
|
readonly internalType: "uint256";
|
|
250
|
+
}, {
|
|
278
251
|
readonly name: "totalValueUSD";
|
|
279
252
|
readonly type: "uint256";
|
|
280
|
-
}, {
|
|
281
253
|
readonly internalType: "uint256";
|
|
254
|
+
}, {
|
|
282
255
|
readonly name: "twvUSD";
|
|
283
256
|
readonly type: "uint256";
|
|
284
|
-
}, {
|
|
285
257
|
readonly internalType: "uint256";
|
|
258
|
+
}, {
|
|
286
259
|
readonly name: "enabledTokensMask";
|
|
287
260
|
readonly type: "uint256";
|
|
288
|
-
}, {
|
|
289
261
|
readonly internalType: "uint256";
|
|
262
|
+
}, {
|
|
290
263
|
readonly name: "healthFactor";
|
|
291
264
|
readonly type: "uint256";
|
|
292
|
-
}, {
|
|
293
265
|
readonly internalType: "uint256";
|
|
266
|
+
}, {
|
|
294
267
|
readonly name: "baseBorrowRate";
|
|
295
268
|
readonly type: "uint256";
|
|
296
|
-
}, {
|
|
297
269
|
readonly internalType: "uint256";
|
|
270
|
+
}, {
|
|
298
271
|
readonly name: "aggregatedBorrowRate";
|
|
299
272
|
readonly type: "uint256";
|
|
273
|
+
readonly internalType: "uint256";
|
|
300
274
|
}, {
|
|
275
|
+
readonly name: "balances";
|
|
276
|
+
readonly type: "tuple[]";
|
|
277
|
+
readonly internalType: "struct TokenBalance[]";
|
|
301
278
|
readonly components: readonly [{
|
|
302
|
-
readonly internalType: "address";
|
|
303
279
|
readonly name: "token";
|
|
304
280
|
readonly type: "address";
|
|
281
|
+
readonly internalType: "address";
|
|
305
282
|
}, {
|
|
306
|
-
readonly internalType: "uint256";
|
|
307
283
|
readonly name: "balance";
|
|
308
284
|
readonly type: "uint256";
|
|
285
|
+
readonly internalType: "uint256";
|
|
309
286
|
}, {
|
|
310
|
-
readonly internalType: "bool";
|
|
311
287
|
readonly name: "isForbidden";
|
|
312
288
|
readonly type: "bool";
|
|
313
|
-
}, {
|
|
314
289
|
readonly internalType: "bool";
|
|
290
|
+
}, {
|
|
315
291
|
readonly name: "isEnabled";
|
|
316
292
|
readonly type: "bool";
|
|
317
|
-
}, {
|
|
318
293
|
readonly internalType: "bool";
|
|
294
|
+
}, {
|
|
319
295
|
readonly name: "isQuoted";
|
|
320
296
|
readonly type: "bool";
|
|
297
|
+
readonly internalType: "bool";
|
|
321
298
|
}, {
|
|
322
|
-
readonly internalType: "uint256";
|
|
323
299
|
readonly name: "quota";
|
|
324
300
|
readonly type: "uint256";
|
|
301
|
+
readonly internalType: "uint256";
|
|
325
302
|
}, {
|
|
326
|
-
readonly internalType: "uint16";
|
|
327
303
|
readonly name: "quotaRate";
|
|
328
304
|
readonly type: "uint16";
|
|
305
|
+
readonly internalType: "uint16";
|
|
306
|
+
}, {
|
|
307
|
+
readonly name: "quotaCumulativeIndexLU";
|
|
308
|
+
readonly type: "uint256";
|
|
309
|
+
readonly internalType: "uint256";
|
|
329
310
|
}];
|
|
330
|
-
readonly internalType: "struct TokenBalance[]";
|
|
331
|
-
readonly name: "balances";
|
|
332
|
-
readonly type: "tuple[]";
|
|
333
311
|
}, {
|
|
334
|
-
readonly internalType: "uint64";
|
|
335
312
|
readonly name: "since";
|
|
336
313
|
readonly type: "uint64";
|
|
314
|
+
readonly internalType: "uint64";
|
|
337
315
|
}, {
|
|
338
|
-
readonly internalType: "uint256";
|
|
339
316
|
readonly name: "cfVersion";
|
|
340
317
|
readonly type: "uint256";
|
|
318
|
+
readonly internalType: "uint256";
|
|
341
319
|
}, {
|
|
342
|
-
readonly internalType: "uint40";
|
|
343
320
|
readonly name: "expirationDate";
|
|
344
321
|
readonly type: "uint40";
|
|
322
|
+
readonly internalType: "uint40";
|
|
345
323
|
}, {
|
|
346
|
-
readonly internalType: "address[]";
|
|
347
324
|
readonly name: "activeBots";
|
|
348
325
|
readonly type: "address[]";
|
|
349
|
-
|
|
350
|
-
readonly internalType: "uint256";
|
|
351
|
-
readonly name: "maxApprovedBots";
|
|
352
|
-
readonly type: "uint256";
|
|
353
|
-
}, {
|
|
354
|
-
readonly components: readonly [{
|
|
355
|
-
readonly internalType: "uint8";
|
|
356
|
-
readonly name: "tokenIndex";
|
|
357
|
-
readonly type: "uint8";
|
|
358
|
-
}, {
|
|
359
|
-
readonly internalType: "uint40";
|
|
360
|
-
readonly name: "maturity";
|
|
361
|
-
readonly type: "uint40";
|
|
362
|
-
}, {
|
|
363
|
-
readonly internalType: "address";
|
|
364
|
-
readonly name: "token";
|
|
365
|
-
readonly type: "address";
|
|
366
|
-
}, {
|
|
367
|
-
readonly internalType: "uint256";
|
|
368
|
-
readonly name: "amount";
|
|
369
|
-
readonly type: "uint256";
|
|
370
|
-
}];
|
|
371
|
-
readonly internalType: "struct ScheduledWithdrawal[2]";
|
|
372
|
-
readonly name: "schedultedWithdrawals";
|
|
373
|
-
readonly type: "tuple[2]";
|
|
326
|
+
readonly internalType: "address[]";
|
|
374
327
|
}];
|
|
375
|
-
readonly internalType: "struct CreditAccountData[]";
|
|
376
|
-
readonly name: "";
|
|
377
|
-
readonly type: "tuple[]";
|
|
378
328
|
}];
|
|
379
329
|
readonly stateMutability: "view";
|
|
380
|
-
readonly type: "function";
|
|
381
330
|
}, {
|
|
331
|
+
readonly type: "function";
|
|
332
|
+
readonly name: "getCreditManagerData";
|
|
382
333
|
readonly inputs: readonly [{
|
|
383
|
-
readonly internalType: "address";
|
|
384
334
|
readonly name: "_creditManager";
|
|
385
335
|
readonly type: "address";
|
|
336
|
+
readonly internalType: "address";
|
|
386
337
|
}];
|
|
387
|
-
readonly name: "getCreditManagerData";
|
|
388
338
|
readonly outputs: readonly [{
|
|
339
|
+
readonly name: "";
|
|
340
|
+
readonly type: "tuple";
|
|
341
|
+
readonly internalType: "struct CreditManagerData";
|
|
389
342
|
readonly components: readonly [{
|
|
390
|
-
readonly internalType: "address";
|
|
391
343
|
readonly name: "addr";
|
|
392
344
|
readonly type: "address";
|
|
345
|
+
readonly internalType: "address";
|
|
393
346
|
}, {
|
|
394
|
-
readonly internalType: "string";
|
|
395
347
|
readonly name: "name";
|
|
396
348
|
readonly type: "string";
|
|
349
|
+
readonly internalType: "string";
|
|
397
350
|
}, {
|
|
398
|
-
readonly internalType: "uint256";
|
|
399
351
|
readonly name: "cfVersion";
|
|
400
352
|
readonly type: "uint256";
|
|
353
|
+
readonly internalType: "uint256";
|
|
401
354
|
}, {
|
|
402
|
-
readonly internalType: "address";
|
|
403
355
|
readonly name: "creditFacade";
|
|
404
356
|
readonly type: "address";
|
|
405
|
-
}, {
|
|
406
357
|
readonly internalType: "address";
|
|
358
|
+
}, {
|
|
407
359
|
readonly name: "creditConfigurator";
|
|
408
360
|
readonly type: "address";
|
|
409
|
-
}, {
|
|
410
361
|
readonly internalType: "address";
|
|
362
|
+
}, {
|
|
411
363
|
readonly name: "underlying";
|
|
412
364
|
readonly type: "address";
|
|
413
|
-
}, {
|
|
414
365
|
readonly internalType: "address";
|
|
366
|
+
}, {
|
|
415
367
|
readonly name: "pool";
|
|
416
368
|
readonly type: "address";
|
|
369
|
+
readonly internalType: "address";
|
|
417
370
|
}, {
|
|
418
|
-
readonly internalType: "uint256";
|
|
419
371
|
readonly name: "totalDebt";
|
|
420
372
|
readonly type: "uint256";
|
|
421
|
-
}, {
|
|
422
373
|
readonly internalType: "uint256";
|
|
374
|
+
}, {
|
|
423
375
|
readonly name: "totalDebtLimit";
|
|
424
376
|
readonly type: "uint256";
|
|
425
|
-
}, {
|
|
426
377
|
readonly internalType: "uint256";
|
|
378
|
+
}, {
|
|
427
379
|
readonly name: "baseBorrowRate";
|
|
428
380
|
readonly type: "uint256";
|
|
429
|
-
}, {
|
|
430
381
|
readonly internalType: "uint256";
|
|
382
|
+
}, {
|
|
431
383
|
readonly name: "minDebt";
|
|
432
384
|
readonly type: "uint256";
|
|
433
|
-
}, {
|
|
434
385
|
readonly internalType: "uint256";
|
|
386
|
+
}, {
|
|
435
387
|
readonly name: "maxDebt";
|
|
436
388
|
readonly type: "uint256";
|
|
437
|
-
}, {
|
|
438
389
|
readonly internalType: "uint256";
|
|
390
|
+
}, {
|
|
439
391
|
readonly name: "availableToBorrow";
|
|
440
392
|
readonly type: "uint256";
|
|
393
|
+
readonly internalType: "uint256";
|
|
441
394
|
}, {
|
|
442
|
-
readonly internalType: "address[]";
|
|
443
395
|
readonly name: "collateralTokens";
|
|
444
396
|
readonly type: "address[]";
|
|
397
|
+
readonly internalType: "address[]";
|
|
445
398
|
}, {
|
|
399
|
+
readonly name: "adapters";
|
|
400
|
+
readonly type: "tuple[]";
|
|
401
|
+
readonly internalType: "struct ContractAdapter[]";
|
|
446
402
|
readonly components: readonly [{
|
|
447
|
-
readonly internalType: "address";
|
|
448
403
|
readonly name: "targetContract";
|
|
449
404
|
readonly type: "address";
|
|
450
|
-
}, {
|
|
451
405
|
readonly internalType: "address";
|
|
406
|
+
}, {
|
|
452
407
|
readonly name: "adapter";
|
|
453
408
|
readonly type: "address";
|
|
409
|
+
readonly internalType: "address";
|
|
454
410
|
}];
|
|
455
|
-
readonly internalType: "struct ContractAdapter[]";
|
|
456
|
-
readonly name: "adapters";
|
|
457
|
-
readonly type: "tuple[]";
|
|
458
411
|
}, {
|
|
459
|
-
readonly internalType: "uint256[]";
|
|
460
412
|
readonly name: "liquidationThresholds";
|
|
461
413
|
readonly type: "uint256[]";
|
|
414
|
+
readonly internalType: "uint256[]";
|
|
462
415
|
}, {
|
|
463
|
-
readonly internalType: "bool";
|
|
464
416
|
readonly name: "isDegenMode";
|
|
465
417
|
readonly type: "bool";
|
|
418
|
+
readonly internalType: "bool";
|
|
466
419
|
}, {
|
|
467
|
-
readonly internalType: "address";
|
|
468
420
|
readonly name: "degenNFT";
|
|
469
421
|
readonly type: "address";
|
|
422
|
+
readonly internalType: "address";
|
|
470
423
|
}, {
|
|
471
|
-
readonly internalType: "uint256";
|
|
472
424
|
readonly name: "forbiddenTokenMask";
|
|
473
425
|
readonly type: "uint256";
|
|
426
|
+
readonly internalType: "uint256";
|
|
474
427
|
}, {
|
|
475
|
-
readonly internalType: "uint8";
|
|
476
428
|
readonly name: "maxEnabledTokensLength";
|
|
477
429
|
readonly type: "uint8";
|
|
430
|
+
readonly internalType: "uint8";
|
|
478
431
|
}, {
|
|
479
|
-
readonly internalType: "uint16";
|
|
480
432
|
readonly name: "feeInterest";
|
|
481
433
|
readonly type: "uint16";
|
|
482
|
-
}, {
|
|
483
434
|
readonly internalType: "uint16";
|
|
435
|
+
}, {
|
|
484
436
|
readonly name: "feeLiquidation";
|
|
485
437
|
readonly type: "uint16";
|
|
486
|
-
}, {
|
|
487
438
|
readonly internalType: "uint16";
|
|
439
|
+
}, {
|
|
488
440
|
readonly name: "liquidationDiscount";
|
|
489
441
|
readonly type: "uint16";
|
|
490
|
-
}, {
|
|
491
442
|
readonly internalType: "uint16";
|
|
443
|
+
}, {
|
|
492
444
|
readonly name: "feeLiquidationExpired";
|
|
493
445
|
readonly type: "uint16";
|
|
494
|
-
}, {
|
|
495
446
|
readonly internalType: "uint16";
|
|
447
|
+
}, {
|
|
496
448
|
readonly name: "liquidationDiscountExpired";
|
|
497
449
|
readonly type: "uint16";
|
|
450
|
+
readonly internalType: "uint16";
|
|
498
451
|
}, {
|
|
452
|
+
readonly name: "quotas";
|
|
453
|
+
readonly type: "tuple[]";
|
|
454
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
499
455
|
readonly components: readonly [{
|
|
500
|
-
readonly internalType: "address";
|
|
501
456
|
readonly name: "token";
|
|
502
457
|
readonly type: "address";
|
|
458
|
+
readonly internalType: "address";
|
|
503
459
|
}, {
|
|
504
|
-
readonly internalType: "uint16";
|
|
505
460
|
readonly name: "rate";
|
|
506
461
|
readonly type: "uint16";
|
|
507
|
-
}, {
|
|
508
462
|
readonly internalType: "uint16";
|
|
463
|
+
}, {
|
|
509
464
|
readonly name: "quotaIncreaseFee";
|
|
510
465
|
readonly type: "uint16";
|
|
466
|
+
readonly internalType: "uint16";
|
|
511
467
|
}, {
|
|
512
|
-
readonly internalType: "uint96";
|
|
513
468
|
readonly name: "totalQuoted";
|
|
514
469
|
readonly type: "uint96";
|
|
515
|
-
}, {
|
|
516
470
|
readonly internalType: "uint96";
|
|
471
|
+
}, {
|
|
517
472
|
readonly name: "limit";
|
|
518
473
|
readonly type: "uint96";
|
|
474
|
+
readonly internalType: "uint96";
|
|
519
475
|
}, {
|
|
520
|
-
readonly internalType: "bool";
|
|
521
476
|
readonly name: "isActive";
|
|
522
477
|
readonly type: "bool";
|
|
478
|
+
readonly internalType: "bool";
|
|
523
479
|
}];
|
|
524
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
525
|
-
readonly name: "quotas";
|
|
526
|
-
readonly type: "tuple[]";
|
|
527
480
|
}, {
|
|
481
|
+
readonly name: "lirm";
|
|
482
|
+
readonly type: "tuple";
|
|
483
|
+
readonly internalType: "struct LinearModel";
|
|
528
484
|
readonly components: readonly [{
|
|
529
|
-
readonly internalType: "address";
|
|
530
485
|
readonly name: "interestModel";
|
|
531
486
|
readonly type: "address";
|
|
487
|
+
readonly internalType: "address";
|
|
532
488
|
}, {
|
|
533
|
-
readonly internalType: "uint256";
|
|
534
489
|
readonly name: "version";
|
|
535
490
|
readonly type: "uint256";
|
|
491
|
+
readonly internalType: "uint256";
|
|
536
492
|
}, {
|
|
537
|
-
readonly internalType: "uint16";
|
|
538
493
|
readonly name: "U_1";
|
|
539
494
|
readonly type: "uint16";
|
|
540
|
-
}, {
|
|
541
495
|
readonly internalType: "uint16";
|
|
496
|
+
}, {
|
|
542
497
|
readonly name: "U_2";
|
|
543
498
|
readonly type: "uint16";
|
|
544
|
-
}, {
|
|
545
499
|
readonly internalType: "uint16";
|
|
500
|
+
}, {
|
|
546
501
|
readonly name: "R_base";
|
|
547
502
|
readonly type: "uint16";
|
|
548
|
-
}, {
|
|
549
503
|
readonly internalType: "uint16";
|
|
504
|
+
}, {
|
|
550
505
|
readonly name: "R_slope1";
|
|
551
506
|
readonly type: "uint16";
|
|
552
|
-
}, {
|
|
553
507
|
readonly internalType: "uint16";
|
|
508
|
+
}, {
|
|
554
509
|
readonly name: "R_slope2";
|
|
555
510
|
readonly type: "uint16";
|
|
556
|
-
}, {
|
|
557
511
|
readonly internalType: "uint16";
|
|
512
|
+
}, {
|
|
558
513
|
readonly name: "R_slope3";
|
|
559
514
|
readonly type: "uint16";
|
|
515
|
+
readonly internalType: "uint16";
|
|
560
516
|
}, {
|
|
561
|
-
readonly internalType: "bool";
|
|
562
517
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
563
518
|
readonly type: "bool";
|
|
519
|
+
readonly internalType: "bool";
|
|
564
520
|
}];
|
|
565
|
-
readonly internalType: "struct LinearModel";
|
|
566
|
-
readonly name: "lirm";
|
|
567
|
-
readonly type: "tuple";
|
|
568
521
|
}, {
|
|
569
|
-
readonly internalType: "bool";
|
|
570
522
|
readonly name: "isPaused";
|
|
571
523
|
readonly type: "bool";
|
|
524
|
+
readonly internalType: "bool";
|
|
572
525
|
}];
|
|
573
|
-
readonly internalType: "struct CreditManagerData";
|
|
574
|
-
readonly name: "";
|
|
575
|
-
readonly type: "tuple";
|
|
576
526
|
}];
|
|
577
527
|
readonly stateMutability: "view";
|
|
578
|
-
readonly type: "function";
|
|
579
528
|
}, {
|
|
580
|
-
readonly
|
|
529
|
+
readonly type: "function";
|
|
581
530
|
readonly name: "getCreditManagersV2List";
|
|
531
|
+
readonly inputs: readonly [];
|
|
582
532
|
readonly outputs: readonly [{
|
|
533
|
+
readonly name: "";
|
|
534
|
+
readonly type: "tuple[]";
|
|
535
|
+
readonly internalType: "struct CreditManagerData[]";
|
|
583
536
|
readonly components: readonly [{
|
|
584
|
-
readonly internalType: "address";
|
|
585
537
|
readonly name: "addr";
|
|
586
538
|
readonly type: "address";
|
|
539
|
+
readonly internalType: "address";
|
|
587
540
|
}, {
|
|
588
|
-
readonly internalType: "string";
|
|
589
541
|
readonly name: "name";
|
|
590
542
|
readonly type: "string";
|
|
543
|
+
readonly internalType: "string";
|
|
591
544
|
}, {
|
|
592
|
-
readonly internalType: "uint256";
|
|
593
545
|
readonly name: "cfVersion";
|
|
594
546
|
readonly type: "uint256";
|
|
547
|
+
readonly internalType: "uint256";
|
|
595
548
|
}, {
|
|
596
|
-
readonly internalType: "address";
|
|
597
549
|
readonly name: "creditFacade";
|
|
598
550
|
readonly type: "address";
|
|
599
|
-
}, {
|
|
600
551
|
readonly internalType: "address";
|
|
552
|
+
}, {
|
|
601
553
|
readonly name: "creditConfigurator";
|
|
602
554
|
readonly type: "address";
|
|
603
|
-
}, {
|
|
604
555
|
readonly internalType: "address";
|
|
556
|
+
}, {
|
|
605
557
|
readonly name: "underlying";
|
|
606
558
|
readonly type: "address";
|
|
607
|
-
}, {
|
|
608
559
|
readonly internalType: "address";
|
|
560
|
+
}, {
|
|
609
561
|
readonly name: "pool";
|
|
610
562
|
readonly type: "address";
|
|
563
|
+
readonly internalType: "address";
|
|
611
564
|
}, {
|
|
612
|
-
readonly internalType: "uint256";
|
|
613
565
|
readonly name: "totalDebt";
|
|
614
566
|
readonly type: "uint256";
|
|
615
|
-
}, {
|
|
616
567
|
readonly internalType: "uint256";
|
|
568
|
+
}, {
|
|
617
569
|
readonly name: "totalDebtLimit";
|
|
618
570
|
readonly type: "uint256";
|
|
619
|
-
}, {
|
|
620
571
|
readonly internalType: "uint256";
|
|
572
|
+
}, {
|
|
621
573
|
readonly name: "baseBorrowRate";
|
|
622
574
|
readonly type: "uint256";
|
|
623
|
-
}, {
|
|
624
575
|
readonly internalType: "uint256";
|
|
576
|
+
}, {
|
|
625
577
|
readonly name: "minDebt";
|
|
626
578
|
readonly type: "uint256";
|
|
627
|
-
}, {
|
|
628
579
|
readonly internalType: "uint256";
|
|
580
|
+
}, {
|
|
629
581
|
readonly name: "maxDebt";
|
|
630
582
|
readonly type: "uint256";
|
|
631
|
-
}, {
|
|
632
583
|
readonly internalType: "uint256";
|
|
584
|
+
}, {
|
|
633
585
|
readonly name: "availableToBorrow";
|
|
634
586
|
readonly type: "uint256";
|
|
587
|
+
readonly internalType: "uint256";
|
|
635
588
|
}, {
|
|
636
|
-
readonly internalType: "address[]";
|
|
637
589
|
readonly name: "collateralTokens";
|
|
638
590
|
readonly type: "address[]";
|
|
591
|
+
readonly internalType: "address[]";
|
|
639
592
|
}, {
|
|
593
|
+
readonly name: "adapters";
|
|
594
|
+
readonly type: "tuple[]";
|
|
595
|
+
readonly internalType: "struct ContractAdapter[]";
|
|
640
596
|
readonly components: readonly [{
|
|
641
|
-
readonly internalType: "address";
|
|
642
597
|
readonly name: "targetContract";
|
|
643
598
|
readonly type: "address";
|
|
644
|
-
}, {
|
|
645
599
|
readonly internalType: "address";
|
|
600
|
+
}, {
|
|
646
601
|
readonly name: "adapter";
|
|
647
602
|
readonly type: "address";
|
|
603
|
+
readonly internalType: "address";
|
|
648
604
|
}];
|
|
649
|
-
readonly internalType: "struct ContractAdapter[]";
|
|
650
|
-
readonly name: "adapters";
|
|
651
|
-
readonly type: "tuple[]";
|
|
652
605
|
}, {
|
|
653
|
-
readonly internalType: "uint256[]";
|
|
654
606
|
readonly name: "liquidationThresholds";
|
|
655
607
|
readonly type: "uint256[]";
|
|
608
|
+
readonly internalType: "uint256[]";
|
|
656
609
|
}, {
|
|
657
|
-
readonly internalType: "bool";
|
|
658
610
|
readonly name: "isDegenMode";
|
|
659
611
|
readonly type: "bool";
|
|
612
|
+
readonly internalType: "bool";
|
|
660
613
|
}, {
|
|
661
|
-
readonly internalType: "address";
|
|
662
614
|
readonly name: "degenNFT";
|
|
663
615
|
readonly type: "address";
|
|
616
|
+
readonly internalType: "address";
|
|
664
617
|
}, {
|
|
665
|
-
readonly internalType: "uint256";
|
|
666
618
|
readonly name: "forbiddenTokenMask";
|
|
667
619
|
readonly type: "uint256";
|
|
620
|
+
readonly internalType: "uint256";
|
|
668
621
|
}, {
|
|
669
|
-
readonly internalType: "uint8";
|
|
670
622
|
readonly name: "maxEnabledTokensLength";
|
|
671
623
|
readonly type: "uint8";
|
|
624
|
+
readonly internalType: "uint8";
|
|
672
625
|
}, {
|
|
673
|
-
readonly internalType: "uint16";
|
|
674
626
|
readonly name: "feeInterest";
|
|
675
627
|
readonly type: "uint16";
|
|
676
|
-
}, {
|
|
677
628
|
readonly internalType: "uint16";
|
|
629
|
+
}, {
|
|
678
630
|
readonly name: "feeLiquidation";
|
|
679
631
|
readonly type: "uint16";
|
|
680
|
-
}, {
|
|
681
632
|
readonly internalType: "uint16";
|
|
633
|
+
}, {
|
|
682
634
|
readonly name: "liquidationDiscount";
|
|
683
635
|
readonly type: "uint16";
|
|
684
|
-
}, {
|
|
685
636
|
readonly internalType: "uint16";
|
|
637
|
+
}, {
|
|
686
638
|
readonly name: "feeLiquidationExpired";
|
|
687
639
|
readonly type: "uint16";
|
|
688
|
-
}, {
|
|
689
640
|
readonly internalType: "uint16";
|
|
641
|
+
}, {
|
|
690
642
|
readonly name: "liquidationDiscountExpired";
|
|
691
643
|
readonly type: "uint16";
|
|
644
|
+
readonly internalType: "uint16";
|
|
692
645
|
}, {
|
|
646
|
+
readonly name: "quotas";
|
|
647
|
+
readonly type: "tuple[]";
|
|
648
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
693
649
|
readonly components: readonly [{
|
|
694
|
-
readonly internalType: "address";
|
|
695
650
|
readonly name: "token";
|
|
696
651
|
readonly type: "address";
|
|
652
|
+
readonly internalType: "address";
|
|
697
653
|
}, {
|
|
698
|
-
readonly internalType: "uint16";
|
|
699
654
|
readonly name: "rate";
|
|
700
655
|
readonly type: "uint16";
|
|
701
|
-
}, {
|
|
702
656
|
readonly internalType: "uint16";
|
|
657
|
+
}, {
|
|
703
658
|
readonly name: "quotaIncreaseFee";
|
|
704
659
|
readonly type: "uint16";
|
|
660
|
+
readonly internalType: "uint16";
|
|
705
661
|
}, {
|
|
706
|
-
readonly internalType: "uint96";
|
|
707
662
|
readonly name: "totalQuoted";
|
|
708
663
|
readonly type: "uint96";
|
|
709
|
-
}, {
|
|
710
664
|
readonly internalType: "uint96";
|
|
665
|
+
}, {
|
|
711
666
|
readonly name: "limit";
|
|
712
667
|
readonly type: "uint96";
|
|
668
|
+
readonly internalType: "uint96";
|
|
713
669
|
}, {
|
|
714
|
-
readonly internalType: "bool";
|
|
715
670
|
readonly name: "isActive";
|
|
716
671
|
readonly type: "bool";
|
|
672
|
+
readonly internalType: "bool";
|
|
717
673
|
}];
|
|
718
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
719
|
-
readonly name: "quotas";
|
|
720
|
-
readonly type: "tuple[]";
|
|
721
674
|
}, {
|
|
675
|
+
readonly name: "lirm";
|
|
676
|
+
readonly type: "tuple";
|
|
677
|
+
readonly internalType: "struct LinearModel";
|
|
722
678
|
readonly components: readonly [{
|
|
723
|
-
readonly internalType: "address";
|
|
724
679
|
readonly name: "interestModel";
|
|
725
680
|
readonly type: "address";
|
|
681
|
+
readonly internalType: "address";
|
|
726
682
|
}, {
|
|
727
|
-
readonly internalType: "uint256";
|
|
728
683
|
readonly name: "version";
|
|
729
684
|
readonly type: "uint256";
|
|
685
|
+
readonly internalType: "uint256";
|
|
730
686
|
}, {
|
|
731
|
-
readonly internalType: "uint16";
|
|
732
687
|
readonly name: "U_1";
|
|
733
688
|
readonly type: "uint16";
|
|
734
|
-
}, {
|
|
735
689
|
readonly internalType: "uint16";
|
|
690
|
+
}, {
|
|
736
691
|
readonly name: "U_2";
|
|
737
692
|
readonly type: "uint16";
|
|
738
|
-
}, {
|
|
739
693
|
readonly internalType: "uint16";
|
|
694
|
+
}, {
|
|
740
695
|
readonly name: "R_base";
|
|
741
696
|
readonly type: "uint16";
|
|
742
|
-
}, {
|
|
743
697
|
readonly internalType: "uint16";
|
|
698
|
+
}, {
|
|
744
699
|
readonly name: "R_slope1";
|
|
745
700
|
readonly type: "uint16";
|
|
746
|
-
}, {
|
|
747
701
|
readonly internalType: "uint16";
|
|
702
|
+
}, {
|
|
748
703
|
readonly name: "R_slope2";
|
|
749
704
|
readonly type: "uint16";
|
|
750
|
-
}, {
|
|
751
705
|
readonly internalType: "uint16";
|
|
706
|
+
}, {
|
|
752
707
|
readonly name: "R_slope3";
|
|
753
708
|
readonly type: "uint16";
|
|
709
|
+
readonly internalType: "uint16";
|
|
754
710
|
}, {
|
|
755
|
-
readonly internalType: "bool";
|
|
756
711
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
757
712
|
readonly type: "bool";
|
|
713
|
+
readonly internalType: "bool";
|
|
758
714
|
}];
|
|
759
|
-
readonly internalType: "struct LinearModel";
|
|
760
|
-
readonly name: "lirm";
|
|
761
|
-
readonly type: "tuple";
|
|
762
715
|
}, {
|
|
763
|
-
readonly internalType: "bool";
|
|
764
716
|
readonly name: "isPaused";
|
|
765
717
|
readonly type: "bool";
|
|
718
|
+
readonly internalType: "bool";
|
|
766
719
|
}];
|
|
767
|
-
readonly internalType: "struct CreditManagerData[]";
|
|
768
|
-
readonly name: "";
|
|
769
|
-
readonly type: "tuple[]";
|
|
770
720
|
}];
|
|
771
721
|
readonly stateMutability: "view";
|
|
772
|
-
readonly type: "function";
|
|
773
722
|
}, {
|
|
723
|
+
readonly type: "function";
|
|
724
|
+
readonly name: "getPoolData";
|
|
774
725
|
readonly inputs: readonly [{
|
|
775
|
-
readonly internalType: "address";
|
|
776
726
|
readonly name: "_pool";
|
|
777
727
|
readonly type: "address";
|
|
728
|
+
readonly internalType: "address";
|
|
778
729
|
}];
|
|
779
|
-
readonly name: "getPoolData";
|
|
780
730
|
readonly outputs: readonly [{
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "tuple";
|
|
733
|
+
readonly internalType: "struct PoolData";
|
|
781
734
|
readonly components: readonly [{
|
|
782
|
-
readonly internalType: "address";
|
|
783
735
|
readonly name: "addr";
|
|
784
736
|
readonly type: "address";
|
|
785
|
-
}, {
|
|
786
737
|
readonly internalType: "address";
|
|
738
|
+
}, {
|
|
787
739
|
readonly name: "underlying";
|
|
788
740
|
readonly type: "address";
|
|
789
|
-
}, {
|
|
790
741
|
readonly internalType: "address";
|
|
742
|
+
}, {
|
|
791
743
|
readonly name: "dieselToken";
|
|
792
744
|
readonly type: "address";
|
|
745
|
+
readonly internalType: "address";
|
|
793
746
|
}, {
|
|
794
|
-
readonly internalType: "string";
|
|
795
747
|
readonly name: "symbol";
|
|
796
748
|
readonly type: "string";
|
|
797
|
-
}, {
|
|
798
749
|
readonly internalType: "string";
|
|
750
|
+
}, {
|
|
799
751
|
readonly name: "name";
|
|
800
752
|
readonly type: "string";
|
|
753
|
+
readonly internalType: "string";
|
|
801
754
|
}, {
|
|
802
|
-
readonly
|
|
803
|
-
readonly name: "linearCumulativeIndex";
|
|
755
|
+
readonly name: "baseInterestIndex";
|
|
804
756
|
readonly type: "uint256";
|
|
805
|
-
}, {
|
|
806
757
|
readonly internalType: "uint256";
|
|
758
|
+
}, {
|
|
807
759
|
readonly name: "availableLiquidity";
|
|
808
760
|
readonly type: "uint256";
|
|
809
|
-
}, {
|
|
810
761
|
readonly internalType: "uint256";
|
|
762
|
+
}, {
|
|
811
763
|
readonly name: "expectedLiquidity";
|
|
812
764
|
readonly type: "uint256";
|
|
813
|
-
}, {
|
|
814
765
|
readonly internalType: "uint256";
|
|
766
|
+
}, {
|
|
815
767
|
readonly name: "totalBorrowed";
|
|
816
768
|
readonly type: "uint256";
|
|
817
|
-
}, {
|
|
818
769
|
readonly internalType: "uint256";
|
|
770
|
+
}, {
|
|
819
771
|
readonly name: "totalDebtLimit";
|
|
820
772
|
readonly type: "uint256";
|
|
773
|
+
readonly internalType: "uint256";
|
|
821
774
|
}, {
|
|
775
|
+
readonly name: "creditManagerDebtParams";
|
|
776
|
+
readonly type: "tuple[]";
|
|
777
|
+
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
822
778
|
readonly components: readonly [{
|
|
823
|
-
readonly internalType: "address";
|
|
824
779
|
readonly name: "creditManager";
|
|
825
780
|
readonly type: "address";
|
|
781
|
+
readonly internalType: "address";
|
|
826
782
|
}, {
|
|
827
|
-
readonly internalType: "uint256";
|
|
828
783
|
readonly name: "borrowed";
|
|
829
784
|
readonly type: "uint256";
|
|
830
|
-
}, {
|
|
831
785
|
readonly internalType: "uint256";
|
|
786
|
+
}, {
|
|
832
787
|
readonly name: "limit";
|
|
833
788
|
readonly type: "uint256";
|
|
834
|
-
}, {
|
|
835
789
|
readonly internalType: "uint256";
|
|
790
|
+
}, {
|
|
836
791
|
readonly name: "availableToBorrow";
|
|
837
792
|
readonly type: "uint256";
|
|
793
|
+
readonly internalType: "uint256";
|
|
838
794
|
}];
|
|
839
|
-
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
840
|
-
readonly name: "creditManagerDebtParams";
|
|
841
|
-
readonly type: "tuple[]";
|
|
842
795
|
}, {
|
|
843
|
-
readonly internalType: "uint256";
|
|
844
796
|
readonly name: "totalAssets";
|
|
845
797
|
readonly type: "uint256";
|
|
846
|
-
}, {
|
|
847
798
|
readonly internalType: "uint256";
|
|
799
|
+
}, {
|
|
848
800
|
readonly name: "totalSupply";
|
|
849
801
|
readonly type: "uint256";
|
|
850
|
-
}, {
|
|
851
802
|
readonly internalType: "uint256";
|
|
803
|
+
}, {
|
|
852
804
|
readonly name: "supplyRate";
|
|
853
805
|
readonly type: "uint256";
|
|
854
|
-
}, {
|
|
855
806
|
readonly internalType: "uint256";
|
|
807
|
+
}, {
|
|
856
808
|
readonly name: "baseInterestRate";
|
|
857
809
|
readonly type: "uint256";
|
|
858
|
-
}, {
|
|
859
810
|
readonly internalType: "uint256";
|
|
811
|
+
}, {
|
|
860
812
|
readonly name: "dieselRate_RAY";
|
|
861
813
|
readonly type: "uint256";
|
|
862
|
-
}, {
|
|
863
814
|
readonly internalType: "uint256";
|
|
815
|
+
}, {
|
|
864
816
|
readonly name: "withdrawFee";
|
|
865
817
|
readonly type: "uint256";
|
|
866
|
-
}, {
|
|
867
818
|
readonly internalType: "uint256";
|
|
868
|
-
readonly name: "cumulativeIndex_RAY";
|
|
869
|
-
readonly type: "uint256";
|
|
870
819
|
}, {
|
|
820
|
+
readonly name: "lastBaseInterestUpdate";
|
|
821
|
+
readonly type: "uint256";
|
|
871
822
|
readonly internalType: "uint256";
|
|
823
|
+
}, {
|
|
872
824
|
readonly name: "baseInterestIndexLU";
|
|
873
825
|
readonly type: "uint256";
|
|
874
|
-
}, {
|
|
875
826
|
readonly internalType: "uint256";
|
|
827
|
+
}, {
|
|
876
828
|
readonly name: "version";
|
|
877
829
|
readonly type: "uint256";
|
|
830
|
+
readonly internalType: "uint256";
|
|
878
831
|
}, {
|
|
879
|
-
readonly internalType: "address";
|
|
880
832
|
readonly name: "poolQuotaKeeper";
|
|
881
833
|
readonly type: "address";
|
|
882
|
-
}, {
|
|
883
834
|
readonly internalType: "address";
|
|
835
|
+
}, {
|
|
884
836
|
readonly name: "gauge";
|
|
885
837
|
readonly type: "address";
|
|
838
|
+
readonly internalType: "address";
|
|
886
839
|
}, {
|
|
840
|
+
readonly name: "quotas";
|
|
841
|
+
readonly type: "tuple[]";
|
|
842
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
887
843
|
readonly components: readonly [{
|
|
888
|
-
readonly internalType: "address";
|
|
889
844
|
readonly name: "token";
|
|
890
845
|
readonly type: "address";
|
|
846
|
+
readonly internalType: "address";
|
|
891
847
|
}, {
|
|
892
|
-
readonly internalType: "uint16";
|
|
893
848
|
readonly name: "rate";
|
|
894
849
|
readonly type: "uint16";
|
|
895
|
-
}, {
|
|
896
850
|
readonly internalType: "uint16";
|
|
851
|
+
}, {
|
|
897
852
|
readonly name: "quotaIncreaseFee";
|
|
898
853
|
readonly type: "uint16";
|
|
854
|
+
readonly internalType: "uint16";
|
|
899
855
|
}, {
|
|
900
|
-
readonly internalType: "uint96";
|
|
901
856
|
readonly name: "totalQuoted";
|
|
902
857
|
readonly type: "uint96";
|
|
903
|
-
}, {
|
|
904
858
|
readonly internalType: "uint96";
|
|
859
|
+
}, {
|
|
905
860
|
readonly name: "limit";
|
|
906
861
|
readonly type: "uint96";
|
|
862
|
+
readonly internalType: "uint96";
|
|
907
863
|
}, {
|
|
908
|
-
readonly internalType: "bool";
|
|
909
864
|
readonly name: "isActive";
|
|
910
865
|
readonly type: "bool";
|
|
866
|
+
readonly internalType: "bool";
|
|
911
867
|
}];
|
|
912
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
913
|
-
readonly name: "quotas";
|
|
914
|
-
readonly type: "tuple[]";
|
|
915
868
|
}, {
|
|
869
|
+
readonly name: "zappers";
|
|
870
|
+
readonly type: "tuple[]";
|
|
871
|
+
readonly internalType: "struct ZapperInfo[]";
|
|
916
872
|
readonly components: readonly [{
|
|
917
|
-
readonly internalType: "address";
|
|
918
873
|
readonly name: "zapper";
|
|
919
874
|
readonly type: "address";
|
|
920
|
-
}, {
|
|
921
875
|
readonly internalType: "address";
|
|
876
|
+
}, {
|
|
922
877
|
readonly name: "tokenIn";
|
|
923
878
|
readonly type: "address";
|
|
924
|
-
}, {
|
|
925
879
|
readonly internalType: "address";
|
|
880
|
+
}, {
|
|
926
881
|
readonly name: "tokenOut";
|
|
927
882
|
readonly type: "address";
|
|
883
|
+
readonly internalType: "address";
|
|
928
884
|
}];
|
|
929
|
-
readonly internalType: "struct ZapperInfo[]";
|
|
930
|
-
readonly name: "zappers";
|
|
931
|
-
readonly type: "tuple[]";
|
|
932
885
|
}, {
|
|
886
|
+
readonly name: "lirm";
|
|
887
|
+
readonly type: "tuple";
|
|
888
|
+
readonly internalType: "struct LinearModel";
|
|
933
889
|
readonly components: readonly [{
|
|
934
|
-
readonly internalType: "address";
|
|
935
890
|
readonly name: "interestModel";
|
|
936
891
|
readonly type: "address";
|
|
892
|
+
readonly internalType: "address";
|
|
937
893
|
}, {
|
|
938
|
-
readonly internalType: "uint256";
|
|
939
894
|
readonly name: "version";
|
|
940
895
|
readonly type: "uint256";
|
|
896
|
+
readonly internalType: "uint256";
|
|
941
897
|
}, {
|
|
942
|
-
readonly internalType: "uint16";
|
|
943
898
|
readonly name: "U_1";
|
|
944
899
|
readonly type: "uint16";
|
|
945
|
-
}, {
|
|
946
900
|
readonly internalType: "uint16";
|
|
901
|
+
}, {
|
|
947
902
|
readonly name: "U_2";
|
|
948
903
|
readonly type: "uint16";
|
|
949
|
-
}, {
|
|
950
904
|
readonly internalType: "uint16";
|
|
905
|
+
}, {
|
|
951
906
|
readonly name: "R_base";
|
|
952
907
|
readonly type: "uint16";
|
|
953
|
-
}, {
|
|
954
908
|
readonly internalType: "uint16";
|
|
909
|
+
}, {
|
|
955
910
|
readonly name: "R_slope1";
|
|
956
911
|
readonly type: "uint16";
|
|
957
|
-
}, {
|
|
958
912
|
readonly internalType: "uint16";
|
|
913
|
+
}, {
|
|
959
914
|
readonly name: "R_slope2";
|
|
960
915
|
readonly type: "uint16";
|
|
961
|
-
}, {
|
|
962
916
|
readonly internalType: "uint16";
|
|
917
|
+
}, {
|
|
963
918
|
readonly name: "R_slope3";
|
|
964
919
|
readonly type: "uint16";
|
|
920
|
+
readonly internalType: "uint16";
|
|
965
921
|
}, {
|
|
966
|
-
readonly internalType: "bool";
|
|
967
922
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
968
923
|
readonly type: "bool";
|
|
924
|
+
readonly internalType: "bool";
|
|
969
925
|
}];
|
|
970
|
-
readonly internalType: "struct LinearModel";
|
|
971
|
-
readonly name: "lirm";
|
|
972
|
-
readonly type: "tuple";
|
|
973
926
|
}, {
|
|
974
|
-
readonly internalType: "bool";
|
|
975
927
|
readonly name: "isPaused";
|
|
976
928
|
readonly type: "bool";
|
|
929
|
+
readonly internalType: "bool";
|
|
977
930
|
}];
|
|
978
|
-
readonly internalType: "struct PoolData";
|
|
979
|
-
readonly name: "";
|
|
980
|
-
readonly type: "tuple";
|
|
981
931
|
}];
|
|
982
932
|
readonly stateMutability: "view";
|
|
983
|
-
readonly type: "function";
|
|
984
933
|
}, {
|
|
985
|
-
readonly
|
|
934
|
+
readonly type: "function";
|
|
986
935
|
readonly name: "getPoolsV1List";
|
|
936
|
+
readonly inputs: readonly [];
|
|
987
937
|
readonly outputs: readonly [{
|
|
938
|
+
readonly name: "";
|
|
939
|
+
readonly type: "tuple[]";
|
|
940
|
+
readonly internalType: "struct PoolData[]";
|
|
988
941
|
readonly components: readonly [{
|
|
989
|
-
readonly internalType: "address";
|
|
990
942
|
readonly name: "addr";
|
|
991
943
|
readonly type: "address";
|
|
992
|
-
}, {
|
|
993
944
|
readonly internalType: "address";
|
|
945
|
+
}, {
|
|
994
946
|
readonly name: "underlying";
|
|
995
947
|
readonly type: "address";
|
|
996
|
-
}, {
|
|
997
948
|
readonly internalType: "address";
|
|
949
|
+
}, {
|
|
998
950
|
readonly name: "dieselToken";
|
|
999
951
|
readonly type: "address";
|
|
952
|
+
readonly internalType: "address";
|
|
1000
953
|
}, {
|
|
1001
|
-
readonly internalType: "string";
|
|
1002
954
|
readonly name: "symbol";
|
|
1003
955
|
readonly type: "string";
|
|
1004
|
-
}, {
|
|
1005
956
|
readonly internalType: "string";
|
|
957
|
+
}, {
|
|
1006
958
|
readonly name: "name";
|
|
1007
959
|
readonly type: "string";
|
|
960
|
+
readonly internalType: "string";
|
|
1008
961
|
}, {
|
|
1009
|
-
readonly
|
|
1010
|
-
readonly name: "linearCumulativeIndex";
|
|
962
|
+
readonly name: "baseInterestIndex";
|
|
1011
963
|
readonly type: "uint256";
|
|
1012
|
-
}, {
|
|
1013
964
|
readonly internalType: "uint256";
|
|
965
|
+
}, {
|
|
1014
966
|
readonly name: "availableLiquidity";
|
|
1015
967
|
readonly type: "uint256";
|
|
1016
|
-
}, {
|
|
1017
968
|
readonly internalType: "uint256";
|
|
969
|
+
}, {
|
|
1018
970
|
readonly name: "expectedLiquidity";
|
|
1019
971
|
readonly type: "uint256";
|
|
1020
|
-
}, {
|
|
1021
972
|
readonly internalType: "uint256";
|
|
973
|
+
}, {
|
|
1022
974
|
readonly name: "totalBorrowed";
|
|
1023
975
|
readonly type: "uint256";
|
|
1024
|
-
}, {
|
|
1025
976
|
readonly internalType: "uint256";
|
|
977
|
+
}, {
|
|
1026
978
|
readonly name: "totalDebtLimit";
|
|
1027
979
|
readonly type: "uint256";
|
|
980
|
+
readonly internalType: "uint256";
|
|
1028
981
|
}, {
|
|
982
|
+
readonly name: "creditManagerDebtParams";
|
|
983
|
+
readonly type: "tuple[]";
|
|
984
|
+
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
1029
985
|
readonly components: readonly [{
|
|
1030
|
-
readonly internalType: "address";
|
|
1031
986
|
readonly name: "creditManager";
|
|
1032
987
|
readonly type: "address";
|
|
988
|
+
readonly internalType: "address";
|
|
1033
989
|
}, {
|
|
1034
|
-
readonly internalType: "uint256";
|
|
1035
990
|
readonly name: "borrowed";
|
|
1036
991
|
readonly type: "uint256";
|
|
1037
|
-
}, {
|
|
1038
992
|
readonly internalType: "uint256";
|
|
993
|
+
}, {
|
|
1039
994
|
readonly name: "limit";
|
|
1040
995
|
readonly type: "uint256";
|
|
1041
|
-
}, {
|
|
1042
996
|
readonly internalType: "uint256";
|
|
997
|
+
}, {
|
|
1043
998
|
readonly name: "availableToBorrow";
|
|
1044
999
|
readonly type: "uint256";
|
|
1000
|
+
readonly internalType: "uint256";
|
|
1045
1001
|
}];
|
|
1046
|
-
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
1047
|
-
readonly name: "creditManagerDebtParams";
|
|
1048
|
-
readonly type: "tuple[]";
|
|
1049
1002
|
}, {
|
|
1050
|
-
readonly internalType: "uint256";
|
|
1051
1003
|
readonly name: "totalAssets";
|
|
1052
1004
|
readonly type: "uint256";
|
|
1053
|
-
}, {
|
|
1054
1005
|
readonly internalType: "uint256";
|
|
1006
|
+
}, {
|
|
1055
1007
|
readonly name: "totalSupply";
|
|
1056
1008
|
readonly type: "uint256";
|
|
1057
|
-
}, {
|
|
1058
1009
|
readonly internalType: "uint256";
|
|
1010
|
+
}, {
|
|
1059
1011
|
readonly name: "supplyRate";
|
|
1060
1012
|
readonly type: "uint256";
|
|
1061
|
-
}, {
|
|
1062
1013
|
readonly internalType: "uint256";
|
|
1014
|
+
}, {
|
|
1063
1015
|
readonly name: "baseInterestRate";
|
|
1064
1016
|
readonly type: "uint256";
|
|
1065
|
-
}, {
|
|
1066
1017
|
readonly internalType: "uint256";
|
|
1018
|
+
}, {
|
|
1067
1019
|
readonly name: "dieselRate_RAY";
|
|
1068
1020
|
readonly type: "uint256";
|
|
1069
|
-
}, {
|
|
1070
1021
|
readonly internalType: "uint256";
|
|
1022
|
+
}, {
|
|
1071
1023
|
readonly name: "withdrawFee";
|
|
1072
1024
|
readonly type: "uint256";
|
|
1073
|
-
}, {
|
|
1074
1025
|
readonly internalType: "uint256";
|
|
1075
|
-
readonly name: "cumulativeIndex_RAY";
|
|
1076
|
-
readonly type: "uint256";
|
|
1077
1026
|
}, {
|
|
1027
|
+
readonly name: "lastBaseInterestUpdate";
|
|
1028
|
+
readonly type: "uint256";
|
|
1078
1029
|
readonly internalType: "uint256";
|
|
1030
|
+
}, {
|
|
1079
1031
|
readonly name: "baseInterestIndexLU";
|
|
1080
1032
|
readonly type: "uint256";
|
|
1081
|
-
}, {
|
|
1082
1033
|
readonly internalType: "uint256";
|
|
1034
|
+
}, {
|
|
1083
1035
|
readonly name: "version";
|
|
1084
1036
|
readonly type: "uint256";
|
|
1037
|
+
readonly internalType: "uint256";
|
|
1085
1038
|
}, {
|
|
1086
|
-
readonly internalType: "address";
|
|
1087
1039
|
readonly name: "poolQuotaKeeper";
|
|
1088
1040
|
readonly type: "address";
|
|
1089
|
-
}, {
|
|
1090
1041
|
readonly internalType: "address";
|
|
1042
|
+
}, {
|
|
1091
1043
|
readonly name: "gauge";
|
|
1092
1044
|
readonly type: "address";
|
|
1045
|
+
readonly internalType: "address";
|
|
1093
1046
|
}, {
|
|
1047
|
+
readonly name: "quotas";
|
|
1048
|
+
readonly type: "tuple[]";
|
|
1049
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
1094
1050
|
readonly components: readonly [{
|
|
1095
|
-
readonly internalType: "address";
|
|
1096
1051
|
readonly name: "token";
|
|
1097
1052
|
readonly type: "address";
|
|
1053
|
+
readonly internalType: "address";
|
|
1098
1054
|
}, {
|
|
1099
|
-
readonly internalType: "uint16";
|
|
1100
1055
|
readonly name: "rate";
|
|
1101
1056
|
readonly type: "uint16";
|
|
1102
|
-
}, {
|
|
1103
1057
|
readonly internalType: "uint16";
|
|
1058
|
+
}, {
|
|
1104
1059
|
readonly name: "quotaIncreaseFee";
|
|
1105
1060
|
readonly type: "uint16";
|
|
1061
|
+
readonly internalType: "uint16";
|
|
1106
1062
|
}, {
|
|
1107
|
-
readonly internalType: "uint96";
|
|
1108
1063
|
readonly name: "totalQuoted";
|
|
1109
1064
|
readonly type: "uint96";
|
|
1110
|
-
}, {
|
|
1111
1065
|
readonly internalType: "uint96";
|
|
1066
|
+
}, {
|
|
1112
1067
|
readonly name: "limit";
|
|
1113
1068
|
readonly type: "uint96";
|
|
1069
|
+
readonly internalType: "uint96";
|
|
1114
1070
|
}, {
|
|
1115
|
-
readonly internalType: "bool";
|
|
1116
1071
|
readonly name: "isActive";
|
|
1117
1072
|
readonly type: "bool";
|
|
1073
|
+
readonly internalType: "bool";
|
|
1118
1074
|
}];
|
|
1119
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
1120
|
-
readonly name: "quotas";
|
|
1121
|
-
readonly type: "tuple[]";
|
|
1122
1075
|
}, {
|
|
1076
|
+
readonly name: "zappers";
|
|
1077
|
+
readonly type: "tuple[]";
|
|
1078
|
+
readonly internalType: "struct ZapperInfo[]";
|
|
1123
1079
|
readonly components: readonly [{
|
|
1124
|
-
readonly internalType: "address";
|
|
1125
1080
|
readonly name: "zapper";
|
|
1126
1081
|
readonly type: "address";
|
|
1127
|
-
}, {
|
|
1128
1082
|
readonly internalType: "address";
|
|
1083
|
+
}, {
|
|
1129
1084
|
readonly name: "tokenIn";
|
|
1130
1085
|
readonly type: "address";
|
|
1131
|
-
}, {
|
|
1132
1086
|
readonly internalType: "address";
|
|
1087
|
+
}, {
|
|
1133
1088
|
readonly name: "tokenOut";
|
|
1134
1089
|
readonly type: "address";
|
|
1090
|
+
readonly internalType: "address";
|
|
1135
1091
|
}];
|
|
1136
|
-
readonly internalType: "struct ZapperInfo[]";
|
|
1137
|
-
readonly name: "zappers";
|
|
1138
|
-
readonly type: "tuple[]";
|
|
1139
1092
|
}, {
|
|
1093
|
+
readonly name: "lirm";
|
|
1094
|
+
readonly type: "tuple";
|
|
1095
|
+
readonly internalType: "struct LinearModel";
|
|
1140
1096
|
readonly components: readonly [{
|
|
1141
|
-
readonly internalType: "address";
|
|
1142
1097
|
readonly name: "interestModel";
|
|
1143
1098
|
readonly type: "address";
|
|
1099
|
+
readonly internalType: "address";
|
|
1144
1100
|
}, {
|
|
1145
|
-
readonly internalType: "uint256";
|
|
1146
1101
|
readonly name: "version";
|
|
1147
1102
|
readonly type: "uint256";
|
|
1103
|
+
readonly internalType: "uint256";
|
|
1148
1104
|
}, {
|
|
1149
|
-
readonly internalType: "uint16";
|
|
1150
1105
|
readonly name: "U_1";
|
|
1151
1106
|
readonly type: "uint16";
|
|
1152
|
-
}, {
|
|
1153
1107
|
readonly internalType: "uint16";
|
|
1108
|
+
}, {
|
|
1154
1109
|
readonly name: "U_2";
|
|
1155
1110
|
readonly type: "uint16";
|
|
1156
|
-
}, {
|
|
1157
1111
|
readonly internalType: "uint16";
|
|
1112
|
+
}, {
|
|
1158
1113
|
readonly name: "R_base";
|
|
1159
1114
|
readonly type: "uint16";
|
|
1160
|
-
}, {
|
|
1161
1115
|
readonly internalType: "uint16";
|
|
1116
|
+
}, {
|
|
1162
1117
|
readonly name: "R_slope1";
|
|
1163
1118
|
readonly type: "uint16";
|
|
1164
|
-
}, {
|
|
1165
1119
|
readonly internalType: "uint16";
|
|
1120
|
+
}, {
|
|
1166
1121
|
readonly name: "R_slope2";
|
|
1167
1122
|
readonly type: "uint16";
|
|
1168
|
-
}, {
|
|
1169
1123
|
readonly internalType: "uint16";
|
|
1124
|
+
}, {
|
|
1170
1125
|
readonly name: "R_slope3";
|
|
1171
1126
|
readonly type: "uint16";
|
|
1127
|
+
readonly internalType: "uint16";
|
|
1172
1128
|
}, {
|
|
1173
|
-
readonly internalType: "bool";
|
|
1174
1129
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
1175
1130
|
readonly type: "bool";
|
|
1131
|
+
readonly internalType: "bool";
|
|
1176
1132
|
}];
|
|
1177
|
-
readonly internalType: "struct LinearModel";
|
|
1178
|
-
readonly name: "lirm";
|
|
1179
|
-
readonly type: "tuple";
|
|
1180
1133
|
}, {
|
|
1181
|
-
readonly internalType: "bool";
|
|
1182
1134
|
readonly name: "isPaused";
|
|
1183
1135
|
readonly type: "bool";
|
|
1136
|
+
readonly internalType: "bool";
|
|
1184
1137
|
}];
|
|
1185
|
-
readonly internalType: "struct PoolData[]";
|
|
1186
|
-
readonly name: "";
|
|
1187
|
-
readonly type: "tuple[]";
|
|
1188
1138
|
}];
|
|
1189
1139
|
readonly stateMutability: "view";
|
|
1190
|
-
readonly type: "function";
|
|
1191
1140
|
}, {
|
|
1141
|
+
readonly type: "function";
|
|
1142
|
+
readonly name: "hasOpenedCreditAccount";
|
|
1192
1143
|
readonly inputs: readonly [{
|
|
1193
|
-
readonly internalType: "address";
|
|
1194
1144
|
readonly name: "creditManager";
|
|
1195
1145
|
readonly type: "address";
|
|
1196
|
-
}, {
|
|
1197
1146
|
readonly internalType: "address";
|
|
1147
|
+
}, {
|
|
1198
1148
|
readonly name: "borrower";
|
|
1199
1149
|
readonly type: "address";
|
|
1150
|
+
readonly internalType: "address";
|
|
1200
1151
|
}];
|
|
1201
|
-
readonly name: "hasOpenedCreditAccount";
|
|
1202
1152
|
readonly outputs: readonly [{
|
|
1203
|
-
readonly internalType: "bool";
|
|
1204
1153
|
readonly name: "";
|
|
1205
1154
|
readonly type: "bool";
|
|
1155
|
+
readonly internalType: "bool";
|
|
1206
1156
|
}];
|
|
1207
1157
|
readonly stateMutability: "view";
|
|
1208
|
-
readonly type: "function";
|
|
1209
1158
|
}, {
|
|
1210
|
-
readonly
|
|
1159
|
+
readonly type: "function";
|
|
1211
1160
|
readonly name: "version";
|
|
1161
|
+
readonly inputs: readonly [];
|
|
1212
1162
|
readonly outputs: readonly [{
|
|
1213
|
-
readonly internalType: "uint256";
|
|
1214
1163
|
readonly name: "";
|
|
1215
1164
|
readonly type: "uint256";
|
|
1165
|
+
readonly internalType: "uint256";
|
|
1216
1166
|
}];
|
|
1217
1167
|
readonly stateMutability: "view";
|
|
1218
|
-
readonly type: "function";
|
|
1219
1168
|
}];
|
|
1220
|
-
static createInterface():
|
|
1221
|
-
static connect(address: string,
|
|
1169
|
+
static createInterface(): IDataCompressorV2_1Interface;
|
|
1170
|
+
static connect(address: string, runner?: ContractRunner | null): IDataCompressorV2_1;
|
|
1222
1171
|
}
|