@gearbox-protocol/sdk 3.0.0-next.11 → 3.0.0-next.111
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 +32 -3
- package/lib/apy/convexAPY.d.ts +3 -3
- package/lib/apy/convexAPY.js +7 -2
- package/lib/apy/curveAPY.d.ts +4 -4
- package/lib/apy/curveAPY.js +5 -9
- package/lib/apy/defiLamaAPY.d.ts +3 -0
- package/lib/apy/defiLamaAPY.js +72 -0
- package/lib/apy/index.d.ts +5 -4
- package/lib/apy/index.js +5 -0
- package/lib/apy/lidoAPY.d.ts +3 -1
- package/lib/apy/lidoAPY.js +6 -3
- package/lib/apy/yearnAPY.d.ts +3 -3
- package/lib/apy/yearnAPY.js +12 -9
- package/lib/contracts/contractsRegister.d.ts +9 -4
- package/lib/contracts/contractsRegister.js +15 -0
- package/lib/core/assets.d.ts +2 -2
- package/lib/core/assets.js +4 -4
- package/lib/core/creditAccount.d.ts +72 -15
- package/lib/core/creditAccount.js +156 -62
- package/lib/core/creditAccount.spec.js +908 -17
- package/lib/core/creditManager.d.ts +18 -6
- package/lib/core/creditManager.js +61 -13
- package/lib/core/creditSession.d.ts +11 -1
- package/lib/core/creditSession.js +20 -2
- package/lib/core/endpoint.d.ts +13 -0
- package/lib/core/endpoint.js +31 -0
- 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} +16 -8
- package/lib/core/{pool/data.js → pool.js} +43 -20
- 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 +110 -14
- package/lib/core/transactions.js +191 -108
- package/lib/index.d.ts +5 -2
- package/lib/index.js +5 -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 +11 -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 +33 -6
- 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/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 +20 -1
- package/lib/pathfinder/pathOptions.spec.js +2 -2
- package/lib/pathfinder/pathfinder.d.ts +46 -19
- package/lib/pathfinder/pathfinder.js +59 -48
- package/lib/pathfinder/pathfinder.spec.js +21 -4
- package/lib/pathfinder/utils.d.ts +35 -0
- package/lib/pathfinder/utils.js +182 -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 +3 -0
- package/lib/payload/creditSession.d.ts +11 -0
- package/lib/payload/gauge.d.ts +12 -0
- package/lib/payload/pool.d.ts +4 -0
- 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/IBalancerV2VaultAdapter.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js +2 -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 +58 -109
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +31 -35
- package/lib/types/ICreditFacadeV3Multicall.d.ts +91 -60
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +117 -97
- 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 +26 -41
- package/lib/types/IDataCompressorV3_00.d.ts +123 -42
- 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/IERC20Permit.d.ts +74 -0
- package/lib/types/IERC20Permit.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 +43 -3
- 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 +281 -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 +56 -37
- 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} +103 -83
- package/lib/types/factories/{IWERC20Zapper__factory.js → IAaveV2_LendingPoolAdapter__factory.js} +114 -90
- 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/{IWETHZapper__factory.d.ts → IContractsRegister.sol/IContractsRegister__factory.d.ts} +80 -76
- package/lib/types/factories/{IWETHZapper__factory.js → IContractsRegister.sol/IContractsRegister__factory.js} +85 -80
- 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 +77 -87
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +84 -96
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +281 -357
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +372 -468
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +106 -72
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +122 -80
- 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 +404 -400
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +450 -445
- 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 +374 -384
- package/lib/types/factories/IDataCompressorV2_10__factory.js +386 -400
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +683 -457
- package/lib/types/factories/IDataCompressorV3_00__factory.js +765 -478
- 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 +66 -0
- package/lib/types/factories/IERC20Permit__factory.js +94 -0
- 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 +591 -533
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +734 -659
- 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/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +249 -0
- 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 +451 -0
- package/lib/types/factories/IRouterV3__factory.js +597 -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 +63 -33
- package/lib/types/factories/IZapper__factory.js +72 -33
- 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 -5
- package/lib/types/factories/index.js +74 -10
- package/lib/types/factories/interfaces/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
- package/lib/types/factories/interfaces/index.d.ts +1 -0
- package/lib/types/factories/interfaces/index.js +8 -0
- package/lib/types/index.d.ts +168 -20
- package/lib/types/index.js +133 -16
- package/lib/types/interfaces/IGasPricer.d.ts +44 -0
- package/lib/types/interfaces/IGasPricer.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/lib/utils/formatter.d.ts +1 -4
- package/lib/utils/formatter.js +3 -69
- package/lib/utils/math.d.ts +2 -0
- package/lib/utils/math.js +2 -0
- package/lib/utils/types.d.ts +1 -0
- package/lib/watchers/creditAccountWatcher.d.ts +3 -2
- package/lib/watchers/creditAccountWatcher.js +19 -13
- 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 +13 -9
- 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 -142
- package/lib/types/IWETHZapper.d.ts +0 -138
- 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/ILidoV1Adapter.sol/ILidoV1Adapter.js → payload/gauge.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → CalldataExtractor.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → ERC20.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/index.js → FarmAccounting.js} +0 -0
- /package/lib/types/{IWERC20Zapper.js → IAaveV2_LendingPoolAdapter.js} +0 -0
- /package/lib/types/{IWETHZapper.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol → IBalancerV2Vault.sol}/index.js +0 -0
|
@@ -3,1016 +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
|
|
370
|
-
readonly name: "since";
|
|
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
|
}, {
|
|
438
|
-
readonly inputs: readonly [];
|
|
439
|
-
readonly name: "description";
|
|
440
|
-
readonly outputs: readonly [{
|
|
441
|
-
readonly internalType: "string";
|
|
442
|
-
readonly name: "";
|
|
443
|
-
readonly type: "string";
|
|
444
|
-
}];
|
|
445
|
-
readonly stateMutability: "view";
|
|
446
339
|
readonly type: "function";
|
|
447
|
-
|
|
340
|
+
readonly name: "enabledTokensMaskOf";
|
|
448
341
|
readonly inputs: readonly [{
|
|
449
|
-
readonly internalType: "address";
|
|
450
342
|
readonly name: "creditAccount";
|
|
451
343
|
readonly type: "address";
|
|
344
|
+
readonly internalType: "address";
|
|
452
345
|
}];
|
|
453
|
-
readonly name: "enabledTokensMaskOf";
|
|
454
346
|
readonly outputs: readonly [{
|
|
455
|
-
readonly internalType: "uint256";
|
|
456
347
|
readonly name: "";
|
|
457
348
|
readonly type: "uint256";
|
|
349
|
+
readonly internalType: "uint256";
|
|
458
350
|
}];
|
|
459
351
|
readonly stateMutability: "view";
|
|
460
|
-
readonly type: "function";
|
|
461
352
|
}, {
|
|
353
|
+
readonly type: "function";
|
|
354
|
+
readonly name: "execute";
|
|
462
355
|
readonly inputs: readonly [{
|
|
463
|
-
readonly internalType: "bytes";
|
|
464
356
|
readonly name: "data";
|
|
465
357
|
readonly type: "bytes";
|
|
358
|
+
readonly internalType: "bytes";
|
|
466
359
|
}];
|
|
467
|
-
readonly name: "execute";
|
|
468
360
|
readonly outputs: readonly [{
|
|
469
|
-
readonly internalType: "bytes";
|
|
470
361
|
readonly name: "result";
|
|
471
362
|
readonly type: "bytes";
|
|
363
|
+
readonly internalType: "bytes";
|
|
472
364
|
}];
|
|
473
365
|
readonly stateMutability: "nonpayable";
|
|
366
|
+
}, {
|
|
474
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";
|
|
475
388
|
}, {
|
|
476
|
-
readonly
|
|
389
|
+
readonly type: "function";
|
|
477
390
|
readonly name: "fees";
|
|
391
|
+
readonly inputs: readonly [];
|
|
478
392
|
readonly outputs: readonly [{
|
|
479
|
-
readonly internalType: "uint16";
|
|
480
393
|
readonly name: "feeInterest";
|
|
481
394
|
readonly type: "uint16";
|
|
482
|
-
}, {
|
|
483
395
|
readonly internalType: "uint16";
|
|
396
|
+
}, {
|
|
484
397
|
readonly name: "feeLiquidation";
|
|
485
398
|
readonly type: "uint16";
|
|
486
|
-
}, {
|
|
487
399
|
readonly internalType: "uint16";
|
|
400
|
+
}, {
|
|
488
401
|
readonly name: "liquidationDiscount";
|
|
489
402
|
readonly type: "uint16";
|
|
490
|
-
}, {
|
|
491
403
|
readonly internalType: "uint16";
|
|
404
|
+
}, {
|
|
492
405
|
readonly name: "feeLiquidationExpired";
|
|
493
406
|
readonly type: "uint16";
|
|
494
|
-
}, {
|
|
495
407
|
readonly internalType: "uint16";
|
|
408
|
+
}, {
|
|
496
409
|
readonly name: "liquidationDiscountExpired";
|
|
497
410
|
readonly type: "uint16";
|
|
411
|
+
readonly internalType: "uint16";
|
|
498
412
|
}];
|
|
499
413
|
readonly stateMutability: "view";
|
|
500
|
-
readonly type: "function";
|
|
501
414
|
}, {
|
|
415
|
+
readonly type: "function";
|
|
416
|
+
readonly name: "flagsOf";
|
|
502
417
|
readonly inputs: readonly [{
|
|
503
|
-
readonly internalType: "address";
|
|
504
418
|
readonly name: "creditAccount";
|
|
505
419
|
readonly type: "address";
|
|
420
|
+
readonly internalType: "address";
|
|
506
421
|
}];
|
|
507
|
-
readonly name: "flagsOf";
|
|
508
422
|
readonly outputs: readonly [{
|
|
509
|
-
readonly internalType: "uint16";
|
|
510
423
|
readonly name: "";
|
|
511
424
|
readonly type: "uint16";
|
|
425
|
+
readonly internalType: "uint16";
|
|
512
426
|
}];
|
|
513
427
|
readonly stateMutability: "view";
|
|
514
|
-
readonly type: "function";
|
|
515
428
|
}, {
|
|
429
|
+
readonly type: "function";
|
|
430
|
+
readonly name: "fullCollateralCheck";
|
|
516
431
|
readonly inputs: readonly [{
|
|
517
|
-
readonly internalType: "address";
|
|
518
432
|
readonly name: "creditAccount";
|
|
519
433
|
readonly type: "address";
|
|
434
|
+
readonly internalType: "address";
|
|
520
435
|
}, {
|
|
521
|
-
readonly internalType: "uint256";
|
|
522
436
|
readonly name: "enabledTokensMask";
|
|
523
437
|
readonly type: "uint256";
|
|
438
|
+
readonly internalType: "uint256";
|
|
524
439
|
}, {
|
|
525
|
-
readonly internalType: "uint256[]";
|
|
526
440
|
readonly name: "collateralHints";
|
|
527
441
|
readonly type: "uint256[]";
|
|
442
|
+
readonly internalType: "uint256[]";
|
|
528
443
|
}, {
|
|
529
|
-
readonly internalType: "uint16";
|
|
530
444
|
readonly name: "minHealthFactor";
|
|
531
445
|
readonly type: "uint16";
|
|
446
|
+
readonly internalType: "uint16";
|
|
447
|
+
}, {
|
|
448
|
+
readonly name: "useSafePrices";
|
|
449
|
+
readonly type: "bool";
|
|
450
|
+
readonly internalType: "bool";
|
|
532
451
|
}];
|
|
533
|
-
readonly name: "fullCollateralCheck";
|
|
534
452
|
readonly outputs: readonly [{
|
|
535
|
-
readonly internalType: "uint256";
|
|
536
453
|
readonly name: "enabledTokensMaskAfter";
|
|
537
454
|
readonly type: "uint256";
|
|
455
|
+
readonly internalType: "uint256";
|
|
538
456
|
}];
|
|
539
457
|
readonly stateMutability: "nonpayable";
|
|
540
|
-
readonly type: "function";
|
|
541
458
|
}, {
|
|
542
|
-
readonly
|
|
459
|
+
readonly type: "function";
|
|
543
460
|
readonly name: "getActiveCreditAccountOrRevert";
|
|
461
|
+
readonly inputs: readonly [];
|
|
544
462
|
readonly outputs: readonly [{
|
|
545
|
-
readonly internalType: "address";
|
|
546
463
|
readonly name: "creditAccount";
|
|
547
464
|
readonly type: "address";
|
|
465
|
+
readonly internalType: "address";
|
|
548
466
|
}];
|
|
549
467
|
readonly stateMutability: "view";
|
|
550
|
-
readonly type: "function";
|
|
551
468
|
}, {
|
|
469
|
+
readonly type: "function";
|
|
470
|
+
readonly name: "getBorrowerOrRevert";
|
|
552
471
|
readonly inputs: readonly [{
|
|
553
|
-
readonly internalType: "address";
|
|
554
472
|
readonly name: "creditAccount";
|
|
555
473
|
readonly type: "address";
|
|
474
|
+
readonly internalType: "address";
|
|
556
475
|
}];
|
|
557
|
-
readonly name: "getBorrowerOrRevert";
|
|
558
476
|
readonly outputs: readonly [{
|
|
559
|
-
readonly internalType: "address";
|
|
560
477
|
readonly name: "borrower";
|
|
561
478
|
readonly type: "address";
|
|
479
|
+
readonly internalType: "address";
|
|
562
480
|
}];
|
|
563
481
|
readonly stateMutability: "view";
|
|
564
|
-
readonly type: "function";
|
|
565
482
|
}, {
|
|
483
|
+
readonly type: "function";
|
|
484
|
+
readonly name: "getTokenByMask";
|
|
566
485
|
readonly inputs: readonly [{
|
|
567
|
-
readonly internalType: "uint256";
|
|
568
486
|
readonly name: "tokenMask";
|
|
569
487
|
readonly type: "uint256";
|
|
488
|
+
readonly internalType: "uint256";
|
|
570
489
|
}];
|
|
571
|
-
readonly name: "getTokenByMask";
|
|
572
490
|
readonly outputs: readonly [{
|
|
573
|
-
readonly internalType: "address";
|
|
574
491
|
readonly name: "token";
|
|
575
492
|
readonly type: "address";
|
|
493
|
+
readonly internalType: "address";
|
|
576
494
|
}];
|
|
577
495
|
readonly stateMutability: "view";
|
|
578
|
-
readonly type: "function";
|
|
579
496
|
}, {
|
|
497
|
+
readonly type: "function";
|
|
498
|
+
readonly name: "getTokenMaskOrRevert";
|
|
580
499
|
readonly inputs: readonly [{
|
|
581
|
-
readonly internalType: "address";
|
|
582
500
|
readonly name: "token";
|
|
583
501
|
readonly type: "address";
|
|
502
|
+
readonly internalType: "address";
|
|
584
503
|
}];
|
|
585
|
-
readonly name: "getTokenMaskOrRevert";
|
|
586
504
|
readonly outputs: readonly [{
|
|
587
|
-
readonly internalType: "uint256";
|
|
588
505
|
readonly name: "tokenMask";
|
|
589
506
|
readonly type: "uint256";
|
|
507
|
+
readonly internalType: "uint256";
|
|
590
508
|
}];
|
|
591
509
|
readonly stateMutability: "view";
|
|
592
|
-
readonly type: "function";
|
|
593
510
|
}, {
|
|
511
|
+
readonly type: "function";
|
|
512
|
+
readonly name: "isLiquidatable";
|
|
594
513
|
readonly inputs: readonly [{
|
|
595
|
-
readonly internalType: "address";
|
|
596
514
|
readonly name: "creditAccount";
|
|
597
515
|
readonly type: "address";
|
|
516
|
+
readonly internalType: "address";
|
|
598
517
|
}, {
|
|
599
|
-
readonly internalType: "uint16";
|
|
600
518
|
readonly name: "minHealthFactor";
|
|
601
519
|
readonly type: "uint16";
|
|
520
|
+
readonly internalType: "uint16";
|
|
602
521
|
}];
|
|
603
|
-
readonly name: "isLiquidatable";
|
|
604
522
|
readonly outputs: readonly [{
|
|
605
|
-
readonly internalType: "bool";
|
|
606
523
|
readonly name: "";
|
|
607
524
|
readonly type: "bool";
|
|
525
|
+
readonly internalType: "bool";
|
|
608
526
|
}];
|
|
609
527
|
readonly stateMutability: "view";
|
|
610
|
-
readonly type: "function";
|
|
611
528
|
}, {
|
|
529
|
+
readonly type: "function";
|
|
530
|
+
readonly name: "liquidateCreditAccount";
|
|
612
531
|
readonly inputs: readonly [{
|
|
532
|
+
readonly name: "creditAccount";
|
|
533
|
+
readonly type: "address";
|
|
613
534
|
readonly internalType: "address";
|
|
614
|
-
|
|
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";
|
|
615
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";
|
|
616
613
|
}];
|
|
614
|
+
readonly stateMutability: "nonpayable";
|
|
615
|
+
}, {
|
|
616
|
+
readonly type: "function";
|
|
617
617
|
readonly name: "liquidationThresholds";
|
|
618
|
+
readonly inputs: readonly [{
|
|
619
|
+
readonly name: "token";
|
|
620
|
+
readonly type: "address";
|
|
621
|
+
readonly internalType: "address";
|
|
622
|
+
}];
|
|
618
623
|
readonly outputs: readonly [{
|
|
619
|
-
readonly internalType: "uint16";
|
|
620
624
|
readonly name: "lt";
|
|
621
625
|
readonly type: "uint16";
|
|
626
|
+
readonly internalType: "uint16";
|
|
622
627
|
}];
|
|
623
628
|
readonly stateMutability: "view";
|
|
624
|
-
readonly type: "function";
|
|
625
629
|
}, {
|
|
630
|
+
readonly type: "function";
|
|
631
|
+
readonly name: "ltParams";
|
|
626
632
|
readonly inputs: readonly [{
|
|
627
|
-
readonly internalType: "address";
|
|
628
633
|
readonly name: "token";
|
|
629
634
|
readonly type: "address";
|
|
635
|
+
readonly internalType: "address";
|
|
630
636
|
}];
|
|
631
|
-
readonly name: "ltParams";
|
|
632
637
|
readonly outputs: readonly [{
|
|
633
|
-
readonly internalType: "uint16";
|
|
634
638
|
readonly name: "ltInitial";
|
|
635
639
|
readonly type: "uint16";
|
|
636
|
-
}, {
|
|
637
640
|
readonly internalType: "uint16";
|
|
641
|
+
}, {
|
|
638
642
|
readonly name: "ltFinal";
|
|
639
643
|
readonly type: "uint16";
|
|
644
|
+
readonly internalType: "uint16";
|
|
640
645
|
}, {
|
|
641
|
-
readonly internalType: "uint40";
|
|
642
646
|
readonly name: "timestampRampStart";
|
|
643
647
|
readonly type: "uint40";
|
|
648
|
+
readonly internalType: "uint40";
|
|
644
649
|
}, {
|
|
645
|
-
readonly internalType: "uint24";
|
|
646
650
|
readonly name: "rampDuration";
|
|
647
651
|
readonly type: "uint24";
|
|
652
|
+
readonly internalType: "uint24";
|
|
648
653
|
}];
|
|
649
654
|
readonly stateMutability: "view";
|
|
650
|
-
readonly type: "function";
|
|
651
655
|
}, {
|
|
656
|
+
readonly type: "function";
|
|
657
|
+
readonly name: "manageDebt";
|
|
652
658
|
readonly inputs: readonly [{
|
|
653
|
-
readonly internalType: "address";
|
|
654
659
|
readonly name: "creditAccount";
|
|
655
660
|
readonly type: "address";
|
|
661
|
+
readonly internalType: "address";
|
|
656
662
|
}, {
|
|
657
|
-
readonly internalType: "uint256";
|
|
658
663
|
readonly name: "amount";
|
|
659
664
|
readonly type: "uint256";
|
|
660
|
-
}, {
|
|
661
665
|
readonly internalType: "uint256";
|
|
666
|
+
}, {
|
|
662
667
|
readonly name: "enabledTokensMask";
|
|
663
668
|
readonly type: "uint256";
|
|
669
|
+
readonly internalType: "uint256";
|
|
664
670
|
}, {
|
|
665
|
-
readonly internalType: "enum ManageDebtAction";
|
|
666
671
|
readonly name: "action";
|
|
667
672
|
readonly type: "uint8";
|
|
673
|
+
readonly internalType: "enum ManageDebtAction";
|
|
668
674
|
}];
|
|
669
|
-
readonly name: "manageDebt";
|
|
670
675
|
readonly outputs: readonly [{
|
|
671
|
-
readonly internalType: "uint256";
|
|
672
676
|
readonly name: "newDebt";
|
|
673
677
|
readonly type: "uint256";
|
|
674
|
-
}, {
|
|
675
678
|
readonly internalType: "uint256";
|
|
679
|
+
}, {
|
|
676
680
|
readonly name: "tokensToEnable";
|
|
677
681
|
readonly type: "uint256";
|
|
678
|
-
}, {
|
|
679
682
|
readonly internalType: "uint256";
|
|
683
|
+
}, {
|
|
680
684
|
readonly name: "tokensToDisable";
|
|
681
685
|
readonly type: "uint256";
|
|
686
|
+
readonly internalType: "uint256";
|
|
682
687
|
}];
|
|
683
688
|
readonly stateMutability: "nonpayable";
|
|
684
|
-
readonly type: "function";
|
|
685
689
|
}, {
|
|
686
|
-
readonly
|
|
690
|
+
readonly type: "function";
|
|
687
691
|
readonly name: "maxEnabledTokens";
|
|
692
|
+
readonly inputs: readonly [];
|
|
688
693
|
readonly outputs: readonly [{
|
|
689
|
-
readonly internalType: "uint8";
|
|
690
694
|
readonly name: "";
|
|
691
695
|
readonly type: "uint8";
|
|
696
|
+
readonly internalType: "uint8";
|
|
692
697
|
}];
|
|
693
698
|
readonly stateMutability: "view";
|
|
699
|
+
}, {
|
|
694
700
|
readonly type: "function";
|
|
701
|
+
readonly name: "name";
|
|
702
|
+
readonly inputs: readonly [];
|
|
703
|
+
readonly outputs: readonly [{
|
|
704
|
+
readonly name: "";
|
|
705
|
+
readonly type: "string";
|
|
706
|
+
readonly internalType: "string";
|
|
707
|
+
}];
|
|
708
|
+
readonly stateMutability: "view";
|
|
695
709
|
}, {
|
|
710
|
+
readonly type: "function";
|
|
711
|
+
readonly name: "openCreditAccount";
|
|
696
712
|
readonly inputs: readonly [{
|
|
697
|
-
readonly internalType: "uint256";
|
|
698
|
-
readonly name: "debt";
|
|
699
|
-
readonly type: "uint256";
|
|
700
|
-
}, {
|
|
701
|
-
readonly internalType: "address";
|
|
702
713
|
readonly name: "onBehalfOf";
|
|
703
714
|
readonly type: "address";
|
|
715
|
+
readonly internalType: "address";
|
|
704
716
|
}];
|
|
705
|
-
readonly name: "openCreditAccount";
|
|
706
717
|
readonly outputs: readonly [{
|
|
707
|
-
readonly internalType: "address";
|
|
708
718
|
readonly name: "";
|
|
709
719
|
readonly type: "address";
|
|
720
|
+
readonly internalType: "address";
|
|
710
721
|
}];
|
|
711
722
|
readonly stateMutability: "nonpayable";
|
|
712
|
-
readonly type: "function";
|
|
713
723
|
}, {
|
|
714
|
-
readonly
|
|
724
|
+
readonly type: "function";
|
|
715
725
|
readonly name: "pool";
|
|
726
|
+
readonly inputs: readonly [];
|
|
716
727
|
readonly outputs: readonly [{
|
|
717
|
-
readonly internalType: "address";
|
|
718
728
|
readonly name: "";
|
|
719
729
|
readonly type: "address";
|
|
730
|
+
readonly internalType: "address";
|
|
720
731
|
}];
|
|
721
732
|
readonly stateMutability: "view";
|
|
722
|
-
readonly type: "function";
|
|
723
733
|
}, {
|
|
724
|
-
readonly
|
|
734
|
+
readonly type: "function";
|
|
725
735
|
readonly name: "poolQuotaKeeper";
|
|
736
|
+
readonly inputs: readonly [];
|
|
726
737
|
readonly outputs: readonly [{
|
|
727
|
-
readonly internalType: "address";
|
|
728
738
|
readonly name: "";
|
|
729
739
|
readonly type: "address";
|
|
740
|
+
readonly internalType: "address";
|
|
730
741
|
}];
|
|
731
742
|
readonly stateMutability: "view";
|
|
732
|
-
readonly type: "function";
|
|
733
743
|
}, {
|
|
734
|
-
readonly
|
|
744
|
+
readonly type: "function";
|
|
735
745
|
readonly name: "priceOracle";
|
|
746
|
+
readonly inputs: readonly [];
|
|
736
747
|
readonly outputs: readonly [{
|
|
737
|
-
readonly internalType: "address";
|
|
738
748
|
readonly name: "";
|
|
739
749
|
readonly type: "address";
|
|
750
|
+
readonly internalType: "address";
|
|
740
751
|
}];
|
|
741
752
|
readonly stateMutability: "view";
|
|
742
|
-
readonly type: "function";
|
|
743
753
|
}, {
|
|
744
|
-
readonly
|
|
754
|
+
readonly type: "function";
|
|
745
755
|
readonly name: "quotedTokensMask";
|
|
756
|
+
readonly inputs: readonly [];
|
|
746
757
|
readonly outputs: readonly [{
|
|
747
|
-
readonly internalType: "uint256";
|
|
748
758
|
readonly name: "";
|
|
749
759
|
readonly type: "uint256";
|
|
760
|
+
readonly internalType: "uint256";
|
|
750
761
|
}];
|
|
751
762
|
readonly stateMutability: "view";
|
|
752
|
-
readonly type: "function";
|
|
753
763
|
}, {
|
|
764
|
+
readonly type: "function";
|
|
765
|
+
readonly name: "revokeAdapterAllowances";
|
|
754
766
|
readonly inputs: readonly [{
|
|
755
|
-
readonly internalType: "address";
|
|
756
767
|
readonly name: "creditAccount";
|
|
757
768
|
readonly type: "address";
|
|
769
|
+
readonly internalType: "address";
|
|
758
770
|
}, {
|
|
771
|
+
readonly name: "revocations";
|
|
772
|
+
readonly type: "tuple[]";
|
|
773
|
+
readonly internalType: "struct RevocationPair[]";
|
|
759
774
|
readonly components: readonly [{
|
|
760
|
-
readonly internalType: "address";
|
|
761
775
|
readonly name: "spender";
|
|
762
776
|
readonly type: "address";
|
|
763
|
-
}, {
|
|
764
777
|
readonly internalType: "address";
|
|
778
|
+
}, {
|
|
765
779
|
readonly name: "token";
|
|
766
780
|
readonly type: "address";
|
|
781
|
+
readonly internalType: "address";
|
|
767
782
|
}];
|
|
768
|
-
readonly internalType: "struct RevocationPair[]";
|
|
769
|
-
readonly name: "revocations";
|
|
770
|
-
readonly type: "tuple[]";
|
|
771
783
|
}];
|
|
772
|
-
readonly name: "revokeAdapterAllowances";
|
|
773
784
|
readonly outputs: readonly [];
|
|
774
785
|
readonly stateMutability: "nonpayable";
|
|
775
|
-
readonly type: "function";
|
|
776
786
|
}, {
|
|
777
|
-
readonly inputs: readonly [{
|
|
778
|
-
readonly internalType: "address";
|
|
779
|
-
readonly name: "creditAccount";
|
|
780
|
-
readonly type: "address";
|
|
781
|
-
}, {
|
|
782
|
-
readonly internalType: "address";
|
|
783
|
-
readonly name: "token";
|
|
784
|
-
readonly type: "address";
|
|
785
|
-
}, {
|
|
786
|
-
readonly internalType: "uint256";
|
|
787
|
-
readonly name: "amount";
|
|
788
|
-
readonly type: "uint256";
|
|
789
|
-
}];
|
|
790
|
-
readonly name: "scheduleWithdrawal";
|
|
791
|
-
readonly outputs: readonly [{
|
|
792
|
-
readonly internalType: "uint256";
|
|
793
|
-
readonly name: "tokensToDisable";
|
|
794
|
-
readonly type: "uint256";
|
|
795
|
-
}];
|
|
796
|
-
readonly stateMutability: "nonpayable";
|
|
797
787
|
readonly type: "function";
|
|
798
|
-
|
|
788
|
+
readonly name: "setActiveCreditAccount";
|
|
799
789
|
readonly inputs: readonly [{
|
|
800
|
-
readonly internalType: "address";
|
|
801
790
|
readonly name: "creditAccount";
|
|
802
791
|
readonly type: "address";
|
|
792
|
+
readonly internalType: "address";
|
|
803
793
|
}];
|
|
804
|
-
readonly name: "setActiveCreditAccount";
|
|
805
794
|
readonly outputs: readonly [];
|
|
806
795
|
readonly stateMutability: "nonpayable";
|
|
807
|
-
readonly type: "function";
|
|
808
796
|
}, {
|
|
797
|
+
readonly type: "function";
|
|
798
|
+
readonly name: "setCollateralTokenData";
|
|
809
799
|
readonly inputs: readonly [{
|
|
810
|
-
readonly internalType: "address";
|
|
811
800
|
readonly name: "token";
|
|
812
801
|
readonly type: "address";
|
|
802
|
+
readonly internalType: "address";
|
|
813
803
|
}, {
|
|
814
|
-
readonly internalType: "uint16";
|
|
815
804
|
readonly name: "ltInitial";
|
|
816
805
|
readonly type: "uint16";
|
|
817
|
-
}, {
|
|
818
806
|
readonly internalType: "uint16";
|
|
807
|
+
}, {
|
|
819
808
|
readonly name: "ltFinal";
|
|
820
809
|
readonly type: "uint16";
|
|
810
|
+
readonly internalType: "uint16";
|
|
821
811
|
}, {
|
|
822
|
-
readonly internalType: "uint40";
|
|
823
812
|
readonly name: "timestampRampStart";
|
|
824
813
|
readonly type: "uint40";
|
|
814
|
+
readonly internalType: "uint40";
|
|
825
815
|
}, {
|
|
826
|
-
readonly internalType: "uint24";
|
|
827
816
|
readonly name: "rampDuration";
|
|
828
817
|
readonly type: "uint24";
|
|
818
|
+
readonly internalType: "uint24";
|
|
829
819
|
}];
|
|
830
|
-
readonly name: "setCollateralTokenData";
|
|
831
820
|
readonly outputs: readonly [];
|
|
832
821
|
readonly stateMutability: "nonpayable";
|
|
833
|
-
readonly type: "function";
|
|
834
822
|
}, {
|
|
823
|
+
readonly type: "function";
|
|
824
|
+
readonly name: "setContractAllowance";
|
|
835
825
|
readonly inputs: readonly [{
|
|
836
|
-
readonly internalType: "address";
|
|
837
826
|
readonly name: "adapter";
|
|
838
827
|
readonly type: "address";
|
|
839
|
-
}, {
|
|
840
828
|
readonly internalType: "address";
|
|
829
|
+
}, {
|
|
841
830
|
readonly name: "targetContract";
|
|
842
831
|
readonly type: "address";
|
|
832
|
+
readonly internalType: "address";
|
|
843
833
|
}];
|
|
844
|
-
readonly name: "setContractAllowance";
|
|
845
834
|
readonly outputs: readonly [];
|
|
846
835
|
readonly stateMutability: "nonpayable";
|
|
847
|
-
readonly type: "function";
|
|
848
836
|
}, {
|
|
837
|
+
readonly type: "function";
|
|
838
|
+
readonly name: "setCreditConfigurator";
|
|
849
839
|
readonly inputs: readonly [{
|
|
850
|
-
readonly internalType: "address";
|
|
851
840
|
readonly name: "creditConfigurator";
|
|
852
841
|
readonly type: "address";
|
|
842
|
+
readonly internalType: "address";
|
|
853
843
|
}];
|
|
854
|
-
readonly name: "setCreditConfigurator";
|
|
855
844
|
readonly outputs: readonly [];
|
|
856
845
|
readonly stateMutability: "nonpayable";
|
|
857
|
-
readonly type: "function";
|
|
858
846
|
}, {
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
readonly name: "setCreditFacade";
|
|
859
849
|
readonly inputs: readonly [{
|
|
860
|
-
readonly internalType: "address";
|
|
861
850
|
readonly name: "creditFacade";
|
|
862
851
|
readonly type: "address";
|
|
852
|
+
readonly internalType: "address";
|
|
863
853
|
}];
|
|
864
|
-
readonly name: "setCreditFacade";
|
|
865
854
|
readonly outputs: readonly [];
|
|
866
855
|
readonly stateMutability: "nonpayable";
|
|
867
|
-
readonly type: "function";
|
|
868
856
|
}, {
|
|
857
|
+
readonly type: "function";
|
|
858
|
+
readonly name: "setFees";
|
|
869
859
|
readonly inputs: readonly [{
|
|
870
|
-
readonly internalType: "uint16";
|
|
871
860
|
readonly name: "feeInterest";
|
|
872
861
|
readonly type: "uint16";
|
|
873
|
-
}, {
|
|
874
862
|
readonly internalType: "uint16";
|
|
863
|
+
}, {
|
|
875
864
|
readonly name: "feeLiquidation";
|
|
876
865
|
readonly type: "uint16";
|
|
877
|
-
}, {
|
|
878
866
|
readonly internalType: "uint16";
|
|
867
|
+
}, {
|
|
879
868
|
readonly name: "liquidationDiscount";
|
|
880
869
|
readonly type: "uint16";
|
|
881
|
-
}, {
|
|
882
870
|
readonly internalType: "uint16";
|
|
871
|
+
}, {
|
|
883
872
|
readonly name: "feeLiquidationExpired";
|
|
884
873
|
readonly type: "uint16";
|
|
885
|
-
}, {
|
|
886
874
|
readonly internalType: "uint16";
|
|
875
|
+
}, {
|
|
887
876
|
readonly name: "liquidationDiscountExpired";
|
|
888
877
|
readonly type: "uint16";
|
|
878
|
+
readonly internalType: "uint16";
|
|
889
879
|
}];
|
|
890
|
-
readonly name: "setFees";
|
|
891
880
|
readonly outputs: readonly [];
|
|
892
881
|
readonly stateMutability: "nonpayable";
|
|
893
|
-
readonly type: "function";
|
|
894
882
|
}, {
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
readonly name: "setFlagFor";
|
|
895
885
|
readonly inputs: readonly [{
|
|
896
|
-
readonly internalType: "address";
|
|
897
886
|
readonly name: "creditAccount";
|
|
898
887
|
readonly type: "address";
|
|
888
|
+
readonly internalType: "address";
|
|
899
889
|
}, {
|
|
900
|
-
readonly internalType: "uint16";
|
|
901
890
|
readonly name: "flag";
|
|
902
891
|
readonly type: "uint16";
|
|
892
|
+
readonly internalType: "uint16";
|
|
903
893
|
}, {
|
|
904
|
-
readonly internalType: "bool";
|
|
905
894
|
readonly name: "value";
|
|
906
895
|
readonly type: "bool";
|
|
896
|
+
readonly internalType: "bool";
|
|
907
897
|
}];
|
|
908
|
-
readonly name: "setFlagFor";
|
|
909
898
|
readonly outputs: readonly [];
|
|
910
899
|
readonly stateMutability: "nonpayable";
|
|
911
|
-
readonly type: "function";
|
|
912
900
|
}, {
|
|
901
|
+
readonly type: "function";
|
|
902
|
+
readonly name: "setMaxEnabledTokens";
|
|
913
903
|
readonly inputs: readonly [{
|
|
914
|
-
readonly internalType: "uint8";
|
|
915
904
|
readonly name: "maxEnabledTokens";
|
|
916
905
|
readonly type: "uint8";
|
|
906
|
+
readonly internalType: "uint8";
|
|
917
907
|
}];
|
|
918
|
-
readonly name: "setMaxEnabledTokens";
|
|
919
908
|
readonly outputs: readonly [];
|
|
920
909
|
readonly stateMutability: "nonpayable";
|
|
921
|
-
readonly type: "function";
|
|
922
910
|
}, {
|
|
911
|
+
readonly type: "function";
|
|
912
|
+
readonly name: "setPriceOracle";
|
|
923
913
|
readonly inputs: readonly [{
|
|
924
|
-
readonly internalType: "address";
|
|
925
914
|
readonly name: "priceOracle";
|
|
926
915
|
readonly type: "address";
|
|
916
|
+
readonly internalType: "address";
|
|
927
917
|
}];
|
|
928
|
-
readonly name: "setPriceOracle";
|
|
929
918
|
readonly outputs: readonly [];
|
|
930
919
|
readonly stateMutability: "nonpayable";
|
|
931
|
-
readonly type: "function";
|
|
932
920
|
}, {
|
|
921
|
+
readonly type: "function";
|
|
922
|
+
readonly name: "setQuotedMask";
|
|
933
923
|
readonly inputs: readonly [{
|
|
934
|
-
readonly internalType: "uint256";
|
|
935
924
|
readonly name: "quotedTokensMask";
|
|
936
925
|
readonly type: "uint256";
|
|
926
|
+
readonly internalType: "uint256";
|
|
937
927
|
}];
|
|
938
|
-
readonly name: "setQuotedMask";
|
|
939
928
|
readonly outputs: readonly [];
|
|
940
929
|
readonly stateMutability: "nonpayable";
|
|
941
|
-
readonly type: "function";
|
|
942
930
|
}, {
|
|
943
|
-
readonly
|
|
931
|
+
readonly type: "function";
|
|
944
932
|
readonly name: "underlying";
|
|
933
|
+
readonly inputs: readonly [];
|
|
945
934
|
readonly outputs: readonly [{
|
|
946
|
-
readonly internalType: "address";
|
|
947
935
|
readonly name: "";
|
|
948
936
|
readonly type: "address";
|
|
937
|
+
readonly internalType: "address";
|
|
949
938
|
}];
|
|
950
939
|
readonly stateMutability: "view";
|
|
951
|
-
readonly type: "function";
|
|
952
940
|
}, {
|
|
941
|
+
readonly type: "function";
|
|
942
|
+
readonly name: "updateQuota";
|
|
953
943
|
readonly inputs: readonly [{
|
|
954
|
-
readonly internalType: "address";
|
|
955
944
|
readonly name: "creditAccount";
|
|
956
945
|
readonly type: "address";
|
|
957
|
-
}, {
|
|
958
946
|
readonly internalType: "address";
|
|
947
|
+
}, {
|
|
959
948
|
readonly name: "token";
|
|
960
949
|
readonly type: "address";
|
|
950
|
+
readonly internalType: "address";
|
|
961
951
|
}, {
|
|
962
|
-
readonly internalType: "int96";
|
|
963
952
|
readonly name: "quotaChange";
|
|
964
953
|
readonly type: "int96";
|
|
954
|
+
readonly internalType: "int96";
|
|
965
955
|
}, {
|
|
966
|
-
readonly internalType: "uint96";
|
|
967
956
|
readonly name: "minQuota";
|
|
968
957
|
readonly type: "uint96";
|
|
969
|
-
}, {
|
|
970
958
|
readonly internalType: "uint96";
|
|
959
|
+
}, {
|
|
971
960
|
readonly name: "maxQuota";
|
|
972
961
|
readonly type: "uint96";
|
|
962
|
+
readonly internalType: "uint96";
|
|
973
963
|
}];
|
|
974
|
-
readonly name: "updateQuota";
|
|
975
964
|
readonly outputs: readonly [{
|
|
976
|
-
readonly internalType: "uint256";
|
|
977
965
|
readonly name: "tokensToEnable";
|
|
978
966
|
readonly type: "uint256";
|
|
979
|
-
}, {
|
|
980
967
|
readonly internalType: "uint256";
|
|
968
|
+
}, {
|
|
981
969
|
readonly name: "tokensToDisable";
|
|
982
970
|
readonly type: "uint256";
|
|
971
|
+
readonly internalType: "uint256";
|
|
983
972
|
}];
|
|
984
973
|
readonly stateMutability: "nonpayable";
|
|
985
|
-
readonly type: "function";
|
|
986
974
|
}, {
|
|
987
|
-
readonly
|
|
975
|
+
readonly type: "function";
|
|
988
976
|
readonly name: "version";
|
|
977
|
+
readonly inputs: readonly [];
|
|
989
978
|
readonly outputs: readonly [{
|
|
990
|
-
readonly internalType: "uint256";
|
|
991
979
|
readonly name: "";
|
|
992
980
|
readonly type: "uint256";
|
|
981
|
+
readonly internalType: "uint256";
|
|
993
982
|
}];
|
|
994
983
|
readonly stateMutability: "view";
|
|
995
|
-
readonly type: "function";
|
|
996
984
|
}, {
|
|
997
|
-
readonly
|
|
998
|
-
readonly name: "
|
|
999
|
-
readonly
|
|
985
|
+
readonly type: "function";
|
|
986
|
+
readonly name: "withdrawCollateral";
|
|
987
|
+
readonly inputs: readonly [{
|
|
988
|
+
readonly name: "creditAccount";
|
|
989
|
+
readonly type: "address";
|
|
1000
990
|
readonly internalType: "address";
|
|
1001
|
-
|
|
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";
|
|
1002
1001
|
readonly type: "address";
|
|
1002
|
+
readonly internalType: "address";
|
|
1003
1003
|
}];
|
|
1004
|
-
readonly stateMutability: "view";
|
|
1005
|
-
readonly type: "function";
|
|
1006
|
-
}, {
|
|
1007
|
-
readonly inputs: readonly [];
|
|
1008
|
-
readonly name: "withdrawalManager";
|
|
1009
1004
|
readonly outputs: readonly [{
|
|
1010
|
-
readonly
|
|
1011
|
-
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";
|
|
1012
1015
|
readonly type: "address";
|
|
1016
|
+
readonly indexed: true;
|
|
1017
|
+
readonly internalType: "address";
|
|
1013
1018
|
}];
|
|
1014
|
-
readonly
|
|
1015
|
-
readonly type: "function";
|
|
1019
|
+
readonly anonymous: false;
|
|
1016
1020
|
}];
|
|
1017
1021
|
static createInterface(): ICreditManagerV3Interface;
|
|
1018
1022
|
static connect(address: string, signerOrProvider: Signer | Provider): ICreditManagerV3;
|