@pendle/core-v2 4.2.4 → 4.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/PendleLinearDistributor.sol/PendleLinearDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseUpg.sol/SYBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.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/StEthNativeLib.sol/StETHNativeLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/AaveAdapterLib.sol/AaveAdapterLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.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/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.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/BedRock/PendleUniETHSY.sol/PendleUniETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.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/GMTokenPricingHelper.sol/GMTokenPricingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2DataStore.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Oracle.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Reader.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.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 +9 -28
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/HLPPricingHelper.sol/HLPPricingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol/KyberMathHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberNftManagerBaseUpg.sol/KyberNftManagerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/FullMath.sol/FullMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiqDeltaMath.sol/LiqDeltaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiquidityMath.sol/LiquidityMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/MathConstants.sol/MathConstants.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QtyDeltaMath.sol/QtyDeltaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QuadMath.sol/QuadMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/ReinvestmentMath.sol/ReinvestmentMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SafeCast.sol/SafeCast.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SwapMath.sol/SwapMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/TickMath.sol/TickMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/MlpPricingHelper.sol/MlpPricingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SY.sol/PendleERC20SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol/PendleRenzoPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeEzETHSY.sol/PendleZtakeEzETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWeETHSY.sol/PendleZtakeWeETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.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/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3AToken.sol/IAaveV3AToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3Pool.sol/IAaveV3Pool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.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/Balancer/IVersion.sol/IVersion.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Bedrock/IBedrockStaking.sol/IBedrockStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Connext/IConnext.sol/IConnext.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/EtherFi/IEtherFiLiquidityPool.sol/IEtherFiLiquidityPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/EtherFi/IEtherFiWEEth.sol/IEtherFiWEEth.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXPriceHelper.sol/IGMXPriceHelper.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/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.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/IDailLikePermit.sol/IDaiLikePermit.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/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.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/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.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/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.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/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLinearDistributor.sol/IPLinearDistributor.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/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.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/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPreviewHelper.sol/IPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.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/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/IRedstonePriceFeed.sol/IRedstonePriceFeed.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/KelpDAO/IKelpDepositPool.sol/IKelpDepositPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpLRTConfig.sol/IKelpLRTConfig.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticFactory.sol/IKyberElasticFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticPool.sol/IKyberElasticPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticRouter.sol/IKyberElasticRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberLiquidityMining.sol/IKyberLiquidityMining.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberMathHelper.sol/IKyberMathHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberPositionManager.sol/IKyberPositionManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/MUX/IMUXRewardRouter.sol/IMUXRewardRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/PirexETH/IPirexETH.sol/IPirexETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoDepositL2.sol/IRenzoDepositL2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoOracle.sol/IRenzoOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoRestakeManager.sol/IRenzoRestakeManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Silo/ISilo.sol/ISilo.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Silo/ISiloIncentiveController.sol/ISiloIncentiveController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Silo/ISiloLens.sol/ISiloLens.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Stader/IStaderStakeManager.sol/IStaderStakeManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Swell/IRswETH.sol/IRswETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Swell/ISwETH.sol/ISwETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Zircuit/IZircuitZtaking.sol/IZircuitZtaking.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +49 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +7 -5
- package/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol +9 -13
- package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +3 -0
- package/deployments/1-markets/AAVE-USDT-SEP2024.json +6 -6
- package/deployments/1-markets/ZIRCUIT-EZETH-JUNE2024.json +11 -0
- package/deployments/42161-markets/AAVE-USDC-JUNE2024-NEW.json +11 -0
- package/deployments/42161-markets/GDAI-SEP2024.json +11 -0
- package/deployments/42161-markets/GLP-SEP2024.json +11 -0
- package/package.json +1 -1
- package/typechain-types/ActionInfoStaticLe1.ts +310 -0
- package/typechain-types/ActionMarketAuxStaticLe1.ts +503 -0
- package/typechain-types/ActionMarketCoreStaticLe1.ts +1951 -0
- package/typechain-types/ActionMintRedeemStaticLe1.ts +527 -0
- package/typechain-types/ActionStorageStaticLe1.ts +405 -0
- package/typechain-types/{IPMorphoVaultSY.ts → ActionVePendleStaticLe1.ts} +36 -38
- package/typechain-types/ILimitOrderCallee.ts +179 -0
- package/typechain-types/IPActionInfoStaticLe1.ts +310 -0
- package/typechain-types/IPActionMarketAuxStaticLe1.ts +503 -0
- package/typechain-types/IPActionMarketCoreStaticLe1.ts +1951 -0
- package/typechain-types/IPActionMintRedeemStaticLe1.ts +527 -0
- package/typechain-types/{ChainlinkRelayerAutomation.ts → IPActionStorageStaticLe1.ts} +125 -102
- package/typechain-types/{IEigenpieStaking.ts → IPActionVePendleStaticLe1.ts} +36 -43
- package/typechain-types/{AutomationCompatible.ts → IPMiniDiamondLe1.ts} +48 -41
- package/typechain-types/IPOrderMixin.ts +349 -0
- package/typechain-types/IPRouterStaticLe1.ts +3462 -0
- package/typechain-types/PendleGlpSY.ts +24 -0
- package/typechain-types/PendleOrderMixin.ts +888 -0
- package/typechain-types/{AutomationBase.ts → PendleRouterStaticLe1.ts} +5 -5
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStaticLe1__factory.ts +360 -0
- package/typechain-types/factories/ActionMarketAuxStaticLe1__factory.ts +466 -0
- package/typechain-types/factories/ActionMarketCoreStaticLe1__factory.ts +1454 -0
- package/typechain-types/factories/ActionMintRedeemStaticLe1__factory.ts +405 -0
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStaticLe1__factory.ts +285 -0
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStaticLe1__factory.ts +155 -0
- package/typechain-types/factories/BulkSellerFactory__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/ChainlinkRelayerGelato__factory.ts +1 -1
- package/typechain-types/factories/ILimitOrderCallee__factory.ts +92 -0
- package/typechain-types/factories/IPActionInfoStaticLe1__factory.ts +326 -0
- package/typechain-types/factories/IPActionMarketAuxStaticLe1__factory.ts +364 -0
- package/typechain-types/factories/IPActionMarketCoreStaticLe1__factory.ts +1279 -0
- package/typechain-types/factories/IPActionMintRedeemStaticLe1__factory.ts +330 -0
- package/typechain-types/factories/IPActionStorageStaticLe1__factory.ts +203 -0
- package/typechain-types/factories/IPActionVePendleStaticLe1__factory.ts +59 -0
- package/typechain-types/factories/IPMiniDiamondLe1__factory.ts +70 -0
- package/typechain-types/factories/IPOrderMixin__factory.ts +450 -0
- package/typechain-types/factories/IPRouterStaticLe1__factory.ts +2451 -0
- package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +8 -35
- package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleOrderMixin__factory.ts +794 -0
- package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterHelper2__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStaticLe1__factory.ts +92 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +48 -1
- package/typechain-types/hardhat.d.ts +9 -54
- package/typechain-types/index.ts +4 -12
- package/deployments/core.ts +0 -29
- package/deployments/index.ts +0 -4
- package/deployments/markets/ape-june-29-2023.ts +0 -3
- package/deployments/markets/balancer-reth-dec-28-2023.ts +0 -3
- package/deployments/markets/balancer-wsteth-jun-27-2024.ts +0 -3
- package/deployments/markets/curve-fraxusdc-march-30-2023.ts +0 -3
- package/deployments/markets/index.ts +0 -17
- package/deployments/markets/looks-march-30-2023.ts +0 -3
- package/deployments/markets/steth-june-29-2023.ts +0 -3
- package/deployments/markets/steth-march-30-2023.ts +0 -3
- package/deployments/markets/types.ts +0 -9
- package/deployments/misc.ts +0 -23
- package/typechain-types/AlgebraMathHelper.ts +0 -442
- package/typechain-types/AutomationCompatibleInterface.ts +0 -141
- package/typechain-types/BotDecisionHelperBase.ts +0 -508
- package/typechain-types/IAlgebraPool.ts +0 -171
- package/typechain-types/IBotDecisionHelper.ts +0 -476
- package/typechain-types/IEigenpieLRT.ts +0 -106
- package/typechain-types/IHashflow.ts +0 -159
- package/typechain-types/IInterestUSTP.ts +0 -156
- package/typechain-types/ILongYieldDecisionHelper.ts +0 -512
- package/typechain-types/ILongYieldTradingBot.ts +0 -703
- package/typechain-types/IPMorphoRewardDistributor.ts +0 -218
- package/typechain-types/IPPausingInterface.ts +0 -112
- package/typechain-types/IPVirtualGovernance.ts +0 -142
- package/typechain-types/IPWrappedStellaToken.ts +0 -135
- package/typechain-types/IRebasingUSTP.ts +0 -133
- package/typechain-types/IShortYieldDecisionHelper.ts +0 -476
- package/typechain-types/IShortYieldTradingBot.ts +0 -574
- package/typechain-types/IStellaLendingPool.ts +0 -100
- package/typechain-types/IStellaLendingProxy.ts +0 -144
- package/typechain-types/ITradingBotBase.ts +0 -373
- package/typechain-types/IUSTP.ts +0 -127
- package/typechain-types/IVectorStakedVETH.ts +0 -137
- package/typechain-types/KyberNftManagerBase.ts +0 -364
- package/typechain-types/LongYieldActionLib.ts +0 -57
- package/typechain-types/LongYieldDecisionHelper.ts +0 -682
- package/typechain-types/LongYieldTradingBot.ts +0 -2299
- package/typechain-types/MarketExtLib.ts +0 -81
- package/typechain-types/PendleEigenpieLRTSY.ts +0 -1326
- package/typechain-types/PendleEigenpieMstETHSY.ts +0 -1326
- package/typechain-types/PendleGaugeControllerSidechain2MF.ts +0 -690
- package/typechain-types/PendleHyperStellaETH.ts +0 -1248
- package/typechain-types/PendleIUSTPSY.ts +0 -1255
- package/typechain-types/PendleKyberElasticSY.ts +0 -1803
- package/typechain-types/PendleMorphoRewardDistributor.ts +0 -579
- package/typechain-types/PendleMorphoVaultSY.ts +0 -1344
- package/typechain-types/PendleStUSDESY.ts +0 -1281
- package/typechain-types/PendleStellaHyperETH.ts +0 -1235
- package/typechain-types/PendleVectorStakedVETHSY.ts +0 -1290
- package/typechain-types/PendleVirtualGovernance.ts +0 -603
- package/typechain-types/PendleWrappedStellaToken.ts +0 -577
- package/typechain-types/SYBaseWithDecimals.ts +0 -1205
- package/typechain-types/TradingBotBase.ts +0 -1861
- package/typechain-types/TvlLib.ts +0 -215
- package/typechain-types/factories/AlgebraMathHelper__factory.ts +0 -316
- package/typechain-types/factories/AutomationBase__factory.ts +0 -69
- package/typechain-types/factories/AutomationCompatibleInterface__factory.ts +0 -67
- package/typechain-types/factories/AutomationCompatible__factory.ts +0 -72
- package/typechain-types/factories/BotDecisionHelperBase__factory.ts +0 -835
- package/typechain-types/factories/ChainlinkRelayerAutomation__factory.ts +0 -238
- package/typechain-types/factories/IAlgebraPool__factory.ts +0 -119
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +0 -694
- package/typechain-types/factories/IEigenpieLRT__factory.ts +0 -49
- package/typechain-types/factories/IEigenpieStaking__factory.ts +0 -54
- package/typechain-types/factories/IHashflow__factory.ts +0 -113
- package/typechain-types/factories/IInterestUSTP__factory.ts +0 -75
- package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +0 -717
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +0 -764
- package/typechain-types/factories/IPMorphoRewardDistributor__factory.ts +0 -159
- package/typechain-types/factories/IPMorphoVaultSY__factory.ts +0 -49
- package/typechain-types/factories/IPPausingInterface__factory.ts +0 -40
- package/typechain-types/factories/IPVirtualGovernance__factory.ts +0 -69
- package/typechain-types/factories/IPWrappedStellaToken__factory.ts +0 -73
- package/typechain-types/factories/IRebasingUSTP__factory.ts +0 -49
- package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +0 -698
- package/typechain-types/factories/IShortYieldTradingBot__factory.ts +0 -813
- package/typechain-types/factories/IStellaLendingPool__factory.ts +0 -52
- package/typechain-types/factories/IStellaLendingProxy__factory.ts +0 -74
- package/typechain-types/factories/ITradingBotBase__factory.ts +0 -366
- package/typechain-types/factories/IUSTP__factory.ts +0 -46
- package/typechain-types/factories/IVectorStakedVETH__factory.ts +0 -65
- package/typechain-types/factories/KyberNftManagerBase__factory.ts +0 -279
- package/typechain-types/factories/LongYieldActionLib__factory.ts +0 -207
- package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +0 -1481
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +0 -2159
- package/typechain-types/factories/MarketExtLib__factory.ts +0 -74
- package/typechain-types/factories/PendleEigenpieLRTSY__factory.ts +0 -1059
- package/typechain-types/factories/PendleEigenpieMstETHSY__factory.ts +0 -1125
- package/typechain-types/factories/PendleGaugeControllerSidechain2MF__factory.ts +0 -547
- package/typechain-types/factories/PendleHyperStellaETH__factory.ts +0 -1060
- package/typechain-types/factories/PendleIUSTPSY__factory.ts +0 -1061
- package/typechain-types/factories/PendleKyberElasticSY__factory.ts +0 -1505
- package/typechain-types/factories/PendleMorphoRewardDistributor__factory.ts +0 -441
- package/typechain-types/factories/PendleMorphoVaultSY__factory.ts +0 -1140
- package/typechain-types/factories/PendleStUSDESY__factory.ts +0 -1071
- package/typechain-types/factories/PendleStellaHyperETH__factory.ts +0 -1034
- package/typechain-types/factories/PendleVectorStakedVETHSY__factory.ts +0 -1091
- package/typechain-types/factories/PendleVirtualGovernance__factory.ts +0 -452
- package/typechain-types/factories/PendleWrappedStellaToken__factory.ts +0 -522
- package/typechain-types/factories/SYBaseWithDecimals__factory.ts +0 -942
- package/typechain-types/factories/TradingBotBase__factory.ts +0 -1663
- package/typechain-types/factories/TvlLib__factory.ts +0 -309
|
@@ -1,1481 +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
|
-
LongYieldDecisionHelper,
|
|
8
|
-
LongYieldDecisionHelperInterface,
|
|
9
|
-
} from "../LongYieldDecisionHelper";
|
|
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
|
-
internalType: "uint256",
|
|
57
|
-
name: "guessMax",
|
|
58
|
-
type: "uint256",
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
name: "BotBinarySearchInvalidRange",
|
|
62
|
-
type: "error",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
inputs: [
|
|
66
|
-
{
|
|
67
|
-
internalType: "int256",
|
|
68
|
-
name: "exchangeRate",
|
|
69
|
-
type: "int256",
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
name: "MarketExchangeRateBelowOne",
|
|
73
|
-
type: "error",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
inputs: [],
|
|
77
|
-
name: "MarketExpired",
|
|
78
|
-
type: "error",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
inputs: [
|
|
82
|
-
{
|
|
83
|
-
internalType: "int256",
|
|
84
|
-
name: "currentAmount",
|
|
85
|
-
type: "int256",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
internalType: "int256",
|
|
89
|
-
name: "requiredAmount",
|
|
90
|
-
type: "int256",
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
name: "MarketInsufficientPtForTrade",
|
|
94
|
-
type: "error",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
inputs: [],
|
|
98
|
-
name: "MarketProportionMustNotEqualOne",
|
|
99
|
-
type: "error",
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
inputs: [
|
|
103
|
-
{
|
|
104
|
-
internalType: "int256",
|
|
105
|
-
name: "proportion",
|
|
106
|
-
type: "int256",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
internalType: "int256",
|
|
110
|
-
name: "maxProportion",
|
|
111
|
-
type: "int256",
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
name: "MarketProportionTooHigh",
|
|
115
|
-
type: "error",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
inputs: [
|
|
119
|
-
{
|
|
120
|
-
internalType: "int256",
|
|
121
|
-
name: "rateScalar",
|
|
122
|
-
type: "int256",
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
name: "MarketRateScalarBelowZero",
|
|
126
|
-
type: "error",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
inputs: [],
|
|
130
|
-
name: "MarketZeroAmountsInput",
|
|
131
|
-
type: "error",
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
inputs: [],
|
|
135
|
-
name: "MarketZeroAmountsOutput",
|
|
136
|
-
type: "error",
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
inputs: [],
|
|
140
|
-
name: "MarketZeroLnImpliedRate",
|
|
141
|
-
type: "error",
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
inputs: [
|
|
145
|
-
{
|
|
146
|
-
internalType: "int256",
|
|
147
|
-
name: "totalPt",
|
|
148
|
-
type: "int256",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
internalType: "int256",
|
|
152
|
-
name: "totalAsset",
|
|
153
|
-
type: "int256",
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
name: "MarketZeroTotalPtOrTotalAsset",
|
|
157
|
-
type: "error",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
inputs: [],
|
|
161
|
-
name: "DUST_AMOUNT",
|
|
162
|
-
outputs: [
|
|
163
|
-
{
|
|
164
|
-
internalType: "uint256",
|
|
165
|
-
name: "",
|
|
166
|
-
type: "uint256",
|
|
167
|
-
},
|
|
168
|
-
],
|
|
169
|
-
stateMutability: "view",
|
|
170
|
-
type: "function",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
inputs: [],
|
|
174
|
-
name: "INF",
|
|
175
|
-
outputs: [
|
|
176
|
-
{
|
|
177
|
-
internalType: "uint256",
|
|
178
|
-
name: "",
|
|
179
|
-
type: "uint256",
|
|
180
|
-
},
|
|
181
|
-
],
|
|
182
|
-
stateMutability: "view",
|
|
183
|
-
type: "function",
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
inputs: [],
|
|
187
|
-
name: "MINIMAL_EPS",
|
|
188
|
-
outputs: [
|
|
189
|
-
{
|
|
190
|
-
internalType: "uint256",
|
|
191
|
-
name: "",
|
|
192
|
-
type: "uint256",
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
stateMutability: "view",
|
|
196
|
-
type: "function",
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
inputs: [
|
|
200
|
-
{
|
|
201
|
-
components: [
|
|
202
|
-
{
|
|
203
|
-
components: [
|
|
204
|
-
{
|
|
205
|
-
internalType: "int256",
|
|
206
|
-
name: "totalPt",
|
|
207
|
-
type: "int256",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
internalType: "int256",
|
|
211
|
-
name: "totalSy",
|
|
212
|
-
type: "int256",
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
internalType: "int256",
|
|
216
|
-
name: "totalLp",
|
|
217
|
-
type: "int256",
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
internalType: "address",
|
|
221
|
-
name: "treasury",
|
|
222
|
-
type: "address",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
internalType: "int256",
|
|
226
|
-
name: "scalarRoot",
|
|
227
|
-
type: "int256",
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
internalType: "uint256",
|
|
231
|
-
name: "expiry",
|
|
232
|
-
type: "uint256",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
internalType: "uint256",
|
|
236
|
-
name: "lnFeeRateRoot",
|
|
237
|
-
type: "uint256",
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
internalType: "uint256",
|
|
241
|
-
name: "reserveFeePercent",
|
|
242
|
-
type: "uint256",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
internalType: "uint256",
|
|
246
|
-
name: "lastLnImpliedRate",
|
|
247
|
-
type: "uint256",
|
|
248
|
-
},
|
|
249
|
-
],
|
|
250
|
-
internalType: "struct MarketState",
|
|
251
|
-
name: "state",
|
|
252
|
-
type: "tuple",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
internalType: "PYIndex",
|
|
256
|
-
name: "index",
|
|
257
|
-
type: "uint256",
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
internalType: "uint256",
|
|
261
|
-
name: "blockTime",
|
|
262
|
-
type: "uint256",
|
|
263
|
-
},
|
|
264
|
-
],
|
|
265
|
-
internalType: "struct MarketExtState",
|
|
266
|
-
name: "marketExt",
|
|
267
|
-
type: "tuple",
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
internalType: "enum TradeActionType",
|
|
271
|
-
name: "action",
|
|
272
|
-
type: "uint8",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
internalType: "uint256",
|
|
276
|
-
name: "botParam",
|
|
277
|
-
type: "uint256",
|
|
278
|
-
},
|
|
279
|
-
],
|
|
280
|
-
name: "_calcTradeActionAmountOutAndIntParams",
|
|
281
|
-
outputs: [
|
|
282
|
-
{
|
|
283
|
-
internalType: "uint256",
|
|
284
|
-
name: "amountOut",
|
|
285
|
-
type: "uint256",
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
internalType: "uint256",
|
|
289
|
-
name: "intParams",
|
|
290
|
-
type: "uint256",
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
stateMutability: "pure",
|
|
294
|
-
type: "function",
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
inputs: [
|
|
298
|
-
{
|
|
299
|
-
internalType: "address",
|
|
300
|
-
name: "botAddress",
|
|
301
|
-
type: "address",
|
|
302
|
-
},
|
|
303
|
-
],
|
|
304
|
-
name: "getBotPosition",
|
|
305
|
-
outputs: [
|
|
306
|
-
{
|
|
307
|
-
components: [
|
|
308
|
-
{
|
|
309
|
-
components: [
|
|
310
|
-
{
|
|
311
|
-
internalType: "uint256",
|
|
312
|
-
name: "lpBalance",
|
|
313
|
-
type: "uint256",
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
internalType: "uint256",
|
|
317
|
-
name: "ytBalance",
|
|
318
|
-
type: "uint256",
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
internalType: "uint256",
|
|
322
|
-
name: "ptBalance",
|
|
323
|
-
type: "uint256",
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
internalType: "uint256",
|
|
327
|
-
name: "syBalance",
|
|
328
|
-
type: "uint256",
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
internalType: "uint256",
|
|
332
|
-
name: "buyBins",
|
|
333
|
-
type: "uint256",
|
|
334
|
-
},
|
|
335
|
-
],
|
|
336
|
-
internalType: "struct BotState",
|
|
337
|
-
name: "botState",
|
|
338
|
-
type: "tuple",
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
components: [
|
|
342
|
-
{
|
|
343
|
-
components: [
|
|
344
|
-
{
|
|
345
|
-
internalType: "int256",
|
|
346
|
-
name: "totalPt",
|
|
347
|
-
type: "int256",
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
internalType: "int256",
|
|
351
|
-
name: "totalSy",
|
|
352
|
-
type: "int256",
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
internalType: "int256",
|
|
356
|
-
name: "totalLp",
|
|
357
|
-
type: "int256",
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
internalType: "address",
|
|
361
|
-
name: "treasury",
|
|
362
|
-
type: "address",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
internalType: "int256",
|
|
366
|
-
name: "scalarRoot",
|
|
367
|
-
type: "int256",
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
internalType: "uint256",
|
|
371
|
-
name: "expiry",
|
|
372
|
-
type: "uint256",
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
internalType: "uint256",
|
|
376
|
-
name: "lnFeeRateRoot",
|
|
377
|
-
type: "uint256",
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
internalType: "uint256",
|
|
381
|
-
name: "reserveFeePercent",
|
|
382
|
-
type: "uint256",
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
internalType: "uint256",
|
|
386
|
-
name: "lastLnImpliedRate",
|
|
387
|
-
type: "uint256",
|
|
388
|
-
},
|
|
389
|
-
],
|
|
390
|
-
internalType: "struct MarketState",
|
|
391
|
-
name: "state",
|
|
392
|
-
type: "tuple",
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
internalType: "PYIndex",
|
|
396
|
-
name: "index",
|
|
397
|
-
type: "uint256",
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
internalType: "uint256",
|
|
401
|
-
name: "blockTime",
|
|
402
|
-
type: "uint256",
|
|
403
|
-
},
|
|
404
|
-
],
|
|
405
|
-
internalType: "struct MarketExtState",
|
|
406
|
-
name: "marketExt",
|
|
407
|
-
type: "tuple",
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
components: [
|
|
411
|
-
{
|
|
412
|
-
internalType: "uint256",
|
|
413
|
-
name: "buyYtIy",
|
|
414
|
-
type: "uint256",
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
internalType: "uint256",
|
|
418
|
-
name: "sellYtIy",
|
|
419
|
-
type: "uint256",
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
internalType: "uint256",
|
|
423
|
-
name: "targetSyRatio",
|
|
424
|
-
type: "uint256",
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
internalType: "uint256",
|
|
428
|
-
name: "bufferSyRatio",
|
|
429
|
-
type: "uint256",
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
internalType: "uint256",
|
|
433
|
-
name: "minYtPtRatio",
|
|
434
|
-
type: "uint256",
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
internalType: "uint256",
|
|
438
|
-
name: "numOfBins",
|
|
439
|
-
type: "uint256",
|
|
440
|
-
},
|
|
441
|
-
],
|
|
442
|
-
internalType: "struct TradingSpecs",
|
|
443
|
-
name: "specs",
|
|
444
|
-
type: "tuple",
|
|
445
|
-
},
|
|
446
|
-
],
|
|
447
|
-
internalType: "struct StrategyData",
|
|
448
|
-
name: "strategyData",
|
|
449
|
-
type: "tuple",
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
internalType: "uint256",
|
|
453
|
-
name: "tvlInSy",
|
|
454
|
-
type: "uint256",
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
internalType: "uint256",
|
|
458
|
-
name: "iy",
|
|
459
|
-
type: "uint256",
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
internalType: "uint256",
|
|
463
|
-
name: "floatingSyRatio",
|
|
464
|
-
type: "uint256",
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
internalType: "uint256",
|
|
468
|
-
name: "currentYtPtRatio",
|
|
469
|
-
type: "uint256",
|
|
470
|
-
},
|
|
471
|
-
],
|
|
472
|
-
stateMutability: "view",
|
|
473
|
-
type: "function",
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
inputs: [
|
|
477
|
-
{
|
|
478
|
-
components: [
|
|
479
|
-
{
|
|
480
|
-
components: [
|
|
481
|
-
{
|
|
482
|
-
internalType: "uint256",
|
|
483
|
-
name: "lpBalance",
|
|
484
|
-
type: "uint256",
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
internalType: "uint256",
|
|
488
|
-
name: "ytBalance",
|
|
489
|
-
type: "uint256",
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
internalType: "uint256",
|
|
493
|
-
name: "ptBalance",
|
|
494
|
-
type: "uint256",
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
internalType: "uint256",
|
|
498
|
-
name: "syBalance",
|
|
499
|
-
type: "uint256",
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
internalType: "uint256",
|
|
503
|
-
name: "buyBins",
|
|
504
|
-
type: "uint256",
|
|
505
|
-
},
|
|
506
|
-
],
|
|
507
|
-
internalType: "struct BotState",
|
|
508
|
-
name: "botState",
|
|
509
|
-
type: "tuple",
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
components: [
|
|
513
|
-
{
|
|
514
|
-
components: [
|
|
515
|
-
{
|
|
516
|
-
internalType: "int256",
|
|
517
|
-
name: "totalPt",
|
|
518
|
-
type: "int256",
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
internalType: "int256",
|
|
522
|
-
name: "totalSy",
|
|
523
|
-
type: "int256",
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
internalType: "int256",
|
|
527
|
-
name: "totalLp",
|
|
528
|
-
type: "int256",
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
internalType: "address",
|
|
532
|
-
name: "treasury",
|
|
533
|
-
type: "address",
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
internalType: "int256",
|
|
537
|
-
name: "scalarRoot",
|
|
538
|
-
type: "int256",
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
internalType: "uint256",
|
|
542
|
-
name: "expiry",
|
|
543
|
-
type: "uint256",
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
internalType: "uint256",
|
|
547
|
-
name: "lnFeeRateRoot",
|
|
548
|
-
type: "uint256",
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
internalType: "uint256",
|
|
552
|
-
name: "reserveFeePercent",
|
|
553
|
-
type: "uint256",
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
internalType: "uint256",
|
|
557
|
-
name: "lastLnImpliedRate",
|
|
558
|
-
type: "uint256",
|
|
559
|
-
},
|
|
560
|
-
],
|
|
561
|
-
internalType: "struct MarketState",
|
|
562
|
-
name: "state",
|
|
563
|
-
type: "tuple",
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
internalType: "PYIndex",
|
|
567
|
-
name: "index",
|
|
568
|
-
type: "uint256",
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
internalType: "uint256",
|
|
572
|
-
name: "blockTime",
|
|
573
|
-
type: "uint256",
|
|
574
|
-
},
|
|
575
|
-
],
|
|
576
|
-
internalType: "struct MarketExtState",
|
|
577
|
-
name: "marketExt",
|
|
578
|
-
type: "tuple",
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
components: [
|
|
582
|
-
{
|
|
583
|
-
internalType: "uint256",
|
|
584
|
-
name: "buyYtIy",
|
|
585
|
-
type: "uint256",
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
internalType: "uint256",
|
|
589
|
-
name: "sellYtIy",
|
|
590
|
-
type: "uint256",
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
internalType: "uint256",
|
|
594
|
-
name: "targetSyRatio",
|
|
595
|
-
type: "uint256",
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
internalType: "uint256",
|
|
599
|
-
name: "bufferSyRatio",
|
|
600
|
-
type: "uint256",
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
internalType: "uint256",
|
|
604
|
-
name: "minYtPtRatio",
|
|
605
|
-
type: "uint256",
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
internalType: "uint256",
|
|
609
|
-
name: "numOfBins",
|
|
610
|
-
type: "uint256",
|
|
611
|
-
},
|
|
612
|
-
],
|
|
613
|
-
internalType: "struct TradingSpecs",
|
|
614
|
-
name: "specs",
|
|
615
|
-
type: "tuple",
|
|
616
|
-
},
|
|
617
|
-
],
|
|
618
|
-
internalType: "struct StrategyData",
|
|
619
|
-
name: "strategyData",
|
|
620
|
-
type: "tuple",
|
|
621
|
-
},
|
|
622
|
-
],
|
|
623
|
-
name: "getCurrentBin",
|
|
624
|
-
outputs: [
|
|
625
|
-
{
|
|
626
|
-
internalType: "int256",
|
|
627
|
-
name: "",
|
|
628
|
-
type: "int256",
|
|
629
|
-
},
|
|
630
|
-
],
|
|
631
|
-
stateMutability: "pure",
|
|
632
|
-
type: "function",
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
inputs: [
|
|
636
|
-
{
|
|
637
|
-
internalType: "address",
|
|
638
|
-
name: "botAddress",
|
|
639
|
-
type: "address",
|
|
640
|
-
},
|
|
641
|
-
],
|
|
642
|
-
name: "getRebalanceAction",
|
|
643
|
-
outputs: [
|
|
644
|
-
{
|
|
645
|
-
components: [
|
|
646
|
-
{
|
|
647
|
-
internalType: "enum RebalanceType",
|
|
648
|
-
name: "rebalanceType",
|
|
649
|
-
type: "uint8",
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
internalType: "uint256",
|
|
653
|
-
name: "amountIn",
|
|
654
|
-
type: "uint256",
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
internalType: "uint256",
|
|
658
|
-
name: "amountOut",
|
|
659
|
-
type: "uint256",
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
internalType: "uint256",
|
|
663
|
-
name: "amountOut2",
|
|
664
|
-
type: "uint256",
|
|
665
|
-
},
|
|
666
|
-
],
|
|
667
|
-
internalType: "struct IBotDecisionHelper.RebalanceOutput",
|
|
668
|
-
name: "output",
|
|
669
|
-
type: "tuple",
|
|
670
|
-
},
|
|
671
|
-
],
|
|
672
|
-
stateMutability: "view",
|
|
673
|
-
type: "function",
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
inputs: [
|
|
677
|
-
{
|
|
678
|
-
internalType: "address",
|
|
679
|
-
name: "botAddress",
|
|
680
|
-
type: "address",
|
|
681
|
-
},
|
|
682
|
-
],
|
|
683
|
-
name: "getTradeAction",
|
|
684
|
-
outputs: [
|
|
685
|
-
{
|
|
686
|
-
components: [
|
|
687
|
-
{
|
|
688
|
-
internalType: "enum TradeActionType",
|
|
689
|
-
name: "action",
|
|
690
|
-
type: "uint8",
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
internalType: "int256",
|
|
694
|
-
name: "currentBin",
|
|
695
|
-
type: "int256",
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
internalType: "uint256",
|
|
699
|
-
name: "targetIy",
|
|
700
|
-
type: "uint256",
|
|
701
|
-
},
|
|
702
|
-
{
|
|
703
|
-
internalType: "uint256",
|
|
704
|
-
name: "guessBotParams",
|
|
705
|
-
type: "uint256",
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
internalType: "uint256",
|
|
709
|
-
name: "guessIntParams",
|
|
710
|
-
type: "uint256",
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
internalType: "uint256",
|
|
714
|
-
name: "amountOut",
|
|
715
|
-
type: "uint256",
|
|
716
|
-
},
|
|
717
|
-
],
|
|
718
|
-
internalType: "struct IBotDecisionHelper.TradeResult",
|
|
719
|
-
name: "res",
|
|
720
|
-
type: "tuple",
|
|
721
|
-
},
|
|
722
|
-
],
|
|
723
|
-
stateMutability: "view",
|
|
724
|
-
type: "function",
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
inputs: [
|
|
728
|
-
{
|
|
729
|
-
components: [
|
|
730
|
-
{
|
|
731
|
-
components: [
|
|
732
|
-
{
|
|
733
|
-
internalType: "uint256",
|
|
734
|
-
name: "lpBalance",
|
|
735
|
-
type: "uint256",
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
internalType: "uint256",
|
|
739
|
-
name: "ytBalance",
|
|
740
|
-
type: "uint256",
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
internalType: "uint256",
|
|
744
|
-
name: "ptBalance",
|
|
745
|
-
type: "uint256",
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
internalType: "uint256",
|
|
749
|
-
name: "syBalance",
|
|
750
|
-
type: "uint256",
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
internalType: "uint256",
|
|
754
|
-
name: "buyBins",
|
|
755
|
-
type: "uint256",
|
|
756
|
-
},
|
|
757
|
-
],
|
|
758
|
-
internalType: "struct BotState",
|
|
759
|
-
name: "botState",
|
|
760
|
-
type: "tuple",
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
components: [
|
|
764
|
-
{
|
|
765
|
-
components: [
|
|
766
|
-
{
|
|
767
|
-
internalType: "int256",
|
|
768
|
-
name: "totalPt",
|
|
769
|
-
type: "int256",
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
internalType: "int256",
|
|
773
|
-
name: "totalSy",
|
|
774
|
-
type: "int256",
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
internalType: "int256",
|
|
778
|
-
name: "totalLp",
|
|
779
|
-
type: "int256",
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
internalType: "address",
|
|
783
|
-
name: "treasury",
|
|
784
|
-
type: "address",
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
internalType: "int256",
|
|
788
|
-
name: "scalarRoot",
|
|
789
|
-
type: "int256",
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
internalType: "uint256",
|
|
793
|
-
name: "expiry",
|
|
794
|
-
type: "uint256",
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
internalType: "uint256",
|
|
798
|
-
name: "lnFeeRateRoot",
|
|
799
|
-
type: "uint256",
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
internalType: "uint256",
|
|
803
|
-
name: "reserveFeePercent",
|
|
804
|
-
type: "uint256",
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
internalType: "uint256",
|
|
808
|
-
name: "lastLnImpliedRate",
|
|
809
|
-
type: "uint256",
|
|
810
|
-
},
|
|
811
|
-
],
|
|
812
|
-
internalType: "struct MarketState",
|
|
813
|
-
name: "state",
|
|
814
|
-
type: "tuple",
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
internalType: "PYIndex",
|
|
818
|
-
name: "index",
|
|
819
|
-
type: "uint256",
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
internalType: "uint256",
|
|
823
|
-
name: "blockTime",
|
|
824
|
-
type: "uint256",
|
|
825
|
-
},
|
|
826
|
-
],
|
|
827
|
-
internalType: "struct MarketExtState",
|
|
828
|
-
name: "marketExt",
|
|
829
|
-
type: "tuple",
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
components: [
|
|
833
|
-
{
|
|
834
|
-
internalType: "uint256",
|
|
835
|
-
name: "buyYtIy",
|
|
836
|
-
type: "uint256",
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
internalType: "uint256",
|
|
840
|
-
name: "sellYtIy",
|
|
841
|
-
type: "uint256",
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
internalType: "uint256",
|
|
845
|
-
name: "targetSyRatio",
|
|
846
|
-
type: "uint256",
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
internalType: "uint256",
|
|
850
|
-
name: "bufferSyRatio",
|
|
851
|
-
type: "uint256",
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
internalType: "uint256",
|
|
855
|
-
name: "minYtPtRatio",
|
|
856
|
-
type: "uint256",
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
internalType: "uint256",
|
|
860
|
-
name: "numOfBins",
|
|
861
|
-
type: "uint256",
|
|
862
|
-
},
|
|
863
|
-
],
|
|
864
|
-
internalType: "struct TradingSpecs",
|
|
865
|
-
name: "specs",
|
|
866
|
-
type: "tuple",
|
|
867
|
-
},
|
|
868
|
-
],
|
|
869
|
-
internalType: "struct StrategyData",
|
|
870
|
-
name: "strategyData",
|
|
871
|
-
type: "tuple",
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
internalType: "enum TradeActionType",
|
|
875
|
-
name: "action",
|
|
876
|
-
type: "uint8",
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
internalType: "uint256",
|
|
880
|
-
name: "botParam",
|
|
881
|
-
type: "uint256",
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
components: [
|
|
885
|
-
{
|
|
886
|
-
internalType: "uint256",
|
|
887
|
-
name: "guessMin",
|
|
888
|
-
type: "uint256",
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
internalType: "uint256",
|
|
892
|
-
name: "guessMax",
|
|
893
|
-
type: "uint256",
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
internalType: "uint256",
|
|
897
|
-
name: "guessOffchain",
|
|
898
|
-
type: "uint256",
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
internalType: "uint256",
|
|
902
|
-
name: "maxIteration",
|
|
903
|
-
type: "uint256",
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
internalType: "uint256",
|
|
907
|
-
name: "eps",
|
|
908
|
-
type: "uint256",
|
|
909
|
-
},
|
|
910
|
-
],
|
|
911
|
-
internalType: "struct ApproxParams",
|
|
912
|
-
name: "intParams",
|
|
913
|
-
type: "tuple",
|
|
914
|
-
},
|
|
915
|
-
],
|
|
916
|
-
name: "previewAction",
|
|
917
|
-
outputs: [
|
|
918
|
-
{
|
|
919
|
-
internalType: "bool",
|
|
920
|
-
name: "success",
|
|
921
|
-
type: "bool",
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
components: [
|
|
925
|
-
{
|
|
926
|
-
internalType: "uint256",
|
|
927
|
-
name: "lpBalance",
|
|
928
|
-
type: "uint256",
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
internalType: "uint256",
|
|
932
|
-
name: "ytBalance",
|
|
933
|
-
type: "uint256",
|
|
934
|
-
},
|
|
935
|
-
{
|
|
936
|
-
internalType: "uint256",
|
|
937
|
-
name: "ptBalance",
|
|
938
|
-
type: "uint256",
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
internalType: "uint256",
|
|
942
|
-
name: "syBalance",
|
|
943
|
-
type: "uint256",
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
internalType: "uint256",
|
|
947
|
-
name: "buyBins",
|
|
948
|
-
type: "uint256",
|
|
949
|
-
},
|
|
950
|
-
],
|
|
951
|
-
internalType: "struct BotState",
|
|
952
|
-
name: "bot",
|
|
953
|
-
type: "tuple",
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
components: [
|
|
957
|
-
{
|
|
958
|
-
components: [
|
|
959
|
-
{
|
|
960
|
-
internalType: "int256",
|
|
961
|
-
name: "totalPt",
|
|
962
|
-
type: "int256",
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
internalType: "int256",
|
|
966
|
-
name: "totalSy",
|
|
967
|
-
type: "int256",
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
internalType: "int256",
|
|
971
|
-
name: "totalLp",
|
|
972
|
-
type: "int256",
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
internalType: "address",
|
|
976
|
-
name: "treasury",
|
|
977
|
-
type: "address",
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
internalType: "int256",
|
|
981
|
-
name: "scalarRoot",
|
|
982
|
-
type: "int256",
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
internalType: "uint256",
|
|
986
|
-
name: "expiry",
|
|
987
|
-
type: "uint256",
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
internalType: "uint256",
|
|
991
|
-
name: "lnFeeRateRoot",
|
|
992
|
-
type: "uint256",
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
internalType: "uint256",
|
|
996
|
-
name: "reserveFeePercent",
|
|
997
|
-
type: "uint256",
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
internalType: "uint256",
|
|
1001
|
-
name: "lastLnImpliedRate",
|
|
1002
|
-
type: "uint256",
|
|
1003
|
-
},
|
|
1004
|
-
],
|
|
1005
|
-
internalType: "struct MarketState",
|
|
1006
|
-
name: "state",
|
|
1007
|
-
type: "tuple",
|
|
1008
|
-
},
|
|
1009
|
-
{
|
|
1010
|
-
internalType: "PYIndex",
|
|
1011
|
-
name: "index",
|
|
1012
|
-
type: "uint256",
|
|
1013
|
-
},
|
|
1014
|
-
{
|
|
1015
|
-
internalType: "uint256",
|
|
1016
|
-
name: "blockTime",
|
|
1017
|
-
type: "uint256",
|
|
1018
|
-
},
|
|
1019
|
-
],
|
|
1020
|
-
internalType: "struct MarketExtState",
|
|
1021
|
-
name: "marketExt",
|
|
1022
|
-
type: "tuple",
|
|
1023
|
-
},
|
|
1024
|
-
],
|
|
1025
|
-
stateMutability: "pure",
|
|
1026
|
-
type: "function",
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
inputs: [
|
|
1030
|
-
{
|
|
1031
|
-
components: [
|
|
1032
|
-
{
|
|
1033
|
-
components: [
|
|
1034
|
-
{
|
|
1035
|
-
internalType: "uint256",
|
|
1036
|
-
name: "lpBalance",
|
|
1037
|
-
type: "uint256",
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
internalType: "uint256",
|
|
1041
|
-
name: "ytBalance",
|
|
1042
|
-
type: "uint256",
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
internalType: "uint256",
|
|
1046
|
-
name: "ptBalance",
|
|
1047
|
-
type: "uint256",
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
internalType: "uint256",
|
|
1051
|
-
name: "syBalance",
|
|
1052
|
-
type: "uint256",
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
internalType: "uint256",
|
|
1056
|
-
name: "buyBins",
|
|
1057
|
-
type: "uint256",
|
|
1058
|
-
},
|
|
1059
|
-
],
|
|
1060
|
-
internalType: "struct BotState",
|
|
1061
|
-
name: "botState",
|
|
1062
|
-
type: "tuple",
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
components: [
|
|
1066
|
-
{
|
|
1067
|
-
components: [
|
|
1068
|
-
{
|
|
1069
|
-
internalType: "int256",
|
|
1070
|
-
name: "totalPt",
|
|
1071
|
-
type: "int256",
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
internalType: "int256",
|
|
1075
|
-
name: "totalSy",
|
|
1076
|
-
type: "int256",
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
internalType: "int256",
|
|
1080
|
-
name: "totalLp",
|
|
1081
|
-
type: "int256",
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
internalType: "address",
|
|
1085
|
-
name: "treasury",
|
|
1086
|
-
type: "address",
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
internalType: "int256",
|
|
1090
|
-
name: "scalarRoot",
|
|
1091
|
-
type: "int256",
|
|
1092
|
-
},
|
|
1093
|
-
{
|
|
1094
|
-
internalType: "uint256",
|
|
1095
|
-
name: "expiry",
|
|
1096
|
-
type: "uint256",
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
internalType: "uint256",
|
|
1100
|
-
name: "lnFeeRateRoot",
|
|
1101
|
-
type: "uint256",
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
internalType: "uint256",
|
|
1105
|
-
name: "reserveFeePercent",
|
|
1106
|
-
type: "uint256",
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
internalType: "uint256",
|
|
1110
|
-
name: "lastLnImpliedRate",
|
|
1111
|
-
type: "uint256",
|
|
1112
|
-
},
|
|
1113
|
-
],
|
|
1114
|
-
internalType: "struct MarketState",
|
|
1115
|
-
name: "state",
|
|
1116
|
-
type: "tuple",
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
internalType: "PYIndex",
|
|
1120
|
-
name: "index",
|
|
1121
|
-
type: "uint256",
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
internalType: "uint256",
|
|
1125
|
-
name: "blockTime",
|
|
1126
|
-
type: "uint256",
|
|
1127
|
-
},
|
|
1128
|
-
],
|
|
1129
|
-
internalType: "struct MarketExtState",
|
|
1130
|
-
name: "marketExt",
|
|
1131
|
-
type: "tuple",
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
components: [
|
|
1135
|
-
{
|
|
1136
|
-
internalType: "uint256",
|
|
1137
|
-
name: "buyYtIy",
|
|
1138
|
-
type: "uint256",
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
internalType: "uint256",
|
|
1142
|
-
name: "sellYtIy",
|
|
1143
|
-
type: "uint256",
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
internalType: "uint256",
|
|
1147
|
-
name: "targetSyRatio",
|
|
1148
|
-
type: "uint256",
|
|
1149
|
-
},
|
|
1150
|
-
{
|
|
1151
|
-
internalType: "uint256",
|
|
1152
|
-
name: "bufferSyRatio",
|
|
1153
|
-
type: "uint256",
|
|
1154
|
-
},
|
|
1155
|
-
{
|
|
1156
|
-
internalType: "uint256",
|
|
1157
|
-
name: "minYtPtRatio",
|
|
1158
|
-
type: "uint256",
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
internalType: "uint256",
|
|
1162
|
-
name: "numOfBins",
|
|
1163
|
-
type: "uint256",
|
|
1164
|
-
},
|
|
1165
|
-
],
|
|
1166
|
-
internalType: "struct TradingSpecs",
|
|
1167
|
-
name: "specs",
|
|
1168
|
-
type: "tuple",
|
|
1169
|
-
},
|
|
1170
|
-
],
|
|
1171
|
-
internalType: "struct StrategyData",
|
|
1172
|
-
name: "strategyData",
|
|
1173
|
-
type: "tuple",
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
internalType: "enum TradeActionType",
|
|
1177
|
-
name: "action",
|
|
1178
|
-
type: "uint8",
|
|
1179
|
-
},
|
|
1180
|
-
{
|
|
1181
|
-
internalType: "uint256",
|
|
1182
|
-
name: "targetIy",
|
|
1183
|
-
type: "uint256",
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
internalType: "uint256",
|
|
1187
|
-
name: "rebalanceAdditionalCheck",
|
|
1188
|
-
type: "uint256",
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
components: [
|
|
1192
|
-
{
|
|
1193
|
-
internalType: "uint256",
|
|
1194
|
-
name: "guessMin",
|
|
1195
|
-
type: "uint256",
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
internalType: "uint256",
|
|
1199
|
-
name: "guessMax",
|
|
1200
|
-
type: "uint256",
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
internalType: "uint256",
|
|
1204
|
-
name: "guessOffchain",
|
|
1205
|
-
type: "uint256",
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
internalType: "uint256",
|
|
1209
|
-
name: "maxIteration",
|
|
1210
|
-
type: "uint256",
|
|
1211
|
-
},
|
|
1212
|
-
{
|
|
1213
|
-
internalType: "uint256",
|
|
1214
|
-
name: "eps",
|
|
1215
|
-
type: "uint256",
|
|
1216
|
-
},
|
|
1217
|
-
],
|
|
1218
|
-
internalType: "struct ApproxParams",
|
|
1219
|
-
name: "botParams",
|
|
1220
|
-
type: "tuple",
|
|
1221
|
-
},
|
|
1222
|
-
{
|
|
1223
|
-
components: [
|
|
1224
|
-
{
|
|
1225
|
-
internalType: "uint256",
|
|
1226
|
-
name: "guessMin",
|
|
1227
|
-
type: "uint256",
|
|
1228
|
-
},
|
|
1229
|
-
{
|
|
1230
|
-
internalType: "uint256",
|
|
1231
|
-
name: "guessMax",
|
|
1232
|
-
type: "uint256",
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
internalType: "uint256",
|
|
1236
|
-
name: "guessOffchain",
|
|
1237
|
-
type: "uint256",
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
internalType: "uint256",
|
|
1241
|
-
name: "maxIteration",
|
|
1242
|
-
type: "uint256",
|
|
1243
|
-
},
|
|
1244
|
-
{
|
|
1245
|
-
internalType: "uint256",
|
|
1246
|
-
name: "eps",
|
|
1247
|
-
type: "uint256",
|
|
1248
|
-
},
|
|
1249
|
-
],
|
|
1250
|
-
internalType: "struct ApproxParams",
|
|
1251
|
-
name: "intParams",
|
|
1252
|
-
type: "tuple",
|
|
1253
|
-
},
|
|
1254
|
-
],
|
|
1255
|
-
name: "searchForBotParam",
|
|
1256
|
-
outputs: [
|
|
1257
|
-
{
|
|
1258
|
-
internalType: "uint256",
|
|
1259
|
-
name: "",
|
|
1260
|
-
type: "uint256",
|
|
1261
|
-
},
|
|
1262
|
-
],
|
|
1263
|
-
stateMutability: "pure",
|
|
1264
|
-
type: "function",
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
inputs: [
|
|
1268
|
-
{
|
|
1269
|
-
components: [
|
|
1270
|
-
{
|
|
1271
|
-
components: [
|
|
1272
|
-
{
|
|
1273
|
-
internalType: "uint256",
|
|
1274
|
-
name: "lpBalance",
|
|
1275
|
-
type: "uint256",
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
internalType: "uint256",
|
|
1279
|
-
name: "ytBalance",
|
|
1280
|
-
type: "uint256",
|
|
1281
|
-
},
|
|
1282
|
-
{
|
|
1283
|
-
internalType: "uint256",
|
|
1284
|
-
name: "ptBalance",
|
|
1285
|
-
type: "uint256",
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
internalType: "uint256",
|
|
1289
|
-
name: "syBalance",
|
|
1290
|
-
type: "uint256",
|
|
1291
|
-
},
|
|
1292
|
-
{
|
|
1293
|
-
internalType: "uint256",
|
|
1294
|
-
name: "buyBins",
|
|
1295
|
-
type: "uint256",
|
|
1296
|
-
},
|
|
1297
|
-
],
|
|
1298
|
-
internalType: "struct BotState",
|
|
1299
|
-
name: "botState",
|
|
1300
|
-
type: "tuple",
|
|
1301
|
-
},
|
|
1302
|
-
{
|
|
1303
|
-
components: [
|
|
1304
|
-
{
|
|
1305
|
-
components: [
|
|
1306
|
-
{
|
|
1307
|
-
internalType: "int256",
|
|
1308
|
-
name: "totalPt",
|
|
1309
|
-
type: "int256",
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
internalType: "int256",
|
|
1313
|
-
name: "totalSy",
|
|
1314
|
-
type: "int256",
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
internalType: "int256",
|
|
1318
|
-
name: "totalLp",
|
|
1319
|
-
type: "int256",
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
internalType: "address",
|
|
1323
|
-
name: "treasury",
|
|
1324
|
-
type: "address",
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
internalType: "int256",
|
|
1328
|
-
name: "scalarRoot",
|
|
1329
|
-
type: "int256",
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
internalType: "uint256",
|
|
1333
|
-
name: "expiry",
|
|
1334
|
-
type: "uint256",
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
internalType: "uint256",
|
|
1338
|
-
name: "lnFeeRateRoot",
|
|
1339
|
-
type: "uint256",
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
internalType: "uint256",
|
|
1343
|
-
name: "reserveFeePercent",
|
|
1344
|
-
type: "uint256",
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
internalType: "uint256",
|
|
1348
|
-
name: "lastLnImpliedRate",
|
|
1349
|
-
type: "uint256",
|
|
1350
|
-
},
|
|
1351
|
-
],
|
|
1352
|
-
internalType: "struct MarketState",
|
|
1353
|
-
name: "state",
|
|
1354
|
-
type: "tuple",
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
internalType: "PYIndex",
|
|
1358
|
-
name: "index",
|
|
1359
|
-
type: "uint256",
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
internalType: "uint256",
|
|
1363
|
-
name: "blockTime",
|
|
1364
|
-
type: "uint256",
|
|
1365
|
-
},
|
|
1366
|
-
],
|
|
1367
|
-
internalType: "struct MarketExtState",
|
|
1368
|
-
name: "marketExt",
|
|
1369
|
-
type: "tuple",
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
components: [
|
|
1373
|
-
{
|
|
1374
|
-
internalType: "uint256",
|
|
1375
|
-
name: "buyYtIy",
|
|
1376
|
-
type: "uint256",
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
internalType: "uint256",
|
|
1380
|
-
name: "sellYtIy",
|
|
1381
|
-
type: "uint256",
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
internalType: "uint256",
|
|
1385
|
-
name: "targetSyRatio",
|
|
1386
|
-
type: "uint256",
|
|
1387
|
-
},
|
|
1388
|
-
{
|
|
1389
|
-
internalType: "uint256",
|
|
1390
|
-
name: "bufferSyRatio",
|
|
1391
|
-
type: "uint256",
|
|
1392
|
-
},
|
|
1393
|
-
{
|
|
1394
|
-
internalType: "uint256",
|
|
1395
|
-
name: "minYtPtRatio",
|
|
1396
|
-
type: "uint256",
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
internalType: "uint256",
|
|
1400
|
-
name: "numOfBins",
|
|
1401
|
-
type: "uint256",
|
|
1402
|
-
},
|
|
1403
|
-
],
|
|
1404
|
-
internalType: "struct TradingSpecs",
|
|
1405
|
-
name: "specs",
|
|
1406
|
-
type: "tuple",
|
|
1407
|
-
},
|
|
1408
|
-
],
|
|
1409
|
-
internalType: "struct StrategyData",
|
|
1410
|
-
name: "strategyData",
|
|
1411
|
-
type: "tuple",
|
|
1412
|
-
},
|
|
1413
|
-
],
|
|
1414
|
-
name: "searchMaxYtToAddLiq",
|
|
1415
|
-
outputs: [
|
|
1416
|
-
{
|
|
1417
|
-
internalType: "uint256",
|
|
1418
|
-
name: "maxYtToAddLiq",
|
|
1419
|
-
type: "uint256",
|
|
1420
|
-
},
|
|
1421
|
-
],
|
|
1422
|
-
stateMutability: "pure",
|
|
1423
|
-
type: "function",
|
|
1424
|
-
},
|
|
1425
|
-
];
|
|
1426
|
-
|
|
1427
|
-
const _bytecode =
|
|
1428
|
-
"0x608060405234801561001057600080fd5b50613e76806100206000396000f3fe608060405234801561001057600080fd5b50600436106100995760003560e01c806303270af41461009e57806306e8bac9146100c45780630c3fad99146100e85780631cca5369146101085780632313dd6e1461011b578063916ec5471461013b57806397f641ab1461015c5780639d2a679f14610165578063a76541e51461016e578063ac4c7e8414610181578063cf209b601461018e575b600080fd5b6100b16100ac366004613795565b6101b0565b6040519081526020015b60405180910390f35b6100d76100d2366004613804565b6103bc565b6040516100bb9594939291906138cc565b6100fb6100f6366004613804565b610452565b6040516100bb9190613970565b6100b16101163660046139c3565b610667565b61012e610129366004613804565b6107a3565b6040516100bb91906139e0565b61014e610149366004613a1f565b610943565b6040516100bb929190613a5f565b6100b16103e881565b6100b160001981565b6100b161017c3660046139c3565b6109a4565b6100b1655af3107a400081565b6101a161019c366004613a6d565b6109cb565b6040516100bb93929190613ac0565b60008060405180606001604052808981526020018860028111156101d6576101d661395a565b815260200187905260408501519091501561022457600161020282866040015188886080015188610a58565b60028111156102135761021361395a565b0361022457505060408201516103b2565b600061023989600001518a602001518a610b7a565b9050808560200151111561024f57602085018190525b60208501518551111561029a5787600281111561026e5761026e61395a565b8551602087015160405163f25ccea360e01b815261029193929190600401613ae4565b60405180910390fd5b5060026102b282866020015188886080015188610a58565b60028111156102c3576102c361395a565b146102d457505060208201516103b2565b60005b84606001518110156103885760006002866000015187602001516102fb9190613b10565b6103059190613b39565b86516103119190613b4d565b9050600061032684838a8a608001518a610a58565b9050600181600281111561033c5761033c61395a565b0361034c575092506103b2915050565b60008160028111156103605761036061395a565b0361036d57818752610375565b602087018290525b50508061038190613b60565b90506102d7565b5083511561039957505081516103b2565b60405163fef33c9d60e01b815260040160405180910390fd5b9695505050505050565b6103c46133eb565b600080600080856001600160a01b031663eb983ce56040518163ffffffff1660e01b81526004016102c060405180830381865afa158015610409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d9190613bdc565b945061044185600001518660200151610bb0565b979992985090969095509350915050565b61048c6040805160c08101909152806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000826001600160a01b031663eb983ce56040518163ffffffff1660e01b81526004016102c060405180830381865afa1580156104cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f19190613bdc565b905060006105028260200151610c50565b90506105178260000151836040015183610c9d565b6020840181905260000361053057505060008152919050565b610547826000015183604001518560200151610cb2565b60408401526020830151600019906000908113156105b8578351516103e811156105745750505050919050565b60028552835180516020870151608090920151604087015160a0015161059b939190610d06565b9150816000036105b357505060008352509092915050565b61061c565b8351602001516103e811156105d05750505050919050565b6001855260006105df85610667565b9050610601818760200151876000015160800151886040015160a00151610d06565b91508160000361061a5750506000845250919392505050565b505b61063c84866000015187604001518461063487610da6565b6100ac610de2565b606086018190526020850151865161065392610943565b608087015260a08601525092949350505050565b60008061067c83600001518460200151610bb0565b935050505082604001516080015181101561069a5750600092915050565b60006106b86106b3856000015186602001516001610b7a565b610da6565b905060006106c4610de2565b90505b81516106d4906001613b4d565b8260200151111561079b5760006002836000015184602001516106f79190613b10565b6107019190613b39565b835161070d9190613b4d565b9050600080600061072189600186886109cb565b9250925092508261074657610737600185613b10565b6020870152506106c792505050565b6107508282610bb0565b60408d015160800151909a508a109250610787915050578386526020808301518a51909101516107809190613b10565b9750610792565b610737600185613b10565b505050506106c7565b505050919050565b6107cf604080516080810190915280600081526020016000815260200160008152602001600081525090565b6000826001600160a01b031663eb983ce56040518163ffffffff1660e01b81526004016102c060405180830381865afa158015610810573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108349190613bdc565b905060008061084b83600001518460200151610bb0565b5092505091506000610880846040015160600151670de0b6b3a76400006108729190613b10565b604080870151015190610e22565b905060006108b1856040015160600151670de0b6b3a76400006108a39190613b4d565b604080880151015190610e22565b9050808311156108ef5760018681815250506108db85602001518585886040015160400151610e45565b606089015260408801526020870152610939565b81831015610939576109018585610e79565b6040890181905260208901829052888360048111156109225761092261395a565b60048111156109335761093361395a565b90525050505b5050505050919050565b600080600284600281111561095a5761095a61395a565b036109855761097b8361096b610de2565b61097488610fd7565b9190611015565b909250905061099c565b6109988361099287610fd7565b906110b2565b5091505b935093915050565b60006109c5826000015183604001516109c08560200151610c50565b610c9d565b92915050565b60006109d561344e565b6109dd61347d565b86516109e8906111b6565b91506109f78760200151610fd7565b90506001866002811115610a0d57610a0d61395a565b03610a2457610a1d828287611200565b9250610a4e565b6002866002811115610a3857610a3861395a565b03610a4957610a1d8282878761125e565b600092505b9450945094915050565b600080600080610a7289600001518a602001518a886109cb565b92509250925082610a895760029350505050610b71565b6000610a9482610c50565b905060018a602001516002811115610aae57610aae61395a565b03610b2e576020808401518b515190910151600091610acc91613b10565b905088811115610ae457600295505050505050610b71565b610af3828c604001518a6112b5565b15610b0657600195505050505050610b71565b8a60400151821015610b2057600295505050505050610b71565b600095505050505050610b71565b610b3d818b60400151896112e8565b15610b4f576001945050505050610b71565b8960400151811115610b68576002945050505050610b71565b60009450505050505b95945050505050565b60006001826002811115610b9057610b9061395a565b03610ba557610b9e83611316565b9050610ba9565b5082515b9392505050565b6000808080610bbf868661133c565b9350610bca85610c50565b6060870151909350610bdc908561142a565b91506000610bf78760000151610bf188610fd7565b90611450565b9150506000876040015182610c0c9190613b4d565b90508015610c2a576020880151610c23908261142a565b9250610c45565b8760200151600003610c3f5760009250610c45565b60001992505b505092959194509250565b6000670de0b6b3a7640000610c93610c848460400151856000015160a00151610c799190613b10565b6301e133809061142a565b610c8d85611507565b90611554565b6109c59190613b10565b6000610caa8385846116fd565b949350505050565b600081600003610cc457610cc4613d15565b6000610cd08584611712565b90506000831215610cf857610cf0610ce9826001613b4d565b8590611759565b915050610ba9565b610cf0610ce9600183613b10565b600083600003610d1857610d18613d15565b6000808512610d3c5783610d2d846002613d2b565b610d379190613b10565b610d3e565b835b9050600081670de0b6b3a7640000610d55886117d3565b610d5f9190613d2b565b610d699190613b39565b90506000670de0b6b3a7640000610d8483610c8d8184613b4d565b610d8e9190613b10565b9050610d9a8882610e22565b98975050505050505050565b610dae61344e565b506040805160a0810182526001815260208101929092526000908201526101006060820152655af3107a4000608082015290565b610dea61344e565b6040518060a00160405280600181526020016000198152602001600081526020016101008152602001655af3107a4000815250905090565b600080610e2f8385613d2b565b9050670de0b6b3a7640000815b04949350505050565b60008080610e5d610e568587613b10565b8790610e22565b9250610e6987846117ee565b9398909750929550919350505050565b600080600080856000015160600151610ea387604001516040015187610e2290919063ffffffff16565b610ead9190613b10565b8651519091506103e81015610f6557855160200151600090670de0b6b3a7640000906103e81115610ef15787515160049650610eea90899061187a565b9150610f04565b60029550610efe886118cd565b90925090505b610f0e8284611966565b88515190945082908590610f229084610e22565b610f2c9190613d2b565b610f369190613b39565b94506004866004811115610f4c57610f4c61395a565b03610f5e57610f5b888661187a565b93505b5050610fcf565b8551602001516103e81015610fcf576000610f95876000015160200151610f8f8960200151610fd7565b9061197c565b875160200151600396509091508190610fae9084613d2b565b610fb89190613b39565b9350610fcb84610f8f8960200151610fd7565b9250505b509250925092565b610fdf61347d565b6040518060600160405280610ff784600001516119d7565b81526020018360200151815260200183604001518152509050919050565b6000806000806110258787611450565b915091506000611042838960200151611a5490919063ffffffff16565b905060006110508284613b4d565b905060006110768a60200151838c6040015161106b8c6111b6565b8e5193929190611a60565b5060208c015160408d01518d51929950929350611094928990611b7c565b50505080836110a39190613b4d565b96505050505050935093915050565b60008060006110da85602001518587604001518860000151611bcd909392919063ffffffff16565b5050602086015190915060006110f08284613d2b565b611102670de0b6b3a764000088613d2b565b61110c9190613b10565b87515190915060009061111e90611bf6565b836111308a6000015160200151611bf6565b61113a9190613d2b565b6111449190613b39565b61115690670de0b6b3a7640000613b4d565b905060006111648284613b39565b90506111708189613b10565b9550600061118b878b60200151611c0590919063ffffffff16565b905060006111998783613b10565b90506111a68b8285611c11565b9850505050505050509250929050565b6111be61344e565b6040518060a001604052808360000151815260200183602001518152602001836040015181526020018360600151815260200183608001518152509050919050565b6000808061120e85856110b2565b91509150856020015181111561122957600092505050610ba9565b808660200181815161123b9190613b10565b90525085518290879061124f908390613b4d565b90525060019695505050505050565b835160009083111561127257506000610caa565b600061128984611281856111b6565b879190611015565b509050838660000181815161129e9190613b10565b90525060208601805182919061124f908390613b4d565b6000828410158015610caa57506112dd836112d884670de0b6b3a7640000613b4d565b610e22565b909311159392505050565b6000828411158015610caa575061130b836112d884670de0b6b3a7640000613b10565b909310159392505050565b6020810151604082015182516000926109c592611334929190611de7565b835151611ee1565b60008061134883610fd7565b905060008061136486600001518461145090919063ffffffff16565b91509150600082876060015161137a9190613b4d565b9050600087604001518361138e9190613b4d565b9050876020015181116113dc576113a58582611f80565b6113af9083613b4d565b91506113cb8189602001516113c49190613b10565b869061197c565b6113d59083613b4d565b915061141f565b60208801516113ec908690611f80565b6113f69083613b4d565b915061141288602001518261140b9190613b10565b8690611f92565b61141c9083613b4d565b91505b509695505050505050565b60008061143f670de0b6b3a764000085613d2b565b9050828181610e3c57610e3c613b23565b600080600061145e84611fb6565b8551604081015160209091015191925060009161147b9084613d42565b6114859190613d72565b86516040810151905191925060009161149e9085613d42565b6114a89190613d72565b8751604001519091506114bb9084611fcc565b8751604001528651516114ce9082611fcc565b8751528651602001516114e19083611fcc565b8751602001526114f082611bf6565b6114f982611bf6565b945094505050509250929050565b6020810151604082015182516000928392611523929190611de7565b905060006115498460000151600001518360200151846000015185604001516000612013565b9050610caa81611bf6565b60008160000361156d5750670de0b6b3a76400006109c5565b8260000361157d575060006109c5565b600160ff1b83106115c25760405162461bcd60e51b815260206004820152600f60248201526e78206f7574206f6620626f756e647360881b6044820152606401610291565b82770bce5086492111aea88f4bb1ca6bcf584181ea8059f76532831061161c5760405162461bcd60e51b815260206004820152600f60248201526e79206f7574206f6620626f756e647360881b6044820152606401610291565b826000670c7d713b49da00008313801561163d5750670f43fc2c04ee000083125b1561167457600061164d846120c4565b9050670de0b6b3a764000080820784020583670de0b6b3a764000083050201915050611682565b8161167e846121e3565b0290505b670de0b6b3a76400009005680238fd42c5cf03ffff1981128015906116b0575068070c1cc73b00c800008113155b6116f45760405162461bcd60e51b815260206004820152601560248201527470726f64756374206f7574206f6620626f756e647360581b6044820152606401610291565b6103b281612586565b6000610caa8361170d868561299b565b612a07565b60008160000361172457611724613d15565b6001821261173a578161173681613da0565b9250505b610ba961174a8460800151611fb6565b6117549084613db8565b611bf6565b60008115801590611784575060a0830151611775906002613d2b565b611780906001613b4d565b8214155b61179057611790613d15565b600061179b84612a3e565b90506117a8600282613b39565b6117b3600185613b10565b6117bd9083613d2b565b85516117c99190613b4d565b610caa9190613b4d565b60008082136117ea576117e582613de0565b6109c5565b5090565b6000806000611812611807866000015160200151611bf6565b602087015190611a54565b85515161181e90611bf6565b6118289190613b4d565b85515161183490611bf6565b61183e9086613d2b565b6118489190613b39565b602086015190915061185a9082611a54565b91506118708561186a8387613b10565b84611c11565b9250509250929050565b60008061188a8460200151610fd7565b90506000806118a361189b86611fb6565b845190612a6c565b915091506118ba6118b382611bf6565b8490611f92565b6118c383611bf6565b6103b29190613b4d565b60008060006118df8460200151610fd7565b90506000806118f861189b876000015160000151611fb6565b9150915061192661190882611bf6565b8751602001516119209061191b85611bf6565b611966565b9061142a565b935061195c8461194361193884611bf6565b602087015190612b38565b61194c85611bf6565b6119569190613b4d565b90610e22565b9450505050915091565b60008183106119755781610ba9565b5090919050565b602082015160408301518351600092839261199a9291908690611bcd565b5050905060006119b7828660200151612b4490919063ffffffff16565b905060006119c58286613b10565b60208701519091506103b29082611c05565b6119df6134a4565b60405180610120016040528083600001518152602001836020015181526020018360400151815260200183606001516001600160a01b03168152602001836080015181526020018360a0015181526020018360c0015181526020018360e0015181526020018361010001518152509050919050565b6000610ba98383612b51565b6000808080611a70898988611de7565b90508460400151600003611aad578451611a8a9088612b70565b85526020850151611a9f9061191b8b84612b7f565b6020860152611aad85612c03565b60005b8560600151811015611b57576000611ac88783612c51565b9050600080611ad98d868e86612cb6565b5090925090506000611aeb8d84611a54565b90506000611af98286613b10565b90508c8111611b3057611b11818e8d608001516112e8565b15611b2857509750919550909350611b7192505050565b848b52611b41565b611b3b600186613b10565b60208c01525b505050505080611b5090613b60565b9050611ab0565b50604051637d388ed960e11b815260040160405180910390fd5b955095509592505050565b600080600080600080611b998a8a611b938b612ce7565b8a612cfe565b925092509250611ba883611bf6565b9550611bb382611bf6565b9450611bbe81611bf6565b93505050509450945094915050565b600080600080600080611be48a8a611b938b611fb6565b925092509250611ba861175484612d91565b6000808212156117ea57600080fd5b6000610ba98383612d9f565b825160a00151604084015160009111611c6b5760405162461bcd60e51b815260206004820152601c60248201527b13585c9ad95d115e1d131a588e88195e1c1a5c9959081b585c9ad95d60221b6044820152606401610291565b835160400151600012611cb75760405162461bcd60e51b815260206004820152601460248201527304d61726b65744578744c69623a204c50203c20360641b6044820152606401610291565b6000611cc284611fb6565b90506000611ccf84611fb6565b90506000806000808960000151600001518a600001516040015186611cf49190613d42565b611cfe9190613d72565b8a516020810151604090910151919250600091611d1b9089613d42565b611d259190613d72565b905080821215611d60578a5160408101516020909101519295508694508592611d4f908490613d42565b611d599190613d72565b9250611d89565b8a51604081015190519195508793508591611d7c908390613d42565b611d869190613d72565b93505b828b60000151602001818151611d9f9190613db8565b9052508a518051859190611db4908390613db8565b9052508a516040018051869190611dcc908390613db8565b905250611dd885611bf6565b9b9a5050505050505050505050565b611e126040518060800160405280600081526020016000815260200160008152602001600081525090565b60a08401518210611e365760405163b2094b5960e01b815260040160405180910390fd5b6000828560a00151611e489190613b10565b9050611e548582612db4565b82526020850151611e66908590612e15565b602083015284511580611e7b57506020820151155b15611ea2578451602083015160405163b1c4aefb60e01b8152610291929190600401613a5f565b611ec085600001518661010001518460200151856000015185612e4c565b604083015260c0850151611ed49082612ecd565b6060830152509392505050565b600080611f0e611f09856000015186604001518760600151611f039190613dfc565b90612f01565b612586565b90506000611f2e611f27670de0b6b3a764000084613db8565b8390612f24565b90506000611f4c866020015186611f459190613db8565b8390612f01565b90506000611f5a8287613dfc565b90506103e8611f6b826103e7613d2b565b611f759190613b39565b979650505050505050565b6020820151600090610ba99083611c05565b602082015160408301518351600092611fac928590611b7c565b5090949350505050565b60006001600160ff1b038211156117ea57600080fd5b6000818312156120095760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b6044820152606401610291565b610ba98284613dfc565b6000806120208784611fcc565b90506000612031611f27888a613db8565b9050670d529ae9e86000008113156120685780670d529ae9e8600000604051637e34684f60e11b8152600401610291929190613a5f565b600061207382612f4a565b9050856120808289612f24565b61208a9190613db8565b9350670de0b6b3a76400008412156120b85760405163329e322960e21b815260048101859052602401610291565b50505095945050505050565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff198501028161210557612105613b23565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a76400008212156122245761221b826a0c097ce7bc90715b34b9f160241b8161221557612215613b23565b056121e3565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b831261226f5772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b83126122a6576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126122ee576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312612329576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261236057693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261239757690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126123cc5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126123f757680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d831261242c576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312612461576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312612495576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126124c9576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816124f2576124f2613b23565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6000680238fd42c5cf03ffff1982121580156125ab575068070c1cc73b00c800008213155b6125ea5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610291565b6000821215612622576125ff82600003612586565b6a0c097ce7bc90715b34b9f160241b8161261b5761261b613b23565b0592915050565b60006806f05b59d3b2000000831261266057506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b612696565b6803782dace9d9000000831261269257506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380612696565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126126e65768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412612722576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261275c57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412612796576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126127cf57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126128085768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412612841576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c40000841261287a5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b81516000908210156129af575060006109c5565b82602001518211156129dd5760a08301516129cb906002613d2b565b6129d6906001613b4d565b90506109c5565b6129e683612a3e565b83516129f29084613b10565b6129fc9190613b39565b610ba9906001613b4d565b600080612a178460800151611fb6565b612a2084611fb6565b612a2a9190613dfc565b905060018112610ba95780610b7181613e23565b60008160a001516002612a519190613d2b565b82516020840151612a629190613b10565b6109c59190613b39565b60008082600003612a90576040516325daaec360e01b815260040160405180910390fd5b60408401516020850151612aa49085613d42565b612aae9190613d72565b6040850151855191935090612ac39085613d42565b612acd9190613d72565b905081158015612adb575080155b15612af957604051631997ea8d60e31b815260040160405180910390fd5b6040840151612b089084611fcc565b60408501528351612b199082611fcc565b84526020840151612b2a9083611fcc565b602090940193909352929050565b6000610ba98383612f9d565b600082610caa8184612fc9565b6000670de0b6b3a7640000612b668484613d2b565b610ba99190613b39565b60008183116119755781610ba9565b60008060009050600060018460200151612b999190613b10565b90505b808214612bfb5760006002612bb18385613b4d565b612bbc906001613b4d565b612bc69190613b39565b90506000612bd986886000015184612fe1565b1215612bf157612bea600182613b10565b9150612bf5565b8092505b50612b9c565b509392505050565b602081015181511180612c215750670de0b6b3a76400008160800151115b15612c4e57805160208201516080830151604051632cc06bc160e21b815261029193929190600401613ae4565b50565b600081158015612c645750604083015115155b15612c74575060408201516109c5565b6020830151835111612c9d5760208301518351600291612c9391613b4d565b6129d69190613b39565b604051637d388ed960e11b815260040160405180910390fd5b60008080808080612cd48989612ccb8a613de0565b8d9291906130d3565b919c909b50909950975050505050505050565b6000612cf282611fb6565b6109c590600019613d42565b6000806000612d118760a0015185101590565b15612d2f5760405163b2094b5960e01b815260040160405180910390fd5b86518512612d55578651604051632185509b60e21b815261029191908790600401613a5f565b6000612d62888887611de7565b9050612d70888289896130d3565b91955093509150612d868882898988878b613227565b509450945094915050565b60006109c582600019613d42565b600082612b66670de0b6b3a764000084613d2b565b6000612dbf82611fb6565b612dd6612dd16201518061016d613d2b565b611fb6565b8460800151612de59190613d42565b612def9190613d72565b9050600081136109c557604051630e520c3b60e11b815260048101829052602401610291565b60008060008312612e27576001612e2b565b6000195b9050612e42612dd185612e3d866117d3565b612b51565b610caa9082613d42565b600080612e598684612ecd565b9050670de0b6b3a7640000811215612e875760405163329e322960e21b815260048101829052602401610291565b6000612e9d612e96878a613db8565b8990612f24565b90506000612eaa82612f4a565b9050612eb68187612f24565b612ec09084613dfc565b9998505050505050505050565b600080612edf6201518061016d613d2b565b612ee98486613d2b565b612ef39190613b39565b9050610caa611f0982611fb6565b600080612f0e8385613d42565b9050670de0b6b3a7640000815b05949350505050565b600080612f39670de0b6b3a764000085613d42565b9050828181612f1b57612f1b613b23565b6000670de0b6b3a76400008203612f745760405163a9c8b14d60e01b815260040160405180910390fd5b6000612f92612f8b84670de0b6b3a7640000613dfc565b8490612f24565b9050610ba9816132b9565b600082600181612fb5670de0b6b3a764000086613d2b565b612fbf9190613b4d565b612b669190613b10565b6000670de0b6b3a7640000600181612fb58686613d2b565b600080828560200151612ff49190613dfc565b905060006130028585613db8565b90506000821380156130145750600081135b6130555760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a59081c1d151bd3585c9ad95d60721b6044820152606401610291565b60006130836130648484613d42565b60208901516130739089613db8565b61307d9088613d42565b90612f24565b905060006130996130948486612f24565b6132b9565b88519091506000906130b490670de0b6b3a764000090612f24565b90506130c481611f038486613dfc565b8960400151612ec09190613dfc565b6000806000806130f68860000151886020015189600001518a6040015189612013565b9050600061310c6131078784612f24565b612d91565b6060890151909150600087131561317b5760006131298483612f24565b9050670de0b6b3a76400008112156131575760405163329e322960e21b815260048101829052602401610291565b61317361316c83670de0b6b3a7640000613dfc565b8490612f01565b9150506131a8565b6131a58161319181670de0b6b3a7640000613dfc565b61319b9085613d42565b6131079190613d72565b90505b600060646131b98c60e00151611fb6565b6131c39084613d42565b6131cd9190613d72565b905060006131db8385613dfc565b9050600081126131f4576131ef8a8261334a565b6131fe565b6131fe8a82613377565b975061320a8a8461334a565b96506132168a8361334a565b955050505050509450945094915050565b6000818860a001516132399190613b10565b88519091506132489086611fcc565b88526132626132578486613db8565b60208a015190611fcc565b6020890181905288516132879161327a908990612e15565b895160408b0151856133a4565b61010089018190526000036132af57604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b60008082136132fa5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b6044820152606401610291565b670c7d713b49da0000821380156133185750670f43fc2c04ee000082125b1561333c57670de0b6b3a764000061332f836120c4565b8161261b5761261b613b23565b6109c5826121e3565b919050565b6000806000831261335c576001613360565b6000195b9050612e42612dd185613372866117d3565b612d9f565b6000806000831261338957600161338d565b6000195b9050612e42612dd18561339f866117d3565b612f9d565b6000806133b5878787876000612013565b905060006133c5611754836132b9565b9050836133d76201518061016d613d2b565b6133e19083613d2b565b610d9a9190613b39565b60405180606001604052806133fe61344e565b815260200161340b61347d565b81526020016134496040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b905290565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b60405180606001604052806134906134a4565b815260200160008152602001600081525090565b60405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b60405160a081016001600160401b038111828210171561352957634e487b7160e01b600052604160045260246000fd5b60405290565b604051606081016001600160401b038111828210171561352957634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b038111828210171561352957634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b038111828210171561352957634e487b7160e01b600052604160045260246000fd5b600060a082840312156135d257600080fd5b6135da6134f9565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015292915050565b6001600160a01b0381168114612c4e57600080fd5b80356133458161360e565b600081830361016081121561364257600080fd5b61364a61352f565b91506101208082121561365c57600080fd5b61366461355f565b915083358252602084013560208301526040840135604083015261368a60608501613623565b60608301526080840135608083015260a084013560a083015260c084013560c083015260e084013560e08301526101008085013581840152508183528084013560208401525050610140820135604082015292915050565b60008183036102c08112156136f657600080fd5b6136fe61352f565b915061370a84846135c0565b82526137198460a0850161362e565b602083015260c06101ff198201121561373157600080fd5b5061373a613590565b610200830135815261022083013560208201526102408301356040820152610260830135606082015261028083013560808201526102a083013560a08201528060408301525092915050565b80356003811061334557600080fd5b60008060008060008061046087890312156137af57600080fd5b6137b988886136e2565b95506137c86102c08801613786565b94506102e0870135935061030087013592506137e88861032089016135c0565b91506137f8886103c089016135c0565b90509295509295509295565b60006020828403121561381657600080fd5b8135610ba98161360e565b80518252602081015160208301526040810151604083015260608101516060830152608081015160808301525050565b805180518352602081015160208401526040810151604084015260018060a01b0360608201511660608401526080810151608084015260a081015160a084015260c081015160c084015260e081015160e084015261010080820151818501525050602081015161012083015260408101516101408301525050565b6000610340820190506138e0828851613821565b60208701516138f260a0840182613851565b5060409687015180516102008401526020810151610220840152968701516102408301526060870151610260830152608087015161028083015260a0909601516102a08201526102c08101949094526102e08401929092526103008301526103209091015290565b634e487b7160e01b600052602160045260246000fd5b815160c0820190600381106139875761398761395a565b808352506020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015292915050565b60006102c082840312156139d657600080fd5b610ba983836136e2565b81516080820190600581106139f7576139f761395a565b8083525060208301516020830152604083015160408301526060830151606083015292915050565b60008060006101a08486031215613a3557600080fd5b613a3f858561362e565b9250613a4e6101608501613786565b915061018084013590509250925092565b918252602082015260400190565b6000806000806103a08587031215613a8457600080fd5b613a8e86866136e2565b9350613a9d6102c08601613786565b92506102e08501359150613ab58661030087016135c0565b905092959194509250565b83151581526102208101613ad76020830185613821565b610caa60c0830184613851565b9283526020830191909152604082015260600190565b634e487b7160e01b600052601160045260246000fd5b818103818111156109c5576109c5613afa565b634e487b7160e01b600052601260045260246000fd5b600082613b4857613b48613b23565b500490565b808201808211156109c5576109c5613afa565b600060018201613b7257613b72613afa565b5060010190565b80516133458161360e565b600060c08284031215613b9657600080fd5b613b9e613590565b9050815181526020820151602082015260408201516040820152606082015160608201526080820151608082015260a082015160a082015292915050565b60008183036102c0811215613bf057600080fd5b613bf861352f565b60a0821215613c0657600080fd5b613c0e6134f9565b845181526020850151602082015260408501516040820152606085015160608201526080850151608082015280825250609f198201915061016080831215613c5557600080fd5b613c5d61352f565b61012080851215613c6d57600080fd5b613c7561355f565b945060a0870151855260c0870151602086015260e08701516040860152610100613ca0818901613b79565b606087015281880151608087015261014088015160a08701528388015160c087015261018088015160e08701526101a08801518187015250508381526101c086015160208201526101e086015160408201528060208401525050613d08856102008601613b84565b6040820152949350505050565b634e487b7160e01b600052600160045260246000fd5b80820281158282048414176109c5576109c5613afa565b80820260008212600160ff1b84141615613d5e57613d5e613afa565b81810583148215176109c5576109c5613afa565b600082613d8157613d81613b23565b600160ff1b821460001984141615613d9b57613d9b613afa565b500590565b60006001600160ff1b018201613b7257613b72613afa565b8082018281126000831280158216821582161715613dd857613dd8613afa565b505092915050565b6000600160ff1b8201613df557613df5613afa565b5060000390565b8181036000831280158383131683831282161715613e1c57613e1c613afa565b5092915050565b6000600160ff1b8201613e3857613e38613afa565b50600019019056fea2646970667358221220c41c20a11a3d68a96052a8df9e4614d5534351c966f282e6d4874055718695be64736f6c63430008110033";
|
|
1429
|
-
|
|
1430
|
-
type LongYieldDecisionHelperConstructorParams =
|
|
1431
|
-
| [signer?: Signer]
|
|
1432
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
1433
|
-
|
|
1434
|
-
const isSuperArgs = (
|
|
1435
|
-
xs: LongYieldDecisionHelperConstructorParams
|
|
1436
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1437
|
-
|
|
1438
|
-
export class LongYieldDecisionHelper__factory extends ContractFactory {
|
|
1439
|
-
constructor(...args: LongYieldDecisionHelperConstructorParams) {
|
|
1440
|
-
if (isSuperArgs(args)) {
|
|
1441
|
-
super(...args);
|
|
1442
|
-
} else {
|
|
1443
|
-
super(_abi, _bytecode, args[0]);
|
|
1444
|
-
}
|
|
1445
|
-
this.contractName = "LongYieldDecisionHelper";
|
|
1446
|
-
}
|
|
1447
|
-
|
|
1448
|
-
deploy(
|
|
1449
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1450
|
-
): Promise<LongYieldDecisionHelper> {
|
|
1451
|
-
return super.deploy(overrides || {}) as Promise<LongYieldDecisionHelper>;
|
|
1452
|
-
}
|
|
1453
|
-
getDeployTransaction(
|
|
1454
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1455
|
-
): TransactionRequest {
|
|
1456
|
-
return super.getDeployTransaction(overrides || {});
|
|
1457
|
-
}
|
|
1458
|
-
attach(address: string): LongYieldDecisionHelper {
|
|
1459
|
-
return super.attach(address) as LongYieldDecisionHelper;
|
|
1460
|
-
}
|
|
1461
|
-
connect(signer: Signer): LongYieldDecisionHelper__factory {
|
|
1462
|
-
return super.connect(signer) as LongYieldDecisionHelper__factory;
|
|
1463
|
-
}
|
|
1464
|
-
static readonly contractName: "LongYieldDecisionHelper";
|
|
1465
|
-
public readonly contractName: "LongYieldDecisionHelper";
|
|
1466
|
-
static readonly bytecode = _bytecode;
|
|
1467
|
-
static readonly abi = _abi;
|
|
1468
|
-
static createInterface(): LongYieldDecisionHelperInterface {
|
|
1469
|
-
return new utils.Interface(_abi) as LongYieldDecisionHelperInterface;
|
|
1470
|
-
}
|
|
1471
|
-
static connect(
|
|
1472
|
-
address: string,
|
|
1473
|
-
signerOrProvider: Signer | Provider
|
|
1474
|
-
): LongYieldDecisionHelper {
|
|
1475
|
-
return new Contract(
|
|
1476
|
-
address,
|
|
1477
|
-
_abi,
|
|
1478
|
-
signerOrProvider
|
|
1479
|
-
) as LongYieldDecisionHelper;
|
|
1480
|
-
}
|
|
1481
|
-
}
|