@pendle/core-v2 6.5.0 → 6.6.1

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