@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,1628 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type { PendleOFTAlt, PendleOFTAltInterface } from "../PendleOFTAlt";
7
+
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "_lzEndpoint",
14
+ type: "address",
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "_delegate",
19
+ type: "address",
20
+ },
21
+ ],
22
+ stateMutability: "nonpayable",
23
+ type: "constructor",
24
+ },
25
+ {
26
+ inputs: [
27
+ {
28
+ internalType: "uint256",
29
+ name: "amountSD",
30
+ type: "uint256",
31
+ },
32
+ ],
33
+ name: "AmountSDOverflowed",
34
+ type: "error",
35
+ },
36
+ {
37
+ inputs: [],
38
+ name: "InvalidDelegate",
39
+ type: "error",
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: "InvalidEndpointCall",
44
+ type: "error",
45
+ },
46
+ {
47
+ inputs: [],
48
+ name: "InvalidLocalDecimals",
49
+ type: "error",
50
+ },
51
+ {
52
+ inputs: [
53
+ {
54
+ internalType: "bytes",
55
+ name: "options",
56
+ type: "bytes",
57
+ },
58
+ ],
59
+ name: "InvalidOptions",
60
+ type: "error",
61
+ },
62
+ {
63
+ inputs: [],
64
+ name: "LzTokenUnavailable",
65
+ type: "error",
66
+ },
67
+ {
68
+ inputs: [
69
+ {
70
+ internalType: "uint256",
71
+ name: "msgValue",
72
+ type: "uint256",
73
+ },
74
+ ],
75
+ name: "MsgValueNotZero",
76
+ type: "error",
77
+ },
78
+ {
79
+ inputs: [],
80
+ name: "NativeTokenUnavailable",
81
+ type: "error",
82
+ },
83
+ {
84
+ inputs: [
85
+ {
86
+ internalType: "uint32",
87
+ name: "eid",
88
+ type: "uint32",
89
+ },
90
+ ],
91
+ name: "NoPeer",
92
+ type: "error",
93
+ },
94
+ {
95
+ inputs: [
96
+ {
97
+ internalType: "uint256",
98
+ name: "msgValue",
99
+ type: "uint256",
100
+ },
101
+ ],
102
+ name: "NotEnoughNative",
103
+ type: "error",
104
+ },
105
+ {
106
+ inputs: [
107
+ {
108
+ internalType: "address",
109
+ name: "addr",
110
+ type: "address",
111
+ },
112
+ ],
113
+ name: "OnlyEndpoint",
114
+ type: "error",
115
+ },
116
+ {
117
+ inputs: [
118
+ {
119
+ internalType: "uint32",
120
+ name: "eid",
121
+ type: "uint32",
122
+ },
123
+ {
124
+ internalType: "bytes32",
125
+ name: "sender",
126
+ type: "bytes32",
127
+ },
128
+ ],
129
+ name: "OnlyPeer",
130
+ type: "error",
131
+ },
132
+ {
133
+ inputs: [],
134
+ name: "OnlySelf",
135
+ type: "error",
136
+ },
137
+ {
138
+ inputs: [
139
+ {
140
+ internalType: "bytes",
141
+ name: "result",
142
+ type: "bytes",
143
+ },
144
+ ],
145
+ name: "SimulationResult",
146
+ type: "error",
147
+ },
148
+ {
149
+ inputs: [
150
+ {
151
+ internalType: "uint256",
152
+ name: "amountLD",
153
+ type: "uint256",
154
+ },
155
+ {
156
+ internalType: "uint256",
157
+ name: "minAmountLD",
158
+ type: "uint256",
159
+ },
160
+ ],
161
+ name: "SlippageExceeded",
162
+ type: "error",
163
+ },
164
+ {
165
+ anonymous: false,
166
+ inputs: [
167
+ {
168
+ indexed: true,
169
+ internalType: "address",
170
+ name: "owner",
171
+ type: "address",
172
+ },
173
+ {
174
+ indexed: true,
175
+ internalType: "address",
176
+ name: "spender",
177
+ type: "address",
178
+ },
179
+ {
180
+ indexed: false,
181
+ internalType: "uint256",
182
+ name: "value",
183
+ type: "uint256",
184
+ },
185
+ ],
186
+ name: "Approval",
187
+ type: "event",
188
+ },
189
+ {
190
+ anonymous: false,
191
+ inputs: [
192
+ {
193
+ components: [
194
+ {
195
+ internalType: "uint32",
196
+ name: "eid",
197
+ type: "uint32",
198
+ },
199
+ {
200
+ internalType: "uint16",
201
+ name: "msgType",
202
+ type: "uint16",
203
+ },
204
+ {
205
+ internalType: "bytes",
206
+ name: "options",
207
+ type: "bytes",
208
+ },
209
+ ],
210
+ indexed: false,
211
+ internalType: "struct EnforcedOptionParam[]",
212
+ name: "_enforcedOptions",
213
+ type: "tuple[]",
214
+ },
215
+ ],
216
+ name: "EnforcedOptionSet",
217
+ type: "event",
218
+ },
219
+ {
220
+ anonymous: false,
221
+ inputs: [
222
+ {
223
+ indexed: false,
224
+ internalType: "address",
225
+ name: "inspector",
226
+ type: "address",
227
+ },
228
+ ],
229
+ name: "MsgInspectorSet",
230
+ type: "event",
231
+ },
232
+ {
233
+ anonymous: false,
234
+ inputs: [
235
+ {
236
+ indexed: true,
237
+ internalType: "bytes32",
238
+ name: "guid",
239
+ type: "bytes32",
240
+ },
241
+ {
242
+ indexed: false,
243
+ internalType: "uint32",
244
+ name: "srcEid",
245
+ type: "uint32",
246
+ },
247
+ {
248
+ indexed: true,
249
+ internalType: "address",
250
+ name: "toAddress",
251
+ type: "address",
252
+ },
253
+ {
254
+ indexed: false,
255
+ internalType: "uint256",
256
+ name: "amountReceivedLD",
257
+ type: "uint256",
258
+ },
259
+ ],
260
+ name: "OFTReceived",
261
+ type: "event",
262
+ },
263
+ {
264
+ anonymous: false,
265
+ inputs: [
266
+ {
267
+ indexed: true,
268
+ internalType: "bytes32",
269
+ name: "guid",
270
+ type: "bytes32",
271
+ },
272
+ {
273
+ indexed: false,
274
+ internalType: "uint32",
275
+ name: "dstEid",
276
+ type: "uint32",
277
+ },
278
+ {
279
+ indexed: true,
280
+ internalType: "address",
281
+ name: "fromAddress",
282
+ type: "address",
283
+ },
284
+ {
285
+ indexed: false,
286
+ internalType: "uint256",
287
+ name: "amountSentLD",
288
+ type: "uint256",
289
+ },
290
+ {
291
+ indexed: false,
292
+ internalType: "uint256",
293
+ name: "amountReceivedLD",
294
+ type: "uint256",
295
+ },
296
+ ],
297
+ name: "OFTSent",
298
+ type: "event",
299
+ },
300
+ {
301
+ anonymous: false,
302
+ inputs: [
303
+ {
304
+ indexed: true,
305
+ internalType: "address",
306
+ name: "previousOwner",
307
+ type: "address",
308
+ },
309
+ {
310
+ indexed: true,
311
+ internalType: "address",
312
+ name: "newOwner",
313
+ type: "address",
314
+ },
315
+ ],
316
+ name: "OwnershipTransferred",
317
+ type: "event",
318
+ },
319
+ {
320
+ anonymous: false,
321
+ inputs: [
322
+ {
323
+ indexed: false,
324
+ internalType: "uint32",
325
+ name: "eid",
326
+ type: "uint32",
327
+ },
328
+ {
329
+ indexed: false,
330
+ internalType: "bytes32",
331
+ name: "peer",
332
+ type: "bytes32",
333
+ },
334
+ ],
335
+ name: "PeerSet",
336
+ type: "event",
337
+ },
338
+ {
339
+ anonymous: false,
340
+ inputs: [
341
+ {
342
+ indexed: false,
343
+ internalType: "address",
344
+ name: "preCrimeAddress",
345
+ type: "address",
346
+ },
347
+ ],
348
+ name: "PreCrimeSet",
349
+ type: "event",
350
+ },
351
+ {
352
+ anonymous: false,
353
+ inputs: [
354
+ {
355
+ indexed: true,
356
+ internalType: "address",
357
+ name: "from",
358
+ type: "address",
359
+ },
360
+ {
361
+ indexed: true,
362
+ internalType: "address",
363
+ name: "to",
364
+ type: "address",
365
+ },
366
+ {
367
+ indexed: false,
368
+ internalType: "uint256",
369
+ name: "value",
370
+ type: "uint256",
371
+ },
372
+ ],
373
+ name: "Transfer",
374
+ type: "event",
375
+ },
376
+ {
377
+ inputs: [],
378
+ name: "SEND",
379
+ outputs: [
380
+ {
381
+ internalType: "uint16",
382
+ name: "",
383
+ type: "uint16",
384
+ },
385
+ ],
386
+ stateMutability: "view",
387
+ type: "function",
388
+ },
389
+ {
390
+ inputs: [],
391
+ name: "SEND_AND_CALL",
392
+ outputs: [
393
+ {
394
+ internalType: "uint16",
395
+ name: "",
396
+ type: "uint16",
397
+ },
398
+ ],
399
+ stateMutability: "view",
400
+ type: "function",
401
+ },
402
+ {
403
+ inputs: [
404
+ {
405
+ components: [
406
+ {
407
+ internalType: "uint32",
408
+ name: "srcEid",
409
+ type: "uint32",
410
+ },
411
+ {
412
+ internalType: "bytes32",
413
+ name: "sender",
414
+ type: "bytes32",
415
+ },
416
+ {
417
+ internalType: "uint64",
418
+ name: "nonce",
419
+ type: "uint64",
420
+ },
421
+ ],
422
+ internalType: "struct Origin",
423
+ name: "origin",
424
+ type: "tuple",
425
+ },
426
+ ],
427
+ name: "allowInitializePath",
428
+ outputs: [
429
+ {
430
+ internalType: "bool",
431
+ name: "",
432
+ type: "bool",
433
+ },
434
+ ],
435
+ stateMutability: "view",
436
+ type: "function",
437
+ },
438
+ {
439
+ inputs: [
440
+ {
441
+ internalType: "address",
442
+ name: "owner",
443
+ type: "address",
444
+ },
445
+ {
446
+ internalType: "address",
447
+ name: "spender",
448
+ type: "address",
449
+ },
450
+ ],
451
+ name: "allowance",
452
+ outputs: [
453
+ {
454
+ internalType: "uint256",
455
+ name: "",
456
+ type: "uint256",
457
+ },
458
+ ],
459
+ stateMutability: "view",
460
+ type: "function",
461
+ },
462
+ {
463
+ inputs: [],
464
+ name: "approvalRequired",
465
+ outputs: [
466
+ {
467
+ internalType: "bool",
468
+ name: "",
469
+ type: "bool",
470
+ },
471
+ ],
472
+ stateMutability: "pure",
473
+ type: "function",
474
+ },
475
+ {
476
+ inputs: [
477
+ {
478
+ internalType: "address",
479
+ name: "spender",
480
+ type: "address",
481
+ },
482
+ {
483
+ internalType: "uint256",
484
+ name: "amount",
485
+ type: "uint256",
486
+ },
487
+ ],
488
+ name: "approve",
489
+ outputs: [
490
+ {
491
+ internalType: "bool",
492
+ name: "",
493
+ type: "bool",
494
+ },
495
+ ],
496
+ stateMutability: "nonpayable",
497
+ type: "function",
498
+ },
499
+ {
500
+ inputs: [
501
+ {
502
+ internalType: "address",
503
+ name: "account",
504
+ type: "address",
505
+ },
506
+ ],
507
+ name: "balanceOf",
508
+ outputs: [
509
+ {
510
+ internalType: "uint256",
511
+ name: "",
512
+ type: "uint256",
513
+ },
514
+ ],
515
+ stateMutability: "view",
516
+ type: "function",
517
+ },
518
+ {
519
+ inputs: [
520
+ {
521
+ internalType: "uint32",
522
+ name: "_eid",
523
+ type: "uint32",
524
+ },
525
+ {
526
+ internalType: "uint16",
527
+ name: "_msgType",
528
+ type: "uint16",
529
+ },
530
+ {
531
+ internalType: "bytes",
532
+ name: "_extraOptions",
533
+ type: "bytes",
534
+ },
535
+ ],
536
+ name: "combineOptions",
537
+ outputs: [
538
+ {
539
+ internalType: "bytes",
540
+ name: "",
541
+ type: "bytes",
542
+ },
543
+ ],
544
+ stateMutability: "view",
545
+ type: "function",
546
+ },
547
+ {
548
+ inputs: [],
549
+ name: "decimalConversionRate",
550
+ outputs: [
551
+ {
552
+ internalType: "uint256",
553
+ name: "",
554
+ type: "uint256",
555
+ },
556
+ ],
557
+ stateMutability: "view",
558
+ type: "function",
559
+ },
560
+ {
561
+ inputs: [],
562
+ name: "decimals",
563
+ outputs: [
564
+ {
565
+ internalType: "uint8",
566
+ name: "",
567
+ type: "uint8",
568
+ },
569
+ ],
570
+ stateMutability: "view",
571
+ type: "function",
572
+ },
573
+ {
574
+ inputs: [
575
+ {
576
+ internalType: "address",
577
+ name: "spender",
578
+ type: "address",
579
+ },
580
+ {
581
+ internalType: "uint256",
582
+ name: "subtractedValue",
583
+ type: "uint256",
584
+ },
585
+ ],
586
+ name: "decreaseAllowance",
587
+ outputs: [
588
+ {
589
+ internalType: "bool",
590
+ name: "",
591
+ type: "bool",
592
+ },
593
+ ],
594
+ stateMutability: "nonpayable",
595
+ type: "function",
596
+ },
597
+ {
598
+ inputs: [],
599
+ name: "endpoint",
600
+ outputs: [
601
+ {
602
+ internalType: "contract ILayerZeroEndpointV2",
603
+ name: "",
604
+ type: "address",
605
+ },
606
+ ],
607
+ stateMutability: "view",
608
+ type: "function",
609
+ },
610
+ {
611
+ inputs: [
612
+ {
613
+ internalType: "uint32",
614
+ name: "eid",
615
+ type: "uint32",
616
+ },
617
+ {
618
+ internalType: "uint16",
619
+ name: "msgType",
620
+ type: "uint16",
621
+ },
622
+ ],
623
+ name: "enforcedOptions",
624
+ outputs: [
625
+ {
626
+ internalType: "bytes",
627
+ name: "enforcedOption",
628
+ type: "bytes",
629
+ },
630
+ ],
631
+ stateMutability: "view",
632
+ type: "function",
633
+ },
634
+ {
635
+ inputs: [
636
+ {
637
+ internalType: "address",
638
+ name: "spender",
639
+ type: "address",
640
+ },
641
+ {
642
+ internalType: "uint256",
643
+ name: "addedValue",
644
+ type: "uint256",
645
+ },
646
+ ],
647
+ name: "increaseAllowance",
648
+ outputs: [
649
+ {
650
+ internalType: "bool",
651
+ name: "",
652
+ type: "bool",
653
+ },
654
+ ],
655
+ stateMutability: "nonpayable",
656
+ type: "function",
657
+ },
658
+ {
659
+ inputs: [
660
+ {
661
+ components: [
662
+ {
663
+ internalType: "uint32",
664
+ name: "srcEid",
665
+ type: "uint32",
666
+ },
667
+ {
668
+ internalType: "bytes32",
669
+ name: "sender",
670
+ type: "bytes32",
671
+ },
672
+ {
673
+ internalType: "uint64",
674
+ name: "nonce",
675
+ type: "uint64",
676
+ },
677
+ ],
678
+ internalType: "struct Origin",
679
+ name: "",
680
+ type: "tuple",
681
+ },
682
+ {
683
+ internalType: "bytes",
684
+ name: "",
685
+ type: "bytes",
686
+ },
687
+ {
688
+ internalType: "address",
689
+ name: "_sender",
690
+ type: "address",
691
+ },
692
+ ],
693
+ name: "isComposeMsgSender",
694
+ outputs: [
695
+ {
696
+ internalType: "bool",
697
+ name: "",
698
+ type: "bool",
699
+ },
700
+ ],
701
+ stateMutability: "view",
702
+ type: "function",
703
+ },
704
+ {
705
+ inputs: [
706
+ {
707
+ internalType: "uint32",
708
+ name: "_eid",
709
+ type: "uint32",
710
+ },
711
+ {
712
+ internalType: "bytes32",
713
+ name: "_peer",
714
+ type: "bytes32",
715
+ },
716
+ ],
717
+ name: "isPeer",
718
+ outputs: [
719
+ {
720
+ internalType: "bool",
721
+ name: "",
722
+ type: "bool",
723
+ },
724
+ ],
725
+ stateMutability: "view",
726
+ type: "function",
727
+ },
728
+ {
729
+ inputs: [
730
+ {
731
+ components: [
732
+ {
733
+ internalType: "uint32",
734
+ name: "srcEid",
735
+ type: "uint32",
736
+ },
737
+ {
738
+ internalType: "bytes32",
739
+ name: "sender",
740
+ type: "bytes32",
741
+ },
742
+ {
743
+ internalType: "uint64",
744
+ name: "nonce",
745
+ type: "uint64",
746
+ },
747
+ ],
748
+ internalType: "struct Origin",
749
+ name: "_origin",
750
+ type: "tuple",
751
+ },
752
+ {
753
+ internalType: "bytes32",
754
+ name: "_guid",
755
+ type: "bytes32",
756
+ },
757
+ {
758
+ internalType: "bytes",
759
+ name: "_message",
760
+ type: "bytes",
761
+ },
762
+ {
763
+ internalType: "address",
764
+ name: "_executor",
765
+ type: "address",
766
+ },
767
+ {
768
+ internalType: "bytes",
769
+ name: "_extraData",
770
+ type: "bytes",
771
+ },
772
+ ],
773
+ name: "lzReceive",
774
+ outputs: [],
775
+ stateMutability: "payable",
776
+ type: "function",
777
+ },
778
+ {
779
+ inputs: [
780
+ {
781
+ components: [
782
+ {
783
+ components: [
784
+ {
785
+ internalType: "uint32",
786
+ name: "srcEid",
787
+ type: "uint32",
788
+ },
789
+ {
790
+ internalType: "bytes32",
791
+ name: "sender",
792
+ type: "bytes32",
793
+ },
794
+ {
795
+ internalType: "uint64",
796
+ name: "nonce",
797
+ type: "uint64",
798
+ },
799
+ ],
800
+ internalType: "struct Origin",
801
+ name: "origin",
802
+ type: "tuple",
803
+ },
804
+ {
805
+ internalType: "uint32",
806
+ name: "dstEid",
807
+ type: "uint32",
808
+ },
809
+ {
810
+ internalType: "address",
811
+ name: "receiver",
812
+ type: "address",
813
+ },
814
+ {
815
+ internalType: "bytes32",
816
+ name: "guid",
817
+ type: "bytes32",
818
+ },
819
+ {
820
+ internalType: "uint256",
821
+ name: "value",
822
+ type: "uint256",
823
+ },
824
+ {
825
+ internalType: "address",
826
+ name: "executor",
827
+ type: "address",
828
+ },
829
+ {
830
+ internalType: "bytes",
831
+ name: "message",
832
+ type: "bytes",
833
+ },
834
+ {
835
+ internalType: "bytes",
836
+ name: "extraData",
837
+ type: "bytes",
838
+ },
839
+ ],
840
+ internalType: "struct InboundPacket[]",
841
+ name: "_packets",
842
+ type: "tuple[]",
843
+ },
844
+ ],
845
+ name: "lzReceiveAndRevert",
846
+ outputs: [],
847
+ stateMutability: "payable",
848
+ type: "function",
849
+ },
850
+ {
851
+ inputs: [
852
+ {
853
+ components: [
854
+ {
855
+ internalType: "uint32",
856
+ name: "srcEid",
857
+ type: "uint32",
858
+ },
859
+ {
860
+ internalType: "bytes32",
861
+ name: "sender",
862
+ type: "bytes32",
863
+ },
864
+ {
865
+ internalType: "uint64",
866
+ name: "nonce",
867
+ type: "uint64",
868
+ },
869
+ ],
870
+ internalType: "struct Origin",
871
+ name: "_origin",
872
+ type: "tuple",
873
+ },
874
+ {
875
+ internalType: "bytes32",
876
+ name: "_guid",
877
+ type: "bytes32",
878
+ },
879
+ {
880
+ internalType: "bytes",
881
+ name: "_message",
882
+ type: "bytes",
883
+ },
884
+ {
885
+ internalType: "address",
886
+ name: "_executor",
887
+ type: "address",
888
+ },
889
+ {
890
+ internalType: "bytes",
891
+ name: "_extraData",
892
+ type: "bytes",
893
+ },
894
+ ],
895
+ name: "lzReceiveSimulate",
896
+ outputs: [],
897
+ stateMutability: "payable",
898
+ type: "function",
899
+ },
900
+ {
901
+ inputs: [],
902
+ name: "msgInspector",
903
+ outputs: [
904
+ {
905
+ internalType: "address",
906
+ name: "",
907
+ type: "address",
908
+ },
909
+ ],
910
+ stateMutability: "view",
911
+ type: "function",
912
+ },
913
+ {
914
+ inputs: [],
915
+ name: "name",
916
+ outputs: [
917
+ {
918
+ internalType: "string",
919
+ name: "",
920
+ type: "string",
921
+ },
922
+ ],
923
+ stateMutability: "view",
924
+ type: "function",
925
+ },
926
+ {
927
+ inputs: [],
928
+ name: "nativeToken",
929
+ outputs: [
930
+ {
931
+ internalType: "address",
932
+ name: "",
933
+ type: "address",
934
+ },
935
+ ],
936
+ stateMutability: "view",
937
+ type: "function",
938
+ },
939
+ {
940
+ inputs: [
941
+ {
942
+ internalType: "uint32",
943
+ name: "",
944
+ type: "uint32",
945
+ },
946
+ {
947
+ internalType: "bytes32",
948
+ name: "",
949
+ type: "bytes32",
950
+ },
951
+ ],
952
+ name: "nextNonce",
953
+ outputs: [
954
+ {
955
+ internalType: "uint64",
956
+ name: "nonce",
957
+ type: "uint64",
958
+ },
959
+ ],
960
+ stateMutability: "view",
961
+ type: "function",
962
+ },
963
+ {
964
+ inputs: [],
965
+ name: "oApp",
966
+ outputs: [
967
+ {
968
+ internalType: "address",
969
+ name: "",
970
+ type: "address",
971
+ },
972
+ ],
973
+ stateMutability: "view",
974
+ type: "function",
975
+ },
976
+ {
977
+ inputs: [],
978
+ name: "oAppVersion",
979
+ outputs: [
980
+ {
981
+ internalType: "uint64",
982
+ name: "senderVersion",
983
+ type: "uint64",
984
+ },
985
+ {
986
+ internalType: "uint64",
987
+ name: "receiverVersion",
988
+ type: "uint64",
989
+ },
990
+ ],
991
+ stateMutability: "pure",
992
+ type: "function",
993
+ },
994
+ {
995
+ inputs: [],
996
+ name: "oftVersion",
997
+ outputs: [
998
+ {
999
+ internalType: "bytes4",
1000
+ name: "interfaceId",
1001
+ type: "bytes4",
1002
+ },
1003
+ {
1004
+ internalType: "uint64",
1005
+ name: "version",
1006
+ type: "uint64",
1007
+ },
1008
+ ],
1009
+ stateMutability: "pure",
1010
+ type: "function",
1011
+ },
1012
+ {
1013
+ inputs: [],
1014
+ name: "owner",
1015
+ outputs: [
1016
+ {
1017
+ internalType: "address",
1018
+ name: "",
1019
+ type: "address",
1020
+ },
1021
+ ],
1022
+ stateMutability: "view",
1023
+ type: "function",
1024
+ },
1025
+ {
1026
+ inputs: [
1027
+ {
1028
+ internalType: "uint32",
1029
+ name: "eid",
1030
+ type: "uint32",
1031
+ },
1032
+ ],
1033
+ name: "peers",
1034
+ outputs: [
1035
+ {
1036
+ internalType: "bytes32",
1037
+ name: "peer",
1038
+ type: "bytes32",
1039
+ },
1040
+ ],
1041
+ stateMutability: "view",
1042
+ type: "function",
1043
+ },
1044
+ {
1045
+ inputs: [],
1046
+ name: "preCrime",
1047
+ outputs: [
1048
+ {
1049
+ internalType: "address",
1050
+ name: "",
1051
+ type: "address",
1052
+ },
1053
+ ],
1054
+ stateMutability: "view",
1055
+ type: "function",
1056
+ },
1057
+ {
1058
+ inputs: [
1059
+ {
1060
+ components: [
1061
+ {
1062
+ internalType: "uint32",
1063
+ name: "dstEid",
1064
+ type: "uint32",
1065
+ },
1066
+ {
1067
+ internalType: "bytes32",
1068
+ name: "to",
1069
+ type: "bytes32",
1070
+ },
1071
+ {
1072
+ internalType: "uint256",
1073
+ name: "amountLD",
1074
+ type: "uint256",
1075
+ },
1076
+ {
1077
+ internalType: "uint256",
1078
+ name: "minAmountLD",
1079
+ type: "uint256",
1080
+ },
1081
+ {
1082
+ internalType: "bytes",
1083
+ name: "extraOptions",
1084
+ type: "bytes",
1085
+ },
1086
+ {
1087
+ internalType: "bytes",
1088
+ name: "composeMsg",
1089
+ type: "bytes",
1090
+ },
1091
+ {
1092
+ internalType: "bytes",
1093
+ name: "oftCmd",
1094
+ type: "bytes",
1095
+ },
1096
+ ],
1097
+ internalType: "struct SendParam",
1098
+ name: "_sendParam",
1099
+ type: "tuple",
1100
+ },
1101
+ ],
1102
+ name: "quoteOFT",
1103
+ outputs: [
1104
+ {
1105
+ components: [
1106
+ {
1107
+ internalType: "uint256",
1108
+ name: "minAmountLD",
1109
+ type: "uint256",
1110
+ },
1111
+ {
1112
+ internalType: "uint256",
1113
+ name: "maxAmountLD",
1114
+ type: "uint256",
1115
+ },
1116
+ ],
1117
+ internalType: "struct OFTLimit",
1118
+ name: "oftLimit",
1119
+ type: "tuple",
1120
+ },
1121
+ {
1122
+ components: [
1123
+ {
1124
+ internalType: "int256",
1125
+ name: "feeAmountLD",
1126
+ type: "int256",
1127
+ },
1128
+ {
1129
+ internalType: "string",
1130
+ name: "description",
1131
+ type: "string",
1132
+ },
1133
+ ],
1134
+ internalType: "struct OFTFeeDetail[]",
1135
+ name: "oftFeeDetails",
1136
+ type: "tuple[]",
1137
+ },
1138
+ {
1139
+ components: [
1140
+ {
1141
+ internalType: "uint256",
1142
+ name: "amountSentLD",
1143
+ type: "uint256",
1144
+ },
1145
+ {
1146
+ internalType: "uint256",
1147
+ name: "amountReceivedLD",
1148
+ type: "uint256",
1149
+ },
1150
+ ],
1151
+ internalType: "struct OFTReceipt",
1152
+ name: "oftReceipt",
1153
+ type: "tuple",
1154
+ },
1155
+ ],
1156
+ stateMutability: "view",
1157
+ type: "function",
1158
+ },
1159
+ {
1160
+ inputs: [
1161
+ {
1162
+ components: [
1163
+ {
1164
+ internalType: "uint32",
1165
+ name: "dstEid",
1166
+ type: "uint32",
1167
+ },
1168
+ {
1169
+ internalType: "bytes32",
1170
+ name: "to",
1171
+ type: "bytes32",
1172
+ },
1173
+ {
1174
+ internalType: "uint256",
1175
+ name: "amountLD",
1176
+ type: "uint256",
1177
+ },
1178
+ {
1179
+ internalType: "uint256",
1180
+ name: "minAmountLD",
1181
+ type: "uint256",
1182
+ },
1183
+ {
1184
+ internalType: "bytes",
1185
+ name: "extraOptions",
1186
+ type: "bytes",
1187
+ },
1188
+ {
1189
+ internalType: "bytes",
1190
+ name: "composeMsg",
1191
+ type: "bytes",
1192
+ },
1193
+ {
1194
+ internalType: "bytes",
1195
+ name: "oftCmd",
1196
+ type: "bytes",
1197
+ },
1198
+ ],
1199
+ internalType: "struct SendParam",
1200
+ name: "_sendParam",
1201
+ type: "tuple",
1202
+ },
1203
+ {
1204
+ internalType: "bool",
1205
+ name: "_payInLzToken",
1206
+ type: "bool",
1207
+ },
1208
+ ],
1209
+ name: "quoteSend",
1210
+ outputs: [
1211
+ {
1212
+ components: [
1213
+ {
1214
+ internalType: "uint256",
1215
+ name: "nativeFee",
1216
+ type: "uint256",
1217
+ },
1218
+ {
1219
+ internalType: "uint256",
1220
+ name: "lzTokenFee",
1221
+ type: "uint256",
1222
+ },
1223
+ ],
1224
+ internalType: "struct MessagingFee",
1225
+ name: "msgFee",
1226
+ type: "tuple",
1227
+ },
1228
+ ],
1229
+ stateMutability: "view",
1230
+ type: "function",
1231
+ },
1232
+ {
1233
+ inputs: [],
1234
+ name: "renounceOwnership",
1235
+ outputs: [],
1236
+ stateMutability: "nonpayable",
1237
+ type: "function",
1238
+ },
1239
+ {
1240
+ inputs: [
1241
+ {
1242
+ components: [
1243
+ {
1244
+ internalType: "uint32",
1245
+ name: "dstEid",
1246
+ type: "uint32",
1247
+ },
1248
+ {
1249
+ internalType: "bytes32",
1250
+ name: "to",
1251
+ type: "bytes32",
1252
+ },
1253
+ {
1254
+ internalType: "uint256",
1255
+ name: "amountLD",
1256
+ type: "uint256",
1257
+ },
1258
+ {
1259
+ internalType: "uint256",
1260
+ name: "minAmountLD",
1261
+ type: "uint256",
1262
+ },
1263
+ {
1264
+ internalType: "bytes",
1265
+ name: "extraOptions",
1266
+ type: "bytes",
1267
+ },
1268
+ {
1269
+ internalType: "bytes",
1270
+ name: "composeMsg",
1271
+ type: "bytes",
1272
+ },
1273
+ {
1274
+ internalType: "bytes",
1275
+ name: "oftCmd",
1276
+ type: "bytes",
1277
+ },
1278
+ ],
1279
+ internalType: "struct SendParam",
1280
+ name: "_sendParam",
1281
+ type: "tuple",
1282
+ },
1283
+ {
1284
+ components: [
1285
+ {
1286
+ internalType: "uint256",
1287
+ name: "nativeFee",
1288
+ type: "uint256",
1289
+ },
1290
+ {
1291
+ internalType: "uint256",
1292
+ name: "lzTokenFee",
1293
+ type: "uint256",
1294
+ },
1295
+ ],
1296
+ internalType: "struct MessagingFee",
1297
+ name: "_fee",
1298
+ type: "tuple",
1299
+ },
1300
+ {
1301
+ internalType: "address",
1302
+ name: "_refundAddress",
1303
+ type: "address",
1304
+ },
1305
+ ],
1306
+ name: "send",
1307
+ outputs: [
1308
+ {
1309
+ components: [
1310
+ {
1311
+ internalType: "bytes32",
1312
+ name: "guid",
1313
+ type: "bytes32",
1314
+ },
1315
+ {
1316
+ internalType: "uint64",
1317
+ name: "nonce",
1318
+ type: "uint64",
1319
+ },
1320
+ {
1321
+ components: [
1322
+ {
1323
+ internalType: "uint256",
1324
+ name: "nativeFee",
1325
+ type: "uint256",
1326
+ },
1327
+ {
1328
+ internalType: "uint256",
1329
+ name: "lzTokenFee",
1330
+ type: "uint256",
1331
+ },
1332
+ ],
1333
+ internalType: "struct MessagingFee",
1334
+ name: "fee",
1335
+ type: "tuple",
1336
+ },
1337
+ ],
1338
+ internalType: "struct MessagingReceipt",
1339
+ name: "msgReceipt",
1340
+ type: "tuple",
1341
+ },
1342
+ {
1343
+ components: [
1344
+ {
1345
+ internalType: "uint256",
1346
+ name: "amountSentLD",
1347
+ type: "uint256",
1348
+ },
1349
+ {
1350
+ internalType: "uint256",
1351
+ name: "amountReceivedLD",
1352
+ type: "uint256",
1353
+ },
1354
+ ],
1355
+ internalType: "struct OFTReceipt",
1356
+ name: "oftReceipt",
1357
+ type: "tuple",
1358
+ },
1359
+ ],
1360
+ stateMutability: "payable",
1361
+ type: "function",
1362
+ },
1363
+ {
1364
+ inputs: [
1365
+ {
1366
+ internalType: "address",
1367
+ name: "_delegate",
1368
+ type: "address",
1369
+ },
1370
+ ],
1371
+ name: "setDelegate",
1372
+ outputs: [],
1373
+ stateMutability: "nonpayable",
1374
+ type: "function",
1375
+ },
1376
+ {
1377
+ inputs: [
1378
+ {
1379
+ components: [
1380
+ {
1381
+ internalType: "uint32",
1382
+ name: "eid",
1383
+ type: "uint32",
1384
+ },
1385
+ {
1386
+ internalType: "uint16",
1387
+ name: "msgType",
1388
+ type: "uint16",
1389
+ },
1390
+ {
1391
+ internalType: "bytes",
1392
+ name: "options",
1393
+ type: "bytes",
1394
+ },
1395
+ ],
1396
+ internalType: "struct EnforcedOptionParam[]",
1397
+ name: "_enforcedOptions",
1398
+ type: "tuple[]",
1399
+ },
1400
+ ],
1401
+ name: "setEnforcedOptions",
1402
+ outputs: [],
1403
+ stateMutability: "nonpayable",
1404
+ type: "function",
1405
+ },
1406
+ {
1407
+ inputs: [
1408
+ {
1409
+ internalType: "address",
1410
+ name: "_msgInspector",
1411
+ type: "address",
1412
+ },
1413
+ ],
1414
+ name: "setMsgInspector",
1415
+ outputs: [],
1416
+ stateMutability: "nonpayable",
1417
+ type: "function",
1418
+ },
1419
+ {
1420
+ inputs: [
1421
+ {
1422
+ internalType: "uint32",
1423
+ name: "_eid",
1424
+ type: "uint32",
1425
+ },
1426
+ {
1427
+ internalType: "bytes32",
1428
+ name: "_peer",
1429
+ type: "bytes32",
1430
+ },
1431
+ ],
1432
+ name: "setPeer",
1433
+ outputs: [],
1434
+ stateMutability: "nonpayable",
1435
+ type: "function",
1436
+ },
1437
+ {
1438
+ inputs: [
1439
+ {
1440
+ internalType: "address",
1441
+ name: "_preCrime",
1442
+ type: "address",
1443
+ },
1444
+ ],
1445
+ name: "setPreCrime",
1446
+ outputs: [],
1447
+ stateMutability: "nonpayable",
1448
+ type: "function",
1449
+ },
1450
+ {
1451
+ inputs: [],
1452
+ name: "sharedDecimals",
1453
+ outputs: [
1454
+ {
1455
+ internalType: "uint8",
1456
+ name: "",
1457
+ type: "uint8",
1458
+ },
1459
+ ],
1460
+ stateMutability: "view",
1461
+ type: "function",
1462
+ },
1463
+ {
1464
+ inputs: [],
1465
+ name: "symbol",
1466
+ outputs: [
1467
+ {
1468
+ internalType: "string",
1469
+ name: "",
1470
+ type: "string",
1471
+ },
1472
+ ],
1473
+ stateMutability: "view",
1474
+ type: "function",
1475
+ },
1476
+ {
1477
+ inputs: [],
1478
+ name: "token",
1479
+ outputs: [
1480
+ {
1481
+ internalType: "address",
1482
+ name: "",
1483
+ type: "address",
1484
+ },
1485
+ ],
1486
+ stateMutability: "view",
1487
+ type: "function",
1488
+ },
1489
+ {
1490
+ inputs: [],
1491
+ name: "totalSupply",
1492
+ outputs: [
1493
+ {
1494
+ internalType: "uint256",
1495
+ name: "",
1496
+ type: "uint256",
1497
+ },
1498
+ ],
1499
+ stateMutability: "view",
1500
+ type: "function",
1501
+ },
1502
+ {
1503
+ inputs: [
1504
+ {
1505
+ internalType: "address",
1506
+ name: "to",
1507
+ type: "address",
1508
+ },
1509
+ {
1510
+ internalType: "uint256",
1511
+ name: "amount",
1512
+ type: "uint256",
1513
+ },
1514
+ ],
1515
+ name: "transfer",
1516
+ outputs: [
1517
+ {
1518
+ internalType: "bool",
1519
+ name: "",
1520
+ type: "bool",
1521
+ },
1522
+ ],
1523
+ stateMutability: "nonpayable",
1524
+ type: "function",
1525
+ },
1526
+ {
1527
+ inputs: [
1528
+ {
1529
+ internalType: "address",
1530
+ name: "from",
1531
+ type: "address",
1532
+ },
1533
+ {
1534
+ internalType: "address",
1535
+ name: "to",
1536
+ type: "address",
1537
+ },
1538
+ {
1539
+ internalType: "uint256",
1540
+ name: "amount",
1541
+ type: "uint256",
1542
+ },
1543
+ ],
1544
+ name: "transferFrom",
1545
+ outputs: [
1546
+ {
1547
+ internalType: "bool",
1548
+ name: "",
1549
+ type: "bool",
1550
+ },
1551
+ ],
1552
+ stateMutability: "nonpayable",
1553
+ type: "function",
1554
+ },
1555
+ {
1556
+ inputs: [
1557
+ {
1558
+ internalType: "address",
1559
+ name: "newOwner",
1560
+ type: "address",
1561
+ },
1562
+ ],
1563
+ name: "transferOwnership",
1564
+ outputs: [],
1565
+ stateMutability: "nonpayable",
1566
+ type: "function",
1567
+ },
1568
+ ];
1569
+
1570
+ const _bytecode =
1571
+ "0x60e060405234801561000f575f5ffd5b50604051613a8b380380613a8b83398101604081905261002e91610287565b81816040518060400160405280600681526020016550656e646c6560d01b8152506040518060400160405280600681526020016550454e444c4560d01b8152508383838361008061021360201b60201c565b84848181818161008f33610218565b6001600160a01b0380831660805281166100bc57604051632d618d8160e21b815260040160405180910390fd5b60805160405163ca5eb5e160e01b81526001600160a01b0383811660048301529091169063ca5eb5e1906024015f604051808303815f87803b158015610100575f5ffd5b505af1158015610112573d5f5f3e3d5ffd5b505050505050505061012861026760201b60201c565b60ff168360ff16101561014e576040516301e9714b60e41b815260040160405180910390fd5b6101596006846102cc565b61016490600a6103ce565b60a05250600891506101789050838261047b565b506009610185828261047b565b5050505050505061019b8161021860201b60201c565b50506080516001600160a01b031663e1758bd86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101db573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ff9190610535565b6001600160a01b031660c0525061054e9050565b601290565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600690565b80516001600160a01b0381168114610282575f5ffd5b919050565b5f5f60408385031215610298575f5ffd5b6102a18361026c565b91506102af6020840161026c565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b60ff82811682821603908111156102e5576102e56102b8565b92915050565b6001815b60018411156103265780850481111561030a5761030a6102b8565b600184161561031857908102905b60019390931c9280026102ef565b935093915050565b5f8261033c575060016102e5565b8161034857505f6102e5565b816001811461035e576002811461036857610384565b60019150506102e5565b60ff841115610379576103796102b8565b50506001821b6102e5565b5060208310610133831016604e8410600b84101617156103a7575081810a6102e5565b6103b35f1984846102eb565b805f19048211156103c6576103c66102b8565b029392505050565b5f6103dc60ff84168361032e565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061040b57607f821691505b60208210810361042957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561047657805f5260205f20601f840160051c810160208510156104545750805b601f840160051c820191505b81811015610473575f8155600101610460565b50505b505050565b81516001600160401b03811115610494576104946103e3565b6104a8816104a284546103f7565b8461042f565b6020601f8211600181146104da575f83156104c35750848201515b5f19600385901b1c1916600184901b178455610473565b5f84815260208120601f198516915b8281101561050957878501518255602094850194600190920191016104e9565b508482101561052657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610545575f5ffd5b6103dc8261026c565b60805160a05160c0516134b86105d35f395f81816107540152818161218f01526121e101525f81816105a501528181611c6b01528181611cdd0152611dba01525f8181610478015281816109d50152818161109e015281816114870152818161193601528181611ef9015281816122040152818161223001526122e701526134b85ff3fe608060405260043610610201575f3560e01c806306fdde0314610205578063095ea7b31461022f5780630d35b4151461025e578063111ecdad1461028c57806313137d65146102b8578063134d4f25146102cd578063156a0d0f146102f457806317442b701461031a57806318160ddd1461033b5780631f5e13341461035957806323b872dd1461036d578063313ce5671461038c5780633400288b146103ad57806339509351146103cc5780633b6f743b146103eb57806352ae2879146104175780635535d461146104295780635a0dfe4d146104485780635e280f11146104675780636fc1b31e1461049a57806370a08231146104b9578063715018a6146104ed5780637d25a05e1461050157806382413eac1461053a578063857749b0146105595780638da5cb5b1461056c57806395d89b4114610580578063963efcaa146105945780639f68b964146105c7578063a457c2d7146105d9578063a9059cbb146105f8578063b731ea0a14610617578063b98bd07014610636578063bb0b6a5314610655578063bc70b35414610680578063bd815db01461069f578063c7c7f5b3146106b2578063ca5eb5e1146106d3578063d045a0dc146106f2578063d424388514610705578063dd62ed3e14610724578063e1758bd814610743578063f2fde38b14610776578063fc0c546a14610417578063ff7bd03d14610795575b5f5ffd5b348015610210575f5ffd5b506102196107b4565b60405161022691906125c3565b60405180910390f35b34801561023a575f5ffd5b5061024e6102493660046125e9565b610844565b6040519015158152602001610226565b348015610269575f5ffd5b5061027d610278366004612629565b61085d565b60405161022693929190612669565b348015610297575f5ffd5b506004546102ab906001600160a01b031681565b60405161022691906126f9565b6102cb6102c6366004612761565b6109d3565b005b3480156102d8575f5ffd5b506102e1600281565b60405161ffff9091168152602001610226565b3480156102ff575f5ffd5b506040805162b9270b60e21b81526001602082015201610226565b348015610325575f5ffd5b5060408051600181526002602082015201610226565b348015610346575f5ffd5b506007545b604051908152602001610226565b348015610364575f5ffd5b506102e1600181565b348015610378575f5ffd5b5061024e6103873660046127fb565b610a8b565b348015610397575f5ffd5b5060125b60405160ff9091168152602001610226565b3480156103b8575f5ffd5b506102cb6103c7366004612851565b610ab0565b3480156103d7575f5ffd5b5061024e6103e63660046125e9565b610ac6565b3480156103f6575f5ffd5b5061040a610405366004612878565b610ae7565b60405161022691906128c6565b348015610422575f5ffd5b50306102ab565b348015610434575f5ffd5b506102196104433660046128e5565b610b40565b348015610453575f5ffd5b5061024e610462366004612851565b610be2565b348015610472575f5ffd5b506102ab7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a5575f5ffd5b506102cb6104b4366004612916565b610bfd565b3480156104c4575f5ffd5b5061034b6104d3366004612916565b6001600160a01b03165f9081526005602052604090205490565b3480156104f8575f5ffd5b506102cb610c5b565b34801561050c575f5ffd5b5061052261051b366004612851565b5f92915050565b6040516001600160401b039091168152602001610226565b348015610545575f5ffd5b5061024e610554366004612931565b610c6e565b348015610564575f5ffd5b50600661039b565b348015610577575f5ffd5b506102ab610c83565b34801561058b575f5ffd5b50610219610c91565b34801561059f575f5ffd5b5061034b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105d2575f5ffd5b505f61024e565b3480156105e4575f5ffd5b5061024e6105f33660046125e9565b610ca0565b348015610603575f5ffd5b5061024e6106123660046125e9565b610d25565b348015610622575f5ffd5b506002546102ab906001600160a01b031681565b348015610641575f5ffd5b506102cb6106503660046129d3565b610d32565b348015610660575f5ffd5b5061034b61066f366004612a11565b60016020525f908152604090205481565b34801561068b575f5ffd5b5061021961069a366004612a2a565b610d4c565b6102cb6106ad3660046129d3565b610eed565b6106c56106c0366004612a86565b611057565b604051610226929190612aee565b3480156106de575f5ffd5b506102cb6106ed366004612916565b61107f565b6102cb610700366004612761565b611103565b348015610710575f5ffd5b506102cb61071f366004612916565b611132565b34801561072f575f5ffd5b5061034b61073e366004612b2a565b611185565b34801561074e575f5ffd5b506102ab7f000000000000000000000000000000000000000000000000000000000000000081565b348015610781575f5ffd5b506102cb610790366004612916565b6111af565b3480156107a0575f5ffd5b5061024e6107af366004612b56565b611228565b6060600880546107c390612b70565b80601f01602080910402602001604051908101604052809291908181526020018280546107ef90612b70565b801561083a5780601f106108115761010080835404028352916020019161083a565b820191905f5260205f20905b81548152906001019060200180831161081d57829003601f168201915b5050505050905090565b5f3361085181858561125c565b60019150505b92915050565b604080518082019091525f8082526020820152606061087a61253b565b5f5f90505f306001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108bb573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108df9190612ba2565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093e9190612bbd565b604080518082018252848152602080820184905282515f80825291810190935290975091925090610991565b604080518082019091525f81526060602082015281526020019060019003908161096a5790505b5093505f806109b5604089013560608a01356109b060208c018c612a11565b61137f565b60408051808201909152918252602082015296989597505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314610a2757336040516391ac5e4f60e01b8152600401610a1e91906126f9565b60405180910390fd5b60208701803590610a4190610a3c908a612a11565b6113ba565b14610a7357610a536020880188612a11565b876020013560405163309afaf360e21b8152600401610a1e929190612be8565b610a82878787878787876113f5565b50505050505050565b5f33610a9885828561154c565b610aa38585856115c4565b60019150505b9392505050565b610ab861175a565b610ac282826117b9565b5050565b5f33610851818585610ad88383611185565b610ae29190612c12565b61125c565b610aef61253b565b5f610b0a604085013560608601356109b06020880188612a11565b9150505f5f610b19868461180e565b9092509050610b36610b2e6020880188612a11565b83838861192c565b9695505050505050565b600360209081525f928352604080842090915290825290208054610b6390612b70565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8f90612b70565b8015610bda5780601f10610bb157610100808354040283529160200191610bda565b820191905f5260205f20905b815481529060010190602001808311610bbd57829003601f168201915b505050505081565b63ffffffff919091165f908152600160205260409020541490565b610c0561175a565b600480546001600160a01b0319166001600160a01b0383161790556040517ff0be4f1e87349231d80c36b33f9e8639658eeaf474014dee15a3e6a4d441419790610c509083906126f9565b60405180910390a150565b610c6361175a565b610c6c5f6119ff565b565b6001600160a01b03811630145b949350505050565b5f546001600160a01b031690565b6060600980546107c390612b70565b5f3381610cad8286611185565b905083811015610d0d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a1e565b610d1a828686840361125c565b506001949350505050565b5f336108518185856115c4565b610d3a61175a565b610ac2610d478284612cc5565b611a4e565b63ffffffff84165f90815260036020908152604080832061ffff87168452909152812080546060929190610d7f90612b70565b80601f0160208091040260200160405190810160405280929190818152602001828054610dab90612b70565b8015610df65780601f10610dcd57610100808354040283529160200191610df6565b820191905f5260205f20905b815481529060010190602001808311610dd957829003601f168201915b5050505050905080515f03610e445783838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250929450610c7b9350505050565b5f839003610e53579050610c7b565b60028310610ed057610e9984848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611b4f92505050565b80610ea78460028188612de6565b604051602001610eb993929190612e0d565b604051602081830303815290604052915050610c7b565b8383604051639a6d49cd60e01b8152600401610a1e929190612e5b565b5f5b81811015610fda5736838383818110610f0a57610f0a612e6e565b9050602002810190610f1c9190612e82565b9050610f38610f2e6020830183612a11565b6020830135610be2565b610f425750610fd2565b3063d045a0dc60c08301358360a0810135610f61610100830183612ea1565b610f72610100890160e08a01612916565b610f806101208a018a612ea1565b6040518963ffffffff1660e01b8152600401610fa29796959493929190612ef7565b5f604051808303818588803b158015610fb9575f5ffd5b505af1158015610fcb573d5f5f3e3d5ffd5b5050505050505b600101610eef565b50336001600160a01b0316638e9e70996040518163ffffffff1660e01b81526004015f60405180830381865afa158015611016573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261103d9190810190612f7c565b604051638351eea760e01b8152600401610a1e91906125c3565b61105f612553565b61106761253b565b611072858585611b7b565b915091505b935093915050565b61108761175a565b60405163ca5eb5e160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ca5eb5e1906110d39084906004016126f9565b5f604051808303815f87803b1580156110ea575f5ffd5b505af11580156110fc573d5f5f3e3d5ffd5b5050505050565b3330146111235760405163029a949d60e31b815260040160405180910390fd5b610a8287878787878787610a73565b61113a61175a565b600280546001600160a01b0319166001600160a01b0383161790556040517fd48d879cef83a1c0bdda516f27b13ddb1b3f8bbac1c9e1511bb2a659c242776090610c509083906126f9565b6001600160a01b039182165f90815260066020908152604080832093909416825291909152205490565b6111b761175a565b6001600160a01b03811661121c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1e565b611225816119ff565b50565b5f60208201803590600190839061123f9086612a11565b63ffffffff16815260208101919091526040015f20541492915050565b6001600160a01b0383166112be5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1e565b6001600160a01b03821661131f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a1e565b6001600160a01b038381165f8181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f5f61138a85611c68565b915081905083811015611077576040516371c4efed60e01b81526004810182905260248101859052604401610a1e565b63ffffffff81165f90815260016020526040812054806108575760405163f6ff4fb760e01b815263ffffffff84166004820152602401610a1e565b5f6114066114038787611c9e565b90565b90505f6114318261141f61141a8a8a611cb5565b611cd7565b61142c60208d018d612a11565b611d0b565b905060288611156114f1575f61146d61145060608c0160408d01612fe4565b61145d60208d018d612a11565b846114688c8c611d32565b611d7c565b604051633e5ac80960e11b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637cb59012906114c29086908d905f908790600401612fff565b5f604051808303815f87803b1580156114d9575f5ffd5b505af11580156114eb573d5f5f3e3d5ffd5b50505050505b6001600160a01b038216887fefed6d3500546b29533b128a29e3a94d70788727f0507505ac12eaf2e578fd9c61152a60208d018d612a11565b84604051611539929190612be8565b60405180910390a3505050505050505050565b5f6115578484611185565b90505f1981146115be57818110156115b15760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a1e565b6115be848484840361125c565b50505050565b6001600160a01b0383166116285760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a1e565b6001600160a01b03821661168a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a1e565b6001600160a01b0383165f90815260056020526040902054818110156117015760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a1e565b6001600160a01b038085165f8181526005602052604080822086860390559286168082529083902080548601905591515f5160206134635f395f51905f529061174d9086815260200190565b60405180910390a36115be565b33611763610c83565b6001600160a01b031614610c6c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1e565b63ffffffff82165f9081526001602052604090819020829055517f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b906118029084908490612be8565b60405180910390a15050565b6060805f611869856020013561182386611db3565b61183060a0890189612ea1565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611e0c92505050565b90935090505f8161187b57600161187e565b60025b905061189e6118906020880188612a11565b8261069a60808a018a612ea1565b6004549093506001600160a01b031680156119225760405163043a78eb60e01b81526001600160a01b0382169063043a78eb906118e1908890889060040161302f565b602060405180830381865afa1580156118fc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119209190613053565b505b5050509250929050565b61193461253b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ddc28c586040518060a001604052808863ffffffff168152602001611983896113ba565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b81526004016119b892919061306e565b6040805180830381865afa1580156119d2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f69190613115565b95945050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5b8151811015611b1f57611a7f828281518110611a6e57611a6e612e6e565b602002602001015160400151611b4f565b818181518110611a9157611a91612e6e565b60200260200101516040015160035f848481518110611ab257611ab2612e6e565b60200260200101515f015163ffffffff1663ffffffff1681526020019081526020015f205f848481518110611ae957611ae9612e6e565b60200260200101516020015161ffff1661ffff1681526020019081526020015f209081611b169190613173565b50600101611a50565b507fbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b67481604051610c50919061322d565b600281015161ffff8116600314610ac25781604051639a6d49cd60e01b8152600401610a1e91906125c3565b611b83612553565b611b8b61253b565b5f80611bad33604089013560608a0135611ba860208c018c612a11565b611e86565b915091505f5f611bbd898461180e565b9092509050611be9611bd260208b018b612a11565b8383611be3368d90038d018d6132bb565b8b611eab565b60408051808201909152858152602080820186905282519298509096503391907f85496b760a4b7f8d66384b9df21b381f5d1b1e79f229a47aaf4c232edc2fe59a90611c37908d018d612a11565b6040805163ffffffff909216825260208201899052810187905260600160405180910390a350505050935093915050565b5f7f0000000000000000000000000000000000000000000000000000000000000000611c9481846132ec565b610857919061330b565b5f611cac6020828486612de6565b610aa991613322565b5f611cc4602860208486612de6565b611ccd9161333f565b60c01c9392505050565b5f6108577f00000000000000000000000000000000000000000000000000000000000000006001600160401b03841661330b565b5f6001600160a01b038416611d205761dead93505b611d2a8484611fc1565b509092915050565b6060611d418260288186612de6565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250929695505050505050565b606084848484604051602001611d959493929190613377565b6040516020818303038152906040529050949350505050565b505050565b5f80611ddf7f0000000000000000000000000000000000000000000000000000000000000000846132ec565b90506001600160401b038111156108575760405163e2ce941360e01b815260048101829052602401610a1e565b8051606090151580611e55578484604051602001611e4192919091825260c01b6001600160c01b031916602082015260280190565b604051602081830303815290604052611e7c565b84843385604051602001611e6c94939291906133c8565b6040516020818303038152906040525b9150935093915050565b5f5f611e9385858561137f565b9092509050611ea2868361206d565b94509492505050565b611eb3612553565b3415611ed457604051637693b46f60e01b8152346004820152602401610a1e565b8251611edf9061218c565b50602083015115611ef757611ef7836020015161222d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632637a4506040518060a001604052808963ffffffff168152602001611f468a6113ba565b81526020018881526020018781526020015f8760200151111515815250846040518363ffffffff1660e01b8152600401611f8192919061306e565b6080604051808303815f875af1158015611f9d573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b369190613407565b6001600160a01b0382166120175760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a1e565b8060075f8282546120289190612c12565b90915550506001600160a01b0382165f818152600560209081526040808320805486019055518481525f5160206134635f395f51905f52910160405180910390a35050565b6001600160a01b0382166120cd5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a1e565b6001600160a01b0382165f90815260056020526040902054818110156121405760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a1e565b6001600160a01b0383165f8181526005602090815260408083208686039055600780548790039055518581529192915f5160206134635f395f51905f52910160405180910390a3505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166121d457604051638dce522760e01b815260040160405180910390fd5b6122296001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016337f000000000000000000000000000000000000000000000000000000000000000085612308565b5090565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa15801561228a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ae9190612ba2565b90506001600160a01b0381166122d7576040516329b99a9560e11b815260040160405180910390fd5b610ac26001600160a01b038216337f0000000000000000000000000000000000000000000000000000000000000000855b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092018352602080830180516001600160e01b03166323b872dd60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908401526115be928792915f9161239f91851690849061241e565b905080515f14806123bf5750808060200190518101906123bf9190613053565b611dae5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a1e565b6060610c7b84845f85855f5f866001600160a01b031685876040516124439190613451565b5f6040518083038185875af1925050503d805f811461247d576040519150601f19603f3d011682016040523d82523d5f602084013e612482565b606091505b50915091506124938783838761249e565b979650505050505050565b6060831561250c5782515f03612505576001600160a01b0385163b6125055760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a1e565b5081610c7b565b610c7b83838151156125215781518083602001fd5b8060405162461bcd60e51b8152600401610a1e91906125c3565b60405180604001604052805f81526020015f81525090565b604080516060810182525f808252602082015290810161257161253b565b905290565b5f5b83811015612590578181015183820152602001612578565b50505f910152565b5f81518084526125af816020860160208601612576565b601f01601f19169290920160200192915050565b602081525f610aa96020830184612598565b6001600160a01b0381168114611225575f5ffd5b5f5f604083850312156125fa575f5ffd5b8235612605816125d5565b946020939093013593505050565b5f60e08284031215612623575f5ffd5b50919050565b5f60208284031215612639575f5ffd5b81356001600160401b0381111561264e575f5ffd5b610c7b84828501612613565b80518252602090810151910152565b5f60a08201612678838761265a565b60a0604084015280855180835260c08501915060c08160051b8601019250602087015f5b828110156126e45760bf1987860301845281518051865260208101519050604060208701526126ce6040870182612598565b955050602093840193919091019060010161269c565b5050505080915050610c7b606083018461265a565b6001600160a01b0391909116815260200190565b5f60608284031215612623575f5ffd5b5f5f83601f84011261272d575f5ffd5b5081356001600160401b03811115612743575f5ffd5b60208301915083602082850101111561275a575f5ffd5b9250929050565b5f5f5f5f5f5f5f60e0888a031215612777575f5ffd5b612781898961270d565b96506060880135955060808801356001600160401b038111156127a2575f5ffd5b6127ae8a828b0161271d565b90965094505060a08801356127c2816125d5565b925060c08801356001600160401b038111156127dc575f5ffd5b6127e88a828b0161271d565b989b979a50959850939692959293505050565b5f5f5f6060848603121561280d575f5ffd5b8335612818816125d5565b92506020840135612828816125d5565b929592945050506040919091013590565b803563ffffffff8116811461284c575f5ffd5b919050565b5f5f60408385031215612862575f5ffd5b61260583612839565b8015158114611225575f5ffd5b5f5f60408385031215612889575f5ffd5b82356001600160401b0381111561289e575f5ffd5b6128aa85828601612613565b92505060208301356128bb8161286b565b809150509250929050565b60408101610857828461265a565b803561ffff8116811461284c575f5ffd5b5f5f604083850312156128f6575f5ffd5b6128ff83612839565b915061290d602084016128d4565b90509250929050565b5f60208284031215612926575f5ffd5b8135610aa9816125d5565b5f5f5f5f60a08587031215612944575f5ffd5b61294e868661270d565b935060608501356001600160401b03811115612968575f5ffd5b6129748782880161271d565b9094509250506080850135612988816125d5565b939692955090935050565b5f5f83601f8401126129a3575f5ffd5b5081356001600160401b038111156129b9575f5ffd5b6020830191508360208260051b850101111561275a575f5ffd5b5f5f602083850312156129e4575f5ffd5b82356001600160401b038111156129f9575f5ffd5b612a0585828601612993565b90969095509350505050565b5f60208284031215612a21575f5ffd5b610aa982612839565b5f5f5f5f60608587031215612a3d575f5ffd5b612a4685612839565b9350612a54602086016128d4565b925060408501356001600160401b03811115612a6e575f5ffd5b612a7a8782880161271d565b95989497509550505050565b5f5f5f8385036080811215612a99575f5ffd5b84356001600160401b03811115612aae575f5ffd5b612aba87828801612613565b9450506040601f1982011215612ace575f5ffd5b506020840191506060840135612ae3816125d5565b809150509250925092565b825181526020808401516001600160401b03169082015260408084015160c0830191612b1c9084018261265a565b50610aa9608083018461265a565b5f5f60408385031215612b3b575f5ffd5b8235612b46816125d5565b915060208301356128bb816125d5565b5f60608284031215612b66575f5ffd5b610aa9838361270d565b600181811c90821680612b8457607f821691505b60208210810361262357634e487b7160e01b5f52602260045260245ffd5b5f60208284031215612bb2575f5ffd5b8151610aa9816125d5565b5f60208284031215612bcd575f5ffd5b5051919050565b634e487b7160e01b5f52604160045260245ffd5b63ffffffff929092168252602082015260400190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561085757610857612bfe565b604051606081016001600160401b0381118282101715612c4757612c47612bd4565b60405290565b604080519081016001600160401b0381118282101715612c4757612c47612bd4565b604051601f8201601f191681016001600160401b0381118282101715612c9757612c97612bd4565b604052919050565b5f6001600160401b03821115612cb757612cb7612bd4565b50601f01601f191660200190565b5f6001600160401b03831115612cdd57612cdd612bd4565b8260051b612ced60208201612c6f565b84815290830190602081019036831115612d05575f5ffd5b845b83811015612ddc5780356001600160401b03811115612d24575f5ffd5b86016060368290031215612d36575f5ffd5b612d3e612c25565b612d4782612839565b8152612d55602083016128d4565b602082015260408201356001600160401b03811115612d72575f5ffd5b919091019036601f830112612d85575f5ffd5b8135612d98612d9382612c9f565b612c6f565b818152366020838601011115612dac575f5ffd5b816020850160208301375f6020838301015280604084015250508085525050602083019250602081019050612d07565b5095945050505050565b5f5f85851115612df4575f5ffd5b83861115612e00575f5ffd5b5050820193919092039150565b5f8451612e1e818460208901612576565b8201838582375f930192835250909392505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f610c7b602083018486612e33565b634e487b7160e01b5f52603260045260245ffd5b5f823561013e19833603018112612e97575f5ffd5b9190910192915050565b5f5f8335601e19843603018112612eb6575f5ffd5b8301803591506001600160401b03821115612ecf575f5ffd5b60200191503681900382131561275a575f5ffd5b6001600160401b0381168114611225575f5ffd5b63ffffffff612f0589612839565b168152602088810135908201525f6040890135612f2181612ee3565b6001600160401b031660408301526060820188905260e060808301819052612f4c9083018789612e33565b6001600160a01b03861660a084015282810360c0840152612f6e818587612e33565b9a9950505050505050505050565b5f60208284031215612f8c575f5ffd5b81516001600160401b03811115612fa1575f5ffd5b8201601f81018413612fb1575f5ffd5b8051612fbf612d9382612c9f565b818152856020838501011115612fd3575f5ffd5b6119f6826020830160208601612576565b5f60208284031215612ff4575f5ffd5b8135610aa981612ee3565b60018060a01b038516815283602082015261ffff83166040820152608060608201525f610b366080830184612598565b604081525f6130416040830185612598565b82810360208401526119f68185612598565b5f60208284031215613063575f5ffd5b8151610aa98161286b565b6040815263ffffffff8351166040820152602083015160608201525f604084015160a060808401526130a360e0840182612598565b90506060850151603f198483030160a08501526130c08282612598565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b5f604082840312156130f6575f5ffd5b6130fe612c4d565b825181526020928301519281019290925250919050565b5f60408284031215613125575f5ffd5b610aa983836130e6565b601f821115611dae57805f5260205f20601f840160051c810160208510156131545750805b601f840160051c820191505b818110156110fc575f8155600101613160565b81516001600160401b0381111561318c5761318c612bd4565b6131a08161319a8454612b70565b8461312f565b6020601f8211600181146131d2575f83156131bb5750848201515b5f19600385901b1c1916600184901b1784556110fc565b5f84815260208120601f198516915b8281101561320157878501518255602094850194600190920191016131e1565b508482101561321e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b828110156132af57603f19878603018452815163ffffffff815116865261ffff602082015116602087015260408101519050606060408701526132996060870182612598565b9550506020938401939190910190600101613253565b50929695505050505050565b5f60408284031280156132cc575f5ffd5b506132d5612c4d565b823581526020928301359281019290925250919050565b5f8261330657634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761085757610857612bfe565b80356020831015610857575f19602084900360031b1b1692915050565b80356001600160c01b03198116906008841015613370576001600160c01b0319600885900360031b81901b82161691505b5092915050565b60c085901b6001600160c01b031916815260e084901b6001600160e01b0319166008820152600c810183905281515f906133b881602c850160208701612576565b91909101602c0195945050505050565b84815260018060c01b03198460c01b1660208201528260288201525f82516133f7816048850160208701612576565b9190910160480195945050505050565b5f6080828403128015613418575f5ffd5b50613421612c25565b82518152602083015161343381612ee3565b602082015261344584604085016130e6565b60408201529392505050565b5f8251612e9781846020870161257656feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220477b70cd2a9a2dc4aa92e2c53e0f61c1d407961a25908614fc2dfeb12df4aa4664736f6c634300081e0033";
1572
+
1573
+ type PendleOFTAltConstructorParams =
1574
+ | [signer?: Signer]
1575
+ | ConstructorParameters<typeof ContractFactory>;
1576
+
1577
+ const isSuperArgs = (
1578
+ xs: PendleOFTAltConstructorParams
1579
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1580
+
1581
+ export class PendleOFTAlt__factory extends ContractFactory {
1582
+ constructor(...args: PendleOFTAltConstructorParams) {
1583
+ if (isSuperArgs(args)) {
1584
+ super(...args);
1585
+ } else {
1586
+ super(_abi, _bytecode, args[0]);
1587
+ }
1588
+ this.contractName = "PendleOFTAlt";
1589
+ }
1590
+
1591
+ deploy(
1592
+ _lzEndpoint: string,
1593
+ _delegate: string,
1594
+ overrides?: Overrides & { from?: string | Promise<string> }
1595
+ ): Promise<PendleOFTAlt> {
1596
+ return super.deploy(
1597
+ _lzEndpoint,
1598
+ _delegate,
1599
+ overrides || {}
1600
+ ) as Promise<PendleOFTAlt>;
1601
+ }
1602
+ getDeployTransaction(
1603
+ _lzEndpoint: string,
1604
+ _delegate: string,
1605
+ overrides?: Overrides & { from?: string | Promise<string> }
1606
+ ): TransactionRequest {
1607
+ return super.getDeployTransaction(_lzEndpoint, _delegate, overrides || {});
1608
+ }
1609
+ attach(address: string): PendleOFTAlt {
1610
+ return super.attach(address) as PendleOFTAlt;
1611
+ }
1612
+ connect(signer: Signer): PendleOFTAlt__factory {
1613
+ return super.connect(signer) as PendleOFTAlt__factory;
1614
+ }
1615
+ static readonly contractName: "PendleOFTAlt";
1616
+ public readonly contractName: "PendleOFTAlt";
1617
+ static readonly bytecode = _bytecode;
1618
+ static readonly abi = _abi;
1619
+ static createInterface(): PendleOFTAltInterface {
1620
+ return new utils.Interface(_abi) as PendleOFTAltInterface;
1621
+ }
1622
+ static connect(
1623
+ address: string,
1624
+ signerOrProvider: Signer | Provider
1625
+ ): PendleOFTAlt {
1626
+ return new Contract(address, _abi, signerOrProvider) as PendleOFTAlt;
1627
+ }
1628
+ }