@pendle/core-v2 6.3.2-swaphubtest2 → 6.3.3

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