@pendle/core-v2 2.22.0 → 2.22.2
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 +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +1027 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.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 +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.json +1166 -0
- 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 +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +1171 -0
- 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 +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +961 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.json +62 -0
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.json +108 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.json +44 -0
- 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/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/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
- 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 +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
- 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/PendleSwap.sol/PendleSwap.json +18 -2
- 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/IExecutorHelper.sol/IExecutorHelper.json +76 -118
- 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/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.json +2 -2
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol +147 -0
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol +1 -9
- package/contracts/oracles/PendleLpOracleLib.sol +21 -40
- package/contracts/oracles/PendlePtOracleLib.sol +33 -28
- package/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol +110 -118
- package/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol +22 -21
- package/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol +22 -2
- package/deployments/1-core.json +4 -3
- package/deployments/1-markets/SWETH-DEC2024.json +12 -0
- package/deployments/42161-core.json +4 -3
- package/deployments/42161-markets/WSTETH-ARBITRUM-DEC2023.json +10 -0
- package/deployments/56-core.json +2 -2
- 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/{PendleCamelotV1RouterHelper.ts → CamelotV1LpHelper.ts} +75 -5
- package/typechain-types/{CamelotV1PreviewHelper.ts → CamelotV1Preview.ts} +23 -63
- package/typechain-types/IAnkrBNB.ts +150 -0
- package/typechain-types/IAnkrLiquidStaking.ts +253 -0
- package/typechain-types/IBotDecisionHelper.ts +452 -0
- package/typechain-types/ICamelotSY.ts +100 -0
- package/typechain-types/IExecutorHelper.ts +310 -331
- package/typechain-types/ILongYieldDecisionHelper.ts +486 -0
- package/typechain-types/ILongYieldTradingBot.ts +878 -0
- package/typechain-types/IPExternalRewardDistributor.ts +192 -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/ISwETH.ts +123 -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/PendleAnkrBNBSY.ts +1235 -0
- package/typechain-types/PendleAuraWethVethSY.ts +1511 -0
- package/typechain-types/PendleAuraWstethAnkreth.ts +1511 -0
- package/typechain-types/PendleBinanceEth.ts +1229 -0
- package/typechain-types/PendleCamelotV1SY.ts +245 -0
- package/typechain-types/PendleExternalRewardDistributor.ts +546 -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/ShortYieldActionHelper.ts +856 -0
- package/typechain-types/ShortYieldDecisionHelper.ts +601 -0
- package/typechain-types/ShortYieldTradingBot.ts +1212 -0
- package/typechain-types/SwETHSY.ts +1216 -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/{PendleCamelotV1RouterHelper__factory.ts → CamelotV1LpHelper__factory.ts} +60 -12
- package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
- package/typechain-types/factories/IAnkrBNB__factory.ts +74 -0
- package/typechain-types/factories/IAnkrLiquidStaking__factory.ts +123 -0
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +667 -0
- package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
- package/typechain-types/factories/IExecutorHelper__factory.ts +74 -116
- 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/ISwETH__factory.ts +53 -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/PendleAnkrBNBSY__factory.ts +1100 -0
- package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1231 -0
- package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1244 -0
- package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
- package/typechain-types/factories/PendleCamelotV1SY__factory.ts +156 -9
- package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +414 -0
- package/typechain-types/factories/PendleGaugeV2__factory.ts +140 -0
- package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +770 -0
- package/typechain-types/factories/PendleMarketV2__factory.ts +1290 -0
- package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleSwETH__factory.ts +1022 -0
- package/typechain-types/factories/PendleSwap__factory.ts +17 -1
- 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/SwETHSY__factory.ts +1022 -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 +216 -0
- package/typechain-types/index.ts +48 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.json +0 -101
- package/contracts/router/swap-aggregator/kyberswap/IHashflow.sol +0 -30
- package/typechain-types/IPVotingEscrowSidechain.ts +0 -155
- package/typechain-types/PendleCamelotRewardHelper.ts +0 -347
- package/typechain-types/factories/CamelotV1PreviewHelper__factory.ts +0 -400
- package/typechain-types/factories/IPVotingEscrowSidechain__factory.ts +0 -112
- package/typechain-types/factories/PendleCamelotRewardHelper__factory.ts +0 -317
- /package/deployments/1-markets/{APE-JUNE-29.json → deprecated/APE-JUNE-29.json} +0 -0
- /package/deployments/1-markets/{STETH-JUNE29.json → deprecated/STETH-JUNE29.json} +0 -0
|
@@ -0,0 +1,784 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
ShortYieldActionHelper,
|
|
9
|
+
ShortYieldActionHelperInterface,
|
|
10
|
+
} from "../ShortYieldActionHelper";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "uint256",
|
|
17
|
+
name: "actualSyOut",
|
|
18
|
+
type: "uint256",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "uint256",
|
|
22
|
+
name: "requiredSyOut",
|
|
23
|
+
type: "uint256",
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
name: "BotInsufficientSyOut",
|
|
27
|
+
type: "error",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
anonymous: false,
|
|
31
|
+
inputs: [
|
|
32
|
+
{
|
|
33
|
+
indexed: false,
|
|
34
|
+
internalType: "uint256",
|
|
35
|
+
name: "netSyOut",
|
|
36
|
+
type: "uint256",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
indexed: false,
|
|
40
|
+
internalType: "uint256",
|
|
41
|
+
name: "netPendleOut",
|
|
42
|
+
type: "uint256",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
name: "ClaimAndCompound",
|
|
46
|
+
type: "event",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
anonymous: false,
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
indexed: false,
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "netSyIn",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
name: "DepositSy",
|
|
59
|
+
type: "event",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
anonymous: false,
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
indexed: true,
|
|
66
|
+
internalType: "address",
|
|
67
|
+
name: "token",
|
|
68
|
+
type: "address",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
indexed: false,
|
|
72
|
+
internalType: "uint256",
|
|
73
|
+
name: "netTokenIn",
|
|
74
|
+
type: "uint256",
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
name: "DepositToken",
|
|
78
|
+
type: "event",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
anonymous: false,
|
|
82
|
+
inputs: [
|
|
83
|
+
{
|
|
84
|
+
indexed: false,
|
|
85
|
+
internalType: "uint8",
|
|
86
|
+
name: "version",
|
|
87
|
+
type: "uint8",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
name: "Initialized",
|
|
91
|
+
type: "event",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
anonymous: false,
|
|
95
|
+
inputs: [
|
|
96
|
+
{
|
|
97
|
+
indexed: true,
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "previousOwner",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
indexed: true,
|
|
104
|
+
internalType: "address",
|
|
105
|
+
name: "newOwner",
|
|
106
|
+
type: "address",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
name: "OwnershipTransferred",
|
|
110
|
+
type: "event",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
anonymous: false,
|
|
114
|
+
inputs: [
|
|
115
|
+
{
|
|
116
|
+
indexed: true,
|
|
117
|
+
internalType: "address",
|
|
118
|
+
name: "token",
|
|
119
|
+
type: "address",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
indexed: false,
|
|
123
|
+
internalType: "uint256",
|
|
124
|
+
name: "amount",
|
|
125
|
+
type: "uint256",
|
|
126
|
+
},
|
|
127
|
+
],
|
|
128
|
+
name: "WithdrawFunds",
|
|
129
|
+
type: "event",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
inputs: [],
|
|
133
|
+
name: "PENDLE",
|
|
134
|
+
outputs: [
|
|
135
|
+
{
|
|
136
|
+
internalType: "address",
|
|
137
|
+
name: "",
|
|
138
|
+
type: "address",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
stateMutability: "view",
|
|
142
|
+
type: "function",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
inputs: [],
|
|
146
|
+
name: "PT",
|
|
147
|
+
outputs: [
|
|
148
|
+
{
|
|
149
|
+
internalType: "address",
|
|
150
|
+
name: "",
|
|
151
|
+
type: "address",
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
stateMutability: "view",
|
|
155
|
+
type: "function",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
inputs: [],
|
|
159
|
+
name: "SY",
|
|
160
|
+
outputs: [
|
|
161
|
+
{
|
|
162
|
+
internalType: "address",
|
|
163
|
+
name: "",
|
|
164
|
+
type: "address",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
stateMutability: "view",
|
|
168
|
+
type: "function",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
inputs: [],
|
|
172
|
+
name: "YT",
|
|
173
|
+
outputs: [
|
|
174
|
+
{
|
|
175
|
+
internalType: "address",
|
|
176
|
+
name: "",
|
|
177
|
+
type: "address",
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
stateMutability: "view",
|
|
181
|
+
type: "function",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
inputs: [
|
|
185
|
+
{
|
|
186
|
+
components: [
|
|
187
|
+
{
|
|
188
|
+
internalType: "address[]",
|
|
189
|
+
name: "tokens",
|
|
190
|
+
type: "address[]",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
internalType: "address",
|
|
194
|
+
name: "spender",
|
|
195
|
+
type: "address",
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
internalType: "struct ITradingBotBase.MultiApproval[]",
|
|
199
|
+
name: "arr",
|
|
200
|
+
type: "tuple[]",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
name: "approveInf",
|
|
204
|
+
outputs: [],
|
|
205
|
+
stateMutability: "nonpayable",
|
|
206
|
+
type: "function",
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
inputs: [],
|
|
210
|
+
name: "buyBins",
|
|
211
|
+
outputs: [
|
|
212
|
+
{
|
|
213
|
+
internalType: "uint256",
|
|
214
|
+
name: "",
|
|
215
|
+
type: "uint256",
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
stateMutability: "view",
|
|
219
|
+
type: "function",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
inputs: [
|
|
223
|
+
{
|
|
224
|
+
components: [
|
|
225
|
+
{
|
|
226
|
+
internalType: "address",
|
|
227
|
+
name: "tokenIn",
|
|
228
|
+
type: "address",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
internalType: "uint256",
|
|
232
|
+
name: "netTokenIn",
|
|
233
|
+
type: "uint256",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
internalType: "address",
|
|
237
|
+
name: "tokenMintSy",
|
|
238
|
+
type: "address",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
internalType: "address",
|
|
242
|
+
name: "bulk",
|
|
243
|
+
type: "address",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
internalType: "address",
|
|
247
|
+
name: "pendleSwap",
|
|
248
|
+
type: "address",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
components: [
|
|
252
|
+
{
|
|
253
|
+
internalType: "enum SwapType",
|
|
254
|
+
name: "swapType",
|
|
255
|
+
type: "uint8",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
internalType: "address",
|
|
259
|
+
name: "extRouter",
|
|
260
|
+
type: "address",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
internalType: "bytes",
|
|
264
|
+
name: "extCalldata",
|
|
265
|
+
type: "bytes",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
internalType: "bool",
|
|
269
|
+
name: "needScale",
|
|
270
|
+
type: "bool",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
internalType: "struct SwapData",
|
|
274
|
+
name: "swapData",
|
|
275
|
+
type: "tuple",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
internalType: "struct TokenInput[]",
|
|
279
|
+
name: "inps",
|
|
280
|
+
type: "tuple[]",
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
internalType: "uint256",
|
|
284
|
+
name: "minSyOut",
|
|
285
|
+
type: "uint256",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
name: "claimAndCompound",
|
|
289
|
+
outputs: [
|
|
290
|
+
{
|
|
291
|
+
internalType: "uint256",
|
|
292
|
+
name: "netSyOut",
|
|
293
|
+
type: "uint256",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
internalType: "uint256",
|
|
297
|
+
name: "netPendleOut",
|
|
298
|
+
type: "uint256",
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
stateMutability: "nonpayable",
|
|
302
|
+
type: "function",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
inputs: [],
|
|
306
|
+
name: "claimOwnership",
|
|
307
|
+
outputs: [],
|
|
308
|
+
stateMutability: "nonpayable",
|
|
309
|
+
type: "function",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
inputs: [],
|
|
313
|
+
name: "claimWithoutCompound",
|
|
314
|
+
outputs: [
|
|
315
|
+
{
|
|
316
|
+
components: [
|
|
317
|
+
{
|
|
318
|
+
internalType: "address",
|
|
319
|
+
name: "token",
|
|
320
|
+
type: "address",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
internalType: "uint256",
|
|
324
|
+
name: "amount",
|
|
325
|
+
type: "uint256",
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
internalType: "struct TokenAmount[]",
|
|
329
|
+
name: "rewards",
|
|
330
|
+
type: "tuple[]",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
stateMutability: "nonpayable",
|
|
334
|
+
type: "function",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
inputs: [],
|
|
338
|
+
name: "decisionHelper",
|
|
339
|
+
outputs: [
|
|
340
|
+
{
|
|
341
|
+
internalType: "contract IBotDecisionHelper",
|
|
342
|
+
name: "",
|
|
343
|
+
type: "address",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
stateMutability: "view",
|
|
347
|
+
type: "function",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
inputs: [
|
|
351
|
+
{
|
|
352
|
+
internalType: "uint256",
|
|
353
|
+
name: "netSyIn",
|
|
354
|
+
type: "uint256",
|
|
355
|
+
},
|
|
356
|
+
],
|
|
357
|
+
name: "depositSy",
|
|
358
|
+
outputs: [],
|
|
359
|
+
stateMutability: "nonpayable",
|
|
360
|
+
type: "function",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
inputs: [
|
|
364
|
+
{
|
|
365
|
+
components: [
|
|
366
|
+
{
|
|
367
|
+
internalType: "address",
|
|
368
|
+
name: "tokenIn",
|
|
369
|
+
type: "address",
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
internalType: "uint256",
|
|
373
|
+
name: "netTokenIn",
|
|
374
|
+
type: "uint256",
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
internalType: "address",
|
|
378
|
+
name: "tokenMintSy",
|
|
379
|
+
type: "address",
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
internalType: "address",
|
|
383
|
+
name: "bulk",
|
|
384
|
+
type: "address",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
internalType: "address",
|
|
388
|
+
name: "pendleSwap",
|
|
389
|
+
type: "address",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
components: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "enum SwapType",
|
|
395
|
+
name: "swapType",
|
|
396
|
+
type: "uint8",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
internalType: "address",
|
|
400
|
+
name: "extRouter",
|
|
401
|
+
type: "address",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
internalType: "bytes",
|
|
405
|
+
name: "extCalldata",
|
|
406
|
+
type: "bytes",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
internalType: "bool",
|
|
410
|
+
name: "needScale",
|
|
411
|
+
type: "bool",
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
internalType: "struct SwapData",
|
|
415
|
+
name: "swapData",
|
|
416
|
+
type: "tuple",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
internalType: "struct TokenInput",
|
|
420
|
+
name: "inp",
|
|
421
|
+
type: "tuple",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
internalType: "uint256",
|
|
425
|
+
name: "minSyOut",
|
|
426
|
+
type: "uint256",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
name: "depositToken",
|
|
430
|
+
outputs: [],
|
|
431
|
+
stateMutability: "payable",
|
|
432
|
+
type: "function",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
inputs: [],
|
|
436
|
+
name: "market",
|
|
437
|
+
outputs: [
|
|
438
|
+
{
|
|
439
|
+
internalType: "address",
|
|
440
|
+
name: "",
|
|
441
|
+
type: "address",
|
|
442
|
+
},
|
|
443
|
+
],
|
|
444
|
+
stateMutability: "view",
|
|
445
|
+
type: "function",
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
inputs: [],
|
|
449
|
+
name: "owner",
|
|
450
|
+
outputs: [
|
|
451
|
+
{
|
|
452
|
+
internalType: "address",
|
|
453
|
+
name: "",
|
|
454
|
+
type: "address",
|
|
455
|
+
},
|
|
456
|
+
],
|
|
457
|
+
stateMutability: "view",
|
|
458
|
+
type: "function",
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
inputs: [],
|
|
462
|
+
name: "pendingOwner",
|
|
463
|
+
outputs: [
|
|
464
|
+
{
|
|
465
|
+
internalType: "address",
|
|
466
|
+
name: "",
|
|
467
|
+
type: "address",
|
|
468
|
+
},
|
|
469
|
+
],
|
|
470
|
+
stateMutability: "view",
|
|
471
|
+
type: "function",
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
inputs: [],
|
|
475
|
+
name: "readStrategyData",
|
|
476
|
+
outputs: [
|
|
477
|
+
{
|
|
478
|
+
components: [
|
|
479
|
+
{
|
|
480
|
+
components: [
|
|
481
|
+
{
|
|
482
|
+
internalType: "uint256",
|
|
483
|
+
name: "lpBalance",
|
|
484
|
+
type: "uint256",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "uint256",
|
|
488
|
+
name: "ytBalance",
|
|
489
|
+
type: "uint256",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
internalType: "uint256",
|
|
493
|
+
name: "ptBalance",
|
|
494
|
+
type: "uint256",
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
internalType: "uint256",
|
|
498
|
+
name: "syBalance",
|
|
499
|
+
type: "uint256",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
internalType: "uint256",
|
|
503
|
+
name: "buyBins",
|
|
504
|
+
type: "uint256",
|
|
505
|
+
},
|
|
506
|
+
],
|
|
507
|
+
internalType: "struct BotState",
|
|
508
|
+
name: "botState",
|
|
509
|
+
type: "tuple",
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
components: [
|
|
513
|
+
{
|
|
514
|
+
components: [
|
|
515
|
+
{
|
|
516
|
+
internalType: "int256",
|
|
517
|
+
name: "totalPt",
|
|
518
|
+
type: "int256",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
internalType: "int256",
|
|
522
|
+
name: "totalSy",
|
|
523
|
+
type: "int256",
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
internalType: "int256",
|
|
527
|
+
name: "totalLp",
|
|
528
|
+
type: "int256",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
internalType: "address",
|
|
532
|
+
name: "treasury",
|
|
533
|
+
type: "address",
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
internalType: "int256",
|
|
537
|
+
name: "scalarRoot",
|
|
538
|
+
type: "int256",
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
internalType: "uint256",
|
|
542
|
+
name: "expiry",
|
|
543
|
+
type: "uint256",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
internalType: "uint256",
|
|
547
|
+
name: "lnFeeRateRoot",
|
|
548
|
+
type: "uint256",
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
internalType: "uint256",
|
|
552
|
+
name: "reserveFeePercent",
|
|
553
|
+
type: "uint256",
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
internalType: "uint256",
|
|
557
|
+
name: "lastLnImpliedRate",
|
|
558
|
+
type: "uint256",
|
|
559
|
+
},
|
|
560
|
+
],
|
|
561
|
+
internalType: "struct MarketState",
|
|
562
|
+
name: "state",
|
|
563
|
+
type: "tuple",
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
internalType: "PYIndex",
|
|
567
|
+
name: "index",
|
|
568
|
+
type: "uint256",
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
internalType: "uint256",
|
|
572
|
+
name: "blockTime",
|
|
573
|
+
type: "uint256",
|
|
574
|
+
},
|
|
575
|
+
],
|
|
576
|
+
internalType: "struct MarketExtState",
|
|
577
|
+
name: "marketExt",
|
|
578
|
+
type: "tuple",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
components: [
|
|
582
|
+
{
|
|
583
|
+
internalType: "uint256",
|
|
584
|
+
name: "buyYtIy",
|
|
585
|
+
type: "uint256",
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
internalType: "uint256",
|
|
589
|
+
name: "sellYtIy",
|
|
590
|
+
type: "uint256",
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
internalType: "uint256",
|
|
594
|
+
name: "targetSyRatio",
|
|
595
|
+
type: "uint256",
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
internalType: "uint256",
|
|
599
|
+
name: "maxSyRatio",
|
|
600
|
+
type: "uint256",
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
internalType: "uint256",
|
|
604
|
+
name: "targetYtPtRatio",
|
|
605
|
+
type: "uint256",
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
internalType: "uint256",
|
|
609
|
+
name: "numOfBins",
|
|
610
|
+
type: "uint256",
|
|
611
|
+
},
|
|
612
|
+
],
|
|
613
|
+
internalType: "struct TradingSpecs",
|
|
614
|
+
name: "specs",
|
|
615
|
+
type: "tuple",
|
|
616
|
+
},
|
|
617
|
+
],
|
|
618
|
+
internalType: "struct StrategyData",
|
|
619
|
+
name: "strategyData",
|
|
620
|
+
type: "tuple",
|
|
621
|
+
},
|
|
622
|
+
],
|
|
623
|
+
stateMutability: "nonpayable",
|
|
624
|
+
type: "function",
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
inputs: [],
|
|
628
|
+
name: "router",
|
|
629
|
+
outputs: [
|
|
630
|
+
{
|
|
631
|
+
internalType: "address",
|
|
632
|
+
name: "",
|
|
633
|
+
type: "address",
|
|
634
|
+
},
|
|
635
|
+
],
|
|
636
|
+
stateMutability: "view",
|
|
637
|
+
type: "function",
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
inputs: [
|
|
641
|
+
{
|
|
642
|
+
components: [
|
|
643
|
+
{
|
|
644
|
+
internalType: "uint256",
|
|
645
|
+
name: "buyYtIy",
|
|
646
|
+
type: "uint256",
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
internalType: "uint256",
|
|
650
|
+
name: "sellYtIy",
|
|
651
|
+
type: "uint256",
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
internalType: "uint256",
|
|
655
|
+
name: "targetSyRatio",
|
|
656
|
+
type: "uint256",
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
internalType: "uint256",
|
|
660
|
+
name: "maxSyRatio",
|
|
661
|
+
type: "uint256",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
internalType: "uint256",
|
|
665
|
+
name: "targetYtPtRatio",
|
|
666
|
+
type: "uint256",
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
internalType: "uint256",
|
|
670
|
+
name: "numOfBins",
|
|
671
|
+
type: "uint256",
|
|
672
|
+
},
|
|
673
|
+
],
|
|
674
|
+
internalType: "struct TradingSpecs",
|
|
675
|
+
name: "_specs",
|
|
676
|
+
type: "tuple",
|
|
677
|
+
},
|
|
678
|
+
],
|
|
679
|
+
name: "setSpecs",
|
|
680
|
+
outputs: [],
|
|
681
|
+
stateMutability: "nonpayable",
|
|
682
|
+
type: "function",
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
inputs: [],
|
|
686
|
+
name: "specs",
|
|
687
|
+
outputs: [
|
|
688
|
+
{
|
|
689
|
+
internalType: "uint256",
|
|
690
|
+
name: "buyYtIy",
|
|
691
|
+
type: "uint256",
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
internalType: "uint256",
|
|
695
|
+
name: "sellYtIy",
|
|
696
|
+
type: "uint256",
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
internalType: "uint256",
|
|
700
|
+
name: "targetSyRatio",
|
|
701
|
+
type: "uint256",
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
internalType: "uint256",
|
|
705
|
+
name: "maxSyRatio",
|
|
706
|
+
type: "uint256",
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
internalType: "uint256",
|
|
710
|
+
name: "targetYtPtRatio",
|
|
711
|
+
type: "uint256",
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
internalType: "uint256",
|
|
715
|
+
name: "numOfBins",
|
|
716
|
+
type: "uint256",
|
|
717
|
+
},
|
|
718
|
+
],
|
|
719
|
+
stateMutability: "view",
|
|
720
|
+
type: "function",
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
inputs: [
|
|
724
|
+
{
|
|
725
|
+
internalType: "address",
|
|
726
|
+
name: "newOwner",
|
|
727
|
+
type: "address",
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
internalType: "bool",
|
|
731
|
+
name: "direct",
|
|
732
|
+
type: "bool",
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
internalType: "bool",
|
|
736
|
+
name: "renounce",
|
|
737
|
+
type: "bool",
|
|
738
|
+
},
|
|
739
|
+
],
|
|
740
|
+
name: "transferOwnership",
|
|
741
|
+
outputs: [],
|
|
742
|
+
stateMutability: "nonpayable",
|
|
743
|
+
type: "function",
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
inputs: [
|
|
747
|
+
{
|
|
748
|
+
internalType: "address",
|
|
749
|
+
name: "token",
|
|
750
|
+
type: "address",
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
internalType: "uint256",
|
|
754
|
+
name: "amount",
|
|
755
|
+
type: "uint256",
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
name: "withdrawFunds",
|
|
759
|
+
outputs: [],
|
|
760
|
+
stateMutability: "nonpayable",
|
|
761
|
+
type: "function",
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
stateMutability: "payable",
|
|
765
|
+
type: "receive",
|
|
766
|
+
},
|
|
767
|
+
];
|
|
768
|
+
|
|
769
|
+
export class ShortYieldActionHelper__factory {
|
|
770
|
+
static readonly abi = _abi;
|
|
771
|
+
static createInterface(): ShortYieldActionHelperInterface {
|
|
772
|
+
return new utils.Interface(_abi) as ShortYieldActionHelperInterface;
|
|
773
|
+
}
|
|
774
|
+
static connect(
|
|
775
|
+
address: string,
|
|
776
|
+
signerOrProvider: Signer | Provider
|
|
777
|
+
): ShortYieldActionHelper {
|
|
778
|
+
return new Contract(
|
|
779
|
+
address,
|
|
780
|
+
_abi,
|
|
781
|
+
signerOrProvider
|
|
782
|
+
) as ShortYieldActionHelper;
|
|
783
|
+
}
|
|
784
|
+
}
|