@pendle/core-v2 6.0.0 → 6.1.0

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