@pendle/core-v2 3.0.0-beta-7 → 3.0.0-beta-9

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.
Files changed (331) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  9. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IDailLikePermit.sol/IDaiLikePermit.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/ILimitOrderCallee.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixinType.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
  134. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  135. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  136. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  137. package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/helpers/ArgumentsDecoder.sol/ArgumentsDecoder.dbg.json +1 -1
  139. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  140. package/build/artifacts/contracts/limit/helpers/Permitable.sol/Permitable.dbg.json +1 -1
  141. package/build/artifacts/contracts/limit/helpers/RevertReasonParser.sol/RevertReasonParser.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  168. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  169. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  170. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  171. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  172. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  173. package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
  174. package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.dbg.json +1 -1
  175. package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.json +2 -2
  176. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  177. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  178. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  179. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  180. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  181. package/build/artifacts/contracts/router/base/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  182. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  183. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  184. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  185. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  186. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  187. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  188. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  189. package/contracts/limit/PendleOrderMixin.sol +4 -2
  190. package/contracts/router/ActionMiscV3.sol +1 -1
  191. package/deployments/42161-core.json +1 -1
  192. package/package.json +1 -1
  193. package/typechain-types/AccessControlUpgradeable.ts +369 -0
  194. package/typechain-types/ActionAddRemoveLiq.ts +1239 -0
  195. package/typechain-types/ActionMintRedeem.ts +673 -0
  196. package/typechain-types/ActionMisc.ts +155 -0
  197. package/typechain-types/ActionSwapPT.ts +544 -0
  198. package/typechain-types/ActionSwapYT.ts +730 -0
  199. package/typechain-types/AuraWethVethSYUpg.ts +1612 -0
  200. package/typechain-types/BeaconProxy.ts +97 -0
  201. package/typechain-types/BulkSeller.ts +743 -0
  202. package/typechain-types/BulkSellerFactory.ts +712 -0
  203. package/typechain-types/BulkSellerOffchain.ts +251 -0
  204. package/typechain-types/ContextUpgradeable.ts +68 -0
  205. package/typechain-types/EIP712.ts +135 -0
  206. package/typechain-types/ERC165Upgradeable.ts +113 -0
  207. package/typechain-types/GMTokenPricingHelper.ts +478 -0
  208. package/typechain-types/IAccessControlUpgradeable.ts +305 -0
  209. package/typechain-types/IERC165Upgradeable.ts +102 -0
  210. package/typechain-types/IERC1967.ts +97 -0
  211. package/typechain-types/IERC5267.ts +135 -0
  212. package/typechain-types/IERC5267Upgradeable.ts +135 -0
  213. package/typechain-types/IGMXPriceHelper.ts +84 -0
  214. package/typechain-types/IGMXV2DataStore.ts +87 -0
  215. package/typechain-types/IGMXV2Oracle.ts +107 -0
  216. package/typechain-types/IGMXV2Reader.ts +204 -0
  217. package/typechain-types/IKyberElasticFactory.ts +734 -0
  218. package/typechain-types/IKyberElasticPool.ts +514 -0
  219. package/typechain-types/IKyberElasticRouter.ts +315 -0
  220. package/typechain-types/IKyberLiquidityMining.ts +968 -0
  221. package/typechain-types/IKyberMathHelper.ts +231 -0
  222. package/typechain-types/IKyberPositionManager.ts +773 -0
  223. package/typechain-types/IMUXRewardRouter.ts +1599 -0
  224. package/typechain-types/IPActionAddRemoveLiq.ts +1239 -0
  225. package/typechain-types/IPActionMintRedeem.ts +673 -0
  226. package/typechain-types/IPActionMisc.ts +155 -0
  227. package/typechain-types/IPActionSwapPT.ts +544 -0
  228. package/typechain-types/IPActionSwapYT.ts +686 -0
  229. package/typechain-types/IPAllAction.ts +2935 -0
  230. package/typechain-types/IPBulkSeller.ts +391 -0
  231. package/typechain-types/IPBulkSellerCallback.ts +115 -0
  232. package/typechain-types/IPBulkSellerFactory.ts +152 -0
  233. package/typechain-types/IPLinearDistributor.ts +199 -0
  234. package/typechain-types/IPMerkleDistributor.ts +235 -0
  235. package/typechain-types/IPOffchainStorage.ts +146 -0
  236. package/typechain-types/IPPriceFeed.ts +81 -0
  237. package/typechain-types/ISilo.ts +1093 -0
  238. package/typechain-types/ISiloIncentiveController.ts +129 -0
  239. package/typechain-types/ISiloLens.ts +107 -0
  240. package/typechain-types/KyberMathHelper.ts +604 -0
  241. package/typechain-types/KyberNftManagerBaseUpg.ts +148 -0
  242. package/typechain-types/MlpPricingHelper.ts +397 -0
  243. package/typechain-types/PendleAuraBalancerStableLPSYV3Upg.ts +1577 -0
  244. package/typechain-types/PendleERC20PermitUpg.ts +517 -0
  245. package/typechain-types/PendleERC20Upg.ts +348 -0
  246. package/typechain-types/PendleGMV2TokenSY.ts +1434 -0
  247. package/typechain-types/PendleKyberElasticSYUpg.ts +1648 -0
  248. package/typechain-types/PendleLinearDistributor.ts +829 -0
  249. package/typechain-types/PendleMerkleDistributor.ts +610 -0
  250. package/typechain-types/PendleMlpSY.ts +1606 -0
  251. package/typechain-types/PendleOffchainStorage.ts +666 -0
  252. package/typechain-types/PendleRouter.ts +217 -0
  253. package/typechain-types/PendleRouterHelper2.ts +185 -0
  254. package/typechain-types/PendleSiloWithIncentiveSY.ts +1455 -0
  255. package/typechain-types/ReentrancyGuardUpgradeable.ts +68 -0
  256. package/typechain-types/SYBaseUpg.ts +1270 -0
  257. package/typechain-types/SYBaseWithRewardsUpg.ts +1363 -0
  258. package/typechain-types/ShortStrings.ts +57 -0
  259. package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
  260. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1676 -0
  261. package/typechain-types/factories/ActionMintRedeem__factory.ts +806 -0
  262. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  263. package/typechain-types/factories/ActionMisc__factory.ts +129 -0
  264. package/typechain-types/factories/ActionSwapPT__factory.ts +770 -0
  265. package/typechain-types/factories/ActionSwapYT__factory.ts +1041 -0
  266. package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +1264 -0
  267. package/typechain-types/factories/BeaconProxy__factory.ts +141 -0
  268. package/typechain-types/factories/BulkSellerFactory__factory.ts +574 -0
  269. package/typechain-types/factories/BulkSellerOffchain__factory.ts +178 -0
  270. package/typechain-types/factories/BulkSeller__factory.ts +692 -0
  271. package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
  272. package/typechain-types/factories/EIP712__factory.ts +85 -0
  273. package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
  274. package/typechain-types/factories/GMTokenPricingHelper__factory.ts +354 -0
  275. package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
  276. package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
  277. package/typechain-types/factories/IERC1967__factory.ts +68 -0
  278. package/typechain-types/factories/IERC5267Upgradeable__factory.ts +75 -0
  279. package/typechain-types/factories/IERC5267__factory.ts +72 -0
  280. package/typechain-types/factories/IGMXPriceHelper__factory.ts +45 -0
  281. package/typechain-types/factories/IGMXV2DataStore__factory.ts +45 -0
  282. package/typechain-types/factories/IGMXV2Oracle__factory.ts +47 -0
  283. package/typechain-types/factories/IGMXV2Reader__factory.ts +192 -0
  284. package/typechain-types/factories/IKyberElasticFactory__factory.ts +455 -0
  285. package/typechain-types/factories/IKyberElasticPool__factory.ts +315 -0
  286. package/typechain-types/factories/IKyberElasticRouter__factory.ts +240 -0
  287. package/typechain-types/factories/IKyberLiquidityMining__factory.ts +913 -0
  288. package/typechain-types/factories/IKyberMathHelper__factory.ts +143 -0
  289. package/typechain-types/factories/IKyberPositionManager__factory.ts +633 -0
  290. package/typechain-types/factories/IMUXRewardRouter__factory.ts +885 -0
  291. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +1446 -0
  292. package/typechain-types/factories/IPActionMintRedeem__factory.ts +720 -0
  293. package/typechain-types/factories/IPActionMisc__factory.ts +91 -0
  294. package/typechain-types/factories/IPActionSwapPT__factory.ts +544 -0
  295. package/typechain-types/factories/IPActionSwapYT__factory.ts +723 -0
  296. package/typechain-types/factories/IPAllAction__factory.ts +3515 -0
  297. package/typechain-types/factories/IPBulkSellerCallback__factory.ts +53 -0
  298. package/typechain-types/factories/IPBulkSellerFactory__factory.ts +107 -0
  299. package/typechain-types/factories/IPBulkSeller__factory.ts +333 -0
  300. package/typechain-types/factories/IPLinearDistributor__factory.ts +150 -0
  301. package/typechain-types/factories/IPMerkleDistributor__factory.ts +165 -0
  302. package/typechain-types/factories/IPOffchainStorage__factory.ts +82 -0
  303. package/typechain-types/factories/IPPriceFeed__factory.ts +36 -0
  304. package/typechain-types/factories/ISiloIncentiveController__factory.ts +67 -0
  305. package/typechain-types/factories/ISiloLens__factory.ts +47 -0
  306. package/typechain-types/factories/ISilo__factory.ts +846 -0
  307. package/typechain-types/factories/KyberMathHelper__factory.ts +430 -0
  308. package/typechain-types/factories/KyberNftManagerBaseUpg__factory.ts +101 -0
  309. package/typechain-types/factories/MlpPricingHelper__factory.ts +303 -0
  310. package/typechain-types/factories/PendleAuraBalancerStableLPSYV3Upg__factory.ts +1209 -0
  311. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
  312. package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
  313. package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +1240 -0
  314. package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +1351 -0
  315. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  316. package/typechain-types/factories/PendleLinearDistributor__factory.ts +627 -0
  317. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +488 -0
  318. package/typechain-types/factories/PendleMlpSY__factory.ts +1314 -0
  319. package/typechain-types/factories/PendleOffchainStorage__factory.ts +492 -0
  320. package/typechain-types/factories/PendleRouterHelper2__factory.ts +206 -0
  321. package/typechain-types/factories/PendleRouterV3__factory.ts +1 -1
  322. package/typechain-types/factories/PendleRouter__factory.ts +264 -0
  323. package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +1266 -0
  324. package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
  325. package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
  326. package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  327. package/typechain-types/factories/SYBaseUpg__factory.ts +988 -0
  328. package/typechain-types/factories/SYBaseWithRewardsUpg__factory.ts +1061 -0
  329. package/typechain-types/factories/ShortStrings__factory.ts +77 -0
  330. package/typechain-types/hardhat.d.ts +675 -117
  331. package/typechain-types/index.ts +152 -20
@@ -0,0 +1,723 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPActionSwapYT,
9
+ IPActionSwapYTInterface,
10
+ } from "../IPActionSwapYT";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "caller",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "market",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "address",
31
+ name: "receiver",
32
+ type: "address",
33
+ },
34
+ {
35
+ indexed: false,
36
+ internalType: "int256",
37
+ name: "netPtToAccount",
38
+ type: "int256",
39
+ },
40
+ {
41
+ indexed: false,
42
+ internalType: "int256",
43
+ name: "netYtToAccount",
44
+ type: "int256",
45
+ },
46
+ ],
47
+ name: "SwapPtAndYt",
48
+ type: "event",
49
+ },
50
+ {
51
+ anonymous: false,
52
+ inputs: [
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "caller",
57
+ type: "address",
58
+ },
59
+ {
60
+ indexed: true,
61
+ internalType: "address",
62
+ name: "market",
63
+ type: "address",
64
+ },
65
+ {
66
+ indexed: true,
67
+ internalType: "address",
68
+ name: "receiver",
69
+ type: "address",
70
+ },
71
+ {
72
+ indexed: false,
73
+ internalType: "int256",
74
+ name: "netYtToAccount",
75
+ type: "int256",
76
+ },
77
+ {
78
+ indexed: false,
79
+ internalType: "int256",
80
+ name: "netSyToAccount",
81
+ type: "int256",
82
+ },
83
+ ],
84
+ name: "SwapYtAndSy",
85
+ type: "event",
86
+ },
87
+ {
88
+ anonymous: false,
89
+ inputs: [
90
+ {
91
+ indexed: true,
92
+ internalType: "address",
93
+ name: "caller",
94
+ type: "address",
95
+ },
96
+ {
97
+ indexed: true,
98
+ internalType: "address",
99
+ name: "market",
100
+ type: "address",
101
+ },
102
+ {
103
+ indexed: true,
104
+ internalType: "address",
105
+ name: "token",
106
+ type: "address",
107
+ },
108
+ {
109
+ indexed: false,
110
+ internalType: "address",
111
+ name: "receiver",
112
+ type: "address",
113
+ },
114
+ {
115
+ indexed: false,
116
+ internalType: "int256",
117
+ name: "netYtToAccount",
118
+ type: "int256",
119
+ },
120
+ {
121
+ indexed: false,
122
+ internalType: "int256",
123
+ name: "netTokenToAccount",
124
+ type: "int256",
125
+ },
126
+ ],
127
+ name: "SwapYtAndToken",
128
+ type: "event",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "address",
134
+ name: "receiver",
135
+ type: "address",
136
+ },
137
+ {
138
+ internalType: "address",
139
+ name: "market",
140
+ type: "address",
141
+ },
142
+ {
143
+ internalType: "uint256",
144
+ name: "exactPtIn",
145
+ type: "uint256",
146
+ },
147
+ {
148
+ internalType: "uint256",
149
+ name: "minYtOut",
150
+ type: "uint256",
151
+ },
152
+ {
153
+ components: [
154
+ {
155
+ internalType: "uint256",
156
+ name: "guessMin",
157
+ type: "uint256",
158
+ },
159
+ {
160
+ internalType: "uint256",
161
+ name: "guessMax",
162
+ type: "uint256",
163
+ },
164
+ {
165
+ internalType: "uint256",
166
+ name: "guessOffchain",
167
+ type: "uint256",
168
+ },
169
+ {
170
+ internalType: "uint256",
171
+ name: "maxIteration",
172
+ type: "uint256",
173
+ },
174
+ {
175
+ internalType: "uint256",
176
+ name: "eps",
177
+ type: "uint256",
178
+ },
179
+ ],
180
+ internalType: "struct ApproxParams",
181
+ name: "guessTotalPtToSwap",
182
+ type: "tuple",
183
+ },
184
+ ],
185
+ name: "swapExactPtForYt",
186
+ outputs: [
187
+ {
188
+ internalType: "uint256",
189
+ name: "netYtOut",
190
+ type: "uint256",
191
+ },
192
+ {
193
+ internalType: "uint256",
194
+ name: "netSyFee",
195
+ type: "uint256",
196
+ },
197
+ ],
198
+ stateMutability: "nonpayable",
199
+ type: "function",
200
+ },
201
+ {
202
+ inputs: [
203
+ {
204
+ internalType: "address",
205
+ name: "receiver",
206
+ type: "address",
207
+ },
208
+ {
209
+ internalType: "address",
210
+ name: "market",
211
+ type: "address",
212
+ },
213
+ {
214
+ internalType: "uint256",
215
+ name: "exactSyIn",
216
+ type: "uint256",
217
+ },
218
+ {
219
+ internalType: "uint256",
220
+ name: "minYtOut",
221
+ type: "uint256",
222
+ },
223
+ {
224
+ components: [
225
+ {
226
+ internalType: "uint256",
227
+ name: "guessMin",
228
+ type: "uint256",
229
+ },
230
+ {
231
+ internalType: "uint256",
232
+ name: "guessMax",
233
+ type: "uint256",
234
+ },
235
+ {
236
+ internalType: "uint256",
237
+ name: "guessOffchain",
238
+ type: "uint256",
239
+ },
240
+ {
241
+ internalType: "uint256",
242
+ name: "maxIteration",
243
+ type: "uint256",
244
+ },
245
+ {
246
+ internalType: "uint256",
247
+ name: "eps",
248
+ type: "uint256",
249
+ },
250
+ ],
251
+ internalType: "struct ApproxParams",
252
+ name: "guessYtOut",
253
+ type: "tuple",
254
+ },
255
+ ],
256
+ name: "swapExactSyForYt",
257
+ outputs: [
258
+ {
259
+ internalType: "uint256",
260
+ name: "netYtOut",
261
+ type: "uint256",
262
+ },
263
+ {
264
+ internalType: "uint256",
265
+ name: "netSyFee",
266
+ type: "uint256",
267
+ },
268
+ ],
269
+ stateMutability: "nonpayable",
270
+ type: "function",
271
+ },
272
+ {
273
+ inputs: [
274
+ {
275
+ internalType: "address",
276
+ name: "receiver",
277
+ type: "address",
278
+ },
279
+ {
280
+ internalType: "address",
281
+ name: "market",
282
+ type: "address",
283
+ },
284
+ {
285
+ internalType: "uint256",
286
+ name: "minYtOut",
287
+ type: "uint256",
288
+ },
289
+ {
290
+ components: [
291
+ {
292
+ internalType: "uint256",
293
+ name: "guessMin",
294
+ type: "uint256",
295
+ },
296
+ {
297
+ internalType: "uint256",
298
+ name: "guessMax",
299
+ type: "uint256",
300
+ },
301
+ {
302
+ internalType: "uint256",
303
+ name: "guessOffchain",
304
+ type: "uint256",
305
+ },
306
+ {
307
+ internalType: "uint256",
308
+ name: "maxIteration",
309
+ type: "uint256",
310
+ },
311
+ {
312
+ internalType: "uint256",
313
+ name: "eps",
314
+ type: "uint256",
315
+ },
316
+ ],
317
+ internalType: "struct ApproxParams",
318
+ name: "guessYtOut",
319
+ type: "tuple",
320
+ },
321
+ {
322
+ components: [
323
+ {
324
+ internalType: "address",
325
+ name: "tokenIn",
326
+ type: "address",
327
+ },
328
+ {
329
+ internalType: "uint256",
330
+ name: "netTokenIn",
331
+ type: "uint256",
332
+ },
333
+ {
334
+ internalType: "address",
335
+ name: "tokenMintSy",
336
+ type: "address",
337
+ },
338
+ {
339
+ internalType: "address",
340
+ name: "bulk",
341
+ type: "address",
342
+ },
343
+ {
344
+ internalType: "address",
345
+ name: "pendleSwap",
346
+ type: "address",
347
+ },
348
+ {
349
+ components: [
350
+ {
351
+ internalType: "enum SwapType",
352
+ name: "swapType",
353
+ type: "uint8",
354
+ },
355
+ {
356
+ internalType: "address",
357
+ name: "extRouter",
358
+ type: "address",
359
+ },
360
+ {
361
+ internalType: "bytes",
362
+ name: "extCalldata",
363
+ type: "bytes",
364
+ },
365
+ {
366
+ internalType: "bool",
367
+ name: "needScale",
368
+ type: "bool",
369
+ },
370
+ ],
371
+ internalType: "struct SwapData",
372
+ name: "swapData",
373
+ type: "tuple",
374
+ },
375
+ ],
376
+ internalType: "struct TokenInput",
377
+ name: "input",
378
+ type: "tuple",
379
+ },
380
+ ],
381
+ name: "swapExactTokenForYt",
382
+ outputs: [
383
+ {
384
+ internalType: "uint256",
385
+ name: "netYtOut",
386
+ type: "uint256",
387
+ },
388
+ {
389
+ internalType: "uint256",
390
+ name: "netSyFee",
391
+ type: "uint256",
392
+ },
393
+ ],
394
+ stateMutability: "payable",
395
+ type: "function",
396
+ },
397
+ {
398
+ inputs: [
399
+ {
400
+ internalType: "address",
401
+ name: "receiver",
402
+ type: "address",
403
+ },
404
+ {
405
+ internalType: "address",
406
+ name: "market",
407
+ type: "address",
408
+ },
409
+ {
410
+ internalType: "uint256",
411
+ name: "exactYtIn",
412
+ type: "uint256",
413
+ },
414
+ {
415
+ internalType: "uint256",
416
+ name: "minPtOut",
417
+ type: "uint256",
418
+ },
419
+ {
420
+ components: [
421
+ {
422
+ internalType: "uint256",
423
+ name: "guessMin",
424
+ type: "uint256",
425
+ },
426
+ {
427
+ internalType: "uint256",
428
+ name: "guessMax",
429
+ type: "uint256",
430
+ },
431
+ {
432
+ internalType: "uint256",
433
+ name: "guessOffchain",
434
+ type: "uint256",
435
+ },
436
+ {
437
+ internalType: "uint256",
438
+ name: "maxIteration",
439
+ type: "uint256",
440
+ },
441
+ {
442
+ internalType: "uint256",
443
+ name: "eps",
444
+ type: "uint256",
445
+ },
446
+ ],
447
+ internalType: "struct ApproxParams",
448
+ name: "guessTotalPtSwapped",
449
+ type: "tuple",
450
+ },
451
+ ],
452
+ name: "swapExactYtForPt",
453
+ outputs: [
454
+ {
455
+ internalType: "uint256",
456
+ name: "netPtOut",
457
+ type: "uint256",
458
+ },
459
+ {
460
+ internalType: "uint256",
461
+ name: "netSyFee",
462
+ type: "uint256",
463
+ },
464
+ ],
465
+ stateMutability: "nonpayable",
466
+ type: "function",
467
+ },
468
+ {
469
+ inputs: [
470
+ {
471
+ internalType: "address",
472
+ name: "receiver",
473
+ type: "address",
474
+ },
475
+ {
476
+ internalType: "address",
477
+ name: "market",
478
+ type: "address",
479
+ },
480
+ {
481
+ internalType: "uint256",
482
+ name: "exactYtIn",
483
+ type: "uint256",
484
+ },
485
+ {
486
+ internalType: "uint256",
487
+ name: "minSyOut",
488
+ type: "uint256",
489
+ },
490
+ ],
491
+ name: "swapExactYtForSy",
492
+ outputs: [
493
+ {
494
+ internalType: "uint256",
495
+ name: "netSyOut",
496
+ type: "uint256",
497
+ },
498
+ {
499
+ internalType: "uint256",
500
+ name: "netSyFee",
501
+ type: "uint256",
502
+ },
503
+ ],
504
+ stateMutability: "nonpayable",
505
+ type: "function",
506
+ },
507
+ {
508
+ inputs: [
509
+ {
510
+ internalType: "address",
511
+ name: "receiver",
512
+ type: "address",
513
+ },
514
+ {
515
+ internalType: "address",
516
+ name: "market",
517
+ type: "address",
518
+ },
519
+ {
520
+ internalType: "uint256",
521
+ name: "netYtIn",
522
+ type: "uint256",
523
+ },
524
+ {
525
+ components: [
526
+ {
527
+ internalType: "address",
528
+ name: "tokenOut",
529
+ type: "address",
530
+ },
531
+ {
532
+ internalType: "uint256",
533
+ name: "minTokenOut",
534
+ type: "uint256",
535
+ },
536
+ {
537
+ internalType: "address",
538
+ name: "tokenRedeemSy",
539
+ type: "address",
540
+ },
541
+ {
542
+ internalType: "address",
543
+ name: "bulk",
544
+ type: "address",
545
+ },
546
+ {
547
+ internalType: "address",
548
+ name: "pendleSwap",
549
+ type: "address",
550
+ },
551
+ {
552
+ components: [
553
+ {
554
+ internalType: "enum SwapType",
555
+ name: "swapType",
556
+ type: "uint8",
557
+ },
558
+ {
559
+ internalType: "address",
560
+ name: "extRouter",
561
+ type: "address",
562
+ },
563
+ {
564
+ internalType: "bytes",
565
+ name: "extCalldata",
566
+ type: "bytes",
567
+ },
568
+ {
569
+ internalType: "bool",
570
+ name: "needScale",
571
+ type: "bool",
572
+ },
573
+ ],
574
+ internalType: "struct SwapData",
575
+ name: "swapData",
576
+ type: "tuple",
577
+ },
578
+ ],
579
+ internalType: "struct TokenOutput",
580
+ name: "output",
581
+ type: "tuple",
582
+ },
583
+ ],
584
+ name: "swapExactYtForToken",
585
+ outputs: [
586
+ {
587
+ internalType: "uint256",
588
+ name: "netTokenOut",
589
+ type: "uint256",
590
+ },
591
+ {
592
+ internalType: "uint256",
593
+ name: "netSyFee",
594
+ type: "uint256",
595
+ },
596
+ ],
597
+ stateMutability: "nonpayable",
598
+ type: "function",
599
+ },
600
+ {
601
+ inputs: [
602
+ {
603
+ internalType: "address",
604
+ name: "receiver",
605
+ type: "address",
606
+ },
607
+ {
608
+ internalType: "address",
609
+ name: "market",
610
+ type: "address",
611
+ },
612
+ {
613
+ internalType: "uint256",
614
+ name: "exactYtOut",
615
+ type: "uint256",
616
+ },
617
+ {
618
+ internalType: "uint256",
619
+ name: "maxSyIn",
620
+ type: "uint256",
621
+ },
622
+ ],
623
+ name: "swapSyForExactYt",
624
+ outputs: [
625
+ {
626
+ internalType: "uint256",
627
+ name: "netSyIn",
628
+ type: "uint256",
629
+ },
630
+ {
631
+ internalType: "uint256",
632
+ name: "netSyFee",
633
+ type: "uint256",
634
+ },
635
+ ],
636
+ stateMutability: "nonpayable",
637
+ type: "function",
638
+ },
639
+ {
640
+ inputs: [
641
+ {
642
+ internalType: "address",
643
+ name: "receiver",
644
+ type: "address",
645
+ },
646
+ {
647
+ internalType: "address",
648
+ name: "market",
649
+ type: "address",
650
+ },
651
+ {
652
+ internalType: "uint256",
653
+ name: "exactSyOut",
654
+ type: "uint256",
655
+ },
656
+ {
657
+ internalType: "uint256",
658
+ name: "maxYtIn",
659
+ type: "uint256",
660
+ },
661
+ {
662
+ components: [
663
+ {
664
+ internalType: "uint256",
665
+ name: "guessMin",
666
+ type: "uint256",
667
+ },
668
+ {
669
+ internalType: "uint256",
670
+ name: "guessMax",
671
+ type: "uint256",
672
+ },
673
+ {
674
+ internalType: "uint256",
675
+ name: "guessOffchain",
676
+ type: "uint256",
677
+ },
678
+ {
679
+ internalType: "uint256",
680
+ name: "maxIteration",
681
+ type: "uint256",
682
+ },
683
+ {
684
+ internalType: "uint256",
685
+ name: "eps",
686
+ type: "uint256",
687
+ },
688
+ ],
689
+ internalType: "struct ApproxParams",
690
+ name: "guessYtIn",
691
+ type: "tuple",
692
+ },
693
+ ],
694
+ name: "swapYtForExactSy",
695
+ outputs: [
696
+ {
697
+ internalType: "uint256",
698
+ name: "netYtIn",
699
+ type: "uint256",
700
+ },
701
+ {
702
+ internalType: "uint256",
703
+ name: "netSyFee",
704
+ type: "uint256",
705
+ },
706
+ ],
707
+ stateMutability: "nonpayable",
708
+ type: "function",
709
+ },
710
+ ];
711
+
712
+ export class IPActionSwapYT__factory {
713
+ static readonly abi = _abi;
714
+ static createInterface(): IPActionSwapYTInterface {
715
+ return new utils.Interface(_abi) as IPActionSwapYTInterface;
716
+ }
717
+ static connect(
718
+ address: string,
719
+ signerOrProvider: Signer | Provider
720
+ ): IPActionSwapYT {
721
+ return new Contract(address, _abi, signerOrProvider) as IPActionSwapYT;
722
+ }
723
+ }