@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
@@ -1175,202 +1175,6 @@ const _abi = [
1175
1175
  name: "SelectorToFacetSet",
1176
1176
  type: "event",
1177
1177
  },
1178
- {
1179
- anonymous: false,
1180
- inputs: [
1181
- {
1182
- indexed: true,
1183
- internalType: "address",
1184
- name: "caller",
1185
- type: "address",
1186
- },
1187
- {
1188
- indexed: true,
1189
- internalType: "address",
1190
- name: "market",
1191
- type: "address",
1192
- },
1193
- {
1194
- indexed: true,
1195
- internalType: "address",
1196
- name: "receiver",
1197
- type: "address",
1198
- },
1199
- {
1200
- indexed: false,
1201
- internalType: "uint256",
1202
- name: "maxPtIn",
1203
- type: "uint256",
1204
- },
1205
- {
1206
- indexed: false,
1207
- internalType: "uint256",
1208
- name: "netSyOut",
1209
- type: "uint256",
1210
- },
1211
- {
1212
- indexed: false,
1213
- internalType: "uint256",
1214
- name: "netPtReturned",
1215
- type: "uint256",
1216
- },
1217
- ],
1218
- name: "SwapMaxPtForSyLimitOnly",
1219
- type: "event",
1220
- },
1221
- {
1222
- anonymous: false,
1223
- inputs: [
1224
- {
1225
- indexed: true,
1226
- internalType: "address",
1227
- name: "caller",
1228
- type: "address",
1229
- },
1230
- {
1231
- indexed: true,
1232
- internalType: "address",
1233
- name: "market",
1234
- type: "address",
1235
- },
1236
- {
1237
- indexed: true,
1238
- internalType: "address",
1239
- name: "token",
1240
- type: "address",
1241
- },
1242
- {
1243
- indexed: false,
1244
- internalType: "address",
1245
- name: "receiver",
1246
- type: "address",
1247
- },
1248
- {
1249
- indexed: false,
1250
- internalType: "uint256",
1251
- name: "maxPtIn",
1252
- type: "uint256",
1253
- },
1254
- {
1255
- indexed: false,
1256
- internalType: "uint256",
1257
- name: "netTokenOut",
1258
- type: "uint256",
1259
- },
1260
- {
1261
- indexed: false,
1262
- internalType: "uint256",
1263
- name: "netSyInterm",
1264
- type: "uint256",
1265
- },
1266
- {
1267
- indexed: false,
1268
- internalType: "uint256",
1269
- name: "netPtReturned",
1270
- type: "uint256",
1271
- },
1272
- ],
1273
- name: "SwapMaxPtForTokenLimitOnly",
1274
- type: "event",
1275
- },
1276
- {
1277
- anonymous: false,
1278
- inputs: [
1279
- {
1280
- indexed: true,
1281
- internalType: "address",
1282
- name: "caller",
1283
- type: "address",
1284
- },
1285
- {
1286
- indexed: true,
1287
- internalType: "address",
1288
- name: "market",
1289
- type: "address",
1290
- },
1291
- {
1292
- indexed: true,
1293
- internalType: "address",
1294
- name: "receiver",
1295
- type: "address",
1296
- },
1297
- {
1298
- indexed: false,
1299
- internalType: "uint256",
1300
- name: "maxSyIn",
1301
- type: "uint256",
1302
- },
1303
- {
1304
- indexed: false,
1305
- internalType: "uint256",
1306
- name: "netYtOut",
1307
- type: "uint256",
1308
- },
1309
- {
1310
- indexed: false,
1311
- internalType: "uint256",
1312
- name: "netSyReturned",
1313
- type: "uint256",
1314
- },
1315
- ],
1316
- name: "SwapMaxSyForYtLimitOnly",
1317
- type: "event",
1318
- },
1319
- {
1320
- anonymous: false,
1321
- inputs: [
1322
- {
1323
- indexed: true,
1324
- internalType: "address",
1325
- name: "caller",
1326
- type: "address",
1327
- },
1328
- {
1329
- indexed: true,
1330
- internalType: "address",
1331
- name: "market",
1332
- type: "address",
1333
- },
1334
- {
1335
- indexed: true,
1336
- internalType: "address",
1337
- name: "token",
1338
- type: "address",
1339
- },
1340
- {
1341
- indexed: false,
1342
- internalType: "address",
1343
- name: "receiver",
1344
- type: "address",
1345
- },
1346
- {
1347
- indexed: false,
1348
- internalType: "uint256",
1349
- name: "maxTokenIn",
1350
- type: "uint256",
1351
- },
1352
- {
1353
- indexed: false,
1354
- internalType: "uint256",
1355
- name: "netYtOut",
1356
- type: "uint256",
1357
- },
1358
- {
1359
- indexed: false,
1360
- internalType: "uint256",
1361
- name: "netSyInterm",
1362
- type: "uint256",
1363
- },
1364
- {
1365
- indexed: false,
1366
- internalType: "uint256",
1367
- name: "netSyReturned",
1368
- type: "uint256",
1369
- },
1370
- ],
1371
- name: "SwapMaxTokenForYtLimitOnly",
1372
- type: "event",
1373
- },
1374
1178
  {
1375
1179
  anonymous: false,
1376
1180
  inputs: [
@@ -8037,803 +7841,32 @@ const _abi = [
8037
7841
  name: "receiver",
8038
7842
  type: "address",
8039
7843
  },
8040
- {
8041
- internalType: "address",
8042
- name: "market",
8043
- type: "address",
8044
- },
8045
- {
8046
- internalType: "uint256",
8047
- name: "maxPtIn",
8048
- type: "uint256",
8049
- },
8050
7844
  {
8051
7845
  internalType: "uint256",
8052
- name: "minSyPtRate",
7846
+ name: "minTokenOut",
8053
7847
  type: "uint256",
8054
7848
  },
8055
7849
  {
8056
7850
  components: [
8057
7851
  {
8058
7852
  internalType: "address",
8059
- name: "limitRouter",
7853
+ name: "tokenIn",
8060
7854
  type: "address",
8061
7855
  },
8062
7856
  {
8063
7857
  internalType: "uint256",
8064
- name: "epsSkipMarket",
7858
+ name: "netTokenIn",
8065
7859
  type: "uint256",
8066
- },
8067
- {
8068
- components: [
8069
- {
8070
- components: [
8071
- {
8072
- internalType: "uint256",
8073
- name: "salt",
8074
- type: "uint256",
8075
- },
8076
- {
8077
- internalType: "uint256",
8078
- name: "expiry",
8079
- type: "uint256",
8080
- },
8081
- {
8082
- internalType: "uint256",
8083
- name: "nonce",
8084
- type: "uint256",
8085
- },
8086
- {
8087
- internalType: "enum IPLimitOrderType.OrderType",
8088
- name: "orderType",
8089
- type: "uint8",
8090
- },
8091
- {
8092
- internalType: "address",
8093
- name: "token",
8094
- type: "address",
8095
- },
8096
- {
8097
- internalType: "address",
8098
- name: "YT",
8099
- type: "address",
8100
- },
8101
- {
8102
- internalType: "address",
8103
- name: "maker",
8104
- type: "address",
8105
- },
8106
- {
8107
- internalType: "address",
8108
- name: "receiver",
8109
- type: "address",
8110
- },
8111
- {
8112
- internalType: "uint256",
8113
- name: "makingAmount",
8114
- type: "uint256",
8115
- },
8116
- {
8117
- internalType: "uint256",
8118
- name: "lnImpliedRate",
8119
- type: "uint256",
8120
- },
8121
- {
8122
- internalType: "uint256",
8123
- name: "failSafeRate",
8124
- type: "uint256",
8125
- },
8126
- {
8127
- internalType: "bytes",
8128
- name: "permit",
8129
- type: "bytes",
8130
- },
8131
- ],
8132
- internalType: "struct Order",
8133
- name: "order",
8134
- type: "tuple",
8135
- },
8136
- {
8137
- internalType: "bytes",
8138
- name: "signature",
8139
- type: "bytes",
8140
- },
8141
- {
8142
- internalType: "uint256",
8143
- name: "makingAmount",
8144
- type: "uint256",
8145
- },
8146
- ],
8147
- internalType: "struct FillOrderParams[]",
8148
- name: "normalFills",
8149
- type: "tuple[]",
8150
- },
8151
- {
8152
- components: [
8153
- {
8154
- components: [
8155
- {
8156
- internalType: "uint256",
8157
- name: "salt",
8158
- type: "uint256",
8159
- },
8160
- {
8161
- internalType: "uint256",
8162
- name: "expiry",
8163
- type: "uint256",
8164
- },
8165
- {
8166
- internalType: "uint256",
8167
- name: "nonce",
8168
- type: "uint256",
8169
- },
8170
- {
8171
- internalType: "enum IPLimitOrderType.OrderType",
8172
- name: "orderType",
8173
- type: "uint8",
8174
- },
8175
- {
8176
- internalType: "address",
8177
- name: "token",
8178
- type: "address",
8179
- },
8180
- {
8181
- internalType: "address",
8182
- name: "YT",
8183
- type: "address",
8184
- },
8185
- {
8186
- internalType: "address",
8187
- name: "maker",
8188
- type: "address",
8189
- },
8190
- {
8191
- internalType: "address",
8192
- name: "receiver",
8193
- type: "address",
8194
- },
8195
- {
8196
- internalType: "uint256",
8197
- name: "makingAmount",
8198
- type: "uint256",
8199
- },
8200
- {
8201
- internalType: "uint256",
8202
- name: "lnImpliedRate",
8203
- type: "uint256",
8204
- },
8205
- {
8206
- internalType: "uint256",
8207
- name: "failSafeRate",
8208
- type: "uint256",
8209
- },
8210
- {
8211
- internalType: "bytes",
8212
- name: "permit",
8213
- type: "bytes",
8214
- },
8215
- ],
8216
- internalType: "struct Order",
8217
- name: "order",
8218
- type: "tuple",
8219
- },
8220
- {
8221
- internalType: "bytes",
8222
- name: "signature",
8223
- type: "bytes",
8224
- },
8225
- {
8226
- internalType: "uint256",
8227
- name: "makingAmount",
8228
- type: "uint256",
8229
- },
8230
- ],
8231
- internalType: "struct FillOrderParams[]",
8232
- name: "flashFills",
8233
- type: "tuple[]",
8234
- },
8235
- {
8236
- internalType: "bytes",
8237
- name: "optData",
8238
- type: "bytes",
8239
- },
8240
- ],
8241
- internalType: "struct LimitOrderData",
8242
- name: "limit",
8243
- type: "tuple",
8244
- },
8245
- ],
8246
- name: "swapMaxPtForSyLimitOnly",
8247
- outputs: [
8248
- {
8249
- internalType: "uint256",
8250
- name: "netSyOut",
8251
- type: "uint256",
8252
- },
8253
- {
8254
- internalType: "uint256",
8255
- name: "netPtReturned",
8256
- type: "uint256",
8257
- },
8258
- {
8259
- internalType: "uint256",
8260
- name: "netSyFee",
8261
- type: "uint256",
8262
- },
8263
- ],
8264
- stateMutability: "nonpayable",
8265
- type: "function",
8266
- },
8267
- {
8268
- inputs: [
8269
- {
8270
- internalType: "address",
8271
- name: "receiver",
8272
- type: "address",
8273
- },
8274
- {
8275
- internalType: "address",
8276
- name: "market",
8277
- type: "address",
8278
- },
8279
- {
8280
- internalType: "uint256",
8281
- name: "maxPtIn",
8282
- type: "uint256",
8283
- },
8284
- {
8285
- internalType: "uint256",
8286
- name: "minTokenPtRate",
8287
- type: "uint256",
8288
- },
8289
- {
8290
- components: [
8291
- {
8292
- internalType: "address",
8293
- name: "tokenOut",
8294
- type: "address",
8295
- },
8296
- {
8297
- internalType: "uint256",
8298
- name: "minTokenOut",
8299
- type: "uint256",
8300
- },
8301
- {
8302
- internalType: "address",
8303
- name: "tokenRedeemSy",
8304
- type: "address",
8305
- },
8306
- {
8307
- internalType: "address",
8308
- name: "pendleSwap",
8309
- type: "address",
8310
- },
8311
- {
8312
- components: [
8313
- {
8314
- internalType: "enum SwapType",
8315
- name: "swapType",
8316
- type: "uint8",
8317
- },
8318
- {
8319
- internalType: "address",
8320
- name: "extRouter",
8321
- type: "address",
8322
- },
8323
- {
8324
- internalType: "bytes",
8325
- name: "extCalldata",
8326
- type: "bytes",
8327
- },
8328
- {
8329
- internalType: "bool",
8330
- name: "needScale",
8331
- type: "bool",
8332
- },
8333
- ],
8334
- internalType: "struct SwapData",
8335
- name: "swapData",
8336
- type: "tuple",
8337
- },
8338
- ],
8339
- internalType: "struct TokenOutput",
8340
- name: "output",
8341
- type: "tuple",
8342
- },
8343
- {
8344
- components: [
8345
- {
8346
- internalType: "address",
8347
- name: "limitRouter",
8348
- type: "address",
8349
- },
8350
- {
8351
- internalType: "uint256",
8352
- name: "epsSkipMarket",
8353
- type: "uint256",
8354
- },
8355
- {
8356
- components: [
8357
- {
8358
- components: [
8359
- {
8360
- internalType: "uint256",
8361
- name: "salt",
8362
- type: "uint256",
8363
- },
8364
- {
8365
- internalType: "uint256",
8366
- name: "expiry",
8367
- type: "uint256",
8368
- },
8369
- {
8370
- internalType: "uint256",
8371
- name: "nonce",
8372
- type: "uint256",
8373
- },
8374
- {
8375
- internalType: "enum IPLimitOrderType.OrderType",
8376
- name: "orderType",
8377
- type: "uint8",
8378
- },
8379
- {
8380
- internalType: "address",
8381
- name: "token",
8382
- type: "address",
8383
- },
8384
- {
8385
- internalType: "address",
8386
- name: "YT",
8387
- type: "address",
8388
- },
8389
- {
8390
- internalType: "address",
8391
- name: "maker",
8392
- type: "address",
8393
- },
8394
- {
8395
- internalType: "address",
8396
- name: "receiver",
8397
- type: "address",
8398
- },
8399
- {
8400
- internalType: "uint256",
8401
- name: "makingAmount",
8402
- type: "uint256",
8403
- },
8404
- {
8405
- internalType: "uint256",
8406
- name: "lnImpliedRate",
8407
- type: "uint256",
8408
- },
8409
- {
8410
- internalType: "uint256",
8411
- name: "failSafeRate",
8412
- type: "uint256",
8413
- },
8414
- {
8415
- internalType: "bytes",
8416
- name: "permit",
8417
- type: "bytes",
8418
- },
8419
- ],
8420
- internalType: "struct Order",
8421
- name: "order",
8422
- type: "tuple",
8423
- },
8424
- {
8425
- internalType: "bytes",
8426
- name: "signature",
8427
- type: "bytes",
8428
- },
8429
- {
8430
- internalType: "uint256",
8431
- name: "makingAmount",
8432
- type: "uint256",
8433
- },
8434
- ],
8435
- internalType: "struct FillOrderParams[]",
8436
- name: "normalFills",
8437
- type: "tuple[]",
8438
- },
8439
- {
8440
- components: [
8441
- {
8442
- components: [
8443
- {
8444
- internalType: "uint256",
8445
- name: "salt",
8446
- type: "uint256",
8447
- },
8448
- {
8449
- internalType: "uint256",
8450
- name: "expiry",
8451
- type: "uint256",
8452
- },
8453
- {
8454
- internalType: "uint256",
8455
- name: "nonce",
8456
- type: "uint256",
8457
- },
8458
- {
8459
- internalType: "enum IPLimitOrderType.OrderType",
8460
- name: "orderType",
8461
- type: "uint8",
8462
- },
8463
- {
8464
- internalType: "address",
8465
- name: "token",
8466
- type: "address",
8467
- },
8468
- {
8469
- internalType: "address",
8470
- name: "YT",
8471
- type: "address",
8472
- },
8473
- {
8474
- internalType: "address",
8475
- name: "maker",
8476
- type: "address",
8477
- },
8478
- {
8479
- internalType: "address",
8480
- name: "receiver",
8481
- type: "address",
8482
- },
8483
- {
8484
- internalType: "uint256",
8485
- name: "makingAmount",
8486
- type: "uint256",
8487
- },
8488
- {
8489
- internalType: "uint256",
8490
- name: "lnImpliedRate",
8491
- type: "uint256",
8492
- },
8493
- {
8494
- internalType: "uint256",
8495
- name: "failSafeRate",
8496
- type: "uint256",
8497
- },
8498
- {
8499
- internalType: "bytes",
8500
- name: "permit",
8501
- type: "bytes",
8502
- },
8503
- ],
8504
- internalType: "struct Order",
8505
- name: "order",
8506
- type: "tuple",
8507
- },
8508
- {
8509
- internalType: "bytes",
8510
- name: "signature",
8511
- type: "bytes",
8512
- },
8513
- {
8514
- internalType: "uint256",
8515
- name: "makingAmount",
8516
- type: "uint256",
8517
- },
8518
- ],
8519
- internalType: "struct FillOrderParams[]",
8520
- name: "flashFills",
8521
- type: "tuple[]",
8522
- },
8523
- {
8524
- internalType: "bytes",
8525
- name: "optData",
8526
- type: "bytes",
8527
- },
8528
- ],
8529
- internalType: "struct LimitOrderData",
8530
- name: "limit",
8531
- type: "tuple",
8532
- },
8533
- ],
8534
- name: "swapMaxPtForTokenLimitOnly",
8535
- outputs: [
8536
- {
8537
- internalType: "uint256",
8538
- name: "netTokenOut",
8539
- type: "uint256",
8540
- },
8541
- {
8542
- internalType: "uint256",
8543
- name: "netPtReturned",
8544
- type: "uint256",
8545
- },
8546
- {
8547
- internalType: "uint256",
8548
- name: "netSyFee",
8549
- type: "uint256",
8550
- },
8551
- {
8552
- internalType: "uint256",
8553
- name: "netSyInterm",
8554
- type: "uint256",
8555
- },
8556
- ],
8557
- stateMutability: "nonpayable",
8558
- type: "function",
8559
- },
8560
- {
8561
- inputs: [
8562
- {
8563
- internalType: "address",
8564
- name: "receiver",
8565
- type: "address",
8566
- },
8567
- {
8568
- internalType: "address",
8569
- name: "market",
8570
- type: "address",
8571
- },
8572
- {
8573
- internalType: "uint256",
8574
- name: "maxSyIn",
8575
- type: "uint256",
8576
- },
8577
- {
8578
- internalType: "uint256",
8579
- name: "minYtSyRate",
8580
- type: "uint256",
8581
- },
8582
- {
8583
- components: [
8584
- {
8585
- internalType: "address",
8586
- name: "limitRouter",
8587
- type: "address",
8588
- },
8589
- {
8590
- internalType: "uint256",
8591
- name: "epsSkipMarket",
8592
- type: "uint256",
8593
- },
8594
- {
8595
- components: [
8596
- {
8597
- components: [
8598
- {
8599
- internalType: "uint256",
8600
- name: "salt",
8601
- type: "uint256",
8602
- },
8603
- {
8604
- internalType: "uint256",
8605
- name: "expiry",
8606
- type: "uint256",
8607
- },
8608
- {
8609
- internalType: "uint256",
8610
- name: "nonce",
8611
- type: "uint256",
8612
- },
8613
- {
8614
- internalType: "enum IPLimitOrderType.OrderType",
8615
- name: "orderType",
8616
- type: "uint8",
8617
- },
8618
- {
8619
- internalType: "address",
8620
- name: "token",
8621
- type: "address",
8622
- },
8623
- {
8624
- internalType: "address",
8625
- name: "YT",
8626
- type: "address",
8627
- },
8628
- {
8629
- internalType: "address",
8630
- name: "maker",
8631
- type: "address",
8632
- },
8633
- {
8634
- internalType: "address",
8635
- name: "receiver",
8636
- type: "address",
8637
- },
8638
- {
8639
- internalType: "uint256",
8640
- name: "makingAmount",
8641
- type: "uint256",
8642
- },
8643
- {
8644
- internalType: "uint256",
8645
- name: "lnImpliedRate",
8646
- type: "uint256",
8647
- },
8648
- {
8649
- internalType: "uint256",
8650
- name: "failSafeRate",
8651
- type: "uint256",
8652
- },
8653
- {
8654
- internalType: "bytes",
8655
- name: "permit",
8656
- type: "bytes",
8657
- },
8658
- ],
8659
- internalType: "struct Order",
8660
- name: "order",
8661
- type: "tuple",
8662
- },
8663
- {
8664
- internalType: "bytes",
8665
- name: "signature",
8666
- type: "bytes",
8667
- },
8668
- {
8669
- internalType: "uint256",
8670
- name: "makingAmount",
8671
- type: "uint256",
8672
- },
8673
- ],
8674
- internalType: "struct FillOrderParams[]",
8675
- name: "normalFills",
8676
- type: "tuple[]",
8677
- },
8678
- {
8679
- components: [
8680
- {
8681
- components: [
8682
- {
8683
- internalType: "uint256",
8684
- name: "salt",
8685
- type: "uint256",
8686
- },
8687
- {
8688
- internalType: "uint256",
8689
- name: "expiry",
8690
- type: "uint256",
8691
- },
8692
- {
8693
- internalType: "uint256",
8694
- name: "nonce",
8695
- type: "uint256",
8696
- },
8697
- {
8698
- internalType: "enum IPLimitOrderType.OrderType",
8699
- name: "orderType",
8700
- type: "uint8",
8701
- },
8702
- {
8703
- internalType: "address",
8704
- name: "token",
8705
- type: "address",
8706
- },
8707
- {
8708
- internalType: "address",
8709
- name: "YT",
8710
- type: "address",
8711
- },
8712
- {
8713
- internalType: "address",
8714
- name: "maker",
8715
- type: "address",
8716
- },
8717
- {
8718
- internalType: "address",
8719
- name: "receiver",
8720
- type: "address",
8721
- },
8722
- {
8723
- internalType: "uint256",
8724
- name: "makingAmount",
8725
- type: "uint256",
8726
- },
8727
- {
8728
- internalType: "uint256",
8729
- name: "lnImpliedRate",
8730
- type: "uint256",
8731
- },
8732
- {
8733
- internalType: "uint256",
8734
- name: "failSafeRate",
8735
- type: "uint256",
8736
- },
8737
- {
8738
- internalType: "bytes",
8739
- name: "permit",
8740
- type: "bytes",
8741
- },
8742
- ],
8743
- internalType: "struct Order",
8744
- name: "order",
8745
- type: "tuple",
8746
- },
8747
- {
8748
- internalType: "bytes",
8749
- name: "signature",
8750
- type: "bytes",
8751
- },
8752
- {
8753
- internalType: "uint256",
8754
- name: "makingAmount",
8755
- type: "uint256",
8756
- },
8757
- ],
8758
- internalType: "struct FillOrderParams[]",
8759
- name: "flashFills",
8760
- type: "tuple[]",
8761
- },
8762
- {
8763
- internalType: "bytes",
8764
- name: "optData",
8765
- type: "bytes",
8766
- },
8767
- ],
8768
- internalType: "struct LimitOrderData",
8769
- name: "limit",
8770
- type: "tuple",
8771
- },
8772
- ],
8773
- name: "swapMaxSyForYtLimitOnly",
8774
- outputs: [
8775
- {
8776
- internalType: "uint256",
8777
- name: "netYtOut",
8778
- type: "uint256",
8779
- },
8780
- {
8781
- internalType: "uint256",
8782
- name: "netSyReturned",
8783
- type: "uint256",
8784
- },
8785
- {
8786
- internalType: "uint256",
8787
- name: "netSyFee",
8788
- type: "uint256",
8789
- },
8790
- ],
8791
- stateMutability: "nonpayable",
8792
- type: "function",
8793
- },
8794
- {
8795
- inputs: [
8796
- {
8797
- internalType: "address",
8798
- name: "receiver",
8799
- type: "address",
8800
- },
8801
- {
8802
- internalType: "address",
8803
- name: "market",
8804
- type: "address",
8805
- },
8806
- {
8807
- internalType: "uint256",
8808
- name: "minSyInterm",
8809
- type: "uint256",
8810
- },
8811
- {
8812
- internalType: "uint256",
8813
- name: "minYtSyRate",
8814
- type: "uint256",
8815
- },
8816
- {
8817
- components: [
8818
- {
8819
- internalType: "address",
8820
- name: "tokenIn",
8821
- type: "address",
8822
- },
8823
- {
8824
- internalType: "uint256",
8825
- name: "netTokenIn",
8826
- type: "uint256",
8827
- },
8828
- {
8829
- internalType: "address",
8830
- name: "tokenMintSy",
8831
- type: "address",
8832
- },
8833
- {
8834
- internalType: "address",
8835
- name: "pendleSwap",
8836
- type: "address",
7860
+ },
7861
+ {
7862
+ internalType: "address",
7863
+ name: "tokenMintSy",
7864
+ type: "address",
7865
+ },
7866
+ {
7867
+ internalType: "address",
7868
+ name: "pendleSwap",
7869
+ type: "address",
8837
7870
  },
8838
7871
  {
8839
7872
  components: [
@@ -8864,220 +7897,15 @@ const _abi = [
8864
7897
  },
8865
7898
  ],
8866
7899
  internalType: "struct TokenInput",
8867
- name: "input",
8868
- type: "tuple",
8869
- },
8870
- {
8871
- components: [
8872
- {
8873
- internalType: "address",
8874
- name: "limitRouter",
8875
- type: "address",
8876
- },
8877
- {
8878
- internalType: "uint256",
8879
- name: "epsSkipMarket",
8880
- type: "uint256",
8881
- },
8882
- {
8883
- components: [
8884
- {
8885
- components: [
8886
- {
8887
- internalType: "uint256",
8888
- name: "salt",
8889
- type: "uint256",
8890
- },
8891
- {
8892
- internalType: "uint256",
8893
- name: "expiry",
8894
- type: "uint256",
8895
- },
8896
- {
8897
- internalType: "uint256",
8898
- name: "nonce",
8899
- type: "uint256",
8900
- },
8901
- {
8902
- internalType: "enum IPLimitOrderType.OrderType",
8903
- name: "orderType",
8904
- type: "uint8",
8905
- },
8906
- {
8907
- internalType: "address",
8908
- name: "token",
8909
- type: "address",
8910
- },
8911
- {
8912
- internalType: "address",
8913
- name: "YT",
8914
- type: "address",
8915
- },
8916
- {
8917
- internalType: "address",
8918
- name: "maker",
8919
- type: "address",
8920
- },
8921
- {
8922
- internalType: "address",
8923
- name: "receiver",
8924
- type: "address",
8925
- },
8926
- {
8927
- internalType: "uint256",
8928
- name: "makingAmount",
8929
- type: "uint256",
8930
- },
8931
- {
8932
- internalType: "uint256",
8933
- name: "lnImpliedRate",
8934
- type: "uint256",
8935
- },
8936
- {
8937
- internalType: "uint256",
8938
- name: "failSafeRate",
8939
- type: "uint256",
8940
- },
8941
- {
8942
- internalType: "bytes",
8943
- name: "permit",
8944
- type: "bytes",
8945
- },
8946
- ],
8947
- internalType: "struct Order",
8948
- name: "order",
8949
- type: "tuple",
8950
- },
8951
- {
8952
- internalType: "bytes",
8953
- name: "signature",
8954
- type: "bytes",
8955
- },
8956
- {
8957
- internalType: "uint256",
8958
- name: "makingAmount",
8959
- type: "uint256",
8960
- },
8961
- ],
8962
- internalType: "struct FillOrderParams[]",
8963
- name: "normalFills",
8964
- type: "tuple[]",
8965
- },
8966
- {
8967
- components: [
8968
- {
8969
- components: [
8970
- {
8971
- internalType: "uint256",
8972
- name: "salt",
8973
- type: "uint256",
8974
- },
8975
- {
8976
- internalType: "uint256",
8977
- name: "expiry",
8978
- type: "uint256",
8979
- },
8980
- {
8981
- internalType: "uint256",
8982
- name: "nonce",
8983
- type: "uint256",
8984
- },
8985
- {
8986
- internalType: "enum IPLimitOrderType.OrderType",
8987
- name: "orderType",
8988
- type: "uint8",
8989
- },
8990
- {
8991
- internalType: "address",
8992
- name: "token",
8993
- type: "address",
8994
- },
8995
- {
8996
- internalType: "address",
8997
- name: "YT",
8998
- type: "address",
8999
- },
9000
- {
9001
- internalType: "address",
9002
- name: "maker",
9003
- type: "address",
9004
- },
9005
- {
9006
- internalType: "address",
9007
- name: "receiver",
9008
- type: "address",
9009
- },
9010
- {
9011
- internalType: "uint256",
9012
- name: "makingAmount",
9013
- type: "uint256",
9014
- },
9015
- {
9016
- internalType: "uint256",
9017
- name: "lnImpliedRate",
9018
- type: "uint256",
9019
- },
9020
- {
9021
- internalType: "uint256",
9022
- name: "failSafeRate",
9023
- type: "uint256",
9024
- },
9025
- {
9026
- internalType: "bytes",
9027
- name: "permit",
9028
- type: "bytes",
9029
- },
9030
- ],
9031
- internalType: "struct Order",
9032
- name: "order",
9033
- type: "tuple",
9034
- },
9035
- {
9036
- internalType: "bytes",
9037
- name: "signature",
9038
- type: "bytes",
9039
- },
9040
- {
9041
- internalType: "uint256",
9042
- name: "makingAmount",
9043
- type: "uint256",
9044
- },
9045
- ],
9046
- internalType: "struct FillOrderParams[]",
9047
- name: "flashFills",
9048
- type: "tuple[]",
9049
- },
9050
- {
9051
- internalType: "bytes",
9052
- name: "optData",
9053
- type: "bytes",
9054
- },
9055
- ],
9056
- internalType: "struct LimitOrderData",
9057
- name: "limit",
7900
+ name: "inp",
9058
7901
  type: "tuple",
9059
7902
  },
9060
7903
  ],
9061
- name: "swapMaxTokenForYtLimitOnly",
7904
+ name: "swapTokenToToken",
9062
7905
  outputs: [
9063
7906
  {
9064
7907
  internalType: "uint256",
9065
- name: "netYtOut",
9066
- type: "uint256",
9067
- },
9068
- {
9069
- internalType: "uint256",
9070
- name: "netSyReturned",
9071
- type: "uint256",
9072
- },
9073
- {
9074
- internalType: "uint256",
9075
- name: "netSyFee",
9076
- type: "uint256",
9077
- },
9078
- {
9079
- internalType: "uint256",
9080
- name: "netSyInterm",
7908
+ name: "netTokenOut",
9081
7909
  type: "uint256",
9082
7910
  },
9083
7911
  ],