@pendle/core-v2 5.1.1 → 5.1.2-beta-3

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 (204) hide show
  1. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseWithoutPermitUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.dbg.json +1 -1
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.dbg.json +1 -1
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.dbg.json +4 -0
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.json +1222 -0
  9. package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  12. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +196 -0
  13. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  14. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  15. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +66 -0
  16. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  17. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +196 -78
  18. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  19. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +196 -0
  20. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  21. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +196 -0
  22. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +196 -0
  24. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +4 -0
  25. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +2638 -0
  26. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +196 -0
  28. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  29. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +196 -0
  30. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  31. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +1220 -48
  32. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  33. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  35. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +4 -0
  36. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +207 -0
  37. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  38. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  39. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  40. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +196 -0
  41. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  42. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +262 -0
  43. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  45. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  46. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  47. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  48. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  49. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  50. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  51. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  52. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  53. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +68 -2
  54. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  55. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  56. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  57. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +198 -2
  58. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  59. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  60. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  61. package/build/artifacts/contracts/oracles/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  62. package/build/artifacts/contracts/oracles/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  63. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  64. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  65. package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  66. package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  67. package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  68. package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  69. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
  70. package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  71. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  72. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  73. package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  74. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +198 -2
  76. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  77. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +198 -80
  78. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  79. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +198 -2
  80. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +198 -2
  82. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +4 -0
  83. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +2638 -0
  84. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  85. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +198 -2
  86. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  87. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +198 -2
  88. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  89. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  90. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  91. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  92. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  93. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  94. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  95. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  96. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  97. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  99. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  100. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  101. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  102. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  103. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  104. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  105. package/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol +154 -0
  106. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
  107. package/contracts/interfaces/IPActionMarketCoreStatic.sol +4 -0
  108. package/contracts/interfaces/IPActionMiscV3.sol +2 -8
  109. package/contracts/interfaces/IPActionSwapLimitV3.sol +42 -0
  110. package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
  111. package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
  112. package/contracts/interfaces/IPAllActionTypeV3.sol +4 -0
  113. package/contracts/interfaces/IPAllActionV3.sol +3 -1
  114. package/contracts/interfaces/IPAllEventsV3.sol +44 -1
  115. package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +1 -1
  116. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +1 -1
  117. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +10 -4
  118. package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
  119. package/contracts/router/ActionMiscV3.sol +3 -17
  120. package/contracts/router/ActionSwapLimitV3.sol +126 -0
  121. package/contracts/router/ActionSwapPTV3.sol +4 -4
  122. package/contracts/router/ActionSwapYTV3.sol +4 -4
  123. package/contracts/router/base/ActionBase.sol +35 -12
  124. package/contracts/router/base/ActionDelegateBase.sol +1 -1
  125. package/deployments/1-markets/RSETH-MAINNET-JUN2025.json +14 -0
  126. package/deployments/1-markets/WEETH-MAINNET-JUN2025.json +14 -0
  127. package/deployments/42161-markets/RSETH-ARBITRUM-JUN2025.json +14 -0
  128. package/deployments/42161-markets/SPSILO-ARBITRUM-MAR2025.json +14 -0
  129. package/deployments/42161-markets/WEETH-ARBITRUM-JUN2025.json +14 -0
  130. package/deployments/56-core.json +1 -1
  131. package/package.json +1 -1
  132. package/typechain-types/ActionAddRemoveLiqV3.ts +148 -0
  133. package/typechain-types/ActionMarketCoreStatic.ts +68 -0
  134. package/typechain-types/ActionMiscV3.ts +148 -44
  135. package/typechain-types/ActionSimple.ts +148 -0
  136. package/typechain-types/ActionStorageStatic.ts +148 -0
  137. package/typechain-types/ActionStorageV4.ts +148 -0
  138. package/typechain-types/ActionSwapLimitV3.ts +1667 -0
  139. package/typechain-types/ActionSwapPTV3.ts +148 -0
  140. package/typechain-types/ActionSwapYTV3.ts +148 -0
  141. package/typechain-types/IPActionAddRemoveLiqV3.ts +148 -0
  142. package/typechain-types/IPActionMarketCoreStatic.ts +68 -0
  143. package/typechain-types/IPActionMiscV3.ts +148 -44
  144. package/typechain-types/IPActionSimple.ts +148 -0
  145. package/typechain-types/IPActionStorageStatic.ts +148 -0
  146. package/typechain-types/IPActionStorageV4.ts +148 -0
  147. package/typechain-types/IPActionSwapLimitV3.ts +1667 -0
  148. package/typechain-types/IPActionSwapLimitV3Events.ts +207 -0
  149. package/typechain-types/IPActionSwapPTV3.ts +148 -0
  150. package/typechain-types/IPActionSwapYTV3.ts +148 -0
  151. package/typechain-types/IPAllActionV3.ts +390 -20
  152. package/typechain-types/IPAllEventsV3.ts +148 -0
  153. package/typechain-types/IPChainlinkOracle.ts +221 -0
  154. package/typechain-types/IPChainlinkOracleFactory.ts +123 -0
  155. package/typechain-types/IPChainlinkOracleWithQuote.ts +404 -0
  156. package/typechain-types/IPRouterStatic.ts +182 -0
  157. package/typechain-types/PendleChainlinkOracle.ts +299 -0
  158. package/typechain-types/PendleChainlinkOracleBase.ts +299 -0
  159. package/typechain-types/PendleChainlinkOracleFactory.ts +389 -0
  160. package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
  161. package/typechain-types/PendleSiloWithIncentiveNonBorrowableSY.ts +1543 -0
  162. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +197 -1
  163. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  164. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  165. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +67 -1
  166. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  167. package/typechain-types/factories/ActionMiscV3__factory.ts +197 -79
  168. package/typechain-types/factories/ActionSimple__factory.ts +197 -1
  169. package/typechain-types/factories/ActionStorageStatic__factory.ts +197 -1
  170. package/typechain-types/factories/ActionStorageV4__factory.ts +197 -1
  171. package/typechain-types/factories/ActionSwapLimitV3__factory.ts +2691 -0
  172. package/typechain-types/factories/ActionSwapPTV3__factory.ts +197 -1
  173. package/typechain-types/factories/ActionSwapYTV3__factory.ts +197 -1
  174. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  175. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +196 -0
  176. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +66 -0
  177. package/typechain-types/factories/IPActionMiscV3__factory.ts +196 -78
  178. package/typechain-types/factories/IPActionSimple__factory.ts +196 -0
  179. package/typechain-types/factories/IPActionStorageStatic__factory.ts +196 -0
  180. package/typechain-types/factories/IPActionStorageV4__factory.ts +196 -0
  181. package/typechain-types/factories/IPActionSwapLimitV3Events__factory.ts +226 -0
  182. package/typechain-types/factories/IPActionSwapLimitV3__factory.ts +2653 -0
  183. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +196 -0
  184. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +196 -0
  185. package/typechain-types/factories/IPAllActionV3__factory.ts +1220 -48
  186. package/typechain-types/factories/IPAllEventsV3__factory.ts +196 -0
  187. package/typechain-types/factories/IPChainlinkOracleFactory__factory.ts +110 -0
  188. package/typechain-types/factories/IPChainlinkOracleWithQuote__factory.ts +281 -0
  189. package/typechain-types/factories/IPChainlinkOracle__factory.ts +137 -0
  190. package/typechain-types/factories/IPRouterStatic__factory.ts +262 -0
  191. package/typechain-types/factories/PendleChainlinkOracleBase__factory.ts +272 -0
  192. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +362 -0
  193. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +394 -0
  194. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +354 -0
  195. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  196. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  197. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  198. package/typechain-types/factories/PendleSiloWithIncentiveNonBorrowableSY__factory.ts +1317 -0
  199. package/typechain-types/factories/Reflector__factory.ts +1 -1
  200. package/typechain-types/hardhat.d.ts +36 -0
  201. package/typechain-types/index.ts +8 -0
  202. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +0 -4
  203. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +0 -10
  204. package/contracts/offchain-helpers/MarketExchangeRateLib.sol +0 -32
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/55426231cb822bd68c85fd894c8c529d.json"
3
+ "buildInfo": "../../../../build-info/3b7a234161ce73ad61f4518d84308ba8.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/55426231cb822bd68c85fd894c8c529d.json"
3
+ "buildInfo": "../../../../build-info/3b7a234161ce73ad61f4518d84308ba8.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/55426231cb822bd68c85fd894c8c529d.json"
3
+ "buildInfo": "../../../build-info/3b7a234161ce73ad61f4518d84308ba8.json"
4
4
  }
@@ -1171,6 +1171,202 @@
1171
1171
  "name": "SelectorToFacetSet",
1172
1172
  "type": "event"
1173
1173
  },
1174
+ {
1175
+ "anonymous": false,
1176
+ "inputs": [
1177
+ {
1178
+ "indexed": true,
1179
+ "internalType": "address",
1180
+ "name": "caller",
1181
+ "type": "address"
1182
+ },
1183
+ {
1184
+ "indexed": true,
1185
+ "internalType": "address",
1186
+ "name": "market",
1187
+ "type": "address"
1188
+ },
1189
+ {
1190
+ "indexed": true,
1191
+ "internalType": "address",
1192
+ "name": "receiver",
1193
+ "type": "address"
1194
+ },
1195
+ {
1196
+ "indexed": false,
1197
+ "internalType": "uint256",
1198
+ "name": "maxPtIn",
1199
+ "type": "uint256"
1200
+ },
1201
+ {
1202
+ "indexed": false,
1203
+ "internalType": "uint256",
1204
+ "name": "netSyOut",
1205
+ "type": "uint256"
1206
+ },
1207
+ {
1208
+ "indexed": false,
1209
+ "internalType": "uint256",
1210
+ "name": "netPtReturned",
1211
+ "type": "uint256"
1212
+ }
1213
+ ],
1214
+ "name": "SwapMaxPtForSyLimitOnly",
1215
+ "type": "event"
1216
+ },
1217
+ {
1218
+ "anonymous": false,
1219
+ "inputs": [
1220
+ {
1221
+ "indexed": true,
1222
+ "internalType": "address",
1223
+ "name": "caller",
1224
+ "type": "address"
1225
+ },
1226
+ {
1227
+ "indexed": true,
1228
+ "internalType": "address",
1229
+ "name": "market",
1230
+ "type": "address"
1231
+ },
1232
+ {
1233
+ "indexed": true,
1234
+ "internalType": "address",
1235
+ "name": "token",
1236
+ "type": "address"
1237
+ },
1238
+ {
1239
+ "indexed": false,
1240
+ "internalType": "address",
1241
+ "name": "receiver",
1242
+ "type": "address"
1243
+ },
1244
+ {
1245
+ "indexed": false,
1246
+ "internalType": "uint256",
1247
+ "name": "maxPtIn",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "indexed": false,
1252
+ "internalType": "uint256",
1253
+ "name": "netTokenOut",
1254
+ "type": "uint256"
1255
+ },
1256
+ {
1257
+ "indexed": false,
1258
+ "internalType": "uint256",
1259
+ "name": "netSyInterm",
1260
+ "type": "uint256"
1261
+ },
1262
+ {
1263
+ "indexed": false,
1264
+ "internalType": "uint256",
1265
+ "name": "netPtReturned",
1266
+ "type": "uint256"
1267
+ }
1268
+ ],
1269
+ "name": "SwapMaxPtForTokenLimitOnly",
1270
+ "type": "event"
1271
+ },
1272
+ {
1273
+ "anonymous": false,
1274
+ "inputs": [
1275
+ {
1276
+ "indexed": true,
1277
+ "internalType": "address",
1278
+ "name": "caller",
1279
+ "type": "address"
1280
+ },
1281
+ {
1282
+ "indexed": true,
1283
+ "internalType": "address",
1284
+ "name": "market",
1285
+ "type": "address"
1286
+ },
1287
+ {
1288
+ "indexed": true,
1289
+ "internalType": "address",
1290
+ "name": "receiver",
1291
+ "type": "address"
1292
+ },
1293
+ {
1294
+ "indexed": false,
1295
+ "internalType": "uint256",
1296
+ "name": "maxSyIn",
1297
+ "type": "uint256"
1298
+ },
1299
+ {
1300
+ "indexed": false,
1301
+ "internalType": "uint256",
1302
+ "name": "netYtOut",
1303
+ "type": "uint256"
1304
+ },
1305
+ {
1306
+ "indexed": false,
1307
+ "internalType": "uint256",
1308
+ "name": "netSyReturned",
1309
+ "type": "uint256"
1310
+ }
1311
+ ],
1312
+ "name": "SwapMaxSyForYtLimitOnly",
1313
+ "type": "event"
1314
+ },
1315
+ {
1316
+ "anonymous": false,
1317
+ "inputs": [
1318
+ {
1319
+ "indexed": true,
1320
+ "internalType": "address",
1321
+ "name": "caller",
1322
+ "type": "address"
1323
+ },
1324
+ {
1325
+ "indexed": true,
1326
+ "internalType": "address",
1327
+ "name": "market",
1328
+ "type": "address"
1329
+ },
1330
+ {
1331
+ "indexed": true,
1332
+ "internalType": "address",
1333
+ "name": "token",
1334
+ "type": "address"
1335
+ },
1336
+ {
1337
+ "indexed": false,
1338
+ "internalType": "address",
1339
+ "name": "receiver",
1340
+ "type": "address"
1341
+ },
1342
+ {
1343
+ "indexed": false,
1344
+ "internalType": "uint256",
1345
+ "name": "maxTokenIn",
1346
+ "type": "uint256"
1347
+ },
1348
+ {
1349
+ "indexed": false,
1350
+ "internalType": "uint256",
1351
+ "name": "netYtOut",
1352
+ "type": "uint256"
1353
+ },
1354
+ {
1355
+ "indexed": false,
1356
+ "internalType": "uint256",
1357
+ "name": "netSyInterm",
1358
+ "type": "uint256"
1359
+ },
1360
+ {
1361
+ "indexed": false,
1362
+ "internalType": "uint256",
1363
+ "name": "netSyReturned",
1364
+ "type": "uint256"
1365
+ }
1366
+ ],
1367
+ "name": "SwapMaxTokenForYtLimitOnly",
1368
+ "type": "event"
1369
+ },
1174
1370
  {
1175
1371
  "anonymous": false,
1176
1372
  "inputs": [
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/55426231cb822bd68c85fd894c8c529d.json"
3
+ "buildInfo": "../../../build-info/3b7a234161ce73ad61f4518d84308ba8.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/deb61eb7c0ed58d407e380e9018b2dd4.json"
3
+ "buildInfo": "../../../build-info/3b7a234161ce73ad61f4518d84308ba8.json"
4
4
  }
@@ -331,6 +331,72 @@
331
331
  "stateMutability": "view",
332
332
  "type": "function"
333
333
  },
334
+ {
335
+ "inputs": [
336
+ {
337
+ "internalType": "address",
338
+ "name": "market",
339
+ "type": "address"
340
+ }
341
+ ],
342
+ "name": "readMarketState",
343
+ "outputs": [
344
+ {
345
+ "components": [
346
+ {
347
+ "internalType": "int256",
348
+ "name": "totalPt",
349
+ "type": "int256"
350
+ },
351
+ {
352
+ "internalType": "int256",
353
+ "name": "totalSy",
354
+ "type": "int256"
355
+ },
356
+ {
357
+ "internalType": "int256",
358
+ "name": "totalLp",
359
+ "type": "int256"
360
+ },
361
+ {
362
+ "internalType": "address",
363
+ "name": "treasury",
364
+ "type": "address"
365
+ },
366
+ {
367
+ "internalType": "int256",
368
+ "name": "scalarRoot",
369
+ "type": "int256"
370
+ },
371
+ {
372
+ "internalType": "uint256",
373
+ "name": "expiry",
374
+ "type": "uint256"
375
+ },
376
+ {
377
+ "internalType": "uint256",
378
+ "name": "lnFeeRateRoot",
379
+ "type": "uint256"
380
+ },
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "reserveFeePercent",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "internalType": "uint256",
388
+ "name": "lastLnImpliedRate",
389
+ "type": "uint256"
390
+ }
391
+ ],
392
+ "internalType": "struct MarketState",
393
+ "name": "",
394
+ "type": "tuple"
395
+ }
396
+ ],
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
334
400
  {
335
401
  "inputs": [
336
402
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/55426231cb822bd68c85fd894c8c529d.json"
3
+ "buildInfo": "../../../build-info/82b79090520585e9049f5a71a261f1d0.json"
4
4
  }
@@ -1171,6 +1171,202 @@
1171
1171
  "name": "SelectorToFacetSet",
1172
1172
  "type": "event"
1173
1173
  },
1174
+ {
1175
+ "anonymous": false,
1176
+ "inputs": [
1177
+ {
1178
+ "indexed": true,
1179
+ "internalType": "address",
1180
+ "name": "caller",
1181
+ "type": "address"
1182
+ },
1183
+ {
1184
+ "indexed": true,
1185
+ "internalType": "address",
1186
+ "name": "market",
1187
+ "type": "address"
1188
+ },
1189
+ {
1190
+ "indexed": true,
1191
+ "internalType": "address",
1192
+ "name": "receiver",
1193
+ "type": "address"
1194
+ },
1195
+ {
1196
+ "indexed": false,
1197
+ "internalType": "uint256",
1198
+ "name": "maxPtIn",
1199
+ "type": "uint256"
1200
+ },
1201
+ {
1202
+ "indexed": false,
1203
+ "internalType": "uint256",
1204
+ "name": "netSyOut",
1205
+ "type": "uint256"
1206
+ },
1207
+ {
1208
+ "indexed": false,
1209
+ "internalType": "uint256",
1210
+ "name": "netPtReturned",
1211
+ "type": "uint256"
1212
+ }
1213
+ ],
1214
+ "name": "SwapMaxPtForSyLimitOnly",
1215
+ "type": "event"
1216
+ },
1217
+ {
1218
+ "anonymous": false,
1219
+ "inputs": [
1220
+ {
1221
+ "indexed": true,
1222
+ "internalType": "address",
1223
+ "name": "caller",
1224
+ "type": "address"
1225
+ },
1226
+ {
1227
+ "indexed": true,
1228
+ "internalType": "address",
1229
+ "name": "market",
1230
+ "type": "address"
1231
+ },
1232
+ {
1233
+ "indexed": true,
1234
+ "internalType": "address",
1235
+ "name": "token",
1236
+ "type": "address"
1237
+ },
1238
+ {
1239
+ "indexed": false,
1240
+ "internalType": "address",
1241
+ "name": "receiver",
1242
+ "type": "address"
1243
+ },
1244
+ {
1245
+ "indexed": false,
1246
+ "internalType": "uint256",
1247
+ "name": "maxPtIn",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "indexed": false,
1252
+ "internalType": "uint256",
1253
+ "name": "netTokenOut",
1254
+ "type": "uint256"
1255
+ },
1256
+ {
1257
+ "indexed": false,
1258
+ "internalType": "uint256",
1259
+ "name": "netSyInterm",
1260
+ "type": "uint256"
1261
+ },
1262
+ {
1263
+ "indexed": false,
1264
+ "internalType": "uint256",
1265
+ "name": "netPtReturned",
1266
+ "type": "uint256"
1267
+ }
1268
+ ],
1269
+ "name": "SwapMaxPtForTokenLimitOnly",
1270
+ "type": "event"
1271
+ },
1272
+ {
1273
+ "anonymous": false,
1274
+ "inputs": [
1275
+ {
1276
+ "indexed": true,
1277
+ "internalType": "address",
1278
+ "name": "caller",
1279
+ "type": "address"
1280
+ },
1281
+ {
1282
+ "indexed": true,
1283
+ "internalType": "address",
1284
+ "name": "market",
1285
+ "type": "address"
1286
+ },
1287
+ {
1288
+ "indexed": true,
1289
+ "internalType": "address",
1290
+ "name": "receiver",
1291
+ "type": "address"
1292
+ },
1293
+ {
1294
+ "indexed": false,
1295
+ "internalType": "uint256",
1296
+ "name": "maxSyIn",
1297
+ "type": "uint256"
1298
+ },
1299
+ {
1300
+ "indexed": false,
1301
+ "internalType": "uint256",
1302
+ "name": "netYtOut",
1303
+ "type": "uint256"
1304
+ },
1305
+ {
1306
+ "indexed": false,
1307
+ "internalType": "uint256",
1308
+ "name": "netSyReturned",
1309
+ "type": "uint256"
1310
+ }
1311
+ ],
1312
+ "name": "SwapMaxSyForYtLimitOnly",
1313
+ "type": "event"
1314
+ },
1315
+ {
1316
+ "anonymous": false,
1317
+ "inputs": [
1318
+ {
1319
+ "indexed": true,
1320
+ "internalType": "address",
1321
+ "name": "caller",
1322
+ "type": "address"
1323
+ },
1324
+ {
1325
+ "indexed": true,
1326
+ "internalType": "address",
1327
+ "name": "market",
1328
+ "type": "address"
1329
+ },
1330
+ {
1331
+ "indexed": true,
1332
+ "internalType": "address",
1333
+ "name": "token",
1334
+ "type": "address"
1335
+ },
1336
+ {
1337
+ "indexed": false,
1338
+ "internalType": "address",
1339
+ "name": "receiver",
1340
+ "type": "address"
1341
+ },
1342
+ {
1343
+ "indexed": false,
1344
+ "internalType": "uint256",
1345
+ "name": "maxTokenIn",
1346
+ "type": "uint256"
1347
+ },
1348
+ {
1349
+ "indexed": false,
1350
+ "internalType": "uint256",
1351
+ "name": "netYtOut",
1352
+ "type": "uint256"
1353
+ },
1354
+ {
1355
+ "indexed": false,
1356
+ "internalType": "uint256",
1357
+ "name": "netSyInterm",
1358
+ "type": "uint256"
1359
+ },
1360
+ {
1361
+ "indexed": false,
1362
+ "internalType": "uint256",
1363
+ "name": "netSyReturned",
1364
+ "type": "uint256"
1365
+ }
1366
+ ],
1367
+ "name": "SwapMaxTokenForYtLimitOnly",
1368
+ "type": "event"
1369
+ },
1174
1370
  {
1175
1371
  "anonymous": false,
1176
1372
  "inputs": [
@@ -2853,84 +3049,6 @@
2853
3049
  "stateMutability": "payable",
2854
3050
  "type": "function"
2855
3051
  },
2856
- {
2857
- "inputs": [
2858
- {
2859
- "internalType": "address",
2860
- "name": "receiver",
2861
- "type": "address"
2862
- },
2863
- {
2864
- "internalType": "uint256",
2865
- "name": "minTokenOut",
2866
- "type": "uint256"
2867
- },
2868
- {
2869
- "components": [
2870
- {
2871
- "internalType": "address",
2872
- "name": "tokenIn",
2873
- "type": "address"
2874
- },
2875
- {
2876
- "internalType": "uint256",
2877
- "name": "netTokenIn",
2878
- "type": "uint256"
2879
- },
2880
- {
2881
- "internalType": "address",
2882
- "name": "tokenMintSy",
2883
- "type": "address"
2884
- },
2885
- {
2886
- "internalType": "address",
2887
- "name": "pendleSwap",
2888
- "type": "address"
2889
- },
2890
- {
2891
- "components": [
2892
- {
2893
- "internalType": "enum SwapType",
2894
- "name": "swapType",
2895
- "type": "uint8"
2896
- },
2897
- {
2898
- "internalType": "address",
2899
- "name": "extRouter",
2900
- "type": "address"
2901
- },
2902
- {
2903
- "internalType": "bytes",
2904
- "name": "extCalldata",
2905
- "type": "bytes"
2906
- },
2907
- {
2908
- "internalType": "bool",
2909
- "name": "needScale",
2910
- "type": "bool"
2911
- }
2912
- ],
2913
- "internalType": "struct SwapData",
2914
- "name": "swapData",
2915
- "type": "tuple"
2916
- }
2917
- ],
2918
- "internalType": "struct TokenInput",
2919
- "name": "inp",
2920
- "type": "tuple"
2921
- }
2922
- ],
2923
- "name": "swapTokenToToken",
2924
- "outputs": [
2925
- {
2926
- "internalType": "uint256",
2927
- "name": "netTokenOut",
2928
- "type": "uint256"
2929
- }
2930
- ],
2931
- "stateMutability": "payable",
2932
- "type": "function"
2933
- },
2934
3052
  {
2935
3053
  "inputs": [
2936
3054
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/55426231cb822bd68c85fd894c8c529d.json"
3
+ "buildInfo": "../../../build-info/3b7a234161ce73ad61f4518d84308ba8.json"
4
4
  }