@pendle/core-v2 6.4.4-swaphubtest → 6.5.0-swaphubtest

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