@pendle/core-v2 6.3.4 → 6.4.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 (295) 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/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  47. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  51. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  52. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +4 -0
  62. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.json +99 -0
  63. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +88 -0
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  135. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  136. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  137. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  139. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  156. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  174. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  177. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  179. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  192. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  194. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  218. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +4 -0
  219. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +99 -0
  220. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  222. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  224. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  227. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  229. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  232. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  243. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  245. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  247. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  249. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  251. package/contracts/interfaces/IPActionCrossChain.sol +14 -0
  252. package/contracts/interfaces/IPAllActionV3.sol +3 -1
  253. package/contracts/router/ActionCrossChain.sol +63 -0
  254. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +7 -1
  255. package/deployments/130-core.json +15 -2
  256. package/deployments/130-offchain-helper.json +9 -0
  257. package/package.json +2 -2
  258. package/typechain-types/ActionCrossChain.ts +161 -0
  259. package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
  260. package/typechain-types/IPActionCrossChain.ts +161 -0
  261. package/typechain-types/IPAllActionV3.ts +54 -0
  262. package/typechain-types/LimitBackendHelper.ts +287 -0
  263. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
  264. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
  265. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
  266. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  267. package/typechain-types/factories/ActionCrossChain__factory.ts +152 -0
  268. package/typechain-types/factories/ActionDelegateBase__factory.ts +1 -1
  269. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  270. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  271. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  272. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  273. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
  274. package/typechain-types/factories/IPActionCrossChain__factory.ts +114 -0
  275. package/typechain-types/factories/IPAllActionV3__factory.ts +88 -0
  276. package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
  277. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  278. package/typechain-types/factories/OverfillMathLib__factory.ts +1 -1
  279. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
  280. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
  281. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
  282. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  283. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  284. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  285. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  286. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  287. package/typechain-types/factories/Reflector__factory.ts +1 -1
  288. package/typechain-types/hardhat.d.ts +17 -17
  289. package/typechain-types/index.ts +4 -4
  290. package/typechain-types/ActionLimitOverfillAdapter.ts +0 -180
  291. package/typechain-types/IPActionLimitAdapter.ts +0 -180
  292. package/typechain-types/LimitMathCore.ts +0 -102
  293. package/typechain-types/factories/ActionLimitOverfillAdapter__factory.ts +0 -423
  294. package/typechain-types/factories/IPActionLimitAdapter__factory.ts +0 -385
  295. package/typechain-types/factories/LimitMathCore__factory.ts +0 -87
@@ -0,0 +1,1548 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ BasePendleBridgedPrincipalToken,
9
+ BasePendleBridgedPrincipalTokenInterface,
10
+ } from "../BasePendleBridgedPrincipalToken";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "InvalidDelegate",
16
+ type: "error",
17
+ },
18
+ {
19
+ inputs: [],
20
+ name: "InvalidEndpointCall",
21
+ type: "error",
22
+ },
23
+ {
24
+ inputs: [],
25
+ name: "InvalidLocalDecimals",
26
+ type: "error",
27
+ },
28
+ {
29
+ inputs: [
30
+ {
31
+ internalType: "bytes",
32
+ name: "options",
33
+ type: "bytes",
34
+ },
35
+ ],
36
+ name: "InvalidOptions",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "LzTokenUnavailable",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [
46
+ {
47
+ internalType: "uint32",
48
+ name: "eid",
49
+ type: "uint32",
50
+ },
51
+ ],
52
+ name: "NoPeer",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "uint256",
59
+ name: "msgValue",
60
+ type: "uint256",
61
+ },
62
+ ],
63
+ name: "NotEnoughNative",
64
+ type: "error",
65
+ },
66
+ {
67
+ inputs: [
68
+ {
69
+ internalType: "address",
70
+ name: "addr",
71
+ type: "address",
72
+ },
73
+ ],
74
+ name: "OnlyEndpoint",
75
+ type: "error",
76
+ },
77
+ {
78
+ inputs: [
79
+ {
80
+ internalType: "uint32",
81
+ name: "eid",
82
+ type: "uint32",
83
+ },
84
+ {
85
+ internalType: "bytes32",
86
+ name: "sender",
87
+ type: "bytes32",
88
+ },
89
+ ],
90
+ name: "OnlyPeer",
91
+ type: "error",
92
+ },
93
+ {
94
+ inputs: [],
95
+ name: "OnlySelf",
96
+ type: "error",
97
+ },
98
+ {
99
+ inputs: [
100
+ {
101
+ internalType: "bytes",
102
+ name: "result",
103
+ type: "bytes",
104
+ },
105
+ ],
106
+ name: "SimulationResult",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [
111
+ {
112
+ internalType: "uint256",
113
+ name: "amountLD",
114
+ type: "uint256",
115
+ },
116
+ {
117
+ internalType: "uint256",
118
+ name: "minAmountLD",
119
+ type: "uint256",
120
+ },
121
+ ],
122
+ name: "SlippageExceeded",
123
+ type: "error",
124
+ },
125
+ {
126
+ anonymous: false,
127
+ inputs: [
128
+ {
129
+ indexed: true,
130
+ internalType: "address",
131
+ name: "owner",
132
+ type: "address",
133
+ },
134
+ {
135
+ indexed: true,
136
+ internalType: "address",
137
+ name: "spender",
138
+ type: "address",
139
+ },
140
+ {
141
+ indexed: false,
142
+ internalType: "uint256",
143
+ name: "value",
144
+ type: "uint256",
145
+ },
146
+ ],
147
+ name: "Approval",
148
+ type: "event",
149
+ },
150
+ {
151
+ anonymous: false,
152
+ inputs: [
153
+ {
154
+ components: [
155
+ {
156
+ internalType: "uint32",
157
+ name: "eid",
158
+ type: "uint32",
159
+ },
160
+ {
161
+ internalType: "uint16",
162
+ name: "msgType",
163
+ type: "uint16",
164
+ },
165
+ {
166
+ internalType: "bytes",
167
+ name: "options",
168
+ type: "bytes",
169
+ },
170
+ ],
171
+ indexed: false,
172
+ internalType: "struct EnforcedOptionParam[]",
173
+ name: "_enforcedOptions",
174
+ type: "tuple[]",
175
+ },
176
+ ],
177
+ name: "EnforcedOptionSet",
178
+ type: "event",
179
+ },
180
+ {
181
+ anonymous: false,
182
+ inputs: [
183
+ {
184
+ indexed: false,
185
+ internalType: "address",
186
+ name: "inspector",
187
+ type: "address",
188
+ },
189
+ ],
190
+ name: "MsgInspectorSet",
191
+ type: "event",
192
+ },
193
+ {
194
+ anonymous: false,
195
+ inputs: [
196
+ {
197
+ indexed: true,
198
+ internalType: "bytes32",
199
+ name: "guid",
200
+ type: "bytes32",
201
+ },
202
+ {
203
+ indexed: false,
204
+ internalType: "uint32",
205
+ name: "srcEid",
206
+ type: "uint32",
207
+ },
208
+ {
209
+ indexed: true,
210
+ internalType: "address",
211
+ name: "toAddress",
212
+ type: "address",
213
+ },
214
+ {
215
+ indexed: false,
216
+ internalType: "uint256",
217
+ name: "amountReceivedLD",
218
+ type: "uint256",
219
+ },
220
+ ],
221
+ name: "OFTReceived",
222
+ type: "event",
223
+ },
224
+ {
225
+ anonymous: false,
226
+ inputs: [
227
+ {
228
+ indexed: true,
229
+ internalType: "bytes32",
230
+ name: "guid",
231
+ type: "bytes32",
232
+ },
233
+ {
234
+ indexed: false,
235
+ internalType: "uint32",
236
+ name: "dstEid",
237
+ type: "uint32",
238
+ },
239
+ {
240
+ indexed: true,
241
+ internalType: "address",
242
+ name: "fromAddress",
243
+ type: "address",
244
+ },
245
+ {
246
+ indexed: false,
247
+ internalType: "uint256",
248
+ name: "amountSentLD",
249
+ type: "uint256",
250
+ },
251
+ {
252
+ indexed: false,
253
+ internalType: "uint256",
254
+ name: "amountReceivedLD",
255
+ type: "uint256",
256
+ },
257
+ ],
258
+ name: "OFTSent",
259
+ type: "event",
260
+ },
261
+ {
262
+ anonymous: false,
263
+ inputs: [
264
+ {
265
+ indexed: true,
266
+ internalType: "address",
267
+ name: "previousOwner",
268
+ type: "address",
269
+ },
270
+ {
271
+ indexed: true,
272
+ internalType: "address",
273
+ name: "newOwner",
274
+ type: "address",
275
+ },
276
+ ],
277
+ name: "OwnershipTransferred",
278
+ type: "event",
279
+ },
280
+ {
281
+ anonymous: false,
282
+ inputs: [
283
+ {
284
+ indexed: false,
285
+ internalType: "uint32",
286
+ name: "eid",
287
+ type: "uint32",
288
+ },
289
+ {
290
+ indexed: false,
291
+ internalType: "bytes32",
292
+ name: "peer",
293
+ type: "bytes32",
294
+ },
295
+ ],
296
+ name: "PeerSet",
297
+ type: "event",
298
+ },
299
+ {
300
+ anonymous: false,
301
+ inputs: [
302
+ {
303
+ indexed: false,
304
+ internalType: "address",
305
+ name: "preCrimeAddress",
306
+ type: "address",
307
+ },
308
+ ],
309
+ name: "PreCrimeSet",
310
+ type: "event",
311
+ },
312
+ {
313
+ anonymous: false,
314
+ inputs: [
315
+ {
316
+ indexed: true,
317
+ internalType: "address",
318
+ name: "from",
319
+ type: "address",
320
+ },
321
+ {
322
+ indexed: true,
323
+ internalType: "address",
324
+ name: "to",
325
+ type: "address",
326
+ },
327
+ {
328
+ indexed: false,
329
+ internalType: "uint256",
330
+ name: "value",
331
+ type: "uint256",
332
+ },
333
+ ],
334
+ name: "Transfer",
335
+ type: "event",
336
+ },
337
+ {
338
+ inputs: [],
339
+ name: "SEND",
340
+ outputs: [
341
+ {
342
+ internalType: "uint16",
343
+ name: "",
344
+ type: "uint16",
345
+ },
346
+ ],
347
+ stateMutability: "view",
348
+ type: "function",
349
+ },
350
+ {
351
+ inputs: [],
352
+ name: "SEND_AND_CALL",
353
+ outputs: [
354
+ {
355
+ internalType: "uint16",
356
+ name: "",
357
+ type: "uint16",
358
+ },
359
+ ],
360
+ stateMutability: "view",
361
+ type: "function",
362
+ },
363
+ {
364
+ inputs: [
365
+ {
366
+ components: [
367
+ {
368
+ internalType: "uint32",
369
+ name: "srcEid",
370
+ type: "uint32",
371
+ },
372
+ {
373
+ internalType: "bytes32",
374
+ name: "sender",
375
+ type: "bytes32",
376
+ },
377
+ {
378
+ internalType: "uint64",
379
+ name: "nonce",
380
+ type: "uint64",
381
+ },
382
+ ],
383
+ internalType: "struct Origin",
384
+ name: "origin",
385
+ type: "tuple",
386
+ },
387
+ ],
388
+ name: "allowInitializePath",
389
+ outputs: [
390
+ {
391
+ internalType: "bool",
392
+ name: "",
393
+ type: "bool",
394
+ },
395
+ ],
396
+ stateMutability: "view",
397
+ type: "function",
398
+ },
399
+ {
400
+ inputs: [
401
+ {
402
+ internalType: "address",
403
+ name: "owner",
404
+ type: "address",
405
+ },
406
+ {
407
+ internalType: "address",
408
+ name: "spender",
409
+ type: "address",
410
+ },
411
+ ],
412
+ name: "allowance",
413
+ outputs: [
414
+ {
415
+ internalType: "uint256",
416
+ name: "",
417
+ type: "uint256",
418
+ },
419
+ ],
420
+ stateMutability: "view",
421
+ type: "function",
422
+ },
423
+ {
424
+ inputs: [],
425
+ name: "approvalRequired",
426
+ outputs: [
427
+ {
428
+ internalType: "bool",
429
+ name: "",
430
+ type: "bool",
431
+ },
432
+ ],
433
+ stateMutability: "pure",
434
+ type: "function",
435
+ },
436
+ {
437
+ inputs: [
438
+ {
439
+ internalType: "address",
440
+ name: "spender",
441
+ type: "address",
442
+ },
443
+ {
444
+ internalType: "uint256",
445
+ name: "amount",
446
+ type: "uint256",
447
+ },
448
+ ],
449
+ name: "approve",
450
+ outputs: [
451
+ {
452
+ internalType: "bool",
453
+ name: "",
454
+ type: "bool",
455
+ },
456
+ ],
457
+ stateMutability: "nonpayable",
458
+ type: "function",
459
+ },
460
+ {
461
+ inputs: [
462
+ {
463
+ internalType: "address",
464
+ name: "account",
465
+ type: "address",
466
+ },
467
+ ],
468
+ name: "balanceOf",
469
+ outputs: [
470
+ {
471
+ internalType: "uint256",
472
+ name: "",
473
+ type: "uint256",
474
+ },
475
+ ],
476
+ stateMutability: "view",
477
+ type: "function",
478
+ },
479
+ {
480
+ inputs: [
481
+ {
482
+ internalType: "uint32",
483
+ name: "_eid",
484
+ type: "uint32",
485
+ },
486
+ {
487
+ internalType: "uint16",
488
+ name: "_msgType",
489
+ type: "uint16",
490
+ },
491
+ {
492
+ internalType: "bytes",
493
+ name: "_extraOptions",
494
+ type: "bytes",
495
+ },
496
+ ],
497
+ name: "combineOptions",
498
+ outputs: [
499
+ {
500
+ internalType: "bytes",
501
+ name: "",
502
+ type: "bytes",
503
+ },
504
+ ],
505
+ stateMutability: "view",
506
+ type: "function",
507
+ },
508
+ {
509
+ inputs: [],
510
+ name: "decimalConversionRate",
511
+ outputs: [
512
+ {
513
+ internalType: "uint256",
514
+ name: "",
515
+ type: "uint256",
516
+ },
517
+ ],
518
+ stateMutability: "view",
519
+ type: "function",
520
+ },
521
+ {
522
+ inputs: [],
523
+ name: "decimals",
524
+ outputs: [
525
+ {
526
+ internalType: "uint8",
527
+ name: "",
528
+ type: "uint8",
529
+ },
530
+ ],
531
+ stateMutability: "view",
532
+ type: "function",
533
+ },
534
+ {
535
+ inputs: [
536
+ {
537
+ internalType: "address",
538
+ name: "spender",
539
+ type: "address",
540
+ },
541
+ {
542
+ internalType: "uint256",
543
+ name: "subtractedValue",
544
+ type: "uint256",
545
+ },
546
+ ],
547
+ name: "decreaseAllowance",
548
+ outputs: [
549
+ {
550
+ internalType: "bool",
551
+ name: "",
552
+ type: "bool",
553
+ },
554
+ ],
555
+ stateMutability: "nonpayable",
556
+ type: "function",
557
+ },
558
+ {
559
+ inputs: [],
560
+ name: "endpoint",
561
+ outputs: [
562
+ {
563
+ internalType: "contract ILayerZeroEndpointV2",
564
+ name: "",
565
+ type: "address",
566
+ },
567
+ ],
568
+ stateMutability: "view",
569
+ type: "function",
570
+ },
571
+ {
572
+ inputs: [
573
+ {
574
+ internalType: "uint32",
575
+ name: "eid",
576
+ type: "uint32",
577
+ },
578
+ {
579
+ internalType: "uint16",
580
+ name: "msgType",
581
+ type: "uint16",
582
+ },
583
+ ],
584
+ name: "enforcedOptions",
585
+ outputs: [
586
+ {
587
+ internalType: "bytes",
588
+ name: "enforcedOption",
589
+ type: "bytes",
590
+ },
591
+ ],
592
+ stateMutability: "view",
593
+ type: "function",
594
+ },
595
+ {
596
+ inputs: [],
597
+ name: "expiry",
598
+ outputs: [
599
+ {
600
+ internalType: "uint256",
601
+ name: "",
602
+ type: "uint256",
603
+ },
604
+ ],
605
+ stateMutability: "view",
606
+ type: "function",
607
+ },
608
+ {
609
+ inputs: [
610
+ {
611
+ internalType: "address",
612
+ name: "spender",
613
+ type: "address",
614
+ },
615
+ {
616
+ internalType: "uint256",
617
+ name: "addedValue",
618
+ type: "uint256",
619
+ },
620
+ ],
621
+ name: "increaseAllowance",
622
+ outputs: [
623
+ {
624
+ internalType: "bool",
625
+ name: "",
626
+ type: "bool",
627
+ },
628
+ ],
629
+ stateMutability: "nonpayable",
630
+ type: "function",
631
+ },
632
+ {
633
+ inputs: [
634
+ {
635
+ components: [
636
+ {
637
+ internalType: "uint32",
638
+ name: "srcEid",
639
+ type: "uint32",
640
+ },
641
+ {
642
+ internalType: "bytes32",
643
+ name: "sender",
644
+ type: "bytes32",
645
+ },
646
+ {
647
+ internalType: "uint64",
648
+ name: "nonce",
649
+ type: "uint64",
650
+ },
651
+ ],
652
+ internalType: "struct Origin",
653
+ name: "",
654
+ type: "tuple",
655
+ },
656
+ {
657
+ internalType: "bytes",
658
+ name: "",
659
+ type: "bytes",
660
+ },
661
+ {
662
+ internalType: "address",
663
+ name: "_sender",
664
+ type: "address",
665
+ },
666
+ ],
667
+ name: "isComposeMsgSender",
668
+ outputs: [
669
+ {
670
+ internalType: "bool",
671
+ name: "",
672
+ type: "bool",
673
+ },
674
+ ],
675
+ stateMutability: "view",
676
+ type: "function",
677
+ },
678
+ {
679
+ inputs: [
680
+ {
681
+ internalType: "uint32",
682
+ name: "_eid",
683
+ type: "uint32",
684
+ },
685
+ {
686
+ internalType: "bytes32",
687
+ name: "_peer",
688
+ type: "bytes32",
689
+ },
690
+ ],
691
+ name: "isPeer",
692
+ outputs: [
693
+ {
694
+ internalType: "bool",
695
+ name: "",
696
+ type: "bool",
697
+ },
698
+ ],
699
+ stateMutability: "view",
700
+ type: "function",
701
+ },
702
+ {
703
+ inputs: [
704
+ {
705
+ components: [
706
+ {
707
+ internalType: "uint32",
708
+ name: "srcEid",
709
+ type: "uint32",
710
+ },
711
+ {
712
+ internalType: "bytes32",
713
+ name: "sender",
714
+ type: "bytes32",
715
+ },
716
+ {
717
+ internalType: "uint64",
718
+ name: "nonce",
719
+ type: "uint64",
720
+ },
721
+ ],
722
+ internalType: "struct Origin",
723
+ name: "_origin",
724
+ type: "tuple",
725
+ },
726
+ {
727
+ internalType: "bytes32",
728
+ name: "_guid",
729
+ type: "bytes32",
730
+ },
731
+ {
732
+ internalType: "bytes",
733
+ name: "_message",
734
+ type: "bytes",
735
+ },
736
+ {
737
+ internalType: "address",
738
+ name: "_executor",
739
+ type: "address",
740
+ },
741
+ {
742
+ internalType: "bytes",
743
+ name: "_extraData",
744
+ type: "bytes",
745
+ },
746
+ ],
747
+ name: "lzReceive",
748
+ outputs: [],
749
+ stateMutability: "payable",
750
+ type: "function",
751
+ },
752
+ {
753
+ inputs: [
754
+ {
755
+ components: [
756
+ {
757
+ components: [
758
+ {
759
+ internalType: "uint32",
760
+ name: "srcEid",
761
+ type: "uint32",
762
+ },
763
+ {
764
+ internalType: "bytes32",
765
+ name: "sender",
766
+ type: "bytes32",
767
+ },
768
+ {
769
+ internalType: "uint64",
770
+ name: "nonce",
771
+ type: "uint64",
772
+ },
773
+ ],
774
+ internalType: "struct Origin",
775
+ name: "origin",
776
+ type: "tuple",
777
+ },
778
+ {
779
+ internalType: "uint32",
780
+ name: "dstEid",
781
+ type: "uint32",
782
+ },
783
+ {
784
+ internalType: "address",
785
+ name: "receiver",
786
+ type: "address",
787
+ },
788
+ {
789
+ internalType: "bytes32",
790
+ name: "guid",
791
+ type: "bytes32",
792
+ },
793
+ {
794
+ internalType: "uint256",
795
+ name: "value",
796
+ type: "uint256",
797
+ },
798
+ {
799
+ internalType: "address",
800
+ name: "executor",
801
+ type: "address",
802
+ },
803
+ {
804
+ internalType: "bytes",
805
+ name: "message",
806
+ type: "bytes",
807
+ },
808
+ {
809
+ internalType: "bytes",
810
+ name: "extraData",
811
+ type: "bytes",
812
+ },
813
+ ],
814
+ internalType: "struct InboundPacket[]",
815
+ name: "_packets",
816
+ type: "tuple[]",
817
+ },
818
+ ],
819
+ name: "lzReceiveAndRevert",
820
+ outputs: [],
821
+ stateMutability: "payable",
822
+ type: "function",
823
+ },
824
+ {
825
+ inputs: [
826
+ {
827
+ components: [
828
+ {
829
+ internalType: "uint32",
830
+ name: "srcEid",
831
+ type: "uint32",
832
+ },
833
+ {
834
+ internalType: "bytes32",
835
+ name: "sender",
836
+ type: "bytes32",
837
+ },
838
+ {
839
+ internalType: "uint64",
840
+ name: "nonce",
841
+ type: "uint64",
842
+ },
843
+ ],
844
+ internalType: "struct Origin",
845
+ name: "_origin",
846
+ type: "tuple",
847
+ },
848
+ {
849
+ internalType: "bytes32",
850
+ name: "_guid",
851
+ type: "bytes32",
852
+ },
853
+ {
854
+ internalType: "bytes",
855
+ name: "_message",
856
+ type: "bytes",
857
+ },
858
+ {
859
+ internalType: "address",
860
+ name: "_executor",
861
+ type: "address",
862
+ },
863
+ {
864
+ internalType: "bytes",
865
+ name: "_extraData",
866
+ type: "bytes",
867
+ },
868
+ ],
869
+ name: "lzReceiveSimulate",
870
+ outputs: [],
871
+ stateMutability: "payable",
872
+ type: "function",
873
+ },
874
+ {
875
+ inputs: [],
876
+ name: "msgInspector",
877
+ outputs: [
878
+ {
879
+ internalType: "address",
880
+ name: "",
881
+ type: "address",
882
+ },
883
+ ],
884
+ stateMutability: "view",
885
+ type: "function",
886
+ },
887
+ {
888
+ inputs: [],
889
+ name: "name",
890
+ outputs: [
891
+ {
892
+ internalType: "string",
893
+ name: "",
894
+ type: "string",
895
+ },
896
+ ],
897
+ stateMutability: "view",
898
+ type: "function",
899
+ },
900
+ {
901
+ inputs: [
902
+ {
903
+ internalType: "uint32",
904
+ name: "",
905
+ type: "uint32",
906
+ },
907
+ {
908
+ internalType: "bytes32",
909
+ name: "",
910
+ type: "bytes32",
911
+ },
912
+ ],
913
+ name: "nextNonce",
914
+ outputs: [
915
+ {
916
+ internalType: "uint64",
917
+ name: "nonce",
918
+ type: "uint64",
919
+ },
920
+ ],
921
+ stateMutability: "view",
922
+ type: "function",
923
+ },
924
+ {
925
+ inputs: [],
926
+ name: "oApp",
927
+ outputs: [
928
+ {
929
+ internalType: "address",
930
+ name: "",
931
+ type: "address",
932
+ },
933
+ ],
934
+ stateMutability: "view",
935
+ type: "function",
936
+ },
937
+ {
938
+ inputs: [],
939
+ name: "oAppVersion",
940
+ outputs: [
941
+ {
942
+ internalType: "uint64",
943
+ name: "senderVersion",
944
+ type: "uint64",
945
+ },
946
+ {
947
+ internalType: "uint64",
948
+ name: "receiverVersion",
949
+ type: "uint64",
950
+ },
951
+ ],
952
+ stateMutability: "pure",
953
+ type: "function",
954
+ },
955
+ {
956
+ inputs: [],
957
+ name: "oftVersion",
958
+ outputs: [
959
+ {
960
+ internalType: "bytes4",
961
+ name: "interfaceId",
962
+ type: "bytes4",
963
+ },
964
+ {
965
+ internalType: "uint64",
966
+ name: "version",
967
+ type: "uint64",
968
+ },
969
+ ],
970
+ stateMutability: "pure",
971
+ type: "function",
972
+ },
973
+ {
974
+ inputs: [],
975
+ name: "owner",
976
+ outputs: [
977
+ {
978
+ internalType: "address",
979
+ name: "",
980
+ type: "address",
981
+ },
982
+ ],
983
+ stateMutability: "view",
984
+ type: "function",
985
+ },
986
+ {
987
+ inputs: [
988
+ {
989
+ internalType: "uint32",
990
+ name: "eid",
991
+ type: "uint32",
992
+ },
993
+ ],
994
+ name: "peers",
995
+ outputs: [
996
+ {
997
+ internalType: "bytes32",
998
+ name: "peer",
999
+ type: "bytes32",
1000
+ },
1001
+ ],
1002
+ stateMutability: "view",
1003
+ type: "function",
1004
+ },
1005
+ {
1006
+ inputs: [],
1007
+ name: "preCrime",
1008
+ outputs: [
1009
+ {
1010
+ internalType: "address",
1011
+ name: "",
1012
+ type: "address",
1013
+ },
1014
+ ],
1015
+ stateMutability: "view",
1016
+ type: "function",
1017
+ },
1018
+ {
1019
+ inputs: [
1020
+ {
1021
+ components: [
1022
+ {
1023
+ internalType: "uint32",
1024
+ name: "dstEid",
1025
+ type: "uint32",
1026
+ },
1027
+ {
1028
+ internalType: "bytes32",
1029
+ name: "to",
1030
+ type: "bytes32",
1031
+ },
1032
+ {
1033
+ internalType: "uint256",
1034
+ name: "amountLD",
1035
+ type: "uint256",
1036
+ },
1037
+ {
1038
+ internalType: "uint256",
1039
+ name: "minAmountLD",
1040
+ type: "uint256",
1041
+ },
1042
+ {
1043
+ internalType: "bytes",
1044
+ name: "extraOptions",
1045
+ type: "bytes",
1046
+ },
1047
+ {
1048
+ internalType: "bytes",
1049
+ name: "composeMsg",
1050
+ type: "bytes",
1051
+ },
1052
+ {
1053
+ internalType: "bytes",
1054
+ name: "oftCmd",
1055
+ type: "bytes",
1056
+ },
1057
+ ],
1058
+ internalType: "struct SendParam",
1059
+ name: "_sendParam",
1060
+ type: "tuple",
1061
+ },
1062
+ ],
1063
+ name: "quoteOFT",
1064
+ outputs: [
1065
+ {
1066
+ components: [
1067
+ {
1068
+ internalType: "uint256",
1069
+ name: "minAmountLD",
1070
+ type: "uint256",
1071
+ },
1072
+ {
1073
+ internalType: "uint256",
1074
+ name: "maxAmountLD",
1075
+ type: "uint256",
1076
+ },
1077
+ ],
1078
+ internalType: "struct OFTLimit",
1079
+ name: "oftLimit",
1080
+ type: "tuple",
1081
+ },
1082
+ {
1083
+ components: [
1084
+ {
1085
+ internalType: "int256",
1086
+ name: "feeAmountLD",
1087
+ type: "int256",
1088
+ },
1089
+ {
1090
+ internalType: "string",
1091
+ name: "description",
1092
+ type: "string",
1093
+ },
1094
+ ],
1095
+ internalType: "struct OFTFeeDetail[]",
1096
+ name: "oftFeeDetails",
1097
+ type: "tuple[]",
1098
+ },
1099
+ {
1100
+ components: [
1101
+ {
1102
+ internalType: "uint256",
1103
+ name: "amountSentLD",
1104
+ type: "uint256",
1105
+ },
1106
+ {
1107
+ internalType: "uint256",
1108
+ name: "amountReceivedLD",
1109
+ type: "uint256",
1110
+ },
1111
+ ],
1112
+ internalType: "struct OFTReceipt",
1113
+ name: "oftReceipt",
1114
+ type: "tuple",
1115
+ },
1116
+ ],
1117
+ stateMutability: "view",
1118
+ type: "function",
1119
+ },
1120
+ {
1121
+ inputs: [
1122
+ {
1123
+ components: [
1124
+ {
1125
+ internalType: "uint32",
1126
+ name: "dstEid",
1127
+ type: "uint32",
1128
+ },
1129
+ {
1130
+ internalType: "bytes32",
1131
+ name: "to",
1132
+ type: "bytes32",
1133
+ },
1134
+ {
1135
+ internalType: "uint256",
1136
+ name: "amountLD",
1137
+ type: "uint256",
1138
+ },
1139
+ {
1140
+ internalType: "uint256",
1141
+ name: "minAmountLD",
1142
+ type: "uint256",
1143
+ },
1144
+ {
1145
+ internalType: "bytes",
1146
+ name: "extraOptions",
1147
+ type: "bytes",
1148
+ },
1149
+ {
1150
+ internalType: "bytes",
1151
+ name: "composeMsg",
1152
+ type: "bytes",
1153
+ },
1154
+ {
1155
+ internalType: "bytes",
1156
+ name: "oftCmd",
1157
+ type: "bytes",
1158
+ },
1159
+ ],
1160
+ internalType: "struct SendParam",
1161
+ name: "_sendParam",
1162
+ type: "tuple",
1163
+ },
1164
+ {
1165
+ internalType: "bool",
1166
+ name: "_payInLzToken",
1167
+ type: "bool",
1168
+ },
1169
+ ],
1170
+ name: "quoteSend",
1171
+ outputs: [
1172
+ {
1173
+ components: [
1174
+ {
1175
+ internalType: "uint256",
1176
+ name: "nativeFee",
1177
+ type: "uint256",
1178
+ },
1179
+ {
1180
+ internalType: "uint256",
1181
+ name: "lzTokenFee",
1182
+ type: "uint256",
1183
+ },
1184
+ ],
1185
+ internalType: "struct MessagingFee",
1186
+ name: "msgFee",
1187
+ type: "tuple",
1188
+ },
1189
+ ],
1190
+ stateMutability: "view",
1191
+ type: "function",
1192
+ },
1193
+ {
1194
+ inputs: [],
1195
+ name: "renounceOwnership",
1196
+ outputs: [],
1197
+ stateMutability: "nonpayable",
1198
+ type: "function",
1199
+ },
1200
+ {
1201
+ inputs: [
1202
+ {
1203
+ components: [
1204
+ {
1205
+ internalType: "uint32",
1206
+ name: "dstEid",
1207
+ type: "uint32",
1208
+ },
1209
+ {
1210
+ internalType: "bytes32",
1211
+ name: "to",
1212
+ type: "bytes32",
1213
+ },
1214
+ {
1215
+ internalType: "uint256",
1216
+ name: "amountLD",
1217
+ type: "uint256",
1218
+ },
1219
+ {
1220
+ internalType: "uint256",
1221
+ name: "minAmountLD",
1222
+ type: "uint256",
1223
+ },
1224
+ {
1225
+ internalType: "bytes",
1226
+ name: "extraOptions",
1227
+ type: "bytes",
1228
+ },
1229
+ {
1230
+ internalType: "bytes",
1231
+ name: "composeMsg",
1232
+ type: "bytes",
1233
+ },
1234
+ {
1235
+ internalType: "bytes",
1236
+ name: "oftCmd",
1237
+ type: "bytes",
1238
+ },
1239
+ ],
1240
+ internalType: "struct SendParam",
1241
+ name: "_sendParam",
1242
+ type: "tuple",
1243
+ },
1244
+ {
1245
+ components: [
1246
+ {
1247
+ internalType: "uint256",
1248
+ name: "nativeFee",
1249
+ type: "uint256",
1250
+ },
1251
+ {
1252
+ internalType: "uint256",
1253
+ name: "lzTokenFee",
1254
+ type: "uint256",
1255
+ },
1256
+ ],
1257
+ internalType: "struct MessagingFee",
1258
+ name: "_fee",
1259
+ type: "tuple",
1260
+ },
1261
+ {
1262
+ internalType: "address",
1263
+ name: "_refundAddress",
1264
+ type: "address",
1265
+ },
1266
+ ],
1267
+ name: "send",
1268
+ outputs: [
1269
+ {
1270
+ components: [
1271
+ {
1272
+ internalType: "bytes32",
1273
+ name: "guid",
1274
+ type: "bytes32",
1275
+ },
1276
+ {
1277
+ internalType: "uint64",
1278
+ name: "nonce",
1279
+ type: "uint64",
1280
+ },
1281
+ {
1282
+ components: [
1283
+ {
1284
+ internalType: "uint256",
1285
+ name: "nativeFee",
1286
+ type: "uint256",
1287
+ },
1288
+ {
1289
+ internalType: "uint256",
1290
+ name: "lzTokenFee",
1291
+ type: "uint256",
1292
+ },
1293
+ ],
1294
+ internalType: "struct MessagingFee",
1295
+ name: "fee",
1296
+ type: "tuple",
1297
+ },
1298
+ ],
1299
+ internalType: "struct MessagingReceipt",
1300
+ name: "msgReceipt",
1301
+ type: "tuple",
1302
+ },
1303
+ {
1304
+ components: [
1305
+ {
1306
+ internalType: "uint256",
1307
+ name: "amountSentLD",
1308
+ type: "uint256",
1309
+ },
1310
+ {
1311
+ internalType: "uint256",
1312
+ name: "amountReceivedLD",
1313
+ type: "uint256",
1314
+ },
1315
+ ],
1316
+ internalType: "struct OFTReceipt",
1317
+ name: "oftReceipt",
1318
+ type: "tuple",
1319
+ },
1320
+ ],
1321
+ stateMutability: "payable",
1322
+ type: "function",
1323
+ },
1324
+ {
1325
+ inputs: [
1326
+ {
1327
+ internalType: "address",
1328
+ name: "_delegate",
1329
+ type: "address",
1330
+ },
1331
+ ],
1332
+ name: "setDelegate",
1333
+ outputs: [],
1334
+ stateMutability: "nonpayable",
1335
+ type: "function",
1336
+ },
1337
+ {
1338
+ inputs: [
1339
+ {
1340
+ components: [
1341
+ {
1342
+ internalType: "uint32",
1343
+ name: "eid",
1344
+ type: "uint32",
1345
+ },
1346
+ {
1347
+ internalType: "uint16",
1348
+ name: "msgType",
1349
+ type: "uint16",
1350
+ },
1351
+ {
1352
+ internalType: "bytes",
1353
+ name: "options",
1354
+ type: "bytes",
1355
+ },
1356
+ ],
1357
+ internalType: "struct EnforcedOptionParam[]",
1358
+ name: "_enforcedOptions",
1359
+ type: "tuple[]",
1360
+ },
1361
+ ],
1362
+ name: "setEnforcedOptions",
1363
+ outputs: [],
1364
+ stateMutability: "nonpayable",
1365
+ type: "function",
1366
+ },
1367
+ {
1368
+ inputs: [
1369
+ {
1370
+ internalType: "address",
1371
+ name: "_msgInspector",
1372
+ type: "address",
1373
+ },
1374
+ ],
1375
+ name: "setMsgInspector",
1376
+ outputs: [],
1377
+ stateMutability: "nonpayable",
1378
+ type: "function",
1379
+ },
1380
+ {
1381
+ inputs: [
1382
+ {
1383
+ internalType: "uint32",
1384
+ name: "_eid",
1385
+ type: "uint32",
1386
+ },
1387
+ {
1388
+ internalType: "bytes32",
1389
+ name: "_peer",
1390
+ type: "bytes32",
1391
+ },
1392
+ ],
1393
+ name: "setPeer",
1394
+ outputs: [],
1395
+ stateMutability: "nonpayable",
1396
+ type: "function",
1397
+ },
1398
+ {
1399
+ inputs: [
1400
+ {
1401
+ internalType: "address",
1402
+ name: "_preCrime",
1403
+ type: "address",
1404
+ },
1405
+ ],
1406
+ name: "setPreCrime",
1407
+ outputs: [],
1408
+ stateMutability: "nonpayable",
1409
+ type: "function",
1410
+ },
1411
+ {
1412
+ inputs: [],
1413
+ name: "sharedDecimals",
1414
+ outputs: [
1415
+ {
1416
+ internalType: "uint8",
1417
+ name: "",
1418
+ type: "uint8",
1419
+ },
1420
+ ],
1421
+ stateMutability: "view",
1422
+ type: "function",
1423
+ },
1424
+ {
1425
+ inputs: [],
1426
+ name: "symbol",
1427
+ outputs: [
1428
+ {
1429
+ internalType: "string",
1430
+ name: "",
1431
+ type: "string",
1432
+ },
1433
+ ],
1434
+ stateMutability: "view",
1435
+ type: "function",
1436
+ },
1437
+ {
1438
+ inputs: [],
1439
+ name: "token",
1440
+ outputs: [
1441
+ {
1442
+ internalType: "address",
1443
+ name: "",
1444
+ type: "address",
1445
+ },
1446
+ ],
1447
+ stateMutability: "view",
1448
+ type: "function",
1449
+ },
1450
+ {
1451
+ inputs: [],
1452
+ name: "totalSupply",
1453
+ outputs: [
1454
+ {
1455
+ internalType: "uint256",
1456
+ name: "",
1457
+ type: "uint256",
1458
+ },
1459
+ ],
1460
+ stateMutability: "view",
1461
+ type: "function",
1462
+ },
1463
+ {
1464
+ inputs: [
1465
+ {
1466
+ internalType: "address",
1467
+ name: "to",
1468
+ type: "address",
1469
+ },
1470
+ {
1471
+ internalType: "uint256",
1472
+ name: "amount",
1473
+ type: "uint256",
1474
+ },
1475
+ ],
1476
+ name: "transfer",
1477
+ outputs: [
1478
+ {
1479
+ internalType: "bool",
1480
+ name: "",
1481
+ type: "bool",
1482
+ },
1483
+ ],
1484
+ stateMutability: "nonpayable",
1485
+ type: "function",
1486
+ },
1487
+ {
1488
+ inputs: [
1489
+ {
1490
+ internalType: "address",
1491
+ name: "from",
1492
+ type: "address",
1493
+ },
1494
+ {
1495
+ internalType: "address",
1496
+ name: "to",
1497
+ type: "address",
1498
+ },
1499
+ {
1500
+ internalType: "uint256",
1501
+ name: "amount",
1502
+ type: "uint256",
1503
+ },
1504
+ ],
1505
+ name: "transferFrom",
1506
+ outputs: [
1507
+ {
1508
+ internalType: "bool",
1509
+ name: "",
1510
+ type: "bool",
1511
+ },
1512
+ ],
1513
+ stateMutability: "nonpayable",
1514
+ type: "function",
1515
+ },
1516
+ {
1517
+ inputs: [
1518
+ {
1519
+ internalType: "address",
1520
+ name: "newOwner",
1521
+ type: "address",
1522
+ },
1523
+ ],
1524
+ name: "transferOwnership",
1525
+ outputs: [],
1526
+ stateMutability: "nonpayable",
1527
+ type: "function",
1528
+ },
1529
+ ];
1530
+
1531
+ export class BasePendleBridgedPrincipalToken__factory {
1532
+ static readonly abi = _abi;
1533
+ static createInterface(): BasePendleBridgedPrincipalTokenInterface {
1534
+ return new utils.Interface(
1535
+ _abi
1536
+ ) as BasePendleBridgedPrincipalTokenInterface;
1537
+ }
1538
+ static connect(
1539
+ address: string,
1540
+ signerOrProvider: Signer | Provider
1541
+ ): BasePendleBridgedPrincipalToken {
1542
+ return new Contract(
1543
+ address,
1544
+ _abi,
1545
+ signerOrProvider
1546
+ ) as BasePendleBridgedPrincipalToken;
1547
+ }
1548
+ }