@pendle/core-v2 6.2.2-beta → 6.2.2-sweed

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (494) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +20 -2
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +20 -2
  15. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +6 -24
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  32. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  35. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  37. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
  39. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +4 -0
  40. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +636 -0
  41. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +1181 -0
  43. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  47. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +28 -2
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +4 -0
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +608 -0
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +28 -2
  55. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +15 -2
  57. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +27 -2
  64. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
  68. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  71. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  72. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  73. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  74. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  75. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  76. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  77. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  78. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  79. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +4 -0
  84. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.json +141 -0
  85. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +4 -0
  115. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.json +282 -0
  116. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
  122. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +58 -0
  133. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +81 -19
  135. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +26 -0
  150. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +13 -0
  158. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +26 -0
  160. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  166. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  167. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  168. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  169. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  170. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  171. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
  179. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  182. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  186. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  190. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +4 -0
  191. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +333 -0
  192. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +15 -2
  197. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
  199. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
  206. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +7 -2
  210. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  212. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  213. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  214. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  215. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  216. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  218. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  219. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  221. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  228. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  229. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  230. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  231. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  232. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  233. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  234. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  235. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  236. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +4 -0
  237. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.json +533 -0
  238. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +4 -0
  239. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +889 -0
  240. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +4 -0
  241. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.json +84 -0
  242. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +4 -0
  243. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +24 -0
  244. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  245. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  246. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  247. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  248. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  249. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  250. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  251. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  252. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  253. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  254. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  255. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  256. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  257. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  258. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  259. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  260. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  261. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  262. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  263. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  264. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
  265. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  266. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  267. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  268. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  269. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  270. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  271. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  272. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  273. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  274. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
  275. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  276. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  277. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  278. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  279. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  280. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  281. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  282. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  283. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  284. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  285. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  286. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  287. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  288. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  289. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  290. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  291. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  292. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  293. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  294. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  295. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  296. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  297. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  298. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  299. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  300. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  301. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  302. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  303. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  304. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  305. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  306. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  307. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  308. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  309. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  310. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  311. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  312. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  313. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  314. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  315. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  316. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  317. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  318. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +6 -2
  319. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +12 -2
  320. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +9 -1
  321. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +10 -14
  322. package/contracts/core/Market/PendleGauge.sol +2 -0
  323. package/contracts/core/Market/{v3/PendleMarketFactoryV3.sol → PendleMarketFactoryV6Upg.sol} +18 -14
  324. package/contracts/core/Market/{v3/PendleMarketV3.sol → PendleMarketV6.sol} +48 -13
  325. package/contracts/core/YieldContracts/PendlePrincipalToken.sol +6 -0
  326. package/contracts/core/YieldContracts/{PendleYieldContractFactory.sol → PendleYieldContractFactoryUpg.sol} +10 -13
  327. package/contracts/core/YieldContracts/PendleYieldToken.sol +6 -0
  328. package/contracts/core/erc20/PendleERC20.sol +12 -0
  329. package/contracts/core/libraries/Errors.sol +7 -0
  330. package/contracts/core/libraries/StringLib.sol +12 -0
  331. package/contracts/interfaces/IMarketSweed.sol +23 -0
  332. package/contracts/interfaces/IPExchangeRateOracleApp.sol +86 -0
  333. package/contracts/interfaces/IPGauge.sol +4 -3
  334. package/contracts/interfaces/IPMarket.sol +8 -2
  335. package/contracts/interfaces/IPMarketFactory.sol +22 -10
  336. package/contracts/interfaces/IPPrincipalToken.sol +4 -0
  337. package/contracts/interfaces/IPYieldContractFactory.sol +2 -0
  338. package/contracts/interfaces/IPYieldToken.sol +4 -0
  339. package/contracts/offchain-helpers/MarketSweed.sol +239 -0
  340. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +10 -10
  341. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol +6 -6
  342. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +3 -3
  343. package/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol +23 -0
  344. package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol +160 -0
  345. package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol +25 -0
  346. package/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol +36 -0
  347. package/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol +9 -0
  348. package/package.json +3 -2
  349. package/typechain-types/ExchangeRateMsgCodec.ts +89 -0
  350. package/typechain-types/IMarketSweed.ts +203 -0
  351. package/typechain-types/IPExchangeRateOracleApp.ts +352 -0
  352. package/typechain-types/IPGauge.ts +19 -0
  353. package/typechain-types/IPMarket.ts +76 -0
  354. package/typechain-types/IPMarketFactory.ts +146 -46
  355. package/typechain-types/IPPrincipalToken.ts +34 -0
  356. package/typechain-types/IPYieldContractFactory.ts +13 -0
  357. package/typechain-types/IPYieldToken.ts +34 -0
  358. package/typechain-types/LimitMathCore.ts +102 -0
  359. package/typechain-types/MarketSweed.ts +255 -0
  360. package/typechain-types/{PendleFeeSetter.ts → OAppCoreUpgradeable.ts} +123 -140
  361. package/typechain-types/OAppOptionsType3Upgradeable.ts +319 -0
  362. package/typechain-types/OAppReceiverUpgradeable.ts +498 -0
  363. package/typechain-types/OAppSenderUpgradeable.ts +320 -0
  364. package/typechain-types/OAppUpgradeable.ts +498 -0
  365. package/typechain-types/OwnableUpgradeable.ts +174 -0
  366. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +7 -1
  367. package/typechain-types/PendleCrossChainOracleBaseApp_Init.ts +662 -0
  368. package/typechain-types/PendleERC20.ts +21 -0
  369. package/typechain-types/PendleExchangeRateOracleApp.ts +1012 -0
  370. package/typechain-types/PendleExchangeRateOracleV2.ts +142 -0
  371. package/typechain-types/PendleGauge.ts +19 -0
  372. package/typechain-types/PendleGaugeControllerBaseUpg.ts +19 -0
  373. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +19 -0
  374. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +19 -0
  375. package/typechain-types/PendleLPWrapper.ts +21 -0
  376. package/typechain-types/PendleMarketFactoryV6Upg.ts +773 -0
  377. package/typechain-types/PendleMarketV6.ts +1248 -0
  378. package/typechain-types/PendlePrincipalToken.ts +34 -0
  379. package/typechain-types/PendleVotingControllerUpg.ts +18 -48
  380. package/typechain-types/PendleYieldContractFactoryUpg.ts +820 -0
  381. package/typechain-types/PendleYieldToken.ts +34 -0
  382. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  383. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  384. package/typechain-types/factories/ActionDelegateBase__factory.ts +1 -1
  385. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  386. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  387. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  388. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  389. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  390. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  391. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  392. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  393. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  394. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  395. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  396. package/typechain-types/factories/BalanceReader__factory.ts +1 -1
  397. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  398. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  399. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  400. package/typechain-types/factories/Errors__factory.ts +26 -1
  401. package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +81 -0
  402. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  403. package/typechain-types/factories/{IPActionCrossChain__factory.ts → IMarketSweed__factory.ts} +61 -22
  404. package/typechain-types/factories/IPExchangeRateOracleApp__factory.ts +301 -0
  405. package/typechain-types/factories/IPGauge__factory.ts +19 -0
  406. package/typechain-types/factories/IPMarketFactory__factory.ts +81 -19
  407. package/typechain-types/factories/IPMarket__factory.ts +58 -0
  408. package/typechain-types/factories/IPPrincipalToken__factory.ts +26 -0
  409. package/typechain-types/factories/IPYieldContractFactory__factory.ts +13 -0
  410. package/typechain-types/factories/IPYieldToken__factory.ts +26 -0
  411. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  412. package/typechain-types/factories/LimitMathCore__factory.ts +87 -0
  413. package/typechain-types/factories/MarketSweed__factory.ts +385 -0
  414. package/typechain-types/factories/OAppCoreUpgradeable__factory.ts +228 -0
  415. package/typechain-types/factories/OAppOptionsType3Upgradeable__factory.ts +219 -0
  416. package/typechain-types/factories/OAppReceiverUpgradeable__factory.ts +399 -0
  417. package/typechain-types/factories/OAppSenderUpgradeable__factory.ts +248 -0
  418. package/typechain-types/factories/OAppUpgradeable__factory.ts +411 -0
  419. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  420. package/typechain-types/factories/OwnableUpgradeable__factory.ts +91 -0
  421. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  422. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
  423. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
  424. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +6 -1
  425. package/typechain-types/factories/PendleCrossChainOracleBaseApp_Init__factory.ts +554 -0
  426. package/typechain-types/factories/PendleERC20__factory.ts +14 -1
  427. package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +958 -0
  428. package/typechain-types/factories/PendleExchangeRateOracleV2__factory.ts +165 -0
  429. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  430. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  431. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
  432. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +23 -1
  433. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +23 -1
  434. package/typechain-types/factories/PendleGauge__factory.ts +19 -0
  435. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
  436. package/typechain-types/factories/PendleLPWrapper__factory.ts +14 -1
  437. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  438. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +732 -0
  439. package/typechain-types/factories/PendleMarketV6__factory.ts +1261 -0
  440. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  441. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  442. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
  443. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  444. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  445. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  446. package/typechain-types/factories/PendlePrincipalToken__factory.ts +27 -1
  447. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  448. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  449. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
  450. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
  451. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +5 -23
  452. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +692 -0
  453. package/typechain-types/factories/PendleYieldToken__factory.ts +27 -1
  454. package/typechain-types/factories/Reflector__factory.ts +1 -1
  455. package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
  456. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  457. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  458. package/typechain-types/hardhat.d.ts +144 -0
  459. package/typechain-types/index.ts +32 -0
  460. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +0 -4
  461. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +0 -610
  462. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +0 -4
  463. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +0 -1131
  464. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +0 -4
  465. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +0 -590
  466. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +0 -4
  467. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +0 -394
  468. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +0 -4
  469. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.json +0 -370
  470. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +0 -4
  471. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.json +0 -246
  472. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +0 -4
  473. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +0 -202
  474. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +0 -4
  475. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.json +0 -833
  476. package/contracts/core/erc20/PendleERC20Permit.sol +0 -80
  477. package/contracts/core/erc20/PendleERC20PermitUpg.sol +0 -82
  478. package/contracts/core/erc20/PendleERC20Upg.sol +0 -334
  479. package/contracts/interfaces/IPMarketFactoryV3.sol +0 -33
  480. package/contracts/interfaces/IPMarketV3.sol +0 -8
  481. package/typechain-types/ActionCrossChain.ts +0 -161
  482. package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
  483. package/typechain-types/IPActionCrossChain.ts +0 -161
  484. package/typechain-types/LimitBackendHelper.ts +0 -287
  485. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
  486. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
  487. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
  488. package/typechain-types/factories/ActionCrossChain__factory.ts +0 -152
  489. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +0 -1548
  490. package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
  491. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
  492. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
  493. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
  494. package/typechain-types/factories/PendleFeeSetter__factory.ts +0 -257
@@ -0,0 +1,1261 @@
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
+ PendleMarketV6,
15
+ PendleMarketV6Interface,
16
+ } from "../PendleMarketV6";
17
+
18
+ const _abi = [
19
+ {
20
+ inputs: [
21
+ {
22
+ internalType: "address",
23
+ name: "_PT",
24
+ type: "address",
25
+ },
26
+ {
27
+ internalType: "int256",
28
+ name: "_scalarRoot",
29
+ type: "int256",
30
+ },
31
+ {
32
+ internalType: "int256",
33
+ name: "_initialAnchor",
34
+ type: "int256",
35
+ },
36
+ {
37
+ internalType: "uint80",
38
+ name: "_lnFeeRateRoot",
39
+ type: "uint80",
40
+ },
41
+ {
42
+ internalType: "address",
43
+ name: "_vePendle",
44
+ type: "address",
45
+ },
46
+ {
47
+ internalType: "address",
48
+ name: "_gaugeController",
49
+ type: "address",
50
+ },
51
+ ],
52
+ stateMutability: "nonpayable",
53
+ type: "constructor",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "int256",
59
+ name: "exchangeRate",
60
+ type: "int256",
61
+ },
62
+ ],
63
+ name: "MarketExchangeRateBelowOne",
64
+ type: "error",
65
+ },
66
+ {
67
+ inputs: [],
68
+ name: "MarketExpired",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "int256",
75
+ name: "currentAmount",
76
+ type: "int256",
77
+ },
78
+ {
79
+ internalType: "int256",
80
+ name: "requiredAmount",
81
+ type: "int256",
82
+ },
83
+ ],
84
+ name: "MarketInsufficientPtForTrade",
85
+ type: "error",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "uint256",
91
+ name: "actualBalance",
92
+ type: "uint256",
93
+ },
94
+ {
95
+ internalType: "uint256",
96
+ name: "requiredBalance",
97
+ type: "uint256",
98
+ },
99
+ ],
100
+ name: "MarketInsufficientPtReceived",
101
+ type: "error",
102
+ },
103
+ {
104
+ inputs: [
105
+ {
106
+ internalType: "uint256",
107
+ name: "actualBalance",
108
+ type: "uint256",
109
+ },
110
+ {
111
+ internalType: "uint256",
112
+ name: "requiredBalance",
113
+ type: "uint256",
114
+ },
115
+ ],
116
+ name: "MarketInsufficientSyReceived",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "MarketProportionMustNotEqualOne",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [
126
+ {
127
+ internalType: "int256",
128
+ name: "proportion",
129
+ type: "int256",
130
+ },
131
+ {
132
+ internalType: "int256",
133
+ name: "maxProportion",
134
+ type: "int256",
135
+ },
136
+ ],
137
+ name: "MarketProportionTooHigh",
138
+ type: "error",
139
+ },
140
+ {
141
+ inputs: [
142
+ {
143
+ internalType: "int256",
144
+ name: "rateScalar",
145
+ type: "int256",
146
+ },
147
+ ],
148
+ name: "MarketRateScalarBelowZero",
149
+ type: "error",
150
+ },
151
+ {
152
+ inputs: [
153
+ {
154
+ internalType: "int256",
155
+ name: "scalarRoot",
156
+ type: "int256",
157
+ },
158
+ ],
159
+ name: "MarketScalarRootBelowZero",
160
+ type: "error",
161
+ },
162
+ {
163
+ inputs: [],
164
+ name: "MarketZeroAmountsInput",
165
+ type: "error",
166
+ },
167
+ {
168
+ inputs: [],
169
+ name: "MarketZeroAmountsOutput",
170
+ type: "error",
171
+ },
172
+ {
173
+ inputs: [],
174
+ name: "MarketZeroLnImpliedRate",
175
+ type: "error",
176
+ },
177
+ {
178
+ inputs: [],
179
+ name: "MarketZeroNetLPFee",
180
+ type: "error",
181
+ },
182
+ {
183
+ inputs: [
184
+ {
185
+ internalType: "int256",
186
+ name: "totalPt",
187
+ type: "int256",
188
+ },
189
+ {
190
+ internalType: "int256",
191
+ name: "totalAsset",
192
+ type: "int256",
193
+ },
194
+ ],
195
+ name: "MarketZeroTotalPtOrTotalAsset",
196
+ type: "error",
197
+ },
198
+ {
199
+ anonymous: false,
200
+ inputs: [
201
+ {
202
+ indexed: true,
203
+ internalType: "address",
204
+ name: "owner",
205
+ type: "address",
206
+ },
207
+ {
208
+ indexed: true,
209
+ internalType: "address",
210
+ name: "spender",
211
+ type: "address",
212
+ },
213
+ {
214
+ indexed: false,
215
+ internalType: "uint256",
216
+ name: "value",
217
+ type: "uint256",
218
+ },
219
+ ],
220
+ name: "Approval",
221
+ type: "event",
222
+ },
223
+ {
224
+ anonymous: false,
225
+ inputs: [
226
+ {
227
+ indexed: true,
228
+ internalType: "address",
229
+ name: "receiverSy",
230
+ type: "address",
231
+ },
232
+ {
233
+ indexed: true,
234
+ internalType: "address",
235
+ name: "receiverPt",
236
+ type: "address",
237
+ },
238
+ {
239
+ indexed: false,
240
+ internalType: "uint256",
241
+ name: "netLpBurned",
242
+ type: "uint256",
243
+ },
244
+ {
245
+ indexed: false,
246
+ internalType: "uint256",
247
+ name: "netSyOut",
248
+ type: "uint256",
249
+ },
250
+ {
251
+ indexed: false,
252
+ internalType: "uint256",
253
+ name: "netPtOut",
254
+ type: "uint256",
255
+ },
256
+ ],
257
+ name: "Burn",
258
+ type: "event",
259
+ },
260
+ {
261
+ anonymous: false,
262
+ inputs: [
263
+ {
264
+ indexed: false,
265
+ internalType: "uint16",
266
+ name: "observationCardinalityNextOld",
267
+ type: "uint16",
268
+ },
269
+ {
270
+ indexed: false,
271
+ internalType: "uint16",
272
+ name: "observationCardinalityNextNew",
273
+ type: "uint16",
274
+ },
275
+ ],
276
+ name: "IncreaseObservationCardinalityNext",
277
+ type: "event",
278
+ },
279
+ {
280
+ anonymous: false,
281
+ inputs: [
282
+ {
283
+ indexed: true,
284
+ internalType: "address",
285
+ name: "receiver",
286
+ type: "address",
287
+ },
288
+ {
289
+ indexed: false,
290
+ internalType: "uint256",
291
+ name: "netLpMinted",
292
+ type: "uint256",
293
+ },
294
+ {
295
+ indexed: false,
296
+ internalType: "uint256",
297
+ name: "netSyUsed",
298
+ type: "uint256",
299
+ },
300
+ {
301
+ indexed: false,
302
+ internalType: "uint256",
303
+ name: "netPtUsed",
304
+ type: "uint256",
305
+ },
306
+ ],
307
+ name: "Mint",
308
+ type: "event",
309
+ },
310
+ {
311
+ anonymous: false,
312
+ inputs: [
313
+ {
314
+ indexed: true,
315
+ internalType: "address",
316
+ name: "user",
317
+ type: "address",
318
+ },
319
+ {
320
+ indexed: false,
321
+ internalType: "uint256[]",
322
+ name: "rewardsOut",
323
+ type: "uint256[]",
324
+ },
325
+ ],
326
+ name: "RedeemRewards",
327
+ type: "event",
328
+ },
329
+ {
330
+ anonymous: false,
331
+ inputs: [
332
+ {
333
+ indexed: true,
334
+ internalType: "address",
335
+ name: "caller",
336
+ type: "address",
337
+ },
338
+ {
339
+ indexed: true,
340
+ internalType: "address",
341
+ name: "receiver",
342
+ type: "address",
343
+ },
344
+ {
345
+ indexed: false,
346
+ internalType: "int256",
347
+ name: "netPtOut",
348
+ type: "int256",
349
+ },
350
+ {
351
+ indexed: false,
352
+ internalType: "int256",
353
+ name: "netSyOut",
354
+ type: "int256",
355
+ },
356
+ {
357
+ indexed: false,
358
+ internalType: "uint256",
359
+ name: "netSyFee",
360
+ type: "uint256",
361
+ },
362
+ {
363
+ indexed: false,
364
+ internalType: "uint256",
365
+ name: "netSyToReserve",
366
+ type: "uint256",
367
+ },
368
+ ],
369
+ name: "Swap",
370
+ type: "event",
371
+ },
372
+ {
373
+ anonymous: false,
374
+ inputs: [
375
+ {
376
+ indexed: true,
377
+ internalType: "address",
378
+ name: "from",
379
+ type: "address",
380
+ },
381
+ {
382
+ indexed: true,
383
+ internalType: "address",
384
+ name: "to",
385
+ type: "address",
386
+ },
387
+ {
388
+ indexed: false,
389
+ internalType: "uint256",
390
+ name: "value",
391
+ type: "uint256",
392
+ },
393
+ ],
394
+ name: "Transfer",
395
+ type: "event",
396
+ },
397
+ {
398
+ anonymous: false,
399
+ inputs: [
400
+ {
401
+ indexed: true,
402
+ internalType: "address",
403
+ name: "user",
404
+ type: "address",
405
+ },
406
+ {
407
+ indexed: false,
408
+ internalType: "uint256",
409
+ name: "newActiveBalance",
410
+ type: "uint256",
411
+ },
412
+ ],
413
+ name: "UpdateActiveBalance",
414
+ type: "event",
415
+ },
416
+ {
417
+ anonymous: false,
418
+ inputs: [
419
+ {
420
+ indexed: true,
421
+ internalType: "uint256",
422
+ name: "timestamp",
423
+ type: "uint256",
424
+ },
425
+ {
426
+ indexed: false,
427
+ internalType: "uint256",
428
+ name: "lnLastImpliedRate",
429
+ type: "uint256",
430
+ },
431
+ ],
432
+ name: "UpdateImpliedRate",
433
+ type: "event",
434
+ },
435
+ {
436
+ inputs: [],
437
+ name: "VERSION",
438
+ outputs: [
439
+ {
440
+ internalType: "uint256",
441
+ name: "",
442
+ type: "uint256",
443
+ },
444
+ ],
445
+ stateMutability: "view",
446
+ type: "function",
447
+ },
448
+ {
449
+ inputs: [],
450
+ name: "_storage",
451
+ outputs: [
452
+ {
453
+ internalType: "int128",
454
+ name: "totalPt",
455
+ type: "int128",
456
+ },
457
+ {
458
+ internalType: "int128",
459
+ name: "totalSy",
460
+ type: "int128",
461
+ },
462
+ {
463
+ internalType: "uint96",
464
+ name: "lastLnImpliedRate",
465
+ type: "uint96",
466
+ },
467
+ {
468
+ internalType: "uint16",
469
+ name: "observationIndex",
470
+ type: "uint16",
471
+ },
472
+ {
473
+ internalType: "uint16",
474
+ name: "observationCardinality",
475
+ type: "uint16",
476
+ },
477
+ {
478
+ internalType: "uint16",
479
+ name: "observationCardinalityNext",
480
+ type: "uint16",
481
+ },
482
+ ],
483
+ stateMutability: "view",
484
+ type: "function",
485
+ },
486
+ {
487
+ inputs: [
488
+ {
489
+ internalType: "address",
490
+ name: "",
491
+ type: "address",
492
+ },
493
+ ],
494
+ name: "activeBalance",
495
+ outputs: [
496
+ {
497
+ internalType: "uint256",
498
+ name: "",
499
+ type: "uint256",
500
+ },
501
+ ],
502
+ stateMutability: "view",
503
+ type: "function",
504
+ },
505
+ {
506
+ inputs: [
507
+ {
508
+ internalType: "address",
509
+ name: "owner",
510
+ type: "address",
511
+ },
512
+ {
513
+ internalType: "address",
514
+ name: "spender",
515
+ type: "address",
516
+ },
517
+ ],
518
+ name: "allowance",
519
+ outputs: [
520
+ {
521
+ internalType: "uint256",
522
+ name: "",
523
+ type: "uint256",
524
+ },
525
+ ],
526
+ stateMutability: "view",
527
+ type: "function",
528
+ },
529
+ {
530
+ inputs: [
531
+ {
532
+ internalType: "address",
533
+ name: "spender",
534
+ type: "address",
535
+ },
536
+ {
537
+ internalType: "uint256",
538
+ name: "amount",
539
+ type: "uint256",
540
+ },
541
+ ],
542
+ name: "approve",
543
+ outputs: [
544
+ {
545
+ internalType: "bool",
546
+ name: "",
547
+ type: "bool",
548
+ },
549
+ ],
550
+ stateMutability: "nonpayable",
551
+ type: "function",
552
+ },
553
+ {
554
+ inputs: [
555
+ {
556
+ internalType: "address",
557
+ name: "account",
558
+ type: "address",
559
+ },
560
+ ],
561
+ name: "balanceOf",
562
+ outputs: [
563
+ {
564
+ internalType: "uint256",
565
+ name: "",
566
+ type: "uint256",
567
+ },
568
+ ],
569
+ stateMutability: "view",
570
+ type: "function",
571
+ },
572
+ {
573
+ inputs: [
574
+ {
575
+ internalType: "address",
576
+ name: "receiverSy",
577
+ type: "address",
578
+ },
579
+ {
580
+ internalType: "address",
581
+ name: "receiverPt",
582
+ type: "address",
583
+ },
584
+ {
585
+ internalType: "uint256",
586
+ name: "netLpToBurn",
587
+ type: "uint256",
588
+ },
589
+ ],
590
+ name: "burn",
591
+ outputs: [
592
+ {
593
+ internalType: "uint256",
594
+ name: "netSyOut",
595
+ type: "uint256",
596
+ },
597
+ {
598
+ internalType: "uint256",
599
+ name: "netPtOut",
600
+ type: "uint256",
601
+ },
602
+ ],
603
+ stateMutability: "nonpayable",
604
+ type: "function",
605
+ },
606
+ {
607
+ inputs: [],
608
+ name: "decimals",
609
+ outputs: [
610
+ {
611
+ internalType: "uint8",
612
+ name: "",
613
+ type: "uint8",
614
+ },
615
+ ],
616
+ stateMutability: "view",
617
+ type: "function",
618
+ },
619
+ {
620
+ inputs: [],
621
+ name: "expiry",
622
+ outputs: [
623
+ {
624
+ internalType: "uint256",
625
+ name: "",
626
+ type: "uint256",
627
+ },
628
+ ],
629
+ stateMutability: "view",
630
+ type: "function",
631
+ },
632
+ {
633
+ inputs: [],
634
+ name: "factory",
635
+ outputs: [
636
+ {
637
+ internalType: "address",
638
+ name: "",
639
+ type: "address",
640
+ },
641
+ ],
642
+ stateMutability: "view",
643
+ type: "function",
644
+ },
645
+ {
646
+ inputs: [],
647
+ name: "getNonOverrideLnFeeRateRoot",
648
+ outputs: [
649
+ {
650
+ internalType: "uint80",
651
+ name: "",
652
+ type: "uint80",
653
+ },
654
+ ],
655
+ stateMutability: "view",
656
+ type: "function",
657
+ },
658
+ {
659
+ inputs: [],
660
+ name: "getRewardTokens",
661
+ outputs: [
662
+ {
663
+ internalType: "address[]",
664
+ name: "",
665
+ type: "address[]",
666
+ },
667
+ ],
668
+ stateMutability: "view",
669
+ type: "function",
670
+ },
671
+ {
672
+ inputs: [
673
+ {
674
+ internalType: "uint16",
675
+ name: "cardinalityNext",
676
+ type: "uint16",
677
+ },
678
+ ],
679
+ name: "increaseObservationsCardinalityNext",
680
+ outputs: [],
681
+ stateMutability: "nonpayable",
682
+ type: "function",
683
+ },
684
+ {
685
+ inputs: [],
686
+ name: "isExpired",
687
+ outputs: [
688
+ {
689
+ internalType: "bool",
690
+ name: "",
691
+ type: "bool",
692
+ },
693
+ ],
694
+ stateMutability: "view",
695
+ type: "function",
696
+ },
697
+ {
698
+ inputs: [],
699
+ name: "lastRewardBlock",
700
+ outputs: [
701
+ {
702
+ internalType: "uint256",
703
+ name: "",
704
+ type: "uint256",
705
+ },
706
+ ],
707
+ stateMutability: "view",
708
+ type: "function",
709
+ },
710
+ {
711
+ inputs: [
712
+ {
713
+ internalType: "address",
714
+ name: "receiver",
715
+ type: "address",
716
+ },
717
+ {
718
+ internalType: "uint256",
719
+ name: "netSyDesired",
720
+ type: "uint256",
721
+ },
722
+ {
723
+ internalType: "uint256",
724
+ name: "netPtDesired",
725
+ type: "uint256",
726
+ },
727
+ ],
728
+ name: "mint",
729
+ outputs: [
730
+ {
731
+ internalType: "uint256",
732
+ name: "netLpOut",
733
+ type: "uint256",
734
+ },
735
+ {
736
+ internalType: "uint256",
737
+ name: "netSyUsed",
738
+ type: "uint256",
739
+ },
740
+ {
741
+ internalType: "uint256",
742
+ name: "netPtUsed",
743
+ type: "uint256",
744
+ },
745
+ ],
746
+ stateMutability: "nonpayable",
747
+ type: "function",
748
+ },
749
+ {
750
+ inputs: [],
751
+ name: "name",
752
+ outputs: [
753
+ {
754
+ internalType: "string",
755
+ name: "",
756
+ type: "string",
757
+ },
758
+ ],
759
+ stateMutability: "view",
760
+ type: "function",
761
+ },
762
+ {
763
+ inputs: [
764
+ {
765
+ internalType: "uint256",
766
+ name: "",
767
+ type: "uint256",
768
+ },
769
+ ],
770
+ name: "observations",
771
+ outputs: [
772
+ {
773
+ internalType: "uint32",
774
+ name: "blockTimestamp",
775
+ type: "uint32",
776
+ },
777
+ {
778
+ internalType: "uint216",
779
+ name: "lnImpliedRateCumulative",
780
+ type: "uint216",
781
+ },
782
+ {
783
+ internalType: "bool",
784
+ name: "initialized",
785
+ type: "bool",
786
+ },
787
+ ],
788
+ stateMutability: "view",
789
+ type: "function",
790
+ },
791
+ {
792
+ inputs: [
793
+ {
794
+ internalType: "uint32[]",
795
+ name: "secondsAgos",
796
+ type: "uint32[]",
797
+ },
798
+ ],
799
+ name: "observe",
800
+ outputs: [
801
+ {
802
+ internalType: "uint216[]",
803
+ name: "lnImpliedRateCumulative",
804
+ type: "uint216[]",
805
+ },
806
+ ],
807
+ stateMutability: "view",
808
+ type: "function",
809
+ },
810
+ {
811
+ inputs: [
812
+ {
813
+ internalType: "address",
814
+ name: "router",
815
+ type: "address",
816
+ },
817
+ ],
818
+ name: "readState",
819
+ outputs: [
820
+ {
821
+ components: [
822
+ {
823
+ internalType: "int256",
824
+ name: "totalPt",
825
+ type: "int256",
826
+ },
827
+ {
828
+ internalType: "int256",
829
+ name: "totalSy",
830
+ type: "int256",
831
+ },
832
+ {
833
+ internalType: "int256",
834
+ name: "totalLp",
835
+ type: "int256",
836
+ },
837
+ {
838
+ internalType: "address",
839
+ name: "treasury",
840
+ type: "address",
841
+ },
842
+ {
843
+ internalType: "int256",
844
+ name: "scalarRoot",
845
+ type: "int256",
846
+ },
847
+ {
848
+ internalType: "uint256",
849
+ name: "expiry",
850
+ type: "uint256",
851
+ },
852
+ {
853
+ internalType: "uint256",
854
+ name: "lnFeeRateRoot",
855
+ type: "uint256",
856
+ },
857
+ {
858
+ internalType: "uint256",
859
+ name: "reserveFeePercent",
860
+ type: "uint256",
861
+ },
862
+ {
863
+ internalType: "uint256",
864
+ name: "lastLnImpliedRate",
865
+ type: "uint256",
866
+ },
867
+ ],
868
+ internalType: "struct MarketState",
869
+ name: "market",
870
+ type: "tuple",
871
+ },
872
+ ],
873
+ stateMutability: "view",
874
+ type: "function",
875
+ },
876
+ {
877
+ inputs: [],
878
+ name: "readTokens",
879
+ outputs: [
880
+ {
881
+ internalType: "contract IStandardizedYield",
882
+ name: "_SY",
883
+ type: "address",
884
+ },
885
+ {
886
+ internalType: "contract IPPrincipalToken",
887
+ name: "_PT",
888
+ type: "address",
889
+ },
890
+ {
891
+ internalType: "contract IPYieldToken",
892
+ name: "_YT",
893
+ type: "address",
894
+ },
895
+ ],
896
+ stateMutability: "view",
897
+ type: "function",
898
+ },
899
+ {
900
+ inputs: [
901
+ {
902
+ internalType: "address",
903
+ name: "user",
904
+ type: "address",
905
+ },
906
+ ],
907
+ name: "redeemRewards",
908
+ outputs: [
909
+ {
910
+ internalType: "uint256[]",
911
+ name: "",
912
+ type: "uint256[]",
913
+ },
914
+ ],
915
+ stateMutability: "nonpayable",
916
+ type: "function",
917
+ },
918
+ {
919
+ inputs: [],
920
+ name: "reentrancyGuardEntered",
921
+ outputs: [
922
+ {
923
+ internalType: "bool",
924
+ name: "",
925
+ type: "bool",
926
+ },
927
+ ],
928
+ stateMutability: "view",
929
+ type: "function",
930
+ },
931
+ {
932
+ inputs: [
933
+ {
934
+ internalType: "address",
935
+ name: "",
936
+ type: "address",
937
+ },
938
+ ],
939
+ name: "rewardState",
940
+ outputs: [
941
+ {
942
+ internalType: "uint128",
943
+ name: "index",
944
+ type: "uint128",
945
+ },
946
+ {
947
+ internalType: "uint128",
948
+ name: "lastBalance",
949
+ type: "uint128",
950
+ },
951
+ ],
952
+ stateMutability: "view",
953
+ type: "function",
954
+ },
955
+ {
956
+ inputs: [],
957
+ name: "skim",
958
+ outputs: [],
959
+ stateMutability: "nonpayable",
960
+ type: "function",
961
+ },
962
+ {
963
+ inputs: [
964
+ {
965
+ internalType: "address",
966
+ name: "receiver",
967
+ type: "address",
968
+ },
969
+ {
970
+ internalType: "uint256",
971
+ name: "exactPtIn",
972
+ type: "uint256",
973
+ },
974
+ {
975
+ internalType: "bytes",
976
+ name: "data",
977
+ type: "bytes",
978
+ },
979
+ ],
980
+ name: "swapExactPtForSy",
981
+ outputs: [
982
+ {
983
+ internalType: "uint256",
984
+ name: "netSyOut",
985
+ type: "uint256",
986
+ },
987
+ {
988
+ internalType: "uint256",
989
+ name: "netSyFee",
990
+ type: "uint256",
991
+ },
992
+ ],
993
+ stateMutability: "nonpayable",
994
+ type: "function",
995
+ },
996
+ {
997
+ inputs: [
998
+ {
999
+ internalType: "address",
1000
+ name: "receiver",
1001
+ type: "address",
1002
+ },
1003
+ {
1004
+ internalType: "uint256",
1005
+ name: "exactPtOut",
1006
+ type: "uint256",
1007
+ },
1008
+ {
1009
+ internalType: "bytes",
1010
+ name: "data",
1011
+ type: "bytes",
1012
+ },
1013
+ ],
1014
+ name: "swapSyForExactPt",
1015
+ outputs: [
1016
+ {
1017
+ internalType: "uint256",
1018
+ name: "netSyIn",
1019
+ type: "uint256",
1020
+ },
1021
+ {
1022
+ internalType: "uint256",
1023
+ name: "netSyFee",
1024
+ type: "uint256",
1025
+ },
1026
+ ],
1027
+ stateMutability: "nonpayable",
1028
+ type: "function",
1029
+ },
1030
+ {
1031
+ inputs: [],
1032
+ name: "symbol",
1033
+ outputs: [
1034
+ {
1035
+ internalType: "string",
1036
+ name: "",
1037
+ type: "string",
1038
+ },
1039
+ ],
1040
+ stateMutability: "view",
1041
+ type: "function",
1042
+ },
1043
+ {
1044
+ inputs: [],
1045
+ name: "totalActiveSupply",
1046
+ outputs: [
1047
+ {
1048
+ internalType: "uint256",
1049
+ name: "",
1050
+ type: "uint256",
1051
+ },
1052
+ ],
1053
+ stateMutability: "view",
1054
+ type: "function",
1055
+ },
1056
+ {
1057
+ inputs: [],
1058
+ name: "totalSupply",
1059
+ outputs: [
1060
+ {
1061
+ internalType: "uint256",
1062
+ name: "",
1063
+ type: "uint256",
1064
+ },
1065
+ ],
1066
+ stateMutability: "view",
1067
+ type: "function",
1068
+ },
1069
+ {
1070
+ inputs: [
1071
+ {
1072
+ internalType: "address",
1073
+ name: "to",
1074
+ type: "address",
1075
+ },
1076
+ {
1077
+ internalType: "uint256",
1078
+ name: "amount",
1079
+ type: "uint256",
1080
+ },
1081
+ ],
1082
+ name: "transfer",
1083
+ outputs: [
1084
+ {
1085
+ internalType: "bool",
1086
+ name: "",
1087
+ type: "bool",
1088
+ },
1089
+ ],
1090
+ stateMutability: "nonpayable",
1091
+ type: "function",
1092
+ },
1093
+ {
1094
+ inputs: [
1095
+ {
1096
+ internalType: "address",
1097
+ name: "from",
1098
+ type: "address",
1099
+ },
1100
+ {
1101
+ internalType: "address",
1102
+ name: "to",
1103
+ type: "address",
1104
+ },
1105
+ {
1106
+ internalType: "uint256",
1107
+ name: "amount",
1108
+ type: "uint256",
1109
+ },
1110
+ ],
1111
+ name: "transferFrom",
1112
+ outputs: [
1113
+ {
1114
+ internalType: "bool",
1115
+ name: "",
1116
+ type: "bool",
1117
+ },
1118
+ ],
1119
+ stateMutability: "nonpayable",
1120
+ type: "function",
1121
+ },
1122
+ {
1123
+ inputs: [
1124
+ {
1125
+ internalType: "address",
1126
+ name: "",
1127
+ type: "address",
1128
+ },
1129
+ {
1130
+ internalType: "address",
1131
+ name: "",
1132
+ type: "address",
1133
+ },
1134
+ ],
1135
+ name: "userReward",
1136
+ outputs: [
1137
+ {
1138
+ internalType: "uint128",
1139
+ name: "index",
1140
+ type: "uint128",
1141
+ },
1142
+ {
1143
+ internalType: "uint128",
1144
+ name: "accrued",
1145
+ type: "uint128",
1146
+ },
1147
+ ],
1148
+ stateMutability: "view",
1149
+ type: "function",
1150
+ },
1151
+ ];
1152
+
1153
+ const _bytecode =
1154
+ "0x610220604052348015610010575f5ffd5b50604051615fde380380615fde83398101604081905261002f91610713565b856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008f9190610784565b828261009a896103c3565b6100a38a61047f565b601260066100b1848261083c565b5060076100be838261083c565b5060ff166080525050600580546001600160f81b0316600160f81b1790556001600160a01b0380841660a05282811660e052811661010081905260408051635162986d60e11b8152905163a2c530da9160048082019260209290919082900301815f875af1158015610132573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101569190610784565b6001600160a01b0390811660c05289166101208190526040805163afd27bf560e01b8152905191945063afd27bf5935060048082019350602092918290030181865afa1580156101a8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101cc9190610784565b6001600160a01b0316610140816001600160a01b031681525050610120516001600160a01b031663781c18db6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610225573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102499190610784565b6001600160a01b03166101605260405163329f6acb60e21b8152600c600482015263ffffffff4216602482015273__$048ed23d805a6069d4ffa97e047467fd4a$__9063ca7dab2c906044016040805180830381865af41580156102af573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d39190610907565b600b805463ffffffff60701b1916600160801b61ffff9384160261ffff60701b191617600160701b93909216929092021790555f851361032d5760405163483512b160e11b81526004810186905260240160405180910390fd5b6101c08590526101e08490526001600160501b03831661020052604080516370c264df60e11b815290516001600160a01b0388169163e184c9be9160048083019260209291908290030181865afa15801561038a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ae9190610938565b6101a0525050336101805250610b3c92505050565b606061047961044f604051806040016040528060038152602001620282a160ed1b815250846001600160a01b03166306fdde036040518163ffffffff1660e01b81526004015f60405180830381865afa158015610422573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610449919081019061094f565b90610502565b6040805180820190915260048152630282628160e51b602082015261047390610535565b9061055b565b92915050565b60606104796104de6040518060400160405280600381526020016250542d60e81b815250846001600160a01b03166395d89b416040518163ffffffff1660e01b81526004015f60405180830381865afa158015610422573d5f5f3e3d5ffd5b604080518082019091526004815263504c502d60e01b602082015261047390610535565b61050a6106e0565b5f61051484610535565b90505f61052084610535565b905061052c82826105ee565b95945050505050565b61053d6106e0565b50604080518082019091528151815260209182019181019190915290565b805182516060915f9161056e9190610a28565b6001600160401b03811115610585576105856107a4565b6040519080825280601f01601f1916602001820160405280156105af576020820181803683370190505b506020858101518651929350908301916105ca918391610667565b84516105e6906105da9083610a28565b60208601518651610667565b509392505050565b6105f66106e0565b815183511015610607575081610479565b602080830151908401516001911461062e5750815160208481015190840151829020919020145b801561065f57825184518590610645908390610a3b565b905250825160208501805161065b908390610a28565b9052505b509192915050565b6020811061069f578151835261067e602084610a28565b925061068b602083610a28565b9150610698602082610a3b565b9050610667565b5f1981156106cd5760016106b4836020610a3b565b6106c090610100610b31565b6106ca9190610a3b565b90505b9151835183169219169190911790915250565b60405180604001604052805f81526020015f81525090565b80516001600160a01b038116811461070e575f5ffd5b919050565b5f5f5f5f5f5f60c08789031215610728575f5ffd5b610731876106f8565b6020880151604089015160608a015192985090965094506001600160501b038116811461075c575f5ffd5b925061076a608088016106f8565b915061077860a088016106f8565b90509295509295509295565b5f60208284031215610794575f5ffd5b61079d826106f8565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806107cc57607f821691505b6020821081036107ea57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561083757805f5260205f20601f840160051c810160208510156108155750805b601f840160051c820191505b81811015610834575f8155600101610821565b50505b505050565b81516001600160401b03811115610855576108556107a4565b6108698161086384546107b8565b846107f0565b6020601f82116001811461089b575f83156108845750848201515b5f19600385901b1c1916600184901b178455610834565b5f84815260208120601f198516915b828110156108ca57878501518255602094850194600190920191016108aa565b50848210156108e757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b805161ffff8116811461070e575f5ffd5b5f5f60408385031215610918575f5ffd5b610921836108f6565b915061092f602084016108f6565b90509250929050565b5f60208284031215610948575f5ffd5b5051919050565b5f6020828403121561095f575f5ffd5b81516001600160401b03811115610974575f5ffd5b8201601f81018413610984575f5ffd5b80516001600160401b0381111561099d5761099d6107a4565b604051601f8201601f19908116603f011681016001600160401b03811182821017156109cb576109cb6107a4565b6040528181528282016020018610156109e2575f5ffd5b5f5b82811015610a00576020818501810151838301820152016109e4565b505f91810160200191909152949350505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561047957610479610a14565b8181038181111561047957610479610a14565b6001815b6001841115610a8957808504811115610a6d57610a6d610a14565b6001841615610a7b57908102905b60019390931c928002610a52565b935093915050565b5f82610a9f57506001610479565b81610aab57505f610479565b8160018114610ac15760028114610acb57610ae7565b6001915050610479565b60ff841115610adc57610adc610a14565b50506001821b610479565b5060208310610133831016604e8410600b8410161715610b0a575081810a610479565b610b165f198484610a4e565b805f1904821115610b2957610b29610a14565b029392505050565b5f61079d8383610a91565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051615358610c865f395f818161061b015261142701525f61081801525f61145801525f81816105ec01528181610ecf015261147e01525f8181610588015261138b01525f81816102fd015281816107c601528181610c8c01526110d801525f81816102b00152818161086d0152818161089c01528181610a8d01528181610b1601528181610cec01528181610d26015281816111720152818161122101528181611250015261171c01525f81816102d5015281816108f80152818161092701528181610a4a01528181610ad601528181610dd301528181610e0201528181611138015261176001525f61465901525f61479d01525f8181612215015261224901525f818161218d01526145df01525f61033901526153585ff3fe608060405234801561000f575f5ffd5b5060043610610189575f3560e01c806306fdde031461018d5780630892cd8b146101ab578063095ea7b3146101d8578063156e29f6146101fb57806318160ddd1461021d5780631dd19cb41461022557806323b872dd1461022f578063252c09d71461024257806329910b11146102815780632c8ce6bc146102a25780632f13b60c1461032c578063313ce5671461033457806337d45e3a1461036d5780635b709f17146103805780635cbadbe41461039357806370a08231146103ee5780637206926414610401578063794052f31461040a578063883bdbfd146104915780639262187b146104b157806395d89b41146104d1578063a9059cbb146104d9578063a9f8d181146104ec578063c3fb90d6146104f5578063c45a015514610583578063c4f59f9b146105b7578063d2c725e0146105cc578063dd62ed3e146105d4578063e184c9be146105e7578063e4f8b2e91461060e578063ea64a82014610645578063f6b911bc14610678578063ffa1ad741461068b575b5f5ffd5b610195610693565b6040516101a29190614915565b60405180910390f35b6101ca6101b936600461495b565b60096020525f908152604090205481565b6040519081526020016101a2565b6101eb6101e6366004614976565b610723565b60405190151581526020016101a2565b61020e6102093660046149a0565b61073c565b6040516101a2939291906149d2565b6101ca6109da565b61022d6109e9565b005b6101eb61023d3660046149e8565b610b57565b610255610250366004614a26565b610bd4565b6040805163ffffffff90941684526001600160d81b0390921660208401521515908201526060016101a2565b61029461028f366004614a3d565b610c0d565b6040516101a2929190614ac0565b604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f0000000000000000000000000000000000000000000000000000000000000000811660208301527f000000000000000000000000000000000000000000000000000000000000000016918101919091526060016101a2565b6101eb610ecd565b61035b7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101a2565b61022d61037b366004614add565b610ef9565b61029461038e366004614a3d565b611059565b6103ce6103a1366004614af8565b5f6020818152928152604080822090935290815220546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016101a2565b6101ca6103fc36600461495b565b6112cb565b6101ca60085481565b61041d61041836600461495b565b6112e5565b6040516101a291905f6101208201905082518252602083015160208301526040830151604083015260018060a01b0360608401511660608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010083015161010083015292915050565b6104a461049f366004614b95565b6114b9565b6040516101a29190614c3b565b6104c46104bf36600461495b565b61155d565b6040516101a29190614c86565b6101956115c8565b6101eb6104e7366004614976565b6115d7565b6101ca60015481565b600a54600b5461053991600f81810b92600160801b9283900490910b916001600160601b0382169161ffff600160601b8204811692600160701b8304821692041686565b60408051600f97880b81529590960b60208601526001600160601b039093169484019490945261ffff908116606084015292831660808301529190911660a082015260c0016101a2565b6105aa7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101a29190614cbd565b6105bf611648565b6040516101a29190614cd1565b6101eb611652565b6101ca6105e2366004614af8565b611669565b6101ca7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160501b037f00000000000000000000000000000000000000000000000000000000000000001681526020016101a2565b6103ce61065336600461495b565b60026020525f90815260409020546001600160801b0380821691600160801b90041682565b6102946106863660046149e8565b611693565b6101ca600681565b6060600680546106a290614d11565b80601f01602080910402602001604051908101604052809291908181526020018280546106ce90614d11565b80156107195780601f106106f057610100808354040283529160200191610719565b820191905f5260205f20905b8154815290600101906020018083116106fc57829003601f168201915b5050505050905090565b5f336107308185856117ff565b60019150505b92915050565b6005545f9081908190600119600160f81b90910460ff16016107795760405162461bcd60e51b815260040161077090614d43565b60405180910390fd5b600580546001600160f81b0316600160f91b179055610796610ecd565b156107b45760405163b2094b5960e01b815260040160405180910390fd5b5f6107be336112e5565b90505f6107f37f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611922565b90505f61080283898942611984565b91985096509450905080156108485761083d83837f0000000000000000000000000000000000000000000000000000000000000000426119eb565b610848600182611a6b565b6108528987611a6b565b61085b83611b86565b6108688360200151611d20565b6108917f0000000000000000000000000000000000000000000000000000000000000000611d31565b10156108e8576108c07f0000000000000000000000000000000000000000000000000000000000000000611d31565b6108cd8460200151611d20565b60405163f62951c760e01b8152600401610770929190614ac0565b82516108f390611d20565b61091c7f0000000000000000000000000000000000000000000000000000000000000000611d31565b10156109715761094b7f0000000000000000000000000000000000000000000000000000000000000000611d31565b835161095690611d20565b604051632c49ea0f60e01b8152600401610770929190614ac0565b886001600160a01b03167fb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb8787876040516109ae939291906149d2565b60405180910390a25050600580546001600160f81b0316600160f81b1790555091959094509092509050565b6005546001600160f81b031690565b600554600119600160f81b90910460ff1601610a175760405162461bcd60e51b815260040161077090614d43565b600580546001600160f81b0316600160f91b1790555f610a36336112e5565b90505f610a45825f0151611d20565b610a6e7f0000000000000000000000000000000000000000000000000000000000000000611d31565b610a789190614d8e565b90505f610a888360200151611d20565b610ab17f0000000000000000000000000000000000000000000000000000000000000000611d31565b610abb9190614d8e565b90508115610afd576060830151610afd906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169084611d7a565b8015610b3d576060830151610b3d906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611d7a565b5050600580546001600160f81b0316600160f81b17905550565b6005545f90600119600160f81b90910460ff1601610b875760405162461bcd60e51b815260040161077090614d43565b600580546001600160f81b0316600160f91b17905533610ba8858285611dd1565b610bb3858585611e49565b6001915050600580546001600160f81b0316600160f81b1790559392505050565b600c8161ffff8110610be4575f80fd5b015463ffffffff81169150600160201b81046001600160d81b031690600160f81b900460ff1683565b6005545f908190600119600160f81b90910460ff1601610c3f5760405162461bcd60e51b815260040161077090614d43565b600580546001600160f81b0316600160f91b179055610c5c610ecd565b15610c7a5760405163b2094b5960e01b815260040160405180910390fd5b5f610c84336112e5565b90505f610cb97f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611922565b90505f610cc883838a4261206e565b919650945090506001600160a01b0389163014610d1357610d136001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168a87611d7a565b6060830151610d4d906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611d7a565b610d5683611b86565b8515610dc3573363fa483e72610d6b8a6120bc565b610d74886120d1565b8a8a6040518563ffffffff1660e01b8152600401610d959493929190614da1565b5f604051808303815f87803b158015610dac575f5ffd5b505af1158015610dbe573d5f5f3e3d5ffd5b505050505b8251610dce90611d20565b610df77f0000000000000000000000000000000000000000000000000000000000000000611d31565b1015610e265761094b7f0000000000000000000000000000000000000000000000000000000000000000611d31565b610e3a610e338286614d8e565b83906120e5565b5f03610e5957604051632203334b60e21b815260040160405180910390fd5b6001600160a01b038916335f5160206152e35f395f51905f52610e7b8b6120bc565b610e84896120d1565b60408051928352602083019190915281018890526060810185905260800160405180910390a35050600580546001600160f81b0316600160f81b17905550909590945092505050565b7f000000000000000000000000000000000000000000000000000000000000000042101590565b905090565b600554600119600160f81b90910460ff1601610f275760405162461bcd60e51b815260040161077090614d43565b600580546001600160f81b0316600160f91b179055600b54604051632c3e6e0360e11b8152600c6004820152600160801b90910461ffff908116602483018190529083166044830152905f9073__$048ed23d805a6069d4ffa97e047467fd4a$__9063587cdc0690606401602060405180830381865af4158015610fad573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd19190614ddd565b90508061ffff168261ffff1614610b3d57600b805461ffff60801b1916600160801b61ffff8481169182029290921790925560408051918516825260208201929092527fac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a910160405180910390a15050600580546001600160f81b0316600160f81b17905550565b6005545f908190600119600160f81b90910460ff160161108b5760405162461bcd60e51b815260040161077090614d43565b600580546001600160f81b0316600160f91b1790556110a8610ecd565b156110c65760405163b2094b5960e01b815260040160405180910390fd5b5f6110d0336112e5565b90505f6111057f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611922565b90505f61111483838a426120f7565b919650945090506001600160a01b038916301461115f5761115f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168a8a611d7a565b6060830151611199906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611d7a565b6111a283611b86565b851561120f573363fa483e726111b78a6120d1565b6111c0886120bc565b8a8a6040518563ffffffff1660e01b81526004016111e19493929190614da1565b5f604051808303815f87803b1580156111f8575f5ffd5b505af115801561120a573d5f5f3e3d5ffd5b505050505b61121c8360200151611d20565b6112457f0000000000000000000000000000000000000000000000000000000000000000611d31565b1015611274576108c07f0000000000000000000000000000000000000000000000000000000000000000611d31565b611281610e338286614d8e565b5f036112a057604051632203334b60e21b815260040160405180910390fd5b6001600160a01b038916335f5160206152e35f395f51905f526112c28b6120d1565b610e84896120bc565b6001600160a01b03165f9081526003602052604090205490565b6113346040518061012001604052805f81526020015f81526020015f81526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f81525090565b600a54600f81810b8352600160801b909104900b602082015261135d6113586109da565b6120d1565b60408281019190915251635c098c1160e01b81523060048201526001600160a01b0383811660248301525f917f000000000000000000000000000000000000000000000000000000000000000090911690635c098c1190604401606060405180830381865afa1580156113d2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113f69190614df8565b60ff1660e08501526001600160a01b03909116606084015290506001600160501b038116156114255780611447565b7f00000000000000000000000000000000000000000000000000000000000000005b6001600160501b031660c0830152507f000000000000000000000000000000000000000000000000000000000000000060808201527f000000000000000000000000000000000000000000000000000000000000000060a0820152600b546001600160601b0316610100820152919050565b600b54604051630eea10e760e11b815260609173__$048ed23d805a6069d4ffa97e047467fd4a$__91631dd421ce9161151c91600c91429188916001600160601b0381169161ffff600160601b8304811692600160701b90041690600401614e52565b5f60405180830381865af4158015611536573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107369190810190614ede565b600554606090600119600160f81b90910460ff160161158e5760405162461bcd60e51b815260040161077090614d43565b600580546001600160f81b0316600160f91b1790556115ac82612122565b9050600580546001600160f81b0316600160f81b179055919050565b6060600780546106a290614d11565b6005545f90600119600160f81b90910460ff16016116075760405162461bcd60e51b815260040161077090614d43565b600580546001600160f81b0316600160f91b17905533611628818585611e49565b6001915050600580546001600160f81b0316600160f81b17905592915050565b6060610ef4612188565b5f610ef4600554600160f81b900460ff1660021490565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b6005545f908190600119600160f81b90910460ff16016116c55760405162461bcd60e51b815260040161077090614d43565b600580546001600160f81b0316600160f91b1790555f6116e4336112e5565b90506116f03085612273565b6116fa81856123f9565b90935091506001600160a01b0386163014611743576117436001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168785611d7a565b6001600160a01b0385163014611787576117876001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168684611d7a565b61179081611b86565b846001600160a01b0316866001600160a01b03167f4cf25bc1d991c17529c25213d3cc0cda295eeaad5f13f361969b12ea48015f908686866040516117d7939291906149d2565b60405180910390a350600580546001600160f81b0316600160f81b1790559094909350915050565b6001600160a01b0383166118615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610770565b6001600160a01b0382166118c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610770565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611960573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107369190614f78565b5f5f5f5f5f5f5f5f6119a88c6119998d6120d1565b6119a28d6120d1565b8c612432565b93509350935093506119b984611d20565b97506119c483611d20565b96506119cf82611d20565b95506119da81611d20565b945050505050945094509450949050565b60a08401518110611a0f5760405163b2094b5960e01b815260040160405180910390fd5b5f611a278560200151856125ea90919063ffffffff16565b90505f828660a00151611a3a9190614d8e565b90505f611a478783612626565b9050611a59875f015184838886612680565b61010090970196909652505050505050565b6001600160a01b038216611ac15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610770565b611acc5f83836126d0565b611ad5816126db565b600580545f90611aef9084906001600160f81b0316614f8f565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055508060035f846001600160a01b03166001600160a01b031681526020019081526020015f205f828254611b459190614fae565b90915550506040518181526001600160a01b038316905f905f5160206153035f395f51905f529060200160405180910390a3611b825f83836126ef565b5050565b5f611b958261010001516126fa565b90505f611ba4835f015161270e565b90505f611bb4846020015161270e565b600b5460405163095ee96d60e31b8152600c600482015261ffff600160601b8304811660248301524263ffffffff1660448301526001600160601b0383166064830152600160701b830481166084830152600160801b90920490911660a48201529091505f90819073__$048ed23d805a6069d4ffa97e047467fd4a$__90634af74b689060c4016040805180830381865af4158015611c55573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c799190614fc1565b6001600160801b03858116600160801b0290871617600a55600b805461ffff808416600160701b0261ffff60701b19918616600160601b026001600160701b03199093166001600160601b038c1617929092171617905561010088015160405192945090925042917f5c0e21d57bb4cf91d8fe238d6f92e2685a695371b19209afcce6217b478f83e191611d109190815260200190565b60405180910390a2505050505050565b5f5f821215611d2d575f5ffd5b5090565b6040516370a0823160e01b81525f906001600160a01b038316906370a0823190611d5f903090600401614cbd565b602060405180830381865afa158015611960573d5f5f3e3d5ffd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611dcc908490612736565b505050565b5f611ddc8484611669565b90505f198114611e435781811015611e365760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610770565b611e4384848484036117ff565b50505050565b6001600160a01b038316611ead5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610770565b6001600160a01b038216611f0f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610770565b816001600160a01b0316836001600160a01b031603611f6a5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610770565b611f758383836126d0565b6001600160a01b0383165f9081526003602052604090205481811015611fec5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610770565b6001600160a01b038085165f90815260036020526040808220858503905591851681529081208054849290612022908490614fae565b92505081905550826001600160a01b0316846001600160a01b03165f5160206153035f395f51905f528460405161205b91815260200190565b60405180910390a3611e438484846126ef565b5f5f5f5f5f5f6120888a8a6120828b6120bc565b8a612809565b92509250925061209783611d20565b95506120a282611d20565b94506120ad81611d20565b93505050509450945094915050565b5f6120c6826120d1565b610736905f19614fee565b5f6001600160ff1b03821115611d2d575f5ffd5b5f6120f08383612899565b9392505050565b5f5f5f5f5f5f61210b8a8a6120828b6120d1565b92509250925061209761211d846128b7565b611d20565b606061212d826128c3565b612136826128d0565b61214082836128da565b9050816001600160a01b03167f78d61a0c27b13f43911095f9f356f14daa3cd8b125eea1aa22421245e90e813d8260405161217b9190614c86565b60405180910390a2919050565b60605f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156121e6573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261220d919081019061501d565b9050612239817f0000000000000000000000000000000000000000000000000000000000000000612b65565b1561224357919050565b61226d817f0000000000000000000000000000000000000000000000000000000000000000612bc2565b91505090565b6001600160a01b0382166122d35760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610770565b6122de825f836126d0565b6001600160a01b0382165f90815260036020526040902054818110156123515760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610770565b6001600160a01b0383165f9081526003602052604090208282039055612376826126db565b600580545f906123909084906001600160f81b03166150ac565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055505f6001600160a01b0316836001600160a01b03165f5160206153035f395f51905f52846040516123e691815260200190565b60405180910390a3611dcc835f846126ef565b5f5f5f5f61240f8661240a876120d1565b612ca6565b9150915061241c82611d20565b935061242781611d20565b925050509250929050565b5f808080861580612441575085155b1561245f576040516325daaec360e01b815260040160405180910390fd5b60a088015185106124835760405163b2094b5960e01b815260040160405180910390fd5b87604001515f036124c5576103e86124a96113586124a461211d8a8c614fee565b612d70565b6124b391906150cb565b92506103e8935086915085905061255d565b875160408901515f91906124d99089614fee565b6124e39190615105565b90505f89602001518a604001518a6124fb9190614fee565b6125059190615105565b90508082121561253a578194508792506125338a60400151868c6020015161252d9190614fee565b90612dde565b935061255a565b8094508893506125578a60400151868c5f015161252d9190614fee565b92505b50505b5f8313158061256c57505f8213155b8061257757505f8113155b1561259557604051631997ea8d60e31b815260040160405180910390fd5b81886020018181516125a79190615131565b9052508751819089906125bb908390615131565b9052506125c88484615131565b886040018181516125d99190615131565b905250929791965094509092509050565b5f5f5f83126125fa5760016125fd565b5f195b90506126146113588561260f86612e00565b612899565b61261e9082614fee565b949350505050565b5f612630826120d1565b6126426113586201518061016d615150565b84608001516126519190614fee565b61265b9190615105565b90505f811361073657604051630e520c3b60e11b815260048101829052602401610770565b5f5f61268f878787875f612e16565b90505f61269e61211d83612ecb565b9050836126b06201518061016d615150565b6126ba9083615150565b6126c49190615167565b98975050505050505050565b611dcc838383612f5d565b5f6001600160f81b03821115611d2d575f5ffd5b611dcc838383612f67565b5f6001600160601b03821115611d2d575f5ffd5b5f60016001607f1b0319821280159061272e575060016001607f1b038213155b611d2d575f5ffd5b5f61278a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612f719092919063ffffffff16565b905080515f14806127aa5750808060200190518101906127aa919061517a565b611dcc5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610770565b5f5f5f61281a8760a0015185101590565b156128385760405163b2094b5960e01b815260040160405180910390fd5b8651851261285e578651604051632185509b60e21b815261077091908790600401614ac0565b5f61286a888887612f7f565b905061287888828989613072565b9195509350915061288e8882898988878b6131bc565b509450945094915050565b5f670de0b6b3a76400006128ad8484615150565b6120f09190615167565b5f610736825f19614fee565b6128cd815f61324c565b50565b6128cd815f6132ca565b60605f6128e5612188565b905080516001600160401b0381111561290057612900614b2f565b604051908082528060200260200182016040528015612929578160200160208202803683370190505b5091505f5b8151811015612b5d575f5f83838151811061294b5761294b615199565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f866001600160a01b03166001600160a01b031681526020019081526020015f205f0160109054906101000a90046001600160801b03166001600160801b03168382815181106129c4576129c4615199565b6020026020010181815250508281815181106129e2576129e2615199565b60200260200101515f14612b55575f5f5f848481518110612a0557612a05615199565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f876001600160a01b03166001600160a01b031681526020019081526020015f205f0160106101000a8154816001600160801b0302191690836001600160801b03160217905550612a95838281518110612a8857612a88615199565b6020026020010151613328565b60025f848481518110612aaa57612aaa615199565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160108282829054906101000a90046001600160801b0316612af491906151ad565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550612b55828281518110612b2d57612b2d615199565b602002602001015185858481518110612b4857612b48615199565b602002602001015161333c565b60010161292e565b505092915050565b81515f90815b81811015612bb857836001600160a01b0316858281518110612b8f57612b8f615199565b60200260200101516001600160a01b031603612bb057600192505050610736565b600101612b6b565b505f949350505050565b8151606090612bd2816001614fae565b6001600160401b03811115612be957612be9614b2f565b604051908082528060200260200182016040528015612c12578160200160208202803683370190505b5091505f5b81811015612c6b57848181518110612c3157612c31615199565b6020026020010151838281518110612c4b57612c4b615199565b6001600160a01b0390921660209283029190910190910152600101612c17565b5082828281518110612c7f57612c7f615199565b60200260200101906001600160a01b031690816001600160a01b0316815250505092915050565b5f5f825f03612cc8576040516325daaec360e01b815260040160405180910390fd5b60408401516020850151612cdc9085614fee565b612ce69190615105565b6040850151855191935090612cfb9085614fee565b612d059190615105565b905081158015612d13575080155b15612d3157604051631997ea8d60e31b815260040160405180910390fd5b6040840151612d4090846133fb565b60408501528351612d5190826133fb565b84526020840151612d6290836133fb565b602090940193909352929050565b5f6003821115612dcf5750805f612d88600283615167565b612d93906001614fae565b90505b81811015612dc957905080600281612dae8186615167565b612db89190614fae565b612dc29190615167565b9050612d96565b50919050565b8115612dd9575060015b919050565b5f816001612dec8286615131565b612df691906150cb565b6120f09190615105565b5f5f8213611d2d57612e11826151cc565b610736565b5f80612e2287846133fb565b90505f612e39612e32888a615131565b8390613441565b9050670d529ae9e8600000811315612e705780670d529ae9e8600000604051637e34684f60e11b8152600401610770929190614ac0565b5f612e7a8261346f565b905085612e878289613441565b612e919190615131565b9350670de0b6b3a7640000841215612ebf5760405163329e322960e21b815260048101859052602401610770565b50505095945050505050565b5f5f8213612f0b5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b6044820152606401610770565b670c7d713b49da000082138015612f295750670f43fc2c04ee000082125b15612f5457670de0b6b3a7640000612f40836134c0565b81612f4d57612f4d6150f1565b0592915050565b610736826135dd565b611dcc838361324c565b611dcc83836132ca565b606061261e84845f8561397b565b612fa660405180608001604052805f81526020015f81526020015f81526020015f81525090565b60a08401518210612fca5760405163b2094b5960e01b815260040160405180910390fd5b5f828560a00151612fdb9190614d8e565b9050612fe78582612626565b82526020850151612ff99085906125ea565b60208301528451158061300e57506020820151155b15613035578451602083015160405163b1c4aefb60e01b8152610770929190600401614ac0565b613051855f01518661010001518460200151855f015185613a52565b604083015260c08501516130659082613ad0565b6060830152509392505050565b5f5f5f5f613091885f01518860200151895f01518a6040015189612e16565b90505f6130a66130a18784613441565b6128b7565b60608901519091505f871315613113575f6130c18483613441565b9050670de0b6b3a76400008112156130ef5760405163329e322960e21b815260048101829052602401610770565b61310b61310483670de0b6b3a76400006150cb565b8490613b08565b915050613140565b61313d8161312981670de0b6b3a76400006150cb565b6131339085614fee565b6130a19190615105565b90505b5f60646131508c60e001516120d1565b61315a9084614fee565b6131649190615105565b90505f61317183856150cb565b90505f8112613189576131848a82613b25565b613193565b6131938a82613b4f565b975061319f8a84613b25565b96506131ab8a83613b25565b955050505050509450945094915050565b5f818860a001516131cd9190614d8e565b88519091506131dc90866133fb565b88526131f66131eb8486615131565b60208a0151906133fb565b60208901819052885161321b9161320e9089906125ea565b895160408b015185612680565b61010089018190525f0361324257604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b5f5f613256613b79565b9150915081515f036132685750505050565b6001600160a01b0384161580159061328957506001600160a01b0384163014155b1561329957613299848383613dec565b6001600160a01b038316158015906132ba57506001600160a01b0383163014155b15611e4357611e43838383613dec565b6001600160a01b038216158015906132eb57506001600160a01b0382163014155b156132f9576132f982614025565b6001600160a01b0381161580159061331a57506001600160a01b0381163014155b15611b8257611b8281614025565b5f6001600160801b03821115611d2d575f5ffd5b805f0361334857505050565b6001600160a01b0383166133e7575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461339f576040519150601f19603f3d011682016040523d82523d5f602084013e6133a4565b606091505b5050905080611e435760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610770565b611dcc6001600160a01b0384168383611d7a565b5f818312156134375760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b6044820152606401610770565b6120f082846150cb565b5f80613455670de0b6b3a764000085614fee565b9050828181613466576134666150f1565b05949350505050565b5f670de0b6b3a764000082036134985760405163a9c8b14d60e01b815260040160405180910390fd5b5f6134b56134ae84670de0b6b3a76400006150cb565b8490613441565b90506120f081612ecb565b670de0b6b3a7640000025f806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281613500576135006150f1565b0590505f6a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b5f670de0b6b3a764000082121561361c57613614826a0c097ce7bc90715b34b9f160241b8161360e5761360e6150f1565b056135dd565b5f0392915050565b5f775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b83126136665772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b831261369d576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126136e5576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312613720576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261375757693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261378e57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126137c35768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126137ee57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312613823576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312613858576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b286603831261388c576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126138c0576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b5f68056bc75e2d63100000840168056bc75e2d6310000080860302816138e8576138e86150f1565b0590505f68056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6060824710156139dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610770565b5f5f866001600160a01b031685876040516139f791906151e6565b5f6040518083038185875af1925050503d805f8114613a31576040519150601f19603f3d011682016040523d82523d5f602084013e613a36565b606091505b5091509150613a4787838387614107565b979650505050505050565b5f5f613a5e8684613ad0565b9050670de0b6b3a7640000811215613a8c5760405163329e322960e21b815260048101829052602401610770565b5f613aa1613a9a878a615131565b8990613441565b90505f613aad8261346f565b9050613ab98187613441565b613ac390846150cb565b9998505050505050505050565b5f80613ae16201518061016d615150565b613aeb8486615150565b613af59190615167565b905061261e613b03826120d1565b61417f565b5f80613b148385614fee565b9050670de0b6b3a764000081613466565b5f5f5f8312613b35576001613b38565b5f195b905061261461135885613b4a86612e00565b614589565b5f5f5f8312613b5f576001613b62565b5f195b905061261461135885613b7486612e00565b61459d565b606080613b84612188565b915081516001600160401b03811115613b9f57613b9f614b2f565b604051908082528060200260200182016040528015613bc8578160200160208202803683370190505b50905081515f03613bd7579091565b4360015414613d7157436001555f613bee60085490565b9050613bf86145c8565b5f5b8351811015613d6b575f848281518110613c1657613c16615199565b6020908102919091018101516001600160a01b0381165f9081526002835260408082208151808301909252546001600160801b03808216808452600160801b9092041694820185905289519395509093929091908390613c8f908b9089908110613c8257613c82615199565b60200260200101516146c1565b613c999190614d8e565b9050815f03613ca757600191505b8615613cc457613cb78188614743565b613cc19083614fae565b91505b6040518060400160405280613cd884613328565b6001600160801b03168152602001613cf8613cf38487614fae565b613328565b6001600160801b039081169091526001600160a01b0387165f908152600260209081526040909120835193909101518216600160801b029290911691909117905587518290899088908110613d4f57613d4f615199565b6020026020010181815250505050505050806001019050613bfa565b50509091565b5f5b8251811015613de75760025f848381518110613d9157613d91615199565b6020908102919091018101516001600160a01b031682528101919091526040015f205482516001600160801b0390911690839083908110613dd457613dd4615199565b6020908102919091010152600101613d73565b509091565b6001600160a01b03831615801590613e0d57506001600160a01b0383163014155b613e1957613e19615201565b6001600160a01b0383165f90815260096020526040812054905b835181101561401e575f848281518110613e4f57613e4f615199565b602002602001015190505f848381518110613e6c57613e6c615199565b6020908102919091018101516001600160a01b038085165f9081528084526040808220928c168252919093528220549092506001600160801b031690819003613ec557613eb96001613328565b6001600160801b031690505b81811480613ed1575081155b15613ede57505050614016565b5f613ee98284614d8e565b90505f613ef68783614771565b6001600160a01b038681165f90815260208181526040808320938f1683529290529081205491925090613f3a908390600160801b90046001600160801b0316614fae565b90506040518060400160405280613f5087613328565b6001600160801b03168152602001613f6783613328565b6001600160801b03168152505f5f886001600160a01b03166001600160a01b031681526020019081526020015f205f8d6001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f015f6101000a8154816001600160801b0302191690836001600160801b031602179055506020820151815f0160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b600101613e33565b5050505050565b6001600160a01b0381161580159061404657506001600160a01b0381163014155b61405257614052615201565b5f61405c8261478e565b90505f6140698383614798565b90505f61407682846148ab565b6001600160a01b0385165f9081526009602052604090205460085491925082916140a09190614d8e565b6140aa9190614fae565b6008556001600160a01b0384165f8181526009602052604090819020839055517f15db480654d6b3ac10d36677c6f855f2c8b1322d2c53afc972b502a130371d54906140f99084815260200190565b60405180910390a250505050565b606083156141755782515f0361416e576001600160a01b0385163b61416e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610770565b508161261e565b61261e83836148c0565b5f680238fd42c5cf03ffff1982121580156141a3575068070c1cc73b00c800008213155b6141e25760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610770565b5f821215614211576141f5825f0361417f565b6a0c097ce7bc90715b34b9f160241b81612f4d57612f4d6150f1565b5f6806f05b59d3b2000000831261424e57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b614284565b6803782dace9d9000000831261428057506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380614284565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126142d45768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412614310576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261434a57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412614384576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126143bd57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126143f65768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b1880000841261442f576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126144685768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b5f826128ad670de0b6b3a764000084615150565b5f826001816145b4670de0b6b3a764000086615150565b6145be9190614fae565b6128ad9190614d8e565b604051633bd73ee360e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef5cfb8c90614614903090600401614cbd565b5f604051808303815f875af115801561462f573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526146569190810190615215565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166358f3d1636040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156146af575f5ffd5b505af1158015611e43573d5f5f3e3d5ffd5b5f6001600160a01b0382161561473c576040516370a0823160e01b81526001600160a01b038316906370a08231906146fd903090600401614cbd565b602060405180830381865afa158015614718573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e119190614f78565b4792915050565b5f80614757670de0b6b3a764000085615150565b9050828181614768576147686150f1565b04949350505050565b5f8061477d8385615150565b9050670de0b6b3a764000081614768565b5f610736826112cb565b5f5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e268b3a4866040518263ffffffff1660e01b81526004016147e79190614cbd565b60408051808303815f875af1158015614802573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061482691906152b1565b6001600160801b0391821693501690505f6064614844602887615150565b61484e9190615167565b905082156148a2576064614863602882614d8e565b848461486d6148ea565b6148779190615150565b6148819190615167565b61488b9190615150565b6148959190615167565b61489f9082614fae565b90505b95945050505050565b5f8183106148b957816120f0565b5090919050565b8151156148d05781518083602001fd5b8060405162461bcd60e51b81526004016107709190614915565b5f610ef46109da565b5f5b8381101561490d5781810151838201526020016148f5565b50505f910152565b602081525f82518060208401526149338160408501602087016148f3565b601f01601f19169190910160400192915050565b6001600160a01b03811681146128cd575f5ffd5b5f6020828403121561496b575f5ffd5b81356120f081614947565b5f5f60408385031215614987575f5ffd5b823561499281614947565b946020939093013593505050565b5f5f5f606084860312156149b2575f5ffd5b83356149bd81614947565b95602085013595506040909401359392505050565b9283526020830191909152604082015260600190565b5f5f5f606084860312156149fa575f5ffd5b8335614a0581614947565b92506020840135614a1581614947565b929592945050506040919091013590565b5f60208284031215614a36575f5ffd5b5035919050565b5f5f5f5f60608587031215614a50575f5ffd5b8435614a5b81614947565b93506020850135925060408501356001600160401b03811115614a7c575f5ffd5b8501601f81018713614a8c575f5ffd5b80356001600160401b03811115614aa1575f5ffd5b876020828401011115614ab2575f5ffd5b949793965060200194505050565b918252602082015260400190565b61ffff811681146128cd575f5ffd5b5f60208284031215614aed575f5ffd5b81356120f081614ace565b5f5f60408385031215614b09575f5ffd5b8235614b1481614947565b91506020830135614b2481614947565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715614b6b57614b6b614b2f565b604052919050565b5f6001600160401b03821115614b8b57614b8b614b2f565b5060051b60200190565b5f60208284031215614ba5575f5ffd5b81356001600160401b03811115614bba575f5ffd5b8201601f81018413614bca575f5ffd5b8035614bdd614bd882614b73565b614b43565b8082825260208201915060208360051b850101925086831115614bfe575f5ffd5b6020840193505b82841015614c3157833563ffffffff81168114614c20575f5ffd5b825260209384019390910190614c05565b9695505050505050565b602080825282518282018190525f918401906040840190835b81811015614c7b5783516001600160d81b0316835260209384019390920191600101614c54565b509095945050505050565b602080825282518282018190525f918401906040840190835b81811015614c7b578351835260209384019390920191600101614c9f565b6001600160a01b0391909116815260200190565b602080825282518282018190525f918401906040840190835b81811015614c7b5783516001600160a01b0316835260209384019390920191600101614cea565b600181811c90821680614d2557607f821691505b602082108103612dc957634e487b7160e01b5f52602260045260245ffd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561073657610736614d7a565b84815283602082015260606040820152816060820152818360808301375f818301608090810191909152601f909201601f191601019392505050565b5f60208284031215614ded575f5ffd5b81516120f081614ace565b5f5f5f60608486031215614e0a575f5ffd5b8351614e1581614947565b60208501519093506001600160501b0381168114614e31575f5ffd5b604085015190925060ff81168114614e47575f5ffd5b809150509250925092565b5f60c0820188835263ffffffff8816602084015260c0604084015280875180835260e0850191506020890192505f5b81811015614ea557835163ffffffff16835260209384019390920191600101614e81565b50506001600160601b03871660608501529150614ebf9050565b61ffff8416608083015261ffff831660a0830152979650505050505050565b5f60208284031215614eee575f5ffd5b81516001600160401b03811115614f03575f5ffd5b8201601f81018413614f13575f5ffd5b8051614f21614bd882614b73565b8082825260208201915060208360051b850101925086831115614f42575f5ffd5b6020840193505b82841015614c315783516001600160d81b0381168114614f67575f5ffd5b825260209384019390910190614f49565b5f60208284031215614f88575f5ffd5b5051919050565b6001600160f81b03818116838216019081111561073657610736614d7a565b8082018082111561073657610736614d7a565b5f5f60408385031215614fd2575f5ffd5b8251614fdd81614ace565b6020840151909250614b2481614ace565b8082025f8212600160ff1b8414161561500957615009614d7a565b818105831482151761073657610736614d7a565b5f6020828403121561502d575f5ffd5b81516001600160401b03811115615042575f5ffd5b8201601f81018413615052575f5ffd5b8051615060614bd882614b73565b8082825260208201915060208360051b850101925086831115615081575f5ffd5b6020840193505b82841015614c3157835161509b81614947565b825260209384019390910190615088565b6001600160f81b03828116828216039081111561073657610736614d7a565b8181035f8312801583831316838312821617156150ea576150ea614d7a565b5092915050565b634e487b7160e01b5f52601260045260245ffd5b5f82615113576151136150f1565b600160ff1b82145f198414161561512c5761512c614d7a565b500590565b8082018281125f831280158216821582161715612b5d57612b5d614d7a565b808202811582820484141761073657610736614d7a565b5f82615175576151756150f1565b500490565b5f6020828403121561518a575f5ffd5b815180151581146120f0575f5ffd5b634e487b7160e01b5f52603260045260245ffd5b6001600160801b03828116828216039081111561073657610736614d7a565b5f600160ff1b82016151e0576151e0614d7a565b505f0390565b5f82516151f78184602087016148f3565b9190910192915050565b634e487b7160e01b5f52600160045260245ffd5b5f60208284031215615225575f5ffd5b81516001600160401b0381111561523a575f5ffd5b8201601f8101841361524a575f5ffd5b8051615258614bd882614b73565b8082825260208201915060208360051b850101925086831115615279575f5ffd5b6020840193505b82841015614c31578351825260209384019390910190615280565b80516001600160801b0381168114612dd9575f5ffd5b5f5f604083850312156152c2575f5ffd5b6152cb8361529b565b91506152d96020840161529b565b9050925092905056fe829000a5bc6a12d46e30cdcecd7c56b1efd88f6d7d059da6734a04f3764557c4ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220c7168f062b7859c136470a15861610ab430da0353bf3b4794db2574c10f56dbc64736f6c634300081e0033";
1155
+
1156
+ type PendleMarketV6ConstructorParams =
1157
+ | [linkLibraryAddresses: PendleMarketV6LibraryAddresses, signer?: Signer]
1158
+ | ConstructorParameters<typeof ContractFactory>;
1159
+
1160
+ const isSuperArgs = (
1161
+ xs: PendleMarketV6ConstructorParams
1162
+ ): xs is ConstructorParameters<typeof ContractFactory> => {
1163
+ return (
1164
+ typeof xs[0] === "string" ||
1165
+ (Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
1166
+ "_isInterface" in xs[0]
1167
+ );
1168
+ };
1169
+
1170
+ export class PendleMarketV6__factory extends ContractFactory {
1171
+ constructor(...args: PendleMarketV6ConstructorParams) {
1172
+ if (isSuperArgs(args)) {
1173
+ super(...args);
1174
+ } else {
1175
+ const [linkLibraryAddresses, signer] = args;
1176
+ super(
1177
+ _abi,
1178
+ PendleMarketV6__factory.linkBytecode(linkLibraryAddresses),
1179
+ signer
1180
+ );
1181
+ }
1182
+ this.contractName = "PendleMarketV6";
1183
+ }
1184
+
1185
+ static linkBytecode(
1186
+ linkLibraryAddresses: PendleMarketV6LibraryAddresses
1187
+ ): string {
1188
+ let linkedBytecode = _bytecode;
1189
+
1190
+ linkedBytecode = linkedBytecode.replace(
1191
+ new RegExp("__\\$048ed23d805a6069d4ffa97e047467fd4a\\$__", "g"),
1192
+ linkLibraryAddresses["contracts/core/Market/OracleLib.sol:OracleLib"]
1193
+ .replace(/^0x/, "")
1194
+ .toLowerCase()
1195
+ );
1196
+
1197
+ return linkedBytecode;
1198
+ }
1199
+
1200
+ deploy(
1201
+ _PT: string,
1202
+ _scalarRoot: BigNumberish,
1203
+ _initialAnchor: BigNumberish,
1204
+ _lnFeeRateRoot: BigNumberish,
1205
+ _vePendle: string,
1206
+ _gaugeController: string,
1207
+ overrides?: Overrides & { from?: string | Promise<string> }
1208
+ ): Promise<PendleMarketV6> {
1209
+ return super.deploy(
1210
+ _PT,
1211
+ _scalarRoot,
1212
+ _initialAnchor,
1213
+ _lnFeeRateRoot,
1214
+ _vePendle,
1215
+ _gaugeController,
1216
+ overrides || {}
1217
+ ) as Promise<PendleMarketV6>;
1218
+ }
1219
+ getDeployTransaction(
1220
+ _PT: string,
1221
+ _scalarRoot: BigNumberish,
1222
+ _initialAnchor: BigNumberish,
1223
+ _lnFeeRateRoot: BigNumberish,
1224
+ _vePendle: string,
1225
+ _gaugeController: string,
1226
+ overrides?: Overrides & { from?: string | Promise<string> }
1227
+ ): TransactionRequest {
1228
+ return super.getDeployTransaction(
1229
+ _PT,
1230
+ _scalarRoot,
1231
+ _initialAnchor,
1232
+ _lnFeeRateRoot,
1233
+ _vePendle,
1234
+ _gaugeController,
1235
+ overrides || {}
1236
+ );
1237
+ }
1238
+ attach(address: string): PendleMarketV6 {
1239
+ return super.attach(address) as PendleMarketV6;
1240
+ }
1241
+ connect(signer: Signer): PendleMarketV6__factory {
1242
+ return super.connect(signer) as PendleMarketV6__factory;
1243
+ }
1244
+ static readonly contractName: "PendleMarketV6";
1245
+ public readonly contractName: "PendleMarketV6";
1246
+ static readonly bytecode = _bytecode;
1247
+ static readonly abi = _abi;
1248
+ static createInterface(): PendleMarketV6Interface {
1249
+ return new utils.Interface(_abi) as PendleMarketV6Interface;
1250
+ }
1251
+ static connect(
1252
+ address: string,
1253
+ signerOrProvider: Signer | Provider
1254
+ ): PendleMarketV6 {
1255
+ return new Contract(address, _abi, signerOrProvider) as PendleMarketV6;
1256
+ }
1257
+ }
1258
+
1259
+ export interface PendleMarketV6LibraryAddresses {
1260
+ ["contracts/core/Market/OracleLib.sol:OracleLib"]: string;
1261
+ }