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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/Lombard/PendleLBTCBaseSY.sol/PendleLBTCBaseSY.dbg.json +4 -0
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/Lombard/PendleLBTCBaseSY.sol/PendleLBTCBaseSY.json +1111 -0
  3. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  4. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +0 -196
  5. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  6. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +78 -196
  9. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +0 -196
  11. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  12. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -196
  13. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  14. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +0 -196
  15. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  16. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +0 -196
  17. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  18. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +0 -196
  19. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  20. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +16 -1188
  21. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  22. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  25. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +0 -196
  28. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +4 -0
  29. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.json +122 -0
  30. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +4 -0
  31. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.json +91 -0
  32. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +4 -0
  33. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.json +262 -0
  34. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  35. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  36. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +96 -0
  37. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  38. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  39. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.json +13 -0
  40. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  41. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -196
  42. package/build/artifacts/contracts/interfaces/Lombard/ILBTCMinterBase.sol/ILBTCMinterBase.dbg.json +4 -0
  43. package/build/artifacts/contracts/interfaces/Lombard/ILBTCMinterBase.sol/ILBTCMinterBase.json +63 -0
  44. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  45. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  46. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  47. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  48. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  49. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  50. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
  51. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  52. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  53. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  54. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  55. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  56. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  57. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  58. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  59. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  60. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  61. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  63. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -198
  65. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  67. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  68. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +4 -0
  69. package/build/artifacts/contracts/oracles/{PendleLpOracleLib.sol → PtYtLpOracle/PendleLpOracleLib.sol}/PendleLpOracleLib.json +3 -3
  70. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +4 -0
  71. package/build/artifacts/contracts/oracles/{PendlePYLpOracle.sol → PtYtLpOracle/PendlePYLpOracle.sol}/PendlePYLpOracle.json +3 -3
  72. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +4 -0
  73. package/build/artifacts/contracts/oracles/{PendlePYOracleLib.sol → PtYtLpOracle/PendlePYOracleLib.sol}/PendlePYOracleLib.json +3 -3
  74. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +4 -0
  75. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +226 -0
  76. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +4 -0
  77. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +343 -0
  78. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +4 -0
  79. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +257 -0
  80. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +4 -0
  81. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +3 -3
  82. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +4 -0
  83. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpSeller.sol/BoringLpSeller.json +1 -1
  84. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +4 -0
  85. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +3 -3
  86. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +4 -0
  87. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +3 -3
  88. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +4 -0
  89. package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPtSeller.sol/BoringPtSeller.json +1 -1
  90. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +4 -0
  91. package/build/artifacts/contracts/oracles/{PendleBoringOneracle.sol → internal/PendleBoringOneracle.sol}/PendleBoringOneracle.json +3 -3
  92. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +4 -0
  93. package/build/artifacts/contracts/oracles/{PendleBoringSolvBTCOneracle.sol → internal/PendleBoringSolvBTCOneracle.sol}/PendleBoringSolvBTCOneracle.json +3 -3
  94. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +4 -0
  95. package/build/artifacts/contracts/oracles/{PendleRedStoneRateOracleAdapter.sol → internal/PendleRedStoneRateOracleAdapter.sol}/PendleRedStoneRateOracleAdapter.json +3 -3
  96. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +4 -0
  97. package/build/artifacts/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol}/PTExpiry.json +1 -1
  98. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +4 -0
  99. package/build/artifacts/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol}/PendleSparkLinearDiscountOracle.json +3 -3
  100. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  101. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -198
  102. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  103. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  104. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  105. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +80 -198
  106. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  107. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -198
  108. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  109. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -198
  110. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  111. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -198
  112. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  113. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -198
  114. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  115. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  116. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  117. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  118. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  119. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  120. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  121. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  122. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  123. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  124. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  125. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  126. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  127. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  128. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  129. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  130. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  131. package/contracts/core/StandardizedYield/implementations/Lombard/PendleLBTCBaseSY.sol +121 -0
  132. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
  133. package/contracts/interfaces/IPActionMiscV3.sol +8 -2
  134. package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
  135. package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
  136. package/contracts/interfaces/IPAllActionTypeV3.sol +0 -4
  137. package/contracts/interfaces/IPAllActionV3.sol +1 -3
  138. package/contracts/interfaces/IPAllEventsV3.sol +1 -44
  139. package/contracts/interfaces/IPChainlinkOracle.sol +11 -0
  140. package/contracts/interfaces/IPChainlinkOracleFactory.sol +22 -0
  141. package/contracts/interfaces/IPChainlinkOracleWithQuote.sol +8 -0
  142. package/contracts/interfaces/IPLimitRouter.sol +22 -12
  143. package/contracts/interfaces/IPPYLpOracle.sol +3 -4
  144. package/contracts/interfaces/Lombard/ILBTCMinterBase.sol +12 -0
  145. package/contracts/oracles/{PendlePYLpOracle.sol → PtYtLpOracle/PendlePYLpOracle.sol} +2 -2
  146. package/contracts/oracles/{PendlePYOracleLib.sol → PtYtLpOracle/PendlePYOracleLib.sol} +2 -2
  147. package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol +134 -0
  148. package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol +121 -0
  149. package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol +50 -0
  150. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpGlpOracle.sol +3 -3
  151. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpSeller.sol +1 -1
  152. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkAssetOracle.sol +3 -3
  153. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkSYOracle.sol +3 -3
  154. package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPtSeller.sol +1 -1
  155. package/contracts/oracles/{PendleBoringOneracle.sol → internal/PendleBoringOneracle.sol} +2 -2
  156. package/contracts/oracles/{PendleBoringSolvBTCOneracle.sol → internal/PendleBoringSolvBTCOneracle.sol} +2 -2
  157. package/contracts/oracles/{PendleRedStoneRateOracleAdapter.sol → internal/PendleRedStoneRateOracleAdapter.sol} +3 -3
  158. package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
  159. package/contracts/router/ActionMiscV3.sol +17 -3
  160. package/contracts/router/ActionSwapPTV3.sol +4 -4
  161. package/contracts/router/ActionSwapYTV3.sol +4 -4
  162. package/contracts/router/base/ActionBase.sol +12 -35
  163. package/contracts/router/base/ActionDelegateBase.sol +1 -1
  164. package/deployments/1-core.json +1 -1
  165. package/deployments/1-markets/MORPHO-PWBTC-JUN2025.json +14 -0
  166. package/deployments/8453-markets/CBETH-BASE-DEC2025.json +14 -0
  167. package/deployments/8453-markets/LBTC-BASE-MAY2025.json +14 -0
  168. package/package.json +1 -1
  169. package/typechain-types/ActionAddRemoveLiqV3.ts +0 -148
  170. package/typechain-types/ActionMiscV3.ts +44 -148
  171. package/typechain-types/ActionSimple.ts +0 -148
  172. package/typechain-types/ActionStorageStatic.ts +0 -148
  173. package/typechain-types/ActionStorageV4.ts +0 -148
  174. package/typechain-types/ActionSwapPTV3.ts +0 -148
  175. package/typechain-types/ActionSwapYTV3.ts +0 -148
  176. package/typechain-types/ILBTCMinterBase.ts +159 -0
  177. package/typechain-types/IPActionAddRemoveLiqV3.ts +0 -148
  178. package/typechain-types/IPActionMiscV3.ts +44 -148
  179. package/typechain-types/IPActionSimple.ts +0 -148
  180. package/typechain-types/IPActionStorageStatic.ts +0 -148
  181. package/typechain-types/IPActionStorageV4.ts +0 -148
  182. package/typechain-types/IPActionSwapPTV3.ts +0 -148
  183. package/typechain-types/IPActionSwapYTV3.ts +0 -148
  184. package/typechain-types/IPAllActionV3.ts +20 -390
  185. package/typechain-types/IPAllEventsV3.ts +0 -148
  186. package/typechain-types/IPLimitRouter.ts +36 -0
  187. package/typechain-types/IPPYLpOracle.ts +21 -0
  188. package/typechain-types/IPRouterStatic.ts +0 -148
  189. package/typechain-types/PendleLBTCBaseSY.ts +1470 -0
  190. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -197
  191. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  192. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  193. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  194. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  195. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  196. package/typechain-types/factories/ActionMiscV3__factory.ts +79 -197
  197. package/typechain-types/factories/ActionSimple__factory.ts +1 -197
  198. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -197
  199. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -197
  200. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -197
  201. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -197
  202. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  203. package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
  204. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  205. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  206. package/typechain-types/factories/ILBTCMinterBase__factory.ts +78 -0
  207. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +0 -196
  208. package/typechain-types/factories/IPActionMiscV3__factory.ts +78 -196
  209. package/typechain-types/factories/IPActionSimple__factory.ts +0 -196
  210. package/typechain-types/factories/IPActionStorageStatic__factory.ts +0 -196
  211. package/typechain-types/factories/IPActionStorageV4__factory.ts +0 -196
  212. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +0 -196
  213. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +0 -196
  214. package/typechain-types/factories/IPAllActionV3__factory.ts +16 -1188
  215. package/typechain-types/factories/IPAllEventsV3__factory.ts +0 -196
  216. package/typechain-types/factories/IPLimitRouter__factory.ts +96 -0
  217. package/typechain-types/factories/IPPYLpOracle__factory.ts +13 -0
  218. package/typechain-types/factories/IPRouterStatic__factory.ts +0 -196
  219. package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
  220. package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
  221. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
  222. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  223. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -49
  224. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -49
  225. package/typechain-types/factories/PendleLBTCBaseSY__factory.ts +1164 -0
  226. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  227. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  228. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  229. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
  230. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  231. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  232. package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +1 -1
  233. package/typechain-types/factories/Reflector__factory.ts +1 -1
  234. package/typechain-types/hardhat.d.ts +180 -27
  235. package/typechain-types/index.ts +18 -8
  236. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +0 -4
  237. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +0 -2638
  238. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +0 -4
  239. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +0 -207
  240. package/build/artifacts/contracts/oracles/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +0 -4
  241. package/build/artifacts/contracts/oracles/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +0 -4
  242. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +0 -4
  243. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +0 -4
  244. package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +0 -4
  245. package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +0 -4
  246. package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +0 -4
  247. package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +0 -4
  248. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +0 -4
  249. package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +0 -4
  250. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +0 -4
  251. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +0 -4
  252. package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +0 -4
  253. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +0 -4
  254. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +0 -2638
  255. package/contracts/interfaces/IPActionSwapLimitV3.sol +0 -42
  256. package/contracts/router/ActionSwapLimitV3.sol +0 -126
  257. /package/contracts/oracles/{PendleLpOracleLib.sol → PtYtLpOracle/PendleLpOracleLib.sol} +0 -0
  258. /package/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol} +0 -0
@@ -1,2638 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IPActionSwapLimitV3",
4
- "sourceName": "contracts/interfaces/IPActionSwapLimitV3.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": true,
11
- "internalType": "address",
12
- "name": "caller",
13
- "type": "address"
14
- },
15
- {
16
- "indexed": true,
17
- "internalType": "address",
18
- "name": "market",
19
- "type": "address"
20
- },
21
- {
22
- "indexed": true,
23
- "internalType": "address",
24
- "name": "receiver",
25
- "type": "address"
26
- },
27
- {
28
- "indexed": false,
29
- "internalType": "uint256",
30
- "name": "netSyUsed",
31
- "type": "uint256"
32
- },
33
- {
34
- "indexed": false,
35
- "internalType": "uint256",
36
- "name": "netPtUsed",
37
- "type": "uint256"
38
- },
39
- {
40
- "indexed": false,
41
- "internalType": "uint256",
42
- "name": "netLpOut",
43
- "type": "uint256"
44
- }
45
- ],
46
- "name": "AddLiquidityDualSyAndPt",
47
- "type": "event"
48
- },
49
- {
50
- "anonymous": false,
51
- "inputs": [
52
- {
53
- "indexed": true,
54
- "internalType": "address",
55
- "name": "caller",
56
- "type": "address"
57
- },
58
- {
59
- "indexed": true,
60
- "internalType": "address",
61
- "name": "market",
62
- "type": "address"
63
- },
64
- {
65
- "indexed": true,
66
- "internalType": "address",
67
- "name": "tokenIn",
68
- "type": "address"
69
- },
70
- {
71
- "indexed": false,
72
- "internalType": "address",
73
- "name": "receiver",
74
- "type": "address"
75
- },
76
- {
77
- "indexed": false,
78
- "internalType": "uint256",
79
- "name": "netTokenUsed",
80
- "type": "uint256"
81
- },
82
- {
83
- "indexed": false,
84
- "internalType": "uint256",
85
- "name": "netPtUsed",
86
- "type": "uint256"
87
- },
88
- {
89
- "indexed": false,
90
- "internalType": "uint256",
91
- "name": "netLpOut",
92
- "type": "uint256"
93
- },
94
- {
95
- "indexed": false,
96
- "internalType": "uint256",
97
- "name": "netSyInterm",
98
- "type": "uint256"
99
- }
100
- ],
101
- "name": "AddLiquidityDualTokenAndPt",
102
- "type": "event"
103
- },
104
- {
105
- "anonymous": false,
106
- "inputs": [
107
- {
108
- "indexed": true,
109
- "internalType": "address",
110
- "name": "caller",
111
- "type": "address"
112
- },
113
- {
114
- "indexed": true,
115
- "internalType": "address",
116
- "name": "market",
117
- "type": "address"
118
- },
119
- {
120
- "indexed": true,
121
- "internalType": "address",
122
- "name": "receiver",
123
- "type": "address"
124
- },
125
- {
126
- "indexed": false,
127
- "internalType": "uint256",
128
- "name": "netPtIn",
129
- "type": "uint256"
130
- },
131
- {
132
- "indexed": false,
133
- "internalType": "uint256",
134
- "name": "netLpOut",
135
- "type": "uint256"
136
- }
137
- ],
138
- "name": "AddLiquiditySinglePt",
139
- "type": "event"
140
- },
141
- {
142
- "anonymous": false,
143
- "inputs": [
144
- {
145
- "indexed": true,
146
- "internalType": "address",
147
- "name": "caller",
148
- "type": "address"
149
- },
150
- {
151
- "indexed": true,
152
- "internalType": "address",
153
- "name": "market",
154
- "type": "address"
155
- },
156
- {
157
- "indexed": true,
158
- "internalType": "address",
159
- "name": "receiver",
160
- "type": "address"
161
- },
162
- {
163
- "indexed": false,
164
- "internalType": "uint256",
165
- "name": "netSyIn",
166
- "type": "uint256"
167
- },
168
- {
169
- "indexed": false,
170
- "internalType": "uint256",
171
- "name": "netLpOut",
172
- "type": "uint256"
173
- }
174
- ],
175
- "name": "AddLiquiditySingleSy",
176
- "type": "event"
177
- },
178
- {
179
- "anonymous": false,
180
- "inputs": [
181
- {
182
- "indexed": true,
183
- "internalType": "address",
184
- "name": "caller",
185
- "type": "address"
186
- },
187
- {
188
- "indexed": true,
189
- "internalType": "address",
190
- "name": "market",
191
- "type": "address"
192
- },
193
- {
194
- "indexed": true,
195
- "internalType": "address",
196
- "name": "receiver",
197
- "type": "address"
198
- },
199
- {
200
- "indexed": false,
201
- "internalType": "uint256",
202
- "name": "netSyIn",
203
- "type": "uint256"
204
- },
205
- {
206
- "indexed": false,
207
- "internalType": "uint256",
208
- "name": "netSyMintPy",
209
- "type": "uint256"
210
- },
211
- {
212
- "indexed": false,
213
- "internalType": "uint256",
214
- "name": "netLpOut",
215
- "type": "uint256"
216
- },
217
- {
218
- "indexed": false,
219
- "internalType": "uint256",
220
- "name": "netYtOut",
221
- "type": "uint256"
222
- }
223
- ],
224
- "name": "AddLiquiditySingleSyKeepYt",
225
- "type": "event"
226
- },
227
- {
228
- "anonymous": false,
229
- "inputs": [
230
- {
231
- "indexed": true,
232
- "internalType": "address",
233
- "name": "caller",
234
- "type": "address"
235
- },
236
- {
237
- "indexed": true,
238
- "internalType": "address",
239
- "name": "market",
240
- "type": "address"
241
- },
242
- {
243
- "indexed": true,
244
- "internalType": "address",
245
- "name": "token",
246
- "type": "address"
247
- },
248
- {
249
- "indexed": false,
250
- "internalType": "address",
251
- "name": "receiver",
252
- "type": "address"
253
- },
254
- {
255
- "indexed": false,
256
- "internalType": "uint256",
257
- "name": "netTokenIn",
258
- "type": "uint256"
259
- },
260
- {
261
- "indexed": false,
262
- "internalType": "uint256",
263
- "name": "netLpOut",
264
- "type": "uint256"
265
- },
266
- {
267
- "indexed": false,
268
- "internalType": "uint256",
269
- "name": "netSyInterm",
270
- "type": "uint256"
271
- }
272
- ],
273
- "name": "AddLiquiditySingleToken",
274
- "type": "event"
275
- },
276
- {
277
- "anonymous": false,
278
- "inputs": [
279
- {
280
- "indexed": true,
281
- "internalType": "address",
282
- "name": "caller",
283
- "type": "address"
284
- },
285
- {
286
- "indexed": true,
287
- "internalType": "address",
288
- "name": "market",
289
- "type": "address"
290
- },
291
- {
292
- "indexed": true,
293
- "internalType": "address",
294
- "name": "token",
295
- "type": "address"
296
- },
297
- {
298
- "indexed": false,
299
- "internalType": "address",
300
- "name": "receiver",
301
- "type": "address"
302
- },
303
- {
304
- "indexed": false,
305
- "internalType": "uint256",
306
- "name": "netTokenIn",
307
- "type": "uint256"
308
- },
309
- {
310
- "indexed": false,
311
- "internalType": "uint256",
312
- "name": "netLpOut",
313
- "type": "uint256"
314
- },
315
- {
316
- "indexed": false,
317
- "internalType": "uint256",
318
- "name": "netYtOut",
319
- "type": "uint256"
320
- },
321
- {
322
- "indexed": false,
323
- "internalType": "uint256",
324
- "name": "netSyMintPy",
325
- "type": "uint256"
326
- },
327
- {
328
- "indexed": false,
329
- "internalType": "uint256",
330
- "name": "netSyInterm",
331
- "type": "uint256"
332
- }
333
- ],
334
- "name": "AddLiquiditySingleTokenKeepYt",
335
- "type": "event"
336
- },
337
- {
338
- "anonymous": false,
339
- "inputs": [
340
- {
341
- "indexed": true,
342
- "internalType": "address",
343
- "name": "caller",
344
- "type": "address"
345
- },
346
- {
347
- "indexed": true,
348
- "internalType": "address",
349
- "name": "market",
350
- "type": "address"
351
- },
352
- {
353
- "indexed": true,
354
- "internalType": "address",
355
- "name": "receiver",
356
- "type": "address"
357
- },
358
- {
359
- "indexed": false,
360
- "internalType": "uint256",
361
- "name": "netLpIn",
362
- "type": "uint256"
363
- },
364
- {
365
- "components": [
366
- {
367
- "internalType": "uint256",
368
- "name": "netPtFromRemove",
369
- "type": "uint256"
370
- },
371
- {
372
- "internalType": "uint256",
373
- "name": "netSyFromRemove",
374
- "type": "uint256"
375
- },
376
- {
377
- "internalType": "uint256",
378
- "name": "netPtRedeem",
379
- "type": "uint256"
380
- },
381
- {
382
- "internalType": "uint256",
383
- "name": "netSyFromRedeem",
384
- "type": "uint256"
385
- },
386
- {
387
- "internalType": "uint256",
388
- "name": "totalSyOut",
389
- "type": "uint256"
390
- }
391
- ],
392
- "indexed": false,
393
- "internalType": "struct ExitPostExpReturnParams",
394
- "name": "params",
395
- "type": "tuple"
396
- }
397
- ],
398
- "name": "ExitPostExpToSy",
399
- "type": "event"
400
- },
401
- {
402
- "anonymous": false,
403
- "inputs": [
404
- {
405
- "indexed": true,
406
- "internalType": "address",
407
- "name": "caller",
408
- "type": "address"
409
- },
410
- {
411
- "indexed": true,
412
- "internalType": "address",
413
- "name": "market",
414
- "type": "address"
415
- },
416
- {
417
- "indexed": true,
418
- "internalType": "address",
419
- "name": "token",
420
- "type": "address"
421
- },
422
- {
423
- "indexed": false,
424
- "internalType": "address",
425
- "name": "receiver",
426
- "type": "address"
427
- },
428
- {
429
- "indexed": false,
430
- "internalType": "uint256",
431
- "name": "netLpIn",
432
- "type": "uint256"
433
- },
434
- {
435
- "indexed": false,
436
- "internalType": "uint256",
437
- "name": "totalTokenOut",
438
- "type": "uint256"
439
- },
440
- {
441
- "components": [
442
- {
443
- "internalType": "uint256",
444
- "name": "netPtFromRemove",
445
- "type": "uint256"
446
- },
447
- {
448
- "internalType": "uint256",
449
- "name": "netSyFromRemove",
450
- "type": "uint256"
451
- },
452
- {
453
- "internalType": "uint256",
454
- "name": "netPtRedeem",
455
- "type": "uint256"
456
- },
457
- {
458
- "internalType": "uint256",
459
- "name": "netSyFromRedeem",
460
- "type": "uint256"
461
- },
462
- {
463
- "internalType": "uint256",
464
- "name": "totalSyOut",
465
- "type": "uint256"
466
- }
467
- ],
468
- "indexed": false,
469
- "internalType": "struct ExitPostExpReturnParams",
470
- "name": "params",
471
- "type": "tuple"
472
- }
473
- ],
474
- "name": "ExitPostExpToToken",
475
- "type": "event"
476
- },
477
- {
478
- "anonymous": false,
479
- "inputs": [
480
- {
481
- "indexed": true,
482
- "internalType": "address",
483
- "name": "caller",
484
- "type": "address"
485
- },
486
- {
487
- "indexed": true,
488
- "internalType": "address",
489
- "name": "market",
490
- "type": "address"
491
- },
492
- {
493
- "indexed": true,
494
- "internalType": "address",
495
- "name": "receiver",
496
- "type": "address"
497
- },
498
- {
499
- "indexed": false,
500
- "internalType": "uint256",
501
- "name": "netLpIn",
502
- "type": "uint256"
503
- },
504
- {
505
- "components": [
506
- {
507
- "internalType": "uint256",
508
- "name": "netPtFromRemove",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "uint256",
513
- "name": "netSyFromRemove",
514
- "type": "uint256"
515
- },
516
- {
517
- "internalType": "uint256",
518
- "name": "netPyRedeem",
519
- "type": "uint256"
520
- },
521
- {
522
- "internalType": "uint256",
523
- "name": "netSyFromRedeem",
524
- "type": "uint256"
525
- },
526
- {
527
- "internalType": "uint256",
528
- "name": "netPtSwap",
529
- "type": "uint256"
530
- },
531
- {
532
- "internalType": "uint256",
533
- "name": "netYtSwap",
534
- "type": "uint256"
535
- },
536
- {
537
- "internalType": "uint256",
538
- "name": "netSyFromSwap",
539
- "type": "uint256"
540
- },
541
- {
542
- "internalType": "uint256",
543
- "name": "netSyFee",
544
- "type": "uint256"
545
- },
546
- {
547
- "internalType": "uint256",
548
- "name": "totalSyOut",
549
- "type": "uint256"
550
- }
551
- ],
552
- "indexed": false,
553
- "internalType": "struct ExitPreExpReturnParams",
554
- "name": "params",
555
- "type": "tuple"
556
- }
557
- ],
558
- "name": "ExitPreExpToSy",
559
- "type": "event"
560
- },
561
- {
562
- "anonymous": false,
563
- "inputs": [
564
- {
565
- "indexed": true,
566
- "internalType": "address",
567
- "name": "caller",
568
- "type": "address"
569
- },
570
- {
571
- "indexed": true,
572
- "internalType": "address",
573
- "name": "market",
574
- "type": "address"
575
- },
576
- {
577
- "indexed": true,
578
- "internalType": "address",
579
- "name": "token",
580
- "type": "address"
581
- },
582
- {
583
- "indexed": false,
584
- "internalType": "address",
585
- "name": "receiver",
586
- "type": "address"
587
- },
588
- {
589
- "indexed": false,
590
- "internalType": "uint256",
591
- "name": "netLpIn",
592
- "type": "uint256"
593
- },
594
- {
595
- "indexed": false,
596
- "internalType": "uint256",
597
- "name": "totalTokenOut",
598
- "type": "uint256"
599
- },
600
- {
601
- "components": [
602
- {
603
- "internalType": "uint256",
604
- "name": "netPtFromRemove",
605
- "type": "uint256"
606
- },
607
- {
608
- "internalType": "uint256",
609
- "name": "netSyFromRemove",
610
- "type": "uint256"
611
- },
612
- {
613
- "internalType": "uint256",
614
- "name": "netPyRedeem",
615
- "type": "uint256"
616
- },
617
- {
618
- "internalType": "uint256",
619
- "name": "netSyFromRedeem",
620
- "type": "uint256"
621
- },
622
- {
623
- "internalType": "uint256",
624
- "name": "netPtSwap",
625
- "type": "uint256"
626
- },
627
- {
628
- "internalType": "uint256",
629
- "name": "netYtSwap",
630
- "type": "uint256"
631
- },
632
- {
633
- "internalType": "uint256",
634
- "name": "netSyFromSwap",
635
- "type": "uint256"
636
- },
637
- {
638
- "internalType": "uint256",
639
- "name": "netSyFee",
640
- "type": "uint256"
641
- },
642
- {
643
- "internalType": "uint256",
644
- "name": "totalSyOut",
645
- "type": "uint256"
646
- }
647
- ],
648
- "indexed": false,
649
- "internalType": "struct ExitPreExpReturnParams",
650
- "name": "params",
651
- "type": "tuple"
652
- }
653
- ],
654
- "name": "ExitPreExpToToken",
655
- "type": "event"
656
- },
657
- {
658
- "anonymous": false,
659
- "inputs": [
660
- {
661
- "indexed": true,
662
- "internalType": "address",
663
- "name": "caller",
664
- "type": "address"
665
- },
666
- {
667
- "indexed": true,
668
- "internalType": "address",
669
- "name": "receiver",
670
- "type": "address"
671
- },
672
- {
673
- "indexed": true,
674
- "internalType": "address",
675
- "name": "YT",
676
- "type": "address"
677
- },
678
- {
679
- "indexed": false,
680
- "internalType": "uint256",
681
- "name": "netSyIn",
682
- "type": "uint256"
683
- },
684
- {
685
- "indexed": false,
686
- "internalType": "uint256",
687
- "name": "netPyOut",
688
- "type": "uint256"
689
- }
690
- ],
691
- "name": "MintPyFromSy",
692
- "type": "event"
693
- },
694
- {
695
- "anonymous": false,
696
- "inputs": [
697
- {
698
- "indexed": true,
699
- "internalType": "address",
700
- "name": "caller",
701
- "type": "address"
702
- },
703
- {
704
- "indexed": true,
705
- "internalType": "address",
706
- "name": "tokenIn",
707
- "type": "address"
708
- },
709
- {
710
- "indexed": true,
711
- "internalType": "address",
712
- "name": "YT",
713
- "type": "address"
714
- },
715
- {
716
- "indexed": false,
717
- "internalType": "address",
718
- "name": "receiver",
719
- "type": "address"
720
- },
721
- {
722
- "indexed": false,
723
- "internalType": "uint256",
724
- "name": "netTokenIn",
725
- "type": "uint256"
726
- },
727
- {
728
- "indexed": false,
729
- "internalType": "uint256",
730
- "name": "netPyOut",
731
- "type": "uint256"
732
- },
733
- {
734
- "indexed": false,
735
- "internalType": "uint256",
736
- "name": "netSyInterm",
737
- "type": "uint256"
738
- }
739
- ],
740
- "name": "MintPyFromToken",
741
- "type": "event"
742
- },
743
- {
744
- "anonymous": false,
745
- "inputs": [
746
- {
747
- "indexed": true,
748
- "internalType": "address",
749
- "name": "caller",
750
- "type": "address"
751
- },
752
- {
753
- "indexed": true,
754
- "internalType": "address",
755
- "name": "tokenIn",
756
- "type": "address"
757
- },
758
- {
759
- "indexed": true,
760
- "internalType": "address",
761
- "name": "SY",
762
- "type": "address"
763
- },
764
- {
765
- "indexed": false,
766
- "internalType": "address",
767
- "name": "receiver",
768
- "type": "address"
769
- },
770
- {
771
- "indexed": false,
772
- "internalType": "uint256",
773
- "name": "netTokenIn",
774
- "type": "uint256"
775
- },
776
- {
777
- "indexed": false,
778
- "internalType": "uint256",
779
- "name": "netSyOut",
780
- "type": "uint256"
781
- }
782
- ],
783
- "name": "MintSyFromToken",
784
- "type": "event"
785
- },
786
- {
787
- "anonymous": false,
788
- "inputs": [
789
- {
790
- "indexed": true,
791
- "internalType": "address",
792
- "name": "previousOwner",
793
- "type": "address"
794
- },
795
- {
796
- "indexed": true,
797
- "internalType": "address",
798
- "name": "newOwner",
799
- "type": "address"
800
- }
801
- ],
802
- "name": "OwnershipTransferred",
803
- "type": "event"
804
- },
805
- {
806
- "anonymous": false,
807
- "inputs": [
808
- {
809
- "indexed": true,
810
- "internalType": "address",
811
- "name": "caller",
812
- "type": "address"
813
- },
814
- {
815
- "indexed": true,
816
- "internalType": "address",
817
- "name": "receiver",
818
- "type": "address"
819
- },
820
- {
821
- "indexed": true,
822
- "internalType": "address",
823
- "name": "YT",
824
- "type": "address"
825
- },
826
- {
827
- "indexed": false,
828
- "internalType": "uint256",
829
- "name": "netPyIn",
830
- "type": "uint256"
831
- },
832
- {
833
- "indexed": false,
834
- "internalType": "uint256",
835
- "name": "netSyOut",
836
- "type": "uint256"
837
- }
838
- ],
839
- "name": "RedeemPyToSy",
840
- "type": "event"
841
- },
842
- {
843
- "anonymous": false,
844
- "inputs": [
845
- {
846
- "indexed": true,
847
- "internalType": "address",
848
- "name": "caller",
849
- "type": "address"
850
- },
851
- {
852
- "indexed": true,
853
- "internalType": "address",
854
- "name": "tokenOut",
855
- "type": "address"
856
- },
857
- {
858
- "indexed": true,
859
- "internalType": "address",
860
- "name": "YT",
861
- "type": "address"
862
- },
863
- {
864
- "indexed": false,
865
- "internalType": "address",
866
- "name": "receiver",
867
- "type": "address"
868
- },
869
- {
870
- "indexed": false,
871
- "internalType": "uint256",
872
- "name": "netPyIn",
873
- "type": "uint256"
874
- },
875
- {
876
- "indexed": false,
877
- "internalType": "uint256",
878
- "name": "netTokenOut",
879
- "type": "uint256"
880
- },
881
- {
882
- "indexed": false,
883
- "internalType": "uint256",
884
- "name": "netSyInterm",
885
- "type": "uint256"
886
- }
887
- ],
888
- "name": "RedeemPyToToken",
889
- "type": "event"
890
- },
891
- {
892
- "anonymous": false,
893
- "inputs": [
894
- {
895
- "indexed": true,
896
- "internalType": "address",
897
- "name": "caller",
898
- "type": "address"
899
- },
900
- {
901
- "indexed": true,
902
- "internalType": "address",
903
- "name": "tokenOut",
904
- "type": "address"
905
- },
906
- {
907
- "indexed": true,
908
- "internalType": "address",
909
- "name": "SY",
910
- "type": "address"
911
- },
912
- {
913
- "indexed": false,
914
- "internalType": "address",
915
- "name": "receiver",
916
- "type": "address"
917
- },
918
- {
919
- "indexed": false,
920
- "internalType": "uint256",
921
- "name": "netSyIn",
922
- "type": "uint256"
923
- },
924
- {
925
- "indexed": false,
926
- "internalType": "uint256",
927
- "name": "netTokenOut",
928
- "type": "uint256"
929
- }
930
- ],
931
- "name": "RedeemSyToToken",
932
- "type": "event"
933
- },
934
- {
935
- "anonymous": false,
936
- "inputs": [
937
- {
938
- "indexed": true,
939
- "internalType": "address",
940
- "name": "caller",
941
- "type": "address"
942
- },
943
- {
944
- "indexed": true,
945
- "internalType": "address",
946
- "name": "market",
947
- "type": "address"
948
- },
949
- {
950
- "indexed": true,
951
- "internalType": "address",
952
- "name": "receiver",
953
- "type": "address"
954
- },
955
- {
956
- "indexed": false,
957
- "internalType": "uint256",
958
- "name": "netLpToRemove",
959
- "type": "uint256"
960
- },
961
- {
962
- "indexed": false,
963
- "internalType": "uint256",
964
- "name": "netPtOut",
965
- "type": "uint256"
966
- },
967
- {
968
- "indexed": false,
969
- "internalType": "uint256",
970
- "name": "netSyOut",
971
- "type": "uint256"
972
- }
973
- ],
974
- "name": "RemoveLiquidityDualSyAndPt",
975
- "type": "event"
976
- },
977
- {
978
- "anonymous": false,
979
- "inputs": [
980
- {
981
- "indexed": true,
982
- "internalType": "address",
983
- "name": "caller",
984
- "type": "address"
985
- },
986
- {
987
- "indexed": true,
988
- "internalType": "address",
989
- "name": "market",
990
- "type": "address"
991
- },
992
- {
993
- "indexed": true,
994
- "internalType": "address",
995
- "name": "tokenOut",
996
- "type": "address"
997
- },
998
- {
999
- "indexed": false,
1000
- "internalType": "address",
1001
- "name": "receiver",
1002
- "type": "address"
1003
- },
1004
- {
1005
- "indexed": false,
1006
- "internalType": "uint256",
1007
- "name": "netLpToRemove",
1008
- "type": "uint256"
1009
- },
1010
- {
1011
- "indexed": false,
1012
- "internalType": "uint256",
1013
- "name": "netPtOut",
1014
- "type": "uint256"
1015
- },
1016
- {
1017
- "indexed": false,
1018
- "internalType": "uint256",
1019
- "name": "netTokenOut",
1020
- "type": "uint256"
1021
- },
1022
- {
1023
- "indexed": false,
1024
- "internalType": "uint256",
1025
- "name": "netSyInterm",
1026
- "type": "uint256"
1027
- }
1028
- ],
1029
- "name": "RemoveLiquidityDualTokenAndPt",
1030
- "type": "event"
1031
- },
1032
- {
1033
- "anonymous": false,
1034
- "inputs": [
1035
- {
1036
- "indexed": true,
1037
- "internalType": "address",
1038
- "name": "caller",
1039
- "type": "address"
1040
- },
1041
- {
1042
- "indexed": true,
1043
- "internalType": "address",
1044
- "name": "market",
1045
- "type": "address"
1046
- },
1047
- {
1048
- "indexed": true,
1049
- "internalType": "address",
1050
- "name": "receiver",
1051
- "type": "address"
1052
- },
1053
- {
1054
- "indexed": false,
1055
- "internalType": "uint256",
1056
- "name": "netLpToRemove",
1057
- "type": "uint256"
1058
- },
1059
- {
1060
- "indexed": false,
1061
- "internalType": "uint256",
1062
- "name": "netPtOut",
1063
- "type": "uint256"
1064
- }
1065
- ],
1066
- "name": "RemoveLiquiditySinglePt",
1067
- "type": "event"
1068
- },
1069
- {
1070
- "anonymous": false,
1071
- "inputs": [
1072
- {
1073
- "indexed": true,
1074
- "internalType": "address",
1075
- "name": "caller",
1076
- "type": "address"
1077
- },
1078
- {
1079
- "indexed": true,
1080
- "internalType": "address",
1081
- "name": "market",
1082
- "type": "address"
1083
- },
1084
- {
1085
- "indexed": true,
1086
- "internalType": "address",
1087
- "name": "receiver",
1088
- "type": "address"
1089
- },
1090
- {
1091
- "indexed": false,
1092
- "internalType": "uint256",
1093
- "name": "netLpToRemove",
1094
- "type": "uint256"
1095
- },
1096
- {
1097
- "indexed": false,
1098
- "internalType": "uint256",
1099
- "name": "netSyOut",
1100
- "type": "uint256"
1101
- }
1102
- ],
1103
- "name": "RemoveLiquiditySingleSy",
1104
- "type": "event"
1105
- },
1106
- {
1107
- "anonymous": false,
1108
- "inputs": [
1109
- {
1110
- "indexed": true,
1111
- "internalType": "address",
1112
- "name": "caller",
1113
- "type": "address"
1114
- },
1115
- {
1116
- "indexed": true,
1117
- "internalType": "address",
1118
- "name": "market",
1119
- "type": "address"
1120
- },
1121
- {
1122
- "indexed": true,
1123
- "internalType": "address",
1124
- "name": "token",
1125
- "type": "address"
1126
- },
1127
- {
1128
- "indexed": false,
1129
- "internalType": "address",
1130
- "name": "receiver",
1131
- "type": "address"
1132
- },
1133
- {
1134
- "indexed": false,
1135
- "internalType": "uint256",
1136
- "name": "netLpToRemove",
1137
- "type": "uint256"
1138
- },
1139
- {
1140
- "indexed": false,
1141
- "internalType": "uint256",
1142
- "name": "netTokenOut",
1143
- "type": "uint256"
1144
- },
1145
- {
1146
- "indexed": false,
1147
- "internalType": "uint256",
1148
- "name": "netSyInterm",
1149
- "type": "uint256"
1150
- }
1151
- ],
1152
- "name": "RemoveLiquiditySingleToken",
1153
- "type": "event"
1154
- },
1155
- {
1156
- "anonymous": false,
1157
- "inputs": [
1158
- {
1159
- "indexed": true,
1160
- "internalType": "bytes4",
1161
- "name": "selector",
1162
- "type": "bytes4"
1163
- },
1164
- {
1165
- "indexed": true,
1166
- "internalType": "address",
1167
- "name": "facet",
1168
- "type": "address"
1169
- }
1170
- ],
1171
- "name": "SelectorToFacetSet",
1172
- "type": "event"
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
- },
1370
- {
1371
- "anonymous": false,
1372
- "inputs": [
1373
- {
1374
- "indexed": true,
1375
- "internalType": "address",
1376
- "name": "caller",
1377
- "type": "address"
1378
- },
1379
- {
1380
- "indexed": true,
1381
- "internalType": "address",
1382
- "name": "market",
1383
- "type": "address"
1384
- },
1385
- {
1386
- "indexed": true,
1387
- "internalType": "address",
1388
- "name": "receiver",
1389
- "type": "address"
1390
- },
1391
- {
1392
- "indexed": false,
1393
- "internalType": "int256",
1394
- "name": "netPtToAccount",
1395
- "type": "int256"
1396
- },
1397
- {
1398
- "indexed": false,
1399
- "internalType": "int256",
1400
- "name": "netSyToAccount",
1401
- "type": "int256"
1402
- }
1403
- ],
1404
- "name": "SwapPtAndSy",
1405
- "type": "event"
1406
- },
1407
- {
1408
- "anonymous": false,
1409
- "inputs": [
1410
- {
1411
- "indexed": true,
1412
- "internalType": "address",
1413
- "name": "caller",
1414
- "type": "address"
1415
- },
1416
- {
1417
- "indexed": true,
1418
- "internalType": "address",
1419
- "name": "market",
1420
- "type": "address"
1421
- },
1422
- {
1423
- "indexed": true,
1424
- "internalType": "address",
1425
- "name": "token",
1426
- "type": "address"
1427
- },
1428
- {
1429
- "indexed": false,
1430
- "internalType": "address",
1431
- "name": "receiver",
1432
- "type": "address"
1433
- },
1434
- {
1435
- "indexed": false,
1436
- "internalType": "int256",
1437
- "name": "netPtToAccount",
1438
- "type": "int256"
1439
- },
1440
- {
1441
- "indexed": false,
1442
- "internalType": "int256",
1443
- "name": "netTokenToAccount",
1444
- "type": "int256"
1445
- },
1446
- {
1447
- "indexed": false,
1448
- "internalType": "uint256",
1449
- "name": "netSyInterm",
1450
- "type": "uint256"
1451
- }
1452
- ],
1453
- "name": "SwapPtAndToken",
1454
- "type": "event"
1455
- },
1456
- {
1457
- "anonymous": false,
1458
- "inputs": [
1459
- {
1460
- "indexed": true,
1461
- "internalType": "address",
1462
- "name": "caller",
1463
- "type": "address"
1464
- },
1465
- {
1466
- "indexed": true,
1467
- "internalType": "address",
1468
- "name": "market",
1469
- "type": "address"
1470
- },
1471
- {
1472
- "indexed": true,
1473
- "internalType": "address",
1474
- "name": "receiver",
1475
- "type": "address"
1476
- },
1477
- {
1478
- "indexed": false,
1479
- "internalType": "int256",
1480
- "name": "netPtToAccount",
1481
- "type": "int256"
1482
- },
1483
- {
1484
- "indexed": false,
1485
- "internalType": "int256",
1486
- "name": "netYtToAccount",
1487
- "type": "int256"
1488
- }
1489
- ],
1490
- "name": "SwapPtAndYt",
1491
- "type": "event"
1492
- },
1493
- {
1494
- "anonymous": false,
1495
- "inputs": [
1496
- {
1497
- "indexed": true,
1498
- "internalType": "address",
1499
- "name": "caller",
1500
- "type": "address"
1501
- },
1502
- {
1503
- "indexed": true,
1504
- "internalType": "address",
1505
- "name": "market",
1506
- "type": "address"
1507
- },
1508
- {
1509
- "indexed": true,
1510
- "internalType": "address",
1511
- "name": "receiver",
1512
- "type": "address"
1513
- },
1514
- {
1515
- "indexed": false,
1516
- "internalType": "int256",
1517
- "name": "netYtToAccount",
1518
- "type": "int256"
1519
- },
1520
- {
1521
- "indexed": false,
1522
- "internalType": "int256",
1523
- "name": "netSyToAccount",
1524
- "type": "int256"
1525
- }
1526
- ],
1527
- "name": "SwapYtAndSy",
1528
- "type": "event"
1529
- },
1530
- {
1531
- "anonymous": false,
1532
- "inputs": [
1533
- {
1534
- "indexed": true,
1535
- "internalType": "address",
1536
- "name": "caller",
1537
- "type": "address"
1538
- },
1539
- {
1540
- "indexed": true,
1541
- "internalType": "address",
1542
- "name": "market",
1543
- "type": "address"
1544
- },
1545
- {
1546
- "indexed": true,
1547
- "internalType": "address",
1548
- "name": "token",
1549
- "type": "address"
1550
- },
1551
- {
1552
- "indexed": false,
1553
- "internalType": "address",
1554
- "name": "receiver",
1555
- "type": "address"
1556
- },
1557
- {
1558
- "indexed": false,
1559
- "internalType": "int256",
1560
- "name": "netYtToAccount",
1561
- "type": "int256"
1562
- },
1563
- {
1564
- "indexed": false,
1565
- "internalType": "int256",
1566
- "name": "netTokenToAccount",
1567
- "type": "int256"
1568
- },
1569
- {
1570
- "indexed": false,
1571
- "internalType": "uint256",
1572
- "name": "netSyInterm",
1573
- "type": "uint256"
1574
- }
1575
- ],
1576
- "name": "SwapYtAndToken",
1577
- "type": "event"
1578
- },
1579
- {
1580
- "inputs": [
1581
- {
1582
- "internalType": "address",
1583
- "name": "receiver",
1584
- "type": "address"
1585
- },
1586
- {
1587
- "internalType": "address",
1588
- "name": "market",
1589
- "type": "address"
1590
- },
1591
- {
1592
- "internalType": "uint256",
1593
- "name": "maxPtIn",
1594
- "type": "uint256"
1595
- },
1596
- {
1597
- "internalType": "uint256",
1598
- "name": "minSyPtRate",
1599
- "type": "uint256"
1600
- },
1601
- {
1602
- "components": [
1603
- {
1604
- "internalType": "address",
1605
- "name": "limitRouter",
1606
- "type": "address"
1607
- },
1608
- {
1609
- "internalType": "uint256",
1610
- "name": "epsSkipMarket",
1611
- "type": "uint256"
1612
- },
1613
- {
1614
- "components": [
1615
- {
1616
- "components": [
1617
- {
1618
- "internalType": "uint256",
1619
- "name": "salt",
1620
- "type": "uint256"
1621
- },
1622
- {
1623
- "internalType": "uint256",
1624
- "name": "expiry",
1625
- "type": "uint256"
1626
- },
1627
- {
1628
- "internalType": "uint256",
1629
- "name": "nonce",
1630
- "type": "uint256"
1631
- },
1632
- {
1633
- "internalType": "enum IPLimitOrderType.OrderType",
1634
- "name": "orderType",
1635
- "type": "uint8"
1636
- },
1637
- {
1638
- "internalType": "address",
1639
- "name": "token",
1640
- "type": "address"
1641
- },
1642
- {
1643
- "internalType": "address",
1644
- "name": "YT",
1645
- "type": "address"
1646
- },
1647
- {
1648
- "internalType": "address",
1649
- "name": "maker",
1650
- "type": "address"
1651
- },
1652
- {
1653
- "internalType": "address",
1654
- "name": "receiver",
1655
- "type": "address"
1656
- },
1657
- {
1658
- "internalType": "uint256",
1659
- "name": "makingAmount",
1660
- "type": "uint256"
1661
- },
1662
- {
1663
- "internalType": "uint256",
1664
- "name": "lnImpliedRate",
1665
- "type": "uint256"
1666
- },
1667
- {
1668
- "internalType": "uint256",
1669
- "name": "failSafeRate",
1670
- "type": "uint256"
1671
- },
1672
- {
1673
- "internalType": "bytes",
1674
- "name": "permit",
1675
- "type": "bytes"
1676
- }
1677
- ],
1678
- "internalType": "struct Order",
1679
- "name": "order",
1680
- "type": "tuple"
1681
- },
1682
- {
1683
- "internalType": "bytes",
1684
- "name": "signature",
1685
- "type": "bytes"
1686
- },
1687
- {
1688
- "internalType": "uint256",
1689
- "name": "makingAmount",
1690
- "type": "uint256"
1691
- }
1692
- ],
1693
- "internalType": "struct FillOrderParams[]",
1694
- "name": "normalFills",
1695
- "type": "tuple[]"
1696
- },
1697
- {
1698
- "components": [
1699
- {
1700
- "components": [
1701
- {
1702
- "internalType": "uint256",
1703
- "name": "salt",
1704
- "type": "uint256"
1705
- },
1706
- {
1707
- "internalType": "uint256",
1708
- "name": "expiry",
1709
- "type": "uint256"
1710
- },
1711
- {
1712
- "internalType": "uint256",
1713
- "name": "nonce",
1714
- "type": "uint256"
1715
- },
1716
- {
1717
- "internalType": "enum IPLimitOrderType.OrderType",
1718
- "name": "orderType",
1719
- "type": "uint8"
1720
- },
1721
- {
1722
- "internalType": "address",
1723
- "name": "token",
1724
- "type": "address"
1725
- },
1726
- {
1727
- "internalType": "address",
1728
- "name": "YT",
1729
- "type": "address"
1730
- },
1731
- {
1732
- "internalType": "address",
1733
- "name": "maker",
1734
- "type": "address"
1735
- },
1736
- {
1737
- "internalType": "address",
1738
- "name": "receiver",
1739
- "type": "address"
1740
- },
1741
- {
1742
- "internalType": "uint256",
1743
- "name": "makingAmount",
1744
- "type": "uint256"
1745
- },
1746
- {
1747
- "internalType": "uint256",
1748
- "name": "lnImpliedRate",
1749
- "type": "uint256"
1750
- },
1751
- {
1752
- "internalType": "uint256",
1753
- "name": "failSafeRate",
1754
- "type": "uint256"
1755
- },
1756
- {
1757
- "internalType": "bytes",
1758
- "name": "permit",
1759
- "type": "bytes"
1760
- }
1761
- ],
1762
- "internalType": "struct Order",
1763
- "name": "order",
1764
- "type": "tuple"
1765
- },
1766
- {
1767
- "internalType": "bytes",
1768
- "name": "signature",
1769
- "type": "bytes"
1770
- },
1771
- {
1772
- "internalType": "uint256",
1773
- "name": "makingAmount",
1774
- "type": "uint256"
1775
- }
1776
- ],
1777
- "internalType": "struct FillOrderParams[]",
1778
- "name": "flashFills",
1779
- "type": "tuple[]"
1780
- },
1781
- {
1782
- "internalType": "bytes",
1783
- "name": "optData",
1784
- "type": "bytes"
1785
- }
1786
- ],
1787
- "internalType": "struct LimitOrderData",
1788
- "name": "limit",
1789
- "type": "tuple"
1790
- }
1791
- ],
1792
- "name": "swapMaxPtForSyLimitOnly",
1793
- "outputs": [
1794
- {
1795
- "internalType": "uint256",
1796
- "name": "netSyOut",
1797
- "type": "uint256"
1798
- },
1799
- {
1800
- "internalType": "uint256",
1801
- "name": "netPtReturned",
1802
- "type": "uint256"
1803
- },
1804
- {
1805
- "internalType": "uint256",
1806
- "name": "netSyFee",
1807
- "type": "uint256"
1808
- }
1809
- ],
1810
- "stateMutability": "nonpayable",
1811
- "type": "function"
1812
- },
1813
- {
1814
- "inputs": [
1815
- {
1816
- "internalType": "address",
1817
- "name": "receiver",
1818
- "type": "address"
1819
- },
1820
- {
1821
- "internalType": "address",
1822
- "name": "market",
1823
- "type": "address"
1824
- },
1825
- {
1826
- "internalType": "uint256",
1827
- "name": "maxPtIn",
1828
- "type": "uint256"
1829
- },
1830
- {
1831
- "internalType": "uint256",
1832
- "name": "minTokenPtRate",
1833
- "type": "uint256"
1834
- },
1835
- {
1836
- "components": [
1837
- {
1838
- "internalType": "address",
1839
- "name": "tokenOut",
1840
- "type": "address"
1841
- },
1842
- {
1843
- "internalType": "uint256",
1844
- "name": "minTokenOut",
1845
- "type": "uint256"
1846
- },
1847
- {
1848
- "internalType": "address",
1849
- "name": "tokenRedeemSy",
1850
- "type": "address"
1851
- },
1852
- {
1853
- "internalType": "address",
1854
- "name": "pendleSwap",
1855
- "type": "address"
1856
- },
1857
- {
1858
- "components": [
1859
- {
1860
- "internalType": "enum SwapType",
1861
- "name": "swapType",
1862
- "type": "uint8"
1863
- },
1864
- {
1865
- "internalType": "address",
1866
- "name": "extRouter",
1867
- "type": "address"
1868
- },
1869
- {
1870
- "internalType": "bytes",
1871
- "name": "extCalldata",
1872
- "type": "bytes"
1873
- },
1874
- {
1875
- "internalType": "bool",
1876
- "name": "needScale",
1877
- "type": "bool"
1878
- }
1879
- ],
1880
- "internalType": "struct SwapData",
1881
- "name": "swapData",
1882
- "type": "tuple"
1883
- }
1884
- ],
1885
- "internalType": "struct TokenOutput",
1886
- "name": "output",
1887
- "type": "tuple"
1888
- },
1889
- {
1890
- "components": [
1891
- {
1892
- "internalType": "address",
1893
- "name": "limitRouter",
1894
- "type": "address"
1895
- },
1896
- {
1897
- "internalType": "uint256",
1898
- "name": "epsSkipMarket",
1899
- "type": "uint256"
1900
- },
1901
- {
1902
- "components": [
1903
- {
1904
- "components": [
1905
- {
1906
- "internalType": "uint256",
1907
- "name": "salt",
1908
- "type": "uint256"
1909
- },
1910
- {
1911
- "internalType": "uint256",
1912
- "name": "expiry",
1913
- "type": "uint256"
1914
- },
1915
- {
1916
- "internalType": "uint256",
1917
- "name": "nonce",
1918
- "type": "uint256"
1919
- },
1920
- {
1921
- "internalType": "enum IPLimitOrderType.OrderType",
1922
- "name": "orderType",
1923
- "type": "uint8"
1924
- },
1925
- {
1926
- "internalType": "address",
1927
- "name": "token",
1928
- "type": "address"
1929
- },
1930
- {
1931
- "internalType": "address",
1932
- "name": "YT",
1933
- "type": "address"
1934
- },
1935
- {
1936
- "internalType": "address",
1937
- "name": "maker",
1938
- "type": "address"
1939
- },
1940
- {
1941
- "internalType": "address",
1942
- "name": "receiver",
1943
- "type": "address"
1944
- },
1945
- {
1946
- "internalType": "uint256",
1947
- "name": "makingAmount",
1948
- "type": "uint256"
1949
- },
1950
- {
1951
- "internalType": "uint256",
1952
- "name": "lnImpliedRate",
1953
- "type": "uint256"
1954
- },
1955
- {
1956
- "internalType": "uint256",
1957
- "name": "failSafeRate",
1958
- "type": "uint256"
1959
- },
1960
- {
1961
- "internalType": "bytes",
1962
- "name": "permit",
1963
- "type": "bytes"
1964
- }
1965
- ],
1966
- "internalType": "struct Order",
1967
- "name": "order",
1968
- "type": "tuple"
1969
- },
1970
- {
1971
- "internalType": "bytes",
1972
- "name": "signature",
1973
- "type": "bytes"
1974
- },
1975
- {
1976
- "internalType": "uint256",
1977
- "name": "makingAmount",
1978
- "type": "uint256"
1979
- }
1980
- ],
1981
- "internalType": "struct FillOrderParams[]",
1982
- "name": "normalFills",
1983
- "type": "tuple[]"
1984
- },
1985
- {
1986
- "components": [
1987
- {
1988
- "components": [
1989
- {
1990
- "internalType": "uint256",
1991
- "name": "salt",
1992
- "type": "uint256"
1993
- },
1994
- {
1995
- "internalType": "uint256",
1996
- "name": "expiry",
1997
- "type": "uint256"
1998
- },
1999
- {
2000
- "internalType": "uint256",
2001
- "name": "nonce",
2002
- "type": "uint256"
2003
- },
2004
- {
2005
- "internalType": "enum IPLimitOrderType.OrderType",
2006
- "name": "orderType",
2007
- "type": "uint8"
2008
- },
2009
- {
2010
- "internalType": "address",
2011
- "name": "token",
2012
- "type": "address"
2013
- },
2014
- {
2015
- "internalType": "address",
2016
- "name": "YT",
2017
- "type": "address"
2018
- },
2019
- {
2020
- "internalType": "address",
2021
- "name": "maker",
2022
- "type": "address"
2023
- },
2024
- {
2025
- "internalType": "address",
2026
- "name": "receiver",
2027
- "type": "address"
2028
- },
2029
- {
2030
- "internalType": "uint256",
2031
- "name": "makingAmount",
2032
- "type": "uint256"
2033
- },
2034
- {
2035
- "internalType": "uint256",
2036
- "name": "lnImpliedRate",
2037
- "type": "uint256"
2038
- },
2039
- {
2040
- "internalType": "uint256",
2041
- "name": "failSafeRate",
2042
- "type": "uint256"
2043
- },
2044
- {
2045
- "internalType": "bytes",
2046
- "name": "permit",
2047
- "type": "bytes"
2048
- }
2049
- ],
2050
- "internalType": "struct Order",
2051
- "name": "order",
2052
- "type": "tuple"
2053
- },
2054
- {
2055
- "internalType": "bytes",
2056
- "name": "signature",
2057
- "type": "bytes"
2058
- },
2059
- {
2060
- "internalType": "uint256",
2061
- "name": "makingAmount",
2062
- "type": "uint256"
2063
- }
2064
- ],
2065
- "internalType": "struct FillOrderParams[]",
2066
- "name": "flashFills",
2067
- "type": "tuple[]"
2068
- },
2069
- {
2070
- "internalType": "bytes",
2071
- "name": "optData",
2072
- "type": "bytes"
2073
- }
2074
- ],
2075
- "internalType": "struct LimitOrderData",
2076
- "name": "limit",
2077
- "type": "tuple"
2078
- }
2079
- ],
2080
- "name": "swapMaxPtForTokenLimitOnly",
2081
- "outputs": [
2082
- {
2083
- "internalType": "uint256",
2084
- "name": "netTokenOut",
2085
- "type": "uint256"
2086
- },
2087
- {
2088
- "internalType": "uint256",
2089
- "name": "netPtReturned",
2090
- "type": "uint256"
2091
- },
2092
- {
2093
- "internalType": "uint256",
2094
- "name": "netSyFee",
2095
- "type": "uint256"
2096
- },
2097
- {
2098
- "internalType": "uint256",
2099
- "name": "netSyInterm",
2100
- "type": "uint256"
2101
- }
2102
- ],
2103
- "stateMutability": "nonpayable",
2104
- "type": "function"
2105
- },
2106
- {
2107
- "inputs": [
2108
- {
2109
- "internalType": "address",
2110
- "name": "receiver",
2111
- "type": "address"
2112
- },
2113
- {
2114
- "internalType": "address",
2115
- "name": "market",
2116
- "type": "address"
2117
- },
2118
- {
2119
- "internalType": "uint256",
2120
- "name": "maxSyIn",
2121
- "type": "uint256"
2122
- },
2123
- {
2124
- "internalType": "uint256",
2125
- "name": "minYtSyRate",
2126
- "type": "uint256"
2127
- },
2128
- {
2129
- "components": [
2130
- {
2131
- "internalType": "address",
2132
- "name": "limitRouter",
2133
- "type": "address"
2134
- },
2135
- {
2136
- "internalType": "uint256",
2137
- "name": "epsSkipMarket",
2138
- "type": "uint256"
2139
- },
2140
- {
2141
- "components": [
2142
- {
2143
- "components": [
2144
- {
2145
- "internalType": "uint256",
2146
- "name": "salt",
2147
- "type": "uint256"
2148
- },
2149
- {
2150
- "internalType": "uint256",
2151
- "name": "expiry",
2152
- "type": "uint256"
2153
- },
2154
- {
2155
- "internalType": "uint256",
2156
- "name": "nonce",
2157
- "type": "uint256"
2158
- },
2159
- {
2160
- "internalType": "enum IPLimitOrderType.OrderType",
2161
- "name": "orderType",
2162
- "type": "uint8"
2163
- },
2164
- {
2165
- "internalType": "address",
2166
- "name": "token",
2167
- "type": "address"
2168
- },
2169
- {
2170
- "internalType": "address",
2171
- "name": "YT",
2172
- "type": "address"
2173
- },
2174
- {
2175
- "internalType": "address",
2176
- "name": "maker",
2177
- "type": "address"
2178
- },
2179
- {
2180
- "internalType": "address",
2181
- "name": "receiver",
2182
- "type": "address"
2183
- },
2184
- {
2185
- "internalType": "uint256",
2186
- "name": "makingAmount",
2187
- "type": "uint256"
2188
- },
2189
- {
2190
- "internalType": "uint256",
2191
- "name": "lnImpliedRate",
2192
- "type": "uint256"
2193
- },
2194
- {
2195
- "internalType": "uint256",
2196
- "name": "failSafeRate",
2197
- "type": "uint256"
2198
- },
2199
- {
2200
- "internalType": "bytes",
2201
- "name": "permit",
2202
- "type": "bytes"
2203
- }
2204
- ],
2205
- "internalType": "struct Order",
2206
- "name": "order",
2207
- "type": "tuple"
2208
- },
2209
- {
2210
- "internalType": "bytes",
2211
- "name": "signature",
2212
- "type": "bytes"
2213
- },
2214
- {
2215
- "internalType": "uint256",
2216
- "name": "makingAmount",
2217
- "type": "uint256"
2218
- }
2219
- ],
2220
- "internalType": "struct FillOrderParams[]",
2221
- "name": "normalFills",
2222
- "type": "tuple[]"
2223
- },
2224
- {
2225
- "components": [
2226
- {
2227
- "components": [
2228
- {
2229
- "internalType": "uint256",
2230
- "name": "salt",
2231
- "type": "uint256"
2232
- },
2233
- {
2234
- "internalType": "uint256",
2235
- "name": "expiry",
2236
- "type": "uint256"
2237
- },
2238
- {
2239
- "internalType": "uint256",
2240
- "name": "nonce",
2241
- "type": "uint256"
2242
- },
2243
- {
2244
- "internalType": "enum IPLimitOrderType.OrderType",
2245
- "name": "orderType",
2246
- "type": "uint8"
2247
- },
2248
- {
2249
- "internalType": "address",
2250
- "name": "token",
2251
- "type": "address"
2252
- },
2253
- {
2254
- "internalType": "address",
2255
- "name": "YT",
2256
- "type": "address"
2257
- },
2258
- {
2259
- "internalType": "address",
2260
- "name": "maker",
2261
- "type": "address"
2262
- },
2263
- {
2264
- "internalType": "address",
2265
- "name": "receiver",
2266
- "type": "address"
2267
- },
2268
- {
2269
- "internalType": "uint256",
2270
- "name": "makingAmount",
2271
- "type": "uint256"
2272
- },
2273
- {
2274
- "internalType": "uint256",
2275
- "name": "lnImpliedRate",
2276
- "type": "uint256"
2277
- },
2278
- {
2279
- "internalType": "uint256",
2280
- "name": "failSafeRate",
2281
- "type": "uint256"
2282
- },
2283
- {
2284
- "internalType": "bytes",
2285
- "name": "permit",
2286
- "type": "bytes"
2287
- }
2288
- ],
2289
- "internalType": "struct Order",
2290
- "name": "order",
2291
- "type": "tuple"
2292
- },
2293
- {
2294
- "internalType": "bytes",
2295
- "name": "signature",
2296
- "type": "bytes"
2297
- },
2298
- {
2299
- "internalType": "uint256",
2300
- "name": "makingAmount",
2301
- "type": "uint256"
2302
- }
2303
- ],
2304
- "internalType": "struct FillOrderParams[]",
2305
- "name": "flashFills",
2306
- "type": "tuple[]"
2307
- },
2308
- {
2309
- "internalType": "bytes",
2310
- "name": "optData",
2311
- "type": "bytes"
2312
- }
2313
- ],
2314
- "internalType": "struct LimitOrderData",
2315
- "name": "limit",
2316
- "type": "tuple"
2317
- }
2318
- ],
2319
- "name": "swapMaxSyForYtLimitOnly",
2320
- "outputs": [
2321
- {
2322
- "internalType": "uint256",
2323
- "name": "netYtOut",
2324
- "type": "uint256"
2325
- },
2326
- {
2327
- "internalType": "uint256",
2328
- "name": "netSyReturned",
2329
- "type": "uint256"
2330
- },
2331
- {
2332
- "internalType": "uint256",
2333
- "name": "netSyFee",
2334
- "type": "uint256"
2335
- }
2336
- ],
2337
- "stateMutability": "nonpayable",
2338
- "type": "function"
2339
- },
2340
- {
2341
- "inputs": [
2342
- {
2343
- "internalType": "address",
2344
- "name": "receiver",
2345
- "type": "address"
2346
- },
2347
- {
2348
- "internalType": "address",
2349
- "name": "market",
2350
- "type": "address"
2351
- },
2352
- {
2353
- "internalType": "uint256",
2354
- "name": "minSyInterm",
2355
- "type": "uint256"
2356
- },
2357
- {
2358
- "internalType": "uint256",
2359
- "name": "minYtSyRate",
2360
- "type": "uint256"
2361
- },
2362
- {
2363
- "components": [
2364
- {
2365
- "internalType": "address",
2366
- "name": "tokenIn",
2367
- "type": "address"
2368
- },
2369
- {
2370
- "internalType": "uint256",
2371
- "name": "netTokenIn",
2372
- "type": "uint256"
2373
- },
2374
- {
2375
- "internalType": "address",
2376
- "name": "tokenMintSy",
2377
- "type": "address"
2378
- },
2379
- {
2380
- "internalType": "address",
2381
- "name": "pendleSwap",
2382
- "type": "address"
2383
- },
2384
- {
2385
- "components": [
2386
- {
2387
- "internalType": "enum SwapType",
2388
- "name": "swapType",
2389
- "type": "uint8"
2390
- },
2391
- {
2392
- "internalType": "address",
2393
- "name": "extRouter",
2394
- "type": "address"
2395
- },
2396
- {
2397
- "internalType": "bytes",
2398
- "name": "extCalldata",
2399
- "type": "bytes"
2400
- },
2401
- {
2402
- "internalType": "bool",
2403
- "name": "needScale",
2404
- "type": "bool"
2405
- }
2406
- ],
2407
- "internalType": "struct SwapData",
2408
- "name": "swapData",
2409
- "type": "tuple"
2410
- }
2411
- ],
2412
- "internalType": "struct TokenInput",
2413
- "name": "input",
2414
- "type": "tuple"
2415
- },
2416
- {
2417
- "components": [
2418
- {
2419
- "internalType": "address",
2420
- "name": "limitRouter",
2421
- "type": "address"
2422
- },
2423
- {
2424
- "internalType": "uint256",
2425
- "name": "epsSkipMarket",
2426
- "type": "uint256"
2427
- },
2428
- {
2429
- "components": [
2430
- {
2431
- "components": [
2432
- {
2433
- "internalType": "uint256",
2434
- "name": "salt",
2435
- "type": "uint256"
2436
- },
2437
- {
2438
- "internalType": "uint256",
2439
- "name": "expiry",
2440
- "type": "uint256"
2441
- },
2442
- {
2443
- "internalType": "uint256",
2444
- "name": "nonce",
2445
- "type": "uint256"
2446
- },
2447
- {
2448
- "internalType": "enum IPLimitOrderType.OrderType",
2449
- "name": "orderType",
2450
- "type": "uint8"
2451
- },
2452
- {
2453
- "internalType": "address",
2454
- "name": "token",
2455
- "type": "address"
2456
- },
2457
- {
2458
- "internalType": "address",
2459
- "name": "YT",
2460
- "type": "address"
2461
- },
2462
- {
2463
- "internalType": "address",
2464
- "name": "maker",
2465
- "type": "address"
2466
- },
2467
- {
2468
- "internalType": "address",
2469
- "name": "receiver",
2470
- "type": "address"
2471
- },
2472
- {
2473
- "internalType": "uint256",
2474
- "name": "makingAmount",
2475
- "type": "uint256"
2476
- },
2477
- {
2478
- "internalType": "uint256",
2479
- "name": "lnImpliedRate",
2480
- "type": "uint256"
2481
- },
2482
- {
2483
- "internalType": "uint256",
2484
- "name": "failSafeRate",
2485
- "type": "uint256"
2486
- },
2487
- {
2488
- "internalType": "bytes",
2489
- "name": "permit",
2490
- "type": "bytes"
2491
- }
2492
- ],
2493
- "internalType": "struct Order",
2494
- "name": "order",
2495
- "type": "tuple"
2496
- },
2497
- {
2498
- "internalType": "bytes",
2499
- "name": "signature",
2500
- "type": "bytes"
2501
- },
2502
- {
2503
- "internalType": "uint256",
2504
- "name": "makingAmount",
2505
- "type": "uint256"
2506
- }
2507
- ],
2508
- "internalType": "struct FillOrderParams[]",
2509
- "name": "normalFills",
2510
- "type": "tuple[]"
2511
- },
2512
- {
2513
- "components": [
2514
- {
2515
- "components": [
2516
- {
2517
- "internalType": "uint256",
2518
- "name": "salt",
2519
- "type": "uint256"
2520
- },
2521
- {
2522
- "internalType": "uint256",
2523
- "name": "expiry",
2524
- "type": "uint256"
2525
- },
2526
- {
2527
- "internalType": "uint256",
2528
- "name": "nonce",
2529
- "type": "uint256"
2530
- },
2531
- {
2532
- "internalType": "enum IPLimitOrderType.OrderType",
2533
- "name": "orderType",
2534
- "type": "uint8"
2535
- },
2536
- {
2537
- "internalType": "address",
2538
- "name": "token",
2539
- "type": "address"
2540
- },
2541
- {
2542
- "internalType": "address",
2543
- "name": "YT",
2544
- "type": "address"
2545
- },
2546
- {
2547
- "internalType": "address",
2548
- "name": "maker",
2549
- "type": "address"
2550
- },
2551
- {
2552
- "internalType": "address",
2553
- "name": "receiver",
2554
- "type": "address"
2555
- },
2556
- {
2557
- "internalType": "uint256",
2558
- "name": "makingAmount",
2559
- "type": "uint256"
2560
- },
2561
- {
2562
- "internalType": "uint256",
2563
- "name": "lnImpliedRate",
2564
- "type": "uint256"
2565
- },
2566
- {
2567
- "internalType": "uint256",
2568
- "name": "failSafeRate",
2569
- "type": "uint256"
2570
- },
2571
- {
2572
- "internalType": "bytes",
2573
- "name": "permit",
2574
- "type": "bytes"
2575
- }
2576
- ],
2577
- "internalType": "struct Order",
2578
- "name": "order",
2579
- "type": "tuple"
2580
- },
2581
- {
2582
- "internalType": "bytes",
2583
- "name": "signature",
2584
- "type": "bytes"
2585
- },
2586
- {
2587
- "internalType": "uint256",
2588
- "name": "makingAmount",
2589
- "type": "uint256"
2590
- }
2591
- ],
2592
- "internalType": "struct FillOrderParams[]",
2593
- "name": "flashFills",
2594
- "type": "tuple[]"
2595
- },
2596
- {
2597
- "internalType": "bytes",
2598
- "name": "optData",
2599
- "type": "bytes"
2600
- }
2601
- ],
2602
- "internalType": "struct LimitOrderData",
2603
- "name": "limit",
2604
- "type": "tuple"
2605
- }
2606
- ],
2607
- "name": "swapMaxTokenForYtLimitOnly",
2608
- "outputs": [
2609
- {
2610
- "internalType": "uint256",
2611
- "name": "netYtOut",
2612
- "type": "uint256"
2613
- },
2614
- {
2615
- "internalType": "uint256",
2616
- "name": "netSyReturned",
2617
- "type": "uint256"
2618
- },
2619
- {
2620
- "internalType": "uint256",
2621
- "name": "netSyFee",
2622
- "type": "uint256"
2623
- },
2624
- {
2625
- "internalType": "uint256",
2626
- "name": "netSyInterm",
2627
- "type": "uint256"
2628
- }
2629
- ],
2630
- "stateMutability": "payable",
2631
- "type": "function"
2632
- }
2633
- ],
2634
- "bytecode": "0x",
2635
- "deployedBytecode": "0x",
2636
- "linkReferences": {},
2637
- "deployedLinkReferences": {}
2638
- }