@pendle/core-v2 6.6.1 → 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 (411) 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 +1 -1
  47. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +4 -0
  51. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +1388 -0
  52. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
  54. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +46 -14
  55. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  56. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +46 -14
  57. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +4 -0
  58. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +1541 -0
  59. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +4 -0
  60. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +1570 -0
  61. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  62. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +57 -35
  63. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
  64. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +57 -35
  65. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  66. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  67. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +4 -0
  96. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.json +1026 -0
  97. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +11 -0
  99. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +0 -67
  128. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +0 -120
  133. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  156. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  157. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  158. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  159. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  160. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
  161. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  221. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  222. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  223. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  224. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  225. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  226. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  227. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  228. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  230. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  232. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  233. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  234. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  243. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  245. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  247. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  249. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  251. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  253. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  255. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  256. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  257. package/contracts/LiquidityMining/PendleMerkleDistributor.sol +1 -28
  258. package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +1 -36
  259. package/contracts/cross-chain/factory/PendleBridgePTFactory.sol +495 -0
  260. package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +5 -4
  261. package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +14 -6
  262. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol +11 -0
  263. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol +52 -0
  264. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +33 -24
  265. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +4 -13
  266. package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
  267. package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
  268. package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
  269. package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
  270. package/contracts/limit/LimitRouterBase.sol +1 -1
  271. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
  272. package/deployments/143-core.json +38 -2
  273. package/deployments/143-offchain-helper.json +11 -0
  274. package/deployments/4217-core.json +1 -0
  275. package/deployments/43114-core.json +1 -0
  276. package/deployments/57073-core.json +2 -0
  277. package/deployments/747474-core.json +2 -0
  278. package/package.json +12 -9
  279. package/typechain-types/AaveMoneyMarket.ts +763 -0
  280. package/typechain-types/AaveMoneyMarketView.ts +460 -0
  281. package/typechain-types/BaseMoneyMarket.ts +697 -0
  282. package/typechain-types/BaseMoneyMarketView.ts +362 -0
  283. package/typechain-types/DVNOptions.ts +57 -0
  284. package/typechain-types/ExecutorOptions.ts +57 -0
  285. package/typechain-types/IAToken.ts +358 -0
  286. package/typechain-types/IAaveOracle.ts +235 -0
  287. package/typechain-types/IAaveRewardsController.ts +1186 -0
  288. package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +431 -0
  289. package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +606 -0
  290. package/typechain-types/IDssPsm.ts +194 -0
  291. package/typechain-types/IERC4626.ts +864 -0
  292. package/typechain-types/IFlashLoanReceiver.ts +125 -0
  293. package/typechain-types/IIrm.ts +260 -0
  294. package/typechain-types/IMoneyMarket.ts +700 -0
  295. package/typechain-types/IMoneyMarketEvents.ts +196 -0
  296. package/typechain-types/IMoneyMarketView.ts +331 -0
  297. package/typechain-types/IMorpho.ts +1147 -0
  298. package/typechain-types/IMorphoOracle.ts +81 -0
  299. package/typechain-types/IMulticall.ts +117 -0
  300. package/typechain-types/IPBridgePTFactory.ts +936 -0
  301. package/typechain-types/IPLoopPositionBox.ts +298 -0
  302. package/typechain-types/IPLoopPositionBoxFactory.ts +434 -0
  303. package/typechain-types/IPMerkleDistributor.ts +0 -90
  304. package/typechain-types/IPMultiTokenMerkleDistributor.ts +0 -158
  305. package/typechain-types/IPPTLooper.ts +1550 -0
  306. package/typechain-types/IPPTLooperView.ts +468 -0
  307. package/typechain-types/IPool.ts +2220 -0
  308. package/typechain-types/IPoolAddressesProvider.ts +789 -0
  309. package/typechain-types/IPoolDataProviderV3.ts +865 -0
  310. package/typechain-types/IPoolDataProviderV31.ts +933 -0
  311. package/typechain-types/IPot.ts +181 -0
  312. package/typechain-types/IPriceOracleGetter.ts +133 -0
  313. package/typechain-types/ISDAI.ts +877 -0
  314. package/typechain-types/LoopPositionBox.ts +309 -0
  315. package/typechain-types/LoopPositionBoxFactory.ts +609 -0
  316. package/typechain-types/MorphoBlueMoneyMarket.ts +731 -0
  317. package/typechain-types/MorphoBlueMoneyMarketView.ts +396 -0
  318. package/typechain-types/Multicall.ts +117 -0
  319. package/typechain-types/OAppPreCrimeSimulatorUpgradeable.ts +410 -0
  320. package/typechain-types/OFTAdapterAltImpl.ts +50 -19
  321. package/typechain-types/OFTAdapterImpl.ts +50 -19
  322. package/typechain-types/OFTAdapterUpgradeable.ts +1337 -0
  323. package/typechain-types/OFTCoreUpgradeable.ts +1337 -0
  324. package/typechain-types/OFTUpgradeable.ts +1681 -0
  325. package/typechain-types/OptionsBuilder.ts +57 -0
  326. package/typechain-types/PTLooperBase.ts +1759 -0
  327. package/typechain-types/PTLooperView.ts +618 -0
  328. package/typechain-types/PendleBridgePTFactory.ts +1311 -0
  329. package/typechain-types/PendleBridgedPrincipalToken.ts +67 -20
  330. package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +67 -20
  331. package/typechain-types/PendleMerkleDistributor.ts +0 -106
  332. package/typechain-types/PendleMultiTokenMerkleDistributor.ts +0 -158
  333. package/typechain-types/PendleOFT.ts +1675 -0
  334. package/typechain-types/PendleOFTAlt.ts +1694 -0
  335. package/typechain-types/PendlePTLooper.ts +1784 -0
  336. package/typechain-types/PendlePTLooperView.ts +648 -0
  337. package/typechain-types/UUPSUpgradeable.ts +0 -9
  338. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +450 -0
  339. package/typechain-types/factories/AaveMoneyMarket__factory.ts +726 -0
  340. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  341. package/typechain-types/factories/BaseMoneyMarketView__factory.ts +279 -0
  342. package/typechain-types/factories/BaseMoneyMarket__factory.ts +599 -0
  343. package/typechain-types/factories/DVNOptions__factory.ts +77 -0
  344. package/typechain-types/factories/ExecutorOptions__factory.ts +84 -0
  345. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  346. package/typechain-types/factories/IAToken__factory.ts +258 -0
  347. package/typechain-types/factories/IAaveOracle__factory.ts +132 -0
  348. package/typechain-types/factories/IAaveRewardsController__factory.ts +743 -0
  349. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +441 -0
  350. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +278 -0
  351. package/typechain-types/factories/IDssPsm__factory.ts +122 -0
  352. package/typechain-types/factories/IERC4626__factory.ts +635 -0
  353. package/typechain-types/factories/IFlashLoanReceiver__factory.ts +65 -0
  354. package/typechain-types/factories/IIrm__factory.ts +243 -0
  355. package/typechain-types/factories/IMoneyMarketEvents__factory.ts +225 -0
  356. package/typechain-types/factories/IMoneyMarketView__factory.ts +253 -0
  357. package/typechain-types/factories/IMoneyMarket__factory.ts +596 -0
  358. package/typechain-types/factories/IMorphoOracle__factory.ts +36 -0
  359. package/typechain-types/factories/IMorpho__factory.ts +1045 -0
  360. package/typechain-types/factories/IMulticall__factory.ts +66 -0
  361. package/typechain-types/factories/IOFT__factory.ts +11 -0
  362. package/typechain-types/factories/IPBridgePTFactory__factory.ts +1041 -0
  363. package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -0
  364. package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +420 -0
  365. package/typechain-types/factories/IPLoopPositionBox__factory.ts +198 -0
  366. package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -67
  367. package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +0 -120
  368. package/typechain-types/factories/IPPTLooperView__factory.ts +331 -0
  369. package/typechain-types/factories/IPPTLooper__factory.ts +2506 -0
  370. package/typechain-types/factories/IPoolAddressesProvider__factory.ts +526 -0
  371. package/typechain-types/factories/IPoolDataProviderV31__factory.ts +596 -0
  372. package/typechain-types/factories/IPoolDataProviderV3__factory.ts +554 -0
  373. package/typechain-types/factories/IPool__factory.ts +1609 -0
  374. package/typechain-types/factories/IPot__factory.ts +98 -0
  375. package/typechain-types/factories/IPriceOracleGetter__factory.ts +71 -0
  376. package/typechain-types/factories/ISDAI__factory.ts +645 -0
  377. package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +648 -0
  378. package/typechain-types/factories/LoopPositionBox__factory.ts +277 -0
  379. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +384 -0
  380. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +691 -0
  381. package/typechain-types/factories/Multicall__factory.ts +104 -0
  382. package/typechain-types/factories/OAppPreCrimeSimulatorUpgradeable__factory.ts +311 -0
  383. package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +49 -25
  384. package/typechain-types/factories/OFTAdapterImpl__factory.ts +49 -25
  385. package/typechain-types/factories/OFTAdapterUpgradeable__factory.ts +1287 -0
  386. package/typechain-types/factories/OFTAdapter__factory.ts +11 -0
  387. package/typechain-types/factories/OFTCoreUpgradeable__factory.ts +1283 -0
  388. package/typechain-types/factories/OFTCore__factory.ts +11 -0
  389. package/typechain-types/factories/OFTUpgradeable__factory.ts +1553 -0
  390. package/typechain-types/factories/OFT__factory.ts +11 -0
  391. package/typechain-types/factories/OptionsBuilder__factory.ts +91 -0
  392. package/typechain-types/factories/PTLooperBase__factory.ts +2656 -0
  393. package/typechain-types/factories/PTLooperView__factory.ts +467 -0
  394. package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1481 -0
  395. package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +60 -58
  396. package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
  397. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  398. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -87
  399. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -121
  400. package/typechain-types/factories/PendleOFTAlt__factory.ts +1628 -0
  401. package/typechain-types/factories/PendleOFT__factory.ts +1599 -0
  402. package/typechain-types/factories/PendlePTLooperView__factory.ts +499 -0
  403. package/typechain-types/factories/PendlePTLooper__factory.ts +2738 -0
  404. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  405. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  406. package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
  407. package/typechain-types/hardhat.d.ts +103 -49
  408. package/typechain-types/index.ts +24 -10
  409. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
  410. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -280
  411. package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
@@ -0,0 +1,936 @@
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 MessagingFeeStruct = {
27
+ nativeFee: BigNumberish;
28
+ lzTokenFee: BigNumberish;
29
+ };
30
+
31
+ export type MessagingFeeStructOutput = [BigNumber, BigNumber] & {
32
+ nativeFee: BigNumber;
33
+ lzTokenFee: BigNumber;
34
+ };
35
+
36
+ export type MessagingReceiptStruct = {
37
+ guid: BytesLike;
38
+ nonce: BigNumberish;
39
+ fee: MessagingFeeStruct;
40
+ };
41
+
42
+ export type MessagingReceiptStructOutput = [
43
+ string,
44
+ BigNumber,
45
+ MessagingFeeStructOutput
46
+ ] & { guid: string; nonce: BigNumber; fee: MessagingFeeStructOutput };
47
+
48
+ export type SetConfigParamStruct = {
49
+ eid: BigNumberish;
50
+ configType: BigNumberish;
51
+ config: BytesLike;
52
+ };
53
+
54
+ export type SetConfigParamStructOutput = [number, number, string] & {
55
+ eid: number;
56
+ configType: number;
57
+ config: string;
58
+ };
59
+
60
+ export declare namespace IPBridgePTFactory {
61
+ export type SelfWireParamsStruct = {
62
+ peerEid: BigNumberish;
63
+ peer: string;
64
+ sendConfigParam: SetConfigParamStruct[];
65
+ receiveConfigParam: SetConfigParamStruct[];
66
+ setSendLib: boolean;
67
+ setReceiveLib: boolean;
68
+ };
69
+
70
+ export type SelfWireParamsStructOutput = [
71
+ number,
72
+ string,
73
+ SetConfigParamStructOutput[],
74
+ SetConfigParamStructOutput[],
75
+ boolean,
76
+ boolean
77
+ ] & {
78
+ peerEid: number;
79
+ peer: string;
80
+ sendConfigParam: SetConfigParamStructOutput[];
81
+ receiveConfigParam: SetConfigParamStructOutput[];
82
+ setSendLib: boolean;
83
+ setReceiveLib: boolean;
84
+ };
85
+
86
+ export type WirePtOftParamsStruct = {
87
+ hubLzEid: BigNumberish;
88
+ hubPt: string;
89
+ toPeerEids: BigNumberish[];
90
+ enforcedReceiveGas: BigNumberish[];
91
+ setSendLib: boolean;
92
+ setReceiveLib: boolean;
93
+ };
94
+
95
+ export type WirePtOftParamsStructOutput = [
96
+ number,
97
+ string,
98
+ number[],
99
+ BigNumber[],
100
+ boolean,
101
+ boolean
102
+ ] & {
103
+ hubLzEid: number;
104
+ hubPt: string;
105
+ toPeerEids: number[];
106
+ enforcedReceiveGas: BigNumber[];
107
+ setSendLib: boolean;
108
+ setReceiveLib: boolean;
109
+ };
110
+ }
111
+
112
+ export interface IPBridgePTFactoryInterface extends utils.Interface {
113
+ contractName: "IPBridgePTFactory";
114
+ functions: {
115
+ "GOV_PROXY()": FunctionFragment;
116
+ "HUB_PT_OFT_ADAPTER_CREATION_CODE()": FunctionFragment;
117
+ "LZ_EID()": FunctionFragment;
118
+ "OFT_PROXY_ADMIN()": FunctionFragment;
119
+ "SELF_CHAIN_SHORT_NAME()": FunctionFragment;
120
+ "SPOKE_PT_OFT_CREATION_CODE()": FunctionFragment;
121
+ "deployHubPtOftAdapter(address)": FunctionFragment;
122
+ "deploySpokePtOft(address,uint32,bytes,(uint256,uint256))": FunctionFragment;
123
+ "derivePtOftAddress(uint32,uint32,address)": FunctionFragment;
124
+ "endpoint()": FunctionFragment;
125
+ "oAppVersion()": FunctionFragment;
126
+ "peers(uint32)": FunctionFragment;
127
+ "quoteDeploySpokePtOft(address,uint32,bytes,bool)": FunctionFragment;
128
+ "quoteRemoteSelfWire(uint32,(uint32,address,(uint32,uint32,bytes)[],(uint32,uint32,bytes)[],bool,bool),bytes,bool)": FunctionFragment;
129
+ "quoteRemoteWirePtOft(uint32,(uint32,address,uint32[],uint128[],bool,bool),bytes,bool)": FunctionFragment;
130
+ "remoteSelfWire(uint32,(uint32,address,(uint32,uint32,bytes)[],(uint32,uint32,bytes)[],bool,bool),bytes,(uint256,uint256))": FunctionFragment;
131
+ "remoteWirePtOft(uint32,(uint32,address,uint32[],uint128[],bool,bool),bytes,(uint256,uint256))": FunctionFragment;
132
+ "selfWire((uint32,address,(uint32,uint32,bytes)[],(uint32,uint32,bytes)[],bool,bool))": FunctionFragment;
133
+ "setDelegate(address)": FunctionFragment;
134
+ "setPeer(uint32,bytes32)": FunctionFragment;
135
+ "wirePtOft((uint32,address,uint32[],uint128[],bool,bool))": FunctionFragment;
136
+ };
137
+
138
+ encodeFunctionData(functionFragment: "GOV_PROXY", values?: undefined): string;
139
+ encodeFunctionData(
140
+ functionFragment: "HUB_PT_OFT_ADAPTER_CREATION_CODE",
141
+ values?: undefined
142
+ ): string;
143
+ encodeFunctionData(functionFragment: "LZ_EID", values?: undefined): string;
144
+ encodeFunctionData(
145
+ functionFragment: "OFT_PROXY_ADMIN",
146
+ values?: undefined
147
+ ): string;
148
+ encodeFunctionData(
149
+ functionFragment: "SELF_CHAIN_SHORT_NAME",
150
+ values?: undefined
151
+ ): string;
152
+ encodeFunctionData(
153
+ functionFragment: "SPOKE_PT_OFT_CREATION_CODE",
154
+ values?: undefined
155
+ ): string;
156
+ encodeFunctionData(
157
+ functionFragment: "deployHubPtOftAdapter",
158
+ values: [string]
159
+ ): string;
160
+ encodeFunctionData(
161
+ functionFragment: "deploySpokePtOft",
162
+ values: [string, BigNumberish, BytesLike, MessagingFeeStruct]
163
+ ): string;
164
+ encodeFunctionData(
165
+ functionFragment: "derivePtOftAddress",
166
+ values: [BigNumberish, BigNumberish, string]
167
+ ): string;
168
+ encodeFunctionData(functionFragment: "endpoint", values?: undefined): string;
169
+ encodeFunctionData(
170
+ functionFragment: "oAppVersion",
171
+ values?: undefined
172
+ ): string;
173
+ encodeFunctionData(functionFragment: "peers", values: [BigNumberish]): string;
174
+ encodeFunctionData(
175
+ functionFragment: "quoteDeploySpokePtOft",
176
+ values: [string, BigNumberish, BytesLike, boolean]
177
+ ): string;
178
+ encodeFunctionData(
179
+ functionFragment: "quoteRemoteSelfWire",
180
+ values: [
181
+ BigNumberish,
182
+ IPBridgePTFactory.SelfWireParamsStruct,
183
+ BytesLike,
184
+ boolean
185
+ ]
186
+ ): string;
187
+ encodeFunctionData(
188
+ functionFragment: "quoteRemoteWirePtOft",
189
+ values: [
190
+ BigNumberish,
191
+ IPBridgePTFactory.WirePtOftParamsStruct,
192
+ BytesLike,
193
+ boolean
194
+ ]
195
+ ): string;
196
+ encodeFunctionData(
197
+ functionFragment: "remoteSelfWire",
198
+ values: [
199
+ BigNumberish,
200
+ IPBridgePTFactory.SelfWireParamsStruct,
201
+ BytesLike,
202
+ MessagingFeeStruct
203
+ ]
204
+ ): string;
205
+ encodeFunctionData(
206
+ functionFragment: "remoteWirePtOft",
207
+ values: [
208
+ BigNumberish,
209
+ IPBridgePTFactory.WirePtOftParamsStruct,
210
+ BytesLike,
211
+ MessagingFeeStruct
212
+ ]
213
+ ): string;
214
+ encodeFunctionData(
215
+ functionFragment: "selfWire",
216
+ values: [IPBridgePTFactory.SelfWireParamsStruct]
217
+ ): string;
218
+ encodeFunctionData(functionFragment: "setDelegate", values: [string]): string;
219
+ encodeFunctionData(
220
+ functionFragment: "setPeer",
221
+ values: [BigNumberish, BytesLike]
222
+ ): string;
223
+ encodeFunctionData(
224
+ functionFragment: "wirePtOft",
225
+ values: [IPBridgePTFactory.WirePtOftParamsStruct]
226
+ ): string;
227
+
228
+ decodeFunctionResult(functionFragment: "GOV_PROXY", data: BytesLike): Result;
229
+ decodeFunctionResult(
230
+ functionFragment: "HUB_PT_OFT_ADAPTER_CREATION_CODE",
231
+ data: BytesLike
232
+ ): Result;
233
+ decodeFunctionResult(functionFragment: "LZ_EID", data: BytesLike): Result;
234
+ decodeFunctionResult(
235
+ functionFragment: "OFT_PROXY_ADMIN",
236
+ data: BytesLike
237
+ ): Result;
238
+ decodeFunctionResult(
239
+ functionFragment: "SELF_CHAIN_SHORT_NAME",
240
+ data: BytesLike
241
+ ): Result;
242
+ decodeFunctionResult(
243
+ functionFragment: "SPOKE_PT_OFT_CREATION_CODE",
244
+ data: BytesLike
245
+ ): Result;
246
+ decodeFunctionResult(
247
+ functionFragment: "deployHubPtOftAdapter",
248
+ data: BytesLike
249
+ ): Result;
250
+ decodeFunctionResult(
251
+ functionFragment: "deploySpokePtOft",
252
+ data: BytesLike
253
+ ): Result;
254
+ decodeFunctionResult(
255
+ functionFragment: "derivePtOftAddress",
256
+ data: BytesLike
257
+ ): Result;
258
+ decodeFunctionResult(functionFragment: "endpoint", data: BytesLike): Result;
259
+ decodeFunctionResult(
260
+ functionFragment: "oAppVersion",
261
+ data: BytesLike
262
+ ): Result;
263
+ decodeFunctionResult(functionFragment: "peers", data: BytesLike): Result;
264
+ decodeFunctionResult(
265
+ functionFragment: "quoteDeploySpokePtOft",
266
+ data: BytesLike
267
+ ): Result;
268
+ decodeFunctionResult(
269
+ functionFragment: "quoteRemoteSelfWire",
270
+ data: BytesLike
271
+ ): Result;
272
+ decodeFunctionResult(
273
+ functionFragment: "quoteRemoteWirePtOft",
274
+ data: BytesLike
275
+ ): Result;
276
+ decodeFunctionResult(
277
+ functionFragment: "remoteSelfWire",
278
+ data: BytesLike
279
+ ): Result;
280
+ decodeFunctionResult(
281
+ functionFragment: "remoteWirePtOft",
282
+ data: BytesLike
283
+ ): Result;
284
+ decodeFunctionResult(functionFragment: "selfWire", data: BytesLike): Result;
285
+ decodeFunctionResult(
286
+ functionFragment: "setDelegate",
287
+ data: BytesLike
288
+ ): Result;
289
+ decodeFunctionResult(functionFragment: "setPeer", data: BytesLike): Result;
290
+ decodeFunctionResult(functionFragment: "wirePtOft", data: BytesLike): Result;
291
+
292
+ events: {
293
+ "FactoryWired(uint32,address)": EventFragment;
294
+ "PTOFTDeployed(uint32,bytes32,address)": EventFragment;
295
+ "PTOFTWired(uint32,address,uint32[])": EventFragment;
296
+ "PeerSet(uint32,bytes32)": EventFragment;
297
+ };
298
+
299
+ getEvent(nameOrSignatureOrTopic: "FactoryWired"): EventFragment;
300
+ getEvent(nameOrSignatureOrTopic: "PTOFTDeployed"): EventFragment;
301
+ getEvent(nameOrSignatureOrTopic: "PTOFTWired"): EventFragment;
302
+ getEvent(nameOrSignatureOrTopic: "PeerSet"): EventFragment;
303
+ }
304
+
305
+ export type FactoryWiredEvent = TypedEvent<
306
+ [number, string],
307
+ { peerEid: number; peer: string }
308
+ >;
309
+
310
+ export type FactoryWiredEventFilter = TypedEventFilter<FactoryWiredEvent>;
311
+
312
+ export type PTOFTDeployedEvent = TypedEvent<
313
+ [number, string, string],
314
+ { lzEid: number; originalPt: string; oft: string }
315
+ >;
316
+
317
+ export type PTOFTDeployedEventFilter = TypedEventFilter<PTOFTDeployedEvent>;
318
+
319
+ export type PTOFTWiredEvent = TypedEvent<
320
+ [number, string, number[]],
321
+ { hubLzEid: number; hubPt: string; toPeerEids: number[] }
322
+ >;
323
+
324
+ export type PTOFTWiredEventFilter = TypedEventFilter<PTOFTWiredEvent>;
325
+
326
+ export type PeerSetEvent = TypedEvent<
327
+ [number, string],
328
+ { eid: number; peer: string }
329
+ >;
330
+
331
+ export type PeerSetEventFilter = TypedEventFilter<PeerSetEvent>;
332
+
333
+ export interface IPBridgePTFactory extends BaseContract {
334
+ contractName: "IPBridgePTFactory";
335
+ connect(signerOrProvider: Signer | Provider | string): this;
336
+ attach(addressOrName: string): this;
337
+ deployed(): Promise<this>;
338
+
339
+ interface: IPBridgePTFactoryInterface;
340
+
341
+ queryFilter<TEvent extends TypedEvent>(
342
+ event: TypedEventFilter<TEvent>,
343
+ fromBlockOrBlockhash?: string | number | undefined,
344
+ toBlock?: string | number | undefined
345
+ ): Promise<Array<TEvent>>;
346
+
347
+ listeners<TEvent extends TypedEvent>(
348
+ eventFilter?: TypedEventFilter<TEvent>
349
+ ): Array<TypedListener<TEvent>>;
350
+ listeners(eventName?: string): Array<Listener>;
351
+ removeAllListeners<TEvent extends TypedEvent>(
352
+ eventFilter: TypedEventFilter<TEvent>
353
+ ): this;
354
+ removeAllListeners(eventName?: string): this;
355
+ off: OnEvent<this>;
356
+ on: OnEvent<this>;
357
+ once: OnEvent<this>;
358
+ removeListener: OnEvent<this>;
359
+
360
+ functions: {
361
+ GOV_PROXY(overrides?: CallOverrides): Promise<[string]>;
362
+
363
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(
364
+ overrides?: CallOverrides
365
+ ): Promise<[string]>;
366
+
367
+ LZ_EID(overrides?: CallOverrides): Promise<[number]>;
368
+
369
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<[string]>;
370
+
371
+ SELF_CHAIN_SHORT_NAME(overrides?: CallOverrides): Promise<[string]>;
372
+
373
+ SPOKE_PT_OFT_CREATION_CODE(overrides?: CallOverrides): Promise<[string]>;
374
+
375
+ deployHubPtOftAdapter(
376
+ hubPt: string,
377
+ overrides?: Overrides & { from?: string | Promise<string> }
378
+ ): Promise<ContractTransaction>;
379
+
380
+ deploySpokePtOft(
381
+ hubPt: string,
382
+ toPeerEid: BigNumberish,
383
+ options: BytesLike,
384
+ fee: MessagingFeeStruct,
385
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
386
+ ): Promise<ContractTransaction>;
387
+
388
+ derivePtOftAddress(
389
+ peerLzEid: BigNumberish,
390
+ hubLzEid: BigNumberish,
391
+ hubPt: string,
392
+ overrides?: CallOverrides
393
+ ): Promise<[string] & { oft: string }>;
394
+
395
+ endpoint(
396
+ overrides?: CallOverrides
397
+ ): Promise<[string] & { iEndpoint: string }>;
398
+
399
+ oAppVersion(
400
+ overrides?: CallOverrides
401
+ ): Promise<
402
+ [BigNumber, BigNumber] & {
403
+ senderVersion: BigNumber;
404
+ receiverVersion: BigNumber;
405
+ }
406
+ >;
407
+
408
+ peers(
409
+ _eid: BigNumberish,
410
+ overrides?: CallOverrides
411
+ ): Promise<[string] & { peer: string }>;
412
+
413
+ quoteDeploySpokePtOft(
414
+ hubPt: string,
415
+ toPeerEid: BigNumberish,
416
+ options: BytesLike,
417
+ payInLzToken: boolean,
418
+ overrides?: CallOverrides
419
+ ): Promise<[MessagingFeeStructOutput] & { fee: MessagingFeeStructOutput }>;
420
+
421
+ quoteRemoteSelfWire(
422
+ peerEid: BigNumberish,
423
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
424
+ options: BytesLike,
425
+ payInLzToken: boolean,
426
+ overrides?: CallOverrides
427
+ ): Promise<[MessagingFeeStructOutput] & { fee: MessagingFeeStructOutput }>;
428
+
429
+ quoteRemoteWirePtOft(
430
+ peerEid: BigNumberish,
431
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
432
+ options: BytesLike,
433
+ payInLzToken: boolean,
434
+ overrides?: CallOverrides
435
+ ): Promise<[MessagingFeeStructOutput] & { fee: MessagingFeeStructOutput }>;
436
+
437
+ remoteSelfWire(
438
+ peerEid: BigNumberish,
439
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
440
+ options: BytesLike,
441
+ fee: MessagingFeeStruct,
442
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
443
+ ): Promise<ContractTransaction>;
444
+
445
+ remoteWirePtOft(
446
+ peerEid: BigNumberish,
447
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
448
+ options: BytesLike,
449
+ fee: MessagingFeeStruct,
450
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
451
+ ): Promise<ContractTransaction>;
452
+
453
+ selfWire(
454
+ params: IPBridgePTFactory.SelfWireParamsStruct,
455
+ overrides?: Overrides & { from?: string | Promise<string> }
456
+ ): Promise<ContractTransaction>;
457
+
458
+ setDelegate(
459
+ _delegate: string,
460
+ overrides?: Overrides & { from?: string | Promise<string> }
461
+ ): Promise<ContractTransaction>;
462
+
463
+ setPeer(
464
+ _eid: BigNumberish,
465
+ _peer: BytesLike,
466
+ overrides?: Overrides & { from?: string | Promise<string> }
467
+ ): Promise<ContractTransaction>;
468
+
469
+ wirePtOft(
470
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
471
+ overrides?: Overrides & { from?: string | Promise<string> }
472
+ ): Promise<ContractTransaction>;
473
+ };
474
+
475
+ GOV_PROXY(overrides?: CallOverrides): Promise<string>;
476
+
477
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(overrides?: CallOverrides): Promise<string>;
478
+
479
+ LZ_EID(overrides?: CallOverrides): Promise<number>;
480
+
481
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<string>;
482
+
483
+ SELF_CHAIN_SHORT_NAME(overrides?: CallOverrides): Promise<string>;
484
+
485
+ SPOKE_PT_OFT_CREATION_CODE(overrides?: CallOverrides): Promise<string>;
486
+
487
+ deployHubPtOftAdapter(
488
+ hubPt: string,
489
+ overrides?: Overrides & { from?: string | Promise<string> }
490
+ ): Promise<ContractTransaction>;
491
+
492
+ deploySpokePtOft(
493
+ hubPt: string,
494
+ toPeerEid: BigNumberish,
495
+ options: BytesLike,
496
+ fee: MessagingFeeStruct,
497
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
498
+ ): Promise<ContractTransaction>;
499
+
500
+ derivePtOftAddress(
501
+ peerLzEid: BigNumberish,
502
+ hubLzEid: BigNumberish,
503
+ hubPt: string,
504
+ overrides?: CallOverrides
505
+ ): Promise<string>;
506
+
507
+ endpoint(overrides?: CallOverrides): Promise<string>;
508
+
509
+ oAppVersion(
510
+ overrides?: CallOverrides
511
+ ): Promise<
512
+ [BigNumber, BigNumber] & {
513
+ senderVersion: BigNumber;
514
+ receiverVersion: BigNumber;
515
+ }
516
+ >;
517
+
518
+ peers(_eid: BigNumberish, overrides?: CallOverrides): Promise<string>;
519
+
520
+ quoteDeploySpokePtOft(
521
+ hubPt: string,
522
+ toPeerEid: BigNumberish,
523
+ options: BytesLike,
524
+ payInLzToken: boolean,
525
+ overrides?: CallOverrides
526
+ ): Promise<MessagingFeeStructOutput>;
527
+
528
+ quoteRemoteSelfWire(
529
+ peerEid: BigNumberish,
530
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
531
+ options: BytesLike,
532
+ payInLzToken: boolean,
533
+ overrides?: CallOverrides
534
+ ): Promise<MessagingFeeStructOutput>;
535
+
536
+ quoteRemoteWirePtOft(
537
+ peerEid: BigNumberish,
538
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
539
+ options: BytesLike,
540
+ payInLzToken: boolean,
541
+ overrides?: CallOverrides
542
+ ): Promise<MessagingFeeStructOutput>;
543
+
544
+ remoteSelfWire(
545
+ peerEid: BigNumberish,
546
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
547
+ options: BytesLike,
548
+ fee: MessagingFeeStruct,
549
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
550
+ ): Promise<ContractTransaction>;
551
+
552
+ remoteWirePtOft(
553
+ peerEid: BigNumberish,
554
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
555
+ options: BytesLike,
556
+ fee: MessagingFeeStruct,
557
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
558
+ ): Promise<ContractTransaction>;
559
+
560
+ selfWire(
561
+ params: IPBridgePTFactory.SelfWireParamsStruct,
562
+ overrides?: Overrides & { from?: string | Promise<string> }
563
+ ): Promise<ContractTransaction>;
564
+
565
+ setDelegate(
566
+ _delegate: string,
567
+ overrides?: Overrides & { from?: string | Promise<string> }
568
+ ): Promise<ContractTransaction>;
569
+
570
+ setPeer(
571
+ _eid: BigNumberish,
572
+ _peer: BytesLike,
573
+ overrides?: Overrides & { from?: string | Promise<string> }
574
+ ): Promise<ContractTransaction>;
575
+
576
+ wirePtOft(
577
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
578
+ overrides?: Overrides & { from?: string | Promise<string> }
579
+ ): Promise<ContractTransaction>;
580
+
581
+ callStatic: {
582
+ GOV_PROXY(overrides?: CallOverrides): Promise<string>;
583
+
584
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(
585
+ overrides?: CallOverrides
586
+ ): Promise<string>;
587
+
588
+ LZ_EID(overrides?: CallOverrides): Promise<number>;
589
+
590
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<string>;
591
+
592
+ SELF_CHAIN_SHORT_NAME(overrides?: CallOverrides): Promise<string>;
593
+
594
+ SPOKE_PT_OFT_CREATION_CODE(overrides?: CallOverrides): Promise<string>;
595
+
596
+ deployHubPtOftAdapter(
597
+ hubPt: string,
598
+ overrides?: CallOverrides
599
+ ): Promise<string>;
600
+
601
+ deploySpokePtOft(
602
+ hubPt: string,
603
+ toPeerEid: BigNumberish,
604
+ options: BytesLike,
605
+ fee: MessagingFeeStruct,
606
+ overrides?: CallOverrides
607
+ ): Promise<MessagingReceiptStructOutput>;
608
+
609
+ derivePtOftAddress(
610
+ peerLzEid: BigNumberish,
611
+ hubLzEid: BigNumberish,
612
+ hubPt: string,
613
+ overrides?: CallOverrides
614
+ ): Promise<string>;
615
+
616
+ endpoint(overrides?: CallOverrides): Promise<string>;
617
+
618
+ oAppVersion(
619
+ overrides?: CallOverrides
620
+ ): Promise<
621
+ [BigNumber, BigNumber] & {
622
+ senderVersion: BigNumber;
623
+ receiverVersion: BigNumber;
624
+ }
625
+ >;
626
+
627
+ peers(_eid: BigNumberish, overrides?: CallOverrides): Promise<string>;
628
+
629
+ quoteDeploySpokePtOft(
630
+ hubPt: string,
631
+ toPeerEid: BigNumberish,
632
+ options: BytesLike,
633
+ payInLzToken: boolean,
634
+ overrides?: CallOverrides
635
+ ): Promise<MessagingFeeStructOutput>;
636
+
637
+ quoteRemoteSelfWire(
638
+ peerEid: BigNumberish,
639
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
640
+ options: BytesLike,
641
+ payInLzToken: boolean,
642
+ overrides?: CallOverrides
643
+ ): Promise<MessagingFeeStructOutput>;
644
+
645
+ quoteRemoteWirePtOft(
646
+ peerEid: BigNumberish,
647
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
648
+ options: BytesLike,
649
+ payInLzToken: boolean,
650
+ overrides?: CallOverrides
651
+ ): Promise<MessagingFeeStructOutput>;
652
+
653
+ remoteSelfWire(
654
+ peerEid: BigNumberish,
655
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
656
+ options: BytesLike,
657
+ fee: MessagingFeeStruct,
658
+ overrides?: CallOverrides
659
+ ): Promise<MessagingReceiptStructOutput>;
660
+
661
+ remoteWirePtOft(
662
+ peerEid: BigNumberish,
663
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
664
+ options: BytesLike,
665
+ fee: MessagingFeeStruct,
666
+ overrides?: CallOverrides
667
+ ): Promise<MessagingReceiptStructOutput>;
668
+
669
+ selfWire(
670
+ params: IPBridgePTFactory.SelfWireParamsStruct,
671
+ overrides?: CallOverrides
672
+ ): Promise<void>;
673
+
674
+ setDelegate(_delegate: string, overrides?: CallOverrides): Promise<void>;
675
+
676
+ setPeer(
677
+ _eid: BigNumberish,
678
+ _peer: BytesLike,
679
+ overrides?: CallOverrides
680
+ ): Promise<void>;
681
+
682
+ wirePtOft(
683
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
684
+ overrides?: CallOverrides
685
+ ): Promise<void>;
686
+ };
687
+
688
+ filters: {
689
+ "FactoryWired(uint32,address)"(
690
+ peerEid?: BigNumberish | null,
691
+ peer?: string | null
692
+ ): FactoryWiredEventFilter;
693
+ FactoryWired(
694
+ peerEid?: BigNumberish | null,
695
+ peer?: string | null
696
+ ): FactoryWiredEventFilter;
697
+
698
+ "PTOFTDeployed(uint32,bytes32,address)"(
699
+ lzEid?: BigNumberish | null,
700
+ originalPt?: BytesLike | null,
701
+ oft?: string | null
702
+ ): PTOFTDeployedEventFilter;
703
+ PTOFTDeployed(
704
+ lzEid?: BigNumberish | null,
705
+ originalPt?: BytesLike | null,
706
+ oft?: string | null
707
+ ): PTOFTDeployedEventFilter;
708
+
709
+ "PTOFTWired(uint32,address,uint32[])"(
710
+ hubLzEid?: BigNumberish | null,
711
+ hubPt?: string | null,
712
+ toPeerEids?: null
713
+ ): PTOFTWiredEventFilter;
714
+ PTOFTWired(
715
+ hubLzEid?: BigNumberish | null,
716
+ hubPt?: string | null,
717
+ toPeerEids?: null
718
+ ): PTOFTWiredEventFilter;
719
+
720
+ "PeerSet(uint32,bytes32)"(eid?: null, peer?: null): PeerSetEventFilter;
721
+ PeerSet(eid?: null, peer?: null): PeerSetEventFilter;
722
+ };
723
+
724
+ estimateGas: {
725
+ GOV_PROXY(overrides?: CallOverrides): Promise<BigNumber>;
726
+
727
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(
728
+ overrides?: CallOverrides
729
+ ): Promise<BigNumber>;
730
+
731
+ LZ_EID(overrides?: CallOverrides): Promise<BigNumber>;
732
+
733
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<BigNumber>;
734
+
735
+ SELF_CHAIN_SHORT_NAME(overrides?: CallOverrides): Promise<BigNumber>;
736
+
737
+ SPOKE_PT_OFT_CREATION_CODE(overrides?: CallOverrides): Promise<BigNumber>;
738
+
739
+ deployHubPtOftAdapter(
740
+ hubPt: string,
741
+ overrides?: Overrides & { from?: string | Promise<string> }
742
+ ): Promise<BigNumber>;
743
+
744
+ deploySpokePtOft(
745
+ hubPt: string,
746
+ toPeerEid: BigNumberish,
747
+ options: BytesLike,
748
+ fee: MessagingFeeStruct,
749
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
750
+ ): Promise<BigNumber>;
751
+
752
+ derivePtOftAddress(
753
+ peerLzEid: BigNumberish,
754
+ hubLzEid: BigNumberish,
755
+ hubPt: string,
756
+ overrides?: CallOverrides
757
+ ): Promise<BigNumber>;
758
+
759
+ endpoint(overrides?: CallOverrides): Promise<BigNumber>;
760
+
761
+ oAppVersion(overrides?: CallOverrides): Promise<BigNumber>;
762
+
763
+ peers(_eid: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
764
+
765
+ quoteDeploySpokePtOft(
766
+ hubPt: string,
767
+ toPeerEid: BigNumberish,
768
+ options: BytesLike,
769
+ payInLzToken: boolean,
770
+ overrides?: CallOverrides
771
+ ): Promise<BigNumber>;
772
+
773
+ quoteRemoteSelfWire(
774
+ peerEid: BigNumberish,
775
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
776
+ options: BytesLike,
777
+ payInLzToken: boolean,
778
+ overrides?: CallOverrides
779
+ ): Promise<BigNumber>;
780
+
781
+ quoteRemoteWirePtOft(
782
+ peerEid: BigNumberish,
783
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
784
+ options: BytesLike,
785
+ payInLzToken: boolean,
786
+ overrides?: CallOverrides
787
+ ): Promise<BigNumber>;
788
+
789
+ remoteSelfWire(
790
+ peerEid: BigNumberish,
791
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
792
+ options: BytesLike,
793
+ fee: MessagingFeeStruct,
794
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
795
+ ): Promise<BigNumber>;
796
+
797
+ remoteWirePtOft(
798
+ peerEid: BigNumberish,
799
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
800
+ options: BytesLike,
801
+ fee: MessagingFeeStruct,
802
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
803
+ ): Promise<BigNumber>;
804
+
805
+ selfWire(
806
+ params: IPBridgePTFactory.SelfWireParamsStruct,
807
+ overrides?: Overrides & { from?: string | Promise<string> }
808
+ ): Promise<BigNumber>;
809
+
810
+ setDelegate(
811
+ _delegate: string,
812
+ overrides?: Overrides & { from?: string | Promise<string> }
813
+ ): Promise<BigNumber>;
814
+
815
+ setPeer(
816
+ _eid: BigNumberish,
817
+ _peer: BytesLike,
818
+ overrides?: Overrides & { from?: string | Promise<string> }
819
+ ): Promise<BigNumber>;
820
+
821
+ wirePtOft(
822
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
823
+ overrides?: Overrides & { from?: string | Promise<string> }
824
+ ): Promise<BigNumber>;
825
+ };
826
+
827
+ populateTransaction: {
828
+ GOV_PROXY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
829
+
830
+ HUB_PT_OFT_ADAPTER_CREATION_CODE(
831
+ overrides?: CallOverrides
832
+ ): Promise<PopulatedTransaction>;
833
+
834
+ LZ_EID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
835
+
836
+ OFT_PROXY_ADMIN(overrides?: CallOverrides): Promise<PopulatedTransaction>;
837
+
838
+ SELF_CHAIN_SHORT_NAME(
839
+ overrides?: CallOverrides
840
+ ): Promise<PopulatedTransaction>;
841
+
842
+ SPOKE_PT_OFT_CREATION_CODE(
843
+ overrides?: CallOverrides
844
+ ): Promise<PopulatedTransaction>;
845
+
846
+ deployHubPtOftAdapter(
847
+ hubPt: string,
848
+ overrides?: Overrides & { from?: string | Promise<string> }
849
+ ): Promise<PopulatedTransaction>;
850
+
851
+ deploySpokePtOft(
852
+ hubPt: string,
853
+ toPeerEid: BigNumberish,
854
+ options: BytesLike,
855
+ fee: MessagingFeeStruct,
856
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
857
+ ): Promise<PopulatedTransaction>;
858
+
859
+ derivePtOftAddress(
860
+ peerLzEid: BigNumberish,
861
+ hubLzEid: BigNumberish,
862
+ hubPt: string,
863
+ overrides?: CallOverrides
864
+ ): Promise<PopulatedTransaction>;
865
+
866
+ endpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
867
+
868
+ oAppVersion(overrides?: CallOverrides): Promise<PopulatedTransaction>;
869
+
870
+ peers(
871
+ _eid: BigNumberish,
872
+ overrides?: CallOverrides
873
+ ): Promise<PopulatedTransaction>;
874
+
875
+ quoteDeploySpokePtOft(
876
+ hubPt: string,
877
+ toPeerEid: BigNumberish,
878
+ options: BytesLike,
879
+ payInLzToken: boolean,
880
+ overrides?: CallOverrides
881
+ ): Promise<PopulatedTransaction>;
882
+
883
+ quoteRemoteSelfWire(
884
+ peerEid: BigNumberish,
885
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
886
+ options: BytesLike,
887
+ payInLzToken: boolean,
888
+ overrides?: CallOverrides
889
+ ): Promise<PopulatedTransaction>;
890
+
891
+ quoteRemoteWirePtOft(
892
+ peerEid: BigNumberish,
893
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
894
+ options: BytesLike,
895
+ payInLzToken: boolean,
896
+ overrides?: CallOverrides
897
+ ): Promise<PopulatedTransaction>;
898
+
899
+ remoteSelfWire(
900
+ peerEid: BigNumberish,
901
+ wireParams: IPBridgePTFactory.SelfWireParamsStruct,
902
+ options: BytesLike,
903
+ fee: MessagingFeeStruct,
904
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
905
+ ): Promise<PopulatedTransaction>;
906
+
907
+ remoteWirePtOft(
908
+ peerEid: BigNumberish,
909
+ wireParams: IPBridgePTFactory.WirePtOftParamsStruct,
910
+ options: BytesLike,
911
+ fee: MessagingFeeStruct,
912
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
913
+ ): Promise<PopulatedTransaction>;
914
+
915
+ selfWire(
916
+ params: IPBridgePTFactory.SelfWireParamsStruct,
917
+ overrides?: Overrides & { from?: string | Promise<string> }
918
+ ): Promise<PopulatedTransaction>;
919
+
920
+ setDelegate(
921
+ _delegate: string,
922
+ overrides?: Overrides & { from?: string | Promise<string> }
923
+ ): Promise<PopulatedTransaction>;
924
+
925
+ setPeer(
926
+ _eid: BigNumberish,
927
+ _peer: BytesLike,
928
+ overrides?: Overrides & { from?: string | Promise<string> }
929
+ ): Promise<PopulatedTransaction>;
930
+
931
+ wirePtOft(
932
+ params: IPBridgePTFactory.WirePtOftParamsStruct,
933
+ overrides?: Overrides & { from?: string | Promise<string> }
934
+ ): Promise<PopulatedTransaction>;
935
+ };
936
+ }