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