@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,1020 +3,1020 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { ICreditManagerV3, ICreditManagerV3Interface } from "../../ICreditManagerV3.sol/ICreditManagerV3";
|
|
4
4
|
export declare class ICreditManagerV3__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly
|
|
7
|
-
readonly inputs: readonly [{
|
|
8
|
-
readonly indexed: true;
|
|
9
|
-
readonly internalType: "address";
|
|
10
|
-
readonly name: "newConfigurator";
|
|
11
|
-
readonly type: "address";
|
|
12
|
-
}];
|
|
13
|
-
readonly name: "SetCreditConfigurator";
|
|
14
|
-
readonly type: "event";
|
|
15
|
-
}, {
|
|
16
|
-
readonly inputs: readonly [];
|
|
6
|
+
readonly type: "function";
|
|
17
7
|
readonly name: "accountFactory";
|
|
8
|
+
readonly inputs: readonly [];
|
|
18
9
|
readonly outputs: readonly [{
|
|
19
|
-
readonly internalType: "address";
|
|
20
10
|
readonly name: "";
|
|
21
11
|
readonly type: "address";
|
|
12
|
+
readonly internalType: "address";
|
|
22
13
|
}];
|
|
23
14
|
readonly stateMutability: "view";
|
|
24
|
-
readonly type: "function";
|
|
25
15
|
}, {
|
|
16
|
+
readonly type: "function";
|
|
17
|
+
readonly name: "adapterToContract";
|
|
26
18
|
readonly inputs: readonly [{
|
|
27
|
-
readonly internalType: "address";
|
|
28
19
|
readonly name: "adapter";
|
|
29
20
|
readonly type: "address";
|
|
21
|
+
readonly internalType: "address";
|
|
30
22
|
}];
|
|
31
|
-
readonly name: "adapterToContract";
|
|
32
23
|
readonly outputs: readonly [{
|
|
33
|
-
readonly internalType: "address";
|
|
34
24
|
readonly name: "targetContract";
|
|
35
25
|
readonly type: "address";
|
|
26
|
+
readonly internalType: "address";
|
|
36
27
|
}];
|
|
37
28
|
readonly stateMutability: "view";
|
|
38
|
-
readonly type: "function";
|
|
39
29
|
}, {
|
|
30
|
+
readonly type: "function";
|
|
31
|
+
readonly name: "addCollateral";
|
|
40
32
|
readonly inputs: readonly [{
|
|
41
|
-
readonly internalType: "address";
|
|
42
33
|
readonly name: "payer";
|
|
43
34
|
readonly type: "address";
|
|
44
|
-
}, {
|
|
45
35
|
readonly internalType: "address";
|
|
36
|
+
}, {
|
|
46
37
|
readonly name: "creditAccount";
|
|
47
38
|
readonly type: "address";
|
|
48
|
-
}, {
|
|
49
39
|
readonly internalType: "address";
|
|
40
|
+
}, {
|
|
50
41
|
readonly name: "token";
|
|
51
42
|
readonly type: "address";
|
|
43
|
+
readonly internalType: "address";
|
|
52
44
|
}, {
|
|
53
|
-
readonly internalType: "uint256";
|
|
54
45
|
readonly name: "amount";
|
|
55
46
|
readonly type: "uint256";
|
|
47
|
+
readonly internalType: "uint256";
|
|
56
48
|
}];
|
|
57
|
-
readonly name: "addCollateral";
|
|
58
49
|
readonly outputs: readonly [{
|
|
59
|
-
readonly internalType: "uint256";
|
|
60
50
|
readonly name: "tokensToEnable";
|
|
61
51
|
readonly type: "uint256";
|
|
52
|
+
readonly internalType: "uint256";
|
|
62
53
|
}];
|
|
63
54
|
readonly stateMutability: "nonpayable";
|
|
64
|
-
readonly type: "function";
|
|
65
55
|
}, {
|
|
56
|
+
readonly type: "function";
|
|
57
|
+
readonly name: "addToken";
|
|
66
58
|
readonly inputs: readonly [{
|
|
67
|
-
readonly internalType: "address";
|
|
68
59
|
readonly name: "token";
|
|
69
60
|
readonly type: "address";
|
|
61
|
+
readonly internalType: "address";
|
|
70
62
|
}];
|
|
71
|
-
readonly name: "addToken";
|
|
72
63
|
readonly outputs: readonly [];
|
|
73
64
|
readonly stateMutability: "nonpayable";
|
|
74
|
-
readonly type: "function";
|
|
75
65
|
}, {
|
|
76
|
-
readonly
|
|
66
|
+
readonly type: "function";
|
|
77
67
|
readonly name: "addressProvider";
|
|
68
|
+
readonly inputs: readonly [];
|
|
78
69
|
readonly outputs: readonly [{
|
|
79
|
-
readonly internalType: "address";
|
|
80
70
|
readonly name: "";
|
|
81
71
|
readonly type: "address";
|
|
72
|
+
readonly internalType: "address";
|
|
82
73
|
}];
|
|
83
74
|
readonly stateMutability: "view";
|
|
84
|
-
readonly type: "function";
|
|
85
75
|
}, {
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
readonly name: "approveCreditAccount";
|
|
86
78
|
readonly inputs: readonly [{
|
|
87
|
-
readonly internalType: "address";
|
|
88
79
|
readonly name: "token";
|
|
89
80
|
readonly type: "address";
|
|
81
|
+
readonly internalType: "address";
|
|
90
82
|
}, {
|
|
91
|
-
readonly internalType: "uint256";
|
|
92
83
|
readonly name: "amount";
|
|
93
84
|
readonly type: "uint256";
|
|
85
|
+
readonly internalType: "uint256";
|
|
94
86
|
}];
|
|
95
|
-
readonly name: "approveCreditAccount";
|
|
96
87
|
readonly outputs: readonly [];
|
|
97
88
|
readonly stateMutability: "nonpayable";
|
|
98
|
-
readonly type: "function";
|
|
99
89
|
}, {
|
|
90
|
+
readonly type: "function";
|
|
91
|
+
readonly name: "approveToken";
|
|
100
92
|
readonly inputs: readonly [{
|
|
101
|
-
readonly internalType: "address";
|
|
102
93
|
readonly name: "creditAccount";
|
|
103
94
|
readonly type: "address";
|
|
104
|
-
}, {
|
|
105
95
|
readonly internalType: "address";
|
|
96
|
+
}, {
|
|
106
97
|
readonly name: "token";
|
|
107
98
|
readonly type: "address";
|
|
108
|
-
}, {
|
|
109
99
|
readonly internalType: "address";
|
|
100
|
+
}, {
|
|
110
101
|
readonly name: "spender";
|
|
111
102
|
readonly type: "address";
|
|
103
|
+
readonly internalType: "address";
|
|
112
104
|
}, {
|
|
113
|
-
readonly internalType: "uint256";
|
|
114
105
|
readonly name: "amount";
|
|
115
106
|
readonly type: "uint256";
|
|
107
|
+
readonly internalType: "uint256";
|
|
116
108
|
}];
|
|
117
|
-
readonly name: "approveToken";
|
|
118
109
|
readonly outputs: readonly [];
|
|
119
110
|
readonly stateMutability: "nonpayable";
|
|
120
|
-
readonly type: "function";
|
|
121
111
|
}, {
|
|
112
|
+
readonly type: "function";
|
|
113
|
+
readonly name: "calcDebtAndCollateral";
|
|
122
114
|
readonly inputs: readonly [{
|
|
123
|
-
readonly internalType: "address";
|
|
124
115
|
readonly name: "creditAccount";
|
|
125
116
|
readonly type: "address";
|
|
117
|
+
readonly internalType: "address";
|
|
126
118
|
}, {
|
|
127
|
-
readonly internalType: "enum CollateralCalcTask";
|
|
128
119
|
readonly name: "task";
|
|
129
120
|
readonly type: "uint8";
|
|
121
|
+
readonly internalType: "enum CollateralCalcTask";
|
|
130
122
|
}];
|
|
131
|
-
readonly name: "calcDebtAndCollateral";
|
|
132
123
|
readonly outputs: readonly [{
|
|
124
|
+
readonly name: "cdd";
|
|
125
|
+
readonly type: "tuple";
|
|
126
|
+
readonly internalType: "struct CollateralDebtData";
|
|
133
127
|
readonly components: readonly [{
|
|
134
|
-
readonly internalType: "uint256";
|
|
135
128
|
readonly name: "debt";
|
|
136
129
|
readonly type: "uint256";
|
|
137
|
-
}, {
|
|
138
130
|
readonly internalType: "uint256";
|
|
131
|
+
}, {
|
|
139
132
|
readonly name: "cumulativeIndexNow";
|
|
140
133
|
readonly type: "uint256";
|
|
141
|
-
}, {
|
|
142
134
|
readonly internalType: "uint256";
|
|
135
|
+
}, {
|
|
143
136
|
readonly name: "cumulativeIndexLastUpdate";
|
|
144
137
|
readonly type: "uint256";
|
|
138
|
+
readonly internalType: "uint256";
|
|
145
139
|
}, {
|
|
146
|
-
readonly internalType: "uint128";
|
|
147
140
|
readonly name: "cumulativeQuotaInterest";
|
|
148
141
|
readonly type: "uint128";
|
|
142
|
+
readonly internalType: "uint128";
|
|
149
143
|
}, {
|
|
150
|
-
readonly internalType: "uint256";
|
|
151
144
|
readonly name: "accruedInterest";
|
|
152
145
|
readonly type: "uint256";
|
|
153
|
-
}, {
|
|
154
146
|
readonly internalType: "uint256";
|
|
147
|
+
}, {
|
|
155
148
|
readonly name: "accruedFees";
|
|
156
149
|
readonly type: "uint256";
|
|
157
|
-
}, {
|
|
158
150
|
readonly internalType: "uint256";
|
|
151
|
+
}, {
|
|
159
152
|
readonly name: "totalDebtUSD";
|
|
160
153
|
readonly type: "uint256";
|
|
161
|
-
}, {
|
|
162
154
|
readonly internalType: "uint256";
|
|
155
|
+
}, {
|
|
163
156
|
readonly name: "totalValue";
|
|
164
157
|
readonly type: "uint256";
|
|
165
|
-
}, {
|
|
166
158
|
readonly internalType: "uint256";
|
|
159
|
+
}, {
|
|
167
160
|
readonly name: "totalValueUSD";
|
|
168
161
|
readonly type: "uint256";
|
|
169
|
-
}, {
|
|
170
162
|
readonly internalType: "uint256";
|
|
163
|
+
}, {
|
|
171
164
|
readonly name: "twvUSD";
|
|
172
165
|
readonly type: "uint256";
|
|
173
|
-
}, {
|
|
174
166
|
readonly internalType: "uint256";
|
|
167
|
+
}, {
|
|
175
168
|
readonly name: "enabledTokensMask";
|
|
176
169
|
readonly type: "uint256";
|
|
177
|
-
}, {
|
|
178
170
|
readonly internalType: "uint256";
|
|
171
|
+
}, {
|
|
179
172
|
readonly name: "quotedTokensMask";
|
|
180
173
|
readonly type: "uint256";
|
|
174
|
+
readonly internalType: "uint256";
|
|
181
175
|
}, {
|
|
182
|
-
readonly internalType: "address[]";
|
|
183
176
|
readonly name: "quotedTokens";
|
|
184
177
|
readonly type: "address[]";
|
|
178
|
+
readonly internalType: "address[]";
|
|
185
179
|
}, {
|
|
186
|
-
readonly internalType: "address";
|
|
187
180
|
readonly name: "_poolQuotaKeeper";
|
|
188
181
|
readonly type: "address";
|
|
182
|
+
readonly internalType: "address";
|
|
189
183
|
}];
|
|
190
|
-
readonly internalType: "struct CollateralDebtData";
|
|
191
|
-
readonly name: "cdd";
|
|
192
|
-
readonly type: "tuple";
|
|
193
184
|
}];
|
|
194
185
|
readonly stateMutability: "view";
|
|
195
|
-
readonly type: "function";
|
|
196
186
|
}, {
|
|
187
|
+
readonly type: "function";
|
|
188
|
+
readonly name: "closeCreditAccount";
|
|
197
189
|
readonly inputs: readonly [{
|
|
198
|
-
readonly internalType: "address";
|
|
199
190
|
readonly name: "creditAccount";
|
|
200
191
|
readonly type: "address";
|
|
192
|
+
readonly internalType: "address";
|
|
201
193
|
}];
|
|
202
|
-
readonly name: "closeCreditAccount";
|
|
203
194
|
readonly outputs: readonly [];
|
|
204
195
|
readonly stateMutability: "nonpayable";
|
|
205
|
-
readonly type: "function";
|
|
206
196
|
}, {
|
|
197
|
+
readonly type: "function";
|
|
198
|
+
readonly name: "collateralTokenByMask";
|
|
207
199
|
readonly inputs: readonly [{
|
|
208
|
-
readonly internalType: "uint256";
|
|
209
200
|
readonly name: "tokenMask";
|
|
210
201
|
readonly type: "uint256";
|
|
202
|
+
readonly internalType: "uint256";
|
|
211
203
|
}];
|
|
212
|
-
readonly name: "collateralTokenByMask";
|
|
213
204
|
readonly outputs: readonly [{
|
|
214
|
-
readonly internalType: "address";
|
|
215
205
|
readonly name: "token";
|
|
216
206
|
readonly type: "address";
|
|
207
|
+
readonly internalType: "address";
|
|
217
208
|
}, {
|
|
218
|
-
readonly internalType: "uint16";
|
|
219
209
|
readonly name: "liquidationThreshold";
|
|
220
210
|
readonly type: "uint16";
|
|
211
|
+
readonly internalType: "uint16";
|
|
221
212
|
}];
|
|
222
213
|
readonly stateMutability: "view";
|
|
223
|
-
readonly type: "function";
|
|
224
214
|
}, {
|
|
225
|
-
readonly
|
|
215
|
+
readonly type: "function";
|
|
226
216
|
readonly name: "collateralTokensCount";
|
|
217
|
+
readonly inputs: readonly [];
|
|
227
218
|
readonly outputs: readonly [{
|
|
228
|
-
readonly internalType: "uint8";
|
|
229
219
|
readonly name: "";
|
|
230
220
|
readonly type: "uint8";
|
|
221
|
+
readonly internalType: "uint8";
|
|
231
222
|
}];
|
|
232
223
|
readonly stateMutability: "view";
|
|
233
|
-
readonly type: "function";
|
|
234
224
|
}, {
|
|
225
|
+
readonly type: "function";
|
|
226
|
+
readonly name: "contractToAdapter";
|
|
235
227
|
readonly inputs: readonly [{
|
|
236
|
-
readonly internalType: "address";
|
|
237
228
|
readonly name: "targetContract";
|
|
238
229
|
readonly type: "address";
|
|
230
|
+
readonly internalType: "address";
|
|
239
231
|
}];
|
|
240
|
-
readonly name: "contractToAdapter";
|
|
241
232
|
readonly outputs: readonly [{
|
|
242
|
-
readonly internalType: "address";
|
|
243
233
|
readonly name: "adapter";
|
|
244
234
|
readonly type: "address";
|
|
235
|
+
readonly internalType: "address";
|
|
245
236
|
}];
|
|
246
237
|
readonly stateMutability: "view";
|
|
247
|
-
readonly type: "function";
|
|
248
238
|
}, {
|
|
239
|
+
readonly type: "function";
|
|
240
|
+
readonly name: "creditAccountInfo";
|
|
249
241
|
readonly inputs: readonly [{
|
|
250
|
-
readonly internalType: "address";
|
|
251
242
|
readonly name: "creditAccount";
|
|
252
243
|
readonly type: "address";
|
|
244
|
+
readonly internalType: "address";
|
|
253
245
|
}];
|
|
254
|
-
readonly name: "creditAccountInfo";
|
|
255
246
|
readonly outputs: readonly [{
|
|
256
|
-
readonly internalType: "uint256";
|
|
257
247
|
readonly name: "debt";
|
|
258
248
|
readonly type: "uint256";
|
|
259
|
-
}, {
|
|
260
249
|
readonly internalType: "uint256";
|
|
250
|
+
}, {
|
|
261
251
|
readonly name: "cumulativeIndexLastUpdate";
|
|
262
252
|
readonly type: "uint256";
|
|
253
|
+
readonly internalType: "uint256";
|
|
263
254
|
}, {
|
|
264
|
-
readonly internalType: "uint128";
|
|
265
255
|
readonly name: "cumulativeQuotaInterest";
|
|
266
256
|
readonly type: "uint128";
|
|
267
|
-
}, {
|
|
268
257
|
readonly internalType: "uint128";
|
|
258
|
+
}, {
|
|
269
259
|
readonly name: "quotaFees";
|
|
270
260
|
readonly type: "uint128";
|
|
261
|
+
readonly internalType: "uint128";
|
|
271
262
|
}, {
|
|
272
|
-
readonly internalType: "uint256";
|
|
273
263
|
readonly name: "enabledTokensMask";
|
|
274
264
|
readonly type: "uint256";
|
|
265
|
+
readonly internalType: "uint256";
|
|
275
266
|
}, {
|
|
276
|
-
readonly internalType: "uint16";
|
|
277
267
|
readonly name: "flags";
|
|
278
268
|
readonly type: "uint16";
|
|
269
|
+
readonly internalType: "uint16";
|
|
279
270
|
}, {
|
|
280
|
-
readonly internalType: "uint64";
|
|
281
271
|
readonly name: "lastDebtUpdate";
|
|
282
272
|
readonly type: "uint64";
|
|
273
|
+
readonly internalType: "uint64";
|
|
283
274
|
}, {
|
|
284
|
-
readonly internalType: "address";
|
|
285
275
|
readonly name: "borrower";
|
|
286
276
|
readonly type: "address";
|
|
277
|
+
readonly internalType: "address";
|
|
287
278
|
}];
|
|
288
279
|
readonly stateMutability: "view";
|
|
289
|
-
readonly type: "function";
|
|
290
280
|
}, {
|
|
281
|
+
readonly type: "function";
|
|
282
|
+
readonly name: "creditAccounts";
|
|
291
283
|
readonly inputs: readonly [{
|
|
292
|
-
readonly internalType: "uint256";
|
|
293
284
|
readonly name: "offset";
|
|
294
285
|
readonly type: "uint256";
|
|
295
|
-
}, {
|
|
296
286
|
readonly internalType: "uint256";
|
|
287
|
+
}, {
|
|
297
288
|
readonly name: "limit";
|
|
298
289
|
readonly type: "uint256";
|
|
290
|
+
readonly internalType: "uint256";
|
|
299
291
|
}];
|
|
300
|
-
readonly name: "creditAccounts";
|
|
301
292
|
readonly outputs: readonly [{
|
|
302
|
-
readonly internalType: "address[]";
|
|
303
293
|
readonly name: "";
|
|
304
294
|
readonly type: "address[]";
|
|
295
|
+
readonly internalType: "address[]";
|
|
305
296
|
}];
|
|
306
297
|
readonly stateMutability: "view";
|
|
307
|
-
readonly type: "function";
|
|
308
298
|
}, {
|
|
309
|
-
readonly
|
|
299
|
+
readonly type: "function";
|
|
310
300
|
readonly name: "creditAccounts";
|
|
301
|
+
readonly inputs: readonly [];
|
|
311
302
|
readonly outputs: readonly [{
|
|
312
|
-
readonly internalType: "address[]";
|
|
313
303
|
readonly name: "";
|
|
314
304
|
readonly type: "address[]";
|
|
305
|
+
readonly internalType: "address[]";
|
|
315
306
|
}];
|
|
316
307
|
readonly stateMutability: "view";
|
|
317
|
-
readonly type: "function";
|
|
318
308
|
}, {
|
|
319
|
-
readonly
|
|
309
|
+
readonly type: "function";
|
|
320
310
|
readonly name: "creditAccountsLen";
|
|
311
|
+
readonly inputs: readonly [];
|
|
321
312
|
readonly outputs: readonly [{
|
|
322
|
-
readonly internalType: "uint256";
|
|
323
313
|
readonly name: "";
|
|
324
314
|
readonly type: "uint256";
|
|
315
|
+
readonly internalType: "uint256";
|
|
325
316
|
}];
|
|
326
317
|
readonly stateMutability: "view";
|
|
327
|
-
readonly type: "function";
|
|
328
318
|
}, {
|
|
329
|
-
readonly
|
|
319
|
+
readonly type: "function";
|
|
330
320
|
readonly name: "creditConfigurator";
|
|
321
|
+
readonly inputs: readonly [];
|
|
331
322
|
readonly outputs: readonly [{
|
|
332
|
-
readonly internalType: "address";
|
|
333
323
|
readonly name: "";
|
|
334
324
|
readonly type: "address";
|
|
325
|
+
readonly internalType: "address";
|
|
335
326
|
}];
|
|
336
327
|
readonly stateMutability: "view";
|
|
337
|
-
readonly type: "function";
|
|
338
328
|
}, {
|
|
339
|
-
readonly
|
|
329
|
+
readonly type: "function";
|
|
340
330
|
readonly name: "creditFacade";
|
|
331
|
+
readonly inputs: readonly [];
|
|
341
332
|
readonly outputs: readonly [{
|
|
342
|
-
readonly internalType: "address";
|
|
343
333
|
readonly name: "";
|
|
344
334
|
readonly type: "address";
|
|
335
|
+
readonly internalType: "address";
|
|
345
336
|
}];
|
|
346
337
|
readonly stateMutability: "view";
|
|
347
|
-
readonly type: "function";
|
|
348
338
|
}, {
|
|
339
|
+
readonly type: "function";
|
|
340
|
+
readonly name: "enabledTokensMaskOf";
|
|
349
341
|
readonly inputs: readonly [{
|
|
350
|
-
readonly internalType: "address";
|
|
351
342
|
readonly name: "creditAccount";
|
|
352
343
|
readonly type: "address";
|
|
344
|
+
readonly internalType: "address";
|
|
353
345
|
}];
|
|
354
|
-
readonly name: "enabledTokensMaskOf";
|
|
355
346
|
readonly outputs: readonly [{
|
|
356
|
-
readonly internalType: "uint256";
|
|
357
347
|
readonly name: "";
|
|
358
348
|
readonly type: "uint256";
|
|
349
|
+
readonly internalType: "uint256";
|
|
359
350
|
}];
|
|
360
351
|
readonly stateMutability: "view";
|
|
361
|
-
readonly type: "function";
|
|
362
352
|
}, {
|
|
353
|
+
readonly type: "function";
|
|
354
|
+
readonly name: "execute";
|
|
363
355
|
readonly inputs: readonly [{
|
|
364
|
-
readonly internalType: "bytes";
|
|
365
356
|
readonly name: "data";
|
|
366
357
|
readonly type: "bytes";
|
|
358
|
+
readonly internalType: "bytes";
|
|
367
359
|
}];
|
|
368
|
-
readonly name: "execute";
|
|
369
360
|
readonly outputs: readonly [{
|
|
370
|
-
readonly internalType: "bytes";
|
|
371
361
|
readonly name: "result";
|
|
372
362
|
readonly type: "bytes";
|
|
363
|
+
readonly internalType: "bytes";
|
|
373
364
|
}];
|
|
374
365
|
readonly stateMutability: "nonpayable";
|
|
375
|
-
readonly type: "function";
|
|
376
366
|
}, {
|
|
367
|
+
readonly type: "function";
|
|
368
|
+
readonly name: "externalCall";
|
|
377
369
|
readonly inputs: readonly [{
|
|
378
|
-
readonly internalType: "address";
|
|
379
370
|
readonly name: "creditAccount";
|
|
380
371
|
readonly type: "address";
|
|
381
|
-
}, {
|
|
382
372
|
readonly internalType: "address";
|
|
373
|
+
}, {
|
|
383
374
|
readonly name: "target";
|
|
384
375
|
readonly type: "address";
|
|
376
|
+
readonly internalType: "address";
|
|
385
377
|
}, {
|
|
386
|
-
readonly internalType: "bytes";
|
|
387
378
|
readonly name: "callData";
|
|
388
379
|
readonly type: "bytes";
|
|
380
|
+
readonly internalType: "bytes";
|
|
389
381
|
}];
|
|
390
|
-
readonly name: "externalCall";
|
|
391
382
|
readonly outputs: readonly [{
|
|
392
|
-
readonly internalType: "bytes";
|
|
393
383
|
readonly name: "result";
|
|
394
384
|
readonly type: "bytes";
|
|
385
|
+
readonly internalType: "bytes";
|
|
395
386
|
}];
|
|
396
387
|
readonly stateMutability: "nonpayable";
|
|
397
|
-
readonly type: "function";
|
|
398
388
|
}, {
|
|
399
|
-
readonly
|
|
389
|
+
readonly type: "function";
|
|
400
390
|
readonly name: "fees";
|
|
391
|
+
readonly inputs: readonly [];
|
|
401
392
|
readonly outputs: readonly [{
|
|
402
|
-
readonly internalType: "uint16";
|
|
403
393
|
readonly name: "feeInterest";
|
|
404
394
|
readonly type: "uint16";
|
|
405
|
-
}, {
|
|
406
395
|
readonly internalType: "uint16";
|
|
396
|
+
}, {
|
|
407
397
|
readonly name: "feeLiquidation";
|
|
408
398
|
readonly type: "uint16";
|
|
409
|
-
}, {
|
|
410
399
|
readonly internalType: "uint16";
|
|
400
|
+
}, {
|
|
411
401
|
readonly name: "liquidationDiscount";
|
|
412
402
|
readonly type: "uint16";
|
|
413
|
-
}, {
|
|
414
403
|
readonly internalType: "uint16";
|
|
404
|
+
}, {
|
|
415
405
|
readonly name: "feeLiquidationExpired";
|
|
416
406
|
readonly type: "uint16";
|
|
417
|
-
}, {
|
|
418
407
|
readonly internalType: "uint16";
|
|
408
|
+
}, {
|
|
419
409
|
readonly name: "liquidationDiscountExpired";
|
|
420
410
|
readonly type: "uint16";
|
|
411
|
+
readonly internalType: "uint16";
|
|
421
412
|
}];
|
|
422
413
|
readonly stateMutability: "view";
|
|
423
|
-
readonly type: "function";
|
|
424
414
|
}, {
|
|
415
|
+
readonly type: "function";
|
|
416
|
+
readonly name: "flagsOf";
|
|
425
417
|
readonly inputs: readonly [{
|
|
426
|
-
readonly internalType: "address";
|
|
427
418
|
readonly name: "creditAccount";
|
|
428
419
|
readonly type: "address";
|
|
420
|
+
readonly internalType: "address";
|
|
429
421
|
}];
|
|
430
|
-
readonly name: "flagsOf";
|
|
431
422
|
readonly outputs: readonly [{
|
|
432
|
-
readonly internalType: "uint16";
|
|
433
423
|
readonly name: "";
|
|
434
424
|
readonly type: "uint16";
|
|
425
|
+
readonly internalType: "uint16";
|
|
435
426
|
}];
|
|
436
427
|
readonly stateMutability: "view";
|
|
437
|
-
readonly type: "function";
|
|
438
428
|
}, {
|
|
429
|
+
readonly type: "function";
|
|
430
|
+
readonly name: "fullCollateralCheck";
|
|
439
431
|
readonly inputs: readonly [{
|
|
440
|
-
readonly internalType: "address";
|
|
441
432
|
readonly name: "creditAccount";
|
|
442
433
|
readonly type: "address";
|
|
434
|
+
readonly internalType: "address";
|
|
443
435
|
}, {
|
|
444
|
-
readonly internalType: "uint256";
|
|
445
436
|
readonly name: "enabledTokensMask";
|
|
446
437
|
readonly type: "uint256";
|
|
438
|
+
readonly internalType: "uint256";
|
|
447
439
|
}, {
|
|
448
|
-
readonly internalType: "uint256[]";
|
|
449
440
|
readonly name: "collateralHints";
|
|
450
441
|
readonly type: "uint256[]";
|
|
442
|
+
readonly internalType: "uint256[]";
|
|
451
443
|
}, {
|
|
452
|
-
readonly internalType: "uint16";
|
|
453
444
|
readonly name: "minHealthFactor";
|
|
454
445
|
readonly type: "uint16";
|
|
446
|
+
readonly internalType: "uint16";
|
|
455
447
|
}, {
|
|
456
|
-
readonly internalType: "bool";
|
|
457
448
|
readonly name: "useSafePrices";
|
|
458
449
|
readonly type: "bool";
|
|
450
|
+
readonly internalType: "bool";
|
|
459
451
|
}];
|
|
460
|
-
readonly name: "fullCollateralCheck";
|
|
461
452
|
readonly outputs: readonly [{
|
|
462
|
-
readonly internalType: "uint256";
|
|
463
453
|
readonly name: "enabledTokensMaskAfter";
|
|
464
454
|
readonly type: "uint256";
|
|
455
|
+
readonly internalType: "uint256";
|
|
465
456
|
}];
|
|
466
457
|
readonly stateMutability: "nonpayable";
|
|
467
|
-
readonly type: "function";
|
|
468
458
|
}, {
|
|
469
|
-
readonly
|
|
459
|
+
readonly type: "function";
|
|
470
460
|
readonly name: "getActiveCreditAccountOrRevert";
|
|
461
|
+
readonly inputs: readonly [];
|
|
471
462
|
readonly outputs: readonly [{
|
|
472
|
-
readonly internalType: "address";
|
|
473
463
|
readonly name: "creditAccount";
|
|
474
464
|
readonly type: "address";
|
|
465
|
+
readonly internalType: "address";
|
|
475
466
|
}];
|
|
476
467
|
readonly stateMutability: "view";
|
|
477
|
-
readonly type: "function";
|
|
478
468
|
}, {
|
|
469
|
+
readonly type: "function";
|
|
470
|
+
readonly name: "getBorrowerOrRevert";
|
|
479
471
|
readonly inputs: readonly [{
|
|
480
|
-
readonly internalType: "address";
|
|
481
472
|
readonly name: "creditAccount";
|
|
482
473
|
readonly type: "address";
|
|
474
|
+
readonly internalType: "address";
|
|
483
475
|
}];
|
|
484
|
-
readonly name: "getBorrowerOrRevert";
|
|
485
476
|
readonly outputs: readonly [{
|
|
486
|
-
readonly internalType: "address";
|
|
487
477
|
readonly name: "borrower";
|
|
488
478
|
readonly type: "address";
|
|
479
|
+
readonly internalType: "address";
|
|
489
480
|
}];
|
|
490
481
|
readonly stateMutability: "view";
|
|
491
|
-
readonly type: "function";
|
|
492
482
|
}, {
|
|
483
|
+
readonly type: "function";
|
|
484
|
+
readonly name: "getTokenByMask";
|
|
493
485
|
readonly inputs: readonly [{
|
|
494
|
-
readonly internalType: "uint256";
|
|
495
486
|
readonly name: "tokenMask";
|
|
496
487
|
readonly type: "uint256";
|
|
488
|
+
readonly internalType: "uint256";
|
|
497
489
|
}];
|
|
498
|
-
readonly name: "getTokenByMask";
|
|
499
490
|
readonly outputs: readonly [{
|
|
500
|
-
readonly internalType: "address";
|
|
501
491
|
readonly name: "token";
|
|
502
492
|
readonly type: "address";
|
|
493
|
+
readonly internalType: "address";
|
|
503
494
|
}];
|
|
504
495
|
readonly stateMutability: "view";
|
|
505
|
-
readonly type: "function";
|
|
506
496
|
}, {
|
|
497
|
+
readonly type: "function";
|
|
498
|
+
readonly name: "getTokenMaskOrRevert";
|
|
507
499
|
readonly inputs: readonly [{
|
|
508
|
-
readonly internalType: "address";
|
|
509
500
|
readonly name: "token";
|
|
510
501
|
readonly type: "address";
|
|
502
|
+
readonly internalType: "address";
|
|
511
503
|
}];
|
|
512
|
-
readonly name: "getTokenMaskOrRevert";
|
|
513
504
|
readonly outputs: readonly [{
|
|
514
|
-
readonly internalType: "uint256";
|
|
515
505
|
readonly name: "tokenMask";
|
|
516
506
|
readonly type: "uint256";
|
|
507
|
+
readonly internalType: "uint256";
|
|
517
508
|
}];
|
|
518
509
|
readonly stateMutability: "view";
|
|
519
|
-
readonly type: "function";
|
|
520
510
|
}, {
|
|
511
|
+
readonly type: "function";
|
|
512
|
+
readonly name: "isLiquidatable";
|
|
521
513
|
readonly inputs: readonly [{
|
|
522
|
-
readonly internalType: "address";
|
|
523
514
|
readonly name: "creditAccount";
|
|
524
515
|
readonly type: "address";
|
|
516
|
+
readonly internalType: "address";
|
|
525
517
|
}, {
|
|
526
|
-
readonly internalType: "uint16";
|
|
527
518
|
readonly name: "minHealthFactor";
|
|
528
519
|
readonly type: "uint16";
|
|
520
|
+
readonly internalType: "uint16";
|
|
529
521
|
}];
|
|
530
|
-
readonly name: "isLiquidatable";
|
|
531
522
|
readonly outputs: readonly [{
|
|
532
|
-
readonly internalType: "bool";
|
|
533
523
|
readonly name: "";
|
|
534
524
|
readonly type: "bool";
|
|
525
|
+
readonly internalType: "bool";
|
|
535
526
|
}];
|
|
536
527
|
readonly stateMutability: "view";
|
|
537
|
-
readonly type: "function";
|
|
538
528
|
}, {
|
|
529
|
+
readonly type: "function";
|
|
530
|
+
readonly name: "liquidateCreditAccount";
|
|
539
531
|
readonly inputs: readonly [{
|
|
540
|
-
readonly internalType: "address";
|
|
541
532
|
readonly name: "creditAccount";
|
|
542
533
|
readonly type: "address";
|
|
534
|
+
readonly internalType: "address";
|
|
543
535
|
}, {
|
|
536
|
+
readonly name: "collateralDebtData";
|
|
537
|
+
readonly type: "tuple";
|
|
538
|
+
readonly internalType: "struct CollateralDebtData";
|
|
544
539
|
readonly components: readonly [{
|
|
545
|
-
readonly internalType: "uint256";
|
|
546
540
|
readonly name: "debt";
|
|
547
541
|
readonly type: "uint256";
|
|
548
|
-
}, {
|
|
549
542
|
readonly internalType: "uint256";
|
|
543
|
+
}, {
|
|
550
544
|
readonly name: "cumulativeIndexNow";
|
|
551
545
|
readonly type: "uint256";
|
|
552
|
-
}, {
|
|
553
546
|
readonly internalType: "uint256";
|
|
547
|
+
}, {
|
|
554
548
|
readonly name: "cumulativeIndexLastUpdate";
|
|
555
549
|
readonly type: "uint256";
|
|
550
|
+
readonly internalType: "uint256";
|
|
556
551
|
}, {
|
|
557
|
-
readonly internalType: "uint128";
|
|
558
552
|
readonly name: "cumulativeQuotaInterest";
|
|
559
553
|
readonly type: "uint128";
|
|
554
|
+
readonly internalType: "uint128";
|
|
560
555
|
}, {
|
|
561
|
-
readonly internalType: "uint256";
|
|
562
556
|
readonly name: "accruedInterest";
|
|
563
557
|
readonly type: "uint256";
|
|
564
|
-
}, {
|
|
565
558
|
readonly internalType: "uint256";
|
|
559
|
+
}, {
|
|
566
560
|
readonly name: "accruedFees";
|
|
567
561
|
readonly type: "uint256";
|
|
568
|
-
}, {
|
|
569
562
|
readonly internalType: "uint256";
|
|
563
|
+
}, {
|
|
570
564
|
readonly name: "totalDebtUSD";
|
|
571
565
|
readonly type: "uint256";
|
|
572
|
-
}, {
|
|
573
566
|
readonly internalType: "uint256";
|
|
567
|
+
}, {
|
|
574
568
|
readonly name: "totalValue";
|
|
575
569
|
readonly type: "uint256";
|
|
576
|
-
}, {
|
|
577
570
|
readonly internalType: "uint256";
|
|
571
|
+
}, {
|
|
578
572
|
readonly name: "totalValueUSD";
|
|
579
573
|
readonly type: "uint256";
|
|
580
|
-
}, {
|
|
581
574
|
readonly internalType: "uint256";
|
|
575
|
+
}, {
|
|
582
576
|
readonly name: "twvUSD";
|
|
583
577
|
readonly type: "uint256";
|
|
584
|
-
}, {
|
|
585
578
|
readonly internalType: "uint256";
|
|
579
|
+
}, {
|
|
586
580
|
readonly name: "enabledTokensMask";
|
|
587
581
|
readonly type: "uint256";
|
|
588
|
-
}, {
|
|
589
582
|
readonly internalType: "uint256";
|
|
583
|
+
}, {
|
|
590
584
|
readonly name: "quotedTokensMask";
|
|
591
585
|
readonly type: "uint256";
|
|
586
|
+
readonly internalType: "uint256";
|
|
592
587
|
}, {
|
|
593
|
-
readonly internalType: "address[]";
|
|
594
588
|
readonly name: "quotedTokens";
|
|
595
589
|
readonly type: "address[]";
|
|
590
|
+
readonly internalType: "address[]";
|
|
596
591
|
}, {
|
|
597
|
-
readonly internalType: "address";
|
|
598
592
|
readonly name: "_poolQuotaKeeper";
|
|
599
593
|
readonly type: "address";
|
|
594
|
+
readonly internalType: "address";
|
|
600
595
|
}];
|
|
601
|
-
readonly internalType: "struct CollateralDebtData";
|
|
602
|
-
readonly name: "collateralDebtData";
|
|
603
|
-
readonly type: "tuple";
|
|
604
596
|
}, {
|
|
605
|
-
readonly internalType: "address";
|
|
606
597
|
readonly name: "to";
|
|
607
598
|
readonly type: "address";
|
|
599
|
+
readonly internalType: "address";
|
|
608
600
|
}, {
|
|
609
|
-
readonly internalType: "bool";
|
|
610
601
|
readonly name: "isExpired";
|
|
611
602
|
readonly type: "bool";
|
|
603
|
+
readonly internalType: "bool";
|
|
612
604
|
}];
|
|
613
|
-
readonly name: "liquidateCreditAccount";
|
|
614
605
|
readonly outputs: readonly [{
|
|
615
|
-
readonly internalType: "uint256";
|
|
616
606
|
readonly name: "remainingFunds";
|
|
617
607
|
readonly type: "uint256";
|
|
618
|
-
}, {
|
|
619
608
|
readonly internalType: "uint256";
|
|
609
|
+
}, {
|
|
620
610
|
readonly name: "loss";
|
|
621
611
|
readonly type: "uint256";
|
|
612
|
+
readonly internalType: "uint256";
|
|
622
613
|
}];
|
|
623
614
|
readonly stateMutability: "nonpayable";
|
|
624
|
-
readonly type: "function";
|
|
625
615
|
}, {
|
|
616
|
+
readonly type: "function";
|
|
617
|
+
readonly name: "liquidationThresholds";
|
|
626
618
|
readonly inputs: readonly [{
|
|
627
|
-
readonly internalType: "address";
|
|
628
619
|
readonly name: "token";
|
|
629
620
|
readonly type: "address";
|
|
621
|
+
readonly internalType: "address";
|
|
630
622
|
}];
|
|
631
|
-
readonly name: "liquidationThresholds";
|
|
632
623
|
readonly outputs: readonly [{
|
|
633
|
-
readonly internalType: "uint16";
|
|
634
624
|
readonly name: "lt";
|
|
635
625
|
readonly type: "uint16";
|
|
626
|
+
readonly internalType: "uint16";
|
|
636
627
|
}];
|
|
637
628
|
readonly stateMutability: "view";
|
|
638
|
-
readonly type: "function";
|
|
639
629
|
}, {
|
|
630
|
+
readonly type: "function";
|
|
631
|
+
readonly name: "ltParams";
|
|
640
632
|
readonly inputs: readonly [{
|
|
641
|
-
readonly internalType: "address";
|
|
642
633
|
readonly name: "token";
|
|
643
634
|
readonly type: "address";
|
|
635
|
+
readonly internalType: "address";
|
|
644
636
|
}];
|
|
645
|
-
readonly name: "ltParams";
|
|
646
637
|
readonly outputs: readonly [{
|
|
647
|
-
readonly internalType: "uint16";
|
|
648
638
|
readonly name: "ltInitial";
|
|
649
639
|
readonly type: "uint16";
|
|
650
|
-
}, {
|
|
651
640
|
readonly internalType: "uint16";
|
|
641
|
+
}, {
|
|
652
642
|
readonly name: "ltFinal";
|
|
653
643
|
readonly type: "uint16";
|
|
644
|
+
readonly internalType: "uint16";
|
|
654
645
|
}, {
|
|
655
|
-
readonly internalType: "uint40";
|
|
656
646
|
readonly name: "timestampRampStart";
|
|
657
647
|
readonly type: "uint40";
|
|
648
|
+
readonly internalType: "uint40";
|
|
658
649
|
}, {
|
|
659
|
-
readonly internalType: "uint24";
|
|
660
650
|
readonly name: "rampDuration";
|
|
661
651
|
readonly type: "uint24";
|
|
652
|
+
readonly internalType: "uint24";
|
|
662
653
|
}];
|
|
663
654
|
readonly stateMutability: "view";
|
|
664
|
-
readonly type: "function";
|
|
665
655
|
}, {
|
|
656
|
+
readonly type: "function";
|
|
657
|
+
readonly name: "manageDebt";
|
|
666
658
|
readonly inputs: readonly [{
|
|
667
|
-
readonly internalType: "address";
|
|
668
659
|
readonly name: "creditAccount";
|
|
669
660
|
readonly type: "address";
|
|
661
|
+
readonly internalType: "address";
|
|
670
662
|
}, {
|
|
671
|
-
readonly internalType: "uint256";
|
|
672
663
|
readonly name: "amount";
|
|
673
664
|
readonly type: "uint256";
|
|
674
|
-
}, {
|
|
675
665
|
readonly internalType: "uint256";
|
|
666
|
+
}, {
|
|
676
667
|
readonly name: "enabledTokensMask";
|
|
677
668
|
readonly type: "uint256";
|
|
669
|
+
readonly internalType: "uint256";
|
|
678
670
|
}, {
|
|
679
|
-
readonly internalType: "enum ManageDebtAction";
|
|
680
671
|
readonly name: "action";
|
|
681
672
|
readonly type: "uint8";
|
|
673
|
+
readonly internalType: "enum ManageDebtAction";
|
|
682
674
|
}];
|
|
683
|
-
readonly name: "manageDebt";
|
|
684
675
|
readonly outputs: readonly [{
|
|
685
|
-
readonly internalType: "uint256";
|
|
686
676
|
readonly name: "newDebt";
|
|
687
677
|
readonly type: "uint256";
|
|
688
|
-
}, {
|
|
689
678
|
readonly internalType: "uint256";
|
|
679
|
+
}, {
|
|
690
680
|
readonly name: "tokensToEnable";
|
|
691
681
|
readonly type: "uint256";
|
|
692
|
-
}, {
|
|
693
682
|
readonly internalType: "uint256";
|
|
683
|
+
}, {
|
|
694
684
|
readonly name: "tokensToDisable";
|
|
695
685
|
readonly type: "uint256";
|
|
686
|
+
readonly internalType: "uint256";
|
|
696
687
|
}];
|
|
697
688
|
readonly stateMutability: "nonpayable";
|
|
698
|
-
readonly type: "function";
|
|
699
689
|
}, {
|
|
700
|
-
readonly
|
|
690
|
+
readonly type: "function";
|
|
701
691
|
readonly name: "maxEnabledTokens";
|
|
692
|
+
readonly inputs: readonly [];
|
|
702
693
|
readonly outputs: readonly [{
|
|
703
|
-
readonly internalType: "uint8";
|
|
704
694
|
readonly name: "";
|
|
705
695
|
readonly type: "uint8";
|
|
696
|
+
readonly internalType: "uint8";
|
|
706
697
|
}];
|
|
707
698
|
readonly stateMutability: "view";
|
|
708
|
-
readonly type: "function";
|
|
709
699
|
}, {
|
|
710
|
-
readonly
|
|
700
|
+
readonly type: "function";
|
|
711
701
|
readonly name: "name";
|
|
702
|
+
readonly inputs: readonly [];
|
|
712
703
|
readonly outputs: readonly [{
|
|
713
|
-
readonly internalType: "string";
|
|
714
704
|
readonly name: "";
|
|
715
705
|
readonly type: "string";
|
|
706
|
+
readonly internalType: "string";
|
|
716
707
|
}];
|
|
717
708
|
readonly stateMutability: "view";
|
|
718
|
-
readonly type: "function";
|
|
719
709
|
}, {
|
|
710
|
+
readonly type: "function";
|
|
711
|
+
readonly name: "openCreditAccount";
|
|
720
712
|
readonly inputs: readonly [{
|
|
721
|
-
readonly internalType: "address";
|
|
722
713
|
readonly name: "onBehalfOf";
|
|
723
714
|
readonly type: "address";
|
|
715
|
+
readonly internalType: "address";
|
|
724
716
|
}];
|
|
725
|
-
readonly name: "openCreditAccount";
|
|
726
717
|
readonly outputs: readonly [{
|
|
727
|
-
readonly internalType: "address";
|
|
728
718
|
readonly name: "";
|
|
729
719
|
readonly type: "address";
|
|
720
|
+
readonly internalType: "address";
|
|
730
721
|
}];
|
|
731
722
|
readonly stateMutability: "nonpayable";
|
|
732
|
-
readonly type: "function";
|
|
733
723
|
}, {
|
|
734
|
-
readonly
|
|
724
|
+
readonly type: "function";
|
|
735
725
|
readonly name: "pool";
|
|
726
|
+
readonly inputs: readonly [];
|
|
736
727
|
readonly outputs: readonly [{
|
|
737
|
-
readonly internalType: "address";
|
|
738
728
|
readonly name: "";
|
|
739
729
|
readonly type: "address";
|
|
730
|
+
readonly internalType: "address";
|
|
740
731
|
}];
|
|
741
732
|
readonly stateMutability: "view";
|
|
742
|
-
readonly type: "function";
|
|
743
733
|
}, {
|
|
744
|
-
readonly
|
|
734
|
+
readonly type: "function";
|
|
745
735
|
readonly name: "poolQuotaKeeper";
|
|
736
|
+
readonly inputs: readonly [];
|
|
746
737
|
readonly outputs: readonly [{
|
|
747
|
-
readonly internalType: "address";
|
|
748
738
|
readonly name: "";
|
|
749
739
|
readonly type: "address";
|
|
740
|
+
readonly internalType: "address";
|
|
750
741
|
}];
|
|
751
742
|
readonly stateMutability: "view";
|
|
752
|
-
readonly type: "function";
|
|
753
743
|
}, {
|
|
754
|
-
readonly
|
|
744
|
+
readonly type: "function";
|
|
755
745
|
readonly name: "priceOracle";
|
|
746
|
+
readonly inputs: readonly [];
|
|
756
747
|
readonly outputs: readonly [{
|
|
757
|
-
readonly internalType: "address";
|
|
758
748
|
readonly name: "";
|
|
759
749
|
readonly type: "address";
|
|
750
|
+
readonly internalType: "address";
|
|
760
751
|
}];
|
|
761
752
|
readonly stateMutability: "view";
|
|
762
|
-
readonly type: "function";
|
|
763
753
|
}, {
|
|
764
|
-
readonly
|
|
754
|
+
readonly type: "function";
|
|
765
755
|
readonly name: "quotedTokensMask";
|
|
756
|
+
readonly inputs: readonly [];
|
|
766
757
|
readonly outputs: readonly [{
|
|
767
|
-
readonly internalType: "uint256";
|
|
768
758
|
readonly name: "";
|
|
769
759
|
readonly type: "uint256";
|
|
760
|
+
readonly internalType: "uint256";
|
|
770
761
|
}];
|
|
771
762
|
readonly stateMutability: "view";
|
|
772
|
-
readonly type: "function";
|
|
773
763
|
}, {
|
|
764
|
+
readonly type: "function";
|
|
765
|
+
readonly name: "revokeAdapterAllowances";
|
|
774
766
|
readonly inputs: readonly [{
|
|
775
|
-
readonly internalType: "address";
|
|
776
767
|
readonly name: "creditAccount";
|
|
777
768
|
readonly type: "address";
|
|
769
|
+
readonly internalType: "address";
|
|
778
770
|
}, {
|
|
771
|
+
readonly name: "revocations";
|
|
772
|
+
readonly type: "tuple[]";
|
|
773
|
+
readonly internalType: "struct RevocationPair[]";
|
|
779
774
|
readonly components: readonly [{
|
|
780
|
-
readonly internalType: "address";
|
|
781
775
|
readonly name: "spender";
|
|
782
776
|
readonly type: "address";
|
|
783
|
-
}, {
|
|
784
777
|
readonly internalType: "address";
|
|
778
|
+
}, {
|
|
785
779
|
readonly name: "token";
|
|
786
780
|
readonly type: "address";
|
|
781
|
+
readonly internalType: "address";
|
|
787
782
|
}];
|
|
788
|
-
readonly internalType: "struct RevocationPair[]";
|
|
789
|
-
readonly name: "revocations";
|
|
790
|
-
readonly type: "tuple[]";
|
|
791
783
|
}];
|
|
792
|
-
readonly name: "revokeAdapterAllowances";
|
|
793
784
|
readonly outputs: readonly [];
|
|
794
785
|
readonly stateMutability: "nonpayable";
|
|
795
|
-
readonly type: "function";
|
|
796
786
|
}, {
|
|
787
|
+
readonly type: "function";
|
|
788
|
+
readonly name: "setActiveCreditAccount";
|
|
797
789
|
readonly inputs: readonly [{
|
|
798
|
-
readonly internalType: "address";
|
|
799
790
|
readonly name: "creditAccount";
|
|
800
791
|
readonly type: "address";
|
|
792
|
+
readonly internalType: "address";
|
|
801
793
|
}];
|
|
802
|
-
readonly name: "setActiveCreditAccount";
|
|
803
794
|
readonly outputs: readonly [];
|
|
804
795
|
readonly stateMutability: "nonpayable";
|
|
805
|
-
readonly type: "function";
|
|
806
796
|
}, {
|
|
797
|
+
readonly type: "function";
|
|
798
|
+
readonly name: "setCollateralTokenData";
|
|
807
799
|
readonly inputs: readonly [{
|
|
808
|
-
readonly internalType: "address";
|
|
809
800
|
readonly name: "token";
|
|
810
801
|
readonly type: "address";
|
|
802
|
+
readonly internalType: "address";
|
|
811
803
|
}, {
|
|
812
|
-
readonly internalType: "uint16";
|
|
813
804
|
readonly name: "ltInitial";
|
|
814
805
|
readonly type: "uint16";
|
|
815
|
-
}, {
|
|
816
806
|
readonly internalType: "uint16";
|
|
807
|
+
}, {
|
|
817
808
|
readonly name: "ltFinal";
|
|
818
809
|
readonly type: "uint16";
|
|
810
|
+
readonly internalType: "uint16";
|
|
819
811
|
}, {
|
|
820
|
-
readonly internalType: "uint40";
|
|
821
812
|
readonly name: "timestampRampStart";
|
|
822
813
|
readonly type: "uint40";
|
|
814
|
+
readonly internalType: "uint40";
|
|
823
815
|
}, {
|
|
824
|
-
readonly internalType: "uint24";
|
|
825
816
|
readonly name: "rampDuration";
|
|
826
817
|
readonly type: "uint24";
|
|
818
|
+
readonly internalType: "uint24";
|
|
827
819
|
}];
|
|
828
|
-
readonly name: "setCollateralTokenData";
|
|
829
820
|
readonly outputs: readonly [];
|
|
830
821
|
readonly stateMutability: "nonpayable";
|
|
831
|
-
readonly type: "function";
|
|
832
822
|
}, {
|
|
823
|
+
readonly type: "function";
|
|
824
|
+
readonly name: "setContractAllowance";
|
|
833
825
|
readonly inputs: readonly [{
|
|
834
|
-
readonly internalType: "address";
|
|
835
826
|
readonly name: "adapter";
|
|
836
827
|
readonly type: "address";
|
|
837
|
-
}, {
|
|
838
828
|
readonly internalType: "address";
|
|
829
|
+
}, {
|
|
839
830
|
readonly name: "targetContract";
|
|
840
831
|
readonly type: "address";
|
|
832
|
+
readonly internalType: "address";
|
|
841
833
|
}];
|
|
842
|
-
readonly name: "setContractAllowance";
|
|
843
834
|
readonly outputs: readonly [];
|
|
844
835
|
readonly stateMutability: "nonpayable";
|
|
845
|
-
readonly type: "function";
|
|
846
836
|
}, {
|
|
837
|
+
readonly type: "function";
|
|
838
|
+
readonly name: "setCreditConfigurator";
|
|
847
839
|
readonly inputs: readonly [{
|
|
848
|
-
readonly internalType: "address";
|
|
849
840
|
readonly name: "creditConfigurator";
|
|
850
841
|
readonly type: "address";
|
|
842
|
+
readonly internalType: "address";
|
|
851
843
|
}];
|
|
852
|
-
readonly name: "setCreditConfigurator";
|
|
853
844
|
readonly outputs: readonly [];
|
|
854
845
|
readonly stateMutability: "nonpayable";
|
|
855
|
-
readonly type: "function";
|
|
856
846
|
}, {
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
readonly name: "setCreditFacade";
|
|
857
849
|
readonly inputs: readonly [{
|
|
858
|
-
readonly internalType: "address";
|
|
859
850
|
readonly name: "creditFacade";
|
|
860
851
|
readonly type: "address";
|
|
852
|
+
readonly internalType: "address";
|
|
861
853
|
}];
|
|
862
|
-
readonly name: "setCreditFacade";
|
|
863
854
|
readonly outputs: readonly [];
|
|
864
855
|
readonly stateMutability: "nonpayable";
|
|
865
|
-
readonly type: "function";
|
|
866
856
|
}, {
|
|
857
|
+
readonly type: "function";
|
|
858
|
+
readonly name: "setFees";
|
|
867
859
|
readonly inputs: readonly [{
|
|
868
|
-
readonly internalType: "uint16";
|
|
869
860
|
readonly name: "feeInterest";
|
|
870
861
|
readonly type: "uint16";
|
|
871
|
-
}, {
|
|
872
862
|
readonly internalType: "uint16";
|
|
863
|
+
}, {
|
|
873
864
|
readonly name: "feeLiquidation";
|
|
874
865
|
readonly type: "uint16";
|
|
875
|
-
}, {
|
|
876
866
|
readonly internalType: "uint16";
|
|
867
|
+
}, {
|
|
877
868
|
readonly name: "liquidationDiscount";
|
|
878
869
|
readonly type: "uint16";
|
|
879
|
-
}, {
|
|
880
870
|
readonly internalType: "uint16";
|
|
871
|
+
}, {
|
|
881
872
|
readonly name: "feeLiquidationExpired";
|
|
882
873
|
readonly type: "uint16";
|
|
883
|
-
}, {
|
|
884
874
|
readonly internalType: "uint16";
|
|
875
|
+
}, {
|
|
885
876
|
readonly name: "liquidationDiscountExpired";
|
|
886
877
|
readonly type: "uint16";
|
|
878
|
+
readonly internalType: "uint16";
|
|
887
879
|
}];
|
|
888
|
-
readonly name: "setFees";
|
|
889
880
|
readonly outputs: readonly [];
|
|
890
881
|
readonly stateMutability: "nonpayable";
|
|
891
|
-
readonly type: "function";
|
|
892
882
|
}, {
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
readonly name: "setFlagFor";
|
|
893
885
|
readonly inputs: readonly [{
|
|
894
|
-
readonly internalType: "address";
|
|
895
886
|
readonly name: "creditAccount";
|
|
896
887
|
readonly type: "address";
|
|
888
|
+
readonly internalType: "address";
|
|
897
889
|
}, {
|
|
898
|
-
readonly internalType: "uint16";
|
|
899
890
|
readonly name: "flag";
|
|
900
891
|
readonly type: "uint16";
|
|
892
|
+
readonly internalType: "uint16";
|
|
901
893
|
}, {
|
|
902
|
-
readonly internalType: "bool";
|
|
903
894
|
readonly name: "value";
|
|
904
895
|
readonly type: "bool";
|
|
896
|
+
readonly internalType: "bool";
|
|
905
897
|
}];
|
|
906
|
-
readonly name: "setFlagFor";
|
|
907
898
|
readonly outputs: readonly [];
|
|
908
899
|
readonly stateMutability: "nonpayable";
|
|
909
|
-
readonly type: "function";
|
|
910
900
|
}, {
|
|
901
|
+
readonly type: "function";
|
|
902
|
+
readonly name: "setMaxEnabledTokens";
|
|
911
903
|
readonly inputs: readonly [{
|
|
912
|
-
readonly internalType: "uint8";
|
|
913
904
|
readonly name: "maxEnabledTokens";
|
|
914
905
|
readonly type: "uint8";
|
|
906
|
+
readonly internalType: "uint8";
|
|
915
907
|
}];
|
|
916
|
-
readonly name: "setMaxEnabledTokens";
|
|
917
908
|
readonly outputs: readonly [];
|
|
918
909
|
readonly stateMutability: "nonpayable";
|
|
919
|
-
readonly type: "function";
|
|
920
910
|
}, {
|
|
911
|
+
readonly type: "function";
|
|
912
|
+
readonly name: "setPriceOracle";
|
|
921
913
|
readonly inputs: readonly [{
|
|
922
|
-
readonly internalType: "address";
|
|
923
914
|
readonly name: "priceOracle";
|
|
924
915
|
readonly type: "address";
|
|
916
|
+
readonly internalType: "address";
|
|
925
917
|
}];
|
|
926
|
-
readonly name: "setPriceOracle";
|
|
927
918
|
readonly outputs: readonly [];
|
|
928
919
|
readonly stateMutability: "nonpayable";
|
|
929
|
-
readonly type: "function";
|
|
930
920
|
}, {
|
|
921
|
+
readonly type: "function";
|
|
922
|
+
readonly name: "setQuotedMask";
|
|
931
923
|
readonly inputs: readonly [{
|
|
932
|
-
readonly internalType: "uint256";
|
|
933
924
|
readonly name: "quotedTokensMask";
|
|
934
925
|
readonly type: "uint256";
|
|
926
|
+
readonly internalType: "uint256";
|
|
935
927
|
}];
|
|
936
|
-
readonly name: "setQuotedMask";
|
|
937
928
|
readonly outputs: readonly [];
|
|
938
929
|
readonly stateMutability: "nonpayable";
|
|
939
|
-
readonly type: "function";
|
|
940
930
|
}, {
|
|
941
|
-
readonly
|
|
931
|
+
readonly type: "function";
|
|
942
932
|
readonly name: "underlying";
|
|
933
|
+
readonly inputs: readonly [];
|
|
943
934
|
readonly outputs: readonly [{
|
|
944
|
-
readonly internalType: "address";
|
|
945
935
|
readonly name: "";
|
|
946
936
|
readonly type: "address";
|
|
937
|
+
readonly internalType: "address";
|
|
947
938
|
}];
|
|
948
939
|
readonly stateMutability: "view";
|
|
949
|
-
readonly type: "function";
|
|
950
940
|
}, {
|
|
941
|
+
readonly type: "function";
|
|
942
|
+
readonly name: "updateQuota";
|
|
951
943
|
readonly inputs: readonly [{
|
|
952
|
-
readonly internalType: "address";
|
|
953
944
|
readonly name: "creditAccount";
|
|
954
945
|
readonly type: "address";
|
|
955
|
-
}, {
|
|
956
946
|
readonly internalType: "address";
|
|
947
|
+
}, {
|
|
957
948
|
readonly name: "token";
|
|
958
949
|
readonly type: "address";
|
|
950
|
+
readonly internalType: "address";
|
|
959
951
|
}, {
|
|
960
|
-
readonly internalType: "int96";
|
|
961
952
|
readonly name: "quotaChange";
|
|
962
953
|
readonly type: "int96";
|
|
954
|
+
readonly internalType: "int96";
|
|
963
955
|
}, {
|
|
964
|
-
readonly internalType: "uint96";
|
|
965
956
|
readonly name: "minQuota";
|
|
966
957
|
readonly type: "uint96";
|
|
967
|
-
}, {
|
|
968
958
|
readonly internalType: "uint96";
|
|
959
|
+
}, {
|
|
969
960
|
readonly name: "maxQuota";
|
|
970
961
|
readonly type: "uint96";
|
|
962
|
+
readonly internalType: "uint96";
|
|
971
963
|
}];
|
|
972
|
-
readonly name: "updateQuota";
|
|
973
964
|
readonly outputs: readonly [{
|
|
974
|
-
readonly internalType: "uint256";
|
|
975
965
|
readonly name: "tokensToEnable";
|
|
976
966
|
readonly type: "uint256";
|
|
977
|
-
}, {
|
|
978
967
|
readonly internalType: "uint256";
|
|
968
|
+
}, {
|
|
979
969
|
readonly name: "tokensToDisable";
|
|
980
970
|
readonly type: "uint256";
|
|
971
|
+
readonly internalType: "uint256";
|
|
981
972
|
}];
|
|
982
973
|
readonly stateMutability: "nonpayable";
|
|
983
|
-
readonly type: "function";
|
|
984
974
|
}, {
|
|
985
|
-
readonly
|
|
975
|
+
readonly type: "function";
|
|
986
976
|
readonly name: "version";
|
|
977
|
+
readonly inputs: readonly [];
|
|
987
978
|
readonly outputs: readonly [{
|
|
988
|
-
readonly internalType: "uint256";
|
|
989
979
|
readonly name: "";
|
|
990
980
|
readonly type: "uint256";
|
|
981
|
+
readonly internalType: "uint256";
|
|
991
982
|
}];
|
|
992
983
|
readonly stateMutability: "view";
|
|
993
|
-
readonly type: "function";
|
|
994
984
|
}, {
|
|
985
|
+
readonly type: "function";
|
|
986
|
+
readonly name: "withdrawCollateral";
|
|
995
987
|
readonly inputs: readonly [{
|
|
996
|
-
readonly internalType: "address";
|
|
997
988
|
readonly name: "creditAccount";
|
|
998
989
|
readonly type: "address";
|
|
999
|
-
}, {
|
|
1000
990
|
readonly internalType: "address";
|
|
991
|
+
}, {
|
|
1001
992
|
readonly name: "token";
|
|
1002
993
|
readonly type: "address";
|
|
994
|
+
readonly internalType: "address";
|
|
1003
995
|
}, {
|
|
1004
|
-
readonly internalType: "uint256";
|
|
1005
996
|
readonly name: "amount";
|
|
1006
997
|
readonly type: "uint256";
|
|
998
|
+
readonly internalType: "uint256";
|
|
1007
999
|
}, {
|
|
1008
|
-
readonly internalType: "address";
|
|
1009
1000
|
readonly name: "to";
|
|
1010
1001
|
readonly type: "address";
|
|
1002
|
+
readonly internalType: "address";
|
|
1011
1003
|
}];
|
|
1012
|
-
readonly name: "withdrawCollateral";
|
|
1013
1004
|
readonly outputs: readonly [{
|
|
1014
|
-
readonly internalType: "uint256";
|
|
1015
1005
|
readonly name: "tokensToDisable";
|
|
1016
1006
|
readonly type: "uint256";
|
|
1007
|
+
readonly internalType: "uint256";
|
|
1017
1008
|
}];
|
|
1018
1009
|
readonly stateMutability: "nonpayable";
|
|
1019
|
-
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly type: "event";
|
|
1012
|
+
readonly name: "SetCreditConfigurator";
|
|
1013
|
+
readonly inputs: readonly [{
|
|
1014
|
+
readonly name: "newConfigurator";
|
|
1015
|
+
readonly type: "address";
|
|
1016
|
+
readonly indexed: true;
|
|
1017
|
+
readonly internalType: "address";
|
|
1018
|
+
}];
|
|
1019
|
+
readonly anonymous: false;
|
|
1020
1020
|
}];
|
|
1021
1021
|
static createInterface(): ICreditManagerV3Interface;
|
|
1022
1022
|
static connect(address: string, signerOrProvider: Signer | Provider): ICreditManagerV3;
|