@pendle/core-v2 2.23.0 → 2.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/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/deployments/merkle-distribution/2023-07-27.json +5525 -0
- package/package.json +1 -1
- package/typechain-types/BotActionCallback.ts +900 -0
- package/typechain-types/BotActionHelper.ts +950 -0
- package/typechain-types/BotDecisionHelper.ts +561 -0
- package/typechain-types/BotDecisionHelperBase.ts +484 -0
- package/typechain-types/BotDecisionLib.ts +335 -0
- package/typechain-types/CamelotV1LpHelper.ts +203 -0
- package/typechain-types/CamelotV1Preview.ts +431 -0
- package/typechain-types/IBotDecisionHelper.ts +452 -0
- package/typechain-types/ICamelotSY.ts +100 -0
- package/typechain-types/IExecutorHelper1.ts +643 -0
- package/typechain-types/IExecutorHelper2.ts +115 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/ILongYieldDecisionHelper.ts +486 -0
- package/typechain-types/ILongYieldTradingBot.ts +878 -0
- package/typechain-types/IPExternalRewardDistributor.ts +198 -0
- package/typechain-types/IPMarketFactoryV2.ts +253 -0
- package/typechain-types/IShortYieldDecisionHelper.ts +452 -0
- package/typechain-types/IShortYieldTradingBot.ts +770 -0
- package/typechain-types/ITradingBotBase.ts +569 -0
- package/typechain-types/LongYieldActionHelper.ts +900 -0
- package/typechain-types/LongYieldDecisionHelper.ts +601 -0
- package/typechain-types/LongYieldTradingBot.ts +1364 -0
- package/typechain-types/MarketExtLib.ts +81 -0
- package/typechain-types/PendleBinanceEth.ts +1229 -0
- package/typechain-types/PendleCamelotV1SY.ts +1961 -0
- package/typechain-types/PendleExternalRewardDistributor.ts +547 -0
- package/typechain-types/PendleGaugeV2.ts +225 -0
- package/typechain-types/PendleMarketFactoryV2.ts +930 -0
- package/typechain-types/PendleMarketV2.ts +1311 -0
- package/typechain-types/PendleSwETH.ts +1216 -0
- package/typechain-types/PendleSwapArbitrum.ts +126 -0
- package/typechain-types/PendleSwapEthereum.ts +126 -0
- package/typechain-types/ShortYieldActionHelper.ts +856 -0
- package/typechain-types/ShortYieldDecisionHelper.ts +601 -0
- package/typechain-types/ShortYieldTradingBot.ts +1212 -0
- package/typechain-types/TradingBotBase.ts +856 -0
- package/typechain-types/TradingBotOffchain.ts +568 -0
- package/typechain-types/factories/BotActionCallback__factory.ts +830 -0
- package/typechain-types/factories/BotActionHelper__factory.ts +947 -0
- package/typechain-types/factories/BotDecisionHelperBase__factory.ts +808 -0
- package/typechain-types/factories/BotDecisionHelper__factory.ts +1192 -0
- package/typechain-types/factories/BotDecisionLib__factory.ts +642 -0
- package/typechain-types/factories/CamelotV1LpHelper__factory.ts +143 -0
- package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +667 -0
- package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
- package/typechain-types/factories/IExecutorHelper1__factory.ts +403 -0
- package/typechain-types/factories/IExecutorHelper2__factory.ts +55 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +690 -0
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +996 -0
- package/typechain-types/factories/IPExternalRewardDistributor__factory.ts +128 -0
- package/typechain-types/factories/IPMarketFactoryV2__factory.ts +181 -0
- package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +671 -0
- package/typechain-types/factories/IShortYieldTradingBot__factory.ts +977 -0
- package/typechain-types/factories/ITradingBotBase__factory.ts +530 -0
- package/typechain-types/factories/LongYieldActionHelper__factory.ts +834 -0
- package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1272 -0
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +1637 -0
- package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
- package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
- package/typechain-types/factories/PendleCamelotV1SY__factory.ts +1595 -0
- package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +409 -0
- package/typechain-types/factories/PendleGaugeV2__factory.ts +140 -0
- package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +770 -0
- package/typechain-types/factories/PendleMarketV2__factory.ts +1290 -0
- package/typechain-types/factories/PendleSwETH__factory.ts +1022 -0
- package/typechain-types/factories/PendleSwapArbitrum__factory.ts +129 -0
- package/typechain-types/factories/PendleSwapEthereum__factory.ts +129 -0
- package/typechain-types/factories/ShortYieldActionHelper__factory.ts +784 -0
- package/typechain-types/factories/ShortYieldDecisionHelper__factory.ts +1272 -0
- package/typechain-types/factories/ShortYieldTradingBot__factory.ts +1445 -0
- package/typechain-types/factories/TradingBotBase__factory.ts +780 -0
- package/typechain-types/factories/TradingBotOffchain__factory.ts +1133 -0
- package/typechain-types/hardhat.d.ts +72 -0
- package/typechain-types/index.ts +16 -0
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
12
|
+
PopulatedTransaction,
|
|
13
|
+
Signer,
|
|
14
|
+
utils,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
+
import type {
|
|
19
|
+
TypedEventFilter,
|
|
20
|
+
TypedEvent,
|
|
21
|
+
TypedListener,
|
|
22
|
+
OnEvent,
|
|
23
|
+
} from "./common";
|
|
24
|
+
|
|
25
|
+
export type BotStateStruct = {
|
|
26
|
+
lpBalance: BigNumberish;
|
|
27
|
+
ytBalance: BigNumberish;
|
|
28
|
+
ptBalance: BigNumberish;
|
|
29
|
+
syBalance: BigNumberish;
|
|
30
|
+
buyBins: BigNumberish;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type BotStateStructOutput = [
|
|
34
|
+
BigNumber,
|
|
35
|
+
BigNumber,
|
|
36
|
+
BigNumber,
|
|
37
|
+
BigNumber,
|
|
38
|
+
BigNumber
|
|
39
|
+
] & {
|
|
40
|
+
lpBalance: BigNumber;
|
|
41
|
+
ytBalance: BigNumber;
|
|
42
|
+
ptBalance: BigNumber;
|
|
43
|
+
syBalance: BigNumber;
|
|
44
|
+
buyBins: BigNumber;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export type MarketStateStruct = {
|
|
48
|
+
totalPt: BigNumberish;
|
|
49
|
+
totalSy: BigNumberish;
|
|
50
|
+
totalLp: BigNumberish;
|
|
51
|
+
treasury: string;
|
|
52
|
+
scalarRoot: BigNumberish;
|
|
53
|
+
expiry: BigNumberish;
|
|
54
|
+
lnFeeRateRoot: BigNumberish;
|
|
55
|
+
reserveFeePercent: BigNumberish;
|
|
56
|
+
lastLnImpliedRate: BigNumberish;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type MarketStateStructOutput = [
|
|
60
|
+
BigNumber,
|
|
61
|
+
BigNumber,
|
|
62
|
+
BigNumber,
|
|
63
|
+
string,
|
|
64
|
+
BigNumber,
|
|
65
|
+
BigNumber,
|
|
66
|
+
BigNumber,
|
|
67
|
+
BigNumber,
|
|
68
|
+
BigNumber
|
|
69
|
+
] & {
|
|
70
|
+
totalPt: BigNumber;
|
|
71
|
+
totalSy: BigNumber;
|
|
72
|
+
totalLp: BigNumber;
|
|
73
|
+
treasury: string;
|
|
74
|
+
scalarRoot: BigNumber;
|
|
75
|
+
expiry: BigNumber;
|
|
76
|
+
lnFeeRateRoot: BigNumber;
|
|
77
|
+
reserveFeePercent: BigNumber;
|
|
78
|
+
lastLnImpliedRate: BigNumber;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export type MarketExtStateStruct = {
|
|
82
|
+
state: MarketStateStruct;
|
|
83
|
+
index: BigNumberish;
|
|
84
|
+
blockTime: BigNumberish;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export type MarketExtStateStructOutput = [
|
|
88
|
+
MarketStateStructOutput,
|
|
89
|
+
BigNumber,
|
|
90
|
+
BigNumber
|
|
91
|
+
] & { state: MarketStateStructOutput; index: BigNumber; blockTime: BigNumber };
|
|
92
|
+
|
|
93
|
+
export type TradingSpecsStruct = {
|
|
94
|
+
buyYtIy: BigNumberish;
|
|
95
|
+
sellYtIy: BigNumberish;
|
|
96
|
+
targetSyRatio: BigNumberish;
|
|
97
|
+
maxSyRatio: BigNumberish;
|
|
98
|
+
targetYtPtRatio: BigNumberish;
|
|
99
|
+
numOfBins: BigNumberish;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export type TradingSpecsStructOutput = [
|
|
103
|
+
BigNumber,
|
|
104
|
+
BigNumber,
|
|
105
|
+
BigNumber,
|
|
106
|
+
BigNumber,
|
|
107
|
+
BigNumber,
|
|
108
|
+
BigNumber
|
|
109
|
+
] & {
|
|
110
|
+
buyYtIy: BigNumber;
|
|
111
|
+
sellYtIy: BigNumber;
|
|
112
|
+
targetSyRatio: BigNumber;
|
|
113
|
+
maxSyRatio: BigNumber;
|
|
114
|
+
targetYtPtRatio: BigNumber;
|
|
115
|
+
numOfBins: BigNumber;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export type StrategyDataStruct = {
|
|
119
|
+
botState: BotStateStruct;
|
|
120
|
+
marketExt: MarketExtStateStruct;
|
|
121
|
+
specs: TradingSpecsStruct;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export type StrategyDataStructOutput = [
|
|
125
|
+
BotStateStructOutput,
|
|
126
|
+
MarketExtStateStructOutput,
|
|
127
|
+
TradingSpecsStructOutput
|
|
128
|
+
] & {
|
|
129
|
+
botState: BotStateStructOutput;
|
|
130
|
+
marketExt: MarketExtStateStructOutput;
|
|
131
|
+
specs: TradingSpecsStructOutput;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export type ApproxParamsStruct = {
|
|
135
|
+
guessMin: BigNumberish;
|
|
136
|
+
guessMax: BigNumberish;
|
|
137
|
+
guessOffchain: BigNumberish;
|
|
138
|
+
maxIteration: BigNumberish;
|
|
139
|
+
eps: BigNumberish;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export type ApproxParamsStructOutput = [
|
|
143
|
+
BigNumber,
|
|
144
|
+
BigNumber,
|
|
145
|
+
BigNumber,
|
|
146
|
+
BigNumber,
|
|
147
|
+
BigNumber
|
|
148
|
+
] & {
|
|
149
|
+
guessMin: BigNumber;
|
|
150
|
+
guessMax: BigNumber;
|
|
151
|
+
guessOffchain: BigNumber;
|
|
152
|
+
maxIteration: BigNumber;
|
|
153
|
+
eps: BigNumber;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
export declare namespace IBotDecisionHelper {
|
|
157
|
+
export type ActionToTakeResultStruct = {
|
|
158
|
+
action: BigNumberish;
|
|
159
|
+
currentBin: BigNumberish;
|
|
160
|
+
targetIy: BigNumberish;
|
|
161
|
+
guessBotParams: BigNumberish;
|
|
162
|
+
guessIntParams: BigNumberish;
|
|
163
|
+
amountOut: BigNumberish;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export type ActionToTakeResultStructOutput = [
|
|
167
|
+
number,
|
|
168
|
+
BigNumber,
|
|
169
|
+
BigNumber,
|
|
170
|
+
BigNumber,
|
|
171
|
+
BigNumber,
|
|
172
|
+
BigNumber
|
|
173
|
+
] & {
|
|
174
|
+
action: number;
|
|
175
|
+
currentBin: BigNumber;
|
|
176
|
+
targetIy: BigNumber;
|
|
177
|
+
guessBotParams: BigNumber;
|
|
178
|
+
guessIntParams: BigNumber;
|
|
179
|
+
amountOut: BigNumber;
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface IShortYieldDecisionHelperInterface extends utils.Interface {
|
|
184
|
+
contractName: "IShortYieldDecisionHelper";
|
|
185
|
+
functions: {
|
|
186
|
+
"botExtStats(((uint256,uint256,uint256,uint256,uint256),((int256,int256,int256,address,int256,uint256,uint256,uint256,uint256),uint256,uint256),(uint256,uint256,uint256,uint256,uint256,uint256)))": FunctionFragment;
|
|
187
|
+
"getActionDetails(address)": FunctionFragment;
|
|
188
|
+
"getCurrentBin(((uint256,uint256,uint256,uint256,uint256),((int256,int256,int256,address,int256,uint256,uint256,uint256,uint256),uint256,uint256),(uint256,uint256,uint256,uint256,uint256,uint256)))": FunctionFragment;
|
|
189
|
+
"getFloatingSyAmount(address)": FunctionFragment;
|
|
190
|
+
"searchForBotParam(((uint256,uint256,uint256,uint256,uint256),((int256,int256,int256,address,int256,uint256,uint256,uint256,uint256),uint256,uint256),(uint256,uint256,uint256,uint256,uint256,uint256)),uint8,uint256,uint256,(uint256,uint256,uint256,uint256,uint256),(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
encodeFunctionData(
|
|
194
|
+
functionFragment: "botExtStats",
|
|
195
|
+
values: [StrategyDataStruct]
|
|
196
|
+
): string;
|
|
197
|
+
encodeFunctionData(
|
|
198
|
+
functionFragment: "getActionDetails",
|
|
199
|
+
values: [string]
|
|
200
|
+
): string;
|
|
201
|
+
encodeFunctionData(
|
|
202
|
+
functionFragment: "getCurrentBin",
|
|
203
|
+
values: [StrategyDataStruct]
|
|
204
|
+
): string;
|
|
205
|
+
encodeFunctionData(
|
|
206
|
+
functionFragment: "getFloatingSyAmount",
|
|
207
|
+
values: [string]
|
|
208
|
+
): string;
|
|
209
|
+
encodeFunctionData(
|
|
210
|
+
functionFragment: "searchForBotParam",
|
|
211
|
+
values: [
|
|
212
|
+
StrategyDataStruct,
|
|
213
|
+
BigNumberish,
|
|
214
|
+
BigNumberish,
|
|
215
|
+
BigNumberish,
|
|
216
|
+
ApproxParamsStruct,
|
|
217
|
+
ApproxParamsStruct
|
|
218
|
+
]
|
|
219
|
+
): string;
|
|
220
|
+
|
|
221
|
+
decodeFunctionResult(
|
|
222
|
+
functionFragment: "botExtStats",
|
|
223
|
+
data: BytesLike
|
|
224
|
+
): Result;
|
|
225
|
+
decodeFunctionResult(
|
|
226
|
+
functionFragment: "getActionDetails",
|
|
227
|
+
data: BytesLike
|
|
228
|
+
): Result;
|
|
229
|
+
decodeFunctionResult(
|
|
230
|
+
functionFragment: "getCurrentBin",
|
|
231
|
+
data: BytesLike
|
|
232
|
+
): Result;
|
|
233
|
+
decodeFunctionResult(
|
|
234
|
+
functionFragment: "getFloatingSyAmount",
|
|
235
|
+
data: BytesLike
|
|
236
|
+
): Result;
|
|
237
|
+
decodeFunctionResult(
|
|
238
|
+
functionFragment: "searchForBotParam",
|
|
239
|
+
data: BytesLike
|
|
240
|
+
): Result;
|
|
241
|
+
|
|
242
|
+
events: {};
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export interface IShortYieldDecisionHelper extends BaseContract {
|
|
246
|
+
contractName: "IShortYieldDecisionHelper";
|
|
247
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
248
|
+
attach(addressOrName: string): this;
|
|
249
|
+
deployed(): Promise<this>;
|
|
250
|
+
|
|
251
|
+
interface: IShortYieldDecisionHelperInterface;
|
|
252
|
+
|
|
253
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
254
|
+
event: TypedEventFilter<TEvent>,
|
|
255
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
256
|
+
toBlock?: string | number | undefined
|
|
257
|
+
): Promise<Array<TEvent>>;
|
|
258
|
+
|
|
259
|
+
listeners<TEvent extends TypedEvent>(
|
|
260
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
261
|
+
): Array<TypedListener<TEvent>>;
|
|
262
|
+
listeners(eventName?: string): Array<Listener>;
|
|
263
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
264
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
265
|
+
): this;
|
|
266
|
+
removeAllListeners(eventName?: string): this;
|
|
267
|
+
off: OnEvent<this>;
|
|
268
|
+
on: OnEvent<this>;
|
|
269
|
+
once: OnEvent<this>;
|
|
270
|
+
removeListener: OnEvent<this>;
|
|
271
|
+
|
|
272
|
+
functions: {
|
|
273
|
+
botExtStats(
|
|
274
|
+
strategyData: StrategyDataStruct,
|
|
275
|
+
overrides?: CallOverrides
|
|
276
|
+
): Promise<
|
|
277
|
+
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
278
|
+
tvlInSy: BigNumber;
|
|
279
|
+
iy: BigNumber;
|
|
280
|
+
currentSyRatio: BigNumber;
|
|
281
|
+
currentYtPtRatio: BigNumber;
|
|
282
|
+
}
|
|
283
|
+
>;
|
|
284
|
+
|
|
285
|
+
getActionDetails(
|
|
286
|
+
botAddress: string,
|
|
287
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
288
|
+
): Promise<ContractTransaction>;
|
|
289
|
+
|
|
290
|
+
getCurrentBin(
|
|
291
|
+
strategyData: StrategyDataStruct,
|
|
292
|
+
overrides?: CallOverrides
|
|
293
|
+
): Promise<[BigNumber]>;
|
|
294
|
+
|
|
295
|
+
getFloatingSyAmount(
|
|
296
|
+
botAddress: string,
|
|
297
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
298
|
+
): Promise<ContractTransaction>;
|
|
299
|
+
|
|
300
|
+
searchForBotParam(
|
|
301
|
+
strategyData: StrategyDataStruct,
|
|
302
|
+
action: BigNumberish,
|
|
303
|
+
targetIy: BigNumberish,
|
|
304
|
+
rebalanceAdditionalCheck: BigNumberish,
|
|
305
|
+
botParams: ApproxParamsStruct,
|
|
306
|
+
intParams: ApproxParamsStruct,
|
|
307
|
+
overrides?: CallOverrides
|
|
308
|
+
): Promise<[BigNumber]>;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
botExtStats(
|
|
312
|
+
strategyData: StrategyDataStruct,
|
|
313
|
+
overrides?: CallOverrides
|
|
314
|
+
): Promise<
|
|
315
|
+
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
316
|
+
tvlInSy: BigNumber;
|
|
317
|
+
iy: BigNumber;
|
|
318
|
+
currentSyRatio: BigNumber;
|
|
319
|
+
currentYtPtRatio: BigNumber;
|
|
320
|
+
}
|
|
321
|
+
>;
|
|
322
|
+
|
|
323
|
+
getActionDetails(
|
|
324
|
+
botAddress: string,
|
|
325
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
326
|
+
): Promise<ContractTransaction>;
|
|
327
|
+
|
|
328
|
+
getCurrentBin(
|
|
329
|
+
strategyData: StrategyDataStruct,
|
|
330
|
+
overrides?: CallOverrides
|
|
331
|
+
): Promise<BigNumber>;
|
|
332
|
+
|
|
333
|
+
getFloatingSyAmount(
|
|
334
|
+
botAddress: string,
|
|
335
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
336
|
+
): Promise<ContractTransaction>;
|
|
337
|
+
|
|
338
|
+
searchForBotParam(
|
|
339
|
+
strategyData: StrategyDataStruct,
|
|
340
|
+
action: BigNumberish,
|
|
341
|
+
targetIy: BigNumberish,
|
|
342
|
+
rebalanceAdditionalCheck: BigNumberish,
|
|
343
|
+
botParams: ApproxParamsStruct,
|
|
344
|
+
intParams: ApproxParamsStruct,
|
|
345
|
+
overrides?: CallOverrides
|
|
346
|
+
): Promise<BigNumber>;
|
|
347
|
+
|
|
348
|
+
callStatic: {
|
|
349
|
+
botExtStats(
|
|
350
|
+
strategyData: StrategyDataStruct,
|
|
351
|
+
overrides?: CallOverrides
|
|
352
|
+
): Promise<
|
|
353
|
+
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
354
|
+
tvlInSy: BigNumber;
|
|
355
|
+
iy: BigNumber;
|
|
356
|
+
currentSyRatio: BigNumber;
|
|
357
|
+
currentYtPtRatio: BigNumber;
|
|
358
|
+
}
|
|
359
|
+
>;
|
|
360
|
+
|
|
361
|
+
getActionDetails(
|
|
362
|
+
botAddress: string,
|
|
363
|
+
overrides?: CallOverrides
|
|
364
|
+
): Promise<IBotDecisionHelper.ActionToTakeResultStructOutput>;
|
|
365
|
+
|
|
366
|
+
getCurrentBin(
|
|
367
|
+
strategyData: StrategyDataStruct,
|
|
368
|
+
overrides?: CallOverrides
|
|
369
|
+
): Promise<BigNumber>;
|
|
370
|
+
|
|
371
|
+
getFloatingSyAmount(
|
|
372
|
+
botAddress: string,
|
|
373
|
+
overrides?: CallOverrides
|
|
374
|
+
): Promise<BigNumber>;
|
|
375
|
+
|
|
376
|
+
searchForBotParam(
|
|
377
|
+
strategyData: StrategyDataStruct,
|
|
378
|
+
action: BigNumberish,
|
|
379
|
+
targetIy: BigNumberish,
|
|
380
|
+
rebalanceAdditionalCheck: BigNumberish,
|
|
381
|
+
botParams: ApproxParamsStruct,
|
|
382
|
+
intParams: ApproxParamsStruct,
|
|
383
|
+
overrides?: CallOverrides
|
|
384
|
+
): Promise<BigNumber>;
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
filters: {};
|
|
388
|
+
|
|
389
|
+
estimateGas: {
|
|
390
|
+
botExtStats(
|
|
391
|
+
strategyData: StrategyDataStruct,
|
|
392
|
+
overrides?: CallOverrides
|
|
393
|
+
): Promise<BigNumber>;
|
|
394
|
+
|
|
395
|
+
getActionDetails(
|
|
396
|
+
botAddress: string,
|
|
397
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
398
|
+
): Promise<BigNumber>;
|
|
399
|
+
|
|
400
|
+
getCurrentBin(
|
|
401
|
+
strategyData: StrategyDataStruct,
|
|
402
|
+
overrides?: CallOverrides
|
|
403
|
+
): Promise<BigNumber>;
|
|
404
|
+
|
|
405
|
+
getFloatingSyAmount(
|
|
406
|
+
botAddress: string,
|
|
407
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
408
|
+
): Promise<BigNumber>;
|
|
409
|
+
|
|
410
|
+
searchForBotParam(
|
|
411
|
+
strategyData: StrategyDataStruct,
|
|
412
|
+
action: BigNumberish,
|
|
413
|
+
targetIy: BigNumberish,
|
|
414
|
+
rebalanceAdditionalCheck: BigNumberish,
|
|
415
|
+
botParams: ApproxParamsStruct,
|
|
416
|
+
intParams: ApproxParamsStruct,
|
|
417
|
+
overrides?: CallOverrides
|
|
418
|
+
): Promise<BigNumber>;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
populateTransaction: {
|
|
422
|
+
botExtStats(
|
|
423
|
+
strategyData: StrategyDataStruct,
|
|
424
|
+
overrides?: CallOverrides
|
|
425
|
+
): Promise<PopulatedTransaction>;
|
|
426
|
+
|
|
427
|
+
getActionDetails(
|
|
428
|
+
botAddress: string,
|
|
429
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
430
|
+
): Promise<PopulatedTransaction>;
|
|
431
|
+
|
|
432
|
+
getCurrentBin(
|
|
433
|
+
strategyData: StrategyDataStruct,
|
|
434
|
+
overrides?: CallOverrides
|
|
435
|
+
): Promise<PopulatedTransaction>;
|
|
436
|
+
|
|
437
|
+
getFloatingSyAmount(
|
|
438
|
+
botAddress: string,
|
|
439
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
440
|
+
): Promise<PopulatedTransaction>;
|
|
441
|
+
|
|
442
|
+
searchForBotParam(
|
|
443
|
+
strategyData: StrategyDataStruct,
|
|
444
|
+
action: BigNumberish,
|
|
445
|
+
targetIy: BigNumberish,
|
|
446
|
+
rebalanceAdditionalCheck: BigNumberish,
|
|
447
|
+
botParams: ApproxParamsStruct,
|
|
448
|
+
intParams: ApproxParamsStruct,
|
|
449
|
+
overrides?: CallOverrides
|
|
450
|
+
): Promise<PopulatedTransaction>;
|
|
451
|
+
};
|
|
452
|
+
}
|