@pendle/core-v2 5.5.0 → 5.7.0-sonic

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 (330) hide show
  1. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  4. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  8. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  22. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  24. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.json +2 -2
  27. package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  29. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +2 -2
  31. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +2 -2
  33. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  37. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  40. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  42. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
  44. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +4 -0
  45. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.json +34 -0
  46. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  47. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  48. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  49. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  50. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  51. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  52. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +4 -0
  64. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.json +40 -0
  65. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +77 -0
  67. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +32 -0
  70. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +23 -0
  74. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +4 -0
  76. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.json +162 -0
  77. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.dbg.json +4 -0
  81. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.json +426 -0
  82. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  83. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  84. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  85. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +32 -0
  86. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  87. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +34 -2
  88. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  89. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  90. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  91. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
  92. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  93. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
  94. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  95. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +98 -3
  96. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +4 -0
  97. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +651 -0
  98. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +4 -0
  99. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +329 -0
  100. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +4 -0
  101. package/build/artifacts/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol}/PendlePoolDeployHelper.json +3 -3
  102. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +4 -0
  103. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +235 -0
  104. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +4 -0
  105. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +10 -0
  106. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  107. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  108. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  109. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  110. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  111. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  112. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  113. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  114. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  115. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  116. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  118. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  119. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  120. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  121. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  122. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  123. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  124. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  125. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  126. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  127. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  128. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  129. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  130. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  131. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  132. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  133. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  134. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  135. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  136. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  137. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  138. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  139. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  140. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  141. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  142. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  143. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  144. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
  145. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  146. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
  147. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  148. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  149. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  151. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  153. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  155. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  157. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  158. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  159. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  161. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  163. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  164. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  165. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  166. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  167. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  168. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  169. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  170. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  171. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  172. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  173. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  174. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  175. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  176. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  177. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  178. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  179. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  180. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  182. package/contracts/core/libraries/math/PMath.sol +5 -0
  183. package/contracts/interfaces/IOwnable.sol +6 -0
  184. package/contracts/interfaces/IPCommonSYFactory.sol +6 -0
  185. package/contracts/interfaces/IPGovernanceProxy.sol +10 -0
  186. package/contracts/interfaces/IPLimitRouter.sol +5 -0
  187. package/contracts/interfaces/IPMarketFactoryV3.sol +2 -0
  188. package/contracts/interfaces/IPPoolDeployHelperV2.sol +36 -0
  189. package/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol +30 -0
  190. package/contracts/limit/LimitRouterBase.sol +6 -10
  191. package/contracts/offchain-helpers/PendleGovernanceProxy.sol +41 -10
  192. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +68 -0
  193. package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +67 -0
  194. package/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol} +5 -5
  195. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +159 -0
  196. package/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol +70 -0
  197. package/deployments/1-core.json +2 -1
  198. package/deployments/10-core.json +2 -1
  199. package/deployments/146-core.json +47 -0
  200. package/deployments/146-offchain-helper.json +6 -0
  201. package/deployments/42161-core.json +2 -1
  202. package/deployments/5000-core.json +2 -1
  203. package/deployments/56-core.json +2 -1
  204. package/deployments/8453-core.json +2 -1
  205. package/deployments/merkle-distribution/2024-12-31-snapshot.json +65767 -0
  206. package/deployments/merkle-distribution/2025-01-30.json +28060 -0
  207. package/package.json +1 -1
  208. package/typechain-types/ActionCallbackV3.ts +164 -0
  209. package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
  210. package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
  211. package/typechain-types/Broadcaster.ts +454 -0
  212. package/typechain-types/IOwnable.ts +114 -0
  213. package/typechain-types/IPActionCallbackV3.ts +164 -0
  214. package/typechain-types/IPActionMarketCoreStatic.ts +1974 -0
  215. package/typechain-types/IPCommonSYFactory.ts +111 -0
  216. package/typechain-types/IPGovernanceProxy.ts +236 -0
  217. package/typechain-types/IPLimitRouter.ts +633 -0
  218. package/typechain-types/IPLimitRouterCallback.ts +120 -0
  219. package/typechain-types/IPMarket.ts +1045 -0
  220. package/typechain-types/IPMarketFactoryV3.ts +321 -0
  221. package/typechain-types/IPMarketV3.ts +1068 -0
  222. package/typechain-types/IPPoolDeployHelperV2.ts +209 -0
  223. package/typechain-types/IPVotingController.ts +510 -0
  224. package/typechain-types/IPVotingEscrowMainchain.ts +461 -0
  225. package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +391 -0
  226. package/typechain-types/InterestManagerYT.ts +120 -0
  227. package/typechain-types/LimitBackendHelper.ts +287 -0
  228. package/typechain-types/LimitRouterBase.ts +1138 -0
  229. package/typechain-types/PendleBoringOneracle.ts +87 -0
  230. package/typechain-types/PendleBoringSolvBTCOneracle.ts +87 -0
  231. package/typechain-types/PendleChainlinkOracle.ts +299 -0
  232. package/typechain-types/PendleChainlinkOracleFactory.ts +468 -0
  233. package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
  234. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +698 -0
  235. package/typechain-types/PendleCommonSYFactory.ts +420 -0
  236. package/typechain-types/PendleExchangeRateOracle.ts +393 -0
  237. package/typechain-types/PendleFeeDistributor.ts +745 -0
  238. package/typechain-types/PendleGauge.ts +225 -0
  239. package/typechain-types/PendleGaugeControllerBaseUpg.ts +670 -0
  240. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +758 -0
  241. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +750 -0
  242. package/typechain-types/PendleGovernanceProxy.ts +128 -0
  243. package/typechain-types/PendleLimitRouter.ts +1138 -0
  244. package/typechain-types/PendleMarket.ts +1207 -0
  245. package/typechain-types/PendleMarketFactory.ts +906 -0
  246. package/typechain-types/PendleMarketFactoryV3.ts +719 -0
  247. package/typechain-types/PendleMarketV3.ts +1195 -0
  248. package/typechain-types/PendlePYLpOracle.ts +619 -0
  249. package/typechain-types/PendlePoolDeployHelperV2.ts +283 -0
  250. package/typechain-types/PendleRedStoneRateOracleAdapter.ts +133 -0
  251. package/typechain-types/PendleVotingControllerUpg.ts +1621 -0
  252. package/typechain-types/PendleYieldContractFactory.ts +801 -0
  253. package/typechain-types/PendleYieldToken.ts +1107 -0
  254. package/typechain-types/RewardManager.ts +161 -0
  255. package/typechain-types/RewardManagerAbstract.ts +108 -0
  256. package/typechain-types/VotingControllerStorageUpg.ts +915 -0
  257. package/typechain-types/VotingEscrowPendleMainchain.ts +1045 -0
  258. package/typechain-types/VotingEscrowPendleSidechain.ts +558 -0
  259. package/typechain-types/VotingEscrowTokenBase.ts +252 -0
  260. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  261. package/typechain-types/factories/ActionCallbackV3__factory.ts +121 -0
  262. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  263. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  264. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  265. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  266. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  267. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  268. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  269. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  270. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  271. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  272. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  273. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
  274. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
  275. package/typechain-types/factories/Broadcaster__factory.ts +311 -0
  276. package/typechain-types/factories/IOwnable__factory.ts +46 -0
  277. package/typechain-types/factories/IPActionCallbackV3__factory.ts +83 -0
  278. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1300 -0
  279. package/typechain-types/factories/IPCommonSYFactory__factory.ts +55 -0
  280. package/typechain-types/factories/IPGovernanceProxy__factory.ts +152 -0
  281. package/typechain-types/factories/IPLimitRouterCallback__factory.ts +64 -0
  282. package/typechain-types/factories/IPLimitRouter__factory.ts +748 -0
  283. package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
  284. package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
  285. package/typechain-types/factories/IPMarket__factory.ts +832 -0
  286. package/typechain-types/factories/IPPoolDeployHelperV2__factory.ts +181 -0
  287. package/typechain-types/factories/IPVotingController__factory.ts +363 -0
  288. package/typechain-types/factories/IPVotingEscrowMainchain__factory.ts +340 -0
  289. package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +447 -0
  290. package/typechain-types/factories/InterestManagerYT__factory.ts +63 -0
  291. package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
  292. package/typechain-types/factories/LimitRouterBase__factory.ts +1069 -0
  293. package/typechain-types/factories/PendleBoringOneracle__factory.ts +81 -0
  294. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +83 -0
  295. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +405 -0
  296. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +341 -0
  297. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +306 -0
  298. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +728 -0
  299. package/typechain-types/factories/PendleCommonSYFactory__factory.ts +386 -0
  300. package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +379 -0
  301. package/typechain-types/factories/PendleFeeDistributor__factory.ts +665 -0
  302. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +457 -0
  303. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +620 -0
  304. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +610 -0
  305. package/typechain-types/factories/PendleGauge__factory.ts +140 -0
  306. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +97 -2
  307. package/typechain-types/factories/PendleLimitRouter__factory.ts +1139 -0
  308. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
  309. package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
  310. package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
  311. package/typechain-types/factories/PendleMarket__factory.ts +1212 -0
  312. package/typechain-types/factories/PendlePYLpOracle__factory.ts +475 -0
  313. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +308 -0
  314. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  315. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +157 -0
  316. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  317. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  318. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1278 -0
  319. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
  320. package/typechain-types/factories/PendleYieldToken__factory.ts +978 -0
  321. package/typechain-types/factories/Reflector__factory.ts +1 -1
  322. package/typechain-types/factories/RewardManagerAbstract__factory.ts +59 -0
  323. package/typechain-types/factories/RewardManager__factory.ts +89 -0
  324. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +700 -0
  325. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +856 -0
  326. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +455 -0
  327. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +162 -0
  328. package/typechain-types/hardhat.d.ts +72 -0
  329. package/typechain-types/index.ts +16 -2
  330. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +0 -4
@@ -0,0 +1,728 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ PendleCommonPoolDeployHelperV2,
8
+ PendleCommonPoolDeployHelperV2Interface,
9
+ } from "../PendleCommonPoolDeployHelperV2";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "_syFactory",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "address",
21
+ name: "_router",
22
+ type: "address",
23
+ },
24
+ {
25
+ internalType: "address",
26
+ name: "_yieldContractFactory",
27
+ type: "address",
28
+ },
29
+ {
30
+ internalType: "address",
31
+ name: "_marketFactory",
32
+ type: "address",
33
+ },
34
+ ],
35
+ stateMutability: "nonpayable",
36
+ type: "constructor",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: false,
43
+ internalType: "uint8",
44
+ name: "version",
45
+ type: "uint8",
46
+ },
47
+ ],
48
+ name: "Initialized",
49
+ type: "event",
50
+ },
51
+ {
52
+ anonymous: false,
53
+ inputs: [
54
+ {
55
+ components: [
56
+ {
57
+ internalType: "address",
58
+ name: "SY",
59
+ type: "address",
60
+ },
61
+ {
62
+ internalType: "address",
63
+ name: "PT",
64
+ type: "address",
65
+ },
66
+ {
67
+ internalType: "address",
68
+ name: "YT",
69
+ type: "address",
70
+ },
71
+ {
72
+ internalType: "address",
73
+ name: "market",
74
+ type: "address",
75
+ },
76
+ ],
77
+ indexed: false,
78
+ internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
79
+ name: "addrs",
80
+ type: "tuple",
81
+ },
82
+ {
83
+ components: [
84
+ {
85
+ internalType: "uint32",
86
+ name: "expiry",
87
+ type: "uint32",
88
+ },
89
+ {
90
+ internalType: "uint80",
91
+ name: "lnFeeRateRoot",
92
+ type: "uint80",
93
+ },
94
+ {
95
+ internalType: "int256",
96
+ name: "scalarRoot",
97
+ type: "int256",
98
+ },
99
+ {
100
+ internalType: "int256",
101
+ name: "initialRateAnchor",
102
+ type: "int256",
103
+ },
104
+ {
105
+ internalType: "bool",
106
+ name: "doCacheIndexSameBlock",
107
+ type: "bool",
108
+ },
109
+ ],
110
+ indexed: false,
111
+ internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentParams",
112
+ name: "params",
113
+ type: "tuple",
114
+ },
115
+ ],
116
+ name: "MarketDeployment",
117
+ type: "event",
118
+ },
119
+ {
120
+ anonymous: false,
121
+ inputs: [
122
+ {
123
+ indexed: true,
124
+ internalType: "address",
125
+ name: "previousOwner",
126
+ type: "address",
127
+ },
128
+ {
129
+ indexed: true,
130
+ internalType: "address",
131
+ name: "newOwner",
132
+ type: "address",
133
+ },
134
+ ],
135
+ name: "OwnershipTransferred",
136
+ type: "event",
137
+ },
138
+ {
139
+ inputs: [],
140
+ name: "ERC20_DEPLOY_ID",
141
+ outputs: [
142
+ {
143
+ internalType: "bytes32",
144
+ name: "",
145
+ type: "bytes32",
146
+ },
147
+ ],
148
+ stateMutability: "view",
149
+ type: "function",
150
+ },
151
+ {
152
+ inputs: [],
153
+ name: "ERC4626_DEPLOY_ID",
154
+ outputs: [
155
+ {
156
+ internalType: "bytes32",
157
+ name: "",
158
+ type: "bytes32",
159
+ },
160
+ ],
161
+ stateMutability: "view",
162
+ type: "function",
163
+ },
164
+ {
165
+ inputs: [],
166
+ name: "ERC4626_NOT_REDEEMABLE_DEPLOY_ID",
167
+ outputs: [
168
+ {
169
+ internalType: "bytes32",
170
+ name: "",
171
+ type: "bytes32",
172
+ },
173
+ ],
174
+ stateMutability: "view",
175
+ type: "function",
176
+ },
177
+ {
178
+ inputs: [],
179
+ name: "claimOwnership",
180
+ outputs: [],
181
+ stateMutability: "nonpayable",
182
+ type: "function",
183
+ },
184
+ {
185
+ inputs: [
186
+ {
187
+ internalType: "address",
188
+ name: "SY",
189
+ type: "address",
190
+ },
191
+ {
192
+ components: [
193
+ {
194
+ internalType: "uint32",
195
+ name: "expiry",
196
+ type: "uint32",
197
+ },
198
+ {
199
+ internalType: "uint256",
200
+ name: "rateMin",
201
+ type: "uint256",
202
+ },
203
+ {
204
+ internalType: "uint256",
205
+ name: "rateMax",
206
+ type: "uint256",
207
+ },
208
+ {
209
+ internalType: "uint256",
210
+ name: "desiredImpliedRate",
211
+ type: "uint256",
212
+ },
213
+ {
214
+ internalType: "uint256",
215
+ name: "fee",
216
+ type: "uint256",
217
+ },
218
+ ],
219
+ internalType: "struct PendlePoolDeployHelperV2.PoolConfig",
220
+ name: "config",
221
+ type: "tuple",
222
+ },
223
+ {
224
+ internalType: "address",
225
+ name: "tokenToSeedLiqudity",
226
+ type: "address",
227
+ },
228
+ {
229
+ internalType: "uint256",
230
+ name: "amountToSeed",
231
+ type: "uint256",
232
+ },
233
+ ],
234
+ name: "deploy5115MarketAndSeedLiquidity",
235
+ outputs: [
236
+ {
237
+ components: [
238
+ {
239
+ internalType: "address",
240
+ name: "SY",
241
+ type: "address",
242
+ },
243
+ {
244
+ internalType: "address",
245
+ name: "PT",
246
+ type: "address",
247
+ },
248
+ {
249
+ internalType: "address",
250
+ name: "YT",
251
+ type: "address",
252
+ },
253
+ {
254
+ internalType: "address",
255
+ name: "market",
256
+ type: "address",
257
+ },
258
+ ],
259
+ internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
260
+ name: "",
261
+ type: "tuple",
262
+ },
263
+ ],
264
+ stateMutability: "payable",
265
+ type: "function",
266
+ },
267
+ {
268
+ inputs: [
269
+ {
270
+ internalType: "bytes",
271
+ name: "constructorParams",
272
+ type: "bytes",
273
+ },
274
+ {
275
+ components: [
276
+ {
277
+ internalType: "uint32",
278
+ name: "expiry",
279
+ type: "uint32",
280
+ },
281
+ {
282
+ internalType: "uint256",
283
+ name: "rateMin",
284
+ type: "uint256",
285
+ },
286
+ {
287
+ internalType: "uint256",
288
+ name: "rateMax",
289
+ type: "uint256",
290
+ },
291
+ {
292
+ internalType: "uint256",
293
+ name: "desiredImpliedRate",
294
+ type: "uint256",
295
+ },
296
+ {
297
+ internalType: "uint256",
298
+ name: "fee",
299
+ type: "uint256",
300
+ },
301
+ ],
302
+ internalType: "struct PendlePoolDeployHelperV2.PoolConfig",
303
+ name: "config",
304
+ type: "tuple",
305
+ },
306
+ {
307
+ internalType: "address",
308
+ name: "tokenToSeedLiqudity",
309
+ type: "address",
310
+ },
311
+ {
312
+ internalType: "uint256",
313
+ name: "amountToSeed",
314
+ type: "uint256",
315
+ },
316
+ {
317
+ internalType: "address",
318
+ name: "syOwner",
319
+ type: "address",
320
+ },
321
+ ],
322
+ name: "deployERC20Market",
323
+ outputs: [
324
+ {
325
+ components: [
326
+ {
327
+ internalType: "address",
328
+ name: "SY",
329
+ type: "address",
330
+ },
331
+ {
332
+ internalType: "address",
333
+ name: "PT",
334
+ type: "address",
335
+ },
336
+ {
337
+ internalType: "address",
338
+ name: "YT",
339
+ type: "address",
340
+ },
341
+ {
342
+ internalType: "address",
343
+ name: "market",
344
+ type: "address",
345
+ },
346
+ ],
347
+ internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
348
+ name: "",
349
+ type: "tuple",
350
+ },
351
+ ],
352
+ stateMutability: "nonpayable",
353
+ type: "function",
354
+ },
355
+ {
356
+ inputs: [
357
+ {
358
+ internalType: "bytes",
359
+ name: "constructorParams",
360
+ type: "bytes",
361
+ },
362
+ {
363
+ components: [
364
+ {
365
+ internalType: "uint32",
366
+ name: "expiry",
367
+ type: "uint32",
368
+ },
369
+ {
370
+ internalType: "uint256",
371
+ name: "rateMin",
372
+ type: "uint256",
373
+ },
374
+ {
375
+ internalType: "uint256",
376
+ name: "rateMax",
377
+ type: "uint256",
378
+ },
379
+ {
380
+ internalType: "uint256",
381
+ name: "desiredImpliedRate",
382
+ type: "uint256",
383
+ },
384
+ {
385
+ internalType: "uint256",
386
+ name: "fee",
387
+ type: "uint256",
388
+ },
389
+ ],
390
+ internalType: "struct PendlePoolDeployHelperV2.PoolConfig",
391
+ name: "config",
392
+ type: "tuple",
393
+ },
394
+ {
395
+ internalType: "address",
396
+ name: "tokenToSeedLiqudity",
397
+ type: "address",
398
+ },
399
+ {
400
+ internalType: "uint256",
401
+ name: "amountToSeed",
402
+ type: "uint256",
403
+ },
404
+ {
405
+ internalType: "address",
406
+ name: "syOwner",
407
+ type: "address",
408
+ },
409
+ ],
410
+ name: "deployERC4626Market",
411
+ outputs: [
412
+ {
413
+ components: [
414
+ {
415
+ internalType: "address",
416
+ name: "SY",
417
+ type: "address",
418
+ },
419
+ {
420
+ internalType: "address",
421
+ name: "PT",
422
+ type: "address",
423
+ },
424
+ {
425
+ internalType: "address",
426
+ name: "YT",
427
+ type: "address",
428
+ },
429
+ {
430
+ internalType: "address",
431
+ name: "market",
432
+ type: "address",
433
+ },
434
+ ],
435
+ internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
436
+ name: "",
437
+ type: "tuple",
438
+ },
439
+ ],
440
+ stateMutability: "nonpayable",
441
+ type: "function",
442
+ },
443
+ {
444
+ inputs: [
445
+ {
446
+ internalType: "bytes",
447
+ name: "constructorParams",
448
+ type: "bytes",
449
+ },
450
+ {
451
+ components: [
452
+ {
453
+ internalType: "uint32",
454
+ name: "expiry",
455
+ type: "uint32",
456
+ },
457
+ {
458
+ internalType: "uint256",
459
+ name: "rateMin",
460
+ type: "uint256",
461
+ },
462
+ {
463
+ internalType: "uint256",
464
+ name: "rateMax",
465
+ type: "uint256",
466
+ },
467
+ {
468
+ internalType: "uint256",
469
+ name: "desiredImpliedRate",
470
+ type: "uint256",
471
+ },
472
+ {
473
+ internalType: "uint256",
474
+ name: "fee",
475
+ type: "uint256",
476
+ },
477
+ ],
478
+ internalType: "struct PendlePoolDeployHelperV2.PoolConfig",
479
+ name: "config",
480
+ type: "tuple",
481
+ },
482
+ {
483
+ internalType: "address",
484
+ name: "tokenToSeedLiqudity",
485
+ type: "address",
486
+ },
487
+ {
488
+ internalType: "uint256",
489
+ name: "amountToSeed",
490
+ type: "uint256",
491
+ },
492
+ {
493
+ internalType: "address",
494
+ name: "syOwner",
495
+ type: "address",
496
+ },
497
+ ],
498
+ name: "deployERC4626NotRedeemableMarket",
499
+ outputs: [
500
+ {
501
+ components: [
502
+ {
503
+ internalType: "address",
504
+ name: "SY",
505
+ type: "address",
506
+ },
507
+ {
508
+ internalType: "address",
509
+ name: "PT",
510
+ type: "address",
511
+ },
512
+ {
513
+ internalType: "address",
514
+ name: "YT",
515
+ type: "address",
516
+ },
517
+ {
518
+ internalType: "address",
519
+ name: "market",
520
+ type: "address",
521
+ },
522
+ ],
523
+ internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
524
+ name: "",
525
+ type: "tuple",
526
+ },
527
+ ],
528
+ stateMutability: "nonpayable",
529
+ type: "function",
530
+ },
531
+ {
532
+ inputs: [],
533
+ name: "doCacheIndexSameBlock",
534
+ outputs: [
535
+ {
536
+ internalType: "bool",
537
+ name: "",
538
+ type: "bool",
539
+ },
540
+ ],
541
+ stateMutability: "view",
542
+ type: "function",
543
+ },
544
+ {
545
+ inputs: [],
546
+ name: "initialize",
547
+ outputs: [],
548
+ stateMutability: "nonpayable",
549
+ type: "function",
550
+ },
551
+ {
552
+ inputs: [],
553
+ name: "marketFactory",
554
+ outputs: [
555
+ {
556
+ internalType: "address",
557
+ name: "",
558
+ type: "address",
559
+ },
560
+ ],
561
+ stateMutability: "view",
562
+ type: "function",
563
+ },
564
+ {
565
+ inputs: [],
566
+ name: "owner",
567
+ outputs: [
568
+ {
569
+ internalType: "address",
570
+ name: "",
571
+ type: "address",
572
+ },
573
+ ],
574
+ stateMutability: "view",
575
+ type: "function",
576
+ },
577
+ {
578
+ inputs: [],
579
+ name: "pendingOwner",
580
+ outputs: [
581
+ {
582
+ internalType: "address",
583
+ name: "",
584
+ type: "address",
585
+ },
586
+ ],
587
+ stateMutability: "view",
588
+ type: "function",
589
+ },
590
+ {
591
+ inputs: [],
592
+ name: "router",
593
+ outputs: [
594
+ {
595
+ internalType: "address",
596
+ name: "",
597
+ type: "address",
598
+ },
599
+ ],
600
+ stateMutability: "view",
601
+ type: "function",
602
+ },
603
+ {
604
+ inputs: [],
605
+ name: "syFactory",
606
+ outputs: [
607
+ {
608
+ internalType: "address",
609
+ name: "",
610
+ type: "address",
611
+ },
612
+ ],
613
+ stateMutability: "view",
614
+ type: "function",
615
+ },
616
+ {
617
+ inputs: [
618
+ {
619
+ internalType: "address",
620
+ name: "newOwner",
621
+ type: "address",
622
+ },
623
+ {
624
+ internalType: "bool",
625
+ name: "direct",
626
+ type: "bool",
627
+ },
628
+ {
629
+ internalType: "bool",
630
+ name: "renounce",
631
+ type: "bool",
632
+ },
633
+ ],
634
+ name: "transferOwnership",
635
+ outputs: [],
636
+ stateMutability: "nonpayable",
637
+ type: "function",
638
+ },
639
+ {
640
+ inputs: [],
641
+ name: "yieldContractFactory",
642
+ outputs: [
643
+ {
644
+ internalType: "address",
645
+ name: "",
646
+ type: "address",
647
+ },
648
+ ],
649
+ stateMutability: "view",
650
+ type: "function",
651
+ },
652
+ ];
653
+
654
+ const _bytecode =
655
+ "0x6101206040523480156200001257600080fd5b5060405162002d4b38038062002d4b83398101604081905262000035916200015b565b6001461460e0526001600160a01b0380841660805280831660a05280821660c0528416610100526200006662000070565b50505050620001b8565b600154600160a81b900460ff1615620000df5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146200013c576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b03811681146200015657600080fd5b919050565b600080600080608085870312156200017257600080fd5b6200017d856200013e565b93506200018d602086016200013e565b92506200019d604086016200013e565b9150620001ad606086016200013e565b905092959194509250565b60805160a05160c05160e05161010051612afb6200025060003960008181610327015281816104d0015281816107a5015261080e0152600081816101c301526108fd01526000818160e50152610a2f01526000818161022f015261096701526000818161035b01528181610afe01528181610b3e01528181610b6c01528181610bcd01528181610d2d0152610df60152612afb6000f3fe6080604052600436106100ce5760003560e01c806306ae7095146100d3578063078dfbe71461011d5780634425b2b81461013f5780634763221f1461016c5780634e71e0c81461019c578063516399df146101b15780637fa1669e146101f55780638129fc1c1461020857806387a409a21461021d5780638da5cb5b146102515780639989469d14610271578063a035d5f714610291578063bcddb092146102b3578063c9473450146102d3578063e30c3978146102f5578063f7e8114914610315578063f887ea4014610349575b600080fd5b3480156100df57600080fd5b506101077f000000000000000000000000000000000000000000000000000000000000000081565b60405161011491906123a8565b60405180910390f35b34801561012957600080fd5b5061013d6101383660046123ea565b61037d565b005b34801561014b57600080fd5b5061015f61015a3660046124fc565b6104ae565b6040516101149190612602565b34801561017857600080fd5b5061018e600080516020612aa683398151915281565b604051908152602001610114565b3480156101a857600080fd5b5061013d610573565b3480156101bd57600080fd5b506101e57f000000000000000000000000000000000000000000000000000000000000000081565b6040519015158152602001610114565b61015f610203366004612610565b61061e565b34801561021457600080fd5b5061013d610654565b34801561022957600080fd5b506101077f000000000000000000000000000000000000000000000000000000000000000081565b34801561025d57600080fd5b50600054610107906001600160a01b031681565b34801561027d57600080fd5b5061015f61028c3660046124fc565b610783565b34801561029d57600080fd5b5061018e600080516020612a6683398151915281565b3480156102bf57600080fd5b5061015f6102ce3660046124fc565b6107ec565b3480156102df57600080fd5b5061018e600080516020612a4683398151915281565b34801561030157600080fd5b50600154610107906001600160a01b031681565b34801561032157600080fd5b506101077f000000000000000000000000000000000000000000000000000000000000000081565b34801561035557600080fd5b506101077f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031633146103dc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b811561048d576001600160a01b0383161515806103f65750805b61043a5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016103d3565b600080546040516001600160a01b0380871693921691600080516020612a8683398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6104b6612381565b60405163e1bfd47760e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e1bfd4779061051790600080516020612a66833981519152908b9088906004016126b1565b6020604051808303816000875af1158015610536573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055a91906126e2565b90506105688187878761061e565b979650505050505050565b6001546001600160a01b03163381146105ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016103d3565b600080546040516001600160a01b0380851693921691600080516020612a8683398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b610626612381565b6000806106338787610855565b91509150610648828287878a60600151610aed565b9150505b949350505050565b600154600160a81b900460ff161580801561067a575060018054600160a01b900460ff16105b806106a1575061068930610ed8565b1580156106a1575060018054600160a01b900460ff16145b6107045760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103d3565b6001805460ff60a01b1916600160a01b1790558015610731576001805460ff60a81b1916600160a81b1790555b610739610ee7565b8015610780576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b61078b612381565b60405163e1bfd47760e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e1bfd4779061051790600080516020612a46833981519152908b9088906004016126b1565b6107f4612381565b60405163e1bfd47760e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e1bfd4779061051790600080516020612aa6833981519152908b9088906004016126b1565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152610888612381565b6000806108a885602001518660400151876000015163ffffffff16610f68565b915091506040518060a00160405280866000015163ffffffff1681526020016108d4876080015161104e565b6001600160501b031681526020016108eb84611088565b81526020016108f983611088565b81527f000000000000000000000000000000000000000000000000000000000000000015156020909101526001600160a01b0387811680865282516080840151604051637145345b60e11b8152600481019390935263ffffffff9091166024830152151560448201529195507f0000000000000000000000000000000000000000000000000000000000000000169063e28a68b69060640160408051808303816000875af11580156109af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d39190612706565b6001600160a01b03908116604086810191909152918116602080870182905287840151606089015191890151945163f661cf6b60e01b81526004810193909352602483015260448201526001600160501b0390921660648301527f0000000000000000000000000000000000000000000000000000000000000000169063f661cf6b906084016020604051808303816000875af1158015610a78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9c91906126e2565b6001600160a01b031660608401526040517fd1f8866e1ab220ea57cc2bc3d029810357a6f6df863760170473f9df5b322ebd90610adc9085908790612740565b60405180910390a150509250929050565b610af88333846110a2565b610b22837f0000000000000000000000000000000000000000000000000000000000000000611109565b83516001600160a01b03848116911614610b62578351610b62907f0000000000000000000000000000000000000000000000000000000000000000611109565b610b9084602001517f0000000000000000000000000000000000000000000000000000000000000000611109565b600084600001516001600160a01b0316846001600160a01b031614610cf45760006001600160a01b03851615610bc7576000610bc9565b835b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e071dc68230896000015160006040518060a001604052808c6001600160a01b031681526020018b81526020018c6001600160a01b0316815260200160006001600160a01b0316815260200160405180608001604052806000600a811115610c6057610c60612799565b815260006020808301829052604080518381529182018152808401919091526060909201529152516001600160e01b031960e088901b168152610ca994939291906004016127af565b60206040518083038185885af1158015610cc7573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610cec9190612877565b915050610cf7565b50815b6000610d27876000015163ffffffff16610d1489604001516111cd565b610d218a606001516111cd565b866111dc565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a8631b2308960400151610d7386886112e690919063ffffffff16565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152600060648201526084016020604051808303816000875af1158015610dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df29190612877565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166397ee279e338960600151610e368b60000151611309565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606481018490526000608482015260a4016060604051808303816000875af1158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190612890565b505050610ece87604001513383611393565b5050505050505050565b6001600160a01b03163b151590565b600154600160a81b900460ff16610f545760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016103d3565b600080546001600160a01b03191633179055565b600080610f966040518060800160405280600081526020016000815260200160008152602001600081525090565b610fae6301e13380610fa842876128d4565b9061145d565b808252610fcd90610fc7670de0b6b3a7640000896128e7565b90611483565b60208201528051610fea90610fc7670de0b6b3a7640000886128e7565b604082018190526020820151600291611002916128e7565b61100c9190612910565b915081816040015161101e91906128d4565b60608201819052815161103990671e7e1c1c97e21800612924565b6110439190612910565b925050935093915050565b600061108261107d61107861107361106e86670de0b6b3a76400006128e7565b611088565b611636565b6111cd565b6116ce565b92915050565b60006001600160ff1b0382111561109e57600080fd5b5090565b6001600160a01b0383166110ee578034146104a95760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016103d3565b80156104a9576104a96001600160a01b0384168330846116e4565b6001600160a01b03821661111b575050565b61112d60026001600160601b0361293b565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015611186573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111aa9190612877565b10156111c9576111bc8282600061174f565b6111c9828260001961174f565b5050565b60008082121561109e57600080fd5b60006112096040518060800160405280600081526020016000815260200160008152602001600081525090565b61121342876128d4565b815261123661107861122485611088565b61107390670de0b6b3a7640000612961565b60208201819052815161126691611261916301e13380916112579190612924565b61106e9190612910565b611863565b6040820152805160009061127e6301e1338088612924565b6112889190612910565b905060006112b961126161129b84611088565b6112a489611088565b86604001516112b39190612989565b90611c71565b90506112da6110786112d383670de0b6b3a7640000612961565b8390611c94565b98975050505050505050565b6000806112f38385612924565b9050670de0b6b3a7640000815b04949350505050565b60006001600160a01b0382161561138c576040516370a0823160e01b81526001600160a01b038316906370a08231906113469030906004016123a8565b602060405180830381865afa158015611363573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113879190612877565b611082565b4792915050565b806000036113a057505050565b6001600160a01b038316611449576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146113fb576040519150601f19603f3d011682016040523d82523d6000602084013e611400565b606091505b50509050806114435760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016103d3565b50505050565b6104a96001600160a01b0384168383611cba565b600080611472670de0b6b3a764000085612924565b9050828181611300576113006128fa565b60008160000361149c5750670de0b6b3a7640000611082565b826000036114ac57506000611082565b600160ff1b83106114f15760405162461bcd60e51b815260206004820152600f60248201526e78206f7574206f6620626f756e647360881b60448201526064016103d3565b82770bce5086492111aea88f4bb1ca6bcf584181ea8059f76532831061154b5760405162461bcd60e51b815260206004820152600f60248201526e79206f7574206f6620626f756e647360881b60448201526064016103d3565b826000670c7d713b49da00008313801561156c5750670f43fc2c04ee000083125b156115a357600061157c84611cd9565b9050670de0b6b3a764000080820784020583670de0b6b3a7640000830502019150506115b1565b816115ad84611df8565b0290505b670de0b6b3a76400009005680238fd42c5cf03ffff1981128015906115df575068070c1cc73b00c800008113155b6116235760405162461bcd60e51b815260206004820152601560248201527470726f64756374206f7574206f6620626f756e647360581b60448201526064016103d3565b61162c81611863565b9695505050505050565b60008082136116775760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064016103d3565b670c7d713b49da0000821380156116955750670f43fc2c04ee000082125b156116c057670de0b6b3a76400006116ac83611cd9565b816116b9576116b96128fa565b0592915050565b61108282611df8565b919050565b60006001600160501b0382111561109e57600080fd5b6040516001600160a01b03808516602483015283166044820152606481018290526114439085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261219b565b600080846001600160a01b031663095ea7b360e01b85856040516024016117779291906129b0565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516117b591906129c9565b6000604051808303816000865af19150503d80600081146117f2576040519150601f19603f3d011682016040523d82523d6000602084013e6117f7565b606091505b509150915081801561182157508051158061182157508080602001905181019061182191906129e5565b61185c5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016103d3565b5050505050565b6000680238fd42c5cf03ffff198212158015611888575068070c1cc73b00c800008213155b6118c75760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016103d3565b60008212156118f8576118dc82600003611863565b6a0c097ce7bc90715b34b9f160241b816116b9576116b96128fa565b60006806f05b59d3b2000000831261193657506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b61196c565b6803782dace9d9000000831261196857506803782dace9d8ffffff19909101906b1425982cf597cd205cef738061196c565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126119bc5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126119f8576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412611a3257682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412611a6c576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412611aa557680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412611ade5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412611b17576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412611b505768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b600080611c7e8385612a02565b9050670de0b6b3a7640000815b05949350505050565b600080611ca9670de0b6b3a764000085612a02565b9050828181611c8b57611c8b6128fa565b6104a98363a9059cbb60e01b84846040516024016117189291906129b0565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281611d1a57611d1a6128fa565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215611e3957611e30826a0c097ce7bc90715b34b9f160241b81611e2a57611e2a6128fa565b05611df8565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312611e845772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312611ebb576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312611f03576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312611f3e576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312611f7557693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e28312611fac57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d038312611fe15768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261200c57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312612041576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312612076576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126120aa576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126120de576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d631000008086030281612107576121076128fa565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b60006121f0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166122709092919063ffffffff16565b905080516000148061221157508080602001905181019061221191906129e5565b6104a95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103d3565b606061064c848460008585600080866001600160a01b0316858760405161229791906129c9565b60006040518083038185875af1925050503d80600081146122d4576040519150601f19603f3d011682016040523d82523d6000602084013e6122d9565b606091505b5091509150610568878383876060831561235257825160000361234b576122ff85610ed8565b61234b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103d3565b508161064c565b61064c83838151156123675781518083602001fd5b8060405162461bcd60e51b81526004016103d39190612a32565b60408051608081018252600080825260208201819052918101829052606081019190915290565b6001600160a01b0391909116815260200190565b6001600160a01b038116811461078057600080fd5b80356116c9816123bc565b801515811461078057600080fd5b6000806000606084860312156123ff57600080fd5b833561240a816123bc565b9250602084013561241a816123dc565b9150604084013561242a816123dc565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561247357612473612435565b604052919050565b600060a0828403121561248d57600080fd5b60405160a081016001600160401b03811182821017156124af576124af612435565b604052905080823563ffffffff811681146124c957600080fd5b80825250602083013560208201526040830135604082015260608301356060820152608083013560808201525092915050565b6000806000806000610120868803121561251557600080fd5b85356001600160401b038082111561252c57600080fd5b818801915088601f83011261254057600080fd5b813560208282111561255457612554612435565b612566601f8301601f1916820161244b565b92508183528a8183860101111561257c57600080fd5b8181850182850137600081838501015282985061259b8b828c0161247b565b9750505050506125ad60c087016123d1565b925060e086013591506125c361010087016123d1565b90509295509295909350565b80516001600160a01b03908116835260208083015182169084015260408083015182169084015260609182015116910152565b6080810161108282846125cf565b600080600080610100858703121561262757600080fd5b8435612632816123bc565b9350612641866020870161247b565b925060c0850135612651816123bc565b9396929550929360e00135925050565b60005b8381101561267c578181015183820152602001612664565b50506000910152565b6000815180845261269d816020860160208601612661565b601f01601f19169290920160200192915050565b8381526060602082015260006126ca6060830185612685565b905060018060a01b0383166040830152949350505050565b6000602082840312156126f457600080fd5b81516126ff816123bc565b9392505050565b6000806040838503121561271957600080fd5b8251612724816123bc565b6020840151909250612735816123bc565b809150509250929050565b610120810161274f82856125cf565b825163ffffffff1660808381019190915260208401516001600160501b031660a0840152604084015160c0840152606084015160e084015290920151151561010090910152919050565b634e487b7160e01b600052602160045260246000fd5b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e0840152608084015160a06101008501528051600b811061282a57634e487b7160e01b600052602160045260246000fd5b6101208501526020810151909116610140840152604081015160806101608501529061285a6101a0850183612685565b915060608101511515610180850152508091505095945050505050565b60006020828403121561288957600080fd5b5051919050565b6000806000606084860312156128a557600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b81810381811115611082576110826128be565b80820180821115611082576110826128be565b634e487b7160e01b600052601260045260246000fd5b60008261291f5761291f6128fa565b500490565b8082028115828204841417611082576110826128be565b60006001600160601b0383811680612955576129556128fa565b92169190910492915050565b8082018281126000831280158216821582161715612981576129816128be565b505092915050565b81810360008312801583831316838312821617156129a9576129a96128be565b5092915050565b6001600160a01b03929092168252602082015260400190565b600082516129db818460208701612661565b9190910192915050565b6000602082840312156129f757600080fd5b81516126ff816123dc565b80820260008212600160ff1b84141615612a1e57612a1e6128be565b8181058314821517611082576110826128be565b6020815260006126ff602083018461268556fe6f089cd4afdd945c5c26b3f4542d0c294d19ec0e339c6ce4f8eafa94d700d05dfcf22a9a515753d83e4f2a81cf368c7226408c64f52411ae95241ebf5ed533048be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e01278efc0e6754cd30fef2df25ff5ced072ebb194d348b0b1b9548166d24352efa2646970667358221220eec5971a9035dbba1811a14a9cbcf2ee573b7cf40a8163263847310b8ee9aab364736f6c63430008170033";
656
+
657
+ type PendleCommonPoolDeployHelperV2ConstructorParams =
658
+ | [signer?: Signer]
659
+ | ConstructorParameters<typeof ContractFactory>;
660
+
661
+ const isSuperArgs = (
662
+ xs: PendleCommonPoolDeployHelperV2ConstructorParams
663
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
664
+
665
+ export class PendleCommonPoolDeployHelperV2__factory extends ContractFactory {
666
+ constructor(...args: PendleCommonPoolDeployHelperV2ConstructorParams) {
667
+ if (isSuperArgs(args)) {
668
+ super(...args);
669
+ } else {
670
+ super(_abi, _bytecode, args[0]);
671
+ }
672
+ this.contractName = "PendleCommonPoolDeployHelperV2";
673
+ }
674
+
675
+ deploy(
676
+ _syFactory: string,
677
+ _router: string,
678
+ _yieldContractFactory: string,
679
+ _marketFactory: string,
680
+ overrides?: Overrides & { from?: string | Promise<string> }
681
+ ): Promise<PendleCommonPoolDeployHelperV2> {
682
+ return super.deploy(
683
+ _syFactory,
684
+ _router,
685
+ _yieldContractFactory,
686
+ _marketFactory,
687
+ overrides || {}
688
+ ) as Promise<PendleCommonPoolDeployHelperV2>;
689
+ }
690
+ getDeployTransaction(
691
+ _syFactory: string,
692
+ _router: string,
693
+ _yieldContractFactory: string,
694
+ _marketFactory: string,
695
+ overrides?: Overrides & { from?: string | Promise<string> }
696
+ ): TransactionRequest {
697
+ return super.getDeployTransaction(
698
+ _syFactory,
699
+ _router,
700
+ _yieldContractFactory,
701
+ _marketFactory,
702
+ overrides || {}
703
+ );
704
+ }
705
+ attach(address: string): PendleCommonPoolDeployHelperV2 {
706
+ return super.attach(address) as PendleCommonPoolDeployHelperV2;
707
+ }
708
+ connect(signer: Signer): PendleCommonPoolDeployHelperV2__factory {
709
+ return super.connect(signer) as PendleCommonPoolDeployHelperV2__factory;
710
+ }
711
+ static readonly contractName: "PendleCommonPoolDeployHelperV2";
712
+ public readonly contractName: "PendleCommonPoolDeployHelperV2";
713
+ static readonly bytecode = _bytecode;
714
+ static readonly abi = _abi;
715
+ static createInterface(): PendleCommonPoolDeployHelperV2Interface {
716
+ return new utils.Interface(_abi) as PendleCommonPoolDeployHelperV2Interface;
717
+ }
718
+ static connect(
719
+ address: string,
720
+ signerOrProvider: Signer | Provider
721
+ ): PendleCommonPoolDeployHelperV2 {
722
+ return new Contract(
723
+ address,
724
+ _abi,
725
+ signerOrProvider
726
+ ) as PendleCommonPoolDeployHelperV2;
727
+ }
728
+ }