@pendle/core-v2 5.6.0 → 5.7.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 (295) 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/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +4 -0
  71. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.json +162 -0
  72. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.dbg.json +4 -0
  76. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.json +426 -0
  77. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  78. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  79. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  80. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  81. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  82. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  83. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  84. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  85. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
  86. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  87. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
  88. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +4 -0
  89. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +651 -0
  90. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +4 -0
  91. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +329 -0
  92. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +4 -0
  93. package/build/artifacts/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol}/PendlePoolDeployHelper.json +3 -3
  94. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +4 -0
  95. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +235 -0
  96. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +4 -0
  97. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +10 -0
  98. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  99. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  100. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  101. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  102. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  103. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  104. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  105. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  106. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  107. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  108. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  109. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  110. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  111. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  112. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  113. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  114. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  115. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  116. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  117. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  118. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  119. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  120. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  121. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  122. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  123. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  124. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  125. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  126. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  127. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  128. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  129. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  130. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  131. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  132. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  133. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  134. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  135. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  136. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
  137. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  138. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
  139. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  140. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  141. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  142. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +29 -5
  143. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  144. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  145. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  147. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  149. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  151. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  153. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  155. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  157. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  158. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  159. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  161. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  163. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  164. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  165. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  166. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  167. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  168. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  169. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  170. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  171. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  172. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  173. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  174. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  175. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  176. package/contracts/core/libraries/math/PMath.sol +5 -0
  177. package/contracts/interfaces/IOwnable.sol +6 -0
  178. package/contracts/interfaces/IPCommonSYFactory.sol +6 -0
  179. package/contracts/interfaces/IPPoolDeployHelperV2.sol +36 -0
  180. package/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol +30 -0
  181. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +68 -0
  182. package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +67 -0
  183. package/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol} +5 -5
  184. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +159 -0
  185. package/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol +70 -0
  186. package/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol +9 -2
  187. package/deployments/146-core.json +47 -0
  188. package/deployments/146-offchain-helper.json +6 -0
  189. package/package.json +1 -1
  190. package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
  191. package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
  192. package/typechain-types/Broadcaster.ts +454 -0
  193. package/typechain-types/IOwnable.ts +114 -0
  194. package/typechain-types/IPActionMarketCoreStatic.ts +1974 -0
  195. package/typechain-types/IPCommonSYFactory.ts +111 -0
  196. package/typechain-types/IPMarket.ts +1045 -0
  197. package/typechain-types/IPMarketV3.ts +1068 -0
  198. package/typechain-types/IPPoolDeployHelperV2.ts +209 -0
  199. package/typechain-types/IPVotingController.ts +510 -0
  200. package/typechain-types/IPVotingEscrowMainchain.ts +461 -0
  201. package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +391 -0
  202. package/typechain-types/InterestManagerYT.ts +120 -0
  203. package/typechain-types/PendleBoringOneracle.ts +87 -0
  204. package/typechain-types/PendleBoringSolvBTCOneracle.ts +87 -0
  205. package/typechain-types/PendleChainlinkOracle.ts +299 -0
  206. package/typechain-types/PendleChainlinkOracleFactory.ts +468 -0
  207. package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
  208. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +698 -0
  209. package/typechain-types/PendleCommonSYFactory.ts +420 -0
  210. package/typechain-types/PendleExchangeRateOracle.ts +393 -0
  211. package/typechain-types/PendleFeeDistributor.ts +745 -0
  212. package/typechain-types/PendleGauge.ts +225 -0
  213. package/typechain-types/PendleGaugeControllerBaseUpg.ts +670 -0
  214. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +758 -0
  215. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +750 -0
  216. package/typechain-types/PendleMarket.ts +1207 -0
  217. package/typechain-types/PendleMarketFactory.ts +906 -0
  218. package/typechain-types/PendlePYLpOracle.ts +619 -0
  219. package/typechain-types/PendlePoolDeployHelperV2.ts +283 -0
  220. package/typechain-types/PendleRedStoneRateOracleAdapter.ts +133 -0
  221. package/typechain-types/PendleSparkLinearDiscountOracleFactory.ts +60 -18
  222. package/typechain-types/PendleVotingControllerUpg.ts +1621 -0
  223. package/typechain-types/PendleYieldContractFactory.ts +801 -0
  224. package/typechain-types/PendleYieldToken.ts +1107 -0
  225. package/typechain-types/RewardManager.ts +161 -0
  226. package/typechain-types/RewardManagerAbstract.ts +108 -0
  227. package/typechain-types/VotingControllerStorageUpg.ts +915 -0
  228. package/typechain-types/VotingEscrowPendleMainchain.ts +1045 -0
  229. package/typechain-types/VotingEscrowPendleSidechain.ts +558 -0
  230. package/typechain-types/VotingEscrowTokenBase.ts +252 -0
  231. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  232. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  233. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  234. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  235. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  236. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  237. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  238. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  239. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  240. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  241. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  242. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  243. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  244. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
  245. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
  246. package/typechain-types/factories/Broadcaster__factory.ts +311 -0
  247. package/typechain-types/factories/IOwnable__factory.ts +46 -0
  248. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1300 -0
  249. package/typechain-types/factories/IPCommonSYFactory__factory.ts +55 -0
  250. package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
  251. package/typechain-types/factories/IPMarket__factory.ts +832 -0
  252. package/typechain-types/factories/IPPoolDeployHelperV2__factory.ts +181 -0
  253. package/typechain-types/factories/IPVotingController__factory.ts +363 -0
  254. package/typechain-types/factories/IPVotingEscrowMainchain__factory.ts +340 -0
  255. package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +447 -0
  256. package/typechain-types/factories/InterestManagerYT__factory.ts +63 -0
  257. package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
  258. package/typechain-types/factories/PendleBoringOneracle__factory.ts +81 -0
  259. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +83 -0
  260. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +405 -0
  261. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +341 -0
  262. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +306 -0
  263. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +728 -0
  264. package/typechain-types/factories/PendleCommonSYFactory__factory.ts +386 -0
  265. package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +379 -0
  266. package/typechain-types/factories/PendleFeeDistributor__factory.ts +665 -0
  267. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +457 -0
  268. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +620 -0
  269. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +610 -0
  270. package/typechain-types/factories/PendleGauge__factory.ts +140 -0
  271. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  272. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +1 -1
  273. package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
  274. package/typechain-types/factories/PendleMarketV3__factory.ts +1 -1
  275. package/typechain-types/factories/PendleMarket__factory.ts +1212 -0
  276. package/typechain-types/factories/PendlePYLpOracle__factory.ts +475 -0
  277. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +308 -0
  278. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  279. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +157 -0
  280. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  281. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  282. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +28 -4
  283. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1278 -0
  284. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
  285. package/typechain-types/factories/PendleYieldToken__factory.ts +978 -0
  286. package/typechain-types/factories/Reflector__factory.ts +1 -1
  287. package/typechain-types/factories/RewardManagerAbstract__factory.ts +59 -0
  288. package/typechain-types/factories/RewardManager__factory.ts +89 -0
  289. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +700 -0
  290. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +856 -0
  291. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +455 -0
  292. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +162 -0
  293. package/typechain-types/hardhat.d.ts +72 -9
  294. package/typechain-types/index.ts +16 -2
  295. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +0 -4
@@ -0,0 +1,386 @@
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
+ PendleCommonSYFactory,
8
+ PendleCommonSYFactoryInterface,
9
+ } from "../PendleCommonSYFactory";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ inputs: [
19
+ {
20
+ internalType: "bytes32",
21
+ name: "id",
22
+ type: "bytes32",
23
+ },
24
+ {
25
+ components: [
26
+ {
27
+ internalType: "address",
28
+ name: "creationCodeContractA",
29
+ type: "address",
30
+ },
31
+ {
32
+ internalType: "uint256",
33
+ name: "creationCodeSizeA",
34
+ type: "uint256",
35
+ },
36
+ {
37
+ internalType: "address",
38
+ name: "creationCodeContractB",
39
+ type: "address",
40
+ },
41
+ {
42
+ internalType: "uint256",
43
+ name: "creationCodeSizeB",
44
+ type: "uint256",
45
+ },
46
+ ],
47
+ internalType: "struct PendleCommonSYFactory.CreationCode",
48
+ name: "code",
49
+ type: "tuple",
50
+ },
51
+ ],
52
+ name: "InvalidCreationCode",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "bytes32",
59
+ name: "id",
60
+ type: "bytes32",
61
+ },
62
+ ],
63
+ name: "InvalidSYId",
64
+ type: "error",
65
+ },
66
+ {
67
+ anonymous: false,
68
+ inputs: [
69
+ {
70
+ indexed: false,
71
+ internalType: "bytes32",
72
+ name: "id",
73
+ type: "bytes32",
74
+ },
75
+ {
76
+ indexed: false,
77
+ internalType: "bytes",
78
+ name: "constructorParams",
79
+ type: "bytes",
80
+ },
81
+ {
82
+ indexed: false,
83
+ internalType: "address",
84
+ name: "SY",
85
+ type: "address",
86
+ },
87
+ ],
88
+ name: "DeployedSY",
89
+ type: "event",
90
+ },
91
+ {
92
+ anonymous: false,
93
+ inputs: [
94
+ {
95
+ indexed: false,
96
+ internalType: "uint8",
97
+ name: "version",
98
+ type: "uint8",
99
+ },
100
+ ],
101
+ name: "Initialized",
102
+ type: "event",
103
+ },
104
+ {
105
+ anonymous: false,
106
+ inputs: [
107
+ {
108
+ indexed: true,
109
+ internalType: "address",
110
+ name: "previousOwner",
111
+ type: "address",
112
+ },
113
+ {
114
+ indexed: true,
115
+ internalType: "address",
116
+ name: "newOwner",
117
+ type: "address",
118
+ },
119
+ ],
120
+ name: "OwnershipTransferred",
121
+ type: "event",
122
+ },
123
+ {
124
+ anonymous: false,
125
+ inputs: [
126
+ {
127
+ indexed: false,
128
+ internalType: "bytes32",
129
+ name: "id",
130
+ type: "bytes32",
131
+ },
132
+ {
133
+ components: [
134
+ {
135
+ internalType: "address",
136
+ name: "creationCodeContractA",
137
+ type: "address",
138
+ },
139
+ {
140
+ internalType: "uint256",
141
+ name: "creationCodeSizeA",
142
+ type: "uint256",
143
+ },
144
+ {
145
+ internalType: "address",
146
+ name: "creationCodeContractB",
147
+ type: "address",
148
+ },
149
+ {
150
+ internalType: "uint256",
151
+ name: "creationCodeSizeB",
152
+ type: "uint256",
153
+ },
154
+ ],
155
+ indexed: false,
156
+ internalType: "struct PendleCommonSYFactory.CreationCode",
157
+ name: "code",
158
+ type: "tuple",
159
+ },
160
+ ],
161
+ name: "SetSYCreationCode",
162
+ type: "event",
163
+ },
164
+ {
165
+ inputs: [],
166
+ name: "claimOwnership",
167
+ outputs: [],
168
+ stateMutability: "nonpayable",
169
+ type: "function",
170
+ },
171
+ {
172
+ inputs: [
173
+ {
174
+ internalType: "bytes32",
175
+ name: "",
176
+ type: "bytes32",
177
+ },
178
+ ],
179
+ name: "creationCodes",
180
+ outputs: [
181
+ {
182
+ internalType: "address",
183
+ name: "creationCodeContractA",
184
+ type: "address",
185
+ },
186
+ {
187
+ internalType: "uint256",
188
+ name: "creationCodeSizeA",
189
+ type: "uint256",
190
+ },
191
+ {
192
+ internalType: "address",
193
+ name: "creationCodeContractB",
194
+ type: "address",
195
+ },
196
+ {
197
+ internalType: "uint256",
198
+ name: "creationCodeSizeB",
199
+ type: "uint256",
200
+ },
201
+ ],
202
+ stateMutability: "view",
203
+ type: "function",
204
+ },
205
+ {
206
+ inputs: [
207
+ {
208
+ internalType: "bytes32",
209
+ name: "id",
210
+ type: "bytes32",
211
+ },
212
+ {
213
+ internalType: "bytes",
214
+ name: "constructorParams",
215
+ type: "bytes",
216
+ },
217
+ {
218
+ internalType: "address",
219
+ name: "syOwner",
220
+ type: "address",
221
+ },
222
+ ],
223
+ name: "deploySY",
224
+ outputs: [
225
+ {
226
+ internalType: "address",
227
+ name: "SY",
228
+ type: "address",
229
+ },
230
+ ],
231
+ stateMutability: "nonpayable",
232
+ type: "function",
233
+ },
234
+ {
235
+ inputs: [],
236
+ name: "initialize",
237
+ outputs: [],
238
+ stateMutability: "nonpayable",
239
+ type: "function",
240
+ },
241
+ {
242
+ inputs: [],
243
+ name: "owner",
244
+ outputs: [
245
+ {
246
+ internalType: "address",
247
+ name: "",
248
+ type: "address",
249
+ },
250
+ ],
251
+ stateMutability: "view",
252
+ type: "function",
253
+ },
254
+ {
255
+ inputs: [],
256
+ name: "pendingOwner",
257
+ outputs: [
258
+ {
259
+ internalType: "address",
260
+ name: "",
261
+ type: "address",
262
+ },
263
+ ],
264
+ stateMutability: "view",
265
+ type: "function",
266
+ },
267
+ {
268
+ inputs: [
269
+ {
270
+ internalType: "bytes32",
271
+ name: "id",
272
+ type: "bytes32",
273
+ },
274
+ {
275
+ components: [
276
+ {
277
+ internalType: "address",
278
+ name: "creationCodeContractA",
279
+ type: "address",
280
+ },
281
+ {
282
+ internalType: "uint256",
283
+ name: "creationCodeSizeA",
284
+ type: "uint256",
285
+ },
286
+ {
287
+ internalType: "address",
288
+ name: "creationCodeContractB",
289
+ type: "address",
290
+ },
291
+ {
292
+ internalType: "uint256",
293
+ name: "creationCodeSizeB",
294
+ type: "uint256",
295
+ },
296
+ ],
297
+ internalType: "struct PendleCommonSYFactory.CreationCode",
298
+ name: "code",
299
+ type: "tuple",
300
+ },
301
+ ],
302
+ name: "setSYCreationCode",
303
+ outputs: [],
304
+ stateMutability: "nonpayable",
305
+ type: "function",
306
+ },
307
+ {
308
+ inputs: [
309
+ {
310
+ internalType: "address",
311
+ name: "newOwner",
312
+ type: "address",
313
+ },
314
+ {
315
+ internalType: "bool",
316
+ name: "direct",
317
+ type: "bool",
318
+ },
319
+ {
320
+ internalType: "bool",
321
+ name: "renounce",
322
+ type: "bool",
323
+ },
324
+ ],
325
+ name: "transferOwnership",
326
+ outputs: [],
327
+ stateMutability: "nonpayable",
328
+ type: "function",
329
+ },
330
+ ];
331
+
332
+ const _bytecode =
333
+ "0x608060405234801561001057600080fd5b5061001961001e565b6100ea565b600154600160a81b900460ff161561008c5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100e8576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b610c2d806100f96000396000f3fe608060405234801561001057600080fd5b50600436106100785760003560e01c8063078dfbe71461007d5780631aad829a146100925780634d0bccc5146100a55780634e71e0c8146101265780638129fc1c1461012e5780638da5cb5b14610136578063e1bfd47714610161578063e30c397814610174575b600080fd5b61009061008b366004610926565b610187565b005b6100906100a03660046109af565b61028d565b6100e86100b3366004610a3b565b60326020526000908152604090208054600182015460028301546003909301546001600160a01b039283169391929091169084565b60405161011d94939291906001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b60405180910390f35b6100906103a8565b610090610453565b600054610149906001600160a01b031681565b6040516001600160a01b03909116815260200161011d565b61014961016f366004610a54565b61057b565b600154610149906001600160a01b031681565b6000546001600160a01b031633146101ba5760405162461bcd60e51b81526004016101b190610af9565b60405180910390fd5b811561026b576001600160a01b0383161515806101d45750805b6102185760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016101b1565b600080546040516001600160a01b0380871693921691600080516020610bd883398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6000546001600160a01b031633146102b75760405162461bcd60e51b81526004016101b190610af9565b80516001600160a01b031615806102d9575060408101516001600160a01b0316155b806102e657506020810151155b806102f357506060810151155b156103155781816040516303b417d360e31b81526004016101b1929190610b2e565b600082815260326020908152604091829020835181546001600160a01b03199081166001600160a01b03928316178355928501516001830155848401516002830180549094169116179091556060830151600390910155517f5f419bdcef2cdc4cdb667c8d94e4b419b1d6beec9dfb92d205a530c54f0de3cc9061039c9084908490610b2e565b60405180910390a15050565b6001546001600160a01b03163381146104035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016101b1565b600080546040516001600160a01b0380851693921691600080516020610bd883398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600154600160a81b900460ff1615808015610479575060018054600160a01b900460ff16105b806104995750303b158015610499575060018054600160a01b900460ff16145b6104fc5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101b1565b6001805460ff60a01b1916600160a01b1790558015610529576001805460ff60a81b1916600160a81b1790555b6105316106b8565b8015610578576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b6000838152603260209081526040808320815160808101835281546001600160a01b0390811680835260018401549583019590955260028301541692810192909252600301546060820152906105e757604051639661f39160e01b8152600481018690526024016101b1565b61060a60004660001b868460000151856020015186604001518760600151610739565b91507f07a80415c524a669398df01e97c487fc00986190468c09e2741b44181c5dc8c385858460405161063f93929190610b6d565b60405180910390a160405163078dfbe760e01b81526001600160a01b038481166004830152600160248301526000604483015283169063078dfbe790606401600060405180830381600087803b15801561069857600080fd5b505af11580156106ac573d6000803e3d6000fd5b50505050509392505050565b600154600160a81b900460ff166107255760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016101b1565b600080546001600160a01b03191633179055565b6000806107498787878787610763565b90506107568989836107b5565b9998505050505050505050565b8451604080516020848701808501808401830190945283835291939192908401876000828b3c856000898301893c50602089810190858501016107a78183866108bc565b505050505095945050505050565b6000834710156108075760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e636500000060448201526064016101b1565b81516000036108585760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f60448201526064016101b1565b8282516020840186f590506001600160a01b0381166108b55760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b60448201526064016101b1565b9392505050565b5b602081106108dc578151835260209283019290910190601f19016108bd565b905182516020929092036101000a6000190180199091169116179052565b80356001600160a01b038116811461091157600080fd5b919050565b8035801515811461091157600080fd5b60008060006060848603121561093b57600080fd5b610944846108fa565b925061095260208501610916565b915061096060408501610916565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156109a7576109a7610969565b604052919050565b60008082840360a08112156109c357600080fd5b833592506080601f19820112156109d957600080fd5b50604051608081016001600160401b03811182821017156109fc576109fc610969565b604052610a0b602085016108fa565b815260408401356020820152610a23606085016108fa565b60408201526080939093013560608401525092909150565b600060208284031215610a4d57600080fd5b5035919050565b600080600060608486031215610a6957600080fd5b833592506020808501356001600160401b0380821115610a8857600080fd5b818701915087601f830112610a9c57600080fd5b813581811115610aae57610aae610969565b610ac0601f8201601f1916850161097f565b91508082528884828501011115610ad657600080fd5b8084840185840137600084828401015250809450505050610960604085016108fa565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b91825280516001600160a01b03908116602080850191909152820151604080850191909152820151166060808401919091520151608082015260a00190565b8381526000602060606020840152845180606085015260005b81811015610ba257868101830151858201608001528201610b86565b5060008482016080908101919091526001600160a01b03959095166040850152601f01601f191690920190920194935050505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220e98e97f4d05c7d6a88c530abca415c21a0b3c5f7b30a93e0bb24cc87793a242b64736f6c63430008170033";
334
+
335
+ type PendleCommonSYFactoryConstructorParams =
336
+ | [signer?: Signer]
337
+ | ConstructorParameters<typeof ContractFactory>;
338
+
339
+ const isSuperArgs = (
340
+ xs: PendleCommonSYFactoryConstructorParams
341
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
342
+
343
+ export class PendleCommonSYFactory__factory extends ContractFactory {
344
+ constructor(...args: PendleCommonSYFactoryConstructorParams) {
345
+ if (isSuperArgs(args)) {
346
+ super(...args);
347
+ } else {
348
+ super(_abi, _bytecode, args[0]);
349
+ }
350
+ this.contractName = "PendleCommonSYFactory";
351
+ }
352
+
353
+ deploy(
354
+ overrides?: Overrides & { from?: string | Promise<string> }
355
+ ): Promise<PendleCommonSYFactory> {
356
+ return super.deploy(overrides || {}) as Promise<PendleCommonSYFactory>;
357
+ }
358
+ getDeployTransaction(
359
+ overrides?: Overrides & { from?: string | Promise<string> }
360
+ ): TransactionRequest {
361
+ return super.getDeployTransaction(overrides || {});
362
+ }
363
+ attach(address: string): PendleCommonSYFactory {
364
+ return super.attach(address) as PendleCommonSYFactory;
365
+ }
366
+ connect(signer: Signer): PendleCommonSYFactory__factory {
367
+ return super.connect(signer) as PendleCommonSYFactory__factory;
368
+ }
369
+ static readonly contractName: "PendleCommonSYFactory";
370
+ public readonly contractName: "PendleCommonSYFactory";
371
+ static readonly bytecode = _bytecode;
372
+ static readonly abi = _abi;
373
+ static createInterface(): PendleCommonSYFactoryInterface {
374
+ return new utils.Interface(_abi) as PendleCommonSYFactoryInterface;
375
+ }
376
+ static connect(
377
+ address: string,
378
+ signerOrProvider: Signer | Provider
379
+ ): PendleCommonSYFactory {
380
+ return new Contract(
381
+ address,
382
+ _abi,
383
+ signerOrProvider
384
+ ) as PendleCommonSYFactory;
385
+ }
386
+ }