@pendle/core-v2 6.7.0 → 6.7.1

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 (348) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  44. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +4 -0
  46. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +99 -0
  47. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
  54. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  55. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
  56. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  57. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  58. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +4 -0
  121. package/build/artifacts/contracts/interfaces/{IPSwapHelper.sol/IPSwapHelper.json → IPOFTPTSwapper.sol/IPOFTPTSwapper.json} +2 -2
  122. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  144. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  145. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  146. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
  147. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  232. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  242. package/contracts/cross-chain/{PendleSwapHelper.sol → OFTPTSwapper.sol} +4 -3
  243. package/contracts/interfaces/{IPSwapHelper.sol → IPOFTPTSwapper.sol} +1 -1
  244. package/deployments/1-core.json +2 -1
  245. package/deployments/130-core.json +2 -1
  246. package/deployments/143-core.json +2 -1
  247. package/deployments/42161-core.json +2 -1
  248. package/deployments/4217-core.json +2 -1
  249. package/deployments/43114-core.json +2 -1
  250. package/deployments/56-core.json +2 -1
  251. package/deployments/57073-core.json +2 -1
  252. package/deployments/747474-core.json +2 -1
  253. package/deployments/8453-core.json +2 -1
  254. package/deployments/9745-core.json +2 -1
  255. package/deployments/999-core.json +2 -1
  256. package/package.json +1 -1
  257. package/typechain-types/IPOFTPTSwapper.ts +161 -0
  258. package/typechain-types/OFTPTSwapper.ts +161 -0
  259. package/typechain-types/UUPSUpgradeable.ts +9 -0
  260. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  261. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  262. package/typechain-types/factories/IPOFTPTSwapper__factory.ts +114 -0
  263. package/typechain-types/factories/OFTPTSwapper__factory.ts +149 -0
  264. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  265. package/typechain-types/factories/UUPSUpgradeable__factory.ts +13 -0
  266. package/typechain-types/hardhat.d.ts +22 -22
  267. package/typechain-types/index.ts +6 -6
  268. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +0 -4
  269. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +0 -99
  270. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +0 -4
  271. package/typechain-types/AaveMoneyMarket.ts +0 -763
  272. package/typechain-types/AaveMoneyMarketView.ts +0 -460
  273. package/typechain-types/BaseMoneyMarket.ts +0 -697
  274. package/typechain-types/BaseMoneyMarketView.ts +0 -362
  275. package/typechain-types/IAToken.ts +0 -358
  276. package/typechain-types/IAaveOracle.ts +0 -235
  277. package/typechain-types/IAaveRewardsController.ts +0 -1186
  278. package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +0 -431
  279. package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +0 -606
  280. package/typechain-types/IDssPsm.ts +0 -194
  281. package/typechain-types/IERC4626.ts +0 -864
  282. package/typechain-types/IFlashLoanReceiver.ts +0 -125
  283. package/typechain-types/IIrm.ts +0 -260
  284. package/typechain-types/IMoneyMarket.ts +0 -700
  285. package/typechain-types/IMoneyMarketEvents.ts +0 -196
  286. package/typechain-types/IMoneyMarketView.ts +0 -331
  287. package/typechain-types/IMorpho.ts +0 -1147
  288. package/typechain-types/IMorphoOracle.ts +0 -81
  289. package/typechain-types/IMulticall.ts +0 -117
  290. package/typechain-types/IPLoopPositionBox.ts +0 -298
  291. package/typechain-types/IPLoopPositionBoxFactory.ts +0 -434
  292. package/typechain-types/IPPTLooper.ts +0 -1550
  293. package/typechain-types/IPPTLooperView.ts +0 -468
  294. package/typechain-types/IPool.ts +0 -2220
  295. package/typechain-types/IPoolAddressesProvider.ts +0 -789
  296. package/typechain-types/IPoolDataProviderV3.ts +0 -865
  297. package/typechain-types/IPoolDataProviderV31.ts +0 -933
  298. package/typechain-types/IPot.ts +0 -181
  299. package/typechain-types/IPriceOracleGetter.ts +0 -133
  300. package/typechain-types/ISDAI.ts +0 -877
  301. package/typechain-types/LoopPositionBox.ts +0 -309
  302. package/typechain-types/LoopPositionBoxFactory.ts +0 -609
  303. package/typechain-types/MorphoBlueMoneyMarket.ts +0 -731
  304. package/typechain-types/MorphoBlueMoneyMarketView.ts +0 -396
  305. package/typechain-types/Multicall.ts +0 -117
  306. package/typechain-types/PTLooperBase.ts +0 -1759
  307. package/typechain-types/PTLooperView.ts +0 -618
  308. package/typechain-types/PendlePTLooper.ts +0 -1784
  309. package/typechain-types/PendlePTLooperView.ts +0 -648
  310. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +0 -450
  311. package/typechain-types/factories/AaveMoneyMarket__factory.ts +0 -726
  312. package/typechain-types/factories/BaseMoneyMarketView__factory.ts +0 -279
  313. package/typechain-types/factories/BaseMoneyMarket__factory.ts +0 -599
  314. package/typechain-types/factories/IAToken__factory.ts +0 -258
  315. package/typechain-types/factories/IAaveOracle__factory.ts +0 -132
  316. package/typechain-types/factories/IAaveRewardsController__factory.ts +0 -743
  317. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +0 -441
  318. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +0 -278
  319. package/typechain-types/factories/IDssPsm__factory.ts +0 -122
  320. package/typechain-types/factories/IERC4626__factory.ts +0 -635
  321. package/typechain-types/factories/IFlashLoanReceiver__factory.ts +0 -65
  322. package/typechain-types/factories/IIrm__factory.ts +0 -243
  323. package/typechain-types/factories/IMoneyMarketEvents__factory.ts +0 -225
  324. package/typechain-types/factories/IMoneyMarketView__factory.ts +0 -253
  325. package/typechain-types/factories/IMoneyMarket__factory.ts +0 -596
  326. package/typechain-types/factories/IMorphoOracle__factory.ts +0 -36
  327. package/typechain-types/factories/IMorpho__factory.ts +0 -1045
  328. package/typechain-types/factories/IMulticall__factory.ts +0 -66
  329. package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +0 -420
  330. package/typechain-types/factories/IPLoopPositionBox__factory.ts +0 -198
  331. package/typechain-types/factories/IPPTLooperView__factory.ts +0 -331
  332. package/typechain-types/factories/IPPTLooper__factory.ts +0 -2506
  333. package/typechain-types/factories/IPoolAddressesProvider__factory.ts +0 -526
  334. package/typechain-types/factories/IPoolDataProviderV31__factory.ts +0 -596
  335. package/typechain-types/factories/IPoolDataProviderV3__factory.ts +0 -554
  336. package/typechain-types/factories/IPool__factory.ts +0 -1609
  337. package/typechain-types/factories/IPot__factory.ts +0 -98
  338. package/typechain-types/factories/IPriceOracleGetter__factory.ts +0 -71
  339. package/typechain-types/factories/ISDAI__factory.ts +0 -645
  340. package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +0 -648
  341. package/typechain-types/factories/LoopPositionBox__factory.ts +0 -277
  342. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +0 -384
  343. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +0 -691
  344. package/typechain-types/factories/Multicall__factory.ts +0 -104
  345. package/typechain-types/factories/PTLooperBase__factory.ts +0 -2656
  346. package/typechain-types/factories/PTLooperView__factory.ts +0 -467
  347. package/typechain-types/factories/PendlePTLooperView__factory.ts +0 -499
  348. package/typechain-types/factories/PendlePTLooper__factory.ts +0 -2738
@@ -1,499 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- PendlePTLooperView,
8
- PendlePTLooperViewInterface,
9
- } from "../PendlePTLooperView";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "address",
16
- name: "_positionBoxFactory",
17
- type: "address",
18
- },
19
- ],
20
- stateMutability: "nonpayable",
21
- type: "constructor",
22
- },
23
- {
24
- anonymous: false,
25
- inputs: [
26
- {
27
- indexed: false,
28
- internalType: "uint8",
29
- name: "version",
30
- type: "uint8",
31
- },
32
- ],
33
- name: "Initialized",
34
- type: "event",
35
- },
36
- {
37
- anonymous: false,
38
- inputs: [
39
- {
40
- indexed: false,
41
- internalType: "address",
42
- name: "spokeMM",
43
- type: "address",
44
- },
45
- {
46
- indexed: false,
47
- internalType: "address",
48
- name: "mmView",
49
- type: "address",
50
- },
51
- ],
52
- name: "MoneyMarketViewRegistered",
53
- type: "event",
54
- },
55
- {
56
- anonymous: false,
57
- inputs: [
58
- {
59
- indexed: true,
60
- internalType: "address",
61
- name: "previousOwner",
62
- type: "address",
63
- },
64
- {
65
- indexed: true,
66
- internalType: "address",
67
- name: "newOwner",
68
- type: "address",
69
- },
70
- ],
71
- name: "OwnershipTransferred",
72
- type: "event",
73
- },
74
- {
75
- inputs: [],
76
- name: "POSITION_BOX_FACTORY",
77
- outputs: [
78
- {
79
- internalType: "contract IPLoopPositionBoxFactory",
80
- name: "",
81
- type: "address",
82
- },
83
- ],
84
- stateMutability: "view",
85
- type: "function",
86
- },
87
- {
88
- inputs: [],
89
- name: "claimOwnership",
90
- outputs: [],
91
- stateMutability: "nonpayable",
92
- type: "function",
93
- },
94
- {
95
- inputs: [
96
- {
97
- internalType: "address",
98
- name: "_owner",
99
- type: "address",
100
- },
101
- ],
102
- name: "initialize",
103
- outputs: [],
104
- stateMutability: "nonpayable",
105
- type: "function",
106
- },
107
- {
108
- inputs: [
109
- {
110
- internalType: "address",
111
- name: "owner",
112
- type: "address",
113
- },
114
- {
115
- internalType: "bytes32",
116
- name: "boxId",
117
- type: "bytes32",
118
- },
119
- ],
120
- name: "limits",
121
- outputs: [
122
- {
123
- components: [
124
- {
125
- internalType: "uint256",
126
- name: "minBorrowing",
127
- type: "uint256",
128
- },
129
- {
130
- internalType: "uint256",
131
- name: "maxBorrowing",
132
- type: "uint256",
133
- },
134
- {
135
- internalType: "uint256",
136
- name: "minBorrowingForRewards",
137
- type: "uint256",
138
- },
139
- {
140
- internalType: "uint256",
141
- name: "minLending",
142
- type: "uint256",
143
- },
144
- {
145
- internalType: "uint256",
146
- name: "maxLending",
147
- type: "uint256",
148
- },
149
- {
150
- internalType: "uint256",
151
- name: "minLendingForRewards",
152
- type: "uint256",
153
- },
154
- ],
155
- internalType: "struct Limits",
156
- name: "",
157
- type: "tuple",
158
- },
159
- ],
160
- stateMutability: "nonpayable",
161
- type: "function",
162
- },
163
- {
164
- inputs: [
165
- {
166
- internalType: "address",
167
- name: "owner",
168
- type: "address",
169
- },
170
- {
171
- internalType: "bytes32",
172
- name: "boxId",
173
- type: "bytes32",
174
- },
175
- ],
176
- name: "liquidity",
177
- outputs: [
178
- {
179
- internalType: "uint256",
180
- name: "borrowing",
181
- type: "uint256",
182
- },
183
- {
184
- internalType: "uint256",
185
- name: "lending",
186
- type: "uint256",
187
- },
188
- ],
189
- stateMutability: "nonpayable",
190
- type: "function",
191
- },
192
- {
193
- inputs: [
194
- {
195
- internalType: "address",
196
- name: "owner",
197
- type: "address",
198
- },
199
- {
200
- internalType: "bytes32",
201
- name: "boxId",
202
- type: "bytes32",
203
- },
204
- ],
205
- name: "moneyMarketBalances",
206
- outputs: [
207
- {
208
- internalType: "uint256",
209
- name: "mmPtBalance",
210
- type: "uint256",
211
- },
212
- {
213
- internalType: "uint256",
214
- name: "mmDebtBalance",
215
- type: "uint256",
216
- },
217
- ],
218
- stateMutability: "nonpayable",
219
- type: "function",
220
- },
221
- {
222
- inputs: [
223
- {
224
- internalType: "address",
225
- name: "spokeMMMaster",
226
- type: "address",
227
- },
228
- ],
229
- name: "moneyMarketView",
230
- outputs: [
231
- {
232
- internalType: "contract IMoneyMarketView",
233
- name: "",
234
- type: "address",
235
- },
236
- ],
237
- stateMutability: "view",
238
- type: "function",
239
- },
240
- {
241
- inputs: [],
242
- name: "owner",
243
- outputs: [
244
- {
245
- internalType: "address",
246
- name: "",
247
- type: "address",
248
- },
249
- ],
250
- stateMutability: "view",
251
- type: "function",
252
- },
253
- {
254
- inputs: [],
255
- name: "pendingOwner",
256
- outputs: [
257
- {
258
- internalType: "address",
259
- name: "",
260
- type: "address",
261
- },
262
- ],
263
- stateMutability: "view",
264
- type: "function",
265
- },
266
- {
267
- inputs: [
268
- {
269
- internalType: "address",
270
- name: "owner",
271
- type: "address",
272
- },
273
- {
274
- internalType: "bytes32",
275
- name: "boxId",
276
- type: "bytes32",
277
- },
278
- ],
279
- name: "ptDebtRate",
280
- outputs: [
281
- {
282
- internalType: "uint256",
283
- name: "rateWad",
284
- type: "uint256",
285
- },
286
- ],
287
- stateMutability: "nonpayable",
288
- type: "function",
289
- },
290
- {
291
- inputs: [
292
- {
293
- internalType: "address",
294
- name: "owner",
295
- type: "address",
296
- },
297
- {
298
- internalType: "bytes32",
299
- name: "boxId",
300
- type: "bytes32",
301
- },
302
- ],
303
- name: "rates",
304
- outputs: [
305
- {
306
- internalType: "uint256",
307
- name: "borrowing",
308
- type: "uint256",
309
- },
310
- {
311
- internalType: "uint256",
312
- name: "lending",
313
- type: "uint256",
314
- },
315
- ],
316
- stateMutability: "nonpayable",
317
- type: "function",
318
- },
319
- {
320
- inputs: [
321
- {
322
- internalType: "address",
323
- name: "spokeMM",
324
- type: "address",
325
- },
326
- {
327
- internalType: "address",
328
- name: "mmView",
329
- type: "address",
330
- },
331
- ],
332
- name: "registerMoneyMarketView",
333
- outputs: [],
334
- stateMutability: "nonpayable",
335
- type: "function",
336
- },
337
- {
338
- inputs: [
339
- {
340
- internalType: "address",
341
- name: "owner",
342
- type: "address",
343
- },
344
- {
345
- internalType: "bytes32",
346
- name: "boxId",
347
- type: "bytes32",
348
- },
349
- ],
350
- name: "rewards",
351
- outputs: [
352
- {
353
- components: [
354
- {
355
- internalType: "address",
356
- name: "token",
357
- type: "address",
358
- },
359
- {
360
- internalType: "uint256",
361
- name: "claimable",
362
- type: "uint256",
363
- },
364
- ],
365
- internalType: "struct Reward[]",
366
- name: "borrowing",
367
- type: "tuple[]",
368
- },
369
- {
370
- components: [
371
- {
372
- internalType: "address",
373
- name: "token",
374
- type: "address",
375
- },
376
- {
377
- internalType: "uint256",
378
- name: "claimable",
379
- type: "uint256",
380
- },
381
- ],
382
- internalType: "struct Reward[]",
383
- name: "lending",
384
- type: "tuple[]",
385
- },
386
- ],
387
- stateMutability: "nonpayable",
388
- type: "function",
389
- },
390
- {
391
- inputs: [
392
- {
393
- internalType: "address",
394
- name: "owner",
395
- type: "address",
396
- },
397
- {
398
- internalType: "bytes32",
399
- name: "boxId",
400
- type: "bytes32",
401
- },
402
- ],
403
- name: "thresholds",
404
- outputs: [
405
- {
406
- internalType: "uint256",
407
- name: "ltv",
408
- type: "uint256",
409
- },
410
- {
411
- internalType: "uint256",
412
- name: "liquidationThreshold",
413
- type: "uint256",
414
- },
415
- ],
416
- stateMutability: "nonpayable",
417
- type: "function",
418
- },
419
- {
420
- inputs: [
421
- {
422
- internalType: "address",
423
- name: "newOwner",
424
- type: "address",
425
- },
426
- {
427
- internalType: "bool",
428
- name: "direct",
429
- type: "bool",
430
- },
431
- {
432
- internalType: "bool",
433
- name: "renounce",
434
- type: "bool",
435
- },
436
- ],
437
- name: "transferOwnership",
438
- outputs: [],
439
- stateMutability: "nonpayable",
440
- type: "function",
441
- },
442
- ];
443
-
444
- const _bytecode =
445
- "0x60a060405234801561000f575f5ffd5b5060405161114238038061114283398101604081905261002e91610113565b610036610047565b6001600160a01b0316608052610140565b600154600160a81b900460ff16156100b55760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff90811614610111576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b5f60208284031215610123575f5ffd5b81516001600160a01b0381168114610139575f5ffd5b9392505050565b608051610fe361015f5f395f818161024901526109750152610fe35ff3fe608060405234801561000f575f5ffd5b50600436106100c3575f3560e01c8063078dfbe7146100c75780630b5cfe5d146100dc578063150e4552146101025780632241357a1461012357806343c7e74c1461014b5780634aa4930f1461015e5780634e71e0c8146101715780636b35bb6b146101795780638da5cb5b1461018c578063974c3e75146101ab5780639dde8a5214610209578063c4d66de814610231578063ca6f50fd14610244578063dc6d6b1a1461026b578063e30c39781461027e575b5f5ffd5b6100da6100d5366004610ac5565b610291565b005b6100ef6100ea366004610b07565b610393565b6040519081526020015b60405180910390f35b610115610110366004610b07565b610419565b6040516100f9929190610b80565b610136610131366004610b07565b6104a8565b604080519283526020830191909152016100f9565b610136610159366004610b07565b610526565b6100da61016c366004610ba4565b61057f565b6100da610613565b610136610187366004610b07565b6106bb565b5f5461019e906001600160a01b031681565b6040516100f99190610bdb565b6101be6101b9366004610b07565b6106fa565b6040516100f991905f60c082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015292915050565b61019e610217366004610bef565b60326020525f90815260409020546001600160a01b031681565b6100da61023f366004610bef565b6107a9565b61019e7f000000000000000000000000000000000000000000000000000000000000000081565b610136610279366004610b07565b6108cf565b60015461019e906001600160a01b031681565b5f546001600160a01b031633146102c35760405162461bcd60e51b81526004016102ba90610c11565b60405180910390fd5b8115610371576001600160a01b0383161515806102dd5750805b6103215760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016102ba565b5f80546040516001600160a01b03808716939216915f516020610f8e5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b5f5f5f6103a0858561090e565b604051633a756fbb60e11b815291935091506001600160a01b038216906374eadf76906103d1908590600401610bdb565b602060405180830381865afa1580156103ec573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104109190610c46565b95945050505050565b6060805f5f610428868661090e565b604051630700037d60e01b815291935091506001600160a01b03821690630700037d90610459908590600401610bdb565b5f604051808303815f875af1158015610474573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261049b9190810190610da4565b9350935050509250929050565b5f5f5f5f6104b6868661090e565b60405163f59bbd5f60e01b815291935091506001600160a01b0382169063f59bbd5f906104e7908590600401610bdb565b60408051808303815f875af1158015610502573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190610e09565b5f5f5f5f610534868661090e565b604051639df5f6bd60e01b815291935091506001600160a01b03821690639df5f6bd90610565908590600401610bdb565b6040805180830381865afa158015610502573d5f5f3e3d5ffd5b5f546001600160a01b031633146105a85760405162461bcd60e51b81526004016102ba90610c11565b6001600160a01b038281165f8181526032602090815260409182902080546001600160a01b031916948616948517905581519283528201929092527f9f9ee5f110bfe4397b98b3212d7ef6d4d1cb1120b6c8dbd83033de42d4969ec391015b60405180910390a15050565b6001546001600160a01b031633811461066e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016102ba565b5f80546040516001600160a01b03808516939216915f516020610f8e5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b5f5f5f5f6106c9868661090e565b60405163b8c876b160e01b815291935091506001600160a01b0382169063b8c876b190610565908590600401610bdb565b61072d6040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b5f5f610739858561090e565b6040516320d7bec160e01b815291935091506001600160a01b038216906320d7bec19061076a908590600401610bdb565b60c060405180830381865afa158015610785573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104109190610e2b565b600154600160a81b900460ff16158080156107cf575060018054600160a01b900460ff16105b806107ef5750303b1580156107ef575060018054600160a01b900460ff16145b6108525760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102ba565b6001805460ff60a01b1916600160a01b179055801561087f576001805460ff60a81b1916600160a81b1790555b61088882610a0c565b80156108cb576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602001610607565b5050565b5f5f5f5f6108dd868661090e565b60405163a8734f0b60e01b815291935091506001600160a01b0382169063a8734f0b90610565908590600401610bdb565b60408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052819060405163a92572fb60e01b81526001600160a01b038681166004830152602482018690527f0000000000000000000000000000000000000000000000000000000000000000169063a92572fb90604401610140604051808303815f875af11580156109bc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e09190610eb4565b60c001516001600160a01b039081165f9081526032602052604090205492989216965090945050505050565b600154600160a81b900460ff16610a795760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016102ba565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381168114610aae575f5ffd5b50565b80358015158114610ac0575f5ffd5b919050565b5f5f5f60608486031215610ad7575f5ffd5b8335610ae281610a9a565b9250610af060208501610ab1565b9150610afe60408501610ab1565b90509250925092565b5f5f60408385031215610b18575f5ffd5b8235610b2381610a9a565b946020939093013593505050565b5f8151808452602084019350602083015f5b82811015610b7657815180516001600160a01b031687526020908101518188015260409096019590910190600101610b43565b5093949350505050565b604081525f610b926040830185610b31565b82810360208401526104108185610b31565b5f5f60408385031215610bb5575f5ffd5b8235610bc081610a9a565b91506020830135610bd081610a9a565b809150509250929050565b6001600160a01b0391909116815260200190565b5f60208284031215610bff575f5ffd5b8135610c0a81610a9a565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610c56575f5ffd5b5051919050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715610c9357610c93610c5d565b60405290565b60405161010081016001600160401b0381118282101715610c9357610c93610c5d565b604051601f8201601f191681016001600160401b0381118282101715610ce457610ce4610c5d565b604052919050565b8051610ac081610a9a565b5f82601f830112610d06575f5ffd5b81516001600160401b03811115610d1f57610d1f610c5d565b610d2e60208260051b01610cbc565b8082825260208201915060208360061b860101925085831115610d4f575f5ffd5b602085015b83811015610d9a5760408188031215610d6b575f5ffd5b610d73610c71565b8151610d7e81610a9a565b8152602082810151818301529084529290920191604001610d54565b5095945050505050565b5f5f60408385031215610db5575f5ffd5b82516001600160401b03811115610dca575f5ffd5b610dd685828601610cf7565b602085015190935090506001600160401b03811115610df3575f5ffd5b610dff85828601610cf7565b9150509250929050565b5f5f60408385031215610e1a575f5ffd5b505080516020909101519092909150565b5f60c0828403128015610e3c575f5ffd5b5060405160c081016001600160401b0381118282101715610e5f57610e5f610c5d565b604090815283518252602080850151908301528381015190820152606080840151908201526080808401519082015260a0928301519281019290925250919050565b805163ffffffff81168114610ac0575f5ffd5b5f5f5f838503610140811215610ec8575f5ffd5b8451610ed381610a9a565b6020860151909450610ee481610a9a565b9250610100603f1982011215610ef8575f5ffd5b50610f01610c99565b610f0d60408601610ea1565b8152610f1b60608601610ea1565b60208201526080850151610f2e81610a9a565b6040820152610f3f60a08601610cec565b6060820152610f5060c08601610cec565b6080820152610f6160e08601610cec565b60a0820152610f736101008601610cec565b60c0820152610120949094015160e085015250909390925056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a26469706673582212206bc3dfcfd3245fd2e924465bd6e4b6e7baaa9967840146948f80258ee84e4a2664736f6c634300081e0033";
446
-
447
- type PendlePTLooperViewConstructorParams =
448
- | [signer?: Signer]
449
- | ConstructorParameters<typeof ContractFactory>;
450
-
451
- const isSuperArgs = (
452
- xs: PendlePTLooperViewConstructorParams
453
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
454
-
455
- export class PendlePTLooperView__factory extends ContractFactory {
456
- constructor(...args: PendlePTLooperViewConstructorParams) {
457
- if (isSuperArgs(args)) {
458
- super(...args);
459
- } else {
460
- super(_abi, _bytecode, args[0]);
461
- }
462
- this.contractName = "PendlePTLooperView";
463
- }
464
-
465
- deploy(
466
- _positionBoxFactory: string,
467
- overrides?: Overrides & { from?: string | Promise<string> }
468
- ): Promise<PendlePTLooperView> {
469
- return super.deploy(
470
- _positionBoxFactory,
471
- overrides || {}
472
- ) as Promise<PendlePTLooperView>;
473
- }
474
- getDeployTransaction(
475
- _positionBoxFactory: string,
476
- overrides?: Overrides & { from?: string | Promise<string> }
477
- ): TransactionRequest {
478
- return super.getDeployTransaction(_positionBoxFactory, overrides || {});
479
- }
480
- attach(address: string): PendlePTLooperView {
481
- return super.attach(address) as PendlePTLooperView;
482
- }
483
- connect(signer: Signer): PendlePTLooperView__factory {
484
- return super.connect(signer) as PendlePTLooperView__factory;
485
- }
486
- static readonly contractName: "PendlePTLooperView";
487
- public readonly contractName: "PendlePTLooperView";
488
- static readonly bytecode = _bytecode;
489
- static readonly abi = _abi;
490
- static createInterface(): PendlePTLooperViewInterface {
491
- return new utils.Interface(_abi) as PendlePTLooperViewInterface;
492
- }
493
- static connect(
494
- address: string,
495
- signerOrProvider: Signer | Provider
496
- ): PendlePTLooperView {
497
- return new Contract(address, _abi, signerOrProvider) as PendlePTLooperView;
498
- }
499
- }