@pendle/core-v2 6.4.2-swaphubtest → 6.4.2

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 (302) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  21. package/build/artifacts/contracts/StPendle.sol/RoundDataLib.dbg.json +4 -0
  22. package/build/artifacts/contracts/StPendle.sol/RoundDataLib.json +10 -0
  23. package/build/artifacts/contracts/StPendle.sol/StPendle.dbg.json +4 -0
  24. package/build/artifacts/contracts/StPendle.sol/StPendle.json +228 -0
  25. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  54. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  55. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  56. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  137. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  139. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  187. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  188. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  189. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  190. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  192. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  194. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  232. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  234. package/contracts/StPendle.sol +121 -0
  235. package/package.json +2 -2
  236. package/typechain-types/ActionDelegateBase.ts +57 -0
  237. package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
  238. package/typechain-types/EIP712.ts +135 -0
  239. package/typechain-types/ERC20Permit.ts +586 -0
  240. package/typechain-types/IERC5267.ts +135 -0
  241. package/typechain-types/IPMarketFactoryV3.ts +321 -0
  242. package/typechain-types/IPMarketV3.ts +1068 -0
  243. package/typechain-types/LimitBackendHelper.ts +287 -0
  244. package/typechain-types/OverfillMathLib.ts +81 -0
  245. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
  246. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
  247. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
  248. package/typechain-types/PendleERC20Permit.ts +508 -0
  249. package/typechain-types/PendleERC20PermitUpg.ts +517 -0
  250. package/typechain-types/PendleERC20Upg.ts +348 -0
  251. package/typechain-types/PendleMarketFactoryV3.ts +719 -0
  252. package/typechain-types/PendleMarketV3.ts +1195 -0
  253. package/typechain-types/PendleYieldContractFactory.ts +801 -0
  254. package/typechain-types/ShortStrings.ts +57 -0
  255. package/typechain-types/StPendle.ts +362 -0
  256. package/typechain-types/factories/ActionDelegateBase__factory.ts +80 -0
  257. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
  258. package/typechain-types/factories/EIP712__factory.ts +85 -0
  259. package/typechain-types/factories/ERC20Permit__factory.ts +433 -0
  260. package/typechain-types/factories/IERC5267__factory.ts +72 -0
  261. package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
  262. package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
  263. package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
  264. package/typechain-types/factories/OverfillMathLib__factory.ts +77 -0
  265. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
  266. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
  267. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
  268. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
  269. package/typechain-types/factories/PendleERC20Permit__factory.ts +470 -0
  270. package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
  271. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
  272. package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
  273. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
  274. package/typechain-types/factories/ShortStrings__factory.ts +77 -0
  275. package/typechain-types/factories/StPendle__factory.ts +260 -0
  276. package/typechain-types/hardhat.d.ts +45 -54
  277. package/typechain-types/index.ts +10 -10
  278. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
  279. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -170
  280. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +0 -4
  281. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +0 -1214
  282. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +0 -4
  283. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +0 -1176
  284. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +0 -4
  285. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +0 -1026
  286. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +0 -4
  287. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +0 -124
  288. package/contracts/cross-chain/swap-hub/DepositBox.sol +0 -66
  289. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +0 -178
  290. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +0 -274
  291. package/contracts/interfaces/IPCrossChainSwapHub.sol +0 -147
  292. package/contracts/interfaces/IPDepositBox.sol +0 -22
  293. package/typechain-types/DepositBox.ts +0 -260
  294. package/typechain-types/IPCrossChainSwapHub.ts +0 -882
  295. package/typechain-types/IPDepositBox.ts +0 -213
  296. package/typechain-types/PendleCrossChainSwapHub.ts +0 -1119
  297. package/typechain-types/SwapHubBase.ts +0 -1094
  298. package/typechain-types/factories/DepositBox__factory.ts +0 -222
  299. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +0 -1041
  300. package/typechain-types/factories/IPDepositBox__factory.ts +0 -136
  301. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +0 -1287
  302. package/typechain-types/factories/SwapHubBase__factory.ts +0 -1188
@@ -0,0 +1,77 @@
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 { ShortStrings, ShortStringsInterface } from "../ShortStrings";
7
+
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "InvalidShortString",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [
16
+ {
17
+ internalType: "string",
18
+ name: "str",
19
+ type: "string",
20
+ },
21
+ ],
22
+ name: "StringTooLong",
23
+ type: "error",
24
+ },
25
+ ];
26
+
27
+ const _bytecode =
28
+ "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea264697066735822122053cf32faa84bea22425911371a5f4b3606422bd6c9bc1e72544a3762b234436664736f6c634300081e0033";
29
+
30
+ type ShortStringsConstructorParams =
31
+ | [signer?: Signer]
32
+ | ConstructorParameters<typeof ContractFactory>;
33
+
34
+ const isSuperArgs = (
35
+ xs: ShortStringsConstructorParams
36
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
37
+
38
+ export class ShortStrings__factory extends ContractFactory {
39
+ constructor(...args: ShortStringsConstructorParams) {
40
+ if (isSuperArgs(args)) {
41
+ super(...args);
42
+ } else {
43
+ super(_abi, _bytecode, args[0]);
44
+ }
45
+ this.contractName = "ShortStrings";
46
+ }
47
+
48
+ deploy(
49
+ overrides?: Overrides & { from?: string | Promise<string> }
50
+ ): Promise<ShortStrings> {
51
+ return super.deploy(overrides || {}) as Promise<ShortStrings>;
52
+ }
53
+ getDeployTransaction(
54
+ overrides?: Overrides & { from?: string | Promise<string> }
55
+ ): TransactionRequest {
56
+ return super.getDeployTransaction(overrides || {});
57
+ }
58
+ attach(address: string): ShortStrings {
59
+ return super.attach(address) as ShortStrings;
60
+ }
61
+ connect(signer: Signer): ShortStrings__factory {
62
+ return super.connect(signer) as ShortStrings__factory;
63
+ }
64
+ static readonly contractName: "ShortStrings";
65
+ public readonly contractName: "ShortStrings";
66
+ static readonly bytecode = _bytecode;
67
+ static readonly abi = _abi;
68
+ static createInterface(): ShortStringsInterface {
69
+ return new utils.Interface(_abi) as ShortStringsInterface;
70
+ }
71
+ static connect(
72
+ address: string,
73
+ signerOrProvider: Signer | Provider
74
+ ): ShortStrings {
75
+ return new Contract(address, _abi, signerOrProvider) as ShortStrings;
76
+ }
77
+ }
@@ -0,0 +1,260 @@
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 { StPendle, StPendleInterface } from "../StPendle";
7
+
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "user",
14
+ type: "address",
15
+ },
16
+ ],
17
+ name: "balanceOf",
18
+ outputs: [
19
+ {
20
+ internalType: "uint256",
21
+ name: "",
22
+ type: "uint256",
23
+ },
24
+ ],
25
+ stateMutability: "view",
26
+ type: "function",
27
+ },
28
+ {
29
+ inputs: [
30
+ {
31
+ internalType: "uint256",
32
+ name: "amount",
33
+ type: "uint256",
34
+ },
35
+ ],
36
+ name: "distribute",
37
+ outputs: [],
38
+ stateMutability: "nonpayable",
39
+ type: "function",
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: "doVote",
44
+ outputs: [],
45
+ stateMutability: "nonpayable",
46
+ type: "function",
47
+ },
48
+ {
49
+ inputs: [
50
+ {
51
+ internalType: "enum State",
52
+ name: "state",
53
+ type: "uint8",
54
+ },
55
+ ],
56
+ name: "getSideData",
57
+ outputs: [
58
+ {
59
+ internalType: "uint256",
60
+ name: "sidedPooled",
61
+ type: "uint256",
62
+ },
63
+ {
64
+ internalType: "uint256",
65
+ name: "sidedShares",
66
+ type: "uint256",
67
+ },
68
+ ],
69
+ stateMutability: "view",
70
+ type: "function",
71
+ },
72
+ {
73
+ inputs: [
74
+ {
75
+ internalType: "address",
76
+ name: "user",
77
+ type: "address",
78
+ },
79
+ ],
80
+ name: "getUserData",
81
+ outputs: [
82
+ {
83
+ components: [
84
+ {
85
+ internalType: "enum State",
86
+ name: "state",
87
+ type: "uint8",
88
+ },
89
+ {
90
+ internalType: "uint256",
91
+ name: "metaShares",
92
+ type: "uint256",
93
+ },
94
+ {
95
+ internalType: "uint256",
96
+ name: "lastVotedRound",
97
+ type: "uint256",
98
+ },
99
+ {
100
+ internalType: "uint256",
101
+ name: "forfeitedUntilRound",
102
+ type: "uint256",
103
+ },
104
+ ],
105
+ internalType: "struct UserData",
106
+ name: "",
107
+ type: "tuple",
108
+ },
109
+ ],
110
+ stateMutability: "view",
111
+ type: "function",
112
+ },
113
+ {
114
+ inputs: [
115
+ {
116
+ internalType: "address",
117
+ name: "user",
118
+ type: "address",
119
+ },
120
+ ],
121
+ name: "hasInteractedBefore",
122
+ outputs: [
123
+ {
124
+ internalType: "bool",
125
+ name: "",
126
+ type: "bool",
127
+ },
128
+ ],
129
+ stateMutability: "view",
130
+ type: "function",
131
+ },
132
+ {
133
+ inputs: [
134
+ {
135
+ internalType: "address",
136
+ name: "user",
137
+ type: "address",
138
+ },
139
+ ],
140
+ name: "sharesOf",
141
+ outputs: [
142
+ {
143
+ internalType: "uint256",
144
+ name: "",
145
+ type: "uint256",
146
+ },
147
+ ],
148
+ stateMutability: "view",
149
+ type: "function",
150
+ },
151
+ {
152
+ inputs: [
153
+ {
154
+ internalType: "uint256",
155
+ name: "numShares",
156
+ type: "uint256",
157
+ },
158
+ ],
159
+ name: "sharesValue",
160
+ outputs: [
161
+ {
162
+ internalType: "uint256",
163
+ name: "",
164
+ type: "uint256",
165
+ },
166
+ ],
167
+ stateMutability: "view",
168
+ type: "function",
169
+ },
170
+ {
171
+ inputs: [],
172
+ name: "votingBegin",
173
+ outputs: [],
174
+ stateMutability: "nonpayable",
175
+ type: "function",
176
+ },
177
+ {
178
+ inputs: [],
179
+ name: "votingFinalize",
180
+ outputs: [],
181
+ stateMutability: "nonpayable",
182
+ type: "function",
183
+ },
184
+ ];
185
+
186
+ const _bytecode =
187
+ "0x6080604052348015600e575f5ffd5b5061071b8061001c5f395ff3fe608060405234801561000f575f5ffd5b506004361061008c575f3560e01c80631e936ff7146100905780633554fd8f1461009257806350e3b1571461009a57806370a08231146100c057806391c05b0b146100d3578063ab0519d6146100e6578063ab38ff2414610123578063dd5117b014610090578063f5eb42dc1461014b578063ffc9896b1461015e575b5f5ffd5b005b61009061017e565b6100ad6100a836600461059f565b610192565b6040519081526020015b60405180910390f35b6100ad6100ce3660046105b6565b6101d6565b6100906100e136600461059f565b6101e9565b6101136100f43660046105b6565b6001600160a01b03165f90815260208190526040902060010154151590565b60405190151581526020016100b7565b6101366101313660046105dc565b61023c565b604080519283526020830191909152016100b7565b6100ad6101593660046105b6565b610438565b61017161016c3660046105b6565b6104d2565b6040516100b7919061060e565b60025f815461018c9061066d565b90915550565b5f5f61019c61056d565b905080600201545f036101b157505f92915050565b600281015460018201546101c59085610685565b6101cf919061069c565b9392505050565b5f6101e36100a883610438565b92915050565b5f6101f261056d565b905081816001015f82825461020791906106bb565b909155505060018101546003820154610220919061069c565b6004820155600380545f906102349061066d565b909155505050565b5f5f5f61024761056d565b90505f84600181111561025c5761025c6105fa565b1461034a576040516306c40bc960e21b81526004810182905273__$d454e8b73aca09d7edc6b19c3e938f0f8b$__90631b102f2490602401602060405180830381865af41580156102af573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d391906106ce565b60405163582c4dcd60e11b81526004810183905273__$d454e8b73aca09d7edc6b19c3e938f0f8b$__9063b0589b9a90602401602060405180830381865af4158015610321573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061034591906106ce565b61042e565b60405163573a2edd60e01b81526004810182905273__$d454e8b73aca09d7edc6b19c3e938f0f8b$__9063573a2edd90602401602060405180830381865af4158015610398573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103bc91906106ce565b6040516345ad4c0360e01b81526004810183905273__$d454e8b73aca09d7edc6b19c3e938f0f8b$__906345ad4c0390602401602060405180830381865af415801561040a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061042e91906106ce565b9250925050915091565b6001600160a01b0381165f90815260208190526040808220815160808101909252805483929190829060ff166001811115610475576104756105fa565b6001811115610486576104866105fa565b8152602001600182015481526020016002820154815260200160038201548152505090505f6104b7825f015161023c565b60208401519092506104ca915082610580565b949350505050565b6104fa6040805160808101909152805f81526020015f81526020015f81526020015f81525090565b6001600160a01b0382165f90815260208190526040908190208151608081019092528054829060ff166001811115610534576105346105fa565b6001811115610545576105456105fa565b8152600182015460208201526002820154604082015260039091015460609091015292915050565b6002545f90815260016020526040902090565b5f8061058c8385610685565b670de0b6b3a76400009004949350505050565b5f602082840312156105af575f5ffd5b5035919050565b5f602082840312156105c6575f5ffd5b81356001600160a01b03811681146101cf575f5ffd5b5f602082840312156105ec575f5ffd5b8135600281106101cf575f5ffd5b634e487b7160e01b5f52602160045260245ffd5b815160808201906002811061063157634e487b7160e01b5f52602160045260245ffd5b8083525060208301516020830152604083015160408301526060830151606083015292915050565b634e487b7160e01b5f52601160045260245ffd5b5f6001820161067e5761067e610659565b5060010190565b80820281158282048414176101e3576101e3610659565b5f826106b657634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156101e3576101e3610659565b5f602082840312156106de575f5ffd5b505191905056fea26469706673582212200f34f976da4c980dd5ebd41de34b266c630f4938a8bd6cc9e89b2c89621f761564736f6c634300081e0033";
188
+
189
+ type StPendleConstructorParams =
190
+ | [linkLibraryAddresses: StPendleLibraryAddresses, signer?: Signer]
191
+ | ConstructorParameters<typeof ContractFactory>;
192
+
193
+ const isSuperArgs = (
194
+ xs: StPendleConstructorParams
195
+ ): xs is ConstructorParameters<typeof ContractFactory> => {
196
+ return (
197
+ typeof xs[0] === "string" ||
198
+ (Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
199
+ "_isInterface" in xs[0]
200
+ );
201
+ };
202
+
203
+ export class StPendle__factory extends ContractFactory {
204
+ constructor(...args: StPendleConstructorParams) {
205
+ if (isSuperArgs(args)) {
206
+ super(...args);
207
+ } else {
208
+ const [linkLibraryAddresses, signer] = args;
209
+ super(_abi, StPendle__factory.linkBytecode(linkLibraryAddresses), signer);
210
+ }
211
+ this.contractName = "StPendle";
212
+ }
213
+
214
+ static linkBytecode(linkLibraryAddresses: StPendleLibraryAddresses): string {
215
+ let linkedBytecode = _bytecode;
216
+
217
+ linkedBytecode = linkedBytecode.replace(
218
+ new RegExp("__\\$d454e8b73aca09d7edc6b19c3e938f0f8b\\$__", "g"),
219
+ linkLibraryAddresses["contracts/StPendle.sol:RoundDataLib"]
220
+ .replace(/^0x/, "")
221
+ .toLowerCase()
222
+ );
223
+
224
+ return linkedBytecode;
225
+ }
226
+
227
+ deploy(
228
+ overrides?: Overrides & { from?: string | Promise<string> }
229
+ ): Promise<StPendle> {
230
+ return super.deploy(overrides || {}) as Promise<StPendle>;
231
+ }
232
+ getDeployTransaction(
233
+ overrides?: Overrides & { from?: string | Promise<string> }
234
+ ): TransactionRequest {
235
+ return super.getDeployTransaction(overrides || {});
236
+ }
237
+ attach(address: string): StPendle {
238
+ return super.attach(address) as StPendle;
239
+ }
240
+ connect(signer: Signer): StPendle__factory {
241
+ return super.connect(signer) as StPendle__factory;
242
+ }
243
+ static readonly contractName: "StPendle";
244
+ public readonly contractName: "StPendle";
245
+ static readonly bytecode = _bytecode;
246
+ static readonly abi = _abi;
247
+ static createInterface(): StPendleInterface {
248
+ return new utils.Interface(_abi) as StPendleInterface;
249
+ }
250
+ static connect(
251
+ address: string,
252
+ signerOrProvider: Signer | Provider
253
+ ): StPendle {
254
+ return new Contract(address, _abi, signerOrProvider) as StPendle;
255
+ }
256
+ }
257
+
258
+ export interface StPendleLibraryAddresses {
259
+ ["contracts/StPendle.sol:RoundDataLib"]: string;
260
+ }
@@ -220,6 +220,10 @@ declare module "hardhat/types/runtime" {
220
220
  name: "IERC1967",
221
221
  signerOrOptions?: ethers.Signer | FactoryOptions
222
222
  ): Promise<Contracts.IERC1967__factory>;
223
+ getContractFactory(
224
+ name: "IERC5267",
225
+ signerOrOptions?: ethers.Signer | FactoryOptions
226
+ ): Promise<Contracts.IERC5267__factory>;
223
227
  getContractFactory(
224
228
  name: "IBeacon",
225
229
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -244,10 +248,6 @@ declare module "hardhat/types/runtime" {
244
248
  name: "TransparentUpgradeableProxy",
245
249
  signerOrOptions?: ethers.Signer | FactoryOptions
246
250
  ): Promise<Contracts.TransparentUpgradeableProxy__factory>;
247
- getContractFactory(
248
- name: "Initializable",
249
- signerOrOptions?: ethers.Signer | FactoryOptions
250
- ): Promise<Contracts.Initializable__factory>;
251
251
  getContractFactory(
252
252
  name: "UUPSUpgradeable",
253
253
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -256,6 +256,10 @@ declare module "hardhat/types/runtime" {
256
256
  name: "ERC20",
257
257
  signerOrOptions?: ethers.Signer | FactoryOptions
258
258
  ): Promise<Contracts.ERC20__factory>;
259
+ getContractFactory(
260
+ name: "ERC20Permit",
261
+ signerOrOptions?: ethers.Signer | FactoryOptions
262
+ ): Promise<Contracts.ERC20Permit__factory>;
259
263
  getContractFactory(
260
264
  name: "IERC20Metadata",
261
265
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -268,10 +272,18 @@ declare module "hardhat/types/runtime" {
268
272
  name: "IERC20",
269
273
  signerOrOptions?: ethers.Signer | FactoryOptions
270
274
  ): Promise<Contracts.IERC20__factory>;
275
+ getContractFactory(
276
+ name: "EIP712",
277
+ signerOrOptions?: ethers.Signer | FactoryOptions
278
+ ): Promise<Contracts.EIP712__factory>;
271
279
  getContractFactory(
272
280
  name: "IERC165",
273
281
  signerOrOptions?: ethers.Signer | FactoryOptions
274
282
  ): Promise<Contracts.IERC165__factory>;
283
+ getContractFactory(
284
+ name: "ShortStrings",
285
+ signerOrOptions?: ethers.Signer | FactoryOptions
286
+ ): Promise<Contracts.ShortStrings__factory>;
275
287
  getContractFactory(
276
288
  name: "PendleERC20",
277
289
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -344,18 +356,6 @@ declare module "hardhat/types/runtime" {
344
356
  name: "PendleBridgedPrincipalToken",
345
357
  signerOrOptions?: ethers.Signer | FactoryOptions
346
358
  ): Promise<Contracts.PendleBridgedPrincipalToken__factory>;
347
- getContractFactory(
348
- name: "DepositBox",
349
- signerOrOptions?: ethers.Signer | FactoryOptions
350
- ): Promise<Contracts.DepositBox__factory>;
351
- getContractFactory(
352
- name: "PendleCrossChainSwapHub",
353
- signerOrOptions?: ethers.Signer | FactoryOptions
354
- ): Promise<Contracts.PendleCrossChainSwapHub__factory>;
355
- getContractFactory(
356
- name: "SwapHubBase",
357
- signerOrOptions?: ethers.Signer | FactoryOptions
358
- ): Promise<Contracts.SwapHubBase__factory>;
359
359
  getContractFactory(
360
360
  name: "PendleFeeDistributor",
361
361
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -500,14 +500,6 @@ declare module "hardhat/types/runtime" {
500
500
  name: "IPCommonSYFactory",
501
501
  signerOrOptions?: ethers.Signer | FactoryOptions
502
502
  ): Promise<Contracts.IPCommonSYFactory__factory>;
503
- getContractFactory(
504
- name: "IPCrossChainSwapHub",
505
- signerOrOptions?: ethers.Signer | FactoryOptions
506
- ): Promise<Contracts.IPCrossChainSwapHub__factory>;
507
- getContractFactory(
508
- name: "IPDepositBox",
509
- signerOrOptions?: ethers.Signer | FactoryOptions
510
- ): Promise<Contracts.IPDepositBox__factory>;
511
503
  getContractFactory(
512
504
  name: "IPExchangeRateOracle",
513
505
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -1076,6 +1068,10 @@ declare module "hardhat/types/runtime" {
1076
1068
  name: "PendleSwap",
1077
1069
  signerOrOptions?: ethers.Signer | FactoryOptions
1078
1070
  ): Promise<Contracts.PendleSwap__factory>;
1071
+ getContractFactory(
1072
+ name: "StPendle",
1073
+ signerOrOptions?: ethers.Signer | FactoryOptions
1074
+ ): Promise<Contracts.StPendle__factory>;
1079
1075
 
1080
1076
  getContractAt(
1081
1077
  name: "AggregatorInterface",
@@ -1337,6 +1333,11 @@ declare module "hardhat/types/runtime" {
1337
1333
  address: string,
1338
1334
  signer?: ethers.Signer
1339
1335
  ): Promise<Contracts.IERC1967>;
1336
+ getContractAt(
1337
+ name: "IERC5267",
1338
+ address: string,
1339
+ signer?: ethers.Signer
1340
+ ): Promise<Contracts.IERC5267>;
1340
1341
  getContractAt(
1341
1342
  name: "IBeacon",
1342
1343
  address: string,
@@ -1367,11 +1368,6 @@ declare module "hardhat/types/runtime" {
1367
1368
  address: string,
1368
1369
  signer?: ethers.Signer
1369
1370
  ): Promise<Contracts.TransparentUpgradeableProxy>;
1370
- getContractAt(
1371
- name: "Initializable",
1372
- address: string,
1373
- signer?: ethers.Signer
1374
- ): Promise<Contracts.Initializable>;
1375
1371
  getContractAt(
1376
1372
  name: "UUPSUpgradeable",
1377
1373
  address: string,
@@ -1382,6 +1378,11 @@ declare module "hardhat/types/runtime" {
1382
1378
  address: string,
1383
1379
  signer?: ethers.Signer
1384
1380
  ): Promise<Contracts.ERC20>;
1381
+ getContractAt(
1382
+ name: "ERC20Permit",
1383
+ address: string,
1384
+ signer?: ethers.Signer
1385
+ ): Promise<Contracts.ERC20Permit>;
1385
1386
  getContractAt(
1386
1387
  name: "IERC20Metadata",
1387
1388
  address: string,
@@ -1397,11 +1398,21 @@ declare module "hardhat/types/runtime" {
1397
1398
  address: string,
1398
1399
  signer?: ethers.Signer
1399
1400
  ): Promise<Contracts.IERC20>;
1401
+ getContractAt(
1402
+ name: "EIP712",
1403
+ address: string,
1404
+ signer?: ethers.Signer
1405
+ ): Promise<Contracts.EIP712>;
1400
1406
  getContractAt(
1401
1407
  name: "IERC165",
1402
1408
  address: string,
1403
1409
  signer?: ethers.Signer
1404
1410
  ): Promise<Contracts.IERC165>;
1411
+ getContractAt(
1412
+ name: "ShortStrings",
1413
+ address: string,
1414
+ signer?: ethers.Signer
1415
+ ): Promise<Contracts.ShortStrings>;
1405
1416
  getContractAt(
1406
1417
  name: "PendleERC20",
1407
1418
  address: string,
@@ -1492,21 +1503,6 @@ declare module "hardhat/types/runtime" {
1492
1503
  address: string,
1493
1504
  signer?: ethers.Signer
1494
1505
  ): Promise<Contracts.PendleBridgedPrincipalToken>;
1495
- getContractAt(
1496
- name: "DepositBox",
1497
- address: string,
1498
- signer?: ethers.Signer
1499
- ): Promise<Contracts.DepositBox>;
1500
- getContractAt(
1501
- name: "PendleCrossChainSwapHub",
1502
- address: string,
1503
- signer?: ethers.Signer
1504
- ): Promise<Contracts.PendleCrossChainSwapHub>;
1505
- getContractAt(
1506
- name: "SwapHubBase",
1507
- address: string,
1508
- signer?: ethers.Signer
1509
- ): Promise<Contracts.SwapHubBase>;
1510
1506
  getContractAt(
1511
1507
  name: "PendleFeeDistributor",
1512
1508
  address: string,
@@ -1687,16 +1683,6 @@ declare module "hardhat/types/runtime" {
1687
1683
  address: string,
1688
1684
  signer?: ethers.Signer
1689
1685
  ): Promise<Contracts.IPCommonSYFactory>;
1690
- getContractAt(
1691
- name: "IPCrossChainSwapHub",
1692
- address: string,
1693
- signer?: ethers.Signer
1694
- ): Promise<Contracts.IPCrossChainSwapHub>;
1695
- getContractAt(
1696
- name: "IPDepositBox",
1697
- address: string,
1698
- signer?: ethers.Signer
1699
- ): Promise<Contracts.IPDepositBox>;
1700
1686
  getContractAt(
1701
1687
  name: "IPExchangeRateOracle",
1702
1688
  address: string,
@@ -2407,6 +2393,11 @@ declare module "hardhat/types/runtime" {
2407
2393
  address: string,
2408
2394
  signer?: ethers.Signer
2409
2395
  ): Promise<Contracts.PendleSwap>;
2396
+ getContractAt(
2397
+ name: "StPendle",
2398
+ address: string,
2399
+ signer?: ethers.Signer
2400
+ ): Promise<Contracts.StPendle>;
2410
2401
 
2411
2402
  // default types
2412
2403
  getContractFactory(
@@ -53,6 +53,7 @@ export type { Ownable } from "./Ownable";
53
53
  export type { IERC1822Proxiable } from "./IERC1822Proxiable";
54
54
  export type { IERC1271 } from "./IERC1271";
55
55
  export type { IERC1967 } from "./IERC1967";
56
+ export type { IERC5267 } from "./IERC5267";
56
57
  export type { IBeacon } from "./IBeacon";
57
58
  export type { ERC1967Proxy } from "./ERC1967Proxy";
58
59
  export type { ERC1967Upgrade } from "./ERC1967Upgrade";
@@ -60,10 +61,13 @@ export type { Proxy } from "./Proxy";
60
61
  export type { ITransparentUpgradeableProxy } from "./ITransparentUpgradeableProxy";
61
62
  export type { TransparentUpgradeableProxy } from "./TransparentUpgradeableProxy";
62
63
  export type { ERC20 } from "./ERC20";
64
+ export type { ERC20Permit } from "./ERC20Permit";
63
65
  export type { IERC20Metadata } from "./IERC20Metadata";
64
66
  export type { IERC20Permit } from "./IERC20Permit";
65
67
  export type { IERC20 } from "./IERC20";
68
+ export type { EIP712 } from "./EIP712";
66
69
  export type { IERC165 } from "./IERC165";
70
+ export type { ShortStrings } from "./ShortStrings";
67
71
  export type { PendleERC20 } from "./PendleERC20";
68
72
  export type { BoringOwnableUpgradeableData } from "./BoringOwnableUpgradeableData";
69
73
  export type { BoringOwnableUpgradeableV2 } from "./BoringOwnableUpgradeableV2";
@@ -82,9 +86,6 @@ export type { PendlePTOFTAdapterFactory } from "./PendlePTOFTAdapterFactory";
82
86
  export type { FixedPricePTAMM } from "./FixedPricePTAMM";
83
87
  export type { OFTAdapterImpl } from "./OFTAdapterImpl";
84
88
  export type { PendleBridgedPrincipalToken } from "./PendleBridgedPrincipalToken";
85
- export type { DepositBox } from "./DepositBox";
86
- export type { PendleCrossChainSwapHub } from "./PendleCrossChainSwapHub";
87
- export type { SwapHubBase } from "./SwapHubBase";
88
89
  export type { PendleFeeDistributor } from "./PendleFeeDistributor";
89
90
  export type { PendleFeeDistributorV2 } from "./PendleFeeDistributorV2";
90
91
  export type { IAddressProvider } from "./IAddressProvider";
@@ -120,8 +121,6 @@ export type { IPChainlinkOracleFactory } from "./IPChainlinkOracleFactory";
120
121
  export type { IPChainlinkOracleWithQuote } from "./IPChainlinkOracleWithQuote";
121
122
  export type { IPCommonPoolDeployHelperV2 } from "./IPCommonPoolDeployHelperV2";
122
123
  export type { IPCommonSYFactory } from "./IPCommonSYFactory";
123
- export type { IPCrossChainSwapHub } from "./IPCrossChainSwapHub";
124
- export type { IPDepositBox } from "./IPDepositBox";
125
124
  export type { IPExchangeRateOracle } from "./IPExchangeRateOracle";
126
125
  export type { IPExchangeRateOracleApp } from "./IPExchangeRateOracleApp";
127
126
  export type { IPFeeDistributor } from "./IPFeeDistributor";
@@ -264,6 +263,7 @@ export type { IAugustusV6 } from "./IAugustusV6";
264
263
  export type { IKyberScalingHelper } from "./IKyberScalingHelper";
265
264
  export type { IOdosRouterV2 } from "./IOdosRouterV2";
266
265
  export type { PendleSwap } from "./PendleSwap";
266
+ export type { StPendle } from "./StPendle";
267
267
 
268
268
  export { AggregatorInterface__factory } from "./factories/AggregatorInterface__factory";
269
269
  export { AggregatorV2V3Interface__factory } from "./factories/AggregatorV2V3Interface__factory";
@@ -317,6 +317,7 @@ export { Ownable__factory } from "./factories/Ownable__factory";
317
317
  export { IERC1822Proxiable__factory } from "./factories/IERC1822Proxiable__factory";
318
318
  export { IERC1271__factory } from "./factories/IERC1271__factory";
319
319
  export { IERC1967__factory } from "./factories/IERC1967__factory";
320
+ export { IERC5267__factory } from "./factories/IERC5267__factory";
320
321
  export { IBeacon__factory } from "./factories/IBeacon__factory";
321
322
  export { ERC1967Proxy__factory } from "./factories/ERC1967Proxy__factory";
322
323
  export { ERC1967Upgrade__factory } from "./factories/ERC1967Upgrade__factory";
@@ -324,10 +325,13 @@ export { Proxy__factory } from "./factories/Proxy__factory";
324
325
  export { ITransparentUpgradeableProxy__factory } from "./factories/ITransparentUpgradeableProxy__factory";
325
326
  export { TransparentUpgradeableProxy__factory } from "./factories/TransparentUpgradeableProxy__factory";
326
327
  export { ERC20__factory } from "./factories/ERC20__factory";
328
+ export { ERC20Permit__factory } from "./factories/ERC20Permit__factory";
327
329
  export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory";
328
330
  export { IERC20Permit__factory } from "./factories/IERC20Permit__factory";
329
331
  export { IERC20__factory } from "./factories/IERC20__factory";
332
+ export { EIP712__factory } from "./factories/EIP712__factory";
330
333
  export { IERC165__factory } from "./factories/IERC165__factory";
334
+ export { ShortStrings__factory } from "./factories/ShortStrings__factory";
331
335
  export { PendleERC20__factory } from "./factories/PendleERC20__factory";
332
336
  export { BoringOwnableUpgradeableData__factory } from "./factories/BoringOwnableUpgradeableData__factory";
333
337
  export { BoringOwnableUpgradeableV2__factory } from "./factories/BoringOwnableUpgradeableV2__factory";
@@ -346,9 +350,6 @@ export { PendlePTOFTAdapterFactory__factory } from "./factories/PendlePTOFTAdapt
346
350
  export { FixedPricePTAMM__factory } from "./factories/FixedPricePTAMM__factory";
347
351
  export { OFTAdapterImpl__factory } from "./factories/OFTAdapterImpl__factory";
348
352
  export { PendleBridgedPrincipalToken__factory } from "./factories/PendleBridgedPrincipalToken__factory";
349
- export { DepositBox__factory } from "./factories/DepositBox__factory";
350
- export { PendleCrossChainSwapHub__factory } from "./factories/PendleCrossChainSwapHub__factory";
351
- export { SwapHubBase__factory } from "./factories/SwapHubBase__factory";
352
353
  export { PendleFeeDistributor__factory } from "./factories/PendleFeeDistributor__factory";
353
354
  export { PendleFeeDistributorV2__factory } from "./factories/PendleFeeDistributorV2__factory";
354
355
  export { IAddressProvider__factory } from "./factories/IAddressProvider__factory";
@@ -384,8 +385,6 @@ export { IPChainlinkOracleFactory__factory } from "./factories/IPChainlinkOracle
384
385
  export { IPChainlinkOracleWithQuote__factory } from "./factories/IPChainlinkOracleWithQuote__factory";
385
386
  export { IPCommonPoolDeployHelperV2__factory } from "./factories/IPCommonPoolDeployHelperV2__factory";
386
387
  export { IPCommonSYFactory__factory } from "./factories/IPCommonSYFactory__factory";
387
- export { IPCrossChainSwapHub__factory } from "./factories/IPCrossChainSwapHub__factory";
388
- export { IPDepositBox__factory } from "./factories/IPDepositBox__factory";
389
388
  export { IPExchangeRateOracle__factory } from "./factories/IPExchangeRateOracle__factory";
390
389
  export { IPExchangeRateOracleApp__factory } from "./factories/IPExchangeRateOracleApp__factory";
391
390
  export { IPFeeDistributor__factory } from "./factories/IPFeeDistributor__factory";
@@ -528,3 +527,4 @@ export { IAugustusV6__factory } from "./factories/IAugustusV6__factory";
528
527
  export { IKyberScalingHelper__factory } from "./factories/IKyberScalingHelper__factory";
529
528
  export { IOdosRouterV2__factory } from "./factories/IOdosRouterV2__factory";
530
529
  export { PendleSwap__factory } from "./factories/PendleSwap__factory";
530
+ export { StPendle__factory } from "./factories/StPendle__factory";
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/565a194b7261b538bfc5e04de28a6db1.json"
4
- }