@pendle/core-v2 6.4.2-swaphubtest → 6.4.2

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