@pendle/core-v2 5.1.2-beta-2 → 5.2.0-base-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 (195) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  7. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseWithoutPermitUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSYUpg.sol/PendleAaveV3WithRewardsSYUpg.dbg.json +4 -0
  11. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSYUpg.sol/PendleAaveV3WithRewardsSYUpg.json +1169 -0
  12. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.json +2 -2
  14. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +2 -2
  16. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.json +2 -2
  18. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol/PendleZerolendEBTCSYUpg.dbg.json +4 -0
  22. package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol/PendleZerolendEBTCSYUpg.json +1311 -0
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendLBTCSYUpg.sol/PendleZerolendLBTCSYUpg.dbg.json +4 -0
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendLBTCSYUpg.sol/PendleZerolendLBTCSYUpg.json +1226 -0
  25. package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  28. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +0 -196
  29. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  30. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  31. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  32. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +78 -196
  33. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +0 -196
  35. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -196
  37. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  38. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +0 -196
  39. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  40. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +0 -196
  41. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  42. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +0 -196
  43. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  44. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +16 -1188
  45. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  46. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  47. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  48. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  49. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  50. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  51. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +0 -196
  52. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -196
  54. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  55. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  56. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  57. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  58. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  59. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  60. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  61. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  63. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  65. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  67. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -198
  69. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  71. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  72. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -198
  74. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +80 -198
  76. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  77. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -198
  78. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  79. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -198
  80. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -198
  82. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  83. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -198
  84. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  85. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  86. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  87. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  88. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  89. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  90. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  91. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  92. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  93. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  94. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  95. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  96. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  97. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  99. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  100. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  101. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +16 -10
  102. package/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol +7 -1
  103. package/contracts/core/StandardizedYield/implementations/AaveV3/{PendleAaveV3WithRewardsSY.sol → PendleAaveV3WithRewardsSYUpg.sol} +27 -45
  104. package/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol +1 -1
  105. package/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol +88 -0
  106. package/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendLBTCSYUpg.sol +32 -0
  107. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
  108. package/contracts/interfaces/IPActionMiscV3.sol +8 -2
  109. package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
  110. package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
  111. package/contracts/interfaces/IPAllActionTypeV3.sol +0 -4
  112. package/contracts/interfaces/IPAllActionV3.sol +1 -3
  113. package/contracts/interfaces/IPAllEventsV3.sol +1 -44
  114. package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
  115. package/contracts/router/ActionMiscV3.sol +17 -3
  116. package/contracts/router/ActionSwapPTV3.sol +4 -4
  117. package/contracts/router/ActionSwapYTV3.sol +4 -4
  118. package/contracts/router/base/ActionBase.sol +12 -35
  119. package/contracts/router/base/ActionDelegateBase.sol +1 -1
  120. package/deployments/1-markets/ZEROLEND-EBTC-MAINNET-MAR2025.json +14 -0
  121. package/deployments/8453-core.json +40 -0
  122. package/deployments/8453-offchain-helper.json +6 -0
  123. package/package.json +1 -1
  124. package/typechain-types/ActionAddRemoveLiqV3.ts +0 -148
  125. package/typechain-types/ActionMiscV3.ts +44 -148
  126. package/typechain-types/ActionSimple.ts +0 -148
  127. package/typechain-types/ActionStorageStatic.ts +0 -148
  128. package/typechain-types/ActionStorageV4.ts +0 -148
  129. package/typechain-types/ActionSwapPTV3.ts +0 -148
  130. package/typechain-types/ActionSwapYTV3.ts +0 -148
  131. package/typechain-types/IPActionAddRemoveLiqV3.ts +0 -148
  132. package/typechain-types/IPActionMiscV3.ts +44 -148
  133. package/typechain-types/IPActionSimple.ts +0 -148
  134. package/typechain-types/IPActionStorageStatic.ts +0 -148
  135. package/typechain-types/IPActionStorageV4.ts +0 -148
  136. package/typechain-types/IPActionSwapPTV3.ts +0 -148
  137. package/typechain-types/IPActionSwapYTV3.ts +0 -148
  138. package/typechain-types/IPAllActionV3.ts +20 -390
  139. package/typechain-types/IPAllEventsV3.ts +0 -148
  140. package/typechain-types/IPRouterStatic.ts +0 -148
  141. package/typechain-types/PendleAaveV3WithRewardsSYUpg.ts +1498 -0
  142. package/typechain-types/PendleChainlinkOracle.ts +16 -16
  143. package/typechain-types/PendleChainlinkOracleFactory.ts +112 -33
  144. package/typechain-types/PendleChainlinkOracleWithQuote.ts +16 -16
  145. package/typechain-types/PendleZerolendEBTCSYUpg.ts +1712 -0
  146. package/typechain-types/PendleZerolendLBTCSYUpg.ts +1598 -0
  147. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -197
  148. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  149. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  150. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  151. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  152. package/typechain-types/factories/ActionMiscV3__factory.ts +79 -197
  153. package/typechain-types/factories/ActionSimple__factory.ts +1 -197
  154. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -197
  155. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -197
  156. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -197
  157. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -197
  158. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  159. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +0 -196
  160. package/typechain-types/factories/IPActionMiscV3__factory.ts +78 -196
  161. package/typechain-types/factories/IPActionSimple__factory.ts +0 -196
  162. package/typechain-types/factories/IPActionStorageStatic__factory.ts +0 -196
  163. package/typechain-types/factories/IPActionStorageV4__factory.ts +0 -196
  164. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +0 -196
  165. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +0 -196
  166. package/typechain-types/factories/IPAllActionV3__factory.ts +16 -1188
  167. package/typechain-types/factories/IPAllEventsV3__factory.ts +0 -196
  168. package/typechain-types/factories/IPRouterStatic__factory.ts +0 -196
  169. package/typechain-types/factories/PendleAaveV3WithRewardsSYUpg__factory.ts +1246 -0
  170. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +66 -23
  171. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +7 -12
  172. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +7 -7
  173. package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +1 -1
  174. package/typechain-types/factories/PendleChainlinkRelayer__factory.ts +1 -1
  175. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  176. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  177. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  178. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  179. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  180. package/typechain-types/factories/PendleStkGHOSY__factory.ts +1 -1
  181. package/typechain-types/factories/PendleZerolendEBTCSYUpg__factory.ts +1368 -0
  182. package/typechain-types/factories/PendleZerolendLBTCSYUpg__factory.ts +1283 -0
  183. package/typechain-types/factories/Reflector__factory.ts +1 -1
  184. package/typechain-types/hardhat.d.ts +90 -27
  185. package/typechain-types/index.ts +18 -6
  186. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSY.sol/PendleAaveV3WithRewardsSY.dbg.json +0 -4
  187. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSY.sol/PendleAaveV3WithRewardsSY.json +0 -1198
  188. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +0 -4
  189. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +0 -2638
  190. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +0 -4
  191. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +0 -207
  192. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +0 -4
  193. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +0 -2638
  194. package/contracts/interfaces/IPActionSwapLimitV3.sol +0 -42
  195. package/contracts/router/ActionSwapLimitV3.sol +0 -126
@@ -1178,202 +1178,6 @@ const _abi = [
1178
1178
  name: "SelectorToFacetSet",
1179
1179
  type: "event",
1180
1180
  },
1181
- {
1182
- anonymous: false,
1183
- inputs: [
1184
- {
1185
- indexed: true,
1186
- internalType: "address",
1187
- name: "caller",
1188
- type: "address",
1189
- },
1190
- {
1191
- indexed: true,
1192
- internalType: "address",
1193
- name: "market",
1194
- type: "address",
1195
- },
1196
- {
1197
- indexed: true,
1198
- internalType: "address",
1199
- name: "receiver",
1200
- type: "address",
1201
- },
1202
- {
1203
- indexed: false,
1204
- internalType: "uint256",
1205
- name: "maxPtIn",
1206
- type: "uint256",
1207
- },
1208
- {
1209
- indexed: false,
1210
- internalType: "uint256",
1211
- name: "netSyOut",
1212
- type: "uint256",
1213
- },
1214
- {
1215
- indexed: false,
1216
- internalType: "uint256",
1217
- name: "netPtReturned",
1218
- type: "uint256",
1219
- },
1220
- ],
1221
- name: "SwapMaxPtForSyLimitOnly",
1222
- type: "event",
1223
- },
1224
- {
1225
- anonymous: false,
1226
- inputs: [
1227
- {
1228
- indexed: true,
1229
- internalType: "address",
1230
- name: "caller",
1231
- type: "address",
1232
- },
1233
- {
1234
- indexed: true,
1235
- internalType: "address",
1236
- name: "market",
1237
- type: "address",
1238
- },
1239
- {
1240
- indexed: true,
1241
- internalType: "address",
1242
- name: "token",
1243
- type: "address",
1244
- },
1245
- {
1246
- indexed: false,
1247
- internalType: "address",
1248
- name: "receiver",
1249
- type: "address",
1250
- },
1251
- {
1252
- indexed: false,
1253
- internalType: "uint256",
1254
- name: "maxPtIn",
1255
- type: "uint256",
1256
- },
1257
- {
1258
- indexed: false,
1259
- internalType: "uint256",
1260
- name: "netTokenOut",
1261
- type: "uint256",
1262
- },
1263
- {
1264
- indexed: false,
1265
- internalType: "uint256",
1266
- name: "netSyInterm",
1267
- type: "uint256",
1268
- },
1269
- {
1270
- indexed: false,
1271
- internalType: "uint256",
1272
- name: "netPtReturned",
1273
- type: "uint256",
1274
- },
1275
- ],
1276
- name: "SwapMaxPtForTokenLimitOnly",
1277
- type: "event",
1278
- },
1279
- {
1280
- anonymous: false,
1281
- inputs: [
1282
- {
1283
- indexed: true,
1284
- internalType: "address",
1285
- name: "caller",
1286
- type: "address",
1287
- },
1288
- {
1289
- indexed: true,
1290
- internalType: "address",
1291
- name: "market",
1292
- type: "address",
1293
- },
1294
- {
1295
- indexed: true,
1296
- internalType: "address",
1297
- name: "receiver",
1298
- type: "address",
1299
- },
1300
- {
1301
- indexed: false,
1302
- internalType: "uint256",
1303
- name: "maxSyIn",
1304
- type: "uint256",
1305
- },
1306
- {
1307
- indexed: false,
1308
- internalType: "uint256",
1309
- name: "netYtOut",
1310
- type: "uint256",
1311
- },
1312
- {
1313
- indexed: false,
1314
- internalType: "uint256",
1315
- name: "netSyReturned",
1316
- type: "uint256",
1317
- },
1318
- ],
1319
- name: "SwapMaxSyForYtLimitOnly",
1320
- type: "event",
1321
- },
1322
- {
1323
- anonymous: false,
1324
- inputs: [
1325
- {
1326
- indexed: true,
1327
- internalType: "address",
1328
- name: "caller",
1329
- type: "address",
1330
- },
1331
- {
1332
- indexed: true,
1333
- internalType: "address",
1334
- name: "market",
1335
- type: "address",
1336
- },
1337
- {
1338
- indexed: true,
1339
- internalType: "address",
1340
- name: "token",
1341
- type: "address",
1342
- },
1343
- {
1344
- indexed: false,
1345
- internalType: "address",
1346
- name: "receiver",
1347
- type: "address",
1348
- },
1349
- {
1350
- indexed: false,
1351
- internalType: "uint256",
1352
- name: "maxTokenIn",
1353
- type: "uint256",
1354
- },
1355
- {
1356
- indexed: false,
1357
- internalType: "uint256",
1358
- name: "netYtOut",
1359
- type: "uint256",
1360
- },
1361
- {
1362
- indexed: false,
1363
- internalType: "uint256",
1364
- name: "netSyInterm",
1365
- type: "uint256",
1366
- },
1367
- {
1368
- indexed: false,
1369
- internalType: "uint256",
1370
- name: "netSyReturned",
1371
- type: "uint256",
1372
- },
1373
- ],
1374
- name: "SwapMaxTokenForYtLimitOnly",
1375
- type: "event",
1376
- },
1377
1181
  {
1378
1182
  anonymous: false,
1379
1183
  inputs: [
@@ -3056,6 +2860,84 @@ const _abi = [
3056
2860
  stateMutability: "payable",
3057
2861
  type: "function",
3058
2862
  },
2863
+ {
2864
+ inputs: [
2865
+ {
2866
+ internalType: "address",
2867
+ name: "receiver",
2868
+ type: "address",
2869
+ },
2870
+ {
2871
+ internalType: "uint256",
2872
+ name: "minTokenOut",
2873
+ type: "uint256",
2874
+ },
2875
+ {
2876
+ components: [
2877
+ {
2878
+ internalType: "address",
2879
+ name: "tokenIn",
2880
+ type: "address",
2881
+ },
2882
+ {
2883
+ internalType: "uint256",
2884
+ name: "netTokenIn",
2885
+ type: "uint256",
2886
+ },
2887
+ {
2888
+ internalType: "address",
2889
+ name: "tokenMintSy",
2890
+ type: "address",
2891
+ },
2892
+ {
2893
+ internalType: "address",
2894
+ name: "pendleSwap",
2895
+ type: "address",
2896
+ },
2897
+ {
2898
+ components: [
2899
+ {
2900
+ internalType: "enum SwapType",
2901
+ name: "swapType",
2902
+ type: "uint8",
2903
+ },
2904
+ {
2905
+ internalType: "address",
2906
+ name: "extRouter",
2907
+ type: "address",
2908
+ },
2909
+ {
2910
+ internalType: "bytes",
2911
+ name: "extCalldata",
2912
+ type: "bytes",
2913
+ },
2914
+ {
2915
+ internalType: "bool",
2916
+ name: "needScale",
2917
+ type: "bool",
2918
+ },
2919
+ ],
2920
+ internalType: "struct SwapData",
2921
+ name: "swapData",
2922
+ type: "tuple",
2923
+ },
2924
+ ],
2925
+ internalType: "struct TokenInput",
2926
+ name: "inp",
2927
+ type: "tuple",
2928
+ },
2929
+ ],
2930
+ name: "swapTokenToToken",
2931
+ outputs: [
2932
+ {
2933
+ internalType: "uint256",
2934
+ name: "netTokenOut",
2935
+ type: "uint256",
2936
+ },
2937
+ ],
2938
+ stateMutability: "payable",
2939
+ type: "function",
2940
+ },
3059
2941
  {
3060
2942
  inputs: [
3061
2943
  {
@@ -1178,202 +1178,6 @@ const _abi = [
1178
1178
  name: "SelectorToFacetSet",
1179
1179
  type: "event",
1180
1180
  },
1181
- {
1182
- anonymous: false,
1183
- inputs: [
1184
- {
1185
- indexed: true,
1186
- internalType: "address",
1187
- name: "caller",
1188
- type: "address",
1189
- },
1190
- {
1191
- indexed: true,
1192
- internalType: "address",
1193
- name: "market",
1194
- type: "address",
1195
- },
1196
- {
1197
- indexed: true,
1198
- internalType: "address",
1199
- name: "receiver",
1200
- type: "address",
1201
- },
1202
- {
1203
- indexed: false,
1204
- internalType: "uint256",
1205
- name: "maxPtIn",
1206
- type: "uint256",
1207
- },
1208
- {
1209
- indexed: false,
1210
- internalType: "uint256",
1211
- name: "netSyOut",
1212
- type: "uint256",
1213
- },
1214
- {
1215
- indexed: false,
1216
- internalType: "uint256",
1217
- name: "netPtReturned",
1218
- type: "uint256",
1219
- },
1220
- ],
1221
- name: "SwapMaxPtForSyLimitOnly",
1222
- type: "event",
1223
- },
1224
- {
1225
- anonymous: false,
1226
- inputs: [
1227
- {
1228
- indexed: true,
1229
- internalType: "address",
1230
- name: "caller",
1231
- type: "address",
1232
- },
1233
- {
1234
- indexed: true,
1235
- internalType: "address",
1236
- name: "market",
1237
- type: "address",
1238
- },
1239
- {
1240
- indexed: true,
1241
- internalType: "address",
1242
- name: "token",
1243
- type: "address",
1244
- },
1245
- {
1246
- indexed: false,
1247
- internalType: "address",
1248
- name: "receiver",
1249
- type: "address",
1250
- },
1251
- {
1252
- indexed: false,
1253
- internalType: "uint256",
1254
- name: "maxPtIn",
1255
- type: "uint256",
1256
- },
1257
- {
1258
- indexed: false,
1259
- internalType: "uint256",
1260
- name: "netTokenOut",
1261
- type: "uint256",
1262
- },
1263
- {
1264
- indexed: false,
1265
- internalType: "uint256",
1266
- name: "netSyInterm",
1267
- type: "uint256",
1268
- },
1269
- {
1270
- indexed: false,
1271
- internalType: "uint256",
1272
- name: "netPtReturned",
1273
- type: "uint256",
1274
- },
1275
- ],
1276
- name: "SwapMaxPtForTokenLimitOnly",
1277
- type: "event",
1278
- },
1279
- {
1280
- anonymous: false,
1281
- inputs: [
1282
- {
1283
- indexed: true,
1284
- internalType: "address",
1285
- name: "caller",
1286
- type: "address",
1287
- },
1288
- {
1289
- indexed: true,
1290
- internalType: "address",
1291
- name: "market",
1292
- type: "address",
1293
- },
1294
- {
1295
- indexed: true,
1296
- internalType: "address",
1297
- name: "receiver",
1298
- type: "address",
1299
- },
1300
- {
1301
- indexed: false,
1302
- internalType: "uint256",
1303
- name: "maxSyIn",
1304
- type: "uint256",
1305
- },
1306
- {
1307
- indexed: false,
1308
- internalType: "uint256",
1309
- name: "netYtOut",
1310
- type: "uint256",
1311
- },
1312
- {
1313
- indexed: false,
1314
- internalType: "uint256",
1315
- name: "netSyReturned",
1316
- type: "uint256",
1317
- },
1318
- ],
1319
- name: "SwapMaxSyForYtLimitOnly",
1320
- type: "event",
1321
- },
1322
- {
1323
- anonymous: false,
1324
- inputs: [
1325
- {
1326
- indexed: true,
1327
- internalType: "address",
1328
- name: "caller",
1329
- type: "address",
1330
- },
1331
- {
1332
- indexed: true,
1333
- internalType: "address",
1334
- name: "market",
1335
- type: "address",
1336
- },
1337
- {
1338
- indexed: true,
1339
- internalType: "address",
1340
- name: "token",
1341
- type: "address",
1342
- },
1343
- {
1344
- indexed: false,
1345
- internalType: "address",
1346
- name: "receiver",
1347
- type: "address",
1348
- },
1349
- {
1350
- indexed: false,
1351
- internalType: "uint256",
1352
- name: "maxTokenIn",
1353
- type: "uint256",
1354
- },
1355
- {
1356
- indexed: false,
1357
- internalType: "uint256",
1358
- name: "netYtOut",
1359
- type: "uint256",
1360
- },
1361
- {
1362
- indexed: false,
1363
- internalType: "uint256",
1364
- name: "netSyInterm",
1365
- type: "uint256",
1366
- },
1367
- {
1368
- indexed: false,
1369
- internalType: "uint256",
1370
- name: "netSyReturned",
1371
- type: "uint256",
1372
- },
1373
- ],
1374
- name: "SwapMaxTokenForYtLimitOnly",
1375
- type: "event",
1376
- },
1377
1181
  {
1378
1182
  anonymous: false,
1379
1183
  inputs: [
@@ -1178,202 +1178,6 @@ const _abi = [
1178
1178
  name: "SelectorToFacetSet",
1179
1179
  type: "event",
1180
1180
  },
1181
- {
1182
- anonymous: false,
1183
- inputs: [
1184
- {
1185
- indexed: true,
1186
- internalType: "address",
1187
- name: "caller",
1188
- type: "address",
1189
- },
1190
- {
1191
- indexed: true,
1192
- internalType: "address",
1193
- name: "market",
1194
- type: "address",
1195
- },
1196
- {
1197
- indexed: true,
1198
- internalType: "address",
1199
- name: "receiver",
1200
- type: "address",
1201
- },
1202
- {
1203
- indexed: false,
1204
- internalType: "uint256",
1205
- name: "maxPtIn",
1206
- type: "uint256",
1207
- },
1208
- {
1209
- indexed: false,
1210
- internalType: "uint256",
1211
- name: "netSyOut",
1212
- type: "uint256",
1213
- },
1214
- {
1215
- indexed: false,
1216
- internalType: "uint256",
1217
- name: "netPtReturned",
1218
- type: "uint256",
1219
- },
1220
- ],
1221
- name: "SwapMaxPtForSyLimitOnly",
1222
- type: "event",
1223
- },
1224
- {
1225
- anonymous: false,
1226
- inputs: [
1227
- {
1228
- indexed: true,
1229
- internalType: "address",
1230
- name: "caller",
1231
- type: "address",
1232
- },
1233
- {
1234
- indexed: true,
1235
- internalType: "address",
1236
- name: "market",
1237
- type: "address",
1238
- },
1239
- {
1240
- indexed: true,
1241
- internalType: "address",
1242
- name: "token",
1243
- type: "address",
1244
- },
1245
- {
1246
- indexed: false,
1247
- internalType: "address",
1248
- name: "receiver",
1249
- type: "address",
1250
- },
1251
- {
1252
- indexed: false,
1253
- internalType: "uint256",
1254
- name: "maxPtIn",
1255
- type: "uint256",
1256
- },
1257
- {
1258
- indexed: false,
1259
- internalType: "uint256",
1260
- name: "netTokenOut",
1261
- type: "uint256",
1262
- },
1263
- {
1264
- indexed: false,
1265
- internalType: "uint256",
1266
- name: "netSyInterm",
1267
- type: "uint256",
1268
- },
1269
- {
1270
- indexed: false,
1271
- internalType: "uint256",
1272
- name: "netPtReturned",
1273
- type: "uint256",
1274
- },
1275
- ],
1276
- name: "SwapMaxPtForTokenLimitOnly",
1277
- type: "event",
1278
- },
1279
- {
1280
- anonymous: false,
1281
- inputs: [
1282
- {
1283
- indexed: true,
1284
- internalType: "address",
1285
- name: "caller",
1286
- type: "address",
1287
- },
1288
- {
1289
- indexed: true,
1290
- internalType: "address",
1291
- name: "market",
1292
- type: "address",
1293
- },
1294
- {
1295
- indexed: true,
1296
- internalType: "address",
1297
- name: "receiver",
1298
- type: "address",
1299
- },
1300
- {
1301
- indexed: false,
1302
- internalType: "uint256",
1303
- name: "maxSyIn",
1304
- type: "uint256",
1305
- },
1306
- {
1307
- indexed: false,
1308
- internalType: "uint256",
1309
- name: "netYtOut",
1310
- type: "uint256",
1311
- },
1312
- {
1313
- indexed: false,
1314
- internalType: "uint256",
1315
- name: "netSyReturned",
1316
- type: "uint256",
1317
- },
1318
- ],
1319
- name: "SwapMaxSyForYtLimitOnly",
1320
- type: "event",
1321
- },
1322
- {
1323
- anonymous: false,
1324
- inputs: [
1325
- {
1326
- indexed: true,
1327
- internalType: "address",
1328
- name: "caller",
1329
- type: "address",
1330
- },
1331
- {
1332
- indexed: true,
1333
- internalType: "address",
1334
- name: "market",
1335
- type: "address",
1336
- },
1337
- {
1338
- indexed: true,
1339
- internalType: "address",
1340
- name: "token",
1341
- type: "address",
1342
- },
1343
- {
1344
- indexed: false,
1345
- internalType: "address",
1346
- name: "receiver",
1347
- type: "address",
1348
- },
1349
- {
1350
- indexed: false,
1351
- internalType: "uint256",
1352
- name: "maxTokenIn",
1353
- type: "uint256",
1354
- },
1355
- {
1356
- indexed: false,
1357
- internalType: "uint256",
1358
- name: "netYtOut",
1359
- type: "uint256",
1360
- },
1361
- {
1362
- indexed: false,
1363
- internalType: "uint256",
1364
- name: "netSyInterm",
1365
- type: "uint256",
1366
- },
1367
- {
1368
- indexed: false,
1369
- internalType: "uint256",
1370
- name: "netSyReturned",
1371
- type: "uint256",
1372
- },
1373
- ],
1374
- name: "SwapMaxTokenForYtLimitOnly",
1375
- type: "event",
1376
- },
1377
1181
  {
1378
1182
  anonymous: false,
1379
1183
  inputs: [