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