@pendle/core-v2 6.1.0 → 6.1.2

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 (275) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  54. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  55. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +170 -32
  98. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  136. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  137. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +4 -0
  153. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +173 -0
  154. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +192 -53
  158. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  184. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  185. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  186. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  187. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  188. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  189. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  190. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  192. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  194. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  203. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  204. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  205. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  206. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  207. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  208. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  224. package/contracts/interfaces/IPGovernanceProxy.sol +16 -5
  225. package/contracts/offchain-helpers/{LimitBackendHelper.sol → LimitBackendHelperV2.sol} +16 -30
  226. package/contracts/offchain-helpers/PendleGovernanceProxy.sol +57 -32
  227. package/deployments/1-offchain-helper.json +3 -2
  228. package/deployments/10-core.json +1 -1
  229. package/deployments/10-offchain-helper.json +3 -2
  230. package/deployments/146-offchain-helper.json +3 -2
  231. package/deployments/42161-offchain-helper.json +3 -2
  232. package/deployments/5000-offchain-helper.json +3 -2
  233. package/deployments/56-offchain-helper.json +3 -2
  234. package/deployments/80094-offchain-helper.json +3 -2
  235. package/deployments/8453-offchain-helper.json +3 -2
  236. package/deployments/999-offchain-helper.json +3 -2
  237. package/package.json +2 -2
  238. package/typechain-types/ActionBase.ts +81 -0
  239. package/typechain-types/ActionInputTracker.ts +81 -0
  240. package/typechain-types/BoringOwnableUpgradeable.ts +203 -0
  241. package/typechain-types/BoringOwnableUpgradeable__deprecated.ts +204 -0
  242. package/typechain-types/IMarketSweed.ts +203 -0
  243. package/typechain-types/IPGovernanceProxy.ts +232 -51
  244. package/typechain-types/ITracker.ts +224 -0
  245. package/typechain-types/LimitBackendHelperV2.ts +289 -0
  246. package/typechain-types/MarketSweed.ts +216 -0
  247. package/typechain-types/PendleGovernanceProxy.ts +275 -96
  248. package/typechain-types/PendleMarket.ts +1207 -0
  249. package/typechain-types/PendleMarketFactory.ts +906 -0
  250. package/typechain-types/Tracker.ts +432 -0
  251. package/typechain-types/factories/ActionBase__factory.ts +36 -0
  252. package/typechain-types/factories/ActionInputTracker__factory.ts +39 -0
  253. package/typechain-types/factories/BoringOwnableUpgradeable__deprecated__factory.ts +120 -0
  254. package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +118 -0
  255. package/typechain-types/factories/IMarketSweed__factory.ts +153 -0
  256. package/typechain-types/factories/IPGovernanceProxy__factory.ts +170 -32
  257. package/typechain-types/factories/ITracker__factory.ts +114 -0
  258. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +235 -0
  259. package/typechain-types/factories/MarketSweed__factory.ts +323 -0
  260. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +191 -52
  261. package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
  262. package/typechain-types/factories/PendleMarket__factory.ts +1212 -0
  263. package/typechain-types/factories/Tracker__factory.ts +303 -0
  264. package/typechain-types/hardhat.d.ts +22 -4
  265. package/typechain-types/index.ts +6 -2
  266. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +0 -4
  267. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +0 -174
  268. package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
  269. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
  270. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
  271. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
  272. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +0 -1548
  273. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
  274. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
  275. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
@@ -0,0 +1,748 @@
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
+ }