@pendle/core-v2 6.6.1 → 6.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -88
  10. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -122
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  46. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
  47. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +4 -0
  51. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +1388 -0
  52. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
  54. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +46 -14
  55. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  56. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +46 -14
  57. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +4 -0
  58. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +1541 -0
  59. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +4 -0
  60. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +1570 -0
  61. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  62. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +57 -35
  63. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
  64. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +57 -35
  65. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  66. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  67. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +4 -0
  96. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.json +1026 -0
  97. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +11 -0
  99. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +0 -67
  128. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +0 -120
  133. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  156. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  157. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  158. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  159. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  160. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
  161. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  221. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  222. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  223. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  224. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  225. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  226. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  227. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  228. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  230. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  232. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  233. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  234. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  243. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  245. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  247. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  249. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  251. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  253. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  255. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  256. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  257. package/contracts/LiquidityMining/PendleMerkleDistributor.sol +1 -28
  258. package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +1 -36
  259. package/contracts/cross-chain/factory/PendleBridgePTFactory.sol +495 -0
  260. package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +5 -4
  261. package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +14 -6
  262. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol +11 -0
  263. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol +52 -0
  264. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +33 -24
  265. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +4 -13
  266. package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
  267. package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
  268. package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
  269. package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
  270. package/contracts/limit/LimitRouterBase.sol +1 -1
  271. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
  272. package/deployments/143-core.json +38 -2
  273. package/deployments/143-offchain-helper.json +11 -0
  274. package/deployments/4217-core.json +1 -0
  275. package/deployments/43114-core.json +1 -0
  276. package/deployments/57073-core.json +2 -0
  277. package/deployments/747474-core.json +2 -0
  278. package/package.json +12 -9
  279. package/typechain-types/AaveMoneyMarket.ts +763 -0
  280. package/typechain-types/AaveMoneyMarketView.ts +460 -0
  281. package/typechain-types/BaseMoneyMarket.ts +697 -0
  282. package/typechain-types/BaseMoneyMarketView.ts +362 -0
  283. package/typechain-types/DVNOptions.ts +57 -0
  284. package/typechain-types/ExecutorOptions.ts +57 -0
  285. package/typechain-types/IAToken.ts +358 -0
  286. package/typechain-types/IAaveOracle.ts +235 -0
  287. package/typechain-types/IAaveRewardsController.ts +1186 -0
  288. package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +431 -0
  289. package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +606 -0
  290. package/typechain-types/IDssPsm.ts +194 -0
  291. package/typechain-types/IERC4626.ts +864 -0
  292. package/typechain-types/IFlashLoanReceiver.ts +125 -0
  293. package/typechain-types/IIrm.ts +260 -0
  294. package/typechain-types/IMoneyMarket.ts +700 -0
  295. package/typechain-types/IMoneyMarketEvents.ts +196 -0
  296. package/typechain-types/IMoneyMarketView.ts +331 -0
  297. package/typechain-types/IMorpho.ts +1147 -0
  298. package/typechain-types/IMorphoOracle.ts +81 -0
  299. package/typechain-types/IMulticall.ts +117 -0
  300. package/typechain-types/IPBridgePTFactory.ts +936 -0
  301. package/typechain-types/IPLoopPositionBox.ts +298 -0
  302. package/typechain-types/IPLoopPositionBoxFactory.ts +434 -0
  303. package/typechain-types/IPMerkleDistributor.ts +0 -90
  304. package/typechain-types/IPMultiTokenMerkleDistributor.ts +0 -158
  305. package/typechain-types/IPPTLooper.ts +1550 -0
  306. package/typechain-types/IPPTLooperView.ts +468 -0
  307. package/typechain-types/IPool.ts +2220 -0
  308. package/typechain-types/IPoolAddressesProvider.ts +789 -0
  309. package/typechain-types/IPoolDataProviderV3.ts +865 -0
  310. package/typechain-types/IPoolDataProviderV31.ts +933 -0
  311. package/typechain-types/IPot.ts +181 -0
  312. package/typechain-types/IPriceOracleGetter.ts +133 -0
  313. package/typechain-types/ISDAI.ts +877 -0
  314. package/typechain-types/LoopPositionBox.ts +309 -0
  315. package/typechain-types/LoopPositionBoxFactory.ts +609 -0
  316. package/typechain-types/MorphoBlueMoneyMarket.ts +731 -0
  317. package/typechain-types/MorphoBlueMoneyMarketView.ts +396 -0
  318. package/typechain-types/Multicall.ts +117 -0
  319. package/typechain-types/OAppPreCrimeSimulatorUpgradeable.ts +410 -0
  320. package/typechain-types/OFTAdapterAltImpl.ts +50 -19
  321. package/typechain-types/OFTAdapterImpl.ts +50 -19
  322. package/typechain-types/OFTAdapterUpgradeable.ts +1337 -0
  323. package/typechain-types/OFTCoreUpgradeable.ts +1337 -0
  324. package/typechain-types/OFTUpgradeable.ts +1681 -0
  325. package/typechain-types/OptionsBuilder.ts +57 -0
  326. package/typechain-types/PTLooperBase.ts +1759 -0
  327. package/typechain-types/PTLooperView.ts +618 -0
  328. package/typechain-types/PendleBridgePTFactory.ts +1311 -0
  329. package/typechain-types/PendleBridgedPrincipalToken.ts +67 -20
  330. package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +67 -20
  331. package/typechain-types/PendleMerkleDistributor.ts +0 -106
  332. package/typechain-types/PendleMultiTokenMerkleDistributor.ts +0 -158
  333. package/typechain-types/PendleOFT.ts +1675 -0
  334. package/typechain-types/PendleOFTAlt.ts +1694 -0
  335. package/typechain-types/PendlePTLooper.ts +1784 -0
  336. package/typechain-types/PendlePTLooperView.ts +648 -0
  337. package/typechain-types/UUPSUpgradeable.ts +0 -9
  338. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +450 -0
  339. package/typechain-types/factories/AaveMoneyMarket__factory.ts +726 -0
  340. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  341. package/typechain-types/factories/BaseMoneyMarketView__factory.ts +279 -0
  342. package/typechain-types/factories/BaseMoneyMarket__factory.ts +599 -0
  343. package/typechain-types/factories/DVNOptions__factory.ts +77 -0
  344. package/typechain-types/factories/ExecutorOptions__factory.ts +84 -0
  345. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  346. package/typechain-types/factories/IAToken__factory.ts +258 -0
  347. package/typechain-types/factories/IAaveOracle__factory.ts +132 -0
  348. package/typechain-types/factories/IAaveRewardsController__factory.ts +743 -0
  349. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +441 -0
  350. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +278 -0
  351. package/typechain-types/factories/IDssPsm__factory.ts +122 -0
  352. package/typechain-types/factories/IERC4626__factory.ts +635 -0
  353. package/typechain-types/factories/IFlashLoanReceiver__factory.ts +65 -0
  354. package/typechain-types/factories/IIrm__factory.ts +243 -0
  355. package/typechain-types/factories/IMoneyMarketEvents__factory.ts +225 -0
  356. package/typechain-types/factories/IMoneyMarketView__factory.ts +253 -0
  357. package/typechain-types/factories/IMoneyMarket__factory.ts +596 -0
  358. package/typechain-types/factories/IMorphoOracle__factory.ts +36 -0
  359. package/typechain-types/factories/IMorpho__factory.ts +1045 -0
  360. package/typechain-types/factories/IMulticall__factory.ts +66 -0
  361. package/typechain-types/factories/IOFT__factory.ts +11 -0
  362. package/typechain-types/factories/IPBridgePTFactory__factory.ts +1041 -0
  363. package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -0
  364. package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +420 -0
  365. package/typechain-types/factories/IPLoopPositionBox__factory.ts +198 -0
  366. package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -67
  367. package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +0 -120
  368. package/typechain-types/factories/IPPTLooperView__factory.ts +331 -0
  369. package/typechain-types/factories/IPPTLooper__factory.ts +2506 -0
  370. package/typechain-types/factories/IPoolAddressesProvider__factory.ts +526 -0
  371. package/typechain-types/factories/IPoolDataProviderV31__factory.ts +596 -0
  372. package/typechain-types/factories/IPoolDataProviderV3__factory.ts +554 -0
  373. package/typechain-types/factories/IPool__factory.ts +1609 -0
  374. package/typechain-types/factories/IPot__factory.ts +98 -0
  375. package/typechain-types/factories/IPriceOracleGetter__factory.ts +71 -0
  376. package/typechain-types/factories/ISDAI__factory.ts +645 -0
  377. package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +648 -0
  378. package/typechain-types/factories/LoopPositionBox__factory.ts +277 -0
  379. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +384 -0
  380. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +691 -0
  381. package/typechain-types/factories/Multicall__factory.ts +104 -0
  382. package/typechain-types/factories/OAppPreCrimeSimulatorUpgradeable__factory.ts +311 -0
  383. package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +49 -25
  384. package/typechain-types/factories/OFTAdapterImpl__factory.ts +49 -25
  385. package/typechain-types/factories/OFTAdapterUpgradeable__factory.ts +1287 -0
  386. package/typechain-types/factories/OFTAdapter__factory.ts +11 -0
  387. package/typechain-types/factories/OFTCoreUpgradeable__factory.ts +1283 -0
  388. package/typechain-types/factories/OFTCore__factory.ts +11 -0
  389. package/typechain-types/factories/OFTUpgradeable__factory.ts +1553 -0
  390. package/typechain-types/factories/OFT__factory.ts +11 -0
  391. package/typechain-types/factories/OptionsBuilder__factory.ts +91 -0
  392. package/typechain-types/factories/PTLooperBase__factory.ts +2656 -0
  393. package/typechain-types/factories/PTLooperView__factory.ts +467 -0
  394. package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1481 -0
  395. package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +60 -58
  396. package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
  397. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  398. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -87
  399. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -121
  400. package/typechain-types/factories/PendleOFTAlt__factory.ts +1628 -0
  401. package/typechain-types/factories/PendleOFT__factory.ts +1599 -0
  402. package/typechain-types/factories/PendlePTLooperView__factory.ts +499 -0
  403. package/typechain-types/factories/PendlePTLooper__factory.ts +2738 -0
  404. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  405. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  406. package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
  407. package/typechain-types/hardhat.d.ts +103 -49
  408. package/typechain-types/index.ts +24 -10
  409. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
  410. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -280
  411. package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
@@ -4,6 +4,8 @@
4
4
  export type { AggregatorInterface } from "./AggregatorInterface";
5
5
  export type { AggregatorV2V3Interface } from "./AggregatorV2V3Interface";
6
6
  export type { AggregatorV3Interface } from "./AggregatorV3Interface";
7
+ export type { ExecutorOptions } from "./ExecutorOptions";
8
+ export type { DVNOptions } from "./DVNOptions";
7
9
  export type { ILayerZeroEndpointV2 } from "./ILayerZeroEndpointV2";
8
10
  export type { ILayerZeroReceiver } from "./ILayerZeroReceiver";
9
11
  export type { IMessageLib } from "./IMessageLib";
@@ -18,11 +20,13 @@ export type { OAppCoreUpgradeable } from "./OAppCoreUpgradeable";
18
20
  export type { OAppReceiverUpgradeable } from "./OAppReceiverUpgradeable";
19
21
  export type { OAppSenderUpgradeable } from "./OAppSenderUpgradeable";
20
22
  export type { OAppUpgradeable } from "./OAppUpgradeable";
23
+ export type { OAppPreCrimeSimulatorUpgradeable } from "./OAppPreCrimeSimulatorUpgradeable";
21
24
  export type { IOAppCore } from "./IOAppCore";
22
25
  export type { IOAppMsgInspector } from "./IOAppMsgInspector";
23
26
  export type { IOAppOptionsType3 } from "./IOAppOptionsType3";
24
27
  export type { IOAppReceiver } from "./IOAppReceiver";
25
28
  export type { OAppOptionsType3 } from "./OAppOptionsType3";
29
+ export type { OptionsBuilder } from "./OptionsBuilder";
26
30
  export type { OApp } from "./OApp";
27
31
  export type { OAppCore } from "./OAppCore";
28
32
  export type { OAppReceiver } from "./OAppReceiver";
@@ -30,6 +34,9 @@ export type { OAppSender } from "./OAppSender";
30
34
  export type { IOAppPreCrimeSimulator } from "./IOAppPreCrimeSimulator";
31
35
  export type { IPreCrime } from "./IPreCrime";
32
36
  export type { OAppPreCrimeSimulator } from "./OAppPreCrimeSimulator";
37
+ export type { OFTAdapterUpgradeable } from "./OFTAdapterUpgradeable";
38
+ export type { OFTCoreUpgradeable } from "./OFTCoreUpgradeable";
39
+ export type { OFTUpgradeable } from "./OFTUpgradeable";
33
40
  export type { IOFT } from "./IOFT";
34
41
  export type { OFT } from "./OFT";
35
42
  export type { OFTAdapter } from "./OFTAdapter";
@@ -56,6 +63,7 @@ export type { Ownable } from "./Ownable";
56
63
  export type { IERC1822Proxiable } from "./IERC1822Proxiable";
57
64
  export type { IERC1271 } from "./IERC1271";
58
65
  export type { IERC1967 } from "./IERC1967";
66
+ export type { IERC4626 } from "./IERC4626";
59
67
  export type { IBeacon } from "./IBeacon";
60
68
  export type { ERC1967Proxy } from "./ERC1967Proxy";
61
69
  export type { ERC1967Upgrade } from "./ERC1967Upgrade";
@@ -84,12 +92,13 @@ export type { PendleYieldContractFactoryUpg } from "./PendleYieldContractFactory
84
92
  export type { PendleYieldToken } from "./PendleYieldToken";
85
93
  export type { DepositBox } from "./DepositBox";
86
94
  export type { DepositBoxFactory } from "./DepositBoxFactory";
87
- export type { PendlePTOFTAdapterFactory } from "./PendlePTOFTAdapterFactory";
88
- export type { FixedPricePTAMM } from "./FixedPricePTAMM";
95
+ export type { PendleBridgePTFactory } from "./PendleBridgePTFactory";
89
96
  export type { FixedPricePTAMMV2 } from "./FixedPricePTAMMV2";
90
97
  export type { BridgeFunder } from "./BridgeFunder";
91
98
  export type { OFTAdapterAltImpl } from "./OFTAdapterAltImpl";
92
99
  export type { OFTAdapterImpl } from "./OFTAdapterImpl";
100
+ export type { PendleOFT } from "./PendleOFT";
101
+ export type { PendleOFTAlt } from "./PendleOFTAlt";
93
102
  export type { PendleBridgedPrincipalToken } from "./PendleBridgedPrincipalToken";
94
103
  export type { PendleBridgedPrincipalTokenAlt } from "./PendleBridgedPrincipalTokenAlt";
95
104
  export type { PendleSwapHelper } from "./PendleSwapHelper";
@@ -103,7 +112,6 @@ export type { IMarketSweed } from "./IMarketSweed";
103
112
  export type { IOwnable } from "./IOwnable";
104
113
  export type { IPActionAddRemoveLiqV3 } from "./IPActionAddRemoveLiqV3";
105
114
  export type { IPActionCallbackV3 } from "./IPActionCallbackV3";
106
- export type { IPActionCrossChain } from "./IPActionCrossChain";
107
115
  export type { IPActionInfoStatic } from "./IPActionInfoStatic";
108
116
  export type { IPActionMarketAuxStatic } from "./IPActionMarketAuxStatic";
109
117
  export type { IPActionMarketCoreStatic } from "./IPActionMarketCoreStatic";
@@ -124,6 +132,7 @@ export type { IPActionSwapYTV3Events } from "./IPActionSwapYTV3Events";
124
132
  export type { IPAllEventsV3 } from "./IPAllEventsV3";
125
133
  export type { IPBridgedPrincipalToken } from "./IPBridgedPrincipalToken";
126
134
  export type { IPBridgeFunder } from "./IPBridgeFunder";
135
+ export type { IPBridgePTFactory } from "./IPBridgePTFactory";
127
136
  export type { IPChainlinkOracle } from "./IPChainlinkOracle";
128
137
  export type { IPChainlinkOracleEssential } from "./IPChainlinkOracleEssential";
129
138
  export type { IPChainlinkOracleFactory } from "./IPChainlinkOracleFactory";
@@ -137,7 +146,6 @@ export type { IPExchangeRateOracle } from "./IPExchangeRateOracle";
137
146
  export type { IPExchangeRateOracleApp } from "./IPExchangeRateOracleApp";
138
147
  export type { IPFeeDistributor } from "./IPFeeDistributor";
139
148
  export type { IPFeeDistributorV2 } from "./IPFeeDistributorV2";
140
- export type { IPFixedPricePTAMM } from "./IPFixedPricePTAMM";
141
149
  export type { IPFixedPricePTAMMSwapCallback } from "./IPFixedPricePTAMMSwapCallback";
142
150
  export type { IPFixedPricePTAMMV2 } from "./IPFixedPricePTAMMV2";
143
151
  export type { IPGauge } from "./IPGauge";
@@ -260,7 +268,6 @@ export type { PendleLinearDiscountOracleWrapper } from "./PendleLinearDiscountOr
260
268
  export type { PendleSparkLinearDiscountOracleFactoryWrapper } from "./PendleSparkLinearDiscountOracleFactoryWrapper";
261
269
  export type { ActionAddRemoveLiqV3 } from "./ActionAddRemoveLiqV3";
262
270
  export type { ActionCallbackV3 } from "./ActionCallbackV3";
263
- export type { ActionCrossChain } from "./ActionCrossChain";
264
271
  export type { ActionMiscV3 } from "./ActionMiscV3";
265
272
  export type { ActionSimple } from "./ActionSimple";
266
273
  export type { ActionStorageV4 } from "./ActionStorageV4";
@@ -279,6 +286,8 @@ export type { PendleSwap } from "./PendleSwap";
279
286
  export { AggregatorInterface__factory } from "./factories/AggregatorInterface__factory";
280
287
  export { AggregatorV2V3Interface__factory } from "./factories/AggregatorV2V3Interface__factory";
281
288
  export { AggregatorV3Interface__factory } from "./factories/AggregatorV3Interface__factory";
289
+ export { ExecutorOptions__factory } from "./factories/ExecutorOptions__factory";
290
+ export { DVNOptions__factory } from "./factories/DVNOptions__factory";
282
291
  export { ILayerZeroEndpointV2__factory } from "./factories/ILayerZeroEndpointV2__factory";
283
292
  export { ILayerZeroReceiver__factory } from "./factories/ILayerZeroReceiver__factory";
284
293
  export { IMessageLib__factory } from "./factories/IMessageLib__factory";
@@ -293,11 +302,13 @@ export { OAppCoreUpgradeable__factory } from "./factories/OAppCoreUpgradeable__f
293
302
  export { OAppReceiverUpgradeable__factory } from "./factories/OAppReceiverUpgradeable__factory";
294
303
  export { OAppSenderUpgradeable__factory } from "./factories/OAppSenderUpgradeable__factory";
295
304
  export { OAppUpgradeable__factory } from "./factories/OAppUpgradeable__factory";
305
+ export { OAppPreCrimeSimulatorUpgradeable__factory } from "./factories/OAppPreCrimeSimulatorUpgradeable__factory";
296
306
  export { IOAppCore__factory } from "./factories/IOAppCore__factory";
297
307
  export { IOAppMsgInspector__factory } from "./factories/IOAppMsgInspector__factory";
298
308
  export { IOAppOptionsType3__factory } from "./factories/IOAppOptionsType3__factory";
299
309
  export { IOAppReceiver__factory } from "./factories/IOAppReceiver__factory";
300
310
  export { OAppOptionsType3__factory } from "./factories/OAppOptionsType3__factory";
311
+ export { OptionsBuilder__factory } from "./factories/OptionsBuilder__factory";
301
312
  export { OApp__factory } from "./factories/OApp__factory";
302
313
  export { OAppCore__factory } from "./factories/OAppCore__factory";
303
314
  export { OAppReceiver__factory } from "./factories/OAppReceiver__factory";
@@ -305,6 +316,9 @@ export { OAppSender__factory } from "./factories/OAppSender__factory";
305
316
  export { IOAppPreCrimeSimulator__factory } from "./factories/IOAppPreCrimeSimulator__factory";
306
317
  export { IPreCrime__factory } from "./factories/IPreCrime__factory";
307
318
  export { OAppPreCrimeSimulator__factory } from "./factories/OAppPreCrimeSimulator__factory";
319
+ export { OFTAdapterUpgradeable__factory } from "./factories/OFTAdapterUpgradeable__factory";
320
+ export { OFTCoreUpgradeable__factory } from "./factories/OFTCoreUpgradeable__factory";
321
+ export { OFTUpgradeable__factory } from "./factories/OFTUpgradeable__factory";
308
322
  export { IOFT__factory } from "./factories/IOFT__factory";
309
323
  export { OFT__factory } from "./factories/OFT__factory";
310
324
  export { OFTAdapter__factory } from "./factories/OFTAdapter__factory";
@@ -331,6 +345,7 @@ export { Ownable__factory } from "./factories/Ownable__factory";
331
345
  export { IERC1822Proxiable__factory } from "./factories/IERC1822Proxiable__factory";
332
346
  export { IERC1271__factory } from "./factories/IERC1271__factory";
333
347
  export { IERC1967__factory } from "./factories/IERC1967__factory";
348
+ export { IERC4626__factory } from "./factories/IERC4626__factory";
334
349
  export { IBeacon__factory } from "./factories/IBeacon__factory";
335
350
  export { ERC1967Proxy__factory } from "./factories/ERC1967Proxy__factory";
336
351
  export { ERC1967Upgrade__factory } from "./factories/ERC1967Upgrade__factory";
@@ -359,12 +374,13 @@ export { PendleYieldContractFactoryUpg__factory } from "./factories/PendleYieldC
359
374
  export { PendleYieldToken__factory } from "./factories/PendleYieldToken__factory";
360
375
  export { DepositBox__factory } from "./factories/DepositBox__factory";
361
376
  export { DepositBoxFactory__factory } from "./factories/DepositBoxFactory__factory";
362
- export { PendlePTOFTAdapterFactory__factory } from "./factories/PendlePTOFTAdapterFactory__factory";
363
- export { FixedPricePTAMM__factory } from "./factories/FixedPricePTAMM__factory";
377
+ export { PendleBridgePTFactory__factory } from "./factories/PendleBridgePTFactory__factory";
364
378
  export { FixedPricePTAMMV2__factory } from "./factories/FixedPricePTAMMV2__factory";
365
379
  export { BridgeFunder__factory } from "./factories/BridgeFunder__factory";
366
380
  export { OFTAdapterAltImpl__factory } from "./factories/OFTAdapterAltImpl__factory";
367
381
  export { OFTAdapterImpl__factory } from "./factories/OFTAdapterImpl__factory";
382
+ export { PendleOFT__factory } from "./factories/PendleOFT__factory";
383
+ export { PendleOFTAlt__factory } from "./factories/PendleOFTAlt__factory";
368
384
  export { PendleBridgedPrincipalToken__factory } from "./factories/PendleBridgedPrincipalToken__factory";
369
385
  export { PendleBridgedPrincipalTokenAlt__factory } from "./factories/PendleBridgedPrincipalTokenAlt__factory";
370
386
  export { PendleSwapHelper__factory } from "./factories/PendleSwapHelper__factory";
@@ -378,7 +394,6 @@ export { IMarketSweed__factory } from "./factories/IMarketSweed__factory";
378
394
  export { IOwnable__factory } from "./factories/IOwnable__factory";
379
395
  export { IPActionAddRemoveLiqV3__factory } from "./factories/IPActionAddRemoveLiqV3__factory";
380
396
  export { IPActionCallbackV3__factory } from "./factories/IPActionCallbackV3__factory";
381
- export { IPActionCrossChain__factory } from "./factories/IPActionCrossChain__factory";
382
397
  export { IPActionInfoStatic__factory } from "./factories/IPActionInfoStatic__factory";
383
398
  export { IPActionMarketAuxStatic__factory } from "./factories/IPActionMarketAuxStatic__factory";
384
399
  export { IPActionMarketCoreStatic__factory } from "./factories/IPActionMarketCoreStatic__factory";
@@ -399,6 +414,7 @@ export { IPActionSwapYTV3Events__factory } from "./factories/IPActionSwapYTV3Eve
399
414
  export { IPAllEventsV3__factory } from "./factories/IPAllEventsV3__factory";
400
415
  export { IPBridgedPrincipalToken__factory } from "./factories/IPBridgedPrincipalToken__factory";
401
416
  export { IPBridgeFunder__factory } from "./factories/IPBridgeFunder__factory";
417
+ export { IPBridgePTFactory__factory } from "./factories/IPBridgePTFactory__factory";
402
418
  export { IPChainlinkOracle__factory } from "./factories/IPChainlinkOracle__factory";
403
419
  export { IPChainlinkOracleEssential__factory } from "./factories/IPChainlinkOracleEssential__factory";
404
420
  export { IPChainlinkOracleFactory__factory } from "./factories/IPChainlinkOracleFactory__factory";
@@ -412,7 +428,6 @@ export { IPExchangeRateOracle__factory } from "./factories/IPExchangeRateOracle_
412
428
  export { IPExchangeRateOracleApp__factory } from "./factories/IPExchangeRateOracleApp__factory";
413
429
  export { IPFeeDistributor__factory } from "./factories/IPFeeDistributor__factory";
414
430
  export { IPFeeDistributorV2__factory } from "./factories/IPFeeDistributorV2__factory";
415
- export { IPFixedPricePTAMM__factory } from "./factories/IPFixedPricePTAMM__factory";
416
431
  export { IPFixedPricePTAMMSwapCallback__factory } from "./factories/IPFixedPricePTAMMSwapCallback__factory";
417
432
  export { IPFixedPricePTAMMV2__factory } from "./factories/IPFixedPricePTAMMV2__factory";
418
433
  export { IPGauge__factory } from "./factories/IPGauge__factory";
@@ -535,7 +550,6 @@ export { PendleLinearDiscountOracleWrapper__factory } from "./factories/PendleLi
535
550
  export { PendleSparkLinearDiscountOracleFactoryWrapper__factory } from "./factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory";
536
551
  export { ActionAddRemoveLiqV3__factory } from "./factories/ActionAddRemoveLiqV3__factory";
537
552
  export { ActionCallbackV3__factory } from "./factories/ActionCallbackV3__factory";
538
- export { ActionCrossChain__factory } from "./factories/ActionCrossChain__factory";
539
553
  export { ActionMiscV3__factory } from "./factories/ActionMiscV3__factory";
540
554
  export { ActionSimple__factory } from "./factories/ActionSimple__factory";
541
555
  export { ActionStorageV4__factory } from "./factories/ActionStorageV4__factory";
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/e9a26f399229f6458b2626c3e072b4e2.json"
4
- }
@@ -1,280 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "PendlePTOFTAdapterFactory",
4
- "sourceName": "contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "lzEndpoint",
11
- "type": "address"
12
- }
13
- ],
14
- "stateMutability": "nonpayable",
15
- "type": "constructor"
16
- },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "address",
21
- "name": "pt",
22
- "type": "address"
23
- }
24
- ],
25
- "name": "PTOFTAdapterExisted",
26
- "type": "error"
27
- },
28
- {
29
- "anonymous": false,
30
- "inputs": [
31
- {
32
- "indexed": false,
33
- "internalType": "address",
34
- "name": "previousAdmin",
35
- "type": "address"
36
- },
37
- {
38
- "indexed": false,
39
- "internalType": "address",
40
- "name": "newAdmin",
41
- "type": "address"
42
- }
43
- ],
44
- "name": "AdminChanged",
45
- "type": "event"
46
- },
47
- {
48
- "anonymous": false,
49
- "inputs": [
50
- {
51
- "indexed": true,
52
- "internalType": "address",
53
- "name": "beacon",
54
- "type": "address"
55
- }
56
- ],
57
- "name": "BeaconUpgraded",
58
- "type": "event"
59
- },
60
- {
61
- "anonymous": false,
62
- "inputs": [
63
- {
64
- "indexed": false,
65
- "internalType": "uint8",
66
- "name": "version",
67
- "type": "uint8"
68
- }
69
- ],
70
- "name": "Initialized",
71
- "type": "event"
72
- },
73
- {
74
- "anonymous": false,
75
- "inputs": [
76
- {
77
- "indexed": true,
78
- "internalType": "address",
79
- "name": "previousOwner",
80
- "type": "address"
81
- },
82
- {
83
- "indexed": true,
84
- "internalType": "address",
85
- "name": "newOwner",
86
- "type": "address"
87
- }
88
- ],
89
- "name": "OwnershipTransferred",
90
- "type": "event"
91
- },
92
- {
93
- "anonymous": false,
94
- "inputs": [
95
- {
96
- "indexed": true,
97
- "internalType": "address",
98
- "name": "pt",
99
- "type": "address"
100
- },
101
- {
102
- "indexed": true,
103
- "internalType": "address",
104
- "name": "adapter",
105
- "type": "address"
106
- }
107
- ],
108
- "name": "PtAdapterCreated",
109
- "type": "event"
110
- },
111
- {
112
- "anonymous": false,
113
- "inputs": [
114
- {
115
- "indexed": true,
116
- "internalType": "address",
117
- "name": "implementation",
118
- "type": "address"
119
- }
120
- ],
121
- "name": "Upgraded",
122
- "type": "event"
123
- },
124
- {
125
- "inputs": [],
126
- "name": "claimOwnership",
127
- "outputs": [],
128
- "stateMutability": "nonpayable",
129
- "type": "function"
130
- },
131
- {
132
- "inputs": [
133
- {
134
- "internalType": "address",
135
- "name": "pt",
136
- "type": "address"
137
- }
138
- ],
139
- "name": "createPtAdapter",
140
- "outputs": [
141
- {
142
- "internalType": "address",
143
- "name": "",
144
- "type": "address"
145
- }
146
- ],
147
- "stateMutability": "nonpayable",
148
- "type": "function"
149
- },
150
- {
151
- "inputs": [
152
- {
153
- "internalType": "address",
154
- "name": "_owner",
155
- "type": "address"
156
- }
157
- ],
158
- "name": "initialize",
159
- "outputs": [],
160
- "stateMutability": "nonpayable",
161
- "type": "function"
162
- },
163
- {
164
- "inputs": [],
165
- "name": "owner",
166
- "outputs": [
167
- {
168
- "internalType": "address",
169
- "name": "",
170
- "type": "address"
171
- }
172
- ],
173
- "stateMutability": "view",
174
- "type": "function"
175
- },
176
- {
177
- "inputs": [],
178
- "name": "pendingOwner",
179
- "outputs": [
180
- {
181
- "internalType": "address",
182
- "name": "",
183
- "type": "address"
184
- }
185
- ],
186
- "stateMutability": "view",
187
- "type": "function"
188
- },
189
- {
190
- "inputs": [],
191
- "name": "proxiableUUID",
192
- "outputs": [
193
- {
194
- "internalType": "bytes32",
195
- "name": "",
196
- "type": "bytes32"
197
- }
198
- ],
199
- "stateMutability": "view",
200
- "type": "function"
201
- },
202
- {
203
- "inputs": [
204
- {
205
- "internalType": "address",
206
- "name": "pt",
207
- "type": "address"
208
- }
209
- ],
210
- "name": "ptAdapter",
211
- "outputs": [
212
- {
213
- "internalType": "address",
214
- "name": "",
215
- "type": "address"
216
- }
217
- ],
218
- "stateMutability": "view",
219
- "type": "function"
220
- },
221
- {
222
- "inputs": [
223
- {
224
- "internalType": "address",
225
- "name": "newOwner",
226
- "type": "address"
227
- },
228
- {
229
- "internalType": "bool",
230
- "name": "direct",
231
- "type": "bool"
232
- },
233
- {
234
- "internalType": "bool",
235
- "name": "renounce",
236
- "type": "bool"
237
- }
238
- ],
239
- "name": "transferOwnership",
240
- "outputs": [],
241
- "stateMutability": "nonpayable",
242
- "type": "function"
243
- },
244
- {
245
- "inputs": [
246
- {
247
- "internalType": "address",
248
- "name": "newImplementation",
249
- "type": "address"
250
- }
251
- ],
252
- "name": "upgradeTo",
253
- "outputs": [],
254
- "stateMutability": "nonpayable",
255
- "type": "function"
256
- },
257
- {
258
- "inputs": [
259
- {
260
- "internalType": "address",
261
- "name": "newImplementation",
262
- "type": "address"
263
- },
264
- {
265
- "internalType": "bytes",
266
- "name": "data",
267
- "type": "bytes"
268
- }
269
- ],
270
- "name": "upgradeToAndCall",
271
- "outputs": [],
272
- "stateMutability": "payable",
273
- "type": "function"
274
- }
275
- ],
276
- "bytecode": "0x60c060405230608052348015610013575f5ffd5b506040516141a13803806141a183398101604081905261003291610117565b61003a61004b565b6001600160a01b031660a052610144565b600154600160a81b900460ff16156100b95760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff90811614610115576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b5f60208284031215610127575f5ffd5b81516001600160a01b038116811461013d575f5ffd5b9392505050565b60805160a0516140206101815f395f61061101525f81816102d9015281816103190152818161044801528181610488015261050301526140205ff3fe608060405260043610610080575f3560e01c8063078dfbe7146100845780633659cfe6146100a55780634e71e0c8146100c45780634f1ef286146100d857806352d1902d146100eb5780638d96a034146101125780638da5cb5b1461013e578063c4d66de81461015c578063ca4728221461017b578063e30c3978146101af575b5f5ffd5b34801561008f575f5ffd5b506100a361009e366004610d31565b6101ce565b005b3480156100b0575f5ffd5b506100a36100bf366004610d71565b6102cf565b3480156100cf575f5ffd5b506100a3610396565b6100a36100e6366004610d9e565b61043e565b3480156100f6575f5ffd5b506100ff6104f7565b6040519081526020015b60405180910390f35b34801561011d575f5ffd5b5061013161012c366004610d71565b6105a3565b6040516101099190610e5f565b348015610149575f5ffd5b505f54610131906001600160a01b031681565b348015610167575f5ffd5b506100a3610176366004610d71565b61074b565b348015610186575f5ffd5b50610131610195366004610d71565b60966020525f90815260409020546001600160a01b031681565b3480156101ba575f5ffd5b50600154610131906001600160a01b031681565b5f546001600160a01b031633146102005760405162461bcd60e51b81526004016101f790610e73565b60405180910390fd5b81156102ae576001600160a01b03831615158061021a5750805b61025e5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016101f7565b5f80546040516001600160a01b03808716939216915f516020613fa45f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036103175760405162461bcd60e51b81526004016101f790610ea8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610349610883565b6001600160a01b03161461036f5760405162461bcd60e51b81526004016101f790610ee1565b6103788161089e565b604080515f80825260208201909252610393918391906108c7565b50565b6001546001600160a01b03163381146103f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016101f7565b5f80546040516001600160a01b03808516939216915f516020613fa45f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104865760405162461bcd60e51b81526004016101f790610ea8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104b8610883565b6001600160a01b0316146104de5760405162461bcd60e51b81526004016101f790610ee1565b6104e78261089e565b6104f3828260016108c7565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105915760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016101f7565b505f516020613f845f395f51905f5290565b5f80546001600160a01b031633146105cd5760405162461bcd60e51b81526004016101f790610e73565b6001600160a01b038281165f908152609660205260409020541615610607578160405163018d3a6560e51b81526004016101f79190610e5f565b5f805460405184917f0000000000000000000000000000000000000000000000000000000000000000916001600160a01b039091169061064690610cff565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103905ff08015801561067f573d5f5f3e3d5ffd5b505f5460405163f2fde38b60e01b81529192506001600160a01b038084169263f2fde38b926106b2921690600401610e5f565b5f604051808303815f87803b1580156106c9575f5ffd5b505af11580156106db573d5f5f3e3d5ffd5b50506040516001600160a01b038085169350861691507ffa05891d7928e6898fc05852475dc6b82c0e82887e0af865a99ed79f35638c0a905f90a36001600160a01b038381165f90815260966020526040902080546001600160a01b03191691831691909117905590505b919050565b600154600160a81b900460ff1615808015610771575060018054600160a01b900460ff16105b80610798575061078030610a31565b158015610798575060018054600160a01b900460ff16145b6107fb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101f7565b6001805460ff60a01b1916600160a01b1790558015610828576001805460ff60a81b1916600160a81b1790555b61083182610a40565b610839610a8a565b80156104f3576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f516020613f845f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146103935760405162461bcd60e51b81526004016101f790610e73565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156108fa576102ca83610ab5565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610954575060408051601f3d908101601f1916820190925261095191810190610f1a565b60015b6109b75760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016101f7565b5f516020613f845f395f51905f528114610a255760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016101f7565b506102ca838383610b4e565b6001600160a01b03163b151590565b600154600160a81b900460ff16610a695760405162461bcd60e51b81526004016101f790610f31565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff16610ab35760405162461bcd60e51b81526004016101f790610f31565b565b610abe81610a31565b610b205760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016101f7565b5f516020613f845f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b610b5783610b78565b5f82511180610b635750805b156102ca57610b728383610bb7565b50505050565b610b8181610ab5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610bdc8383604051806060016040528060278152602001613fc460279139610be3565b9392505050565b60605f5f856001600160a01b031685604051610bff9190610f9e565b5f60405180830381855af49150503d805f8114610c37576040519150601f19603f3d011682016040523d82523d5f602084013e610c3c565b606091505b5091509150610c4d86838387610c57565b9695505050505050565b60608315610cc35782515f03610cbc57610c7085610a31565b610cbc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101f7565b5081610ccd565b610ccd8383610cd5565b949350505050565b815115610ce55781518083602001fd5b8060405162461bcd60e51b81526004016101f79190610fb9565b612f7880610fec83390190565b80356001600160a01b0381168114610746575f5ffd5b80358015158114610746575f5ffd5b5f5f5f60608486031215610d43575f5ffd5b610d4c84610d0c565b9250610d5a60208501610d22565b9150610d6860408501610d22565b90509250925092565b5f60208284031215610d81575f5ffd5b610bdc82610d0c565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215610daf575f5ffd5b610db883610d0c565b915060208301356001600160401b03811115610dd2575f5ffd5b8301601f81018513610de2575f5ffd5b80356001600160401b03811115610dfb57610dfb610d8a565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610e2957610e29610d8a565b604052818152828201602001871015610e40575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b6001600160a01b0391909116815260200190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f516020613f645f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020613f645f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b5f60208284031215610f2a575f5ffd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f5b83811015610f96578181015183820152602001610f7e565b50505f910152565b5f8251610faf818460208701610f7c565b9190910192915050565b602081525f8251806020840152610fd7816040850160208701610f7c565b601f01601f1916919091016040019291505056fe60e060405234801561000f575f5ffd5b50604051612f78380380612f7883398101604081905261002e91610203565b828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100919190610243565b8282818181816100a033610194565b6001600160a01b0380831660805281166100cd57604051632d618d8160e21b815260040160405180910390fd5b60805160405163ca5eb5e160e01b81526001600160a01b0383811660048301529091169063ca5eb5e1906024015f604051808303815f87803b158015610111575f5ffd5b505af1158015610123573d5f5f3e3d5ffd5b50505050505050506101396101e360201b60201c565b60ff168360ff16101561015f576040516301e9714b60e41b815260040160405180910390fd5b61016a60068461027e565b61017590600a610380565b60a0525050506001600160a01b0390921660c0525061038e9350505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600690565b80516001600160a01b03811681146101fe575f5ffd5b919050565b5f5f5f60608486031215610215575f5ffd5b61021e846101e8565b925061022c602085016101e8565b915061023a604085016101e8565b90509250925092565b5f60208284031215610253575f5ffd5b815160ff81168114610263575f5ffd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b60ff82811682821603908111156102975761029761026a565b92915050565b6001815b60018411156102d8578085048111156102bc576102bc61026a565b60018416156102ca57908102905b60019390931c9280026102a1565b935093915050565b5f826102ee57506001610297565b816102fa57505f610297565b8160018114610310576002811461031a57610336565b6001915050610297565b60ff84111561032b5761032b61026a565b50506001821b610297565b5060208310610133831016604e8410600b8410161715610359575081810a610297565b6103655f19848461029d565b805f19048211156103785761037861026a565b029392505050565b5f61026360ff8416836102e0565b60805160a05160c051612b6c61040c5f395f81816105ae0152818161167401526117e301525f8181610431015281816115bf01528181611638015261172501525f81816103440152818161076901528181610d4d01528181610fe90152818161128a01528181611845015281816119ea0152611aa10152612b6c5ff3fe60806040526004361061017d575f3560e01c80630d35b41514610181578063111ecdad146101b857806313137d65146101e4578063134d4f25146101f9578063156a0d0f1461022057806317442b70146102465780631f5e1334146102675780633400288b1461027b5780633b6f743b1461029a57806352ae2879146102c65780635535d461146102d85780635a0dfe4d146103045780635e280f11146103335780636fc1b31e14610366578063715018a6146103855780637d25a05e1461039957806382413eac146103d2578063857749b0146103f15780638da5cb5b1461040c578063963efcaa146104205780639f68b96414610461578063b731ea0a14610474578063b98bd07014610493578063bb0b6a53146104b2578063bc70b354146104dd578063bd815db0146104fc578063c7c7f5b31461050f578063ca5eb5e114610530578063d045a0dc1461054f578063d424388514610562578063f2fde38b14610581578063fc0c546a146105a0578063ff7bd03d146105d2575b5f5ffd5b34801561018c575f5ffd5b506101a061019b366004611cf7565b6105f1565b6040516101af93929190611d84565b60405180910390f35b3480156101c3575f5ffd5b506004546101d7906001600160a01b031681565b6040516101af9190611e14565b6101f76101f2366004611e90565b610767565b005b348015610204575f5ffd5b5061020d600281565b60405161ffff90911681526020016101af565b34801561022b575f5ffd5b506040805162b9270b60e21b815260016020820152016101af565b348015610251575f5ffd5b50604080516001815260026020820152016101af565b348015610272575f5ffd5b5061020d600181565b348015610286575f5ffd5b506101f7610295366004611f42565b61081f565b3480156102a5575f5ffd5b506102b96102b4366004611f77565b610835565b6040516101af9190611fc5565b3480156102d1575f5ffd5b50306101d7565b3480156102e3575f5ffd5b506102f76102f2366004611fe4565b610890565b6040516101af9190612015565b34801561030f575f5ffd5b5061032361031e366004611f42565b610932565b60405190151581526020016101af565b34801561033e575f5ffd5b506101d77f000000000000000000000000000000000000000000000000000000000000000081565b348015610371575f5ffd5b506101f7610380366004612027565b61094d565b348015610390575f5ffd5b506101f76109ab565b3480156103a4575f5ffd5b506103ba6103b3366004611f42565b5f92915050565b6040516001600160401b0390911681526020016101af565b3480156103dd575f5ffd5b506103236103ec366004612042565b6109be565b3480156103fc575f5ffd5b50604051600681526020016101af565b348015610417575f5ffd5b506101d76109d3565b34801561042b575f5ffd5b506104537f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101af565b34801561046c575f5ffd5b506001610323565b34801561047f575f5ffd5b506002546101d7906001600160a01b031681565b34801561049e575f5ffd5b506101f76104ad3660046120e4565b6109e1565b3480156104bd575f5ffd5b506104536104cc366004612122565b60016020525f908152604090205481565b3480156104e8575f5ffd5b506102f76104f736600461213b565b6109fb565b6101f761050a3660046120e4565b610b9c565b61052261051d366004612197565b610d06565b6040516101af9291906121ff565b34801561053b575f5ffd5b506101f761054a366004612027565b610d2e565b6101f761055d366004611e90565b610db2565b34801561056d575f5ffd5b506101f761057c366004612027565b610de1565b34801561058c575f5ffd5b506101f761059b366004612027565b610e34565b3480156105ab575f5ffd5b507f00000000000000000000000000000000000000000000000000000000000000006101d7565b3480156105dd575f5ffd5b506103236105ec36600461223b565b610ead565b604080518082019091525f8082526020820152606061060e611ca6565b5f5f90505f306001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561064f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106739190612255565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190612270565b604080518082018252848152602080820184905282515f80825291810190935290975091925090610725565b604080518082019091525f8152606060208201528152602001906001900390816106fe5790505b5093505f80610749604089013560608a013561074460208c018c612122565b610ee1565b60408051808201909152918252602082015296989597505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146107bb57336040516391ac5e4f60e01b81526004016107b29190611e14565b60405180910390fd5b602087018035906107d5906107d0908a612122565b610f1c565b14610807576107e76020880188612122565b876020013560405163309afaf360e21b81526004016107b292919061229b565b61081687878787878787610f57565b50505050505050565b6108276110ae565b610831828261110d565b5050565b61083d611ca6565b5f610858604085013560608601356107446020880188612122565b9150505f5f6108678684611162565b909250905061088461087c6020880188612122565b838388611280565b93505050505b92915050565b600360209081525f9283526040808420909152908252902080546108b3906122b1565b80601f01602080910402602001604051908101604052809291908181526020018280546108df906122b1565b801561092a5780601f106109015761010080835404028352916020019161092a565b820191905f5260205f20905b81548152906001019060200180831161090d57829003601f168201915b505050505081565b63ffffffff919091165f908152600160205260409020541490565b6109556110ae565b600480546001600160a01b0319166001600160a01b0383161790556040517ff0be4f1e87349231d80c36b33f9e8639658eeaf474014dee15a3e6a4d4414197906109a0908390611e14565b60405180910390a150565b6109b36110ae565b6109bc5f611353565b565b6001600160a01b03811630145b949350505050565b5f546001600160a01b031690565b6109e96110ae565b6108316109f68284612383565b6113a2565b63ffffffff84165f90815260036020908152604080832061ffff87168452909152812080546060929190610a2e906122b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5a906122b1565b8015610aa55780601f10610a7c57610100808354040283529160200191610aa5565b820191905f5260205f20905b815481529060010190602001808311610a8857829003601f168201915b5050505050905080515f03610af35783838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152509294506109cb9350505050565b5f839003610b025790506109cb565b60028310610b7f57610b4884848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506114a392505050565b80610b5684600281886124a4565b604051602001610b68939291906124cb565b6040516020818303038152906040529150506109cb565b8383604051639a6d49cd60e01b81526004016107b2929190612519565b5f5b81811015610c895736838383818110610bb957610bb961252c565b9050602002810190610bcb9190612540565b9050610be7610bdd6020830183612122565b6020830135610932565b610bf15750610c81565b3063d045a0dc60c08301358360a0810135610c1061010083018361255f565b610c21610100890160e08a01612027565b610c2f6101208a018a61255f565b6040518963ffffffff1660e01b8152600401610c5197969594939291906125b5565b5f604051808303818588803b158015610c68575f5ffd5b505af1158015610c7a573d5f5f3e3d5ffd5b5050505050505b600101610b9e565b50336001600160a01b0316638e9e70996040518163ffffffff1660e01b81526004015f60405180830381865afa158015610cc5573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cec919081019061263a565b604051638351eea760e01b81526004016107b29190612015565b610d0e611cbe565b610d16611ca6565b610d218585856114cf565b915091505b935093915050565b610d366110ae565b60405163ca5eb5e160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ca5eb5e190610d82908490600401611e14565b5f604051808303815f87803b158015610d99575f5ffd5b505af1158015610dab573d5f5f3e3d5ffd5b5050505050565b333014610dd25760405163029a949d60e31b815260040160405180910390fd5b61081687878787878787610807565b610de96110ae565b600280546001600160a01b0319166001600160a01b0383161790556040517fd48d879cef83a1c0bdda516f27b13ddb1b3f8bbac1c9e1511bb2a659c2427760906109a0908390611e14565b610e3c6110ae565b6001600160a01b038116610ea15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b2565b610eaa81611353565b50565b5f602082018035906001908390610ec49086612122565b63ffffffff16815260208101919091526040015f20541492915050565b5f5f610eec856115bc565b915081905083811015610d26576040516371c4efed60e01b815260048101829052602481018590526044016107b2565b63ffffffff81165f908152600160205260408120548061088a5760405163f6ff4fb760e01b815263ffffffff841660048201526024016107b2565b5f610f68610f6587876115f2565b90565b90505f610f9382610f81610f7c8a8a611610565b611632565b610f8e60208d018d612122565b611666565b90506028861115611053575f610fcf610fb260608c0160408d016126a2565b610fbf60208d018d612122565b84610fca8c8c6116a3565b6116ed565b604051633e5ac80960e11b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637cb59012906110249086908d905f9087906004016126bd565b5f604051808303815f87803b15801561103b575f5ffd5b505af115801561104d573d5f5f3e3d5ffd5b50505050505b6001600160a01b038216887fefed6d3500546b29533b128a29e3a94d70788727f0507505ac12eaf2e578fd9c61108c60208d018d612122565b8460405161109b92919061229b565b60405180910390a3505050505050505050565b336110b76109d3565b6001600160a01b0316146109bc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107b2565b63ffffffff82165f9081526001602052604090819020829055517f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b90611156908490849061229b565b60405180910390a15050565b6060805f6111bd85602001356111778661171f565b61118460a089018961255f565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061174a92505050565b90935090505f816111cf5760016111d2565b60025b90506111f26111e46020880188612122565b826104f760808a018a61255f565b6004549093506001600160a01b031680156112765760405163043a78eb60e01b81526001600160a01b0382169063043a78eb9061123590889088906004016126f7565b602060405180830381865afa158015611250573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611274919061271b565b505b5050509250929050565b611288611ca6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ddc28c586040518060a001604052808863ffffffff1681526020016112d789610f1c565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b815260040161130c929190612736565b6040805180830381865afa158015611326573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134a91906127dd565b95945050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5b8151811015611473576113d38282815181106113c2576113c261252c565b6020026020010151604001516114a3565b8181815181106113e5576113e561252c565b60200260200101516040015160035f8484815181106114065761140661252c565b60200260200101515f015163ffffffff1663ffffffff1681526020019081526020015f205f84848151811061143d5761143d61252c565b60200260200101516020015161ffff1661ffff1681526020019081526020015f20908161146a919061283b565b506001016113a4565b507fbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b674816040516109a091906128f5565b600281015161ffff81166003146108315781604051639a6d49cd60e01b81526004016107b29190612015565b6114d7611cbe565b6114df611ca6565b5f8061150133604089013560608a01356114fc60208c018c612122565b6117c4565b915091505f5f6115118984611162565b909250905061153d61152660208b018b612122565b8383611537368d90038d018d612983565b8b611814565b60408051808201909152858152602080820186905282519298509096503391907f85496b760a4b7f8d66384b9df21b381f5d1b1e79f229a47aaf4c232edc2fe59a9061158b908d018d612122565b6040805163ffffffff909216825260208201899052810187905260600160405180910390a350505050935093915050565b5f7f00000000000000000000000000000000000000000000000000000000000000006115e881846129b4565b61088a91906129d3565b5f61160060208284866124a4565b611609916129f6565b9392505050565b5f61161f6028602084866124a4565b61162891612a13565b60c01c9392505050565b5f61088a7f00000000000000000000000000000000000000000000000000000000000000006001600160401b0384166129d3565b5f61169b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016858561191a565b509092915050565b60606116b282602881866124a4565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250929695505050505050565b6060848484846040516020016117069493929190612a4b565b6040516020818303038152906040529050949350505050565b5f61088a7f0000000000000000000000000000000000000000000000000000000000000000836129b4565b805160609015158061179357848460405160200161177f92919091825260c01b6001600160c01b031916602082015260280190565b6040516020818303038152906040526117ba565b848433856040516020016117aa9493929190612a9c565b6040516020818303038152906040525b9150935093915050565b5f5f6117d1858585610ee1565b909250905061180b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016873085611982565b94509492505050565b61181c611cbe565b5f611829845f01516119c0565b6020850151909150156118435761184384602001516119e7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016118938c610f1c565b81526020018a81526020018981526020015f8960200151111515815250866040518463ffffffff1660e01b81526004016118ce929190612736565b60806040518083038185885af11580156118ea573d5f5f3e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061190f9190612adb565b979650505050505050565b6040516001600160a01b03831660248201526044810182905261197d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ac6565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526119ba9085906323b872dd60e01b90608401611946565b50505050565b5f8134146119e3576040516304fb820960e51b81523460048201526024016107b2565b5090565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a44573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a689190612255565b90506001600160a01b038116611a91576040516329b99a9560e11b815260040160405180910390fd5b6108316001600160a01b038216337f000000000000000000000000000000000000000000000000000000000000000085611982565b5f611b1a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b999092919063ffffffff16565b905080515f1480611b3a575080806020019051810190611b3a919061271b565b61197d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107b2565b60606109cb84845f85855f5f866001600160a01b03168587604051611bbe9190612b25565b5f6040518083038185875af1925050503d805f8114611bf8576040519150601f19603f3d011682016040523d82523d5f602084013e611bfd565b606091505b509150915061190f8783838760608315611c775782515f03611c70576001600160a01b0385163b611c705760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107b2565b50816109cb565b6109cb8383815115611c8c5781518083602001fd5b8060405162461bcd60e51b81526004016107b29190612015565b60405180604001604052805f81526020015f81525090565b604080516060810182525f8082526020820152908101611cdc611ca6565b905290565b5f60e08284031215611cf1575f5ffd5b50919050565b5f60208284031215611d07575f5ffd5b81356001600160401b03811115611d1c575f5ffd5b6109cb84828501611ce1565b80518252602090810151910152565b5f5b83811015611d51578181015183820152602001611d39565b50505f910152565b5f8151808452611d70816020860160208601611d37565b601f01601f19169290920160200192915050565b5f60a08201611d938387611d28565b60a0604084015280855180835260c08501915060c08160051b8601019250602087015f5b82811015611dff5760bf198786030184528151805186526020810151905060406020870152611de96040870182611d59565b9550506020938401939190910190600101611db7565b50505050809150506109cb6060830184611d28565b6001600160a01b0391909116815260200190565b5f60608284031215611cf1575f5ffd5b5f5f83601f840112611e48575f5ffd5b5081356001600160401b03811115611e5e575f5ffd5b602083019150836020828501011115611e75575f5ffd5b9250929050565b6001600160a01b0381168114610eaa575f5ffd5b5f5f5f5f5f5f5f60e0888a031215611ea6575f5ffd5b611eb08989611e28565b96506060880135955060808801356001600160401b03811115611ed1575f5ffd5b611edd8a828b01611e38565b90965094505060a0880135611ef181611e7c565b925060c08801356001600160401b03811115611f0b575f5ffd5b611f178a828b01611e38565b989b979a50959850939692959293505050565b803563ffffffff81168114611f3d575f5ffd5b919050565b5f5f60408385031215611f53575f5ffd5b611f5c83611f2a565b946020939093013593505050565b8015158114610eaa575f5ffd5b5f5f60408385031215611f88575f5ffd5b82356001600160401b03811115611f9d575f5ffd5b611fa985828601611ce1565b9250506020830135611fba81611f6a565b809150509250929050565b6040810161088a8284611d28565b803561ffff81168114611f3d575f5ffd5b5f5f60408385031215611ff5575f5ffd5b611ffe83611f2a565b915061200c60208401611fd3565b90509250929050565b602081525f6116096020830184611d59565b5f60208284031215612037575f5ffd5b813561160981611e7c565b5f5f5f5f60a08587031215612055575f5ffd5b61205f8686611e28565b935060608501356001600160401b03811115612079575f5ffd5b61208587828801611e38565b909450925050608085013561209981611e7c565b939692955090935050565b5f5f83601f8401126120b4575f5ffd5b5081356001600160401b038111156120ca575f5ffd5b6020830191508360208260051b8501011115611e75575f5ffd5b5f5f602083850312156120f5575f5ffd5b82356001600160401b0381111561210a575f5ffd5b612116858286016120a4565b90969095509350505050565b5f60208284031215612132575f5ffd5b61160982611f2a565b5f5f5f5f6060858703121561214e575f5ffd5b61215785611f2a565b935061216560208601611fd3565b925060408501356001600160401b0381111561217f575f5ffd5b61218b87828801611e38565b95989497509550505050565b5f5f5f83850360808112156121aa575f5ffd5b84356001600160401b038111156121bf575f5ffd5b6121cb87828801611ce1565b9450506040601f19820112156121df575f5ffd5b5060208401915060608401356121f481611e7c565b809150509250925092565b825181526020808401516001600160401b03169082015260408084015160c083019161222d90840182611d28565b506116096080830184611d28565b5f6060828403121561224b575f5ffd5b6116098383611e28565b5f60208284031215612265575f5ffd5b815161160981611e7c565b5f60208284031215612280575f5ffd5b5051919050565b634e487b7160e01b5f52604160045260245ffd5b63ffffffff929092168252602082015260400190565b600181811c908216806122c557607f821691505b602082108103611cf157634e487b7160e01b5f52602260045260245ffd5b604051606081016001600160401b038111828210171561230557612305612287565b60405290565b604080519081016001600160401b038111828210171561230557612305612287565b604051601f8201601f191681016001600160401b038111828210171561235557612355612287565b604052919050565b5f6001600160401b0382111561237557612375612287565b50601f01601f191660200190565b5f6001600160401b0383111561239b5761239b612287565b8260051b6123ab6020820161232d565b848152908301906020810190368311156123c3575f5ffd5b845b8381101561249a5780356001600160401b038111156123e2575f5ffd5b860160603682900312156123f4575f5ffd5b6123fc6122e3565b61240582611f2a565b815261241360208301611fd3565b602082015260408201356001600160401b03811115612430575f5ffd5b919091019036601f830112612443575f5ffd5b81356124566124518261235d565b61232d565b81815236602083860101111561246a575f5ffd5b816020850160208301375f60208383010152806040840152505080855250506020830192506020810190506123c5565b5095945050505050565b5f5f858511156124b2575f5ffd5b838611156124be575f5ffd5b5050820193919092039150565b5f84516124dc818460208901611d37565b8201838582375f930192835250909392505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f6109cb6020830184866124f1565b634e487b7160e01b5f52603260045260245ffd5b5f823561013e19833603018112612555575f5ffd5b9190910192915050565b5f5f8335601e19843603018112612574575f5ffd5b8301803591506001600160401b0382111561258d575f5ffd5b602001915036819003821315611e75575f5ffd5b6001600160401b0381168114610eaa575f5ffd5b63ffffffff6125c389611f2a565b168152602088810135908201525f60408901356125df816125a1565b6001600160401b031660408301526060820188905260e06080830181905261260a90830187896124f1565b6001600160a01b03861660a084015282810360c084015261262c8185876124f1565b9a9950505050505050505050565b5f6020828403121561264a575f5ffd5b81516001600160401b0381111561265f575f5ffd5b8201601f8101841361266f575f5ffd5b805161267d6124518261235d565b818152856020838501011115612691575f5ffd5b61134a826020830160208601611d37565b5f602082840312156126b2575f5ffd5b8135611609816125a1565b60018060a01b038516815283602082015261ffff83166040820152608060608201525f6126ed6080830184611d59565b9695505050505050565b604081525f6127096040830185611d59565b828103602084015261134a8185611d59565b5f6020828403121561272b575f5ffd5b815161160981611f6a565b6040815263ffffffff8351166040820152602083015160608201525f604084015160a0608084015261276b60e0840182611d59565b90506060850151603f198483030160a08501526127888282611d59565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b5f604082840312156127be575f5ffd5b6127c661230b565b825181526020928301519281019290925250919050565b5f604082840312156127ed575f5ffd5b61160983836127ae565b601f82111561197d57805f5260205f20601f840160051c8101602085101561281c5750805b601f840160051c820191505b81811015610dab575f8155600101612828565b81516001600160401b0381111561285457612854612287565b6128688161286284546122b1565b846127f7565b6020601f82116001811461289a575f83156128835750848201515b5f19600385901b1c1916600184901b178455610dab565b5f84815260208120601f198516915b828110156128c957878501518255602094850194600190920191016128a9565b50848210156128e657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561297757603f19878603018452815163ffffffff815116865261ffff602082015116602087015260408101519050606060408701526129616060870182611d59565b955050602093840193919091019060010161291b565b50929695505050505050565b5f6040828403128015612994575f5ffd5b5061299d61230b565b823581526020928301359281019290925250919050565b5f826129ce57634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761088a57634e487b7160e01b5f52601160045260245ffd5b8035602083101561088a575f19602084900360031b1b1692915050565b80356001600160c01b03198116906008841015612a44576001600160c01b0319600885900360031b81901b82161691505b5092915050565b60c085901b6001600160c01b031916815260e084901b6001600160e01b0319166008820152600c810183905281515f90612a8c81602c850160208701611d37565b91909101602c0195945050505050565b84815260018060c01b03198460c01b1660208201528260288201525f8251612acb816048850160208701611d37565b9190910160480195945050505050565b5f6080828403128015612aec575f5ffd5b50612af56122e3565b825181526020830151612b07816125a1565b6020820152612b1984604085016127ae565b60408201529392505050565b5f8251612555818460208701611d3756fea264697066735822122071e6dcdb1ea44434fe2eeaf25d2b9a178b68bbb4f0861ac49b81f72ffb95326864736f6c634300081e003346756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212202e378d6c573e6895721c0c7ecea4f5c07770c008730c6ecd02ea1fb9ab9f11f064736f6c634300081e0033",
277
- "deployedBytecode": "0x608060405260043610610080575f3560e01c8063078dfbe7146100845780633659cfe6146100a55780634e71e0c8146100c45780634f1ef286146100d857806352d1902d146100eb5780638d96a034146101125780638da5cb5b1461013e578063c4d66de81461015c578063ca4728221461017b578063e30c3978146101af575b5f5ffd5b34801561008f575f5ffd5b506100a361009e366004610d31565b6101ce565b005b3480156100b0575f5ffd5b506100a36100bf366004610d71565b6102cf565b3480156100cf575f5ffd5b506100a3610396565b6100a36100e6366004610d9e565b61043e565b3480156100f6575f5ffd5b506100ff6104f7565b6040519081526020015b60405180910390f35b34801561011d575f5ffd5b5061013161012c366004610d71565b6105a3565b6040516101099190610e5f565b348015610149575f5ffd5b505f54610131906001600160a01b031681565b348015610167575f5ffd5b506100a3610176366004610d71565b61074b565b348015610186575f5ffd5b50610131610195366004610d71565b60966020525f90815260409020546001600160a01b031681565b3480156101ba575f5ffd5b50600154610131906001600160a01b031681565b5f546001600160a01b031633146102005760405162461bcd60e51b81526004016101f790610e73565b60405180910390fd5b81156102ae576001600160a01b03831615158061021a5750805b61025e5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016101f7565b5f80546040516001600160a01b03808716939216915f516020613fa45f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036103175760405162461bcd60e51b81526004016101f790610ea8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610349610883565b6001600160a01b03161461036f5760405162461bcd60e51b81526004016101f790610ee1565b6103788161089e565b604080515f80825260208201909252610393918391906108c7565b50565b6001546001600160a01b03163381146103f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016101f7565b5f80546040516001600160a01b03808516939216915f516020613fa45f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104865760405162461bcd60e51b81526004016101f790610ea8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104b8610883565b6001600160a01b0316146104de5760405162461bcd60e51b81526004016101f790610ee1565b6104e78261089e565b6104f3828260016108c7565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105915760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016101f7565b505f516020613f845f395f51905f5290565b5f80546001600160a01b031633146105cd5760405162461bcd60e51b81526004016101f790610e73565b6001600160a01b038281165f908152609660205260409020541615610607578160405163018d3a6560e51b81526004016101f79190610e5f565b5f805460405184917f0000000000000000000000000000000000000000000000000000000000000000916001600160a01b039091169061064690610cff565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103905ff08015801561067f573d5f5f3e3d5ffd5b505f5460405163f2fde38b60e01b81529192506001600160a01b038084169263f2fde38b926106b2921690600401610e5f565b5f604051808303815f87803b1580156106c9575f5ffd5b505af11580156106db573d5f5f3e3d5ffd5b50506040516001600160a01b038085169350861691507ffa05891d7928e6898fc05852475dc6b82c0e82887e0af865a99ed79f35638c0a905f90a36001600160a01b038381165f90815260966020526040902080546001600160a01b03191691831691909117905590505b919050565b600154600160a81b900460ff1615808015610771575060018054600160a01b900460ff16105b80610798575061078030610a31565b158015610798575060018054600160a01b900460ff16145b6107fb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101f7565b6001805460ff60a01b1916600160a01b1790558015610828576001805460ff60a81b1916600160a81b1790555b61083182610a40565b610839610a8a565b80156104f3576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f516020613f845f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146103935760405162461bcd60e51b81526004016101f790610e73565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156108fa576102ca83610ab5565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610954575060408051601f3d908101601f1916820190925261095191810190610f1a565b60015b6109b75760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016101f7565b5f516020613f845f395f51905f528114610a255760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016101f7565b506102ca838383610b4e565b6001600160a01b03163b151590565b600154600160a81b900460ff16610a695760405162461bcd60e51b81526004016101f790610f31565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff16610ab35760405162461bcd60e51b81526004016101f790610f31565b565b610abe81610a31565b610b205760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016101f7565b5f516020613f845f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b610b5783610b78565b5f82511180610b635750805b156102ca57610b728383610bb7565b50505050565b610b8181610ab5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610bdc8383604051806060016040528060278152602001613fc460279139610be3565b9392505050565b60605f5f856001600160a01b031685604051610bff9190610f9e565b5f60405180830381855af49150503d805f8114610c37576040519150601f19603f3d011682016040523d82523d5f602084013e610c3c565b606091505b5091509150610c4d86838387610c57565b9695505050505050565b60608315610cc35782515f03610cbc57610c7085610a31565b610cbc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101f7565b5081610ccd565b610ccd8383610cd5565b949350505050565b815115610ce55781518083602001fd5b8060405162461bcd60e51b81526004016101f79190610fb9565b612f7880610fec83390190565b80356001600160a01b0381168114610746575f5ffd5b80358015158114610746575f5ffd5b5f5f5f60608486031215610d43575f5ffd5b610d4c84610d0c565b9250610d5a60208501610d22565b9150610d6860408501610d22565b90509250925092565b5f60208284031215610d81575f5ffd5b610bdc82610d0c565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215610daf575f5ffd5b610db883610d0c565b915060208301356001600160401b03811115610dd2575f5ffd5b8301601f81018513610de2575f5ffd5b80356001600160401b03811115610dfb57610dfb610d8a565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610e2957610e29610d8a565b604052818152828201602001871015610e40575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b6001600160a01b0391909116815260200190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f516020613f645f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020613f645f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b5f60208284031215610f2a575f5ffd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f5b83811015610f96578181015183820152602001610f7e565b50505f910152565b5f8251610faf818460208701610f7c565b9190910192915050565b602081525f8251806020840152610fd7816040850160208701610f7c565b601f01601f1916919091016040019291505056fe60e060405234801561000f575f5ffd5b50604051612f78380380612f7883398101604081905261002e91610203565b828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100919190610243565b8282818181816100a033610194565b6001600160a01b0380831660805281166100cd57604051632d618d8160e21b815260040160405180910390fd5b60805160405163ca5eb5e160e01b81526001600160a01b0383811660048301529091169063ca5eb5e1906024015f604051808303815f87803b158015610111575f5ffd5b505af1158015610123573d5f5f3e3d5ffd5b50505050505050506101396101e360201b60201c565b60ff168360ff16101561015f576040516301e9714b60e41b815260040160405180910390fd5b61016a60068461027e565b61017590600a610380565b60a0525050506001600160a01b0390921660c0525061038e9350505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600690565b80516001600160a01b03811681146101fe575f5ffd5b919050565b5f5f5f60608486031215610215575f5ffd5b61021e846101e8565b925061022c602085016101e8565b915061023a604085016101e8565b90509250925092565b5f60208284031215610253575f5ffd5b815160ff81168114610263575f5ffd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b60ff82811682821603908111156102975761029761026a565b92915050565b6001815b60018411156102d8578085048111156102bc576102bc61026a565b60018416156102ca57908102905b60019390931c9280026102a1565b935093915050565b5f826102ee57506001610297565b816102fa57505f610297565b8160018114610310576002811461031a57610336565b6001915050610297565b60ff84111561032b5761032b61026a565b50506001821b610297565b5060208310610133831016604e8410600b8410161715610359575081810a610297565b6103655f19848461029d565b805f19048211156103785761037861026a565b029392505050565b5f61026360ff8416836102e0565b60805160a05160c051612b6c61040c5f395f81816105ae0152818161167401526117e301525f8181610431015281816115bf01528181611638015261172501525f81816103440152818161076901528181610d4d01528181610fe90152818161128a01528181611845015281816119ea0152611aa10152612b6c5ff3fe60806040526004361061017d575f3560e01c80630d35b41514610181578063111ecdad146101b857806313137d65146101e4578063134d4f25146101f9578063156a0d0f1461022057806317442b70146102465780631f5e1334146102675780633400288b1461027b5780633b6f743b1461029a57806352ae2879146102c65780635535d461146102d85780635a0dfe4d146103045780635e280f11146103335780636fc1b31e14610366578063715018a6146103855780637d25a05e1461039957806382413eac146103d2578063857749b0146103f15780638da5cb5b1461040c578063963efcaa146104205780639f68b96414610461578063b731ea0a14610474578063b98bd07014610493578063bb0b6a53146104b2578063bc70b354146104dd578063bd815db0146104fc578063c7c7f5b31461050f578063ca5eb5e114610530578063d045a0dc1461054f578063d424388514610562578063f2fde38b14610581578063fc0c546a146105a0578063ff7bd03d146105d2575b5f5ffd5b34801561018c575f5ffd5b506101a061019b366004611cf7565b6105f1565b6040516101af93929190611d84565b60405180910390f35b3480156101c3575f5ffd5b506004546101d7906001600160a01b031681565b6040516101af9190611e14565b6101f76101f2366004611e90565b610767565b005b348015610204575f5ffd5b5061020d600281565b60405161ffff90911681526020016101af565b34801561022b575f5ffd5b506040805162b9270b60e21b815260016020820152016101af565b348015610251575f5ffd5b50604080516001815260026020820152016101af565b348015610272575f5ffd5b5061020d600181565b348015610286575f5ffd5b506101f7610295366004611f42565b61081f565b3480156102a5575f5ffd5b506102b96102b4366004611f77565b610835565b6040516101af9190611fc5565b3480156102d1575f5ffd5b50306101d7565b3480156102e3575f5ffd5b506102f76102f2366004611fe4565b610890565b6040516101af9190612015565b34801561030f575f5ffd5b5061032361031e366004611f42565b610932565b60405190151581526020016101af565b34801561033e575f5ffd5b506101d77f000000000000000000000000000000000000000000000000000000000000000081565b348015610371575f5ffd5b506101f7610380366004612027565b61094d565b348015610390575f5ffd5b506101f76109ab565b3480156103a4575f5ffd5b506103ba6103b3366004611f42565b5f92915050565b6040516001600160401b0390911681526020016101af565b3480156103dd575f5ffd5b506103236103ec366004612042565b6109be565b3480156103fc575f5ffd5b50604051600681526020016101af565b348015610417575f5ffd5b506101d76109d3565b34801561042b575f5ffd5b506104537f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101af565b34801561046c575f5ffd5b506001610323565b34801561047f575f5ffd5b506002546101d7906001600160a01b031681565b34801561049e575f5ffd5b506101f76104ad3660046120e4565b6109e1565b3480156104bd575f5ffd5b506104536104cc366004612122565b60016020525f908152604090205481565b3480156104e8575f5ffd5b506102f76104f736600461213b565b6109fb565b6101f761050a3660046120e4565b610b9c565b61052261051d366004612197565b610d06565b6040516101af9291906121ff565b34801561053b575f5ffd5b506101f761054a366004612027565b610d2e565b6101f761055d366004611e90565b610db2565b34801561056d575f5ffd5b506101f761057c366004612027565b610de1565b34801561058c575f5ffd5b506101f761059b366004612027565b610e34565b3480156105ab575f5ffd5b507f00000000000000000000000000000000000000000000000000000000000000006101d7565b3480156105dd575f5ffd5b506103236105ec36600461223b565b610ead565b604080518082019091525f8082526020820152606061060e611ca6565b5f5f90505f306001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561064f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106739190612255565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190612270565b604080518082018252848152602080820184905282515f80825291810190935290975091925090610725565b604080518082019091525f8152606060208201528152602001906001900390816106fe5790505b5093505f80610749604089013560608a013561074460208c018c612122565b610ee1565b60408051808201909152918252602082015296989597505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146107bb57336040516391ac5e4f60e01b81526004016107b29190611e14565b60405180910390fd5b602087018035906107d5906107d0908a612122565b610f1c565b14610807576107e76020880188612122565b876020013560405163309afaf360e21b81526004016107b292919061229b565b61081687878787878787610f57565b50505050505050565b6108276110ae565b610831828261110d565b5050565b61083d611ca6565b5f610858604085013560608601356107446020880188612122565b9150505f5f6108678684611162565b909250905061088461087c6020880188612122565b838388611280565b93505050505b92915050565b600360209081525f9283526040808420909152908252902080546108b3906122b1565b80601f01602080910402602001604051908101604052809291908181526020018280546108df906122b1565b801561092a5780601f106109015761010080835404028352916020019161092a565b820191905f5260205f20905b81548152906001019060200180831161090d57829003601f168201915b505050505081565b63ffffffff919091165f908152600160205260409020541490565b6109556110ae565b600480546001600160a01b0319166001600160a01b0383161790556040517ff0be4f1e87349231d80c36b33f9e8639658eeaf474014dee15a3e6a4d4414197906109a0908390611e14565b60405180910390a150565b6109b36110ae565b6109bc5f611353565b565b6001600160a01b03811630145b949350505050565b5f546001600160a01b031690565b6109e96110ae565b6108316109f68284612383565b6113a2565b63ffffffff84165f90815260036020908152604080832061ffff87168452909152812080546060929190610a2e906122b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5a906122b1565b8015610aa55780601f10610a7c57610100808354040283529160200191610aa5565b820191905f5260205f20905b815481529060010190602001808311610a8857829003601f168201915b5050505050905080515f03610af35783838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152509294506109cb9350505050565b5f839003610b025790506109cb565b60028310610b7f57610b4884848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506114a392505050565b80610b5684600281886124a4565b604051602001610b68939291906124cb565b6040516020818303038152906040529150506109cb565b8383604051639a6d49cd60e01b81526004016107b2929190612519565b5f5b81811015610c895736838383818110610bb957610bb961252c565b9050602002810190610bcb9190612540565b9050610be7610bdd6020830183612122565b6020830135610932565b610bf15750610c81565b3063d045a0dc60c08301358360a0810135610c1061010083018361255f565b610c21610100890160e08a01612027565b610c2f6101208a018a61255f565b6040518963ffffffff1660e01b8152600401610c5197969594939291906125b5565b5f604051808303818588803b158015610c68575f5ffd5b505af1158015610c7a573d5f5f3e3d5ffd5b5050505050505b600101610b9e565b50336001600160a01b0316638e9e70996040518163ffffffff1660e01b81526004015f60405180830381865afa158015610cc5573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cec919081019061263a565b604051638351eea760e01b81526004016107b29190612015565b610d0e611cbe565b610d16611ca6565b610d218585856114cf565b915091505b935093915050565b610d366110ae565b60405163ca5eb5e160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ca5eb5e190610d82908490600401611e14565b5f604051808303815f87803b158015610d99575f5ffd5b505af1158015610dab573d5f5f3e3d5ffd5b5050505050565b333014610dd25760405163029a949d60e31b815260040160405180910390fd5b61081687878787878787610807565b610de96110ae565b600280546001600160a01b0319166001600160a01b0383161790556040517fd48d879cef83a1c0bdda516f27b13ddb1b3f8bbac1c9e1511bb2a659c2427760906109a0908390611e14565b610e3c6110ae565b6001600160a01b038116610ea15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b2565b610eaa81611353565b50565b5f602082018035906001908390610ec49086612122565b63ffffffff16815260208101919091526040015f20541492915050565b5f5f610eec856115bc565b915081905083811015610d26576040516371c4efed60e01b815260048101829052602481018590526044016107b2565b63ffffffff81165f908152600160205260408120548061088a5760405163f6ff4fb760e01b815263ffffffff841660048201526024016107b2565b5f610f68610f6587876115f2565b90565b90505f610f9382610f81610f7c8a8a611610565b611632565b610f8e60208d018d612122565b611666565b90506028861115611053575f610fcf610fb260608c0160408d016126a2565b610fbf60208d018d612122565b84610fca8c8c6116a3565b6116ed565b604051633e5ac80960e11b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637cb59012906110249086908d905f9087906004016126bd565b5f604051808303815f87803b15801561103b575f5ffd5b505af115801561104d573d5f5f3e3d5ffd5b50505050505b6001600160a01b038216887fefed6d3500546b29533b128a29e3a94d70788727f0507505ac12eaf2e578fd9c61108c60208d018d612122565b8460405161109b92919061229b565b60405180910390a3505050505050505050565b336110b76109d3565b6001600160a01b0316146109bc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107b2565b63ffffffff82165f9081526001602052604090819020829055517f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b90611156908490849061229b565b60405180910390a15050565b6060805f6111bd85602001356111778661171f565b61118460a089018961255f565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061174a92505050565b90935090505f816111cf5760016111d2565b60025b90506111f26111e46020880188612122565b826104f760808a018a61255f565b6004549093506001600160a01b031680156112765760405163043a78eb60e01b81526001600160a01b0382169063043a78eb9061123590889088906004016126f7565b602060405180830381865afa158015611250573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611274919061271b565b505b5050509250929050565b611288611ca6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ddc28c586040518060a001604052808863ffffffff1681526020016112d789610f1c565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b815260040161130c929190612736565b6040805180830381865afa158015611326573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134a91906127dd565b95945050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5b8151811015611473576113d38282815181106113c2576113c261252c565b6020026020010151604001516114a3565b8181815181106113e5576113e561252c565b60200260200101516040015160035f8484815181106114065761140661252c565b60200260200101515f015163ffffffff1663ffffffff1681526020019081526020015f205f84848151811061143d5761143d61252c565b60200260200101516020015161ffff1661ffff1681526020019081526020015f20908161146a919061283b565b506001016113a4565b507fbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b674816040516109a091906128f5565b600281015161ffff81166003146108315781604051639a6d49cd60e01b81526004016107b29190612015565b6114d7611cbe565b6114df611ca6565b5f8061150133604089013560608a01356114fc60208c018c612122565b6117c4565b915091505f5f6115118984611162565b909250905061153d61152660208b018b612122565b8383611537368d90038d018d612983565b8b611814565b60408051808201909152858152602080820186905282519298509096503391907f85496b760a4b7f8d66384b9df21b381f5d1b1e79f229a47aaf4c232edc2fe59a9061158b908d018d612122565b6040805163ffffffff909216825260208201899052810187905260600160405180910390a350505050935093915050565b5f7f00000000000000000000000000000000000000000000000000000000000000006115e881846129b4565b61088a91906129d3565b5f61160060208284866124a4565b611609916129f6565b9392505050565b5f61161f6028602084866124a4565b61162891612a13565b60c01c9392505050565b5f61088a7f00000000000000000000000000000000000000000000000000000000000000006001600160401b0384166129d3565b5f61169b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016858561191a565b509092915050565b60606116b282602881866124a4565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250929695505050505050565b6060848484846040516020016117069493929190612a4b565b6040516020818303038152906040529050949350505050565b5f61088a7f0000000000000000000000000000000000000000000000000000000000000000836129b4565b805160609015158061179357848460405160200161177f92919091825260c01b6001600160c01b031916602082015260280190565b6040516020818303038152906040526117ba565b848433856040516020016117aa9493929190612a9c565b6040516020818303038152906040525b9150935093915050565b5f5f6117d1858585610ee1565b909250905061180b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016873085611982565b94509492505050565b61181c611cbe565b5f611829845f01516119c0565b6020850151909150156118435761184384602001516119e7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016118938c610f1c565b81526020018a81526020018981526020015f8960200151111515815250866040518463ffffffff1660e01b81526004016118ce929190612736565b60806040518083038185885af11580156118ea573d5f5f3e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061190f9190612adb565b979650505050505050565b6040516001600160a01b03831660248201526044810182905261197d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ac6565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526119ba9085906323b872dd60e01b90608401611946565b50505050565b5f8134146119e3576040516304fb820960e51b81523460048201526024016107b2565b5090565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a44573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a689190612255565b90506001600160a01b038116611a91576040516329b99a9560e11b815260040160405180910390fd5b6108316001600160a01b038216337f000000000000000000000000000000000000000000000000000000000000000085611982565b5f611b1a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b999092919063ffffffff16565b905080515f1480611b3a575080806020019051810190611b3a919061271b565b61197d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107b2565b60606109cb84845f85855f5f866001600160a01b03168587604051611bbe9190612b25565b5f6040518083038185875af1925050503d805f8114611bf8576040519150601f19603f3d011682016040523d82523d5f602084013e611bfd565b606091505b509150915061190f8783838760608315611c775782515f03611c70576001600160a01b0385163b611c705760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107b2565b50816109cb565b6109cb8383815115611c8c5781518083602001fd5b8060405162461bcd60e51b81526004016107b29190612015565b60405180604001604052805f81526020015f81525090565b604080516060810182525f8082526020820152908101611cdc611ca6565b905290565b5f60e08284031215611cf1575f5ffd5b50919050565b5f60208284031215611d07575f5ffd5b81356001600160401b03811115611d1c575f5ffd5b6109cb84828501611ce1565b80518252602090810151910152565b5f5b83811015611d51578181015183820152602001611d39565b50505f910152565b5f8151808452611d70816020860160208601611d37565b601f01601f19169290920160200192915050565b5f60a08201611d938387611d28565b60a0604084015280855180835260c08501915060c08160051b8601019250602087015f5b82811015611dff5760bf198786030184528151805186526020810151905060406020870152611de96040870182611d59565b9550506020938401939190910190600101611db7565b50505050809150506109cb6060830184611d28565b6001600160a01b0391909116815260200190565b5f60608284031215611cf1575f5ffd5b5f5f83601f840112611e48575f5ffd5b5081356001600160401b03811115611e5e575f5ffd5b602083019150836020828501011115611e75575f5ffd5b9250929050565b6001600160a01b0381168114610eaa575f5ffd5b5f5f5f5f5f5f5f60e0888a031215611ea6575f5ffd5b611eb08989611e28565b96506060880135955060808801356001600160401b03811115611ed1575f5ffd5b611edd8a828b01611e38565b90965094505060a0880135611ef181611e7c565b925060c08801356001600160401b03811115611f0b575f5ffd5b611f178a828b01611e38565b989b979a50959850939692959293505050565b803563ffffffff81168114611f3d575f5ffd5b919050565b5f5f60408385031215611f53575f5ffd5b611f5c83611f2a565b946020939093013593505050565b8015158114610eaa575f5ffd5b5f5f60408385031215611f88575f5ffd5b82356001600160401b03811115611f9d575f5ffd5b611fa985828601611ce1565b9250506020830135611fba81611f6a565b809150509250929050565b6040810161088a8284611d28565b803561ffff81168114611f3d575f5ffd5b5f5f60408385031215611ff5575f5ffd5b611ffe83611f2a565b915061200c60208401611fd3565b90509250929050565b602081525f6116096020830184611d59565b5f60208284031215612037575f5ffd5b813561160981611e7c565b5f5f5f5f60a08587031215612055575f5ffd5b61205f8686611e28565b935060608501356001600160401b03811115612079575f5ffd5b61208587828801611e38565b909450925050608085013561209981611e7c565b939692955090935050565b5f5f83601f8401126120b4575f5ffd5b5081356001600160401b038111156120ca575f5ffd5b6020830191508360208260051b8501011115611e75575f5ffd5b5f5f602083850312156120f5575f5ffd5b82356001600160401b0381111561210a575f5ffd5b612116858286016120a4565b90969095509350505050565b5f60208284031215612132575f5ffd5b61160982611f2a565b5f5f5f5f6060858703121561214e575f5ffd5b61215785611f2a565b935061216560208601611fd3565b925060408501356001600160401b0381111561217f575f5ffd5b61218b87828801611e38565b95989497509550505050565b5f5f5f83850360808112156121aa575f5ffd5b84356001600160401b038111156121bf575f5ffd5b6121cb87828801611ce1565b9450506040601f19820112156121df575f5ffd5b5060208401915060608401356121f481611e7c565b809150509250925092565b825181526020808401516001600160401b03169082015260408084015160c083019161222d90840182611d28565b506116096080830184611d28565b5f6060828403121561224b575f5ffd5b6116098383611e28565b5f60208284031215612265575f5ffd5b815161160981611e7c565b5f60208284031215612280575f5ffd5b5051919050565b634e487b7160e01b5f52604160045260245ffd5b63ffffffff929092168252602082015260400190565b600181811c908216806122c557607f821691505b602082108103611cf157634e487b7160e01b5f52602260045260245ffd5b604051606081016001600160401b038111828210171561230557612305612287565b60405290565b604080519081016001600160401b038111828210171561230557612305612287565b604051601f8201601f191681016001600160401b038111828210171561235557612355612287565b604052919050565b5f6001600160401b0382111561237557612375612287565b50601f01601f191660200190565b5f6001600160401b0383111561239b5761239b612287565b8260051b6123ab6020820161232d565b848152908301906020810190368311156123c3575f5ffd5b845b8381101561249a5780356001600160401b038111156123e2575f5ffd5b860160603682900312156123f4575f5ffd5b6123fc6122e3565b61240582611f2a565b815261241360208301611fd3565b602082015260408201356001600160401b03811115612430575f5ffd5b919091019036601f830112612443575f5ffd5b81356124566124518261235d565b61232d565b81815236602083860101111561246a575f5ffd5b816020850160208301375f60208383010152806040840152505080855250506020830192506020810190506123c5565b5095945050505050565b5f5f858511156124b2575f5ffd5b838611156124be575f5ffd5b5050820193919092039150565b5f84516124dc818460208901611d37565b8201838582375f930192835250909392505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f6109cb6020830184866124f1565b634e487b7160e01b5f52603260045260245ffd5b5f823561013e19833603018112612555575f5ffd5b9190910192915050565b5f5f8335601e19843603018112612574575f5ffd5b8301803591506001600160401b0382111561258d575f5ffd5b602001915036819003821315611e75575f5ffd5b6001600160401b0381168114610eaa575f5ffd5b63ffffffff6125c389611f2a565b168152602088810135908201525f60408901356125df816125a1565b6001600160401b031660408301526060820188905260e06080830181905261260a90830187896124f1565b6001600160a01b03861660a084015282810360c084015261262c8185876124f1565b9a9950505050505050505050565b5f6020828403121561264a575f5ffd5b81516001600160401b0381111561265f575f5ffd5b8201601f8101841361266f575f5ffd5b805161267d6124518261235d565b818152856020838501011115612691575f5ffd5b61134a826020830160208601611d37565b5f602082840312156126b2575f5ffd5b8135611609816125a1565b60018060a01b038516815283602082015261ffff83166040820152608060608201525f6126ed6080830184611d59565b9695505050505050565b604081525f6127096040830185611d59565b828103602084015261134a8185611d59565b5f6020828403121561272b575f5ffd5b815161160981611f6a565b6040815263ffffffff8351166040820152602083015160608201525f604084015160a0608084015261276b60e0840182611d59565b90506060850151603f198483030160a08501526127888282611d59565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b5f604082840312156127be575f5ffd5b6127c661230b565b825181526020928301519281019290925250919050565b5f604082840312156127ed575f5ffd5b61160983836127ae565b601f82111561197d57805f5260205f20601f840160051c8101602085101561281c5750805b601f840160051c820191505b81811015610dab575f8155600101612828565b81516001600160401b0381111561285457612854612287565b6128688161286284546122b1565b846127f7565b6020601f82116001811461289a575f83156128835750848201515b5f19600385901b1c1916600184901b178455610dab565b5f84815260208120601f198516915b828110156128c957878501518255602094850194600190920191016128a9565b50848210156128e657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561297757603f19878603018452815163ffffffff815116865261ffff602082015116602087015260408101519050606060408701526129616060870182611d59565b955050602093840193919091019060010161291b565b50929695505050505050565b5f6040828403128015612994575f5ffd5b5061299d61230b565b823581526020928301359281019290925250919050565b5f826129ce57634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761088a57634e487b7160e01b5f52601160045260245ffd5b8035602083101561088a575f19602084900360031b1b1692915050565b80356001600160c01b03198116906008841015612a44576001600160c01b0319600885900360031b81901b82161691505b5092915050565b60c085901b6001600160c01b031916815260e084901b6001600160e01b0319166008820152600c810183905281515f90612a8c81602c850160208701611d37565b91909101602c0195945050505050565b84815260018060c01b03198460c01b1660208201528260288201525f8251612acb816048850160208701611d37565b9190910160480195945050505050565b5f6080828403128015612aec575f5ffd5b50612af56122e3565b825181526020830151612b07816125a1565b6020820152612b1984604085016127ae565b60408201529392505050565b5f8251612555818460208701611d3756fea264697066735822122071e6dcdb1ea44434fe2eeaf25d2b9a178b68bbb4f0861ac49b81f72ffb95326864736f6c634300081e003346756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212202e378d6c573e6895721c0c7ecea4f5c07770c008730c6ecd02ea1fb9ab9f11f064736f6c634300081e0033",
278
- "linkReferences": {},
279
- "deployedLinkReferences": {}
280
- }
@@ -1,38 +0,0 @@
1
- // SPDX-License-Identifier: GPL-3.0-or-later
2
- pragma solidity ^0.8.0;
3
-
4
- import {BoringOwnableUpgradeableV2} from "../../../core/libraries/BoringOwnableUpgradeableV2.sol";
5
- import {IPPTOFTAdapterFactory} from "../../../interfaces/IPPTOFTAdapterFactory.sol";
6
- import {OFTAdapterImpl} from "../../oftImpl/hub/OFTAdapterImpl.sol";
7
-
8
- import {UUPSUpgradeable} from "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
9
-
10
- contract PendlePTOFTAdapterFactory is IPPTOFTAdapterFactory, BoringOwnableUpgradeableV2, UUPSUpgradeable {
11
- error PTOFTAdapterExisted(address pt);
12
-
13
- address internal immutable _lzEndpoint;
14
-
15
- constructor(address lzEndpoint) {
16
- _disableInitializers();
17
- _lzEndpoint = lzEndpoint;
18
- }
19
-
20
- function initialize(address _owner) external initializer {
21
- __BoringOwnableV2_init(_owner);
22
- __UUPSUpgradeable_init();
23
- }
24
-
25
- mapping(address pt => address) public ptAdapter;
26
-
27
- function createPtAdapter(address pt) external override onlyOwner returns (address) {
28
- if (ptAdapter[pt] != address(0)) revert PTOFTAdapterExisted(pt);
29
-
30
- OFTAdapterImpl adapter = new OFTAdapterImpl(pt, _lzEndpoint, owner);
31
- adapter.transferOwnership(owner);
32
- emit PtAdapterCreated(pt, address(adapter));
33
-
34
- return ptAdapter[pt] = address(adapter);
35
- }
36
-
37
- function _authorizeUpgrade(address) internal override onlyOwner {}
38
- }