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