@pendle/core-v2 5.2.1-beta-1 → 5.2.2

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 (258) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/Lombard/PendleLBTCBaseSY.sol/PendleLBTCBaseSY.dbg.json +4 -0
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/Lombard/PendleLBTCBaseSY.sol/PendleLBTCBaseSY.json +1111 -0
  3. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  4. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +0 -196
  5. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  6. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +78 -196
  9. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +0 -196
  11. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  12. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -196
  13. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  14. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +0 -196
  15. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  16. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +0 -196
  17. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  18. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +0 -196
  19. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  20. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +16 -1188
  21. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  22. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  25. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +0 -196
  28. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +4 -0
  29. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.json +122 -0
  30. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +4 -0
  31. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.json +91 -0
  32. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +4 -0
  33. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.json +262 -0
  34. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  35. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  36. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +96 -0
  37. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  38. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  39. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.json +13 -0
  40. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  41. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -196
  42. package/build/artifacts/contracts/interfaces/Lombard/ILBTCMinterBase.sol/ILBTCMinterBase.dbg.json +4 -0
  43. package/build/artifacts/contracts/interfaces/Lombard/ILBTCMinterBase.sol/ILBTCMinterBase.json +63 -0
  44. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  45. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  46. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  47. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  48. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  49. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  50. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
  51. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  52. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  53. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  54. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  55. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  56. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  57. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  58. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  59. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  60. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  61. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  63. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -198
  65. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  67. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  68. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +4 -0
  69. package/build/artifacts/contracts/oracles/{PendleLpOracleLib.sol → PtYtLpOracle/PendleLpOracleLib.sol}/PendleLpOracleLib.json +3 -3
  70. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +4 -0
  71. package/build/artifacts/contracts/oracles/{PendlePYLpOracle.sol → PtYtLpOracle/PendlePYLpOracle.sol}/PendlePYLpOracle.json +3 -3
  72. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +4 -0
  73. package/build/artifacts/contracts/oracles/{PendlePYOracleLib.sol → PtYtLpOracle/PendlePYOracleLib.sol}/PendlePYOracleLib.json +3 -3
  74. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +4 -0
  75. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +226 -0
  76. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +4 -0
  77. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +343 -0
  78. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +4 -0
  79. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +257 -0
  80. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +4 -0
  81. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +3 -3
  82. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +4 -0
  83. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpSeller.sol/BoringLpSeller.json +1 -1
  84. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +4 -0
  85. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +3 -3
  86. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +4 -0
  87. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +3 -3
  88. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +4 -0
  89. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPtSeller.sol/BoringPtSeller.json +1 -1
  90. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +4 -0
  91. package/build/artifacts/contracts/oracles/{PendleBoringOneracle.sol → internal/PendleBoringOneracle.sol}/PendleBoringOneracle.json +3 -3
  92. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +4 -0
  93. package/build/artifacts/contracts/oracles/{PendleBoringSolvBTCOneracle.sol → internal/PendleBoringSolvBTCOneracle.sol}/PendleBoringSolvBTCOneracle.json +3 -3
  94. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +4 -0
  95. package/build/artifacts/contracts/oracles/{PendleRedStoneRateOracleAdapter.sol → internal/PendleRedStoneRateOracleAdapter.sol}/PendleRedStoneRateOracleAdapter.json +3 -3
  96. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +4 -0
  97. package/build/artifacts/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol}/PTExpiry.json +1 -1
  98. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +4 -0
  99. package/build/artifacts/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol}/PendleSparkLinearDiscountOracle.json +3 -3
  100. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  101. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -198
  102. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  103. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  104. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  105. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +80 -198
  106. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  107. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -198
  108. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  109. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -198
  110. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  111. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -198
  112. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  113. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -198
  114. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  115. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  116. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  117. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  118. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  119. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  120. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  121. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  122. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  123. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  124. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  125. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  126. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  127. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  128. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  129. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  130. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  131. package/contracts/core/StandardizedYield/implementations/Lombard/PendleLBTCBaseSY.sol +121 -0
  132. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
  133. package/contracts/interfaces/IPActionMiscV3.sol +8 -2
  134. package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
  135. package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
  136. package/contracts/interfaces/IPAllActionTypeV3.sol +0 -4
  137. package/contracts/interfaces/IPAllActionV3.sol +1 -3
  138. package/contracts/interfaces/IPAllEventsV3.sol +1 -44
  139. package/contracts/interfaces/IPChainlinkOracle.sol +11 -0
  140. package/contracts/interfaces/IPChainlinkOracleFactory.sol +22 -0
  141. package/contracts/interfaces/IPChainlinkOracleWithQuote.sol +8 -0
  142. package/contracts/interfaces/IPLimitRouter.sol +22 -12
  143. package/contracts/interfaces/IPPYLpOracle.sol +3 -4
  144. package/contracts/interfaces/Lombard/ILBTCMinterBase.sol +12 -0
  145. package/contracts/oracles/{PendlePYLpOracle.sol → PtYtLpOracle/PendlePYLpOracle.sol} +2 -2
  146. package/contracts/oracles/{PendlePYOracleLib.sol → PtYtLpOracle/PendlePYOracleLib.sol} +2 -2
  147. package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol +134 -0
  148. package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol +121 -0
  149. package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol +50 -0
  150. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpGlpOracle.sol +3 -3
  151. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpSeller.sol +1 -1
  152. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkAssetOracle.sol +3 -3
  153. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkSYOracle.sol +3 -3
  154. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPtSeller.sol +1 -1
  155. package/contracts/oracles/{PendleBoringOneracle.sol → internal/PendleBoringOneracle.sol} +2 -2
  156. package/contracts/oracles/{PendleBoringSolvBTCOneracle.sol → internal/PendleBoringSolvBTCOneracle.sol} +2 -2
  157. package/contracts/oracles/{PendleRedStoneRateOracleAdapter.sol → internal/PendleRedStoneRateOracleAdapter.sol} +3 -3
  158. package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
  159. package/contracts/router/ActionMiscV3.sol +17 -3
  160. package/contracts/router/ActionSwapPTV3.sol +4 -4
  161. package/contracts/router/ActionSwapYTV3.sol +4 -4
  162. package/contracts/router/base/ActionBase.sol +12 -35
  163. package/contracts/router/base/ActionDelegateBase.sol +1 -1
  164. package/deployments/1-core.json +1 -1
  165. package/deployments/1-markets/MORPHO-PWBTC-JUN2025.json +14 -0
  166. package/deployments/8453-markets/CBETH-BASE-DEC2025.json +14 -0
  167. package/deployments/8453-markets/LBTC-BASE-MAY2025.json +14 -0
  168. package/package.json +1 -1
  169. package/typechain-types/ActionAddRemoveLiqV3.ts +0 -148
  170. package/typechain-types/ActionMiscV3.ts +44 -148
  171. package/typechain-types/ActionSimple.ts +0 -148
  172. package/typechain-types/ActionStorageStatic.ts +0 -148
  173. package/typechain-types/ActionStorageV4.ts +0 -148
  174. package/typechain-types/ActionSwapPTV3.ts +0 -148
  175. package/typechain-types/ActionSwapYTV3.ts +0 -148
  176. package/typechain-types/ILBTCMinterBase.ts +159 -0
  177. package/typechain-types/IPActionAddRemoveLiqV3.ts +0 -148
  178. package/typechain-types/IPActionMiscV3.ts +44 -148
  179. package/typechain-types/IPActionSimple.ts +0 -148
  180. package/typechain-types/IPActionStorageStatic.ts +0 -148
  181. package/typechain-types/IPActionStorageV4.ts +0 -148
  182. package/typechain-types/IPActionSwapPTV3.ts +0 -148
  183. package/typechain-types/IPActionSwapYTV3.ts +0 -148
  184. package/typechain-types/IPAllActionV3.ts +20 -390
  185. package/typechain-types/IPAllEventsV3.ts +0 -148
  186. package/typechain-types/IPLimitRouter.ts +36 -0
  187. package/typechain-types/IPPYLpOracle.ts +21 -0
  188. package/typechain-types/IPRouterStatic.ts +0 -148
  189. package/typechain-types/PendleLBTCBaseSY.ts +1470 -0
  190. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -197
  191. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  192. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  193. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  194. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  195. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  196. package/typechain-types/factories/ActionMiscV3__factory.ts +79 -197
  197. package/typechain-types/factories/ActionSimple__factory.ts +1 -197
  198. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -197
  199. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -197
  200. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -197
  201. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -197
  202. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  203. package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
  204. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  205. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  206. package/typechain-types/factories/ILBTCMinterBase__factory.ts +78 -0
  207. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +0 -196
  208. package/typechain-types/factories/IPActionMiscV3__factory.ts +78 -196
  209. package/typechain-types/factories/IPActionSimple__factory.ts +0 -196
  210. package/typechain-types/factories/IPActionStorageStatic__factory.ts +0 -196
  211. package/typechain-types/factories/IPActionStorageV4__factory.ts +0 -196
  212. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +0 -196
  213. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +0 -196
  214. package/typechain-types/factories/IPAllActionV3__factory.ts +16 -1188
  215. package/typechain-types/factories/IPAllEventsV3__factory.ts +0 -196
  216. package/typechain-types/factories/IPLimitRouter__factory.ts +96 -0
  217. package/typechain-types/factories/IPPYLpOracle__factory.ts +13 -0
  218. package/typechain-types/factories/IPRouterStatic__factory.ts +0 -196
  219. package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
  220. package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
  221. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
  222. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  223. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -49
  224. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -49
  225. package/typechain-types/factories/PendleLBTCBaseSY__factory.ts +1164 -0
  226. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  227. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  228. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  229. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
  230. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  231. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  232. package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +1 -1
  233. package/typechain-types/factories/Reflector__factory.ts +1 -1
  234. package/typechain-types/hardhat.d.ts +180 -27
  235. package/typechain-types/index.ts +18 -8
  236. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +0 -4
  237. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +0 -2638
  238. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +0 -4
  239. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +0 -207
  240. package/build/artifacts/contracts/oracles/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +0 -4
  241. package/build/artifacts/contracts/oracles/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +0 -4
  242. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +0 -4
  243. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +0 -4
  244. package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +0 -4
  245. package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +0 -4
  246. package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +0 -4
  247. package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +0 -4
  248. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +0 -4
  249. package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +0 -4
  250. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +0 -4
  251. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +0 -4
  252. package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +0 -4
  253. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +0 -4
  254. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +0 -2638
  255. package/contracts/interfaces/IPActionSwapLimitV3.sol +0 -42
  256. package/contracts/router/ActionSwapLimitV3.sol +0 -126
  257. /package/contracts/oracles/{PendleLpOracleLib.sol → PtYtLpOracle/PendleLpOracleLib.sol} +0 -0
  258. /package/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol} +0 -0
@@ -1171,202 +1171,6 @@
1171
1171
  "name": "SelectorToFacetSet",
1172
1172
  "type": "event"
1173
1173
  },
1174
- {
1175
- "anonymous": false,
1176
- "inputs": [
1177
- {
1178
- "indexed": true,
1179
- "internalType": "address",
1180
- "name": "caller",
1181
- "type": "address"
1182
- },
1183
- {
1184
- "indexed": true,
1185
- "internalType": "address",
1186
- "name": "market",
1187
- "type": "address"
1188
- },
1189
- {
1190
- "indexed": true,
1191
- "internalType": "address",
1192
- "name": "receiver",
1193
- "type": "address"
1194
- },
1195
- {
1196
- "indexed": false,
1197
- "internalType": "uint256",
1198
- "name": "maxPtIn",
1199
- "type": "uint256"
1200
- },
1201
- {
1202
- "indexed": false,
1203
- "internalType": "uint256",
1204
- "name": "netSyOut",
1205
- "type": "uint256"
1206
- },
1207
- {
1208
- "indexed": false,
1209
- "internalType": "uint256",
1210
- "name": "netPtReturned",
1211
- "type": "uint256"
1212
- }
1213
- ],
1214
- "name": "SwapMaxPtForSyLimitOnly",
1215
- "type": "event"
1216
- },
1217
- {
1218
- "anonymous": false,
1219
- "inputs": [
1220
- {
1221
- "indexed": true,
1222
- "internalType": "address",
1223
- "name": "caller",
1224
- "type": "address"
1225
- },
1226
- {
1227
- "indexed": true,
1228
- "internalType": "address",
1229
- "name": "market",
1230
- "type": "address"
1231
- },
1232
- {
1233
- "indexed": true,
1234
- "internalType": "address",
1235
- "name": "token",
1236
- "type": "address"
1237
- },
1238
- {
1239
- "indexed": false,
1240
- "internalType": "address",
1241
- "name": "receiver",
1242
- "type": "address"
1243
- },
1244
- {
1245
- "indexed": false,
1246
- "internalType": "uint256",
1247
- "name": "maxPtIn",
1248
- "type": "uint256"
1249
- },
1250
- {
1251
- "indexed": false,
1252
- "internalType": "uint256",
1253
- "name": "netTokenOut",
1254
- "type": "uint256"
1255
- },
1256
- {
1257
- "indexed": false,
1258
- "internalType": "uint256",
1259
- "name": "netSyInterm",
1260
- "type": "uint256"
1261
- },
1262
- {
1263
- "indexed": false,
1264
- "internalType": "uint256",
1265
- "name": "netPtReturned",
1266
- "type": "uint256"
1267
- }
1268
- ],
1269
- "name": "SwapMaxPtForTokenLimitOnly",
1270
- "type": "event"
1271
- },
1272
- {
1273
- "anonymous": false,
1274
- "inputs": [
1275
- {
1276
- "indexed": true,
1277
- "internalType": "address",
1278
- "name": "caller",
1279
- "type": "address"
1280
- },
1281
- {
1282
- "indexed": true,
1283
- "internalType": "address",
1284
- "name": "market",
1285
- "type": "address"
1286
- },
1287
- {
1288
- "indexed": true,
1289
- "internalType": "address",
1290
- "name": "receiver",
1291
- "type": "address"
1292
- },
1293
- {
1294
- "indexed": false,
1295
- "internalType": "uint256",
1296
- "name": "maxSyIn",
1297
- "type": "uint256"
1298
- },
1299
- {
1300
- "indexed": false,
1301
- "internalType": "uint256",
1302
- "name": "netYtOut",
1303
- "type": "uint256"
1304
- },
1305
- {
1306
- "indexed": false,
1307
- "internalType": "uint256",
1308
- "name": "netSyReturned",
1309
- "type": "uint256"
1310
- }
1311
- ],
1312
- "name": "SwapMaxSyForYtLimitOnly",
1313
- "type": "event"
1314
- },
1315
- {
1316
- "anonymous": false,
1317
- "inputs": [
1318
- {
1319
- "indexed": true,
1320
- "internalType": "address",
1321
- "name": "caller",
1322
- "type": "address"
1323
- },
1324
- {
1325
- "indexed": true,
1326
- "internalType": "address",
1327
- "name": "market",
1328
- "type": "address"
1329
- },
1330
- {
1331
- "indexed": true,
1332
- "internalType": "address",
1333
- "name": "token",
1334
- "type": "address"
1335
- },
1336
- {
1337
- "indexed": false,
1338
- "internalType": "address",
1339
- "name": "receiver",
1340
- "type": "address"
1341
- },
1342
- {
1343
- "indexed": false,
1344
- "internalType": "uint256",
1345
- "name": "maxTokenIn",
1346
- "type": "uint256"
1347
- },
1348
- {
1349
- "indexed": false,
1350
- "internalType": "uint256",
1351
- "name": "netYtOut",
1352
- "type": "uint256"
1353
- },
1354
- {
1355
- "indexed": false,
1356
- "internalType": "uint256",
1357
- "name": "netSyInterm",
1358
- "type": "uint256"
1359
- },
1360
- {
1361
- "indexed": false,
1362
- "internalType": "uint256",
1363
- "name": "netSyReturned",
1364
- "type": "uint256"
1365
- }
1366
- ],
1367
- "name": "SwapMaxTokenForYtLimitOnly",
1368
- "type": "event"
1369
- },
1370
1174
  {
1371
1175
  "anonymous": false,
1372
1176
  "inputs": [
@@ -8033,803 +7837,32 @@
8033
7837
  "name": "receiver",
8034
7838
  "type": "address"
8035
7839
  },
8036
- {
8037
- "internalType": "address",
8038
- "name": "market",
8039
- "type": "address"
8040
- },
8041
- {
8042
- "internalType": "uint256",
8043
- "name": "maxPtIn",
8044
- "type": "uint256"
8045
- },
8046
7840
  {
8047
7841
  "internalType": "uint256",
8048
- "name": "minSyPtRate",
7842
+ "name": "minTokenOut",
8049
7843
  "type": "uint256"
8050
7844
  },
8051
7845
  {
8052
7846
  "components": [
8053
7847
  {
8054
7848
  "internalType": "address",
8055
- "name": "limitRouter",
7849
+ "name": "tokenIn",
8056
7850
  "type": "address"
8057
7851
  },
8058
7852
  {
8059
7853
  "internalType": "uint256",
8060
- "name": "epsSkipMarket",
7854
+ "name": "netTokenIn",
8061
7855
  "type": "uint256"
8062
- },
8063
- {
8064
- "components": [
8065
- {
8066
- "components": [
8067
- {
8068
- "internalType": "uint256",
8069
- "name": "salt",
8070
- "type": "uint256"
8071
- },
8072
- {
8073
- "internalType": "uint256",
8074
- "name": "expiry",
8075
- "type": "uint256"
8076
- },
8077
- {
8078
- "internalType": "uint256",
8079
- "name": "nonce",
8080
- "type": "uint256"
8081
- },
8082
- {
8083
- "internalType": "enum IPLimitOrderType.OrderType",
8084
- "name": "orderType",
8085
- "type": "uint8"
8086
- },
8087
- {
8088
- "internalType": "address",
8089
- "name": "token",
8090
- "type": "address"
8091
- },
8092
- {
8093
- "internalType": "address",
8094
- "name": "YT",
8095
- "type": "address"
8096
- },
8097
- {
8098
- "internalType": "address",
8099
- "name": "maker",
8100
- "type": "address"
8101
- },
8102
- {
8103
- "internalType": "address",
8104
- "name": "receiver",
8105
- "type": "address"
8106
- },
8107
- {
8108
- "internalType": "uint256",
8109
- "name": "makingAmount",
8110
- "type": "uint256"
8111
- },
8112
- {
8113
- "internalType": "uint256",
8114
- "name": "lnImpliedRate",
8115
- "type": "uint256"
8116
- },
8117
- {
8118
- "internalType": "uint256",
8119
- "name": "failSafeRate",
8120
- "type": "uint256"
8121
- },
8122
- {
8123
- "internalType": "bytes",
8124
- "name": "permit",
8125
- "type": "bytes"
8126
- }
8127
- ],
8128
- "internalType": "struct Order",
8129
- "name": "order",
8130
- "type": "tuple"
8131
- },
8132
- {
8133
- "internalType": "bytes",
8134
- "name": "signature",
8135
- "type": "bytes"
8136
- },
8137
- {
8138
- "internalType": "uint256",
8139
- "name": "makingAmount",
8140
- "type": "uint256"
8141
- }
8142
- ],
8143
- "internalType": "struct FillOrderParams[]",
8144
- "name": "normalFills",
8145
- "type": "tuple[]"
8146
- },
8147
- {
8148
- "components": [
8149
- {
8150
- "components": [
8151
- {
8152
- "internalType": "uint256",
8153
- "name": "salt",
8154
- "type": "uint256"
8155
- },
8156
- {
8157
- "internalType": "uint256",
8158
- "name": "expiry",
8159
- "type": "uint256"
8160
- },
8161
- {
8162
- "internalType": "uint256",
8163
- "name": "nonce",
8164
- "type": "uint256"
8165
- },
8166
- {
8167
- "internalType": "enum IPLimitOrderType.OrderType",
8168
- "name": "orderType",
8169
- "type": "uint8"
8170
- },
8171
- {
8172
- "internalType": "address",
8173
- "name": "token",
8174
- "type": "address"
8175
- },
8176
- {
8177
- "internalType": "address",
8178
- "name": "YT",
8179
- "type": "address"
8180
- },
8181
- {
8182
- "internalType": "address",
8183
- "name": "maker",
8184
- "type": "address"
8185
- },
8186
- {
8187
- "internalType": "address",
8188
- "name": "receiver",
8189
- "type": "address"
8190
- },
8191
- {
8192
- "internalType": "uint256",
8193
- "name": "makingAmount",
8194
- "type": "uint256"
8195
- },
8196
- {
8197
- "internalType": "uint256",
8198
- "name": "lnImpliedRate",
8199
- "type": "uint256"
8200
- },
8201
- {
8202
- "internalType": "uint256",
8203
- "name": "failSafeRate",
8204
- "type": "uint256"
8205
- },
8206
- {
8207
- "internalType": "bytes",
8208
- "name": "permit",
8209
- "type": "bytes"
8210
- }
8211
- ],
8212
- "internalType": "struct Order",
8213
- "name": "order",
8214
- "type": "tuple"
8215
- },
8216
- {
8217
- "internalType": "bytes",
8218
- "name": "signature",
8219
- "type": "bytes"
8220
- },
8221
- {
8222
- "internalType": "uint256",
8223
- "name": "makingAmount",
8224
- "type": "uint256"
8225
- }
8226
- ],
8227
- "internalType": "struct FillOrderParams[]",
8228
- "name": "flashFills",
8229
- "type": "tuple[]"
8230
- },
8231
- {
8232
- "internalType": "bytes",
8233
- "name": "optData",
8234
- "type": "bytes"
8235
- }
8236
- ],
8237
- "internalType": "struct LimitOrderData",
8238
- "name": "limit",
8239
- "type": "tuple"
8240
- }
8241
- ],
8242
- "name": "swapMaxPtForSyLimitOnly",
8243
- "outputs": [
8244
- {
8245
- "internalType": "uint256",
8246
- "name": "netSyOut",
8247
- "type": "uint256"
8248
- },
8249
- {
8250
- "internalType": "uint256",
8251
- "name": "netPtReturned",
8252
- "type": "uint256"
8253
- },
8254
- {
8255
- "internalType": "uint256",
8256
- "name": "netSyFee",
8257
- "type": "uint256"
8258
- }
8259
- ],
8260
- "stateMutability": "nonpayable",
8261
- "type": "function"
8262
- },
8263
- {
8264
- "inputs": [
8265
- {
8266
- "internalType": "address",
8267
- "name": "receiver",
8268
- "type": "address"
8269
- },
8270
- {
8271
- "internalType": "address",
8272
- "name": "market",
8273
- "type": "address"
8274
- },
8275
- {
8276
- "internalType": "uint256",
8277
- "name": "maxPtIn",
8278
- "type": "uint256"
8279
- },
8280
- {
8281
- "internalType": "uint256",
8282
- "name": "minTokenPtRate",
8283
- "type": "uint256"
8284
- },
8285
- {
8286
- "components": [
8287
- {
8288
- "internalType": "address",
8289
- "name": "tokenOut",
8290
- "type": "address"
8291
- },
8292
- {
8293
- "internalType": "uint256",
8294
- "name": "minTokenOut",
8295
- "type": "uint256"
8296
- },
8297
- {
8298
- "internalType": "address",
8299
- "name": "tokenRedeemSy",
8300
- "type": "address"
8301
- },
8302
- {
8303
- "internalType": "address",
8304
- "name": "pendleSwap",
8305
- "type": "address"
8306
- },
8307
- {
8308
- "components": [
8309
- {
8310
- "internalType": "enum SwapType",
8311
- "name": "swapType",
8312
- "type": "uint8"
8313
- },
8314
- {
8315
- "internalType": "address",
8316
- "name": "extRouter",
8317
- "type": "address"
8318
- },
8319
- {
8320
- "internalType": "bytes",
8321
- "name": "extCalldata",
8322
- "type": "bytes"
8323
- },
8324
- {
8325
- "internalType": "bool",
8326
- "name": "needScale",
8327
- "type": "bool"
8328
- }
8329
- ],
8330
- "internalType": "struct SwapData",
8331
- "name": "swapData",
8332
- "type": "tuple"
8333
- }
8334
- ],
8335
- "internalType": "struct TokenOutput",
8336
- "name": "output",
8337
- "type": "tuple"
8338
- },
8339
- {
8340
- "components": [
8341
- {
8342
- "internalType": "address",
8343
- "name": "limitRouter",
8344
- "type": "address"
8345
- },
8346
- {
8347
- "internalType": "uint256",
8348
- "name": "epsSkipMarket",
8349
- "type": "uint256"
8350
- },
8351
- {
8352
- "components": [
8353
- {
8354
- "components": [
8355
- {
8356
- "internalType": "uint256",
8357
- "name": "salt",
8358
- "type": "uint256"
8359
- },
8360
- {
8361
- "internalType": "uint256",
8362
- "name": "expiry",
8363
- "type": "uint256"
8364
- },
8365
- {
8366
- "internalType": "uint256",
8367
- "name": "nonce",
8368
- "type": "uint256"
8369
- },
8370
- {
8371
- "internalType": "enum IPLimitOrderType.OrderType",
8372
- "name": "orderType",
8373
- "type": "uint8"
8374
- },
8375
- {
8376
- "internalType": "address",
8377
- "name": "token",
8378
- "type": "address"
8379
- },
8380
- {
8381
- "internalType": "address",
8382
- "name": "YT",
8383
- "type": "address"
8384
- },
8385
- {
8386
- "internalType": "address",
8387
- "name": "maker",
8388
- "type": "address"
8389
- },
8390
- {
8391
- "internalType": "address",
8392
- "name": "receiver",
8393
- "type": "address"
8394
- },
8395
- {
8396
- "internalType": "uint256",
8397
- "name": "makingAmount",
8398
- "type": "uint256"
8399
- },
8400
- {
8401
- "internalType": "uint256",
8402
- "name": "lnImpliedRate",
8403
- "type": "uint256"
8404
- },
8405
- {
8406
- "internalType": "uint256",
8407
- "name": "failSafeRate",
8408
- "type": "uint256"
8409
- },
8410
- {
8411
- "internalType": "bytes",
8412
- "name": "permit",
8413
- "type": "bytes"
8414
- }
8415
- ],
8416
- "internalType": "struct Order",
8417
- "name": "order",
8418
- "type": "tuple"
8419
- },
8420
- {
8421
- "internalType": "bytes",
8422
- "name": "signature",
8423
- "type": "bytes"
8424
- },
8425
- {
8426
- "internalType": "uint256",
8427
- "name": "makingAmount",
8428
- "type": "uint256"
8429
- }
8430
- ],
8431
- "internalType": "struct FillOrderParams[]",
8432
- "name": "normalFills",
8433
- "type": "tuple[]"
8434
- },
8435
- {
8436
- "components": [
8437
- {
8438
- "components": [
8439
- {
8440
- "internalType": "uint256",
8441
- "name": "salt",
8442
- "type": "uint256"
8443
- },
8444
- {
8445
- "internalType": "uint256",
8446
- "name": "expiry",
8447
- "type": "uint256"
8448
- },
8449
- {
8450
- "internalType": "uint256",
8451
- "name": "nonce",
8452
- "type": "uint256"
8453
- },
8454
- {
8455
- "internalType": "enum IPLimitOrderType.OrderType",
8456
- "name": "orderType",
8457
- "type": "uint8"
8458
- },
8459
- {
8460
- "internalType": "address",
8461
- "name": "token",
8462
- "type": "address"
8463
- },
8464
- {
8465
- "internalType": "address",
8466
- "name": "YT",
8467
- "type": "address"
8468
- },
8469
- {
8470
- "internalType": "address",
8471
- "name": "maker",
8472
- "type": "address"
8473
- },
8474
- {
8475
- "internalType": "address",
8476
- "name": "receiver",
8477
- "type": "address"
8478
- },
8479
- {
8480
- "internalType": "uint256",
8481
- "name": "makingAmount",
8482
- "type": "uint256"
8483
- },
8484
- {
8485
- "internalType": "uint256",
8486
- "name": "lnImpliedRate",
8487
- "type": "uint256"
8488
- },
8489
- {
8490
- "internalType": "uint256",
8491
- "name": "failSafeRate",
8492
- "type": "uint256"
8493
- },
8494
- {
8495
- "internalType": "bytes",
8496
- "name": "permit",
8497
- "type": "bytes"
8498
- }
8499
- ],
8500
- "internalType": "struct Order",
8501
- "name": "order",
8502
- "type": "tuple"
8503
- },
8504
- {
8505
- "internalType": "bytes",
8506
- "name": "signature",
8507
- "type": "bytes"
8508
- },
8509
- {
8510
- "internalType": "uint256",
8511
- "name": "makingAmount",
8512
- "type": "uint256"
8513
- }
8514
- ],
8515
- "internalType": "struct FillOrderParams[]",
8516
- "name": "flashFills",
8517
- "type": "tuple[]"
8518
- },
8519
- {
8520
- "internalType": "bytes",
8521
- "name": "optData",
8522
- "type": "bytes"
8523
- }
8524
- ],
8525
- "internalType": "struct LimitOrderData",
8526
- "name": "limit",
8527
- "type": "tuple"
8528
- }
8529
- ],
8530
- "name": "swapMaxPtForTokenLimitOnly",
8531
- "outputs": [
8532
- {
8533
- "internalType": "uint256",
8534
- "name": "netTokenOut",
8535
- "type": "uint256"
8536
- },
8537
- {
8538
- "internalType": "uint256",
8539
- "name": "netPtReturned",
8540
- "type": "uint256"
8541
- },
8542
- {
8543
- "internalType": "uint256",
8544
- "name": "netSyFee",
8545
- "type": "uint256"
8546
- },
8547
- {
8548
- "internalType": "uint256",
8549
- "name": "netSyInterm",
8550
- "type": "uint256"
8551
- }
8552
- ],
8553
- "stateMutability": "nonpayable",
8554
- "type": "function"
8555
- },
8556
- {
8557
- "inputs": [
8558
- {
8559
- "internalType": "address",
8560
- "name": "receiver",
8561
- "type": "address"
8562
- },
8563
- {
8564
- "internalType": "address",
8565
- "name": "market",
8566
- "type": "address"
8567
- },
8568
- {
8569
- "internalType": "uint256",
8570
- "name": "maxSyIn",
8571
- "type": "uint256"
8572
- },
8573
- {
8574
- "internalType": "uint256",
8575
- "name": "minYtSyRate",
8576
- "type": "uint256"
8577
- },
8578
- {
8579
- "components": [
8580
- {
8581
- "internalType": "address",
8582
- "name": "limitRouter",
8583
- "type": "address"
8584
- },
8585
- {
8586
- "internalType": "uint256",
8587
- "name": "epsSkipMarket",
8588
- "type": "uint256"
8589
- },
8590
- {
8591
- "components": [
8592
- {
8593
- "components": [
8594
- {
8595
- "internalType": "uint256",
8596
- "name": "salt",
8597
- "type": "uint256"
8598
- },
8599
- {
8600
- "internalType": "uint256",
8601
- "name": "expiry",
8602
- "type": "uint256"
8603
- },
8604
- {
8605
- "internalType": "uint256",
8606
- "name": "nonce",
8607
- "type": "uint256"
8608
- },
8609
- {
8610
- "internalType": "enum IPLimitOrderType.OrderType",
8611
- "name": "orderType",
8612
- "type": "uint8"
8613
- },
8614
- {
8615
- "internalType": "address",
8616
- "name": "token",
8617
- "type": "address"
8618
- },
8619
- {
8620
- "internalType": "address",
8621
- "name": "YT",
8622
- "type": "address"
8623
- },
8624
- {
8625
- "internalType": "address",
8626
- "name": "maker",
8627
- "type": "address"
8628
- },
8629
- {
8630
- "internalType": "address",
8631
- "name": "receiver",
8632
- "type": "address"
8633
- },
8634
- {
8635
- "internalType": "uint256",
8636
- "name": "makingAmount",
8637
- "type": "uint256"
8638
- },
8639
- {
8640
- "internalType": "uint256",
8641
- "name": "lnImpliedRate",
8642
- "type": "uint256"
8643
- },
8644
- {
8645
- "internalType": "uint256",
8646
- "name": "failSafeRate",
8647
- "type": "uint256"
8648
- },
8649
- {
8650
- "internalType": "bytes",
8651
- "name": "permit",
8652
- "type": "bytes"
8653
- }
8654
- ],
8655
- "internalType": "struct Order",
8656
- "name": "order",
8657
- "type": "tuple"
8658
- },
8659
- {
8660
- "internalType": "bytes",
8661
- "name": "signature",
8662
- "type": "bytes"
8663
- },
8664
- {
8665
- "internalType": "uint256",
8666
- "name": "makingAmount",
8667
- "type": "uint256"
8668
- }
8669
- ],
8670
- "internalType": "struct FillOrderParams[]",
8671
- "name": "normalFills",
8672
- "type": "tuple[]"
8673
- },
8674
- {
8675
- "components": [
8676
- {
8677
- "components": [
8678
- {
8679
- "internalType": "uint256",
8680
- "name": "salt",
8681
- "type": "uint256"
8682
- },
8683
- {
8684
- "internalType": "uint256",
8685
- "name": "expiry",
8686
- "type": "uint256"
8687
- },
8688
- {
8689
- "internalType": "uint256",
8690
- "name": "nonce",
8691
- "type": "uint256"
8692
- },
8693
- {
8694
- "internalType": "enum IPLimitOrderType.OrderType",
8695
- "name": "orderType",
8696
- "type": "uint8"
8697
- },
8698
- {
8699
- "internalType": "address",
8700
- "name": "token",
8701
- "type": "address"
8702
- },
8703
- {
8704
- "internalType": "address",
8705
- "name": "YT",
8706
- "type": "address"
8707
- },
8708
- {
8709
- "internalType": "address",
8710
- "name": "maker",
8711
- "type": "address"
8712
- },
8713
- {
8714
- "internalType": "address",
8715
- "name": "receiver",
8716
- "type": "address"
8717
- },
8718
- {
8719
- "internalType": "uint256",
8720
- "name": "makingAmount",
8721
- "type": "uint256"
8722
- },
8723
- {
8724
- "internalType": "uint256",
8725
- "name": "lnImpliedRate",
8726
- "type": "uint256"
8727
- },
8728
- {
8729
- "internalType": "uint256",
8730
- "name": "failSafeRate",
8731
- "type": "uint256"
8732
- },
8733
- {
8734
- "internalType": "bytes",
8735
- "name": "permit",
8736
- "type": "bytes"
8737
- }
8738
- ],
8739
- "internalType": "struct Order",
8740
- "name": "order",
8741
- "type": "tuple"
8742
- },
8743
- {
8744
- "internalType": "bytes",
8745
- "name": "signature",
8746
- "type": "bytes"
8747
- },
8748
- {
8749
- "internalType": "uint256",
8750
- "name": "makingAmount",
8751
- "type": "uint256"
8752
- }
8753
- ],
8754
- "internalType": "struct FillOrderParams[]",
8755
- "name": "flashFills",
8756
- "type": "tuple[]"
8757
- },
8758
- {
8759
- "internalType": "bytes",
8760
- "name": "optData",
8761
- "type": "bytes"
8762
- }
8763
- ],
8764
- "internalType": "struct LimitOrderData",
8765
- "name": "limit",
8766
- "type": "tuple"
8767
- }
8768
- ],
8769
- "name": "swapMaxSyForYtLimitOnly",
8770
- "outputs": [
8771
- {
8772
- "internalType": "uint256",
8773
- "name": "netYtOut",
8774
- "type": "uint256"
8775
- },
8776
- {
8777
- "internalType": "uint256",
8778
- "name": "netSyReturned",
8779
- "type": "uint256"
8780
- },
8781
- {
8782
- "internalType": "uint256",
8783
- "name": "netSyFee",
8784
- "type": "uint256"
8785
- }
8786
- ],
8787
- "stateMutability": "nonpayable",
8788
- "type": "function"
8789
- },
8790
- {
8791
- "inputs": [
8792
- {
8793
- "internalType": "address",
8794
- "name": "receiver",
8795
- "type": "address"
8796
- },
8797
- {
8798
- "internalType": "address",
8799
- "name": "market",
8800
- "type": "address"
8801
- },
8802
- {
8803
- "internalType": "uint256",
8804
- "name": "minSyInterm",
8805
- "type": "uint256"
8806
- },
8807
- {
8808
- "internalType": "uint256",
8809
- "name": "minYtSyRate",
8810
- "type": "uint256"
8811
- },
8812
- {
8813
- "components": [
8814
- {
8815
- "internalType": "address",
8816
- "name": "tokenIn",
8817
- "type": "address"
8818
- },
8819
- {
8820
- "internalType": "uint256",
8821
- "name": "netTokenIn",
8822
- "type": "uint256"
8823
- },
8824
- {
8825
- "internalType": "address",
8826
- "name": "tokenMintSy",
8827
- "type": "address"
8828
- },
8829
- {
8830
- "internalType": "address",
8831
- "name": "pendleSwap",
8832
- "type": "address"
7856
+ },
7857
+ {
7858
+ "internalType": "address",
7859
+ "name": "tokenMintSy",
7860
+ "type": "address"
7861
+ },
7862
+ {
7863
+ "internalType": "address",
7864
+ "name": "pendleSwap",
7865
+ "type": "address"
8833
7866
  },
8834
7867
  {
8835
7868
  "components": [
@@ -8860,220 +7893,15 @@
8860
7893
  }
8861
7894
  ],
8862
7895
  "internalType": "struct TokenInput",
8863
- "name": "input",
8864
- "type": "tuple"
8865
- },
8866
- {
8867
- "components": [
8868
- {
8869
- "internalType": "address",
8870
- "name": "limitRouter",
8871
- "type": "address"
8872
- },
8873
- {
8874
- "internalType": "uint256",
8875
- "name": "epsSkipMarket",
8876
- "type": "uint256"
8877
- },
8878
- {
8879
- "components": [
8880
- {
8881
- "components": [
8882
- {
8883
- "internalType": "uint256",
8884
- "name": "salt",
8885
- "type": "uint256"
8886
- },
8887
- {
8888
- "internalType": "uint256",
8889
- "name": "expiry",
8890
- "type": "uint256"
8891
- },
8892
- {
8893
- "internalType": "uint256",
8894
- "name": "nonce",
8895
- "type": "uint256"
8896
- },
8897
- {
8898
- "internalType": "enum IPLimitOrderType.OrderType",
8899
- "name": "orderType",
8900
- "type": "uint8"
8901
- },
8902
- {
8903
- "internalType": "address",
8904
- "name": "token",
8905
- "type": "address"
8906
- },
8907
- {
8908
- "internalType": "address",
8909
- "name": "YT",
8910
- "type": "address"
8911
- },
8912
- {
8913
- "internalType": "address",
8914
- "name": "maker",
8915
- "type": "address"
8916
- },
8917
- {
8918
- "internalType": "address",
8919
- "name": "receiver",
8920
- "type": "address"
8921
- },
8922
- {
8923
- "internalType": "uint256",
8924
- "name": "makingAmount",
8925
- "type": "uint256"
8926
- },
8927
- {
8928
- "internalType": "uint256",
8929
- "name": "lnImpliedRate",
8930
- "type": "uint256"
8931
- },
8932
- {
8933
- "internalType": "uint256",
8934
- "name": "failSafeRate",
8935
- "type": "uint256"
8936
- },
8937
- {
8938
- "internalType": "bytes",
8939
- "name": "permit",
8940
- "type": "bytes"
8941
- }
8942
- ],
8943
- "internalType": "struct Order",
8944
- "name": "order",
8945
- "type": "tuple"
8946
- },
8947
- {
8948
- "internalType": "bytes",
8949
- "name": "signature",
8950
- "type": "bytes"
8951
- },
8952
- {
8953
- "internalType": "uint256",
8954
- "name": "makingAmount",
8955
- "type": "uint256"
8956
- }
8957
- ],
8958
- "internalType": "struct FillOrderParams[]",
8959
- "name": "normalFills",
8960
- "type": "tuple[]"
8961
- },
8962
- {
8963
- "components": [
8964
- {
8965
- "components": [
8966
- {
8967
- "internalType": "uint256",
8968
- "name": "salt",
8969
- "type": "uint256"
8970
- },
8971
- {
8972
- "internalType": "uint256",
8973
- "name": "expiry",
8974
- "type": "uint256"
8975
- },
8976
- {
8977
- "internalType": "uint256",
8978
- "name": "nonce",
8979
- "type": "uint256"
8980
- },
8981
- {
8982
- "internalType": "enum IPLimitOrderType.OrderType",
8983
- "name": "orderType",
8984
- "type": "uint8"
8985
- },
8986
- {
8987
- "internalType": "address",
8988
- "name": "token",
8989
- "type": "address"
8990
- },
8991
- {
8992
- "internalType": "address",
8993
- "name": "YT",
8994
- "type": "address"
8995
- },
8996
- {
8997
- "internalType": "address",
8998
- "name": "maker",
8999
- "type": "address"
9000
- },
9001
- {
9002
- "internalType": "address",
9003
- "name": "receiver",
9004
- "type": "address"
9005
- },
9006
- {
9007
- "internalType": "uint256",
9008
- "name": "makingAmount",
9009
- "type": "uint256"
9010
- },
9011
- {
9012
- "internalType": "uint256",
9013
- "name": "lnImpliedRate",
9014
- "type": "uint256"
9015
- },
9016
- {
9017
- "internalType": "uint256",
9018
- "name": "failSafeRate",
9019
- "type": "uint256"
9020
- },
9021
- {
9022
- "internalType": "bytes",
9023
- "name": "permit",
9024
- "type": "bytes"
9025
- }
9026
- ],
9027
- "internalType": "struct Order",
9028
- "name": "order",
9029
- "type": "tuple"
9030
- },
9031
- {
9032
- "internalType": "bytes",
9033
- "name": "signature",
9034
- "type": "bytes"
9035
- },
9036
- {
9037
- "internalType": "uint256",
9038
- "name": "makingAmount",
9039
- "type": "uint256"
9040
- }
9041
- ],
9042
- "internalType": "struct FillOrderParams[]",
9043
- "name": "flashFills",
9044
- "type": "tuple[]"
9045
- },
9046
- {
9047
- "internalType": "bytes",
9048
- "name": "optData",
9049
- "type": "bytes"
9050
- }
9051
- ],
9052
- "internalType": "struct LimitOrderData",
9053
- "name": "limit",
7896
+ "name": "inp",
9054
7897
  "type": "tuple"
9055
7898
  }
9056
7899
  ],
9057
- "name": "swapMaxTokenForYtLimitOnly",
7900
+ "name": "swapTokenToToken",
9058
7901
  "outputs": [
9059
7902
  {
9060
7903
  "internalType": "uint256",
9061
- "name": "netYtOut",
9062
- "type": "uint256"
9063
- },
9064
- {
9065
- "internalType": "uint256",
9066
- "name": "netSyReturned",
9067
- "type": "uint256"
9068
- },
9069
- {
9070
- "internalType": "uint256",
9071
- "name": "netSyFee",
9072
- "type": "uint256"
9073
- },
9074
- {
9075
- "internalType": "uint256",
9076
- "name": "netSyInterm",
7904
+ "name": "netTokenOut",
9077
7905
  "type": "uint256"
9078
7906
  }
9079
7907
  ],