@pendle/core-v2 6.4.4-swaphubtest → 6.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (509) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +4 -0
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +401 -0
  11. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +4 -0
  27. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +733 -0
  28. package/build/artifacts/contracts/StPendle.sol/RoundDataLib.dbg.json +4 -0
  29. package/build/artifacts/contracts/StPendle.sol/RoundDataLib.json +10 -0
  30. package/build/artifacts/contracts/StPendle.sol/StPendle.dbg.json +4 -0
  31. package/build/artifacts/contracts/StPendle.sol/StPendle.json +228 -0
  32. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  36. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +0 -51
  38. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +4 -0
  39. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.json +618 -0
  40. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +4 -0
  41. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.json +1157 -0
  42. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  50. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  54. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +3 -3
  62. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
  69. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  70. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +2 -2
  71. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  72. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  73. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  74. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  75. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  76. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +0 -51
  118. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +47 -12
  120. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +0 -19
  129. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +4 -0
  147. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.json +351 -0
  148. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  159. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  160. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  161. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  162. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  163. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  164. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
  172. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +4 -0
  173. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.json +30 -0
  174. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  179. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  183. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  185. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
  189. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
  191. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
  194. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
  196. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +2 -2
  198. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
  205. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  209. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  212. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  213. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  214. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  215. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
  216. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  218. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  219. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  221. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  228. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  229. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  230. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  231. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  232. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  233. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  234. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  235. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  236. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  237. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  238. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +2 -2
  239. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  240. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  241. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +2 -2
  242. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  243. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  244. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  245. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  246. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  247. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  248. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  249. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  250. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  251. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  252. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  253. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  254. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  255. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  256. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  257. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  258. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  259. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  260. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  261. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  262. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
  263. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  264. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
  265. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  266. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
  267. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  268. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  269. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  270. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  271. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  272. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  273. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  274. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  275. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
  276. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  277. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  278. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  279. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  280. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  281. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
  282. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  283. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  284. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  285. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  286. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  287. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  288. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  289. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  290. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  291. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  292. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  293. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  294. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  295. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  296. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  297. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  298. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  299. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  300. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  301. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  302. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  303. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  304. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  305. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  306. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  307. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  308. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  309. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  310. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  311. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  312. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  313. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  314. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  315. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  316. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  317. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  318. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  319. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  320. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  321. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol +112 -0
  322. package/contracts/LiquidityMining/sPendle/StakedPendle.sol +129 -0
  323. package/contracts/StPendle.sol +121 -0
  324. package/contracts/core/Market/PendleGauge.sol +1 -76
  325. package/contracts/core/Market/{PendleMarketFactoryV6Upg.sol → PendleMarketFactoryV7Upg.sol} +3 -6
  326. package/contracts/core/Market/{PendleMarketV6.sol → PendleMarketV7.sol} +16 -16
  327. package/contracts/core/libraries/Errors.sol +1 -1
  328. package/contracts/core/libraries/math/PMath.sol +5 -0
  329. package/contracts/interfaces/IPGauge.sol +0 -6
  330. package/contracts/interfaces/IPGaugeController.sol +16 -3
  331. package/contracts/interfaces/IPMarket.sol +12 -0
  332. package/contracts/interfaces/IPStakedPendle.sol +69 -0
  333. package/contracts/offchain-helpers/BalanceReader.sol +11 -1
  334. package/contracts/offchain-helpers/MarketSweed.sol +46 -54
  335. package/contracts/offchain-helpers/PendleMerkleDepositor.sol +5 -6
  336. package/contracts/router/ActionCrossChain.sol +14 -18
  337. package/contracts/router/Reflector.sol +19 -2
  338. package/deployments/1-core.json +3 -2
  339. package/deployments/10-core.json +1 -1
  340. package/deployments/130-core.json +2 -1
  341. package/deployments/146-core.json +1 -1
  342. package/deployments/42161-core.json +1 -1
  343. package/deployments/5000-core.json +1 -1
  344. package/deployments/56-core.json +1 -1
  345. package/deployments/80094-core.json +1 -1
  346. package/deployments/8453-core.json +1 -1
  347. package/deployments/9745-core.json +4 -3
  348. package/deployments/999-core.json +6 -6
  349. package/package.json +2 -2
  350. package/typechain-types/ERC20Upgradeable.ts +426 -0
  351. package/typechain-types/IERC20MetadataUpgradeable.ts +339 -0
  352. package/typechain-types/IERC20Upgradeable.ts +300 -0
  353. package/typechain-types/ILegacyMarket.ts +93 -0
  354. package/typechain-types/IPGauge.ts +7 -81
  355. package/typechain-types/IPGaugeController.ts +91 -47
  356. package/typechain-types/IPMarket.ts +0 -19
  357. package/typechain-types/IPStakedPendle.ts +558 -0
  358. package/typechain-types/PendleGauge.ts +0 -63
  359. package/typechain-types/{PendleGaugeControllerBaseUpg.ts → PendleGaugeControllerUpg.ts} +82 -171
  360. package/typechain-types/{PendleMarketFactoryV6Upg.ts → PendleMarketFactoryV7Upg.ts} +5 -18
  361. package/typechain-types/{PendleMarketV6.ts → PendleMarketV7.ts} +10 -29
  362. package/typechain-types/StPendle.ts +362 -0
  363. package/typechain-types/StakedPendle.ts +1058 -0
  364. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  365. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  366. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  367. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  368. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  369. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  370. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  371. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  372. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  373. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  374. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  375. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  376. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  377. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  378. package/typechain-types/factories/BalanceReader__factory.ts +1 -1
  379. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  380. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  381. package/typechain-types/factories/ERC20Upgradeable__factory.ts +347 -0
  382. package/typechain-types/factories/Errors__factory.ts +2 -2
  383. package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +1 -1
  384. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  385. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  386. package/typechain-types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
  387. package/typechain-types/factories/{IPGaugeControllerMainchain__factory.ts → IERC20Upgradeable__factory.ts} +90 -83
  388. package/typechain-types/factories/ILegacyMarket__factory.ts +42 -0
  389. package/typechain-types/factories/IPGaugeController__factory.ts +47 -12
  390. package/typechain-types/factories/IPGauge__factory.ts +0 -51
  391. package/typechain-types/factories/IPMarket__factory.ts +0 -19
  392. package/typechain-types/factories/IPStakedPendle__factory.ts +366 -0
  393. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  394. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  395. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  396. package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
  397. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
  398. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  399. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
  400. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
  401. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  402. package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +1 -1
  403. package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
  404. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  405. package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
  406. package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +463 -0
  407. package/typechain-types/factories/PendleGauge__factory.ts +0 -51
  408. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
  409. package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
  410. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  411. package/typechain-types/factories/PendleMarketFactoryV7Upg__factory.ts +710 -0
  412. package/typechain-types/factories/PendleMarketV7__factory.ts +1233 -0
  413. package/typechain-types/factories/PendleMerkleDepositor__factory.ts +1 -1
  414. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  415. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  416. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
  417. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  418. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  419. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  420. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  421. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
  422. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  423. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  424. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
  425. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
  426. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
  427. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  428. package/typechain-types/factories/Reflector__factory.ts +1 -1
  429. package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
  430. package/typechain-types/factories/StPendle__factory.ts +260 -0
  431. package/typechain-types/factories/StakedPendle__factory.ts +785 -0
  432. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  433. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  434. package/typechain-types/hardhat.d.ts +69 -132
  435. package/typechain-types/index.ts +20 -32
  436. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +0 -4
  437. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -451
  438. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +0 -4
  439. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +0 -557
  440. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +0 -4
  441. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +0 -547
  442. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +0 -4
  443. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +0 -1311
  444. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +0 -4
  445. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +0 -764
  446. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +0 -4
  447. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +0 -636
  448. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +0 -4
  449. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +0 -1181
  450. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
  451. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -170
  452. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +0 -4
  453. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +0 -1214
  454. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +0 -4
  455. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +0 -1176
  456. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
  457. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -598
  458. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +0 -4
  459. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +0 -1026
  460. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +0 -4
  461. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +0 -124
  462. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +0 -4
  463. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +0 -183
  464. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +0 -4
  465. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -380
  466. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +0 -4
  467. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +0 -262
  468. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +0 -164
  469. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +0 -42
  470. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +0 -36
  471. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +0 -304
  472. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +0 -301
  473. package/contracts/cross-chain/swap-hub/DepositBox.sol +0 -66
  474. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +0 -178
  475. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +0 -274
  476. package/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol +0 -204
  477. package/contracts/interfaces/IPCrossChainSwapHub.sol +0 -147
  478. package/contracts/interfaces/IPDepositBox.sol +0 -22
  479. package/contracts/interfaces/IPGaugeControllerMainchain.sol +0 -8
  480. package/contracts/interfaces/IPVotingController.sol +0 -43
  481. package/contracts/offchain-helpers/Broadcaster.sol +0 -48
  482. package/typechain-types/Broadcaster.ts +0 -455
  483. package/typechain-types/DepositBox.ts +0 -260
  484. package/typechain-types/IPCrossChainSwapHub.ts +0 -882
  485. package/typechain-types/IPDepositBox.ts +0 -213
  486. package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
  487. package/typechain-types/IPVotingController.ts +0 -534
  488. package/typechain-types/PendleCrossChainSwapHub.ts +0 -1119
  489. package/typechain-types/PendleFeeDistributor.ts +0 -746
  490. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
  491. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
  492. package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
  493. package/typechain-types/SwapHubBase.ts +0 -1094
  494. package/typechain-types/VotingControllerStorageUpg.ts +0 -984
  495. package/typechain-types/factories/Broadcaster__factory.ts +0 -317
  496. package/typechain-types/factories/DepositBox__factory.ts +0 -222
  497. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +0 -1041
  498. package/typechain-types/factories/IPDepositBox__factory.ts +0 -136
  499. package/typechain-types/factories/IPVotingController__factory.ts +0 -395
  500. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +0 -1287
  501. package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
  502. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
  503. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
  504. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
  505. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
  506. package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
  507. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
  508. package/typechain-types/factories/SwapHubBase__factory.ts +0 -1188
  509. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
@@ -1,1026 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IPCrossChainSwapHub",
4
- "sourceName": "contracts/interfaces/IPCrossChainSwapHub.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "name": "InsufficientTokenReceived",
9
- "type": "error"
10
- },
11
- {
12
- "inputs": [],
13
- "name": "InvalidNonce",
14
- "type": "error"
15
- },
16
- {
17
- "inputs": [],
18
- "name": "InvalidReceiver",
19
- "type": "error"
20
- },
21
- {
22
- "inputs": [],
23
- "name": "InvalidSignature",
24
- "type": "error"
25
- },
26
- {
27
- "inputs": [],
28
- "name": "MessageExpired",
29
- "type": "error"
30
- },
31
- {
32
- "anonymous": false,
33
- "inputs": [
34
- {
35
- "indexed": true,
36
- "internalType": "address",
37
- "name": "owner",
38
- "type": "address"
39
- },
40
- {
41
- "indexed": false,
42
- "internalType": "uint32",
43
- "name": "boxId",
44
- "type": "uint32"
45
- },
46
- {
47
- "indexed": false,
48
- "internalType": "address",
49
- "name": "bridgeExtRouter",
50
- "type": "address"
51
- },
52
- {
53
- "indexed": false,
54
- "internalType": "address",
55
- "name": "token",
56
- "type": "address"
57
- },
58
- {
59
- "indexed": false,
60
- "internalType": "uint256",
61
- "name": "amountBridge",
62
- "type": "uint256"
63
- },
64
- {
65
- "indexed": false,
66
- "internalType": "uint256",
67
- "name": "amountFee",
68
- "type": "uint256"
69
- },
70
- {
71
- "indexed": false,
72
- "internalType": "bool",
73
- "name": "pullFromOwner",
74
- "type": "bool"
75
- }
76
- ],
77
- "name": "BridgeToken",
78
- "type": "event"
79
- },
80
- {
81
- "anonymous": false,
82
- "inputs": [
83
- {
84
- "indexed": true,
85
- "internalType": "address",
86
- "name": "owner",
87
- "type": "address"
88
- },
89
- {
90
- "indexed": false,
91
- "internalType": "uint32",
92
- "name": "boxId",
93
- "type": "uint32"
94
- },
95
- {
96
- "indexed": false,
97
- "internalType": "address",
98
- "name": "tokenSpent",
99
- "type": "address"
100
- },
101
- {
102
- "indexed": false,
103
- "internalType": "uint256",
104
- "name": "amountSpent",
105
- "type": "uint256"
106
- },
107
- {
108
- "indexed": false,
109
- "internalType": "uint256",
110
- "name": "amountFee",
111
- "type": "uint256"
112
- },
113
- {
114
- "indexed": false,
115
- "internalType": "address",
116
- "name": "ptAdapter",
117
- "type": "address"
118
- },
119
- {
120
- "indexed": false,
121
- "internalType": "address",
122
- "name": "pt",
123
- "type": "address"
124
- },
125
- {
126
- "indexed": false,
127
- "internalType": "uint256",
128
- "name": "netPtReceived",
129
- "type": "uint256"
130
- },
131
- {
132
- "indexed": false,
133
- "internalType": "bool",
134
- "name": "pullFromOwner",
135
- "type": "bool"
136
- }
137
- ],
138
- "name": "BuyCrossChainPt",
139
- "type": "event"
140
- },
141
- {
142
- "anonymous": false,
143
- "inputs": [
144
- {
145
- "indexed": true,
146
- "internalType": "address",
147
- "name": "executor",
148
- "type": "address"
149
- },
150
- {
151
- "indexed": false,
152
- "internalType": "bool",
153
- "name": "isExecutor",
154
- "type": "bool"
155
- }
156
- ],
157
- "name": "SetExecutor",
158
- "type": "event"
159
- },
160
- {
161
- "anonymous": false,
162
- "inputs": [
163
- {
164
- "indexed": true,
165
- "internalType": "address",
166
- "name": "owner",
167
- "type": "address"
168
- },
169
- {
170
- "indexed": false,
171
- "internalType": "uint32",
172
- "name": "boxId",
173
- "type": "uint32"
174
- },
175
- {
176
- "indexed": false,
177
- "internalType": "address",
178
- "name": "tokenSpent",
179
- "type": "address"
180
- },
181
- {
182
- "indexed": false,
183
- "internalType": "uint256",
184
- "name": "amountSpent",
185
- "type": "uint256"
186
- },
187
- {
188
- "indexed": false,
189
- "internalType": "uint256",
190
- "name": "amountFee",
191
- "type": "uint256"
192
- },
193
- {
194
- "indexed": false,
195
- "internalType": "address",
196
- "name": "tokenReceived",
197
- "type": "address"
198
- },
199
- {
200
- "indexed": false,
201
- "internalType": "uint256",
202
- "name": "netTokenReceived",
203
- "type": "uint256"
204
- },
205
- {
206
- "indexed": false,
207
- "internalType": "bool",
208
- "name": "pullFromOwner",
209
- "type": "bool"
210
- },
211
- {
212
- "indexed": false,
213
- "internalType": "bool",
214
- "name": "sendToOwner",
215
- "type": "bool"
216
- }
217
- ],
218
- "name": "SwapToken",
219
- "type": "event"
220
- },
221
- {
222
- "anonymous": false,
223
- "inputs": [
224
- {
225
- "indexed": true,
226
- "internalType": "address",
227
- "name": "owner",
228
- "type": "address"
229
- },
230
- {
231
- "indexed": false,
232
- "internalType": "uint32",
233
- "name": "boxId",
234
- "type": "uint32"
235
- },
236
- {
237
- "indexed": false,
238
- "internalType": "address",
239
- "name": "token",
240
- "type": "address"
241
- },
242
- {
243
- "indexed": false,
244
- "internalType": "uint256",
245
- "name": "amountWithdraw",
246
- "type": "uint256"
247
- },
248
- {
249
- "indexed": false,
250
- "internalType": "uint256",
251
- "name": "amountFee",
252
- "type": "uint256"
253
- }
254
- ],
255
- "name": "WithdrawToken",
256
- "type": "event"
257
- },
258
- {
259
- "inputs": [],
260
- "name": "BEACON_PROXY_CODE_CONTRACT",
261
- "outputs": [
262
- {
263
- "internalType": "address",
264
- "name": "",
265
- "type": "address"
266
- }
267
- ],
268
- "stateMutability": "view",
269
- "type": "function"
270
- },
271
- {
272
- "inputs": [],
273
- "name": "DEPOSIT_BOX_BEACON",
274
- "outputs": [
275
- {
276
- "internalType": "address",
277
- "name": "",
278
- "type": "address"
279
- }
280
- ],
281
- "stateMutability": "view",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [],
286
- "name": "DEPOSIT_BOX_CODE_HASH",
287
- "outputs": [
288
- {
289
- "internalType": "bytes32",
290
- "name": "",
291
- "type": "bytes32"
292
- }
293
- ],
294
- "stateMutability": "view",
295
- "type": "function"
296
- },
297
- {
298
- "inputs": [
299
- {
300
- "components": [
301
- {
302
- "internalType": "address",
303
- "name": "owner",
304
- "type": "address"
305
- },
306
- {
307
- "internalType": "uint32",
308
- "name": "boxId",
309
- "type": "uint32"
310
- },
311
- {
312
- "internalType": "uint256",
313
- "name": "expiry",
314
- "type": "uint256"
315
- },
316
- {
317
- "internalType": "uint256",
318
- "name": "nonce",
319
- "type": "uint256"
320
- },
321
- {
322
- "internalType": "address",
323
- "name": "token",
324
- "type": "address"
325
- },
326
- {
327
- "internalType": "uint256",
328
- "name": "amountBridge",
329
- "type": "uint256"
330
- },
331
- {
332
- "internalType": "uint256",
333
- "name": "amountFee",
334
- "type": "uint256"
335
- },
336
- {
337
- "internalType": "bool",
338
- "name": "pullFromOwner",
339
- "type": "bool"
340
- },
341
- {
342
- "internalType": "address",
343
- "name": "bridgeExtRouter",
344
- "type": "address"
345
- },
346
- {
347
- "internalType": "address",
348
- "name": "bridgeApprove",
349
- "type": "address"
350
- },
351
- {
352
- "internalType": "bytes",
353
- "name": "bridgeCalldata",
354
- "type": "bytes"
355
- }
356
- ],
357
- "internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
358
- "name": "message",
359
- "type": "tuple"
360
- },
361
- {
362
- "internalType": "bytes",
363
- "name": "signature",
364
- "type": "bytes"
365
- }
366
- ],
367
- "name": "bridgeToken",
368
- "outputs": [],
369
- "stateMutability": "payable",
370
- "type": "function"
371
- },
372
- {
373
- "inputs": [
374
- {
375
- "components": [
376
- {
377
- "internalType": "address",
378
- "name": "owner",
379
- "type": "address"
380
- },
381
- {
382
- "internalType": "uint32",
383
- "name": "boxId",
384
- "type": "uint32"
385
- },
386
- {
387
- "internalType": "uint256",
388
- "name": "expiry",
389
- "type": "uint256"
390
- },
391
- {
392
- "internalType": "uint256",
393
- "name": "nonce",
394
- "type": "uint256"
395
- },
396
- {
397
- "internalType": "address",
398
- "name": "tokenSpent",
399
- "type": "address"
400
- },
401
- {
402
- "internalType": "uint256",
403
- "name": "amountSpent",
404
- "type": "uint256"
405
- },
406
- {
407
- "internalType": "uint256",
408
- "name": "amountFee",
409
- "type": "uint256"
410
- },
411
- {
412
- "internalType": "address",
413
- "name": "ptAdapter",
414
- "type": "address"
415
- },
416
- {
417
- "internalType": "uint256",
418
- "name": "minPtReceived",
419
- "type": "uint256"
420
- },
421
- {
422
- "internalType": "uint32",
423
- "name": "dstEid",
424
- "type": "uint32"
425
- },
426
- {
427
- "internalType": "bytes32",
428
- "name": "receiver",
429
- "type": "bytes32"
430
- },
431
- {
432
- "internalType": "bool",
433
- "name": "pullFromOwner",
434
- "type": "bool"
435
- },
436
- {
437
- "internalType": "address",
438
- "name": "swapExtRouter",
439
- "type": "address"
440
- },
441
- {
442
- "internalType": "address",
443
- "name": "swapApprove",
444
- "type": "address"
445
- },
446
- {
447
- "internalType": "bytes",
448
- "name": "swapCalldata",
449
- "type": "bytes"
450
- }
451
- ],
452
- "internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
453
- "name": "message",
454
- "type": "tuple"
455
- },
456
- {
457
- "internalType": "bytes",
458
- "name": "signature",
459
- "type": "bytes"
460
- }
461
- ],
462
- "name": "buyCrossChainPt",
463
- "outputs": [],
464
- "stateMutability": "payable",
465
- "type": "function"
466
- },
467
- {
468
- "inputs": [
469
- {
470
- "internalType": "address",
471
- "name": "owner",
472
- "type": "address"
473
- },
474
- {
475
- "internalType": "uint32",
476
- "name": "boxId",
477
- "type": "uint32"
478
- }
479
- ],
480
- "name": "computeDepositBox",
481
- "outputs": [
482
- {
483
- "internalType": "address",
484
- "name": "box",
485
- "type": "address"
486
- },
487
- {
488
- "internalType": "bytes32",
489
- "name": "salt",
490
- "type": "bytes32"
491
- },
492
- {
493
- "internalType": "bool",
494
- "name": "deployed",
495
- "type": "bool"
496
- }
497
- ],
498
- "stateMutability": "view",
499
- "type": "function"
500
- },
501
- {
502
- "inputs": [
503
- {
504
- "components": [
505
- {
506
- "internalType": "address",
507
- "name": "owner",
508
- "type": "address"
509
- },
510
- {
511
- "internalType": "uint32",
512
- "name": "boxId",
513
- "type": "uint32"
514
- },
515
- {
516
- "internalType": "uint256",
517
- "name": "expiry",
518
- "type": "uint256"
519
- },
520
- {
521
- "internalType": "uint256",
522
- "name": "nonce",
523
- "type": "uint256"
524
- },
525
- {
526
- "internalType": "address",
527
- "name": "tokenSpent",
528
- "type": "address"
529
- },
530
- {
531
- "internalType": "uint256",
532
- "name": "amountSpent",
533
- "type": "uint256"
534
- },
535
- {
536
- "internalType": "uint256",
537
- "name": "amountFee",
538
- "type": "uint256"
539
- },
540
- {
541
- "internalType": "address",
542
- "name": "tokenReceived",
543
- "type": "address"
544
- },
545
- {
546
- "internalType": "uint256",
547
- "name": "minReceived",
548
- "type": "uint256"
549
- },
550
- {
551
- "internalType": "bool",
552
- "name": "pullFromOwner",
553
- "type": "bool"
554
- },
555
- {
556
- "internalType": "bool",
557
- "name": "sendToOwner",
558
- "type": "bool"
559
- },
560
- {
561
- "internalType": "address",
562
- "name": "swapExtRouter",
563
- "type": "address"
564
- },
565
- {
566
- "internalType": "address",
567
- "name": "swapApprove",
568
- "type": "address"
569
- },
570
- {
571
- "internalType": "bytes",
572
- "name": "swapCalldata",
573
- "type": "bytes"
574
- }
575
- ],
576
- "internalType": "struct IPCrossChainSwapHub.SwapTokenMessage",
577
- "name": "message",
578
- "type": "tuple"
579
- }
580
- ],
581
- "name": "hashTypedData",
582
- "outputs": [
583
- {
584
- "internalType": "bytes32",
585
- "name": "",
586
- "type": "bytes32"
587
- }
588
- ],
589
- "stateMutability": "view",
590
- "type": "function"
591
- },
592
- {
593
- "inputs": [
594
- {
595
- "components": [
596
- {
597
- "internalType": "address",
598
- "name": "owner",
599
- "type": "address"
600
- },
601
- {
602
- "internalType": "uint32",
603
- "name": "boxId",
604
- "type": "uint32"
605
- },
606
- {
607
- "internalType": "uint256",
608
- "name": "expiry",
609
- "type": "uint256"
610
- },
611
- {
612
- "internalType": "uint256",
613
- "name": "nonce",
614
- "type": "uint256"
615
- },
616
- {
617
- "internalType": "address",
618
- "name": "token",
619
- "type": "address"
620
- },
621
- {
622
- "internalType": "uint256",
623
- "name": "amountWithdraw",
624
- "type": "uint256"
625
- },
626
- {
627
- "internalType": "uint256",
628
- "name": "amountFee",
629
- "type": "uint256"
630
- }
631
- ],
632
- "internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
633
- "name": "message",
634
- "type": "tuple"
635
- }
636
- ],
637
- "name": "hashTypedData",
638
- "outputs": [
639
- {
640
- "internalType": "bytes32",
641
- "name": "",
642
- "type": "bytes32"
643
- }
644
- ],
645
- "stateMutability": "view",
646
- "type": "function"
647
- },
648
- {
649
- "inputs": [
650
- {
651
- "components": [
652
- {
653
- "internalType": "address",
654
- "name": "owner",
655
- "type": "address"
656
- },
657
- {
658
- "internalType": "uint32",
659
- "name": "boxId",
660
- "type": "uint32"
661
- },
662
- {
663
- "internalType": "uint256",
664
- "name": "expiry",
665
- "type": "uint256"
666
- },
667
- {
668
- "internalType": "uint256",
669
- "name": "nonce",
670
- "type": "uint256"
671
- },
672
- {
673
- "internalType": "address",
674
- "name": "tokenSpent",
675
- "type": "address"
676
- },
677
- {
678
- "internalType": "uint256",
679
- "name": "amountSpent",
680
- "type": "uint256"
681
- },
682
- {
683
- "internalType": "uint256",
684
- "name": "amountFee",
685
- "type": "uint256"
686
- },
687
- {
688
- "internalType": "address",
689
- "name": "ptAdapter",
690
- "type": "address"
691
- },
692
- {
693
- "internalType": "uint256",
694
- "name": "minPtReceived",
695
- "type": "uint256"
696
- },
697
- {
698
- "internalType": "uint32",
699
- "name": "dstEid",
700
- "type": "uint32"
701
- },
702
- {
703
- "internalType": "bytes32",
704
- "name": "receiver",
705
- "type": "bytes32"
706
- },
707
- {
708
- "internalType": "bool",
709
- "name": "pullFromOwner",
710
- "type": "bool"
711
- },
712
- {
713
- "internalType": "address",
714
- "name": "swapExtRouter",
715
- "type": "address"
716
- },
717
- {
718
- "internalType": "address",
719
- "name": "swapApprove",
720
- "type": "address"
721
- },
722
- {
723
- "internalType": "bytes",
724
- "name": "swapCalldata",
725
- "type": "bytes"
726
- }
727
- ],
728
- "internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
729
- "name": "message",
730
- "type": "tuple"
731
- }
732
- ],
733
- "name": "hashTypedData",
734
- "outputs": [
735
- {
736
- "internalType": "bytes32",
737
- "name": "",
738
- "type": "bytes32"
739
- }
740
- ],
741
- "stateMutability": "view",
742
- "type": "function"
743
- },
744
- {
745
- "inputs": [
746
- {
747
- "components": [
748
- {
749
- "internalType": "address",
750
- "name": "owner",
751
- "type": "address"
752
- },
753
- {
754
- "internalType": "uint32",
755
- "name": "boxId",
756
- "type": "uint32"
757
- },
758
- {
759
- "internalType": "uint256",
760
- "name": "expiry",
761
- "type": "uint256"
762
- },
763
- {
764
- "internalType": "uint256",
765
- "name": "nonce",
766
- "type": "uint256"
767
- },
768
- {
769
- "internalType": "address",
770
- "name": "token",
771
- "type": "address"
772
- },
773
- {
774
- "internalType": "uint256",
775
- "name": "amountBridge",
776
- "type": "uint256"
777
- },
778
- {
779
- "internalType": "uint256",
780
- "name": "amountFee",
781
- "type": "uint256"
782
- },
783
- {
784
- "internalType": "bool",
785
- "name": "pullFromOwner",
786
- "type": "bool"
787
- },
788
- {
789
- "internalType": "address",
790
- "name": "bridgeExtRouter",
791
- "type": "address"
792
- },
793
- {
794
- "internalType": "address",
795
- "name": "bridgeApprove",
796
- "type": "address"
797
- },
798
- {
799
- "internalType": "bytes",
800
- "name": "bridgeCalldata",
801
- "type": "bytes"
802
- }
803
- ],
804
- "internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
805
- "name": "message",
806
- "type": "tuple"
807
- }
808
- ],
809
- "name": "hashTypedData",
810
- "outputs": [
811
- {
812
- "internalType": "bytes32",
813
- "name": "",
814
- "type": "bytes32"
815
- }
816
- ],
817
- "stateMutability": "view",
818
- "type": "function"
819
- },
820
- {
821
- "inputs": [
822
- {
823
- "internalType": "address",
824
- "name": "executor",
825
- "type": "address"
826
- }
827
- ],
828
- "name": "isExecutor",
829
- "outputs": [
830
- {
831
- "internalType": "bool",
832
- "name": "",
833
- "type": "bool"
834
- }
835
- ],
836
- "stateMutability": "view",
837
- "type": "function"
838
- },
839
- {
840
- "inputs": [
841
- {
842
- "internalType": "address",
843
- "name": "owner",
844
- "type": "address"
845
- }
846
- ],
847
- "name": "ownerNonce",
848
- "outputs": [
849
- {
850
- "internalType": "uint256",
851
- "name": "",
852
- "type": "uint256"
853
- }
854
- ],
855
- "stateMutability": "view",
856
- "type": "function"
857
- },
858
- {
859
- "inputs": [
860
- {
861
- "internalType": "address",
862
- "name": "executor",
863
- "type": "address"
864
- },
865
- {
866
- "internalType": "bool",
867
- "name": "isExecutor",
868
- "type": "bool"
869
- }
870
- ],
871
- "name": "setExecutor",
872
- "outputs": [],
873
- "stateMutability": "nonpayable",
874
- "type": "function"
875
- },
876
- {
877
- "inputs": [
878
- {
879
- "components": [
880
- {
881
- "internalType": "address",
882
- "name": "owner",
883
- "type": "address"
884
- },
885
- {
886
- "internalType": "uint32",
887
- "name": "boxId",
888
- "type": "uint32"
889
- },
890
- {
891
- "internalType": "uint256",
892
- "name": "expiry",
893
- "type": "uint256"
894
- },
895
- {
896
- "internalType": "uint256",
897
- "name": "nonce",
898
- "type": "uint256"
899
- },
900
- {
901
- "internalType": "address",
902
- "name": "tokenSpent",
903
- "type": "address"
904
- },
905
- {
906
- "internalType": "uint256",
907
- "name": "amountSpent",
908
- "type": "uint256"
909
- },
910
- {
911
- "internalType": "uint256",
912
- "name": "amountFee",
913
- "type": "uint256"
914
- },
915
- {
916
- "internalType": "address",
917
- "name": "tokenReceived",
918
- "type": "address"
919
- },
920
- {
921
- "internalType": "uint256",
922
- "name": "minReceived",
923
- "type": "uint256"
924
- },
925
- {
926
- "internalType": "bool",
927
- "name": "pullFromOwner",
928
- "type": "bool"
929
- },
930
- {
931
- "internalType": "bool",
932
- "name": "sendToOwner",
933
- "type": "bool"
934
- },
935
- {
936
- "internalType": "address",
937
- "name": "swapExtRouter",
938
- "type": "address"
939
- },
940
- {
941
- "internalType": "address",
942
- "name": "swapApprove",
943
- "type": "address"
944
- },
945
- {
946
- "internalType": "bytes",
947
- "name": "swapCalldata",
948
- "type": "bytes"
949
- }
950
- ],
951
- "internalType": "struct IPCrossChainSwapHub.SwapTokenMessage",
952
- "name": "message",
953
- "type": "tuple"
954
- },
955
- {
956
- "internalType": "bytes",
957
- "name": "signature",
958
- "type": "bytes"
959
- }
960
- ],
961
- "name": "swapToken",
962
- "outputs": [],
963
- "stateMutability": "nonpayable",
964
- "type": "function"
965
- },
966
- {
967
- "inputs": [
968
- {
969
- "components": [
970
- {
971
- "internalType": "address",
972
- "name": "owner",
973
- "type": "address"
974
- },
975
- {
976
- "internalType": "uint32",
977
- "name": "boxId",
978
- "type": "uint32"
979
- },
980
- {
981
- "internalType": "uint256",
982
- "name": "expiry",
983
- "type": "uint256"
984
- },
985
- {
986
- "internalType": "uint256",
987
- "name": "nonce",
988
- "type": "uint256"
989
- },
990
- {
991
- "internalType": "address",
992
- "name": "token",
993
- "type": "address"
994
- },
995
- {
996
- "internalType": "uint256",
997
- "name": "amountWithdraw",
998
- "type": "uint256"
999
- },
1000
- {
1001
- "internalType": "uint256",
1002
- "name": "amountFee",
1003
- "type": "uint256"
1004
- }
1005
- ],
1006
- "internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
1007
- "name": "message",
1008
- "type": "tuple"
1009
- },
1010
- {
1011
- "internalType": "bytes",
1012
- "name": "signature",
1013
- "type": "bytes"
1014
- }
1015
- ],
1016
- "name": "withdrawToken",
1017
- "outputs": [],
1018
- "stateMutability": "nonpayable",
1019
- "type": "function"
1020
- }
1021
- ],
1022
- "bytecode": "0x",
1023
- "deployedBytecode": "0x",
1024
- "linkReferences": {},
1025
- "deployedLinkReferences": {}
1026
- }