@pendle/core-v2 6.10.0 → 6.11.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 (343) 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/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  44. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +1 -1
  46. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  47. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  54. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
  55. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  56. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  57. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarket.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPBridgeDataVerifier.sol/IPBridgeDataVerifier.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPLoopPositionBox.sol/IPLoopPositionBox.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPPostPtLoopStateChecker.sol/IPPostPtLoopStateChecker.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPStaticQuoter.sol/IPStaticQuoter.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  153. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  154. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  155. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
  156. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  221. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  222. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  223. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  224. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  225. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  226. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  227. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  228. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  230. package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.dbg.json +1 -1
  231. package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +1 -1
  232. package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +1 -1
  233. package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.dbg.json +1 -1
  234. package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.dbg.json +1 -1
  235. package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.dbg.json +1 -1
  236. package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.dbg.json +1 -1
  237. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +1 -1
  238. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +1 -1
  239. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.dbg.json +1 -1
  240. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +1 -1
  241. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +1 -1
  242. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.dbg.json +1 -1
  243. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.dbg.json +1 -1
  244. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +1 -1
  245. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  246. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.dbg.json +1 -1
  247. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.dbg.json +1 -1
  248. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.dbg.json +1 -1
  249. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.dbg.json +1 -1
  250. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.dbg.json +1 -1
  251. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.dbg.json +1 -1
  252. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.dbg.json +1 -1
  253. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +1 -1
  254. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.dbg.json +1 -1
  255. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.dbg.json +1 -1
  256. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.dbg.json +1 -1
  257. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.dbg.json +1 -1
  258. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.dbg.json +1 -1
  259. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.dbg.json +1 -1
  260. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.dbg.json +1 -1
  261. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.dbg.json +1 -1
  262. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.dbg.json +1 -1
  263. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.dbg.json +1 -1
  264. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +1 -1
  265. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +1 -1
  266. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.dbg.json +1 -1
  267. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.dbg.json +1 -1
  268. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.dbg.json +1 -1
  269. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.dbg.json +1 -1
  270. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.dbg.json +1 -1
  271. package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.dbg.json +1 -1
  272. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  273. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  274. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  275. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  276. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  277. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  278. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  279. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  280. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  281. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  282. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  283. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  284. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  285. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  286. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  287. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  288. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  289. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  290. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  291. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  292. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  293. package/deployments/196-core.json +6 -1
  294. package/deployments/4663-core.json +3 -1
  295. package/package.json +62 -61
  296. package/typechain-types/IAaveOracle.ts +149 -17
  297. package/typechain-types/factories/IAaveOracle__factory.ts +93 -3
  298. package/typechain-types/hardhat.d.ts +0 -54
  299. package/typechain-types/index.ts +2 -12
  300. package/typechain-types/ActionCrossChain.ts +0 -161
  301. package/typechain-types/ERC1967UpgradeUpgradeable.ts +0 -106
  302. package/typechain-types/FixedPricePTAMM.ts +0 -892
  303. package/typechain-types/IBeaconUpgradeable.ts +0 -87
  304. package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +0 -431
  305. package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +0 -606
  306. package/typechain-types/IDssPsm.ts +0 -194
  307. package/typechain-types/IERC1822ProxiableUpgradeable.ts +0 -87
  308. package/typechain-types/IERC1967Upgradeable.ts +0 -97
  309. package/typechain-types/IFlashLoanReceiver.ts +0 -125
  310. package/typechain-types/IMulticall.ts +0 -117
  311. package/typechain-types/IPActionCrossChain.ts +0 -161
  312. package/typechain-types/IPFixedPricePTAMM.ts +0 -612
  313. package/typechain-types/IPSwapHelper.ts +0 -161
  314. package/typechain-types/IPoolDataProviderV31.ts +0 -933
  315. package/typechain-types/IPot.ts +0 -181
  316. package/typechain-types/ISDAI.ts +0 -877
  317. package/typechain-types/Multicall.ts +0 -117
  318. package/typechain-types/OFTAdapter.ts +0 -1331
  319. package/typechain-types/PTLooperView.ts +0 -618
  320. package/typechain-types/PendlePTOFTAdapterFactory.ts +0 -419
  321. package/typechain-types/PendleSwapHelper.ts +0 -161
  322. package/typechain-types/factories/ActionCrossChain__factory.ts +0 -152
  323. package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +0 -88
  324. package/typechain-types/factories/FixedPricePTAMM__factory.ts +0 -720
  325. package/typechain-types/factories/IBeaconUpgradeable__factory.ts +0 -39
  326. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +0 -441
  327. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +0 -278
  328. package/typechain-types/factories/IDssPsm__factory.ts +0 -122
  329. package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +0 -43
  330. package/typechain-types/factories/IERC1967Upgradeable__factory.ts +0 -71
  331. package/typechain-types/factories/IFlashLoanReceiver__factory.ts +0 -65
  332. package/typechain-types/factories/IMulticall__factory.ts +0 -66
  333. package/typechain-types/factories/IPActionCrossChain__factory.ts +0 -114
  334. package/typechain-types/factories/IPFixedPricePTAMM__factory.ts +0 -429
  335. package/typechain-types/factories/IPSwapHelper__factory.ts +0 -111
  336. package/typechain-types/factories/IPoolDataProviderV31__factory.ts +0 -596
  337. package/typechain-types/factories/IPot__factory.ts +0 -98
  338. package/typechain-types/factories/ISDAI__factory.ts +0 -645
  339. package/typechain-types/factories/Multicall__factory.ts +0 -104
  340. package/typechain-types/factories/OFTAdapter__factory.ts +0 -1256
  341. package/typechain-types/factories/PTLooperView__factory.ts +0 -467
  342. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +0 -342
  343. package/typechain-types/factories/PendleSwapHelper__factory.ts +0 -152
@@ -1,720 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- FixedPricePTAMM,
8
- FixedPricePTAMMInterface,
9
- } from "../FixedPricePTAMM";
10
-
11
- const _abi = [
12
- {
13
- inputs: [],
14
- stateMutability: "nonpayable",
15
- type: "constructor",
16
- },
17
- {
18
- inputs: [
19
- {
20
- internalType: "address",
21
- name: "PT",
22
- type: "address",
23
- },
24
- {
25
- internalType: "uint256",
26
- name: "actualAmount",
27
- type: "uint256",
28
- },
29
- {
30
- internalType: "uint256",
31
- name: "requiredAmount",
32
- type: "uint256",
33
- },
34
- ],
35
- name: "InsufficientPtReceived",
36
- type: "error",
37
- },
38
- {
39
- inputs: [
40
- {
41
- internalType: "address",
42
- name: "token",
43
- type: "address",
44
- },
45
- {
46
- internalType: "uint256",
47
- name: "actualAmount",
48
- type: "uint256",
49
- },
50
- {
51
- internalType: "uint256",
52
- name: "requiredAmount",
53
- type: "uint256",
54
- },
55
- ],
56
- name: "InsufficientTokenForTrade",
57
- type: "error",
58
- },
59
- {
60
- inputs: [
61
- {
62
- internalType: "address",
63
- name: "PT",
64
- type: "address",
65
- },
66
- {
67
- internalType: "address",
68
- name: "token",
69
- type: "address",
70
- },
71
- ],
72
- name: "OracleNotSet",
73
- type: "error",
74
- },
75
- {
76
- anonymous: false,
77
- inputs: [
78
- {
79
- indexed: false,
80
- internalType: "address",
81
- name: "previousAdmin",
82
- type: "address",
83
- },
84
- {
85
- indexed: false,
86
- internalType: "address",
87
- name: "newAdmin",
88
- type: "address",
89
- },
90
- ],
91
- name: "AdminChanged",
92
- type: "event",
93
- },
94
- {
95
- anonymous: false,
96
- inputs: [
97
- {
98
- indexed: true,
99
- internalType: "address",
100
- name: "beacon",
101
- type: "address",
102
- },
103
- ],
104
- name: "BeaconUpgraded",
105
- type: "event",
106
- },
107
- {
108
- anonymous: false,
109
- inputs: [
110
- {
111
- indexed: false,
112
- internalType: "uint8",
113
- name: "version",
114
- type: "uint8",
115
- },
116
- ],
117
- name: "Initialized",
118
- type: "event",
119
- },
120
- {
121
- anonymous: false,
122
- inputs: [
123
- {
124
- indexed: true,
125
- internalType: "address",
126
- name: "previousOwner",
127
- type: "address",
128
- },
129
- {
130
- indexed: true,
131
- internalType: "address",
132
- name: "newOwner",
133
- type: "address",
134
- },
135
- ],
136
- name: "OwnershipTransferred",
137
- type: "event",
138
- },
139
- {
140
- anonymous: false,
141
- inputs: [
142
- {
143
- indexed: true,
144
- internalType: "address",
145
- name: "PT",
146
- type: "address",
147
- },
148
- {
149
- indexed: true,
150
- internalType: "address",
151
- name: "token",
152
- type: "address",
153
- },
154
- {
155
- indexed: true,
156
- internalType: "address",
157
- name: "priceOracle",
158
- type: "address",
159
- },
160
- ],
161
- name: "PriceOracleUpdated",
162
- type: "event",
163
- },
164
- {
165
- anonymous: false,
166
- inputs: [
167
- {
168
- indexed: true,
169
- internalType: "address",
170
- name: "token",
171
- type: "address",
172
- },
173
- {
174
- indexed: false,
175
- internalType: "uint256",
176
- name: "amount",
177
- type: "uint256",
178
- },
179
- ],
180
- name: "Seeded",
181
- type: "event",
182
- },
183
- {
184
- anonymous: false,
185
- inputs: [
186
- {
187
- indexed: true,
188
- internalType: "address",
189
- name: "caller",
190
- type: "address",
191
- },
192
- {
193
- indexed: true,
194
- internalType: "address",
195
- name: "receiver",
196
- type: "address",
197
- },
198
- {
199
- indexed: false,
200
- internalType: "address",
201
- name: "PT",
202
- type: "address",
203
- },
204
- {
205
- indexed: false,
206
- internalType: "uint256",
207
- name: "netPtIn",
208
- type: "uint256",
209
- },
210
- {
211
- indexed: false,
212
- internalType: "address",
213
- name: "token",
214
- type: "address",
215
- },
216
- {
217
- indexed: false,
218
- internalType: "uint256",
219
- name: "netTokenOut",
220
- type: "uint256",
221
- },
222
- ],
223
- name: "Swap",
224
- type: "event",
225
- },
226
- {
227
- anonymous: false,
228
- inputs: [
229
- {
230
- indexed: true,
231
- internalType: "address",
232
- name: "token",
233
- type: "address",
234
- },
235
- {
236
- indexed: false,
237
- internalType: "uint256",
238
- name: "amount",
239
- type: "uint256",
240
- },
241
- ],
242
- name: "Unseeded",
243
- type: "event",
244
- },
245
- {
246
- anonymous: false,
247
- inputs: [
248
- {
249
- indexed: true,
250
- internalType: "address",
251
- name: "implementation",
252
- type: "address",
253
- },
254
- ],
255
- name: "Upgraded",
256
- type: "event",
257
- },
258
- {
259
- inputs: [
260
- {
261
- internalType: "address",
262
- name: "token",
263
- type: "address",
264
- },
265
- {
266
- internalType: "uint256",
267
- name: "amount",
268
- type: "uint256",
269
- },
270
- ],
271
- name: "addFund",
272
- outputs: [],
273
- stateMutability: "payable",
274
- type: "function",
275
- },
276
- {
277
- inputs: [],
278
- name: "claimOwnership",
279
- outputs: [],
280
- stateMutability: "nonpayable",
281
- type: "function",
282
- },
283
- {
284
- inputs: [
285
- {
286
- internalType: "address",
287
- name: "_owner",
288
- type: "address",
289
- },
290
- ],
291
- name: "initialize",
292
- outputs: [],
293
- stateMutability: "nonpayable",
294
- type: "function",
295
- },
296
- {
297
- inputs: [],
298
- name: "owner",
299
- outputs: [
300
- {
301
- internalType: "address",
302
- name: "",
303
- type: "address",
304
- },
305
- ],
306
- stateMutability: "view",
307
- type: "function",
308
- },
309
- {
310
- inputs: [],
311
- name: "pendingOwner",
312
- outputs: [
313
- {
314
- internalType: "address",
315
- name: "",
316
- type: "address",
317
- },
318
- ],
319
- stateMutability: "view",
320
- type: "function",
321
- },
322
- {
323
- inputs: [
324
- {
325
- internalType: "address",
326
- name: "PT",
327
- type: "address",
328
- },
329
- {
330
- internalType: "uint256",
331
- name: "exactPtIn",
332
- type: "uint256",
333
- },
334
- {
335
- internalType: "address",
336
- name: "token",
337
- type: "address",
338
- },
339
- ],
340
- name: "previewSwapExactPtForToken",
341
- outputs: [
342
- {
343
- internalType: "uint256",
344
- name: "amountTokenOut",
345
- type: "uint256",
346
- },
347
- ],
348
- stateMutability: "view",
349
- type: "function",
350
- },
351
- {
352
- inputs: [
353
- {
354
- internalType: "address",
355
- name: "PT",
356
- type: "address",
357
- },
358
- {
359
- internalType: "address",
360
- name: "token",
361
- type: "address",
362
- },
363
- {
364
- internalType: "uint256",
365
- name: "exactTokenOut",
366
- type: "uint256",
367
- },
368
- ],
369
- name: "previewSwapPtForExactToken",
370
- outputs: [
371
- {
372
- internalType: "uint256",
373
- name: "amountPtIn",
374
- type: "uint256",
375
- },
376
- ],
377
- stateMutability: "view",
378
- type: "function",
379
- },
380
- {
381
- inputs: [
382
- {
383
- internalType: "address",
384
- name: "PT",
385
- type: "address",
386
- },
387
- {
388
- internalType: "address",
389
- name: "token",
390
- type: "address",
391
- },
392
- ],
393
- name: "priceOracle",
394
- outputs: [
395
- {
396
- internalType: "contract IPChainlinkOracleEssential",
397
- name: "oracle",
398
- type: "address",
399
- },
400
- {
401
- internalType: "uint256",
402
- name: "multiplier",
403
- type: "uint256",
404
- },
405
- ],
406
- stateMutability: "view",
407
- type: "function",
408
- },
409
- {
410
- inputs: [],
411
- name: "proxiableUUID",
412
- outputs: [
413
- {
414
- internalType: "bytes32",
415
- name: "",
416
- type: "bytes32",
417
- },
418
- ],
419
- stateMutability: "view",
420
- type: "function",
421
- },
422
- {
423
- inputs: [
424
- {
425
- internalType: "address",
426
- name: "token",
427
- type: "address",
428
- },
429
- {
430
- internalType: "uint256",
431
- name: "amount",
432
- type: "uint256",
433
- },
434
- ],
435
- name: "removeFund",
436
- outputs: [],
437
- stateMutability: "nonpayable",
438
- type: "function",
439
- },
440
- {
441
- inputs: [
442
- {
443
- internalType: "address",
444
- name: "PT",
445
- type: "address",
446
- },
447
- {
448
- internalType: "address",
449
- name: "token",
450
- type: "address",
451
- },
452
- {
453
- internalType: "address",
454
- name: "_priceOracle",
455
- type: "address",
456
- },
457
- {
458
- internalType: "uint256",
459
- name: "_multiplier",
460
- type: "uint256",
461
- },
462
- ],
463
- name: "setPriceOracle",
464
- outputs: [],
465
- stateMutability: "nonpayable",
466
- type: "function",
467
- },
468
- {
469
- inputs: [
470
- {
471
- internalType: "address",
472
- name: "receiver",
473
- type: "address",
474
- },
475
- {
476
- internalType: "address",
477
- name: "PT",
478
- type: "address",
479
- },
480
- {
481
- internalType: "uint256",
482
- name: "exactPtIn",
483
- type: "uint256",
484
- },
485
- {
486
- internalType: "address",
487
- name: "token",
488
- type: "address",
489
- },
490
- {
491
- internalType: "bytes",
492
- name: "data",
493
- type: "bytes",
494
- },
495
- ],
496
- name: "swapExactPtForToken",
497
- outputs: [
498
- {
499
- internalType: "uint256",
500
- name: "netTokenOut",
501
- type: "uint256",
502
- },
503
- ],
504
- stateMutability: "nonpayable",
505
- type: "function",
506
- },
507
- {
508
- inputs: [
509
- {
510
- internalType: "address",
511
- name: "receiver",
512
- type: "address",
513
- },
514
- {
515
- internalType: "address",
516
- name: "PT",
517
- type: "address",
518
- },
519
- {
520
- internalType: "address",
521
- name: "token",
522
- type: "address",
523
- },
524
- {
525
- internalType: "uint256",
526
- name: "exactTokenOut",
527
- type: "uint256",
528
- },
529
- {
530
- internalType: "bytes",
531
- name: "data",
532
- type: "bytes",
533
- },
534
- ],
535
- name: "swapPtForExactToken",
536
- outputs: [
537
- {
538
- internalType: "uint256",
539
- name: "netPtIn",
540
- type: "uint256",
541
- },
542
- ],
543
- stateMutability: "nonpayable",
544
- type: "function",
545
- },
546
- {
547
- inputs: [
548
- {
549
- internalType: "address",
550
- name: "receiver",
551
- type: "address",
552
- },
553
- {
554
- internalType: "address",
555
- name: "PT",
556
- type: "address",
557
- },
558
- {
559
- internalType: "uint256",
560
- name: "exactPtIn",
561
- type: "uint256",
562
- },
563
- {
564
- internalType: "address",
565
- name: "token",
566
- type: "address",
567
- },
568
- ],
569
- name: "transferInThenSwapExactPtForToken",
570
- outputs: [
571
- {
572
- internalType: "uint256",
573
- name: "netPtIn",
574
- type: "uint256",
575
- },
576
- ],
577
- stateMutability: "nonpayable",
578
- type: "function",
579
- },
580
- {
581
- inputs: [
582
- {
583
- internalType: "address",
584
- name: "receiver",
585
- type: "address",
586
- },
587
- {
588
- internalType: "address",
589
- name: "PT",
590
- type: "address",
591
- },
592
- {
593
- internalType: "address",
594
- name: "token",
595
- type: "address",
596
- },
597
- {
598
- internalType: "uint256",
599
- name: "exactTokenOut",
600
- type: "uint256",
601
- },
602
- ],
603
- name: "transferInThenSwapPtForExactToken",
604
- outputs: [
605
- {
606
- internalType: "uint256",
607
- name: "netPtIn",
608
- type: "uint256",
609
- },
610
- ],
611
- stateMutability: "nonpayable",
612
- type: "function",
613
- },
614
- {
615
- inputs: [
616
- {
617
- internalType: "address",
618
- name: "newOwner",
619
- type: "address",
620
- },
621
- {
622
- internalType: "bool",
623
- name: "direct",
624
- type: "bool",
625
- },
626
- {
627
- internalType: "bool",
628
- name: "renounce",
629
- type: "bool",
630
- },
631
- ],
632
- name: "transferOwnership",
633
- outputs: [],
634
- stateMutability: "nonpayable",
635
- type: "function",
636
- },
637
- {
638
- inputs: [
639
- {
640
- internalType: "address",
641
- name: "newImplementation",
642
- type: "address",
643
- },
644
- ],
645
- name: "upgradeTo",
646
- outputs: [],
647
- stateMutability: "nonpayable",
648
- type: "function",
649
- },
650
- {
651
- inputs: [
652
- {
653
- internalType: "address",
654
- name: "newImplementation",
655
- type: "address",
656
- },
657
- {
658
- internalType: "bytes",
659
- name: "data",
660
- type: "bytes",
661
- },
662
- ],
663
- name: "upgradeToAndCall",
664
- outputs: [],
665
- stateMutability: "payable",
666
- type: "function",
667
- },
668
- ];
669
-
670
- const _bytecode =
671
- "0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100ed565b600154600160a81b900460ff161561008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100eb576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6080516120b96101215f395f8181610587015281816105c70152818161075701528181610797015261084c01526120b95ff3fe6080604052600436106100d8575f3560e01c8063078dfbe7146100dc5780631927e673146100fd57806332cd935a1461012f5780633659cfe61461014e578063477053fb1461016d5780634e71e0c81461018c5780634f1ef286146101a05780635081b67b146101b357806352d1902d146101d25780638da5cb5b146101e657806393d5972b146102115780639d9ed3cc14610230578063c4d66de81461024f578063d3118e641461026e578063d512c0611461029b578063d7f70c8f146102ae578063df0fe2eb146102cd578063e30c3978146102ec575b5f5ffd5b3480156100e7575f5ffd5b506100fb6100f636600461196b565b61030b565b005b348015610108575f5ffd5b5061011c6101173660046119b1565b61040c565b6040519081526020015b60405180910390f35b34801561013a575f5ffd5b5061011c6101493660046119eb565b6104c9565b348015610159575f5ffd5b506100fb610168366004611a24565b61057d565b348015610178575f5ffd5b5061011c610187366004611a7a565b610644565b348015610197575f5ffd5b506100fb6106a5565b6100fb6101ae366004611b07565b61074d565b3480156101be575f5ffd5b5061011c6101cd366004611bc8565b610806565b3480156101dd575f5ffd5b5061011c610840565b3480156101f1575f5ffd5b505f54610204906001600160a01b031681565b6040516101269190611c10565b34801561021c575f5ffd5b5061011c61022b366004611c24565b6108ec565b34801561023b575f5ffd5b506100fb61024a366004611c6e565b610912565b34801561025a575f5ffd5b506100fb610269366004611a24565b6109d5565b348015610279575f5ffd5b5061028d610288366004611c96565b610b0d565b604051610126929190611cc7565b6100fb6102a9366004611c6e565b610bac565b3480156102b9575f5ffd5b506100fb6102c8366004611bc8565b610c67565b3480156102d8575f5ffd5b5061011c6102e7366004611ce0565b610d2f565b3480156102f7575f5ffd5b50600154610204906001600160a01b031681565b5f546001600160a01b0316331461033d5760405162461bcd60e51b815260040161033490611d3b565b60405180910390fd5b81156103eb576001600160a01b0383161515806103575750805b61039b5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610334565b5f80546040516001600160a01b03808716939216915f51602061203d5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b5f5f5f6104198686610b0d565b915091505f826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561045a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061047e9190611d86565b5050509150506104be8261049183610d7a565b61049b9190611de8565b670de0b6b3a76400006104ae8189611de8565b6104b89190611de8565b90610d8b565b979650505050505050565b5f5f5f6104d68685610b0d565b915091505f826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610517573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053b9190611d86565b505050915050670de0b6b3a7640000806105559190611de8565b8261055f83610d7a565b6105699089611de8565b6105739190611de8565b6104be9190611dff565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036105c55760405162461bcd60e51b815260040161033490611e1e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105f7610db6565b6001600160a01b03161461061d5760405162461bcd60e51b815260040161033490611e57565b61062681610dd1565b604080515f8082526020820190925261064191839190610dfa565b50565b5f61064d610f64565b61068f8787878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201829052509250610fbd915050565b905061069b6001603255565b9695505050505050565b6001546001600160a01b03163381146107005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610334565b5f80546040516001600160a01b03808516939216915f51602061203d5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036107955760405162461bcd60e51b815260040161033490611e1e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107c7610db6565b6001600160a01b0316146107ed5760405162461bcd60e51b815260040161033490611e57565b6107f682610dd1565b61080282826001610dfa565b5050565b5f61080f610f64565b61082c8585858560405180602001604052805f8152506001610fbd565b90506108386001603255565b949350505050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108da5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610334565b505f51602061201d5f395f51905f5290565b5f6108f5610f64565b61082c8585858560405180602001604052805f8152506001610fea565b5f546001600160a01b0316331461093b5760405162461bcd60e51b815260040161033490611d3b565b5f546109529083906001600160a01b031683611017565b8061095b6110ef565b6001015f846001600160a01b03166001600160a01b031681526020019081526020015f205f82825461098d9190611e90565b90915550506040518181526001600160a01b038316907fea503f39efcfc64114ad09951fa9d4f7481b8d8d92b4fbccd006377b095f866d906020015b60405180910390a25050565b600154600160a81b900460ff16158080156109fb575060018054600160a01b900460ff16105b80610a225750610a0a30611113565b158015610a22575060018054600160a01b900460ff16145b610a855760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610334565b6001805460ff60a01b1916600160a01b1790558015610ab2576001805460ff60a81b1916600160a81b1790555b610abb82611122565b610ac361116c565b8015610802576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f5f610b176110ef565b6001600160a01b038086165f9081526020928352604080822087841683529093529190912054169150610b486110ef565b6001600160a01b038086165f908152602092835260408082208784168352909352919091206001015491508216610ba5576040516344d0379d60e01b81526001600160a01b03808616600483015284166024820152604401610334565b9250929050565b5f546001600160a01b03163314610bd55760405162461bcd60e51b815260040161033490611d3b565b5f54610bec9083906001600160a01b031683611197565b80610bf56110ef565b6001015f846001600160a01b03166001600160a01b031681526020019081526020015f205f828254610c279190611ea3565b90915550506040518181526001600160a01b038316907f6189b14a5c1490dbeb86a9da875768d98dc98fb398d6b29dd475defaa1ec4ba3906020016109c9565b5f546001600160a01b03163314610c905760405162461bcd60e51b815260040161033490611d3b565b6040518060400160405280836001600160a01b0316815260200182815250610cb66110ef565b6001600160a01b038681165f81815260209384526040808220898516808452908652818320875181546001600160a01b031916908716178155969095015160019096019590955593519186169390917ff51f0fffc8121ee3747e0536c487d894894cdba960ccfb4ab385a88d51b16fed9190a450505050565b5f610d38610f64565b61068f8787878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201829052509250610fea915050565b5f5f821215610d87575f5ffd5b5090565b5f816001610d998286611ea3565b610da39190611e90565b610dad9190611dff565b90505b92915050565b5f51602061201d5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146106415760405162461bcd60e51b815260040161033490611d3b565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e2d57610407836111fe565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e87575060408051601f3d908101601f19168201909252610e8491810190611eb6565b60015b610eea5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610334565b5f51602061201d5f395f51905f528114610f585760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610334565b50610407838383611297565b600260325403610fb65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610334565b6002603255565b5f610fc986868661040c565b90508115610fdc57610fdc863383611197565b61069b8787838888886112bb565b5f610ff68686866104c9565b9050811561100957611009863387611197565b61069b8787878785886112bb565b80158061102c57506001600160a01b03821630145b1561103657505050565b6001600160a01b0383166110db575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461108d576040519150601f19603f3d011682016040523d82523d5f602084013e611092565b606091505b50509050806110d55760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610334565b50505050565b6104076001600160a01b0384168383611500565b7fbbf04d9aae855c6bd76c8f4ba7a918994ad0d002f537323e58c83cbfe524900090565b6001600160a01b03163b151590565b600154600160a81b900460ff1661114b5760405162461bcd60e51b815260040161033490611ecd565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff166111955760405162461bcd60e51b815260040161033490611ecd565b565b6001600160a01b0383166111e3578034146104075760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610334565b8015610407576104076001600160a01b038416833084611556565b61120781611113565b6112695760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610334565b5f51602061201d5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b6112a08361158e565b5f825111806112ac5750805b15610407576110d583836115cd565b816112c46110ef565b6001600160a01b0385165f9081526001919091016020526040902054101561133157826112ef6110ef565b6001015f856001600160a01b03166001600160a01b031681526020019081526020015f2054836040516306aa683960e31b815260040161033493929190611f18565b61133c838784611017565b816113456110ef565b6001015f856001600160a01b03166001600160a01b031681526020019081526020015f205f8282546113779190611e90565b90915550508051156113d85760405163491dc51560e11b8152339063923b8a2a906113aa90859088908690600401611f86565b5f604051808303815f87803b1580156113c1575f5ffd5b505af11580156113d3573d5f5f3e3d5ffd5b505050505b836113e16110ef565b6001015f876001600160a01b03166001600160a01b031681526020019081526020015f205f8282546114139190611ea3565b9091555061142190506110ef565b6001600160a01b0386165f9081526001919091016020526040902054611446866115f2565b101561149f5784611456866115f2565b61145e6110ef565b6001015f886001600160a01b03166001600160a01b031681526020019081526020015f205460405163bb7de36360e01b815260040161033493929190611f18565b604080516001600160a01b03878116825260208201879052858116828401526060820185905291519188169133917f6ac6c02c73a1841cb185dff1fe5282ff4499ce709efd387f7fc6de10a5124320919081900360800190a3505050505050565b6104078363a9059cbb60e01b848460405160240161151f929190611cc7565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526115fd565b6040516001600160a01b03808516602483015283166044820152606481018290526110d59085906323b872dd60e01b9060840161151f565b611597816111fe565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610dad838360405180606001604052806027815260200161205d602791396116d0565b5f610db0308361173a565b5f611651826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117c99092919063ffffffff16565b905080515f14806116715750808060200190518101906116719190611fad565b6104075760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610334565b60605f5f856001600160a01b0316856040516116ec9190611fcf565b5f60405180830381855af49150503d805f8114611724576040519150601f19603f3d011682016040523d82523d5f602084013e611729565b606091505b509150915061069b868383876117d7565b5f6001600160a01b038216156117ba576040516370a0823160e01b81526001600160a01b038316906370a0823190611776908690600401611c10565b602060405180830381865afa158015611791573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b59190611eb6565b610dad565b50506001600160a01b03163190565b606061083884845f8561184d565b606083156118435782515f0361183c576117f085611113565b61183c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610334565b5081610838565b6108388383611919565b6060824710156118ae5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610334565b5f5f866001600160a01b031685876040516118c99190611fcf565b5f6040518083038185875af1925050503d805f8114611903576040519150601f19603f3d011682016040523d82523d5f602084013e611908565b606091505b50915091506104be878383876117d7565b8151156119295781518083602001fd5b8060405162461bcd60e51b81526004016103349190611fea565b80356001600160a01b0381168114611959575f5ffd5b919050565b8015158114610641575f5ffd5b5f5f5f6060848603121561197d575f5ffd5b61198684611943565b925060208401356119968161195e565b915060408401356119a68161195e565b809150509250925092565b5f5f5f606084860312156119c3575f5ffd5b6119cc84611943565b92506119da60208501611943565b929592945050506040919091013590565b5f5f5f606084860312156119fd575f5ffd5b611a0684611943565b925060208401359150611a1b60408501611943565b90509250925092565b5f60208284031215611a34575f5ffd5b610dad82611943565b5f5f83601f840112611a4d575f5ffd5b5081356001600160401b03811115611a63575f5ffd5b602083019150836020828501011115610ba5575f5ffd5b5f5f5f5f5f5f60a08789031215611a8f575f5ffd5b611a9887611943565b9550611aa660208801611943565b9450611ab460408801611943565b93506060870135925060808701356001600160401b03811115611ad5575f5ffd5b611ae189828a01611a3d565b979a9699509497509295939492505050565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215611b18575f5ffd5b611b2183611943565b915060208301356001600160401b03811115611b3b575f5ffd5b8301601f81018513611b4b575f5ffd5b80356001600160401b03811115611b6457611b64611af3565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611b9257611b92611af3565b604052818152828201602001871015611ba9575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f5f5f60808587031215611bdb575f5ffd5b611be485611943565b9350611bf260208601611943565b9250611c0060408601611943565b9396929550929360600135925050565b6001600160a01b0391909116815260200190565b5f5f5f5f60808587031215611c37575f5ffd5b611c4085611943565b9350611c4e60208601611943565b925060408501359150611c6360608601611943565b905092959194509250565b5f5f60408385031215611c7f575f5ffd5b611c8883611943565b946020939093013593505050565b5f5f60408385031215611ca7575f5ffd5b611cb083611943565b9150611cbe60208401611943565b90509250929050565b6001600160a01b03929092168252602082015260400190565b5f5f5f5f5f5f60a08789031215611cf5575f5ffd5b611cfe87611943565b9550611d0c60208801611943565b945060408701359350611d2160608801611943565b925060808701356001600160401b03811115611ad5575f5ffd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80516001600160501b0381168114611959575f5ffd5b5f5f5f5f5f60a08688031215611d9a575f5ffd5b611da386611d70565b60208701516040880151606089015192975090955093509150611dc860808701611d70565b90509295509295909350565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610db057610db0611dd4565b5f82611e1957634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602c908201525f516020611ffd5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020611ffd5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b81810381811115610db057610db0611dd4565b80820180821115610db057610db0611dd4565b5f60208284031215611ec6575f5ffd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6001600160a01b039390931683526020830191909152604082015260600190565b5f5b83811015611f53578181015183820152602001611f3b565b50505f910152565b5f8151808452611f72816020860160208601611f39565b601f01601f19169290920160200192915050565b838152826020820152606060408201525f611fa46060830184611f5b565b95945050505050565b5f60208284031215611fbd575f5ffd5b8151611fc88161195e565b9392505050565b5f8251611fe0818460208701611f39565b9190910192915050565b602081525f610dad6020830184611f5b56fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220d6a2a0ea459e7065aae8f565c497c579bb227551fa32499590e887c9b7cc178564736f6c634300081e0033";
672
-
673
- type FixedPricePTAMMConstructorParams =
674
- | [signer?: Signer]
675
- | ConstructorParameters<typeof ContractFactory>;
676
-
677
- const isSuperArgs = (
678
- xs: FixedPricePTAMMConstructorParams
679
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
680
-
681
- export class FixedPricePTAMM__factory extends ContractFactory {
682
- constructor(...args: FixedPricePTAMMConstructorParams) {
683
- if (isSuperArgs(args)) {
684
- super(...args);
685
- } else {
686
- super(_abi, _bytecode, args[0]);
687
- }
688
- this.contractName = "FixedPricePTAMM";
689
- }
690
-
691
- deploy(
692
- overrides?: Overrides & { from?: string | Promise<string> }
693
- ): Promise<FixedPricePTAMM> {
694
- return super.deploy(overrides || {}) as Promise<FixedPricePTAMM>;
695
- }
696
- getDeployTransaction(
697
- overrides?: Overrides & { from?: string | Promise<string> }
698
- ): TransactionRequest {
699
- return super.getDeployTransaction(overrides || {});
700
- }
701
- attach(address: string): FixedPricePTAMM {
702
- return super.attach(address) as FixedPricePTAMM;
703
- }
704
- connect(signer: Signer): FixedPricePTAMM__factory {
705
- return super.connect(signer) as FixedPricePTAMM__factory;
706
- }
707
- static readonly contractName: "FixedPricePTAMM";
708
- public readonly contractName: "FixedPricePTAMM";
709
- static readonly bytecode = _bytecode;
710
- static readonly abi = _abi;
711
- static createInterface(): FixedPricePTAMMInterface {
712
- return new utils.Interface(_abi) as FixedPricePTAMMInterface;
713
- }
714
- static connect(
715
- address: string,
716
- signerOrProvider: Signer | Provider
717
- ): FixedPricePTAMM {
718
- return new Contract(address, _abi, signerOrProvider) as FixedPricePTAMM;
719
- }
720
- }