@pendle/core-v2 6.4.4-swaphubtest → 6.5.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 (509) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +4 -0
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +401 -0
  11. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +4 -0
  27. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +733 -0
  28. package/build/artifacts/contracts/StPendle.sol/RoundDataLib.dbg.json +4 -0
  29. package/build/artifacts/contracts/StPendle.sol/RoundDataLib.json +10 -0
  30. package/build/artifacts/contracts/StPendle.sol/StPendle.dbg.json +4 -0
  31. package/build/artifacts/contracts/StPendle.sol/StPendle.json +228 -0
  32. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  36. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +0 -51
  38. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +4 -0
  39. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.json +618 -0
  40. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +4 -0
  41. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.json +1157 -0
  42. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  50. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  54. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +3 -3
  62. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
  69. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  70. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +2 -2
  71. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  72. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  73. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  74. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  75. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  76. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +0 -51
  118. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +47 -12
  120. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +0 -19
  129. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +4 -0
  147. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.json +351 -0
  148. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  159. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  160. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  161. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  162. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  163. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  164. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
  172. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +4 -0
  173. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.json +30 -0
  174. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  179. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  183. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  185. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
  189. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
  191. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
  194. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
  196. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +2 -2
  198. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
  205. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  209. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  212. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  213. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  214. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  215. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
  216. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  218. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  219. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  221. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  228. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  229. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  230. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  231. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  232. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  233. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  234. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  235. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  236. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  237. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  238. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +2 -2
  239. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  240. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  241. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +2 -2
  242. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  243. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  244. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  245. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  246. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  247. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  248. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  249. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  250. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  251. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  252. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  253. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  254. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  255. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  256. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  257. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  258. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  259. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  260. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  261. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  262. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
  263. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  264. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
  265. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  266. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
  267. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  268. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  269. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  270. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  271. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  272. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  273. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  274. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  275. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
  276. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  277. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  278. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  279. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  280. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  281. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
  282. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  283. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  284. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  285. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  286. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  287. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  288. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  289. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  290. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  291. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  292. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  293. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  294. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  295. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  296. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  297. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  298. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  299. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  300. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  301. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  302. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  303. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  304. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  305. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  306. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  307. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  308. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  309. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  310. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  311. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  312. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  313. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  314. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  315. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  316. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  317. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  318. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  319. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  320. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  321. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol +112 -0
  322. package/contracts/LiquidityMining/sPendle/StakedPendle.sol +129 -0
  323. package/contracts/StPendle.sol +121 -0
  324. package/contracts/core/Market/PendleGauge.sol +1 -76
  325. package/contracts/core/Market/{PendleMarketFactoryV6Upg.sol → PendleMarketFactoryV7Upg.sol} +3 -6
  326. package/contracts/core/Market/{PendleMarketV6.sol → PendleMarketV7.sol} +16 -16
  327. package/contracts/core/libraries/Errors.sol +1 -1
  328. package/contracts/core/libraries/math/PMath.sol +5 -0
  329. package/contracts/interfaces/IPGauge.sol +0 -6
  330. package/contracts/interfaces/IPGaugeController.sol +16 -3
  331. package/contracts/interfaces/IPMarket.sol +12 -0
  332. package/contracts/interfaces/IPStakedPendle.sol +69 -0
  333. package/contracts/offchain-helpers/BalanceReader.sol +11 -1
  334. package/contracts/offchain-helpers/MarketSweed.sol +46 -54
  335. package/contracts/offchain-helpers/PendleMerkleDepositor.sol +5 -6
  336. package/contracts/router/ActionCrossChain.sol +14 -18
  337. package/contracts/router/Reflector.sol +19 -2
  338. package/deployments/1-core.json +3 -2
  339. package/deployments/10-core.json +1 -1
  340. package/deployments/130-core.json +2 -1
  341. package/deployments/146-core.json +1 -1
  342. package/deployments/42161-core.json +1 -1
  343. package/deployments/5000-core.json +1 -1
  344. package/deployments/56-core.json +1 -1
  345. package/deployments/80094-core.json +1 -1
  346. package/deployments/8453-core.json +1 -1
  347. package/deployments/9745-core.json +4 -3
  348. package/deployments/999-core.json +6 -6
  349. package/package.json +2 -2
  350. package/typechain-types/ERC20Upgradeable.ts +426 -0
  351. package/typechain-types/IERC20MetadataUpgradeable.ts +339 -0
  352. package/typechain-types/IERC20Upgradeable.ts +300 -0
  353. package/typechain-types/ILegacyMarket.ts +93 -0
  354. package/typechain-types/IPGauge.ts +7 -81
  355. package/typechain-types/IPGaugeController.ts +91 -47
  356. package/typechain-types/IPMarket.ts +0 -19
  357. package/typechain-types/IPStakedPendle.ts +558 -0
  358. package/typechain-types/PendleGauge.ts +0 -63
  359. package/typechain-types/{PendleGaugeControllerBaseUpg.ts → PendleGaugeControllerUpg.ts} +82 -171
  360. package/typechain-types/{PendleMarketFactoryV6Upg.ts → PendleMarketFactoryV7Upg.ts} +5 -18
  361. package/typechain-types/{PendleMarketV6.ts → PendleMarketV7.ts} +10 -29
  362. package/typechain-types/StPendle.ts +362 -0
  363. package/typechain-types/StakedPendle.ts +1058 -0
  364. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  365. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  366. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  367. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  368. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  369. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  370. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  371. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  372. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  373. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  374. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  375. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  376. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  377. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  378. package/typechain-types/factories/BalanceReader__factory.ts +1 -1
  379. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  380. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  381. package/typechain-types/factories/ERC20Upgradeable__factory.ts +347 -0
  382. package/typechain-types/factories/Errors__factory.ts +2 -2
  383. package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +1 -1
  384. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  385. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  386. package/typechain-types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
  387. package/typechain-types/factories/{IPGaugeControllerMainchain__factory.ts → IERC20Upgradeable__factory.ts} +90 -83
  388. package/typechain-types/factories/ILegacyMarket__factory.ts +42 -0
  389. package/typechain-types/factories/IPGaugeController__factory.ts +47 -12
  390. package/typechain-types/factories/IPGauge__factory.ts +0 -51
  391. package/typechain-types/factories/IPMarket__factory.ts +0 -19
  392. package/typechain-types/factories/IPStakedPendle__factory.ts +366 -0
  393. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  394. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  395. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  396. package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
  397. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
  398. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  399. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
  400. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
  401. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  402. package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +1 -1
  403. package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
  404. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  405. package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
  406. package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +463 -0
  407. package/typechain-types/factories/PendleGauge__factory.ts +0 -51
  408. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
  409. package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
  410. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  411. package/typechain-types/factories/PendleMarketFactoryV7Upg__factory.ts +710 -0
  412. package/typechain-types/factories/PendleMarketV7__factory.ts +1233 -0
  413. package/typechain-types/factories/PendleMerkleDepositor__factory.ts +1 -1
  414. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  415. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  416. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
  417. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  418. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  419. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  420. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  421. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
  422. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  423. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  424. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
  425. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
  426. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
  427. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  428. package/typechain-types/factories/Reflector__factory.ts +1 -1
  429. package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
  430. package/typechain-types/factories/StPendle__factory.ts +260 -0
  431. package/typechain-types/factories/StakedPendle__factory.ts +785 -0
  432. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  433. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  434. package/typechain-types/hardhat.d.ts +69 -132
  435. package/typechain-types/index.ts +20 -32
  436. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +0 -4
  437. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -451
  438. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +0 -4
  439. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +0 -557
  440. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +0 -4
  441. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +0 -547
  442. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +0 -4
  443. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +0 -1311
  444. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +0 -4
  445. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +0 -764
  446. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +0 -4
  447. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +0 -636
  448. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +0 -4
  449. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +0 -1181
  450. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
  451. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -170
  452. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +0 -4
  453. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +0 -1214
  454. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +0 -4
  455. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +0 -1176
  456. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
  457. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -598
  458. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +0 -4
  459. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +0 -1026
  460. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +0 -4
  461. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +0 -124
  462. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +0 -4
  463. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +0 -183
  464. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +0 -4
  465. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -380
  466. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +0 -4
  467. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +0 -262
  468. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +0 -164
  469. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +0 -42
  470. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +0 -36
  471. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +0 -304
  472. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +0 -301
  473. package/contracts/cross-chain/swap-hub/DepositBox.sol +0 -66
  474. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +0 -178
  475. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +0 -274
  476. package/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol +0 -204
  477. package/contracts/interfaces/IPCrossChainSwapHub.sol +0 -147
  478. package/contracts/interfaces/IPDepositBox.sol +0 -22
  479. package/contracts/interfaces/IPGaugeControllerMainchain.sol +0 -8
  480. package/contracts/interfaces/IPVotingController.sol +0 -43
  481. package/contracts/offchain-helpers/Broadcaster.sol +0 -48
  482. package/typechain-types/Broadcaster.ts +0 -455
  483. package/typechain-types/DepositBox.ts +0 -260
  484. package/typechain-types/IPCrossChainSwapHub.ts +0 -882
  485. package/typechain-types/IPDepositBox.ts +0 -213
  486. package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
  487. package/typechain-types/IPVotingController.ts +0 -534
  488. package/typechain-types/PendleCrossChainSwapHub.ts +0 -1119
  489. package/typechain-types/PendleFeeDistributor.ts +0 -746
  490. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
  491. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
  492. package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
  493. package/typechain-types/SwapHubBase.ts +0 -1094
  494. package/typechain-types/VotingControllerStorageUpg.ts +0 -984
  495. package/typechain-types/factories/Broadcaster__factory.ts +0 -317
  496. package/typechain-types/factories/DepositBox__factory.ts +0 -222
  497. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +0 -1041
  498. package/typechain-types/factories/IPDepositBox__factory.ts +0 -136
  499. package/typechain-types/factories/IPVotingController__factory.ts +0 -395
  500. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +0 -1287
  501. package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
  502. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
  503. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
  504. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
  505. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
  506. package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
  507. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
  508. package/typechain-types/factories/SwapHubBase__factory.ts +0 -1188
  509. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
@@ -1,732 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- Signer,
6
- utils,
7
- Contract,
8
- ContractFactory,
9
- Overrides,
10
- BigNumberish,
11
- } from "ethers";
12
- import { Provider, TransactionRequest } from "@ethersproject/providers";
13
- import type {
14
- PendleMarketFactoryV6Upg,
15
- PendleMarketFactoryV6UpgInterface,
16
- } from "../PendleMarketFactoryV6Upg";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "address",
23
- name: "_yieldContractFactory",
24
- type: "address",
25
- },
26
- {
27
- internalType: "address",
28
- name: "_marketCreationCodeContractA",
29
- type: "address",
30
- },
31
- {
32
- internalType: "uint256",
33
- name: "_marketCreationCodeSizeA",
34
- type: "uint256",
35
- },
36
- {
37
- internalType: "address",
38
- name: "_marketCreationCodeContractB",
39
- type: "address",
40
- },
41
- {
42
- internalType: "uint256",
43
- name: "_marketCreationCodeSizeB",
44
- type: "uint256",
45
- },
46
- {
47
- internalType: "address",
48
- name: "_vePendle",
49
- type: "address",
50
- },
51
- {
52
- internalType: "address",
53
- name: "_gaugeController",
54
- type: "address",
55
- },
56
- ],
57
- stateMutability: "nonpayable",
58
- type: "constructor",
59
- },
60
- {
61
- inputs: [
62
- {
63
- internalType: "address",
64
- name: "addr",
65
- type: "address",
66
- },
67
- ],
68
- name: "MFNotPendleMarket",
69
- type: "error",
70
- },
71
- {
72
- inputs: [],
73
- name: "MarketFactoryExpiredPt",
74
- type: "error",
75
- },
76
- {
77
- inputs: [
78
- {
79
- internalType: "int256",
80
- name: "initialAnchor",
81
- type: "int256",
82
- },
83
- {
84
- internalType: "int256",
85
- name: "minInitialAnchor",
86
- type: "int256",
87
- },
88
- ],
89
- name: "MarketFactoryInitialAnchorTooLow",
90
- type: "error",
91
- },
92
- {
93
- inputs: [],
94
- name: "MarketFactoryInvalidPt",
95
- type: "error",
96
- },
97
- {
98
- inputs: [
99
- {
100
- internalType: "uint80",
101
- name: "lnFeeRateRoot",
102
- type: "uint80",
103
- },
104
- {
105
- internalType: "uint256",
106
- name: "maxLnFeeRateRoot",
107
- type: "uint256",
108
- },
109
- ],
110
- name: "MarketFactoryLnFeeRateRootTooHigh",
111
- type: "error",
112
- },
113
- {
114
- inputs: [],
115
- name: "MarketFactoryMarketExists",
116
- type: "error",
117
- },
118
- {
119
- inputs: [
120
- {
121
- internalType: "uint80",
122
- name: "overriddenFee",
123
- type: "uint80",
124
- },
125
- {
126
- internalType: "uint256",
127
- name: "marketLnFeeRateRoot",
128
- type: "uint256",
129
- },
130
- ],
131
- name: "MarketFactoryOverriddenFeeTooHigh",
132
- type: "error",
133
- },
134
- {
135
- inputs: [
136
- {
137
- internalType: "uint8",
138
- name: "reserveFeePercent",
139
- type: "uint8",
140
- },
141
- {
142
- internalType: "uint8",
143
- name: "maxReserveFeePercent",
144
- type: "uint8",
145
- },
146
- ],
147
- name: "MarketFactoryReserveFeePercentTooHigh",
148
- type: "error",
149
- },
150
- {
151
- inputs: [],
152
- name: "MarketFactoryZeroTreasury",
153
- type: "error",
154
- },
155
- {
156
- anonymous: false,
157
- inputs: [
158
- {
159
- indexed: true,
160
- internalType: "address",
161
- name: "market",
162
- type: "address",
163
- },
164
- {
165
- indexed: true,
166
- internalType: "address",
167
- name: "PT",
168
- type: "address",
169
- },
170
- {
171
- indexed: false,
172
- internalType: "int256",
173
- name: "scalarRoot",
174
- type: "int256",
175
- },
176
- {
177
- indexed: false,
178
- internalType: "int256",
179
- name: "initialAnchor",
180
- type: "int256",
181
- },
182
- {
183
- indexed: false,
184
- internalType: "uint256",
185
- name: "lnFeeRateRoot",
186
- type: "uint256",
187
- },
188
- ],
189
- name: "CreateNewMarket",
190
- type: "event",
191
- },
192
- {
193
- anonymous: false,
194
- inputs: [
195
- {
196
- indexed: false,
197
- internalType: "uint8",
198
- name: "version",
199
- type: "uint8",
200
- },
201
- ],
202
- name: "Initialized",
203
- type: "event",
204
- },
205
- {
206
- anonymous: false,
207
- inputs: [
208
- {
209
- indexed: true,
210
- internalType: "address",
211
- name: "treasury",
212
- type: "address",
213
- },
214
- {
215
- indexed: false,
216
- internalType: "uint8",
217
- name: "reserveFeePercent",
218
- type: "uint8",
219
- },
220
- ],
221
- name: "NewTreasuryAndFeeReserve",
222
- type: "event",
223
- },
224
- {
225
- anonymous: false,
226
- inputs: [
227
- {
228
- indexed: true,
229
- internalType: "address",
230
- name: "previousOwner",
231
- type: "address",
232
- },
233
- {
234
- indexed: true,
235
- internalType: "address",
236
- name: "newOwner",
237
- type: "address",
238
- },
239
- ],
240
- name: "OwnershipTransferred",
241
- type: "event",
242
- },
243
- {
244
- anonymous: false,
245
- inputs: [
246
- {
247
- indexed: true,
248
- internalType: "address",
249
- name: "router",
250
- type: "address",
251
- },
252
- {
253
- indexed: true,
254
- internalType: "address",
255
- name: "market",
256
- type: "address",
257
- },
258
- {
259
- indexed: false,
260
- internalType: "uint80",
261
- name: "lnFeeRateRoot",
262
- type: "uint80",
263
- },
264
- ],
265
- name: "SetOverriddenFee",
266
- type: "event",
267
- },
268
- {
269
- inputs: [],
270
- name: "VERSION",
271
- outputs: [
272
- {
273
- internalType: "uint256",
274
- name: "",
275
- type: "uint256",
276
- },
277
- ],
278
- stateMutability: "view",
279
- type: "function",
280
- },
281
- {
282
- inputs: [],
283
- name: "claimOwnership",
284
- outputs: [],
285
- stateMutability: "nonpayable",
286
- type: "function",
287
- },
288
- {
289
- inputs: [
290
- {
291
- internalType: "address",
292
- name: "PT",
293
- type: "address",
294
- },
295
- {
296
- internalType: "int256",
297
- name: "scalarRoot",
298
- type: "int256",
299
- },
300
- {
301
- internalType: "int256",
302
- name: "initialAnchor",
303
- type: "int256",
304
- },
305
- {
306
- internalType: "uint80",
307
- name: "lnFeeRateRoot",
308
- type: "uint80",
309
- },
310
- ],
311
- name: "createNewMarket",
312
- outputs: [
313
- {
314
- internalType: "address",
315
- name: "market",
316
- type: "address",
317
- },
318
- ],
319
- stateMutability: "nonpayable",
320
- type: "function",
321
- },
322
- {
323
- inputs: [],
324
- name: "gaugeController",
325
- outputs: [
326
- {
327
- internalType: "address",
328
- name: "",
329
- type: "address",
330
- },
331
- ],
332
- stateMutability: "view",
333
- type: "function",
334
- },
335
- {
336
- inputs: [
337
- {
338
- internalType: "address",
339
- name: "market",
340
- type: "address",
341
- },
342
- {
343
- internalType: "address",
344
- name: "router",
345
- type: "address",
346
- },
347
- ],
348
- name: "getMarketConfig",
349
- outputs: [
350
- {
351
- internalType: "address",
352
- name: "_treasury",
353
- type: "address",
354
- },
355
- {
356
- internalType: "uint80",
357
- name: "_overriddenFee",
358
- type: "uint80",
359
- },
360
- {
361
- internalType: "uint8",
362
- name: "_reserveFeePercent",
363
- type: "uint8",
364
- },
365
- ],
366
- stateMutability: "view",
367
- type: "function",
368
- },
369
- {
370
- inputs: [
371
- {
372
- internalType: "address",
373
- name: "_owner",
374
- type: "address",
375
- },
376
- {
377
- internalType: "address",
378
- name: "_treasury",
379
- type: "address",
380
- },
381
- {
382
- internalType: "uint8",
383
- name: "_reserveFeePercent",
384
- type: "uint8",
385
- },
386
- ],
387
- name: "initialize",
388
- outputs: [],
389
- stateMutability: "nonpayable",
390
- type: "function",
391
- },
392
- {
393
- inputs: [
394
- {
395
- internalType: "address",
396
- name: "market",
397
- type: "address",
398
- },
399
- ],
400
- name: "isValidMarket",
401
- outputs: [
402
- {
403
- internalType: "bool",
404
- name: "",
405
- type: "bool",
406
- },
407
- ],
408
- stateMutability: "view",
409
- type: "function",
410
- },
411
- {
412
- inputs: [],
413
- name: "marketCreationCodeContractA",
414
- outputs: [
415
- {
416
- internalType: "address",
417
- name: "",
418
- type: "address",
419
- },
420
- ],
421
- stateMutability: "view",
422
- type: "function",
423
- },
424
- {
425
- inputs: [],
426
- name: "marketCreationCodeContractB",
427
- outputs: [
428
- {
429
- internalType: "address",
430
- name: "",
431
- type: "address",
432
- },
433
- ],
434
- stateMutability: "view",
435
- type: "function",
436
- },
437
- {
438
- inputs: [],
439
- name: "marketCreationCodeSizeA",
440
- outputs: [
441
- {
442
- internalType: "uint256",
443
- name: "",
444
- type: "uint256",
445
- },
446
- ],
447
- stateMutability: "view",
448
- type: "function",
449
- },
450
- {
451
- inputs: [],
452
- name: "marketCreationCodeSizeB",
453
- outputs: [
454
- {
455
- internalType: "uint256",
456
- name: "",
457
- type: "uint256",
458
- },
459
- ],
460
- stateMutability: "view",
461
- type: "function",
462
- },
463
- {
464
- inputs: [],
465
- name: "maxLnFeeRateRoot",
466
- outputs: [
467
- {
468
- internalType: "uint256",
469
- name: "",
470
- type: "uint256",
471
- },
472
- ],
473
- stateMutability: "view",
474
- type: "function",
475
- },
476
- {
477
- inputs: [],
478
- name: "maxReserveFeePercent",
479
- outputs: [
480
- {
481
- internalType: "uint8",
482
- name: "",
483
- type: "uint8",
484
- },
485
- ],
486
- stateMutability: "view",
487
- type: "function",
488
- },
489
- {
490
- inputs: [],
491
- name: "minInitialAnchor",
492
- outputs: [
493
- {
494
- internalType: "int256",
495
- name: "",
496
- type: "int256",
497
- },
498
- ],
499
- stateMutability: "view",
500
- type: "function",
501
- },
502
- {
503
- inputs: [],
504
- name: "owner",
505
- outputs: [
506
- {
507
- internalType: "address",
508
- name: "",
509
- type: "address",
510
- },
511
- ],
512
- stateMutability: "view",
513
- type: "function",
514
- },
515
- {
516
- inputs: [],
517
- name: "pendingOwner",
518
- outputs: [
519
- {
520
- internalType: "address",
521
- name: "",
522
- type: "address",
523
- },
524
- ],
525
- stateMutability: "view",
526
- type: "function",
527
- },
528
- {
529
- inputs: [],
530
- name: "reserveFeePercent",
531
- outputs: [
532
- {
533
- internalType: "uint8",
534
- name: "",
535
- type: "uint8",
536
- },
537
- ],
538
- stateMutability: "view",
539
- type: "function",
540
- },
541
- {
542
- inputs: [
543
- {
544
- internalType: "address",
545
- name: "router",
546
- type: "address",
547
- },
548
- {
549
- internalType: "address",
550
- name: "market",
551
- type: "address",
552
- },
553
- {
554
- internalType: "uint80",
555
- name: "newFee",
556
- type: "uint80",
557
- },
558
- ],
559
- name: "setOverriddenFee",
560
- outputs: [],
561
- stateMutability: "nonpayable",
562
- type: "function",
563
- },
564
- {
565
- inputs: [
566
- {
567
- internalType: "address",
568
- name: "newTreasury",
569
- type: "address",
570
- },
571
- {
572
- internalType: "uint8",
573
- name: "newReserveFeePercent",
574
- type: "uint8",
575
- },
576
- ],
577
- name: "setTreasuryAndFeeReserve",
578
- outputs: [],
579
- stateMutability: "nonpayable",
580
- type: "function",
581
- },
582
- {
583
- inputs: [
584
- {
585
- internalType: "address",
586
- name: "newOwner",
587
- type: "address",
588
- },
589
- {
590
- internalType: "bool",
591
- name: "direct",
592
- type: "bool",
593
- },
594
- {
595
- internalType: "bool",
596
- name: "renounce",
597
- type: "bool",
598
- },
599
- ],
600
- name: "transferOwnership",
601
- outputs: [],
602
- stateMutability: "nonpayable",
603
- type: "function",
604
- },
605
- {
606
- inputs: [],
607
- name: "treasury",
608
- outputs: [
609
- {
610
- internalType: "address",
611
- name: "",
612
- type: "address",
613
- },
614
- ],
615
- stateMutability: "view",
616
- type: "function",
617
- },
618
- {
619
- inputs: [],
620
- name: "vePendle",
621
- outputs: [
622
- {
623
- internalType: "address",
624
- name: "",
625
- type: "address",
626
- },
627
- ],
628
- stateMutability: "view",
629
- type: "function",
630
- },
631
- {
632
- inputs: [],
633
- name: "yieldContractFactory",
634
- outputs: [
635
- {
636
- internalType: "address",
637
- name: "",
638
- type: "address",
639
- },
640
- ],
641
- stateMutability: "view",
642
- type: "function",
643
- },
644
- ];
645
-
646
- const _bytecode =
647
- "0x610180604052348015610010575f5ffd5b50604051611b9b380380611b9b83398101604081905261002f916106f3565b6001600160a01b038716610100526100646064610055670de0b6b3a7640000606961077c565b61005f91906107bf565b6100a7565b610160526001600160a01b0380871660805260a086905284811660c05260e08490528281166101205281166101405261009b610149565b505050505050506107f7565b5f5f82136100ec5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064015b60405180910390fd5b670c7d713b49da00008213801561010a5750670f43fc2c04ee000082125b1561013557670de0b6b3a764000061012183610211565b8161012e5761012e6107ab565b0592915050565b61013e82610337565b92915050565b919050565b600154600160a81b900460ff16156101b35760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b60648201526084016100e3565b600154600160a01b900460ff9081161461020f576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b670de0b6b3a7640000025f806ec097ce7bc90715b34b9f1000000000808401906ec097ce7bc90715b34b9f0fffffffff1985010281610252576102526107ab565b0590505f6ec097ce7bc90715b34b9f100000000082800205905081806ec097ce7bc90715b34b9f100000000081840205915060038205016ec097ce7bc90715b34b9f100000000082840205915060058205016ec097ce7bc90715b34b9f100000000082840205915060078205016ec097ce7bc90715b34b9f100000000082840205915060098205016ec097ce7bc90715b34b9f1000000000828402059150600b8205016ec097ce7bc90715b34b9f1000000000828402059150600d8205016ec097ce7bc90715b34b9f1000000000828402059150600f82050160020295945050505050565b5f670de0b6b3a76400008212156103775761036f826ec097ce7bc90715b34b9f100000000081610369576103696107ab565b05610337565b5f0392915050565b5f7e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c000000000000083126103c757770195e54c5dd42177f53a27172fa9ec630262827000000000830592506806f05b59d3b2000000015b73011798004d755d3c8bc8e03204cf44619e00000083126103ff576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312610447576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312610482576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf85083126104b957693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126104f057690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126105255768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261055057680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312610585576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126105ba576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126105ee576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312610622576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b5f68056bc75e2d63100000840168056bc75e2d63100000808603028161064a5761064a6107ab565b0590505f68056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b80516001600160a01b0381168114610144575f5ffd5b5f5f5f5f5f5f5f60e0888a031215610709575f5ffd5b610712886106dd565b9650610720602089016106dd565b60408901519096509450610736606089016106dd565b6080890151909450925061074c60a089016106dd565b915061075a60c089016106dd565b905092959891949750929550565b634e487b7160e01b5f52601160045260245ffd5b8082025f8212600160ff1b8414161561079757610797610768565b818105831482151761013e5761013e610768565b634e487b7160e01b5f52601260045260245ffd5b5f826107d957634e487b7160e01b5f52601260045260245ffd5b600160ff1b82145f19841416156107f2576107f2610768565b500590565b60805160a05160c05160e0516101005161012051610140516101605161130a6108915f395f81816101b401528181610a7f0152610acc01525f818161033e0152610be801525f81816102cb0152610bc001525f81816102f2015261096e01525f81816103870152610c8e01525f81816103c90152610c6d01525f81816101640152610c4c01525f81816101db0152610c2b015261130a5ff3fe608060405234801561000f575f5ffd5b506004361061011b575f3560e01c8063078dfbe71461011f5780631feec24414610134578063349097aa1461015f57806345fccd4f146101945780634e71e0c8146101a75780634facfd7a146101af57806350832797146101d657806358e6309f1461020a5780635c098c111461022d57806361d027b3146102b357806382dabb21146102c657806387a409a2146102ed57806389232a00146103145780638da5cb5b1461032757806399eecb3b14610339578063a3a4d69a14610360578063c821db0d1461036f578063cb7111d814610382578063e30c3978146103a9578063e50bf2dc146103bc578063ec8a68f2146103c4578063f661cf6b146103eb578063ffa1ad74146103fe575b5f5ffd5b61013261012d366004611087565b610406565b005b60325461014890600160a01b900460ff1681565b60405160ff90911681526020015b60405180910390f35b6101867f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610156565b6101326101a23660046110dd565b610508565b6101326105f0565b6101867f000000000000000000000000000000000000000000000000000000000000000081565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b604051610156919061110e565b61021d610218366004611122565b610698565b6040519015158152602001610156565b61028361023b36600461113b565b6032546001600160a01b039182165f90815260336020908152604080832095851683529490529290922054908216926001600160501b0390911691600160a01b900460ff1690565b604080516001600160a01b0390941684526001600160501b03909216602084015260ff1690820152606001610156565b6032546101fd906001600160a01b031681565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b610132610322366004611163565b6106aa565b5f546101fd906001600160a01b031681565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b610186670de0b6b3a764000081565b61013261037d3660046111b7565b6107e0565b6101867f000000000000000000000000000000000000000000000000000000000000000081565b6001546101fd906001600160a01b031681565b610148606481565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b6101fd6103f93660046111f0565b610955565b610186600681565b5f546001600160a01b031633146104385760405162461bcd60e51b815260040161042f90611235565b60405180910390fd5b81156104e6576001600160a01b0383161515806104525750805b6104965760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161042f565b5f80546040516001600160a01b03808716939216915f5160206112b55f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b5f546001600160a01b031633146105315760405162461bcd60e51b815260040161042f90611235565b6001600160a01b03821661055857604051630af2e4bb60e21b815260040160405180910390fd5b606460ff8216111561058957604051635b668c6b60e11b815260ff821660048201526064602482015260440161042f565b6032805460ff8316600160a01b81026001600160a81b03199092166001600160a01b03861690811792909217909255604051918252907fc612910a1561af820dd8961721344b949df6bfcb3cd8dda1f87a5f25e80852cb9060200160405180910390a25050565b6001546001600160a01b031633811461064b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161042f565b5f80546040516001600160a01b03808516939216915f5160206112b55f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b5f6106a4603583610d8d565b92915050565b600154600160a81b900460ff16158080156106d0575060018054600160a01b900460ff16105b806106f05750303b1580156106f0575060018054600160a01b900460ff16145b6107535760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161042f565b6001805460ff60a01b1916600160a01b1790558015610780576001805460ff60a81b1916600160a81b1790555b61078984610da8565b6107938383610508565b80156107da576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b5f546001600160a01b031633146108095760405162461bcd60e51b815260040161042f90611235565b610814603583610d8d565b6108335781604051635e904c9b60e01b815260040161042f919061110e565b5f826001600160a01b031663e4f8b2e96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610870573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610894919061126a565b9050806001600160501b0316826001600160501b0316106108db5760405163024a6ed760e61b81526001600160501b0380841660048301528216602482015260440161042f565b6001600160a01b038481165f8181526033602090815260408083209488168084529482529182902080546001600160501b0319166001600160501b03881690811790915591519182527fea7fdf3abb8ced24e7f9c441f3e98071fb5ea1f9278e2b9202c4a6d306cce59f910160405180910390a350505050565b6040516318b7373d60e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906318b7373d906109a390889060040161110e565b602060405180830381865afa1580156109be573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e29190611285565b6109ff5760405163781eae2d60e01b815260040160405180910390fd5b846001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a3b573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5f9190611285565b15610a7d5760405163e29ecf1560e01b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000826001600160501b03161115610af857604051630b1e651560e11b81526001600160501b03831660048201527f0000000000000000000000000000000000000000000000000000000000000000602482015260440161042f565b6001600160a01b038581165f908152603460209081526040808320888452825280832087845282528083206001600160501b03871684529091529020541615610b545760405163252c443360e11b815260040160405180910390fd5b670de0b6b3a7640000831215610b8e576040516307b48ef760e41b815260048101849052670de0b6b3a7640000602482015260440161042f565b604080516001600160a01b038781166020830152918101869052606081018590526001600160501b03841660808201527f0000000000000000000000000000000000000000000000000000000000000000821660a08201527f000000000000000000000000000000000000000000000000000000000000000090911660c0820152610cb2905f90469060e0016040516020818303038152906040527f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610e36565b6001600160a01b038681165f908152603460209081526040808320898452825280832088845282528083206001600160501b0388168452909152902080546001600160a01b0319169183169190911790559050610d10603582610e5f565b610d1c57610d1c6112a0565b846001600160a01b0316816001600160a01b03167fae811fae25e2770b6bd1dcb1475657e8c3a976f91d1ebf081271db08eef920af868686604051610d7d9392919092835260208301919091526001600160501b0316604082015260600190565b60405180910390a3949350505050565b5f610da1836001600160a01b038416610e73565b9392505050565b600154600160a81b900460ff16610e155760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161042f565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f5f610e458787878787610e8a565b9050610e52898983610eda565b9998505050505050505050565b5f610da1836001600160a01b038416610fd8565b5f9081526001919091016020526040902054151590565b8451604080516020848701808501808401830190945283835291939192908401875f828b3c855f898301893c5060208981019085850101610ecc81838661101f565b505050505095945050505050565b5f83471015610f2b5760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015260640161042f565b81515f03610f7b5760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015260640161042f565b8282516020840186f590506001600160a01b038116610da15760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b604482015260640161042f565b5f610fe38383610e73565b61101857508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556106a4565b505f6106a4565b5b6020811061103f578151835260209283019290910190601f1901611020565b905182516020929092036101000a5f190180199091169116179052565b80356001600160a01b0381168114611072575f5ffd5b919050565b8015158114611084575f5ffd5b50565b5f5f5f60608486031215611099575f5ffd5b6110a28461105c565b925060208401356110b281611077565b915060408401356110c281611077565b809150509250925092565b803560ff81168114611072575f5ffd5b5f5f604083850312156110ee575f5ffd5b6110f78361105c565b9150611105602084016110cd565b90509250929050565b6001600160a01b0391909116815260200190565b5f60208284031215611132575f5ffd5b610da18261105c565b5f5f6040838503121561114c575f5ffd5b6111558361105c565b91506111056020840161105c565b5f5f5f60608486031215611175575f5ffd5b61117e8461105c565b925061118c6020850161105c565b915061119a604085016110cd565b90509250925092565b6001600160501b0381168114611084575f5ffd5b5f5f5f606084860312156111c9575f5ffd5b6111d28461105c565b92506111e06020850161105c565b915060408401356110c2816111a3565b5f5f5f5f60808587031215611203575f5ffd5b61120c8561105c565b93506020850135925060408501359150606085013561122a816111a3565b939692955090935050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f6020828403121561127a575f5ffd5b8151610da1816111a3565b5f60208284031215611295575f5ffd5b8151610da181611077565b634e487b7160e01b5f52600160045260245ffdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220976edd2c6244be554ce0d476899fc73eada27262cd66ce05de1996c059b3b9dd64736f6c634300081e0033";
648
-
649
- type PendleMarketFactoryV6UpgConstructorParams =
650
- | [signer?: Signer]
651
- | ConstructorParameters<typeof ContractFactory>;
652
-
653
- const isSuperArgs = (
654
- xs: PendleMarketFactoryV6UpgConstructorParams
655
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
656
-
657
- export class PendleMarketFactoryV6Upg__factory extends ContractFactory {
658
- constructor(...args: PendleMarketFactoryV6UpgConstructorParams) {
659
- if (isSuperArgs(args)) {
660
- super(...args);
661
- } else {
662
- super(_abi, _bytecode, args[0]);
663
- }
664
- this.contractName = "PendleMarketFactoryV6Upg";
665
- }
666
-
667
- deploy(
668
- _yieldContractFactory: string,
669
- _marketCreationCodeContractA: string,
670
- _marketCreationCodeSizeA: BigNumberish,
671
- _marketCreationCodeContractB: string,
672
- _marketCreationCodeSizeB: BigNumberish,
673
- _vePendle: string,
674
- _gaugeController: string,
675
- overrides?: Overrides & { from?: string | Promise<string> }
676
- ): Promise<PendleMarketFactoryV6Upg> {
677
- return super.deploy(
678
- _yieldContractFactory,
679
- _marketCreationCodeContractA,
680
- _marketCreationCodeSizeA,
681
- _marketCreationCodeContractB,
682
- _marketCreationCodeSizeB,
683
- _vePendle,
684
- _gaugeController,
685
- overrides || {}
686
- ) as Promise<PendleMarketFactoryV6Upg>;
687
- }
688
- getDeployTransaction(
689
- _yieldContractFactory: string,
690
- _marketCreationCodeContractA: string,
691
- _marketCreationCodeSizeA: BigNumberish,
692
- _marketCreationCodeContractB: string,
693
- _marketCreationCodeSizeB: BigNumberish,
694
- _vePendle: string,
695
- _gaugeController: string,
696
- overrides?: Overrides & { from?: string | Promise<string> }
697
- ): TransactionRequest {
698
- return super.getDeployTransaction(
699
- _yieldContractFactory,
700
- _marketCreationCodeContractA,
701
- _marketCreationCodeSizeA,
702
- _marketCreationCodeContractB,
703
- _marketCreationCodeSizeB,
704
- _vePendle,
705
- _gaugeController,
706
- overrides || {}
707
- );
708
- }
709
- attach(address: string): PendleMarketFactoryV6Upg {
710
- return super.attach(address) as PendleMarketFactoryV6Upg;
711
- }
712
- connect(signer: Signer): PendleMarketFactoryV6Upg__factory {
713
- return super.connect(signer) as PendleMarketFactoryV6Upg__factory;
714
- }
715
- static readonly contractName: "PendleMarketFactoryV6Upg";
716
- public readonly contractName: "PendleMarketFactoryV6Upg";
717
- static readonly bytecode = _bytecode;
718
- static readonly abi = _abi;
719
- static createInterface(): PendleMarketFactoryV6UpgInterface {
720
- return new utils.Interface(_abi) as PendleMarketFactoryV6UpgInterface;
721
- }
722
- static connect(
723
- address: string,
724
- signerOrProvider: Signer | Provider
725
- ): PendleMarketFactoryV6Upg {
726
- return new Contract(
727
- address,
728
- _abi,
729
- signerOrProvider
730
- ) as PendleMarketFactoryV6Upg;
731
- }
732
- }