@pendle/core-v2 6.6.0 → 6.7.0

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 (554) 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/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -88
  10. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -122
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  46. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +4 -0
  47. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +766 -0
  48. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +4 -0
  49. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +99 -0
  50. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +4 -0
  53. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +1388 -0
  54. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +4 -0
  55. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +210 -0
  56. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +4 -0
  57. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +1326 -0
  58. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  59. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +46 -14
  60. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +4 -0
  61. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +1541 -0
  62. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +4 -0
  63. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +1570 -0
  64. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  65. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +57 -35
  66. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +4 -0
  67. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +1624 -0
  68. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  69. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  70. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +0 -88
  92. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +4 -0
  99. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.json +85 -0
  100. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +4 -0
  101. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.json +1026 -0
  102. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +11 -0
  104. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.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 +1 -1
  115. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +4 -0
  118. package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol → IPFixedPricePTAMMV2.sol}/IPFixedPricePTAMMSwapCallback.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +4 -0
  120. package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json → IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.json} +285 -93
  121. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +156 -0
  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/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +0 -67
  136. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +0 -120
  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/IPReflector.sol/IPReflector.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +4 -0
  153. package/build/artifacts/contracts/interfaces/{IPActionCrossChain.sol/IPActionCrossChain.json → IPSwapHelper.sol/IPSwapHelper.json} +2 -2
  154. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  165. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  166. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  167. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  168. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +258 -1
  169. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  170. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +265 -3
  171. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +4 -0
  172. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.json +156 -0
  173. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  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 +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  192. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +33 -2
  197. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +4 -0
  206. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +171 -0
  207. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  212. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  213. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  214. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  215. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  216. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  218. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  219. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  221. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  228. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  229. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  230. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  231. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  232. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  233. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  234. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  235. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  236. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  237. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  238. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  239. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  240. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  241. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  242. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  243. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  244. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  245. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  246. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  247. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  248. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  249. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  250. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  251. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  252. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  253. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  254. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  255. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  256. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  257. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  258. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  259. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  260. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  261. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  262. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  263. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  264. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  265. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  266. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  267. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  268. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  269. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  270. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  271. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  272. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  273. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  274. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  275. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  276. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  277. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  278. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  279. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  280. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  281. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  282. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  283. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  284. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  285. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  286. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  287. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  288. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  289. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  290. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  291. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  292. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  293. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  294. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  295. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  296. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  297. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  298. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  299. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  300. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  301. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  302. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  303. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  304. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  305. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  306. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  307. package/contracts/LiquidityMining/PendleMerkleDistributor.sol +1 -28
  308. package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +1 -36
  309. package/contracts/cross-chain/FixedPricePTAMMV2.sol +162 -0
  310. package/contracts/{router/ActionCrossChain.sol → cross-chain/PendleSwapHelper.sol} +11 -7
  311. package/contracts/cross-chain/factory/PendleBridgePTFactory.sol +495 -0
  312. package/contracts/cross-chain/funder/BridgeFunder.sol +61 -0
  313. package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +56 -0
  314. package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +14 -6
  315. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol +11 -0
  316. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol +52 -0
  317. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +33 -24
  318. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +55 -0
  319. package/contracts/interfaces/IPAllActionTypeV3.sol +1 -0
  320. package/contracts/interfaces/IPAllActionV3.sol +1 -3
  321. package/contracts/interfaces/IPBridgeFunder.sol +17 -0
  322. package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
  323. package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
  324. package/contracts/interfaces/IPFixedPricePTAMMV2.sol +58 -0
  325. package/contracts/interfaces/IPLimitRouter.sol +22 -0
  326. package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
  327. package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
  328. package/contracts/interfaces/{IPActionCrossChain.sol → IPSwapHelper.sol} +1 -1
  329. package/contracts/limit/LimitRouterBase.sol +101 -47
  330. package/contracts/limit/PendleLimitRouter.sol +1 -1
  331. package/contracts/limit/helpers/MintSyHelper.sol +114 -0
  332. package/contracts/offchain-helpers/PendleFeeSetter.sol +19 -1
  333. package/contracts/offchain-helpers/PendleProxyAdmin.sol +11 -0
  334. package/contracts/router/base/ActionBase.sol +16 -2
  335. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
  336. package/deployments/1-core.json +1 -0
  337. package/deployments/1-offchain-helper.json +1 -1
  338. package/deployments/10-core.json +1 -0
  339. package/deployments/10-offchain-helper.json +1 -1
  340. package/deployments/130-core.json +1 -0
  341. package/deployments/143-core.json +39 -2
  342. package/deployments/143-offchain-helper.json +11 -0
  343. package/deployments/146-core.json +1 -0
  344. package/deployments/146-offchain-helper.json +1 -1
  345. package/deployments/42161-core.json +1 -0
  346. package/deployments/42161-offchain-helper.json +1 -1
  347. package/deployments/4217-core.json +15 -0
  348. package/deployments/43114-core.json +2 -0
  349. package/deployments/5000-core.json +1 -0
  350. package/deployments/5000-offchain-helper.json +1 -1
  351. package/deployments/56-core.json +1 -0
  352. package/deployments/56-offchain-helper.json +1 -1
  353. package/deployments/57073-core.json +3 -0
  354. package/deployments/747474-core.json +3 -0
  355. package/deployments/80094-core.json +1 -0
  356. package/deployments/80094-offchain-helper.json +1 -1
  357. package/deployments/8453-core.json +1 -0
  358. package/deployments/8453-offchain-helper.json +1 -1
  359. package/deployments/9745-core.json +1 -0
  360. package/deployments/9745-offchain-helper.json +1 -1
  361. package/deployments/999-core.json +1 -0
  362. package/deployments/999-offchain-helper.json +1 -1
  363. package/package.json +12 -9
  364. package/typechain-types/AaveMoneyMarket.ts +763 -0
  365. package/typechain-types/AaveMoneyMarketView.ts +460 -0
  366. package/typechain-types/BaseMoneyMarket.ts +697 -0
  367. package/typechain-types/BaseMoneyMarketView.ts +362 -0
  368. package/typechain-types/BridgeFunder.ts +344 -0
  369. package/typechain-types/DVNOptions.ts +57 -0
  370. package/typechain-types/ExecutorOptions.ts +57 -0
  371. package/typechain-types/FixedPricePTAMMV2.ts +1104 -0
  372. package/typechain-types/IAToken.ts +358 -0
  373. package/typechain-types/IAaveOracle.ts +235 -0
  374. package/typechain-types/IAaveRewardsController.ts +1186 -0
  375. package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +431 -0
  376. package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +606 -0
  377. package/typechain-types/IDssPsm.ts +194 -0
  378. package/typechain-types/IERC4626.ts +864 -0
  379. package/typechain-types/IFlashLoanReceiver.ts +125 -0
  380. package/typechain-types/IIrm.ts +260 -0
  381. package/typechain-types/IMoneyMarket.ts +700 -0
  382. package/typechain-types/IMoneyMarketEvents.ts +196 -0
  383. package/typechain-types/IMoneyMarketView.ts +331 -0
  384. package/typechain-types/IMorpho.ts +1147 -0
  385. package/typechain-types/IMorphoOracle.ts +81 -0
  386. package/typechain-types/IMulticall.ts +117 -0
  387. package/typechain-types/IPAllActionV3.ts +0 -54
  388. package/typechain-types/IPBridgeFunder.ts +165 -0
  389. package/typechain-types/IPBridgePTFactory.ts +936 -0
  390. package/typechain-types/IPFixedPricePTAMMV2.ts +864 -0
  391. package/typechain-types/IPLimitRouter.ts +104 -0
  392. package/typechain-types/IPLoopPositionBox.ts +298 -0
  393. package/typechain-types/IPLoopPositionBoxFactory.ts +434 -0
  394. package/typechain-types/IPMerkleDistributor.ts +0 -90
  395. package/typechain-types/IPMultiTokenMerkleDistributor.ts +0 -158
  396. package/typechain-types/IPPTLooper.ts +1550 -0
  397. package/typechain-types/IPPTLooperView.ts +468 -0
  398. package/typechain-types/IPSwapHelper.ts +161 -0
  399. package/typechain-types/IPool.ts +2220 -0
  400. package/typechain-types/IPoolAddressesProvider.ts +789 -0
  401. package/typechain-types/IPoolDataProviderV3.ts +865 -0
  402. package/typechain-types/IPoolDataProviderV31.ts +933 -0
  403. package/typechain-types/IPot.ts +181 -0
  404. package/typechain-types/IPriceOracleGetter.ts +133 -0
  405. package/typechain-types/ISDAI.ts +877 -0
  406. package/typechain-types/LimitRouterBase.ts +233 -5
  407. package/typechain-types/LoopPositionBox.ts +309 -0
  408. package/typechain-types/LoopPositionBoxFactory.ts +609 -0
  409. package/typechain-types/MintSyHelper.ts +230 -0
  410. package/typechain-types/MorphoBlueMoneyMarket.ts +731 -0
  411. package/typechain-types/MorphoBlueMoneyMarketView.ts +396 -0
  412. package/typechain-types/Multicall.ts +117 -0
  413. package/typechain-types/OAppPreCrimeSimulatorUpgradeable.ts +410 -0
  414. package/typechain-types/OFTAdapterAltImpl.ts +1381 -0
  415. package/typechain-types/OFTAdapterImpl.ts +50 -19
  416. package/typechain-types/OFTAdapterUpgradeable.ts +1337 -0
  417. package/typechain-types/OFTCoreUpgradeable.ts +1337 -0
  418. package/typechain-types/OFTUpgradeable.ts +1681 -0
  419. package/typechain-types/OptionsBuilder.ts +57 -0
  420. package/typechain-types/PTLooperBase.ts +1759 -0
  421. package/typechain-types/PTLooperView.ts +618 -0
  422. package/typechain-types/PendleBridgePTFactory.ts +1311 -0
  423. package/typechain-types/PendleBridgedPrincipalToken.ts +67 -20
  424. package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +1755 -0
  425. package/typechain-types/PendleFeeSetter.ts +53 -0
  426. package/typechain-types/PendleLimitRouter.ts +233 -5
  427. package/typechain-types/PendleMerkleDistributor.ts +0 -106
  428. package/typechain-types/PendleMultiTokenMerkleDistributor.ts +0 -158
  429. package/typechain-types/PendleOFT.ts +1675 -0
  430. package/typechain-types/PendleOFTAlt.ts +1694 -0
  431. package/typechain-types/PendlePTLooper.ts +1784 -0
  432. package/typechain-types/PendlePTLooperView.ts +648 -0
  433. package/typechain-types/PendleProxyAdmin.ts +341 -0
  434. package/typechain-types/PendleSwapHelper.ts +161 -0
  435. package/typechain-types/ProxyAdmin.ts +341 -0
  436. package/typechain-types/UUPSUpgradeable.ts +0 -9
  437. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +450 -0
  438. package/typechain-types/factories/AaveMoneyMarket__factory.ts +726 -0
  439. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  440. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  441. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  442. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  443. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  444. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  445. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  446. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  447. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  448. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  449. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  450. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  451. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  452. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  453. package/typechain-types/factories/BaseMoneyMarketView__factory.ts +279 -0
  454. package/typechain-types/factories/BaseMoneyMarket__factory.ts +599 -0
  455. package/typechain-types/factories/BridgeFunder__factory.ts +265 -0
  456. package/typechain-types/factories/DVNOptions__factory.ts +77 -0
  457. package/typechain-types/factories/ExecutorOptions__factory.ts +84 -0
  458. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  459. package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +824 -0
  460. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  461. package/typechain-types/factories/IAToken__factory.ts +258 -0
  462. package/typechain-types/factories/IAaveOracle__factory.ts +132 -0
  463. package/typechain-types/factories/IAaveRewardsController__factory.ts +743 -0
  464. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +441 -0
  465. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +278 -0
  466. package/typechain-types/factories/IDssPsm__factory.ts +122 -0
  467. package/typechain-types/factories/IERC4626__factory.ts +635 -0
  468. package/typechain-types/factories/IFlashLoanReceiver__factory.ts +65 -0
  469. package/typechain-types/factories/IIrm__factory.ts +243 -0
  470. package/typechain-types/factories/IMoneyMarketEvents__factory.ts +225 -0
  471. package/typechain-types/factories/IMoneyMarketView__factory.ts +253 -0
  472. package/typechain-types/factories/IMoneyMarket__factory.ts +596 -0
  473. package/typechain-types/factories/IMorphoOracle__factory.ts +36 -0
  474. package/typechain-types/factories/IMorpho__factory.ts +1045 -0
  475. package/typechain-types/factories/IMulticall__factory.ts +66 -0
  476. package/typechain-types/factories/IOFT__factory.ts +11 -0
  477. package/typechain-types/factories/IPAllActionV3__factory.ts +0 -88
  478. package/typechain-types/factories/IPBridgeFunder__factory.ts +100 -0
  479. package/typechain-types/factories/IPBridgePTFactory__factory.ts +1041 -0
  480. package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -0
  481. package/typechain-types/factories/IPFixedPricePTAMMV2__factory.ts +621 -0
  482. package/typechain-types/factories/IPLimitRouter__factory.ts +156 -0
  483. package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +420 -0
  484. package/typechain-types/factories/IPLoopPositionBox__factory.ts +198 -0
  485. package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -67
  486. package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +0 -120
  487. package/typechain-types/factories/IPPTLooperView__factory.ts +331 -0
  488. package/typechain-types/factories/IPPTLooper__factory.ts +2506 -0
  489. package/typechain-types/factories/IPSwapHelper__factory.ts +111 -0
  490. package/typechain-types/factories/IPoolAddressesProvider__factory.ts +526 -0
  491. package/typechain-types/factories/IPoolDataProviderV31__factory.ts +596 -0
  492. package/typechain-types/factories/IPoolDataProviderV3__factory.ts +554 -0
  493. package/typechain-types/factories/IPool__factory.ts +1609 -0
  494. package/typechain-types/factories/IPot__factory.ts +98 -0
  495. package/typechain-types/factories/IPriceOracleGetter__factory.ts +71 -0
  496. package/typechain-types/factories/ISDAI__factory.ts +645 -0
  497. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  498. package/typechain-types/factories/LimitRouterBase__factory.ts +258 -1
  499. package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +648 -0
  500. package/typechain-types/factories/LoopPositionBox__factory.ts +277 -0
  501. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  502. package/typechain-types/factories/MintSyHelper__factory.ts +168 -0
  503. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +384 -0
  504. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +691 -0
  505. package/typechain-types/factories/Multicall__factory.ts +104 -0
  506. package/typechain-types/factories/OAppPreCrimeSimulatorUpgradeable__factory.ts +311 -0
  507. package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1387 -0
  508. package/typechain-types/factories/OFTAdapterImpl__factory.ts +49 -25
  509. package/typechain-types/factories/OFTAdapterUpgradeable__factory.ts +1287 -0
  510. package/typechain-types/factories/OFTAdapter__factory.ts +11 -0
  511. package/typechain-types/factories/OFTCoreUpgradeable__factory.ts +1283 -0
  512. package/typechain-types/factories/OFTCore__factory.ts +11 -0
  513. package/typechain-types/factories/OFTUpgradeable__factory.ts +1553 -0
  514. package/typechain-types/factories/OFT__factory.ts +11 -0
  515. package/typechain-types/factories/OptionsBuilder__factory.ts +91 -0
  516. package/typechain-types/factories/PTLooperBase__factory.ts +2656 -0
  517. package/typechain-types/factories/PTLooperView__factory.ts +467 -0
  518. package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1481 -0
  519. package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1704 -0
  520. package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
  521. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  522. package/typechain-types/factories/PendleFeeSetter__factory.ts +36 -1
  523. package/typechain-types/factories/PendleLimitRouter__factory.ts +268 -3
  524. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -87
  525. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -121
  526. package/typechain-types/factories/PendleOFTAlt__factory.ts +1628 -0
  527. package/typechain-types/factories/PendleOFT__factory.ts +1599 -0
  528. package/typechain-types/factories/PendlePTLooperView__factory.ts +499 -0
  529. package/typechain-types/factories/PendlePTLooper__factory.ts +2738 -0
  530. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  531. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  532. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  533. package/typechain-types/factories/PendleProxyAdmin__factory.ts +229 -0
  534. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  535. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  536. package/typechain-types/factories/PendleSwapHelper__factory.ts +152 -0
  537. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  538. package/typechain-types/factories/ProxyAdmin__factory.ts +210 -0
  539. package/typechain-types/factories/Reflector__factory.ts +1 -1
  540. package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
  541. package/typechain-types/hardhat.d.ts +196 -34
  542. package/typechain-types/index.ts +46 -10
  543. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +0 -4
  544. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +0 -667
  545. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
  546. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -280
  547. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +0 -4
  548. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +0 -4
  549. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +0 -4
  550. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +0 -4
  551. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +0 -99
  552. package/contracts/cross-chain/FixedPricePTAMM.sol +0 -200
  553. package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
  554. package/contracts/interfaces/IPFixedPricePTAMM.sol +0 -69
@@ -0,0 +1,1311 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PayableOverrides,
13
+ PopulatedTransaction,
14
+ Signer,
15
+ utils,
16
+ } from "ethers";
17
+ import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
18
+ import { Listener, Provider } from "@ethersproject/providers";
19
+ import type {
20
+ TypedEventFilter,
21
+ TypedEvent,
22
+ TypedListener,
23
+ OnEvent,
24
+ } from "./common";
25
+
26
+ export type OriginStruct = {
27
+ srcEid: BigNumberish;
28
+ sender: BytesLike;
29
+ nonce: BigNumberish;
30
+ };
31
+
32
+ export type OriginStructOutput = [number, string, BigNumber] & {
33
+ srcEid: number;
34
+ sender: string;
35
+ nonce: BigNumber;
36
+ };
37
+
38
+ export type MessagingFeeStruct = {
39
+ nativeFee: BigNumberish;
40
+ lzTokenFee: BigNumberish;
41
+ };
42
+
43
+ export type MessagingFeeStructOutput = [BigNumber, BigNumber] & {
44
+ nativeFee: BigNumber;
45
+ lzTokenFee: BigNumber;
46
+ };
47
+
48
+ export type MessagingReceiptStruct = {
49
+ guid: BytesLike;
50
+ nonce: BigNumberish;
51
+ fee: MessagingFeeStruct;
52
+ };
53
+
54
+ export type MessagingReceiptStructOutput = [
55
+ string,
56
+ BigNumber,
57
+ MessagingFeeStructOutput
58
+ ] & { guid: string; nonce: BigNumber; fee: MessagingFeeStructOutput };
59
+
60
+ export type SetConfigParamStruct = {
61
+ eid: BigNumberish;
62
+ configType: BigNumberish;
63
+ config: BytesLike;
64
+ };
65
+
66
+ export type SetConfigParamStructOutput = [number, number, string] & {
67
+ eid: number;
68
+ configType: number;
69
+ config: string;
70
+ };
71
+
72
+ export declare namespace IPBridgePTFactory {
73
+ export type SelfWireParamsStruct = {
74
+ peerEid: BigNumberish;
75
+ peer: string;
76
+ sendConfigParam: SetConfigParamStruct[];
77
+ receiveConfigParam: SetConfigParamStruct[];
78
+ setSendLib: boolean;
79
+ setReceiveLib: boolean;
80
+ };
81
+
82
+ export type SelfWireParamsStructOutput = [
83
+ number,
84
+ string,
85
+ SetConfigParamStructOutput[],
86
+ SetConfigParamStructOutput[],
87
+ boolean,
88
+ boolean
89
+ ] & {
90
+ peerEid: number;
91
+ peer: string;
92
+ sendConfigParam: SetConfigParamStructOutput[];
93
+ receiveConfigParam: SetConfigParamStructOutput[];
94
+ setSendLib: boolean;
95
+ setReceiveLib: boolean;
96
+ };
97
+
98
+ export type WirePtOftParamsStruct = {
99
+ hubLzEid: BigNumberish;
100
+ hubPt: string;
101
+ toPeerEids: BigNumberish[];
102
+ enforcedReceiveGas: BigNumberish[];
103
+ setSendLib: boolean;
104
+ setReceiveLib: boolean;
105
+ };
106
+
107
+ export type WirePtOftParamsStructOutput = [
108
+ number,
109
+ string,
110
+ number[],
111
+ BigNumber[],
112
+ boolean,
113
+ boolean
114
+ ] & {
115
+ hubLzEid: number;
116
+ hubPt: string;
117
+ toPeerEids: number[];
118
+ enforcedReceiveGas: BigNumber[];
119
+ setSendLib: boolean;
120
+ setReceiveLib: boolean;
121
+ };
122
+ }
123
+
124
+ export interface PendleBridgePTFactoryInterface extends utils.Interface {
125
+ contractName: "PendleBridgePTFactory";
126
+ functions: {
127
+ "GOV_PROXY()": FunctionFragment;
128
+ "HUB_PT_OFT_ADAPTER_CREATION_CODE()": FunctionFragment;
129
+ "LZ_EID()": FunctionFragment;
130
+ "LZ_RECEIVE_ULN_302()": FunctionFragment;
131
+ "LZ_SEND_ULN_302()": FunctionFragment;
132
+ "OFT_PROXY_ADMIN()": FunctionFragment;
133
+ "SELF_CHAIN_SHORT_NAME()": FunctionFragment;
134
+ "SPOKE_PT_OFT_CREATION_CODE()": FunctionFragment;
135
+ "TRANSPARENT_PROXY_CREATION_CODE()": FunctionFragment;
136
+ "allowInitializePath((uint32,bytes32,uint64))": FunctionFragment;
137
+ "deployHubPtOftAdapter(address)": FunctionFragment;
138
+ "deploySpokePtOft(address,uint32,bytes,(uint256,uint256))": FunctionFragment;
139
+ "derivePtOftAddress(uint32,uint32,address)": FunctionFragment;
140
+ "endpoint()": FunctionFragment;
141
+ "initialize(address,string)": FunctionFragment;
142
+ "isComposeMsgSender((uint32,bytes32,uint64),bytes,address)": FunctionFragment;
143
+ "lzReceive((uint32,bytes32,uint64),bytes32,bytes,address,bytes)": FunctionFragment;
144
+ "nextNonce(uint32,bytes32)": FunctionFragment;
145
+ "oAppVersion()": FunctionFragment;
146
+ "owner()": FunctionFragment;
147
+ "peers(uint32)": FunctionFragment;
148
+ "quoteDeploySpokePtOft(address,uint32,bytes,bool)": FunctionFragment;
149
+ "quoteRemoteSelfWire(uint32,(uint32,address,(uint32,uint32,bytes)[],(uint32,uint32,bytes)[],bool,bool),bytes,bool)": FunctionFragment;
150
+ "quoteRemoteWirePtOft(uint32,(uint32,address,uint32[],uint128[],bool,bool),bytes,bool)": FunctionFragment;
151
+ "remoteSelfWire(uint32,(uint32,address,(uint32,uint32,bytes)[],(uint32,uint32,bytes)[],bool,bool),bytes,(uint256,uint256))": FunctionFragment;
152
+ "remoteWirePtOft(uint32,(uint32,address,uint32[],uint128[],bool,bool),bytes,(uint256,uint256))": FunctionFragment;
153
+ "renounceOwnership()": FunctionFragment;
154
+ "selfWire((uint32,address,(uint32,uint32,bytes)[],(uint32,uint32,bytes)[],bool,bool))": FunctionFragment;
155
+ "setDelegate(address)": FunctionFragment;
156
+ "setPeer(uint32,bytes32)": FunctionFragment;
157
+ "transferOwnership(address)": FunctionFragment;
158
+ "wirePtOft((uint32,address,uint32[],uint128[],bool,bool))": FunctionFragment;
159
+ };
160
+
161
+ encodeFunctionData(functionFragment: "GOV_PROXY", values?: undefined): string;
162
+ encodeFunctionData(
163
+ functionFragment: "HUB_PT_OFT_ADAPTER_CREATION_CODE",
164
+ values?: undefined
165
+ ): string;
166
+ encodeFunctionData(functionFragment: "LZ_EID", values?: undefined): string;
167
+ encodeFunctionData(
168
+ functionFragment: "LZ_RECEIVE_ULN_302",
169
+ values?: undefined
170
+ ): string;
171
+ encodeFunctionData(
172
+ functionFragment: "LZ_SEND_ULN_302",
173
+ values?: undefined
174
+ ): string;
175
+ encodeFunctionData(
176
+ functionFragment: "OFT_PROXY_ADMIN",
177
+ values?: undefined
178
+ ): string;
179
+ encodeFunctionData(
180
+ functionFragment: "SELF_CHAIN_SHORT_NAME",
181
+ values?: undefined
182
+ ): string;
183
+ encodeFunctionData(
184
+ functionFragment: "SPOKE_PT_OFT_CREATION_CODE",
185
+ values?: undefined
186
+ ): string;
187
+ encodeFunctionData(
188
+ functionFragment: "TRANSPARENT_PROXY_CREATION_CODE",
189
+ values?: undefined
190
+ ): string;
191
+ encodeFunctionData(
192
+ functionFragment: "allowInitializePath",
193
+ values: [OriginStruct]
194
+ ): string;
195
+ encodeFunctionData(
196
+ functionFragment: "deployHubPtOftAdapter",
197
+ values: [string]
198
+ ): string;
199
+ encodeFunctionData(
200
+ functionFragment: "deploySpokePtOft",
201
+ values: [string, BigNumberish, BytesLike, MessagingFeeStruct]
202
+ ): string;
203
+ encodeFunctionData(
204
+ functionFragment: "derivePtOftAddress",
205
+ values: [BigNumberish, BigNumberish, string]
206
+ ): string;
207
+ encodeFunctionData(functionFragment: "endpoint", values?: undefined): string;
208
+ encodeFunctionData(
209
+ functionFragment: "initialize",
210
+ values: [string, string]
211
+ ): string;
212
+ encodeFunctionData(
213
+ functionFragment: "isComposeMsgSender",
214
+ values: [OriginStruct, BytesLike, string]
215
+ ): string;
216
+ encodeFunctionData(
217
+ functionFragment: "lzReceive",
218
+ values: [OriginStruct, BytesLike, BytesLike, string, BytesLike]
219
+ ): string;
220
+ encodeFunctionData(
221
+ functionFragment: "nextNonce",
222
+ values: [BigNumberish, BytesLike]
223
+ ): string;
224
+ encodeFunctionData(
225
+ functionFragment: "oAppVersion",
226
+ values?: undefined
227
+ ): string;
228
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
229
+ encodeFunctionData(functionFragment: "peers", values: [BigNumberish]): string;
230
+ encodeFunctionData(
231
+ functionFragment: "quoteDeploySpokePtOft",
232
+ values: [string, BigNumberish, BytesLike, boolean]
233
+ ): string;
234
+ encodeFunctionData(
235
+ functionFragment: "quoteRemoteSelfWire",
236
+ values: [
237
+ BigNumberish,
238
+ IPBridgePTFactory.SelfWireParamsStruct,
239
+ BytesLike,
240
+ boolean
241
+ ]
242
+ ): string;
243
+ encodeFunctionData(
244
+ functionFragment: "quoteRemoteWirePtOft",
245
+ values: [
246
+ BigNumberish,
247
+ IPBridgePTFactory.WirePtOftParamsStruct,
248
+ BytesLike,
249
+ boolean
250
+ ]
251
+ ): string;
252
+ encodeFunctionData(
253
+ functionFragment: "remoteSelfWire",
254
+ values: [
255
+ BigNumberish,
256
+ IPBridgePTFactory.SelfWireParamsStruct,
257
+ BytesLike,
258
+ MessagingFeeStruct
259
+ ]
260
+ ): string;
261
+ encodeFunctionData(
262
+ functionFragment: "remoteWirePtOft",
263
+ values: [
264
+ BigNumberish,
265
+ IPBridgePTFactory.WirePtOftParamsStruct,
266
+ BytesLike,
267
+ MessagingFeeStruct
268
+ ]
269
+ ): string;
270
+ encodeFunctionData(
271
+ functionFragment: "renounceOwnership",
272
+ values?: undefined
273
+ ): string;
274
+ encodeFunctionData(
275
+ functionFragment: "selfWire",
276
+ values: [IPBridgePTFactory.SelfWireParamsStruct]
277
+ ): string;
278
+ encodeFunctionData(functionFragment: "setDelegate", values: [string]): string;
279
+ encodeFunctionData(
280
+ functionFragment: "setPeer",
281
+ values: [BigNumberish, BytesLike]
282
+ ): string;
283
+ encodeFunctionData(
284
+ functionFragment: "transferOwnership",
285
+ values: [string]
286
+ ): string;
287
+ encodeFunctionData(
288
+ functionFragment: "wirePtOft",
289
+ values: [IPBridgePTFactory.WirePtOftParamsStruct]
290
+ ): string;
291
+
292
+ decodeFunctionResult(functionFragment: "GOV_PROXY", data: BytesLike): Result;
293
+ decodeFunctionResult(
294
+ functionFragment: "HUB_PT_OFT_ADAPTER_CREATION_CODE",
295
+ data: BytesLike
296
+ ): Result;
297
+ decodeFunctionResult(functionFragment: "LZ_EID", data: BytesLike): Result;
298
+ decodeFunctionResult(
299
+ functionFragment: "LZ_RECEIVE_ULN_302",
300
+ data: BytesLike
301
+ ): Result;
302
+ decodeFunctionResult(
303
+ functionFragment: "LZ_SEND_ULN_302",
304
+ data: BytesLike
305
+ ): Result;
306
+ decodeFunctionResult(
307
+ functionFragment: "OFT_PROXY_ADMIN",
308
+ data: BytesLike
309
+ ): Result;
310
+ decodeFunctionResult(
311
+ functionFragment: "SELF_CHAIN_SHORT_NAME",
312
+ data: BytesLike
313
+ ): Result;
314
+ decodeFunctionResult(
315
+ functionFragment: "SPOKE_PT_OFT_CREATION_CODE",
316
+ data: BytesLike
317
+ ): Result;
318
+ decodeFunctionResult(
319
+ functionFragment: "TRANSPARENT_PROXY_CREATION_CODE",
320
+ data: BytesLike
321
+ ): Result;
322
+ decodeFunctionResult(
323
+ functionFragment: "allowInitializePath",
324
+ data: BytesLike
325
+ ): Result;
326
+ decodeFunctionResult(
327
+ functionFragment: "deployHubPtOftAdapter",
328
+ data: BytesLike
329
+ ): Result;
330
+ decodeFunctionResult(
331
+ functionFragment: "deploySpokePtOft",
332
+ data: BytesLike
333
+ ): Result;
334
+ decodeFunctionResult(
335
+ functionFragment: "derivePtOftAddress",
336
+ data: BytesLike
337
+ ): Result;
338
+ decodeFunctionResult(functionFragment: "endpoint", data: BytesLike): Result;
339
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
340
+ decodeFunctionResult(
341
+ functionFragment: "isComposeMsgSender",
342
+ data: BytesLike
343
+ ): Result;
344
+ decodeFunctionResult(functionFragment: "lzReceive", data: BytesLike): Result;
345
+ decodeFunctionResult(functionFragment: "nextNonce", data: BytesLike): Result;
346
+ decodeFunctionResult(
347
+ functionFragment: "oAppVersion",
348
+ data: BytesLike
349
+ ): Result;
350
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
351
+ decodeFunctionResult(functionFragment: "peers", data: BytesLike): Result;
352
+ decodeFunctionResult(
353
+ functionFragment: "quoteDeploySpokePtOft",
354
+ data: BytesLike
355
+ ): Result;
356
+ decodeFunctionResult(
357
+ functionFragment: "quoteRemoteSelfWire",
358
+ data: BytesLike
359
+ ): Result;
360
+ decodeFunctionResult(
361
+ functionFragment: "quoteRemoteWirePtOft",
362
+ data: BytesLike
363
+ ): Result;
364
+ decodeFunctionResult(
365
+ functionFragment: "remoteSelfWire",
366
+ data: BytesLike
367
+ ): Result;
368
+ decodeFunctionResult(
369
+ functionFragment: "remoteWirePtOft",
370
+ data: BytesLike
371
+ ): Result;
372
+ decodeFunctionResult(
373
+ functionFragment: "renounceOwnership",
374
+ data: BytesLike
375
+ ): Result;
376
+ decodeFunctionResult(functionFragment: "selfWire", data: BytesLike): Result;
377
+ decodeFunctionResult(
378
+ functionFragment: "setDelegate",
379
+ data: BytesLike
380
+ ): Result;
381
+ decodeFunctionResult(functionFragment: "setPeer", data: BytesLike): Result;
382
+ decodeFunctionResult(
383
+ functionFragment: "transferOwnership",
384
+ data: BytesLike
385
+ ): Result;
386
+ decodeFunctionResult(functionFragment: "wirePtOft", data: BytesLike): Result;
387
+
388
+ events: {
389
+ "FactoryWired(uint32,address)": EventFragment;
390
+ "Initialized(uint8)": EventFragment;
391
+ "OwnershipTransferred(address,address)": EventFragment;
392
+ "PTOFTDeployed(uint32,bytes32,address)": EventFragment;
393
+ "PTOFTWired(uint32,address,uint32[])": EventFragment;
394
+ "PeerSet(uint32,bytes32)": EventFragment;
395
+ };
396
+
397
+ getEvent(nameOrSignatureOrTopic: "FactoryWired"): EventFragment;
398
+ getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
399
+ getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
400
+ getEvent(nameOrSignatureOrTopic: "PTOFTDeployed"): EventFragment;
401
+ getEvent(nameOrSignatureOrTopic: "PTOFTWired"): EventFragment;
402
+ getEvent(nameOrSignatureOrTopic: "PeerSet"): EventFragment;
403
+ }
404
+
405
+ export type FactoryWiredEvent = TypedEvent<
406
+ [number, string],
407
+ { peerEid: number; peer: string }
408
+ >;
409
+
410
+ export type FactoryWiredEventFilter = TypedEventFilter<FactoryWiredEvent>;
411
+
412
+ export type InitializedEvent = TypedEvent<[number], { version: number }>;
413
+
414
+ export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
415
+
416
+ export type OwnershipTransferredEvent = TypedEvent<
417
+ [string, string],
418
+ { previousOwner: string; newOwner: string }
419
+ >;
420
+
421
+ export type OwnershipTransferredEventFilter =
422
+ TypedEventFilter<OwnershipTransferredEvent>;
423
+
424
+ export type PTOFTDeployedEvent = TypedEvent<
425
+ [number, string, string],
426
+ { lzEid: number; originalPt: string; oft: string }
427
+ >;
428
+
429
+ export type PTOFTDeployedEventFilter = TypedEventFilter<PTOFTDeployedEvent>;
430
+
431
+ export type PTOFTWiredEvent = TypedEvent<
432
+ [number, string, number[]],
433
+ { hubLzEid: number; hubPt: string; toPeerEids: number[] }
434
+ >;
435
+
436
+ export type PTOFTWiredEventFilter = TypedEventFilter<PTOFTWiredEvent>;
437
+
438
+ export type PeerSetEvent = TypedEvent<
439
+ [number, string],
440
+ { eid: number; peer: string }
441
+ >;
442
+
443
+ export type PeerSetEventFilter = TypedEventFilter<PeerSetEvent>;
444
+
445
+ export interface PendleBridgePTFactory extends BaseContract {
446
+ contractName: "PendleBridgePTFactory";
447
+ connect(signerOrProvider: Signer | Provider | string): this;
448
+ attach(addressOrName: string): this;
449
+ deployed(): Promise<this>;
450
+
451
+ interface: PendleBridgePTFactoryInterface;
452
+
453
+ queryFilter<TEvent extends TypedEvent>(
454
+ event: TypedEventFilter<TEvent>,
455
+ fromBlockOrBlockhash?: string | number | undefined,
456
+ toBlock?: string | number | undefined
457
+ ): Promise<Array<TEvent>>;
458
+
459
+ listeners<TEvent extends TypedEvent>(
460
+ eventFilter?: TypedEventFilter<TEvent>
461
+ ): Array<TypedListener<TEvent>>;
462
+ listeners(eventName?: string): Array<Listener>;
463
+ removeAllListeners<TEvent extends TypedEvent>(
464
+ eventFilter: TypedEventFilter<TEvent>
465
+ ): this;
466
+ removeAllListeners(eventName?: string): this;
467
+ off: OnEvent<this>;
468
+ on: OnEvent<this>;
469
+ once: OnEvent<this>;
470
+ removeListener: OnEvent<this>;
471
+
472
+ functions: {
473
+ GOV_PROXY(overrides?: CallOverrides): Promise<[string]>;
474
+
475
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(
476
+ overrides?: CallOverrides
477
+ ): Promise<[string]>;
478
+
479
+ LZ_EID(overrides?: CallOverrides): Promise<[number]>;
480
+
481
+ LZ_RECEIVE_ULN_302(overrides?: CallOverrides): Promise<[string]>;
482
+
483
+ LZ_SEND_ULN_302(overrides?: CallOverrides): Promise<[string]>;
484
+
485
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<[string]>;
486
+
487
+ SELF_CHAIN_SHORT_NAME(overrides?: CallOverrides): Promise<[string]>;
488
+
489
+ SPOKE_PT_OFT_CREATION_CODE(overrides?: CallOverrides): Promise<[string]>;
490
+
491
+ TRANSPARENT_PROXY_CREATION_CODE(
492
+ overrides?: CallOverrides
493
+ ): Promise<[string]>;
494
+
495
+ allowInitializePath(
496
+ origin: OriginStruct,
497
+ overrides?: CallOverrides
498
+ ): Promise<[boolean]>;
499
+
500
+ deployHubPtOftAdapter(
501
+ hubPt: string,
502
+ overrides?: Overrides & { from?: string | Promise<string> }
503
+ ): Promise<ContractTransaction>;
504
+
505
+ deploySpokePtOft(
506
+ hubPt: string,
507
+ toPeerEid: BigNumberish,
508
+ options: BytesLike,
509
+ fee: MessagingFeeStruct,
510
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
511
+ ): Promise<ContractTransaction>;
512
+
513
+ derivePtOftAddress(
514
+ peerLzEid: BigNumberish,
515
+ hubLzEid: BigNumberish,
516
+ hubPt: string,
517
+ overrides?: CallOverrides
518
+ ): Promise<[string]>;
519
+
520
+ endpoint(overrides?: CallOverrides): Promise<[string]>;
521
+
522
+ initialize(
523
+ delegateOwner: string,
524
+ selfChainShortName: string,
525
+ overrides?: Overrides & { from?: string | Promise<string> }
526
+ ): Promise<ContractTransaction>;
527
+
528
+ isComposeMsgSender(
529
+ arg0: OriginStruct,
530
+ arg1: BytesLike,
531
+ _sender: string,
532
+ overrides?: CallOverrides
533
+ ): Promise<[boolean]>;
534
+
535
+ lzReceive(
536
+ _origin: OriginStruct,
537
+ _guid: BytesLike,
538
+ _message: BytesLike,
539
+ _executor: string,
540
+ _extraData: BytesLike,
541
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
542
+ ): Promise<ContractTransaction>;
543
+
544
+ nextNonce(
545
+ arg0: BigNumberish,
546
+ arg1: BytesLike,
547
+ overrides?: CallOverrides
548
+ ): Promise<[BigNumber] & { nonce: BigNumber }>;
549
+
550
+ oAppVersion(
551
+ overrides?: CallOverrides
552
+ ): Promise<
553
+ [BigNumber, BigNumber] & {
554
+ senderVersion: BigNumber;
555
+ receiverVersion: BigNumber;
556
+ }
557
+ >;
558
+
559
+ owner(overrides?: CallOverrides): Promise<[string]>;
560
+
561
+ peers(_eid: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
562
+
563
+ quoteDeploySpokePtOft(
564
+ hubPt: string,
565
+ toPeerEid: BigNumberish,
566
+ options: BytesLike,
567
+ payInLzToken: boolean,
568
+ overrides?: CallOverrides
569
+ ): Promise<[MessagingFeeStructOutput] & { fee: MessagingFeeStructOutput }>;
570
+
571
+ quoteRemoteSelfWire(
572
+ peerEid: BigNumberish,
573
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
574
+ options: BytesLike,
575
+ payInLzToken: boolean,
576
+ overrides?: CallOverrides
577
+ ): Promise<[MessagingFeeStructOutput] & { fee: MessagingFeeStructOutput }>;
578
+
579
+ quoteRemoteWirePtOft(
580
+ peerEid: BigNumberish,
581
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
582
+ options: BytesLike,
583
+ payInLzToken: boolean,
584
+ overrides?: CallOverrides
585
+ ): Promise<[MessagingFeeStructOutput] & { fee: MessagingFeeStructOutput }>;
586
+
587
+ remoteSelfWire(
588
+ peerEid: BigNumberish,
589
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
590
+ options: BytesLike,
591
+ fee: MessagingFeeStruct,
592
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
593
+ ): Promise<ContractTransaction>;
594
+
595
+ remoteWirePtOft(
596
+ peerEid: BigNumberish,
597
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
598
+ options: BytesLike,
599
+ fee: MessagingFeeStruct,
600
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
601
+ ): Promise<ContractTransaction>;
602
+
603
+ renounceOwnership(
604
+ overrides?: Overrides & { from?: string | Promise<string> }
605
+ ): Promise<ContractTransaction>;
606
+
607
+ selfWire(
608
+ params: IPBridgePTFactory.SelfWireParamsStruct,
609
+ overrides?: Overrides & { from?: string | Promise<string> }
610
+ ): Promise<ContractTransaction>;
611
+
612
+ setDelegate(
613
+ _delegate: string,
614
+ overrides?: Overrides & { from?: string | Promise<string> }
615
+ ): Promise<ContractTransaction>;
616
+
617
+ setPeer(
618
+ _eid: BigNumberish,
619
+ _peer: BytesLike,
620
+ overrides?: Overrides & { from?: string | Promise<string> }
621
+ ): Promise<ContractTransaction>;
622
+
623
+ transferOwnership(
624
+ newOwner: string,
625
+ overrides?: Overrides & { from?: string | Promise<string> }
626
+ ): Promise<ContractTransaction>;
627
+
628
+ wirePtOft(
629
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
630
+ overrides?: Overrides & { from?: string | Promise<string> }
631
+ ): Promise<ContractTransaction>;
632
+ };
633
+
634
+ GOV_PROXY(overrides?: CallOverrides): Promise<string>;
635
+
636
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(overrides?: CallOverrides): Promise<string>;
637
+
638
+ LZ_EID(overrides?: CallOverrides): Promise<number>;
639
+
640
+ LZ_RECEIVE_ULN_302(overrides?: CallOverrides): Promise<string>;
641
+
642
+ LZ_SEND_ULN_302(overrides?: CallOverrides): Promise<string>;
643
+
644
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<string>;
645
+
646
+ SELF_CHAIN_SHORT_NAME(overrides?: CallOverrides): Promise<string>;
647
+
648
+ SPOKE_PT_OFT_CREATION_CODE(overrides?: CallOverrides): Promise<string>;
649
+
650
+ TRANSPARENT_PROXY_CREATION_CODE(overrides?: CallOverrides): Promise<string>;
651
+
652
+ allowInitializePath(
653
+ origin: OriginStruct,
654
+ overrides?: CallOverrides
655
+ ): Promise<boolean>;
656
+
657
+ deployHubPtOftAdapter(
658
+ hubPt: string,
659
+ overrides?: Overrides & { from?: string | Promise<string> }
660
+ ): Promise<ContractTransaction>;
661
+
662
+ deploySpokePtOft(
663
+ hubPt: string,
664
+ toPeerEid: BigNumberish,
665
+ options: BytesLike,
666
+ fee: MessagingFeeStruct,
667
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
668
+ ): Promise<ContractTransaction>;
669
+
670
+ derivePtOftAddress(
671
+ peerLzEid: BigNumberish,
672
+ hubLzEid: BigNumberish,
673
+ hubPt: string,
674
+ overrides?: CallOverrides
675
+ ): Promise<string>;
676
+
677
+ endpoint(overrides?: CallOverrides): Promise<string>;
678
+
679
+ initialize(
680
+ delegateOwner: string,
681
+ selfChainShortName: string,
682
+ overrides?: Overrides & { from?: string | Promise<string> }
683
+ ): Promise<ContractTransaction>;
684
+
685
+ isComposeMsgSender(
686
+ arg0: OriginStruct,
687
+ arg1: BytesLike,
688
+ _sender: string,
689
+ overrides?: CallOverrides
690
+ ): Promise<boolean>;
691
+
692
+ lzReceive(
693
+ _origin: OriginStruct,
694
+ _guid: BytesLike,
695
+ _message: BytesLike,
696
+ _executor: string,
697
+ _extraData: BytesLike,
698
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
699
+ ): Promise<ContractTransaction>;
700
+
701
+ nextNonce(
702
+ arg0: BigNumberish,
703
+ arg1: BytesLike,
704
+ overrides?: CallOverrides
705
+ ): Promise<BigNumber>;
706
+
707
+ oAppVersion(
708
+ overrides?: CallOverrides
709
+ ): Promise<
710
+ [BigNumber, BigNumber] & {
711
+ senderVersion: BigNumber;
712
+ receiverVersion: BigNumber;
713
+ }
714
+ >;
715
+
716
+ owner(overrides?: CallOverrides): Promise<string>;
717
+
718
+ peers(_eid: BigNumberish, overrides?: CallOverrides): Promise<string>;
719
+
720
+ quoteDeploySpokePtOft(
721
+ hubPt: string,
722
+ toPeerEid: BigNumberish,
723
+ options: BytesLike,
724
+ payInLzToken: boolean,
725
+ overrides?: CallOverrides
726
+ ): Promise<MessagingFeeStructOutput>;
727
+
728
+ quoteRemoteSelfWire(
729
+ peerEid: BigNumberish,
730
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
731
+ options: BytesLike,
732
+ payInLzToken: boolean,
733
+ overrides?: CallOverrides
734
+ ): Promise<MessagingFeeStructOutput>;
735
+
736
+ quoteRemoteWirePtOft(
737
+ peerEid: BigNumberish,
738
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
739
+ options: BytesLike,
740
+ payInLzToken: boolean,
741
+ overrides?: CallOverrides
742
+ ): Promise<MessagingFeeStructOutput>;
743
+
744
+ remoteSelfWire(
745
+ peerEid: BigNumberish,
746
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
747
+ options: BytesLike,
748
+ fee: MessagingFeeStruct,
749
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
750
+ ): Promise<ContractTransaction>;
751
+
752
+ remoteWirePtOft(
753
+ peerEid: BigNumberish,
754
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
755
+ options: BytesLike,
756
+ fee: MessagingFeeStruct,
757
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
758
+ ): Promise<ContractTransaction>;
759
+
760
+ renounceOwnership(
761
+ overrides?: Overrides & { from?: string | Promise<string> }
762
+ ): Promise<ContractTransaction>;
763
+
764
+ selfWire(
765
+ params: IPBridgePTFactory.SelfWireParamsStruct,
766
+ overrides?: Overrides & { from?: string | Promise<string> }
767
+ ): Promise<ContractTransaction>;
768
+
769
+ setDelegate(
770
+ _delegate: string,
771
+ overrides?: Overrides & { from?: string | Promise<string> }
772
+ ): Promise<ContractTransaction>;
773
+
774
+ setPeer(
775
+ _eid: BigNumberish,
776
+ _peer: BytesLike,
777
+ overrides?: Overrides & { from?: string | Promise<string> }
778
+ ): Promise<ContractTransaction>;
779
+
780
+ transferOwnership(
781
+ newOwner: string,
782
+ overrides?: Overrides & { from?: string | Promise<string> }
783
+ ): Promise<ContractTransaction>;
784
+
785
+ wirePtOft(
786
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
787
+ overrides?: Overrides & { from?: string | Promise<string> }
788
+ ): Promise<ContractTransaction>;
789
+
790
+ callStatic: {
791
+ GOV_PROXY(overrides?: CallOverrides): Promise<string>;
792
+
793
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(
794
+ overrides?: CallOverrides
795
+ ): Promise<string>;
796
+
797
+ LZ_EID(overrides?: CallOverrides): Promise<number>;
798
+
799
+ LZ_RECEIVE_ULN_302(overrides?: CallOverrides): Promise<string>;
800
+
801
+ LZ_SEND_ULN_302(overrides?: CallOverrides): Promise<string>;
802
+
803
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<string>;
804
+
805
+ SELF_CHAIN_SHORT_NAME(overrides?: CallOverrides): Promise<string>;
806
+
807
+ SPOKE_PT_OFT_CREATION_CODE(overrides?: CallOverrides): Promise<string>;
808
+
809
+ TRANSPARENT_PROXY_CREATION_CODE(overrides?: CallOverrides): Promise<string>;
810
+
811
+ allowInitializePath(
812
+ origin: OriginStruct,
813
+ overrides?: CallOverrides
814
+ ): Promise<boolean>;
815
+
816
+ deployHubPtOftAdapter(
817
+ hubPt: string,
818
+ overrides?: CallOverrides
819
+ ): Promise<string>;
820
+
821
+ deploySpokePtOft(
822
+ hubPt: string,
823
+ toPeerEid: BigNumberish,
824
+ options: BytesLike,
825
+ fee: MessagingFeeStruct,
826
+ overrides?: CallOverrides
827
+ ): Promise<MessagingReceiptStructOutput>;
828
+
829
+ derivePtOftAddress(
830
+ peerLzEid: BigNumberish,
831
+ hubLzEid: BigNumberish,
832
+ hubPt: string,
833
+ overrides?: CallOverrides
834
+ ): Promise<string>;
835
+
836
+ endpoint(overrides?: CallOverrides): Promise<string>;
837
+
838
+ initialize(
839
+ delegateOwner: string,
840
+ selfChainShortName: string,
841
+ overrides?: CallOverrides
842
+ ): Promise<void>;
843
+
844
+ isComposeMsgSender(
845
+ arg0: OriginStruct,
846
+ arg1: BytesLike,
847
+ _sender: string,
848
+ overrides?: CallOverrides
849
+ ): Promise<boolean>;
850
+
851
+ lzReceive(
852
+ _origin: OriginStruct,
853
+ _guid: BytesLike,
854
+ _message: BytesLike,
855
+ _executor: string,
856
+ _extraData: BytesLike,
857
+ overrides?: CallOverrides
858
+ ): Promise<void>;
859
+
860
+ nextNonce(
861
+ arg0: BigNumberish,
862
+ arg1: BytesLike,
863
+ overrides?: CallOverrides
864
+ ): Promise<BigNumber>;
865
+
866
+ oAppVersion(
867
+ overrides?: CallOverrides
868
+ ): Promise<
869
+ [BigNumber, BigNumber] & {
870
+ senderVersion: BigNumber;
871
+ receiverVersion: BigNumber;
872
+ }
873
+ >;
874
+
875
+ owner(overrides?: CallOverrides): Promise<string>;
876
+
877
+ peers(_eid: BigNumberish, overrides?: CallOverrides): Promise<string>;
878
+
879
+ quoteDeploySpokePtOft(
880
+ hubPt: string,
881
+ toPeerEid: BigNumberish,
882
+ options: BytesLike,
883
+ payInLzToken: boolean,
884
+ overrides?: CallOverrides
885
+ ): Promise<MessagingFeeStructOutput>;
886
+
887
+ quoteRemoteSelfWire(
888
+ peerEid: BigNumberish,
889
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
890
+ options: BytesLike,
891
+ payInLzToken: boolean,
892
+ overrides?: CallOverrides
893
+ ): Promise<MessagingFeeStructOutput>;
894
+
895
+ quoteRemoteWirePtOft(
896
+ peerEid: BigNumberish,
897
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
898
+ options: BytesLike,
899
+ payInLzToken: boolean,
900
+ overrides?: CallOverrides
901
+ ): Promise<MessagingFeeStructOutput>;
902
+
903
+ remoteSelfWire(
904
+ peerEid: BigNumberish,
905
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
906
+ options: BytesLike,
907
+ fee: MessagingFeeStruct,
908
+ overrides?: CallOverrides
909
+ ): Promise<MessagingReceiptStructOutput>;
910
+
911
+ remoteWirePtOft(
912
+ peerEid: BigNumberish,
913
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
914
+ options: BytesLike,
915
+ fee: MessagingFeeStruct,
916
+ overrides?: CallOverrides
917
+ ): Promise<MessagingReceiptStructOutput>;
918
+
919
+ renounceOwnership(overrides?: CallOverrides): Promise<void>;
920
+
921
+ selfWire(
922
+ params: IPBridgePTFactory.SelfWireParamsStruct,
923
+ overrides?: CallOverrides
924
+ ): Promise<void>;
925
+
926
+ setDelegate(_delegate: string, overrides?: CallOverrides): Promise<void>;
927
+
928
+ setPeer(
929
+ _eid: BigNumberish,
930
+ _peer: BytesLike,
931
+ overrides?: CallOverrides
932
+ ): Promise<void>;
933
+
934
+ transferOwnership(
935
+ newOwner: string,
936
+ overrides?: CallOverrides
937
+ ): Promise<void>;
938
+
939
+ wirePtOft(
940
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
941
+ overrides?: CallOverrides
942
+ ): Promise<void>;
943
+ };
944
+
945
+ filters: {
946
+ "FactoryWired(uint32,address)"(
947
+ peerEid?: BigNumberish | null,
948
+ peer?: string | null
949
+ ): FactoryWiredEventFilter;
950
+ FactoryWired(
951
+ peerEid?: BigNumberish | null,
952
+ peer?: string | null
953
+ ): FactoryWiredEventFilter;
954
+
955
+ "Initialized(uint8)"(version?: null): InitializedEventFilter;
956
+ Initialized(version?: null): InitializedEventFilter;
957
+
958
+ "OwnershipTransferred(address,address)"(
959
+ previousOwner?: string | null,
960
+ newOwner?: string | null
961
+ ): OwnershipTransferredEventFilter;
962
+ OwnershipTransferred(
963
+ previousOwner?: string | null,
964
+ newOwner?: string | null
965
+ ): OwnershipTransferredEventFilter;
966
+
967
+ "PTOFTDeployed(uint32,bytes32,address)"(
968
+ lzEid?: BigNumberish | null,
969
+ originalPt?: BytesLike | null,
970
+ oft?: string | null
971
+ ): PTOFTDeployedEventFilter;
972
+ PTOFTDeployed(
973
+ lzEid?: BigNumberish | null,
974
+ originalPt?: BytesLike | null,
975
+ oft?: string | null
976
+ ): PTOFTDeployedEventFilter;
977
+
978
+ "PTOFTWired(uint32,address,uint32[])"(
979
+ hubLzEid?: BigNumberish | null,
980
+ hubPt?: string | null,
981
+ toPeerEids?: null
982
+ ): PTOFTWiredEventFilter;
983
+ PTOFTWired(
984
+ hubLzEid?: BigNumberish | null,
985
+ hubPt?: string | null,
986
+ toPeerEids?: null
987
+ ): PTOFTWiredEventFilter;
988
+
989
+ "PeerSet(uint32,bytes32)"(eid?: null, peer?: null): PeerSetEventFilter;
990
+ PeerSet(eid?: null, peer?: null): PeerSetEventFilter;
991
+ };
992
+
993
+ estimateGas: {
994
+ GOV_PROXY(overrides?: CallOverrides): Promise<BigNumber>;
995
+
996
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(
997
+ overrides?: CallOverrides
998
+ ): Promise<BigNumber>;
999
+
1000
+ LZ_EID(overrides?: CallOverrides): Promise<BigNumber>;
1001
+
1002
+ LZ_RECEIVE_ULN_302(overrides?: CallOverrides): Promise<BigNumber>;
1003
+
1004
+ LZ_SEND_ULN_302(overrides?: CallOverrides): Promise<BigNumber>;
1005
+
1006
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<BigNumber>;
1007
+
1008
+ SELF_CHAIN_SHORT_NAME(overrides?: CallOverrides): Promise<BigNumber>;
1009
+
1010
+ SPOKE_PT_OFT_CREATION_CODE(overrides?: CallOverrides): Promise<BigNumber>;
1011
+
1012
+ TRANSPARENT_PROXY_CREATION_CODE(
1013
+ overrides?: CallOverrides
1014
+ ): Promise<BigNumber>;
1015
+
1016
+ allowInitializePath(
1017
+ origin: OriginStruct,
1018
+ overrides?: CallOverrides
1019
+ ): Promise<BigNumber>;
1020
+
1021
+ deployHubPtOftAdapter(
1022
+ hubPt: string,
1023
+ overrides?: Overrides & { from?: string | Promise<string> }
1024
+ ): Promise<BigNumber>;
1025
+
1026
+ deploySpokePtOft(
1027
+ hubPt: string,
1028
+ toPeerEid: BigNumberish,
1029
+ options: BytesLike,
1030
+ fee: MessagingFeeStruct,
1031
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1032
+ ): Promise<BigNumber>;
1033
+
1034
+ derivePtOftAddress(
1035
+ peerLzEid: BigNumberish,
1036
+ hubLzEid: BigNumberish,
1037
+ hubPt: string,
1038
+ overrides?: CallOverrides
1039
+ ): Promise<BigNumber>;
1040
+
1041
+ endpoint(overrides?: CallOverrides): Promise<BigNumber>;
1042
+
1043
+ initialize(
1044
+ delegateOwner: string,
1045
+ selfChainShortName: string,
1046
+ overrides?: Overrides & { from?: string | Promise<string> }
1047
+ ): Promise<BigNumber>;
1048
+
1049
+ isComposeMsgSender(
1050
+ arg0: OriginStruct,
1051
+ arg1: BytesLike,
1052
+ _sender: string,
1053
+ overrides?: CallOverrides
1054
+ ): Promise<BigNumber>;
1055
+
1056
+ lzReceive(
1057
+ _origin: OriginStruct,
1058
+ _guid: BytesLike,
1059
+ _message: BytesLike,
1060
+ _executor: string,
1061
+ _extraData: BytesLike,
1062
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1063
+ ): Promise<BigNumber>;
1064
+
1065
+ nextNonce(
1066
+ arg0: BigNumberish,
1067
+ arg1: BytesLike,
1068
+ overrides?: CallOverrides
1069
+ ): Promise<BigNumber>;
1070
+
1071
+ oAppVersion(overrides?: CallOverrides): Promise<BigNumber>;
1072
+
1073
+ owner(overrides?: CallOverrides): Promise<BigNumber>;
1074
+
1075
+ peers(_eid: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
1076
+
1077
+ quoteDeploySpokePtOft(
1078
+ hubPt: string,
1079
+ toPeerEid: BigNumberish,
1080
+ options: BytesLike,
1081
+ payInLzToken: boolean,
1082
+ overrides?: CallOverrides
1083
+ ): Promise<BigNumber>;
1084
+
1085
+ quoteRemoteSelfWire(
1086
+ peerEid: BigNumberish,
1087
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
1088
+ options: BytesLike,
1089
+ payInLzToken: boolean,
1090
+ overrides?: CallOverrides
1091
+ ): Promise<BigNumber>;
1092
+
1093
+ quoteRemoteWirePtOft(
1094
+ peerEid: BigNumberish,
1095
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
1096
+ options: BytesLike,
1097
+ payInLzToken: boolean,
1098
+ overrides?: CallOverrides
1099
+ ): Promise<BigNumber>;
1100
+
1101
+ remoteSelfWire(
1102
+ peerEid: BigNumberish,
1103
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
1104
+ options: BytesLike,
1105
+ fee: MessagingFeeStruct,
1106
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1107
+ ): Promise<BigNumber>;
1108
+
1109
+ remoteWirePtOft(
1110
+ peerEid: BigNumberish,
1111
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
1112
+ options: BytesLike,
1113
+ fee: MessagingFeeStruct,
1114
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1115
+ ): Promise<BigNumber>;
1116
+
1117
+ renounceOwnership(
1118
+ overrides?: Overrides & { from?: string | Promise<string> }
1119
+ ): Promise<BigNumber>;
1120
+
1121
+ selfWire(
1122
+ params: IPBridgePTFactory.SelfWireParamsStruct,
1123
+ overrides?: Overrides & { from?: string | Promise<string> }
1124
+ ): Promise<BigNumber>;
1125
+
1126
+ setDelegate(
1127
+ _delegate: string,
1128
+ overrides?: Overrides & { from?: string | Promise<string> }
1129
+ ): Promise<BigNumber>;
1130
+
1131
+ setPeer(
1132
+ _eid: BigNumberish,
1133
+ _peer: BytesLike,
1134
+ overrides?: Overrides & { from?: string | Promise<string> }
1135
+ ): Promise<BigNumber>;
1136
+
1137
+ transferOwnership(
1138
+ newOwner: string,
1139
+ overrides?: Overrides & { from?: string | Promise<string> }
1140
+ ): Promise<BigNumber>;
1141
+
1142
+ wirePtOft(
1143
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
1144
+ overrides?: Overrides & { from?: string | Promise<string> }
1145
+ ): Promise<BigNumber>;
1146
+ };
1147
+
1148
+ populateTransaction: {
1149
+ GOV_PROXY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1150
+
1151
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(
1152
+ overrides?: CallOverrides
1153
+ ): Promise<PopulatedTransaction>;
1154
+
1155
+ LZ_EID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1156
+
1157
+ LZ_RECEIVE_ULN_302(
1158
+ overrides?: CallOverrides
1159
+ ): Promise<PopulatedTransaction>;
1160
+
1161
+ LZ_SEND_ULN_302(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1162
+
1163
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1164
+
1165
+ SELF_CHAIN_SHORT_NAME(
1166
+ overrides?: CallOverrides
1167
+ ): Promise<PopulatedTransaction>;
1168
+
1169
+ SPOKE_PT_OFT_CREATION_CODE(
1170
+ overrides?: CallOverrides
1171
+ ): Promise<PopulatedTransaction>;
1172
+
1173
+ TRANSPARENT_PROXY_CREATION_CODE(
1174
+ overrides?: CallOverrides
1175
+ ): Promise<PopulatedTransaction>;
1176
+
1177
+ allowInitializePath(
1178
+ origin: OriginStruct,
1179
+ overrides?: CallOverrides
1180
+ ): Promise<PopulatedTransaction>;
1181
+
1182
+ deployHubPtOftAdapter(
1183
+ hubPt: string,
1184
+ overrides?: Overrides & { from?: string | Promise<string> }
1185
+ ): Promise<PopulatedTransaction>;
1186
+
1187
+ deploySpokePtOft(
1188
+ hubPt: string,
1189
+ toPeerEid: BigNumberish,
1190
+ options: BytesLike,
1191
+ fee: MessagingFeeStruct,
1192
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1193
+ ): Promise<PopulatedTransaction>;
1194
+
1195
+ derivePtOftAddress(
1196
+ peerLzEid: BigNumberish,
1197
+ hubLzEid: BigNumberish,
1198
+ hubPt: string,
1199
+ overrides?: CallOverrides
1200
+ ): Promise<PopulatedTransaction>;
1201
+
1202
+ endpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1203
+
1204
+ initialize(
1205
+ delegateOwner: string,
1206
+ selfChainShortName: string,
1207
+ overrides?: Overrides & { from?: string | Promise<string> }
1208
+ ): Promise<PopulatedTransaction>;
1209
+
1210
+ isComposeMsgSender(
1211
+ arg0: OriginStruct,
1212
+ arg1: BytesLike,
1213
+ _sender: string,
1214
+ overrides?: CallOverrides
1215
+ ): Promise<PopulatedTransaction>;
1216
+
1217
+ lzReceive(
1218
+ _origin: OriginStruct,
1219
+ _guid: BytesLike,
1220
+ _message: BytesLike,
1221
+ _executor: string,
1222
+ _extraData: BytesLike,
1223
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1224
+ ): Promise<PopulatedTransaction>;
1225
+
1226
+ nextNonce(
1227
+ arg0: BigNumberish,
1228
+ arg1: BytesLike,
1229
+ overrides?: CallOverrides
1230
+ ): Promise<PopulatedTransaction>;
1231
+
1232
+ oAppVersion(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1233
+
1234
+ owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1235
+
1236
+ peers(
1237
+ _eid: BigNumberish,
1238
+ overrides?: CallOverrides
1239
+ ): Promise<PopulatedTransaction>;
1240
+
1241
+ quoteDeploySpokePtOft(
1242
+ hubPt: string,
1243
+ toPeerEid: BigNumberish,
1244
+ options: BytesLike,
1245
+ payInLzToken: boolean,
1246
+ overrides?: CallOverrides
1247
+ ): Promise<PopulatedTransaction>;
1248
+
1249
+ quoteRemoteSelfWire(
1250
+ peerEid: BigNumberish,
1251
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
1252
+ options: BytesLike,
1253
+ payInLzToken: boolean,
1254
+ overrides?: CallOverrides
1255
+ ): Promise<PopulatedTransaction>;
1256
+
1257
+ quoteRemoteWirePtOft(
1258
+ peerEid: BigNumberish,
1259
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
1260
+ options: BytesLike,
1261
+ payInLzToken: boolean,
1262
+ overrides?: CallOverrides
1263
+ ): Promise<PopulatedTransaction>;
1264
+
1265
+ remoteSelfWire(
1266
+ peerEid: BigNumberish,
1267
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
1268
+ options: BytesLike,
1269
+ fee: MessagingFeeStruct,
1270
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1271
+ ): Promise<PopulatedTransaction>;
1272
+
1273
+ remoteWirePtOft(
1274
+ peerEid: BigNumberish,
1275
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
1276
+ options: BytesLike,
1277
+ fee: MessagingFeeStruct,
1278
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1279
+ ): Promise<PopulatedTransaction>;
1280
+
1281
+ renounceOwnership(
1282
+ overrides?: Overrides & { from?: string | Promise<string> }
1283
+ ): Promise<PopulatedTransaction>;
1284
+
1285
+ selfWire(
1286
+ params: IPBridgePTFactory.SelfWireParamsStruct,
1287
+ overrides?: Overrides & { from?: string | Promise<string> }
1288
+ ): Promise<PopulatedTransaction>;
1289
+
1290
+ setDelegate(
1291
+ _delegate: string,
1292
+ overrides?: Overrides & { from?: string | Promise<string> }
1293
+ ): Promise<PopulatedTransaction>;
1294
+
1295
+ setPeer(
1296
+ _eid: BigNumberish,
1297
+ _peer: BytesLike,
1298
+ overrides?: Overrides & { from?: string | Promise<string> }
1299
+ ): Promise<PopulatedTransaction>;
1300
+
1301
+ transferOwnership(
1302
+ newOwner: string,
1303
+ overrides?: Overrides & { from?: string | Promise<string> }
1304
+ ): Promise<PopulatedTransaction>;
1305
+
1306
+ wirePtOft(
1307
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
1308
+ overrides?: Overrides & { from?: string | Promise<string> }
1309
+ ): Promise<PopulatedTransaction>;
1310
+ };
1311
+ }