@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,1169 +3,1169 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IDataCompressorV2_10, IDataCompressorV2_10Interface } from "../IDataCompressorV2_10";
|
|
4
4
|
export declare class IDataCompressorV2_10__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "getAdapter";
|
|
6
8
|
readonly inputs: readonly [{
|
|
7
|
-
readonly internalType: "address";
|
|
8
9
|
readonly name: "_creditManager";
|
|
9
10
|
readonly type: "address";
|
|
10
|
-
}, {
|
|
11
11
|
readonly internalType: "address";
|
|
12
|
+
}, {
|
|
12
13
|
readonly name: "_allowedContract";
|
|
13
14
|
readonly type: "address";
|
|
15
|
+
readonly internalType: "address";
|
|
14
16
|
}];
|
|
15
|
-
readonly name: "getAdapter";
|
|
16
17
|
readonly outputs: readonly [{
|
|
17
|
-
readonly internalType: "address";
|
|
18
18
|
readonly name: "adapter";
|
|
19
19
|
readonly type: "address";
|
|
20
|
+
readonly internalType: "address";
|
|
20
21
|
}];
|
|
21
22
|
readonly stateMutability: "view";
|
|
22
|
-
readonly type: "function";
|
|
23
23
|
}, {
|
|
24
|
+
readonly type: "function";
|
|
25
|
+
readonly name: "getCreditAccountData";
|
|
24
26
|
readonly inputs: readonly [{
|
|
25
|
-
readonly internalType: "address";
|
|
26
27
|
readonly name: "_creditManager";
|
|
27
28
|
readonly type: "address";
|
|
28
|
-
}, {
|
|
29
29
|
readonly internalType: "address";
|
|
30
|
+
}, {
|
|
30
31
|
readonly name: "borrower";
|
|
31
32
|
readonly type: "address";
|
|
33
|
+
readonly internalType: "address";
|
|
32
34
|
}];
|
|
33
|
-
readonly name: "getCreditAccountData";
|
|
34
35
|
readonly outputs: readonly [{
|
|
36
|
+
readonly name: "";
|
|
37
|
+
readonly type: "tuple";
|
|
38
|
+
readonly internalType: "struct CreditAccountData";
|
|
35
39
|
readonly components: readonly [{
|
|
36
|
-
readonly internalType: "bool";
|
|
37
40
|
readonly name: "isSuccessful";
|
|
38
41
|
readonly type: "bool";
|
|
42
|
+
readonly internalType: "bool";
|
|
39
43
|
}, {
|
|
40
|
-
readonly internalType: "address[]";
|
|
41
44
|
readonly name: "priceFeedsNeeded";
|
|
42
45
|
readonly type: "address[]";
|
|
46
|
+
readonly internalType: "address[]";
|
|
43
47
|
}, {
|
|
44
|
-
readonly internalType: "address";
|
|
45
48
|
readonly name: "addr";
|
|
46
49
|
readonly type: "address";
|
|
47
|
-
}, {
|
|
48
50
|
readonly internalType: "address";
|
|
51
|
+
}, {
|
|
49
52
|
readonly name: "borrower";
|
|
50
53
|
readonly type: "address";
|
|
51
|
-
}, {
|
|
52
54
|
readonly internalType: "address";
|
|
55
|
+
}, {
|
|
53
56
|
readonly name: "creditManager";
|
|
54
57
|
readonly type: "address";
|
|
58
|
+
readonly internalType: "address";
|
|
55
59
|
}, {
|
|
56
|
-
readonly internalType: "string";
|
|
57
60
|
readonly name: "cmName";
|
|
58
61
|
readonly type: "string";
|
|
62
|
+
readonly internalType: "string";
|
|
59
63
|
}, {
|
|
60
|
-
readonly internalType: "address";
|
|
61
64
|
readonly name: "creditFacade";
|
|
62
65
|
readonly type: "address";
|
|
63
|
-
}, {
|
|
64
66
|
readonly internalType: "address";
|
|
67
|
+
}, {
|
|
65
68
|
readonly name: "underlying";
|
|
66
69
|
readonly type: "address";
|
|
70
|
+
readonly internalType: "address";
|
|
67
71
|
}, {
|
|
68
|
-
readonly internalType: "uint256";
|
|
69
72
|
readonly name: "debt";
|
|
70
73
|
readonly type: "uint256";
|
|
71
|
-
}, {
|
|
72
74
|
readonly internalType: "uint256";
|
|
75
|
+
}, {
|
|
73
76
|
readonly name: "cumulativeIndexLastUpdate";
|
|
74
77
|
readonly type: "uint256";
|
|
78
|
+
readonly internalType: "uint256";
|
|
75
79
|
}, {
|
|
76
|
-
readonly internalType: "uint128";
|
|
77
80
|
readonly name: "cumulativeQuotaInterest";
|
|
78
81
|
readonly type: "uint128";
|
|
82
|
+
readonly internalType: "uint128";
|
|
79
83
|
}, {
|
|
80
|
-
readonly internalType: "uint256";
|
|
81
84
|
readonly name: "accruedInterest";
|
|
82
85
|
readonly type: "uint256";
|
|
83
|
-
}, {
|
|
84
86
|
readonly internalType: "uint256";
|
|
87
|
+
}, {
|
|
85
88
|
readonly name: "accruedFees";
|
|
86
89
|
readonly type: "uint256";
|
|
87
|
-
}, {
|
|
88
90
|
readonly internalType: "uint256";
|
|
91
|
+
}, {
|
|
89
92
|
readonly name: "totalDebtUSD";
|
|
90
93
|
readonly type: "uint256";
|
|
91
|
-
}, {
|
|
92
94
|
readonly internalType: "uint256";
|
|
95
|
+
}, {
|
|
93
96
|
readonly name: "totalValue";
|
|
94
97
|
readonly type: "uint256";
|
|
95
|
-
}, {
|
|
96
98
|
readonly internalType: "uint256";
|
|
99
|
+
}, {
|
|
97
100
|
readonly name: "totalValueUSD";
|
|
98
101
|
readonly type: "uint256";
|
|
99
|
-
}, {
|
|
100
102
|
readonly internalType: "uint256";
|
|
103
|
+
}, {
|
|
101
104
|
readonly name: "twvUSD";
|
|
102
105
|
readonly type: "uint256";
|
|
103
|
-
}, {
|
|
104
106
|
readonly internalType: "uint256";
|
|
107
|
+
}, {
|
|
105
108
|
readonly name: "enabledTokensMask";
|
|
106
109
|
readonly type: "uint256";
|
|
107
|
-
}, {
|
|
108
110
|
readonly internalType: "uint256";
|
|
111
|
+
}, {
|
|
109
112
|
readonly name: "healthFactor";
|
|
110
113
|
readonly type: "uint256";
|
|
111
|
-
}, {
|
|
112
114
|
readonly internalType: "uint256";
|
|
115
|
+
}, {
|
|
113
116
|
readonly name: "baseBorrowRate";
|
|
114
117
|
readonly type: "uint256";
|
|
115
|
-
}, {
|
|
116
118
|
readonly internalType: "uint256";
|
|
119
|
+
}, {
|
|
117
120
|
readonly name: "aggregatedBorrowRate";
|
|
118
121
|
readonly type: "uint256";
|
|
122
|
+
readonly internalType: "uint256";
|
|
119
123
|
}, {
|
|
124
|
+
readonly name: "balances";
|
|
125
|
+
readonly type: "tuple[]";
|
|
126
|
+
readonly internalType: "struct TokenBalance[]";
|
|
120
127
|
readonly components: readonly [{
|
|
121
|
-
readonly internalType: "address";
|
|
122
128
|
readonly name: "token";
|
|
123
129
|
readonly type: "address";
|
|
130
|
+
readonly internalType: "address";
|
|
124
131
|
}, {
|
|
125
|
-
readonly internalType: "uint256";
|
|
126
132
|
readonly name: "balance";
|
|
127
133
|
readonly type: "uint256";
|
|
134
|
+
readonly internalType: "uint256";
|
|
128
135
|
}, {
|
|
129
|
-
readonly internalType: "bool";
|
|
130
136
|
readonly name: "isForbidden";
|
|
131
137
|
readonly type: "bool";
|
|
132
|
-
}, {
|
|
133
138
|
readonly internalType: "bool";
|
|
139
|
+
}, {
|
|
134
140
|
readonly name: "isEnabled";
|
|
135
141
|
readonly type: "bool";
|
|
136
|
-
}, {
|
|
137
142
|
readonly internalType: "bool";
|
|
143
|
+
}, {
|
|
138
144
|
readonly name: "isQuoted";
|
|
139
145
|
readonly type: "bool";
|
|
146
|
+
readonly internalType: "bool";
|
|
140
147
|
}, {
|
|
141
|
-
readonly internalType: "uint256";
|
|
142
148
|
readonly name: "quota";
|
|
143
149
|
readonly type: "uint256";
|
|
150
|
+
readonly internalType: "uint256";
|
|
144
151
|
}, {
|
|
145
|
-
readonly internalType: "uint16";
|
|
146
152
|
readonly name: "quotaRate";
|
|
147
153
|
readonly type: "uint16";
|
|
154
|
+
readonly internalType: "uint16";
|
|
148
155
|
}, {
|
|
149
|
-
readonly internalType: "uint256";
|
|
150
156
|
readonly name: "quotaCumulativeIndexLU";
|
|
151
157
|
readonly type: "uint256";
|
|
158
|
+
readonly internalType: "uint256";
|
|
152
159
|
}];
|
|
153
|
-
readonly internalType: "struct TokenBalance[]";
|
|
154
|
-
readonly name: "balances";
|
|
155
|
-
readonly type: "tuple[]";
|
|
156
160
|
}, {
|
|
157
|
-
readonly internalType: "uint64";
|
|
158
161
|
readonly name: "since";
|
|
159
162
|
readonly type: "uint64";
|
|
163
|
+
readonly internalType: "uint64";
|
|
160
164
|
}, {
|
|
161
|
-
readonly internalType: "uint256";
|
|
162
165
|
readonly name: "cfVersion";
|
|
163
166
|
readonly type: "uint256";
|
|
167
|
+
readonly internalType: "uint256";
|
|
164
168
|
}, {
|
|
165
|
-
readonly internalType: "uint40";
|
|
166
169
|
readonly name: "expirationDate";
|
|
167
170
|
readonly type: "uint40";
|
|
171
|
+
readonly internalType: "uint40";
|
|
168
172
|
}, {
|
|
169
|
-
readonly internalType: "address[]";
|
|
170
173
|
readonly name: "activeBots";
|
|
171
174
|
readonly type: "address[]";
|
|
175
|
+
readonly internalType: "address[]";
|
|
172
176
|
}];
|
|
173
|
-
readonly internalType: "struct CreditAccountData";
|
|
174
|
-
readonly name: "";
|
|
175
|
-
readonly type: "tuple";
|
|
176
177
|
}];
|
|
177
178
|
readonly stateMutability: "view";
|
|
178
|
-
readonly type: "function";
|
|
179
179
|
}, {
|
|
180
|
+
readonly type: "function";
|
|
181
|
+
readonly name: "getCreditAccountsByBorrower";
|
|
180
182
|
readonly inputs: readonly [{
|
|
181
|
-
readonly internalType: "address";
|
|
182
183
|
readonly name: "borrower";
|
|
183
184
|
readonly type: "address";
|
|
185
|
+
readonly internalType: "address";
|
|
184
186
|
}];
|
|
185
|
-
readonly name: "getCreditAccountsByBorrower";
|
|
186
187
|
readonly outputs: readonly [{
|
|
188
|
+
readonly name: "";
|
|
189
|
+
readonly type: "tuple[]";
|
|
190
|
+
readonly internalType: "struct CreditAccountData[]";
|
|
187
191
|
readonly components: readonly [{
|
|
188
|
-
readonly internalType: "bool";
|
|
189
192
|
readonly name: "isSuccessful";
|
|
190
193
|
readonly type: "bool";
|
|
194
|
+
readonly internalType: "bool";
|
|
191
195
|
}, {
|
|
192
|
-
readonly internalType: "address[]";
|
|
193
196
|
readonly name: "priceFeedsNeeded";
|
|
194
197
|
readonly type: "address[]";
|
|
198
|
+
readonly internalType: "address[]";
|
|
195
199
|
}, {
|
|
196
|
-
readonly internalType: "address";
|
|
197
200
|
readonly name: "addr";
|
|
198
201
|
readonly type: "address";
|
|
199
|
-
}, {
|
|
200
202
|
readonly internalType: "address";
|
|
203
|
+
}, {
|
|
201
204
|
readonly name: "borrower";
|
|
202
205
|
readonly type: "address";
|
|
203
|
-
}, {
|
|
204
206
|
readonly internalType: "address";
|
|
207
|
+
}, {
|
|
205
208
|
readonly name: "creditManager";
|
|
206
209
|
readonly type: "address";
|
|
210
|
+
readonly internalType: "address";
|
|
207
211
|
}, {
|
|
208
|
-
readonly internalType: "string";
|
|
209
212
|
readonly name: "cmName";
|
|
210
213
|
readonly type: "string";
|
|
214
|
+
readonly internalType: "string";
|
|
211
215
|
}, {
|
|
212
|
-
readonly internalType: "address";
|
|
213
216
|
readonly name: "creditFacade";
|
|
214
217
|
readonly type: "address";
|
|
215
|
-
}, {
|
|
216
218
|
readonly internalType: "address";
|
|
219
|
+
}, {
|
|
217
220
|
readonly name: "underlying";
|
|
218
221
|
readonly type: "address";
|
|
222
|
+
readonly internalType: "address";
|
|
219
223
|
}, {
|
|
220
|
-
readonly internalType: "uint256";
|
|
221
224
|
readonly name: "debt";
|
|
222
225
|
readonly type: "uint256";
|
|
223
|
-
}, {
|
|
224
226
|
readonly internalType: "uint256";
|
|
227
|
+
}, {
|
|
225
228
|
readonly name: "cumulativeIndexLastUpdate";
|
|
226
229
|
readonly type: "uint256";
|
|
230
|
+
readonly internalType: "uint256";
|
|
227
231
|
}, {
|
|
228
|
-
readonly internalType: "uint128";
|
|
229
232
|
readonly name: "cumulativeQuotaInterest";
|
|
230
233
|
readonly type: "uint128";
|
|
234
|
+
readonly internalType: "uint128";
|
|
231
235
|
}, {
|
|
232
|
-
readonly internalType: "uint256";
|
|
233
236
|
readonly name: "accruedInterest";
|
|
234
237
|
readonly type: "uint256";
|
|
235
|
-
}, {
|
|
236
238
|
readonly internalType: "uint256";
|
|
239
|
+
}, {
|
|
237
240
|
readonly name: "accruedFees";
|
|
238
241
|
readonly type: "uint256";
|
|
239
|
-
}, {
|
|
240
242
|
readonly internalType: "uint256";
|
|
243
|
+
}, {
|
|
241
244
|
readonly name: "totalDebtUSD";
|
|
242
245
|
readonly type: "uint256";
|
|
243
|
-
}, {
|
|
244
246
|
readonly internalType: "uint256";
|
|
247
|
+
}, {
|
|
245
248
|
readonly name: "totalValue";
|
|
246
249
|
readonly type: "uint256";
|
|
247
|
-
}, {
|
|
248
250
|
readonly internalType: "uint256";
|
|
251
|
+
}, {
|
|
249
252
|
readonly name: "totalValueUSD";
|
|
250
253
|
readonly type: "uint256";
|
|
251
|
-
}, {
|
|
252
254
|
readonly internalType: "uint256";
|
|
255
|
+
}, {
|
|
253
256
|
readonly name: "twvUSD";
|
|
254
257
|
readonly type: "uint256";
|
|
255
|
-
}, {
|
|
256
258
|
readonly internalType: "uint256";
|
|
259
|
+
}, {
|
|
257
260
|
readonly name: "enabledTokensMask";
|
|
258
261
|
readonly type: "uint256";
|
|
259
|
-
}, {
|
|
260
262
|
readonly internalType: "uint256";
|
|
263
|
+
}, {
|
|
261
264
|
readonly name: "healthFactor";
|
|
262
265
|
readonly type: "uint256";
|
|
263
|
-
}, {
|
|
264
266
|
readonly internalType: "uint256";
|
|
267
|
+
}, {
|
|
265
268
|
readonly name: "baseBorrowRate";
|
|
266
269
|
readonly type: "uint256";
|
|
267
|
-
}, {
|
|
268
270
|
readonly internalType: "uint256";
|
|
271
|
+
}, {
|
|
269
272
|
readonly name: "aggregatedBorrowRate";
|
|
270
273
|
readonly type: "uint256";
|
|
274
|
+
readonly internalType: "uint256";
|
|
271
275
|
}, {
|
|
276
|
+
readonly name: "balances";
|
|
277
|
+
readonly type: "tuple[]";
|
|
278
|
+
readonly internalType: "struct TokenBalance[]";
|
|
272
279
|
readonly components: readonly [{
|
|
273
|
-
readonly internalType: "address";
|
|
274
280
|
readonly name: "token";
|
|
275
281
|
readonly type: "address";
|
|
282
|
+
readonly internalType: "address";
|
|
276
283
|
}, {
|
|
277
|
-
readonly internalType: "uint256";
|
|
278
284
|
readonly name: "balance";
|
|
279
285
|
readonly type: "uint256";
|
|
286
|
+
readonly internalType: "uint256";
|
|
280
287
|
}, {
|
|
281
|
-
readonly internalType: "bool";
|
|
282
288
|
readonly name: "isForbidden";
|
|
283
289
|
readonly type: "bool";
|
|
284
|
-
}, {
|
|
285
290
|
readonly internalType: "bool";
|
|
291
|
+
}, {
|
|
286
292
|
readonly name: "isEnabled";
|
|
287
293
|
readonly type: "bool";
|
|
288
|
-
}, {
|
|
289
294
|
readonly internalType: "bool";
|
|
295
|
+
}, {
|
|
290
296
|
readonly name: "isQuoted";
|
|
291
297
|
readonly type: "bool";
|
|
298
|
+
readonly internalType: "bool";
|
|
292
299
|
}, {
|
|
293
|
-
readonly internalType: "uint256";
|
|
294
300
|
readonly name: "quota";
|
|
295
301
|
readonly type: "uint256";
|
|
302
|
+
readonly internalType: "uint256";
|
|
296
303
|
}, {
|
|
297
|
-
readonly internalType: "uint16";
|
|
298
304
|
readonly name: "quotaRate";
|
|
299
305
|
readonly type: "uint16";
|
|
306
|
+
readonly internalType: "uint16";
|
|
300
307
|
}, {
|
|
301
|
-
readonly internalType: "uint256";
|
|
302
308
|
readonly name: "quotaCumulativeIndexLU";
|
|
303
309
|
readonly type: "uint256";
|
|
310
|
+
readonly internalType: "uint256";
|
|
304
311
|
}];
|
|
305
|
-
readonly internalType: "struct TokenBalance[]";
|
|
306
|
-
readonly name: "balances";
|
|
307
|
-
readonly type: "tuple[]";
|
|
308
312
|
}, {
|
|
309
|
-
readonly internalType: "uint64";
|
|
310
313
|
readonly name: "since";
|
|
311
314
|
readonly type: "uint64";
|
|
315
|
+
readonly internalType: "uint64";
|
|
312
316
|
}, {
|
|
313
|
-
readonly internalType: "uint256";
|
|
314
317
|
readonly name: "cfVersion";
|
|
315
318
|
readonly type: "uint256";
|
|
319
|
+
readonly internalType: "uint256";
|
|
316
320
|
}, {
|
|
317
|
-
readonly internalType: "uint40";
|
|
318
321
|
readonly name: "expirationDate";
|
|
319
322
|
readonly type: "uint40";
|
|
323
|
+
readonly internalType: "uint40";
|
|
320
324
|
}, {
|
|
321
|
-
readonly internalType: "address[]";
|
|
322
325
|
readonly name: "activeBots";
|
|
323
326
|
readonly type: "address[]";
|
|
327
|
+
readonly internalType: "address[]";
|
|
324
328
|
}];
|
|
325
|
-
readonly internalType: "struct CreditAccountData[]";
|
|
326
|
-
readonly name: "";
|
|
327
|
-
readonly type: "tuple[]";
|
|
328
329
|
}];
|
|
329
330
|
readonly stateMutability: "view";
|
|
330
|
-
readonly type: "function";
|
|
331
331
|
}, {
|
|
332
|
+
readonly type: "function";
|
|
333
|
+
readonly name: "getCreditManagerData";
|
|
332
334
|
readonly inputs: readonly [{
|
|
333
|
-
readonly internalType: "address";
|
|
334
335
|
readonly name: "_creditManager";
|
|
335
336
|
readonly type: "address";
|
|
337
|
+
readonly internalType: "address";
|
|
336
338
|
}];
|
|
337
|
-
readonly name: "getCreditManagerData";
|
|
338
339
|
readonly outputs: readonly [{
|
|
340
|
+
readonly name: "";
|
|
341
|
+
readonly type: "tuple";
|
|
342
|
+
readonly internalType: "struct CreditManagerData";
|
|
339
343
|
readonly components: readonly [{
|
|
340
|
-
readonly internalType: "address";
|
|
341
344
|
readonly name: "addr";
|
|
342
345
|
readonly type: "address";
|
|
346
|
+
readonly internalType: "address";
|
|
343
347
|
}, {
|
|
344
|
-
readonly internalType: "string";
|
|
345
348
|
readonly name: "name";
|
|
346
349
|
readonly type: "string";
|
|
350
|
+
readonly internalType: "string";
|
|
347
351
|
}, {
|
|
348
|
-
readonly internalType: "uint256";
|
|
349
352
|
readonly name: "cfVersion";
|
|
350
353
|
readonly type: "uint256";
|
|
354
|
+
readonly internalType: "uint256";
|
|
351
355
|
}, {
|
|
352
|
-
readonly internalType: "address";
|
|
353
356
|
readonly name: "creditFacade";
|
|
354
357
|
readonly type: "address";
|
|
355
|
-
}, {
|
|
356
358
|
readonly internalType: "address";
|
|
359
|
+
}, {
|
|
357
360
|
readonly name: "creditConfigurator";
|
|
358
361
|
readonly type: "address";
|
|
359
|
-
}, {
|
|
360
362
|
readonly internalType: "address";
|
|
363
|
+
}, {
|
|
361
364
|
readonly name: "underlying";
|
|
362
365
|
readonly type: "address";
|
|
363
|
-
}, {
|
|
364
366
|
readonly internalType: "address";
|
|
367
|
+
}, {
|
|
365
368
|
readonly name: "pool";
|
|
366
369
|
readonly type: "address";
|
|
370
|
+
readonly internalType: "address";
|
|
367
371
|
}, {
|
|
368
|
-
readonly internalType: "uint256";
|
|
369
372
|
readonly name: "totalDebt";
|
|
370
373
|
readonly type: "uint256";
|
|
371
|
-
}, {
|
|
372
374
|
readonly internalType: "uint256";
|
|
375
|
+
}, {
|
|
373
376
|
readonly name: "totalDebtLimit";
|
|
374
377
|
readonly type: "uint256";
|
|
375
|
-
}, {
|
|
376
378
|
readonly internalType: "uint256";
|
|
379
|
+
}, {
|
|
377
380
|
readonly name: "baseBorrowRate";
|
|
378
381
|
readonly type: "uint256";
|
|
379
|
-
}, {
|
|
380
382
|
readonly internalType: "uint256";
|
|
383
|
+
}, {
|
|
381
384
|
readonly name: "minDebt";
|
|
382
385
|
readonly type: "uint256";
|
|
383
|
-
}, {
|
|
384
386
|
readonly internalType: "uint256";
|
|
387
|
+
}, {
|
|
385
388
|
readonly name: "maxDebt";
|
|
386
389
|
readonly type: "uint256";
|
|
387
|
-
}, {
|
|
388
390
|
readonly internalType: "uint256";
|
|
391
|
+
}, {
|
|
389
392
|
readonly name: "availableToBorrow";
|
|
390
393
|
readonly type: "uint256";
|
|
394
|
+
readonly internalType: "uint256";
|
|
391
395
|
}, {
|
|
392
|
-
readonly internalType: "address[]";
|
|
393
396
|
readonly name: "collateralTokens";
|
|
394
397
|
readonly type: "address[]";
|
|
398
|
+
readonly internalType: "address[]";
|
|
395
399
|
}, {
|
|
400
|
+
readonly name: "adapters";
|
|
401
|
+
readonly type: "tuple[]";
|
|
402
|
+
readonly internalType: "struct ContractAdapter[]";
|
|
396
403
|
readonly components: readonly [{
|
|
397
|
-
readonly internalType: "address";
|
|
398
404
|
readonly name: "targetContract";
|
|
399
405
|
readonly type: "address";
|
|
400
|
-
}, {
|
|
401
406
|
readonly internalType: "address";
|
|
407
|
+
}, {
|
|
402
408
|
readonly name: "adapter";
|
|
403
409
|
readonly type: "address";
|
|
410
|
+
readonly internalType: "address";
|
|
404
411
|
}];
|
|
405
|
-
readonly internalType: "struct ContractAdapter[]";
|
|
406
|
-
readonly name: "adapters";
|
|
407
|
-
readonly type: "tuple[]";
|
|
408
412
|
}, {
|
|
409
|
-
readonly internalType: "uint256[]";
|
|
410
413
|
readonly name: "liquidationThresholds";
|
|
411
414
|
readonly type: "uint256[]";
|
|
415
|
+
readonly internalType: "uint256[]";
|
|
412
416
|
}, {
|
|
413
|
-
readonly internalType: "bool";
|
|
414
417
|
readonly name: "isDegenMode";
|
|
415
418
|
readonly type: "bool";
|
|
419
|
+
readonly internalType: "bool";
|
|
416
420
|
}, {
|
|
417
|
-
readonly internalType: "address";
|
|
418
421
|
readonly name: "degenNFT";
|
|
419
422
|
readonly type: "address";
|
|
423
|
+
readonly internalType: "address";
|
|
420
424
|
}, {
|
|
421
|
-
readonly internalType: "uint256";
|
|
422
425
|
readonly name: "forbiddenTokenMask";
|
|
423
426
|
readonly type: "uint256";
|
|
427
|
+
readonly internalType: "uint256";
|
|
424
428
|
}, {
|
|
425
|
-
readonly internalType: "uint8";
|
|
426
429
|
readonly name: "maxEnabledTokensLength";
|
|
427
430
|
readonly type: "uint8";
|
|
431
|
+
readonly internalType: "uint8";
|
|
428
432
|
}, {
|
|
429
|
-
readonly internalType: "uint16";
|
|
430
433
|
readonly name: "feeInterest";
|
|
431
434
|
readonly type: "uint16";
|
|
432
|
-
}, {
|
|
433
435
|
readonly internalType: "uint16";
|
|
436
|
+
}, {
|
|
434
437
|
readonly name: "feeLiquidation";
|
|
435
438
|
readonly type: "uint16";
|
|
436
|
-
}, {
|
|
437
439
|
readonly internalType: "uint16";
|
|
440
|
+
}, {
|
|
438
441
|
readonly name: "liquidationDiscount";
|
|
439
442
|
readonly type: "uint16";
|
|
440
|
-
}, {
|
|
441
443
|
readonly internalType: "uint16";
|
|
444
|
+
}, {
|
|
442
445
|
readonly name: "feeLiquidationExpired";
|
|
443
446
|
readonly type: "uint16";
|
|
444
|
-
}, {
|
|
445
447
|
readonly internalType: "uint16";
|
|
448
|
+
}, {
|
|
446
449
|
readonly name: "liquidationDiscountExpired";
|
|
447
450
|
readonly type: "uint16";
|
|
451
|
+
readonly internalType: "uint16";
|
|
448
452
|
}, {
|
|
453
|
+
readonly name: "quotas";
|
|
454
|
+
readonly type: "tuple[]";
|
|
455
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
449
456
|
readonly components: readonly [{
|
|
450
|
-
readonly internalType: "address";
|
|
451
457
|
readonly name: "token";
|
|
452
458
|
readonly type: "address";
|
|
459
|
+
readonly internalType: "address";
|
|
453
460
|
}, {
|
|
454
|
-
readonly internalType: "uint16";
|
|
455
461
|
readonly name: "rate";
|
|
456
462
|
readonly type: "uint16";
|
|
457
|
-
}, {
|
|
458
463
|
readonly internalType: "uint16";
|
|
464
|
+
}, {
|
|
459
465
|
readonly name: "quotaIncreaseFee";
|
|
460
466
|
readonly type: "uint16";
|
|
467
|
+
readonly internalType: "uint16";
|
|
461
468
|
}, {
|
|
462
|
-
readonly internalType: "uint96";
|
|
463
469
|
readonly name: "totalQuoted";
|
|
464
470
|
readonly type: "uint96";
|
|
465
|
-
}, {
|
|
466
471
|
readonly internalType: "uint96";
|
|
472
|
+
}, {
|
|
467
473
|
readonly name: "limit";
|
|
468
474
|
readonly type: "uint96";
|
|
475
|
+
readonly internalType: "uint96";
|
|
469
476
|
}, {
|
|
470
|
-
readonly internalType: "bool";
|
|
471
477
|
readonly name: "isActive";
|
|
472
478
|
readonly type: "bool";
|
|
479
|
+
readonly internalType: "bool";
|
|
473
480
|
}];
|
|
474
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
475
|
-
readonly name: "quotas";
|
|
476
|
-
readonly type: "tuple[]";
|
|
477
481
|
}, {
|
|
482
|
+
readonly name: "lirm";
|
|
483
|
+
readonly type: "tuple";
|
|
484
|
+
readonly internalType: "struct LinearModel";
|
|
478
485
|
readonly components: readonly [{
|
|
479
|
-
readonly internalType: "address";
|
|
480
486
|
readonly name: "interestModel";
|
|
481
487
|
readonly type: "address";
|
|
488
|
+
readonly internalType: "address";
|
|
482
489
|
}, {
|
|
483
|
-
readonly internalType: "uint256";
|
|
484
490
|
readonly name: "version";
|
|
485
491
|
readonly type: "uint256";
|
|
492
|
+
readonly internalType: "uint256";
|
|
486
493
|
}, {
|
|
487
|
-
readonly internalType: "uint16";
|
|
488
494
|
readonly name: "U_1";
|
|
489
495
|
readonly type: "uint16";
|
|
490
|
-
}, {
|
|
491
496
|
readonly internalType: "uint16";
|
|
497
|
+
}, {
|
|
492
498
|
readonly name: "U_2";
|
|
493
499
|
readonly type: "uint16";
|
|
494
|
-
}, {
|
|
495
500
|
readonly internalType: "uint16";
|
|
501
|
+
}, {
|
|
496
502
|
readonly name: "R_base";
|
|
497
503
|
readonly type: "uint16";
|
|
498
|
-
}, {
|
|
499
504
|
readonly internalType: "uint16";
|
|
505
|
+
}, {
|
|
500
506
|
readonly name: "R_slope1";
|
|
501
507
|
readonly type: "uint16";
|
|
502
|
-
}, {
|
|
503
508
|
readonly internalType: "uint16";
|
|
509
|
+
}, {
|
|
504
510
|
readonly name: "R_slope2";
|
|
505
511
|
readonly type: "uint16";
|
|
506
|
-
}, {
|
|
507
512
|
readonly internalType: "uint16";
|
|
513
|
+
}, {
|
|
508
514
|
readonly name: "R_slope3";
|
|
509
515
|
readonly type: "uint16";
|
|
516
|
+
readonly internalType: "uint16";
|
|
510
517
|
}, {
|
|
511
|
-
readonly internalType: "bool";
|
|
512
518
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
513
519
|
readonly type: "bool";
|
|
520
|
+
readonly internalType: "bool";
|
|
514
521
|
}];
|
|
515
|
-
readonly internalType: "struct LinearModel";
|
|
516
|
-
readonly name: "lirm";
|
|
517
|
-
readonly type: "tuple";
|
|
518
522
|
}, {
|
|
519
|
-
readonly internalType: "bool";
|
|
520
523
|
readonly name: "isPaused";
|
|
521
524
|
readonly type: "bool";
|
|
525
|
+
readonly internalType: "bool";
|
|
522
526
|
}];
|
|
523
|
-
readonly internalType: "struct CreditManagerData";
|
|
524
|
-
readonly name: "";
|
|
525
|
-
readonly type: "tuple";
|
|
526
527
|
}];
|
|
527
528
|
readonly stateMutability: "view";
|
|
528
|
-
readonly type: "function";
|
|
529
529
|
}, {
|
|
530
|
-
readonly
|
|
530
|
+
readonly type: "function";
|
|
531
531
|
readonly name: "getCreditManagersV2List";
|
|
532
|
+
readonly inputs: readonly [];
|
|
532
533
|
readonly outputs: readonly [{
|
|
534
|
+
readonly name: "";
|
|
535
|
+
readonly type: "tuple[]";
|
|
536
|
+
readonly internalType: "struct CreditManagerData[]";
|
|
533
537
|
readonly components: readonly [{
|
|
534
|
-
readonly internalType: "address";
|
|
535
538
|
readonly name: "addr";
|
|
536
539
|
readonly type: "address";
|
|
540
|
+
readonly internalType: "address";
|
|
537
541
|
}, {
|
|
538
|
-
readonly internalType: "string";
|
|
539
542
|
readonly name: "name";
|
|
540
543
|
readonly type: "string";
|
|
544
|
+
readonly internalType: "string";
|
|
541
545
|
}, {
|
|
542
|
-
readonly internalType: "uint256";
|
|
543
546
|
readonly name: "cfVersion";
|
|
544
547
|
readonly type: "uint256";
|
|
548
|
+
readonly internalType: "uint256";
|
|
545
549
|
}, {
|
|
546
|
-
readonly internalType: "address";
|
|
547
550
|
readonly name: "creditFacade";
|
|
548
551
|
readonly type: "address";
|
|
549
|
-
}, {
|
|
550
552
|
readonly internalType: "address";
|
|
553
|
+
}, {
|
|
551
554
|
readonly name: "creditConfigurator";
|
|
552
555
|
readonly type: "address";
|
|
553
|
-
}, {
|
|
554
556
|
readonly internalType: "address";
|
|
557
|
+
}, {
|
|
555
558
|
readonly name: "underlying";
|
|
556
559
|
readonly type: "address";
|
|
557
|
-
}, {
|
|
558
560
|
readonly internalType: "address";
|
|
561
|
+
}, {
|
|
559
562
|
readonly name: "pool";
|
|
560
563
|
readonly type: "address";
|
|
564
|
+
readonly internalType: "address";
|
|
561
565
|
}, {
|
|
562
|
-
readonly internalType: "uint256";
|
|
563
566
|
readonly name: "totalDebt";
|
|
564
567
|
readonly type: "uint256";
|
|
565
|
-
}, {
|
|
566
568
|
readonly internalType: "uint256";
|
|
569
|
+
}, {
|
|
567
570
|
readonly name: "totalDebtLimit";
|
|
568
571
|
readonly type: "uint256";
|
|
569
|
-
}, {
|
|
570
572
|
readonly internalType: "uint256";
|
|
573
|
+
}, {
|
|
571
574
|
readonly name: "baseBorrowRate";
|
|
572
575
|
readonly type: "uint256";
|
|
573
|
-
}, {
|
|
574
576
|
readonly internalType: "uint256";
|
|
577
|
+
}, {
|
|
575
578
|
readonly name: "minDebt";
|
|
576
579
|
readonly type: "uint256";
|
|
577
|
-
}, {
|
|
578
580
|
readonly internalType: "uint256";
|
|
581
|
+
}, {
|
|
579
582
|
readonly name: "maxDebt";
|
|
580
583
|
readonly type: "uint256";
|
|
581
|
-
}, {
|
|
582
584
|
readonly internalType: "uint256";
|
|
585
|
+
}, {
|
|
583
586
|
readonly name: "availableToBorrow";
|
|
584
587
|
readonly type: "uint256";
|
|
588
|
+
readonly internalType: "uint256";
|
|
585
589
|
}, {
|
|
586
|
-
readonly internalType: "address[]";
|
|
587
590
|
readonly name: "collateralTokens";
|
|
588
591
|
readonly type: "address[]";
|
|
592
|
+
readonly internalType: "address[]";
|
|
589
593
|
}, {
|
|
594
|
+
readonly name: "adapters";
|
|
595
|
+
readonly type: "tuple[]";
|
|
596
|
+
readonly internalType: "struct ContractAdapter[]";
|
|
590
597
|
readonly components: readonly [{
|
|
591
|
-
readonly internalType: "address";
|
|
592
598
|
readonly name: "targetContract";
|
|
593
599
|
readonly type: "address";
|
|
594
|
-
}, {
|
|
595
600
|
readonly internalType: "address";
|
|
601
|
+
}, {
|
|
596
602
|
readonly name: "adapter";
|
|
597
603
|
readonly type: "address";
|
|
604
|
+
readonly internalType: "address";
|
|
598
605
|
}];
|
|
599
|
-
readonly internalType: "struct ContractAdapter[]";
|
|
600
|
-
readonly name: "adapters";
|
|
601
|
-
readonly type: "tuple[]";
|
|
602
606
|
}, {
|
|
603
|
-
readonly internalType: "uint256[]";
|
|
604
607
|
readonly name: "liquidationThresholds";
|
|
605
608
|
readonly type: "uint256[]";
|
|
609
|
+
readonly internalType: "uint256[]";
|
|
606
610
|
}, {
|
|
607
|
-
readonly internalType: "bool";
|
|
608
611
|
readonly name: "isDegenMode";
|
|
609
612
|
readonly type: "bool";
|
|
613
|
+
readonly internalType: "bool";
|
|
610
614
|
}, {
|
|
611
|
-
readonly internalType: "address";
|
|
612
615
|
readonly name: "degenNFT";
|
|
613
616
|
readonly type: "address";
|
|
617
|
+
readonly internalType: "address";
|
|
614
618
|
}, {
|
|
615
|
-
readonly internalType: "uint256";
|
|
616
619
|
readonly name: "forbiddenTokenMask";
|
|
617
620
|
readonly type: "uint256";
|
|
621
|
+
readonly internalType: "uint256";
|
|
618
622
|
}, {
|
|
619
|
-
readonly internalType: "uint8";
|
|
620
623
|
readonly name: "maxEnabledTokensLength";
|
|
621
624
|
readonly type: "uint8";
|
|
625
|
+
readonly internalType: "uint8";
|
|
622
626
|
}, {
|
|
623
|
-
readonly internalType: "uint16";
|
|
624
627
|
readonly name: "feeInterest";
|
|
625
628
|
readonly type: "uint16";
|
|
626
|
-
}, {
|
|
627
629
|
readonly internalType: "uint16";
|
|
630
|
+
}, {
|
|
628
631
|
readonly name: "feeLiquidation";
|
|
629
632
|
readonly type: "uint16";
|
|
630
|
-
}, {
|
|
631
633
|
readonly internalType: "uint16";
|
|
634
|
+
}, {
|
|
632
635
|
readonly name: "liquidationDiscount";
|
|
633
636
|
readonly type: "uint16";
|
|
634
|
-
}, {
|
|
635
637
|
readonly internalType: "uint16";
|
|
638
|
+
}, {
|
|
636
639
|
readonly name: "feeLiquidationExpired";
|
|
637
640
|
readonly type: "uint16";
|
|
638
|
-
}, {
|
|
639
641
|
readonly internalType: "uint16";
|
|
642
|
+
}, {
|
|
640
643
|
readonly name: "liquidationDiscountExpired";
|
|
641
644
|
readonly type: "uint16";
|
|
645
|
+
readonly internalType: "uint16";
|
|
642
646
|
}, {
|
|
647
|
+
readonly name: "quotas";
|
|
648
|
+
readonly type: "tuple[]";
|
|
649
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
643
650
|
readonly components: readonly [{
|
|
644
|
-
readonly internalType: "address";
|
|
645
651
|
readonly name: "token";
|
|
646
652
|
readonly type: "address";
|
|
653
|
+
readonly internalType: "address";
|
|
647
654
|
}, {
|
|
648
|
-
readonly internalType: "uint16";
|
|
649
655
|
readonly name: "rate";
|
|
650
656
|
readonly type: "uint16";
|
|
651
|
-
}, {
|
|
652
657
|
readonly internalType: "uint16";
|
|
658
|
+
}, {
|
|
653
659
|
readonly name: "quotaIncreaseFee";
|
|
654
660
|
readonly type: "uint16";
|
|
661
|
+
readonly internalType: "uint16";
|
|
655
662
|
}, {
|
|
656
|
-
readonly internalType: "uint96";
|
|
657
663
|
readonly name: "totalQuoted";
|
|
658
664
|
readonly type: "uint96";
|
|
659
|
-
}, {
|
|
660
665
|
readonly internalType: "uint96";
|
|
666
|
+
}, {
|
|
661
667
|
readonly name: "limit";
|
|
662
668
|
readonly type: "uint96";
|
|
669
|
+
readonly internalType: "uint96";
|
|
663
670
|
}, {
|
|
664
|
-
readonly internalType: "bool";
|
|
665
671
|
readonly name: "isActive";
|
|
666
672
|
readonly type: "bool";
|
|
673
|
+
readonly internalType: "bool";
|
|
667
674
|
}];
|
|
668
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
669
|
-
readonly name: "quotas";
|
|
670
|
-
readonly type: "tuple[]";
|
|
671
675
|
}, {
|
|
676
|
+
readonly name: "lirm";
|
|
677
|
+
readonly type: "tuple";
|
|
678
|
+
readonly internalType: "struct LinearModel";
|
|
672
679
|
readonly components: readonly [{
|
|
673
|
-
readonly internalType: "address";
|
|
674
680
|
readonly name: "interestModel";
|
|
675
681
|
readonly type: "address";
|
|
682
|
+
readonly internalType: "address";
|
|
676
683
|
}, {
|
|
677
|
-
readonly internalType: "uint256";
|
|
678
684
|
readonly name: "version";
|
|
679
685
|
readonly type: "uint256";
|
|
686
|
+
readonly internalType: "uint256";
|
|
680
687
|
}, {
|
|
681
|
-
readonly internalType: "uint16";
|
|
682
688
|
readonly name: "U_1";
|
|
683
689
|
readonly type: "uint16";
|
|
684
|
-
}, {
|
|
685
690
|
readonly internalType: "uint16";
|
|
691
|
+
}, {
|
|
686
692
|
readonly name: "U_2";
|
|
687
693
|
readonly type: "uint16";
|
|
688
|
-
}, {
|
|
689
694
|
readonly internalType: "uint16";
|
|
695
|
+
}, {
|
|
690
696
|
readonly name: "R_base";
|
|
691
697
|
readonly type: "uint16";
|
|
692
|
-
}, {
|
|
693
698
|
readonly internalType: "uint16";
|
|
699
|
+
}, {
|
|
694
700
|
readonly name: "R_slope1";
|
|
695
701
|
readonly type: "uint16";
|
|
696
|
-
}, {
|
|
697
702
|
readonly internalType: "uint16";
|
|
703
|
+
}, {
|
|
698
704
|
readonly name: "R_slope2";
|
|
699
705
|
readonly type: "uint16";
|
|
700
|
-
}, {
|
|
701
706
|
readonly internalType: "uint16";
|
|
707
|
+
}, {
|
|
702
708
|
readonly name: "R_slope3";
|
|
703
709
|
readonly type: "uint16";
|
|
710
|
+
readonly internalType: "uint16";
|
|
704
711
|
}, {
|
|
705
|
-
readonly internalType: "bool";
|
|
706
712
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
707
713
|
readonly type: "bool";
|
|
714
|
+
readonly internalType: "bool";
|
|
708
715
|
}];
|
|
709
|
-
readonly internalType: "struct LinearModel";
|
|
710
|
-
readonly name: "lirm";
|
|
711
|
-
readonly type: "tuple";
|
|
712
716
|
}, {
|
|
713
|
-
readonly internalType: "bool";
|
|
714
717
|
readonly name: "isPaused";
|
|
715
718
|
readonly type: "bool";
|
|
719
|
+
readonly internalType: "bool";
|
|
716
720
|
}];
|
|
717
|
-
readonly internalType: "struct CreditManagerData[]";
|
|
718
|
-
readonly name: "";
|
|
719
|
-
readonly type: "tuple[]";
|
|
720
721
|
}];
|
|
721
722
|
readonly stateMutability: "view";
|
|
722
|
-
readonly type: "function";
|
|
723
723
|
}, {
|
|
724
|
+
readonly type: "function";
|
|
725
|
+
readonly name: "getPoolData";
|
|
724
726
|
readonly inputs: readonly [{
|
|
725
|
-
readonly internalType: "address";
|
|
726
727
|
readonly name: "_pool";
|
|
727
728
|
readonly type: "address";
|
|
729
|
+
readonly internalType: "address";
|
|
728
730
|
}];
|
|
729
|
-
readonly name: "getPoolData";
|
|
730
731
|
readonly outputs: readonly [{
|
|
732
|
+
readonly name: "";
|
|
733
|
+
readonly type: "tuple";
|
|
734
|
+
readonly internalType: "struct PoolData";
|
|
731
735
|
readonly components: readonly [{
|
|
732
|
-
readonly internalType: "address";
|
|
733
736
|
readonly name: "addr";
|
|
734
737
|
readonly type: "address";
|
|
735
|
-
}, {
|
|
736
738
|
readonly internalType: "address";
|
|
739
|
+
}, {
|
|
737
740
|
readonly name: "underlying";
|
|
738
741
|
readonly type: "address";
|
|
739
|
-
}, {
|
|
740
742
|
readonly internalType: "address";
|
|
743
|
+
}, {
|
|
741
744
|
readonly name: "dieselToken";
|
|
742
745
|
readonly type: "address";
|
|
746
|
+
readonly internalType: "address";
|
|
743
747
|
}, {
|
|
744
|
-
readonly internalType: "string";
|
|
745
748
|
readonly name: "symbol";
|
|
746
749
|
readonly type: "string";
|
|
747
|
-
}, {
|
|
748
750
|
readonly internalType: "string";
|
|
751
|
+
}, {
|
|
749
752
|
readonly name: "name";
|
|
750
753
|
readonly type: "string";
|
|
754
|
+
readonly internalType: "string";
|
|
751
755
|
}, {
|
|
752
|
-
readonly internalType: "uint256";
|
|
753
756
|
readonly name: "baseInterestIndex";
|
|
754
757
|
readonly type: "uint256";
|
|
755
|
-
}, {
|
|
756
758
|
readonly internalType: "uint256";
|
|
759
|
+
}, {
|
|
757
760
|
readonly name: "availableLiquidity";
|
|
758
761
|
readonly type: "uint256";
|
|
759
|
-
}, {
|
|
760
762
|
readonly internalType: "uint256";
|
|
763
|
+
}, {
|
|
761
764
|
readonly name: "expectedLiquidity";
|
|
762
765
|
readonly type: "uint256";
|
|
763
|
-
}, {
|
|
764
766
|
readonly internalType: "uint256";
|
|
767
|
+
}, {
|
|
765
768
|
readonly name: "totalBorrowed";
|
|
766
769
|
readonly type: "uint256";
|
|
767
|
-
}, {
|
|
768
770
|
readonly internalType: "uint256";
|
|
771
|
+
}, {
|
|
769
772
|
readonly name: "totalDebtLimit";
|
|
770
773
|
readonly type: "uint256";
|
|
774
|
+
readonly internalType: "uint256";
|
|
771
775
|
}, {
|
|
776
|
+
readonly name: "creditManagerDebtParams";
|
|
777
|
+
readonly type: "tuple[]";
|
|
778
|
+
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
772
779
|
readonly components: readonly [{
|
|
773
|
-
readonly internalType: "address";
|
|
774
780
|
readonly name: "creditManager";
|
|
775
781
|
readonly type: "address";
|
|
782
|
+
readonly internalType: "address";
|
|
776
783
|
}, {
|
|
777
|
-
readonly internalType: "uint256";
|
|
778
784
|
readonly name: "borrowed";
|
|
779
785
|
readonly type: "uint256";
|
|
780
|
-
}, {
|
|
781
786
|
readonly internalType: "uint256";
|
|
787
|
+
}, {
|
|
782
788
|
readonly name: "limit";
|
|
783
789
|
readonly type: "uint256";
|
|
784
|
-
}, {
|
|
785
790
|
readonly internalType: "uint256";
|
|
791
|
+
}, {
|
|
786
792
|
readonly name: "availableToBorrow";
|
|
787
793
|
readonly type: "uint256";
|
|
794
|
+
readonly internalType: "uint256";
|
|
788
795
|
}];
|
|
789
|
-
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
790
|
-
readonly name: "creditManagerDebtParams";
|
|
791
|
-
readonly type: "tuple[]";
|
|
792
796
|
}, {
|
|
793
|
-
readonly internalType: "uint256";
|
|
794
797
|
readonly name: "totalAssets";
|
|
795
798
|
readonly type: "uint256";
|
|
796
|
-
}, {
|
|
797
799
|
readonly internalType: "uint256";
|
|
800
|
+
}, {
|
|
798
801
|
readonly name: "totalSupply";
|
|
799
802
|
readonly type: "uint256";
|
|
800
|
-
}, {
|
|
801
803
|
readonly internalType: "uint256";
|
|
804
|
+
}, {
|
|
802
805
|
readonly name: "supplyRate";
|
|
803
806
|
readonly type: "uint256";
|
|
804
|
-
}, {
|
|
805
807
|
readonly internalType: "uint256";
|
|
808
|
+
}, {
|
|
806
809
|
readonly name: "baseInterestRate";
|
|
807
810
|
readonly type: "uint256";
|
|
808
|
-
}, {
|
|
809
811
|
readonly internalType: "uint256";
|
|
812
|
+
}, {
|
|
810
813
|
readonly name: "dieselRate_RAY";
|
|
811
814
|
readonly type: "uint256";
|
|
812
|
-
}, {
|
|
813
815
|
readonly internalType: "uint256";
|
|
816
|
+
}, {
|
|
814
817
|
readonly name: "withdrawFee";
|
|
815
818
|
readonly type: "uint256";
|
|
816
|
-
}, {
|
|
817
819
|
readonly internalType: "uint256";
|
|
820
|
+
}, {
|
|
818
821
|
readonly name: "lastBaseInterestUpdate";
|
|
819
822
|
readonly type: "uint256";
|
|
820
|
-
}, {
|
|
821
823
|
readonly internalType: "uint256";
|
|
824
|
+
}, {
|
|
822
825
|
readonly name: "baseInterestIndexLU";
|
|
823
826
|
readonly type: "uint256";
|
|
824
|
-
}, {
|
|
825
827
|
readonly internalType: "uint256";
|
|
828
|
+
}, {
|
|
826
829
|
readonly name: "version";
|
|
827
830
|
readonly type: "uint256";
|
|
831
|
+
readonly internalType: "uint256";
|
|
828
832
|
}, {
|
|
829
|
-
readonly internalType: "address";
|
|
830
833
|
readonly name: "poolQuotaKeeper";
|
|
831
834
|
readonly type: "address";
|
|
832
|
-
}, {
|
|
833
835
|
readonly internalType: "address";
|
|
836
|
+
}, {
|
|
834
837
|
readonly name: "gauge";
|
|
835
838
|
readonly type: "address";
|
|
839
|
+
readonly internalType: "address";
|
|
836
840
|
}, {
|
|
841
|
+
readonly name: "quotas";
|
|
842
|
+
readonly type: "tuple[]";
|
|
843
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
837
844
|
readonly components: readonly [{
|
|
838
|
-
readonly internalType: "address";
|
|
839
845
|
readonly name: "token";
|
|
840
846
|
readonly type: "address";
|
|
847
|
+
readonly internalType: "address";
|
|
841
848
|
}, {
|
|
842
|
-
readonly internalType: "uint16";
|
|
843
849
|
readonly name: "rate";
|
|
844
850
|
readonly type: "uint16";
|
|
845
|
-
}, {
|
|
846
851
|
readonly internalType: "uint16";
|
|
852
|
+
}, {
|
|
847
853
|
readonly name: "quotaIncreaseFee";
|
|
848
854
|
readonly type: "uint16";
|
|
855
|
+
readonly internalType: "uint16";
|
|
849
856
|
}, {
|
|
850
|
-
readonly internalType: "uint96";
|
|
851
857
|
readonly name: "totalQuoted";
|
|
852
858
|
readonly type: "uint96";
|
|
853
|
-
}, {
|
|
854
859
|
readonly internalType: "uint96";
|
|
860
|
+
}, {
|
|
855
861
|
readonly name: "limit";
|
|
856
862
|
readonly type: "uint96";
|
|
863
|
+
readonly internalType: "uint96";
|
|
857
864
|
}, {
|
|
858
|
-
readonly internalType: "bool";
|
|
859
865
|
readonly name: "isActive";
|
|
860
866
|
readonly type: "bool";
|
|
867
|
+
readonly internalType: "bool";
|
|
861
868
|
}];
|
|
862
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
863
|
-
readonly name: "quotas";
|
|
864
|
-
readonly type: "tuple[]";
|
|
865
869
|
}, {
|
|
870
|
+
readonly name: "zappers";
|
|
871
|
+
readonly type: "tuple[]";
|
|
872
|
+
readonly internalType: "struct ZapperInfo[]";
|
|
866
873
|
readonly components: readonly [{
|
|
867
|
-
readonly internalType: "address";
|
|
868
874
|
readonly name: "zapper";
|
|
869
875
|
readonly type: "address";
|
|
870
|
-
}, {
|
|
871
876
|
readonly internalType: "address";
|
|
877
|
+
}, {
|
|
872
878
|
readonly name: "tokenIn";
|
|
873
879
|
readonly type: "address";
|
|
874
|
-
}, {
|
|
875
880
|
readonly internalType: "address";
|
|
881
|
+
}, {
|
|
876
882
|
readonly name: "tokenOut";
|
|
877
883
|
readonly type: "address";
|
|
884
|
+
readonly internalType: "address";
|
|
878
885
|
}];
|
|
879
|
-
readonly internalType: "struct ZapperInfo[]";
|
|
880
|
-
readonly name: "zappers";
|
|
881
|
-
readonly type: "tuple[]";
|
|
882
886
|
}, {
|
|
887
|
+
readonly name: "lirm";
|
|
888
|
+
readonly type: "tuple";
|
|
889
|
+
readonly internalType: "struct LinearModel";
|
|
883
890
|
readonly components: readonly [{
|
|
884
|
-
readonly internalType: "address";
|
|
885
891
|
readonly name: "interestModel";
|
|
886
892
|
readonly type: "address";
|
|
893
|
+
readonly internalType: "address";
|
|
887
894
|
}, {
|
|
888
|
-
readonly internalType: "uint256";
|
|
889
895
|
readonly name: "version";
|
|
890
896
|
readonly type: "uint256";
|
|
897
|
+
readonly internalType: "uint256";
|
|
891
898
|
}, {
|
|
892
|
-
readonly internalType: "uint16";
|
|
893
899
|
readonly name: "U_1";
|
|
894
900
|
readonly type: "uint16";
|
|
895
|
-
}, {
|
|
896
901
|
readonly internalType: "uint16";
|
|
902
|
+
}, {
|
|
897
903
|
readonly name: "U_2";
|
|
898
904
|
readonly type: "uint16";
|
|
899
|
-
}, {
|
|
900
905
|
readonly internalType: "uint16";
|
|
906
|
+
}, {
|
|
901
907
|
readonly name: "R_base";
|
|
902
908
|
readonly type: "uint16";
|
|
903
|
-
}, {
|
|
904
909
|
readonly internalType: "uint16";
|
|
910
|
+
}, {
|
|
905
911
|
readonly name: "R_slope1";
|
|
906
912
|
readonly type: "uint16";
|
|
907
|
-
}, {
|
|
908
913
|
readonly internalType: "uint16";
|
|
914
|
+
}, {
|
|
909
915
|
readonly name: "R_slope2";
|
|
910
916
|
readonly type: "uint16";
|
|
911
|
-
}, {
|
|
912
917
|
readonly internalType: "uint16";
|
|
918
|
+
}, {
|
|
913
919
|
readonly name: "R_slope3";
|
|
914
920
|
readonly type: "uint16";
|
|
921
|
+
readonly internalType: "uint16";
|
|
915
922
|
}, {
|
|
916
|
-
readonly internalType: "bool";
|
|
917
923
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
918
924
|
readonly type: "bool";
|
|
925
|
+
readonly internalType: "bool";
|
|
919
926
|
}];
|
|
920
|
-
readonly internalType: "struct LinearModel";
|
|
921
|
-
readonly name: "lirm";
|
|
922
|
-
readonly type: "tuple";
|
|
923
927
|
}, {
|
|
924
|
-
readonly internalType: "bool";
|
|
925
928
|
readonly name: "isPaused";
|
|
926
929
|
readonly type: "bool";
|
|
930
|
+
readonly internalType: "bool";
|
|
927
931
|
}];
|
|
928
|
-
readonly internalType: "struct PoolData";
|
|
929
|
-
readonly name: "";
|
|
930
|
-
readonly type: "tuple";
|
|
931
932
|
}];
|
|
932
933
|
readonly stateMutability: "view";
|
|
933
|
-
readonly type: "function";
|
|
934
934
|
}, {
|
|
935
|
-
readonly
|
|
935
|
+
readonly type: "function";
|
|
936
936
|
readonly name: "getPoolsV1List";
|
|
937
|
+
readonly inputs: readonly [];
|
|
937
938
|
readonly outputs: readonly [{
|
|
939
|
+
readonly name: "";
|
|
940
|
+
readonly type: "tuple[]";
|
|
941
|
+
readonly internalType: "struct PoolData[]";
|
|
938
942
|
readonly components: readonly [{
|
|
939
|
-
readonly internalType: "address";
|
|
940
943
|
readonly name: "addr";
|
|
941
944
|
readonly type: "address";
|
|
942
|
-
}, {
|
|
943
945
|
readonly internalType: "address";
|
|
946
|
+
}, {
|
|
944
947
|
readonly name: "underlying";
|
|
945
948
|
readonly type: "address";
|
|
946
|
-
}, {
|
|
947
949
|
readonly internalType: "address";
|
|
950
|
+
}, {
|
|
948
951
|
readonly name: "dieselToken";
|
|
949
952
|
readonly type: "address";
|
|
953
|
+
readonly internalType: "address";
|
|
950
954
|
}, {
|
|
951
|
-
readonly internalType: "string";
|
|
952
955
|
readonly name: "symbol";
|
|
953
956
|
readonly type: "string";
|
|
954
|
-
}, {
|
|
955
957
|
readonly internalType: "string";
|
|
958
|
+
}, {
|
|
956
959
|
readonly name: "name";
|
|
957
960
|
readonly type: "string";
|
|
961
|
+
readonly internalType: "string";
|
|
958
962
|
}, {
|
|
959
|
-
readonly internalType: "uint256";
|
|
960
963
|
readonly name: "baseInterestIndex";
|
|
961
964
|
readonly type: "uint256";
|
|
962
|
-
}, {
|
|
963
965
|
readonly internalType: "uint256";
|
|
966
|
+
}, {
|
|
964
967
|
readonly name: "availableLiquidity";
|
|
965
968
|
readonly type: "uint256";
|
|
966
|
-
}, {
|
|
967
969
|
readonly internalType: "uint256";
|
|
970
|
+
}, {
|
|
968
971
|
readonly name: "expectedLiquidity";
|
|
969
972
|
readonly type: "uint256";
|
|
970
|
-
}, {
|
|
971
973
|
readonly internalType: "uint256";
|
|
974
|
+
}, {
|
|
972
975
|
readonly name: "totalBorrowed";
|
|
973
976
|
readonly type: "uint256";
|
|
974
|
-
}, {
|
|
975
977
|
readonly internalType: "uint256";
|
|
978
|
+
}, {
|
|
976
979
|
readonly name: "totalDebtLimit";
|
|
977
980
|
readonly type: "uint256";
|
|
981
|
+
readonly internalType: "uint256";
|
|
978
982
|
}, {
|
|
983
|
+
readonly name: "creditManagerDebtParams";
|
|
984
|
+
readonly type: "tuple[]";
|
|
985
|
+
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
979
986
|
readonly components: readonly [{
|
|
980
|
-
readonly internalType: "address";
|
|
981
987
|
readonly name: "creditManager";
|
|
982
988
|
readonly type: "address";
|
|
989
|
+
readonly internalType: "address";
|
|
983
990
|
}, {
|
|
984
|
-
readonly internalType: "uint256";
|
|
985
991
|
readonly name: "borrowed";
|
|
986
992
|
readonly type: "uint256";
|
|
987
|
-
}, {
|
|
988
993
|
readonly internalType: "uint256";
|
|
994
|
+
}, {
|
|
989
995
|
readonly name: "limit";
|
|
990
996
|
readonly type: "uint256";
|
|
991
|
-
}, {
|
|
992
997
|
readonly internalType: "uint256";
|
|
998
|
+
}, {
|
|
993
999
|
readonly name: "availableToBorrow";
|
|
994
1000
|
readonly type: "uint256";
|
|
1001
|
+
readonly internalType: "uint256";
|
|
995
1002
|
}];
|
|
996
|
-
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
997
|
-
readonly name: "creditManagerDebtParams";
|
|
998
|
-
readonly type: "tuple[]";
|
|
999
1003
|
}, {
|
|
1000
|
-
readonly internalType: "uint256";
|
|
1001
1004
|
readonly name: "totalAssets";
|
|
1002
1005
|
readonly type: "uint256";
|
|
1003
|
-
}, {
|
|
1004
1006
|
readonly internalType: "uint256";
|
|
1007
|
+
}, {
|
|
1005
1008
|
readonly name: "totalSupply";
|
|
1006
1009
|
readonly type: "uint256";
|
|
1007
|
-
}, {
|
|
1008
1010
|
readonly internalType: "uint256";
|
|
1011
|
+
}, {
|
|
1009
1012
|
readonly name: "supplyRate";
|
|
1010
1013
|
readonly type: "uint256";
|
|
1011
|
-
}, {
|
|
1012
1014
|
readonly internalType: "uint256";
|
|
1015
|
+
}, {
|
|
1013
1016
|
readonly name: "baseInterestRate";
|
|
1014
1017
|
readonly type: "uint256";
|
|
1015
|
-
}, {
|
|
1016
1018
|
readonly internalType: "uint256";
|
|
1019
|
+
}, {
|
|
1017
1020
|
readonly name: "dieselRate_RAY";
|
|
1018
1021
|
readonly type: "uint256";
|
|
1019
|
-
}, {
|
|
1020
1022
|
readonly internalType: "uint256";
|
|
1023
|
+
}, {
|
|
1021
1024
|
readonly name: "withdrawFee";
|
|
1022
1025
|
readonly type: "uint256";
|
|
1023
|
-
}, {
|
|
1024
1026
|
readonly internalType: "uint256";
|
|
1027
|
+
}, {
|
|
1025
1028
|
readonly name: "lastBaseInterestUpdate";
|
|
1026
1029
|
readonly type: "uint256";
|
|
1027
|
-
}, {
|
|
1028
1030
|
readonly internalType: "uint256";
|
|
1031
|
+
}, {
|
|
1029
1032
|
readonly name: "baseInterestIndexLU";
|
|
1030
1033
|
readonly type: "uint256";
|
|
1031
|
-
}, {
|
|
1032
1034
|
readonly internalType: "uint256";
|
|
1035
|
+
}, {
|
|
1033
1036
|
readonly name: "version";
|
|
1034
1037
|
readonly type: "uint256";
|
|
1038
|
+
readonly internalType: "uint256";
|
|
1035
1039
|
}, {
|
|
1036
|
-
readonly internalType: "address";
|
|
1037
1040
|
readonly name: "poolQuotaKeeper";
|
|
1038
1041
|
readonly type: "address";
|
|
1039
|
-
}, {
|
|
1040
1042
|
readonly internalType: "address";
|
|
1043
|
+
}, {
|
|
1041
1044
|
readonly name: "gauge";
|
|
1042
1045
|
readonly type: "address";
|
|
1046
|
+
readonly internalType: "address";
|
|
1043
1047
|
}, {
|
|
1048
|
+
readonly name: "quotas";
|
|
1049
|
+
readonly type: "tuple[]";
|
|
1050
|
+
readonly internalType: "struct QuotaInfo[]";
|
|
1044
1051
|
readonly components: readonly [{
|
|
1045
|
-
readonly internalType: "address";
|
|
1046
1052
|
readonly name: "token";
|
|
1047
1053
|
readonly type: "address";
|
|
1054
|
+
readonly internalType: "address";
|
|
1048
1055
|
}, {
|
|
1049
|
-
readonly internalType: "uint16";
|
|
1050
1056
|
readonly name: "rate";
|
|
1051
1057
|
readonly type: "uint16";
|
|
1052
|
-
}, {
|
|
1053
1058
|
readonly internalType: "uint16";
|
|
1059
|
+
}, {
|
|
1054
1060
|
readonly name: "quotaIncreaseFee";
|
|
1055
1061
|
readonly type: "uint16";
|
|
1062
|
+
readonly internalType: "uint16";
|
|
1056
1063
|
}, {
|
|
1057
|
-
readonly internalType: "uint96";
|
|
1058
1064
|
readonly name: "totalQuoted";
|
|
1059
1065
|
readonly type: "uint96";
|
|
1060
|
-
}, {
|
|
1061
1066
|
readonly internalType: "uint96";
|
|
1067
|
+
}, {
|
|
1062
1068
|
readonly name: "limit";
|
|
1063
1069
|
readonly type: "uint96";
|
|
1070
|
+
readonly internalType: "uint96";
|
|
1064
1071
|
}, {
|
|
1065
|
-
readonly internalType: "bool";
|
|
1066
1072
|
readonly name: "isActive";
|
|
1067
1073
|
readonly type: "bool";
|
|
1074
|
+
readonly internalType: "bool";
|
|
1068
1075
|
}];
|
|
1069
|
-
readonly internalType: "struct QuotaInfo[]";
|
|
1070
|
-
readonly name: "quotas";
|
|
1071
|
-
readonly type: "tuple[]";
|
|
1072
1076
|
}, {
|
|
1077
|
+
readonly name: "zappers";
|
|
1078
|
+
readonly type: "tuple[]";
|
|
1079
|
+
readonly internalType: "struct ZapperInfo[]";
|
|
1073
1080
|
readonly components: readonly [{
|
|
1074
|
-
readonly internalType: "address";
|
|
1075
1081
|
readonly name: "zapper";
|
|
1076
1082
|
readonly type: "address";
|
|
1077
|
-
}, {
|
|
1078
1083
|
readonly internalType: "address";
|
|
1084
|
+
}, {
|
|
1079
1085
|
readonly name: "tokenIn";
|
|
1080
1086
|
readonly type: "address";
|
|
1081
|
-
}, {
|
|
1082
1087
|
readonly internalType: "address";
|
|
1088
|
+
}, {
|
|
1083
1089
|
readonly name: "tokenOut";
|
|
1084
1090
|
readonly type: "address";
|
|
1091
|
+
readonly internalType: "address";
|
|
1085
1092
|
}];
|
|
1086
|
-
readonly internalType: "struct ZapperInfo[]";
|
|
1087
|
-
readonly name: "zappers";
|
|
1088
|
-
readonly type: "tuple[]";
|
|
1089
1093
|
}, {
|
|
1094
|
+
readonly name: "lirm";
|
|
1095
|
+
readonly type: "tuple";
|
|
1096
|
+
readonly internalType: "struct LinearModel";
|
|
1090
1097
|
readonly components: readonly [{
|
|
1091
|
-
readonly internalType: "address";
|
|
1092
1098
|
readonly name: "interestModel";
|
|
1093
1099
|
readonly type: "address";
|
|
1100
|
+
readonly internalType: "address";
|
|
1094
1101
|
}, {
|
|
1095
|
-
readonly internalType: "uint256";
|
|
1096
1102
|
readonly name: "version";
|
|
1097
1103
|
readonly type: "uint256";
|
|
1104
|
+
readonly internalType: "uint256";
|
|
1098
1105
|
}, {
|
|
1099
|
-
readonly internalType: "uint16";
|
|
1100
1106
|
readonly name: "U_1";
|
|
1101
1107
|
readonly type: "uint16";
|
|
1102
|
-
}, {
|
|
1103
1108
|
readonly internalType: "uint16";
|
|
1109
|
+
}, {
|
|
1104
1110
|
readonly name: "U_2";
|
|
1105
1111
|
readonly type: "uint16";
|
|
1106
|
-
}, {
|
|
1107
1112
|
readonly internalType: "uint16";
|
|
1113
|
+
}, {
|
|
1108
1114
|
readonly name: "R_base";
|
|
1109
1115
|
readonly type: "uint16";
|
|
1110
|
-
}, {
|
|
1111
1116
|
readonly internalType: "uint16";
|
|
1117
|
+
}, {
|
|
1112
1118
|
readonly name: "R_slope1";
|
|
1113
1119
|
readonly type: "uint16";
|
|
1114
|
-
}, {
|
|
1115
1120
|
readonly internalType: "uint16";
|
|
1121
|
+
}, {
|
|
1116
1122
|
readonly name: "R_slope2";
|
|
1117
1123
|
readonly type: "uint16";
|
|
1118
|
-
}, {
|
|
1119
1124
|
readonly internalType: "uint16";
|
|
1125
|
+
}, {
|
|
1120
1126
|
readonly name: "R_slope3";
|
|
1121
1127
|
readonly type: "uint16";
|
|
1128
|
+
readonly internalType: "uint16";
|
|
1122
1129
|
}, {
|
|
1123
|
-
readonly internalType: "bool";
|
|
1124
1130
|
readonly name: "isBorrowingMoreU2Forbidden";
|
|
1125
1131
|
readonly type: "bool";
|
|
1132
|
+
readonly internalType: "bool";
|
|
1126
1133
|
}];
|
|
1127
|
-
readonly internalType: "struct LinearModel";
|
|
1128
|
-
readonly name: "lirm";
|
|
1129
|
-
readonly type: "tuple";
|
|
1130
1134
|
}, {
|
|
1131
|
-
readonly internalType: "bool";
|
|
1132
1135
|
readonly name: "isPaused";
|
|
1133
1136
|
readonly type: "bool";
|
|
1137
|
+
readonly internalType: "bool";
|
|
1134
1138
|
}];
|
|
1135
|
-
readonly internalType: "struct PoolData[]";
|
|
1136
|
-
readonly name: "";
|
|
1137
|
-
readonly type: "tuple[]";
|
|
1138
1139
|
}];
|
|
1139
1140
|
readonly stateMutability: "view";
|
|
1140
|
-
readonly type: "function";
|
|
1141
1141
|
}, {
|
|
1142
|
+
readonly type: "function";
|
|
1143
|
+
readonly name: "hasOpenedCreditAccount";
|
|
1142
1144
|
readonly inputs: readonly [{
|
|
1143
|
-
readonly internalType: "address";
|
|
1144
1145
|
readonly name: "creditManager";
|
|
1145
1146
|
readonly type: "address";
|
|
1146
|
-
}, {
|
|
1147
1147
|
readonly internalType: "address";
|
|
1148
|
+
}, {
|
|
1148
1149
|
readonly name: "borrower";
|
|
1149
1150
|
readonly type: "address";
|
|
1151
|
+
readonly internalType: "address";
|
|
1150
1152
|
}];
|
|
1151
|
-
readonly name: "hasOpenedCreditAccount";
|
|
1152
1153
|
readonly outputs: readonly [{
|
|
1153
|
-
readonly internalType: "bool";
|
|
1154
1154
|
readonly name: "";
|
|
1155
1155
|
readonly type: "bool";
|
|
1156
|
+
readonly internalType: "bool";
|
|
1156
1157
|
}];
|
|
1157
1158
|
readonly stateMutability: "view";
|
|
1158
|
-
readonly type: "function";
|
|
1159
1159
|
}, {
|
|
1160
|
-
readonly
|
|
1160
|
+
readonly type: "function";
|
|
1161
1161
|
readonly name: "version";
|
|
1162
|
+
readonly inputs: readonly [];
|
|
1162
1163
|
readonly outputs: readonly [{
|
|
1163
|
-
readonly internalType: "uint256";
|
|
1164
1164
|
readonly name: "";
|
|
1165
1165
|
readonly type: "uint256";
|
|
1166
|
+
readonly internalType: "uint256";
|
|
1166
1167
|
}];
|
|
1167
1168
|
readonly stateMutability: "view";
|
|
1168
|
-
readonly type: "function";
|
|
1169
1169
|
}];
|
|
1170
1170
|
static createInterface(): IDataCompressorV2_10Interface;
|
|
1171
1171
|
static connect(address: string, signerOrProvider: Signer | Provider): IDataCompressorV2_10;
|