@pendle/core-v2 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (691) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  27. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  32. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  33. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  34. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  36. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  38. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.json +2 -2
  40. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  43. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  45. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.json +2 -2
  48. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +2 -2
  50. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +2 -2
  52. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +2 -2
  54. package/build/artifacts/contracts/core/RewardManager/PendleLinearDistributor.sol/PendleLinearDistributor.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/RewardManager/PendleLinearDistributor.sol/PendleLinearDistributor.json +2 -2
  56. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/SYBaseUpg.sol/SYBaseUpg.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +4 -0
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.json +1057 -0
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/AaveAdapterLib.sol/AaveAdapterLib.dbg.json +4 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/AaveAdapterLib.sol/AaveAdapterLib.json +10 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/WadRayMath.sol/WadRayMath.dbg.json +4 -0
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/WadRayMath.sol/WadRayMath.json +10 -0
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +2 -2
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.json +2 -2
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.json +2 -2
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.json +2 -2
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +2 -2
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +2 -2
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.dbg.json +1 -1
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  101. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  104. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.dbg.json +1 -1
  106. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  108. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  110. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  112. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  113. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +2 -2
  114. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +2 -2
  116. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  117. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  118. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +2 -2
  119. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  120. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
  121. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
  122. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +2 -2
  123. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +1 -1
  124. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  125. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  126. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  127. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  128. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  129. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  130. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  131. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  132. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
  133. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.json +2 -2
  134. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
  135. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.json +2 -2
  136. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  137. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/GMTokenPricingHelper.dbg.json +1 -1
  138. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2DataStore.dbg.json +1 -1
  139. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Oracle.dbg.json +1 -1
  140. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Reader.dbg.json +1 -1
  141. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.dbg.json +1 -1
  142. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.json +2 -2
  143. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  144. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  145. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/HLPPricingHelper.sol/HLPPricingHelper.dbg.json +1 -1
  146. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
  147. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.json +2 -2
  148. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol/KyberMathHelper.dbg.json +1 -1
  149. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberNftManagerBaseUpg.sol/KyberNftManagerBaseUpg.dbg.json +1 -1
  150. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
  151. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.json +2 -2
  152. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/FullMath.sol/FullMath.dbg.json +1 -1
  153. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiqDeltaMath.sol/LiqDeltaMath.dbg.json +1 -1
  154. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiquidityMath.sol/LiquidityMath.dbg.json +1 -1
  155. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/MathConstants.sol/MathConstants.dbg.json +1 -1
  156. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QtyDeltaMath.sol/QtyDeltaMath.dbg.json +1 -1
  157. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QuadMath.sol/QuadMath.dbg.json +1 -1
  158. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/ReinvestmentMath.sol/ReinvestmentMath.dbg.json +1 -1
  159. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SafeCast.sol/SafeCast.dbg.json +1 -1
  160. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SwapMath.sol/SwapMath.dbg.json +1 -1
  161. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/TickMath.sol/TickMath.dbg.json +1 -1
  162. package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/MlpPricingHelper.sol/MlpPricingHelper.dbg.json +1 -1
  163. package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +1 -1
  164. package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.json +2 -2
  165. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
  166. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.json +2 -2
  167. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
  168. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.json +2 -2
  169. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
  170. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +2 -2
  171. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
  172. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.json +2 -2
  173. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
  174. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
  175. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
  176. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.json +2 -2
  177. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  178. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  179. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  180. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  181. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  182. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  183. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  184. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  185. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
  186. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +2 -2
  187. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  188. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  189. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
  190. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.json +2 -2
  191. package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
  192. package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.json +2 -2
  193. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
  194. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +2 -2
  195. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
  196. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +2 -2
  197. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
  198. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
  199. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
  200. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
  201. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  202. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  203. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  204. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  205. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  206. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  207. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  208. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  209. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  210. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  211. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  212. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  213. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  214. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  215. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  216. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  217. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
  218. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
  219. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  220. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  221. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  222. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  223. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  224. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  225. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +18 -50
  226. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  227. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  228. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  229. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  230. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  231. package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3AToken.sol/IAaveV3AToken.dbg.json +4 -0
  232. package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3AToken.sol/IAaveV3AToken.json +99 -0
  233. package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3Pool.sol/IAaveV3Pool.dbg.json +4 -0
  234. package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3Pool.sol/IAaveV3Pool.json +87 -0
  235. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  236. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  237. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  238. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  239. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  240. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +1 -1
  241. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  242. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
  243. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  244. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  245. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  246. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  247. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  248. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  249. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  250. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  251. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  252. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  253. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  254. package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
  255. package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
  256. package/build/artifacts/contracts/interfaces/GMX/IGMXPriceHelper.sol/IGMXPriceHelper.dbg.json +1 -1
  257. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  258. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  259. package/build/artifacts/contracts/interfaces/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
  260. package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
  261. package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
  262. package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
  263. package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.dbg.json +1 -1
  264. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  265. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  266. package/build/artifacts/contracts/interfaces/IDailLikePermit.sol/IDaiLikePermit.dbg.json +4 -0
  267. package/build/artifacts/contracts/interfaces/IDailLikePermit.sol/IDaiLikePermit.json +59 -0
  268. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  269. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  270. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  271. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  272. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +4 -0
  273. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +2614 -0
  274. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +4 -0
  275. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.json +68 -0
  276. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  277. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  278. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  279. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  280. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +4 -0
  281. package/build/artifacts/contracts/interfaces/{IPActionMintRedeem.sol/IPActionMintRedeem.json → IPActionMiscV3.sol/IPActionMiscV3.json} +269 -22
  282. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  283. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +4 -0
  284. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +1185 -0
  285. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +4 -0
  286. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +1364 -0
  287. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +4 -0
  288. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +6215 -0
  289. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  290. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  291. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  292. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  293. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  294. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  295. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  296. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  297. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  298. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +4 -0
  299. package/build/artifacts/contracts/{router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json → interfaces/IPLimitRouter.sol/IPLimitOrderType.json} +2 -2
  300. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +4 -0
  301. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +541 -0
  302. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +4 -0
  303. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.json +45 -0
  304. package/build/artifacts/contracts/interfaces/IPLinearDistributor.sol/IPLinearDistributor.dbg.json +1 -1
  305. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  306. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  307. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
  308. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  309. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  310. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  311. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  312. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  313. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  314. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  315. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.json +0 -25
  316. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  317. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  318. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  319. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  320. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  321. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
  322. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  323. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  324. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  325. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  326. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  327. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  328. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  329. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  330. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  331. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticFactory.sol/IKyberElasticFactory.dbg.json +1 -1
  332. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticPool.sol/IKyberElasticPool.dbg.json +1 -1
  333. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticRouter.sol/IKyberElasticRouter.dbg.json +1 -1
  334. package/build/artifacts/contracts/interfaces/Kyber/IKyberLiquidityMining.sol/IKyberLiquidityMining.dbg.json +1 -1
  335. package/build/artifacts/contracts/interfaces/Kyber/IKyberMathHelper.sol/IKyberMathHelper.dbg.json +1 -1
  336. package/build/artifacts/contracts/interfaces/Kyber/IKyberPositionManager.sol/IKyberPositionManager.dbg.json +1 -1
  337. package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
  338. package/build/artifacts/contracts/interfaces/MUX/IMUXRewardRouter.sol/IMUXRewardRouter.dbg.json +1 -1
  339. package/build/artifacts/contracts/interfaces/Silo/ISilo.sol/ISilo.dbg.json +1 -1
  340. package/build/artifacts/contracts/interfaces/Silo/ISiloIncentiveController.sol/ISiloIncentiveController.dbg.json +1 -1
  341. package/build/artifacts/contracts/interfaces/Silo/ISiloLens.sol/ISiloLens.dbg.json +1 -1
  342. package/build/artifacts/contracts/interfaces/Stader/IStaderStakeManager.sol/IStaderStakeManager.dbg.json +1 -1
  343. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
  344. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
  345. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
  346. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +4 -0
  347. package/build/artifacts/contracts/{core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json → limit/LimitMathCore.sol/LimitMathCore.json} +4 -4
  348. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +4 -0
  349. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +833 -0
  350. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +4 -0
  351. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +860 -0
  352. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +4 -0
  353. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.json +99 -0
  354. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  355. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  356. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  357. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  358. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  359. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  360. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  361. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  362. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  363. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  364. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +4 -0
  365. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.json +10 -0
  366. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  367. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  368. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  369. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +4 -0
  370. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +174 -0
  371. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  372. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
  373. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  374. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  375. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  376. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  377. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +4 -0
  378. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +84 -0
  379. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  380. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  381. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  382. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  383. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  384. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  385. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  386. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  387. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
  388. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  389. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  390. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  391. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +4 -0
  392. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2810 -0
  393. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +4 -0
  394. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +116 -0
  395. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +4 -0
  396. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +1016 -0
  397. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +4 -0
  398. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +1323 -0
  399. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +4 -0
  400. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +1518 -0
  401. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  402. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +3 -33
  403. package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +4 -0
  404. package/build/artifacts/contracts/{interfaces/IPActionSwapPT.sol/IPActionSwapPT.json → router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.json} +163 -226
  405. package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.dbg.json +4 -0
  406. package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.json +179 -0
  407. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +4 -0
  408. package/build/artifacts/contracts/{offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.json → router/base/ActionBase.sol/ActionBase.json} +2 -2
  409. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  410. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  411. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  412. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  413. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  414. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +1 -1
  415. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
  416. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +2 -2
  417. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
  418. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +2 -2
  419. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  420. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.dbg.json +1 -1
  421. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  422. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +1 -1
  423. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  424. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +1 -1
  425. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  426. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.dbg.json +1 -1
  427. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +1 -1
  428. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +1 -1
  429. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +1 -1
  430. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +1 -1
  431. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +1 -1
  432. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +1 -1
  433. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +1 -1
  434. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  435. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  436. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +11 -7
  437. package/contracts/core/StandardizedYield/SYBase.sol +1 -0
  438. package/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol +94 -0
  439. package/contracts/core/StandardizedYield/implementations/AaveV3/libraries/AaveAdapterLib.sol +19 -0
  440. package/contracts/core/StandardizedYield/implementations/AaveV3/libraries/WadRayMath.sol +126 -0
  441. package/contracts/core/libraries/Errors.sol +2 -3
  442. package/contracts/core/libraries/TokenHelper.sol +2 -0
  443. package/contracts/interfaces/AaveV3/IAaveV3AToken.sol +15 -0
  444. package/contracts/interfaces/AaveV3/IAaveV3Pool.sol +11 -0
  445. package/contracts/interfaces/IDailLikePermit.sol +17 -0
  446. package/contracts/interfaces/{IPActionAddRemoveLiq.sol → IPActionAddRemoveLiqV3.sol} +52 -40
  447. package/contracts/interfaces/IPActionCallbackV3.sol +7 -0
  448. package/contracts/interfaces/{IPActionMintRedeem.sol → IPActionMiscV3.sol} +38 -6
  449. package/contracts/interfaces/IPActionStorageStatic.sol +1 -1
  450. package/contracts/interfaces/{IPActionSwapPT.sol → IPActionSwapPTV3.sol} +21 -31
  451. package/contracts/interfaces/{IPActionSwapYT.sol → IPActionSwapYTV3.sol} +25 -35
  452. package/contracts/interfaces/IPAllActionTypeV3.sol +34 -0
  453. package/contracts/interfaces/IPAllActionV3.sol +19 -0
  454. package/contracts/interfaces/IPBulkSeller.sol +7 -1
  455. package/contracts/interfaces/IPLimitRouter.sol +118 -0
  456. package/contracts/interfaces/IPRouterHelper.sol +6 -8
  457. package/contracts/limit/LimitMathCore.sol +158 -0
  458. package/contracts/limit/LimitRouterBase.sol +440 -0
  459. package/contracts/limit/PendleLimitRouter.sol +65 -0
  460. package/contracts/limit/helpers/NonceManager.sol +30 -0
  461. package/contracts/offchain-helpers/BytesLib.sol +551 -0
  462. package/contracts/offchain-helpers/LimitBackendHelper.sol +109 -0
  463. package/contracts/offchain-helpers/SimulateHelper.sol +40 -0
  464. package/contracts/oracles/PendlePtOracle.sol +3 -2
  465. package/contracts/router/ActionAddRemoveLiqV3.sol +504 -0
  466. package/contracts/router/ActionCallbackV3.sol +141 -0
  467. package/contracts/router/ActionMiscV3.sol +164 -0
  468. package/contracts/router/ActionSwapPTV3.sol +87 -0
  469. package/contracts/router/ActionSwapYTV3.sol +240 -0
  470. package/contracts/router/PendleRouterHelper.sol +56 -14
  471. package/contracts/router/PendleRouterV3.sol +235 -0
  472. package/contracts/router/base/ActionBase.sol +289 -0
  473. package/contracts/router/base/CallbackHelper.sol +20 -81
  474. package/contracts/router/base/MarketApproxLib.sol +124 -99
  475. package/deployments/1-core.json +5 -3
  476. package/deployments/10-core.json +5 -3
  477. package/deployments/42161-core.json +6 -3
  478. package/deployments/42161-markets/AAVE-USDC-JUNE2024.json +11 -0
  479. package/deployments/42161-markets/WSTETH-ARBITRUM-MARCH2024.json +11 -0
  480. package/deployments/42161-markets/WSTETHSILO-ETH-MARCH2024.json +11 -0
  481. package/deployments/56-core.json +5 -3
  482. package/deployments/merkle-distribution/2023-11-30.json +7730 -0
  483. package/package.json +5 -5
  484. package/typechain-types/ActionAddRemoveLiqV3.ts +10 -7
  485. package/typechain-types/ActionCallbackV3.ts +164 -0
  486. package/typechain-types/ActionMarketCoreStatic.ts +18 -63
  487. package/typechain-types/ActionMintRedeemStatic.ts +10 -102
  488. package/typechain-types/ActionMiscV3.ts +36 -75
  489. package/typechain-types/ActionStorageStatic.ts +0 -55
  490. package/typechain-types/ActionSwapPTV3.ts +8 -5
  491. package/typechain-types/ActionSwapYTV3.ts +8 -49
  492. package/typechain-types/IAaveV3AToken.ts +204 -0
  493. package/typechain-types/IAaveV3Pool.ts +192 -0
  494. package/typechain-types/IPActionAddRemoveLiqV3.ts +10 -7
  495. package/typechain-types/IPActionCallbackV3.ts +164 -0
  496. package/typechain-types/IPActionMiscV3.ts +36 -75
  497. package/typechain-types/IPActionSwapPTV3.ts +8 -5
  498. package/typechain-types/IPActionSwapYTV3.ts +8 -5
  499. package/typechain-types/IPAllActionV3.ts +103 -90
  500. package/typechain-types/IPLimitRouter.ts +65 -87
  501. package/typechain-types/IPLimitRouterCallback.ts +120 -0
  502. package/typechain-types/IPRouterHelper.ts +6 -19
  503. package/typechain-types/LimitBackendHelper.ts +287 -0
  504. package/typechain-types/LimitRouterBase.ts +964 -0
  505. package/typechain-types/PendleAaveV3SY.ts +1310 -0
  506. package/typechain-types/PendleLimitRouter.ts +210 -116
  507. package/typechain-types/PendleOrderMixin.ts +292 -92
  508. package/typechain-types/PendleRouterHelper.ts +7 -23
  509. package/typechain-types/SimulateHelper.ts +42 -35
  510. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +43 -13
  511. package/typechain-types/factories/ActionCallbackV3__factory.ts +169 -0
  512. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  513. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  514. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -46
  515. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -102
  516. package/typechain-types/factories/ActionMiscV3__factory.ts +35 -59
  517. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -27
  518. package/typechain-types/factories/ActionSwapPTV3__factory.ts +29 -9
  519. package/typechain-types/factories/ActionSwapYTV3__factory.ts +29 -64
  520. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  521. package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +1 -1
  522. package/typechain-types/factories/AuraSwEthBbAWethSYV2__factory.ts +1 -1
  523. package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +1 -1
  524. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  525. package/typechain-types/factories/CamelotRewardHelper__factory.ts +1 -1
  526. package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +1 -1
  527. package/typechain-types/factories/Errors__factory.ts +17 -49
  528. package/typechain-types/factories/IAaveV3AToken__factory.ts +111 -0
  529. package/typechain-types/factories/IAaveV3Pool__factory.ts +99 -0
  530. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +42 -12
  531. package/typechain-types/factories/IPActionCallbackV3__factory.ts +83 -0
  532. package/typechain-types/factories/IPActionMiscV3__factory.ts +18 -42
  533. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +28 -8
  534. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +28 -8
  535. package/typechain-types/factories/IPAllActionV3__factory.ts +150 -70
  536. package/typechain-types/factories/IPLimitRouterCallback__factory.ts +64 -0
  537. package/typechain-types/factories/IPLimitRouter__factory.ts +37 -145
  538. package/typechain-types/factories/IPRouterHelper__factory.ts +0 -25
  539. package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
  540. package/typechain-types/factories/LimitRouterBase__factory.ts +848 -0
  541. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  542. package/typechain-types/factories/PendleAaveV3SY__factory.ts +1130 -0
  543. package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1 -1
  544. package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1 -1
  545. package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -1
  546. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  547. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  548. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  549. package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
  550. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  551. package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1 -1
  552. package/typechain-types/factories/PendleBridgedLSDSY__factory.ts +1 -1
  553. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
  554. package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +1 -1
  555. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  556. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  557. package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
  558. package/typechain-types/factories/PendleETHXSY__factory.ts +1 -1
  559. package/typechain-types/factories/PendleEUSDSY__factory.ts +1 -1
  560. package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
  561. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  562. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  563. package/typechain-types/factories/PendleFluxLendingSY__factory.ts +1 -1
  564. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  565. package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +1 -1
  566. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  567. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  568. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  569. package/typechain-types/factories/PendleHlpSY__factory.ts +1 -1
  570. package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +1 -1
  571. package/typechain-types/factories/PendleLimitRouter__factory.ts +139 -155
  572. package/typechain-types/factories/PendleLinearDistributor__factory.ts +1 -1
  573. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  574. package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
  575. package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +1 -1
  576. package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +1 -1
  577. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +1 -1
  578. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  579. package/typechain-types/factories/PendleMarketV2__factory.ts +1 -1
  580. package/typechain-types/factories/PendleMarketV3__factory.ts +1 -1
  581. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  582. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
  583. package/typechain-types/factories/PendleMlpSY__factory.ts +1 -1
  584. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  585. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  586. package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +1 -1
  587. package/typechain-types/factories/PendleOrderMixin__factory.ts +254 -129
  588. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  589. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  590. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  591. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  592. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  593. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  594. package/typechain-types/factories/PendleRouterHelper__factory.ts +2 -32
  595. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  596. package/typechain-types/factories/PendleRouterV3__factory.ts +10 -1
  597. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  598. package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +1 -1
  599. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  600. package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
  601. package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
  602. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  603. package/typechain-types/factories/PendleThenaSY__factory.ts +1 -1
  604. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  605. package/typechain-types/factories/PendleWbEthSY__factory.ts +1 -1
  606. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  607. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  608. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  609. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  610. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  611. package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
  612. package/typechain-types/factories/SAPE__factory.ts +1 -1
  613. package/typechain-types/factories/SimulateHelper__factory.ts +71 -18
  614. package/typechain-types/factories/SwETHSY__factory.ts +1 -1
  615. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  616. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  617. package/typechain-types/hardhat.d.ts +64 -316
  618. package/typechain-types/index.ts +24 -70
  619. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +0 -4
  620. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +0 -642
  621. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +0 -4
  622. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +0 -521
  623. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +0 -4
  624. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +0 -4
  625. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +0 -1427
  626. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +0 -4
  627. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +0 -4
  628. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +0 -79
  629. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +0 -4
  630. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +0 -4
  631. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +0 -708
  632. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +0 -4
  633. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +0 -3503
  634. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +0 -4
  635. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +0 -125
  636. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +0 -4
  637. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +0 -30
  638. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +0 -4
  639. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +0 -307
  640. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +0 -4
  641. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +0 -409
  642. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +0 -4
  643. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +0 -1397
  644. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +0 -4
  645. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +0 -348
  646. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +0 -4
  647. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +0 -228
  648. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +0 -4
  649. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +0 -93
  650. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +0 -4
  651. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +0 -4
  652. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +0 -1623
  653. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +0 -4
  654. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +0 -753
  655. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +0 -4
  656. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +0 -79
  657. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +0 -4
  658. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +0 -720
  659. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +0 -4
  660. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +0 -976
  661. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +0 -4
  662. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +0 -190
  663. package/build/artifacts/contracts/router/PendleRouterHelper2.sol/PendleRouterHelper2.dbg.json +0 -4
  664. package/build/artifacts/contracts/router/PendleRouterHelper2.sol/PendleRouterHelper2.json +0 -145
  665. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +0 -4
  666. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.json +0 -141
  667. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +0 -4
  668. package/contracts/core/BulkSeller/BulkSeller.sol +0 -215
  669. package/contracts/core/BulkSeller/BulkSellerFactory.sol +0 -71
  670. package/contracts/core/BulkSeller/BulkSellerMathCore.sol +0 -126
  671. package/contracts/interfaces/IPActionMisc.sol +0 -23
  672. package/contracts/interfaces/IPAllAction.sol +0 -21
  673. package/contracts/limit/Mock.sol +0 -429
  674. package/contracts/offchain-helpers/BulkSellerOffchain.sol +0 -57
  675. package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +0 -19
  676. package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +0 -111
  677. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +0 -182
  678. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +0 -682
  679. package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +0 -171
  680. package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +0 -72
  681. package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +0 -55
  682. package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +0 -21
  683. package/contracts/router/ActionAddRemoveLiq.sol +0 -525
  684. package/contracts/router/ActionMintRedeem.sol +0 -134
  685. package/contracts/router/ActionMisc.sol +0 -51
  686. package/contracts/router/ActionSwapPT.sol +0 -197
  687. package/contracts/router/ActionSwapYT.sol +0 -323
  688. package/contracts/router/PendleRouter.sol +0 -242
  689. package/contracts/router/PendleRouterHelper2.sol +0 -41
  690. package/contracts/router/base/ActionBaseCallback.sol +0 -152
  691. package/contracts/router/base/ActionBaseMintRedeem.sol +0 -182
@@ -0,0 +1,1364 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPActionSwapYTV3",
4
+ "sourceName": "contracts/interfaces/IPActionSwapYTV3.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "caller",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "market",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": true,
23
+ "internalType": "address",
24
+ "name": "receiver",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "indexed": false,
29
+ "internalType": "int256",
30
+ "name": "netPtToAccount",
31
+ "type": "int256"
32
+ },
33
+ {
34
+ "indexed": false,
35
+ "internalType": "int256",
36
+ "name": "netYtToAccount",
37
+ "type": "int256"
38
+ }
39
+ ],
40
+ "name": "SwapPtAndYt",
41
+ "type": "event"
42
+ },
43
+ {
44
+ "anonymous": false,
45
+ "inputs": [
46
+ {
47
+ "indexed": true,
48
+ "internalType": "address",
49
+ "name": "caller",
50
+ "type": "address"
51
+ },
52
+ {
53
+ "indexed": true,
54
+ "internalType": "address",
55
+ "name": "market",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "indexed": true,
60
+ "internalType": "address",
61
+ "name": "receiver",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "int256",
67
+ "name": "netYtToAccount",
68
+ "type": "int256"
69
+ },
70
+ {
71
+ "indexed": false,
72
+ "internalType": "int256",
73
+ "name": "netSyToAccount",
74
+ "type": "int256"
75
+ }
76
+ ],
77
+ "name": "SwapYtAndSy",
78
+ "type": "event"
79
+ },
80
+ {
81
+ "anonymous": false,
82
+ "inputs": [
83
+ {
84
+ "indexed": true,
85
+ "internalType": "address",
86
+ "name": "caller",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "indexed": true,
91
+ "internalType": "address",
92
+ "name": "market",
93
+ "type": "address"
94
+ },
95
+ {
96
+ "indexed": true,
97
+ "internalType": "address",
98
+ "name": "token",
99
+ "type": "address"
100
+ },
101
+ {
102
+ "indexed": false,
103
+ "internalType": "address",
104
+ "name": "receiver",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "int256",
110
+ "name": "netYtToAccount",
111
+ "type": "int256"
112
+ },
113
+ {
114
+ "indexed": false,
115
+ "internalType": "int256",
116
+ "name": "netTokenToAccount",
117
+ "type": "int256"
118
+ },
119
+ {
120
+ "indexed": false,
121
+ "internalType": "uint256",
122
+ "name": "netSyInterm",
123
+ "type": "uint256"
124
+ }
125
+ ],
126
+ "name": "SwapYtAndToken",
127
+ "type": "event"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "receiver",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "market",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "uint256",
143
+ "name": "exactPtIn",
144
+ "type": "uint256"
145
+ },
146
+ {
147
+ "internalType": "uint256",
148
+ "name": "minYtOut",
149
+ "type": "uint256"
150
+ },
151
+ {
152
+ "components": [
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "guessMin",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "guessMax",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "guessOffchain",
166
+ "type": "uint256"
167
+ },
168
+ {
169
+ "internalType": "uint256",
170
+ "name": "maxIteration",
171
+ "type": "uint256"
172
+ },
173
+ {
174
+ "internalType": "uint256",
175
+ "name": "eps",
176
+ "type": "uint256"
177
+ }
178
+ ],
179
+ "internalType": "struct ApproxParams",
180
+ "name": "guessTotalPtToSwap",
181
+ "type": "tuple"
182
+ }
183
+ ],
184
+ "name": "swapExactPtForYt",
185
+ "outputs": [
186
+ {
187
+ "internalType": "uint256",
188
+ "name": "netYtOut",
189
+ "type": "uint256"
190
+ },
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "netSyFee",
194
+ "type": "uint256"
195
+ }
196
+ ],
197
+ "stateMutability": "nonpayable",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "address",
204
+ "name": "receiver",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "internalType": "address",
209
+ "name": "market",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "exactSyIn",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "minYtOut",
220
+ "type": "uint256"
221
+ },
222
+ {
223
+ "components": [
224
+ {
225
+ "internalType": "uint256",
226
+ "name": "guessMin",
227
+ "type": "uint256"
228
+ },
229
+ {
230
+ "internalType": "uint256",
231
+ "name": "guessMax",
232
+ "type": "uint256"
233
+ },
234
+ {
235
+ "internalType": "uint256",
236
+ "name": "guessOffchain",
237
+ "type": "uint256"
238
+ },
239
+ {
240
+ "internalType": "uint256",
241
+ "name": "maxIteration",
242
+ "type": "uint256"
243
+ },
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "eps",
247
+ "type": "uint256"
248
+ }
249
+ ],
250
+ "internalType": "struct ApproxParams",
251
+ "name": "guessYtOut",
252
+ "type": "tuple"
253
+ },
254
+ {
255
+ "components": [
256
+ {
257
+ "internalType": "address",
258
+ "name": "limitRouter",
259
+ "type": "address"
260
+ },
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "epsSkipMarket",
264
+ "type": "uint256"
265
+ },
266
+ {
267
+ "components": [
268
+ {
269
+ "components": [
270
+ {
271
+ "internalType": "uint256",
272
+ "name": "salt",
273
+ "type": "uint256"
274
+ },
275
+ {
276
+ "internalType": "uint256",
277
+ "name": "expiry",
278
+ "type": "uint256"
279
+ },
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "nonce",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "internalType": "enum IPLimitOrderType.OrderType",
287
+ "name": "orderType",
288
+ "type": "uint8"
289
+ },
290
+ {
291
+ "internalType": "address",
292
+ "name": "token",
293
+ "type": "address"
294
+ },
295
+ {
296
+ "internalType": "address",
297
+ "name": "YT",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "internalType": "address",
302
+ "name": "maker",
303
+ "type": "address"
304
+ },
305
+ {
306
+ "internalType": "address",
307
+ "name": "receiver",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "makingAmount",
313
+ "type": "uint256"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "lnImpliedRate",
318
+ "type": "uint256"
319
+ },
320
+ {
321
+ "internalType": "uint256",
322
+ "name": "failSafeRate",
323
+ "type": "uint256"
324
+ },
325
+ {
326
+ "internalType": "bytes",
327
+ "name": "permit",
328
+ "type": "bytes"
329
+ }
330
+ ],
331
+ "internalType": "struct Order",
332
+ "name": "order",
333
+ "type": "tuple"
334
+ },
335
+ {
336
+ "internalType": "bytes",
337
+ "name": "signature",
338
+ "type": "bytes"
339
+ },
340
+ {
341
+ "internalType": "uint256",
342
+ "name": "makingAmount",
343
+ "type": "uint256"
344
+ }
345
+ ],
346
+ "internalType": "struct FillOrderParams[]",
347
+ "name": "normalFills",
348
+ "type": "tuple[]"
349
+ },
350
+ {
351
+ "components": [
352
+ {
353
+ "components": [
354
+ {
355
+ "internalType": "uint256",
356
+ "name": "salt",
357
+ "type": "uint256"
358
+ },
359
+ {
360
+ "internalType": "uint256",
361
+ "name": "expiry",
362
+ "type": "uint256"
363
+ },
364
+ {
365
+ "internalType": "uint256",
366
+ "name": "nonce",
367
+ "type": "uint256"
368
+ },
369
+ {
370
+ "internalType": "enum IPLimitOrderType.OrderType",
371
+ "name": "orderType",
372
+ "type": "uint8"
373
+ },
374
+ {
375
+ "internalType": "address",
376
+ "name": "token",
377
+ "type": "address"
378
+ },
379
+ {
380
+ "internalType": "address",
381
+ "name": "YT",
382
+ "type": "address"
383
+ },
384
+ {
385
+ "internalType": "address",
386
+ "name": "maker",
387
+ "type": "address"
388
+ },
389
+ {
390
+ "internalType": "address",
391
+ "name": "receiver",
392
+ "type": "address"
393
+ },
394
+ {
395
+ "internalType": "uint256",
396
+ "name": "makingAmount",
397
+ "type": "uint256"
398
+ },
399
+ {
400
+ "internalType": "uint256",
401
+ "name": "lnImpliedRate",
402
+ "type": "uint256"
403
+ },
404
+ {
405
+ "internalType": "uint256",
406
+ "name": "failSafeRate",
407
+ "type": "uint256"
408
+ },
409
+ {
410
+ "internalType": "bytes",
411
+ "name": "permit",
412
+ "type": "bytes"
413
+ }
414
+ ],
415
+ "internalType": "struct Order",
416
+ "name": "order",
417
+ "type": "tuple"
418
+ },
419
+ {
420
+ "internalType": "bytes",
421
+ "name": "signature",
422
+ "type": "bytes"
423
+ },
424
+ {
425
+ "internalType": "uint256",
426
+ "name": "makingAmount",
427
+ "type": "uint256"
428
+ }
429
+ ],
430
+ "internalType": "struct FillOrderParams[]",
431
+ "name": "flashFills",
432
+ "type": "tuple[]"
433
+ },
434
+ {
435
+ "internalType": "bytes",
436
+ "name": "optData",
437
+ "type": "bytes"
438
+ }
439
+ ],
440
+ "internalType": "struct LimitOrderData",
441
+ "name": "limit",
442
+ "type": "tuple"
443
+ }
444
+ ],
445
+ "name": "swapExactSyForYt",
446
+ "outputs": [
447
+ {
448
+ "internalType": "uint256",
449
+ "name": "netYtOut",
450
+ "type": "uint256"
451
+ },
452
+ {
453
+ "internalType": "uint256",
454
+ "name": "netSyFee",
455
+ "type": "uint256"
456
+ }
457
+ ],
458
+ "stateMutability": "nonpayable",
459
+ "type": "function"
460
+ },
461
+ {
462
+ "inputs": [
463
+ {
464
+ "internalType": "address",
465
+ "name": "receiver",
466
+ "type": "address"
467
+ },
468
+ {
469
+ "internalType": "address",
470
+ "name": "market",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "internalType": "uint256",
475
+ "name": "minYtOut",
476
+ "type": "uint256"
477
+ },
478
+ {
479
+ "components": [
480
+ {
481
+ "internalType": "uint256",
482
+ "name": "guessMin",
483
+ "type": "uint256"
484
+ },
485
+ {
486
+ "internalType": "uint256",
487
+ "name": "guessMax",
488
+ "type": "uint256"
489
+ },
490
+ {
491
+ "internalType": "uint256",
492
+ "name": "guessOffchain",
493
+ "type": "uint256"
494
+ },
495
+ {
496
+ "internalType": "uint256",
497
+ "name": "maxIteration",
498
+ "type": "uint256"
499
+ },
500
+ {
501
+ "internalType": "uint256",
502
+ "name": "eps",
503
+ "type": "uint256"
504
+ }
505
+ ],
506
+ "internalType": "struct ApproxParams",
507
+ "name": "guessYtOut",
508
+ "type": "tuple"
509
+ },
510
+ {
511
+ "components": [
512
+ {
513
+ "internalType": "address",
514
+ "name": "tokenIn",
515
+ "type": "address"
516
+ },
517
+ {
518
+ "internalType": "uint256",
519
+ "name": "netTokenIn",
520
+ "type": "uint256"
521
+ },
522
+ {
523
+ "internalType": "address",
524
+ "name": "tokenMintSy",
525
+ "type": "address"
526
+ },
527
+ {
528
+ "internalType": "address",
529
+ "name": "pendleSwap",
530
+ "type": "address"
531
+ },
532
+ {
533
+ "components": [
534
+ {
535
+ "internalType": "enum SwapType",
536
+ "name": "swapType",
537
+ "type": "uint8"
538
+ },
539
+ {
540
+ "internalType": "address",
541
+ "name": "extRouter",
542
+ "type": "address"
543
+ },
544
+ {
545
+ "internalType": "bytes",
546
+ "name": "extCalldata",
547
+ "type": "bytes"
548
+ },
549
+ {
550
+ "internalType": "bool",
551
+ "name": "needScale",
552
+ "type": "bool"
553
+ }
554
+ ],
555
+ "internalType": "struct SwapData",
556
+ "name": "swapData",
557
+ "type": "tuple"
558
+ }
559
+ ],
560
+ "internalType": "struct TokenInput",
561
+ "name": "input",
562
+ "type": "tuple"
563
+ },
564
+ {
565
+ "components": [
566
+ {
567
+ "internalType": "address",
568
+ "name": "limitRouter",
569
+ "type": "address"
570
+ },
571
+ {
572
+ "internalType": "uint256",
573
+ "name": "epsSkipMarket",
574
+ "type": "uint256"
575
+ },
576
+ {
577
+ "components": [
578
+ {
579
+ "components": [
580
+ {
581
+ "internalType": "uint256",
582
+ "name": "salt",
583
+ "type": "uint256"
584
+ },
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "expiry",
588
+ "type": "uint256"
589
+ },
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "nonce",
593
+ "type": "uint256"
594
+ },
595
+ {
596
+ "internalType": "enum IPLimitOrderType.OrderType",
597
+ "name": "orderType",
598
+ "type": "uint8"
599
+ },
600
+ {
601
+ "internalType": "address",
602
+ "name": "token",
603
+ "type": "address"
604
+ },
605
+ {
606
+ "internalType": "address",
607
+ "name": "YT",
608
+ "type": "address"
609
+ },
610
+ {
611
+ "internalType": "address",
612
+ "name": "maker",
613
+ "type": "address"
614
+ },
615
+ {
616
+ "internalType": "address",
617
+ "name": "receiver",
618
+ "type": "address"
619
+ },
620
+ {
621
+ "internalType": "uint256",
622
+ "name": "makingAmount",
623
+ "type": "uint256"
624
+ },
625
+ {
626
+ "internalType": "uint256",
627
+ "name": "lnImpliedRate",
628
+ "type": "uint256"
629
+ },
630
+ {
631
+ "internalType": "uint256",
632
+ "name": "failSafeRate",
633
+ "type": "uint256"
634
+ },
635
+ {
636
+ "internalType": "bytes",
637
+ "name": "permit",
638
+ "type": "bytes"
639
+ }
640
+ ],
641
+ "internalType": "struct Order",
642
+ "name": "order",
643
+ "type": "tuple"
644
+ },
645
+ {
646
+ "internalType": "bytes",
647
+ "name": "signature",
648
+ "type": "bytes"
649
+ },
650
+ {
651
+ "internalType": "uint256",
652
+ "name": "makingAmount",
653
+ "type": "uint256"
654
+ }
655
+ ],
656
+ "internalType": "struct FillOrderParams[]",
657
+ "name": "normalFills",
658
+ "type": "tuple[]"
659
+ },
660
+ {
661
+ "components": [
662
+ {
663
+ "components": [
664
+ {
665
+ "internalType": "uint256",
666
+ "name": "salt",
667
+ "type": "uint256"
668
+ },
669
+ {
670
+ "internalType": "uint256",
671
+ "name": "expiry",
672
+ "type": "uint256"
673
+ },
674
+ {
675
+ "internalType": "uint256",
676
+ "name": "nonce",
677
+ "type": "uint256"
678
+ },
679
+ {
680
+ "internalType": "enum IPLimitOrderType.OrderType",
681
+ "name": "orderType",
682
+ "type": "uint8"
683
+ },
684
+ {
685
+ "internalType": "address",
686
+ "name": "token",
687
+ "type": "address"
688
+ },
689
+ {
690
+ "internalType": "address",
691
+ "name": "YT",
692
+ "type": "address"
693
+ },
694
+ {
695
+ "internalType": "address",
696
+ "name": "maker",
697
+ "type": "address"
698
+ },
699
+ {
700
+ "internalType": "address",
701
+ "name": "receiver",
702
+ "type": "address"
703
+ },
704
+ {
705
+ "internalType": "uint256",
706
+ "name": "makingAmount",
707
+ "type": "uint256"
708
+ },
709
+ {
710
+ "internalType": "uint256",
711
+ "name": "lnImpliedRate",
712
+ "type": "uint256"
713
+ },
714
+ {
715
+ "internalType": "uint256",
716
+ "name": "failSafeRate",
717
+ "type": "uint256"
718
+ },
719
+ {
720
+ "internalType": "bytes",
721
+ "name": "permit",
722
+ "type": "bytes"
723
+ }
724
+ ],
725
+ "internalType": "struct Order",
726
+ "name": "order",
727
+ "type": "tuple"
728
+ },
729
+ {
730
+ "internalType": "bytes",
731
+ "name": "signature",
732
+ "type": "bytes"
733
+ },
734
+ {
735
+ "internalType": "uint256",
736
+ "name": "makingAmount",
737
+ "type": "uint256"
738
+ }
739
+ ],
740
+ "internalType": "struct FillOrderParams[]",
741
+ "name": "flashFills",
742
+ "type": "tuple[]"
743
+ },
744
+ {
745
+ "internalType": "bytes",
746
+ "name": "optData",
747
+ "type": "bytes"
748
+ }
749
+ ],
750
+ "internalType": "struct LimitOrderData",
751
+ "name": "limit",
752
+ "type": "tuple"
753
+ }
754
+ ],
755
+ "name": "swapExactTokenForYt",
756
+ "outputs": [
757
+ {
758
+ "internalType": "uint256",
759
+ "name": "netYtOut",
760
+ "type": "uint256"
761
+ },
762
+ {
763
+ "internalType": "uint256",
764
+ "name": "netSyFee",
765
+ "type": "uint256"
766
+ },
767
+ {
768
+ "internalType": "uint256",
769
+ "name": "netSyInterm",
770
+ "type": "uint256"
771
+ }
772
+ ],
773
+ "stateMutability": "payable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "address",
780
+ "name": "receiver",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "address",
785
+ "name": "market",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "uint256",
790
+ "name": "exactYtIn",
791
+ "type": "uint256"
792
+ },
793
+ {
794
+ "internalType": "uint256",
795
+ "name": "minPtOut",
796
+ "type": "uint256"
797
+ },
798
+ {
799
+ "components": [
800
+ {
801
+ "internalType": "uint256",
802
+ "name": "guessMin",
803
+ "type": "uint256"
804
+ },
805
+ {
806
+ "internalType": "uint256",
807
+ "name": "guessMax",
808
+ "type": "uint256"
809
+ },
810
+ {
811
+ "internalType": "uint256",
812
+ "name": "guessOffchain",
813
+ "type": "uint256"
814
+ },
815
+ {
816
+ "internalType": "uint256",
817
+ "name": "maxIteration",
818
+ "type": "uint256"
819
+ },
820
+ {
821
+ "internalType": "uint256",
822
+ "name": "eps",
823
+ "type": "uint256"
824
+ }
825
+ ],
826
+ "internalType": "struct ApproxParams",
827
+ "name": "guessTotalPtFromSwap",
828
+ "type": "tuple"
829
+ }
830
+ ],
831
+ "name": "swapExactYtForPt",
832
+ "outputs": [
833
+ {
834
+ "internalType": "uint256",
835
+ "name": "netPtOut",
836
+ "type": "uint256"
837
+ },
838
+ {
839
+ "internalType": "uint256",
840
+ "name": "netSyFee",
841
+ "type": "uint256"
842
+ }
843
+ ],
844
+ "stateMutability": "nonpayable",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [
849
+ {
850
+ "internalType": "address",
851
+ "name": "receiver",
852
+ "type": "address"
853
+ },
854
+ {
855
+ "internalType": "address",
856
+ "name": "market",
857
+ "type": "address"
858
+ },
859
+ {
860
+ "internalType": "uint256",
861
+ "name": "exactYtIn",
862
+ "type": "uint256"
863
+ },
864
+ {
865
+ "internalType": "uint256",
866
+ "name": "minSyOut",
867
+ "type": "uint256"
868
+ },
869
+ {
870
+ "components": [
871
+ {
872
+ "internalType": "address",
873
+ "name": "limitRouter",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "internalType": "uint256",
878
+ "name": "epsSkipMarket",
879
+ "type": "uint256"
880
+ },
881
+ {
882
+ "components": [
883
+ {
884
+ "components": [
885
+ {
886
+ "internalType": "uint256",
887
+ "name": "salt",
888
+ "type": "uint256"
889
+ },
890
+ {
891
+ "internalType": "uint256",
892
+ "name": "expiry",
893
+ "type": "uint256"
894
+ },
895
+ {
896
+ "internalType": "uint256",
897
+ "name": "nonce",
898
+ "type": "uint256"
899
+ },
900
+ {
901
+ "internalType": "enum IPLimitOrderType.OrderType",
902
+ "name": "orderType",
903
+ "type": "uint8"
904
+ },
905
+ {
906
+ "internalType": "address",
907
+ "name": "token",
908
+ "type": "address"
909
+ },
910
+ {
911
+ "internalType": "address",
912
+ "name": "YT",
913
+ "type": "address"
914
+ },
915
+ {
916
+ "internalType": "address",
917
+ "name": "maker",
918
+ "type": "address"
919
+ },
920
+ {
921
+ "internalType": "address",
922
+ "name": "receiver",
923
+ "type": "address"
924
+ },
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "makingAmount",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "internalType": "uint256",
932
+ "name": "lnImpliedRate",
933
+ "type": "uint256"
934
+ },
935
+ {
936
+ "internalType": "uint256",
937
+ "name": "failSafeRate",
938
+ "type": "uint256"
939
+ },
940
+ {
941
+ "internalType": "bytes",
942
+ "name": "permit",
943
+ "type": "bytes"
944
+ }
945
+ ],
946
+ "internalType": "struct Order",
947
+ "name": "order",
948
+ "type": "tuple"
949
+ },
950
+ {
951
+ "internalType": "bytes",
952
+ "name": "signature",
953
+ "type": "bytes"
954
+ },
955
+ {
956
+ "internalType": "uint256",
957
+ "name": "makingAmount",
958
+ "type": "uint256"
959
+ }
960
+ ],
961
+ "internalType": "struct FillOrderParams[]",
962
+ "name": "normalFills",
963
+ "type": "tuple[]"
964
+ },
965
+ {
966
+ "components": [
967
+ {
968
+ "components": [
969
+ {
970
+ "internalType": "uint256",
971
+ "name": "salt",
972
+ "type": "uint256"
973
+ },
974
+ {
975
+ "internalType": "uint256",
976
+ "name": "expiry",
977
+ "type": "uint256"
978
+ },
979
+ {
980
+ "internalType": "uint256",
981
+ "name": "nonce",
982
+ "type": "uint256"
983
+ },
984
+ {
985
+ "internalType": "enum IPLimitOrderType.OrderType",
986
+ "name": "orderType",
987
+ "type": "uint8"
988
+ },
989
+ {
990
+ "internalType": "address",
991
+ "name": "token",
992
+ "type": "address"
993
+ },
994
+ {
995
+ "internalType": "address",
996
+ "name": "YT",
997
+ "type": "address"
998
+ },
999
+ {
1000
+ "internalType": "address",
1001
+ "name": "maker",
1002
+ "type": "address"
1003
+ },
1004
+ {
1005
+ "internalType": "address",
1006
+ "name": "receiver",
1007
+ "type": "address"
1008
+ },
1009
+ {
1010
+ "internalType": "uint256",
1011
+ "name": "makingAmount",
1012
+ "type": "uint256"
1013
+ },
1014
+ {
1015
+ "internalType": "uint256",
1016
+ "name": "lnImpliedRate",
1017
+ "type": "uint256"
1018
+ },
1019
+ {
1020
+ "internalType": "uint256",
1021
+ "name": "failSafeRate",
1022
+ "type": "uint256"
1023
+ },
1024
+ {
1025
+ "internalType": "bytes",
1026
+ "name": "permit",
1027
+ "type": "bytes"
1028
+ }
1029
+ ],
1030
+ "internalType": "struct Order",
1031
+ "name": "order",
1032
+ "type": "tuple"
1033
+ },
1034
+ {
1035
+ "internalType": "bytes",
1036
+ "name": "signature",
1037
+ "type": "bytes"
1038
+ },
1039
+ {
1040
+ "internalType": "uint256",
1041
+ "name": "makingAmount",
1042
+ "type": "uint256"
1043
+ }
1044
+ ],
1045
+ "internalType": "struct FillOrderParams[]",
1046
+ "name": "flashFills",
1047
+ "type": "tuple[]"
1048
+ },
1049
+ {
1050
+ "internalType": "bytes",
1051
+ "name": "optData",
1052
+ "type": "bytes"
1053
+ }
1054
+ ],
1055
+ "internalType": "struct LimitOrderData",
1056
+ "name": "limit",
1057
+ "type": "tuple"
1058
+ }
1059
+ ],
1060
+ "name": "swapExactYtForSy",
1061
+ "outputs": [
1062
+ {
1063
+ "internalType": "uint256",
1064
+ "name": "netSyOut",
1065
+ "type": "uint256"
1066
+ },
1067
+ {
1068
+ "internalType": "uint256",
1069
+ "name": "netSyFee",
1070
+ "type": "uint256"
1071
+ }
1072
+ ],
1073
+ "stateMutability": "nonpayable",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "address",
1080
+ "name": "receiver",
1081
+ "type": "address"
1082
+ },
1083
+ {
1084
+ "internalType": "address",
1085
+ "name": "market",
1086
+ "type": "address"
1087
+ },
1088
+ {
1089
+ "internalType": "uint256",
1090
+ "name": "exactYtIn",
1091
+ "type": "uint256"
1092
+ },
1093
+ {
1094
+ "components": [
1095
+ {
1096
+ "internalType": "address",
1097
+ "name": "tokenOut",
1098
+ "type": "address"
1099
+ },
1100
+ {
1101
+ "internalType": "uint256",
1102
+ "name": "minTokenOut",
1103
+ "type": "uint256"
1104
+ },
1105
+ {
1106
+ "internalType": "address",
1107
+ "name": "tokenRedeemSy",
1108
+ "type": "address"
1109
+ },
1110
+ {
1111
+ "internalType": "address",
1112
+ "name": "pendleSwap",
1113
+ "type": "address"
1114
+ },
1115
+ {
1116
+ "components": [
1117
+ {
1118
+ "internalType": "enum SwapType",
1119
+ "name": "swapType",
1120
+ "type": "uint8"
1121
+ },
1122
+ {
1123
+ "internalType": "address",
1124
+ "name": "extRouter",
1125
+ "type": "address"
1126
+ },
1127
+ {
1128
+ "internalType": "bytes",
1129
+ "name": "extCalldata",
1130
+ "type": "bytes"
1131
+ },
1132
+ {
1133
+ "internalType": "bool",
1134
+ "name": "needScale",
1135
+ "type": "bool"
1136
+ }
1137
+ ],
1138
+ "internalType": "struct SwapData",
1139
+ "name": "swapData",
1140
+ "type": "tuple"
1141
+ }
1142
+ ],
1143
+ "internalType": "struct TokenOutput",
1144
+ "name": "output",
1145
+ "type": "tuple"
1146
+ },
1147
+ {
1148
+ "components": [
1149
+ {
1150
+ "internalType": "address",
1151
+ "name": "limitRouter",
1152
+ "type": "address"
1153
+ },
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "epsSkipMarket",
1157
+ "type": "uint256"
1158
+ },
1159
+ {
1160
+ "components": [
1161
+ {
1162
+ "components": [
1163
+ {
1164
+ "internalType": "uint256",
1165
+ "name": "salt",
1166
+ "type": "uint256"
1167
+ },
1168
+ {
1169
+ "internalType": "uint256",
1170
+ "name": "expiry",
1171
+ "type": "uint256"
1172
+ },
1173
+ {
1174
+ "internalType": "uint256",
1175
+ "name": "nonce",
1176
+ "type": "uint256"
1177
+ },
1178
+ {
1179
+ "internalType": "enum IPLimitOrderType.OrderType",
1180
+ "name": "orderType",
1181
+ "type": "uint8"
1182
+ },
1183
+ {
1184
+ "internalType": "address",
1185
+ "name": "token",
1186
+ "type": "address"
1187
+ },
1188
+ {
1189
+ "internalType": "address",
1190
+ "name": "YT",
1191
+ "type": "address"
1192
+ },
1193
+ {
1194
+ "internalType": "address",
1195
+ "name": "maker",
1196
+ "type": "address"
1197
+ },
1198
+ {
1199
+ "internalType": "address",
1200
+ "name": "receiver",
1201
+ "type": "address"
1202
+ },
1203
+ {
1204
+ "internalType": "uint256",
1205
+ "name": "makingAmount",
1206
+ "type": "uint256"
1207
+ },
1208
+ {
1209
+ "internalType": "uint256",
1210
+ "name": "lnImpliedRate",
1211
+ "type": "uint256"
1212
+ },
1213
+ {
1214
+ "internalType": "uint256",
1215
+ "name": "failSafeRate",
1216
+ "type": "uint256"
1217
+ },
1218
+ {
1219
+ "internalType": "bytes",
1220
+ "name": "permit",
1221
+ "type": "bytes"
1222
+ }
1223
+ ],
1224
+ "internalType": "struct Order",
1225
+ "name": "order",
1226
+ "type": "tuple"
1227
+ },
1228
+ {
1229
+ "internalType": "bytes",
1230
+ "name": "signature",
1231
+ "type": "bytes"
1232
+ },
1233
+ {
1234
+ "internalType": "uint256",
1235
+ "name": "makingAmount",
1236
+ "type": "uint256"
1237
+ }
1238
+ ],
1239
+ "internalType": "struct FillOrderParams[]",
1240
+ "name": "normalFills",
1241
+ "type": "tuple[]"
1242
+ },
1243
+ {
1244
+ "components": [
1245
+ {
1246
+ "components": [
1247
+ {
1248
+ "internalType": "uint256",
1249
+ "name": "salt",
1250
+ "type": "uint256"
1251
+ },
1252
+ {
1253
+ "internalType": "uint256",
1254
+ "name": "expiry",
1255
+ "type": "uint256"
1256
+ },
1257
+ {
1258
+ "internalType": "uint256",
1259
+ "name": "nonce",
1260
+ "type": "uint256"
1261
+ },
1262
+ {
1263
+ "internalType": "enum IPLimitOrderType.OrderType",
1264
+ "name": "orderType",
1265
+ "type": "uint8"
1266
+ },
1267
+ {
1268
+ "internalType": "address",
1269
+ "name": "token",
1270
+ "type": "address"
1271
+ },
1272
+ {
1273
+ "internalType": "address",
1274
+ "name": "YT",
1275
+ "type": "address"
1276
+ },
1277
+ {
1278
+ "internalType": "address",
1279
+ "name": "maker",
1280
+ "type": "address"
1281
+ },
1282
+ {
1283
+ "internalType": "address",
1284
+ "name": "receiver",
1285
+ "type": "address"
1286
+ },
1287
+ {
1288
+ "internalType": "uint256",
1289
+ "name": "makingAmount",
1290
+ "type": "uint256"
1291
+ },
1292
+ {
1293
+ "internalType": "uint256",
1294
+ "name": "lnImpliedRate",
1295
+ "type": "uint256"
1296
+ },
1297
+ {
1298
+ "internalType": "uint256",
1299
+ "name": "failSafeRate",
1300
+ "type": "uint256"
1301
+ },
1302
+ {
1303
+ "internalType": "bytes",
1304
+ "name": "permit",
1305
+ "type": "bytes"
1306
+ }
1307
+ ],
1308
+ "internalType": "struct Order",
1309
+ "name": "order",
1310
+ "type": "tuple"
1311
+ },
1312
+ {
1313
+ "internalType": "bytes",
1314
+ "name": "signature",
1315
+ "type": "bytes"
1316
+ },
1317
+ {
1318
+ "internalType": "uint256",
1319
+ "name": "makingAmount",
1320
+ "type": "uint256"
1321
+ }
1322
+ ],
1323
+ "internalType": "struct FillOrderParams[]",
1324
+ "name": "flashFills",
1325
+ "type": "tuple[]"
1326
+ },
1327
+ {
1328
+ "internalType": "bytes",
1329
+ "name": "optData",
1330
+ "type": "bytes"
1331
+ }
1332
+ ],
1333
+ "internalType": "struct LimitOrderData",
1334
+ "name": "limit",
1335
+ "type": "tuple"
1336
+ }
1337
+ ],
1338
+ "name": "swapExactYtForToken",
1339
+ "outputs": [
1340
+ {
1341
+ "internalType": "uint256",
1342
+ "name": "netTokenOut",
1343
+ "type": "uint256"
1344
+ },
1345
+ {
1346
+ "internalType": "uint256",
1347
+ "name": "netSyFee",
1348
+ "type": "uint256"
1349
+ },
1350
+ {
1351
+ "internalType": "uint256",
1352
+ "name": "netSyInterm",
1353
+ "type": "uint256"
1354
+ }
1355
+ ],
1356
+ "stateMutability": "nonpayable",
1357
+ "type": "function"
1358
+ }
1359
+ ],
1360
+ "bytecode": "0x",
1361
+ "deployedBytecode": "0x",
1362
+ "linkReferences": {},
1363
+ "deployedLinkReferences": {}
1364
+ }