@pendle/core-v2 2.21.0 → 2.22.0
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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- 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/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- 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/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- 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/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- 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/BulkSeller.sol/BulkSeller.json +2 -2
- 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/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- 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/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- 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/PYIndex.sol/PYIndexLib.json +2 -2
- 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/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
- 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/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +2 -2
- 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/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
- 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/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
- 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/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
- 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/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
- 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/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +1266 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.json +128 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.json +24 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.json +24 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +267 -0
- 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/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- 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/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
- 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/core/libraries/math/Math.sol/Math.json +2 -2
- 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/ICamelotNFTPool.sol/ICamelotNFTPool.json +13 -0
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +13 -0
- 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/ICamelotPair.sol/ICamelotPair.json +26 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.json +59 -0
- 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/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 +4 -0
- package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.json +152 -0
- package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.json +71 -0
- package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.json +409 -0
- package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.json +188 -0
- 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/Broadcaster.sol/Broadcaster.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- 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/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
- 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/PtAndLpToAsset.sol/PtAndLpToAsset.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- 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/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- 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/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- 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/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- 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/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- 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/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- 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/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- 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/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- 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/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
- 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/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- 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/IHashflow.sol/IHashflow.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/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol +163 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol +153 -0
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol +110 -0
- package/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol +202 -0
- package/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol +156 -0
- package/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol +128 -0
- package/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol +193 -0
- package/contracts/core/libraries/math/Math.sol +4 -0
- package/contracts/interfaces/Ankr/IAnkrBNB.sol +11 -0
- package/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol +21 -0
- package/contracts/interfaces/Camelot/ICamelotNFTPool.sol +2 -0
- package/contracts/interfaces/Camelot/ICamelotNitroPool.sol +3 -0
- package/contracts/interfaces/Camelot/ICamelotPair.sol +4 -0
- package/contracts/interfaces/IPendlePreviewHelper.sol +14 -0
- package/contracts/interfaces/ISwETH.sol +10 -0
- package/contracts/interfaces/Thena/IThenaFactory.sol +23 -0
- package/contracts/interfaces/Thena/IThenaGaugeV2.sol +18 -0
- package/contracts/interfaces/Thena/IThenaPair.sol +30 -0
- package/contracts/interfaces/Thena/IThenaRouter.sol +38 -0
- package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +45 -0
- package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +67 -0
- package/contracts/router/swap-aggregator/PendleSwap.sol +3 -2
- package/deployments/1-markets/BALANCER-LP-AURA-WSTETH-ANKRETH-JUNE-27-2024.json +10 -0
- package/deployments/56-core.json +2 -2
- package/deployments/56-markets/ANKRBNB-26JUN2025.json +10 -0
- package/deployments/56-offchain-helper.json +1 -1
- package/package.json +1 -1
- package/typechain-types/{CamelotV1Preview.ts → CamelotV1PreviewHelper.ts} +63 -23
- package/typechain-types/ICamelotNFTPool.ts +19 -0
- package/typechain-types/ICamelotNitroPool.ts +19 -0
- package/typechain-types/ICamelotPair.ts +42 -0
- package/typechain-types/IPVotingEscrowSidechain.ts +155 -0
- package/typechain-types/PendleCamelotRewardHelper.ts +347 -0
- package/typechain-types/{CamelotV1LpHelper.ts → PendleCamelotV1RouterHelper.ts} +5 -75
- package/typechain-types/PendleCamelotV1SY.ts +0 -245
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/CamelotRewardHelper__factory.ts +1 -1
- package/typechain-types/factories/CamelotV1PreviewHelper__factory.ts +400 -0
- package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +1 -1
- package/typechain-types/factories/ICamelotNFTPool__factory.ts +13 -0
- package/typechain-types/factories/ICamelotNitroPool__factory.ts +13 -0
- package/typechain-types/factories/ICamelotPair__factory.ts +26 -0
- package/typechain-types/factories/IPVotingEscrowSidechain__factory.ts +112 -0
- package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCamelotRewardHelper__factory.ts +317 -0
- package/typechain-types/factories/{CamelotV1LpHelper__factory.ts → PendleCamelotV1RouterHelper__factory.ts} +12 -60
- package/typechain-types/factories/PendleCamelotV1SY__factory.ts +9 -156
- package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
- package/typechain-types/factories/PendleThenaSY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWbEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/factories/SAPE__factory.ts +1 -1
- package/typechain-types/factories/ThenaPreview__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +0 -144
- package/typechain-types/index.ts +2 -22
- package/typechain-types/BotActionCallback.ts +0 -763
- package/typechain-types/BotActionHelper.ts +0 -763
- package/typechain-types/BotDecisionHelper.ts +0 -527
- package/typechain-types/BotDecisionLib.ts +0 -335
- package/typechain-types/IBotDecisionHelper.ts +0 -507
- package/typechain-types/ICamelotSY.ts +0 -100
- package/typechain-types/ILongYieldTradingBot.ts +0 -1008
- package/typechain-types/ITradingBotBase.ts +0 -523
- package/typechain-types/LongYieldTradingBot.ts +0 -1468
- package/typechain-types/MarketExtLib.ts +0 -81
- package/typechain-types/PendleBinanceEth.ts +0 -1229
- package/typechain-types/TradingBotBase.ts +0 -719
- package/typechain-types/TradingBotOffchain.ts +0 -568
- package/typechain-types/factories/BotActionCallback__factory.ts +0 -678
- package/typechain-types/factories/BotActionHelper__factory.ts +0 -678
- package/typechain-types/factories/BotDecisionHelper__factory.ts +0 -1123
- package/typechain-types/factories/BotDecisionLib__factory.ts +0 -642
- package/typechain-types/factories/CamelotV1Preview__factory.ts +0 -309
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +0 -932
- package/typechain-types/factories/ICamelotSY__factory.ts +0 -49
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +0 -1172
- package/typechain-types/factories/ITradingBotBase__factory.ts +0 -455
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +0 -1836
- package/typechain-types/factories/MarketExtLib__factory.ts +0 -74
- package/typechain-types/factories/PendleBinanceEth__factory.ts +0 -1052
- package/typechain-types/factories/TradingBotBase__factory.ts +0 -628
- package/typechain-types/factories/TradingBotOffchain__factory.ts +0 -1133
|
@@ -1,1123 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
BotDecisionHelper,
|
|
8
|
-
BotDecisionHelperInterface,
|
|
9
|
-
} from "../BotDecisionHelper";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [],
|
|
14
|
-
name: "ApproxFail",
|
|
15
|
-
type: "error",
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
inputs: [
|
|
19
|
-
{
|
|
20
|
-
internalType: "uint256",
|
|
21
|
-
name: "guessMin",
|
|
22
|
-
type: "uint256",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "uint256",
|
|
26
|
-
name: "guessMax",
|
|
27
|
-
type: "uint256",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
internalType: "uint256",
|
|
31
|
-
name: "eps",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
name: "ApproxParamsInvalid",
|
|
36
|
-
type: "error",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
inputs: [],
|
|
40
|
-
name: "BotBinarySearchFail",
|
|
41
|
-
type: "error",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
inputs: [
|
|
45
|
-
{
|
|
46
|
-
internalType: "uint256",
|
|
47
|
-
name: "action",
|
|
48
|
-
type: "uint256",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
internalType: "uint256",
|
|
52
|
-
name: "guessMin",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
name: "BotBinarySearchGuessMinInvalid",
|
|
57
|
-
type: "error",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
inputs: [
|
|
61
|
-
{
|
|
62
|
-
internalType: "uint256",
|
|
63
|
-
name: "action",
|
|
64
|
-
type: "uint256",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
internalType: "uint256",
|
|
68
|
-
name: "guessMin",
|
|
69
|
-
type: "uint256",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
internalType: "uint256",
|
|
73
|
-
name: "guessMax",
|
|
74
|
-
type: "uint256",
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
name: "BotBinarySearchInvalidRange",
|
|
78
|
-
type: "error",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
inputs: [
|
|
82
|
-
{
|
|
83
|
-
internalType: "int256",
|
|
84
|
-
name: "exchangeRate",
|
|
85
|
-
type: "int256",
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
name: "MarketExchangeRateBelowOne",
|
|
89
|
-
type: "error",
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
inputs: [],
|
|
93
|
-
name: "MarketExpired",
|
|
94
|
-
type: "error",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
inputs: [
|
|
98
|
-
{
|
|
99
|
-
internalType: "int256",
|
|
100
|
-
name: "currentAmount",
|
|
101
|
-
type: "int256",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
internalType: "int256",
|
|
105
|
-
name: "requiredAmount",
|
|
106
|
-
type: "int256",
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
name: "MarketInsufficientPtForTrade",
|
|
110
|
-
type: "error",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
inputs: [],
|
|
114
|
-
name: "MarketProportionMustNotEqualOne",
|
|
115
|
-
type: "error",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
inputs: [
|
|
119
|
-
{
|
|
120
|
-
internalType: "int256",
|
|
121
|
-
name: "proportion",
|
|
122
|
-
type: "int256",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
internalType: "int256",
|
|
126
|
-
name: "maxProportion",
|
|
127
|
-
type: "int256",
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
name: "MarketProportionTooHigh",
|
|
131
|
-
type: "error",
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
inputs: [
|
|
135
|
-
{
|
|
136
|
-
internalType: "int256",
|
|
137
|
-
name: "rateScalar",
|
|
138
|
-
type: "int256",
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
name: "MarketRateScalarBelowZero",
|
|
142
|
-
type: "error",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
inputs: [],
|
|
146
|
-
name: "MarketZeroLnImpliedRate",
|
|
147
|
-
type: "error",
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
inputs: [
|
|
151
|
-
{
|
|
152
|
-
internalType: "int256",
|
|
153
|
-
name: "totalPt",
|
|
154
|
-
type: "int256",
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
internalType: "int256",
|
|
158
|
-
name: "totalAsset",
|
|
159
|
-
type: "int256",
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
name: "MarketZeroTotalPtOrTotalAsset",
|
|
163
|
-
type: "error",
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
inputs: [
|
|
167
|
-
{
|
|
168
|
-
components: [
|
|
169
|
-
{
|
|
170
|
-
internalType: "uint256",
|
|
171
|
-
name: "lpBalance",
|
|
172
|
-
type: "uint256",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
internalType: "uint256",
|
|
176
|
-
name: "ytBalance",
|
|
177
|
-
type: "uint256",
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
internalType: "uint256",
|
|
181
|
-
name: "syBalance",
|
|
182
|
-
type: "uint256",
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
internalType: "struct BotState",
|
|
186
|
-
name: "botState",
|
|
187
|
-
type: "tuple",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
components: [
|
|
191
|
-
{
|
|
192
|
-
internalType: "enum StrategyFlag",
|
|
193
|
-
name: "iyFlag",
|
|
194
|
-
type: "uint8",
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
internalType: "enum StrategyFlag",
|
|
198
|
-
name: "syRatioFlag",
|
|
199
|
-
type: "uint8",
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
internalType: "struct StrategyState",
|
|
203
|
-
name: "currentState",
|
|
204
|
-
type: "tuple",
|
|
205
|
-
},
|
|
206
|
-
],
|
|
207
|
-
name: "actionToTake",
|
|
208
|
-
outputs: [
|
|
209
|
-
{
|
|
210
|
-
internalType: "enum ActionType",
|
|
211
|
-
name: "",
|
|
212
|
-
type: "uint8",
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
stateMutability: "pure",
|
|
216
|
-
type: "function",
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
inputs: [
|
|
220
|
-
{
|
|
221
|
-
components: [
|
|
222
|
-
{
|
|
223
|
-
internalType: "uint256",
|
|
224
|
-
name: "lpBalance",
|
|
225
|
-
type: "uint256",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
internalType: "uint256",
|
|
229
|
-
name: "ytBalance",
|
|
230
|
-
type: "uint256",
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
internalType: "uint256",
|
|
234
|
-
name: "syBalance",
|
|
235
|
-
type: "uint256",
|
|
236
|
-
},
|
|
237
|
-
],
|
|
238
|
-
internalType: "struct BotState",
|
|
239
|
-
name: "bot",
|
|
240
|
-
type: "tuple",
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
components: [
|
|
244
|
-
{
|
|
245
|
-
components: [
|
|
246
|
-
{
|
|
247
|
-
internalType: "int256",
|
|
248
|
-
name: "totalPt",
|
|
249
|
-
type: "int256",
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
internalType: "int256",
|
|
253
|
-
name: "totalSy",
|
|
254
|
-
type: "int256",
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
internalType: "int256",
|
|
258
|
-
name: "totalLp",
|
|
259
|
-
type: "int256",
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
internalType: "address",
|
|
263
|
-
name: "treasury",
|
|
264
|
-
type: "address",
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
internalType: "int256",
|
|
268
|
-
name: "scalarRoot",
|
|
269
|
-
type: "int256",
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
internalType: "uint256",
|
|
273
|
-
name: "expiry",
|
|
274
|
-
type: "uint256",
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
internalType: "uint256",
|
|
278
|
-
name: "lnFeeRateRoot",
|
|
279
|
-
type: "uint256",
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
internalType: "uint256",
|
|
283
|
-
name: "reserveFeePercent",
|
|
284
|
-
type: "uint256",
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
internalType: "uint256",
|
|
288
|
-
name: "lastLnImpliedRate",
|
|
289
|
-
type: "uint256",
|
|
290
|
-
},
|
|
291
|
-
],
|
|
292
|
-
internalType: "struct MarketState",
|
|
293
|
-
name: "state",
|
|
294
|
-
type: "tuple",
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
internalType: "PYIndex",
|
|
298
|
-
name: "index",
|
|
299
|
-
type: "uint256",
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
internalType: "uint256",
|
|
303
|
-
name: "blockTime",
|
|
304
|
-
type: "uint256",
|
|
305
|
-
},
|
|
306
|
-
],
|
|
307
|
-
internalType: "struct MarketExtState",
|
|
308
|
-
name: "marketExt",
|
|
309
|
-
type: "tuple",
|
|
310
|
-
},
|
|
311
|
-
],
|
|
312
|
-
name: "botExtStats",
|
|
313
|
-
outputs: [
|
|
314
|
-
{
|
|
315
|
-
internalType: "uint256",
|
|
316
|
-
name: "tvlInSy",
|
|
317
|
-
type: "uint256",
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
internalType: "uint256",
|
|
321
|
-
name: "iy",
|
|
322
|
-
type: "uint256",
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
internalType: "uint256",
|
|
326
|
-
name: "currentSyRatio",
|
|
327
|
-
type: "uint256",
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
internalType: "uint256",
|
|
331
|
-
name: "currentYtPtRatio",
|
|
332
|
-
type: "uint256",
|
|
333
|
-
},
|
|
334
|
-
],
|
|
335
|
-
stateMutability: "pure",
|
|
336
|
-
type: "function",
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
inputs: [
|
|
340
|
-
{
|
|
341
|
-
components: [
|
|
342
|
-
{
|
|
343
|
-
internalType: "uint256",
|
|
344
|
-
name: "lpBalance",
|
|
345
|
-
type: "uint256",
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
internalType: "uint256",
|
|
349
|
-
name: "ytBalance",
|
|
350
|
-
type: "uint256",
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
internalType: "uint256",
|
|
354
|
-
name: "syBalance",
|
|
355
|
-
type: "uint256",
|
|
356
|
-
},
|
|
357
|
-
],
|
|
358
|
-
internalType: "struct BotState",
|
|
359
|
-
name: "botData",
|
|
360
|
-
type: "tuple",
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
components: [
|
|
364
|
-
{
|
|
365
|
-
components: [
|
|
366
|
-
{
|
|
367
|
-
internalType: "int256",
|
|
368
|
-
name: "totalPt",
|
|
369
|
-
type: "int256",
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
internalType: "int256",
|
|
373
|
-
name: "totalSy",
|
|
374
|
-
type: "int256",
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
internalType: "int256",
|
|
378
|
-
name: "totalLp",
|
|
379
|
-
type: "int256",
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
internalType: "address",
|
|
383
|
-
name: "treasury",
|
|
384
|
-
type: "address",
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
internalType: "int256",
|
|
388
|
-
name: "scalarRoot",
|
|
389
|
-
type: "int256",
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
internalType: "uint256",
|
|
393
|
-
name: "expiry",
|
|
394
|
-
type: "uint256",
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
internalType: "uint256",
|
|
398
|
-
name: "lnFeeRateRoot",
|
|
399
|
-
type: "uint256",
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
internalType: "uint256",
|
|
403
|
-
name: "reserveFeePercent",
|
|
404
|
-
type: "uint256",
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
internalType: "uint256",
|
|
408
|
-
name: "lastLnImpliedRate",
|
|
409
|
-
type: "uint256",
|
|
410
|
-
},
|
|
411
|
-
],
|
|
412
|
-
internalType: "struct MarketState",
|
|
413
|
-
name: "state",
|
|
414
|
-
type: "tuple",
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
internalType: "PYIndex",
|
|
418
|
-
name: "index",
|
|
419
|
-
type: "uint256",
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
internalType: "uint256",
|
|
423
|
-
name: "blockTime",
|
|
424
|
-
type: "uint256",
|
|
425
|
-
},
|
|
426
|
-
],
|
|
427
|
-
internalType: "struct MarketExtState",
|
|
428
|
-
name: "marketExtData",
|
|
429
|
-
type: "tuple",
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
internalType: "enum ActionType",
|
|
433
|
-
name: "action",
|
|
434
|
-
type: "uint8",
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
internalType: "uint256",
|
|
438
|
-
name: "botParam",
|
|
439
|
-
type: "uint256",
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
components: [
|
|
443
|
-
{
|
|
444
|
-
internalType: "uint256",
|
|
445
|
-
name: "guessMin",
|
|
446
|
-
type: "uint256",
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
internalType: "uint256",
|
|
450
|
-
name: "guessMax",
|
|
451
|
-
type: "uint256",
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
internalType: "uint256",
|
|
455
|
-
name: "guessOffchain",
|
|
456
|
-
type: "uint256",
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
internalType: "uint256",
|
|
460
|
-
name: "maxIteration",
|
|
461
|
-
type: "uint256",
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
internalType: "uint256",
|
|
465
|
-
name: "eps",
|
|
466
|
-
type: "uint256",
|
|
467
|
-
},
|
|
468
|
-
],
|
|
469
|
-
internalType: "struct ApproxParams",
|
|
470
|
-
name: "swapApproxParams",
|
|
471
|
-
type: "tuple",
|
|
472
|
-
},
|
|
473
|
-
],
|
|
474
|
-
name: "previewAction",
|
|
475
|
-
outputs: [
|
|
476
|
-
{
|
|
477
|
-
internalType: "bool",
|
|
478
|
-
name: "success",
|
|
479
|
-
type: "bool",
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
components: [
|
|
483
|
-
{
|
|
484
|
-
internalType: "uint256",
|
|
485
|
-
name: "lpBalance",
|
|
486
|
-
type: "uint256",
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
internalType: "uint256",
|
|
490
|
-
name: "ytBalance",
|
|
491
|
-
type: "uint256",
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
internalType: "uint256",
|
|
495
|
-
name: "syBalance",
|
|
496
|
-
type: "uint256",
|
|
497
|
-
},
|
|
498
|
-
],
|
|
499
|
-
internalType: "struct BotState",
|
|
500
|
-
name: "bot",
|
|
501
|
-
type: "tuple",
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
components: [
|
|
505
|
-
{
|
|
506
|
-
components: [
|
|
507
|
-
{
|
|
508
|
-
internalType: "int256",
|
|
509
|
-
name: "totalPt",
|
|
510
|
-
type: "int256",
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
internalType: "int256",
|
|
514
|
-
name: "totalSy",
|
|
515
|
-
type: "int256",
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
internalType: "int256",
|
|
519
|
-
name: "totalLp",
|
|
520
|
-
type: "int256",
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
internalType: "address",
|
|
524
|
-
name: "treasury",
|
|
525
|
-
type: "address",
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
internalType: "int256",
|
|
529
|
-
name: "scalarRoot",
|
|
530
|
-
type: "int256",
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
internalType: "uint256",
|
|
534
|
-
name: "expiry",
|
|
535
|
-
type: "uint256",
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
internalType: "uint256",
|
|
539
|
-
name: "lnFeeRateRoot",
|
|
540
|
-
type: "uint256",
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
internalType: "uint256",
|
|
544
|
-
name: "reserveFeePercent",
|
|
545
|
-
type: "uint256",
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
internalType: "uint256",
|
|
549
|
-
name: "lastLnImpliedRate",
|
|
550
|
-
type: "uint256",
|
|
551
|
-
},
|
|
552
|
-
],
|
|
553
|
-
internalType: "struct MarketState",
|
|
554
|
-
name: "state",
|
|
555
|
-
type: "tuple",
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
internalType: "PYIndex",
|
|
559
|
-
name: "index",
|
|
560
|
-
type: "uint256",
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
internalType: "uint256",
|
|
564
|
-
name: "blockTime",
|
|
565
|
-
type: "uint256",
|
|
566
|
-
},
|
|
567
|
-
],
|
|
568
|
-
internalType: "struct MarketExtState",
|
|
569
|
-
name: "marketExt",
|
|
570
|
-
type: "tuple",
|
|
571
|
-
},
|
|
572
|
-
],
|
|
573
|
-
stateMutability: "pure",
|
|
574
|
-
type: "function",
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
inputs: [
|
|
578
|
-
{
|
|
579
|
-
components: [
|
|
580
|
-
{
|
|
581
|
-
internalType: "uint256",
|
|
582
|
-
name: "lpBalance",
|
|
583
|
-
type: "uint256",
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
internalType: "uint256",
|
|
587
|
-
name: "ytBalance",
|
|
588
|
-
type: "uint256",
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
internalType: "uint256",
|
|
592
|
-
name: "syBalance",
|
|
593
|
-
type: "uint256",
|
|
594
|
-
},
|
|
595
|
-
],
|
|
596
|
-
internalType: "struct BotState",
|
|
597
|
-
name: "bot",
|
|
598
|
-
type: "tuple",
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
components: [
|
|
602
|
-
{
|
|
603
|
-
components: [
|
|
604
|
-
{
|
|
605
|
-
internalType: "int256",
|
|
606
|
-
name: "totalPt",
|
|
607
|
-
type: "int256",
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
internalType: "int256",
|
|
611
|
-
name: "totalSy",
|
|
612
|
-
type: "int256",
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
internalType: "int256",
|
|
616
|
-
name: "totalLp",
|
|
617
|
-
type: "int256",
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
internalType: "address",
|
|
621
|
-
name: "treasury",
|
|
622
|
-
type: "address",
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
internalType: "int256",
|
|
626
|
-
name: "scalarRoot",
|
|
627
|
-
type: "int256",
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
internalType: "uint256",
|
|
631
|
-
name: "expiry",
|
|
632
|
-
type: "uint256",
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
internalType: "uint256",
|
|
636
|
-
name: "lnFeeRateRoot",
|
|
637
|
-
type: "uint256",
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
internalType: "uint256",
|
|
641
|
-
name: "reserveFeePercent",
|
|
642
|
-
type: "uint256",
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
internalType: "uint256",
|
|
646
|
-
name: "lastLnImpliedRate",
|
|
647
|
-
type: "uint256",
|
|
648
|
-
},
|
|
649
|
-
],
|
|
650
|
-
internalType: "struct MarketState",
|
|
651
|
-
name: "state",
|
|
652
|
-
type: "tuple",
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
internalType: "PYIndex",
|
|
656
|
-
name: "index",
|
|
657
|
-
type: "uint256",
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
internalType: "uint256",
|
|
661
|
-
name: "blockTime",
|
|
662
|
-
type: "uint256",
|
|
663
|
-
},
|
|
664
|
-
],
|
|
665
|
-
internalType: "struct MarketExtState",
|
|
666
|
-
name: "marketExt",
|
|
667
|
-
type: "tuple",
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
components: [
|
|
671
|
-
{
|
|
672
|
-
internalType: "uint256",
|
|
673
|
-
name: "lowerIyLimit",
|
|
674
|
-
type: "uint256",
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
internalType: "uint256",
|
|
678
|
-
name: "upperIyLimit",
|
|
679
|
-
type: "uint256",
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
internalType: "uint256",
|
|
683
|
-
name: "floatingSyRatioLimit",
|
|
684
|
-
type: "uint256",
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
internalType: "uint256",
|
|
688
|
-
name: "floatingSyRatioTarget",
|
|
689
|
-
type: "uint256",
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
internalType: "uint256",
|
|
693
|
-
name: "ytPtRatioLimit",
|
|
694
|
-
type: "uint256",
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
internalType: "uint256",
|
|
698
|
-
name: "ytPtRatioTarget",
|
|
699
|
-
type: "uint256",
|
|
700
|
-
},
|
|
701
|
-
],
|
|
702
|
-
internalType: "struct LongTradingSpecs",
|
|
703
|
-
name: "specs",
|
|
704
|
-
type: "tuple",
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
internalType: "enum ActionType",
|
|
708
|
-
name: "action",
|
|
709
|
-
type: "uint8",
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
components: [
|
|
713
|
-
{
|
|
714
|
-
internalType: "uint256",
|
|
715
|
-
name: "guessMin",
|
|
716
|
-
type: "uint256",
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
internalType: "uint256",
|
|
720
|
-
name: "guessMax",
|
|
721
|
-
type: "uint256",
|
|
722
|
-
},
|
|
723
|
-
{
|
|
724
|
-
internalType: "uint256",
|
|
725
|
-
name: "guessOffchain",
|
|
726
|
-
type: "uint256",
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
internalType: "uint256",
|
|
730
|
-
name: "maxIteration",
|
|
731
|
-
type: "uint256",
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
internalType: "uint256",
|
|
735
|
-
name: "eps",
|
|
736
|
-
type: "uint256",
|
|
737
|
-
},
|
|
738
|
-
],
|
|
739
|
-
internalType: "struct ApproxParams",
|
|
740
|
-
name: "botParams",
|
|
741
|
-
type: "tuple",
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
components: [
|
|
745
|
-
{
|
|
746
|
-
internalType: "uint256",
|
|
747
|
-
name: "guessMin",
|
|
748
|
-
type: "uint256",
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
internalType: "uint256",
|
|
752
|
-
name: "guessMax",
|
|
753
|
-
type: "uint256",
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
internalType: "uint256",
|
|
757
|
-
name: "guessOffchain",
|
|
758
|
-
type: "uint256",
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
internalType: "uint256",
|
|
762
|
-
name: "maxIteration",
|
|
763
|
-
type: "uint256",
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
internalType: "uint256",
|
|
767
|
-
name: "eps",
|
|
768
|
-
type: "uint256",
|
|
769
|
-
},
|
|
770
|
-
],
|
|
771
|
-
internalType: "struct ApproxParams",
|
|
772
|
-
name: "intParams",
|
|
773
|
-
type: "tuple",
|
|
774
|
-
},
|
|
775
|
-
],
|
|
776
|
-
name: "searchForBotParam",
|
|
777
|
-
outputs: [
|
|
778
|
-
{
|
|
779
|
-
internalType: "uint256",
|
|
780
|
-
name: "",
|
|
781
|
-
type: "uint256",
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
internalType: "enum IBotDecisionHelper.RebalanceResult",
|
|
785
|
-
name: "",
|
|
786
|
-
type: "uint8",
|
|
787
|
-
},
|
|
788
|
-
],
|
|
789
|
-
stateMutability: "pure",
|
|
790
|
-
type: "function",
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
inputs: [
|
|
794
|
-
{
|
|
795
|
-
components: [
|
|
796
|
-
{
|
|
797
|
-
components: [
|
|
798
|
-
{
|
|
799
|
-
internalType: "int256",
|
|
800
|
-
name: "totalPt",
|
|
801
|
-
type: "int256",
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
internalType: "int256",
|
|
805
|
-
name: "totalSy",
|
|
806
|
-
type: "int256",
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
internalType: "int256",
|
|
810
|
-
name: "totalLp",
|
|
811
|
-
type: "int256",
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
internalType: "address",
|
|
815
|
-
name: "treasury",
|
|
816
|
-
type: "address",
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
internalType: "int256",
|
|
820
|
-
name: "scalarRoot",
|
|
821
|
-
type: "int256",
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
internalType: "uint256",
|
|
825
|
-
name: "expiry",
|
|
826
|
-
type: "uint256",
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
internalType: "uint256",
|
|
830
|
-
name: "lnFeeRateRoot",
|
|
831
|
-
type: "uint256",
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
internalType: "uint256",
|
|
835
|
-
name: "reserveFeePercent",
|
|
836
|
-
type: "uint256",
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
internalType: "uint256",
|
|
840
|
-
name: "lastLnImpliedRate",
|
|
841
|
-
type: "uint256",
|
|
842
|
-
},
|
|
843
|
-
],
|
|
844
|
-
internalType: "struct MarketState",
|
|
845
|
-
name: "state",
|
|
846
|
-
type: "tuple",
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
internalType: "PYIndex",
|
|
850
|
-
name: "index",
|
|
851
|
-
type: "uint256",
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
internalType: "uint256",
|
|
855
|
-
name: "blockTime",
|
|
856
|
-
type: "uint256",
|
|
857
|
-
},
|
|
858
|
-
],
|
|
859
|
-
internalType: "struct MarketExtState",
|
|
860
|
-
name: "marketExt",
|
|
861
|
-
type: "tuple",
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
internalType: "enum ActionType",
|
|
865
|
-
name: "action",
|
|
866
|
-
type: "uint8",
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
internalType: "uint256",
|
|
870
|
-
name: "botParam",
|
|
871
|
-
type: "uint256",
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
components: [
|
|
875
|
-
{
|
|
876
|
-
internalType: "uint256",
|
|
877
|
-
name: "guessMin",
|
|
878
|
-
type: "uint256",
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
internalType: "uint256",
|
|
882
|
-
name: "guessMax",
|
|
883
|
-
type: "uint256",
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
internalType: "uint256",
|
|
887
|
-
name: "guessOffchain",
|
|
888
|
-
type: "uint256",
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
internalType: "uint256",
|
|
892
|
-
name: "maxIteration",
|
|
893
|
-
type: "uint256",
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
internalType: "uint256",
|
|
897
|
-
name: "eps",
|
|
898
|
-
type: "uint256",
|
|
899
|
-
},
|
|
900
|
-
],
|
|
901
|
-
internalType: "struct ApproxParams",
|
|
902
|
-
name: "intParams",
|
|
903
|
-
type: "tuple",
|
|
904
|
-
},
|
|
905
|
-
],
|
|
906
|
-
name: "searchForIntParam",
|
|
907
|
-
outputs: [
|
|
908
|
-
{
|
|
909
|
-
internalType: "uint256",
|
|
910
|
-
name: "",
|
|
911
|
-
type: "uint256",
|
|
912
|
-
},
|
|
913
|
-
],
|
|
914
|
-
stateMutability: "pure",
|
|
915
|
-
type: "function",
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
inputs: [
|
|
919
|
-
{
|
|
920
|
-
components: [
|
|
921
|
-
{
|
|
922
|
-
internalType: "uint256",
|
|
923
|
-
name: "lpBalance",
|
|
924
|
-
type: "uint256",
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
internalType: "uint256",
|
|
928
|
-
name: "ytBalance",
|
|
929
|
-
type: "uint256",
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
internalType: "uint256",
|
|
933
|
-
name: "syBalance",
|
|
934
|
-
type: "uint256",
|
|
935
|
-
},
|
|
936
|
-
],
|
|
937
|
-
internalType: "struct BotState",
|
|
938
|
-
name: "bot",
|
|
939
|
-
type: "tuple",
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
components: [
|
|
943
|
-
{
|
|
944
|
-
components: [
|
|
945
|
-
{
|
|
946
|
-
internalType: "int256",
|
|
947
|
-
name: "totalPt",
|
|
948
|
-
type: "int256",
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
internalType: "int256",
|
|
952
|
-
name: "totalSy",
|
|
953
|
-
type: "int256",
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
internalType: "int256",
|
|
957
|
-
name: "totalLp",
|
|
958
|
-
type: "int256",
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
internalType: "address",
|
|
962
|
-
name: "treasury",
|
|
963
|
-
type: "address",
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
internalType: "int256",
|
|
967
|
-
name: "scalarRoot",
|
|
968
|
-
type: "int256",
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
internalType: "uint256",
|
|
972
|
-
name: "expiry",
|
|
973
|
-
type: "uint256",
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
internalType: "uint256",
|
|
977
|
-
name: "lnFeeRateRoot",
|
|
978
|
-
type: "uint256",
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
internalType: "uint256",
|
|
982
|
-
name: "reserveFeePercent",
|
|
983
|
-
type: "uint256",
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
internalType: "uint256",
|
|
987
|
-
name: "lastLnImpliedRate",
|
|
988
|
-
type: "uint256",
|
|
989
|
-
},
|
|
990
|
-
],
|
|
991
|
-
internalType: "struct MarketState",
|
|
992
|
-
name: "state",
|
|
993
|
-
type: "tuple",
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
internalType: "PYIndex",
|
|
997
|
-
name: "index",
|
|
998
|
-
type: "uint256",
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
internalType: "uint256",
|
|
1002
|
-
name: "blockTime",
|
|
1003
|
-
type: "uint256",
|
|
1004
|
-
},
|
|
1005
|
-
],
|
|
1006
|
-
internalType: "struct MarketExtState",
|
|
1007
|
-
name: "marketExt",
|
|
1008
|
-
type: "tuple",
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
components: [
|
|
1012
|
-
{
|
|
1013
|
-
internalType: "uint256",
|
|
1014
|
-
name: "lowerIyLimit",
|
|
1015
|
-
type: "uint256",
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
internalType: "uint256",
|
|
1019
|
-
name: "upperIyLimit",
|
|
1020
|
-
type: "uint256",
|
|
1021
|
-
},
|
|
1022
|
-
{
|
|
1023
|
-
internalType: "uint256",
|
|
1024
|
-
name: "floatingSyRatioLimit",
|
|
1025
|
-
type: "uint256",
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
internalType: "uint256",
|
|
1029
|
-
name: "floatingSyRatioTarget",
|
|
1030
|
-
type: "uint256",
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
internalType: "uint256",
|
|
1034
|
-
name: "ytPtRatioLimit",
|
|
1035
|
-
type: "uint256",
|
|
1036
|
-
},
|
|
1037
|
-
{
|
|
1038
|
-
internalType: "uint256",
|
|
1039
|
-
name: "ytPtRatioTarget",
|
|
1040
|
-
type: "uint256",
|
|
1041
|
-
},
|
|
1042
|
-
],
|
|
1043
|
-
internalType: "struct LongTradingSpecs",
|
|
1044
|
-
name: "specs",
|
|
1045
|
-
type: "tuple",
|
|
1046
|
-
},
|
|
1047
|
-
],
|
|
1048
|
-
name: "strategyState",
|
|
1049
|
-
outputs: [
|
|
1050
|
-
{
|
|
1051
|
-
components: [
|
|
1052
|
-
{
|
|
1053
|
-
internalType: "enum StrategyFlag",
|
|
1054
|
-
name: "iyFlag",
|
|
1055
|
-
type: "uint8",
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
internalType: "enum StrategyFlag",
|
|
1059
|
-
name: "syRatioFlag",
|
|
1060
|
-
type: "uint8",
|
|
1061
|
-
},
|
|
1062
|
-
],
|
|
1063
|
-
internalType: "struct StrategyState",
|
|
1064
|
-
name: "currentState",
|
|
1065
|
-
type: "tuple",
|
|
1066
|
-
},
|
|
1067
|
-
],
|
|
1068
|
-
stateMutability: "pure",
|
|
1069
|
-
type: "function",
|
|
1070
|
-
},
|
|
1071
|
-
];
|
|
1072
|
-
|
|
1073
|
-
const _bytecode =
|
|
1074
|
-
"0x608060405234801561001057600080fd5b506135e2806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063124fdedb1461006757806333cace2a1461013e578063675ea12b1461015e578063896d88d31461017f578063914185af1461019f578063b3a332eb146101c0575b600080fd5b61007a6100753660046130c5565b6101f3565b6040516101359392919060006101e0820190508415158252835160208301526020840151604083015260408401516060830152825180516080840152602081015160a0840152604081015160c084015260018060a01b0360608201511660e08401526080810151610100818186015260a083015161012086015260c083015161014086015260e08301516101608601528083015161018086015250505060208301516101a083015260408301516101c0830152949350505050565b60405180910390f35b61015161014c366004613139565b6102e7565b60405161013591906131df565b61017161016c3660046131f9565b610407565b604051908152602001610135565b61019261018d3660046132d3565b61044f565b604051610135919061332b565b6101b26101ad366004613358565b6104f6565b6040516101359291906133d6565b6101d36101ce3660046133f3565b610802565b604080519485526020850193909352918301526060820152608001610135565b60006101fd612e30565b610205612e51565b61020e88610876565b9150610219876108a2565b9050600086600581111561022f5761022f6131c9565b036102465761023f8282876108e0565b92506102dc565b600186600581111561025a5761025a6131c9565b0361026a5761023f82828761093e565b600286600581111561027e5761027e6131c9565b0361028e5761023f8282876109b1565b60038660058111156102a2576102a26131c9565b036102b25761023f828287610a00565b60048660058111156102c6576102c66131c9565b036102d75761023f82828787610a3b565b600092505b955095509592505050565b60006001825160028111156102fe576102fe6131c9565b036103555760028260200151600281111561031b5761031b6131c9565b0361033c57826040015160000361033457506005610401565b506000610401565b825160000361034d57506005610401565b506004610401565b60008251600281111561036a5761036a6131c9565b036103b057600282602001516002811115610387576103876131c9565b036103a85782604001516000036103a057506005610401565b506001610401565b506005610401565b6002826020015160028111156103c8576103c86131c9565b036103e95782604001516000036103e157506005610401565b506002610401565b82602001516000036103fd57506005610401565b5060035b92915050565b6000600484600581111561041d5761041d6131c9565b036104435760006104398484610432896108a2565b9190610a71565b9250610447915050565b5060005b949350505050565b604080518082019091526000808252602082015260008060006104728787610802565b9350935093505084600001518310156104a4578360015b9081600281111561049c5761049c6131c9565b9052506104cc565b8285602001511080156104ba5750846080015181115b156104c757836002610489565b600084525b84604001518211156104e457600260208501526104ec565b600060208501525b5050509392505050565b600080600060405180608001604052808a815260200189815260200188815260200187600581111561052a5761052a6131c9565b90526040860151909150156105c45760006105618660800151670de0b6b3a7640000610556919061343f565b604088015190610b0e565b9050600161057483886040015188610b31565b6002811115610585576105856131c9565b1480156105ad5750600261059a838388610b31565b60028111156105ab576105ab6131c9565b145b156105c25750505050604082015160016107f7565b505b60006105d18a8a89610b99565b905080866020015111156105e757602086018190525b60208601518651111561063257866005811115610606576106066131c9565b8651602088015160405163f25ccea360e01b815261062993929190600401613452565b60405180910390fd5b600261064383886020015188610b31565b6002811115610654576106546131c9565b036106695750505050602082015160026107f7565b50600061067b82876000015187610b31565b90506000816002811115610691576106916131c9565b036106c5578660058111156106a8576106a86131c9565b8651604051630cf4fb5360e31b8152610629929190600401613468565b60018160028111156106d9576106d96131c9565b036106ed57505083519150600190506107f7565b5060005b85606001518110156107dd576000600287600001518860200151610715919061343f565b61071f919061348c565b875161072b91906134a0565b9050600261073a848389610b31565b600281111561074b5761074b6131c9565b0361075857808752610760565b602087018190525b610777876000015188602001518960800151610c54565b156107cc57600061078d84896000015189610b31565b600281111561079e5761079e6131c9565b036107bc5786516107b0848289610b31565b945094505050506107f7565b60208701516107b0848289610b31565b506107d6816134b3565b90506106f1565b5060405163fef33c9d60e01b815260040160405180910390fd5b965096945050505050565b60008080806108118686610c87565b935061081c85610d60565b604087015190935061082e9085610dad565b915060006108498760000151610843886108a2565b90610dd3565b91505080156108665760208701516108619082610dad565b61086a565b6000195b91505092959194509250565b61087e612e30565b50604080516060810182528251815260208084015190820152918101519082015290565b6108aa612e51565b60405180606001604052806108c28460000151610e8a565b81526020018360200151815260200183604001518152509050919050565b6000806108ed8484610f07565b90508460400151811115610905576000915050610937565b8085604001818151610917919061343f565b90525060208501805184919061092e9083906134a0565b90525060019150505b9392505050565b6000836040015182111561095457506000610937565b6000806109618585610f57565b915091508386604001818151610977919061343f565b90525085518290879061098b9083906134a0565b9052506020860180518291906109a29083906134a0565b90525060019695505050505050565b600080806109bf8585610fe3565b9150915085604001518111156109da57600092505050610937565b80866040018181516109ec919061343f565b9052508551829087906109a29083906134a0565b60008080610a0e8585611066565b915091508560200151811115610a2957600092505050610937565b80866020018181516109ec919061343f565b8351600090831115610a4f57506000610447565b6000610a5c858585610a71565b509050838660000181815161098b919061343f565b600080600080610a818787610dd3565b915091506000610a9e83896020015161116a90919063ffffffff16565b90506000610aac82846134a0565b90506000610ad28a60200151838c60400151610ac78c611176565b8e51939291906111ea565b5060208c015160408d01518d51929950929350610af0928990611300565b5050508083610aff91906134a0565b96505050505050935093915050565b600080610b1b83856134cc565b9050670de0b6b3a7640000815b04949350505050565b600080600080610b5087600001518860200151896060015189896101f3565b92509250925082610b675760009350505050610937565b610b7b828289604001518a60600151611351565b15610b8c5760019350505050610937565b5060029695505050505050565b600080826005811115610bae57610bae6131c9565b03610bc357610bbc8361149d565b9050610937565b6001826005811115610bd757610bd76131c9565b03610be757506040830151610937565b6002826005811115610bfb57610bfb6131c9565b03610c0957610bbc836114d8565b6003826005811115610c1d57610c1d6131c9565b03610c2b57610bbc836114d8565b6004826005811115610c3f57610c3f6131c9565b03610c4c57508251610937565b506000610937565b60008284111580156104475750610c7c83610c7784670de0b6b3a764000061343f565b610b0e565b841015949350505050565b600080610c93836108a2565b9050600080610caf866000015184610dd390919063ffffffff16565b915091506000828760400151610cc591906134a0565b905086602001518211610d1357610cdc84836114fe565b610ce690826134a0565b9050610d02828860200151610cfb919061343f565b8590611510565b610d0c90826134a0565b9050610d56565b6020870151610d239085906114fe565b610d2d90826134a0565b9050610d49876020015183610d42919061343f565b859061156b565b610d5390826134a0565b90505b9695505050505050565b6000670de0b6b3a7640000610da3610d948460400151856000015160a00151610d89919061343f565b6301e1338090610dad565b610d9d8561158f565b906115dc565b610401919061343f565b600080610dc2670de0b6b3a7640000856134cc565b9050828181610b2857610b28613476565b6000806000610de184611785565b85516040810151602090910151919250600091610dfe90846134e3565b610e089190613513565b865160408101519051919250600091610e2190856134e3565b610e2b9190613513565b875160400151909150610e3e908461179f565b875160400152865151610e51908261179f565b875152865160200151610e64908361179f565b875160200152610e73826117e6565b610e7c826117e6565b945094505050509250929050565b610e92612e78565b60405180610120016040528083600001518152602001836020015181526020018360400151815260200183606001516001600160a01b03168152602001836080015181526020018360a0015181526020018360c0015181526020018360e0015181526020018361010001518152509050919050565b6020820151604083015183516000928392610f259291908690611300565b505090506000610f428486602001516117f590919063ffffffff16565b9050610f4e8183611801565b95945050505050565b6000806000610f7b610f708660000151602001516117e6565b60208701519061116a565b855151610f87906117e6565b610f9191906134a0565b855151610f9d906117e6565b610fa790866134cc565b610fb1919061348c565b6020860151909150610fc3908261116a565b9150610fd985610fd3838761343f565b84611818565b9250509250929050565b600080600061100b856020015185876040015188600001516119ee909392919063ffffffff16565b505085515190915060009061101f906117e6565b86516020015161102e906117e6565b61103890876134cc565b611042919061348c565b905061104f868287611818565b935061105b81836134a0565b925050509250929050565b600080600061108e856020015185876040015188600001516119ee909392919063ffffffff16565b5050602086015190915060006110a482846134cc565b6110b6670de0b6b3a7640000886134cc565b6110c0919061343f565b8751519091506000906110d2906117e6565b836110e48a60000151602001516117e6565b6110ee91906134cc565b6110f8919061348c565b61110a90670de0b6b3a76400006134a0565b90506000611118828461348c565b9050611124818961343f565b9550600061113f878b60200151611a1c90919063ffffffff16565b9050600061114d878361343f565b905061115a8b8285611818565b9850505050505050509250929050565b60006109378383611a28565b6111a86040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6040518060a001604052808360000151815260200183602001518152602001836040015181526020018360600151815260200183608001518152509050919050565b60008080806111fa898988611a47565b9050846040015160000361123c5784516112149088611b41565b8552602085015161122e906112298b84611b57565b611bdb565b602086015261123c85611bea565b60005b85606001518110156112e65760006112578783611c38565b90506000806112688d868e86611ca4565b509092509050600061127a8d8461116a565b90506000611288828661343f565b90508c81116112bf576112a0818e8d60800151610c54565b156112b7575097509195509093506102dc92505050565b848b526112d0565b6112ca60018661343f565b60208c01525b5050505050806112df906134b3565b905061123f565b50604051637d388ed960e11b815260040160405180910390fd5b60008060008060008061131d8a8a6113178b611cd5565b8a611cec565b92509250925061132c836117e6565b9550611337826117e6565b9450611342816117e6565b93505050509450945094915050565b60008060028460200151856000015161136a91906134a0565b611374919061348c565b905060008060006113858989610802565b91955093509150600090508660058111156113a2576113a26131c9565b036113c55783831015806113ba575086606001518211155b945050505050610447565b60018660058111156113d9576113d96131c9565b036113f1578660600151821115945050505050610447565b6002866005811115611405576114056131c9565b0361143657838311158061141d575086606001518211155b806113ba57508660a00151811115945050505050610447565b600386600581111561144a5761144a6131c9565b0361146c5783831115806113ba57508660a00151811115945050505050610447565b6004866005811115611480576114806131c9565b0361149057505010159050610447565b6001945050505050610447565b805160208201516040830151600092600a926114c3926114be918391611a47565b611b57565b6114ce9060096134cc565b610401919061348c565b602081015160408201518251600092610401926114f6929190611a47565b835151611d7f565b60208201516000906109379083611a1c565b602082015160408301518351600092839261152e92919086906119ee565b50509050600061154b828660200151611e1e90919063ffffffff16565b90506000611559828661343f565b6020870151909150610d569082611a1c565b602082015160408301518351600092611585928590611300565b5090949350505050565b60208101516040820151825160009283926115ab929190611a47565b905060006115d18460000151600001518360200151846000015185604001516000611e2b565b9050610447816117e6565b6000816000036115f55750670de0b6b3a7640000610401565b8260000361160557506000610401565b600160ff1b831061164a5760405162461bcd60e51b815260206004820152600f60248201526e78206f7574206f6620626f756e647360881b6044820152606401610629565b82770bce5086492111aea88f4bb1ca6bcf584181ea8059f7653283106116a45760405162461bcd60e51b815260206004820152600f60248201526e79206f7574206f6620626f756e647360881b6044820152606401610629565b826000670c7d713b49da0000831380156116c55750670f43fc2c04ee000083125b156116fc5760006116d584611edc565b9050670de0b6b3a764000080820784020583670de0b6b3a76400008305020191505061170a565b8161170684611ffb565b0290505b670de0b6b3a76400009005680238fd42c5cf03ffff198112801590611738575068070c1cc73b00c800008113155b61177c5760405162461bcd60e51b815260206004820152601560248201527470726f64756374206f7574206f6620626f756e647360581b6044820152606401610629565b610d568161239e565b60006001600160ff1b0382111561179b57600080fd5b5090565b6000818312156117dc5760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b6044820152606401610629565b6109378284613541565b60008082121561179b57600080fd5b600061093783836127b3565b600081831015611812576000610937565b50900390565b825160a001516040840151600091116118725760405162461bcd60e51b815260206004820152601c60248201527b13585c9ad95d115e1d131a588e88195e1c1a5c9959081b585c9ad95d60221b6044820152606401610629565b8351604001516000126118be5760405162461bcd60e51b815260206004820152601460248201527304d61726b65744578744c69623a204c50203c20360641b6044820152606401610629565b60006118c984611785565b905060006118d684611785565b90506000806000808960000151600001518a6000015160400151866118fb91906134e3565b6119059190613513565b8a51602081015160409091015191925060009161192290896134e3565b61192c9190613513565b905080821215611967578a51604081015160209091015192955086945085926119569084906134e3565b6119609190613513565b9250611990565b8a516040810151905191955087935085916119839083906134e3565b61198d9190613513565b93505b828b600001516020018181516119a69190613568565b9052508a5180518591906119bb908390613568565b9052508a5160400180518691906119d3908390613568565b9052506119df856117e6565b9b9a5050505050505050505050565b600080600080600080611a058a8a6113178b611785565b92509250925061132c611a17846127df565b6117e6565b600061093783836127ed565b6000670de0b6b3a7640000611a3d84846134cc565b610937919061348c565b611a726040518060800160405280600081526020016000815260200160008152602001600081525090565b60a08401518210611a965760405163b2094b5960e01b815260040160405180910390fd5b6000828560a00151611aa8919061343f565b9050611ab48582612802565b82526020850151611ac6908590612863565b602083015284511580611adb57506020820151155b15611b02578451602083015160405163b1c4aefb60e01b8152610629929190600401613468565b611b208560000151866101000151846020015185600001518561289a565b604083015260c0850151611b34908261291b565b6060830152509392505050565b6000818311611b505781610937565b5090919050565b60008060009050600060018460200151611b71919061343f565b90505b808214611bd35760006002611b8983856134a0565b611b949060016134a0565b611b9e919061348c565b90506000611bb18688600001518461294f565b1215611bc957611bc260018261343f565b9150611bcd565b8092505b50611b74565b509392505050565b6000818310611b505781610937565b602081015181511180611c085750670de0b6b3a76400008160800151115b15611c3557805160208201516080830151604051632cc06bc160e21b815261062993929190600401613452565b50565b600081158015611c4b5750604083015115155b15611c5b57506040820151610401565b6020830151835111611c8b5760208301518351600291611c7a916134a0565b611c84919061348c565b9050610401565b604051637d388ed960e11b815260040160405180910390fd5b60008080808080611cc28989611cb98a613590565b8d929190612a41565b919c909b50909950975050505050505050565b6000611ce082611785565b610401906000196134e3565b6000806000611cff8760a0015185101590565b15611d1d5760405163b2094b5960e01b815260040160405180910390fd5b86518512611d43578651604051632185509b60e21b815261062991908790600401613468565b6000611d50888887611a47565b9050611d5e88828989612a41565b91955093509150611d748882898988878b612b95565b509450945094915050565b600080611dac611da7856000015186604001518760600151611da19190613541565b90612c27565b61239e565b90506000611dcc611dc5670de0b6b3a764000084613568565b8390612c4a565b90506000611dea866020015186611de39190613568565b8390612c27565b90506000611df88287613541565b90506103e8611e09826103e76134cc565b611e13919061348c565b979650505050505050565b6000826104478184612c70565b600080611e38878461179f565b90506000611e49611dc5888a613568565b9050670d529ae9e8600000811315611e805780670d529ae9e8600000604051637e34684f60e11b8152600401610629929190613468565b6000611e8b82612c88565b905085611e988289612c4a565b611ea29190613568565b9350670de0b6b3a7640000841215611ed05760405163329e322960e21b815260048101859052602401610629565b50505095945050505050565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281611f1d57611f1d613476565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a764000082121561203c57612033826a0c097ce7bc90715b34b9f160241b8161202d5761202d613476565b05611ffb565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b83126120875772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b83126120be576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312612106576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312612141576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261217857693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126121af57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126121e45768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261220f57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312612244576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312612279576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126122ad576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126122e1576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d63100000808603028161230a5761230a613476565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6000680238fd42c5cf03ffff1982121580156123c3575068070c1cc73b00c800008213155b6124025760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610629565b600082121561243a576124178260000361239e565b6a0c097ce7bc90715b34b9f160241b8161243357612433613476565b0592915050565b60006806f05b59d3b2000000831261247857506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b6124ae565b6803782dace9d900000083126124aa57506803782dace9d8ffffff19909101906b1425982cf597cd205cef73806124ae565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126124fe5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d631000000841261253a576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261257457682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c40000084126125ae576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126125e757680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126126205768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412612659576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126126925768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6000826001816127cb670de0b6b3a7640000866134cc565b6127d591906134a0565b611a3d919061343f565b6000610401826000196134e3565b600082611a3d670de0b6b3a7640000846134cc565b600061280d82611785565b61282461281f6201518061016d6134cc565b611785565b846080015161283391906134e3565b61283d9190613513565b90506000811361040157604051630e520c3b60e11b815260048101829052602401610629565b60008060008312612875576001612879565b6000195b905061289061281f8561288b86612cdb565b611a28565b61044790826134e3565b6000806128a7868461291b565b9050670de0b6b3a76400008112156128d55760405163329e322960e21b815260048101829052602401610629565b60006128eb6128e4878a613568565b8990612c4a565b905060006128f882612c88565b90506129048187612c4a565b61290e9084613541565b9998505050505050505050565b60008061292d6201518061016d6134cc565b61293784866134cc565b612941919061348c565b9050610447611da782611785565b6000808285602001516129629190613541565b905060006129708585613568565b90506000821380156129825750600081135b6129c35760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a59081c1d151bd3585c9ad95d60721b6044820152606401610629565b60006129f16129d284846134e3565b60208901516129e19089613568565b6129eb90886134e3565b90612c4a565b90506000612a07612a028486612c4a565b612cf2565b8851909150600090612a2290670de0b6b3a764000090612c4a565b9050612a3281611da18486613541565b896040015161290e9190613541565b600080600080612a648860000151886020015189600001518a6040015189611e2b565b90506000612a7a612a758784612c4a565b6127df565b60608901519091506000871315612ae9576000612a978483612c4a565b9050670de0b6b3a7640000811215612ac55760405163329e322960e21b815260048101829052602401610629565b612ae1612ada83670de0b6b3a7640000613541565b8490612c27565b915050612b16565b612b1381612aff81670de0b6b3a7640000613541565b612b0990856134e3565b612a759190613513565b90505b60006064612b278c60e00151611785565b612b3190846134e3565b612b3b9190613513565b90506000612b498385613541565b905060008112612b6257612b5d8a82612d83565b612b6c565b612b6c8a82612db0565b9750612b788a84612d83565b9650612b848a83612d83565b955050505050509450945094915050565b6000818860a00151612ba7919061343f565b8851909150612bb6908661179f565b8852612bd0612bc58486613568565b60208a01519061179f565b602089018190528851612bf591612be8908990612863565b895160408b015185612ddd565b6101008901819052600003612c1d57604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b600080612c3483856134e3565b9050670de0b6b3a7640000815b05949350505050565b600080612c5f670de0b6b3a7640000856134e3565b9050828181612c4157612c41613476565b6000670de0b6b3a76400006001816127cb86866134cc565b6000670de0b6b3a76400008203612cb25760405163a9c8b14d60e01b815260040160405180910390fd5b6000612cd0612cc984670de0b6b3a7640000613541565b8490612c4a565b905061093781612cf2565b600080821361179b57612ced82613590565b610401565b6000808213612d335760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b6044820152606401610629565b670c7d713b49da000082138015612d515750670f43fc2c04ee000082125b15612d7557670de0b6b3a7640000612d6883611edc565b8161243357612433613476565b61040182611ffb565b919050565b60008060008312612d95576001612d99565b6000195b905061289061281f85612dab86612cdb565b6127ed565b60008060008312612dc2576001612dc6565b6000195b905061289061281f85612dd886612cdb565b6127b3565b600080612dee878787876000611e2b565b90506000612dfe611a1783612cf2565b905083612e106201518061016d6134cc565b612e1a90836134cc565b612e24919061348c565b98975050505050505050565b60405180606001604052806000815260200160008152602001600081525090565b6040518060600160405280612e64612e78565b815260200160008152602001600081525090565b60405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b604051606081016001600160401b0381118282101715612efd57634e487b7160e01b600052604160045260246000fd5b60405290565b60405161012081016001600160401b0381118282101715612efd57634e487b7160e01b600052604160045260246000fd5b600060608284031215612f4657600080fd5b612f4e612ecd565b905081358152602082013560208201526040820135604082015292915050565b80356001600160a01b0381168114612d7e57600080fd5b6000818303610160811215612f9957600080fd5b612fa1612ecd565b915061012080821215612fb357600080fd5b612fbb612f03565b9150833582526020840135602083015260408401356040830152612fe160608501612f6e565b60608301526080840135608083015260a084013560a083015260c084013560c083015260e084013560e08301526101008085013581840152508183528084013560208401525050610140820135604082015292915050565b803560068110612d7e57600080fd5b600060a0828403121561305a57600080fd5b60405160a081016001600160401b038111828210171561308a57634e487b7160e01b600052604160045260246000fd5b806040525080915082358152602083013560208201526040830135604082015260608301356060820152608083013560808201525092915050565b60008060008060006102a086880312156130de57600080fd5b6130e88787612f34565b94506130f78760608801612f85565b93506131066101c08701613039565b92506101e0860135915061311e876102008801613048565b90509295509295909350565b803560038110612d7e57600080fd5b60008082840360a081121561314d57600080fd5b6131578585612f34565b92506040605f198201121561316b57600080fd5b50604080519081016001600160401b038111828210171561319c57634e487b7160e01b600052604160045260246000fd5b6040526131ab6060850161312a565b81526131b96080850161312a565b6020820152809150509250929050565b634e487b7160e01b600052602160045260246000fd5b60208101600683106131f3576131f36131c9565b91905290565b600080600080610240858703121561321057600080fd5b61321a8686612f85565b93506132296101608601613039565b92506101808501359150613241866101a08701613048565b905092959194509250565b600060c0828403121561325e57600080fd5b60405160c081016001600160401b038111828210171561328e57634e487b7160e01b600052604160045260246000fd5b8060405250809150823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201525092915050565b600080600061028084860312156132e957600080fd5b6132f38585612f34565b92506133028560608601612f85565b9150613312856101c0860161324c565b90509250925092565b60038110611c3557611c356131c9565b8151604082019061333b8161331b565b8252602083015161334b8161331b565b8060208401525092915050565b6000806000806000806103e0878903121561337257600080fd5b61337c8888612f34565b955061338b8860608901612f85565b945061339b886101c0890161324c565b93506133aa6102808801613039565b92506133ba886102a08901613048565b91506133ca886103408901613048565b90509295509295509295565b828152604081016133e68361331b565b8260208301529392505050565b6000806101c0838503121561340757600080fd5b6134118484612f34565b91506134208460608501612f85565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561040157610401613429565b9283526020830191909152604082015260600190565b918252602082015260400190565b634e487b7160e01b600052601260045260246000fd5b60008261349b5761349b613476565b500490565b8082018082111561040157610401613429565b6000600182016134c5576134c5613429565b5060010190565b808202811582820484141761040157610401613429565b80820260008212600160ff1b841416156134ff576134ff613429565b818105831482151761040157610401613429565b60008261352257613522613476565b600160ff1b82146000198414161561353c5761353c613429565b500590565b818103600083128015838313168383128216171561356157613561613429565b5092915050565b808201828112600083128015821682158216171561358857613588613429565b505092915050565b6000600160ff1b82016135a5576135a5613429565b506000039056fea2646970667358221220ac9ca2b8ff0c6b372d5d03bdc3a20671c07c3a53f062c1972d206973a5bf6cb864736f6c63430008110033";
|
|
1075
|
-
|
|
1076
|
-
type BotDecisionHelperConstructorParams =
|
|
1077
|
-
| [signer?: Signer]
|
|
1078
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
1079
|
-
|
|
1080
|
-
const isSuperArgs = (
|
|
1081
|
-
xs: BotDecisionHelperConstructorParams
|
|
1082
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1083
|
-
|
|
1084
|
-
export class BotDecisionHelper__factory extends ContractFactory {
|
|
1085
|
-
constructor(...args: BotDecisionHelperConstructorParams) {
|
|
1086
|
-
if (isSuperArgs(args)) {
|
|
1087
|
-
super(...args);
|
|
1088
|
-
} else {
|
|
1089
|
-
super(_abi, _bytecode, args[0]);
|
|
1090
|
-
}
|
|
1091
|
-
this.contractName = "BotDecisionHelper";
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
deploy(
|
|
1095
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1096
|
-
): Promise<BotDecisionHelper> {
|
|
1097
|
-
return super.deploy(overrides || {}) as Promise<BotDecisionHelper>;
|
|
1098
|
-
}
|
|
1099
|
-
getDeployTransaction(
|
|
1100
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1101
|
-
): TransactionRequest {
|
|
1102
|
-
return super.getDeployTransaction(overrides || {});
|
|
1103
|
-
}
|
|
1104
|
-
attach(address: string): BotDecisionHelper {
|
|
1105
|
-
return super.attach(address) as BotDecisionHelper;
|
|
1106
|
-
}
|
|
1107
|
-
connect(signer: Signer): BotDecisionHelper__factory {
|
|
1108
|
-
return super.connect(signer) as BotDecisionHelper__factory;
|
|
1109
|
-
}
|
|
1110
|
-
static readonly contractName: "BotDecisionHelper";
|
|
1111
|
-
public readonly contractName: "BotDecisionHelper";
|
|
1112
|
-
static readonly bytecode = _bytecode;
|
|
1113
|
-
static readonly abi = _abi;
|
|
1114
|
-
static createInterface(): BotDecisionHelperInterface {
|
|
1115
|
-
return new utils.Interface(_abi) as BotDecisionHelperInterface;
|
|
1116
|
-
}
|
|
1117
|
-
static connect(
|
|
1118
|
-
address: string,
|
|
1119
|
-
signerOrProvider: Signer | Provider
|
|
1120
|
-
): BotDecisionHelper {
|
|
1121
|
-
return new Contract(address, _abi, signerOrProvider) as BotDecisionHelper;
|
|
1122
|
-
}
|
|
1123
|
-
}
|