@pendle/core-v2 6.4.1 → 6.4.2-swaphubtest2

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 (371) 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/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -2
  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/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  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/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +2 -2
  29. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
  37. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  39. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +2 -2
  54. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +4 -0
  55. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.json +170 -0
  56. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +4 -0
  57. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.json +124 -0
  58. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  59. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  60. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  61. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +4 -0
  62. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +981 -0
  63. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +4 -0
  64. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +952 -0
  65. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  66. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  67. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  68. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +4 -0
  103. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +789 -0
  104. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +4 -0
  105. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +124 -0
  106. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +4 -0
  107. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.json +108 -0
  108. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  154. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  155. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  156. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  157. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  158. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  168. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  172. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  176. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  178. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +2 -2
  181. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
  186. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
  188. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  199. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  202. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  204. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  212. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  213. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  214. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  215. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  221. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  222. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  223. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  224. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  225. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  226. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  227. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  228. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  230. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  232. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  233. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  234. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  235. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  236. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  237. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  238. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  239. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  240. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  243. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  245. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
  247. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  249. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  251. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  253. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  254. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  255. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  256. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  257. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  258. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  259. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  260. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  261. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  262. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  263. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  264. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  265. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  266. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  267. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  268. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  269. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  270. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  271. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  272. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  273. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  274. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  275. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  276. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  277. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  278. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  279. package/contracts/core/libraries/TokenHelper.sol +5 -1
  280. package/contracts/cross-chain/deposit-box/DepositBox.sol +66 -0
  281. package/contracts/cross-chain/deposit-box/DepositBoxFactory.sol +44 -0
  282. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +90 -0
  283. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +197 -0
  284. package/contracts/interfaces/IPCrossChainSwapHub.sol +116 -0
  285. package/contracts/interfaces/IPDepositBox.sol +22 -0
  286. package/contracts/interfaces/IPDepositBoxFactory.sol +19 -0
  287. package/deployments/130-core.json +2 -1
  288. package/deployments/9745-core.json +3 -2
  289. package/deployments/999-core.json +5 -5
  290. package/package.json +2 -2
  291. package/typechain-types/DepositBox.ts +260 -0
  292. package/typechain-types/DepositBoxFactory.ts +226 -0
  293. package/typechain-types/IPCrossChainSwapHub.ts +691 -0
  294. package/typechain-types/IPDepositBox.ts +213 -0
  295. package/typechain-types/IPDepositBoxFactory.ts +226 -0
  296. package/typechain-types/PendleCrossChainSwapHub.ts +946 -0
  297. package/typechain-types/SwapHubBase.ts +921 -0
  298. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  299. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  300. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  301. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  302. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  303. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  304. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  305. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  306. package/typechain-types/factories/DepositBoxFactory__factory.ts +189 -0
  307. package/typechain-types/factories/DepositBox__factory.ts +222 -0
  308. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  309. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  310. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +804 -0
  311. package/typechain-types/factories/IPDepositBoxFactory__factory.ts +123 -0
  312. package/typechain-types/factories/IPDepositBox__factory.ts +136 -0
  313. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  314. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  315. package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +1 -1
  316. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  317. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1050 -0
  318. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  319. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
  320. package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
  321. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  322. package/typechain-types/factories/PendleMarketV6__factory.ts +1 -1
  323. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
  324. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
  325. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  326. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  327. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  328. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
  329. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  330. package/typechain-types/factories/Reflector__factory.ts +1 -1
  331. package/typechain-types/factories/SwapHubBase__factory.ts +964 -0
  332. package/typechain-types/hardhat.d.ts +72 -36
  333. package/typechain-types/index.ts +14 -8
  334. package/typechain-types/ActionDelegateBase.ts +0 -57
  335. package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
  336. package/typechain-types/EIP712.ts +0 -135
  337. package/typechain-types/ERC20Permit.ts +0 -586
  338. package/typechain-types/IERC5267.ts +0 -135
  339. package/typechain-types/IPMarketFactoryV3.ts +0 -321
  340. package/typechain-types/IPMarketV3.ts +0 -1068
  341. package/typechain-types/LimitBackendHelper.ts +0 -287
  342. package/typechain-types/OverfillMathLib.ts +0 -81
  343. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
  344. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
  345. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
  346. package/typechain-types/PendleERC20Permit.ts +0 -508
  347. package/typechain-types/PendleERC20PermitUpg.ts +0 -517
  348. package/typechain-types/PendleERC20Upg.ts +0 -348
  349. package/typechain-types/PendleMarketFactoryV3.ts +0 -719
  350. package/typechain-types/PendleMarketV3.ts +0 -1195
  351. package/typechain-types/PendleYieldContractFactory.ts +0 -801
  352. package/typechain-types/ShortStrings.ts +0 -57
  353. package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -80
  354. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +0 -1548
  355. package/typechain-types/factories/EIP712__factory.ts +0 -85
  356. package/typechain-types/factories/ERC20Permit__factory.ts +0 -433
  357. package/typechain-types/factories/IERC5267__factory.ts +0 -72
  358. package/typechain-types/factories/IPMarketFactoryV3__factory.ts +0 -217
  359. package/typechain-types/factories/IPMarketV3__factory.ts +0 -845
  360. package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
  361. package/typechain-types/factories/OverfillMathLib__factory.ts +0 -77
  362. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
  363. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
  364. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
  365. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
  366. package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -470
  367. package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
  368. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +0 -714
  369. package/typechain-types/factories/PendleMarketV3__factory.ts +0 -1211
  370. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +0 -674
  371. package/typechain-types/factories/ShortStrings__factory.ts +0 -77
@@ -1,470 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- Signer,
6
- utils,
7
- Contract,
8
- ContractFactory,
9
- Overrides,
10
- BigNumberish,
11
- } from "ethers";
12
- import { Provider, TransactionRequest } from "@ethersproject/providers";
13
- import type {
14
- PendleERC20Permit,
15
- PendleERC20PermitInterface,
16
- } from "../PendleERC20Permit";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "string",
23
- name: "name_",
24
- type: "string",
25
- },
26
- {
27
- internalType: "string",
28
- name: "symbol_",
29
- type: "string",
30
- },
31
- {
32
- internalType: "uint8",
33
- name: "decimals_",
34
- type: "uint8",
35
- },
36
- ],
37
- stateMutability: "nonpayable",
38
- type: "constructor",
39
- },
40
- {
41
- inputs: [],
42
- name: "InvalidShortString",
43
- type: "error",
44
- },
45
- {
46
- inputs: [
47
- {
48
- internalType: "string",
49
- name: "str",
50
- type: "string",
51
- },
52
- ],
53
- name: "StringTooLong",
54
- type: "error",
55
- },
56
- {
57
- anonymous: false,
58
- inputs: [
59
- {
60
- indexed: true,
61
- internalType: "address",
62
- name: "owner",
63
- type: "address",
64
- },
65
- {
66
- indexed: true,
67
- internalType: "address",
68
- name: "spender",
69
- type: "address",
70
- },
71
- {
72
- indexed: false,
73
- internalType: "uint256",
74
- name: "value",
75
- type: "uint256",
76
- },
77
- ],
78
- name: "Approval",
79
- type: "event",
80
- },
81
- {
82
- anonymous: false,
83
- inputs: [],
84
- name: "EIP712DomainChanged",
85
- type: "event",
86
- },
87
- {
88
- anonymous: false,
89
- inputs: [
90
- {
91
- indexed: true,
92
- internalType: "address",
93
- name: "from",
94
- type: "address",
95
- },
96
- {
97
- indexed: true,
98
- internalType: "address",
99
- name: "to",
100
- type: "address",
101
- },
102
- {
103
- indexed: false,
104
- internalType: "uint256",
105
- name: "value",
106
- type: "uint256",
107
- },
108
- ],
109
- name: "Transfer",
110
- type: "event",
111
- },
112
- {
113
- inputs: [],
114
- name: "DOMAIN_SEPARATOR",
115
- outputs: [
116
- {
117
- internalType: "bytes32",
118
- name: "",
119
- type: "bytes32",
120
- },
121
- ],
122
- stateMutability: "view",
123
- type: "function",
124
- },
125
- {
126
- inputs: [
127
- {
128
- internalType: "address",
129
- name: "owner",
130
- type: "address",
131
- },
132
- {
133
- internalType: "address",
134
- name: "spender",
135
- type: "address",
136
- },
137
- ],
138
- name: "allowance",
139
- outputs: [
140
- {
141
- internalType: "uint256",
142
- name: "",
143
- type: "uint256",
144
- },
145
- ],
146
- stateMutability: "view",
147
- type: "function",
148
- },
149
- {
150
- inputs: [
151
- {
152
- internalType: "address",
153
- name: "spender",
154
- type: "address",
155
- },
156
- {
157
- internalType: "uint256",
158
- name: "amount",
159
- type: "uint256",
160
- },
161
- ],
162
- name: "approve",
163
- outputs: [
164
- {
165
- internalType: "bool",
166
- name: "",
167
- type: "bool",
168
- },
169
- ],
170
- stateMutability: "nonpayable",
171
- type: "function",
172
- },
173
- {
174
- inputs: [
175
- {
176
- internalType: "address",
177
- name: "account",
178
- type: "address",
179
- },
180
- ],
181
- name: "balanceOf",
182
- outputs: [
183
- {
184
- internalType: "uint256",
185
- name: "",
186
- type: "uint256",
187
- },
188
- ],
189
- stateMutability: "view",
190
- type: "function",
191
- },
192
- {
193
- inputs: [],
194
- name: "decimals",
195
- outputs: [
196
- {
197
- internalType: "uint8",
198
- name: "",
199
- type: "uint8",
200
- },
201
- ],
202
- stateMutability: "view",
203
- type: "function",
204
- },
205
- {
206
- inputs: [],
207
- name: "eip712Domain",
208
- outputs: [
209
- {
210
- internalType: "bytes1",
211
- name: "fields",
212
- type: "bytes1",
213
- },
214
- {
215
- internalType: "string",
216
- name: "name",
217
- type: "string",
218
- },
219
- {
220
- internalType: "string",
221
- name: "version",
222
- type: "string",
223
- },
224
- {
225
- internalType: "uint256",
226
- name: "chainId",
227
- type: "uint256",
228
- },
229
- {
230
- internalType: "address",
231
- name: "verifyingContract",
232
- type: "address",
233
- },
234
- {
235
- internalType: "bytes32",
236
- name: "salt",
237
- type: "bytes32",
238
- },
239
- {
240
- internalType: "uint256[]",
241
- name: "extensions",
242
- type: "uint256[]",
243
- },
244
- ],
245
- stateMutability: "view",
246
- type: "function",
247
- },
248
- {
249
- inputs: [],
250
- name: "name",
251
- outputs: [
252
- {
253
- internalType: "string",
254
- name: "",
255
- type: "string",
256
- },
257
- ],
258
- stateMutability: "view",
259
- type: "function",
260
- },
261
- {
262
- inputs: [
263
- {
264
- internalType: "address",
265
- name: "owner",
266
- type: "address",
267
- },
268
- ],
269
- name: "nonces",
270
- outputs: [
271
- {
272
- internalType: "uint256",
273
- name: "",
274
- type: "uint256",
275
- },
276
- ],
277
- stateMutability: "view",
278
- type: "function",
279
- },
280
- {
281
- inputs: [
282
- {
283
- internalType: "address",
284
- name: "owner",
285
- type: "address",
286
- },
287
- {
288
- internalType: "address",
289
- name: "spender",
290
- type: "address",
291
- },
292
- {
293
- internalType: "uint256",
294
- name: "value",
295
- type: "uint256",
296
- },
297
- {
298
- internalType: "uint256",
299
- name: "deadline",
300
- type: "uint256",
301
- },
302
- {
303
- internalType: "uint8",
304
- name: "v",
305
- type: "uint8",
306
- },
307
- {
308
- internalType: "bytes32",
309
- name: "r",
310
- type: "bytes32",
311
- },
312
- {
313
- internalType: "bytes32",
314
- name: "s",
315
- type: "bytes32",
316
- },
317
- ],
318
- name: "permit",
319
- outputs: [],
320
- stateMutability: "nonpayable",
321
- type: "function",
322
- },
323
- {
324
- inputs: [],
325
- name: "symbol",
326
- outputs: [
327
- {
328
- internalType: "string",
329
- name: "",
330
- type: "string",
331
- },
332
- ],
333
- stateMutability: "view",
334
- type: "function",
335
- },
336
- {
337
- inputs: [],
338
- name: "totalSupply",
339
- outputs: [
340
- {
341
- internalType: "uint256",
342
- name: "",
343
- type: "uint256",
344
- },
345
- ],
346
- stateMutability: "view",
347
- type: "function",
348
- },
349
- {
350
- inputs: [
351
- {
352
- internalType: "address",
353
- name: "to",
354
- type: "address",
355
- },
356
- {
357
- internalType: "uint256",
358
- name: "amount",
359
- type: "uint256",
360
- },
361
- ],
362
- name: "transfer",
363
- outputs: [
364
- {
365
- internalType: "bool",
366
- name: "",
367
- type: "bool",
368
- },
369
- ],
370
- stateMutability: "nonpayable",
371
- type: "function",
372
- },
373
- {
374
- inputs: [
375
- {
376
- internalType: "address",
377
- name: "from",
378
- type: "address",
379
- },
380
- {
381
- internalType: "address",
382
- name: "to",
383
- type: "address",
384
- },
385
- {
386
- internalType: "uint256",
387
- name: "amount",
388
- type: "uint256",
389
- },
390
- ],
391
- name: "transferFrom",
392
- outputs: [
393
- {
394
- internalType: "bool",
395
- name: "",
396
- type: "bool",
397
- },
398
- ],
399
- stateMutability: "nonpayable",
400
- type: "function",
401
- },
402
- ];
403
-
404
- const _bytecode =
405
- "0x610180604052348015610010575f5ffd5b5060405161162538038061162583398101604081905261002f91610271565b6040805180820190915260018152603160f81b6020820152839081848460036100588482610372565b5060046100658382610372565b5060ff166080525050600280546001600160f81b0316600160f81b17905561008e82600561013d565b6101405261009d81600661013d565b61016052815160208084019190912061010052815190820120610120524660c05261012b6101005161012051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60a05250503060e05250610481915050565b5f602083511015610158576101518361016f565b9050610169565b816101638482610372565b5060ff90505b92915050565b5f5f829050601f815111156101a2578260405163305a27a960e01b8152600401610199919061042c565b60405180910390fd5b80516101ad8261045e565b179392505050565b634e487b7160e01b5f52604160045260245ffd5b5f5b838110156101e35781810151838201526020016101cb565b50505f910152565b5f82601f8301126101fa575f5ffd5b81516001600160401b03811115610213576102136101b5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610241576102416101b5565b604052818152838201602001851015610258575f5ffd5b6102698260208301602087016101c9565b949350505050565b5f5f5f60608486031215610283575f5ffd5b83516001600160401b03811115610298575f5ffd5b6102a4868287016101eb565b602086015190945090506001600160401b038111156102c1575f5ffd5b6102cd868287016101eb565b925050604084015160ff811681146102e3575f5ffd5b809150509250925092565b600181811c9082168061030257607f821691505b60208210810361032057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561036d57805f5260205f20601f840160051c8101602085101561034b5750805b601f840160051c820191505b8181101561036a575f8155600101610357565b50505b505050565b81516001600160401b0381111561038b5761038b6101b5565b61039f8161039984546102ee565b84610326565b6020601f8211600181146103d1575f83156103ba5750848201515b5f19600385901b1c1916600184901b17845561036a565b5f84815260208120601f198516915b8281101561040057878501518255602094850194600190920191016103e0565b508482101561041d57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b602081525f825180602084015261044a8160408501602087016101c9565b601f01601f19169190910160400192915050565b80516020808301519190811015610320575f1960209190910360031b1b16919050565b60805160a05160c05160e051610100516101205161014051610160516111496104dc5f395f61038c01525f61036101525f610a8101525f610a5901525f6109b401525f6109de01525f610a0801525f61012501526111495ff3fe608060405234801561000f575f5ffd5b50600436106100ad575f3560e01c806306fdde03146100b1578063095ea7b3146100cf57806318160ddd146100f257806323b872dd1461010d578063313ce567146101205780633644e5151461015957806370a08231146101615780637ecebe001461018957806384b0196e1461019c57806395d89b41146101b7578063a9059cbb146101bf578063d505accf146101d2578063dd62ed3e146101e7575b5f5ffd5b6100b96101fa565b6040516100c69190610e94565b60405180910390f35b6100e26100dd366004610ec8565b61028a565b60405190151581526020016100c6565b6002546001600160f81b03165b6040519081526020016100c6565b6100e261011b366004610ef0565b6102a3565b6101477f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100c6565b6100ff610329565b6100ff61016f366004610f2a565b6001600160a01b03165f9081526020819052604090205490565b6100ff610197366004610f2a565b610337565b6101a4610354565b6040516100c69796959493929190610f43565b6100b96103db565b6100e26101cd366004610ec8565b6103ea565b6101e56101e0366004610fd9565b61045b565b005b6100ff6101f5366004611046565b6105bc565b60606003805461020990611077565b80601f016020809104026020016040519081016040528092919081815260200182805461023590611077565b80156102805780601f1061025757610100808354040283529160200191610280565b820191905f5260205f20905b81548152906001019060200180831161026357829003601f168201915b5050505050905090565b5f336102978185856105e6565b60019150505b92915050565b6002545f90600119600160f81b90910460ff16016102dc5760405162461bcd60e51b81526004016102d3906110a9565b60405180910390fd5b600280546001600160f81b0316600160f91b179055336102fd858285610709565b610308858585610781565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b5f6103326109a8565b905090565b6001600160a01b0381165f9081526007602052604081205461029d565b5f606080828080836103877f00000000000000000000000000000000000000000000000000000000000000006005610ad1565b6103b27f00000000000000000000000000000000000000000000000000000000000000006006610ad1565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461020990611077565b6002545f90600119600160f81b90910460ff160161041a5760405162461bcd60e51b81526004016102d3906110a9565b600280546001600160f81b0316600160f91b1790553361043b818585610781565b6001915050600280546001600160f81b0316600160f81b17905592915050565b834211156104ab5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016102d3565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104d98c610b7a565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61053382610ba1565b90505f61054282878787610bcd565b9050896001600160a01b0316816001600160a01b0316146105a55760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016102d3565b6105b08a8a8a6105e6565b50505050505050505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166106485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016102d3565b6001600160a01b0382166106a95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016102d3565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61071484846105bc565b90505f19811461077b578181101561076e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016102d3565b61077b84848484036105e6565b50505050565b6001600160a01b0383166107e55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016102d3565b6001600160a01b0382166108475760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016102d3565b816001600160a01b0316836001600160a01b0316036108a25760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016102d3565b6001600160a01b0383165f90815260208190526040902054818110156109195760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016102d3565b6001600160a01b038085165f9081526020819052604080822085850390559185168152908120805484929061094f9084906110e0565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161099b91815260200190565b60405180910390a361077b565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610a0057507f000000000000000000000000000000000000000000000000000000000000000046145b15610a2a57507f000000000000000000000000000000000000000000000000000000000000000090565b610332604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b606060ff8314610aeb57610ae483610bf3565b905061029d565b818054610af790611077565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2390611077565b8015610b6e5780601f10610b4557610100808354040283529160200191610b6e565b820191905f5260205f20905b815481529060010190602001808311610b5157829003601f168201915b5050505050905061029d565b6001600160a01b0381165f9081526007602052604090208054600181018255905b50919050565b5f61029d610bad6109a8565b8360405161190160f01b8152600281019290925260228201526042902090565b5f5f5f610bdc87878787610c30565b91509150610be981610ce3565b5095945050505050565b60605f610bff83610e2a565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115610c5b57505f90506003610cda565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610cac573d5f5f3e3d5ffd5b5050604051601f1901519150506001600160a01b038116610cd4575f60019250925050610cda565b91505f90505b94509492505050565b5f816004811115610cf657610cf66110ff565b03610cfe5750565b6001816004811115610d1257610d126110ff565b03610d5a5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016102d3565b6002816004811115610d6e57610d6e6110ff565b03610dbb5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016102d3565b6003816004811115610dcf57610dcf6110ff565b03610e275760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016102d3565b50565b5f60ff8216601f81111561029d57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015610e7557602081850181015186830182015201610e59565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f610ea66020830184610e51565b9392505050565b80356001600160a01b0381168114610ec3575f5ffd5b919050565b5f5f60408385031215610ed9575f5ffd5b610ee283610ead565b946020939093013593505050565b5f5f5f60608486031215610f02575f5ffd5b610f0b84610ead565b9250610f1960208501610ead565b929592945050506040919091013590565b5f60208284031215610f3a575f5ffd5b610ea682610ead565b60ff60f81b8816815260e060208201525f610f6160e0830189610e51565b8281036040840152610f738189610e51565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b81811015610fc8578351835260209384019390920191600101610faa565b50909b9a5050505050505050505050565b5f5f5f5f5f5f5f60e0888a031215610fef575f5ffd5b610ff888610ead565b965061100660208901610ead565b95506040880135945060608801359350608088013560ff81168114611029575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f60408385031215611057575f5ffd5b61106083610ead565b915061106e60208401610ead565b90509250929050565b600181811c9082168061108b57607f821691505b602082108103610b9b57634e487b7160e01b5f52602260045260245ffd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8082018082111561029d57634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52602160045260245ffdfea26469706673582212204ffab82f980fbe320cf0294e124f9be2007f98ca82a01f2af9d32f76780c015b64736f6c634300081e0033";
406
-
407
- type PendleERC20PermitConstructorParams =
408
- | [signer?: Signer]
409
- | ConstructorParameters<typeof ContractFactory>;
410
-
411
- const isSuperArgs = (
412
- xs: PendleERC20PermitConstructorParams
413
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
414
-
415
- export class PendleERC20Permit__factory extends ContractFactory {
416
- constructor(...args: PendleERC20PermitConstructorParams) {
417
- if (isSuperArgs(args)) {
418
- super(...args);
419
- } else {
420
- super(_abi, _bytecode, args[0]);
421
- }
422
- this.contractName = "PendleERC20Permit";
423
- }
424
-
425
- deploy(
426
- name_: string,
427
- symbol_: string,
428
- decimals_: BigNumberish,
429
- overrides?: Overrides & { from?: string | Promise<string> }
430
- ): Promise<PendleERC20Permit> {
431
- return super.deploy(
432
- name_,
433
- symbol_,
434
- decimals_,
435
- overrides || {}
436
- ) as Promise<PendleERC20Permit>;
437
- }
438
- getDeployTransaction(
439
- name_: string,
440
- symbol_: string,
441
- decimals_: BigNumberish,
442
- overrides?: Overrides & { from?: string | Promise<string> }
443
- ): TransactionRequest {
444
- return super.getDeployTransaction(
445
- name_,
446
- symbol_,
447
- decimals_,
448
- overrides || {}
449
- );
450
- }
451
- attach(address: string): PendleERC20Permit {
452
- return super.attach(address) as PendleERC20Permit;
453
- }
454
- connect(signer: Signer): PendleERC20Permit__factory {
455
- return super.connect(signer) as PendleERC20Permit__factory;
456
- }
457
- static readonly contractName: "PendleERC20Permit";
458
- public readonly contractName: "PendleERC20Permit";
459
- static readonly bytecode = _bytecode;
460
- static readonly abi = _abi;
461
- static createInterface(): PendleERC20PermitInterface {
462
- return new utils.Interface(_abi) as PendleERC20PermitInterface;
463
- }
464
- static connect(
465
- address: string,
466
- signerOrProvider: Signer | Provider
467
- ): PendleERC20Permit {
468
- return new Contract(address, _abi, signerOrProvider) as PendleERC20Permit;
469
- }
470
- }