@pendle/core-v2 6.3.2-swaphubtest2 → 6.3.3

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 (326) 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/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  47. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  51. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  52. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  132. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  133. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  134. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  135. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  137. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  138. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +4 -0
  152. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +102 -0
  153. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +4 -0
  159. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +102 -0
  160. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  184. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  185. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  186. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  187. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  188. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  189. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  190. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  192. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  194. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  230. package/contracts/offchain-helpers/PendleAPIFeeDepositor.sol +33 -0
  231. package/contracts/offchain-helpers/PendleMerkleDepositor.sol +64 -0
  232. package/deployments/1-core.json +2 -1
  233. package/deployments/10-core.json +2 -1
  234. package/deployments/146-core.json +2 -1
  235. package/deployments/42161-core.json +2 -1
  236. package/deployments/42161-offchain-helper.json +2 -1
  237. package/deployments/5000-core.json +2 -1
  238. package/deployments/56-core.json +2 -1
  239. package/deployments/80094-core.json +2 -1
  240. package/deployments/8453-core.json +2 -1
  241. package/deployments/9745-core.json +2 -1
  242. package/deployments/999-core.json +2 -1
  243. package/package.json +2 -2
  244. package/typechain-types/ActionCrossChain.ts +161 -0
  245. package/typechain-types/ActionDelegateBase.ts +57 -0
  246. package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
  247. package/typechain-types/EIP712.ts +135 -0
  248. package/typechain-types/ERC20Permit.ts +586 -0
  249. package/typechain-types/IERC5267.ts +135 -0
  250. package/typechain-types/IPActionCrossChain.ts +161 -0
  251. package/typechain-types/IPMarketFactoryV3.ts +321 -0
  252. package/typechain-types/IPMarketV3.ts +1068 -0
  253. package/typechain-types/LimitBackendHelper.ts +287 -0
  254. package/typechain-types/OverfillMathLib.ts +81 -0
  255. package/typechain-types/PendleAPIFeeDepositor.ts +181 -0
  256. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
  257. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
  258. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
  259. package/typechain-types/PendleERC20Permit.ts +508 -0
  260. package/typechain-types/PendleERC20PermitUpg.ts +517 -0
  261. package/typechain-types/PendleERC20Upg.ts +348 -0
  262. package/typechain-types/PendleMarketFactoryV3.ts +719 -0
  263. package/typechain-types/PendleMarketV3.ts +1195 -0
  264. package/typechain-types/PendleMerkleDepositor.ts +171 -0
  265. package/typechain-types/PendleYieldContractFactory.ts +801 -0
  266. package/typechain-types/ShortStrings.ts +57 -0
  267. package/typechain-types/factories/ActionCrossChain__factory.ts +152 -0
  268. package/typechain-types/factories/ActionDelegateBase__factory.ts +80 -0
  269. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
  270. package/typechain-types/factories/EIP712__factory.ts +85 -0
  271. package/typechain-types/factories/ERC20Permit__factory.ts +433 -0
  272. package/typechain-types/factories/IERC5267__factory.ts +72 -0
  273. package/typechain-types/factories/IPActionCrossChain__factory.ts +114 -0
  274. package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
  275. package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
  276. package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
  277. package/typechain-types/factories/OverfillMathLib__factory.ts +77 -0
  278. package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +164 -0
  279. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
  280. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
  281. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
  282. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
  283. package/typechain-types/factories/PendleERC20Permit__factory.ts +470 -0
  284. package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
  285. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
  286. package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
  287. package/typechain-types/factories/PendleMerkleDepositor__factory.ts +164 -0
  288. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
  289. package/typechain-types/factories/ShortStrings__factory.ts +77 -0
  290. package/typechain-types/hardhat.d.ts +54 -72
  291. package/typechain-types/index.ts +12 -14
  292. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
  293. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -201
  294. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +0 -4
  295. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +0 -1519
  296. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +0 -4
  297. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +0 -1490
  298. package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +0 -4
  299. package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.json +0 -56
  300. package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +0 -4
  301. package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +0 -60
  302. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +0 -4
  303. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +0 -1353
  304. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +0 -4
  305. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +0 -150
  306. package/contracts/cross-chain/swap-hub/DepositBox.sol +0 -72
  307. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +0 -206
  308. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +0 -273
  309. package/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol +0 -14
  310. package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +0 -33
  311. package/contracts/interfaces/IPCrossChainSwapHub.sol +0 -168
  312. package/contracts/interfaces/IPDepositBox.sol +0 -25
  313. package/typechain-types/DepositBox.ts +0 -304
  314. package/typechain-types/IPCrossChainSwapHub.ts +0 -1043
  315. package/typechain-types/IPDepositBox.ts +0 -257
  316. package/typechain-types/IPSwapExecutor.ts +0 -129
  317. package/typechain-types/PendleCrossChainSwapHub.ts +0 -1267
  318. package/typechain-types/SwapExecutor.ts +0 -129
  319. package/typechain-types/SwapHubBase.ts +0 -1242
  320. package/typechain-types/factories/DepositBox__factory.ts +0 -259
  321. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +0 -1368
  322. package/typechain-types/factories/IPDepositBox__factory.ts +0 -162
  323. package/typechain-types/factories/IPSwapExecutor__factory.ts +0 -71
  324. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +0 -1588
  325. package/typechain-types/factories/SwapExecutor__factory.ts +0 -110
  326. package/typechain-types/factories/SwapHubBase__factory.ts +0 -1502
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/3885fcad17d5d083318ce76e68576b1f.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/df3be05f70ae2389fe0a72ca1be9de65.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/df3be05f70ae2389fe0a72ca1be9de65.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../build-info/3885fcad17d5d083318ce76e68576b1f.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/3885fcad17d5d083318ce76e68576b1f.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/fbf608737fd18b576e719971f8361b73.json"
3
+ "buildInfo": "../../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
4
4
  }
@@ -0,0 +1,33 @@
1
+ // SPDX-License-Identifier: MIT
2
+ pragma solidity ^0.8.0;
3
+
4
+ import "../core/libraries/TokenHelper.sol";
5
+
6
+ contract PendleAPIFeeDepositor is TokenHelper {
7
+ event DepositReceived(address indexed account, address token, uint256 amount);
8
+
9
+ address public immutable treasury;
10
+
11
+ mapping(address token => mapping(address account => uint256 amount)) public totalDeposit;
12
+
13
+ constructor(address _treasury) {
14
+ treasury = _treasury;
15
+ }
16
+
17
+ function deposit(address token, uint256 amount) external payable {
18
+ uint256 amountNative = token == NATIVE ? amount : 0;
19
+
20
+ require(amount != 0, "zero amount");
21
+ require(amountNative == msg.value, "msg.value mismatch");
22
+
23
+ totalDeposit[token][msg.sender] += amount;
24
+
25
+ if (amountNative != 0) {
26
+ _transferOut(token, treasury, amountNative);
27
+ } else {
28
+ _transferFrom(IERC20(token), msg.sender, treasury, amount);
29
+ }
30
+
31
+ emit DepositReceived(msg.sender, token, amount);
32
+ }
33
+ }
@@ -0,0 +1,64 @@
1
+ // SPDX-License-Identifier: MIT
2
+ pragma solidity ^0.8.0;
3
+
4
+ import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
5
+
6
+ contract PendleMerkleDepositor {
7
+ using SafeERC20 for IERC20;
8
+
9
+ event MerkleDeposit(bytes32 indexed campaignId, address indexed from, address indexed token, uint256 amount);
10
+
11
+ address public constant NATIVE = address(0);
12
+ address public immutable merkleDistributor;
13
+
14
+ constructor(address _merkleDistributor) {
15
+ merkleDistributor = _merkleDistributor;
16
+ }
17
+
18
+ /// @notice The `tokens` array must be sorted in strictly ascending order with no duplicates.
19
+ function depositToMerkleCampaign(
20
+ bytes32 campaignId,
21
+ address[] calldata tokens,
22
+ uint256[] calldata amounts
23
+ ) external payable {
24
+ uint256 length = tokens.length;
25
+
26
+ require(length != 0, "PMD: empty array");
27
+ require(length == amounts.length, "PMD: array length mismatch");
28
+
29
+ uint256 amountNative;
30
+ for (uint256 i = 0; i < length; ++i) {
31
+ if (i != length - 1) require(_lt(tokens[i], tokens[i + 1]), "PMD: invalid tokens order");
32
+ if (tokens[i] == NATIVE) amountNative = amounts[i];
33
+ }
34
+
35
+ require(amountNative == msg.value, "PMD: msg.value mismatch");
36
+
37
+ for (uint256 i = 0; i < length; ++i) {
38
+ if (amounts[i] != 0) {
39
+ uint256 preBalance = _tokenBalance(tokens[i], merkleDistributor);
40
+ _transferFrom(tokens[i], msg.sender, merkleDistributor, amounts[i]);
41
+ uint256 amountDeposited = _tokenBalance(tokens[i], merkleDistributor) - preBalance;
42
+
43
+ emit MerkleDeposit(campaignId, msg.sender, tokens[i], amountDeposited);
44
+ }
45
+ }
46
+ }
47
+
48
+ function _tokenBalance(address token, address account) internal view returns (uint256) {
49
+ return token == NATIVE ? account.balance : IERC20(token).balanceOf(account);
50
+ }
51
+
52
+ function _transferFrom(address token, address from, address to, uint256 amount) internal {
53
+ if (token == NATIVE) {
54
+ (bool success, ) = to.call{value: amount}("");
55
+ require(success, "PMD: eth send failed");
56
+ } else {
57
+ IERC20(token).safeTransferFrom(from, to, amount);
58
+ }
59
+ }
60
+
61
+ function _lt(address token0, address token1) internal pure returns (bool) {
62
+ return token0 < token1;
63
+ }
64
+ }
@@ -69,5 +69,6 @@
69
69
  "cross-chain": {
70
70
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870",
71
71
  "ptOftAdapterFactory": "0x905aF80C4DE82E0075a19fDE2f5777f1A6636732"
72
- }
72
+ },
73
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
73
74
  }
@@ -65,5 +65,6 @@
65
65
  "cross-chain": {
66
66
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870",
67
67
  "ptOftAdapterFactory": "0x45Dd4aEcc425b01bf98C567407aB4a4fF3C7d349"
68
- }
68
+ },
69
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
69
70
  }
@@ -56,5 +56,6 @@
56
56
  "lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5",
57
57
  "cross-chain": {
58
58
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870"
59
- }
59
+ },
60
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
60
61
  }
@@ -66,5 +66,6 @@
66
66
  "cross-chain": {
67
67
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870",
68
68
  "ptOftAdapterFactory": "0x4F215b3F8a6E056Ff293E6818F3f501B5F4787D7"
69
- }
69
+ },
70
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
70
71
  }
@@ -8,5 +8,6 @@
8
8
  "limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
9
9
  "checkSolvent": "0x1dE943933417D50738557Ac98FF96405CeeeeCD5",
10
10
  "externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
11
- "feeSetter": "0x0185921C7C6A21F1f5c45A34456C379c9bEC6A81"
11
+ "feeSetter": "0x0185921C7C6A21F1f5c45A34456C379c9bEC6A81",
12
+ "apiDeposit": "0x0B554A6B0E6E69aCAE26cF522aa8eA6f833B6C48"
12
13
  }
@@ -62,5 +62,6 @@
62
62
  "lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5",
63
63
  "cross-chain": {
64
64
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870"
65
- }
65
+ },
66
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
66
67
  }
@@ -64,5 +64,6 @@
64
64
  "fixedPricePTAMM": "0x9B5ddD4B59CC26F4f4238DbC774Fb2dC2860Be46",
65
65
  "cross-chain": {
66
66
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870"
67
- }
67
+ },
68
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
68
69
  }
@@ -56,5 +56,6 @@
56
56
  "lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5",
57
57
  "cross-chain": {
58
58
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870"
59
- }
59
+ },
60
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
60
61
  }
@@ -56,5 +56,6 @@
56
56
  "lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5",
57
57
  "cross-chain": {
58
58
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870"
59
- }
59
+ },
60
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
60
61
  }
@@ -56,5 +56,6 @@
56
56
  "lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5",
57
57
  "cross-chain": {
58
58
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870"
59
- }
59
+ },
60
+ "merkleDistributor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
60
61
  }
@@ -57,5 +57,6 @@
57
57
  "fixedPricePTAMM": "0xF0bF560F01d4196773a5c58A09d6D34b6bba4503",
58
58
  "cross-chain": {
59
59
  "exchangeRateOracle": "0xA914c44E960cC95D996969BDf0ab5D6f4f2B5870"
60
- }
60
+ },
61
+ "merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4"
61
62
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/core-v2",
3
3
  "description": "Core smart contracts of Pendle Protocol.",
4
4
  "license": "BUSL-1.1",
5
- "version": "6.3.2-swaphubtest2",
5
+ "version": "6.3.3",
6
6
  "homepage": "https://pendle.finance",
7
7
  "keywords": [
8
8
  "pendle",
@@ -55,4 +55,4 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  }
58
- }
58
+ }
@@ -0,0 +1,161 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import { FunctionFragment, Result } from "@ethersproject/abi";
17
+ import { Listener, Provider } from "@ethersproject/providers";
18
+ import type {
19
+ TypedEventFilter,
20
+ TypedEvent,
21
+ TypedListener,
22
+ OnEvent,
23
+ } from "./common";
24
+
25
+ export type SwapDataStruct = {
26
+ swapType: BigNumberish;
27
+ extRouter: string;
28
+ extCalldata: BytesLike;
29
+ needScale: boolean;
30
+ };
31
+
32
+ export type SwapDataStructOutput = [number, string, string, boolean] & {
33
+ swapType: number;
34
+ extRouter: string;
35
+ extCalldata: string;
36
+ needScale: boolean;
37
+ };
38
+
39
+ export type TokenOutputStruct = {
40
+ tokenOut: string;
41
+ minTokenOut: BigNumberish;
42
+ tokenRedeemSy: string;
43
+ pendleSwap: string;
44
+ swapData: SwapDataStruct;
45
+ };
46
+
47
+ export type TokenOutputStructOutput = [
48
+ string,
49
+ BigNumber,
50
+ string,
51
+ string,
52
+ SwapDataStructOutput
53
+ ] & {
54
+ tokenOut: string;
55
+ minTokenOut: BigNumber;
56
+ tokenRedeemSy: string;
57
+ pendleSwap: string;
58
+ swapData: SwapDataStructOutput;
59
+ };
60
+
61
+ export interface ActionCrossChainInterface extends utils.Interface {
62
+ contractName: "ActionCrossChain";
63
+ functions: {
64
+ "swapWithFixedPricePTAMM(address,address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
65
+ };
66
+
67
+ encodeFunctionData(
68
+ functionFragment: "swapWithFixedPricePTAMM",
69
+ values: [string, string, string, BigNumberish, TokenOutputStruct]
70
+ ): string;
71
+
72
+ decodeFunctionResult(
73
+ functionFragment: "swapWithFixedPricePTAMM",
74
+ data: BytesLike
75
+ ): Result;
76
+
77
+ events: {};
78
+ }
79
+
80
+ export interface ActionCrossChain extends BaseContract {
81
+ contractName: "ActionCrossChain";
82
+ connect(signerOrProvider: Signer | Provider | string): this;
83
+ attach(addressOrName: string): this;
84
+ deployed(): Promise<this>;
85
+
86
+ interface: ActionCrossChainInterface;
87
+
88
+ queryFilter<TEvent extends TypedEvent>(
89
+ event: TypedEventFilter<TEvent>,
90
+ fromBlockOrBlockhash?: string | number | undefined,
91
+ toBlock?: string | number | undefined
92
+ ): Promise<Array<TEvent>>;
93
+
94
+ listeners<TEvent extends TypedEvent>(
95
+ eventFilter?: TypedEventFilter<TEvent>
96
+ ): Array<TypedListener<TEvent>>;
97
+ listeners(eventName?: string): Array<Listener>;
98
+ removeAllListeners<TEvent extends TypedEvent>(
99
+ eventFilter: TypedEventFilter<TEvent>
100
+ ): this;
101
+ removeAllListeners(eventName?: string): this;
102
+ off: OnEvent<this>;
103
+ on: OnEvent<this>;
104
+ once: OnEvent<this>;
105
+ removeListener: OnEvent<this>;
106
+
107
+ functions: {
108
+ swapWithFixedPricePTAMM(
109
+ receiver: string,
110
+ fixedPricePTAMM: string,
111
+ PT: string,
112
+ exactPtIn: BigNumberish,
113
+ out: TokenOutputStruct,
114
+ overrides?: Overrides & { from?: string | Promise<string> }
115
+ ): Promise<ContractTransaction>;
116
+ };
117
+
118
+ swapWithFixedPricePTAMM(
119
+ receiver: string,
120
+ fixedPricePTAMM: string,
121
+ PT: string,
122
+ exactPtIn: BigNumberish,
123
+ out: TokenOutputStruct,
124
+ overrides?: Overrides & { from?: string | Promise<string> }
125
+ ): Promise<ContractTransaction>;
126
+
127
+ callStatic: {
128
+ swapWithFixedPricePTAMM(
129
+ receiver: string,
130
+ fixedPricePTAMM: string,
131
+ PT: string,
132
+ exactPtIn: BigNumberish,
133
+ out: TokenOutputStruct,
134
+ overrides?: CallOverrides
135
+ ): Promise<BigNumber>;
136
+ };
137
+
138
+ filters: {};
139
+
140
+ estimateGas: {
141
+ swapWithFixedPricePTAMM(
142
+ receiver: string,
143
+ fixedPricePTAMM: string,
144
+ PT: string,
145
+ exactPtIn: BigNumberish,
146
+ out: TokenOutputStruct,
147
+ overrides?: Overrides & { from?: string | Promise<string> }
148
+ ): Promise<BigNumber>;
149
+ };
150
+
151
+ populateTransaction: {
152
+ swapWithFixedPricePTAMM(
153
+ receiver: string,
154
+ fixedPricePTAMM: string,
155
+ PT: string,
156
+ exactPtIn: BigNumberish,
157
+ out: TokenOutputStruct,
158
+ overrides?: Overrides & { from?: string | Promise<string> }
159
+ ): Promise<PopulatedTransaction>;
160
+ };
161
+ }
@@ -0,0 +1,57 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { BaseContract, Signer, utils } from "ethers";
5
+
6
+ import { Listener, Provider } from "@ethersproject/providers";
7
+ import type {
8
+ TypedEventFilter,
9
+ TypedEvent,
10
+ TypedListener,
11
+ OnEvent,
12
+ } from "./common";
13
+
14
+ export interface ActionDelegateBaseInterface extends utils.Interface {
15
+ contractName: "ActionDelegateBase";
16
+ functions: {};
17
+
18
+ events: {};
19
+ }
20
+
21
+ export interface ActionDelegateBase extends BaseContract {
22
+ contractName: "ActionDelegateBase";
23
+ connect(signerOrProvider: Signer | Provider | string): this;
24
+ attach(addressOrName: string): this;
25
+ deployed(): Promise<this>;
26
+
27
+ interface: ActionDelegateBaseInterface;
28
+
29
+ queryFilter<TEvent extends TypedEvent>(
30
+ event: TypedEventFilter<TEvent>,
31
+ fromBlockOrBlockhash?: string | number | undefined,
32
+ toBlock?: string | number | undefined
33
+ ): Promise<Array<TEvent>>;
34
+
35
+ listeners<TEvent extends TypedEvent>(
36
+ eventFilter?: TypedEventFilter<TEvent>
37
+ ): Array<TypedListener<TEvent>>;
38
+ listeners(eventName?: string): Array<Listener>;
39
+ removeAllListeners<TEvent extends TypedEvent>(
40
+ eventFilter: TypedEventFilter<TEvent>
41
+ ): this;
42
+ removeAllListeners(eventName?: string): this;
43
+ off: OnEvent<this>;
44
+ on: OnEvent<this>;
45
+ once: OnEvent<this>;
46
+ removeListener: OnEvent<this>;
47
+
48
+ functions: {};
49
+
50
+ callStatic: {};
51
+
52
+ filters: {};
53
+
54
+ estimateGas: {};
55
+
56
+ populateTransaction: {};
57
+ }