@pendle/core-v2 6.6.0 → 6.6.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 (224) hide show
  1. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +4 -0
  2. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +766 -0
  3. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +4 -0
  4. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +99 -0
  5. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +4 -0
  6. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +210 -0
  7. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +4 -0
  8. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +1294 -0
  9. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +4 -0
  10. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +1602 -0
  11. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  12. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  13. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  14. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  15. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  16. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  17. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  18. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  19. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  20. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  21. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  22. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +0 -88
  23. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  25. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  28. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  29. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +4 -0
  30. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.json +85 -0
  31. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +4 -0
  32. package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol → IPFixedPricePTAMMV2.sol}/IPFixedPricePTAMMSwapCallback.json +1 -1
  33. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +4 -0
  34. package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json → IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.json} +285 -93
  35. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  36. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  37. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +156 -0
  38. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  39. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  40. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +4 -0
  41. package/build/artifacts/contracts/interfaces/{IPActionCrossChain.sol/IPActionCrossChain.json → IPSwapHelper.sol/IPSwapHelper.json} +2 -2
  42. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  43. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  44. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  45. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +258 -1
  46. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  47. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +265 -3
  48. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +4 -0
  49. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.json +156 -0
  50. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  51. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  52. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  53. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  54. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  55. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  56. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  57. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +33 -2
  58. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +4 -0
  59. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +171 -0
  60. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  61. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  62. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  63. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  64. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  65. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  66. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  68. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  70. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  72. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  73. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  74. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  75. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  76. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  77. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  78. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  80. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  81. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  82. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  83. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  84. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  85. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  86. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  87. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  88. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  89. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  90. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  91. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  92. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  93. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  94. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  95. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  96. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  97. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  99. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  100. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  101. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  102. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  103. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  104. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  105. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  106. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  107. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  108. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  109. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  110. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  111. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  112. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  113. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  114. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  115. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  116. package/contracts/cross-chain/FixedPricePTAMMV2.sol +162 -0
  117. package/contracts/{router/ActionCrossChain.sol → cross-chain/PendleSwapHelper.sol} +11 -7
  118. package/contracts/cross-chain/funder/BridgeFunder.sol +61 -0
  119. package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +55 -0
  120. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +64 -0
  121. package/contracts/interfaces/IPAllActionTypeV3.sol +1 -0
  122. package/contracts/interfaces/IPAllActionV3.sol +1 -3
  123. package/contracts/interfaces/IPBridgeFunder.sol +17 -0
  124. package/contracts/interfaces/IPFixedPricePTAMMV2.sol +58 -0
  125. package/contracts/interfaces/IPLimitRouter.sol +22 -0
  126. package/contracts/interfaces/{IPActionCrossChain.sol → IPSwapHelper.sol} +1 -1
  127. package/contracts/limit/LimitRouterBase.sol +101 -47
  128. package/contracts/limit/PendleLimitRouter.sol +1 -1
  129. package/contracts/limit/helpers/MintSyHelper.sol +114 -0
  130. package/contracts/offchain-helpers/PendleFeeSetter.sol +19 -1
  131. package/contracts/offchain-helpers/PendleProxyAdmin.sol +11 -0
  132. package/contracts/router/base/ActionBase.sol +16 -2
  133. package/deployments/1-core.json +1 -0
  134. package/deployments/1-offchain-helper.json +1 -1
  135. package/deployments/10-core.json +1 -0
  136. package/deployments/10-offchain-helper.json +1 -1
  137. package/deployments/130-core.json +1 -0
  138. package/deployments/143-core.json +1 -0
  139. package/deployments/146-core.json +1 -0
  140. package/deployments/146-offchain-helper.json +1 -1
  141. package/deployments/42161-core.json +1 -0
  142. package/deployments/42161-offchain-helper.json +1 -1
  143. package/deployments/4217-core.json +14 -0
  144. package/deployments/43114-core.json +1 -0
  145. package/deployments/5000-core.json +1 -0
  146. package/deployments/5000-offchain-helper.json +1 -1
  147. package/deployments/56-core.json +1 -0
  148. package/deployments/56-offchain-helper.json +1 -1
  149. package/deployments/57073-core.json +1 -0
  150. package/deployments/747474-core.json +1 -0
  151. package/deployments/80094-core.json +1 -0
  152. package/deployments/80094-offchain-helper.json +1 -1
  153. package/deployments/8453-core.json +1 -0
  154. package/deployments/8453-offchain-helper.json +1 -1
  155. package/deployments/9745-core.json +1 -0
  156. package/deployments/9745-offchain-helper.json +1 -1
  157. package/deployments/999-core.json +1 -0
  158. package/deployments/999-offchain-helper.json +1 -1
  159. package/package.json +1 -1
  160. package/typechain-types/BridgeFunder.ts +344 -0
  161. package/typechain-types/FixedPricePTAMMV2.ts +1104 -0
  162. package/typechain-types/IPAllActionV3.ts +0 -54
  163. package/typechain-types/IPBridgeFunder.ts +165 -0
  164. package/typechain-types/IPFixedPricePTAMMV2.ts +864 -0
  165. package/typechain-types/IPLimitRouter.ts +104 -0
  166. package/typechain-types/IPSwapHelper.ts +161 -0
  167. package/typechain-types/LimitRouterBase.ts +233 -5
  168. package/typechain-types/MintSyHelper.ts +230 -0
  169. package/typechain-types/OFTAdapterAltImpl.ts +1350 -0
  170. package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +1708 -0
  171. package/typechain-types/PendleFeeSetter.ts +53 -0
  172. package/typechain-types/PendleLimitRouter.ts +233 -5
  173. package/typechain-types/PendleProxyAdmin.ts +341 -0
  174. package/typechain-types/PendleSwapHelper.ts +161 -0
  175. package/typechain-types/ProxyAdmin.ts +341 -0
  176. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  177. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  178. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  179. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  180. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  181. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  182. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  183. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  184. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  185. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  186. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  187. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  188. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  189. package/typechain-types/factories/BridgeFunder__factory.ts +265 -0
  190. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  191. package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +824 -0
  192. package/typechain-types/factories/IPAllActionV3__factory.ts +0 -88
  193. package/typechain-types/factories/IPBridgeFunder__factory.ts +100 -0
  194. package/typechain-types/factories/IPFixedPricePTAMMV2__factory.ts +621 -0
  195. package/typechain-types/factories/IPLimitRouter__factory.ts +156 -0
  196. package/typechain-types/factories/IPSwapHelper__factory.ts +111 -0
  197. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  198. package/typechain-types/factories/LimitRouterBase__factory.ts +258 -1
  199. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  200. package/typechain-types/factories/MintSyHelper__factory.ts +168 -0
  201. package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1363 -0
  202. package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1702 -0
  203. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  204. package/typechain-types/factories/PendleFeeSetter__factory.ts +36 -1
  205. package/typechain-types/factories/PendleLimitRouter__factory.ts +268 -3
  206. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  207. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  208. package/typechain-types/factories/PendleProxyAdmin__factory.ts +229 -0
  209. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  210. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  211. package/typechain-types/factories/PendleSwapHelper__factory.ts +152 -0
  212. package/typechain-types/factories/ProxyAdmin__factory.ts +210 -0
  213. package/typechain-types/factories/Reflector__factory.ts +1 -1
  214. package/typechain-types/hardhat.d.ts +108 -0
  215. package/typechain-types/index.ts +22 -0
  216. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +0 -4
  217. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +0 -667
  218. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +0 -4
  219. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +0 -4
  220. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +0 -4
  221. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +0 -4
  222. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +0 -99
  223. package/contracts/cross-chain/FixedPricePTAMM.sol +0 -200
  224. package/contracts/interfaces/IPFixedPricePTAMM.sol +0 -69
@@ -12,6 +12,7 @@
12
12
  "hardwareDeployer": "0xeea6F790F18563E91b18DF00B89d9f79b2E6761F"
13
13
  },
14
14
  "proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
15
+ "devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
15
16
  "sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
16
17
  "crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
17
18
  "depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
@@ -37,6 +37,7 @@
37
37
  "poolDeployHelperV2": "0x96F77F24b3d17166FcaF3a9E3B8330fF38B966F9",
38
38
  "limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
39
39
  "proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
40
+ "devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
40
41
  "reflector": "0x30544e00Cf296B34A9eE59E5540Ae2f9CCCD55DD",
41
42
  "commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
42
43
  "syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
@@ -7,5 +7,5 @@
7
7
  "limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
8
8
  "checkSolvent": "0x21332dCAe68b603B9170d25D21fda68f18Da91df",
9
9
  "externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
10
- "feeSetter": "0x0185921C7C6A21F1f5c45A34456C379c9bEC6A81"
10
+ "feeSetter": "0x95e9FC738e9C94E730536C6f28c88295d3374466"
11
11
  }
@@ -37,6 +37,7 @@
37
37
  "poolDeployHelper": "0x8D77771fA2518474cc83a613ef3d6140A84dbe56",
38
38
  "limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
39
39
  "proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
40
+ "devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
40
41
  "reflector": "0x30544e00Cf296B34A9eE59E5540Ae2f9CCCD55DD",
41
42
  "commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
42
43
  "syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
@@ -7,5 +7,5 @@
7
7
  "limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
8
8
  "checkSolvent": "0x1dE943933417D50738557Ac98FF96405CeeeeCD5",
9
9
  "externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
10
- "feeSetter": "0x0185921C7C6A21F1f5c45A34456C379c9bEC6A81"
10
+ "feeSetter": "0x95e9FC738e9C94E730536C6f28c88295d3374466"
11
11
  }
@@ -37,6 +37,7 @@
37
37
  "poolDeployHelperV2": "0x5E9a7E1A15ab0eAaBD2D78fa36A87158752A1346",
38
38
  "limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
39
39
  "proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
40
+ "devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
40
41
  "reflector": "0x30544e00Cf296B34A9eE59E5540Ae2f9CCCD55DD",
41
42
  "commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
42
43
  "syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
@@ -7,5 +7,5 @@
7
7
  "limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
8
8
  "checkSolvent": "0x21332dCAe68b603B9170d25D21fda68f18Da91df",
9
9
  "externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
10
- "feeSetter": "0x0185921C7C6A21F1f5c45A34456C379c9bEC6A81"
10
+ "feeSetter": "0x95e9FC738e9C94E730536C6f28c88295d3374466"
11
11
  }
@@ -37,6 +37,7 @@
37
37
  "poolDeployHelperV2": "0xD6Bea14D955dBC9E3d30dB32fD72b04891718303",
38
38
  "limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
39
39
  "proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
40
+ "devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
40
41
  "reflector": "0x30544e00Cf296B34A9eE59E5540Ae2f9CCCD55DD",
41
42
  "commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
42
43
  "syFactory": "0x5eae07541b334a2cdc1f107788a2069d6c1e73c2",
@@ -7,5 +7,5 @@
7
7
  "limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
8
8
  "checkSolvent": "0x21332dCAe68b603B9170d25D21fda68f18Da91df",
9
9
  "externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
10
- "feeSetter": "0x0185921C7C6A21F1f5c45A34456C379c9bEC6A81"
10
+ "feeSetter": "0x95e9FC738e9C94E730536C6f28c88295d3374466"
11
11
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/core-v2",
3
3
  "description": "Core smart contracts of Pendle Protocol.",
4
4
  "license": "BUSL-1.1",
5
- "version": "6.6.0",
5
+ "version": "6.6.1",
6
6
  "homepage": "https://pendle.finance",
7
7
  "keywords": [
8
8
  "pendle",
@@ -0,0 +1,344 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
17
+ import { Listener, Provider } from "@ethersproject/providers";
18
+ import type {
19
+ TypedEventFilter,
20
+ TypedEvent,
21
+ TypedListener,
22
+ OnEvent,
23
+ } from "./common";
24
+
25
+ export type BridgeDataStruct = {
26
+ bridgeToken: string;
27
+ bridgeAmount: BigNumberish;
28
+ feeToken: string;
29
+ feeAmount: BigNumberish;
30
+ bridgeExtRouter: string;
31
+ bridgeCalldata: BytesLike;
32
+ };
33
+
34
+ export type BridgeDataStructOutput = [
35
+ string,
36
+ BigNumber,
37
+ string,
38
+ BigNumber,
39
+ string,
40
+ string
41
+ ] & {
42
+ bridgeToken: string;
43
+ bridgeAmount: BigNumber;
44
+ feeToken: string;
45
+ feeAmount: BigNumber;
46
+ bridgeExtRouter: string;
47
+ bridgeCalldata: string;
48
+ };
49
+
50
+ export interface BridgeFunderInterface extends utils.Interface {
51
+ contractName: "BridgeFunder";
52
+ functions: {
53
+ "DEPOSIT_BOX_FACTORY()": FunctionFragment;
54
+ "bridge((address,uint256,address,uint256,address,bytes))": FunctionFragment;
55
+ "claimOwnership()": FunctionFragment;
56
+ "initialize(address)": FunctionFragment;
57
+ "owner()": FunctionFragment;
58
+ "pendingOwner()": FunctionFragment;
59
+ "transferOwnership(address,bool,bool)": FunctionFragment;
60
+ "withdraw(address,address,uint256)": FunctionFragment;
61
+ };
62
+
63
+ encodeFunctionData(
64
+ functionFragment: "DEPOSIT_BOX_FACTORY",
65
+ values?: undefined
66
+ ): string;
67
+ encodeFunctionData(
68
+ functionFragment: "bridge",
69
+ values: [BridgeDataStruct]
70
+ ): string;
71
+ encodeFunctionData(
72
+ functionFragment: "claimOwnership",
73
+ values?: undefined
74
+ ): string;
75
+ encodeFunctionData(functionFragment: "initialize", values: [string]): string;
76
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
77
+ encodeFunctionData(
78
+ functionFragment: "pendingOwner",
79
+ values?: undefined
80
+ ): string;
81
+ encodeFunctionData(
82
+ functionFragment: "transferOwnership",
83
+ values: [string, boolean, boolean]
84
+ ): string;
85
+ encodeFunctionData(
86
+ functionFragment: "withdraw",
87
+ values: [string, string, BigNumberish]
88
+ ): string;
89
+
90
+ decodeFunctionResult(
91
+ functionFragment: "DEPOSIT_BOX_FACTORY",
92
+ data: BytesLike
93
+ ): Result;
94
+ decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result;
95
+ decodeFunctionResult(
96
+ functionFragment: "claimOwnership",
97
+ data: BytesLike
98
+ ): Result;
99
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
100
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
101
+ decodeFunctionResult(
102
+ functionFragment: "pendingOwner",
103
+ data: BytesLike
104
+ ): Result;
105
+ decodeFunctionResult(
106
+ functionFragment: "transferOwnership",
107
+ data: BytesLike
108
+ ): Result;
109
+ decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
110
+
111
+ events: {
112
+ "Initialized(uint8)": EventFragment;
113
+ "OwnershipTransferred(address,address)": EventFragment;
114
+ };
115
+
116
+ getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
117
+ getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
118
+ }
119
+
120
+ export type InitializedEvent = TypedEvent<[number], { version: number }>;
121
+
122
+ export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
123
+
124
+ export type OwnershipTransferredEvent = TypedEvent<
125
+ [string, string],
126
+ { previousOwner: string; newOwner: string }
127
+ >;
128
+
129
+ export type OwnershipTransferredEventFilter =
130
+ TypedEventFilter<OwnershipTransferredEvent>;
131
+
132
+ export interface BridgeFunder extends BaseContract {
133
+ contractName: "BridgeFunder";
134
+ connect(signerOrProvider: Signer | Provider | string): this;
135
+ attach(addressOrName: string): this;
136
+ deployed(): Promise<this>;
137
+
138
+ interface: BridgeFunderInterface;
139
+
140
+ queryFilter<TEvent extends TypedEvent>(
141
+ event: TypedEventFilter<TEvent>,
142
+ fromBlockOrBlockhash?: string | number | undefined,
143
+ toBlock?: string | number | undefined
144
+ ): Promise<Array<TEvent>>;
145
+
146
+ listeners<TEvent extends TypedEvent>(
147
+ eventFilter?: TypedEventFilter<TEvent>
148
+ ): Array<TypedListener<TEvent>>;
149
+ listeners(eventName?: string): Array<Listener>;
150
+ removeAllListeners<TEvent extends TypedEvent>(
151
+ eventFilter: TypedEventFilter<TEvent>
152
+ ): this;
153
+ removeAllListeners(eventName?: string): this;
154
+ off: OnEvent<this>;
155
+ on: OnEvent<this>;
156
+ once: OnEvent<this>;
157
+ removeListener: OnEvent<this>;
158
+
159
+ functions: {
160
+ DEPOSIT_BOX_FACTORY(overrides?: CallOverrides): Promise<[string]>;
161
+
162
+ bridge(
163
+ $: BridgeDataStruct,
164
+ overrides?: Overrides & { from?: string | Promise<string> }
165
+ ): Promise<ContractTransaction>;
166
+
167
+ claimOwnership(
168
+ overrides?: Overrides & { from?: string | Promise<string> }
169
+ ): Promise<ContractTransaction>;
170
+
171
+ initialize(
172
+ _owner: string,
173
+ overrides?: Overrides & { from?: string | Promise<string> }
174
+ ): Promise<ContractTransaction>;
175
+
176
+ owner(overrides?: CallOverrides): Promise<[string]>;
177
+
178
+ pendingOwner(overrides?: CallOverrides): Promise<[string]>;
179
+
180
+ transferOwnership(
181
+ newOwner: string,
182
+ direct: boolean,
183
+ renounce: boolean,
184
+ overrides?: Overrides & { from?: string | Promise<string> }
185
+ ): Promise<ContractTransaction>;
186
+
187
+ withdraw(
188
+ receiver: string,
189
+ token: string,
190
+ amount: BigNumberish,
191
+ overrides?: Overrides & { from?: string | Promise<string> }
192
+ ): Promise<ContractTransaction>;
193
+ };
194
+
195
+ DEPOSIT_BOX_FACTORY(overrides?: CallOverrides): Promise<string>;
196
+
197
+ bridge(
198
+ $: BridgeDataStruct,
199
+ overrides?: Overrides & { from?: string | Promise<string> }
200
+ ): Promise<ContractTransaction>;
201
+
202
+ claimOwnership(
203
+ overrides?: Overrides & { from?: string | Promise<string> }
204
+ ): Promise<ContractTransaction>;
205
+
206
+ initialize(
207
+ _owner: string,
208
+ overrides?: Overrides & { from?: string | Promise<string> }
209
+ ): Promise<ContractTransaction>;
210
+
211
+ owner(overrides?: CallOverrides): Promise<string>;
212
+
213
+ pendingOwner(overrides?: CallOverrides): Promise<string>;
214
+
215
+ transferOwnership(
216
+ newOwner: string,
217
+ direct: boolean,
218
+ renounce: boolean,
219
+ overrides?: Overrides & { from?: string | Promise<string> }
220
+ ): Promise<ContractTransaction>;
221
+
222
+ withdraw(
223
+ receiver: string,
224
+ token: string,
225
+ amount: BigNumberish,
226
+ overrides?: Overrides & { from?: string | Promise<string> }
227
+ ): Promise<ContractTransaction>;
228
+
229
+ callStatic: {
230
+ DEPOSIT_BOX_FACTORY(overrides?: CallOverrides): Promise<string>;
231
+
232
+ bridge($: BridgeDataStruct, overrides?: CallOverrides): Promise<string>;
233
+
234
+ claimOwnership(overrides?: CallOverrides): Promise<void>;
235
+
236
+ initialize(_owner: string, overrides?: CallOverrides): Promise<void>;
237
+
238
+ owner(overrides?: CallOverrides): Promise<string>;
239
+
240
+ pendingOwner(overrides?: CallOverrides): Promise<string>;
241
+
242
+ transferOwnership(
243
+ newOwner: string,
244
+ direct: boolean,
245
+ renounce: boolean,
246
+ overrides?: CallOverrides
247
+ ): Promise<void>;
248
+
249
+ withdraw(
250
+ receiver: string,
251
+ token: string,
252
+ amount: BigNumberish,
253
+ overrides?: CallOverrides
254
+ ): Promise<void>;
255
+ };
256
+
257
+ filters: {
258
+ "Initialized(uint8)"(version?: null): InitializedEventFilter;
259
+ Initialized(version?: null): InitializedEventFilter;
260
+
261
+ "OwnershipTransferred(address,address)"(
262
+ previousOwner?: string | null,
263
+ newOwner?: string | null
264
+ ): OwnershipTransferredEventFilter;
265
+ OwnershipTransferred(
266
+ previousOwner?: string | null,
267
+ newOwner?: string | null
268
+ ): OwnershipTransferredEventFilter;
269
+ };
270
+
271
+ estimateGas: {
272
+ DEPOSIT_BOX_FACTORY(overrides?: CallOverrides): Promise<BigNumber>;
273
+
274
+ bridge(
275
+ $: BridgeDataStruct,
276
+ overrides?: Overrides & { from?: string | Promise<string> }
277
+ ): Promise<BigNumber>;
278
+
279
+ claimOwnership(
280
+ overrides?: Overrides & { from?: string | Promise<string> }
281
+ ): Promise<BigNumber>;
282
+
283
+ initialize(
284
+ _owner: string,
285
+ overrides?: Overrides & { from?: string | Promise<string> }
286
+ ): Promise<BigNumber>;
287
+
288
+ owner(overrides?: CallOverrides): Promise<BigNumber>;
289
+
290
+ pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
291
+
292
+ transferOwnership(
293
+ newOwner: string,
294
+ direct: boolean,
295
+ renounce: boolean,
296
+ overrides?: Overrides & { from?: string | Promise<string> }
297
+ ): Promise<BigNumber>;
298
+
299
+ withdraw(
300
+ receiver: string,
301
+ token: string,
302
+ amount: BigNumberish,
303
+ overrides?: Overrides & { from?: string | Promise<string> }
304
+ ): Promise<BigNumber>;
305
+ };
306
+
307
+ populateTransaction: {
308
+ DEPOSIT_BOX_FACTORY(
309
+ overrides?: CallOverrides
310
+ ): Promise<PopulatedTransaction>;
311
+
312
+ bridge(
313
+ $: BridgeDataStruct,
314
+ overrides?: Overrides & { from?: string | Promise<string> }
315
+ ): Promise<PopulatedTransaction>;
316
+
317
+ claimOwnership(
318
+ overrides?: Overrides & { from?: string | Promise<string> }
319
+ ): Promise<PopulatedTransaction>;
320
+
321
+ initialize(
322
+ _owner: string,
323
+ overrides?: Overrides & { from?: string | Promise<string> }
324
+ ): Promise<PopulatedTransaction>;
325
+
326
+ owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
327
+
328
+ pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
329
+
330
+ transferOwnership(
331
+ newOwner: string,
332
+ direct: boolean,
333
+ renounce: boolean,
334
+ overrides?: Overrides & { from?: string | Promise<string> }
335
+ ): Promise<PopulatedTransaction>;
336
+
337
+ withdraw(
338
+ receiver: string,
339
+ token: string,
340
+ amount: BigNumberish,
341
+ overrides?: Overrides & { from?: string | Promise<string> }
342
+ ): Promise<PopulatedTransaction>;
343
+ };
344
+ }