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

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 (235) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSENASY.sol/PendleSENASY.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSENASY.sol/PendleSENASY.json +2 -2
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.json +2 -2
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGTokenSY.sol/PendleGTokenSY.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGTokenSY.sol/PendleGTokenSY.json +2 -2
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGUSDCSY.sol/PendleGUSDCSY.dbg.json +1 -1
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGUSDCSY.sol/PendleGUSDCSY.json +2 -2
  9. package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  11. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol/PendleKarakVaultERC20SY.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol/PendleKarakVaultERC20SY.json +2 -2
  13. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol/PendleKarakVaultEzETHSY.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol/PendleKarakVaultEzETHSY.json +2 -2
  15. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol/PendleKarakVaultSUSDESY.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol/PendleKarakVaultSUSDESY.json +2 -2
  17. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol/PendleKarakVaultSYBaseUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol/PendleKarakVaultUSDESY.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol/PendleKarakVaultUSDESY.json +2 -2
  20. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol/PendleKarakVaultWEETHSY.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol/PendleKarakVaultWEETHSY.json +2 -2
  22. package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleAgETHSY.sol/PendleAgETHSY.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleAgETHSY.sol/PendleAgETHSY.json +2 -2
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleAmphorWstETHVaultSY.sol/PendleAmphorWstETHVaultSY.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleAmphorWstETHVaultSY.sol/PendleAmphorWstETHVaultSY.json +2 -2
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC4626SYUpg.sol/PendleMellowVaultERC4626SYUpg.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC4626SYUpg.sol/PendleMellowVaultERC4626SYUpg.json +2 -2
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/Morpho/PendleMorphoMetaVaultSY.sol/PendleMorphoMetaVaultSY.dbg.json +4 -0
  29. package/build/artifacts/contracts/core/StandardizedYield/implementations/Morpho/PendleMorphoMetaVaultSY.sol/PendleMorphoMetaVaultSY.json +1052 -0
  30. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626NotRedeemableToAssetSY.sol/PendleERC4626NotRedeemableToAssetSY.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626NotRedeemableToAssetSY.sol/PendleERC4626NotRedeemableToAssetSY.json +2 -2
  32. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
  34. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SYV2.sol/PendleERC4626SYV2.dbg.json +4 -0
  35. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SYV2.sol/PendleERC4626SYV2.json +1026 -0
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.json +2 -2
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSYV2.sol/PendleERC4626SYUpg.dbg.json +4 -0
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSYV2.sol/PendleERC4626SYUpg.json +1000 -0
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.json +2 -2
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.json +2 -2
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/Sky/PendleSUSDSSY.sol/PendleSUSDSSY.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/Sky/PendleSUSDSSY.sol/PendleSUSDSSY.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/Syrup/PendleSyrupSY.sol/PendleSyrupSY.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/Syrup/PendleSyrupSY.sol/PendleSyrupSY.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol/PendleZerolendEBTCSYUpg.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol/PendleZerolendEBTCSYUpg.json +2 -2
  54. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +19 -0
  56. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +196 -0
  58. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +196 -78
  61. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +196 -0
  63. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +196 -0
  65. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +196 -0
  67. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +4 -0
  68. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +2638 -0
  69. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +196 -0
  71. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +196 -0
  73. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +1220 -48
  75. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +4 -0
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +207 -0
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +196 -0
  84. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +196 -0
  86. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  87. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  88. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  89. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  90. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  91. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  92. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  93. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  94. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  95. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  96. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  97. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  98. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  99. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +198 -2
  100. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  101. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  102. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  103. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  104. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +198 -2
  105. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  106. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +198 -80
  107. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  108. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +198 -2
  109. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  110. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +198 -2
  111. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +4 -0
  112. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +2638 -0
  113. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  114. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +198 -2
  115. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  116. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +198 -2
  117. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  118. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  119. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  120. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  121. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  122. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  123. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  124. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  125. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  126. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  127. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  128. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  129. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  130. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  131. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  132. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  133. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  134. package/contracts/core/StandardizedYield/implementations/Morpho/PendleMorphoMetaVaultSY.sol +21 -0
  135. package/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol +0 -1
  136. package/contracts/core/StandardizedYield/implementations/PendleERC4626SYV2.sol +88 -0
  137. package/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSYV2.sol +83 -0
  138. package/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol +2 -1
  139. package/contracts/interfaces/IERC4626.sol +2 -0
  140. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
  141. package/contracts/interfaces/IPActionMiscV3.sol +2 -8
  142. package/contracts/interfaces/IPActionSwapLimitV3.sol +42 -0
  143. package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
  144. package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
  145. package/contracts/interfaces/IPAllActionTypeV3.sol +4 -0
  146. package/contracts/interfaces/IPAllActionV3.sol +3 -1
  147. package/contracts/interfaces/IPAllEventsV3.sol +44 -1
  148. package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
  149. package/contracts/router/ActionMiscV3.sol +3 -17
  150. package/contracts/router/ActionSwapLimitV3.sol +126 -0
  151. package/contracts/router/ActionSwapPTV3.sol +4 -4
  152. package/contracts/router/ActionSwapYTV3.sol +4 -4
  153. package/contracts/router/base/ActionBase.sol +35 -12
  154. package/contracts/router/base/ActionDelegateBase.sol +1 -1
  155. package/deployments/1-core.json +1 -1
  156. package/deployments/1-markets/SUSDS-MAINNET-MAR2025-RELAUNCH.json +12 -0
  157. package/deployments/1-markets/USD0++-MAINNET-JUN2025.json +14 -0
  158. package/deployments/42161-markets/GUSDC-ARBITRUM-JUN2025.json +14 -0
  159. package/deployments/42161-markets/MUXLP-ARBITRUM-JUN2025.json +14 -0
  160. package/package.json +1 -1
  161. package/typechain-types/ActionAddRemoveLiqV3.ts +148 -0
  162. package/typechain-types/ActionMiscV3.ts +148 -44
  163. package/typechain-types/ActionSimple.ts +148 -0
  164. package/typechain-types/ActionStorageStatic.ts +148 -0
  165. package/typechain-types/ActionStorageV4.ts +148 -0
  166. package/typechain-types/ActionSwapPTV3.ts +148 -0
  167. package/typechain-types/ActionSwapYTV3.ts +148 -0
  168. package/typechain-types/IERC4626.ts +16 -0
  169. package/typechain-types/IPActionAddRemoveLiqV3.ts +148 -0
  170. package/typechain-types/IPActionMiscV3.ts +148 -44
  171. package/typechain-types/IPActionSimple.ts +148 -0
  172. package/typechain-types/IPActionStorageStatic.ts +148 -0
  173. package/typechain-types/IPActionStorageV4.ts +148 -0
  174. package/typechain-types/IPActionSwapPTV3.ts +148 -0
  175. package/typechain-types/IPActionSwapYTV3.ts +148 -0
  176. package/typechain-types/IPAllActionV3.ts +390 -20
  177. package/typechain-types/IPAllEventsV3.ts +148 -0
  178. package/typechain-types/IPRouterStatic.ts +148 -0
  179. package/typechain-types/PendleERC4626SYV2.ts +1281 -0
  180. package/typechain-types/PendleMorphoMetaVaultSY.ts +1323 -0
  181. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +197 -1
  182. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  183. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  184. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  185. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  186. package/typechain-types/factories/ActionMiscV3__factory.ts +197 -79
  187. package/typechain-types/factories/ActionSimple__factory.ts +197 -1
  188. package/typechain-types/factories/ActionStorageStatic__factory.ts +197 -1
  189. package/typechain-types/factories/ActionStorageV4__factory.ts +197 -1
  190. package/typechain-types/factories/ActionSwapLimitV3__factory.ts +1 -1
  191. package/typechain-types/factories/ActionSwapPTV3__factory.ts +197 -1
  192. package/typechain-types/factories/ActionSwapYTV3__factory.ts +197 -1
  193. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  194. package/typechain-types/factories/IERC4626__factory.ts +19 -0
  195. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +196 -0
  196. package/typechain-types/factories/IPActionMiscV3__factory.ts +196 -78
  197. package/typechain-types/factories/IPActionSimple__factory.ts +196 -0
  198. package/typechain-types/factories/IPActionStorageStatic__factory.ts +196 -0
  199. package/typechain-types/factories/IPActionStorageV4__factory.ts +196 -0
  200. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +196 -0
  201. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +196 -0
  202. package/typechain-types/factories/IPAllActionV3__factory.ts +1220 -48
  203. package/typechain-types/factories/IPAllEventsV3__factory.ts +196 -0
  204. package/typechain-types/factories/IPRouterStatic__factory.ts +196 -0
  205. package/typechain-types/factories/PendleAgETHSY__factory.ts +1 -1
  206. package/typechain-types/factories/PendleAmphorWstETHVaultSY__factory.ts +1 -1
  207. package/typechain-types/factories/PendleApxETHSY__factory.ts +1 -1
  208. package/typechain-types/factories/PendleERC4626NotRedeemableToAssetSY__factory.ts +1 -1
  209. package/typechain-types/factories/PendleERC4626SYUpg__factory.ts +1 -1
  210. package/typechain-types/factories/PendleERC4626SYV2__factory.ts +1095 -0
  211. package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
  212. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  213. package/typechain-types/factories/PendleGTokenSY__factory.ts +1 -1
  214. package/typechain-types/factories/PendleGUSDCSY__factory.ts +1 -1
  215. package/typechain-types/factories/PendleKarakVaultERC20SY__factory.ts +1 -1
  216. package/typechain-types/factories/PendleKarakVaultEzETHSY__factory.ts +1 -1
  217. package/typechain-types/factories/PendleKarakVaultSUSDESY__factory.ts +1 -1
  218. package/typechain-types/factories/PendleKarakVaultUSDESY__factory.ts +1 -1
  219. package/typechain-types/factories/PendleKarakVaultWEETHSY__factory.ts +1 -1
  220. package/typechain-types/factories/PendleMellowVaultERC4626SYUpg__factory.ts +1 -1
  221. package/typechain-types/factories/PendleMorphoMetaVaultSY__factory.ts +1125 -0
  222. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  223. package/typechain-types/factories/PendlePufStETHSY__factory.ts +1 -1
  224. package/typechain-types/factories/PendlePufWETHSY__factory.ts +1 -1
  225. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  226. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  227. package/typechain-types/factories/PendleSENASY__factory.ts +1 -1
  228. package/typechain-types/factories/PendleSUSDESY__factory.ts +1 -1
  229. package/typechain-types/factories/PendleSUSDSSY__factory.ts +1 -1
  230. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  231. package/typechain-types/factories/PendleSyrupSY__factory.ts +1 -1
  232. package/typechain-types/factories/PendleZerolendEBTCSYUpg__factory.ts +1 -1
  233. package/typechain-types/factories/Reflector__factory.ts +1 -1
  234. package/typechain-types/hardhat.d.ts +54 -0
  235. package/typechain-types/index.ts +10 -0
@@ -1175,6 +1175,202 @@ 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
+ },
1178
1374
  {
1179
1375
  anonymous: false,
1180
1376
  inputs: [
@@ -7841,71 +8037,1047 @@ const _abi = [
7841
8037
  name: "receiver",
7842
8038
  type: "address",
7843
8039
  },
8040
+ {
8041
+ internalType: "address",
8042
+ name: "market",
8043
+ type: "address",
8044
+ },
7844
8045
  {
7845
8046
  internalType: "uint256",
7846
- name: "minTokenOut",
8047
+ name: "maxPtIn",
8048
+ type: "uint256",
8049
+ },
8050
+ {
8051
+ internalType: "uint256",
8052
+ name: "minSyPtRate",
7847
8053
  type: "uint256",
7848
8054
  },
7849
8055
  {
7850
8056
  components: [
7851
8057
  {
7852
8058
  internalType: "address",
7853
- name: "tokenIn",
8059
+ name: "limitRouter",
7854
8060
  type: "address",
7855
8061
  },
7856
8062
  {
7857
8063
  internalType: "uint256",
7858
- name: "netTokenIn",
8064
+ name: "epsSkipMarket",
7859
8065
  type: "uint256",
7860
8066
  },
7861
- {
7862
- internalType: "address",
7863
- name: "tokenMintSy",
7864
- type: "address",
7865
- },
7866
- {
7867
- internalType: "address",
7868
- name: "pendleSwap",
7869
- type: "address",
7870
- },
7871
8067
  {
7872
8068
  components: [
7873
8069
  {
7874
- internalType: "enum SwapType",
7875
- name: "swapType",
7876
- type: "uint8",
7877
- },
7878
- {
7879
- internalType: "address",
7880
- name: "extRouter",
7881
- type: "address",
7882
- },
7883
- {
7884
- internalType: "bytes",
7885
- name: "extCalldata",
7886
- type: "bytes",
7887
- },
7888
- {
7889
- internalType: "bool",
7890
- name: "needScale",
7891
- type: "bool",
7892
- },
7893
- ],
7894
- internalType: "struct SwapData",
7895
- name: "swapData",
7896
- type: "tuple",
7897
- },
7898
- ],
7899
- internalType: "struct TokenInput",
7900
- name: "inp",
7901
- type: "tuple",
7902
- },
7903
- ],
7904
- name: "swapTokenToToken",
7905
- outputs: [
7906
- {
7907
- internalType: "uint256",
7908
- name: "netTokenOut",
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",
8837
+ },
8838
+ {
8839
+ components: [
8840
+ {
8841
+ internalType: "enum SwapType",
8842
+ name: "swapType",
8843
+ type: "uint8",
8844
+ },
8845
+ {
8846
+ internalType: "address",
8847
+ name: "extRouter",
8848
+ type: "address",
8849
+ },
8850
+ {
8851
+ internalType: "bytes",
8852
+ name: "extCalldata",
8853
+ type: "bytes",
8854
+ },
8855
+ {
8856
+ internalType: "bool",
8857
+ name: "needScale",
8858
+ type: "bool",
8859
+ },
8860
+ ],
8861
+ internalType: "struct SwapData",
8862
+ name: "swapData",
8863
+ type: "tuple",
8864
+ },
8865
+ ],
8866
+ 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",
9058
+ type: "tuple",
9059
+ },
9060
+ ],
9061
+ name: "swapMaxTokenForYtLimitOnly",
9062
+ outputs: [
9063
+ {
9064
+ 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",
7909
9081
  type: "uint256",
7910
9082
  },
7911
9083
  ],