@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,748 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- Signer,
6
- utils,
7
- Contract,
8
- ContractFactory,
9
- Overrides,
10
- BigNumberish,
11
- } from "ethers";
12
- import { Provider, TransactionRequest } from "@ethersproject/providers";
13
- import type {
14
- PendleMarketFactory,
15
- PendleMarketFactoryInterface,
16
- } from "../PendleMarketFactory";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "address",
23
- name: "_yieldContractFactory",
24
- type: "address",
25
- },
26
- {
27
- internalType: "address",
28
- name: "_marketCreationCodeContractA",
29
- type: "address",
30
- },
31
- {
32
- internalType: "uint256",
33
- name: "_marketCreationCodeSizeA",
34
- type: "uint256",
35
- },
36
- {
37
- internalType: "address",
38
- name: "_marketCreationCodeContractB",
39
- type: "address",
40
- },
41
- {
42
- internalType: "uint256",
43
- name: "_marketCreationCodeSizeB",
44
- type: "uint256",
45
- },
46
- ],
47
- stateMutability: "nonpayable",
48
- type: "constructor",
49
- },
50
- {
51
- inputs: [],
52
- name: "MarketFactoryExpiredPt",
53
- type: "error",
54
- },
55
- {
56
- inputs: [
57
- {
58
- internalType: "int256",
59
- name: "initialAnchor",
60
- type: "int256",
61
- },
62
- {
63
- internalType: "int256",
64
- name: "minInitialAnchor",
65
- type: "int256",
66
- },
67
- ],
68
- name: "MarketFactoryInitialAnchorTooLow",
69
- type: "error",
70
- },
71
- {
72
- inputs: [],
73
- name: "MarketFactoryInvalidPt",
74
- type: "error",
75
- },
76
- {
77
- inputs: [
78
- {
79
- internalType: "uint80",
80
- name: "lnFeeRateRoot",
81
- type: "uint80",
82
- },
83
- {
84
- internalType: "uint256",
85
- name: "maxLnFeeRateRoot",
86
- type: "uint256",
87
- },
88
- ],
89
- name: "MarketFactoryLnFeeRateRootTooHigh",
90
- type: "error",
91
- },
92
- {
93
- inputs: [],
94
- name: "MarketFactoryMarketExists",
95
- type: "error",
96
- },
97
- {
98
- inputs: [
99
- {
100
- internalType: "uint8",
101
- name: "reserveFeePercent",
102
- type: "uint8",
103
- },
104
- {
105
- internalType: "uint8",
106
- name: "maxReserveFeePercent",
107
- type: "uint8",
108
- },
109
- ],
110
- name: "MarketFactoryReserveFeePercentTooHigh",
111
- type: "error",
112
- },
113
- {
114
- inputs: [],
115
- name: "MarketFactoryZeroTreasury",
116
- type: "error",
117
- },
118
- {
119
- anonymous: false,
120
- inputs: [
121
- {
122
- indexed: true,
123
- internalType: "address",
124
- name: "market",
125
- type: "address",
126
- },
127
- {
128
- indexed: true,
129
- internalType: "address",
130
- name: "PT",
131
- type: "address",
132
- },
133
- {
134
- indexed: false,
135
- internalType: "int256",
136
- name: "scalarRoot",
137
- type: "int256",
138
- },
139
- {
140
- indexed: false,
141
- internalType: "int256",
142
- name: "initialAnchor",
143
- type: "int256",
144
- },
145
- ],
146
- name: "CreateNewMarket",
147
- type: "event",
148
- },
149
- {
150
- anonymous: false,
151
- inputs: [
152
- {
153
- indexed: false,
154
- internalType: "uint8",
155
- name: "version",
156
- type: "uint8",
157
- },
158
- ],
159
- name: "Initialized",
160
- type: "event",
161
- },
162
- {
163
- anonymous: false,
164
- inputs: [
165
- {
166
- indexed: true,
167
- internalType: "address",
168
- name: "treasury",
169
- type: "address",
170
- },
171
- {
172
- indexed: false,
173
- internalType: "uint80",
174
- name: "defaultLnFeeRateRoot",
175
- type: "uint80",
176
- },
177
- {
178
- indexed: false,
179
- internalType: "uint8",
180
- name: "reserveFeePercent",
181
- type: "uint8",
182
- },
183
- ],
184
- name: "NewMarketConfig",
185
- type: "event",
186
- },
187
- {
188
- anonymous: false,
189
- inputs: [
190
- {
191
- indexed: true,
192
- internalType: "address",
193
- name: "previousOwner",
194
- type: "address",
195
- },
196
- {
197
- indexed: true,
198
- internalType: "address",
199
- name: "newOwner",
200
- type: "address",
201
- },
202
- ],
203
- name: "OwnershipTransferred",
204
- type: "event",
205
- },
206
- {
207
- anonymous: false,
208
- inputs: [
209
- {
210
- indexed: true,
211
- internalType: "address",
212
- name: "router",
213
- type: "address",
214
- },
215
- {
216
- indexed: false,
217
- internalType: "uint80",
218
- name: "lnFeeRateRoot",
219
- type: "uint80",
220
- },
221
- {
222
- indexed: false,
223
- internalType: "uint8",
224
- name: "reserveFeePercent",
225
- type: "uint8",
226
- },
227
- ],
228
- name: "SetOverriddenFee",
229
- type: "event",
230
- },
231
- {
232
- anonymous: false,
233
- inputs: [
234
- {
235
- indexed: true,
236
- internalType: "address",
237
- name: "router",
238
- type: "address",
239
- },
240
- ],
241
- name: "UnsetOverriddenFee",
242
- type: "event",
243
- },
244
- {
245
- inputs: [],
246
- name: "claimOwnership",
247
- outputs: [],
248
- stateMutability: "nonpayable",
249
- type: "function",
250
- },
251
- {
252
- inputs: [
253
- {
254
- internalType: "address",
255
- name: "PT",
256
- type: "address",
257
- },
258
- {
259
- internalType: "int256",
260
- name: "scalarRoot",
261
- type: "int256",
262
- },
263
- {
264
- internalType: "int256",
265
- name: "initialAnchor",
266
- type: "int256",
267
- },
268
- ],
269
- name: "createNewMarket",
270
- outputs: [
271
- {
272
- internalType: "address",
273
- name: "market",
274
- type: "address",
275
- },
276
- ],
277
- stateMutability: "nonpayable",
278
- type: "function",
279
- },
280
- {
281
- inputs: [],
282
- name: "defaultFee",
283
- outputs: [
284
- {
285
- internalType: "uint80",
286
- name: "lnFeeRateRoot",
287
- type: "uint80",
288
- },
289
- {
290
- internalType: "uint8",
291
- name: "reserveFeePercent",
292
- type: "uint8",
293
- },
294
- {
295
- internalType: "bool",
296
- name: "active",
297
- type: "bool",
298
- },
299
- ],
300
- stateMutability: "view",
301
- type: "function",
302
- },
303
- {
304
- inputs: [],
305
- name: "gaugeController",
306
- outputs: [
307
- {
308
- internalType: "address",
309
- name: "",
310
- type: "address",
311
- },
312
- ],
313
- stateMutability: "view",
314
- type: "function",
315
- },
316
- {
317
- inputs: [
318
- {
319
- internalType: "address",
320
- name: "router",
321
- type: "address",
322
- },
323
- ],
324
- name: "getMarketConfig",
325
- outputs: [
326
- {
327
- internalType: "address",
328
- name: "_treasury",
329
- type: "address",
330
- },
331
- {
332
- internalType: "uint80",
333
- name: "_lnFeeRateRoot",
334
- type: "uint80",
335
- },
336
- {
337
- internalType: "uint8",
338
- name: "_reserveFeePercent",
339
- type: "uint8",
340
- },
341
- ],
342
- stateMutability: "view",
343
- type: "function",
344
- },
345
- {
346
- inputs: [
347
- {
348
- internalType: "address",
349
- name: "_treasury",
350
- type: "address",
351
- },
352
- {
353
- internalType: "uint80",
354
- name: "_defaultLnFeeRateRoot",
355
- type: "uint80",
356
- },
357
- {
358
- internalType: "uint8",
359
- name: "_defaultReserveFeePercent",
360
- type: "uint8",
361
- },
362
- {
363
- internalType: "address",
364
- name: "newVePendle",
365
- type: "address",
366
- },
367
- {
368
- internalType: "address",
369
- name: "newGaugeController",
370
- type: "address",
371
- },
372
- ],
373
- name: "initialize",
374
- outputs: [],
375
- stateMutability: "nonpayable",
376
- type: "function",
377
- },
378
- {
379
- inputs: [
380
- {
381
- internalType: "address",
382
- name: "market",
383
- type: "address",
384
- },
385
- ],
386
- name: "isValidMarket",
387
- outputs: [
388
- {
389
- internalType: "bool",
390
- name: "",
391
- type: "bool",
392
- },
393
- ],
394
- stateMutability: "view",
395
- type: "function",
396
- },
397
- {
398
- inputs: [],
399
- name: "marketCreationCodeContractA",
400
- outputs: [
401
- {
402
- internalType: "address",
403
- name: "",
404
- type: "address",
405
- },
406
- ],
407
- stateMutability: "view",
408
- type: "function",
409
- },
410
- {
411
- inputs: [],
412
- name: "marketCreationCodeContractB",
413
- outputs: [
414
- {
415
- internalType: "address",
416
- name: "",
417
- type: "address",
418
- },
419
- ],
420
- stateMutability: "view",
421
- type: "function",
422
- },
423
- {
424
- inputs: [],
425
- name: "marketCreationCodeSizeA",
426
- outputs: [
427
- {
428
- internalType: "uint256",
429
- name: "",
430
- type: "uint256",
431
- },
432
- ],
433
- stateMutability: "view",
434
- type: "function",
435
- },
436
- {
437
- inputs: [],
438
- name: "marketCreationCodeSizeB",
439
- outputs: [
440
- {
441
- internalType: "uint256",
442
- name: "",
443
- type: "uint256",
444
- },
445
- ],
446
- stateMutability: "view",
447
- type: "function",
448
- },
449
- {
450
- inputs: [],
451
- name: "maxLnFeeRateRoot",
452
- outputs: [
453
- {
454
- internalType: "uint256",
455
- name: "",
456
- type: "uint256",
457
- },
458
- ],
459
- stateMutability: "view",
460
- type: "function",
461
- },
462
- {
463
- inputs: [],
464
- name: "maxReserveFeePercent",
465
- outputs: [
466
- {
467
- internalType: "uint8",
468
- name: "",
469
- type: "uint8",
470
- },
471
- ],
472
- stateMutability: "view",
473
- type: "function",
474
- },
475
- {
476
- inputs: [],
477
- name: "minInitialAnchor",
478
- outputs: [
479
- {
480
- internalType: "int256",
481
- name: "",
482
- type: "int256",
483
- },
484
- ],
485
- stateMutability: "view",
486
- type: "function",
487
- },
488
- {
489
- inputs: [
490
- {
491
- internalType: "address",
492
- name: "",
493
- type: "address",
494
- },
495
- ],
496
- name: "overriddenFee",
497
- outputs: [
498
- {
499
- internalType: "uint80",
500
- name: "lnFeeRateRoot",
501
- type: "uint80",
502
- },
503
- {
504
- internalType: "uint8",
505
- name: "reserveFeePercent",
506
- type: "uint8",
507
- },
508
- {
509
- internalType: "bool",
510
- name: "active",
511
- type: "bool",
512
- },
513
- ],
514
- stateMutability: "view",
515
- type: "function",
516
- },
517
- {
518
- inputs: [],
519
- name: "owner",
520
- outputs: [
521
- {
522
- internalType: "address",
523
- name: "",
524
- type: "address",
525
- },
526
- ],
527
- stateMutability: "view",
528
- type: "function",
529
- },
530
- {
531
- inputs: [],
532
- name: "pendingOwner",
533
- outputs: [
534
- {
535
- internalType: "address",
536
- name: "",
537
- type: "address",
538
- },
539
- ],
540
- stateMutability: "view",
541
- type: "function",
542
- },
543
- {
544
- inputs: [
545
- {
546
- internalType: "uint80",
547
- name: "newLnFeeRateRoot",
548
- type: "uint80",
549
- },
550
- {
551
- internalType: "uint8",
552
- name: "newReserveFeePercent",
553
- type: "uint8",
554
- },
555
- ],
556
- name: "setDefaultFee",
557
- outputs: [],
558
- stateMutability: "nonpayable",
559
- type: "function",
560
- },
561
- {
562
- inputs: [
563
- {
564
- internalType: "address",
565
- name: "router",
566
- type: "address",
567
- },
568
- {
569
- internalType: "uint80",
570
- name: "newLnFeeRateRoot",
571
- type: "uint80",
572
- },
573
- {
574
- internalType: "uint8",
575
- name: "newReserveFeePercent",
576
- type: "uint8",
577
- },
578
- ],
579
- name: "setOverriddenFee",
580
- outputs: [],
581
- stateMutability: "nonpayable",
582
- type: "function",
583
- },
584
- {
585
- inputs: [
586
- {
587
- internalType: "address",
588
- name: "newTreasury",
589
- type: "address",
590
- },
591
- ],
592
- name: "setTreasury",
593
- outputs: [],
594
- stateMutability: "nonpayable",
595
- type: "function",
596
- },
597
- {
598
- inputs: [
599
- {
600
- internalType: "address",
601
- name: "newOwner",
602
- type: "address",
603
- },
604
- {
605
- internalType: "bool",
606
- name: "direct",
607
- type: "bool",
608
- },
609
- {
610
- internalType: "bool",
611
- name: "renounce",
612
- type: "bool",
613
- },
614
- ],
615
- name: "transferOwnership",
616
- outputs: [],
617
- stateMutability: "nonpayable",
618
- type: "function",
619
- },
620
- {
621
- inputs: [],
622
- name: "treasury",
623
- outputs: [
624
- {
625
- internalType: "address",
626
- name: "",
627
- type: "address",
628
- },
629
- ],
630
- stateMutability: "view",
631
- type: "function",
632
- },
633
- {
634
- inputs: [
635
- {
636
- internalType: "address",
637
- name: "router",
638
- type: "address",
639
- },
640
- ],
641
- name: "unsetOverriddenFee",
642
- outputs: [],
643
- stateMutability: "nonpayable",
644
- type: "function",
645
- },
646
- {
647
- inputs: [],
648
- name: "vePendle",
649
- outputs: [
650
- {
651
- internalType: "address",
652
- name: "",
653
- type: "address",
654
- },
655
- ],
656
- stateMutability: "view",
657
- type: "function",
658
- },
659
- {
660
- inputs: [],
661
- name: "yieldContractFactory",
662
- outputs: [
663
- {
664
- internalType: "address",
665
- name: "",
666
- type: "address",
667
- },
668
- ],
669
- stateMutability: "view",
670
- type: "function",
671
- },
672
- ];
673
-
674
- const _bytecode =
675
- "0x6101406040523480156200001257600080fd5b5060405162001c3738038062001c37833981016040819052620000359162000647565b6001600160a01b038516610100526200007060646200005e670de0b6b3a76400006069620006bb565b6200006a919062000707565b62000098565b610120526001600160a01b0393841660805260a09290925290911660c05260e0525062000747565b6000808213620000de5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b604482015260640160405180910390fd5b670c7d713b49da000082138015620000fd5750670f43fc2c04ee000082125b156200012e57670de0b6b3a7640000620001178362000144565b81620001275762000127620006f1565b0592915050565b62000139826200026f565b92915050565b919050565b670de0b6b3a7640000026000806ec097ce7bc90715b34b9f1000000000808401906ec097ce7bc90715b34b9f0fffffffff1985010281620001895762000189620006f1565b05905060006ec097ce7bc90715b34b9f100000000082800205905081806ec097ce7bc90715b34b9f100000000081840205915060038205016ec097ce7bc90715b34b9f100000000082840205915060058205016ec097ce7bc90715b34b9f100000000082840205915060078205016ec097ce7bc90715b34b9f100000000082840205915060098205016ec097ce7bc90715b34b9f1000000000828402059150600b8205016ec097ce7bc90715b34b9f1000000000828402059150600d8205016ec097ce7bc90715b34b9f1000000000828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215620002b757620002ae826ec097ce7bc90715b34b9f100000000081620002a757620002a7620006f1565b056200026f565b60000392915050565b60007e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c000000000000083126200030957770195e54c5dd42177f53a27172fa9ec630262827000000000830592506806f05b59d3b2000000015b73011798004d755d3c8bc8e03204cf44619e000000831262000342576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126200038b576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312620003c7576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312620003ff57693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126200043757690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126200046d5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126200049957680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312620004cf576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f1775788937937831262000505576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126200053a576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126200056f576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816200059b576200059b620006f1565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b80516001600160a01b03811681146200013f57600080fd5b600080600080600060a086880312156200066057600080fd5b6200066b866200062f565b94506200067b602087016200062f565b93506040860151925062000692606087016200062f565b9150608086015190509295509295909350565b634e487b7160e01b600052601160045260246000fd5b80820260008212600160ff1b84141615620006da57620006da620006a5565b8181058314821517620001395762000139620006a5565b634e487b7160e01b600052601260045260246000fd5b6000826200072557634e487b7160e01b600052601260045260246000fd5b600160ff1b821460001984141615620007425762000742620006a5565b500590565b60805160a05160c05160e051610100516101205161146f620007c86000396000818161024601528181610dd70152610e24015260008181610306015261077f0152600081816103cb01526109cd01526000818161041f01526109ac0152600081816101a1015261098b01526000818161026d015261096a015261146f6000f3fe608060405234801561001057600080fd5b50600436106101335760003560e01c8063078dfbe714610138578063102eed3c1461014d5780631ad90e14146101605780631ce999e114610173578063349097aa1461019c57806342871ac6146101d15780634e71e0c8146102395780634facfd7a14610241578063508327971461026857806358e6309f1461028f5780635a6c72d0146102b257806361d027b3146102db57806382dabb21146102ee57806387a409a2146103015780638da5cb5b14610328578063958330d91461033b57806399eecb3b1461034e578063a3a4d69a14610361578063a63e0eca14610370578063c7bfd2fd14610383578063cb7111d8146103c6578063e30c3978146103ed578063e50bf2dc14610400578063ec8a68f21461041a578063f0f4426014610441575b600080fd5b61014b6101463660046111e7565b610454565b005b61014b61015b366004611258565b61055a565b61014b61016e36600461128b565b6105f4565b6101866101813660046112f0565b610765565b6040516101939190611323565b60405180910390f35b6101c37f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610193565b6102106101df366004611337565b6034602052600090815260409020546001600160501b0381169060ff600160501b8204811691600160581b90041683565b604080516001600160501b03909416845260ff9092166020840152151590820152606001610193565b61014b610aa8565b6101c37f000000000000000000000000000000000000000000000000000000000000000081565b6101867f000000000000000000000000000000000000000000000000000000000000000081565b6102a261029d366004611337565b610b53565b6040519015158152602001610193565b603354610210906001600160501b0381169060ff600160501b8204811691600160581b90041683565b603254610186906001600160a01b031681565b603854610186906001600160a01b031681565b6101867f000000000000000000000000000000000000000000000000000000000000000081565b600054610186906001600160a01b031681565b61014b610349366004611337565b610b66565b603954610186906001600160a01b031681565b6101c3670de0b6b3a764000081565b61014b61037e366004611352565b610bdf565b610396610391366004611337565b610cd3565b604080516001600160a01b0390941684526001600160501b03909216602084015260ff1690820152606001610193565b6101c37f000000000000000000000000000000000000000000000000000000000000000081565b600154610186906001600160a01b031681565b610408606481565b60405160ff9091168152602001610193565b6101867f000000000000000000000000000000000000000000000000000000000000000081565b61014b61044f366004611337565b610d5e565b6000546001600160a01b031633146104875760405162461bcd60e51b815260040161047e90611395565b60405180910390fd5b8115610538576001600160a01b0383161515806104a15750805b6104e55760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161047e565b600080546040516001600160a01b038087169392169160008051602061141a83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6000546001600160a01b031633146105845760405162461bcd60e51b815260040161047e90611395565b61058e8282610dd5565b604080516060810182526001600160501b03841680825260ff8416602083018190526001929093019190915260338054600160581b6001600160581b0319909116909217600160501b9093029290921760ff60581b19161790556105f0610e81565b5050565b600154600160a81b900460ff161580801561061a575060018054600160a01b900460ff16105b8061063a5750303b15801561063a575060018054600160a01b900460ff16145b61069d5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161047e565b6001805460ff60a01b1916600160a01b17905580156106ca576001805460ff60a81b1916600160a81b1790555b6106d333610ee1565b6106dc86610d5e565b6106e6858561055a565b603880546001600160a01b038086166001600160a01b0319928316179092556039805492851692909116919091179055801561075d576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6040516318b7373d60e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906318b7373d906107b4908790600401611323565b602060405180830381865afa1580156107d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f591906113ca565b6108125760405163781eae2d60e01b815260040160405180910390fd5b836001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610850573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087491906113ca565b156108925760405163e29ecf1560e01b815260040160405180910390fd5b6001600160a01b038481166000908152603560209081526040808320878452825280832086845290915290205416156108de5760405163252c443360e11b815260040160405180910390fd5b670de0b6b3a7640000821215610918576040516307b48ef760e41b815260048101839052670de0b6b3a7640000602482015260440161047e565b603854603954604080516001600160a01b0380891660208301529181018790526060810186905292811660808401521660a08201526109f190600090469060c0016040516020818303038152906040527f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610f70565b6001600160a01b0385811660009081526035602090815260408083208884528252808320878452909152902080546001600160a01b0319169183169190911790559050610a3f603682610f9a565b610a4b57610a4b6113e7565b836001600160a01b0316816001600160a01b03167f166ae5f55615b65bbd9a2496e98d4e4d78ca15bd6127c0fe2dc27b76f6c031438585604051610a99929190918252602082015260400190565b60405180910390a39392505050565b6001546001600160a01b0316338114610b035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161047e565b600080546040516001600160a01b038085169392169160008051602061141a83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000610b60603683610fb6565b92915050565b6000546001600160a01b03163314610b905760405162461bcd60e51b815260040161047e90611395565b6001600160a01b03811660008181526034602052604080822080546001600160601b0319169055517fde6e91eb95830256384b447e0ee564556c85ade807db58dc6e1d18688418aacd9190a250565b6000546001600160a01b03163314610c095760405162461bcd60e51b815260040161047e90611395565b610c138282610dd5565b604080516060810182526001600160501b03808516825260ff808516602080850191825260018587019081526001600160a01b038a16600081815260349093529187902095518654935191511515600160581b0260ff60581b1992909516600160501b026001600160581b031990941695169490941791909117929092161790915590517fa19e7426d30754f50d54a9c1c82b400fc1b4516ab9e91e20269634fb8b42275290610cc690859085906113fd565b60405180910390a2505050565b6032546033546001600160a01b03838116600090815260346020908152604091829020825160608101845290546001600160501b038181168352600160501b80830460ff90811695850195909552600160581b90920484161580159584019590955294909616959385169493909304169190610d56578051602082015190935091505b509193909250565b6000546001600160a01b03163314610d885760405162461bcd60e51b815260040161047e90611395565b6001600160a01b038116610daf57604051630af2e4bb60e21b815260040160405180910390fd5b603280546001600160a01b0319166001600160a01b038316179055610dd2610e81565b50565b7f0000000000000000000000000000000000000000000000000000000000000000826001600160501b03161115610e5057604051630b1e651560e11b81526001600160501b03831660048201527f0000000000000000000000000000000000000000000000000000000000000000602482015260440161047e565b606460ff821611156105f057604051635b668c6b60e11b815260ff821660048201526064602482015260440161047e565b6032546033546040516001600160a01b03909216917fe7b39c33a288abde49b8d831b2125b22dbb151766d6aa52b1511b340923d458791610ed7916001600160501b03821691600160501b900460ff16906113fd565b60405180910390a2565b600154600160a81b900460ff16610f4e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161047e565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b600080610f808787878787610fcb565b9050610f8d89898361101d565b9998505050505050505050565b6000610faf836001600160a01b03841661111d565b9392505050565b6000610faf836001600160a01b038416611167565b8451604080516020848701808501808401830190945283835291939192908401876000828b3c856000898301893c506020898101908585010161100f81838661117f565b505050505095945050505050565b60008347101561106f5760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015260640161047e565b81516000036110c05760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015260640161047e565b8282516020840186f590506001600160a01b038116610faf5760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b604482015260640161047e565b60006111298383611167565b61115f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b60565b506000610b60565b60009081526001919091016020526040902054151590565b5b6020811061119f578151835260209283019290910190601f1901611180565b905182516020929092036101000a6000190180199091169116179052565b80356001600160a01b03811681146111d457600080fd5b919050565b8015158114610dd257600080fd5b6000806000606084860312156111fc57600080fd5b611205846111bd565b92506020840135611215816111d9565b91506040840135611225816111d9565b809150509250925092565b80356001600160501b03811681146111d457600080fd5b803560ff811681146111d457600080fd5b6000806040838503121561126b57600080fd5b61127483611230565b915061128260208401611247565b90509250929050565b600080600080600060a086880312156112a357600080fd5b6112ac866111bd565b94506112ba60208701611230565b93506112c860408701611247565b92506112d6606087016111bd565b91506112e4608087016111bd565b90509295509295909350565b60008060006060848603121561130557600080fd5b61130e846111bd565b95602085013595506040909401359392505050565b6001600160a01b0391909116815260200190565b60006020828403121561134957600080fd5b610faf826111bd565b60008060006060848603121561136757600080fd5b611370846111bd565b925061137e60208501611230565b915061138c60408501611247565b90509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156113dc57600080fd5b8151610faf816111d9565b634e487b7160e01b600052600160045260246000fd5b6001600160501b0392909216825260ff1660208201526040019056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220c53e90d1947ee6dd7f0faabfb2e6c0996b3e198c9d100999c170843269e0907f64736f6c63430008170033";
676
-
677
- type PendleMarketFactoryConstructorParams =
678
- | [signer?: Signer]
679
- | ConstructorParameters<typeof ContractFactory>;
680
-
681
- const isSuperArgs = (
682
- xs: PendleMarketFactoryConstructorParams
683
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
684
-
685
- export class PendleMarketFactory__factory extends ContractFactory {
686
- constructor(...args: PendleMarketFactoryConstructorParams) {
687
- if (isSuperArgs(args)) {
688
- super(...args);
689
- } else {
690
- super(_abi, _bytecode, args[0]);
691
- }
692
- this.contractName = "PendleMarketFactory";
693
- }
694
-
695
- deploy(
696
- _yieldContractFactory: string,
697
- _marketCreationCodeContractA: string,
698
- _marketCreationCodeSizeA: BigNumberish,
699
- _marketCreationCodeContractB: string,
700
- _marketCreationCodeSizeB: BigNumberish,
701
- overrides?: Overrides & { from?: string | Promise<string> }
702
- ): Promise<PendleMarketFactory> {
703
- return super.deploy(
704
- _yieldContractFactory,
705
- _marketCreationCodeContractA,
706
- _marketCreationCodeSizeA,
707
- _marketCreationCodeContractB,
708
- _marketCreationCodeSizeB,
709
- overrides || {}
710
- ) as Promise<PendleMarketFactory>;
711
- }
712
- getDeployTransaction(
713
- _yieldContractFactory: string,
714
- _marketCreationCodeContractA: string,
715
- _marketCreationCodeSizeA: BigNumberish,
716
- _marketCreationCodeContractB: string,
717
- _marketCreationCodeSizeB: BigNumberish,
718
- overrides?: Overrides & { from?: string | Promise<string> }
719
- ): TransactionRequest {
720
- return super.getDeployTransaction(
721
- _yieldContractFactory,
722
- _marketCreationCodeContractA,
723
- _marketCreationCodeSizeA,
724
- _marketCreationCodeContractB,
725
- _marketCreationCodeSizeB,
726
- overrides || {}
727
- );
728
- }
729
- attach(address: string): PendleMarketFactory {
730
- return super.attach(address) as PendleMarketFactory;
731
- }
732
- connect(signer: Signer): PendleMarketFactory__factory {
733
- return super.connect(signer) as PendleMarketFactory__factory;
734
- }
735
- static readonly contractName: "PendleMarketFactory";
736
- public readonly contractName: "PendleMarketFactory";
737
- static readonly bytecode = _bytecode;
738
- static readonly abi = _abi;
739
- static createInterface(): PendleMarketFactoryInterface {
740
- return new utils.Interface(_abi) as PendleMarketFactoryInterface;
741
- }
742
- static connect(
743
- address: string,
744
- signerOrProvider: Signer | Provider
745
- ): PendleMarketFactory {
746
- return new Contract(address, _abi, signerOrProvider) as PendleMarketFactory;
747
- }
748
- }