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