@pendle/core-v2 6.4.1 → 6.4.2-swaphubtest

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 (296) 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/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +4 -0
  52. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +170 -0
  53. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +4 -0
  54. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +1214 -0
  55. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +4 -0
  56. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +1176 -0
  57. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  58. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +1026 -0
  95. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +4 -0
  96. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +124 -0
  97. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  143. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  144. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  145. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  194. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  232. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  240. package/contracts/cross-chain/swap-hub/DepositBox.sol +66 -0
  241. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +178 -0
  242. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +274 -0
  243. package/contracts/interfaces/IPCrossChainSwapHub.sol +147 -0
  244. package/contracts/interfaces/IPDepositBox.sol +22 -0
  245. package/deployments/999-core.json +5 -5
  246. package/package.json +2 -2
  247. package/typechain-types/DepositBox.ts +260 -0
  248. package/typechain-types/IPCrossChainSwapHub.ts +882 -0
  249. package/typechain-types/IPDepositBox.ts +213 -0
  250. package/typechain-types/PendleCrossChainSwapHub.ts +1119 -0
  251. package/typechain-types/SwapHubBase.ts +1094 -0
  252. package/typechain-types/factories/DepositBox__factory.ts +222 -0
  253. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +1041 -0
  254. package/typechain-types/factories/IPDepositBox__factory.ts +136 -0
  255. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1287 -0
  256. package/typechain-types/factories/SwapHubBase__factory.ts +1188 -0
  257. package/typechain-types/hardhat.d.ts +54 -36
  258. package/typechain-types/index.ts +10 -8
  259. package/typechain-types/ActionDelegateBase.ts +0 -57
  260. package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
  261. package/typechain-types/EIP712.ts +0 -135
  262. package/typechain-types/ERC20Permit.ts +0 -586
  263. package/typechain-types/IERC5267.ts +0 -135
  264. package/typechain-types/IPMarketFactoryV3.ts +0 -321
  265. package/typechain-types/IPMarketV3.ts +0 -1068
  266. package/typechain-types/LimitBackendHelper.ts +0 -287
  267. package/typechain-types/OverfillMathLib.ts +0 -81
  268. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
  269. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
  270. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
  271. package/typechain-types/PendleERC20Permit.ts +0 -508
  272. package/typechain-types/PendleERC20PermitUpg.ts +0 -517
  273. package/typechain-types/PendleERC20Upg.ts +0 -348
  274. package/typechain-types/PendleMarketFactoryV3.ts +0 -719
  275. package/typechain-types/PendleMarketV3.ts +0 -1195
  276. package/typechain-types/PendleYieldContractFactory.ts +0 -801
  277. package/typechain-types/ShortStrings.ts +0 -57
  278. package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -80
  279. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +0 -1548
  280. package/typechain-types/factories/EIP712__factory.ts +0 -85
  281. package/typechain-types/factories/ERC20Permit__factory.ts +0 -433
  282. package/typechain-types/factories/IERC5267__factory.ts +0 -72
  283. package/typechain-types/factories/IPMarketFactoryV3__factory.ts +0 -217
  284. package/typechain-types/factories/IPMarketV3__factory.ts +0 -845
  285. package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
  286. package/typechain-types/factories/OverfillMathLib__factory.ts +0 -77
  287. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
  288. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
  289. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
  290. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
  291. package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -470
  292. package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
  293. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +0 -714
  294. package/typechain-types/factories/PendleMarketV3__factory.ts +0 -1211
  295. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +0 -674
  296. package/typechain-types/factories/ShortStrings__factory.ts +0 -77
@@ -1,845 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import { Provider } from "@ethersproject/providers";
7
- import type { IPMarketV3, IPMarketV3Interface } from "../IPMarketV3";
8
-
9
- const _abi = [
10
- {
11
- anonymous: false,
12
- inputs: [
13
- {
14
- indexed: true,
15
- internalType: "address",
16
- name: "owner",
17
- type: "address",
18
- },
19
- {
20
- indexed: true,
21
- internalType: "address",
22
- name: "spender",
23
- type: "address",
24
- },
25
- {
26
- indexed: false,
27
- internalType: "uint256",
28
- name: "value",
29
- type: "uint256",
30
- },
31
- ],
32
- name: "Approval",
33
- type: "event",
34
- },
35
- {
36
- anonymous: false,
37
- inputs: [
38
- {
39
- indexed: true,
40
- internalType: "address",
41
- name: "receiverSy",
42
- type: "address",
43
- },
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "receiverPt",
48
- type: "address",
49
- },
50
- {
51
- indexed: false,
52
- internalType: "uint256",
53
- name: "netLpBurned",
54
- type: "uint256",
55
- },
56
- {
57
- indexed: false,
58
- internalType: "uint256",
59
- name: "netSyOut",
60
- type: "uint256",
61
- },
62
- {
63
- indexed: false,
64
- internalType: "uint256",
65
- name: "netPtOut",
66
- type: "uint256",
67
- },
68
- ],
69
- name: "Burn",
70
- type: "event",
71
- },
72
- {
73
- anonymous: false,
74
- inputs: [
75
- {
76
- indexed: false,
77
- internalType: "uint16",
78
- name: "observationCardinalityNextOld",
79
- type: "uint16",
80
- },
81
- {
82
- indexed: false,
83
- internalType: "uint16",
84
- name: "observationCardinalityNextNew",
85
- type: "uint16",
86
- },
87
- ],
88
- name: "IncreaseObservationCardinalityNext",
89
- type: "event",
90
- },
91
- {
92
- anonymous: false,
93
- inputs: [
94
- {
95
- indexed: true,
96
- internalType: "address",
97
- name: "receiver",
98
- type: "address",
99
- },
100
- {
101
- indexed: false,
102
- internalType: "uint256",
103
- name: "netLpMinted",
104
- type: "uint256",
105
- },
106
- {
107
- indexed: false,
108
- internalType: "uint256",
109
- name: "netSyUsed",
110
- type: "uint256",
111
- },
112
- {
113
- indexed: false,
114
- internalType: "uint256",
115
- name: "netPtUsed",
116
- type: "uint256",
117
- },
118
- ],
119
- name: "Mint",
120
- type: "event",
121
- },
122
- {
123
- anonymous: false,
124
- inputs: [
125
- {
126
- indexed: true,
127
- internalType: "address",
128
- name: "user",
129
- type: "address",
130
- },
131
- {
132
- indexed: false,
133
- internalType: "uint256[]",
134
- name: "rewardsOut",
135
- type: "uint256[]",
136
- },
137
- ],
138
- name: "RedeemRewards",
139
- type: "event",
140
- },
141
- {
142
- anonymous: false,
143
- inputs: [
144
- {
145
- indexed: true,
146
- internalType: "address",
147
- name: "caller",
148
- type: "address",
149
- },
150
- {
151
- indexed: true,
152
- internalType: "address",
153
- name: "receiver",
154
- type: "address",
155
- },
156
- {
157
- indexed: false,
158
- internalType: "int256",
159
- name: "netPtOut",
160
- type: "int256",
161
- },
162
- {
163
- indexed: false,
164
- internalType: "int256",
165
- name: "netSyOut",
166
- type: "int256",
167
- },
168
- {
169
- indexed: false,
170
- internalType: "uint256",
171
- name: "netSyFee",
172
- type: "uint256",
173
- },
174
- {
175
- indexed: false,
176
- internalType: "uint256",
177
- name: "netSyToReserve",
178
- type: "uint256",
179
- },
180
- ],
181
- name: "Swap",
182
- type: "event",
183
- },
184
- {
185
- anonymous: false,
186
- inputs: [
187
- {
188
- indexed: true,
189
- internalType: "address",
190
- name: "from",
191
- type: "address",
192
- },
193
- {
194
- indexed: true,
195
- internalType: "address",
196
- name: "to",
197
- type: "address",
198
- },
199
- {
200
- indexed: false,
201
- internalType: "uint256",
202
- name: "value",
203
- type: "uint256",
204
- },
205
- ],
206
- name: "Transfer",
207
- type: "event",
208
- },
209
- {
210
- anonymous: false,
211
- inputs: [
212
- {
213
- indexed: true,
214
- internalType: "uint256",
215
- name: "timestamp",
216
- type: "uint256",
217
- },
218
- {
219
- indexed: false,
220
- internalType: "uint256",
221
- name: "lnLastImpliedRate",
222
- type: "uint256",
223
- },
224
- ],
225
- name: "UpdateImpliedRate",
226
- type: "event",
227
- },
228
- {
229
- inputs: [],
230
- name: "_storage",
231
- outputs: [
232
- {
233
- internalType: "int128",
234
- name: "totalPt",
235
- type: "int128",
236
- },
237
- {
238
- internalType: "int128",
239
- name: "totalSy",
240
- type: "int128",
241
- },
242
- {
243
- internalType: "uint96",
244
- name: "lastLnImpliedRate",
245
- type: "uint96",
246
- },
247
- {
248
- internalType: "uint16",
249
- name: "observationIndex",
250
- type: "uint16",
251
- },
252
- {
253
- internalType: "uint16",
254
- name: "observationCardinality",
255
- type: "uint16",
256
- },
257
- {
258
- internalType: "uint16",
259
- name: "observationCardinalityNext",
260
- type: "uint16",
261
- },
262
- ],
263
- stateMutability: "view",
264
- type: "function",
265
- },
266
- {
267
- inputs: [
268
- {
269
- internalType: "address",
270
- name: "user",
271
- type: "address",
272
- },
273
- ],
274
- name: "activeBalance",
275
- outputs: [
276
- {
277
- internalType: "uint256",
278
- name: "",
279
- type: "uint256",
280
- },
281
- ],
282
- stateMutability: "view",
283
- type: "function",
284
- },
285
- {
286
- inputs: [
287
- {
288
- internalType: "address",
289
- name: "owner",
290
- type: "address",
291
- },
292
- {
293
- internalType: "address",
294
- name: "spender",
295
- type: "address",
296
- },
297
- ],
298
- name: "allowance",
299
- outputs: [
300
- {
301
- internalType: "uint256",
302
- name: "",
303
- type: "uint256",
304
- },
305
- ],
306
- stateMutability: "view",
307
- type: "function",
308
- },
309
- {
310
- inputs: [
311
- {
312
- internalType: "address",
313
- name: "spender",
314
- type: "address",
315
- },
316
- {
317
- internalType: "uint256",
318
- name: "amount",
319
- type: "uint256",
320
- },
321
- ],
322
- name: "approve",
323
- outputs: [
324
- {
325
- internalType: "bool",
326
- name: "",
327
- type: "bool",
328
- },
329
- ],
330
- stateMutability: "nonpayable",
331
- type: "function",
332
- },
333
- {
334
- inputs: [
335
- {
336
- internalType: "address",
337
- name: "account",
338
- type: "address",
339
- },
340
- ],
341
- name: "balanceOf",
342
- outputs: [
343
- {
344
- internalType: "uint256",
345
- name: "",
346
- type: "uint256",
347
- },
348
- ],
349
- stateMutability: "view",
350
- type: "function",
351
- },
352
- {
353
- inputs: [
354
- {
355
- internalType: "address",
356
- name: "receiverSy",
357
- type: "address",
358
- },
359
- {
360
- internalType: "address",
361
- name: "receiverPt",
362
- type: "address",
363
- },
364
- {
365
- internalType: "uint256",
366
- name: "netLpToBurn",
367
- type: "uint256",
368
- },
369
- ],
370
- name: "burn",
371
- outputs: [
372
- {
373
- internalType: "uint256",
374
- name: "netSyOut",
375
- type: "uint256",
376
- },
377
- {
378
- internalType: "uint256",
379
- name: "netPtOut",
380
- type: "uint256",
381
- },
382
- ],
383
- stateMutability: "nonpayable",
384
- type: "function",
385
- },
386
- {
387
- inputs: [],
388
- name: "decimals",
389
- outputs: [
390
- {
391
- internalType: "uint8",
392
- name: "",
393
- type: "uint8",
394
- },
395
- ],
396
- stateMutability: "view",
397
- type: "function",
398
- },
399
- {
400
- inputs: [],
401
- name: "expiry",
402
- outputs: [
403
- {
404
- internalType: "uint256",
405
- name: "",
406
- type: "uint256",
407
- },
408
- ],
409
- stateMutability: "view",
410
- type: "function",
411
- },
412
- {
413
- inputs: [],
414
- name: "getNonOverrideLnFeeRateRoot",
415
- outputs: [
416
- {
417
- internalType: "uint80",
418
- name: "",
419
- type: "uint80",
420
- },
421
- ],
422
- stateMutability: "view",
423
- type: "function",
424
- },
425
- {
426
- inputs: [],
427
- name: "getRewardTokens",
428
- outputs: [
429
- {
430
- internalType: "address[]",
431
- name: "",
432
- type: "address[]",
433
- },
434
- ],
435
- stateMutability: "view",
436
- type: "function",
437
- },
438
- {
439
- inputs: [
440
- {
441
- internalType: "uint16",
442
- name: "cardinalityNext",
443
- type: "uint16",
444
- },
445
- ],
446
- name: "increaseObservationsCardinalityNext",
447
- outputs: [],
448
- stateMutability: "nonpayable",
449
- type: "function",
450
- },
451
- {
452
- inputs: [],
453
- name: "isExpired",
454
- outputs: [
455
- {
456
- internalType: "bool",
457
- name: "",
458
- type: "bool",
459
- },
460
- ],
461
- stateMutability: "view",
462
- type: "function",
463
- },
464
- {
465
- inputs: [
466
- {
467
- internalType: "address",
468
- name: "receiver",
469
- type: "address",
470
- },
471
- {
472
- internalType: "uint256",
473
- name: "netSyDesired",
474
- type: "uint256",
475
- },
476
- {
477
- internalType: "uint256",
478
- name: "netPtDesired",
479
- type: "uint256",
480
- },
481
- ],
482
- name: "mint",
483
- outputs: [
484
- {
485
- internalType: "uint256",
486
- name: "netLpOut",
487
- type: "uint256",
488
- },
489
- {
490
- internalType: "uint256",
491
- name: "netSyUsed",
492
- type: "uint256",
493
- },
494
- {
495
- internalType: "uint256",
496
- name: "netPtUsed",
497
- type: "uint256",
498
- },
499
- ],
500
- stateMutability: "nonpayable",
501
- type: "function",
502
- },
503
- {
504
- inputs: [],
505
- name: "name",
506
- outputs: [
507
- {
508
- internalType: "string",
509
- name: "",
510
- type: "string",
511
- },
512
- ],
513
- stateMutability: "view",
514
- type: "function",
515
- },
516
- {
517
- inputs: [
518
- {
519
- internalType: "uint256",
520
- name: "index",
521
- type: "uint256",
522
- },
523
- ],
524
- name: "observations",
525
- outputs: [
526
- {
527
- internalType: "uint32",
528
- name: "blockTimestamp",
529
- type: "uint32",
530
- },
531
- {
532
- internalType: "uint216",
533
- name: "lnImpliedRateCumulative",
534
- type: "uint216",
535
- },
536
- {
537
- internalType: "bool",
538
- name: "initialized",
539
- type: "bool",
540
- },
541
- ],
542
- stateMutability: "view",
543
- type: "function",
544
- },
545
- {
546
- inputs: [
547
- {
548
- internalType: "uint32[]",
549
- name: "secondsAgos",
550
- type: "uint32[]",
551
- },
552
- ],
553
- name: "observe",
554
- outputs: [
555
- {
556
- internalType: "uint216[]",
557
- name: "lnImpliedRateCumulative",
558
- type: "uint216[]",
559
- },
560
- ],
561
- stateMutability: "view",
562
- type: "function",
563
- },
564
- {
565
- inputs: [
566
- {
567
- internalType: "address",
568
- name: "router",
569
- type: "address",
570
- },
571
- ],
572
- name: "readState",
573
- outputs: [
574
- {
575
- components: [
576
- {
577
- internalType: "int256",
578
- name: "totalPt",
579
- type: "int256",
580
- },
581
- {
582
- internalType: "int256",
583
- name: "totalSy",
584
- type: "int256",
585
- },
586
- {
587
- internalType: "int256",
588
- name: "totalLp",
589
- type: "int256",
590
- },
591
- {
592
- internalType: "address",
593
- name: "treasury",
594
- type: "address",
595
- },
596
- {
597
- internalType: "int256",
598
- name: "scalarRoot",
599
- type: "int256",
600
- },
601
- {
602
- internalType: "uint256",
603
- name: "expiry",
604
- type: "uint256",
605
- },
606
- {
607
- internalType: "uint256",
608
- name: "lnFeeRateRoot",
609
- type: "uint256",
610
- },
611
- {
612
- internalType: "uint256",
613
- name: "reserveFeePercent",
614
- type: "uint256",
615
- },
616
- {
617
- internalType: "uint256",
618
- name: "lastLnImpliedRate",
619
- type: "uint256",
620
- },
621
- ],
622
- internalType: "struct MarketState",
623
- name: "market",
624
- type: "tuple",
625
- },
626
- ],
627
- stateMutability: "view",
628
- type: "function",
629
- },
630
- {
631
- inputs: [],
632
- name: "readTokens",
633
- outputs: [
634
- {
635
- internalType: "contract IStandardizedYield",
636
- name: "_SY",
637
- type: "address",
638
- },
639
- {
640
- internalType: "contract IPPrincipalToken",
641
- name: "_PT",
642
- type: "address",
643
- },
644
- {
645
- internalType: "contract IPYieldToken",
646
- name: "_YT",
647
- type: "address",
648
- },
649
- ],
650
- stateMutability: "view",
651
- type: "function",
652
- },
653
- {
654
- inputs: [
655
- {
656
- internalType: "address",
657
- name: "user",
658
- type: "address",
659
- },
660
- ],
661
- name: "redeemRewards",
662
- outputs: [
663
- {
664
- internalType: "uint256[]",
665
- name: "",
666
- type: "uint256[]",
667
- },
668
- ],
669
- stateMutability: "nonpayable",
670
- type: "function",
671
- },
672
- {
673
- inputs: [
674
- {
675
- internalType: "address",
676
- name: "receiver",
677
- type: "address",
678
- },
679
- {
680
- internalType: "uint256",
681
- name: "exactPtIn",
682
- type: "uint256",
683
- },
684
- {
685
- internalType: "bytes",
686
- name: "data",
687
- type: "bytes",
688
- },
689
- ],
690
- name: "swapExactPtForSy",
691
- outputs: [
692
- {
693
- internalType: "uint256",
694
- name: "netSyOut",
695
- type: "uint256",
696
- },
697
- {
698
- internalType: "uint256",
699
- name: "netSyFee",
700
- type: "uint256",
701
- },
702
- ],
703
- stateMutability: "nonpayable",
704
- type: "function",
705
- },
706
- {
707
- inputs: [
708
- {
709
- internalType: "address",
710
- name: "receiver",
711
- type: "address",
712
- },
713
- {
714
- internalType: "uint256",
715
- name: "exactPtOut",
716
- type: "uint256",
717
- },
718
- {
719
- internalType: "bytes",
720
- name: "data",
721
- type: "bytes",
722
- },
723
- ],
724
- name: "swapSyForExactPt",
725
- outputs: [
726
- {
727
- internalType: "uint256",
728
- name: "netSyIn",
729
- type: "uint256",
730
- },
731
- {
732
- internalType: "uint256",
733
- name: "netSyFee",
734
- type: "uint256",
735
- },
736
- ],
737
- stateMutability: "nonpayable",
738
- type: "function",
739
- },
740
- {
741
- inputs: [],
742
- name: "symbol",
743
- outputs: [
744
- {
745
- internalType: "string",
746
- name: "",
747
- type: "string",
748
- },
749
- ],
750
- stateMutability: "view",
751
- type: "function",
752
- },
753
- {
754
- inputs: [],
755
- name: "totalActiveSupply",
756
- outputs: [
757
- {
758
- internalType: "uint256",
759
- name: "",
760
- type: "uint256",
761
- },
762
- ],
763
- stateMutability: "view",
764
- type: "function",
765
- },
766
- {
767
- inputs: [],
768
- name: "totalSupply",
769
- outputs: [
770
- {
771
- internalType: "uint256",
772
- name: "",
773
- type: "uint256",
774
- },
775
- ],
776
- stateMutability: "view",
777
- type: "function",
778
- },
779
- {
780
- inputs: [
781
- {
782
- internalType: "address",
783
- name: "to",
784
- type: "address",
785
- },
786
- {
787
- internalType: "uint256",
788
- name: "amount",
789
- type: "uint256",
790
- },
791
- ],
792
- name: "transfer",
793
- outputs: [
794
- {
795
- internalType: "bool",
796
- name: "",
797
- type: "bool",
798
- },
799
- ],
800
- stateMutability: "nonpayable",
801
- type: "function",
802
- },
803
- {
804
- inputs: [
805
- {
806
- internalType: "address",
807
- name: "from",
808
- type: "address",
809
- },
810
- {
811
- internalType: "address",
812
- name: "to",
813
- type: "address",
814
- },
815
- {
816
- internalType: "uint256",
817
- name: "amount",
818
- type: "uint256",
819
- },
820
- ],
821
- name: "transferFrom",
822
- outputs: [
823
- {
824
- internalType: "bool",
825
- name: "",
826
- type: "bool",
827
- },
828
- ],
829
- stateMutability: "nonpayable",
830
- type: "function",
831
- },
832
- ];
833
-
834
- export class IPMarketV3__factory {
835
- static readonly abi = _abi;
836
- static createInterface(): IPMarketV3Interface {
837
- return new utils.Interface(_abi) as IPMarketV3Interface;
838
- }
839
- static connect(
840
- address: string,
841
- signerOrProvider: Signer | Provider
842
- ): IPMarketV3 {
843
- return new Contract(address, _abi, signerOrProvider) as IPMarketV3;
844
- }
845
- }