@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,3515 @@
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 { IPAllAction, IPAllActionInterface } from "../IPAllAction";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "caller",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "address",
22
+ name: "market",
23
+ type: "address",
24
+ },
25
+ {
26
+ indexed: true,
27
+ internalType: "address",
28
+ name: "receiver",
29
+ type: "address",
30
+ },
31
+ {
32
+ indexed: false,
33
+ internalType: "uint256",
34
+ name: "netSyUsed",
35
+ type: "uint256",
36
+ },
37
+ {
38
+ indexed: false,
39
+ internalType: "uint256",
40
+ name: "netPtUsed",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ indexed: false,
45
+ internalType: "uint256",
46
+ name: "netLpOut",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ name: "AddLiquidityDualSyAndPt",
51
+ type: "event",
52
+ },
53
+ {
54
+ anonymous: false,
55
+ inputs: [
56
+ {
57
+ indexed: true,
58
+ internalType: "address",
59
+ name: "caller",
60
+ type: "address",
61
+ },
62
+ {
63
+ indexed: true,
64
+ internalType: "address",
65
+ name: "market",
66
+ type: "address",
67
+ },
68
+ {
69
+ indexed: true,
70
+ internalType: "address",
71
+ name: "tokenIn",
72
+ type: "address",
73
+ },
74
+ {
75
+ indexed: false,
76
+ internalType: "address",
77
+ name: "receiver",
78
+ type: "address",
79
+ },
80
+ {
81
+ indexed: false,
82
+ internalType: "uint256",
83
+ name: "netTokenUsed",
84
+ type: "uint256",
85
+ },
86
+ {
87
+ indexed: false,
88
+ internalType: "uint256",
89
+ name: "netPtUsed",
90
+ type: "uint256",
91
+ },
92
+ {
93
+ indexed: false,
94
+ internalType: "uint256",
95
+ name: "netLpOut",
96
+ type: "uint256",
97
+ },
98
+ ],
99
+ name: "AddLiquidityDualTokenAndPt",
100
+ type: "event",
101
+ },
102
+ {
103
+ anonymous: false,
104
+ inputs: [
105
+ {
106
+ indexed: true,
107
+ internalType: "address",
108
+ name: "caller",
109
+ type: "address",
110
+ },
111
+ {
112
+ indexed: true,
113
+ internalType: "address",
114
+ name: "market",
115
+ type: "address",
116
+ },
117
+ {
118
+ indexed: true,
119
+ internalType: "address",
120
+ name: "receiver",
121
+ type: "address",
122
+ },
123
+ {
124
+ indexed: false,
125
+ internalType: "uint256",
126
+ name: "netPtIn",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ indexed: false,
131
+ internalType: "uint256",
132
+ name: "netLpOut",
133
+ type: "uint256",
134
+ },
135
+ ],
136
+ name: "AddLiquiditySinglePt",
137
+ type: "event",
138
+ },
139
+ {
140
+ anonymous: false,
141
+ inputs: [
142
+ {
143
+ indexed: true,
144
+ internalType: "address",
145
+ name: "caller",
146
+ type: "address",
147
+ },
148
+ {
149
+ indexed: true,
150
+ internalType: "address",
151
+ name: "market",
152
+ type: "address",
153
+ },
154
+ {
155
+ indexed: true,
156
+ internalType: "address",
157
+ name: "receiver",
158
+ type: "address",
159
+ },
160
+ {
161
+ indexed: false,
162
+ internalType: "uint256",
163
+ name: "netSyIn",
164
+ type: "uint256",
165
+ },
166
+ {
167
+ indexed: false,
168
+ internalType: "uint256",
169
+ name: "netLpOut",
170
+ type: "uint256",
171
+ },
172
+ ],
173
+ name: "AddLiquiditySingleSy",
174
+ type: "event",
175
+ },
176
+ {
177
+ anonymous: false,
178
+ inputs: [
179
+ {
180
+ indexed: true,
181
+ internalType: "address",
182
+ name: "caller",
183
+ type: "address",
184
+ },
185
+ {
186
+ indexed: true,
187
+ internalType: "address",
188
+ name: "market",
189
+ type: "address",
190
+ },
191
+ {
192
+ indexed: true,
193
+ internalType: "address",
194
+ name: "receiver",
195
+ type: "address",
196
+ },
197
+ {
198
+ indexed: false,
199
+ internalType: "uint256",
200
+ name: "netSyIn",
201
+ type: "uint256",
202
+ },
203
+ {
204
+ indexed: false,
205
+ internalType: "uint256",
206
+ name: "netLpOut",
207
+ type: "uint256",
208
+ },
209
+ {
210
+ indexed: false,
211
+ internalType: "uint256",
212
+ name: "netYtOut",
213
+ type: "uint256",
214
+ },
215
+ ],
216
+ name: "AddLiquiditySingleSyKeepYt",
217
+ type: "event",
218
+ },
219
+ {
220
+ anonymous: false,
221
+ inputs: [
222
+ {
223
+ indexed: true,
224
+ internalType: "address",
225
+ name: "caller",
226
+ type: "address",
227
+ },
228
+ {
229
+ indexed: true,
230
+ internalType: "address",
231
+ name: "market",
232
+ type: "address",
233
+ },
234
+ {
235
+ indexed: true,
236
+ internalType: "address",
237
+ name: "token",
238
+ type: "address",
239
+ },
240
+ {
241
+ indexed: false,
242
+ internalType: "address",
243
+ name: "receiver",
244
+ type: "address",
245
+ },
246
+ {
247
+ indexed: false,
248
+ internalType: "uint256",
249
+ name: "netTokenIn",
250
+ type: "uint256",
251
+ },
252
+ {
253
+ indexed: false,
254
+ internalType: "uint256",
255
+ name: "netLpOut",
256
+ type: "uint256",
257
+ },
258
+ ],
259
+ name: "AddLiquiditySingleToken",
260
+ type: "event",
261
+ },
262
+ {
263
+ anonymous: false,
264
+ inputs: [
265
+ {
266
+ indexed: true,
267
+ internalType: "address",
268
+ name: "caller",
269
+ type: "address",
270
+ },
271
+ {
272
+ indexed: true,
273
+ internalType: "address",
274
+ name: "market",
275
+ type: "address",
276
+ },
277
+ {
278
+ indexed: true,
279
+ internalType: "address",
280
+ name: "token",
281
+ type: "address",
282
+ },
283
+ {
284
+ indexed: false,
285
+ internalType: "address",
286
+ name: "receiver",
287
+ type: "address",
288
+ },
289
+ {
290
+ indexed: false,
291
+ internalType: "uint256",
292
+ name: "netTokenIn",
293
+ type: "uint256",
294
+ },
295
+ {
296
+ indexed: false,
297
+ internalType: "uint256",
298
+ name: "netLpOut",
299
+ type: "uint256",
300
+ },
301
+ {
302
+ indexed: false,
303
+ internalType: "uint256",
304
+ name: "netYtOut",
305
+ type: "uint256",
306
+ },
307
+ ],
308
+ name: "AddLiquiditySingleTokenKeepYt",
309
+ type: "event",
310
+ },
311
+ {
312
+ anonymous: false,
313
+ inputs: [
314
+ {
315
+ indexed: true,
316
+ internalType: "address",
317
+ name: "caller",
318
+ type: "address",
319
+ },
320
+ {
321
+ indexed: true,
322
+ internalType: "address",
323
+ name: "receiver",
324
+ type: "address",
325
+ },
326
+ {
327
+ indexed: true,
328
+ internalType: "address",
329
+ name: "YT",
330
+ type: "address",
331
+ },
332
+ {
333
+ indexed: false,
334
+ internalType: "uint256",
335
+ name: "netSyIn",
336
+ type: "uint256",
337
+ },
338
+ {
339
+ indexed: false,
340
+ internalType: "uint256",
341
+ name: "netPyOut",
342
+ type: "uint256",
343
+ },
344
+ ],
345
+ name: "MintPyFromSy",
346
+ type: "event",
347
+ },
348
+ {
349
+ anonymous: false,
350
+ inputs: [
351
+ {
352
+ indexed: true,
353
+ internalType: "address",
354
+ name: "caller",
355
+ type: "address",
356
+ },
357
+ {
358
+ indexed: true,
359
+ internalType: "address",
360
+ name: "tokenIn",
361
+ type: "address",
362
+ },
363
+ {
364
+ indexed: true,
365
+ internalType: "address",
366
+ name: "YT",
367
+ type: "address",
368
+ },
369
+ {
370
+ indexed: false,
371
+ internalType: "address",
372
+ name: "receiver",
373
+ type: "address",
374
+ },
375
+ {
376
+ indexed: false,
377
+ internalType: "uint256",
378
+ name: "netTokenIn",
379
+ type: "uint256",
380
+ },
381
+ {
382
+ indexed: false,
383
+ internalType: "uint256",
384
+ name: "netPyOut",
385
+ type: "uint256",
386
+ },
387
+ ],
388
+ name: "MintPyFromToken",
389
+ type: "event",
390
+ },
391
+ {
392
+ anonymous: false,
393
+ inputs: [
394
+ {
395
+ indexed: true,
396
+ internalType: "address",
397
+ name: "caller",
398
+ type: "address",
399
+ },
400
+ {
401
+ indexed: true,
402
+ internalType: "address",
403
+ name: "tokenIn",
404
+ type: "address",
405
+ },
406
+ {
407
+ indexed: true,
408
+ internalType: "address",
409
+ name: "SY",
410
+ type: "address",
411
+ },
412
+ {
413
+ indexed: false,
414
+ internalType: "address",
415
+ name: "receiver",
416
+ type: "address",
417
+ },
418
+ {
419
+ indexed: false,
420
+ internalType: "uint256",
421
+ name: "netTokenIn",
422
+ type: "uint256",
423
+ },
424
+ {
425
+ indexed: false,
426
+ internalType: "uint256",
427
+ name: "netSyOut",
428
+ type: "uint256",
429
+ },
430
+ ],
431
+ name: "MintSyFromToken",
432
+ type: "event",
433
+ },
434
+ {
435
+ anonymous: false,
436
+ inputs: [
437
+ {
438
+ indexed: true,
439
+ internalType: "address",
440
+ name: "caller",
441
+ type: "address",
442
+ },
443
+ {
444
+ indexed: true,
445
+ internalType: "address",
446
+ name: "receiver",
447
+ type: "address",
448
+ },
449
+ {
450
+ indexed: true,
451
+ internalType: "address",
452
+ name: "YT",
453
+ type: "address",
454
+ },
455
+ {
456
+ indexed: false,
457
+ internalType: "uint256",
458
+ name: "netPyIn",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ indexed: false,
463
+ internalType: "uint256",
464
+ name: "netSyOut",
465
+ type: "uint256",
466
+ },
467
+ ],
468
+ name: "RedeemPyToSy",
469
+ type: "event",
470
+ },
471
+ {
472
+ anonymous: false,
473
+ inputs: [
474
+ {
475
+ indexed: true,
476
+ internalType: "address",
477
+ name: "caller",
478
+ type: "address",
479
+ },
480
+ {
481
+ indexed: true,
482
+ internalType: "address",
483
+ name: "tokenOut",
484
+ type: "address",
485
+ },
486
+ {
487
+ indexed: true,
488
+ internalType: "address",
489
+ name: "YT",
490
+ type: "address",
491
+ },
492
+ {
493
+ indexed: false,
494
+ internalType: "address",
495
+ name: "receiver",
496
+ type: "address",
497
+ },
498
+ {
499
+ indexed: false,
500
+ internalType: "uint256",
501
+ name: "netPyIn",
502
+ type: "uint256",
503
+ },
504
+ {
505
+ indexed: false,
506
+ internalType: "uint256",
507
+ name: "netTokenOut",
508
+ type: "uint256",
509
+ },
510
+ ],
511
+ name: "RedeemPyToToken",
512
+ type: "event",
513
+ },
514
+ {
515
+ anonymous: false,
516
+ inputs: [
517
+ {
518
+ indexed: true,
519
+ internalType: "address",
520
+ name: "caller",
521
+ type: "address",
522
+ },
523
+ {
524
+ indexed: true,
525
+ internalType: "address",
526
+ name: "tokenOut",
527
+ type: "address",
528
+ },
529
+ {
530
+ indexed: true,
531
+ internalType: "address",
532
+ name: "SY",
533
+ type: "address",
534
+ },
535
+ {
536
+ indexed: false,
537
+ internalType: "address",
538
+ name: "receiver",
539
+ type: "address",
540
+ },
541
+ {
542
+ indexed: false,
543
+ internalType: "uint256",
544
+ name: "netSyIn",
545
+ type: "uint256",
546
+ },
547
+ {
548
+ indexed: false,
549
+ internalType: "uint256",
550
+ name: "netTokenOut",
551
+ type: "uint256",
552
+ },
553
+ ],
554
+ name: "RedeemSyToToken",
555
+ type: "event",
556
+ },
557
+ {
558
+ anonymous: false,
559
+ inputs: [
560
+ {
561
+ indexed: true,
562
+ internalType: "address",
563
+ name: "caller",
564
+ type: "address",
565
+ },
566
+ {
567
+ indexed: true,
568
+ internalType: "address",
569
+ name: "market",
570
+ type: "address",
571
+ },
572
+ {
573
+ indexed: true,
574
+ internalType: "address",
575
+ name: "receiver",
576
+ type: "address",
577
+ },
578
+ {
579
+ indexed: false,
580
+ internalType: "uint256",
581
+ name: "netLpToRemove",
582
+ type: "uint256",
583
+ },
584
+ {
585
+ indexed: false,
586
+ internalType: "uint256",
587
+ name: "netPtOut",
588
+ type: "uint256",
589
+ },
590
+ {
591
+ indexed: false,
592
+ internalType: "uint256",
593
+ name: "netSyOut",
594
+ type: "uint256",
595
+ },
596
+ ],
597
+ name: "RemoveLiquidityDualSyAndPt",
598
+ type: "event",
599
+ },
600
+ {
601
+ anonymous: false,
602
+ inputs: [
603
+ {
604
+ indexed: true,
605
+ internalType: "address",
606
+ name: "caller",
607
+ type: "address",
608
+ },
609
+ {
610
+ indexed: true,
611
+ internalType: "address",
612
+ name: "market",
613
+ type: "address",
614
+ },
615
+ {
616
+ indexed: true,
617
+ internalType: "address",
618
+ name: "tokenOut",
619
+ type: "address",
620
+ },
621
+ {
622
+ indexed: false,
623
+ internalType: "address",
624
+ name: "receiver",
625
+ type: "address",
626
+ },
627
+ {
628
+ indexed: false,
629
+ internalType: "uint256",
630
+ name: "netLpToRemove",
631
+ type: "uint256",
632
+ },
633
+ {
634
+ indexed: false,
635
+ internalType: "uint256",
636
+ name: "netPtOut",
637
+ type: "uint256",
638
+ },
639
+ {
640
+ indexed: false,
641
+ internalType: "uint256",
642
+ name: "netTokenOut",
643
+ type: "uint256",
644
+ },
645
+ ],
646
+ name: "RemoveLiquidityDualTokenAndPt",
647
+ type: "event",
648
+ },
649
+ {
650
+ anonymous: false,
651
+ inputs: [
652
+ {
653
+ indexed: true,
654
+ internalType: "address",
655
+ name: "caller",
656
+ type: "address",
657
+ },
658
+ {
659
+ indexed: true,
660
+ internalType: "address",
661
+ name: "market",
662
+ type: "address",
663
+ },
664
+ {
665
+ indexed: true,
666
+ internalType: "address",
667
+ name: "receiver",
668
+ type: "address",
669
+ },
670
+ {
671
+ indexed: false,
672
+ internalType: "uint256",
673
+ name: "netLpToRemove",
674
+ type: "uint256",
675
+ },
676
+ {
677
+ indexed: false,
678
+ internalType: "uint256",
679
+ name: "netPtOut",
680
+ type: "uint256",
681
+ },
682
+ ],
683
+ name: "RemoveLiquiditySinglePt",
684
+ type: "event",
685
+ },
686
+ {
687
+ anonymous: false,
688
+ inputs: [
689
+ {
690
+ indexed: true,
691
+ internalType: "address",
692
+ name: "caller",
693
+ type: "address",
694
+ },
695
+ {
696
+ indexed: true,
697
+ internalType: "address",
698
+ name: "market",
699
+ type: "address",
700
+ },
701
+ {
702
+ indexed: true,
703
+ internalType: "address",
704
+ name: "receiver",
705
+ type: "address",
706
+ },
707
+ {
708
+ indexed: false,
709
+ internalType: "uint256",
710
+ name: "netLpToRemove",
711
+ type: "uint256",
712
+ },
713
+ {
714
+ indexed: false,
715
+ internalType: "uint256",
716
+ name: "netSyOut",
717
+ type: "uint256",
718
+ },
719
+ ],
720
+ name: "RemoveLiquiditySingleSy",
721
+ type: "event",
722
+ },
723
+ {
724
+ anonymous: false,
725
+ inputs: [
726
+ {
727
+ indexed: true,
728
+ internalType: "address",
729
+ name: "caller",
730
+ type: "address",
731
+ },
732
+ {
733
+ indexed: true,
734
+ internalType: "address",
735
+ name: "market",
736
+ type: "address",
737
+ },
738
+ {
739
+ indexed: true,
740
+ internalType: "address",
741
+ name: "token",
742
+ type: "address",
743
+ },
744
+ {
745
+ indexed: false,
746
+ internalType: "address",
747
+ name: "receiver",
748
+ type: "address",
749
+ },
750
+ {
751
+ indexed: false,
752
+ internalType: "uint256",
753
+ name: "netLpToRemove",
754
+ type: "uint256",
755
+ },
756
+ {
757
+ indexed: false,
758
+ internalType: "uint256",
759
+ name: "netTokenOut",
760
+ type: "uint256",
761
+ },
762
+ ],
763
+ name: "RemoveLiquiditySingleToken",
764
+ type: "event",
765
+ },
766
+ {
767
+ anonymous: false,
768
+ inputs: [
769
+ {
770
+ indexed: true,
771
+ internalType: "address",
772
+ name: "caller",
773
+ type: "address",
774
+ },
775
+ {
776
+ indexed: true,
777
+ internalType: "address",
778
+ name: "market",
779
+ type: "address",
780
+ },
781
+ {
782
+ indexed: true,
783
+ internalType: "address",
784
+ name: "receiver",
785
+ type: "address",
786
+ },
787
+ {
788
+ indexed: false,
789
+ internalType: "int256",
790
+ name: "netPtToAccount",
791
+ type: "int256",
792
+ },
793
+ {
794
+ indexed: false,
795
+ internalType: "int256",
796
+ name: "netSyToAccount",
797
+ type: "int256",
798
+ },
799
+ ],
800
+ name: "SwapPtAndSy",
801
+ type: "event",
802
+ },
803
+ {
804
+ anonymous: false,
805
+ inputs: [
806
+ {
807
+ indexed: true,
808
+ internalType: "address",
809
+ name: "caller",
810
+ type: "address",
811
+ },
812
+ {
813
+ indexed: true,
814
+ internalType: "address",
815
+ name: "market",
816
+ type: "address",
817
+ },
818
+ {
819
+ indexed: true,
820
+ internalType: "address",
821
+ name: "token",
822
+ type: "address",
823
+ },
824
+ {
825
+ indexed: false,
826
+ internalType: "address",
827
+ name: "receiver",
828
+ type: "address",
829
+ },
830
+ {
831
+ indexed: false,
832
+ internalType: "int256",
833
+ name: "netPtToAccount",
834
+ type: "int256",
835
+ },
836
+ {
837
+ indexed: false,
838
+ internalType: "int256",
839
+ name: "netTokenToAccount",
840
+ type: "int256",
841
+ },
842
+ ],
843
+ name: "SwapPtAndToken",
844
+ type: "event",
845
+ },
846
+ {
847
+ anonymous: false,
848
+ inputs: [
849
+ {
850
+ indexed: true,
851
+ internalType: "address",
852
+ name: "caller",
853
+ type: "address",
854
+ },
855
+ {
856
+ indexed: true,
857
+ internalType: "address",
858
+ name: "market",
859
+ type: "address",
860
+ },
861
+ {
862
+ indexed: true,
863
+ internalType: "address",
864
+ name: "receiver",
865
+ type: "address",
866
+ },
867
+ {
868
+ indexed: false,
869
+ internalType: "int256",
870
+ name: "netPtToAccount",
871
+ type: "int256",
872
+ },
873
+ {
874
+ indexed: false,
875
+ internalType: "int256",
876
+ name: "netYtToAccount",
877
+ type: "int256",
878
+ },
879
+ ],
880
+ name: "SwapPtAndYt",
881
+ type: "event",
882
+ },
883
+ {
884
+ anonymous: false,
885
+ inputs: [
886
+ {
887
+ indexed: true,
888
+ internalType: "address",
889
+ name: "caller",
890
+ type: "address",
891
+ },
892
+ {
893
+ indexed: true,
894
+ internalType: "address",
895
+ name: "market",
896
+ type: "address",
897
+ },
898
+ {
899
+ indexed: true,
900
+ internalType: "address",
901
+ name: "receiver",
902
+ type: "address",
903
+ },
904
+ {
905
+ indexed: false,
906
+ internalType: "int256",
907
+ name: "netYtToAccount",
908
+ type: "int256",
909
+ },
910
+ {
911
+ indexed: false,
912
+ internalType: "int256",
913
+ name: "netSyToAccount",
914
+ type: "int256",
915
+ },
916
+ ],
917
+ name: "SwapYtAndSy",
918
+ type: "event",
919
+ },
920
+ {
921
+ anonymous: false,
922
+ inputs: [
923
+ {
924
+ indexed: true,
925
+ internalType: "address",
926
+ name: "caller",
927
+ type: "address",
928
+ },
929
+ {
930
+ indexed: true,
931
+ internalType: "address",
932
+ name: "market",
933
+ type: "address",
934
+ },
935
+ {
936
+ indexed: true,
937
+ internalType: "address",
938
+ name: "token",
939
+ type: "address",
940
+ },
941
+ {
942
+ indexed: false,
943
+ internalType: "address",
944
+ name: "receiver",
945
+ type: "address",
946
+ },
947
+ {
948
+ indexed: false,
949
+ internalType: "int256",
950
+ name: "netYtToAccount",
951
+ type: "int256",
952
+ },
953
+ {
954
+ indexed: false,
955
+ internalType: "int256",
956
+ name: "netTokenToAccount",
957
+ type: "int256",
958
+ },
959
+ ],
960
+ name: "SwapYtAndToken",
961
+ type: "event",
962
+ },
963
+ {
964
+ inputs: [
965
+ {
966
+ internalType: "address",
967
+ name: "receiver",
968
+ type: "address",
969
+ },
970
+ {
971
+ internalType: "address",
972
+ name: "market",
973
+ type: "address",
974
+ },
975
+ {
976
+ internalType: "uint256",
977
+ name: "netSyDesired",
978
+ type: "uint256",
979
+ },
980
+ {
981
+ internalType: "uint256",
982
+ name: "netPtDesired",
983
+ type: "uint256",
984
+ },
985
+ {
986
+ internalType: "uint256",
987
+ name: "minLpOut",
988
+ type: "uint256",
989
+ },
990
+ ],
991
+ name: "addLiquidityDualSyAndPt",
992
+ outputs: [
993
+ {
994
+ internalType: "uint256",
995
+ name: "netLpOut",
996
+ type: "uint256",
997
+ },
998
+ {
999
+ internalType: "uint256",
1000
+ name: "netSyUsed",
1001
+ type: "uint256",
1002
+ },
1003
+ {
1004
+ internalType: "uint256",
1005
+ name: "netPtUsed",
1006
+ type: "uint256",
1007
+ },
1008
+ ],
1009
+ stateMutability: "nonpayable",
1010
+ type: "function",
1011
+ },
1012
+ {
1013
+ inputs: [
1014
+ {
1015
+ internalType: "address",
1016
+ name: "receiver",
1017
+ type: "address",
1018
+ },
1019
+ {
1020
+ internalType: "address",
1021
+ name: "market",
1022
+ type: "address",
1023
+ },
1024
+ {
1025
+ components: [
1026
+ {
1027
+ internalType: "address",
1028
+ name: "tokenIn",
1029
+ type: "address",
1030
+ },
1031
+ {
1032
+ internalType: "uint256",
1033
+ name: "netTokenIn",
1034
+ type: "uint256",
1035
+ },
1036
+ {
1037
+ internalType: "address",
1038
+ name: "tokenMintSy",
1039
+ type: "address",
1040
+ },
1041
+ {
1042
+ internalType: "address",
1043
+ name: "bulk",
1044
+ type: "address",
1045
+ },
1046
+ {
1047
+ internalType: "address",
1048
+ name: "pendleSwap",
1049
+ type: "address",
1050
+ },
1051
+ {
1052
+ components: [
1053
+ {
1054
+ internalType: "enum SwapType",
1055
+ name: "swapType",
1056
+ type: "uint8",
1057
+ },
1058
+ {
1059
+ internalType: "address",
1060
+ name: "extRouter",
1061
+ type: "address",
1062
+ },
1063
+ {
1064
+ internalType: "bytes",
1065
+ name: "extCalldata",
1066
+ type: "bytes",
1067
+ },
1068
+ {
1069
+ internalType: "bool",
1070
+ name: "needScale",
1071
+ type: "bool",
1072
+ },
1073
+ ],
1074
+ internalType: "struct SwapData",
1075
+ name: "swapData",
1076
+ type: "tuple",
1077
+ },
1078
+ ],
1079
+ internalType: "struct TokenInput",
1080
+ name: "input",
1081
+ type: "tuple",
1082
+ },
1083
+ {
1084
+ internalType: "uint256",
1085
+ name: "netPtDesired",
1086
+ type: "uint256",
1087
+ },
1088
+ {
1089
+ internalType: "uint256",
1090
+ name: "minLpOut",
1091
+ type: "uint256",
1092
+ },
1093
+ ],
1094
+ name: "addLiquidityDualTokenAndPt",
1095
+ outputs: [
1096
+ {
1097
+ internalType: "uint256",
1098
+ name: "netLpOut",
1099
+ type: "uint256",
1100
+ },
1101
+ {
1102
+ internalType: "uint256",
1103
+ name: "netTokenUsed",
1104
+ type: "uint256",
1105
+ },
1106
+ {
1107
+ internalType: "uint256",
1108
+ name: "netPtUsed",
1109
+ type: "uint256",
1110
+ },
1111
+ ],
1112
+ stateMutability: "payable",
1113
+ type: "function",
1114
+ },
1115
+ {
1116
+ inputs: [
1117
+ {
1118
+ internalType: "address",
1119
+ name: "receiver",
1120
+ type: "address",
1121
+ },
1122
+ {
1123
+ internalType: "address",
1124
+ name: "market",
1125
+ type: "address",
1126
+ },
1127
+ {
1128
+ internalType: "uint256",
1129
+ name: "netPtIn",
1130
+ type: "uint256",
1131
+ },
1132
+ {
1133
+ internalType: "uint256",
1134
+ name: "minLpOut",
1135
+ type: "uint256",
1136
+ },
1137
+ {
1138
+ components: [
1139
+ {
1140
+ internalType: "uint256",
1141
+ name: "guessMin",
1142
+ type: "uint256",
1143
+ },
1144
+ {
1145
+ internalType: "uint256",
1146
+ name: "guessMax",
1147
+ type: "uint256",
1148
+ },
1149
+ {
1150
+ internalType: "uint256",
1151
+ name: "guessOffchain",
1152
+ type: "uint256",
1153
+ },
1154
+ {
1155
+ internalType: "uint256",
1156
+ name: "maxIteration",
1157
+ type: "uint256",
1158
+ },
1159
+ {
1160
+ internalType: "uint256",
1161
+ name: "eps",
1162
+ type: "uint256",
1163
+ },
1164
+ ],
1165
+ internalType: "struct ApproxParams",
1166
+ name: "guessPtSwapToSy",
1167
+ type: "tuple",
1168
+ },
1169
+ ],
1170
+ name: "addLiquiditySinglePt",
1171
+ outputs: [
1172
+ {
1173
+ internalType: "uint256",
1174
+ name: "netLpOut",
1175
+ type: "uint256",
1176
+ },
1177
+ {
1178
+ internalType: "uint256",
1179
+ name: "netSyFee",
1180
+ type: "uint256",
1181
+ },
1182
+ ],
1183
+ stateMutability: "nonpayable",
1184
+ type: "function",
1185
+ },
1186
+ {
1187
+ inputs: [
1188
+ {
1189
+ internalType: "address",
1190
+ name: "receiver",
1191
+ type: "address",
1192
+ },
1193
+ {
1194
+ internalType: "address",
1195
+ name: "market",
1196
+ type: "address",
1197
+ },
1198
+ {
1199
+ internalType: "uint256",
1200
+ name: "netSyIn",
1201
+ type: "uint256",
1202
+ },
1203
+ {
1204
+ internalType: "uint256",
1205
+ name: "minLpOut",
1206
+ type: "uint256",
1207
+ },
1208
+ {
1209
+ components: [
1210
+ {
1211
+ internalType: "uint256",
1212
+ name: "guessMin",
1213
+ type: "uint256",
1214
+ },
1215
+ {
1216
+ internalType: "uint256",
1217
+ name: "guessMax",
1218
+ type: "uint256",
1219
+ },
1220
+ {
1221
+ internalType: "uint256",
1222
+ name: "guessOffchain",
1223
+ type: "uint256",
1224
+ },
1225
+ {
1226
+ internalType: "uint256",
1227
+ name: "maxIteration",
1228
+ type: "uint256",
1229
+ },
1230
+ {
1231
+ internalType: "uint256",
1232
+ name: "eps",
1233
+ type: "uint256",
1234
+ },
1235
+ ],
1236
+ internalType: "struct ApproxParams",
1237
+ name: "guessPtReceivedFromSy",
1238
+ type: "tuple",
1239
+ },
1240
+ ],
1241
+ name: "addLiquiditySingleSy",
1242
+ outputs: [
1243
+ {
1244
+ internalType: "uint256",
1245
+ name: "netLpOut",
1246
+ type: "uint256",
1247
+ },
1248
+ {
1249
+ internalType: "uint256",
1250
+ name: "netSyFee",
1251
+ type: "uint256",
1252
+ },
1253
+ ],
1254
+ stateMutability: "nonpayable",
1255
+ type: "function",
1256
+ },
1257
+ {
1258
+ inputs: [
1259
+ {
1260
+ internalType: "address",
1261
+ name: "receiver",
1262
+ type: "address",
1263
+ },
1264
+ {
1265
+ internalType: "address",
1266
+ name: "market",
1267
+ type: "address",
1268
+ },
1269
+ {
1270
+ internalType: "uint256",
1271
+ name: "netSyIn",
1272
+ type: "uint256",
1273
+ },
1274
+ {
1275
+ internalType: "uint256",
1276
+ name: "minLpOut",
1277
+ type: "uint256",
1278
+ },
1279
+ {
1280
+ internalType: "uint256",
1281
+ name: "minYtOut",
1282
+ type: "uint256",
1283
+ },
1284
+ ],
1285
+ name: "addLiquiditySingleSyKeepYt",
1286
+ outputs: [
1287
+ {
1288
+ internalType: "uint256",
1289
+ name: "netLpOut",
1290
+ type: "uint256",
1291
+ },
1292
+ {
1293
+ internalType: "uint256",
1294
+ name: "netYtOut",
1295
+ type: "uint256",
1296
+ },
1297
+ ],
1298
+ stateMutability: "nonpayable",
1299
+ type: "function",
1300
+ },
1301
+ {
1302
+ inputs: [
1303
+ {
1304
+ internalType: "address",
1305
+ name: "receiver",
1306
+ type: "address",
1307
+ },
1308
+ {
1309
+ internalType: "address",
1310
+ name: "market",
1311
+ type: "address",
1312
+ },
1313
+ {
1314
+ internalType: "uint256",
1315
+ name: "minLpOut",
1316
+ type: "uint256",
1317
+ },
1318
+ {
1319
+ components: [
1320
+ {
1321
+ internalType: "uint256",
1322
+ name: "guessMin",
1323
+ type: "uint256",
1324
+ },
1325
+ {
1326
+ internalType: "uint256",
1327
+ name: "guessMax",
1328
+ type: "uint256",
1329
+ },
1330
+ {
1331
+ internalType: "uint256",
1332
+ name: "guessOffchain",
1333
+ type: "uint256",
1334
+ },
1335
+ {
1336
+ internalType: "uint256",
1337
+ name: "maxIteration",
1338
+ type: "uint256",
1339
+ },
1340
+ {
1341
+ internalType: "uint256",
1342
+ name: "eps",
1343
+ type: "uint256",
1344
+ },
1345
+ ],
1346
+ internalType: "struct ApproxParams",
1347
+ name: "guessPtReceivedFromSy",
1348
+ type: "tuple",
1349
+ },
1350
+ {
1351
+ components: [
1352
+ {
1353
+ internalType: "address",
1354
+ name: "tokenIn",
1355
+ type: "address",
1356
+ },
1357
+ {
1358
+ internalType: "uint256",
1359
+ name: "netTokenIn",
1360
+ type: "uint256",
1361
+ },
1362
+ {
1363
+ internalType: "address",
1364
+ name: "tokenMintSy",
1365
+ type: "address",
1366
+ },
1367
+ {
1368
+ internalType: "address",
1369
+ name: "bulk",
1370
+ type: "address",
1371
+ },
1372
+ {
1373
+ internalType: "address",
1374
+ name: "pendleSwap",
1375
+ type: "address",
1376
+ },
1377
+ {
1378
+ components: [
1379
+ {
1380
+ internalType: "enum SwapType",
1381
+ name: "swapType",
1382
+ type: "uint8",
1383
+ },
1384
+ {
1385
+ internalType: "address",
1386
+ name: "extRouter",
1387
+ type: "address",
1388
+ },
1389
+ {
1390
+ internalType: "bytes",
1391
+ name: "extCalldata",
1392
+ type: "bytes",
1393
+ },
1394
+ {
1395
+ internalType: "bool",
1396
+ name: "needScale",
1397
+ type: "bool",
1398
+ },
1399
+ ],
1400
+ internalType: "struct SwapData",
1401
+ name: "swapData",
1402
+ type: "tuple",
1403
+ },
1404
+ ],
1405
+ internalType: "struct TokenInput",
1406
+ name: "input",
1407
+ type: "tuple",
1408
+ },
1409
+ ],
1410
+ name: "addLiquiditySingleToken",
1411
+ outputs: [
1412
+ {
1413
+ internalType: "uint256",
1414
+ name: "netLpOut",
1415
+ type: "uint256",
1416
+ },
1417
+ {
1418
+ internalType: "uint256",
1419
+ name: "netSyFee",
1420
+ type: "uint256",
1421
+ },
1422
+ ],
1423
+ stateMutability: "payable",
1424
+ type: "function",
1425
+ },
1426
+ {
1427
+ inputs: [
1428
+ {
1429
+ internalType: "address",
1430
+ name: "receiver",
1431
+ type: "address",
1432
+ },
1433
+ {
1434
+ internalType: "address",
1435
+ name: "market",
1436
+ type: "address",
1437
+ },
1438
+ {
1439
+ internalType: "uint256",
1440
+ name: "minLpOut",
1441
+ type: "uint256",
1442
+ },
1443
+ {
1444
+ internalType: "uint256",
1445
+ name: "minYtOut",
1446
+ type: "uint256",
1447
+ },
1448
+ {
1449
+ components: [
1450
+ {
1451
+ internalType: "address",
1452
+ name: "tokenIn",
1453
+ type: "address",
1454
+ },
1455
+ {
1456
+ internalType: "uint256",
1457
+ name: "netTokenIn",
1458
+ type: "uint256",
1459
+ },
1460
+ {
1461
+ internalType: "address",
1462
+ name: "tokenMintSy",
1463
+ type: "address",
1464
+ },
1465
+ {
1466
+ internalType: "address",
1467
+ name: "bulk",
1468
+ type: "address",
1469
+ },
1470
+ {
1471
+ internalType: "address",
1472
+ name: "pendleSwap",
1473
+ type: "address",
1474
+ },
1475
+ {
1476
+ components: [
1477
+ {
1478
+ internalType: "enum SwapType",
1479
+ name: "swapType",
1480
+ type: "uint8",
1481
+ },
1482
+ {
1483
+ internalType: "address",
1484
+ name: "extRouter",
1485
+ type: "address",
1486
+ },
1487
+ {
1488
+ internalType: "bytes",
1489
+ name: "extCalldata",
1490
+ type: "bytes",
1491
+ },
1492
+ {
1493
+ internalType: "bool",
1494
+ name: "needScale",
1495
+ type: "bool",
1496
+ },
1497
+ ],
1498
+ internalType: "struct SwapData",
1499
+ name: "swapData",
1500
+ type: "tuple",
1501
+ },
1502
+ ],
1503
+ internalType: "struct TokenInput",
1504
+ name: "input",
1505
+ type: "tuple",
1506
+ },
1507
+ ],
1508
+ name: "addLiquiditySingleTokenKeepYt",
1509
+ outputs: [
1510
+ {
1511
+ internalType: "uint256",
1512
+ name: "netLpOut",
1513
+ type: "uint256",
1514
+ },
1515
+ {
1516
+ internalType: "uint256",
1517
+ name: "netYtOut",
1518
+ type: "uint256",
1519
+ },
1520
+ ],
1521
+ stateMutability: "nonpayable",
1522
+ type: "function",
1523
+ },
1524
+ {
1525
+ inputs: [
1526
+ {
1527
+ components: [
1528
+ {
1529
+ internalType: "address[]",
1530
+ name: "tokens",
1531
+ type: "address[]",
1532
+ },
1533
+ {
1534
+ internalType: "address",
1535
+ name: "spender",
1536
+ type: "address",
1537
+ },
1538
+ ],
1539
+ internalType: "struct IPActionMisc.MultiApproval[]",
1540
+ name: "",
1541
+ type: "tuple[]",
1542
+ },
1543
+ ],
1544
+ name: "approveInf",
1545
+ outputs: [],
1546
+ stateMutability: "nonpayable",
1547
+ type: "function",
1548
+ },
1549
+ {
1550
+ inputs: [
1551
+ {
1552
+ components: [
1553
+ {
1554
+ internalType: "bool",
1555
+ name: "allowFailure",
1556
+ type: "bool",
1557
+ },
1558
+ {
1559
+ internalType: "bytes",
1560
+ name: "callData",
1561
+ type: "bytes",
1562
+ },
1563
+ ],
1564
+ internalType: "struct IPActionMisc.Call3[]",
1565
+ name: "calls",
1566
+ type: "tuple[]",
1567
+ },
1568
+ ],
1569
+ name: "batchExec",
1570
+ outputs: [
1571
+ {
1572
+ components: [
1573
+ {
1574
+ internalType: "bool",
1575
+ name: "success",
1576
+ type: "bool",
1577
+ },
1578
+ {
1579
+ internalType: "bytes",
1580
+ name: "returnData",
1581
+ type: "bytes",
1582
+ },
1583
+ ],
1584
+ internalType: "struct IPActionMisc.Result[]",
1585
+ name: "returnData",
1586
+ type: "tuple[]",
1587
+ },
1588
+ ],
1589
+ stateMutability: "nonpayable",
1590
+ type: "function",
1591
+ },
1592
+ {
1593
+ inputs: [
1594
+ {
1595
+ internalType: "bytes4",
1596
+ name: "_functionSelector",
1597
+ type: "bytes4",
1598
+ },
1599
+ ],
1600
+ name: "facetAddress",
1601
+ outputs: [
1602
+ {
1603
+ internalType: "address",
1604
+ name: "facetAddress_",
1605
+ type: "address",
1606
+ },
1607
+ ],
1608
+ stateMutability: "view",
1609
+ type: "function",
1610
+ },
1611
+ {
1612
+ inputs: [],
1613
+ name: "facetAddresses",
1614
+ outputs: [
1615
+ {
1616
+ internalType: "address[]",
1617
+ name: "facetAddresses_",
1618
+ type: "address[]",
1619
+ },
1620
+ ],
1621
+ stateMutability: "view",
1622
+ type: "function",
1623
+ },
1624
+ {
1625
+ inputs: [
1626
+ {
1627
+ internalType: "address",
1628
+ name: "_facet",
1629
+ type: "address",
1630
+ },
1631
+ ],
1632
+ name: "facetFunctionSelectors",
1633
+ outputs: [
1634
+ {
1635
+ internalType: "bytes4[]",
1636
+ name: "facetFunctionSelectors_",
1637
+ type: "bytes4[]",
1638
+ },
1639
+ ],
1640
+ stateMutability: "view",
1641
+ type: "function",
1642
+ },
1643
+ {
1644
+ inputs: [],
1645
+ name: "facets",
1646
+ outputs: [
1647
+ {
1648
+ components: [
1649
+ {
1650
+ internalType: "address",
1651
+ name: "facetAddress",
1652
+ type: "address",
1653
+ },
1654
+ {
1655
+ internalType: "bytes4[]",
1656
+ name: "functionSelectors",
1657
+ type: "bytes4[]",
1658
+ },
1659
+ ],
1660
+ internalType: "struct IDiamondLoupe.Facet[]",
1661
+ name: "facets_",
1662
+ type: "tuple[]",
1663
+ },
1664
+ ],
1665
+ stateMutability: "view",
1666
+ type: "function",
1667
+ },
1668
+ {
1669
+ inputs: [
1670
+ {
1671
+ internalType: "address",
1672
+ name: "receiver",
1673
+ type: "address",
1674
+ },
1675
+ {
1676
+ internalType: "address",
1677
+ name: "YT",
1678
+ type: "address",
1679
+ },
1680
+ {
1681
+ internalType: "uint256",
1682
+ name: "netSyIn",
1683
+ type: "uint256",
1684
+ },
1685
+ {
1686
+ internalType: "uint256",
1687
+ name: "minPyOut",
1688
+ type: "uint256",
1689
+ },
1690
+ ],
1691
+ name: "mintPyFromSy",
1692
+ outputs: [
1693
+ {
1694
+ internalType: "uint256",
1695
+ name: "netPyOut",
1696
+ type: "uint256",
1697
+ },
1698
+ ],
1699
+ stateMutability: "nonpayable",
1700
+ type: "function",
1701
+ },
1702
+ {
1703
+ inputs: [
1704
+ {
1705
+ internalType: "address",
1706
+ name: "receiver",
1707
+ type: "address",
1708
+ },
1709
+ {
1710
+ internalType: "address",
1711
+ name: "YT",
1712
+ type: "address",
1713
+ },
1714
+ {
1715
+ internalType: "uint256",
1716
+ name: "minPyOut",
1717
+ type: "uint256",
1718
+ },
1719
+ {
1720
+ components: [
1721
+ {
1722
+ internalType: "address",
1723
+ name: "tokenIn",
1724
+ type: "address",
1725
+ },
1726
+ {
1727
+ internalType: "uint256",
1728
+ name: "netTokenIn",
1729
+ type: "uint256",
1730
+ },
1731
+ {
1732
+ internalType: "address",
1733
+ name: "tokenMintSy",
1734
+ type: "address",
1735
+ },
1736
+ {
1737
+ internalType: "address",
1738
+ name: "bulk",
1739
+ type: "address",
1740
+ },
1741
+ {
1742
+ internalType: "address",
1743
+ name: "pendleSwap",
1744
+ type: "address",
1745
+ },
1746
+ {
1747
+ components: [
1748
+ {
1749
+ internalType: "enum SwapType",
1750
+ name: "swapType",
1751
+ type: "uint8",
1752
+ },
1753
+ {
1754
+ internalType: "address",
1755
+ name: "extRouter",
1756
+ type: "address",
1757
+ },
1758
+ {
1759
+ internalType: "bytes",
1760
+ name: "extCalldata",
1761
+ type: "bytes",
1762
+ },
1763
+ {
1764
+ internalType: "bool",
1765
+ name: "needScale",
1766
+ type: "bool",
1767
+ },
1768
+ ],
1769
+ internalType: "struct SwapData",
1770
+ name: "swapData",
1771
+ type: "tuple",
1772
+ },
1773
+ ],
1774
+ internalType: "struct TokenInput",
1775
+ name: "input",
1776
+ type: "tuple",
1777
+ },
1778
+ ],
1779
+ name: "mintPyFromToken",
1780
+ outputs: [
1781
+ {
1782
+ internalType: "uint256",
1783
+ name: "netPyOut",
1784
+ type: "uint256",
1785
+ },
1786
+ ],
1787
+ stateMutability: "payable",
1788
+ type: "function",
1789
+ },
1790
+ {
1791
+ inputs: [
1792
+ {
1793
+ internalType: "address",
1794
+ name: "receiver",
1795
+ type: "address",
1796
+ },
1797
+ {
1798
+ internalType: "address",
1799
+ name: "SY",
1800
+ type: "address",
1801
+ },
1802
+ {
1803
+ internalType: "uint256",
1804
+ name: "minSyOut",
1805
+ type: "uint256",
1806
+ },
1807
+ {
1808
+ components: [
1809
+ {
1810
+ internalType: "address",
1811
+ name: "tokenIn",
1812
+ type: "address",
1813
+ },
1814
+ {
1815
+ internalType: "uint256",
1816
+ name: "netTokenIn",
1817
+ type: "uint256",
1818
+ },
1819
+ {
1820
+ internalType: "address",
1821
+ name: "tokenMintSy",
1822
+ type: "address",
1823
+ },
1824
+ {
1825
+ internalType: "address",
1826
+ name: "bulk",
1827
+ type: "address",
1828
+ },
1829
+ {
1830
+ internalType: "address",
1831
+ name: "pendleSwap",
1832
+ type: "address",
1833
+ },
1834
+ {
1835
+ components: [
1836
+ {
1837
+ internalType: "enum SwapType",
1838
+ name: "swapType",
1839
+ type: "uint8",
1840
+ },
1841
+ {
1842
+ internalType: "address",
1843
+ name: "extRouter",
1844
+ type: "address",
1845
+ },
1846
+ {
1847
+ internalType: "bytes",
1848
+ name: "extCalldata",
1849
+ type: "bytes",
1850
+ },
1851
+ {
1852
+ internalType: "bool",
1853
+ name: "needScale",
1854
+ type: "bool",
1855
+ },
1856
+ ],
1857
+ internalType: "struct SwapData",
1858
+ name: "swapData",
1859
+ type: "tuple",
1860
+ },
1861
+ ],
1862
+ internalType: "struct TokenInput",
1863
+ name: "input",
1864
+ type: "tuple",
1865
+ },
1866
+ ],
1867
+ name: "mintSyFromToken",
1868
+ outputs: [
1869
+ {
1870
+ internalType: "uint256",
1871
+ name: "netSyOut",
1872
+ type: "uint256",
1873
+ },
1874
+ ],
1875
+ stateMutability: "payable",
1876
+ type: "function",
1877
+ },
1878
+ {
1879
+ inputs: [
1880
+ {
1881
+ internalType: "address",
1882
+ name: "user",
1883
+ type: "address",
1884
+ },
1885
+ {
1886
+ internalType: "address[]",
1887
+ name: "sys",
1888
+ type: "address[]",
1889
+ },
1890
+ {
1891
+ internalType: "address[]",
1892
+ name: "yts",
1893
+ type: "address[]",
1894
+ },
1895
+ {
1896
+ internalType: "address[]",
1897
+ name: "markets",
1898
+ type: "address[]",
1899
+ },
1900
+ ],
1901
+ name: "redeemDueInterestAndRewards",
1902
+ outputs: [],
1903
+ stateMutability: "nonpayable",
1904
+ type: "function",
1905
+ },
1906
+ {
1907
+ inputs: [
1908
+ {
1909
+ internalType: "address",
1910
+ name: "receiver",
1911
+ type: "address",
1912
+ },
1913
+ {
1914
+ internalType: "address",
1915
+ name: "YT",
1916
+ type: "address",
1917
+ },
1918
+ {
1919
+ internalType: "uint256",
1920
+ name: "netPyIn",
1921
+ type: "uint256",
1922
+ },
1923
+ {
1924
+ internalType: "uint256",
1925
+ name: "minSyOut",
1926
+ type: "uint256",
1927
+ },
1928
+ ],
1929
+ name: "redeemPyToSy",
1930
+ outputs: [
1931
+ {
1932
+ internalType: "uint256",
1933
+ name: "netSyOut",
1934
+ type: "uint256",
1935
+ },
1936
+ ],
1937
+ stateMutability: "nonpayable",
1938
+ type: "function",
1939
+ },
1940
+ {
1941
+ inputs: [
1942
+ {
1943
+ internalType: "address",
1944
+ name: "receiver",
1945
+ type: "address",
1946
+ },
1947
+ {
1948
+ internalType: "address",
1949
+ name: "YT",
1950
+ type: "address",
1951
+ },
1952
+ {
1953
+ internalType: "uint256",
1954
+ name: "netPyIn",
1955
+ type: "uint256",
1956
+ },
1957
+ {
1958
+ components: [
1959
+ {
1960
+ internalType: "address",
1961
+ name: "tokenOut",
1962
+ type: "address",
1963
+ },
1964
+ {
1965
+ internalType: "uint256",
1966
+ name: "minTokenOut",
1967
+ type: "uint256",
1968
+ },
1969
+ {
1970
+ internalType: "address",
1971
+ name: "tokenRedeemSy",
1972
+ type: "address",
1973
+ },
1974
+ {
1975
+ internalType: "address",
1976
+ name: "bulk",
1977
+ type: "address",
1978
+ },
1979
+ {
1980
+ internalType: "address",
1981
+ name: "pendleSwap",
1982
+ type: "address",
1983
+ },
1984
+ {
1985
+ components: [
1986
+ {
1987
+ internalType: "enum SwapType",
1988
+ name: "swapType",
1989
+ type: "uint8",
1990
+ },
1991
+ {
1992
+ internalType: "address",
1993
+ name: "extRouter",
1994
+ type: "address",
1995
+ },
1996
+ {
1997
+ internalType: "bytes",
1998
+ name: "extCalldata",
1999
+ type: "bytes",
2000
+ },
2001
+ {
2002
+ internalType: "bool",
2003
+ name: "needScale",
2004
+ type: "bool",
2005
+ },
2006
+ ],
2007
+ internalType: "struct SwapData",
2008
+ name: "swapData",
2009
+ type: "tuple",
2010
+ },
2011
+ ],
2012
+ internalType: "struct TokenOutput",
2013
+ name: "output",
2014
+ type: "tuple",
2015
+ },
2016
+ ],
2017
+ name: "redeemPyToToken",
2018
+ outputs: [
2019
+ {
2020
+ internalType: "uint256",
2021
+ name: "netTokenOut",
2022
+ type: "uint256",
2023
+ },
2024
+ ],
2025
+ stateMutability: "nonpayable",
2026
+ type: "function",
2027
+ },
2028
+ {
2029
+ inputs: [
2030
+ {
2031
+ internalType: "address",
2032
+ name: "receiver",
2033
+ type: "address",
2034
+ },
2035
+ {
2036
+ internalType: "address",
2037
+ name: "SY",
2038
+ type: "address",
2039
+ },
2040
+ {
2041
+ internalType: "uint256",
2042
+ name: "netSyIn",
2043
+ type: "uint256",
2044
+ },
2045
+ {
2046
+ components: [
2047
+ {
2048
+ internalType: "address",
2049
+ name: "tokenOut",
2050
+ type: "address",
2051
+ },
2052
+ {
2053
+ internalType: "uint256",
2054
+ name: "minTokenOut",
2055
+ type: "uint256",
2056
+ },
2057
+ {
2058
+ internalType: "address",
2059
+ name: "tokenRedeemSy",
2060
+ type: "address",
2061
+ },
2062
+ {
2063
+ internalType: "address",
2064
+ name: "bulk",
2065
+ type: "address",
2066
+ },
2067
+ {
2068
+ internalType: "address",
2069
+ name: "pendleSwap",
2070
+ type: "address",
2071
+ },
2072
+ {
2073
+ components: [
2074
+ {
2075
+ internalType: "enum SwapType",
2076
+ name: "swapType",
2077
+ type: "uint8",
2078
+ },
2079
+ {
2080
+ internalType: "address",
2081
+ name: "extRouter",
2082
+ type: "address",
2083
+ },
2084
+ {
2085
+ internalType: "bytes",
2086
+ name: "extCalldata",
2087
+ type: "bytes",
2088
+ },
2089
+ {
2090
+ internalType: "bool",
2091
+ name: "needScale",
2092
+ type: "bool",
2093
+ },
2094
+ ],
2095
+ internalType: "struct SwapData",
2096
+ name: "swapData",
2097
+ type: "tuple",
2098
+ },
2099
+ ],
2100
+ internalType: "struct TokenOutput",
2101
+ name: "output",
2102
+ type: "tuple",
2103
+ },
2104
+ ],
2105
+ name: "redeemSyToToken",
2106
+ outputs: [
2107
+ {
2108
+ internalType: "uint256",
2109
+ name: "netTokenOut",
2110
+ type: "uint256",
2111
+ },
2112
+ ],
2113
+ stateMutability: "nonpayable",
2114
+ type: "function",
2115
+ },
2116
+ {
2117
+ inputs: [
2118
+ {
2119
+ internalType: "address",
2120
+ name: "receiver",
2121
+ type: "address",
2122
+ },
2123
+ {
2124
+ internalType: "address",
2125
+ name: "market",
2126
+ type: "address",
2127
+ },
2128
+ {
2129
+ internalType: "uint256",
2130
+ name: "netLpToRemove",
2131
+ type: "uint256",
2132
+ },
2133
+ {
2134
+ internalType: "uint256",
2135
+ name: "minSyOut",
2136
+ type: "uint256",
2137
+ },
2138
+ {
2139
+ internalType: "uint256",
2140
+ name: "minPtOut",
2141
+ type: "uint256",
2142
+ },
2143
+ ],
2144
+ name: "removeLiquidityDualSyAndPt",
2145
+ outputs: [
2146
+ {
2147
+ internalType: "uint256",
2148
+ name: "netSyOut",
2149
+ type: "uint256",
2150
+ },
2151
+ {
2152
+ internalType: "uint256",
2153
+ name: "netPtOut",
2154
+ type: "uint256",
2155
+ },
2156
+ ],
2157
+ stateMutability: "nonpayable",
2158
+ type: "function",
2159
+ },
2160
+ {
2161
+ inputs: [
2162
+ {
2163
+ internalType: "address",
2164
+ name: "receiver",
2165
+ type: "address",
2166
+ },
2167
+ {
2168
+ internalType: "address",
2169
+ name: "market",
2170
+ type: "address",
2171
+ },
2172
+ {
2173
+ internalType: "uint256",
2174
+ name: "netLpToRemove",
2175
+ type: "uint256",
2176
+ },
2177
+ {
2178
+ components: [
2179
+ {
2180
+ internalType: "address",
2181
+ name: "tokenOut",
2182
+ type: "address",
2183
+ },
2184
+ {
2185
+ internalType: "uint256",
2186
+ name: "minTokenOut",
2187
+ type: "uint256",
2188
+ },
2189
+ {
2190
+ internalType: "address",
2191
+ name: "tokenRedeemSy",
2192
+ type: "address",
2193
+ },
2194
+ {
2195
+ internalType: "address",
2196
+ name: "bulk",
2197
+ type: "address",
2198
+ },
2199
+ {
2200
+ internalType: "address",
2201
+ name: "pendleSwap",
2202
+ type: "address",
2203
+ },
2204
+ {
2205
+ components: [
2206
+ {
2207
+ internalType: "enum SwapType",
2208
+ name: "swapType",
2209
+ type: "uint8",
2210
+ },
2211
+ {
2212
+ internalType: "address",
2213
+ name: "extRouter",
2214
+ type: "address",
2215
+ },
2216
+ {
2217
+ internalType: "bytes",
2218
+ name: "extCalldata",
2219
+ type: "bytes",
2220
+ },
2221
+ {
2222
+ internalType: "bool",
2223
+ name: "needScale",
2224
+ type: "bool",
2225
+ },
2226
+ ],
2227
+ internalType: "struct SwapData",
2228
+ name: "swapData",
2229
+ type: "tuple",
2230
+ },
2231
+ ],
2232
+ internalType: "struct TokenOutput",
2233
+ name: "output",
2234
+ type: "tuple",
2235
+ },
2236
+ {
2237
+ internalType: "uint256",
2238
+ name: "minPtOut",
2239
+ type: "uint256",
2240
+ },
2241
+ ],
2242
+ name: "removeLiquidityDualTokenAndPt",
2243
+ outputs: [
2244
+ {
2245
+ internalType: "uint256",
2246
+ name: "netTokenOut",
2247
+ type: "uint256",
2248
+ },
2249
+ {
2250
+ internalType: "uint256",
2251
+ name: "netPtOut",
2252
+ type: "uint256",
2253
+ },
2254
+ ],
2255
+ stateMutability: "nonpayable",
2256
+ type: "function",
2257
+ },
2258
+ {
2259
+ inputs: [
2260
+ {
2261
+ internalType: "address",
2262
+ name: "receiver",
2263
+ type: "address",
2264
+ },
2265
+ {
2266
+ internalType: "address",
2267
+ name: "market",
2268
+ type: "address",
2269
+ },
2270
+ {
2271
+ internalType: "uint256",
2272
+ name: "netLpToRemove",
2273
+ type: "uint256",
2274
+ },
2275
+ {
2276
+ internalType: "uint256",
2277
+ name: "minPtOut",
2278
+ type: "uint256",
2279
+ },
2280
+ {
2281
+ components: [
2282
+ {
2283
+ internalType: "uint256",
2284
+ name: "guessMin",
2285
+ type: "uint256",
2286
+ },
2287
+ {
2288
+ internalType: "uint256",
2289
+ name: "guessMax",
2290
+ type: "uint256",
2291
+ },
2292
+ {
2293
+ internalType: "uint256",
2294
+ name: "guessOffchain",
2295
+ type: "uint256",
2296
+ },
2297
+ {
2298
+ internalType: "uint256",
2299
+ name: "maxIteration",
2300
+ type: "uint256",
2301
+ },
2302
+ {
2303
+ internalType: "uint256",
2304
+ name: "eps",
2305
+ type: "uint256",
2306
+ },
2307
+ ],
2308
+ internalType: "struct ApproxParams",
2309
+ name: "guessPtOut",
2310
+ type: "tuple",
2311
+ },
2312
+ ],
2313
+ name: "removeLiquiditySinglePt",
2314
+ outputs: [
2315
+ {
2316
+ internalType: "uint256",
2317
+ name: "netPtOut",
2318
+ type: "uint256",
2319
+ },
2320
+ {
2321
+ internalType: "uint256",
2322
+ name: "netSyFee",
2323
+ type: "uint256",
2324
+ },
2325
+ ],
2326
+ stateMutability: "nonpayable",
2327
+ type: "function",
2328
+ },
2329
+ {
2330
+ inputs: [
2331
+ {
2332
+ internalType: "address",
2333
+ name: "receiver",
2334
+ type: "address",
2335
+ },
2336
+ {
2337
+ internalType: "address",
2338
+ name: "market",
2339
+ type: "address",
2340
+ },
2341
+ {
2342
+ internalType: "uint256",
2343
+ name: "netLpToRemove",
2344
+ type: "uint256",
2345
+ },
2346
+ {
2347
+ internalType: "uint256",
2348
+ name: "minSyOut",
2349
+ type: "uint256",
2350
+ },
2351
+ ],
2352
+ name: "removeLiquiditySingleSy",
2353
+ outputs: [
2354
+ {
2355
+ internalType: "uint256",
2356
+ name: "netSyOut",
2357
+ type: "uint256",
2358
+ },
2359
+ {
2360
+ internalType: "uint256",
2361
+ name: "netSyFee",
2362
+ type: "uint256",
2363
+ },
2364
+ ],
2365
+ stateMutability: "nonpayable",
2366
+ type: "function",
2367
+ },
2368
+ {
2369
+ inputs: [
2370
+ {
2371
+ internalType: "address",
2372
+ name: "receiver",
2373
+ type: "address",
2374
+ },
2375
+ {
2376
+ internalType: "address",
2377
+ name: "market",
2378
+ type: "address",
2379
+ },
2380
+ {
2381
+ internalType: "uint256",
2382
+ name: "netLpToRemove",
2383
+ type: "uint256",
2384
+ },
2385
+ {
2386
+ components: [
2387
+ {
2388
+ internalType: "address",
2389
+ name: "tokenOut",
2390
+ type: "address",
2391
+ },
2392
+ {
2393
+ internalType: "uint256",
2394
+ name: "minTokenOut",
2395
+ type: "uint256",
2396
+ },
2397
+ {
2398
+ internalType: "address",
2399
+ name: "tokenRedeemSy",
2400
+ type: "address",
2401
+ },
2402
+ {
2403
+ internalType: "address",
2404
+ name: "bulk",
2405
+ type: "address",
2406
+ },
2407
+ {
2408
+ internalType: "address",
2409
+ name: "pendleSwap",
2410
+ type: "address",
2411
+ },
2412
+ {
2413
+ components: [
2414
+ {
2415
+ internalType: "enum SwapType",
2416
+ name: "swapType",
2417
+ type: "uint8",
2418
+ },
2419
+ {
2420
+ internalType: "address",
2421
+ name: "extRouter",
2422
+ type: "address",
2423
+ },
2424
+ {
2425
+ internalType: "bytes",
2426
+ name: "extCalldata",
2427
+ type: "bytes",
2428
+ },
2429
+ {
2430
+ internalType: "bool",
2431
+ name: "needScale",
2432
+ type: "bool",
2433
+ },
2434
+ ],
2435
+ internalType: "struct SwapData",
2436
+ name: "swapData",
2437
+ type: "tuple",
2438
+ },
2439
+ ],
2440
+ internalType: "struct TokenOutput",
2441
+ name: "output",
2442
+ type: "tuple",
2443
+ },
2444
+ ],
2445
+ name: "removeLiquiditySingleToken",
2446
+ outputs: [
2447
+ {
2448
+ internalType: "uint256",
2449
+ name: "netTokenOut",
2450
+ type: "uint256",
2451
+ },
2452
+ {
2453
+ internalType: "uint256",
2454
+ name: "netSyFee",
2455
+ type: "uint256",
2456
+ },
2457
+ ],
2458
+ stateMutability: "nonpayable",
2459
+ type: "function",
2460
+ },
2461
+ {
2462
+ inputs: [
2463
+ {
2464
+ internalType: "int256",
2465
+ name: "ptToAccount",
2466
+ type: "int256",
2467
+ },
2468
+ {
2469
+ internalType: "int256",
2470
+ name: "syToAccount",
2471
+ type: "int256",
2472
+ },
2473
+ {
2474
+ internalType: "bytes",
2475
+ name: "data",
2476
+ type: "bytes",
2477
+ },
2478
+ ],
2479
+ name: "swapCallback",
2480
+ outputs: [],
2481
+ stateMutability: "nonpayable",
2482
+ type: "function",
2483
+ },
2484
+ {
2485
+ inputs: [
2486
+ {
2487
+ internalType: "address",
2488
+ name: "receiver",
2489
+ type: "address",
2490
+ },
2491
+ {
2492
+ internalType: "address",
2493
+ name: "market",
2494
+ type: "address",
2495
+ },
2496
+ {
2497
+ internalType: "uint256",
2498
+ name: "exactPtIn",
2499
+ type: "uint256",
2500
+ },
2501
+ {
2502
+ internalType: "uint256",
2503
+ name: "minSyOut",
2504
+ type: "uint256",
2505
+ },
2506
+ ],
2507
+ name: "swapExactPtForSy",
2508
+ outputs: [
2509
+ {
2510
+ internalType: "uint256",
2511
+ name: "netSyOut",
2512
+ type: "uint256",
2513
+ },
2514
+ {
2515
+ internalType: "uint256",
2516
+ name: "netSyFee",
2517
+ type: "uint256",
2518
+ },
2519
+ ],
2520
+ stateMutability: "nonpayable",
2521
+ type: "function",
2522
+ },
2523
+ {
2524
+ inputs: [
2525
+ {
2526
+ internalType: "address",
2527
+ name: "receiver",
2528
+ type: "address",
2529
+ },
2530
+ {
2531
+ internalType: "address",
2532
+ name: "market",
2533
+ type: "address",
2534
+ },
2535
+ {
2536
+ internalType: "uint256",
2537
+ name: "exactPtIn",
2538
+ type: "uint256",
2539
+ },
2540
+ {
2541
+ components: [
2542
+ {
2543
+ internalType: "address",
2544
+ name: "tokenOut",
2545
+ type: "address",
2546
+ },
2547
+ {
2548
+ internalType: "uint256",
2549
+ name: "minTokenOut",
2550
+ type: "uint256",
2551
+ },
2552
+ {
2553
+ internalType: "address",
2554
+ name: "tokenRedeemSy",
2555
+ type: "address",
2556
+ },
2557
+ {
2558
+ internalType: "address",
2559
+ name: "bulk",
2560
+ type: "address",
2561
+ },
2562
+ {
2563
+ internalType: "address",
2564
+ name: "pendleSwap",
2565
+ type: "address",
2566
+ },
2567
+ {
2568
+ components: [
2569
+ {
2570
+ internalType: "enum SwapType",
2571
+ name: "swapType",
2572
+ type: "uint8",
2573
+ },
2574
+ {
2575
+ internalType: "address",
2576
+ name: "extRouter",
2577
+ type: "address",
2578
+ },
2579
+ {
2580
+ internalType: "bytes",
2581
+ name: "extCalldata",
2582
+ type: "bytes",
2583
+ },
2584
+ {
2585
+ internalType: "bool",
2586
+ name: "needScale",
2587
+ type: "bool",
2588
+ },
2589
+ ],
2590
+ internalType: "struct SwapData",
2591
+ name: "swapData",
2592
+ type: "tuple",
2593
+ },
2594
+ ],
2595
+ internalType: "struct TokenOutput",
2596
+ name: "output",
2597
+ type: "tuple",
2598
+ },
2599
+ ],
2600
+ name: "swapExactPtForToken",
2601
+ outputs: [
2602
+ {
2603
+ internalType: "uint256",
2604
+ name: "netTokenOut",
2605
+ type: "uint256",
2606
+ },
2607
+ {
2608
+ internalType: "uint256",
2609
+ name: "netSyFee",
2610
+ type: "uint256",
2611
+ },
2612
+ ],
2613
+ stateMutability: "nonpayable",
2614
+ type: "function",
2615
+ },
2616
+ {
2617
+ inputs: [
2618
+ {
2619
+ internalType: "address",
2620
+ name: "receiver",
2621
+ type: "address",
2622
+ },
2623
+ {
2624
+ internalType: "address",
2625
+ name: "market",
2626
+ type: "address",
2627
+ },
2628
+ {
2629
+ internalType: "uint256",
2630
+ name: "exactPtIn",
2631
+ type: "uint256",
2632
+ },
2633
+ {
2634
+ internalType: "uint256",
2635
+ name: "minYtOut",
2636
+ type: "uint256",
2637
+ },
2638
+ {
2639
+ components: [
2640
+ {
2641
+ internalType: "uint256",
2642
+ name: "guessMin",
2643
+ type: "uint256",
2644
+ },
2645
+ {
2646
+ internalType: "uint256",
2647
+ name: "guessMax",
2648
+ type: "uint256",
2649
+ },
2650
+ {
2651
+ internalType: "uint256",
2652
+ name: "guessOffchain",
2653
+ type: "uint256",
2654
+ },
2655
+ {
2656
+ internalType: "uint256",
2657
+ name: "maxIteration",
2658
+ type: "uint256",
2659
+ },
2660
+ {
2661
+ internalType: "uint256",
2662
+ name: "eps",
2663
+ type: "uint256",
2664
+ },
2665
+ ],
2666
+ internalType: "struct ApproxParams",
2667
+ name: "guessTotalPtToSwap",
2668
+ type: "tuple",
2669
+ },
2670
+ ],
2671
+ name: "swapExactPtForYt",
2672
+ outputs: [
2673
+ {
2674
+ internalType: "uint256",
2675
+ name: "netYtOut",
2676
+ type: "uint256",
2677
+ },
2678
+ {
2679
+ internalType: "uint256",
2680
+ name: "netSyFee",
2681
+ type: "uint256",
2682
+ },
2683
+ ],
2684
+ stateMutability: "nonpayable",
2685
+ type: "function",
2686
+ },
2687
+ {
2688
+ inputs: [
2689
+ {
2690
+ internalType: "address",
2691
+ name: "receiver",
2692
+ type: "address",
2693
+ },
2694
+ {
2695
+ internalType: "address",
2696
+ name: "market",
2697
+ type: "address",
2698
+ },
2699
+ {
2700
+ internalType: "uint256",
2701
+ name: "exactSyIn",
2702
+ type: "uint256",
2703
+ },
2704
+ {
2705
+ internalType: "uint256",
2706
+ name: "minPtOut",
2707
+ type: "uint256",
2708
+ },
2709
+ {
2710
+ components: [
2711
+ {
2712
+ internalType: "uint256",
2713
+ name: "guessMin",
2714
+ type: "uint256",
2715
+ },
2716
+ {
2717
+ internalType: "uint256",
2718
+ name: "guessMax",
2719
+ type: "uint256",
2720
+ },
2721
+ {
2722
+ internalType: "uint256",
2723
+ name: "guessOffchain",
2724
+ type: "uint256",
2725
+ },
2726
+ {
2727
+ internalType: "uint256",
2728
+ name: "maxIteration",
2729
+ type: "uint256",
2730
+ },
2731
+ {
2732
+ internalType: "uint256",
2733
+ name: "eps",
2734
+ type: "uint256",
2735
+ },
2736
+ ],
2737
+ internalType: "struct ApproxParams",
2738
+ name: "guessPtOut",
2739
+ type: "tuple",
2740
+ },
2741
+ ],
2742
+ name: "swapExactSyForPt",
2743
+ outputs: [
2744
+ {
2745
+ internalType: "uint256",
2746
+ name: "netPtOut",
2747
+ type: "uint256",
2748
+ },
2749
+ {
2750
+ internalType: "uint256",
2751
+ name: "netSyFee",
2752
+ type: "uint256",
2753
+ },
2754
+ ],
2755
+ stateMutability: "nonpayable",
2756
+ type: "function",
2757
+ },
2758
+ {
2759
+ inputs: [
2760
+ {
2761
+ internalType: "address",
2762
+ name: "receiver",
2763
+ type: "address",
2764
+ },
2765
+ {
2766
+ internalType: "address",
2767
+ name: "market",
2768
+ type: "address",
2769
+ },
2770
+ {
2771
+ internalType: "uint256",
2772
+ name: "exactSyIn",
2773
+ type: "uint256",
2774
+ },
2775
+ {
2776
+ internalType: "uint256",
2777
+ name: "minYtOut",
2778
+ type: "uint256",
2779
+ },
2780
+ {
2781
+ components: [
2782
+ {
2783
+ internalType: "uint256",
2784
+ name: "guessMin",
2785
+ type: "uint256",
2786
+ },
2787
+ {
2788
+ internalType: "uint256",
2789
+ name: "guessMax",
2790
+ type: "uint256",
2791
+ },
2792
+ {
2793
+ internalType: "uint256",
2794
+ name: "guessOffchain",
2795
+ type: "uint256",
2796
+ },
2797
+ {
2798
+ internalType: "uint256",
2799
+ name: "maxIteration",
2800
+ type: "uint256",
2801
+ },
2802
+ {
2803
+ internalType: "uint256",
2804
+ name: "eps",
2805
+ type: "uint256",
2806
+ },
2807
+ ],
2808
+ internalType: "struct ApproxParams",
2809
+ name: "guessYtOut",
2810
+ type: "tuple",
2811
+ },
2812
+ ],
2813
+ name: "swapExactSyForYt",
2814
+ outputs: [
2815
+ {
2816
+ internalType: "uint256",
2817
+ name: "netYtOut",
2818
+ type: "uint256",
2819
+ },
2820
+ {
2821
+ internalType: "uint256",
2822
+ name: "netSyFee",
2823
+ type: "uint256",
2824
+ },
2825
+ ],
2826
+ stateMutability: "nonpayable",
2827
+ type: "function",
2828
+ },
2829
+ {
2830
+ inputs: [
2831
+ {
2832
+ internalType: "address",
2833
+ name: "receiver",
2834
+ type: "address",
2835
+ },
2836
+ {
2837
+ internalType: "address",
2838
+ name: "market",
2839
+ type: "address",
2840
+ },
2841
+ {
2842
+ internalType: "uint256",
2843
+ name: "minPtOut",
2844
+ type: "uint256",
2845
+ },
2846
+ {
2847
+ components: [
2848
+ {
2849
+ internalType: "uint256",
2850
+ name: "guessMin",
2851
+ type: "uint256",
2852
+ },
2853
+ {
2854
+ internalType: "uint256",
2855
+ name: "guessMax",
2856
+ type: "uint256",
2857
+ },
2858
+ {
2859
+ internalType: "uint256",
2860
+ name: "guessOffchain",
2861
+ type: "uint256",
2862
+ },
2863
+ {
2864
+ internalType: "uint256",
2865
+ name: "maxIteration",
2866
+ type: "uint256",
2867
+ },
2868
+ {
2869
+ internalType: "uint256",
2870
+ name: "eps",
2871
+ type: "uint256",
2872
+ },
2873
+ ],
2874
+ internalType: "struct ApproxParams",
2875
+ name: "guessPtOut",
2876
+ type: "tuple",
2877
+ },
2878
+ {
2879
+ components: [
2880
+ {
2881
+ internalType: "address",
2882
+ name: "tokenIn",
2883
+ type: "address",
2884
+ },
2885
+ {
2886
+ internalType: "uint256",
2887
+ name: "netTokenIn",
2888
+ type: "uint256",
2889
+ },
2890
+ {
2891
+ internalType: "address",
2892
+ name: "tokenMintSy",
2893
+ type: "address",
2894
+ },
2895
+ {
2896
+ internalType: "address",
2897
+ name: "bulk",
2898
+ type: "address",
2899
+ },
2900
+ {
2901
+ internalType: "address",
2902
+ name: "pendleSwap",
2903
+ type: "address",
2904
+ },
2905
+ {
2906
+ components: [
2907
+ {
2908
+ internalType: "enum SwapType",
2909
+ name: "swapType",
2910
+ type: "uint8",
2911
+ },
2912
+ {
2913
+ internalType: "address",
2914
+ name: "extRouter",
2915
+ type: "address",
2916
+ },
2917
+ {
2918
+ internalType: "bytes",
2919
+ name: "extCalldata",
2920
+ type: "bytes",
2921
+ },
2922
+ {
2923
+ internalType: "bool",
2924
+ name: "needScale",
2925
+ type: "bool",
2926
+ },
2927
+ ],
2928
+ internalType: "struct SwapData",
2929
+ name: "swapData",
2930
+ type: "tuple",
2931
+ },
2932
+ ],
2933
+ internalType: "struct TokenInput",
2934
+ name: "input",
2935
+ type: "tuple",
2936
+ },
2937
+ ],
2938
+ name: "swapExactTokenForPt",
2939
+ outputs: [
2940
+ {
2941
+ internalType: "uint256",
2942
+ name: "netPtOut",
2943
+ type: "uint256",
2944
+ },
2945
+ {
2946
+ internalType: "uint256",
2947
+ name: "netSyFee",
2948
+ type: "uint256",
2949
+ },
2950
+ ],
2951
+ stateMutability: "payable",
2952
+ type: "function",
2953
+ },
2954
+ {
2955
+ inputs: [
2956
+ {
2957
+ internalType: "address",
2958
+ name: "receiver",
2959
+ type: "address",
2960
+ },
2961
+ {
2962
+ internalType: "address",
2963
+ name: "market",
2964
+ type: "address",
2965
+ },
2966
+ {
2967
+ internalType: "uint256",
2968
+ name: "minYtOut",
2969
+ type: "uint256",
2970
+ },
2971
+ {
2972
+ components: [
2973
+ {
2974
+ internalType: "uint256",
2975
+ name: "guessMin",
2976
+ type: "uint256",
2977
+ },
2978
+ {
2979
+ internalType: "uint256",
2980
+ name: "guessMax",
2981
+ type: "uint256",
2982
+ },
2983
+ {
2984
+ internalType: "uint256",
2985
+ name: "guessOffchain",
2986
+ type: "uint256",
2987
+ },
2988
+ {
2989
+ internalType: "uint256",
2990
+ name: "maxIteration",
2991
+ type: "uint256",
2992
+ },
2993
+ {
2994
+ internalType: "uint256",
2995
+ name: "eps",
2996
+ type: "uint256",
2997
+ },
2998
+ ],
2999
+ internalType: "struct ApproxParams",
3000
+ name: "guessYtOut",
3001
+ type: "tuple",
3002
+ },
3003
+ {
3004
+ components: [
3005
+ {
3006
+ internalType: "address",
3007
+ name: "tokenIn",
3008
+ type: "address",
3009
+ },
3010
+ {
3011
+ internalType: "uint256",
3012
+ name: "netTokenIn",
3013
+ type: "uint256",
3014
+ },
3015
+ {
3016
+ internalType: "address",
3017
+ name: "tokenMintSy",
3018
+ type: "address",
3019
+ },
3020
+ {
3021
+ internalType: "address",
3022
+ name: "bulk",
3023
+ type: "address",
3024
+ },
3025
+ {
3026
+ internalType: "address",
3027
+ name: "pendleSwap",
3028
+ type: "address",
3029
+ },
3030
+ {
3031
+ components: [
3032
+ {
3033
+ internalType: "enum SwapType",
3034
+ name: "swapType",
3035
+ type: "uint8",
3036
+ },
3037
+ {
3038
+ internalType: "address",
3039
+ name: "extRouter",
3040
+ type: "address",
3041
+ },
3042
+ {
3043
+ internalType: "bytes",
3044
+ name: "extCalldata",
3045
+ type: "bytes",
3046
+ },
3047
+ {
3048
+ internalType: "bool",
3049
+ name: "needScale",
3050
+ type: "bool",
3051
+ },
3052
+ ],
3053
+ internalType: "struct SwapData",
3054
+ name: "swapData",
3055
+ type: "tuple",
3056
+ },
3057
+ ],
3058
+ internalType: "struct TokenInput",
3059
+ name: "input",
3060
+ type: "tuple",
3061
+ },
3062
+ ],
3063
+ name: "swapExactTokenForYt",
3064
+ outputs: [
3065
+ {
3066
+ internalType: "uint256",
3067
+ name: "netYtOut",
3068
+ type: "uint256",
3069
+ },
3070
+ {
3071
+ internalType: "uint256",
3072
+ name: "netSyFee",
3073
+ type: "uint256",
3074
+ },
3075
+ ],
3076
+ stateMutability: "payable",
3077
+ type: "function",
3078
+ },
3079
+ {
3080
+ inputs: [
3081
+ {
3082
+ internalType: "address",
3083
+ name: "receiver",
3084
+ type: "address",
3085
+ },
3086
+ {
3087
+ internalType: "address",
3088
+ name: "market",
3089
+ type: "address",
3090
+ },
3091
+ {
3092
+ internalType: "uint256",
3093
+ name: "exactYtIn",
3094
+ type: "uint256",
3095
+ },
3096
+ {
3097
+ internalType: "uint256",
3098
+ name: "minPtOut",
3099
+ type: "uint256",
3100
+ },
3101
+ {
3102
+ components: [
3103
+ {
3104
+ internalType: "uint256",
3105
+ name: "guessMin",
3106
+ type: "uint256",
3107
+ },
3108
+ {
3109
+ internalType: "uint256",
3110
+ name: "guessMax",
3111
+ type: "uint256",
3112
+ },
3113
+ {
3114
+ internalType: "uint256",
3115
+ name: "guessOffchain",
3116
+ type: "uint256",
3117
+ },
3118
+ {
3119
+ internalType: "uint256",
3120
+ name: "maxIteration",
3121
+ type: "uint256",
3122
+ },
3123
+ {
3124
+ internalType: "uint256",
3125
+ name: "eps",
3126
+ type: "uint256",
3127
+ },
3128
+ ],
3129
+ internalType: "struct ApproxParams",
3130
+ name: "guessTotalPtSwapped",
3131
+ type: "tuple",
3132
+ },
3133
+ ],
3134
+ name: "swapExactYtForPt",
3135
+ outputs: [
3136
+ {
3137
+ internalType: "uint256",
3138
+ name: "netPtOut",
3139
+ type: "uint256",
3140
+ },
3141
+ {
3142
+ internalType: "uint256",
3143
+ name: "netSyFee",
3144
+ type: "uint256",
3145
+ },
3146
+ ],
3147
+ stateMutability: "nonpayable",
3148
+ type: "function",
3149
+ },
3150
+ {
3151
+ inputs: [
3152
+ {
3153
+ internalType: "address",
3154
+ name: "receiver",
3155
+ type: "address",
3156
+ },
3157
+ {
3158
+ internalType: "address",
3159
+ name: "market",
3160
+ type: "address",
3161
+ },
3162
+ {
3163
+ internalType: "uint256",
3164
+ name: "exactYtIn",
3165
+ type: "uint256",
3166
+ },
3167
+ {
3168
+ internalType: "uint256",
3169
+ name: "minSyOut",
3170
+ type: "uint256",
3171
+ },
3172
+ ],
3173
+ name: "swapExactYtForSy",
3174
+ outputs: [
3175
+ {
3176
+ internalType: "uint256",
3177
+ name: "netSyOut",
3178
+ type: "uint256",
3179
+ },
3180
+ {
3181
+ internalType: "uint256",
3182
+ name: "netSyFee",
3183
+ type: "uint256",
3184
+ },
3185
+ ],
3186
+ stateMutability: "nonpayable",
3187
+ type: "function",
3188
+ },
3189
+ {
3190
+ inputs: [
3191
+ {
3192
+ internalType: "address",
3193
+ name: "receiver",
3194
+ type: "address",
3195
+ },
3196
+ {
3197
+ internalType: "address",
3198
+ name: "market",
3199
+ type: "address",
3200
+ },
3201
+ {
3202
+ internalType: "uint256",
3203
+ name: "netYtIn",
3204
+ type: "uint256",
3205
+ },
3206
+ {
3207
+ components: [
3208
+ {
3209
+ internalType: "address",
3210
+ name: "tokenOut",
3211
+ type: "address",
3212
+ },
3213
+ {
3214
+ internalType: "uint256",
3215
+ name: "minTokenOut",
3216
+ type: "uint256",
3217
+ },
3218
+ {
3219
+ internalType: "address",
3220
+ name: "tokenRedeemSy",
3221
+ type: "address",
3222
+ },
3223
+ {
3224
+ internalType: "address",
3225
+ name: "bulk",
3226
+ type: "address",
3227
+ },
3228
+ {
3229
+ internalType: "address",
3230
+ name: "pendleSwap",
3231
+ type: "address",
3232
+ },
3233
+ {
3234
+ components: [
3235
+ {
3236
+ internalType: "enum SwapType",
3237
+ name: "swapType",
3238
+ type: "uint8",
3239
+ },
3240
+ {
3241
+ internalType: "address",
3242
+ name: "extRouter",
3243
+ type: "address",
3244
+ },
3245
+ {
3246
+ internalType: "bytes",
3247
+ name: "extCalldata",
3248
+ type: "bytes",
3249
+ },
3250
+ {
3251
+ internalType: "bool",
3252
+ name: "needScale",
3253
+ type: "bool",
3254
+ },
3255
+ ],
3256
+ internalType: "struct SwapData",
3257
+ name: "swapData",
3258
+ type: "tuple",
3259
+ },
3260
+ ],
3261
+ internalType: "struct TokenOutput",
3262
+ name: "output",
3263
+ type: "tuple",
3264
+ },
3265
+ ],
3266
+ name: "swapExactYtForToken",
3267
+ outputs: [
3268
+ {
3269
+ internalType: "uint256",
3270
+ name: "netTokenOut",
3271
+ type: "uint256",
3272
+ },
3273
+ {
3274
+ internalType: "uint256",
3275
+ name: "netSyFee",
3276
+ type: "uint256",
3277
+ },
3278
+ ],
3279
+ stateMutability: "nonpayable",
3280
+ type: "function",
3281
+ },
3282
+ {
3283
+ inputs: [
3284
+ {
3285
+ internalType: "address",
3286
+ name: "receiver",
3287
+ type: "address",
3288
+ },
3289
+ {
3290
+ internalType: "address",
3291
+ name: "market",
3292
+ type: "address",
3293
+ },
3294
+ {
3295
+ internalType: "uint256",
3296
+ name: "exactSyOut",
3297
+ type: "uint256",
3298
+ },
3299
+ {
3300
+ internalType: "uint256",
3301
+ name: "maxPtIn",
3302
+ type: "uint256",
3303
+ },
3304
+ {
3305
+ components: [
3306
+ {
3307
+ internalType: "uint256",
3308
+ name: "guessMin",
3309
+ type: "uint256",
3310
+ },
3311
+ {
3312
+ internalType: "uint256",
3313
+ name: "guessMax",
3314
+ type: "uint256",
3315
+ },
3316
+ {
3317
+ internalType: "uint256",
3318
+ name: "guessOffchain",
3319
+ type: "uint256",
3320
+ },
3321
+ {
3322
+ internalType: "uint256",
3323
+ name: "maxIteration",
3324
+ type: "uint256",
3325
+ },
3326
+ {
3327
+ internalType: "uint256",
3328
+ name: "eps",
3329
+ type: "uint256",
3330
+ },
3331
+ ],
3332
+ internalType: "struct ApproxParams",
3333
+ name: "guessPtIn",
3334
+ type: "tuple",
3335
+ },
3336
+ ],
3337
+ name: "swapPtForExactSy",
3338
+ outputs: [
3339
+ {
3340
+ internalType: "uint256",
3341
+ name: "netPtIn",
3342
+ type: "uint256",
3343
+ },
3344
+ {
3345
+ internalType: "uint256",
3346
+ name: "netSyFee",
3347
+ type: "uint256",
3348
+ },
3349
+ ],
3350
+ stateMutability: "nonpayable",
3351
+ type: "function",
3352
+ },
3353
+ {
3354
+ inputs: [
3355
+ {
3356
+ internalType: "address",
3357
+ name: "receiver",
3358
+ type: "address",
3359
+ },
3360
+ {
3361
+ internalType: "address",
3362
+ name: "market",
3363
+ type: "address",
3364
+ },
3365
+ {
3366
+ internalType: "uint256",
3367
+ name: "exactPtOut",
3368
+ type: "uint256",
3369
+ },
3370
+ {
3371
+ internalType: "uint256",
3372
+ name: "maxSyIn",
3373
+ type: "uint256",
3374
+ },
3375
+ ],
3376
+ name: "swapSyForExactPt",
3377
+ outputs: [
3378
+ {
3379
+ internalType: "uint256",
3380
+ name: "netSyIn",
3381
+ type: "uint256",
3382
+ },
3383
+ {
3384
+ internalType: "uint256",
3385
+ name: "netSyFee",
3386
+ type: "uint256",
3387
+ },
3388
+ ],
3389
+ stateMutability: "nonpayable",
3390
+ type: "function",
3391
+ },
3392
+ {
3393
+ inputs: [
3394
+ {
3395
+ internalType: "address",
3396
+ name: "receiver",
3397
+ type: "address",
3398
+ },
3399
+ {
3400
+ internalType: "address",
3401
+ name: "market",
3402
+ type: "address",
3403
+ },
3404
+ {
3405
+ internalType: "uint256",
3406
+ name: "exactYtOut",
3407
+ type: "uint256",
3408
+ },
3409
+ {
3410
+ internalType: "uint256",
3411
+ name: "maxSyIn",
3412
+ type: "uint256",
3413
+ },
3414
+ ],
3415
+ name: "swapSyForExactYt",
3416
+ outputs: [
3417
+ {
3418
+ internalType: "uint256",
3419
+ name: "netSyIn",
3420
+ type: "uint256",
3421
+ },
3422
+ {
3423
+ internalType: "uint256",
3424
+ name: "netSyFee",
3425
+ type: "uint256",
3426
+ },
3427
+ ],
3428
+ stateMutability: "nonpayable",
3429
+ type: "function",
3430
+ },
3431
+ {
3432
+ inputs: [
3433
+ {
3434
+ internalType: "address",
3435
+ name: "receiver",
3436
+ type: "address",
3437
+ },
3438
+ {
3439
+ internalType: "address",
3440
+ name: "market",
3441
+ type: "address",
3442
+ },
3443
+ {
3444
+ internalType: "uint256",
3445
+ name: "exactSyOut",
3446
+ type: "uint256",
3447
+ },
3448
+ {
3449
+ internalType: "uint256",
3450
+ name: "maxYtIn",
3451
+ type: "uint256",
3452
+ },
3453
+ {
3454
+ components: [
3455
+ {
3456
+ internalType: "uint256",
3457
+ name: "guessMin",
3458
+ type: "uint256",
3459
+ },
3460
+ {
3461
+ internalType: "uint256",
3462
+ name: "guessMax",
3463
+ type: "uint256",
3464
+ },
3465
+ {
3466
+ internalType: "uint256",
3467
+ name: "guessOffchain",
3468
+ type: "uint256",
3469
+ },
3470
+ {
3471
+ internalType: "uint256",
3472
+ name: "maxIteration",
3473
+ type: "uint256",
3474
+ },
3475
+ {
3476
+ internalType: "uint256",
3477
+ name: "eps",
3478
+ type: "uint256",
3479
+ },
3480
+ ],
3481
+ internalType: "struct ApproxParams",
3482
+ name: "guessYtIn",
3483
+ type: "tuple",
3484
+ },
3485
+ ],
3486
+ name: "swapYtForExactSy",
3487
+ outputs: [
3488
+ {
3489
+ internalType: "uint256",
3490
+ name: "netYtIn",
3491
+ type: "uint256",
3492
+ },
3493
+ {
3494
+ internalType: "uint256",
3495
+ name: "netSyFee",
3496
+ type: "uint256",
3497
+ },
3498
+ ],
3499
+ stateMutability: "nonpayable",
3500
+ type: "function",
3501
+ },
3502
+ ];
3503
+
3504
+ export class IPAllAction__factory {
3505
+ static readonly abi = _abi;
3506
+ static createInterface(): IPAllActionInterface {
3507
+ return new utils.Interface(_abi) as IPAllActionInterface;
3508
+ }
3509
+ static connect(
3510
+ address: string,
3511
+ signerOrProvider: Signer | Provider
3512
+ ): IPAllAction {
3513
+ return new Contract(address, _abi, signerOrProvider) as IPAllAction;
3514
+ }
3515
+ }