@gearbox-protocol/sdk 3.0.0-next.178 → 3.0.0-next.179
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/lib/apy/auraAbi.d.ts +1 -1
- package/lib/apy/auraAbi.js +2 -2
- package/lib/apy/convexAPY.js +2 -2
- package/lib/core/creditAccount.js +22 -26
- package/lib/core/creditAccount.spec.js +13 -13
- package/lib/core/creditManager.js +20 -20
- package/lib/core/gauge.d.ts +2 -2
- package/lib/core/gauge.js +13 -13
- package/lib/core/gaugeMath.d.ts +1 -1
- package/lib/core/gaugeMath.js +2 -5
- package/lib/core/gaugeMath.spec.js +13 -13
- package/lib/core/pool.d.ts +5 -5
- package/lib/core/pool.js +23 -23
- package/lib/core/rewardClaimer.d.ts +2 -2
- package/lib/core/rewardConvex.d.ts +5 -6
- package/lib/core/rewardConvex.js +6 -6
- package/lib/core/rewardConvex.spec.js +1 -2
- package/lib/gearboxRewards/abi.d.ts +1 -1
- package/lib/gearboxRewards/abi.js +2 -2
- package/lib/gearboxRewards/api.d.ts +8 -9
- package/lib/gearboxRewards/api.js +20 -14
- package/lib/gearboxRewards/apy.js +2 -2
- package/lib/gearboxRewards/extraAPY.js +2 -2
- package/lib/index.d.ts +1 -3
- package/lib/index.js +2 -4
- package/lib/parsers/abstractParser.d.ts +2 -3
- package/lib/parsers/abstractParser.js +4 -2
- package/lib/parsers/iParser.d.ts +1 -1
- package/lib/parsers/txParser.d.ts +2 -2
- package/lib/pathfinder/core.d.ts +1 -2
- package/lib/pathfinder/index.d.ts +0 -1
- package/lib/pathfinder/index.js +0 -1
- package/lib/pathfinder/pathOptions.js +2 -2
- package/lib/pathfinder/pathfinder.d.ts +2 -2
- package/lib/pathfinder/pathfinder.js +17 -18
- package/lib/pathfinder/pathfinder.spec.js +2 -2
- package/lib/pathfinder/utils.d.ts +2 -3
- package/lib/pathfinder/utils.js +4 -4
- package/lib/pathfinder/v1/pathfinderv1.d.ts +2 -2
- package/lib/pathfinder/v1/pathfinderv1.js +15 -16
- package/lib/pathfinder/v1/pathfinderv1.spec.js +1 -1
- package/lib/payload/creditAccount.d.ts +2 -2
- package/lib/payload/creditManager.d.ts +2 -3
- package/lib/payload/gauge.d.ts +1 -2
- package/lib/payload/pool.d.ts +4 -2
- package/lib/types/AddressProvider.d.ts +151 -332
- package/lib/types/Balances.sol/BalanceOps.d.ts +15 -22
- package/lib/types/CalldataExtractor.d.ts +21 -37
- package/lib/types/Claimable.d.ts +46 -97
- package/lib/types/CompositePriceFeed.d.ts +57 -129
- package/lib/types/ContractsRegisterTrait.d.ts +18 -35
- package/lib/types/ERC20.d.ts +146 -175
- package/lib/types/Errors.d.ts +106 -227
- package/lib/types/FarmAccounting.d.ts +15 -22
- package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +108 -152
- package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +172 -257
- package/lib/types/IAdapter.d.ts +26 -59
- package/lib/types/IAddressProvider.sol/IAddressProvider.d.ts +53 -108
- package/lib/types/IAddressProvider.sol/IAddressProviderEvents.d.ts +29 -35
- package/lib/types/IAddressProviderV3.sol/IAddressProviderV3.d.ts +79 -85
- package/lib/types/IAddressProviderV3.sol/IAddressProviderV3Events.d.ts +34 -37
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributor.d.ts +101 -109
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +76 -64
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +215 -236
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +67 -92
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +335 -386
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +29 -35
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +15 -22
- package/lib/types/IBaseRewardPool.d.ts +143 -320
- package/lib/types/IBotListV3.sol/IBotListV3.d.ts +266 -252
- package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +116 -92
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +119 -188
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +15 -22
- package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +65 -106
- package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +42 -42
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.d.ts +354 -442
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +87 -72
- package/lib/types/IConvexToken.d.ts +126 -163
- package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +172 -271
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts +130 -185
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +29 -35
- package/lib/types/ICreditAccountV3.sol/ICreditAccountBase.d.ts +48 -75
- package/lib/types/ICreditAccountV3.sol/ICreditAccountV3.d.ts +63 -96
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2.d.ts +526 -579
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events.d.ts +342 -264
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.d.ts +549 -648
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.d.ts +327 -248
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2.d.ts +587 -635
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Events.d.ts +294 -239
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +59 -122
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2V2.d.ts +34 -53
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +421 -464
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +202 -150
- package/lib/types/ICreditFacadeV3Multicall.d.ts +162 -245
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2.d.ts +438 -567
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2Events.d.ts +43 -46
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +649 -858
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3Events.d.ts +28 -33
- package/lib/types/ICurvePool.d.ts +285 -376
- package/lib/types/ICurvePool_2.sol/ICurvePool2Assets.d.ts +365 -511
- package/lib/types/ICurvePool_3.sol/ICurvePool3Assets.d.ts +370 -607
- package/lib/types/ICurvePool_4.sol/ICurvePool4Assets.d.ts +387 -631
- package/lib/types/ICurveV1Adapter.d.ts +326 -479
- package/lib/types/ICurveV1_2AssetsAdapter.d.ts +383 -560
- package/lib/types/ICurveV1_3AssetsAdapter.d.ts +383 -623
- package/lib/types/ICurveV1_4AssetsAdapter.d.ts +395 -629
- package/lib/types/IDaiLikePermit.d.ts +48 -51
- package/lib/types/IDataCompressorV2_1.d.ts +376 -367
- package/lib/types/IDataCompressorV3.d.ts +439 -458
- package/lib/types/IDegenDistributor.sol/IDegenDistributor.d.ts +67 -84
- package/lib/types/IDegenDistributor.sol/IDegenDistributorEvents.d.ts +44 -45
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +260 -302
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +55 -52
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +15 -22
- package/lib/types/IERC165.d.ts +23 -36
- package/lib/types/IERC20.d.ts +114 -127
- package/lib/types/IERC20Metadata.d.ts +120 -145
- package/lib/types/IERC20Permit.d.ts +50 -63
- package/lib/types/IERC20ZapperDeposits.d.ts +99 -104
- package/lib/types/IERC4626.d.ts +277 -353
- package/lib/types/IERC4626Adapter.d.ts +146 -211
- package/lib/types/IERC721.d.ts +180 -201
- package/lib/types/IERC721Metadata.d.ts +187 -220
- package/lib/types/IETHZapperDeposits.d.ts +32 -59
- package/lib/types/IFarmingPool.d.ts +209 -282
- package/lib/types/IGasPricer.d.ts +29 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +273 -330
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +132 -102
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +303 -357
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +122 -104
- package/lib/types/IInterestRateModel.d.ts +31 -42
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +116 -237
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +43 -46
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +15 -22
- package/lib/types/ILidoV1Adapter.d.ts +70 -131
- package/lib/types/ILinearInterestRateModelV3.d.ts +82 -105
- package/lib/types/IOffchainOracle.d.ts +44 -51
- package/lib/types/IPartialLiquidationBotV3.d.ts +119 -128
- package/lib/types/IPermit2.d.ts +91 -103
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +323 -416
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +120 -100
- package/lib/types/IPoolService.sol/IPoolService.d.ts +292 -338
- package/lib/types/IPoolService.sol/IPoolServiceEvents.d.ts +189 -146
- package/lib/types/IPoolV3.sol/IPoolV3.d.ts +662 -825
- package/lib/types/IPoolV3.sol/IPoolV3Events.d.ts +181 -142
- package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +50 -90
- package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +55 -111
- package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +120 -140
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +29 -35
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts +15 -22
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +133 -155
- package/lib/types/IPriceOracleBase.d.ts +65 -76
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +243 -234
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +85 -70
- package/lib/types/IRouter.d.ts +225 -217
- package/lib/types/IRouterV3.d.ts +267 -249
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +158 -175
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents.d.ts +34 -37
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.d.ts +15 -22
- package/lib/types/IUniswapV3.sol/ISwapRouter.d.ts +124 -153
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +281 -328
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents.d.ts +41 -39
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions.d.ts +15 -22
- package/lib/types/IVersion.d.ts +18 -35
- package/lib/types/IVotingContractV3.d.ts +46 -67
- package/lib/types/IWETH.d.ts +147 -177
- package/lib/types/IWETHGateway.d.ts +59 -82
- package/lib/types/IYVault.d.ts +183 -264
- package/lib/types/IYearnV2Adapter.d.ts +159 -228
- package/lib/types/IZapper.d.ts +77 -106
- package/lib/types/IZapperRegister.d.ts +46 -53
- package/lib/types/IstETH.sol/IstETH.d.ts +146 -199
- package/lib/types/IstETH.sol/IstETHGetters.d.ts +143 -184
- package/lib/types/IwstETH.sol/IwstETH.d.ts +154 -207
- package/lib/types/IwstETH.sol/IwstETHGetters.d.ts +140 -177
- package/lib/types/IwstETHGateway.sol/IwstETHGateWay.d.ts +44 -63
- package/lib/types/IwstETHV1Adapter.d.ts +100 -161
- package/lib/types/NumericArrayLib.d.ts +15 -22
- package/lib/types/Ownable.d.ts +42 -77
- package/lib/types/PartialLiquidationBotV3.d.ts +121 -134
- package/lib/types/RedstoneConstants.d.ts +15 -22
- package/lib/types/RedstoneConsumerBase.d.ts +50 -70
- package/lib/types/RedstoneConsumerNumericBase.d.ts +50 -70
- package/lib/types/RedstoneDefaultsLib.d.ts +15 -22
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts +28 -31
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +15 -22
- package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +115 -220
- package/lib/types/SafeERC20.d.ts +15 -22
- package/lib/types/common.d.ts +40 -12
- package/lib/types/factories/AddressProvider__factory.d.ts +13 -12
- package/lib/types/factories/AddressProvider__factory.js +7 -10
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +13 -12
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +7 -10
- package/lib/types/factories/CalldataExtractor__factory.d.ts +13 -12
- package/lib/types/factories/CalldataExtractor__factory.js +7 -10
- package/lib/types/factories/Claimable__factory.d.ts +13 -12
- package/lib/types/factories/Claimable__factory.js +7 -10
- package/lib/types/factories/CompositePriceFeed__factory.d.ts +13 -12
- package/lib/types/factories/CompositePriceFeed__factory.js +7 -10
- package/lib/types/factories/ContractsRegisterTrait__factory.d.ts +2 -3
- package/lib/types/factories/ContractsRegisterTrait__factory.js +3 -3
- package/lib/types/factories/ERC20__factory.d.ts +13 -12
- package/lib/types/factories/ERC20__factory.js +7 -10
- package/lib/types/factories/Errors__factory.d.ts +13 -12
- package/lib/types/factories/Errors__factory.js +7 -10
- package/lib/types/factories/FarmAccounting__factory.d.ts +13 -12
- package/lib/types/factories/FarmAccounting__factory.js +7 -10
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +3 -3
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +3 -3
- package/lib/types/factories/IAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IAdapter__factory.js +3 -3
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +2 -3
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +3 -3
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +2 -3
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +3 -3
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +3 -3
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +2 -3
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +3 -3
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +2 -3
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +3 -3
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +2 -3
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +3 -3
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +3 -3
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +3 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +3 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +3 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +3 -3
- package/lib/types/factories/IBaseRewardPool__factory.d.ts +2 -3
- package/lib/types/factories/IBaseRewardPool__factory.js +3 -3
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +3 -3
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +2 -3
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +3 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +2 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +3 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +3 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +3 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +2 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +3 -3
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +3 -3
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +2 -3
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +3 -3
- package/lib/types/factories/IConvexToken__factory.d.ts +2 -3
- package/lib/types/factories/IConvexToken__factory.js +3 -3
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +3 -3
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +3 -3
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +3 -3
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountBase__factory.d.ts +2 -3
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountBase__factory.js +3 -3
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountV3__factory.d.ts +2 -3
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountV3__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +3 -3
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +2 -3
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +3 -3
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +2 -3
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +3 -3
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +2 -3
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +3 -3
- package/lib/types/factories/ICurvePool__factory.d.ts +2 -3
- package/lib/types/factories/ICurvePool__factory.js +3 -3
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +2 -3
- package/lib/types/factories/ICurveV1Adapter__factory.js +3 -3
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +2 -3
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +3 -3
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +2 -3
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +3 -3
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +2 -3
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +3 -3
- package/lib/types/factories/IDaiLikePermit__factory.d.ts +2 -3
- package/lib/types/factories/IDaiLikePermit__factory.js +3 -3
- package/lib/types/factories/IDataCompressorV2_1__factory.d.ts +2 -3
- package/lib/types/factories/IDataCompressorV2_1__factory.js +3 -3
- package/lib/types/factories/IDataCompressorV3__factory.d.ts +2 -3
- package/lib/types/factories/IDataCompressorV3__factory.js +3 -3
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +2 -3
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +3 -3
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +2 -3
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +3 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +2 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +3 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +3 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +2 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +3 -3
- package/lib/types/factories/IERC165__factory.d.ts +2 -3
- package/lib/types/factories/IERC165__factory.js +3 -3
- package/lib/types/factories/IERC20Metadata__factory.d.ts +2 -3
- package/lib/types/factories/IERC20Metadata__factory.js +3 -3
- package/lib/types/factories/IERC20Permit__factory.d.ts +2 -3
- package/lib/types/factories/IERC20Permit__factory.js +3 -3
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +2 -3
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +3 -3
- package/lib/types/factories/IERC20__factory.d.ts +2 -3
- package/lib/types/factories/IERC20__factory.js +3 -3
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IERC4626Adapter__factory.js +3 -3
- package/lib/types/factories/IERC4626__factory.d.ts +2 -3
- package/lib/types/factories/IERC4626__factory.js +3 -3
- package/lib/types/factories/IERC721Metadata__factory.d.ts +2 -3
- package/lib/types/factories/IERC721Metadata__factory.js +3 -3
- package/lib/types/factories/IERC721__factory.d.ts +2 -3
- package/lib/types/factories/IERC721__factory.js +3 -3
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +2 -3
- package/lib/types/factories/IETHZapperDeposits__factory.js +3 -3
- package/lib/types/factories/IFarmingPool__factory.d.ts +2 -3
- package/lib/types/factories/IFarmingPool__factory.js +3 -3
- package/lib/types/factories/{contracts/interfaces/IGasPricer__factory.d.ts → IGasPricer__factory.d.ts} +3 -4
- package/lib/types/factories/{contracts/interfaces/IGasPricer__factory.js → IGasPricer__factory.js} +3 -3
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +3 -3
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +2 -3
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +3 -3
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +3 -3
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +2 -3
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +3 -3
- package/lib/types/factories/IInterestRateModel__factory.d.ts +2 -3
- package/lib/types/factories/IInterestRateModel__factory.js +3 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +2 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +3 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +2 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +3 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +2 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +3 -3
- package/lib/types/factories/ILidoV1Adapter__factory.d.ts +2 -3
- package/lib/types/factories/ILidoV1Adapter__factory.js +3 -3
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +2 -3
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +3 -3
- package/lib/types/factories/IOffchainOracle__factory.d.ts +2 -3
- package/lib/types/factories/IOffchainOracle__factory.js +3 -3
- package/lib/types/factories/IPartialLiquidationBotV3__factory.d.ts +2 -3
- package/lib/types/factories/IPartialLiquidationBotV3__factory.js +3 -3
- package/lib/types/factories/IPermit2__factory.d.ts +2 -3
- package/lib/types/factories/IPermit2__factory.js +3 -3
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +3 -3
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +2 -3
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +3 -3
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +2 -3
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +3 -3
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +2 -3
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +3 -3
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +3 -3
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +2 -3
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +3 -3
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +2 -3
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +3 -3
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +2 -3
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +3 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +3 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +3 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +3 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +3 -3
- package/lib/types/factories/IPriceOracleBase__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracleBase__factory.js +3 -3
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +3 -3
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +3 -3
- package/lib/types/factories/IRouterV3__factory.d.ts +2 -3
- package/lib/types/factories/IRouterV3__factory.js +3 -3
- package/lib/types/factories/IRouter__factory.d.ts +2 -3
- package/lib/types/factories/IRouter__factory.js +3 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +3 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +3 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +3 -3
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +3 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +3 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +3 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +3 -3
- package/lib/types/factories/IVersion__factory.d.ts +2 -3
- package/lib/types/factories/IVersion__factory.js +3 -3
- package/lib/types/factories/IVotingContractV3__factory.d.ts +2 -3
- package/lib/types/factories/IVotingContractV3__factory.js +3 -3
- package/lib/types/factories/IWETHGateway__factory.d.ts +2 -3
- package/lib/types/factories/IWETHGateway__factory.js +3 -3
- package/lib/types/factories/IWETH__factory.d.ts +2 -3
- package/lib/types/factories/IWETH__factory.js +3 -3
- package/lib/types/factories/IYVault__factory.d.ts +2 -3
- package/lib/types/factories/IYVault__factory.js +3 -3
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IYearnV2Adapter__factory.js +3 -3
- package/lib/types/factories/IZapperRegister__factory.d.ts +2 -3
- package/lib/types/factories/IZapperRegister__factory.js +3 -3
- package/lib/types/factories/IZapper__factory.d.ts +2 -3
- package/lib/types/factories/IZapper__factory.js +3 -3
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +2 -3
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +3 -3
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +2 -3
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +3 -3
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +2 -3
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +3 -3
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +2 -3
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +3 -3
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +2 -3
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +3 -3
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IwstETHV1Adapter__factory.js +3 -3
- package/lib/types/factories/NumericArrayLib__factory.d.ts +13 -12
- package/lib/types/factories/NumericArrayLib__factory.js +7 -10
- package/lib/types/factories/Ownable__factory.d.ts +2 -3
- package/lib/types/factories/Ownable__factory.js +3 -3
- package/lib/types/factories/PartialLiquidationBotV3__factory.d.ts +13 -12
- package/lib/types/factories/PartialLiquidationBotV3__factory.js +7 -10
- package/lib/types/factories/RedstoneConstants__factory.d.ts +13 -12
- package/lib/types/factories/RedstoneConstants__factory.js +7 -10
- package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +2 -3
- package/lib/types/factories/RedstoneConsumerBase__factory.js +3 -3
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +2 -3
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +3 -3
- package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +13 -12
- package/lib/types/factories/RedstoneDefaultsLib__factory.js +7 -10
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +2 -3
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +3 -3
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +2 -3
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +3 -3
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +13 -12
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +7 -10
- package/lib/types/factories/SafeERC20__factory.d.ts +13 -12
- package/lib/types/factories/SafeERC20__factory.js +7 -10
- package/lib/types/factories/index.d.ts +1 -1
- package/lib/types/factories/index.js +4 -3
- package/lib/types/index.d.ts +2 -4
- package/lib/types/index.js +4 -4
- package/lib/utils/calls.d.ts +7 -0
- package/lib/utils/{repeater.js → calls.js} +11 -1
- package/lib/utils/math.d.ts +0 -1
- package/lib/utils/math.js +0 -2
- package/lib/utils/types.d.ts +0 -4
- package/package.json +8 -8
- package/lib/types/contracts/index.d.ts +0 -2
- package/lib/types/contracts/index.js +0 -2
- package/lib/types/contracts/interfaces/IGasPricer.d.ts +0 -44
- package/lib/types/contracts/interfaces/index.d.ts +0 -1
- package/lib/types/contracts/interfaces/index.js +0 -2
- package/lib/types/factories/contracts/index.d.ts +0 -1
- package/lib/types/factories/contracts/index.js +0 -30
- package/lib/types/factories/contracts/interfaces/index.d.ts +0 -1
- package/lib/types/factories/contracts/interfaces/index.js +0 -8
- package/lib/utils/repeater.d.ts +0 -1
- package/lib/watchers/creditAccountWatcher.d.ts +0 -37
- package/lib/watchers/creditAccountWatcher.js +0 -244
- package/lib/watchers/creditAccountWatcher.spec.d.ts +0 -1
- package/lib/watchers/creditAccountWatcher.spec.js +0 -208
- package/lib/watchers/creditManagerWatcher.d.ts +0 -10
- package/lib/watchers/creditManagerWatcher.js +0 -59
- package/lib/watchers/creditManagerWatcher.spec.d.ts +0 -1
- package/lib/watchers/creditManagerWatcher.spec.js +0 -115
- /package/lib/types/{contracts/interfaces/IGasPricer.js → IGasPricer.js} +0 -0
|
@@ -1,91 +1,89 @@
|
|
|
1
|
-
import type { BaseContract,
|
|
2
|
-
import type {
|
|
3
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common";
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "./common";
|
|
5
3
|
export type TokenBalanceStruct = {
|
|
6
|
-
token:
|
|
7
|
-
balance:
|
|
8
|
-
isForbidden:
|
|
9
|
-
isEnabled:
|
|
10
|
-
isQuoted:
|
|
11
|
-
quota:
|
|
12
|
-
quotaRate:
|
|
13
|
-
quotaCumulativeIndexLU:
|
|
4
|
+
token: AddressLike;
|
|
5
|
+
balance: BigNumberish;
|
|
6
|
+
isForbidden: boolean;
|
|
7
|
+
isEnabled: boolean;
|
|
8
|
+
isQuoted: boolean;
|
|
9
|
+
quota: BigNumberish;
|
|
10
|
+
quotaRate: BigNumberish;
|
|
11
|
+
quotaCumulativeIndexLU: BigNumberish;
|
|
14
12
|
};
|
|
15
13
|
export type TokenBalanceStructOutput = [
|
|
16
|
-
string,
|
|
17
|
-
|
|
18
|
-
boolean,
|
|
19
|
-
boolean,
|
|
20
|
-
boolean,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
token: string,
|
|
15
|
+
balance: bigint,
|
|
16
|
+
isForbidden: boolean,
|
|
17
|
+
isEnabled: boolean,
|
|
18
|
+
isQuoted: boolean,
|
|
19
|
+
quota: bigint,
|
|
20
|
+
quotaRate: bigint,
|
|
21
|
+
quotaCumulativeIndexLU: bigint
|
|
24
22
|
] & {
|
|
25
23
|
token: string;
|
|
26
|
-
balance:
|
|
24
|
+
balance: bigint;
|
|
27
25
|
isForbidden: boolean;
|
|
28
26
|
isEnabled: boolean;
|
|
29
27
|
isQuoted: boolean;
|
|
30
|
-
quota:
|
|
31
|
-
quotaRate:
|
|
32
|
-
quotaCumulativeIndexLU:
|
|
28
|
+
quota: bigint;
|
|
29
|
+
quotaRate: bigint;
|
|
30
|
+
quotaCumulativeIndexLU: bigint;
|
|
33
31
|
};
|
|
34
32
|
export type CreditAccountDataStruct = {
|
|
35
|
-
isSuccessful:
|
|
36
|
-
priceFeedsNeeded:
|
|
37
|
-
addr:
|
|
38
|
-
borrower:
|
|
39
|
-
creditManager:
|
|
40
|
-
cmName:
|
|
41
|
-
creditFacade:
|
|
42
|
-
underlying:
|
|
43
|
-
debt:
|
|
44
|
-
cumulativeIndexLastUpdate:
|
|
45
|
-
cumulativeQuotaInterest:
|
|
46
|
-
accruedInterest:
|
|
47
|
-
accruedFees:
|
|
48
|
-
totalDebtUSD:
|
|
49
|
-
totalValue:
|
|
50
|
-
totalValueUSD:
|
|
51
|
-
twvUSD:
|
|
52
|
-
enabledTokensMask:
|
|
53
|
-
healthFactor:
|
|
54
|
-
baseBorrowRate:
|
|
55
|
-
aggregatedBorrowRate:
|
|
33
|
+
isSuccessful: boolean;
|
|
34
|
+
priceFeedsNeeded: AddressLike[];
|
|
35
|
+
addr: AddressLike;
|
|
36
|
+
borrower: AddressLike;
|
|
37
|
+
creditManager: AddressLike;
|
|
38
|
+
cmName: string;
|
|
39
|
+
creditFacade: AddressLike;
|
|
40
|
+
underlying: AddressLike;
|
|
41
|
+
debt: BigNumberish;
|
|
42
|
+
cumulativeIndexLastUpdate: BigNumberish;
|
|
43
|
+
cumulativeQuotaInterest: BigNumberish;
|
|
44
|
+
accruedInterest: BigNumberish;
|
|
45
|
+
accruedFees: BigNumberish;
|
|
46
|
+
totalDebtUSD: BigNumberish;
|
|
47
|
+
totalValue: BigNumberish;
|
|
48
|
+
totalValueUSD: BigNumberish;
|
|
49
|
+
twvUSD: BigNumberish;
|
|
50
|
+
enabledTokensMask: BigNumberish;
|
|
51
|
+
healthFactor: BigNumberish;
|
|
52
|
+
baseBorrowRate: BigNumberish;
|
|
53
|
+
aggregatedBorrowRate: BigNumberish;
|
|
56
54
|
balances: TokenBalanceStruct[];
|
|
57
|
-
since:
|
|
58
|
-
cfVersion:
|
|
59
|
-
expirationDate:
|
|
60
|
-
activeBots:
|
|
55
|
+
since: BigNumberish;
|
|
56
|
+
cfVersion: BigNumberish;
|
|
57
|
+
expirationDate: BigNumberish;
|
|
58
|
+
activeBots: AddressLike[];
|
|
61
59
|
};
|
|
62
60
|
export type CreditAccountDataStructOutput = [
|
|
63
|
-
boolean,
|
|
64
|
-
string[],
|
|
65
|
-
string,
|
|
66
|
-
string,
|
|
67
|
-
string,
|
|
68
|
-
string,
|
|
69
|
-
string,
|
|
70
|
-
string,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
TokenBalanceStructOutput[],
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
string[]
|
|
61
|
+
isSuccessful: boolean,
|
|
62
|
+
priceFeedsNeeded: string[],
|
|
63
|
+
addr: string,
|
|
64
|
+
borrower: string,
|
|
65
|
+
creditManager: string,
|
|
66
|
+
cmName: string,
|
|
67
|
+
creditFacade: string,
|
|
68
|
+
underlying: string,
|
|
69
|
+
debt: bigint,
|
|
70
|
+
cumulativeIndexLastUpdate: bigint,
|
|
71
|
+
cumulativeQuotaInterest: bigint,
|
|
72
|
+
accruedInterest: bigint,
|
|
73
|
+
accruedFees: bigint,
|
|
74
|
+
totalDebtUSD: bigint,
|
|
75
|
+
totalValue: bigint,
|
|
76
|
+
totalValueUSD: bigint,
|
|
77
|
+
twvUSD: bigint,
|
|
78
|
+
enabledTokensMask: bigint,
|
|
79
|
+
healthFactor: bigint,
|
|
80
|
+
baseBorrowRate: bigint,
|
|
81
|
+
aggregatedBorrowRate: bigint,
|
|
82
|
+
balances: TokenBalanceStructOutput[],
|
|
83
|
+
since: bigint,
|
|
84
|
+
cfVersion: bigint,
|
|
85
|
+
expirationDate: bigint,
|
|
86
|
+
activeBots: string[]
|
|
89
87
|
] & {
|
|
90
88
|
isSuccessful: boolean;
|
|
91
89
|
priceFeedsNeeded: string[];
|
|
@@ -95,280 +93,287 @@ export type CreditAccountDataStructOutput = [
|
|
|
95
93
|
cmName: string;
|
|
96
94
|
creditFacade: string;
|
|
97
95
|
underlying: string;
|
|
98
|
-
debt:
|
|
99
|
-
cumulativeIndexLastUpdate:
|
|
100
|
-
cumulativeQuotaInterest:
|
|
101
|
-
accruedInterest:
|
|
102
|
-
accruedFees:
|
|
103
|
-
totalDebtUSD:
|
|
104
|
-
totalValue:
|
|
105
|
-
totalValueUSD:
|
|
106
|
-
twvUSD:
|
|
107
|
-
enabledTokensMask:
|
|
108
|
-
healthFactor:
|
|
109
|
-
baseBorrowRate:
|
|
110
|
-
aggregatedBorrowRate:
|
|
96
|
+
debt: bigint;
|
|
97
|
+
cumulativeIndexLastUpdate: bigint;
|
|
98
|
+
cumulativeQuotaInterest: bigint;
|
|
99
|
+
accruedInterest: bigint;
|
|
100
|
+
accruedFees: bigint;
|
|
101
|
+
totalDebtUSD: bigint;
|
|
102
|
+
totalValue: bigint;
|
|
103
|
+
totalValueUSD: bigint;
|
|
104
|
+
twvUSD: bigint;
|
|
105
|
+
enabledTokensMask: bigint;
|
|
106
|
+
healthFactor: bigint;
|
|
107
|
+
baseBorrowRate: bigint;
|
|
108
|
+
aggregatedBorrowRate: bigint;
|
|
111
109
|
balances: TokenBalanceStructOutput[];
|
|
112
|
-
since:
|
|
113
|
-
cfVersion:
|
|
114
|
-
expirationDate:
|
|
110
|
+
since: bigint;
|
|
111
|
+
cfVersion: bigint;
|
|
112
|
+
expirationDate: bigint;
|
|
115
113
|
activeBots: string[];
|
|
116
114
|
};
|
|
117
115
|
export type ContractAdapterStruct = {
|
|
118
|
-
targetContract:
|
|
119
|
-
adapter:
|
|
116
|
+
targetContract: AddressLike;
|
|
117
|
+
adapter: AddressLike;
|
|
120
118
|
};
|
|
121
|
-
export type ContractAdapterStructOutput = [
|
|
119
|
+
export type ContractAdapterStructOutput = [
|
|
120
|
+
targetContract: string,
|
|
121
|
+
adapter: string
|
|
122
|
+
] & {
|
|
122
123
|
targetContract: string;
|
|
123
124
|
adapter: string;
|
|
124
125
|
};
|
|
125
126
|
export type QuotaInfoStruct = {
|
|
126
|
-
token:
|
|
127
|
-
rate:
|
|
128
|
-
quotaIncreaseFee:
|
|
129
|
-
totalQuoted:
|
|
130
|
-
limit:
|
|
131
|
-
isActive:
|
|
127
|
+
token: AddressLike;
|
|
128
|
+
rate: BigNumberish;
|
|
129
|
+
quotaIncreaseFee: BigNumberish;
|
|
130
|
+
totalQuoted: BigNumberish;
|
|
131
|
+
limit: BigNumberish;
|
|
132
|
+
isActive: boolean;
|
|
132
133
|
};
|
|
133
134
|
export type QuotaInfoStructOutput = [
|
|
134
|
-
string,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
boolean
|
|
135
|
+
token: string,
|
|
136
|
+
rate: bigint,
|
|
137
|
+
quotaIncreaseFee: bigint,
|
|
138
|
+
totalQuoted: bigint,
|
|
139
|
+
limit: bigint,
|
|
140
|
+
isActive: boolean
|
|
140
141
|
] & {
|
|
141
142
|
token: string;
|
|
142
|
-
rate:
|
|
143
|
-
quotaIncreaseFee:
|
|
144
|
-
totalQuoted:
|
|
145
|
-
limit:
|
|
143
|
+
rate: bigint;
|
|
144
|
+
quotaIncreaseFee: bigint;
|
|
145
|
+
totalQuoted: bigint;
|
|
146
|
+
limit: bigint;
|
|
146
147
|
isActive: boolean;
|
|
147
148
|
};
|
|
148
149
|
export type LinearModelStruct = {
|
|
149
|
-
interestModel:
|
|
150
|
-
version:
|
|
151
|
-
U_1:
|
|
152
|
-
U_2:
|
|
153
|
-
R_base:
|
|
154
|
-
R_slope1:
|
|
155
|
-
R_slope2:
|
|
156
|
-
R_slope3:
|
|
157
|
-
isBorrowingMoreU2Forbidden:
|
|
150
|
+
interestModel: AddressLike;
|
|
151
|
+
version: BigNumberish;
|
|
152
|
+
U_1: BigNumberish;
|
|
153
|
+
U_2: BigNumberish;
|
|
154
|
+
R_base: BigNumberish;
|
|
155
|
+
R_slope1: BigNumberish;
|
|
156
|
+
R_slope2: BigNumberish;
|
|
157
|
+
R_slope3: BigNumberish;
|
|
158
|
+
isBorrowingMoreU2Forbidden: boolean;
|
|
158
159
|
};
|
|
159
160
|
export type LinearModelStructOutput = [
|
|
160
|
-
string,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
boolean
|
|
161
|
+
interestModel: string,
|
|
162
|
+
version: bigint,
|
|
163
|
+
U_1: bigint,
|
|
164
|
+
U_2: bigint,
|
|
165
|
+
R_base: bigint,
|
|
166
|
+
R_slope1: bigint,
|
|
167
|
+
R_slope2: bigint,
|
|
168
|
+
R_slope3: bigint,
|
|
169
|
+
isBorrowingMoreU2Forbidden: boolean
|
|
169
170
|
] & {
|
|
170
171
|
interestModel: string;
|
|
171
|
-
version:
|
|
172
|
-
U_1:
|
|
173
|
-
U_2:
|
|
174
|
-
R_base:
|
|
175
|
-
R_slope1:
|
|
176
|
-
R_slope2:
|
|
177
|
-
R_slope3:
|
|
172
|
+
version: bigint;
|
|
173
|
+
U_1: bigint;
|
|
174
|
+
U_2: bigint;
|
|
175
|
+
R_base: bigint;
|
|
176
|
+
R_slope1: bigint;
|
|
177
|
+
R_slope2: bigint;
|
|
178
|
+
R_slope3: bigint;
|
|
178
179
|
isBorrowingMoreU2Forbidden: boolean;
|
|
179
180
|
};
|
|
180
181
|
export type CreditManagerDataStruct = {
|
|
181
|
-
addr:
|
|
182
|
-
name:
|
|
183
|
-
cfVersion:
|
|
184
|
-
creditFacade:
|
|
185
|
-
creditConfigurator:
|
|
186
|
-
underlying:
|
|
187
|
-
pool:
|
|
188
|
-
totalDebt:
|
|
189
|
-
totalDebtLimit:
|
|
190
|
-
baseBorrowRate:
|
|
191
|
-
minDebt:
|
|
192
|
-
maxDebt:
|
|
193
|
-
availableToBorrow:
|
|
194
|
-
collateralTokens:
|
|
182
|
+
addr: AddressLike;
|
|
183
|
+
name: string;
|
|
184
|
+
cfVersion: BigNumberish;
|
|
185
|
+
creditFacade: AddressLike;
|
|
186
|
+
creditConfigurator: AddressLike;
|
|
187
|
+
underlying: AddressLike;
|
|
188
|
+
pool: AddressLike;
|
|
189
|
+
totalDebt: BigNumberish;
|
|
190
|
+
totalDebtLimit: BigNumberish;
|
|
191
|
+
baseBorrowRate: BigNumberish;
|
|
192
|
+
minDebt: BigNumberish;
|
|
193
|
+
maxDebt: BigNumberish;
|
|
194
|
+
availableToBorrow: BigNumberish;
|
|
195
|
+
collateralTokens: AddressLike[];
|
|
195
196
|
adapters: ContractAdapterStruct[];
|
|
196
|
-
liquidationThresholds:
|
|
197
|
-
isDegenMode:
|
|
198
|
-
degenNFT:
|
|
199
|
-
forbiddenTokenMask:
|
|
200
|
-
maxEnabledTokensLength:
|
|
201
|
-
feeInterest:
|
|
202
|
-
feeLiquidation:
|
|
203
|
-
liquidationDiscount:
|
|
204
|
-
feeLiquidationExpired:
|
|
205
|
-
liquidationDiscountExpired:
|
|
197
|
+
liquidationThresholds: BigNumberish[];
|
|
198
|
+
isDegenMode: boolean;
|
|
199
|
+
degenNFT: AddressLike;
|
|
200
|
+
forbiddenTokenMask: BigNumberish;
|
|
201
|
+
maxEnabledTokensLength: BigNumberish;
|
|
202
|
+
feeInterest: BigNumberish;
|
|
203
|
+
feeLiquidation: BigNumberish;
|
|
204
|
+
liquidationDiscount: BigNumberish;
|
|
205
|
+
feeLiquidationExpired: BigNumberish;
|
|
206
|
+
liquidationDiscountExpired: BigNumberish;
|
|
206
207
|
quotas: QuotaInfoStruct[];
|
|
207
208
|
lirm: LinearModelStruct;
|
|
208
|
-
isPaused:
|
|
209
|
+
isPaused: boolean;
|
|
209
210
|
};
|
|
210
211
|
export type CreditManagerDataStructOutput = [
|
|
211
|
-
string,
|
|
212
|
-
string,
|
|
213
|
-
|
|
214
|
-
string,
|
|
215
|
-
string,
|
|
216
|
-
string,
|
|
217
|
-
string,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
string[],
|
|
225
|
-
ContractAdapterStructOutput[],
|
|
226
|
-
|
|
227
|
-
boolean,
|
|
228
|
-
string,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
QuotaInfoStructOutput[],
|
|
237
|
-
LinearModelStructOutput,
|
|
238
|
-
boolean
|
|
212
|
+
addr: string,
|
|
213
|
+
name: string,
|
|
214
|
+
cfVersion: bigint,
|
|
215
|
+
creditFacade: string,
|
|
216
|
+
creditConfigurator: string,
|
|
217
|
+
underlying: string,
|
|
218
|
+
pool: string,
|
|
219
|
+
totalDebt: bigint,
|
|
220
|
+
totalDebtLimit: bigint,
|
|
221
|
+
baseBorrowRate: bigint,
|
|
222
|
+
minDebt: bigint,
|
|
223
|
+
maxDebt: bigint,
|
|
224
|
+
availableToBorrow: bigint,
|
|
225
|
+
collateralTokens: string[],
|
|
226
|
+
adapters: ContractAdapterStructOutput[],
|
|
227
|
+
liquidationThresholds: bigint[],
|
|
228
|
+
isDegenMode: boolean,
|
|
229
|
+
degenNFT: string,
|
|
230
|
+
forbiddenTokenMask: bigint,
|
|
231
|
+
maxEnabledTokensLength: bigint,
|
|
232
|
+
feeInterest: bigint,
|
|
233
|
+
feeLiquidation: bigint,
|
|
234
|
+
liquidationDiscount: bigint,
|
|
235
|
+
feeLiquidationExpired: bigint,
|
|
236
|
+
liquidationDiscountExpired: bigint,
|
|
237
|
+
quotas: QuotaInfoStructOutput[],
|
|
238
|
+
lirm: LinearModelStructOutput,
|
|
239
|
+
isPaused: boolean
|
|
239
240
|
] & {
|
|
240
241
|
addr: string;
|
|
241
242
|
name: string;
|
|
242
|
-
cfVersion:
|
|
243
|
+
cfVersion: bigint;
|
|
243
244
|
creditFacade: string;
|
|
244
245
|
creditConfigurator: string;
|
|
245
246
|
underlying: string;
|
|
246
247
|
pool: string;
|
|
247
|
-
totalDebt:
|
|
248
|
-
totalDebtLimit:
|
|
249
|
-
baseBorrowRate:
|
|
250
|
-
minDebt:
|
|
251
|
-
maxDebt:
|
|
252
|
-
availableToBorrow:
|
|
248
|
+
totalDebt: bigint;
|
|
249
|
+
totalDebtLimit: bigint;
|
|
250
|
+
baseBorrowRate: bigint;
|
|
251
|
+
minDebt: bigint;
|
|
252
|
+
maxDebt: bigint;
|
|
253
|
+
availableToBorrow: bigint;
|
|
253
254
|
collateralTokens: string[];
|
|
254
255
|
adapters: ContractAdapterStructOutput[];
|
|
255
|
-
liquidationThresholds:
|
|
256
|
+
liquidationThresholds: bigint[];
|
|
256
257
|
isDegenMode: boolean;
|
|
257
258
|
degenNFT: string;
|
|
258
|
-
forbiddenTokenMask:
|
|
259
|
-
maxEnabledTokensLength:
|
|
260
|
-
feeInterest:
|
|
261
|
-
feeLiquidation:
|
|
262
|
-
liquidationDiscount:
|
|
263
|
-
feeLiquidationExpired:
|
|
264
|
-
liquidationDiscountExpired:
|
|
259
|
+
forbiddenTokenMask: bigint;
|
|
260
|
+
maxEnabledTokensLength: bigint;
|
|
261
|
+
feeInterest: bigint;
|
|
262
|
+
feeLiquidation: bigint;
|
|
263
|
+
liquidationDiscount: bigint;
|
|
264
|
+
feeLiquidationExpired: bigint;
|
|
265
|
+
liquidationDiscountExpired: bigint;
|
|
265
266
|
quotas: QuotaInfoStructOutput[];
|
|
266
267
|
lirm: LinearModelStructOutput;
|
|
267
268
|
isPaused: boolean;
|
|
268
269
|
};
|
|
269
270
|
export type CreditManagerDebtParamsStruct = {
|
|
270
|
-
creditManager:
|
|
271
|
-
borrowed:
|
|
272
|
-
limit:
|
|
273
|
-
availableToBorrow:
|
|
271
|
+
creditManager: AddressLike;
|
|
272
|
+
borrowed: BigNumberish;
|
|
273
|
+
limit: BigNumberish;
|
|
274
|
+
availableToBorrow: BigNumberish;
|
|
274
275
|
};
|
|
275
276
|
export type CreditManagerDebtParamsStructOutput = [
|
|
276
|
-
string,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
277
|
+
creditManager: string,
|
|
278
|
+
borrowed: bigint,
|
|
279
|
+
limit: bigint,
|
|
280
|
+
availableToBorrow: bigint
|
|
280
281
|
] & {
|
|
281
282
|
creditManager: string;
|
|
282
|
-
borrowed:
|
|
283
|
-
limit:
|
|
284
|
-
availableToBorrow:
|
|
283
|
+
borrowed: bigint;
|
|
284
|
+
limit: bigint;
|
|
285
|
+
availableToBorrow: bigint;
|
|
285
286
|
};
|
|
286
287
|
export type ZapperInfoStruct = {
|
|
287
|
-
zapper:
|
|
288
|
-
tokenIn:
|
|
289
|
-
tokenOut:
|
|
288
|
+
zapper: AddressLike;
|
|
289
|
+
tokenIn: AddressLike;
|
|
290
|
+
tokenOut: AddressLike;
|
|
290
291
|
};
|
|
291
|
-
export type ZapperInfoStructOutput = [
|
|
292
|
+
export type ZapperInfoStructOutput = [
|
|
293
|
+
zapper: string,
|
|
294
|
+
tokenIn: string,
|
|
295
|
+
tokenOut: string
|
|
296
|
+
] & {
|
|
292
297
|
zapper: string;
|
|
293
298
|
tokenIn: string;
|
|
294
299
|
tokenOut: string;
|
|
295
300
|
};
|
|
296
301
|
export type PoolDataStruct = {
|
|
297
|
-
addr:
|
|
298
|
-
underlying:
|
|
299
|
-
dieselToken:
|
|
300
|
-
symbol:
|
|
301
|
-
name:
|
|
302
|
-
baseInterestIndex:
|
|
303
|
-
availableLiquidity:
|
|
304
|
-
expectedLiquidity:
|
|
305
|
-
totalBorrowed:
|
|
306
|
-
totalDebtLimit:
|
|
302
|
+
addr: AddressLike;
|
|
303
|
+
underlying: AddressLike;
|
|
304
|
+
dieselToken: AddressLike;
|
|
305
|
+
symbol: string;
|
|
306
|
+
name: string;
|
|
307
|
+
baseInterestIndex: BigNumberish;
|
|
308
|
+
availableLiquidity: BigNumberish;
|
|
309
|
+
expectedLiquidity: BigNumberish;
|
|
310
|
+
totalBorrowed: BigNumberish;
|
|
311
|
+
totalDebtLimit: BigNumberish;
|
|
307
312
|
creditManagerDebtParams: CreditManagerDebtParamsStruct[];
|
|
308
|
-
totalAssets:
|
|
309
|
-
totalSupply:
|
|
310
|
-
supplyRate:
|
|
311
|
-
baseInterestRate:
|
|
312
|
-
dieselRate_RAY:
|
|
313
|
-
withdrawFee:
|
|
314
|
-
lastBaseInterestUpdate:
|
|
315
|
-
baseInterestIndexLU:
|
|
316
|
-
version:
|
|
317
|
-
poolQuotaKeeper:
|
|
318
|
-
gauge:
|
|
313
|
+
totalAssets: BigNumberish;
|
|
314
|
+
totalSupply: BigNumberish;
|
|
315
|
+
supplyRate: BigNumberish;
|
|
316
|
+
baseInterestRate: BigNumberish;
|
|
317
|
+
dieselRate_RAY: BigNumberish;
|
|
318
|
+
withdrawFee: BigNumberish;
|
|
319
|
+
lastBaseInterestUpdate: BigNumberish;
|
|
320
|
+
baseInterestIndexLU: BigNumberish;
|
|
321
|
+
version: BigNumberish;
|
|
322
|
+
poolQuotaKeeper: AddressLike;
|
|
323
|
+
gauge: AddressLike;
|
|
319
324
|
quotas: QuotaInfoStruct[];
|
|
320
325
|
zappers: ZapperInfoStruct[];
|
|
321
326
|
lirm: LinearModelStruct;
|
|
322
|
-
isPaused:
|
|
327
|
+
isPaused: boolean;
|
|
323
328
|
};
|
|
324
329
|
export type PoolDataStructOutput = [
|
|
325
|
-
string,
|
|
326
|
-
string,
|
|
327
|
-
string,
|
|
328
|
-
string,
|
|
329
|
-
string,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
CreditManagerDebtParamsStructOutput[],
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
string,
|
|
346
|
-
string,
|
|
347
|
-
QuotaInfoStructOutput[],
|
|
348
|
-
ZapperInfoStructOutput[],
|
|
349
|
-
LinearModelStructOutput,
|
|
350
|
-
boolean
|
|
330
|
+
addr: string,
|
|
331
|
+
underlying: string,
|
|
332
|
+
dieselToken: string,
|
|
333
|
+
symbol: string,
|
|
334
|
+
name: string,
|
|
335
|
+
baseInterestIndex: bigint,
|
|
336
|
+
availableLiquidity: bigint,
|
|
337
|
+
expectedLiquidity: bigint,
|
|
338
|
+
totalBorrowed: bigint,
|
|
339
|
+
totalDebtLimit: bigint,
|
|
340
|
+
creditManagerDebtParams: CreditManagerDebtParamsStructOutput[],
|
|
341
|
+
totalAssets: bigint,
|
|
342
|
+
totalSupply: bigint,
|
|
343
|
+
supplyRate: bigint,
|
|
344
|
+
baseInterestRate: bigint,
|
|
345
|
+
dieselRate_RAY: bigint,
|
|
346
|
+
withdrawFee: bigint,
|
|
347
|
+
lastBaseInterestUpdate: bigint,
|
|
348
|
+
baseInterestIndexLU: bigint,
|
|
349
|
+
version: bigint,
|
|
350
|
+
poolQuotaKeeper: string,
|
|
351
|
+
gauge: string,
|
|
352
|
+
quotas: QuotaInfoStructOutput[],
|
|
353
|
+
zappers: ZapperInfoStructOutput[],
|
|
354
|
+
lirm: LinearModelStructOutput,
|
|
355
|
+
isPaused: boolean
|
|
351
356
|
] & {
|
|
352
357
|
addr: string;
|
|
353
358
|
underlying: string;
|
|
354
359
|
dieselToken: string;
|
|
355
360
|
symbol: string;
|
|
356
361
|
name: string;
|
|
357
|
-
baseInterestIndex:
|
|
358
|
-
availableLiquidity:
|
|
359
|
-
expectedLiquidity:
|
|
360
|
-
totalBorrowed:
|
|
361
|
-
totalDebtLimit:
|
|
362
|
+
baseInterestIndex: bigint;
|
|
363
|
+
availableLiquidity: bigint;
|
|
364
|
+
expectedLiquidity: bigint;
|
|
365
|
+
totalBorrowed: bigint;
|
|
366
|
+
totalDebtLimit: bigint;
|
|
362
367
|
creditManagerDebtParams: CreditManagerDebtParamsStructOutput[];
|
|
363
|
-
totalAssets:
|
|
364
|
-
totalSupply:
|
|
365
|
-
supplyRate:
|
|
366
|
-
baseInterestRate:
|
|
367
|
-
dieselRate_RAY:
|
|
368
|
-
withdrawFee:
|
|
369
|
-
lastBaseInterestUpdate:
|
|
370
|
-
baseInterestIndexLU:
|
|
371
|
-
version:
|
|
368
|
+
totalAssets: bigint;
|
|
369
|
+
totalSupply: bigint;
|
|
370
|
+
supplyRate: bigint;
|
|
371
|
+
baseInterestRate: bigint;
|
|
372
|
+
dieselRate_RAY: bigint;
|
|
373
|
+
withdrawFee: bigint;
|
|
374
|
+
lastBaseInterestUpdate: bigint;
|
|
375
|
+
baseInterestIndexLU: bigint;
|
|
376
|
+
version: bigint;
|
|
372
377
|
poolQuotaKeeper: string;
|
|
373
378
|
gauge: string;
|
|
374
379
|
quotas: QuotaInfoStructOutput[];
|
|
@@ -376,27 +381,16 @@ export type PoolDataStructOutput = [
|
|
|
376
381
|
lirm: LinearModelStructOutput;
|
|
377
382
|
isPaused: boolean;
|
|
378
383
|
};
|
|
379
|
-
export interface IDataCompressorV2_1Interface extends
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
"getCreditManagersV2List()": FunctionFragment;
|
|
386
|
-
"getPoolData(address)": FunctionFragment;
|
|
387
|
-
"getPoolsV1List()": FunctionFragment;
|
|
388
|
-
"hasOpenedCreditAccount(address,address)": FunctionFragment;
|
|
389
|
-
"version()": FunctionFragment;
|
|
390
|
-
};
|
|
391
|
-
getFunction(nameOrSignatureOrTopic: "getAdapter" | "getCreditAccountData" | "getCreditAccountsByBorrower" | "getCreditManagerData" | "getCreditManagersV2List" | "getPoolData" | "getPoolsV1List" | "hasOpenedCreditAccount" | "version"): FunctionFragment;
|
|
392
|
-
encodeFunctionData(functionFragment: "getAdapter", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
393
|
-
encodeFunctionData(functionFragment: "getCreditAccountData", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
|
|
394
|
-
encodeFunctionData(functionFragment: "getCreditAccountsByBorrower", values: [PromiseOrValue<string>]): string;
|
|
395
|
-
encodeFunctionData(functionFragment: "getCreditManagerData", values: [PromiseOrValue<string>]): string;
|
|
384
|
+
export interface IDataCompressorV2_1Interface extends Interface {
|
|
385
|
+
getFunction(nameOrSignature: "getAdapter" | "getCreditAccountData" | "getCreditAccountsByBorrower" | "getCreditManagerData" | "getCreditManagersV2List" | "getPoolData" | "getPoolsV1List" | "hasOpenedCreditAccount" | "version"): FunctionFragment;
|
|
386
|
+
encodeFunctionData(functionFragment: "getAdapter", values: [AddressLike, AddressLike]): string;
|
|
387
|
+
encodeFunctionData(functionFragment: "getCreditAccountData", values: [AddressLike, AddressLike]): string;
|
|
388
|
+
encodeFunctionData(functionFragment: "getCreditAccountsByBorrower", values: [AddressLike]): string;
|
|
389
|
+
encodeFunctionData(functionFragment: "getCreditManagerData", values: [AddressLike]): string;
|
|
396
390
|
encodeFunctionData(functionFragment: "getCreditManagersV2List", values?: undefined): string;
|
|
397
|
-
encodeFunctionData(functionFragment: "getPoolData", values: [
|
|
391
|
+
encodeFunctionData(functionFragment: "getPoolData", values: [AddressLike]): string;
|
|
398
392
|
encodeFunctionData(functionFragment: "getPoolsV1List", values?: undefined): string;
|
|
399
|
-
encodeFunctionData(functionFragment: "hasOpenedCreditAccount", values: [
|
|
393
|
+
encodeFunctionData(functionFragment: "hasOpenedCreditAccount", values: [AddressLike, AddressLike]): string;
|
|
400
394
|
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
401
395
|
decodeFunctionResult(functionFragment: "getAdapter", data: BytesLike): Result;
|
|
402
396
|
decodeFunctionResult(functionFragment: "getCreditAccountData", data: BytesLike): Result;
|
|
@@ -407,76 +401,91 @@ export interface IDataCompressorV2_1Interface extends utils.Interface {
|
|
|
407
401
|
decodeFunctionResult(functionFragment: "getPoolsV1List", data: BytesLike): Result;
|
|
408
402
|
decodeFunctionResult(functionFragment: "hasOpenedCreditAccount", data: BytesLike): Result;
|
|
409
403
|
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
410
|
-
events: {};
|
|
411
404
|
}
|
|
412
405
|
export interface IDataCompressorV2_1 extends BaseContract {
|
|
413
|
-
connect(
|
|
414
|
-
|
|
415
|
-
deployed(): Promise<this>;
|
|
406
|
+
connect(runner?: ContractRunner | null): IDataCompressorV2_1;
|
|
407
|
+
waitForDeployment(): Promise<this>;
|
|
416
408
|
interface: IDataCompressorV2_1Interface;
|
|
417
|
-
queryFilter<
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
409
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
410
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
411
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
412
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
413
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
414
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
415
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
416
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
417
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
418
|
+
getAdapter: TypedContractMethod<[
|
|
419
|
+
_creditManager: AddressLike,
|
|
420
|
+
_allowedContract: AddressLike
|
|
421
|
+
], [
|
|
422
|
+
string
|
|
423
|
+
], "view">;
|
|
424
|
+
getCreditAccountData: TypedContractMethod<[
|
|
425
|
+
_creditManager: AddressLike,
|
|
426
|
+
borrower: AddressLike
|
|
427
|
+
], [
|
|
428
|
+
CreditAccountDataStructOutput
|
|
429
|
+
], "view">;
|
|
430
|
+
getCreditAccountsByBorrower: TypedContractMethod<[
|
|
431
|
+
borrower: AddressLike
|
|
432
|
+
], [
|
|
433
|
+
CreditAccountDataStructOutput[]
|
|
434
|
+
], "view">;
|
|
435
|
+
getCreditManagerData: TypedContractMethod<[
|
|
436
|
+
_creditManager: AddressLike
|
|
437
|
+
], [
|
|
438
|
+
CreditManagerDataStructOutput
|
|
439
|
+
], "view">;
|
|
440
|
+
getCreditManagersV2List: TypedContractMethod<[
|
|
441
|
+
], [
|
|
442
|
+
CreditManagerDataStructOutput[]
|
|
443
|
+
], "view">;
|
|
444
|
+
getPoolData: TypedContractMethod<[
|
|
445
|
+
_pool: AddressLike
|
|
446
|
+
], [
|
|
447
|
+
PoolDataStructOutput
|
|
448
|
+
], "view">;
|
|
449
|
+
getPoolsV1List: TypedContractMethod<[], [PoolDataStructOutput[]], "view">;
|
|
450
|
+
hasOpenedCreditAccount: TypedContractMethod<[
|
|
451
|
+
creditManager: AddressLike,
|
|
452
|
+
borrower: AddressLike
|
|
453
|
+
], [
|
|
454
|
+
boolean
|
|
455
|
+
], "view">;
|
|
456
|
+
version: TypedContractMethod<[], [bigint], "view">;
|
|
457
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
458
|
+
getFunction(nameOrSignature: "getAdapter"): TypedContractMethod<[
|
|
459
|
+
_creditManager: AddressLike,
|
|
460
|
+
_allowedContract: AddressLike
|
|
461
|
+
], [
|
|
462
|
+
string
|
|
463
|
+
], "view">;
|
|
464
|
+
getFunction(nameOrSignature: "getCreditAccountData"): TypedContractMethod<[
|
|
465
|
+
_creditManager: AddressLike,
|
|
466
|
+
borrower: AddressLike
|
|
467
|
+
], [
|
|
468
|
+
CreditAccountDataStructOutput
|
|
469
|
+
], "view">;
|
|
470
|
+
getFunction(nameOrSignature: "getCreditAccountsByBorrower"): TypedContractMethod<[
|
|
471
|
+
borrower: AddressLike
|
|
472
|
+
], [
|
|
473
|
+
CreditAccountDataStructOutput[]
|
|
474
|
+
], "view">;
|
|
475
|
+
getFunction(nameOrSignature: "getCreditManagerData"): TypedContractMethod<[
|
|
476
|
+
_creditManager: AddressLike
|
|
477
|
+
], [
|
|
478
|
+
CreditManagerDataStructOutput
|
|
479
|
+
], "view">;
|
|
480
|
+
getFunction(nameOrSignature: "getCreditManagersV2List"): TypedContractMethod<[], [CreditManagerDataStructOutput[]], "view">;
|
|
481
|
+
getFunction(nameOrSignature: "getPoolData"): TypedContractMethod<[_pool: AddressLike], [PoolDataStructOutput], "view">;
|
|
482
|
+
getFunction(nameOrSignature: "getPoolsV1List"): TypedContractMethod<[], [PoolDataStructOutput[]], "view">;
|
|
483
|
+
getFunction(nameOrSignature: "hasOpenedCreditAccount"): TypedContractMethod<[
|
|
484
|
+
creditManager: AddressLike,
|
|
485
|
+
borrower: AddressLike
|
|
486
|
+
], [
|
|
487
|
+
boolean
|
|
488
|
+
], "view">;
|
|
489
|
+
getFunction(nameOrSignature: "version"): TypedContractMethod<[], [bigint], "view">;
|
|
459
490
|
filters: {};
|
|
460
|
-
estimateGas: {
|
|
461
|
-
getAdapter(_creditManager: PromiseOrValue<string>, _allowedContract: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
462
|
-
getCreditAccountData(_creditManager: PromiseOrValue<string>, borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
463
|
-
getCreditAccountsByBorrower(borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
464
|
-
getCreditManagerData(_creditManager: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
465
|
-
getCreditManagersV2List(overrides?: CallOverrides): Promise<BigNumber>;
|
|
466
|
-
getPoolData(_pool: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
467
|
-
getPoolsV1List(overrides?: CallOverrides): Promise<BigNumber>;
|
|
468
|
-
hasOpenedCreditAccount(creditManager: PromiseOrValue<string>, borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
469
|
-
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
470
|
-
};
|
|
471
|
-
populateTransaction: {
|
|
472
|
-
getAdapter(_creditManager: PromiseOrValue<string>, _allowedContract: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
473
|
-
getCreditAccountData(_creditManager: PromiseOrValue<string>, borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
474
|
-
getCreditAccountsByBorrower(borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
475
|
-
getCreditManagerData(_creditManager: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
476
|
-
getCreditManagersV2List(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
477
|
-
getPoolData(_pool: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
478
|
-
getPoolsV1List(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
479
|
-
hasOpenedCreditAccount(creditManager: PromiseOrValue<string>, borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
480
|
-
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
481
|
-
};
|
|
482
491
|
}
|