@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
@@ -1,1176 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "SwapHubBase",
4
- "sourceName": "contracts/cross-chain/swap-hub/SwapHubBase.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
- "name": "EIP712DomainChanged",
145
- "type": "event"
146
- },
147
- {
148
- "anonymous": false,
149
- "inputs": [
150
- {
151
- "indexed": false,
152
- "internalType": "uint8",
153
- "name": "version",
154
- "type": "uint8"
155
- }
156
- ],
157
- "name": "Initialized",
158
- "type": "event"
159
- },
160
- {
161
- "anonymous": false,
162
- "inputs": [
163
- {
164
- "indexed": true,
165
- "internalType": "address",
166
- "name": "previousOwner",
167
- "type": "address"
168
- },
169
- {
170
- "indexed": true,
171
- "internalType": "address",
172
- "name": "newOwner",
173
- "type": "address"
174
- }
175
- ],
176
- "name": "OwnershipTransferred",
177
- "type": "event"
178
- },
179
- {
180
- "anonymous": false,
181
- "inputs": [
182
- {
183
- "indexed": true,
184
- "internalType": "address",
185
- "name": "executor",
186
- "type": "address"
187
- },
188
- {
189
- "indexed": false,
190
- "internalType": "bool",
191
- "name": "isExecutor",
192
- "type": "bool"
193
- }
194
- ],
195
- "name": "SetExecutor",
196
- "type": "event"
197
- },
198
- {
199
- "anonymous": false,
200
- "inputs": [
201
- {
202
- "indexed": true,
203
- "internalType": "address",
204
- "name": "owner",
205
- "type": "address"
206
- },
207
- {
208
- "indexed": false,
209
- "internalType": "uint32",
210
- "name": "boxId",
211
- "type": "uint32"
212
- },
213
- {
214
- "indexed": false,
215
- "internalType": "address",
216
- "name": "tokenSpent",
217
- "type": "address"
218
- },
219
- {
220
- "indexed": false,
221
- "internalType": "uint256",
222
- "name": "amountSpent",
223
- "type": "uint256"
224
- },
225
- {
226
- "indexed": false,
227
- "internalType": "uint256",
228
- "name": "amountFee",
229
- "type": "uint256"
230
- },
231
- {
232
- "indexed": false,
233
- "internalType": "address",
234
- "name": "tokenReceived",
235
- "type": "address"
236
- },
237
- {
238
- "indexed": false,
239
- "internalType": "uint256",
240
- "name": "netTokenReceived",
241
- "type": "uint256"
242
- },
243
- {
244
- "indexed": false,
245
- "internalType": "bool",
246
- "name": "pullFromOwner",
247
- "type": "bool"
248
- },
249
- {
250
- "indexed": false,
251
- "internalType": "bool",
252
- "name": "sendToOwner",
253
- "type": "bool"
254
- }
255
- ],
256
- "name": "SwapToken",
257
- "type": "event"
258
- },
259
- {
260
- "anonymous": false,
261
- "inputs": [
262
- {
263
- "indexed": true,
264
- "internalType": "address",
265
- "name": "owner",
266
- "type": "address"
267
- },
268
- {
269
- "indexed": false,
270
- "internalType": "uint32",
271
- "name": "boxId",
272
- "type": "uint32"
273
- },
274
- {
275
- "indexed": false,
276
- "internalType": "address",
277
- "name": "token",
278
- "type": "address"
279
- },
280
- {
281
- "indexed": false,
282
- "internalType": "uint256",
283
- "name": "amountWithdraw",
284
- "type": "uint256"
285
- },
286
- {
287
- "indexed": false,
288
- "internalType": "uint256",
289
- "name": "amountFee",
290
- "type": "uint256"
291
- }
292
- ],
293
- "name": "WithdrawToken",
294
- "type": "event"
295
- },
296
- {
297
- "inputs": [],
298
- "name": "BEACON_PROXY_CODE_CONTRACT",
299
- "outputs": [
300
- {
301
- "internalType": "address",
302
- "name": "",
303
- "type": "address"
304
- }
305
- ],
306
- "stateMutability": "view",
307
- "type": "function"
308
- },
309
- {
310
- "inputs": [],
311
- "name": "DEPOSIT_BOX_BEACON",
312
- "outputs": [
313
- {
314
- "internalType": "address",
315
- "name": "",
316
- "type": "address"
317
- }
318
- ],
319
- "stateMutability": "view",
320
- "type": "function"
321
- },
322
- {
323
- "inputs": [],
324
- "name": "DEPOSIT_BOX_CODE_HASH",
325
- "outputs": [
326
- {
327
- "internalType": "bytes32",
328
- "name": "",
329
- "type": "bytes32"
330
- }
331
- ],
332
- "stateMutability": "view",
333
- "type": "function"
334
- },
335
- {
336
- "inputs": [],
337
- "name": "TREASURY",
338
- "outputs": [
339
- {
340
- "internalType": "address",
341
- "name": "",
342
- "type": "address"
343
- }
344
- ],
345
- "stateMutability": "view",
346
- "type": "function"
347
- },
348
- {
349
- "inputs": [
350
- {
351
- "components": [
352
- {
353
- "internalType": "address",
354
- "name": "owner",
355
- "type": "address"
356
- },
357
- {
358
- "internalType": "uint32",
359
- "name": "boxId",
360
- "type": "uint32"
361
- },
362
- {
363
- "internalType": "uint256",
364
- "name": "expiry",
365
- "type": "uint256"
366
- },
367
- {
368
- "internalType": "uint256",
369
- "name": "nonce",
370
- "type": "uint256"
371
- },
372
- {
373
- "internalType": "address",
374
- "name": "token",
375
- "type": "address"
376
- },
377
- {
378
- "internalType": "uint256",
379
- "name": "amountBridge",
380
- "type": "uint256"
381
- },
382
- {
383
- "internalType": "uint256",
384
- "name": "amountFee",
385
- "type": "uint256"
386
- },
387
- {
388
- "internalType": "bool",
389
- "name": "pullFromOwner",
390
- "type": "bool"
391
- },
392
- {
393
- "internalType": "address",
394
- "name": "bridgeExtRouter",
395
- "type": "address"
396
- },
397
- {
398
- "internalType": "address",
399
- "name": "bridgeApprove",
400
- "type": "address"
401
- },
402
- {
403
- "internalType": "bytes",
404
- "name": "bridgeCalldata",
405
- "type": "bytes"
406
- }
407
- ],
408
- "internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
409
- "name": "message",
410
- "type": "tuple"
411
- },
412
- {
413
- "internalType": "bytes",
414
- "name": "signature",
415
- "type": "bytes"
416
- }
417
- ],
418
- "name": "bridgeToken",
419
- "outputs": [],
420
- "stateMutability": "payable",
421
- "type": "function"
422
- },
423
- {
424
- "inputs": [
425
- {
426
- "components": [
427
- {
428
- "internalType": "address",
429
- "name": "owner",
430
- "type": "address"
431
- },
432
- {
433
- "internalType": "uint32",
434
- "name": "boxId",
435
- "type": "uint32"
436
- },
437
- {
438
- "internalType": "uint256",
439
- "name": "expiry",
440
- "type": "uint256"
441
- },
442
- {
443
- "internalType": "uint256",
444
- "name": "nonce",
445
- "type": "uint256"
446
- },
447
- {
448
- "internalType": "address",
449
- "name": "tokenSpent",
450
- "type": "address"
451
- },
452
- {
453
- "internalType": "uint256",
454
- "name": "amountSpent",
455
- "type": "uint256"
456
- },
457
- {
458
- "internalType": "uint256",
459
- "name": "amountFee",
460
- "type": "uint256"
461
- },
462
- {
463
- "internalType": "address",
464
- "name": "ptAdapter",
465
- "type": "address"
466
- },
467
- {
468
- "internalType": "uint256",
469
- "name": "minPtReceived",
470
- "type": "uint256"
471
- },
472
- {
473
- "internalType": "uint32",
474
- "name": "dstEid",
475
- "type": "uint32"
476
- },
477
- {
478
- "internalType": "bytes32",
479
- "name": "receiver",
480
- "type": "bytes32"
481
- },
482
- {
483
- "internalType": "bool",
484
- "name": "pullFromOwner",
485
- "type": "bool"
486
- },
487
- {
488
- "internalType": "address",
489
- "name": "swapExtRouter",
490
- "type": "address"
491
- },
492
- {
493
- "internalType": "address",
494
- "name": "swapApprove",
495
- "type": "address"
496
- },
497
- {
498
- "internalType": "bytes",
499
- "name": "swapCalldata",
500
- "type": "bytes"
501
- }
502
- ],
503
- "internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
504
- "name": "message",
505
- "type": "tuple"
506
- },
507
- {
508
- "internalType": "bytes",
509
- "name": "signature",
510
- "type": "bytes"
511
- }
512
- ],
513
- "name": "buyCrossChainPt",
514
- "outputs": [],
515
- "stateMutability": "payable",
516
- "type": "function"
517
- },
518
- {
519
- "inputs": [],
520
- "name": "claimOwnership",
521
- "outputs": [],
522
- "stateMutability": "nonpayable",
523
- "type": "function"
524
- },
525
- {
526
- "inputs": [
527
- {
528
- "internalType": "address",
529
- "name": "owner",
530
- "type": "address"
531
- },
532
- {
533
- "internalType": "uint32",
534
- "name": "boxId",
535
- "type": "uint32"
536
- }
537
- ],
538
- "name": "computeDepositBox",
539
- "outputs": [
540
- {
541
- "internalType": "address",
542
- "name": "box",
543
- "type": "address"
544
- },
545
- {
546
- "internalType": "bytes32",
547
- "name": "salt",
548
- "type": "bytes32"
549
- },
550
- {
551
- "internalType": "bool",
552
- "name": "deployed",
553
- "type": "bool"
554
- }
555
- ],
556
- "stateMutability": "view",
557
- "type": "function"
558
- },
559
- {
560
- "inputs": [],
561
- "name": "eip712Domain",
562
- "outputs": [
563
- {
564
- "internalType": "bytes1",
565
- "name": "fields",
566
- "type": "bytes1"
567
- },
568
- {
569
- "internalType": "string",
570
- "name": "name",
571
- "type": "string"
572
- },
573
- {
574
- "internalType": "string",
575
- "name": "version",
576
- "type": "string"
577
- },
578
- {
579
- "internalType": "uint256",
580
- "name": "chainId",
581
- "type": "uint256"
582
- },
583
- {
584
- "internalType": "address",
585
- "name": "verifyingContract",
586
- "type": "address"
587
- },
588
- {
589
- "internalType": "bytes32",
590
- "name": "salt",
591
- "type": "bytes32"
592
- },
593
- {
594
- "internalType": "uint256[]",
595
- "name": "extensions",
596
- "type": "uint256[]"
597
- }
598
- ],
599
- "stateMutability": "view",
600
- "type": "function"
601
- },
602
- {
603
- "inputs": [
604
- {
605
- "components": [
606
- {
607
- "internalType": "address",
608
- "name": "owner",
609
- "type": "address"
610
- },
611
- {
612
- "internalType": "uint32",
613
- "name": "boxId",
614
- "type": "uint32"
615
- },
616
- {
617
- "internalType": "uint256",
618
- "name": "expiry",
619
- "type": "uint256"
620
- },
621
- {
622
- "internalType": "uint256",
623
- "name": "nonce",
624
- "type": "uint256"
625
- },
626
- {
627
- "internalType": "address",
628
- "name": "tokenSpent",
629
- "type": "address"
630
- },
631
- {
632
- "internalType": "uint256",
633
- "name": "amountSpent",
634
- "type": "uint256"
635
- },
636
- {
637
- "internalType": "uint256",
638
- "name": "amountFee",
639
- "type": "uint256"
640
- },
641
- {
642
- "internalType": "address",
643
- "name": "tokenReceived",
644
- "type": "address"
645
- },
646
- {
647
- "internalType": "uint256",
648
- "name": "minReceived",
649
- "type": "uint256"
650
- },
651
- {
652
- "internalType": "bool",
653
- "name": "pullFromOwner",
654
- "type": "bool"
655
- },
656
- {
657
- "internalType": "bool",
658
- "name": "sendToOwner",
659
- "type": "bool"
660
- },
661
- {
662
- "internalType": "address",
663
- "name": "swapExtRouter",
664
- "type": "address"
665
- },
666
- {
667
- "internalType": "address",
668
- "name": "swapApprove",
669
- "type": "address"
670
- },
671
- {
672
- "internalType": "bytes",
673
- "name": "swapCalldata",
674
- "type": "bytes"
675
- }
676
- ],
677
- "internalType": "struct IPCrossChainSwapHub.SwapTokenMessage",
678
- "name": "message",
679
- "type": "tuple"
680
- }
681
- ],
682
- "name": "hashTypedData",
683
- "outputs": [
684
- {
685
- "internalType": "bytes32",
686
- "name": "",
687
- "type": "bytes32"
688
- }
689
- ],
690
- "stateMutability": "view",
691
- "type": "function"
692
- },
693
- {
694
- "inputs": [
695
- {
696
- "components": [
697
- {
698
- "internalType": "address",
699
- "name": "owner",
700
- "type": "address"
701
- },
702
- {
703
- "internalType": "uint32",
704
- "name": "boxId",
705
- "type": "uint32"
706
- },
707
- {
708
- "internalType": "uint256",
709
- "name": "expiry",
710
- "type": "uint256"
711
- },
712
- {
713
- "internalType": "uint256",
714
- "name": "nonce",
715
- "type": "uint256"
716
- },
717
- {
718
- "internalType": "address",
719
- "name": "token",
720
- "type": "address"
721
- },
722
- {
723
- "internalType": "uint256",
724
- "name": "amountWithdraw",
725
- "type": "uint256"
726
- },
727
- {
728
- "internalType": "uint256",
729
- "name": "amountFee",
730
- "type": "uint256"
731
- }
732
- ],
733
- "internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
734
- "name": "message",
735
- "type": "tuple"
736
- }
737
- ],
738
- "name": "hashTypedData",
739
- "outputs": [
740
- {
741
- "internalType": "bytes32",
742
- "name": "",
743
- "type": "bytes32"
744
- }
745
- ],
746
- "stateMutability": "view",
747
- "type": "function"
748
- },
749
- {
750
- "inputs": [
751
- {
752
- "components": [
753
- {
754
- "internalType": "address",
755
- "name": "owner",
756
- "type": "address"
757
- },
758
- {
759
- "internalType": "uint32",
760
- "name": "boxId",
761
- "type": "uint32"
762
- },
763
- {
764
- "internalType": "uint256",
765
- "name": "expiry",
766
- "type": "uint256"
767
- },
768
- {
769
- "internalType": "uint256",
770
- "name": "nonce",
771
- "type": "uint256"
772
- },
773
- {
774
- "internalType": "address",
775
- "name": "tokenSpent",
776
- "type": "address"
777
- },
778
- {
779
- "internalType": "uint256",
780
- "name": "amountSpent",
781
- "type": "uint256"
782
- },
783
- {
784
- "internalType": "uint256",
785
- "name": "amountFee",
786
- "type": "uint256"
787
- },
788
- {
789
- "internalType": "address",
790
- "name": "ptAdapter",
791
- "type": "address"
792
- },
793
- {
794
- "internalType": "uint256",
795
- "name": "minPtReceived",
796
- "type": "uint256"
797
- },
798
- {
799
- "internalType": "uint32",
800
- "name": "dstEid",
801
- "type": "uint32"
802
- },
803
- {
804
- "internalType": "bytes32",
805
- "name": "receiver",
806
- "type": "bytes32"
807
- },
808
- {
809
- "internalType": "bool",
810
- "name": "pullFromOwner",
811
- "type": "bool"
812
- },
813
- {
814
- "internalType": "address",
815
- "name": "swapExtRouter",
816
- "type": "address"
817
- },
818
- {
819
- "internalType": "address",
820
- "name": "swapApprove",
821
- "type": "address"
822
- },
823
- {
824
- "internalType": "bytes",
825
- "name": "swapCalldata",
826
- "type": "bytes"
827
- }
828
- ],
829
- "internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
830
- "name": "message",
831
- "type": "tuple"
832
- }
833
- ],
834
- "name": "hashTypedData",
835
- "outputs": [
836
- {
837
- "internalType": "bytes32",
838
- "name": "",
839
- "type": "bytes32"
840
- }
841
- ],
842
- "stateMutability": "view",
843
- "type": "function"
844
- },
845
- {
846
- "inputs": [
847
- {
848
- "components": [
849
- {
850
- "internalType": "address",
851
- "name": "owner",
852
- "type": "address"
853
- },
854
- {
855
- "internalType": "uint32",
856
- "name": "boxId",
857
- "type": "uint32"
858
- },
859
- {
860
- "internalType": "uint256",
861
- "name": "expiry",
862
- "type": "uint256"
863
- },
864
- {
865
- "internalType": "uint256",
866
- "name": "nonce",
867
- "type": "uint256"
868
- },
869
- {
870
- "internalType": "address",
871
- "name": "token",
872
- "type": "address"
873
- },
874
- {
875
- "internalType": "uint256",
876
- "name": "amountBridge",
877
- "type": "uint256"
878
- },
879
- {
880
- "internalType": "uint256",
881
- "name": "amountFee",
882
- "type": "uint256"
883
- },
884
- {
885
- "internalType": "bool",
886
- "name": "pullFromOwner",
887
- "type": "bool"
888
- },
889
- {
890
- "internalType": "address",
891
- "name": "bridgeExtRouter",
892
- "type": "address"
893
- },
894
- {
895
- "internalType": "address",
896
- "name": "bridgeApprove",
897
- "type": "address"
898
- },
899
- {
900
- "internalType": "bytes",
901
- "name": "bridgeCalldata",
902
- "type": "bytes"
903
- }
904
- ],
905
- "internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
906
- "name": "message",
907
- "type": "tuple"
908
- }
909
- ],
910
- "name": "hashTypedData",
911
- "outputs": [
912
- {
913
- "internalType": "bytes32",
914
- "name": "",
915
- "type": "bytes32"
916
- }
917
- ],
918
- "stateMutability": "view",
919
- "type": "function"
920
- },
921
- {
922
- "inputs": [
923
- {
924
- "internalType": "address",
925
- "name": "executor",
926
- "type": "address"
927
- }
928
- ],
929
- "name": "isExecutor",
930
- "outputs": [
931
- {
932
- "internalType": "bool",
933
- "name": "",
934
- "type": "bool"
935
- }
936
- ],
937
- "stateMutability": "view",
938
- "type": "function"
939
- },
940
- {
941
- "inputs": [],
942
- "name": "owner",
943
- "outputs": [
944
- {
945
- "internalType": "address",
946
- "name": "",
947
- "type": "address"
948
- }
949
- ],
950
- "stateMutability": "view",
951
- "type": "function"
952
- },
953
- {
954
- "inputs": [
955
- {
956
- "internalType": "address",
957
- "name": "owner",
958
- "type": "address"
959
- }
960
- ],
961
- "name": "ownerNonce",
962
- "outputs": [
963
- {
964
- "internalType": "uint256",
965
- "name": "nonce",
966
- "type": "uint256"
967
- }
968
- ],
969
- "stateMutability": "view",
970
- "type": "function"
971
- },
972
- {
973
- "inputs": [],
974
- "name": "pendingOwner",
975
- "outputs": [
976
- {
977
- "internalType": "address",
978
- "name": "",
979
- "type": "address"
980
- }
981
- ],
982
- "stateMutability": "view",
983
- "type": "function"
984
- },
985
- {
986
- "inputs": [
987
- {
988
- "internalType": "address",
989
- "name": "executor",
990
- "type": "address"
991
- },
992
- {
993
- "internalType": "bool",
994
- "name": "isExecutor_",
995
- "type": "bool"
996
- }
997
- ],
998
- "name": "setExecutor",
999
- "outputs": [],
1000
- "stateMutability": "nonpayable",
1001
- "type": "function"
1002
- },
1003
- {
1004
- "inputs": [
1005
- {
1006
- "components": [
1007
- {
1008
- "internalType": "address",
1009
- "name": "owner",
1010
- "type": "address"
1011
- },
1012
- {
1013
- "internalType": "uint32",
1014
- "name": "boxId",
1015
- "type": "uint32"
1016
- },
1017
- {
1018
- "internalType": "uint256",
1019
- "name": "expiry",
1020
- "type": "uint256"
1021
- },
1022
- {
1023
- "internalType": "uint256",
1024
- "name": "nonce",
1025
- "type": "uint256"
1026
- },
1027
- {
1028
- "internalType": "address",
1029
- "name": "tokenSpent",
1030
- "type": "address"
1031
- },
1032
- {
1033
- "internalType": "uint256",
1034
- "name": "amountSpent",
1035
- "type": "uint256"
1036
- },
1037
- {
1038
- "internalType": "uint256",
1039
- "name": "amountFee",
1040
- "type": "uint256"
1041
- },
1042
- {
1043
- "internalType": "address",
1044
- "name": "tokenReceived",
1045
- "type": "address"
1046
- },
1047
- {
1048
- "internalType": "uint256",
1049
- "name": "minReceived",
1050
- "type": "uint256"
1051
- },
1052
- {
1053
- "internalType": "bool",
1054
- "name": "pullFromOwner",
1055
- "type": "bool"
1056
- },
1057
- {
1058
- "internalType": "bool",
1059
- "name": "sendToOwner",
1060
- "type": "bool"
1061
- },
1062
- {
1063
- "internalType": "address",
1064
- "name": "swapExtRouter",
1065
- "type": "address"
1066
- },
1067
- {
1068
- "internalType": "address",
1069
- "name": "swapApprove",
1070
- "type": "address"
1071
- },
1072
- {
1073
- "internalType": "bytes",
1074
- "name": "swapCalldata",
1075
- "type": "bytes"
1076
- }
1077
- ],
1078
- "internalType": "struct IPCrossChainSwapHub.SwapTokenMessage",
1079
- "name": "message",
1080
- "type": "tuple"
1081
- },
1082
- {
1083
- "internalType": "bytes",
1084
- "name": "signature",
1085
- "type": "bytes"
1086
- }
1087
- ],
1088
- "name": "swapToken",
1089
- "outputs": [],
1090
- "stateMutability": "nonpayable",
1091
- "type": "function"
1092
- },
1093
- {
1094
- "inputs": [
1095
- {
1096
- "internalType": "address",
1097
- "name": "newOwner",
1098
- "type": "address"
1099
- },
1100
- {
1101
- "internalType": "bool",
1102
- "name": "direct",
1103
- "type": "bool"
1104
- },
1105
- {
1106
- "internalType": "bool",
1107
- "name": "renounce",
1108
- "type": "bool"
1109
- }
1110
- ],
1111
- "name": "transferOwnership",
1112
- "outputs": [],
1113
- "stateMutability": "nonpayable",
1114
- "type": "function"
1115
- },
1116
- {
1117
- "inputs": [
1118
- {
1119
- "components": [
1120
- {
1121
- "internalType": "address",
1122
- "name": "owner",
1123
- "type": "address"
1124
- },
1125
- {
1126
- "internalType": "uint32",
1127
- "name": "boxId",
1128
- "type": "uint32"
1129
- },
1130
- {
1131
- "internalType": "uint256",
1132
- "name": "expiry",
1133
- "type": "uint256"
1134
- },
1135
- {
1136
- "internalType": "uint256",
1137
- "name": "nonce",
1138
- "type": "uint256"
1139
- },
1140
- {
1141
- "internalType": "address",
1142
- "name": "token",
1143
- "type": "address"
1144
- },
1145
- {
1146
- "internalType": "uint256",
1147
- "name": "amountWithdraw",
1148
- "type": "uint256"
1149
- },
1150
- {
1151
- "internalType": "uint256",
1152
- "name": "amountFee",
1153
- "type": "uint256"
1154
- }
1155
- ],
1156
- "internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
1157
- "name": "message",
1158
- "type": "tuple"
1159
- },
1160
- {
1161
- "internalType": "bytes",
1162
- "name": "signature",
1163
- "type": "bytes"
1164
- }
1165
- ],
1166
- "name": "withdrawToken",
1167
- "outputs": [],
1168
- "stateMutability": "nonpayable",
1169
- "type": "function"
1170
- }
1171
- ],
1172
- "bytecode": "0x",
1173
- "deployedBytecode": "0x",
1174
- "linkReferences": {},
1175
- "deployedLinkReferences": {}
1176
- }