@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,898 +3,898 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { ICreditFacadeV2, ICreditFacadeV2Interface } from "../../ICreditFacadeV2.sol/ICreditFacadeV2";
|
|
4
4
|
export declare class ICreditFacadeV2__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly
|
|
7
|
-
readonly name: "
|
|
8
|
-
readonly type: "error";
|
|
9
|
-
}, {
|
|
10
|
-
readonly inputs: readonly [];
|
|
11
|
-
readonly name: "ActionProhibitedWithForbiddenTokensException";
|
|
12
|
-
readonly type: "error";
|
|
13
|
-
}, {
|
|
14
|
-
readonly inputs: readonly [];
|
|
15
|
-
readonly name: "AdaptersOrCreditFacadeOnlyException";
|
|
16
|
-
readonly type: "error";
|
|
17
|
-
}, {
|
|
18
|
-
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "AllowanceFailedException";
|
|
20
|
-
readonly type: "error";
|
|
21
|
-
}, {
|
|
22
|
-
readonly inputs: readonly [{
|
|
23
|
-
readonly internalType: "address";
|
|
24
|
-
readonly name: "";
|
|
25
|
-
readonly type: "address";
|
|
26
|
-
}];
|
|
27
|
-
readonly name: "BalanceLessThanMinimumDesiredException";
|
|
28
|
-
readonly type: "error";
|
|
29
|
-
}, {
|
|
30
|
-
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "BorrowAmountOutOfLimitsException";
|
|
32
|
-
readonly type: "error";
|
|
33
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "BorrowedBlockLimitException";
|
|
36
|
-
readonly type: "error";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [];
|
|
39
|
-
readonly name: "CantLiquidateNonExpiredException";
|
|
40
|
-
readonly type: "error";
|
|
41
|
-
}, {
|
|
42
|
-
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "CantLiquidateWithSuchHealthFactorException";
|
|
44
|
-
readonly type: "error";
|
|
45
|
-
}, {
|
|
46
|
-
readonly inputs: readonly [];
|
|
47
|
-
readonly name: "CantTransferLiquidatableAccountException";
|
|
48
|
-
readonly type: "error";
|
|
49
|
-
}, {
|
|
50
|
-
readonly inputs: readonly [];
|
|
51
|
-
readonly name: "CreditConfiguratorOnlyException";
|
|
52
|
-
readonly type: "error";
|
|
53
|
-
}, {
|
|
54
|
-
readonly inputs: readonly [];
|
|
55
|
-
readonly name: "CreditFacadeOnlyException";
|
|
56
|
-
readonly type: "error";
|
|
57
|
-
}, {
|
|
58
|
-
readonly inputs: readonly [];
|
|
59
|
-
readonly name: "ExpectedBalancesAlreadySetException";
|
|
60
|
-
readonly type: "error";
|
|
61
|
-
}, {
|
|
62
|
-
readonly inputs: readonly [];
|
|
63
|
-
readonly name: "ForbiddenDuringClosureException";
|
|
64
|
-
readonly type: "error";
|
|
65
|
-
}, {
|
|
66
|
-
readonly inputs: readonly [];
|
|
67
|
-
readonly name: "HasNoOpenedAccountException";
|
|
68
|
-
readonly type: "error";
|
|
69
|
-
}, {
|
|
70
|
-
readonly inputs: readonly [];
|
|
71
|
-
readonly name: "IncorrectCallDataException";
|
|
72
|
-
readonly type: "error";
|
|
73
|
-
}, {
|
|
74
|
-
readonly inputs: readonly [];
|
|
75
|
-
readonly name: "IncreaseAndDecreaseForbiddenInOneCallException";
|
|
76
|
-
readonly type: "error";
|
|
77
|
-
}, {
|
|
78
|
-
readonly inputs: readonly [];
|
|
79
|
-
readonly name: "IncreaseDebtForbiddenException";
|
|
80
|
-
readonly type: "error";
|
|
81
|
-
}, {
|
|
82
|
-
readonly inputs: readonly [];
|
|
83
|
-
readonly name: "LiquiditySanityCheckException";
|
|
84
|
-
readonly type: "error";
|
|
85
|
-
}, {
|
|
86
|
-
readonly inputs: readonly [];
|
|
87
|
-
readonly name: "NotAllowedForBlacklistedAddressException";
|
|
88
|
-
readonly type: "error";
|
|
89
|
-
}, {
|
|
90
|
-
readonly inputs: readonly [];
|
|
91
|
-
readonly name: "NotAllowedInWhitelistedMode";
|
|
92
|
-
readonly type: "error";
|
|
93
|
-
}, {
|
|
94
|
-
readonly inputs: readonly [];
|
|
95
|
-
readonly name: "NotAllowedWhenNotExpirableException";
|
|
96
|
-
readonly type: "error";
|
|
97
|
-
}, {
|
|
98
|
-
readonly inputs: readonly [];
|
|
99
|
-
readonly name: "NotEnoughCollateralException";
|
|
100
|
-
readonly type: "error";
|
|
101
|
-
}, {
|
|
102
|
-
readonly inputs: readonly [];
|
|
103
|
-
readonly name: "OpenAccountNotAllowedAfterExpirationException";
|
|
104
|
-
readonly type: "error";
|
|
105
|
-
}, {
|
|
106
|
-
readonly inputs: readonly [];
|
|
107
|
-
readonly name: "ReentrancyLockException";
|
|
108
|
-
readonly type: "error";
|
|
109
|
-
}, {
|
|
110
|
-
readonly inputs: readonly [];
|
|
111
|
-
readonly name: "TargetContractNotAllowedException";
|
|
112
|
-
readonly type: "error";
|
|
113
|
-
}, {
|
|
114
|
-
readonly inputs: readonly [];
|
|
115
|
-
readonly name: "TokenAlreadyAddedException";
|
|
116
|
-
readonly type: "error";
|
|
117
|
-
}, {
|
|
118
|
-
readonly inputs: readonly [];
|
|
119
|
-
readonly name: "TokenNotAllowedException";
|
|
120
|
-
readonly type: "error";
|
|
121
|
-
}, {
|
|
122
|
-
readonly inputs: readonly [];
|
|
123
|
-
readonly name: "TooManyEnabledTokensException";
|
|
124
|
-
readonly type: "error";
|
|
125
|
-
}, {
|
|
126
|
-
readonly inputs: readonly [];
|
|
127
|
-
readonly name: "TooManyTokensException";
|
|
128
|
-
readonly type: "error";
|
|
129
|
-
}, {
|
|
130
|
-
readonly inputs: readonly [];
|
|
131
|
-
readonly name: "UnknownMethodException";
|
|
132
|
-
readonly type: "error";
|
|
133
|
-
}, {
|
|
134
|
-
readonly inputs: readonly [];
|
|
135
|
-
readonly name: "ZeroAddressOrUserAlreadyHasAccountException";
|
|
136
|
-
readonly type: "error";
|
|
137
|
-
}, {
|
|
138
|
-
readonly anonymous: false;
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "addCollateral";
|
|
139
8
|
readonly inputs: readonly [{
|
|
140
|
-
readonly indexed: true;
|
|
141
|
-
readonly internalType: "address";
|
|
142
9
|
readonly name: "onBehalfOf";
|
|
143
10
|
readonly type: "address";
|
|
144
|
-
}, {
|
|
145
|
-
readonly indexed: true;
|
|
146
11
|
readonly internalType: "address";
|
|
12
|
+
}, {
|
|
147
13
|
readonly name: "token";
|
|
148
14
|
readonly type: "address";
|
|
15
|
+
readonly internalType: "address";
|
|
149
16
|
}, {
|
|
150
|
-
readonly
|
|
151
|
-
readonly internalType: "uint256";
|
|
152
|
-
readonly name: "value";
|
|
17
|
+
readonly name: "amount";
|
|
153
18
|
readonly type: "uint256";
|
|
19
|
+
readonly internalType: "uint256";
|
|
154
20
|
}];
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
21
|
+
readonly outputs: readonly [];
|
|
22
|
+
readonly stateMutability: "payable";
|
|
157
23
|
}, {
|
|
158
|
-
readonly
|
|
24
|
+
readonly type: "function";
|
|
25
|
+
readonly name: "approveAccountTransfer";
|
|
159
26
|
readonly inputs: readonly [{
|
|
160
|
-
readonly
|
|
161
|
-
readonly internalType: "address";
|
|
162
|
-
readonly name: "blacklistHelper";
|
|
27
|
+
readonly name: "from";
|
|
163
28
|
readonly type: "address";
|
|
29
|
+
readonly internalType: "address";
|
|
30
|
+
}, {
|
|
31
|
+
readonly name: "state";
|
|
32
|
+
readonly type: "bool";
|
|
33
|
+
readonly internalType: "bool";
|
|
164
34
|
}];
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
35
|
+
readonly outputs: readonly [];
|
|
36
|
+
readonly stateMutability: "nonpayable";
|
|
167
37
|
}, {
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
readonly name: "
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
readonly name: "blacklistHelper";
|
|
40
|
+
readonly inputs: readonly [];
|
|
41
|
+
readonly outputs: readonly [{
|
|
42
|
+
readonly name: "";
|
|
173
43
|
readonly type: "address";
|
|
174
|
-
}, {
|
|
175
|
-
readonly indexed: true;
|
|
176
44
|
readonly internalType: "address";
|
|
177
|
-
readonly name: "to";
|
|
178
|
-
readonly type: "address";
|
|
179
45
|
}];
|
|
180
|
-
readonly
|
|
181
|
-
readonly type: "event";
|
|
46
|
+
readonly stateMutability: "view";
|
|
182
47
|
}, {
|
|
183
|
-
readonly
|
|
48
|
+
readonly type: "function";
|
|
49
|
+
readonly name: "calcCreditAccountHealthFactor";
|
|
184
50
|
readonly inputs: readonly [{
|
|
185
|
-
readonly
|
|
186
|
-
readonly internalType: "address";
|
|
187
|
-
readonly name: "borrower";
|
|
51
|
+
readonly name: "creditAccount";
|
|
188
52
|
readonly type: "address";
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
readonly name: "
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
}];
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly name: "hf";
|
|
193
57
|
readonly type: "uint256";
|
|
58
|
+
readonly internalType: "uint256";
|
|
194
59
|
}];
|
|
195
|
-
readonly
|
|
196
|
-
readonly type: "event";
|
|
60
|
+
readonly stateMutability: "view";
|
|
197
61
|
}, {
|
|
198
|
-
readonly
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly name: "calcTotalValue";
|
|
199
64
|
readonly inputs: readonly [{
|
|
200
|
-
readonly
|
|
201
|
-
readonly internalType: "address";
|
|
202
|
-
readonly name: "borrower";
|
|
65
|
+
readonly name: "creditAccount";
|
|
203
66
|
readonly type: "address";
|
|
204
|
-
|
|
205
|
-
readonly indexed: false;
|
|
206
|
-
readonly internalType: "uint256";
|
|
207
|
-
readonly name: "amount";
|
|
208
|
-
readonly type: "uint256";
|
|
67
|
+
readonly internalType: "address";
|
|
209
68
|
}];
|
|
210
|
-
readonly
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
readonly anonymous: false;
|
|
214
|
-
readonly inputs: readonly [{
|
|
215
|
-
readonly indexed: false;
|
|
69
|
+
readonly outputs: readonly [{
|
|
70
|
+
readonly name: "total";
|
|
71
|
+
readonly type: "uint256";
|
|
216
72
|
readonly internalType: "uint256";
|
|
217
|
-
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "twv";
|
|
218
75
|
readonly type: "uint256";
|
|
76
|
+
readonly internalType: "uint256";
|
|
219
77
|
}];
|
|
220
|
-
readonly
|
|
221
|
-
readonly type: "event";
|
|
78
|
+
readonly stateMutability: "view";
|
|
222
79
|
}, {
|
|
223
|
-
readonly
|
|
80
|
+
readonly type: "function";
|
|
81
|
+
readonly name: "closeCreditAccount";
|
|
224
82
|
readonly inputs: readonly [{
|
|
225
|
-
readonly indexed: true;
|
|
226
|
-
readonly internalType: "address";
|
|
227
|
-
readonly name: "borrower";
|
|
228
|
-
readonly type: "address";
|
|
229
|
-
}, {
|
|
230
|
-
readonly indexed: true;
|
|
231
|
-
readonly internalType: "address";
|
|
232
|
-
readonly name: "liquidator";
|
|
233
|
-
readonly type: "address";
|
|
234
|
-
}, {
|
|
235
|
-
readonly indexed: true;
|
|
236
|
-
readonly internalType: "address";
|
|
237
83
|
readonly name: "to";
|
|
238
84
|
readonly type: "address";
|
|
85
|
+
readonly internalType: "address";
|
|
239
86
|
}, {
|
|
240
|
-
readonly
|
|
241
|
-
readonly internalType: "uint256";
|
|
242
|
-
readonly name: "remainingFunds";
|
|
87
|
+
readonly name: "skipTokenMask";
|
|
243
88
|
readonly type: "uint256";
|
|
244
|
-
}];
|
|
245
|
-
readonly name: "LiquidateCreditAccount";
|
|
246
|
-
readonly type: "event";
|
|
247
|
-
}, {
|
|
248
|
-
readonly anonymous: false;
|
|
249
|
-
readonly inputs: readonly [{
|
|
250
|
-
readonly indexed: true;
|
|
251
|
-
readonly internalType: "address";
|
|
252
|
-
readonly name: "borrower";
|
|
253
|
-
readonly type: "address";
|
|
254
|
-
}, {
|
|
255
|
-
readonly indexed: true;
|
|
256
|
-
readonly internalType: "address";
|
|
257
|
-
readonly name: "liquidator";
|
|
258
|
-
readonly type: "address";
|
|
259
|
-
}, {
|
|
260
|
-
readonly indexed: true;
|
|
261
|
-
readonly internalType: "address";
|
|
262
|
-
readonly name: "to";
|
|
263
|
-
readonly type: "address";
|
|
264
|
-
}, {
|
|
265
|
-
readonly indexed: false;
|
|
266
89
|
readonly internalType: "uint256";
|
|
267
|
-
|
|
268
|
-
readonly
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
readonly indexed: true;
|
|
281
|
-
readonly internalType: "address";
|
|
282
|
-
readonly name: "borrower";
|
|
283
|
-
readonly type: "address";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "calls";
|
|
92
|
+
readonly type: "tuple[]";
|
|
93
|
+
readonly internalType: "struct MultiCall[]";
|
|
94
|
+
readonly components: readonly [{
|
|
95
|
+
readonly name: "target";
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
}, {
|
|
99
|
+
readonly name: "callData";
|
|
100
|
+
readonly type: "bytes";
|
|
101
|
+
readonly internalType: "bytes";
|
|
102
|
+
}];
|
|
284
103
|
}];
|
|
285
|
-
readonly
|
|
286
|
-
readonly
|
|
104
|
+
readonly outputs: readonly [];
|
|
105
|
+
readonly stateMutability: "payable";
|
|
287
106
|
}, {
|
|
288
|
-
readonly
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
readonly name: "closeCreditAccount";
|
|
289
109
|
readonly inputs: readonly [{
|
|
290
|
-
readonly
|
|
291
|
-
readonly internalType: "address";
|
|
292
|
-
readonly name: "onBehalfOf";
|
|
110
|
+
readonly name: "to";
|
|
293
111
|
readonly type: "address";
|
|
294
|
-
}, {
|
|
295
|
-
readonly indexed: true;
|
|
296
112
|
readonly internalType: "address";
|
|
297
|
-
readonly name: "creditAccount";
|
|
298
|
-
readonly type: "address";
|
|
299
113
|
}, {
|
|
300
|
-
readonly
|
|
301
|
-
readonly internalType: "uint256";
|
|
302
|
-
readonly name: "borrowAmount";
|
|
114
|
+
readonly name: "skipTokenMask";
|
|
303
115
|
readonly type: "uint256";
|
|
116
|
+
readonly internalType: "uint256";
|
|
304
117
|
}, {
|
|
305
|
-
readonly
|
|
306
|
-
readonly
|
|
307
|
-
readonly
|
|
308
|
-
readonly type: "uint16";
|
|
309
|
-
}];
|
|
310
|
-
readonly name: "OpenCreditAccount";
|
|
311
|
-
readonly type: "event";
|
|
312
|
-
}, {
|
|
313
|
-
readonly anonymous: false;
|
|
314
|
-
readonly inputs: readonly [{
|
|
315
|
-
readonly indexed: true;
|
|
316
|
-
readonly internalType: "address";
|
|
317
|
-
readonly name: "borrower";
|
|
318
|
-
readonly type: "address";
|
|
319
|
-
}, {
|
|
320
|
-
readonly indexed: true;
|
|
321
|
-
readonly internalType: "address";
|
|
322
|
-
readonly name: "token";
|
|
323
|
-
readonly type: "address";
|
|
324
|
-
}];
|
|
325
|
-
readonly name: "TokenDisabled";
|
|
326
|
-
readonly type: "event";
|
|
327
|
-
}, {
|
|
328
|
-
readonly anonymous: false;
|
|
329
|
-
readonly inputs: readonly [{
|
|
330
|
-
readonly indexed: true;
|
|
331
|
-
readonly internalType: "address";
|
|
332
|
-
readonly name: "borrower";
|
|
333
|
-
readonly type: "address";
|
|
118
|
+
readonly name: "convertWETH";
|
|
119
|
+
readonly type: "bool";
|
|
120
|
+
readonly internalType: "bool";
|
|
334
121
|
}, {
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
338
|
-
readonly
|
|
122
|
+
readonly name: "calls";
|
|
123
|
+
readonly type: "tuple[]";
|
|
124
|
+
readonly internalType: "struct MultiCall[]";
|
|
125
|
+
readonly components: readonly [{
|
|
126
|
+
readonly name: "target";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
readonly internalType: "address";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "callData";
|
|
131
|
+
readonly type: "bytes";
|
|
132
|
+
readonly internalType: "bytes";
|
|
133
|
+
}];
|
|
339
134
|
}];
|
|
340
|
-
readonly
|
|
341
|
-
readonly
|
|
135
|
+
readonly outputs: readonly [];
|
|
136
|
+
readonly stateMutability: "payable";
|
|
342
137
|
}, {
|
|
343
|
-
readonly
|
|
344
|
-
readonly
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
readonly name: "
|
|
348
|
-
readonly type: "address";
|
|
349
|
-
}, {
|
|
350
|
-
readonly indexed: true;
|
|
351
|
-
readonly internalType: "address";
|
|
352
|
-
readonly name: "newOwner";
|
|
138
|
+
readonly type: "function";
|
|
139
|
+
readonly name: "creditManager";
|
|
140
|
+
readonly inputs: readonly [];
|
|
141
|
+
readonly outputs: readonly [{
|
|
142
|
+
readonly name: "";
|
|
353
143
|
readonly type: "address";
|
|
144
|
+
readonly internalType: "contract ICreditManagerV2";
|
|
354
145
|
}];
|
|
355
|
-
readonly
|
|
356
|
-
readonly type: "event";
|
|
146
|
+
readonly stateMutability: "view";
|
|
357
147
|
}, {
|
|
358
|
-
readonly
|
|
359
|
-
readonly
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
readonly name: "
|
|
148
|
+
readonly type: "function";
|
|
149
|
+
readonly name: "degenNFT";
|
|
150
|
+
readonly inputs: readonly [];
|
|
151
|
+
readonly outputs: readonly [{
|
|
152
|
+
readonly name: "";
|
|
363
153
|
readonly type: "address";
|
|
364
|
-
}, {
|
|
365
|
-
readonly indexed: true;
|
|
366
154
|
readonly internalType: "address";
|
|
367
|
-
readonly name: "to";
|
|
368
|
-
readonly type: "address";
|
|
369
|
-
}, {
|
|
370
|
-
readonly indexed: false;
|
|
371
|
-
readonly internalType: "bool";
|
|
372
|
-
readonly name: "state";
|
|
373
|
-
readonly type: "bool";
|
|
374
155
|
}];
|
|
375
|
-
readonly
|
|
376
|
-
readonly type: "event";
|
|
156
|
+
readonly stateMutability: "view";
|
|
377
157
|
}, {
|
|
378
|
-
readonly
|
|
158
|
+
readonly type: "function";
|
|
159
|
+
readonly name: "hasOpenedCreditAccount";
|
|
379
160
|
readonly inputs: readonly [{
|
|
380
|
-
readonly indexed: true;
|
|
381
|
-
readonly internalType: "address";
|
|
382
161
|
readonly name: "borrower";
|
|
383
162
|
readonly type: "address";
|
|
384
|
-
}, {
|
|
385
|
-
readonly indexed: false;
|
|
386
|
-
readonly internalType: "uint256";
|
|
387
|
-
readonly name: "amount";
|
|
388
|
-
readonly type: "uint256";
|
|
389
|
-
}];
|
|
390
|
-
readonly name: "UnderlyingSentToBlacklistHelper";
|
|
391
|
-
readonly type: "event";
|
|
392
|
-
}, {
|
|
393
|
-
readonly inputs: readonly [{
|
|
394
|
-
readonly internalType: "address";
|
|
395
|
-
readonly name: "onBehalfOf";
|
|
396
|
-
readonly type: "address";
|
|
397
|
-
}, {
|
|
398
163
|
readonly internalType: "address";
|
|
399
|
-
readonly name: "token";
|
|
400
|
-
readonly type: "address";
|
|
401
|
-
}, {
|
|
402
|
-
readonly internalType: "uint256";
|
|
403
|
-
readonly name: "amount";
|
|
404
|
-
readonly type: "uint256";
|
|
405
164
|
}];
|
|
406
|
-
readonly
|
|
407
|
-
|
|
408
|
-
readonly stateMutability: "payable";
|
|
409
|
-
readonly type: "function";
|
|
410
|
-
}, {
|
|
411
|
-
readonly inputs: readonly [{
|
|
412
|
-
readonly internalType: "address";
|
|
413
|
-
readonly name: "from";
|
|
414
|
-
readonly type: "address";
|
|
415
|
-
}, {
|
|
416
|
-
readonly internalType: "bool";
|
|
417
|
-
readonly name: "state";
|
|
165
|
+
readonly outputs: readonly [{
|
|
166
|
+
readonly name: "";
|
|
418
167
|
readonly type: "bool";
|
|
168
|
+
readonly internalType: "bool";
|
|
419
169
|
}];
|
|
420
|
-
readonly
|
|
421
|
-
readonly outputs: readonly [];
|
|
422
|
-
readonly stateMutability: "nonpayable";
|
|
423
|
-
readonly type: "function";
|
|
170
|
+
readonly stateMutability: "view";
|
|
424
171
|
}, {
|
|
172
|
+
readonly type: "function";
|
|
173
|
+
readonly name: "isBlacklistableUnderlying";
|
|
425
174
|
readonly inputs: readonly [];
|
|
426
|
-
readonly name: "blacklistHelper";
|
|
427
175
|
readonly outputs: readonly [{
|
|
428
|
-
readonly internalType: "address";
|
|
429
176
|
readonly name: "";
|
|
430
|
-
readonly type: "
|
|
177
|
+
readonly type: "bool";
|
|
178
|
+
readonly internalType: "bool";
|
|
431
179
|
}];
|
|
432
180
|
readonly stateMutability: "view";
|
|
433
|
-
readonly type: "function";
|
|
434
181
|
}, {
|
|
182
|
+
readonly type: "function";
|
|
183
|
+
readonly name: "isTokenAllowed";
|
|
435
184
|
readonly inputs: readonly [{
|
|
436
|
-
readonly
|
|
437
|
-
readonly name: "creditAccount";
|
|
185
|
+
readonly name: "token";
|
|
438
186
|
readonly type: "address";
|
|
187
|
+
readonly internalType: "address";
|
|
439
188
|
}];
|
|
440
|
-
readonly name: "calcCreditAccountHealthFactor";
|
|
441
189
|
readonly outputs: readonly [{
|
|
442
|
-
readonly
|
|
443
|
-
readonly
|
|
444
|
-
readonly
|
|
190
|
+
readonly name: "";
|
|
191
|
+
readonly type: "bool";
|
|
192
|
+
readonly internalType: "bool";
|
|
445
193
|
}];
|
|
446
194
|
readonly stateMutability: "view";
|
|
447
|
-
readonly type: "function";
|
|
448
195
|
}, {
|
|
449
|
-
readonly
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
readonly type: "address";
|
|
453
|
-
}];
|
|
454
|
-
readonly name: "calcTotalValue";
|
|
196
|
+
readonly type: "function";
|
|
197
|
+
readonly name: "limits";
|
|
198
|
+
readonly inputs: readonly [];
|
|
455
199
|
readonly outputs: readonly [{
|
|
456
|
-
readonly
|
|
457
|
-
readonly
|
|
458
|
-
readonly
|
|
200
|
+
readonly name: "minBorrowedAmount";
|
|
201
|
+
readonly type: "uint128";
|
|
202
|
+
readonly internalType: "uint128";
|
|
459
203
|
}, {
|
|
460
|
-
readonly
|
|
461
|
-
readonly
|
|
462
|
-
readonly
|
|
204
|
+
readonly name: "maxBorrowedAmount";
|
|
205
|
+
readonly type: "uint128";
|
|
206
|
+
readonly internalType: "uint128";
|
|
463
207
|
}];
|
|
464
208
|
readonly stateMutability: "view";
|
|
465
|
-
readonly type: "function";
|
|
466
209
|
}, {
|
|
210
|
+
readonly type: "function";
|
|
211
|
+
readonly name: "liquidateCreditAccount";
|
|
467
212
|
readonly inputs: readonly [{
|
|
213
|
+
readonly name: "borrower";
|
|
214
|
+
readonly type: "address";
|
|
468
215
|
readonly internalType: "address";
|
|
216
|
+
}, {
|
|
469
217
|
readonly name: "to";
|
|
470
218
|
readonly type: "address";
|
|
219
|
+
readonly internalType: "address";
|
|
471
220
|
}, {
|
|
472
|
-
readonly internalType: "uint256";
|
|
473
221
|
readonly name: "skipTokenMask";
|
|
474
222
|
readonly type: "uint256";
|
|
223
|
+
readonly internalType: "uint256";
|
|
475
224
|
}, {
|
|
476
|
-
readonly components: readonly [{
|
|
477
|
-
readonly internalType: "address";
|
|
478
|
-
readonly name: "target";
|
|
479
|
-
readonly type: "address";
|
|
480
|
-
}, {
|
|
481
|
-
readonly internalType: "bytes";
|
|
482
|
-
readonly name: "callData";
|
|
483
|
-
readonly type: "bytes";
|
|
484
|
-
}];
|
|
485
|
-
readonly internalType: "struct MultiCall[]";
|
|
486
225
|
readonly name: "calls";
|
|
487
226
|
readonly type: "tuple[]";
|
|
488
|
-
|
|
489
|
-
readonly name: "closeCreditAccount";
|
|
490
|
-
readonly outputs: readonly [];
|
|
491
|
-
readonly stateMutability: "payable";
|
|
492
|
-
readonly type: "function";
|
|
493
|
-
}, {
|
|
494
|
-
readonly inputs: readonly [{
|
|
495
|
-
readonly internalType: "address";
|
|
496
|
-
readonly name: "to";
|
|
497
|
-
readonly type: "address";
|
|
498
|
-
}, {
|
|
499
|
-
readonly internalType: "uint256";
|
|
500
|
-
readonly name: "skipTokenMask";
|
|
501
|
-
readonly type: "uint256";
|
|
502
|
-
}, {
|
|
503
|
-
readonly internalType: "bool";
|
|
504
|
-
readonly name: "convertWETH";
|
|
505
|
-
readonly type: "bool";
|
|
506
|
-
}, {
|
|
227
|
+
readonly internalType: "struct MultiCall[]";
|
|
507
228
|
readonly components: readonly [{
|
|
508
|
-
readonly internalType: "address";
|
|
509
229
|
readonly name: "target";
|
|
510
230
|
readonly type: "address";
|
|
231
|
+
readonly internalType: "address";
|
|
511
232
|
}, {
|
|
512
|
-
readonly internalType: "bytes";
|
|
513
233
|
readonly name: "callData";
|
|
514
234
|
readonly type: "bytes";
|
|
235
|
+
readonly internalType: "bytes";
|
|
515
236
|
}];
|
|
516
|
-
readonly internalType: "struct MultiCall[]";
|
|
517
|
-
readonly name: "calls";
|
|
518
|
-
readonly type: "tuple[]";
|
|
519
237
|
}];
|
|
520
|
-
readonly name: "closeCreditAccount";
|
|
521
238
|
readonly outputs: readonly [];
|
|
522
239
|
readonly stateMutability: "payable";
|
|
523
|
-
readonly type: "function";
|
|
524
|
-
}, {
|
|
525
|
-
readonly inputs: readonly [];
|
|
526
|
-
readonly name: "creditManager";
|
|
527
|
-
readonly outputs: readonly [{
|
|
528
|
-
readonly internalType: "contract ICreditManagerV2";
|
|
529
|
-
readonly name: "";
|
|
530
|
-
readonly type: "address";
|
|
531
|
-
}];
|
|
532
|
-
readonly stateMutability: "view";
|
|
533
|
-
readonly type: "function";
|
|
534
240
|
}, {
|
|
535
|
-
readonly inputs: readonly [];
|
|
536
|
-
readonly name: "degenNFT";
|
|
537
|
-
readonly outputs: readonly [{
|
|
538
|
-
readonly internalType: "address";
|
|
539
|
-
readonly name: "";
|
|
540
|
-
readonly type: "address";
|
|
541
|
-
}];
|
|
542
|
-
readonly stateMutability: "view";
|
|
543
241
|
readonly type: "function";
|
|
544
|
-
|
|
242
|
+
readonly name: "liquidateCreditAccount";
|
|
545
243
|
readonly inputs: readonly [{
|
|
546
|
-
readonly internalType: "address";
|
|
547
244
|
readonly name: "borrower";
|
|
548
245
|
readonly type: "address";
|
|
549
|
-
}];
|
|
550
|
-
readonly name: "hasOpenedCreditAccount";
|
|
551
|
-
readonly outputs: readonly [{
|
|
552
|
-
readonly internalType: "bool";
|
|
553
|
-
readonly name: "";
|
|
554
|
-
readonly type: "bool";
|
|
555
|
-
}];
|
|
556
|
-
readonly stateMutability: "view";
|
|
557
|
-
readonly type: "function";
|
|
558
|
-
}, {
|
|
559
|
-
readonly inputs: readonly [];
|
|
560
|
-
readonly name: "isBlacklistableUnderlying";
|
|
561
|
-
readonly outputs: readonly [{
|
|
562
|
-
readonly internalType: "bool";
|
|
563
|
-
readonly name: "";
|
|
564
|
-
readonly type: "bool";
|
|
565
|
-
}];
|
|
566
|
-
readonly stateMutability: "view";
|
|
567
|
-
readonly type: "function";
|
|
568
|
-
}, {
|
|
569
|
-
readonly inputs: readonly [{
|
|
570
|
-
readonly internalType: "address";
|
|
571
|
-
readonly name: "token";
|
|
572
|
-
readonly type: "address";
|
|
573
|
-
}];
|
|
574
|
-
readonly name: "isTokenAllowed";
|
|
575
|
-
readonly outputs: readonly [{
|
|
576
|
-
readonly internalType: "bool";
|
|
577
|
-
readonly name: "";
|
|
578
|
-
readonly type: "bool";
|
|
579
|
-
}];
|
|
580
|
-
readonly stateMutability: "view";
|
|
581
|
-
readonly type: "function";
|
|
582
|
-
}, {
|
|
583
|
-
readonly inputs: readonly [];
|
|
584
|
-
readonly name: "limits";
|
|
585
|
-
readonly outputs: readonly [{
|
|
586
|
-
readonly internalType: "uint128";
|
|
587
|
-
readonly name: "minBorrowedAmount";
|
|
588
|
-
readonly type: "uint128";
|
|
589
|
-
}, {
|
|
590
|
-
readonly internalType: "uint128";
|
|
591
|
-
readonly name: "maxBorrowedAmount";
|
|
592
|
-
readonly type: "uint128";
|
|
593
|
-
}];
|
|
594
|
-
readonly stateMutability: "view";
|
|
595
|
-
readonly type: "function";
|
|
596
|
-
}, {
|
|
597
|
-
readonly inputs: readonly [{
|
|
598
246
|
readonly internalType: "address";
|
|
599
|
-
readonly name: "borrower";
|
|
600
|
-
readonly type: "address";
|
|
601
247
|
}, {
|
|
602
|
-
readonly internalType: "address";
|
|
603
248
|
readonly name: "to";
|
|
604
249
|
readonly type: "address";
|
|
605
|
-
}, {
|
|
606
|
-
readonly internalType: "uint256";
|
|
607
|
-
readonly name: "skipTokenMask";
|
|
608
|
-
readonly type: "uint256";
|
|
609
|
-
}, {
|
|
610
|
-
readonly components: readonly [{
|
|
611
|
-
readonly internalType: "address";
|
|
612
|
-
readonly name: "target";
|
|
613
|
-
readonly type: "address";
|
|
614
|
-
}, {
|
|
615
|
-
readonly internalType: "bytes";
|
|
616
|
-
readonly name: "callData";
|
|
617
|
-
readonly type: "bytes";
|
|
618
|
-
}];
|
|
619
|
-
readonly internalType: "struct MultiCall[]";
|
|
620
|
-
readonly name: "calls";
|
|
621
|
-
readonly type: "tuple[]";
|
|
622
|
-
}];
|
|
623
|
-
readonly name: "liquidateCreditAccount";
|
|
624
|
-
readonly outputs: readonly [];
|
|
625
|
-
readonly stateMutability: "payable";
|
|
626
|
-
readonly type: "function";
|
|
627
|
-
}, {
|
|
628
|
-
readonly inputs: readonly [{
|
|
629
|
-
readonly internalType: "address";
|
|
630
|
-
readonly name: "borrower";
|
|
631
|
-
readonly type: "address";
|
|
632
|
-
}, {
|
|
633
250
|
readonly internalType: "address";
|
|
634
|
-
readonly name: "to";
|
|
635
|
-
readonly type: "address";
|
|
636
251
|
}, {
|
|
637
|
-
readonly internalType: "uint256";
|
|
638
252
|
readonly name: "skipTokenMask";
|
|
639
253
|
readonly type: "uint256";
|
|
254
|
+
readonly internalType: "uint256";
|
|
640
255
|
}, {
|
|
641
|
-
readonly internalType: "bool";
|
|
642
256
|
readonly name: "convertWETH";
|
|
643
257
|
readonly type: "bool";
|
|
258
|
+
readonly internalType: "bool";
|
|
644
259
|
}, {
|
|
260
|
+
readonly name: "calls";
|
|
261
|
+
readonly type: "tuple[]";
|
|
262
|
+
readonly internalType: "struct MultiCall[]";
|
|
645
263
|
readonly components: readonly [{
|
|
646
|
-
readonly internalType: "address";
|
|
647
264
|
readonly name: "target";
|
|
648
265
|
readonly type: "address";
|
|
266
|
+
readonly internalType: "address";
|
|
649
267
|
}, {
|
|
650
|
-
readonly internalType: "bytes";
|
|
651
268
|
readonly name: "callData";
|
|
652
269
|
readonly type: "bytes";
|
|
270
|
+
readonly internalType: "bytes";
|
|
653
271
|
}];
|
|
654
|
-
readonly internalType: "struct MultiCall[]";
|
|
655
|
-
readonly name: "calls";
|
|
656
|
-
readonly type: "tuple[]";
|
|
657
272
|
}];
|
|
658
|
-
readonly name: "liquidateCreditAccount";
|
|
659
273
|
readonly outputs: readonly [];
|
|
660
274
|
readonly stateMutability: "payable";
|
|
661
|
-
readonly type: "function";
|
|
662
275
|
}, {
|
|
276
|
+
readonly type: "function";
|
|
277
|
+
readonly name: "liquidateExpiredCreditAccount";
|
|
663
278
|
readonly inputs: readonly [{
|
|
664
|
-
readonly internalType: "address";
|
|
665
279
|
readonly name: "borrower";
|
|
666
280
|
readonly type: "address";
|
|
667
|
-
}, {
|
|
668
281
|
readonly internalType: "address";
|
|
282
|
+
}, {
|
|
669
283
|
readonly name: "to";
|
|
670
284
|
readonly type: "address";
|
|
285
|
+
readonly internalType: "address";
|
|
671
286
|
}, {
|
|
672
|
-
readonly internalType: "uint256";
|
|
673
287
|
readonly name: "skipTokenMask";
|
|
674
288
|
readonly type: "uint256";
|
|
289
|
+
readonly internalType: "uint256";
|
|
675
290
|
}, {
|
|
291
|
+
readonly name: "calls";
|
|
292
|
+
readonly type: "tuple[]";
|
|
293
|
+
readonly internalType: "struct MultiCall[]";
|
|
676
294
|
readonly components: readonly [{
|
|
677
|
-
readonly internalType: "address";
|
|
678
295
|
readonly name: "target";
|
|
679
296
|
readonly type: "address";
|
|
297
|
+
readonly internalType: "address";
|
|
680
298
|
}, {
|
|
681
|
-
readonly internalType: "bytes";
|
|
682
299
|
readonly name: "callData";
|
|
683
300
|
readonly type: "bytes";
|
|
301
|
+
readonly internalType: "bytes";
|
|
684
302
|
}];
|
|
685
|
-
readonly internalType: "struct MultiCall[]";
|
|
686
|
-
readonly name: "calls";
|
|
687
|
-
readonly type: "tuple[]";
|
|
688
303
|
}];
|
|
689
|
-
readonly name: "liquidateExpiredCreditAccount";
|
|
690
304
|
readonly outputs: readonly [];
|
|
691
305
|
readonly stateMutability: "payable";
|
|
692
|
-
readonly type: "function";
|
|
693
306
|
}, {
|
|
307
|
+
readonly type: "function";
|
|
308
|
+
readonly name: "liquidateExpiredCreditAccount";
|
|
694
309
|
readonly inputs: readonly [{
|
|
695
|
-
readonly internalType: "address";
|
|
696
310
|
readonly name: "borrower";
|
|
697
311
|
readonly type: "address";
|
|
698
|
-
}, {
|
|
699
312
|
readonly internalType: "address";
|
|
313
|
+
}, {
|
|
700
314
|
readonly name: "to";
|
|
701
315
|
readonly type: "address";
|
|
316
|
+
readonly internalType: "address";
|
|
702
317
|
}, {
|
|
703
|
-
readonly internalType: "uint256";
|
|
704
318
|
readonly name: "skipTokenMask";
|
|
705
319
|
readonly type: "uint256";
|
|
320
|
+
readonly internalType: "uint256";
|
|
706
321
|
}, {
|
|
707
|
-
readonly internalType: "bool";
|
|
708
322
|
readonly name: "convertWETH";
|
|
709
323
|
readonly type: "bool";
|
|
324
|
+
readonly internalType: "bool";
|
|
710
325
|
}, {
|
|
326
|
+
readonly name: "calls";
|
|
327
|
+
readonly type: "tuple[]";
|
|
328
|
+
readonly internalType: "struct MultiCall[]";
|
|
711
329
|
readonly components: readonly [{
|
|
712
|
-
readonly internalType: "address";
|
|
713
330
|
readonly name: "target";
|
|
714
331
|
readonly type: "address";
|
|
332
|
+
readonly internalType: "address";
|
|
715
333
|
}, {
|
|
716
|
-
readonly internalType: "bytes";
|
|
717
334
|
readonly name: "callData";
|
|
718
335
|
readonly type: "bytes";
|
|
336
|
+
readonly internalType: "bytes";
|
|
719
337
|
}];
|
|
720
|
-
readonly internalType: "struct MultiCall[]";
|
|
721
|
-
readonly name: "calls";
|
|
722
|
-
readonly type: "tuple[]";
|
|
723
338
|
}];
|
|
724
|
-
readonly name: "liquidateExpiredCreditAccount";
|
|
725
339
|
readonly outputs: readonly [];
|
|
726
340
|
readonly stateMutability: "payable";
|
|
727
|
-
readonly type: "function";
|
|
728
341
|
}, {
|
|
729
|
-
readonly
|
|
342
|
+
readonly type: "function";
|
|
730
343
|
readonly name: "lossParams";
|
|
344
|
+
readonly inputs: readonly [];
|
|
731
345
|
readonly outputs: readonly [{
|
|
732
|
-
readonly internalType: "uint128";
|
|
733
346
|
readonly name: "currentCumulativeLoss";
|
|
734
347
|
readonly type: "uint128";
|
|
735
|
-
}, {
|
|
736
348
|
readonly internalType: "uint128";
|
|
349
|
+
}, {
|
|
737
350
|
readonly name: "maxCumulativeLoss";
|
|
738
351
|
readonly type: "uint128";
|
|
352
|
+
readonly internalType: "uint128";
|
|
739
353
|
}];
|
|
740
354
|
readonly stateMutability: "view";
|
|
741
|
-
readonly type: "function";
|
|
742
355
|
}, {
|
|
356
|
+
readonly type: "function";
|
|
357
|
+
readonly name: "multicall";
|
|
743
358
|
readonly inputs: readonly [{
|
|
359
|
+
readonly name: "calls";
|
|
360
|
+
readonly type: "tuple[]";
|
|
361
|
+
readonly internalType: "struct MultiCall[]";
|
|
744
362
|
readonly components: readonly [{
|
|
745
|
-
readonly internalType: "address";
|
|
746
363
|
readonly name: "target";
|
|
747
364
|
readonly type: "address";
|
|
365
|
+
readonly internalType: "address";
|
|
748
366
|
}, {
|
|
749
|
-
readonly internalType: "bytes";
|
|
750
367
|
readonly name: "callData";
|
|
751
368
|
readonly type: "bytes";
|
|
369
|
+
readonly internalType: "bytes";
|
|
752
370
|
}];
|
|
753
|
-
readonly internalType: "struct MultiCall[]";
|
|
754
|
-
readonly name: "calls";
|
|
755
|
-
readonly type: "tuple[]";
|
|
756
371
|
}];
|
|
757
|
-
readonly name: "multicall";
|
|
758
372
|
readonly outputs: readonly [];
|
|
759
373
|
readonly stateMutability: "payable";
|
|
760
|
-
readonly type: "function";
|
|
761
374
|
}, {
|
|
375
|
+
readonly type: "function";
|
|
376
|
+
readonly name: "openCreditAccount";
|
|
762
377
|
readonly inputs: readonly [{
|
|
763
|
-
readonly internalType: "uint256";
|
|
764
378
|
readonly name: "amount";
|
|
765
379
|
readonly type: "uint256";
|
|
380
|
+
readonly internalType: "uint256";
|
|
766
381
|
}, {
|
|
767
|
-
readonly internalType: "address";
|
|
768
382
|
readonly name: "onBehalfOf";
|
|
769
383
|
readonly type: "address";
|
|
384
|
+
readonly internalType: "address";
|
|
770
385
|
}, {
|
|
771
|
-
readonly internalType: "uint16";
|
|
772
386
|
readonly name: "leverageFactor";
|
|
773
387
|
readonly type: "uint16";
|
|
774
|
-
}, {
|
|
775
388
|
readonly internalType: "uint16";
|
|
389
|
+
}, {
|
|
776
390
|
readonly name: "referralCode";
|
|
777
391
|
readonly type: "uint16";
|
|
392
|
+
readonly internalType: "uint16";
|
|
778
393
|
}];
|
|
779
|
-
readonly name: "openCreditAccount";
|
|
780
394
|
readonly outputs: readonly [];
|
|
781
395
|
readonly stateMutability: "payable";
|
|
782
|
-
readonly type: "function";
|
|
783
396
|
}, {
|
|
397
|
+
readonly type: "function";
|
|
398
|
+
readonly name: "openCreditAccountMulticall";
|
|
784
399
|
readonly inputs: readonly [{
|
|
785
|
-
readonly internalType: "uint256";
|
|
786
400
|
readonly name: "borrowedAmount";
|
|
787
401
|
readonly type: "uint256";
|
|
402
|
+
readonly internalType: "uint256";
|
|
788
403
|
}, {
|
|
789
|
-
readonly internalType: "address";
|
|
790
404
|
readonly name: "onBehalfOf";
|
|
791
405
|
readonly type: "address";
|
|
406
|
+
readonly internalType: "address";
|
|
792
407
|
}, {
|
|
408
|
+
readonly name: "calls";
|
|
409
|
+
readonly type: "tuple[]";
|
|
410
|
+
readonly internalType: "struct MultiCall[]";
|
|
793
411
|
readonly components: readonly [{
|
|
794
|
-
readonly internalType: "address";
|
|
795
412
|
readonly name: "target";
|
|
796
413
|
readonly type: "address";
|
|
414
|
+
readonly internalType: "address";
|
|
797
415
|
}, {
|
|
798
|
-
readonly internalType: "bytes";
|
|
799
416
|
readonly name: "callData";
|
|
800
417
|
readonly type: "bytes";
|
|
418
|
+
readonly internalType: "bytes";
|
|
801
419
|
}];
|
|
802
|
-
readonly internalType: "struct MultiCall[]";
|
|
803
|
-
readonly name: "calls";
|
|
804
|
-
readonly type: "tuple[]";
|
|
805
420
|
}, {
|
|
806
|
-
readonly internalType: "uint16";
|
|
807
421
|
readonly name: "referralCode";
|
|
808
422
|
readonly type: "uint16";
|
|
423
|
+
readonly internalType: "uint16";
|
|
809
424
|
}];
|
|
810
|
-
readonly name: "openCreditAccountMulticall";
|
|
811
425
|
readonly outputs: readonly [];
|
|
812
426
|
readonly stateMutability: "payable";
|
|
813
|
-
readonly type: "function";
|
|
814
427
|
}, {
|
|
815
|
-
readonly
|
|
428
|
+
readonly type: "function";
|
|
816
429
|
readonly name: "params";
|
|
430
|
+
readonly inputs: readonly [];
|
|
817
431
|
readonly outputs: readonly [{
|
|
818
|
-
readonly internalType: "uint128";
|
|
819
432
|
readonly name: "maxBorrowedAmountPerBlock";
|
|
820
433
|
readonly type: "uint128";
|
|
434
|
+
readonly internalType: "uint128";
|
|
821
435
|
}, {
|
|
822
|
-
readonly internalType: "bool";
|
|
823
436
|
readonly name: "isIncreaseDebtForbidden";
|
|
824
437
|
readonly type: "bool";
|
|
438
|
+
readonly internalType: "bool";
|
|
825
439
|
}, {
|
|
826
|
-
readonly internalType: "uint40";
|
|
827
440
|
readonly name: "expirationDate";
|
|
828
441
|
readonly type: "uint40";
|
|
442
|
+
readonly internalType: "uint40";
|
|
829
443
|
}, {
|
|
830
|
-
readonly internalType: "uint16";
|
|
831
444
|
readonly name: "emergencyLiquidationDiscount";
|
|
832
445
|
readonly type: "uint16";
|
|
446
|
+
readonly internalType: "uint16";
|
|
833
447
|
}];
|
|
834
448
|
readonly stateMutability: "view";
|
|
835
|
-
readonly type: "function";
|
|
836
449
|
}, {
|
|
837
|
-
readonly
|
|
450
|
+
readonly type: "function";
|
|
838
451
|
readonly name: "totalDebt";
|
|
452
|
+
readonly inputs: readonly [];
|
|
839
453
|
readonly outputs: readonly [{
|
|
840
|
-
readonly internalType: "uint128";
|
|
841
454
|
readonly name: "currentTotalDebt";
|
|
842
455
|
readonly type: "uint128";
|
|
843
|
-
}, {
|
|
844
456
|
readonly internalType: "uint128";
|
|
457
|
+
}, {
|
|
845
458
|
readonly name: "totalDebtLimit";
|
|
846
459
|
readonly type: "uint128";
|
|
460
|
+
readonly internalType: "uint128";
|
|
847
461
|
}];
|
|
848
462
|
readonly stateMutability: "view";
|
|
849
|
-
readonly type: "function";
|
|
850
463
|
}, {
|
|
464
|
+
readonly type: "function";
|
|
465
|
+
readonly name: "transferAccountOwnership";
|
|
851
466
|
readonly inputs: readonly [{
|
|
852
|
-
readonly internalType: "address";
|
|
853
467
|
readonly name: "to";
|
|
854
468
|
readonly type: "address";
|
|
469
|
+
readonly internalType: "address";
|
|
855
470
|
}];
|
|
856
|
-
readonly name: "transferAccountOwnership";
|
|
857
471
|
readonly outputs: readonly [];
|
|
858
472
|
readonly stateMutability: "nonpayable";
|
|
859
|
-
readonly type: "function";
|
|
860
473
|
}, {
|
|
474
|
+
readonly type: "function";
|
|
475
|
+
readonly name: "transfersAllowed";
|
|
861
476
|
readonly inputs: readonly [{
|
|
862
|
-
readonly internalType: "address";
|
|
863
477
|
readonly name: "from";
|
|
864
478
|
readonly type: "address";
|
|
865
|
-
}, {
|
|
866
479
|
readonly internalType: "address";
|
|
480
|
+
}, {
|
|
867
481
|
readonly name: "to";
|
|
868
482
|
readonly type: "address";
|
|
483
|
+
readonly internalType: "address";
|
|
869
484
|
}];
|
|
870
|
-
readonly name: "transfersAllowed";
|
|
871
485
|
readonly outputs: readonly [{
|
|
872
|
-
readonly internalType: "bool";
|
|
873
486
|
readonly name: "";
|
|
874
487
|
readonly type: "bool";
|
|
488
|
+
readonly internalType: "bool";
|
|
875
489
|
}];
|
|
876
490
|
readonly stateMutability: "view";
|
|
877
|
-
readonly type: "function";
|
|
878
491
|
}, {
|
|
879
|
-
readonly
|
|
492
|
+
readonly type: "function";
|
|
880
493
|
readonly name: "underlying";
|
|
494
|
+
readonly inputs: readonly [];
|
|
881
495
|
readonly outputs: readonly [{
|
|
882
|
-
readonly internalType: "address";
|
|
883
496
|
readonly name: "";
|
|
884
497
|
readonly type: "address";
|
|
498
|
+
readonly internalType: "address";
|
|
885
499
|
}];
|
|
886
500
|
readonly stateMutability: "view";
|
|
887
|
-
readonly type: "function";
|
|
888
501
|
}, {
|
|
889
|
-
readonly
|
|
502
|
+
readonly type: "function";
|
|
890
503
|
readonly name: "version";
|
|
504
|
+
readonly inputs: readonly [];
|
|
891
505
|
readonly outputs: readonly [{
|
|
892
|
-
readonly internalType: "uint256";
|
|
893
506
|
readonly name: "";
|
|
894
507
|
readonly type: "uint256";
|
|
508
|
+
readonly internalType: "uint256";
|
|
895
509
|
}];
|
|
896
510
|
readonly stateMutability: "view";
|
|
897
|
-
|
|
511
|
+
}, {
|
|
512
|
+
readonly type: "event";
|
|
513
|
+
readonly name: "AddCollateral";
|
|
514
|
+
readonly inputs: readonly [{
|
|
515
|
+
readonly name: "onBehalfOf";
|
|
516
|
+
readonly type: "address";
|
|
517
|
+
readonly indexed: true;
|
|
518
|
+
readonly internalType: "address";
|
|
519
|
+
}, {
|
|
520
|
+
readonly name: "token";
|
|
521
|
+
readonly type: "address";
|
|
522
|
+
readonly indexed: true;
|
|
523
|
+
readonly internalType: "address";
|
|
524
|
+
}, {
|
|
525
|
+
readonly name: "value";
|
|
526
|
+
readonly type: "uint256";
|
|
527
|
+
readonly indexed: false;
|
|
528
|
+
readonly internalType: "uint256";
|
|
529
|
+
}];
|
|
530
|
+
readonly anonymous: false;
|
|
531
|
+
}, {
|
|
532
|
+
readonly type: "event";
|
|
533
|
+
readonly name: "BlacklistHelperSet";
|
|
534
|
+
readonly inputs: readonly [{
|
|
535
|
+
readonly name: "blacklistHelper";
|
|
536
|
+
readonly type: "address";
|
|
537
|
+
readonly indexed: true;
|
|
538
|
+
readonly internalType: "address";
|
|
539
|
+
}];
|
|
540
|
+
readonly anonymous: false;
|
|
541
|
+
}, {
|
|
542
|
+
readonly type: "event";
|
|
543
|
+
readonly name: "CloseCreditAccount";
|
|
544
|
+
readonly inputs: readonly [{
|
|
545
|
+
readonly name: "borrower";
|
|
546
|
+
readonly type: "address";
|
|
547
|
+
readonly indexed: true;
|
|
548
|
+
readonly internalType: "address";
|
|
549
|
+
}, {
|
|
550
|
+
readonly name: "to";
|
|
551
|
+
readonly type: "address";
|
|
552
|
+
readonly indexed: true;
|
|
553
|
+
readonly internalType: "address";
|
|
554
|
+
}];
|
|
555
|
+
readonly anonymous: false;
|
|
556
|
+
}, {
|
|
557
|
+
readonly type: "event";
|
|
558
|
+
readonly name: "DecreaseBorrowedAmount";
|
|
559
|
+
readonly inputs: readonly [{
|
|
560
|
+
readonly name: "borrower";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
readonly indexed: true;
|
|
563
|
+
readonly internalType: "address";
|
|
564
|
+
}, {
|
|
565
|
+
readonly name: "amount";
|
|
566
|
+
readonly type: "uint256";
|
|
567
|
+
readonly indexed: false;
|
|
568
|
+
readonly internalType: "uint256";
|
|
569
|
+
}];
|
|
570
|
+
readonly anonymous: false;
|
|
571
|
+
}, {
|
|
572
|
+
readonly type: "event";
|
|
573
|
+
readonly name: "IncreaseBorrowedAmount";
|
|
574
|
+
readonly inputs: readonly [{
|
|
575
|
+
readonly name: "borrower";
|
|
576
|
+
readonly type: "address";
|
|
577
|
+
readonly indexed: true;
|
|
578
|
+
readonly internalType: "address";
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "amount";
|
|
581
|
+
readonly type: "uint256";
|
|
582
|
+
readonly indexed: false;
|
|
583
|
+
readonly internalType: "uint256";
|
|
584
|
+
}];
|
|
585
|
+
readonly anonymous: false;
|
|
586
|
+
}, {
|
|
587
|
+
readonly type: "event";
|
|
588
|
+
readonly name: "IncurLossOnLiquidation";
|
|
589
|
+
readonly inputs: readonly [{
|
|
590
|
+
readonly name: "loss";
|
|
591
|
+
readonly type: "uint256";
|
|
592
|
+
readonly indexed: false;
|
|
593
|
+
readonly internalType: "uint256";
|
|
594
|
+
}];
|
|
595
|
+
readonly anonymous: false;
|
|
596
|
+
}, {
|
|
597
|
+
readonly type: "event";
|
|
598
|
+
readonly name: "LiquidateCreditAccount";
|
|
599
|
+
readonly inputs: readonly [{
|
|
600
|
+
readonly name: "borrower";
|
|
601
|
+
readonly type: "address";
|
|
602
|
+
readonly indexed: true;
|
|
603
|
+
readonly internalType: "address";
|
|
604
|
+
}, {
|
|
605
|
+
readonly name: "liquidator";
|
|
606
|
+
readonly type: "address";
|
|
607
|
+
readonly indexed: true;
|
|
608
|
+
readonly internalType: "address";
|
|
609
|
+
}, {
|
|
610
|
+
readonly name: "to";
|
|
611
|
+
readonly type: "address";
|
|
612
|
+
readonly indexed: true;
|
|
613
|
+
readonly internalType: "address";
|
|
614
|
+
}, {
|
|
615
|
+
readonly name: "remainingFunds";
|
|
616
|
+
readonly type: "uint256";
|
|
617
|
+
readonly indexed: false;
|
|
618
|
+
readonly internalType: "uint256";
|
|
619
|
+
}];
|
|
620
|
+
readonly anonymous: false;
|
|
621
|
+
}, {
|
|
622
|
+
readonly type: "event";
|
|
623
|
+
readonly name: "LiquidateExpiredCreditAccount";
|
|
624
|
+
readonly inputs: readonly [{
|
|
625
|
+
readonly name: "borrower";
|
|
626
|
+
readonly type: "address";
|
|
627
|
+
readonly indexed: true;
|
|
628
|
+
readonly internalType: "address";
|
|
629
|
+
}, {
|
|
630
|
+
readonly name: "liquidator";
|
|
631
|
+
readonly type: "address";
|
|
632
|
+
readonly indexed: true;
|
|
633
|
+
readonly internalType: "address";
|
|
634
|
+
}, {
|
|
635
|
+
readonly name: "to";
|
|
636
|
+
readonly type: "address";
|
|
637
|
+
readonly indexed: true;
|
|
638
|
+
readonly internalType: "address";
|
|
639
|
+
}, {
|
|
640
|
+
readonly name: "remainingFunds";
|
|
641
|
+
readonly type: "uint256";
|
|
642
|
+
readonly indexed: false;
|
|
643
|
+
readonly internalType: "uint256";
|
|
644
|
+
}];
|
|
645
|
+
readonly anonymous: false;
|
|
646
|
+
}, {
|
|
647
|
+
readonly type: "event";
|
|
648
|
+
readonly name: "MultiCallFinished";
|
|
649
|
+
readonly inputs: readonly [];
|
|
650
|
+
readonly anonymous: false;
|
|
651
|
+
}, {
|
|
652
|
+
readonly type: "event";
|
|
653
|
+
readonly name: "MultiCallStarted";
|
|
654
|
+
readonly inputs: readonly [{
|
|
655
|
+
readonly name: "borrower";
|
|
656
|
+
readonly type: "address";
|
|
657
|
+
readonly indexed: true;
|
|
658
|
+
readonly internalType: "address";
|
|
659
|
+
}];
|
|
660
|
+
readonly anonymous: false;
|
|
661
|
+
}, {
|
|
662
|
+
readonly type: "event";
|
|
663
|
+
readonly name: "OpenCreditAccount";
|
|
664
|
+
readonly inputs: readonly [{
|
|
665
|
+
readonly name: "onBehalfOf";
|
|
666
|
+
readonly type: "address";
|
|
667
|
+
readonly indexed: true;
|
|
668
|
+
readonly internalType: "address";
|
|
669
|
+
}, {
|
|
670
|
+
readonly name: "creditAccount";
|
|
671
|
+
readonly type: "address";
|
|
672
|
+
readonly indexed: true;
|
|
673
|
+
readonly internalType: "address";
|
|
674
|
+
}, {
|
|
675
|
+
readonly name: "borrowAmount";
|
|
676
|
+
readonly type: "uint256";
|
|
677
|
+
readonly indexed: false;
|
|
678
|
+
readonly internalType: "uint256";
|
|
679
|
+
}, {
|
|
680
|
+
readonly name: "referralCode";
|
|
681
|
+
readonly type: "uint16";
|
|
682
|
+
readonly indexed: false;
|
|
683
|
+
readonly internalType: "uint16";
|
|
684
|
+
}];
|
|
685
|
+
readonly anonymous: false;
|
|
686
|
+
}, {
|
|
687
|
+
readonly type: "event";
|
|
688
|
+
readonly name: "TokenDisabled";
|
|
689
|
+
readonly inputs: readonly [{
|
|
690
|
+
readonly name: "borrower";
|
|
691
|
+
readonly type: "address";
|
|
692
|
+
readonly indexed: true;
|
|
693
|
+
readonly internalType: "address";
|
|
694
|
+
}, {
|
|
695
|
+
readonly name: "token";
|
|
696
|
+
readonly type: "address";
|
|
697
|
+
readonly indexed: true;
|
|
698
|
+
readonly internalType: "address";
|
|
699
|
+
}];
|
|
700
|
+
readonly anonymous: false;
|
|
701
|
+
}, {
|
|
702
|
+
readonly type: "event";
|
|
703
|
+
readonly name: "TokenEnabled";
|
|
704
|
+
readonly inputs: readonly [{
|
|
705
|
+
readonly name: "borrower";
|
|
706
|
+
readonly type: "address";
|
|
707
|
+
readonly indexed: true;
|
|
708
|
+
readonly internalType: "address";
|
|
709
|
+
}, {
|
|
710
|
+
readonly name: "token";
|
|
711
|
+
readonly type: "address";
|
|
712
|
+
readonly indexed: true;
|
|
713
|
+
readonly internalType: "address";
|
|
714
|
+
}];
|
|
715
|
+
readonly anonymous: false;
|
|
716
|
+
}, {
|
|
717
|
+
readonly type: "event";
|
|
718
|
+
readonly name: "TransferAccount";
|
|
719
|
+
readonly inputs: readonly [{
|
|
720
|
+
readonly name: "oldOwner";
|
|
721
|
+
readonly type: "address";
|
|
722
|
+
readonly indexed: true;
|
|
723
|
+
readonly internalType: "address";
|
|
724
|
+
}, {
|
|
725
|
+
readonly name: "newOwner";
|
|
726
|
+
readonly type: "address";
|
|
727
|
+
readonly indexed: true;
|
|
728
|
+
readonly internalType: "address";
|
|
729
|
+
}];
|
|
730
|
+
readonly anonymous: false;
|
|
731
|
+
}, {
|
|
732
|
+
readonly type: "event";
|
|
733
|
+
readonly name: "TransferAccountAllowed";
|
|
734
|
+
readonly inputs: readonly [{
|
|
735
|
+
readonly name: "from";
|
|
736
|
+
readonly type: "address";
|
|
737
|
+
readonly indexed: true;
|
|
738
|
+
readonly internalType: "address";
|
|
739
|
+
}, {
|
|
740
|
+
readonly name: "to";
|
|
741
|
+
readonly type: "address";
|
|
742
|
+
readonly indexed: true;
|
|
743
|
+
readonly internalType: "address";
|
|
744
|
+
}, {
|
|
745
|
+
readonly name: "state";
|
|
746
|
+
readonly type: "bool";
|
|
747
|
+
readonly indexed: false;
|
|
748
|
+
readonly internalType: "bool";
|
|
749
|
+
}];
|
|
750
|
+
readonly anonymous: false;
|
|
751
|
+
}, {
|
|
752
|
+
readonly type: "event";
|
|
753
|
+
readonly name: "UnderlyingSentToBlacklistHelper";
|
|
754
|
+
readonly inputs: readonly [{
|
|
755
|
+
readonly name: "borrower";
|
|
756
|
+
readonly type: "address";
|
|
757
|
+
readonly indexed: true;
|
|
758
|
+
readonly internalType: "address";
|
|
759
|
+
}, {
|
|
760
|
+
readonly name: "amount";
|
|
761
|
+
readonly type: "uint256";
|
|
762
|
+
readonly indexed: false;
|
|
763
|
+
readonly internalType: "uint256";
|
|
764
|
+
}];
|
|
765
|
+
readonly anonymous: false;
|
|
766
|
+
}, {
|
|
767
|
+
readonly type: "error";
|
|
768
|
+
readonly name: "AccountTransferNotAllowedException";
|
|
769
|
+
readonly inputs: readonly [];
|
|
770
|
+
}, {
|
|
771
|
+
readonly type: "error";
|
|
772
|
+
readonly name: "ActionProhibitedWithForbiddenTokensException";
|
|
773
|
+
readonly inputs: readonly [];
|
|
774
|
+
}, {
|
|
775
|
+
readonly type: "error";
|
|
776
|
+
readonly name: "AdaptersOrCreditFacadeOnlyException";
|
|
777
|
+
readonly inputs: readonly [];
|
|
778
|
+
}, {
|
|
779
|
+
readonly type: "error";
|
|
780
|
+
readonly name: "AllowanceFailedException";
|
|
781
|
+
readonly inputs: readonly [];
|
|
782
|
+
}, {
|
|
783
|
+
readonly type: "error";
|
|
784
|
+
readonly name: "BalanceLessThanMinimumDesiredException";
|
|
785
|
+
readonly inputs: readonly [{
|
|
786
|
+
readonly name: "";
|
|
787
|
+
readonly type: "address";
|
|
788
|
+
readonly internalType: "address";
|
|
789
|
+
}];
|
|
790
|
+
}, {
|
|
791
|
+
readonly type: "error";
|
|
792
|
+
readonly name: "BorrowAmountOutOfLimitsException";
|
|
793
|
+
readonly inputs: readonly [];
|
|
794
|
+
}, {
|
|
795
|
+
readonly type: "error";
|
|
796
|
+
readonly name: "BorrowedBlockLimitException";
|
|
797
|
+
readonly inputs: readonly [];
|
|
798
|
+
}, {
|
|
799
|
+
readonly type: "error";
|
|
800
|
+
readonly name: "CantLiquidateNonExpiredException";
|
|
801
|
+
readonly inputs: readonly [];
|
|
802
|
+
}, {
|
|
803
|
+
readonly type: "error";
|
|
804
|
+
readonly name: "CantLiquidateWithSuchHealthFactorException";
|
|
805
|
+
readonly inputs: readonly [];
|
|
806
|
+
}, {
|
|
807
|
+
readonly type: "error";
|
|
808
|
+
readonly name: "CantTransferLiquidatableAccountException";
|
|
809
|
+
readonly inputs: readonly [];
|
|
810
|
+
}, {
|
|
811
|
+
readonly type: "error";
|
|
812
|
+
readonly name: "CreditConfiguratorOnlyException";
|
|
813
|
+
readonly inputs: readonly [];
|
|
814
|
+
}, {
|
|
815
|
+
readonly type: "error";
|
|
816
|
+
readonly name: "CreditFacadeOnlyException";
|
|
817
|
+
readonly inputs: readonly [];
|
|
818
|
+
}, {
|
|
819
|
+
readonly type: "error";
|
|
820
|
+
readonly name: "ExpectedBalancesAlreadySetException";
|
|
821
|
+
readonly inputs: readonly [];
|
|
822
|
+
}, {
|
|
823
|
+
readonly type: "error";
|
|
824
|
+
readonly name: "ForbiddenDuringClosureException";
|
|
825
|
+
readonly inputs: readonly [];
|
|
826
|
+
}, {
|
|
827
|
+
readonly type: "error";
|
|
828
|
+
readonly name: "HasNoOpenedAccountException";
|
|
829
|
+
readonly inputs: readonly [];
|
|
830
|
+
}, {
|
|
831
|
+
readonly type: "error";
|
|
832
|
+
readonly name: "IncorrectCallDataException";
|
|
833
|
+
readonly inputs: readonly [];
|
|
834
|
+
}, {
|
|
835
|
+
readonly type: "error";
|
|
836
|
+
readonly name: "IncreaseAndDecreaseForbiddenInOneCallException";
|
|
837
|
+
readonly inputs: readonly [];
|
|
838
|
+
}, {
|
|
839
|
+
readonly type: "error";
|
|
840
|
+
readonly name: "IncreaseDebtForbiddenException";
|
|
841
|
+
readonly inputs: readonly [];
|
|
842
|
+
}, {
|
|
843
|
+
readonly type: "error";
|
|
844
|
+
readonly name: "LiquiditySanityCheckException";
|
|
845
|
+
readonly inputs: readonly [];
|
|
846
|
+
}, {
|
|
847
|
+
readonly type: "error";
|
|
848
|
+
readonly name: "NotAllowedForBlacklistedAddressException";
|
|
849
|
+
readonly inputs: readonly [];
|
|
850
|
+
}, {
|
|
851
|
+
readonly type: "error";
|
|
852
|
+
readonly name: "NotAllowedInWhitelistedMode";
|
|
853
|
+
readonly inputs: readonly [];
|
|
854
|
+
}, {
|
|
855
|
+
readonly type: "error";
|
|
856
|
+
readonly name: "NotAllowedWhenNotExpirableException";
|
|
857
|
+
readonly inputs: readonly [];
|
|
858
|
+
}, {
|
|
859
|
+
readonly type: "error";
|
|
860
|
+
readonly name: "NotEnoughCollateralException";
|
|
861
|
+
readonly inputs: readonly [];
|
|
862
|
+
}, {
|
|
863
|
+
readonly type: "error";
|
|
864
|
+
readonly name: "OpenAccountNotAllowedAfterExpirationException";
|
|
865
|
+
readonly inputs: readonly [];
|
|
866
|
+
}, {
|
|
867
|
+
readonly type: "error";
|
|
868
|
+
readonly name: "ReentrancyLockException";
|
|
869
|
+
readonly inputs: readonly [];
|
|
870
|
+
}, {
|
|
871
|
+
readonly type: "error";
|
|
872
|
+
readonly name: "TargetContractNotAllowedException";
|
|
873
|
+
readonly inputs: readonly [];
|
|
874
|
+
}, {
|
|
875
|
+
readonly type: "error";
|
|
876
|
+
readonly name: "TokenAlreadyAddedException";
|
|
877
|
+
readonly inputs: readonly [];
|
|
878
|
+
}, {
|
|
879
|
+
readonly type: "error";
|
|
880
|
+
readonly name: "TokenNotAllowedException";
|
|
881
|
+
readonly inputs: readonly [];
|
|
882
|
+
}, {
|
|
883
|
+
readonly type: "error";
|
|
884
|
+
readonly name: "TooManyEnabledTokensException";
|
|
885
|
+
readonly inputs: readonly [];
|
|
886
|
+
}, {
|
|
887
|
+
readonly type: "error";
|
|
888
|
+
readonly name: "TooManyTokensException";
|
|
889
|
+
readonly inputs: readonly [];
|
|
890
|
+
}, {
|
|
891
|
+
readonly type: "error";
|
|
892
|
+
readonly name: "UnknownMethodException";
|
|
893
|
+
readonly inputs: readonly [];
|
|
894
|
+
}, {
|
|
895
|
+
readonly type: "error";
|
|
896
|
+
readonly name: "ZeroAddressOrUserAlreadyHasAccountException";
|
|
897
|
+
readonly inputs: readonly [];
|
|
898
898
|
}];
|
|
899
899
|
static createInterface(): ICreditFacadeV2Interface;
|
|
900
900
|
static connect(address: string, signerOrProvider: Signer | Provider): ICreditFacadeV2;
|