@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,99 +1,97 @@
|
|
|
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 PriceOnDemandStruct = {
|
|
6
|
-
token:
|
|
7
|
-
callData:
|
|
4
|
+
token: AddressLike;
|
|
5
|
+
callData: BytesLike;
|
|
8
6
|
};
|
|
9
|
-
export type PriceOnDemandStructOutput = [string, string] & {
|
|
7
|
+
export type PriceOnDemandStructOutput = [token: string, callData: string] & {
|
|
10
8
|
token: string;
|
|
11
9
|
callData: string;
|
|
12
10
|
};
|
|
13
11
|
export type TokenBalanceStruct = {
|
|
14
|
-
token:
|
|
15
|
-
balance:
|
|
16
|
-
isForbidden:
|
|
17
|
-
isEnabled:
|
|
18
|
-
isQuoted:
|
|
19
|
-
quota:
|
|
20
|
-
quotaRate:
|
|
21
|
-
quotaCumulativeIndexLU:
|
|
12
|
+
token: AddressLike;
|
|
13
|
+
balance: BigNumberish;
|
|
14
|
+
isForbidden: boolean;
|
|
15
|
+
isEnabled: boolean;
|
|
16
|
+
isQuoted: boolean;
|
|
17
|
+
quota: BigNumberish;
|
|
18
|
+
quotaRate: BigNumberish;
|
|
19
|
+
quotaCumulativeIndexLU: BigNumberish;
|
|
22
20
|
};
|
|
23
21
|
export type TokenBalanceStructOutput = [
|
|
24
|
-
string,
|
|
25
|
-
|
|
26
|
-
boolean,
|
|
27
|
-
boolean,
|
|
28
|
-
boolean,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
token: string,
|
|
23
|
+
balance: bigint,
|
|
24
|
+
isForbidden: boolean,
|
|
25
|
+
isEnabled: boolean,
|
|
26
|
+
isQuoted: boolean,
|
|
27
|
+
quota: bigint,
|
|
28
|
+
quotaRate: bigint,
|
|
29
|
+
quotaCumulativeIndexLU: bigint
|
|
32
30
|
] & {
|
|
33
31
|
token: string;
|
|
34
|
-
balance:
|
|
32
|
+
balance: bigint;
|
|
35
33
|
isForbidden: boolean;
|
|
36
34
|
isEnabled: boolean;
|
|
37
35
|
isQuoted: boolean;
|
|
38
|
-
quota:
|
|
39
|
-
quotaRate:
|
|
40
|
-
quotaCumulativeIndexLU:
|
|
36
|
+
quota: bigint;
|
|
37
|
+
quotaRate: bigint;
|
|
38
|
+
quotaCumulativeIndexLU: bigint;
|
|
41
39
|
};
|
|
42
40
|
export type CreditAccountDataStruct = {
|
|
43
|
-
isSuccessful:
|
|
44
|
-
priceFeedsNeeded:
|
|
45
|
-
addr:
|
|
46
|
-
borrower:
|
|
47
|
-
creditManager:
|
|
48
|
-
cmName:
|
|
49
|
-
creditFacade:
|
|
50
|
-
underlying:
|
|
51
|
-
debt:
|
|
52
|
-
cumulativeIndexLastUpdate:
|
|
53
|
-
cumulativeQuotaInterest:
|
|
54
|
-
accruedInterest:
|
|
55
|
-
accruedFees:
|
|
56
|
-
totalDebtUSD:
|
|
57
|
-
totalValue:
|
|
58
|
-
totalValueUSD:
|
|
59
|
-
twvUSD:
|
|
60
|
-
enabledTokensMask:
|
|
61
|
-
healthFactor:
|
|
62
|
-
baseBorrowRate:
|
|
63
|
-
aggregatedBorrowRate:
|
|
41
|
+
isSuccessful: boolean;
|
|
42
|
+
priceFeedsNeeded: AddressLike[];
|
|
43
|
+
addr: AddressLike;
|
|
44
|
+
borrower: AddressLike;
|
|
45
|
+
creditManager: AddressLike;
|
|
46
|
+
cmName: string;
|
|
47
|
+
creditFacade: AddressLike;
|
|
48
|
+
underlying: AddressLike;
|
|
49
|
+
debt: BigNumberish;
|
|
50
|
+
cumulativeIndexLastUpdate: BigNumberish;
|
|
51
|
+
cumulativeQuotaInterest: BigNumberish;
|
|
52
|
+
accruedInterest: BigNumberish;
|
|
53
|
+
accruedFees: BigNumberish;
|
|
54
|
+
totalDebtUSD: BigNumberish;
|
|
55
|
+
totalValue: BigNumberish;
|
|
56
|
+
totalValueUSD: BigNumberish;
|
|
57
|
+
twvUSD: BigNumberish;
|
|
58
|
+
enabledTokensMask: BigNumberish;
|
|
59
|
+
healthFactor: BigNumberish;
|
|
60
|
+
baseBorrowRate: BigNumberish;
|
|
61
|
+
aggregatedBorrowRate: BigNumberish;
|
|
64
62
|
balances: TokenBalanceStruct[];
|
|
65
|
-
since:
|
|
66
|
-
cfVersion:
|
|
67
|
-
expirationDate:
|
|
68
|
-
activeBots:
|
|
63
|
+
since: BigNumberish;
|
|
64
|
+
cfVersion: BigNumberish;
|
|
65
|
+
expirationDate: BigNumberish;
|
|
66
|
+
activeBots: AddressLike[];
|
|
69
67
|
};
|
|
70
68
|
export type CreditAccountDataStructOutput = [
|
|
71
|
-
boolean,
|
|
72
|
-
string[],
|
|
73
|
-
string,
|
|
74
|
-
string,
|
|
75
|
-
string,
|
|
76
|
-
string,
|
|
77
|
-
string,
|
|
78
|
-
string,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
TokenBalanceStructOutput[],
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
string[]
|
|
69
|
+
isSuccessful: boolean,
|
|
70
|
+
priceFeedsNeeded: string[],
|
|
71
|
+
addr: string,
|
|
72
|
+
borrower: string,
|
|
73
|
+
creditManager: string,
|
|
74
|
+
cmName: string,
|
|
75
|
+
creditFacade: string,
|
|
76
|
+
underlying: string,
|
|
77
|
+
debt: bigint,
|
|
78
|
+
cumulativeIndexLastUpdate: bigint,
|
|
79
|
+
cumulativeQuotaInterest: bigint,
|
|
80
|
+
accruedInterest: bigint,
|
|
81
|
+
accruedFees: bigint,
|
|
82
|
+
totalDebtUSD: bigint,
|
|
83
|
+
totalValue: bigint,
|
|
84
|
+
totalValueUSD: bigint,
|
|
85
|
+
twvUSD: bigint,
|
|
86
|
+
enabledTokensMask: bigint,
|
|
87
|
+
healthFactor: bigint,
|
|
88
|
+
baseBorrowRate: bigint,
|
|
89
|
+
aggregatedBorrowRate: bigint,
|
|
90
|
+
balances: TokenBalanceStructOutput[],
|
|
91
|
+
since: bigint,
|
|
92
|
+
cfVersion: bigint,
|
|
93
|
+
expirationDate: bigint,
|
|
94
|
+
activeBots: string[]
|
|
97
95
|
] & {
|
|
98
96
|
isSuccessful: boolean;
|
|
99
97
|
priceFeedsNeeded: string[];
|
|
@@ -103,350 +101,357 @@ export type CreditAccountDataStructOutput = [
|
|
|
103
101
|
cmName: string;
|
|
104
102
|
creditFacade: string;
|
|
105
103
|
underlying: string;
|
|
106
|
-
debt:
|
|
107
|
-
cumulativeIndexLastUpdate:
|
|
108
|
-
cumulativeQuotaInterest:
|
|
109
|
-
accruedInterest:
|
|
110
|
-
accruedFees:
|
|
111
|
-
totalDebtUSD:
|
|
112
|
-
totalValue:
|
|
113
|
-
totalValueUSD:
|
|
114
|
-
twvUSD:
|
|
115
|
-
enabledTokensMask:
|
|
116
|
-
healthFactor:
|
|
117
|
-
baseBorrowRate:
|
|
118
|
-
aggregatedBorrowRate:
|
|
104
|
+
debt: bigint;
|
|
105
|
+
cumulativeIndexLastUpdate: bigint;
|
|
106
|
+
cumulativeQuotaInterest: bigint;
|
|
107
|
+
accruedInterest: bigint;
|
|
108
|
+
accruedFees: bigint;
|
|
109
|
+
totalDebtUSD: bigint;
|
|
110
|
+
totalValue: bigint;
|
|
111
|
+
totalValueUSD: bigint;
|
|
112
|
+
twvUSD: bigint;
|
|
113
|
+
enabledTokensMask: bigint;
|
|
114
|
+
healthFactor: bigint;
|
|
115
|
+
baseBorrowRate: bigint;
|
|
116
|
+
aggregatedBorrowRate: bigint;
|
|
119
117
|
balances: TokenBalanceStructOutput[];
|
|
120
|
-
since:
|
|
121
|
-
cfVersion:
|
|
122
|
-
expirationDate:
|
|
118
|
+
since: bigint;
|
|
119
|
+
cfVersion: bigint;
|
|
120
|
+
expirationDate: bigint;
|
|
123
121
|
activeBots: string[];
|
|
124
122
|
};
|
|
125
123
|
export type ContractAdapterStruct = {
|
|
126
|
-
targetContract:
|
|
127
|
-
adapter:
|
|
124
|
+
targetContract: AddressLike;
|
|
125
|
+
adapter: AddressLike;
|
|
128
126
|
};
|
|
129
|
-
export type ContractAdapterStructOutput = [
|
|
127
|
+
export type ContractAdapterStructOutput = [
|
|
128
|
+
targetContract: string,
|
|
129
|
+
adapter: string
|
|
130
|
+
] & {
|
|
130
131
|
targetContract: string;
|
|
131
132
|
adapter: string;
|
|
132
133
|
};
|
|
133
134
|
export type QuotaInfoStruct = {
|
|
134
|
-
token:
|
|
135
|
-
rate:
|
|
136
|
-
quotaIncreaseFee:
|
|
137
|
-
totalQuoted:
|
|
138
|
-
limit:
|
|
139
|
-
isActive:
|
|
135
|
+
token: AddressLike;
|
|
136
|
+
rate: BigNumberish;
|
|
137
|
+
quotaIncreaseFee: BigNumberish;
|
|
138
|
+
totalQuoted: BigNumberish;
|
|
139
|
+
limit: BigNumberish;
|
|
140
|
+
isActive: boolean;
|
|
140
141
|
};
|
|
141
142
|
export type QuotaInfoStructOutput = [
|
|
142
|
-
string,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
boolean
|
|
143
|
+
token: string,
|
|
144
|
+
rate: bigint,
|
|
145
|
+
quotaIncreaseFee: bigint,
|
|
146
|
+
totalQuoted: bigint,
|
|
147
|
+
limit: bigint,
|
|
148
|
+
isActive: boolean
|
|
148
149
|
] & {
|
|
149
150
|
token: string;
|
|
150
|
-
rate:
|
|
151
|
-
quotaIncreaseFee:
|
|
152
|
-
totalQuoted:
|
|
153
|
-
limit:
|
|
151
|
+
rate: bigint;
|
|
152
|
+
quotaIncreaseFee: bigint;
|
|
153
|
+
totalQuoted: bigint;
|
|
154
|
+
limit: bigint;
|
|
154
155
|
isActive: boolean;
|
|
155
156
|
};
|
|
156
157
|
export type LinearModelStruct = {
|
|
157
|
-
interestModel:
|
|
158
|
-
version:
|
|
159
|
-
U_1:
|
|
160
|
-
U_2:
|
|
161
|
-
R_base:
|
|
162
|
-
R_slope1:
|
|
163
|
-
R_slope2:
|
|
164
|
-
R_slope3:
|
|
165
|
-
isBorrowingMoreU2Forbidden:
|
|
158
|
+
interestModel: AddressLike;
|
|
159
|
+
version: BigNumberish;
|
|
160
|
+
U_1: BigNumberish;
|
|
161
|
+
U_2: BigNumberish;
|
|
162
|
+
R_base: BigNumberish;
|
|
163
|
+
R_slope1: BigNumberish;
|
|
164
|
+
R_slope2: BigNumberish;
|
|
165
|
+
R_slope3: BigNumberish;
|
|
166
|
+
isBorrowingMoreU2Forbidden: boolean;
|
|
166
167
|
};
|
|
167
168
|
export type LinearModelStructOutput = [
|
|
168
|
-
string,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
boolean
|
|
169
|
+
interestModel: string,
|
|
170
|
+
version: bigint,
|
|
171
|
+
U_1: bigint,
|
|
172
|
+
U_2: bigint,
|
|
173
|
+
R_base: bigint,
|
|
174
|
+
R_slope1: bigint,
|
|
175
|
+
R_slope2: bigint,
|
|
176
|
+
R_slope3: bigint,
|
|
177
|
+
isBorrowingMoreU2Forbidden: boolean
|
|
177
178
|
] & {
|
|
178
179
|
interestModel: string;
|
|
179
|
-
version:
|
|
180
|
-
U_1:
|
|
181
|
-
U_2:
|
|
182
|
-
R_base:
|
|
183
|
-
R_slope1:
|
|
184
|
-
R_slope2:
|
|
185
|
-
R_slope3:
|
|
180
|
+
version: bigint;
|
|
181
|
+
U_1: bigint;
|
|
182
|
+
U_2: bigint;
|
|
183
|
+
R_base: bigint;
|
|
184
|
+
R_slope1: bigint;
|
|
185
|
+
R_slope2: bigint;
|
|
186
|
+
R_slope3: bigint;
|
|
186
187
|
isBorrowingMoreU2Forbidden: boolean;
|
|
187
188
|
};
|
|
188
189
|
export type CreditManagerDataStruct = {
|
|
189
|
-
addr:
|
|
190
|
-
name:
|
|
191
|
-
cfVersion:
|
|
192
|
-
creditFacade:
|
|
193
|
-
creditConfigurator:
|
|
194
|
-
underlying:
|
|
195
|
-
pool:
|
|
196
|
-
totalDebt:
|
|
197
|
-
totalDebtLimit:
|
|
198
|
-
baseBorrowRate:
|
|
199
|
-
minDebt:
|
|
200
|
-
maxDebt:
|
|
201
|
-
availableToBorrow:
|
|
202
|
-
collateralTokens:
|
|
190
|
+
addr: AddressLike;
|
|
191
|
+
name: string;
|
|
192
|
+
cfVersion: BigNumberish;
|
|
193
|
+
creditFacade: AddressLike;
|
|
194
|
+
creditConfigurator: AddressLike;
|
|
195
|
+
underlying: AddressLike;
|
|
196
|
+
pool: AddressLike;
|
|
197
|
+
totalDebt: BigNumberish;
|
|
198
|
+
totalDebtLimit: BigNumberish;
|
|
199
|
+
baseBorrowRate: BigNumberish;
|
|
200
|
+
minDebt: BigNumberish;
|
|
201
|
+
maxDebt: BigNumberish;
|
|
202
|
+
availableToBorrow: BigNumberish;
|
|
203
|
+
collateralTokens: AddressLike[];
|
|
203
204
|
adapters: ContractAdapterStruct[];
|
|
204
|
-
liquidationThresholds:
|
|
205
|
-
isDegenMode:
|
|
206
|
-
degenNFT:
|
|
207
|
-
forbiddenTokenMask:
|
|
208
|
-
maxEnabledTokensLength:
|
|
209
|
-
feeInterest:
|
|
210
|
-
feeLiquidation:
|
|
211
|
-
liquidationDiscount:
|
|
212
|
-
feeLiquidationExpired:
|
|
213
|
-
liquidationDiscountExpired:
|
|
205
|
+
liquidationThresholds: BigNumberish[];
|
|
206
|
+
isDegenMode: boolean;
|
|
207
|
+
degenNFT: AddressLike;
|
|
208
|
+
forbiddenTokenMask: BigNumberish;
|
|
209
|
+
maxEnabledTokensLength: BigNumberish;
|
|
210
|
+
feeInterest: BigNumberish;
|
|
211
|
+
feeLiquidation: BigNumberish;
|
|
212
|
+
liquidationDiscount: BigNumberish;
|
|
213
|
+
feeLiquidationExpired: BigNumberish;
|
|
214
|
+
liquidationDiscountExpired: BigNumberish;
|
|
214
215
|
quotas: QuotaInfoStruct[];
|
|
215
216
|
lirm: LinearModelStruct;
|
|
216
|
-
isPaused:
|
|
217
|
+
isPaused: boolean;
|
|
217
218
|
};
|
|
218
219
|
export type CreditManagerDataStructOutput = [
|
|
219
|
-
string,
|
|
220
|
-
string,
|
|
221
|
-
|
|
222
|
-
string,
|
|
223
|
-
string,
|
|
224
|
-
string,
|
|
225
|
-
string,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
string[],
|
|
233
|
-
ContractAdapterStructOutput[],
|
|
234
|
-
|
|
235
|
-
boolean,
|
|
236
|
-
string,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
QuotaInfoStructOutput[],
|
|
245
|
-
LinearModelStructOutput,
|
|
246
|
-
boolean
|
|
220
|
+
addr: string,
|
|
221
|
+
name: string,
|
|
222
|
+
cfVersion: bigint,
|
|
223
|
+
creditFacade: string,
|
|
224
|
+
creditConfigurator: string,
|
|
225
|
+
underlying: string,
|
|
226
|
+
pool: string,
|
|
227
|
+
totalDebt: bigint,
|
|
228
|
+
totalDebtLimit: bigint,
|
|
229
|
+
baseBorrowRate: bigint,
|
|
230
|
+
minDebt: bigint,
|
|
231
|
+
maxDebt: bigint,
|
|
232
|
+
availableToBorrow: bigint,
|
|
233
|
+
collateralTokens: string[],
|
|
234
|
+
adapters: ContractAdapterStructOutput[],
|
|
235
|
+
liquidationThresholds: bigint[],
|
|
236
|
+
isDegenMode: boolean,
|
|
237
|
+
degenNFT: string,
|
|
238
|
+
forbiddenTokenMask: bigint,
|
|
239
|
+
maxEnabledTokensLength: bigint,
|
|
240
|
+
feeInterest: bigint,
|
|
241
|
+
feeLiquidation: bigint,
|
|
242
|
+
liquidationDiscount: bigint,
|
|
243
|
+
feeLiquidationExpired: bigint,
|
|
244
|
+
liquidationDiscountExpired: bigint,
|
|
245
|
+
quotas: QuotaInfoStructOutput[],
|
|
246
|
+
lirm: LinearModelStructOutput,
|
|
247
|
+
isPaused: boolean
|
|
247
248
|
] & {
|
|
248
249
|
addr: string;
|
|
249
250
|
name: string;
|
|
250
|
-
cfVersion:
|
|
251
|
+
cfVersion: bigint;
|
|
251
252
|
creditFacade: string;
|
|
252
253
|
creditConfigurator: string;
|
|
253
254
|
underlying: string;
|
|
254
255
|
pool: string;
|
|
255
|
-
totalDebt:
|
|
256
|
-
totalDebtLimit:
|
|
257
|
-
baseBorrowRate:
|
|
258
|
-
minDebt:
|
|
259
|
-
maxDebt:
|
|
260
|
-
availableToBorrow:
|
|
256
|
+
totalDebt: bigint;
|
|
257
|
+
totalDebtLimit: bigint;
|
|
258
|
+
baseBorrowRate: bigint;
|
|
259
|
+
minDebt: bigint;
|
|
260
|
+
maxDebt: bigint;
|
|
261
|
+
availableToBorrow: bigint;
|
|
261
262
|
collateralTokens: string[];
|
|
262
263
|
adapters: ContractAdapterStructOutput[];
|
|
263
|
-
liquidationThresholds:
|
|
264
|
+
liquidationThresholds: bigint[];
|
|
264
265
|
isDegenMode: boolean;
|
|
265
266
|
degenNFT: string;
|
|
266
|
-
forbiddenTokenMask:
|
|
267
|
-
maxEnabledTokensLength:
|
|
268
|
-
feeInterest:
|
|
269
|
-
feeLiquidation:
|
|
270
|
-
liquidationDiscount:
|
|
271
|
-
feeLiquidationExpired:
|
|
272
|
-
liquidationDiscountExpired:
|
|
267
|
+
forbiddenTokenMask: bigint;
|
|
268
|
+
maxEnabledTokensLength: bigint;
|
|
269
|
+
feeInterest: bigint;
|
|
270
|
+
feeLiquidation: bigint;
|
|
271
|
+
liquidationDiscount: bigint;
|
|
272
|
+
feeLiquidationExpired: bigint;
|
|
273
|
+
liquidationDiscountExpired: bigint;
|
|
273
274
|
quotas: QuotaInfoStructOutput[];
|
|
274
275
|
lirm: LinearModelStructOutput;
|
|
275
276
|
isPaused: boolean;
|
|
276
277
|
};
|
|
277
278
|
export type GaugeQuotaParamsStruct = {
|
|
278
|
-
token:
|
|
279
|
-
minRate:
|
|
280
|
-
maxRate:
|
|
281
|
-
totalVotesLpSide:
|
|
282
|
-
totalVotesCaSide:
|
|
283
|
-
rate:
|
|
284
|
-
quotaIncreaseFee:
|
|
285
|
-
totalQuoted:
|
|
286
|
-
limit:
|
|
287
|
-
isActive:
|
|
288
|
-
stakerVotesLpSide:
|
|
289
|
-
stakerVotesCaSide:
|
|
279
|
+
token: AddressLike;
|
|
280
|
+
minRate: BigNumberish;
|
|
281
|
+
maxRate: BigNumberish;
|
|
282
|
+
totalVotesLpSide: BigNumberish;
|
|
283
|
+
totalVotesCaSide: BigNumberish;
|
|
284
|
+
rate: BigNumberish;
|
|
285
|
+
quotaIncreaseFee: BigNumberish;
|
|
286
|
+
totalQuoted: BigNumberish;
|
|
287
|
+
limit: BigNumberish;
|
|
288
|
+
isActive: boolean;
|
|
289
|
+
stakerVotesLpSide: BigNumberish;
|
|
290
|
+
stakerVotesCaSide: BigNumberish;
|
|
290
291
|
};
|
|
291
292
|
export type GaugeQuotaParamsStructOutput = [
|
|
292
|
-
string,
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
boolean,
|
|
302
|
-
|
|
303
|
-
|
|
293
|
+
token: string,
|
|
294
|
+
minRate: bigint,
|
|
295
|
+
maxRate: bigint,
|
|
296
|
+
totalVotesLpSide: bigint,
|
|
297
|
+
totalVotesCaSide: bigint,
|
|
298
|
+
rate: bigint,
|
|
299
|
+
quotaIncreaseFee: bigint,
|
|
300
|
+
totalQuoted: bigint,
|
|
301
|
+
limit: bigint,
|
|
302
|
+
isActive: boolean,
|
|
303
|
+
stakerVotesLpSide: bigint,
|
|
304
|
+
stakerVotesCaSide: bigint
|
|
304
305
|
] & {
|
|
305
306
|
token: string;
|
|
306
|
-
minRate:
|
|
307
|
-
maxRate:
|
|
308
|
-
totalVotesLpSide:
|
|
309
|
-
totalVotesCaSide:
|
|
310
|
-
rate:
|
|
311
|
-
quotaIncreaseFee:
|
|
312
|
-
totalQuoted:
|
|
313
|
-
limit:
|
|
307
|
+
minRate: bigint;
|
|
308
|
+
maxRate: bigint;
|
|
309
|
+
totalVotesLpSide: bigint;
|
|
310
|
+
totalVotesCaSide: bigint;
|
|
311
|
+
rate: bigint;
|
|
312
|
+
quotaIncreaseFee: bigint;
|
|
313
|
+
totalQuoted: bigint;
|
|
314
|
+
limit: bigint;
|
|
314
315
|
isActive: boolean;
|
|
315
|
-
stakerVotesLpSide:
|
|
316
|
-
stakerVotesCaSide:
|
|
316
|
+
stakerVotesLpSide: bigint;
|
|
317
|
+
stakerVotesCaSide: bigint;
|
|
317
318
|
};
|
|
318
319
|
export type GaugeInfoStruct = {
|
|
319
|
-
addr:
|
|
320
|
-
pool:
|
|
321
|
-
symbol:
|
|
322
|
-
name:
|
|
323
|
-
underlying:
|
|
324
|
-
currentEpoch:
|
|
325
|
-
epochFrozen:
|
|
320
|
+
addr: AddressLike;
|
|
321
|
+
pool: AddressLike;
|
|
322
|
+
symbol: string;
|
|
323
|
+
name: string;
|
|
324
|
+
underlying: AddressLike;
|
|
325
|
+
currentEpoch: BigNumberish;
|
|
326
|
+
epochFrozen: boolean;
|
|
326
327
|
quotaParams: GaugeQuotaParamsStruct[];
|
|
327
328
|
};
|
|
328
329
|
export type GaugeInfoStructOutput = [
|
|
329
|
-
string,
|
|
330
|
-
string,
|
|
331
|
-
string,
|
|
332
|
-
string,
|
|
333
|
-
string,
|
|
334
|
-
|
|
335
|
-
boolean,
|
|
336
|
-
GaugeQuotaParamsStructOutput[]
|
|
330
|
+
addr: string,
|
|
331
|
+
pool: string,
|
|
332
|
+
symbol: string,
|
|
333
|
+
name: string,
|
|
334
|
+
underlying: string,
|
|
335
|
+
currentEpoch: bigint,
|
|
336
|
+
epochFrozen: boolean,
|
|
337
|
+
quotaParams: GaugeQuotaParamsStructOutput[]
|
|
337
338
|
] & {
|
|
338
339
|
addr: string;
|
|
339
340
|
pool: string;
|
|
340
341
|
symbol: string;
|
|
341
342
|
name: string;
|
|
342
343
|
underlying: string;
|
|
343
|
-
currentEpoch:
|
|
344
|
+
currentEpoch: bigint;
|
|
344
345
|
epochFrozen: boolean;
|
|
345
346
|
quotaParams: GaugeQuotaParamsStructOutput[];
|
|
346
347
|
};
|
|
347
348
|
export type CreditManagerDebtParamsStruct = {
|
|
348
|
-
creditManager:
|
|
349
|
-
borrowed:
|
|
350
|
-
limit:
|
|
351
|
-
availableToBorrow:
|
|
349
|
+
creditManager: AddressLike;
|
|
350
|
+
borrowed: BigNumberish;
|
|
351
|
+
limit: BigNumberish;
|
|
352
|
+
availableToBorrow: BigNumberish;
|
|
352
353
|
};
|
|
353
354
|
export type CreditManagerDebtParamsStructOutput = [
|
|
354
|
-
string,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
355
|
+
creditManager: string,
|
|
356
|
+
borrowed: bigint,
|
|
357
|
+
limit: bigint,
|
|
358
|
+
availableToBorrow: bigint
|
|
358
359
|
] & {
|
|
359
360
|
creditManager: string;
|
|
360
|
-
borrowed:
|
|
361
|
-
limit:
|
|
362
|
-
availableToBorrow:
|
|
361
|
+
borrowed: bigint;
|
|
362
|
+
limit: bigint;
|
|
363
|
+
availableToBorrow: bigint;
|
|
363
364
|
};
|
|
364
365
|
export type ZapperInfoStruct = {
|
|
365
|
-
zapper:
|
|
366
|
-
tokenIn:
|
|
367
|
-
tokenOut:
|
|
366
|
+
zapper: AddressLike;
|
|
367
|
+
tokenIn: AddressLike;
|
|
368
|
+
tokenOut: AddressLike;
|
|
368
369
|
};
|
|
369
|
-
export type ZapperInfoStructOutput = [
|
|
370
|
+
export type ZapperInfoStructOutput = [
|
|
371
|
+
zapper: string,
|
|
372
|
+
tokenIn: string,
|
|
373
|
+
tokenOut: string
|
|
374
|
+
] & {
|
|
370
375
|
zapper: string;
|
|
371
376
|
tokenIn: string;
|
|
372
377
|
tokenOut: string;
|
|
373
378
|
};
|
|
374
379
|
export type PoolDataStruct = {
|
|
375
|
-
addr:
|
|
376
|
-
underlying:
|
|
377
|
-
dieselToken:
|
|
378
|
-
symbol:
|
|
379
|
-
name:
|
|
380
|
-
baseInterestIndex:
|
|
381
|
-
availableLiquidity:
|
|
382
|
-
expectedLiquidity:
|
|
383
|
-
totalBorrowed:
|
|
384
|
-
totalDebtLimit:
|
|
380
|
+
addr: AddressLike;
|
|
381
|
+
underlying: AddressLike;
|
|
382
|
+
dieselToken: AddressLike;
|
|
383
|
+
symbol: string;
|
|
384
|
+
name: string;
|
|
385
|
+
baseInterestIndex: BigNumberish;
|
|
386
|
+
availableLiquidity: BigNumberish;
|
|
387
|
+
expectedLiquidity: BigNumberish;
|
|
388
|
+
totalBorrowed: BigNumberish;
|
|
389
|
+
totalDebtLimit: BigNumberish;
|
|
385
390
|
creditManagerDebtParams: CreditManagerDebtParamsStruct[];
|
|
386
|
-
totalAssets:
|
|
387
|
-
totalSupply:
|
|
388
|
-
supplyRate:
|
|
389
|
-
baseInterestRate:
|
|
390
|
-
dieselRate_RAY:
|
|
391
|
-
withdrawFee:
|
|
392
|
-
lastBaseInterestUpdate:
|
|
393
|
-
baseInterestIndexLU:
|
|
394
|
-
version:
|
|
395
|
-
poolQuotaKeeper:
|
|
396
|
-
gauge:
|
|
391
|
+
totalAssets: BigNumberish;
|
|
392
|
+
totalSupply: BigNumberish;
|
|
393
|
+
supplyRate: BigNumberish;
|
|
394
|
+
baseInterestRate: BigNumberish;
|
|
395
|
+
dieselRate_RAY: BigNumberish;
|
|
396
|
+
withdrawFee: BigNumberish;
|
|
397
|
+
lastBaseInterestUpdate: BigNumberish;
|
|
398
|
+
baseInterestIndexLU: BigNumberish;
|
|
399
|
+
version: BigNumberish;
|
|
400
|
+
poolQuotaKeeper: AddressLike;
|
|
401
|
+
gauge: AddressLike;
|
|
397
402
|
quotas: QuotaInfoStruct[];
|
|
398
403
|
zappers: ZapperInfoStruct[];
|
|
399
404
|
lirm: LinearModelStruct;
|
|
400
|
-
isPaused:
|
|
405
|
+
isPaused: boolean;
|
|
401
406
|
};
|
|
402
407
|
export type PoolDataStructOutput = [
|
|
403
|
-
string,
|
|
404
|
-
string,
|
|
405
|
-
string,
|
|
406
|
-
string,
|
|
407
|
-
string,
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
CreditManagerDebtParamsStructOutput[],
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
string,
|
|
424
|
-
string,
|
|
425
|
-
QuotaInfoStructOutput[],
|
|
426
|
-
ZapperInfoStructOutput[],
|
|
427
|
-
LinearModelStructOutput,
|
|
428
|
-
boolean
|
|
408
|
+
addr: string,
|
|
409
|
+
underlying: string,
|
|
410
|
+
dieselToken: string,
|
|
411
|
+
symbol: string,
|
|
412
|
+
name: string,
|
|
413
|
+
baseInterestIndex: bigint,
|
|
414
|
+
availableLiquidity: bigint,
|
|
415
|
+
expectedLiquidity: bigint,
|
|
416
|
+
totalBorrowed: bigint,
|
|
417
|
+
totalDebtLimit: bigint,
|
|
418
|
+
creditManagerDebtParams: CreditManagerDebtParamsStructOutput[],
|
|
419
|
+
totalAssets: bigint,
|
|
420
|
+
totalSupply: bigint,
|
|
421
|
+
supplyRate: bigint,
|
|
422
|
+
baseInterestRate: bigint,
|
|
423
|
+
dieselRate_RAY: bigint,
|
|
424
|
+
withdrawFee: bigint,
|
|
425
|
+
lastBaseInterestUpdate: bigint,
|
|
426
|
+
baseInterestIndexLU: bigint,
|
|
427
|
+
version: bigint,
|
|
428
|
+
poolQuotaKeeper: string,
|
|
429
|
+
gauge: string,
|
|
430
|
+
quotas: QuotaInfoStructOutput[],
|
|
431
|
+
zappers: ZapperInfoStructOutput[],
|
|
432
|
+
lirm: LinearModelStructOutput,
|
|
433
|
+
isPaused: boolean
|
|
429
434
|
] & {
|
|
430
435
|
addr: string;
|
|
431
436
|
underlying: string;
|
|
432
437
|
dieselToken: string;
|
|
433
438
|
symbol: string;
|
|
434
439
|
name: string;
|
|
435
|
-
baseInterestIndex:
|
|
436
|
-
availableLiquidity:
|
|
437
|
-
expectedLiquidity:
|
|
438
|
-
totalBorrowed:
|
|
439
|
-
totalDebtLimit:
|
|
440
|
+
baseInterestIndex: bigint;
|
|
441
|
+
availableLiquidity: bigint;
|
|
442
|
+
expectedLiquidity: bigint;
|
|
443
|
+
totalBorrowed: bigint;
|
|
444
|
+
totalDebtLimit: bigint;
|
|
440
445
|
creditManagerDebtParams: CreditManagerDebtParamsStructOutput[];
|
|
441
|
-
totalAssets:
|
|
442
|
-
totalSupply:
|
|
443
|
-
supplyRate:
|
|
444
|
-
baseInterestRate:
|
|
445
|
-
dieselRate_RAY:
|
|
446
|
-
withdrawFee:
|
|
447
|
-
lastBaseInterestUpdate:
|
|
448
|
-
baseInterestIndexLU:
|
|
449
|
-
version:
|
|
446
|
+
totalAssets: bigint;
|
|
447
|
+
totalSupply: bigint;
|
|
448
|
+
supplyRate: bigint;
|
|
449
|
+
baseInterestRate: bigint;
|
|
450
|
+
dieselRate_RAY: bigint;
|
|
451
|
+
withdrawFee: bigint;
|
|
452
|
+
lastBaseInterestUpdate: bigint;
|
|
453
|
+
baseInterestIndexLU: bigint;
|
|
454
|
+
version: bigint;
|
|
450
455
|
poolQuotaKeeper: string;
|
|
451
456
|
gauge: string;
|
|
452
457
|
quotas: QuotaInfoStructOutput[];
|
|
@@ -454,28 +459,16 @@ export type PoolDataStructOutput = [
|
|
|
454
459
|
lirm: LinearModelStructOutput;
|
|
455
460
|
isPaused: boolean;
|
|
456
461
|
};
|
|
457
|
-
export interface IDataCompressorV3Interface extends
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
"getCreditManagersV3List()": FunctionFragment;
|
|
464
|
-
"getGaugesV3Data(address)": FunctionFragment;
|
|
465
|
-
"getLiquidatableCreditAccounts((address,bytes)[])": FunctionFragment;
|
|
466
|
-
"getPoolData(address)": FunctionFragment;
|
|
467
|
-
"getPoolsV3List()": FunctionFragment;
|
|
468
|
-
"version()": FunctionFragment;
|
|
469
|
-
};
|
|
470
|
-
getFunction(nameOrSignatureOrTopic: "getCreditAccountData" | "getCreditAccountsByBorrower" | "getCreditAccountsByCreditManager" | "getCreditManagerData" | "getCreditManagersV3List" | "getGaugesV3Data" | "getLiquidatableCreditAccounts" | "getPoolData" | "getPoolsV3List" | "version"): FunctionFragment;
|
|
471
|
-
encodeFunctionData(functionFragment: "getCreditAccountData", values: [PromiseOrValue<string>, PriceOnDemandStruct[]]): string;
|
|
472
|
-
encodeFunctionData(functionFragment: "getCreditAccountsByBorrower", values: [PromiseOrValue<string>, PriceOnDemandStruct[]]): string;
|
|
473
|
-
encodeFunctionData(functionFragment: "getCreditAccountsByCreditManager", values: [PromiseOrValue<string>, PriceOnDemandStruct[]]): string;
|
|
474
|
-
encodeFunctionData(functionFragment: "getCreditManagerData", values: [PromiseOrValue<string>]): string;
|
|
462
|
+
export interface IDataCompressorV3Interface extends Interface {
|
|
463
|
+
getFunction(nameOrSignature: "getCreditAccountData" | "getCreditAccountsByBorrower" | "getCreditAccountsByCreditManager" | "getCreditManagerData" | "getCreditManagersV3List" | "getGaugesV3Data" | "getLiquidatableCreditAccounts" | "getPoolData" | "getPoolsV3List" | "version"): FunctionFragment;
|
|
464
|
+
encodeFunctionData(functionFragment: "getCreditAccountData", values: [AddressLike, PriceOnDemandStruct[]]): string;
|
|
465
|
+
encodeFunctionData(functionFragment: "getCreditAccountsByBorrower", values: [AddressLike, PriceOnDemandStruct[]]): string;
|
|
466
|
+
encodeFunctionData(functionFragment: "getCreditAccountsByCreditManager", values: [AddressLike, PriceOnDemandStruct[]]): string;
|
|
467
|
+
encodeFunctionData(functionFragment: "getCreditManagerData", values: [AddressLike]): string;
|
|
475
468
|
encodeFunctionData(functionFragment: "getCreditManagersV3List", values?: undefined): string;
|
|
476
|
-
encodeFunctionData(functionFragment: "getGaugesV3Data", values: [
|
|
469
|
+
encodeFunctionData(functionFragment: "getGaugesV3Data", values: [AddressLike]): string;
|
|
477
470
|
encodeFunctionData(functionFragment: "getLiquidatableCreditAccounts", values: [PriceOnDemandStruct[]]): string;
|
|
478
|
-
encodeFunctionData(functionFragment: "getPoolData", values: [
|
|
471
|
+
encodeFunctionData(functionFragment: "getPoolData", values: [AddressLike]): string;
|
|
479
472
|
encodeFunctionData(functionFragment: "getPoolsV3List", values?: undefined): string;
|
|
480
473
|
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
481
474
|
decodeFunctionResult(functionFragment: "getCreditAccountData", data: BytesLike): Result;
|
|
@@ -488,113 +481,101 @@ export interface IDataCompressorV3Interface extends utils.Interface {
|
|
|
488
481
|
decodeFunctionResult(functionFragment: "getPoolData", data: BytesLike): Result;
|
|
489
482
|
decodeFunctionResult(functionFragment: "getPoolsV3List", data: BytesLike): Result;
|
|
490
483
|
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
491
|
-
events: {};
|
|
492
484
|
}
|
|
493
485
|
export interface IDataCompressorV3 extends BaseContract {
|
|
494
|
-
connect(
|
|
495
|
-
|
|
496
|
-
deployed(): Promise<this>;
|
|
486
|
+
connect(runner?: ContractRunner | null): IDataCompressorV3;
|
|
487
|
+
waitForDeployment(): Promise<this>;
|
|
497
488
|
interface: IDataCompressorV3Interface;
|
|
498
|
-
queryFilter<
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
getPoolData
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
489
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
490
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
491
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
492
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
493
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
494
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
495
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
496
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
497
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
498
|
+
getCreditAccountData: TypedContractMethod<[
|
|
499
|
+
creditAccount: AddressLike,
|
|
500
|
+
priceUpdates: PriceOnDemandStruct[]
|
|
501
|
+
], [
|
|
502
|
+
CreditAccountDataStructOutput
|
|
503
|
+
], "nonpayable">;
|
|
504
|
+
getCreditAccountsByBorrower: TypedContractMethod<[
|
|
505
|
+
borrower: AddressLike,
|
|
506
|
+
priceUpdates: PriceOnDemandStruct[]
|
|
507
|
+
], [
|
|
508
|
+
CreditAccountDataStructOutput[]
|
|
509
|
+
], "nonpayable">;
|
|
510
|
+
getCreditAccountsByCreditManager: TypedContractMethod<[
|
|
511
|
+
creditManager: AddressLike,
|
|
512
|
+
priceUpdates: PriceOnDemandStruct[]
|
|
513
|
+
], [
|
|
514
|
+
CreditAccountDataStructOutput[]
|
|
515
|
+
], "nonpayable">;
|
|
516
|
+
getCreditManagerData: TypedContractMethod<[
|
|
517
|
+
creditManager: AddressLike
|
|
518
|
+
], [
|
|
519
|
+
CreditManagerDataStructOutput
|
|
520
|
+
], "view">;
|
|
521
|
+
getCreditManagersV3List: TypedContractMethod<[
|
|
522
|
+
], [
|
|
523
|
+
CreditManagerDataStructOutput[]
|
|
524
|
+
], "view">;
|
|
525
|
+
getGaugesV3Data: TypedContractMethod<[
|
|
526
|
+
staker: AddressLike
|
|
527
|
+
], [
|
|
528
|
+
GaugeInfoStructOutput[]
|
|
529
|
+
], "view">;
|
|
530
|
+
getLiquidatableCreditAccounts: TypedContractMethod<[
|
|
531
|
+
priceUpdates: PriceOnDemandStruct[]
|
|
532
|
+
], [
|
|
533
|
+
CreditAccountDataStructOutput[]
|
|
534
|
+
], "nonpayable">;
|
|
535
|
+
getPoolData: TypedContractMethod<[
|
|
536
|
+
_pool: AddressLike
|
|
537
|
+
], [
|
|
538
|
+
PoolDataStructOutput
|
|
539
|
+
], "view">;
|
|
540
|
+
getPoolsV3List: TypedContractMethod<[], [PoolDataStructOutput[]], "view">;
|
|
541
|
+
version: TypedContractMethod<[], [bigint], "view">;
|
|
542
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
543
|
+
getFunction(nameOrSignature: "getCreditAccountData"): TypedContractMethod<[
|
|
544
|
+
creditAccount: AddressLike,
|
|
545
|
+
priceUpdates: PriceOnDemandStruct[]
|
|
546
|
+
], [
|
|
547
|
+
CreditAccountDataStructOutput
|
|
548
|
+
], "nonpayable">;
|
|
549
|
+
getFunction(nameOrSignature: "getCreditAccountsByBorrower"): TypedContractMethod<[
|
|
550
|
+
borrower: AddressLike,
|
|
551
|
+
priceUpdates: PriceOnDemandStruct[]
|
|
552
|
+
], [
|
|
553
|
+
CreditAccountDataStructOutput[]
|
|
554
|
+
], "nonpayable">;
|
|
555
|
+
getFunction(nameOrSignature: "getCreditAccountsByCreditManager"): TypedContractMethod<[
|
|
556
|
+
creditManager: AddressLike,
|
|
557
|
+
priceUpdates: PriceOnDemandStruct[]
|
|
558
|
+
], [
|
|
559
|
+
CreditAccountDataStructOutput[]
|
|
560
|
+
], "nonpayable">;
|
|
561
|
+
getFunction(nameOrSignature: "getCreditManagerData"): TypedContractMethod<[
|
|
562
|
+
creditManager: AddressLike
|
|
563
|
+
], [
|
|
564
|
+
CreditManagerDataStructOutput
|
|
565
|
+
], "view">;
|
|
566
|
+
getFunction(nameOrSignature: "getCreditManagersV3List"): TypedContractMethod<[], [CreditManagerDataStructOutput[]], "view">;
|
|
567
|
+
getFunction(nameOrSignature: "getGaugesV3Data"): TypedContractMethod<[
|
|
568
|
+
staker: AddressLike
|
|
569
|
+
], [
|
|
570
|
+
GaugeInfoStructOutput[]
|
|
571
|
+
], "view">;
|
|
572
|
+
getFunction(nameOrSignature: "getLiquidatableCreditAccounts"): TypedContractMethod<[
|
|
573
|
+
priceUpdates: PriceOnDemandStruct[]
|
|
574
|
+
], [
|
|
575
|
+
CreditAccountDataStructOutput[]
|
|
576
|
+
], "nonpayable">;
|
|
577
|
+
getFunction(nameOrSignature: "getPoolData"): TypedContractMethod<[_pool: AddressLike], [PoolDataStructOutput], "view">;
|
|
578
|
+
getFunction(nameOrSignature: "getPoolsV3List"): TypedContractMethod<[], [PoolDataStructOutput[]], "view">;
|
|
579
|
+
getFunction(nameOrSignature: "version"): TypedContractMethod<[], [bigint], "view">;
|
|
559
580
|
filters: {};
|
|
560
|
-
estimateGas: {
|
|
561
|
-
getCreditAccountData(creditAccount: PromiseOrValue<string>, priceUpdates: PriceOnDemandStruct[], overrides?: Overrides & {
|
|
562
|
-
from?: PromiseOrValue<string>;
|
|
563
|
-
}): Promise<BigNumber>;
|
|
564
|
-
getCreditAccountsByBorrower(borrower: PromiseOrValue<string>, priceUpdates: PriceOnDemandStruct[], overrides?: Overrides & {
|
|
565
|
-
from?: PromiseOrValue<string>;
|
|
566
|
-
}): Promise<BigNumber>;
|
|
567
|
-
getCreditAccountsByCreditManager(creditManager: PromiseOrValue<string>, priceUpdates: PriceOnDemandStruct[], overrides?: Overrides & {
|
|
568
|
-
from?: PromiseOrValue<string>;
|
|
569
|
-
}): Promise<BigNumber>;
|
|
570
|
-
getCreditManagerData(creditManager: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
571
|
-
getCreditManagersV3List(overrides?: CallOverrides): Promise<BigNumber>;
|
|
572
|
-
getGaugesV3Data(staker: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
573
|
-
getLiquidatableCreditAccounts(priceUpdates: PriceOnDemandStruct[], overrides?: Overrides & {
|
|
574
|
-
from?: PromiseOrValue<string>;
|
|
575
|
-
}): Promise<BigNumber>;
|
|
576
|
-
getPoolData(_pool: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
577
|
-
getPoolsV3List(overrides?: CallOverrides): Promise<BigNumber>;
|
|
578
|
-
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
579
|
-
};
|
|
580
|
-
populateTransaction: {
|
|
581
|
-
getCreditAccountData(creditAccount: PromiseOrValue<string>, priceUpdates: PriceOnDemandStruct[], overrides?: Overrides & {
|
|
582
|
-
from?: PromiseOrValue<string>;
|
|
583
|
-
}): Promise<PopulatedTransaction>;
|
|
584
|
-
getCreditAccountsByBorrower(borrower: PromiseOrValue<string>, priceUpdates: PriceOnDemandStruct[], overrides?: Overrides & {
|
|
585
|
-
from?: PromiseOrValue<string>;
|
|
586
|
-
}): Promise<PopulatedTransaction>;
|
|
587
|
-
getCreditAccountsByCreditManager(creditManager: PromiseOrValue<string>, priceUpdates: PriceOnDemandStruct[], overrides?: Overrides & {
|
|
588
|
-
from?: PromiseOrValue<string>;
|
|
589
|
-
}): Promise<PopulatedTransaction>;
|
|
590
|
-
getCreditManagerData(creditManager: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
591
|
-
getCreditManagersV3List(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
592
|
-
getGaugesV3Data(staker: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
593
|
-
getLiquidatableCreditAccounts(priceUpdates: PriceOnDemandStruct[], overrides?: Overrides & {
|
|
594
|
-
from?: PromiseOrValue<string>;
|
|
595
|
-
}): Promise<PopulatedTransaction>;
|
|
596
|
-
getPoolData(_pool: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
597
|
-
getPoolsV3List(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
598
|
-
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
599
|
-
};
|
|
600
581
|
}
|