@pendle/core-v2 6.2.1 → 6.2.2-sweed

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