@pendle/core-v2 6.1.3-sweed → 6.1.4

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 (278) 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/FixedPricePTAMM.sol/FixedPricePTAMM.json +70 -2
  52. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  54. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  55. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  56. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json +68 -0
  94. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  137. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  139. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  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/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  183. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  184. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  185. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  186. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  187. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  188. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  189. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  190. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  192. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  194. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  202. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  203. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  204. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  205. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  206. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  207. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  208. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  223. package/contracts/cross-chain/FixedPricePTAMM.sol +45 -3
  224. package/contracts/interfaces/IPFixedPricePTAMM.sol +14 -0
  225. package/package.json +2 -2
  226. package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
  227. package/typechain-types/FixedPricePTAMM.ts +98 -0
  228. package/typechain-types/IPFixedPricePTAMM.ts +98 -0
  229. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
  230. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
  231. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
  232. package/typechain-types/PendleERC20Upg.ts +0 -21
  233. package/typechain-types/{Tracker.ts → PendleFeeSetter.ts} +60 -155
  234. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
  235. package/typechain-types/factories/FixedPricePTAMM__factory.ts +69 -1
  236. package/typechain-types/factories/IPFixedPricePTAMM__factory.ts +68 -0
  237. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
  238. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
  239. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
  240. package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -13
  241. package/typechain-types/factories/PendleFeeSetter__factory.ts +257 -0
  242. package/typechain-types/hardhat.d.ts +0 -18
  243. package/typechain-types/index.ts +0 -4
  244. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +0 -4
  245. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.json +0 -141
  246. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +0 -4
  247. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +0 -338
  248. package/contracts/interfaces/IMarketSweed.sol +0 -23
  249. package/contracts/offchain-helpers/MarketSweed.sol +0 -239
  250. package/typechain-types/ActionBase.ts +0 -81
  251. package/typechain-types/ActionInputTracker.ts +0 -81
  252. package/typechain-types/BoringOwnableUpgradeable.ts +0 -203
  253. package/typechain-types/BoringOwnableUpgradeable__deprecated.ts +0 -204
  254. package/typechain-types/IMarketSweed.ts +0 -203
  255. package/typechain-types/IPReentrancyGuardUpg.ts +0 -89
  256. package/typechain-types/ITracker.ts +0 -224
  257. package/typechain-types/MarketSweed.ts +0 -255
  258. package/typechain-types/PendleMarket.ts +0 -1257
  259. package/typechain-types/PendleMarketFactory.ts +0 -906
  260. package/typechain-types/PendleMarketFactoryUpg.ts +0 -773
  261. package/typechain-types/PendleMarketFactoryV3Upg.ts +0 -760
  262. package/typechain-types/PendleReentrancyGuardUpg.ts +0 -100
  263. package/typechain-types/PendleYieldContractFactoryUpg.ts +0 -820
  264. package/typechain-types/factories/ActionBase__factory.ts +0 -36
  265. package/typechain-types/factories/ActionInputTracker__factory.ts +0 -39
  266. package/typechain-types/factories/BoringOwnableUpgradeable__deprecated__factory.ts +0 -120
  267. package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +0 -118
  268. package/typechain-types/factories/IMarketSweed__factory.ts +0 -153
  269. package/typechain-types/factories/IPReentrancyGuardUpg__factory.ts +0 -43
  270. package/typechain-types/factories/ITracker__factory.ts +0 -114
  271. package/typechain-types/factories/MarketSweed__factory.ts +0 -396
  272. package/typechain-types/factories/PendleMarketFactoryUpg__factory.ts +0 -732
  273. package/typechain-types/factories/PendleMarketFactoryV3Upg__factory.ts +0 -719
  274. package/typechain-types/factories/PendleMarketFactory__factory.ts +0 -748
  275. package/typechain-types/factories/PendleMarket__factory.ts +0 -1266
  276. package/typechain-types/factories/PendleReentrancyGuardUpg__factory.ts +0 -56
  277. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +0 -692
  278. package/typechain-types/factories/Tracker__factory.ts +0 -303
@@ -1,732 +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
- PendleMarketFactoryUpg,
15
- PendleMarketFactoryUpgInterface,
16
- } from "../PendleMarketFactoryUpg";
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
- internalType: "address",
48
- name: "_vePendle",
49
- type: "address",
50
- },
51
- {
52
- internalType: "address",
53
- name: "_gaugeController",
54
- type: "address",
55
- },
56
- ],
57
- stateMutability: "nonpayable",
58
- type: "constructor",
59
- },
60
- {
61
- inputs: [
62
- {
63
- internalType: "address",
64
- name: "addr",
65
- type: "address",
66
- },
67
- ],
68
- name: "MFNotPendleMarket",
69
- type: "error",
70
- },
71
- {
72
- inputs: [],
73
- name: "MarketFactoryExpiredPt",
74
- type: "error",
75
- },
76
- {
77
- inputs: [
78
- {
79
- internalType: "int256",
80
- name: "initialAnchor",
81
- type: "int256",
82
- },
83
- {
84
- internalType: "int256",
85
- name: "minInitialAnchor",
86
- type: "int256",
87
- },
88
- ],
89
- name: "MarketFactoryInitialAnchorTooLow",
90
- type: "error",
91
- },
92
- {
93
- inputs: [],
94
- name: "MarketFactoryInvalidPt",
95
- type: "error",
96
- },
97
- {
98
- inputs: [
99
- {
100
- internalType: "uint80",
101
- name: "lnFeeRateRoot",
102
- type: "uint80",
103
- },
104
- {
105
- internalType: "uint256",
106
- name: "maxLnFeeRateRoot",
107
- type: "uint256",
108
- },
109
- ],
110
- name: "MarketFactoryLnFeeRateRootTooHigh",
111
- type: "error",
112
- },
113
- {
114
- inputs: [],
115
- name: "MarketFactoryMarketExists",
116
- type: "error",
117
- },
118
- {
119
- inputs: [
120
- {
121
- internalType: "uint80",
122
- name: "overriddenFee",
123
- type: "uint80",
124
- },
125
- {
126
- internalType: "uint256",
127
- name: "marketLnFeeRateRoot",
128
- type: "uint256",
129
- },
130
- ],
131
- name: "MarketFactoryOverriddenFeeTooHigh",
132
- type: "error",
133
- },
134
- {
135
- inputs: [
136
- {
137
- internalType: "uint8",
138
- name: "reserveFeePercent",
139
- type: "uint8",
140
- },
141
- {
142
- internalType: "uint8",
143
- name: "maxReserveFeePercent",
144
- type: "uint8",
145
- },
146
- ],
147
- name: "MarketFactoryReserveFeePercentTooHigh",
148
- type: "error",
149
- },
150
- {
151
- inputs: [],
152
- name: "MarketFactoryZeroTreasury",
153
- type: "error",
154
- },
155
- {
156
- anonymous: false,
157
- inputs: [
158
- {
159
- indexed: true,
160
- internalType: "address",
161
- name: "market",
162
- type: "address",
163
- },
164
- {
165
- indexed: true,
166
- internalType: "address",
167
- name: "PT",
168
- type: "address",
169
- },
170
- {
171
- indexed: false,
172
- internalType: "int256",
173
- name: "scalarRoot",
174
- type: "int256",
175
- },
176
- {
177
- indexed: false,
178
- internalType: "int256",
179
- name: "initialAnchor",
180
- type: "int256",
181
- },
182
- {
183
- indexed: false,
184
- internalType: "uint256",
185
- name: "lnFeeRateRoot",
186
- type: "uint256",
187
- },
188
- ],
189
- name: "CreateNewMarket",
190
- type: "event",
191
- },
192
- {
193
- anonymous: false,
194
- inputs: [
195
- {
196
- indexed: false,
197
- internalType: "uint8",
198
- name: "version",
199
- type: "uint8",
200
- },
201
- ],
202
- name: "Initialized",
203
- type: "event",
204
- },
205
- {
206
- anonymous: false,
207
- inputs: [
208
- {
209
- indexed: true,
210
- internalType: "address",
211
- name: "treasury",
212
- type: "address",
213
- },
214
- {
215
- indexed: false,
216
- internalType: "uint8",
217
- name: "reserveFeePercent",
218
- type: "uint8",
219
- },
220
- ],
221
- name: "NewTreasuryAndFeeReserve",
222
- type: "event",
223
- },
224
- {
225
- anonymous: false,
226
- inputs: [
227
- {
228
- indexed: true,
229
- internalType: "address",
230
- name: "previousOwner",
231
- type: "address",
232
- },
233
- {
234
- indexed: true,
235
- internalType: "address",
236
- name: "newOwner",
237
- type: "address",
238
- },
239
- ],
240
- name: "OwnershipTransferred",
241
- type: "event",
242
- },
243
- {
244
- anonymous: false,
245
- inputs: [
246
- {
247
- indexed: true,
248
- internalType: "address",
249
- name: "router",
250
- type: "address",
251
- },
252
- {
253
- indexed: true,
254
- internalType: "address",
255
- name: "market",
256
- type: "address",
257
- },
258
- {
259
- indexed: false,
260
- internalType: "uint80",
261
- name: "lnFeeRateRoot",
262
- type: "uint80",
263
- },
264
- ],
265
- name: "SetOverriddenFee",
266
- type: "event",
267
- },
268
- {
269
- inputs: [],
270
- name: "VERSION",
271
- outputs: [
272
- {
273
- internalType: "string",
274
- name: "",
275
- type: "string",
276
- },
277
- ],
278
- stateMutability: "view",
279
- type: "function",
280
- },
281
- {
282
- inputs: [],
283
- name: "claimOwnership",
284
- outputs: [],
285
- stateMutability: "nonpayable",
286
- type: "function",
287
- },
288
- {
289
- inputs: [
290
- {
291
- internalType: "address",
292
- name: "PT",
293
- type: "address",
294
- },
295
- {
296
- internalType: "int256",
297
- name: "scalarRoot",
298
- type: "int256",
299
- },
300
- {
301
- internalType: "int256",
302
- name: "initialAnchor",
303
- type: "int256",
304
- },
305
- {
306
- internalType: "uint80",
307
- name: "lnFeeRateRoot",
308
- type: "uint80",
309
- },
310
- ],
311
- name: "createNewMarket",
312
- outputs: [
313
- {
314
- internalType: "address",
315
- name: "market",
316
- type: "address",
317
- },
318
- ],
319
- stateMutability: "nonpayable",
320
- type: "function",
321
- },
322
- {
323
- inputs: [],
324
- name: "gaugeController",
325
- outputs: [
326
- {
327
- internalType: "address",
328
- name: "",
329
- type: "address",
330
- },
331
- ],
332
- stateMutability: "view",
333
- type: "function",
334
- },
335
- {
336
- inputs: [
337
- {
338
- internalType: "address",
339
- name: "market",
340
- type: "address",
341
- },
342
- {
343
- internalType: "address",
344
- name: "router",
345
- type: "address",
346
- },
347
- ],
348
- name: "getMarketConfig",
349
- outputs: [
350
- {
351
- internalType: "address",
352
- name: "_treasury",
353
- type: "address",
354
- },
355
- {
356
- internalType: "uint80",
357
- name: "_overriddenFee",
358
- type: "uint80",
359
- },
360
- {
361
- internalType: "uint8",
362
- name: "_reserveFeePercent",
363
- type: "uint8",
364
- },
365
- ],
366
- stateMutability: "view",
367
- type: "function",
368
- },
369
- {
370
- inputs: [
371
- {
372
- internalType: "address",
373
- name: "_owner",
374
- type: "address",
375
- },
376
- {
377
- internalType: "address",
378
- name: "_treasury",
379
- type: "address",
380
- },
381
- {
382
- internalType: "uint8",
383
- name: "_reserveFeePercent",
384
- type: "uint8",
385
- },
386
- ],
387
- name: "initialize",
388
- outputs: [],
389
- stateMutability: "nonpayable",
390
- type: "function",
391
- },
392
- {
393
- inputs: [
394
- {
395
- internalType: "address",
396
- name: "market",
397
- type: "address",
398
- },
399
- ],
400
- name: "isValidMarket",
401
- outputs: [
402
- {
403
- internalType: "bool",
404
- name: "",
405
- type: "bool",
406
- },
407
- ],
408
- stateMutability: "view",
409
- type: "function",
410
- },
411
- {
412
- inputs: [],
413
- name: "marketCreationCodeContractA",
414
- outputs: [
415
- {
416
- internalType: "address",
417
- name: "",
418
- type: "address",
419
- },
420
- ],
421
- stateMutability: "view",
422
- type: "function",
423
- },
424
- {
425
- inputs: [],
426
- name: "marketCreationCodeContractB",
427
- outputs: [
428
- {
429
- internalType: "address",
430
- name: "",
431
- type: "address",
432
- },
433
- ],
434
- stateMutability: "view",
435
- type: "function",
436
- },
437
- {
438
- inputs: [],
439
- name: "marketCreationCodeSizeA",
440
- outputs: [
441
- {
442
- internalType: "uint256",
443
- name: "",
444
- type: "uint256",
445
- },
446
- ],
447
- stateMutability: "view",
448
- type: "function",
449
- },
450
- {
451
- inputs: [],
452
- name: "marketCreationCodeSizeB",
453
- outputs: [
454
- {
455
- internalType: "uint256",
456
- name: "",
457
- type: "uint256",
458
- },
459
- ],
460
- stateMutability: "view",
461
- type: "function",
462
- },
463
- {
464
- inputs: [],
465
- name: "maxLnFeeRateRoot",
466
- outputs: [
467
- {
468
- internalType: "uint256",
469
- name: "",
470
- type: "uint256",
471
- },
472
- ],
473
- stateMutability: "view",
474
- type: "function",
475
- },
476
- {
477
- inputs: [],
478
- name: "maxReserveFeePercent",
479
- outputs: [
480
- {
481
- internalType: "uint8",
482
- name: "",
483
- type: "uint8",
484
- },
485
- ],
486
- stateMutability: "view",
487
- type: "function",
488
- },
489
- {
490
- inputs: [],
491
- name: "minInitialAnchor",
492
- outputs: [
493
- {
494
- internalType: "int256",
495
- name: "",
496
- type: "int256",
497
- },
498
- ],
499
- stateMutability: "view",
500
- type: "function",
501
- },
502
- {
503
- inputs: [],
504
- name: "owner",
505
- outputs: [
506
- {
507
- internalType: "address",
508
- name: "",
509
- type: "address",
510
- },
511
- ],
512
- stateMutability: "view",
513
- type: "function",
514
- },
515
- {
516
- inputs: [],
517
- name: "pendingOwner",
518
- outputs: [
519
- {
520
- internalType: "address",
521
- name: "",
522
- type: "address",
523
- },
524
- ],
525
- stateMutability: "view",
526
- type: "function",
527
- },
528
- {
529
- inputs: [],
530
- name: "reserveFeePercent",
531
- outputs: [
532
- {
533
- internalType: "uint8",
534
- name: "",
535
- type: "uint8",
536
- },
537
- ],
538
- stateMutability: "view",
539
- type: "function",
540
- },
541
- {
542
- inputs: [
543
- {
544
- internalType: "address",
545
- name: "router",
546
- type: "address",
547
- },
548
- {
549
- internalType: "address",
550
- name: "market",
551
- type: "address",
552
- },
553
- {
554
- internalType: "uint80",
555
- name: "newFee",
556
- type: "uint80",
557
- },
558
- ],
559
- name: "setOverriddenFee",
560
- outputs: [],
561
- stateMutability: "nonpayable",
562
- type: "function",
563
- },
564
- {
565
- inputs: [
566
- {
567
- internalType: "address",
568
- name: "newTreasury",
569
- type: "address",
570
- },
571
- {
572
- internalType: "uint8",
573
- name: "newReserveFeePercent",
574
- type: "uint8",
575
- },
576
- ],
577
- name: "setTreasuryAndFeeReserve",
578
- outputs: [],
579
- stateMutability: "nonpayable",
580
- type: "function",
581
- },
582
- {
583
- inputs: [
584
- {
585
- internalType: "address",
586
- name: "newOwner",
587
- type: "address",
588
- },
589
- {
590
- internalType: "bool",
591
- name: "direct",
592
- type: "bool",
593
- },
594
- {
595
- internalType: "bool",
596
- name: "renounce",
597
- type: "bool",
598
- },
599
- ],
600
- name: "transferOwnership",
601
- outputs: [],
602
- stateMutability: "nonpayable",
603
- type: "function",
604
- },
605
- {
606
- inputs: [],
607
- name: "treasury",
608
- outputs: [
609
- {
610
- internalType: "address",
611
- name: "",
612
- type: "address",
613
- },
614
- ],
615
- stateMutability: "view",
616
- type: "function",
617
- },
618
- {
619
- inputs: [],
620
- name: "vePendle",
621
- outputs: [
622
- {
623
- internalType: "address",
624
- name: "",
625
- type: "address",
626
- },
627
- ],
628
- stateMutability: "view",
629
- type: "function",
630
- },
631
- {
632
- inputs: [],
633
- name: "yieldContractFactory",
634
- outputs: [
635
- {
636
- internalType: "address",
637
- name: "",
638
- type: "address",
639
- },
640
- ],
641
- stateMutability: "view",
642
- type: "function",
643
- },
644
- ];
645
-
646
- const _bytecode =
647
- "0x610180604052348015610010575f5ffd5b50604051611c0f380380611c0f83398101604081905261002f916106f3565b6001600160a01b038716610100526100646064610055670de0b6b3a7640000606961077c565b61005f91906107bf565b6100a7565b610160526001600160a01b0380871660805260a086905284811660c05260e08490528281166101205281166101405261009b610149565b505050505050506107f7565b5f5f82136100ec5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064015b60405180910390fd5b670c7d713b49da00008213801561010a5750670f43fc2c04ee000082125b1561013557670de0b6b3a764000061012183610211565b8161012e5761012e6107ab565b0592915050565b61013e82610337565b92915050565b919050565b600154600160a81b900460ff16156101b35760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b60648201526084016100e3565b600154600160a01b900460ff9081161461020f576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b670de0b6b3a7640000025f806ec097ce7bc90715b34b9f1000000000808401906ec097ce7bc90715b34b9f0fffffffff1985010281610252576102526107ab565b0590505f6ec097ce7bc90715b34b9f100000000082800205905081806ec097ce7bc90715b34b9f100000000081840205915060038205016ec097ce7bc90715b34b9f100000000082840205915060058205016ec097ce7bc90715b34b9f100000000082840205915060078205016ec097ce7bc90715b34b9f100000000082840205915060098205016ec097ce7bc90715b34b9f1000000000828402059150600b8205016ec097ce7bc90715b34b9f1000000000828402059150600d8205016ec097ce7bc90715b34b9f1000000000828402059150600f82050160020295945050505050565b5f670de0b6b3a76400008212156103775761036f826ec097ce7bc90715b34b9f100000000081610369576103696107ab565b05610337565b5f0392915050565b5f7e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c000000000000083126103c757770195e54c5dd42177f53a27172fa9ec630262827000000000830592506806f05b59d3b2000000015b73011798004d755d3c8bc8e03204cf44619e00000083126103ff576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312610447576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312610482576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf85083126104b957693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126104f057690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126105255768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261055057680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312610585576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126105ba576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126105ee576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312610622576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b5f68056bc75e2d63100000840168056bc75e2d63100000808603028161064a5761064a6107ab565b0590505f68056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b80516001600160a01b0381168114610144575f5ffd5b5f5f5f5f5f5f5f60e0888a031215610709575f5ffd5b610712886106dd565b9650610720602089016106dd565b60408901519096509450610736606089016106dd565b6080890151909450925061074c60a089016106dd565b915061075a60c089016106dd565b905092959891949750929550565b634e487b7160e01b5f52601160045260245ffd5b8082025f8212600160ff1b8414161561079757610797610768565b818105831482151761013e5761013e610768565b634e487b7160e01b5f52601260045260245ffd5b5f826107d957634e487b7160e01b5f52601260045260245ffd5b600160ff1b82145f19841416156107f2576107f2610768565b500590565b60805160a05160c05160e0516101005161012051610140516101605161137e6108915f395f81816101b401528181610aa80152610af501525f818161033e0152610c1101525f81816102cb0152610be901525f81816102f2015261099701525f81816103870152610cb701525f81816103c90152610c9601525f81816101640152610c7501525f81816101db0152610c54015261137e5ff3fe608060405234801561000f575f5ffd5b506004361061011b575f3560e01c8063078dfbe71461011f5780631feec24414610134578063349097aa1461015f57806345fccd4f146101945780634e71e0c8146101a75780634facfd7a146101af57806350832797146101d657806358e6309f1461020a5780635c098c111461022d57806361d027b3146102b357806382dabb21146102c657806387a409a2146102ed57806389232a00146103145780638da5cb5b1461032757806399eecb3b14610339578063a3a4d69a14610360578063c821db0d1461036f578063cb7111d814610382578063e30c3978146103a9578063e50bf2dc146103bc578063ec8a68f2146103c4578063f661cf6b146103eb578063ffa1ad74146103fe575b5f5ffd5b61013261012d3660046110b0565b61042f565b005b60325461014890600160a01b900460ff1681565b60405160ff90911681526020015b60405180910390f35b6101867f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610156565b6101326101a2366004611106565b610531565b610132610619565b6101867f000000000000000000000000000000000000000000000000000000000000000081565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101569190611137565b61021d61021836600461114b565b6106c1565b6040519015158152602001610156565b61028361023b366004611164565b6032546001600160a01b039182165f90815260336020908152604080832095851683529490529290922054908216926001600160501b0390911691600160a01b900460ff1690565b604080516001600160a01b0390941684526001600160501b03909216602084015260ff1690820152606001610156565b6032546101fd906001600160a01b031681565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b61013261032236600461118c565b6106d3565b5f546101fd906001600160a01b031681565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b610186670de0b6b3a764000081565b61013261037d3660046111e0565b610809565b6101867f000000000000000000000000000000000000000000000000000000000000000081565b6001546101fd906001600160a01b031681565b610148606481565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b6101fd6103f9366004611219565b61097e565b610422604051806040016040528060058152602001640342e302e360dc1b81525081565b604051610156919061125e565b5f546001600160a01b031633146104615760405162461bcd60e51b8152600401610458906112a9565b60405180910390fd5b811561050f576001600160a01b03831615158061047b5750805b6104bf5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610458565b5f80546040516001600160a01b03808716939216915f5160206113295f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b5f546001600160a01b0316331461055a5760405162461bcd60e51b8152600401610458906112a9565b6001600160a01b03821661058157604051630af2e4bb60e21b815260040160405180910390fd5b606460ff821611156105b257604051635b668c6b60e11b815260ff8216600482015260646024820152604401610458565b6032805460ff8316600160a01b81026001600160a81b03199092166001600160a01b03861690811792909217909255604051918252907fc612910a1561af820dd8961721344b949df6bfcb3cd8dda1f87a5f25e80852cb9060200160405180910390a25050565b6001546001600160a01b03163381146106745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610458565b5f80546040516001600160a01b03808516939216915f5160206113295f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b5f6106cd603583610db6565b92915050565b600154600160a81b900460ff16158080156106f9575060018054600160a01b900460ff16105b806107195750303b158015610719575060018054600160a01b900460ff16145b61077c5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610458565b6001805460ff60a01b1916600160a01b17905580156107a9576001805460ff60a81b1916600160a81b1790555b6107b284610dd1565b6107bc8383610531565b8015610803576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b5f546001600160a01b031633146108325760405162461bcd60e51b8152600401610458906112a9565b61083d603583610db6565b61085c5781604051635e904c9b60e01b81526004016104589190611137565b5f826001600160a01b031663e4f8b2e96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610899573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108bd91906112de565b9050806001600160501b0316826001600160501b0316106109045760405163024a6ed760e61b81526001600160501b03808416600483015282166024820152604401610458565b6001600160a01b038481165f8181526033602090815260408083209488168084529482529182902080546001600160501b0319166001600160501b03881690811790915591519182527fea7fdf3abb8ced24e7f9c441f3e98071fb5ea1f9278e2b9202c4a6d306cce59f910160405180910390a350505050565b6040516318b7373d60e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906318b7373d906109cc908890600401611137565b602060405180830381865afa1580156109e7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0b91906112f9565b610a285760405163781eae2d60e01b815260040160405180910390fd5b846001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a64573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8891906112f9565b15610aa65760405163e29ecf1560e01b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000826001600160501b03161115610b2157604051630b1e651560e11b81526001600160501b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604401610458565b6001600160a01b038581165f908152603460209081526040808320888452825280832087845282528083206001600160501b03871684529091529020541615610b7d5760405163252c443360e11b815260040160405180910390fd5b670de0b6b3a7640000831215610bb7576040516307b48ef760e41b815260048101849052670de0b6b3a76400006024820152604401610458565b604080516001600160a01b038781166020830152918101869052606081018590526001600160501b03841660808201527f0000000000000000000000000000000000000000000000000000000000000000821660a08201527f000000000000000000000000000000000000000000000000000000000000000090911660c0820152610cdb905f90469060e0016040516020818303038152906040527f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610e5f565b6001600160a01b038681165f908152603460209081526040808320898452825280832088845282528083206001600160501b0388168452909152902080546001600160a01b0319169183169190911790559050610d39603582610e88565b610d4557610d45611314565b846001600160a01b0316816001600160a01b03167fae811fae25e2770b6bd1dcb1475657e8c3a976f91d1ebf081271db08eef920af868686604051610da69392919092835260208301919091526001600160501b0316604082015260600190565b60405180910390a3949350505050565b5f610dca836001600160a01b038416610e9c565b9392505050565b600154600160a81b900460ff16610e3e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610458565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f5f610e6e8787878787610eb3565b9050610e7b898983610f03565b9998505050505050505050565b5f610dca836001600160a01b038416611001565b5f9081526001919091016020526040902054151590565b8451604080516020848701808501808401830190945283835291939192908401875f828b3c855f898301893c5060208981019085850101610ef5818386611048565b505050505095945050505050565b5f83471015610f545760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e63650000006044820152606401610458565b81515f03610fa45760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152606401610458565b8282516020840186f590506001600160a01b038116610dca5760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b6044820152606401610458565b5f61100c8383610e9c565b61104157508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556106cd565b505f6106cd565b5b60208110611068578151835260209283019290910190601f1901611049565b905182516020929092036101000a5f190180199091169116179052565b80356001600160a01b038116811461109b575f5ffd5b919050565b80151581146110ad575f5ffd5b50565b5f5f5f606084860312156110c2575f5ffd5b6110cb84611085565b925060208401356110db816110a0565b915060408401356110eb816110a0565b809150509250925092565b803560ff8116811461109b575f5ffd5b5f5f60408385031215611117575f5ffd5b61112083611085565b915061112e602084016110f6565b90509250929050565b6001600160a01b0391909116815260200190565b5f6020828403121561115b575f5ffd5b610dca82611085565b5f5f60408385031215611175575f5ffd5b61117e83611085565b915061112e60208401611085565b5f5f5f6060848603121561119e575f5ffd5b6111a784611085565b92506111b560208501611085565b91506111c3604085016110f6565b90509250925092565b6001600160501b03811681146110ad575f5ffd5b5f5f5f606084860312156111f2575f5ffd5b6111fb84611085565b925061120960208501611085565b915060408401356110eb816111cc565b5f5f5f5f6080858703121561122c575f5ffd5b61123585611085565b935060208501359250604085013591506060850135611253816111cc565b939692955090935050565b602081525f82518060208401525f5b8181101561128a576020818601810151604086840101520161126d565b505f604082850101526040601f19601f83011684010191505092915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f602082840312156112ee575f5ffd5b8151610dca816111cc565b5f60208284031215611309575f5ffd5b8151610dca816110a0565b634e487b7160e01b5f52600160045260245ffdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a26469706673582212207b06e7e16d13caad5e67956af8414c710f5ddba541b570625267dbe7f06d4c1e64736f6c634300081e0033";
648
-
649
- type PendleMarketFactoryUpgConstructorParams =
650
- | [signer?: Signer]
651
- | ConstructorParameters<typeof ContractFactory>;
652
-
653
- const isSuperArgs = (
654
- xs: PendleMarketFactoryUpgConstructorParams
655
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
656
-
657
- export class PendleMarketFactoryUpg__factory extends ContractFactory {
658
- constructor(...args: PendleMarketFactoryUpgConstructorParams) {
659
- if (isSuperArgs(args)) {
660
- super(...args);
661
- } else {
662
- super(_abi, _bytecode, args[0]);
663
- }
664
- this.contractName = "PendleMarketFactoryUpg";
665
- }
666
-
667
- deploy(
668
- _yieldContractFactory: string,
669
- _marketCreationCodeContractA: string,
670
- _marketCreationCodeSizeA: BigNumberish,
671
- _marketCreationCodeContractB: string,
672
- _marketCreationCodeSizeB: BigNumberish,
673
- _vePendle: string,
674
- _gaugeController: string,
675
- overrides?: Overrides & { from?: string | Promise<string> }
676
- ): Promise<PendleMarketFactoryUpg> {
677
- return super.deploy(
678
- _yieldContractFactory,
679
- _marketCreationCodeContractA,
680
- _marketCreationCodeSizeA,
681
- _marketCreationCodeContractB,
682
- _marketCreationCodeSizeB,
683
- _vePendle,
684
- _gaugeController,
685
- overrides || {}
686
- ) as Promise<PendleMarketFactoryUpg>;
687
- }
688
- getDeployTransaction(
689
- _yieldContractFactory: string,
690
- _marketCreationCodeContractA: string,
691
- _marketCreationCodeSizeA: BigNumberish,
692
- _marketCreationCodeContractB: string,
693
- _marketCreationCodeSizeB: BigNumberish,
694
- _vePendle: string,
695
- _gaugeController: string,
696
- overrides?: Overrides & { from?: string | Promise<string> }
697
- ): TransactionRequest {
698
- return super.getDeployTransaction(
699
- _yieldContractFactory,
700
- _marketCreationCodeContractA,
701
- _marketCreationCodeSizeA,
702
- _marketCreationCodeContractB,
703
- _marketCreationCodeSizeB,
704
- _vePendle,
705
- _gaugeController,
706
- overrides || {}
707
- );
708
- }
709
- attach(address: string): PendleMarketFactoryUpg {
710
- return super.attach(address) as PendleMarketFactoryUpg;
711
- }
712
- connect(signer: Signer): PendleMarketFactoryUpg__factory {
713
- return super.connect(signer) as PendleMarketFactoryUpg__factory;
714
- }
715
- static readonly contractName: "PendleMarketFactoryUpg";
716
- public readonly contractName: "PendleMarketFactoryUpg";
717
- static readonly bytecode = _bytecode;
718
- static readonly abi = _abi;
719
- static createInterface(): PendleMarketFactoryUpgInterface {
720
- return new utils.Interface(_abi) as PendleMarketFactoryUpgInterface;
721
- }
722
- static connect(
723
- address: string,
724
- signerOrProvider: Signer | Provider
725
- ): PendleMarketFactoryUpg {
726
- return new Contract(
727
- address,
728
- _abi,
729
- signerOrProvider
730
- ) as PendleMarketFactoryUpg;
731
- }
732
- }