@pendle/core-v2 5.2.0-beta-4 → 5.2.0

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