@pendle/core-v2 6.4.1 → 6.4.2-swaphubtest

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