@gearbox-protocol/sdk 1.22.4 → 1.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/apy/convexAPY.d.ts +10 -10
- package/lib/apy/convexAPY.js +100 -121
- package/lib/apy/curveAPY.d.ts +3 -4
- package/lib/apy/curveAPY.js +57 -111
- package/lib/apy/index.js +4 -6
- package/lib/apy/lidoAPY.d.ts +1 -2
- package/lib/apy/lidoAPY.js +14 -62
- package/lib/apy/yearnAPY.d.ts +2 -3
- package/lib/apy/yearnAPY.js +26 -82
- package/lib/contracts/contracts.js +9 -22
- package/lib/contracts/contractsRegister.js +39 -51
- package/lib/contracts/protocols.js +10 -11
- package/lib/core/adapter.js +9 -4
- package/lib/core/assets.d.ts +6 -7
- package/lib/core/assets.js +60 -70
- package/lib/core/chains.js +30 -80
- package/lib/core/constants.d.ts +9 -10
- package/lib/core/constants.js +9 -12
- package/lib/core/creditAccount.d.ts +20 -20
- package/lib/core/creditAccount.js +123 -134
- package/lib/core/creditAccount.spec.js +50 -52
- package/lib/core/creditManager.d.ts +26 -26
- package/lib/core/creditManager.js +172 -136
- package/lib/core/creditManager.spec.js +59 -61
- package/lib/core/creditSession.d.ts +12 -13
- package/lib/core/creditSession.js +120 -77
- package/lib/core/errors.d.ts +2 -3
- package/lib/core/errors.js +11 -27
- package/lib/core/eventOrTx.js +35 -73
- package/lib/core/events.d.ts +19 -20
- package/lib/core/events.js +698 -711
- package/lib/core/operations.js +11 -5
- package/lib/core/pool/data.d.ts +29 -29
- package/lib/core/pool/data.js +153 -112
- package/lib/core/pool/operation.d.ts +1 -2
- package/lib/core/pool/operation.js +23 -35
- package/lib/core/priceOracle.d.ts +6 -6
- package/lib/core/priceOracle.js +23 -29
- package/lib/core/rewardClaimer.d.ts +3 -3
- package/lib/core/rewardClaimer.js +5 -48
- package/lib/core/rewardConvex.d.ts +1 -1
- package/lib/core/rewardConvex.js +58 -118
- package/lib/core/rewardConvex.spec.js +56 -58
- package/lib/core/strategy.d.ts +5 -6
- package/lib/core/strategy.js +67 -69
- package/lib/core/strategy.spec.js +32 -34
- package/lib/core/tokenDistributor.d.ts +1 -2
- package/lib/core/trade.d.ts +6 -6
- package/lib/core/trade.js +70 -115
- package/lib/core/transactions.d.ts +21 -22
- package/lib/core/transactions.js +285 -308
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -2
- package/lib/oracles/oracles.d.ts +1 -2
- package/lib/oracles/priceFeeds.js +2 -3
- package/lib/parsers/ERC20Parser.js +20 -38
- package/lib/parsers/abstractParser.js +33 -31
- package/lib/parsers/addressProviderParser.js +12 -30
- package/lib/parsers/airdropDistributorParser.js +12 -30
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +24 -42
- package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +11 -11
- package/lib/parsers/convexBoosterAdapterParser.js +26 -44
- package/lib/parsers/convexBoosterAdapterParser.spec.js +10 -10
- package/lib/parsers/convextRewardPoolParser.js +12 -30
- package/lib/parsers/creditFacadeParser.js +26 -45
- package/lib/parsers/creditFacadeParser.spec.js +13 -13
- package/lib/parsers/creditManagerParser.js +12 -30
- package/lib/parsers/curveAdapterParser.js +60 -78
- package/lib/parsers/curveAdapterParser.spec.js +20 -27
- package/lib/parsers/dataCompressorParser.js +12 -30
- package/lib/parsers/lidoAdapterParser.js +15 -33
- package/lib/parsers/lidoAdapterParser.spec.js +9 -9
- package/lib/parsers/lidoOracleParser.js +12 -30
- package/lib/parsers/lidoSTETHParser.js +19 -37
- package/lib/parsers/multicallParser.js +16 -34
- package/lib/parsers/offchainOracleParser.js +13 -31
- package/lib/parsers/poolParser.js +11 -29
- package/lib/parsers/priceOracleParser.js +13 -31
- package/lib/parsers/txParser.js +86 -96
- package/lib/parsers/uniV2AdapterParser.js +35 -55
- package/lib/parsers/uniV2AdapterParser.spec.js +15 -16
- package/lib/parsers/uniV3AdapterParser.js +56 -74
- package/lib/parsers/uniV3AdapterParser.spec.js +23 -24
- package/lib/parsers/wstETHAdapterParser.js +25 -43
- package/lib/parsers/wstETHAdapterParser.spec.js +11 -11
- package/lib/parsers/yearnAdapterParser.spec.js +17 -17
- package/lib/parsers/yearnV2AdapterParser.js +25 -43
- package/lib/pathfinder/core.d.ts +3 -4
- package/lib/pathfinder/pathOptions.js +52 -101
- package/lib/pathfinder/pathOptions.spec.js +55 -57
- package/lib/pathfinder/pathfinder.d.ts +3 -3
- package/lib/pathfinder/pathfinder.js +109 -202
- package/lib/pathfinder/pathfinder.spec.js +13 -13
- package/lib/strategies/convex.js +111 -123
- package/lib/strategies/creditFacade.js +34 -37
- package/lib/strategies/curve.js +74 -80
- package/lib/strategies/lido.js +26 -32
- package/lib/strategies/uniswapV2.js +21 -24
- package/lib/strategies/uniswapV3.js +33 -36
- package/lib/strategies/yearn.js +47 -59
- package/lib/tokens/balancer.js +3 -5
- package/lib/tokens/convex.js +14 -29
- package/lib/tokens/curveLP.js +22 -28
- package/lib/tokens/gear.js +1 -1
- package/lib/tokens/normal.js +3 -5
- package/lib/tokens/token.js +29 -35
- package/lib/tokens/tokenData.d.ts +0 -9
- package/lib/tokens/tokenData.js +17 -15
- package/lib/tokens/yearn.js +3 -5
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface__factory.js +9 -12
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface__factory.js +9 -12
- package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACLExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IACL.sol/IACL__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactoryGetters__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAccountFactory.sol/IAccountFactory__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProviderEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProvider__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegisterEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegister__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICrediAccountExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditAccount.sol/ICreditAccount__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditFacade.sol/ICreditFacade__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressorExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDataCompressor.sol/IDataCompressor__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenDistributor.sol/IDegenDistributor__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFTExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselTokenExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDieselToken.sol/IDieselToken__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IInterestRateModel__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ILPPriceFeed.sol/ILPPriceFeed__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPhantomERC20__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol/IPoolServiceEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPoolService.sol/IPoolService__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceFeedType__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Events__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IPriceOracle.sol/IPriceOracleV2__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IVersion__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IWETHGateway__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditFilter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/V1/ICreditManager__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapterExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapterExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/external/IWETH__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/PoolService__factory.js +27 -50
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/test/interfaces/ITokenTestSuite__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBaseRewardPool__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IBooster__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IClaimZap__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IConvexToken__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IBasicRewards__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/IRewards.sol/IRewards__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICrvDeposit__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveGauge__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ICurveVoteEscrow__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IDeposit__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IFeeDistro__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IMinter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IPools__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRegistry__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewardFactory__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IRewards__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStaker__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStashFactory__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IStash__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenFactory__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/ITokenMinter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVestedEscrow__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IVoting__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/convex/Interfaces.sol/IWalletChecker__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePoolStETH__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_2.sol/ICurvePool2Assets__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_3.sol/ICurvePool3Assets__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool_4.sol/ICurvePool4Assets__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurvePool__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/curve/ICurveRegistry__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/ILidoOracle__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETHGetters__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IstETH.sol/IstETH__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETHGetters__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETH.sol/IwstETH__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IQuoter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router01__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV2Router02__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/uniswap/IUniswapV3.sol/ISwapRouter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/integrations/yearn/IYVault__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapterErrors__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1AdapterExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/config/SupportedContracts.sol/ISupportedContracts__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/test/mocks/integrations/LidoMock.sol/ILidoMockEvents__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IClosePathResolver__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositorOptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IDepositor.sol/IDepositor__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IGasPricer__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ILPWorker.sol/ILPWorker__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IPathResolver__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IRouterComponent__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IRouter__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ISwapAggregator__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/ISwapper__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWithdrawer.sol/IWithdrawer__factory.js +9 -12
- package/lib/types/factories/@gearbox-protocol/router/contracts/interfaces/IWrapper__factory.js +9 -12
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js +9 -12
- package/lib/types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js +9 -12
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.js +9 -12
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.js +9 -12
- package/lib/types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.js +9 -12
- package/lib/types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.js +9 -12
- package/lib/types/factories/contracts/IGas__factory.js +9 -12
- package/lib/types/factories/contracts/IGnosisSafeSignatureValidator__factory.js +9 -12
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributorEvents__factory.js +9 -12
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributorExceptions__factory.js +9 -12
- package/lib/types/factories/contracts/ITokenDistributor.sol/ITokenDistributor__factory.js +9 -12
- package/lib/types/factories/contracts/support/IOffchainOracle__factory.js +9 -12
- package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.js +27 -50
- package/lib/utils/errors.js +1 -1
- package/lib/utils/extracter.js +4 -4
- package/lib/utils/formatter.d.ts +8 -8
- package/lib/utils/formatter.js +73 -87
- package/lib/utils/loading.js +3 -3
- package/lib/utils/mappers.js +7 -34
- package/lib/utils/math.d.ts +10 -7
- package/lib/utils/math.js +22 -25
- package/lib/utils/multicall.js +32 -98
- package/lib/utils/price.d.ts +3 -4
- package/lib/utils/price.js +8 -20
- package/lib/utils/repeater.js +12 -53
- package/lib/utils/validate.js +2 -2
- package/lib/watchers/creditAccountWatcher.js +136 -237
- package/lib/watchers/creditAccountWatcher.spec.js +51 -68
- package/lib/watchers/creditManagerWatcher.js +21 -71
- package/lib/watchers/creditManagerWatcher.spec.js +20 -23
- package/package.json +2 -2
- package/lib/core/history.d.ts +0 -42
- package/lib/core/history.js +0 -2
- package/lib/core/wcOperation/abstractOperations.d.ts +0 -23
- package/lib/core/wcOperation/abstractOperations.js +0 -39
- package/lib/core/wcOperation/index.d.ts +0 -11
- package/lib/core/wcOperation/index.js +0 -30
- package/lib/core/wcOperation/operations.d.ts +0 -88
- package/lib/core/wcOperation/operations.js +0 -146
- package/lib/core/wcOperation/types.d.ts +0 -15
- package/lib/core/wcOperation/types.js +0 -2
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ICreditFacadeEvents__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
anonymous: false,
|
|
11
11
|
inputs: [
|
|
@@ -283,16 +283,13 @@ var _abi = [
|
|
|
283
283
|
type: "event",
|
|
284
284
|
},
|
|
285
285
|
];
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
ICreditFacadeEvents__factory.createInterface = function () {
|
|
286
|
+
class ICreditFacadeEvents__factory {
|
|
287
|
+
static abi = _abi;
|
|
288
|
+
static createInterface() {
|
|
290
289
|
return new ethers_1.utils.Interface(_abi);
|
|
291
|
-
}
|
|
292
|
-
|
|
290
|
+
}
|
|
291
|
+
static connect(address, signerOrProvider) {
|
|
293
292
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
return ICreditFacadeEvents__factory;
|
|
297
|
-
}());
|
|
293
|
+
}
|
|
294
|
+
}
|
|
298
295
|
exports.ICreditFacadeEvents__factory = ICreditFacadeEvents__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ICreditFacadeExceptions__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "AccountTransferNotAllowedException",
|
|
@@ -163,16 +163,13 @@ var _abi = [
|
|
|
163
163
|
type: "error",
|
|
164
164
|
},
|
|
165
165
|
];
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
ICreditFacadeExceptions__factory.createInterface = function () {
|
|
166
|
+
class ICreditFacadeExceptions__factory {
|
|
167
|
+
static abi = _abi;
|
|
168
|
+
static createInterface() {
|
|
170
169
|
return new ethers_1.utils.Interface(_abi);
|
|
171
|
-
}
|
|
172
|
-
|
|
170
|
+
}
|
|
171
|
+
static connect(address, signerOrProvider) {
|
|
173
172
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
return ICreditFacadeExceptions__factory;
|
|
177
|
-
}());
|
|
173
|
+
}
|
|
174
|
+
}
|
|
178
175
|
exports.ICreditFacadeExceptions__factory = ICreditFacadeExceptions__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ICreditFacadeExtended__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [
|
|
11
11
|
{
|
|
@@ -107,16 +107,13 @@ var _abi = [
|
|
|
107
107
|
type: "function",
|
|
108
108
|
},
|
|
109
109
|
];
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
ICreditFacadeExtended__factory.createInterface = function () {
|
|
110
|
+
class ICreditFacadeExtended__factory {
|
|
111
|
+
static abi = _abi;
|
|
112
|
+
static createInterface() {
|
|
114
113
|
return new ethers_1.utils.Interface(_abi);
|
|
115
|
-
}
|
|
116
|
-
|
|
114
|
+
}
|
|
115
|
+
static connect(address, signerOrProvider) {
|
|
117
116
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
return ICreditFacadeExtended__factory;
|
|
121
|
-
}());
|
|
117
|
+
}
|
|
118
|
+
}
|
|
122
119
|
exports.ICreditFacadeExtended__factory = ICreditFacadeExtended__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ICreditFacade__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "AccountTransferNotAllowedException",
|
|
@@ -976,16 +976,13 @@ var _abi = [
|
|
|
976
976
|
type: "function",
|
|
977
977
|
},
|
|
978
978
|
];
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
ICreditFacade__factory.createInterface = function () {
|
|
979
|
+
class ICreditFacade__factory {
|
|
980
|
+
static abi = _abi;
|
|
981
|
+
static createInterface() {
|
|
983
982
|
return new ethers_1.utils.Interface(_abi);
|
|
984
|
-
}
|
|
985
|
-
|
|
983
|
+
}
|
|
984
|
+
static connect(address, signerOrProvider) {
|
|
986
985
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
return ICreditFacade__factory;
|
|
990
|
-
}());
|
|
986
|
+
}
|
|
987
|
+
}
|
|
991
988
|
exports.ICreditFacade__factory = ICreditFacade__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ICreditManagerV2Events__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
anonymous: false,
|
|
11
11
|
inputs: [
|
|
@@ -39,16 +39,13 @@ var _abi = [
|
|
|
39
39
|
type: "event",
|
|
40
40
|
},
|
|
41
41
|
];
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
ICreditManagerV2Events__factory.createInterface = function () {
|
|
42
|
+
class ICreditManagerV2Events__factory {
|
|
43
|
+
static abi = _abi;
|
|
44
|
+
static createInterface() {
|
|
46
45
|
return new ethers_1.utils.Interface(_abi);
|
|
47
|
-
}
|
|
48
|
-
|
|
46
|
+
}
|
|
47
|
+
static connect(address, signerOrProvider) {
|
|
49
48
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return ICreditManagerV2Events__factory;
|
|
53
|
-
}());
|
|
49
|
+
}
|
|
50
|
+
}
|
|
54
51
|
exports.ICreditManagerV2Events__factory = ICreditManagerV2Events__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ICreditManagerV2Exceptions__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "AdaptersOrCreditFacadeOnlyException",
|
|
@@ -72,16 +72,13 @@ var _abi = [
|
|
|
72
72
|
type: "error",
|
|
73
73
|
},
|
|
74
74
|
];
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
ICreditManagerV2Exceptions__factory.createInterface = function () {
|
|
75
|
+
class ICreditManagerV2Exceptions__factory {
|
|
76
|
+
static abi = _abi;
|
|
77
|
+
static createInterface() {
|
|
79
78
|
return new ethers_1.utils.Interface(_abi);
|
|
80
|
-
}
|
|
81
|
-
|
|
79
|
+
}
|
|
80
|
+
static connect(address, signerOrProvider) {
|
|
82
81
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return ICreditManagerV2Exceptions__factory;
|
|
86
|
-
}());
|
|
82
|
+
}
|
|
83
|
+
}
|
|
87
84
|
exports.ICreditManagerV2Exceptions__factory = ICreditManagerV2Exceptions__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ICreditManagerV2__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "AdaptersOrCreditFacadeOnlyException",
|
|
@@ -920,16 +920,13 @@ var _abi = [
|
|
|
920
920
|
type: "function",
|
|
921
921
|
},
|
|
922
922
|
];
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
ICreditManagerV2__factory.createInterface = function () {
|
|
923
|
+
class ICreditManagerV2__factory {
|
|
924
|
+
static abi = _abi;
|
|
925
|
+
static createInterface() {
|
|
927
926
|
return new ethers_1.utils.Interface(_abi);
|
|
928
|
-
}
|
|
929
|
-
|
|
927
|
+
}
|
|
928
|
+
static connect(address, signerOrProvider) {
|
|
930
929
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
return ICreditManagerV2__factory;
|
|
934
|
-
}());
|
|
930
|
+
}
|
|
931
|
+
}
|
|
935
932
|
exports.ICreditManagerV2__factory = ICreditManagerV2__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDataCompressorExceptions__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "NotCreditManagerException",
|
|
@@ -17,16 +17,13 @@ var _abi = [
|
|
|
17
17
|
type: "error",
|
|
18
18
|
},
|
|
19
19
|
];
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
IDataCompressorExceptions__factory.createInterface = function () {
|
|
20
|
+
class IDataCompressorExceptions__factory {
|
|
21
|
+
static abi = _abi;
|
|
22
|
+
static createInterface() {
|
|
24
23
|
return new ethers_1.utils.Interface(_abi);
|
|
25
|
-
}
|
|
26
|
-
|
|
24
|
+
}
|
|
25
|
+
static connect(address, signerOrProvider) {
|
|
27
26
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return IDataCompressorExceptions__factory;
|
|
31
|
-
}());
|
|
27
|
+
}
|
|
28
|
+
}
|
|
32
29
|
exports.IDataCompressorExceptions__factory = IDataCompressorExceptions__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDataCompressor__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "NotCreditManagerException",
|
|
@@ -875,16 +875,13 @@ var _abi = [
|
|
|
875
875
|
type: "function",
|
|
876
876
|
},
|
|
877
877
|
];
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
IDataCompressor__factory.createInterface = function () {
|
|
878
|
+
class IDataCompressor__factory {
|
|
879
|
+
static abi = _abi;
|
|
880
|
+
static createInterface() {
|
|
882
881
|
return new ethers_1.utils.Interface(_abi);
|
|
883
|
-
}
|
|
884
|
-
|
|
882
|
+
}
|
|
883
|
+
static connect(address, signerOrProvider) {
|
|
885
884
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
return IDataCompressor__factory;
|
|
889
|
-
}());
|
|
885
|
+
}
|
|
886
|
+
}
|
|
890
887
|
exports.IDataCompressor__factory = IDataCompressor__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDegenDistributorEvents__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
anonymous: false,
|
|
11
11
|
inputs: [
|
|
@@ -45,16 +45,13 @@ var _abi = [
|
|
|
45
45
|
type: "event",
|
|
46
46
|
},
|
|
47
47
|
];
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
IDegenDistributorEvents__factory.createInterface = function () {
|
|
48
|
+
class IDegenDistributorEvents__factory {
|
|
49
|
+
static abi = _abi;
|
|
50
|
+
static createInterface() {
|
|
52
51
|
return new ethers_1.utils.Interface(_abi);
|
|
53
|
-
}
|
|
54
|
-
|
|
52
|
+
}
|
|
53
|
+
static connect(address, signerOrProvider) {
|
|
55
54
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
return IDegenDistributorEvents__factory;
|
|
59
|
-
}());
|
|
55
|
+
}
|
|
56
|
+
}
|
|
60
57
|
exports.IDegenDistributorEvents__factory = IDegenDistributorEvents__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDegenDistributor__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
anonymous: false,
|
|
11
11
|
inputs: [
|
|
@@ -118,16 +118,13 @@ var _abi = [
|
|
|
118
118
|
type: "function",
|
|
119
119
|
},
|
|
120
120
|
];
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
IDegenDistributor__factory.createInterface = function () {
|
|
121
|
+
class IDegenDistributor__factory {
|
|
122
|
+
static abi = _abi;
|
|
123
|
+
static createInterface() {
|
|
125
124
|
return new ethers_1.utils.Interface(_abi);
|
|
126
|
-
}
|
|
127
|
-
|
|
125
|
+
}
|
|
126
|
+
static connect(address, signerOrProvider) {
|
|
128
127
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
return IDegenDistributor__factory;
|
|
132
|
-
}());
|
|
128
|
+
}
|
|
129
|
+
}
|
|
133
130
|
exports.IDegenDistributor__factory = IDegenDistributor__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDegenNFTEvents__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
anonymous: false,
|
|
11
11
|
inputs: [
|
|
@@ -46,16 +46,13 @@ var _abi = [
|
|
|
46
46
|
type: "event",
|
|
47
47
|
},
|
|
48
48
|
];
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
IDegenNFTEvents__factory.createInterface = function () {
|
|
49
|
+
class IDegenNFTEvents__factory {
|
|
50
|
+
static abi = _abi;
|
|
51
|
+
static createInterface() {
|
|
53
52
|
return new ethers_1.utils.Interface(_abi);
|
|
54
|
-
}
|
|
55
|
-
|
|
53
|
+
}
|
|
54
|
+
static connect(address, signerOrProvider) {
|
|
56
55
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return IDegenNFTEvents__factory;
|
|
60
|
-
}());
|
|
56
|
+
}
|
|
57
|
+
}
|
|
61
58
|
exports.IDegenNFTEvents__factory = IDegenNFTEvents__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDegenNFTExceptions__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "CreditFacadeOrConfiguratorOnlyException",
|
|
@@ -27,16 +27,13 @@ var _abi = [
|
|
|
27
27
|
type: "error",
|
|
28
28
|
},
|
|
29
29
|
];
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
IDegenNFTExceptions__factory.createInterface = function () {
|
|
30
|
+
class IDegenNFTExceptions__factory {
|
|
31
|
+
static abi = _abi;
|
|
32
|
+
static createInterface() {
|
|
34
33
|
return new ethers_1.utils.Interface(_abi);
|
|
35
|
-
}
|
|
36
|
-
|
|
34
|
+
}
|
|
35
|
+
static connect(address, signerOrProvider) {
|
|
37
36
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return IDegenNFTExceptions__factory;
|
|
41
|
-
}());
|
|
37
|
+
}
|
|
38
|
+
}
|
|
42
39
|
exports.IDegenNFTExceptions__factory = IDegenNFTExceptions__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDegenNFT__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "CreditFacadeOrConfiguratorOnlyException",
|
|
@@ -484,16 +484,13 @@ var _abi = [
|
|
|
484
484
|
type: "function",
|
|
485
485
|
},
|
|
486
486
|
];
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
IDegenNFT__factory.createInterface = function () {
|
|
487
|
+
class IDegenNFT__factory {
|
|
488
|
+
static abi = _abi;
|
|
489
|
+
static createInterface() {
|
|
491
490
|
return new ethers_1.utils.Interface(_abi);
|
|
492
|
-
}
|
|
493
|
-
|
|
491
|
+
}
|
|
492
|
+
static connect(address, signerOrProvider) {
|
|
494
493
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
return IDegenNFT__factory;
|
|
498
|
-
}());
|
|
494
|
+
}
|
|
495
|
+
}
|
|
499
496
|
exports.IDegenNFT__factory = IDegenNFT__factory;
|
|
@@ -4,24 +4,21 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDieselTokenExceptions__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "PoolServiceOnlyException",
|
|
12
12
|
type: "error",
|
|
13
13
|
},
|
|
14
14
|
];
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
IDieselTokenExceptions__factory.createInterface = function () {
|
|
15
|
+
class IDieselTokenExceptions__factory {
|
|
16
|
+
static abi = _abi;
|
|
17
|
+
static createInterface() {
|
|
19
18
|
return new ethers_1.utils.Interface(_abi);
|
|
20
|
-
}
|
|
21
|
-
|
|
19
|
+
}
|
|
20
|
+
static connect(address, signerOrProvider) {
|
|
22
21
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
return IDieselTokenExceptions__factory;
|
|
26
|
-
}());
|
|
22
|
+
}
|
|
23
|
+
}
|
|
27
24
|
exports.IDieselTokenExceptions__factory = IDieselTokenExceptions__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IDieselToken__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
11
|
name: "PoolServiceOnlyException",
|
|
@@ -208,16 +208,13 @@ var _abi = [
|
|
|
208
208
|
type: "function",
|
|
209
209
|
},
|
|
210
210
|
];
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
IDieselToken__factory.createInterface = function () {
|
|
211
|
+
class IDieselToken__factory {
|
|
212
|
+
static abi = _abi;
|
|
213
|
+
static createInterface() {
|
|
215
214
|
return new ethers_1.utils.Interface(_abi);
|
|
216
|
-
}
|
|
217
|
-
|
|
215
|
+
}
|
|
216
|
+
static connect(address, signerOrProvider) {
|
|
218
217
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
return IDieselToken__factory;
|
|
222
|
-
}());
|
|
218
|
+
}
|
|
219
|
+
}
|
|
223
220
|
exports.IDieselToken__factory = IDieselToken__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.IInterestRateModel__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [
|
|
11
11
|
{
|
|
@@ -44,16 +44,13 @@ var _abi = [
|
|
|
44
44
|
type: "function",
|
|
45
45
|
},
|
|
46
46
|
];
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
IInterestRateModel__factory.createInterface = function () {
|
|
47
|
+
class IInterestRateModel__factory {
|
|
48
|
+
static abi = _abi;
|
|
49
|
+
static createInterface() {
|
|
51
50
|
return new ethers_1.utils.Interface(_abi);
|
|
52
|
-
}
|
|
53
|
-
|
|
51
|
+
}
|
|
52
|
+
static connect(address, signerOrProvider) {
|
|
54
53
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
return IInterestRateModel__factory;
|
|
58
|
-
}());
|
|
54
|
+
}
|
|
55
|
+
}
|
|
59
56
|
exports.IInterestRateModel__factory = IInterestRateModel__factory;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ILPPriceFeedEvents__factory = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
anonymous: false,
|
|
11
11
|
inputs: [
|
|
@@ -26,16 +26,13 @@ var _abi = [
|
|
|
26
26
|
type: "event",
|
|
27
27
|
},
|
|
28
28
|
];
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
ILPPriceFeedEvents__factory.createInterface = function () {
|
|
29
|
+
class ILPPriceFeedEvents__factory {
|
|
30
|
+
static abi = _abi;
|
|
31
|
+
static createInterface() {
|
|
33
32
|
return new ethers_1.utils.Interface(_abi);
|
|
34
|
-
}
|
|
35
|
-
|
|
33
|
+
}
|
|
34
|
+
static connect(address, signerOrProvider) {
|
|
36
35
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return ILPPriceFeedEvents__factory;
|
|
40
|
-
}());
|
|
36
|
+
}
|
|
37
|
+
}
|
|
41
38
|
exports.ILPPriceFeedEvents__factory = ILPPriceFeedEvents__factory;
|