@pendle/core-v2 6.4.1 → 6.4.2-swaphubtest2

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