@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.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgeDataVerifier.sol/IPBridgeDataVerifier.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLoopPositionBox.sol/IPLoopPositionBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPostPtLoopStateChecker.sol/IPPostPtLoopStateChecker.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStaticQuoter.sol/IPStaticQuoter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/deployments/196-core.json +6 -1
- package/deployments/4663-core.json +3 -1
- package/package.json +62 -61
- package/typechain-types/IAaveOracle.ts +149 -17
- package/typechain-types/factories/IAaveOracle__factory.ts +93 -3
- package/typechain-types/hardhat.d.ts +0 -54
- package/typechain-types/index.ts +2 -12
- package/typechain-types/ActionCrossChain.ts +0 -161
- package/typechain-types/ERC1967UpgradeUpgradeable.ts +0 -106
- package/typechain-types/FixedPricePTAMM.ts +0 -892
- package/typechain-types/IBeaconUpgradeable.ts +0 -87
- package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +0 -431
- package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +0 -606
- package/typechain-types/IDssPsm.ts +0 -194
- package/typechain-types/IERC1822ProxiableUpgradeable.ts +0 -87
- package/typechain-types/IERC1967Upgradeable.ts +0 -97
- package/typechain-types/IFlashLoanReceiver.ts +0 -125
- package/typechain-types/IMulticall.ts +0 -117
- package/typechain-types/IPActionCrossChain.ts +0 -161
- package/typechain-types/IPFixedPricePTAMM.ts +0 -612
- package/typechain-types/IPSwapHelper.ts +0 -161
- package/typechain-types/IPoolDataProviderV31.ts +0 -933
- package/typechain-types/IPot.ts +0 -181
- package/typechain-types/ISDAI.ts +0 -877
- package/typechain-types/Multicall.ts +0 -117
- package/typechain-types/OFTAdapter.ts +0 -1331
- package/typechain-types/PTLooperView.ts +0 -618
- package/typechain-types/PendlePTOFTAdapterFactory.ts +0 -419
- package/typechain-types/PendleSwapHelper.ts +0 -161
- package/typechain-types/factories/ActionCrossChain__factory.ts +0 -152
- package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +0 -88
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +0 -720
- package/typechain-types/factories/IBeaconUpgradeable__factory.ts +0 -39
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +0 -441
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +0 -278
- package/typechain-types/factories/IDssPsm__factory.ts +0 -122
- package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +0 -43
- package/typechain-types/factories/IERC1967Upgradeable__factory.ts +0 -71
- package/typechain-types/factories/IFlashLoanReceiver__factory.ts +0 -65
- package/typechain-types/factories/IMulticall__factory.ts +0 -66
- package/typechain-types/factories/IPActionCrossChain__factory.ts +0 -114
- package/typechain-types/factories/IPFixedPricePTAMM__factory.ts +0 -429
- package/typechain-types/factories/IPSwapHelper__factory.ts +0 -111
- package/typechain-types/factories/IPoolDataProviderV31__factory.ts +0 -596
- package/typechain-types/factories/IPot__factory.ts +0 -98
- package/typechain-types/factories/ISDAI__factory.ts +0 -645
- package/typechain-types/factories/Multicall__factory.ts +0 -104
- package/typechain-types/factories/OFTAdapter__factory.ts +0 -1256
- package/typechain-types/factories/PTLooperView__factory.ts +0 -467
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +0 -342
- package/typechain-types/factories/PendleSwapHelper__factory.ts +0 -152
|
@@ -1,342 +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
|
-
PendlePTOFTAdapterFactory,
|
|
8
|
-
PendlePTOFTAdapterFactoryInterface,
|
|
9
|
-
} from "../PendlePTOFTAdapterFactory";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "lzEndpoint",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
stateMutability: "nonpayable",
|
|
21
|
-
type: "constructor",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
inputs: [
|
|
25
|
-
{
|
|
26
|
-
internalType: "address",
|
|
27
|
-
name: "pt",
|
|
28
|
-
type: "address",
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
name: "PTOFTAdapterExisted",
|
|
32
|
-
type: "error",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
anonymous: false,
|
|
36
|
-
inputs: [
|
|
37
|
-
{
|
|
38
|
-
indexed: false,
|
|
39
|
-
internalType: "address",
|
|
40
|
-
name: "previousAdmin",
|
|
41
|
-
type: "address",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
indexed: false,
|
|
45
|
-
internalType: "address",
|
|
46
|
-
name: "newAdmin",
|
|
47
|
-
type: "address",
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
name: "AdminChanged",
|
|
51
|
-
type: "event",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
anonymous: false,
|
|
55
|
-
inputs: [
|
|
56
|
-
{
|
|
57
|
-
indexed: true,
|
|
58
|
-
internalType: "address",
|
|
59
|
-
name: "beacon",
|
|
60
|
-
type: "address",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
name: "BeaconUpgraded",
|
|
64
|
-
type: "event",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
anonymous: false,
|
|
68
|
-
inputs: [
|
|
69
|
-
{
|
|
70
|
-
indexed: false,
|
|
71
|
-
internalType: "uint8",
|
|
72
|
-
name: "version",
|
|
73
|
-
type: "uint8",
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
name: "Initialized",
|
|
77
|
-
type: "event",
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
anonymous: false,
|
|
81
|
-
inputs: [
|
|
82
|
-
{
|
|
83
|
-
indexed: true,
|
|
84
|
-
internalType: "address",
|
|
85
|
-
name: "previousOwner",
|
|
86
|
-
type: "address",
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
indexed: true,
|
|
90
|
-
internalType: "address",
|
|
91
|
-
name: "newOwner",
|
|
92
|
-
type: "address",
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
name: "OwnershipTransferred",
|
|
96
|
-
type: "event",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
anonymous: false,
|
|
100
|
-
inputs: [
|
|
101
|
-
{
|
|
102
|
-
indexed: true,
|
|
103
|
-
internalType: "address",
|
|
104
|
-
name: "pt",
|
|
105
|
-
type: "address",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
indexed: true,
|
|
109
|
-
internalType: "address",
|
|
110
|
-
name: "adapter",
|
|
111
|
-
type: "address",
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
name: "PtAdapterCreated",
|
|
115
|
-
type: "event",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
anonymous: false,
|
|
119
|
-
inputs: [
|
|
120
|
-
{
|
|
121
|
-
indexed: true,
|
|
122
|
-
internalType: "address",
|
|
123
|
-
name: "implementation",
|
|
124
|
-
type: "address",
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
name: "Upgraded",
|
|
128
|
-
type: "event",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
inputs: [],
|
|
132
|
-
name: "claimOwnership",
|
|
133
|
-
outputs: [],
|
|
134
|
-
stateMutability: "nonpayable",
|
|
135
|
-
type: "function",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
inputs: [
|
|
139
|
-
{
|
|
140
|
-
internalType: "address",
|
|
141
|
-
name: "pt",
|
|
142
|
-
type: "address",
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
name: "createPtAdapter",
|
|
146
|
-
outputs: [
|
|
147
|
-
{
|
|
148
|
-
internalType: "address",
|
|
149
|
-
name: "",
|
|
150
|
-
type: "address",
|
|
151
|
-
},
|
|
152
|
-
],
|
|
153
|
-
stateMutability: "nonpayable",
|
|
154
|
-
type: "function",
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
inputs: [
|
|
158
|
-
{
|
|
159
|
-
internalType: "address",
|
|
160
|
-
name: "_owner",
|
|
161
|
-
type: "address",
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
name: "initialize",
|
|
165
|
-
outputs: [],
|
|
166
|
-
stateMutability: "nonpayable",
|
|
167
|
-
type: "function",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
inputs: [],
|
|
171
|
-
name: "owner",
|
|
172
|
-
outputs: [
|
|
173
|
-
{
|
|
174
|
-
internalType: "address",
|
|
175
|
-
name: "",
|
|
176
|
-
type: "address",
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
stateMutability: "view",
|
|
180
|
-
type: "function",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
inputs: [],
|
|
184
|
-
name: "pendingOwner",
|
|
185
|
-
outputs: [
|
|
186
|
-
{
|
|
187
|
-
internalType: "address",
|
|
188
|
-
name: "",
|
|
189
|
-
type: "address",
|
|
190
|
-
},
|
|
191
|
-
],
|
|
192
|
-
stateMutability: "view",
|
|
193
|
-
type: "function",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
inputs: [],
|
|
197
|
-
name: "proxiableUUID",
|
|
198
|
-
outputs: [
|
|
199
|
-
{
|
|
200
|
-
internalType: "bytes32",
|
|
201
|
-
name: "",
|
|
202
|
-
type: "bytes32",
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
stateMutability: "view",
|
|
206
|
-
type: "function",
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
inputs: [
|
|
210
|
-
{
|
|
211
|
-
internalType: "address",
|
|
212
|
-
name: "pt",
|
|
213
|
-
type: "address",
|
|
214
|
-
},
|
|
215
|
-
],
|
|
216
|
-
name: "ptAdapter",
|
|
217
|
-
outputs: [
|
|
218
|
-
{
|
|
219
|
-
internalType: "address",
|
|
220
|
-
name: "",
|
|
221
|
-
type: "address",
|
|
222
|
-
},
|
|
223
|
-
],
|
|
224
|
-
stateMutability: "view",
|
|
225
|
-
type: "function",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
inputs: [
|
|
229
|
-
{
|
|
230
|
-
internalType: "address",
|
|
231
|
-
name: "newOwner",
|
|
232
|
-
type: "address",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
internalType: "bool",
|
|
236
|
-
name: "direct",
|
|
237
|
-
type: "bool",
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
internalType: "bool",
|
|
241
|
-
name: "renounce",
|
|
242
|
-
type: "bool",
|
|
243
|
-
},
|
|
244
|
-
],
|
|
245
|
-
name: "transferOwnership",
|
|
246
|
-
outputs: [],
|
|
247
|
-
stateMutability: "nonpayable",
|
|
248
|
-
type: "function",
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
inputs: [
|
|
252
|
-
{
|
|
253
|
-
internalType: "address",
|
|
254
|
-
name: "newImplementation",
|
|
255
|
-
type: "address",
|
|
256
|
-
},
|
|
257
|
-
],
|
|
258
|
-
name: "upgradeTo",
|
|
259
|
-
outputs: [],
|
|
260
|
-
stateMutability: "nonpayable",
|
|
261
|
-
type: "function",
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
inputs: [
|
|
265
|
-
{
|
|
266
|
-
internalType: "address",
|
|
267
|
-
name: "newImplementation",
|
|
268
|
-
type: "address",
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
internalType: "bytes",
|
|
272
|
-
name: "data",
|
|
273
|
-
type: "bytes",
|
|
274
|
-
},
|
|
275
|
-
],
|
|
276
|
-
name: "upgradeToAndCall",
|
|
277
|
-
outputs: [],
|
|
278
|
-
stateMutability: "payable",
|
|
279
|
-
type: "function",
|
|
280
|
-
},
|
|
281
|
-
];
|
|
282
|
-
|
|
283
|
-
const _bytecode =
|
|
284
|
-
"0x60c060405230608052348015610013575f5ffd5b5060405161414938038061414983398101604081905261003291610117565b61003a61004b565b6001600160a01b031660a052610144565b600154600160a81b900460ff16156100b95760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff90811614610115576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b5f60208284031215610127575f5ffd5b81516001600160a01b038116811461013d575f5ffd5b9392505050565b60805160a051613fc86101815f395f61061101525f81816102d901528181610319015281816104480152818161048801526105030152613fc85ff3fe608060405260043610610080575f3560e01c8063078dfbe7146100845780633659cfe6146100a55780634e71e0c8146100c45780634f1ef286146100d857806352d1902d146100eb5780638d96a034146101125780638da5cb5b1461013e578063c4d66de81461015c578063ca4728221461017b578063e30c3978146101af575b5f5ffd5b34801561008f575f5ffd5b506100a361009e366004610d31565b6101ce565b005b3480156100b0575f5ffd5b506100a36100bf366004610d71565b6102cf565b3480156100cf575f5ffd5b506100a3610396565b6100a36100e6366004610d9e565b61043e565b3480156100f6575f5ffd5b506100ff6104f7565b6040519081526020015b60405180910390f35b34801561011d575f5ffd5b5061013161012c366004610d71565b6105a3565b6040516101099190610e5f565b348015610149575f5ffd5b505f54610131906001600160a01b031681565b348015610167575f5ffd5b506100a3610176366004610d71565b61074b565b348015610186575f5ffd5b50610131610195366004610d71565b60966020525f90815260409020546001600160a01b031681565b3480156101ba575f5ffd5b50600154610131906001600160a01b031681565b5f546001600160a01b031633146102005760405162461bcd60e51b81526004016101f790610e73565b60405180910390fd5b81156102ae576001600160a01b03831615158061021a5750805b61025e5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016101f7565b5f80546040516001600160a01b03808716939216915f516020613f4c5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036103175760405162461bcd60e51b81526004016101f790610ea8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610349610883565b6001600160a01b03161461036f5760405162461bcd60e51b81526004016101f790610ee1565b6103788161089e565b604080515f80825260208201909252610393918391906108c7565b50565b6001546001600160a01b03163381146103f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016101f7565b5f80546040516001600160a01b03808516939216915f516020613f4c5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104865760405162461bcd60e51b81526004016101f790610ea8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104b8610883565b6001600160a01b0316146104de5760405162461bcd60e51b81526004016101f790610ee1565b6104e78261089e565b6104f3828260016108c7565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105915760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016101f7565b505f516020613f2c5f395f51905f5290565b5f80546001600160a01b031633146105cd5760405162461bcd60e51b81526004016101f790610e73565b6001600160a01b038281165f908152609660205260409020541615610607578160405163018d3a6560e51b81526004016101f79190610e5f565b5f805460405184917f0000000000000000000000000000000000000000000000000000000000000000916001600160a01b039091169061064690610cff565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103905ff08015801561067f573d5f5f3e3d5ffd5b505f5460405163f2fde38b60e01b81529192506001600160a01b038084169263f2fde38b926106b2921690600401610e5f565b5f604051808303815f87803b1580156106c9575f5ffd5b505af11580156106db573d5f5f3e3d5ffd5b50506040516001600160a01b038085169350861691507ffa05891d7928e6898fc05852475dc6b82c0e82887e0af865a99ed79f35638c0a905f90a36001600160a01b038381165f90815260966020526040902080546001600160a01b03191691831691909117905590505b919050565b600154600160a81b900460ff1615808015610771575060018054600160a01b900460ff16105b80610798575061078030610a31565b158015610798575060018054600160a01b900460ff16145b6107fb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101f7565b6001805460ff60a01b1916600160a01b1790558015610828576001805460ff60a81b1916600160a81b1790555b61083182610a40565b610839610a8a565b80156104f3576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f516020613f2c5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146103935760405162461bcd60e51b81526004016101f790610e73565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156108fa576102ca83610ab5565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610954575060408051601f3d908101601f1916820190925261095191810190610f1a565b60015b6109b75760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016101f7565b5f516020613f2c5f395f51905f528114610a255760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016101f7565b506102ca838383610b4e565b6001600160a01b03163b151590565b600154600160a81b900460ff16610a695760405162461bcd60e51b81526004016101f790610f31565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff16610ab35760405162461bcd60e51b81526004016101f790610f31565b565b610abe81610a31565b610b205760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016101f7565b5f516020613f2c5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b610b5783610b78565b5f82511180610b635750805b156102ca57610b728383610bb7565b50505050565b610b8181610ab5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610bdc8383604051806060016040528060278152602001613f6c60279139610be3565b9392505050565b60605f5f856001600160a01b031685604051610bff9190610f7c565b5f60405180830381855af49150503d805f8114610c37576040519150601f19603f3d011682016040523d82523d5f602084013e610c3c565b606091505b5091509150610c4d86838387610c57565b9695505050505050565b60608315610cc35782515f03610cbc57610c7085610a31565b610cbc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101f7565b5081610ccd565b610ccd8383610cd5565b949350505050565b815115610ce55781518083602001fd5b8060405162461bcd60e51b81526004016101f79190610f92565b612f4480610fc883390190565b80356001600160a01b0381168114610746575f5ffd5b80358015158114610746575f5ffd5b5f5f5f60608486031215610d43575f5ffd5b610d4c84610d0c565b9250610d5a60208501610d22565b9150610d6860408501610d22565b90509250925092565b5f60208284031215610d81575f5ffd5b610bdc82610d0c565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215610daf575f5ffd5b610db883610d0c565b915060208301356001600160401b03811115610dd2575f5ffd5b8301601f81018513610de2575f5ffd5b80356001600160401b03811115610dfb57610dfb610d8a565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610e2957610e29610d8a565b604052818152828201602001871015610e40575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b6001600160a01b0391909116815260200190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f516020613f0c5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020613f0c5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b5f60208284031215610f2a575f5ffd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f82518060208501845e5f920191825250919050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fe60e060405234801561000f575f5ffd5b50604051612f44380380612f4483398101604081905261002e91610203565b828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100919190610243565b8282818181816100a033610194565b6001600160a01b0380831660805281166100cd57604051632d618d8160e21b815260040160405180910390fd5b60805160405163ca5eb5e160e01b81526001600160a01b0383811660048301529091169063ca5eb5e1906024015f604051808303815f87803b158015610111575f5ffd5b505af1158015610123573d5f5f3e3d5ffd5b50505050505050506101396101e360201b60201c565b60ff168360ff16101561015f576040516301e9714b60e41b815260040160405180910390fd5b61016a60068461027e565b61017590600a610380565b60a0525050506001600160a01b0390921660c0525061038e9350505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600690565b80516001600160a01b03811681146101fe575f5ffd5b919050565b5f5f5f60608486031215610215575f5ffd5b61021e846101e8565b925061022c602085016101e8565b915061023a604085016101e8565b90509250925092565b5f60208284031215610253575f5ffd5b815160ff81168114610263575f5ffd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b60ff82811682821603908111156102975761029761026a565b92915050565b6001815b60018411156102d8578085048111156102bc576102bc61026a565b60018416156102ca57908102905b60019390931c9280026102a1565b935093915050565b5f826102ee57506001610297565b816102fa57505f610297565b8160018114610310576002811461031a57610336565b6001915050610297565b60ff84111561032b5761032b61026a565b50506001821b610297565b5060208310610133831016604e8410600b8410161715610359575081810a610297565b6103655f19848461029d565b805f19048211156103785761037861026a565b029392505050565b5f61026360ff8416836102e0565b60805160a05160c051612b3861040c5f395f81816105ae0152818161167401526117e301525f8181610431015281816115bf01528181611638015261172501525f81816103440152818161076901528181610d4d01528181610fe90152818161128a01528181611845015281816119ea0152611aa10152612b385ff3fe60806040526004361061017d575f3560e01c80630d35b41514610181578063111ecdad146101b857806313137d65146101e4578063134d4f25146101f9578063156a0d0f1461022057806317442b70146102465780631f5e1334146102675780633400288b1461027b5780633b6f743b1461029a57806352ae2879146102c65780635535d461146102d85780635a0dfe4d146103045780635e280f11146103335780636fc1b31e14610366578063715018a6146103855780637d25a05e1461039957806382413eac146103d2578063857749b0146103f15780638da5cb5b1461040c578063963efcaa146104205780639f68b96414610461578063b731ea0a14610474578063b98bd07014610493578063bb0b6a53146104b2578063bc70b354146104dd578063bd815db0146104fc578063c7c7f5b31461050f578063ca5eb5e114610530578063d045a0dc1461054f578063d424388514610562578063f2fde38b14610581578063fc0c546a146105a0578063ff7bd03d146105d2575b5f5ffd5b34801561018c575f5ffd5b506101a061019b366004611cf7565b6105f1565b6040516101af93929190611d65565b60405180910390f35b3480156101c3575f5ffd5b506004546101d7906001600160a01b031681565b6040516101af9190611df5565b6101f76101f2366004611e71565b610767565b005b348015610204575f5ffd5b5061020d600281565b60405161ffff90911681526020016101af565b34801561022b575f5ffd5b506040805162b9270b60e21b815260016020820152016101af565b348015610251575f5ffd5b50604080516001815260026020820152016101af565b348015610272575f5ffd5b5061020d600181565b348015610286575f5ffd5b506101f7610295366004611f23565b61081f565b3480156102a5575f5ffd5b506102b96102b4366004611f58565b610835565b6040516101af9190611fa6565b3480156102d1575f5ffd5b50306101d7565b3480156102e3575f5ffd5b506102f76102f2366004611fc5565b610890565b6040516101af9190611ff6565b34801561030f575f5ffd5b5061032361031e366004611f23565b610932565b60405190151581526020016101af565b34801561033e575f5ffd5b506101d77f000000000000000000000000000000000000000000000000000000000000000081565b348015610371575f5ffd5b506101f7610380366004612008565b61094d565b348015610390575f5ffd5b506101f76109ab565b3480156103a4575f5ffd5b506103ba6103b3366004611f23565b5f92915050565b6040516001600160401b0390911681526020016101af565b3480156103dd575f5ffd5b506103236103ec366004612023565b6109be565b3480156103fc575f5ffd5b50604051600681526020016101af565b348015610417575f5ffd5b506101d76109d3565b34801561042b575f5ffd5b506104537f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101af565b34801561046c575f5ffd5b506001610323565b34801561047f575f5ffd5b506002546101d7906001600160a01b031681565b34801561049e575f5ffd5b506101f76104ad3660046120c5565b6109e1565b3480156104bd575f5ffd5b506104536104cc366004612103565b60016020525f908152604090205481565b3480156104e8575f5ffd5b506102f76104f736600461211c565b6109fb565b6101f761050a3660046120c5565b610b9c565b61052261051d366004612178565b610d06565b6040516101af9291906121e0565b34801561053b575f5ffd5b506101f761054a366004612008565b610d2e565b6101f761055d366004611e71565b610db2565b34801561056d575f5ffd5b506101f761057c366004612008565b610de1565b34801561058c575f5ffd5b506101f761059b366004612008565b610e34565b3480156105ab575f5ffd5b507f00000000000000000000000000000000000000000000000000000000000000006101d7565b3480156105dd575f5ffd5b506103236105ec36600461221c565b610ead565b604080518082019091525f8082526020820152606061060e611ca6565b5f5f90505f306001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561064f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106739190612236565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190612251565b604080518082018252848152602080820184905282515f80825291810190935290975091925090610725565b604080518082019091525f8152606060208201528152602001906001900390816106fe5790505b5093505f80610749604089013560608a013561074460208c018c612103565b610ee1565b60408051808201909152918252602082015296989597505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146107bb57336040516391ac5e4f60e01b81526004016107b29190611df5565b60405180910390fd5b602087018035906107d5906107d0908a612103565b610f1c565b14610807576107e76020880188612103565b876020013560405163309afaf360e21b81526004016107b292919061227c565b61081687878787878787610f57565b50505050505050565b6108276110ae565b610831828261110d565b5050565b61083d611ca6565b5f610858604085013560608601356107446020880188612103565b9150505f5f6108678684611162565b909250905061088461087c6020880188612103565b838388611280565b93505050505b92915050565b600360209081525f9283526040808420909152908252902080546108b390612292565b80601f01602080910402602001604051908101604052809291908181526020018280546108df90612292565b801561092a5780601f106109015761010080835404028352916020019161092a565b820191905f5260205f20905b81548152906001019060200180831161090d57829003601f168201915b505050505081565b63ffffffff919091165f908152600160205260409020541490565b6109556110ae565b600480546001600160a01b0319166001600160a01b0383161790556040517ff0be4f1e87349231d80c36b33f9e8639658eeaf474014dee15a3e6a4d4414197906109a0908390611df5565b60405180910390a150565b6109b36110ae565b6109bc5f611353565b565b6001600160a01b03811630145b949350505050565b5f546001600160a01b031690565b6109e96110ae565b6108316109f68284612364565b6113a2565b63ffffffff84165f90815260036020908152604080832061ffff87168452909152812080546060929190610a2e90612292565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5a90612292565b8015610aa55780601f10610a7c57610100808354040283529160200191610aa5565b820191905f5260205f20905b815481529060010190602001808311610a8857829003601f168201915b5050505050905080515f03610af35783838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152509294506109cb9350505050565b5f839003610b025790506109cb565b60028310610b7f57610b4884848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506114a392505050565b80610b568460028188612485565b604051602001610b68939291906124c3565b6040516020818303038152906040529150506109cb565b8383604051639a6d49cd60e01b81526004016107b2929190612509565b5f5b81811015610c895736838383818110610bb957610bb961251c565b9050602002810190610bcb9190612530565b9050610be7610bdd6020830183612103565b6020830135610932565b610bf15750610c81565b3063d045a0dc60c08301358360a0810135610c1061010083018361254f565b610c21610100890160e08a01612008565b610c2f6101208a018a61254f565b6040518963ffffffff1660e01b8152600401610c5197969594939291906125a5565b5f604051808303818588803b158015610c68575f5ffd5b505af1158015610c7a573d5f5f3e3d5ffd5b5050505050505b600101610b9e565b50336001600160a01b0316638e9e70996040518163ffffffff1660e01b81526004015f60405180830381865afa158015610cc5573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cec919081019061262a565b604051638351eea760e01b81526004016107b29190611ff6565b610d0e611cbe565b610d16611ca6565b610d218585856114cf565b915091505b935093915050565b610d366110ae565b60405163ca5eb5e160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ca5eb5e190610d82908490600401611df5565b5f604051808303815f87803b158015610d99575f5ffd5b505af1158015610dab573d5f5f3e3d5ffd5b5050505050565b333014610dd25760405163029a949d60e31b815260040160405180910390fd5b61081687878787878787610807565b610de96110ae565b600280546001600160a01b0319166001600160a01b0383161790556040517fd48d879cef83a1c0bdda516f27b13ddb1b3f8bbac1c9e1511bb2a659c2427760906109a0908390611df5565b610e3c6110ae565b6001600160a01b038116610ea15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b2565b610eaa81611353565b50565b5f602082018035906001908390610ec49086612103565b63ffffffff16815260208101919091526040015f20541492915050565b5f5f610eec856115bc565b915081905083811015610d26576040516371c4efed60e01b815260048101829052602481018590526044016107b2565b63ffffffff81165f908152600160205260408120548061088a5760405163f6ff4fb760e01b815263ffffffff841660048201526024016107b2565b5f610f68610f6587876115f2565b90565b90505f610f9382610f81610f7c8a8a611610565b611632565b610f8e60208d018d612103565b611666565b90506028861115611053575f610fcf610fb260608c0160408d0161269e565b610fbf60208d018d612103565b84610fca8c8c6116a3565b6116ed565b604051633e5ac80960e11b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637cb59012906110249086908d905f9087906004016126b9565b5f604051808303815f87803b15801561103b575f5ffd5b505af115801561104d573d5f5f3e3d5ffd5b50505050505b6001600160a01b038216887fefed6d3500546b29533b128a29e3a94d70788727f0507505ac12eaf2e578fd9c61108c60208d018d612103565b8460405161109b92919061227c565b60405180910390a3505050505050505050565b336110b76109d3565b6001600160a01b0316146109bc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107b2565b63ffffffff82165f9081526001602052604090819020829055517f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b90611156908490849061227c565b60405180910390a15050565b6060805f6111bd85602001356111778661171f565b61118460a089018961254f565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061174a92505050565b90935090505f816111cf5760016111d2565b60025b90506111f26111e46020880188612103565b826104f760808a018a61254f565b6004549093506001600160a01b031680156112765760405163043a78eb60e01b81526001600160a01b0382169063043a78eb9061123590889088906004016126f3565b602060405180830381865afa158015611250573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112749190612717565b505b5050509250929050565b611288611ca6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ddc28c586040518060a001604052808863ffffffff1681526020016112d789610f1c565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b815260040161130c929190612732565b6040805180830381865afa158015611326573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134a91906127d9565b95945050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5b8151811015611473576113d38282815181106113c2576113c261251c565b6020026020010151604001516114a3565b8181815181106113e5576113e561251c565b60200260200101516040015160035f8484815181106114065761140661251c565b60200260200101515f015163ffffffff1663ffffffff1681526020019081526020015f205f84848151811061143d5761143d61251c565b60200260200101516020015161ffff1661ffff1681526020019081526020015f20908161146a9190612837565b506001016113a4565b507fbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b674816040516109a091906128f1565b600281015161ffff81166003146108315781604051639a6d49cd60e01b81526004016107b29190611ff6565b6114d7611cbe565b6114df611ca6565b5f8061150133604089013560608a01356114fc60208c018c612103565b6117c4565b915091505f5f6115118984611162565b909250905061153d61152660208b018b612103565b8383611537368d90038d018d61297f565b8b611814565b60408051808201909152858152602080820186905282519298509096503391907f85496b760a4b7f8d66384b9df21b381f5d1b1e79f229a47aaf4c232edc2fe59a9061158b908d018d612103565b6040805163ffffffff909216825260208201899052810187905260600160405180910390a350505050935093915050565b5f7f00000000000000000000000000000000000000000000000000000000000000006115e881846129b0565b61088a91906129cf565b5f6116006020828486612485565b611609916129f2565b9392505050565b5f61161f602860208486612485565b61162891612a0f565b60c01c9392505050565b5f61088a7f00000000000000000000000000000000000000000000000000000000000000006001600160401b0384166129cf565b5f61169b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016858561191a565b509092915050565b60606116b28260288186612485565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250929695505050505050565b6060848484846040516020016117069493929190612a47565b6040516020818303038152906040529050949350505050565b5f61088a7f0000000000000000000000000000000000000000000000000000000000000000836129b0565b805160609015158061179357848460405160200161177f92919091825260c01b6001600160c01b031916602082015260280190565b6040516020818303038152906040526117ba565b848433856040516020016117aa9493929190612a81565b6040516020818303038152906040525b9150935093915050565b5f5f6117d1858585610ee1565b909250905061180b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016873085611982565b94509492505050565b61181c611cbe565b5f611829845f01516119c0565b6020850151909150156118435761184384602001516119e7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016118938c610f1c565b81526020018a81526020018981526020015f8960200151111515815250866040518463ffffffff1660e01b81526004016118ce929190612732565b60806040518083038185885af11580156118ea573d5f5f3e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061190f9190612aad565b979650505050505050565b6040516001600160a01b03831660248201526044810182905261197d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ac6565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526119ba9085906323b872dd60e01b90608401611946565b50505050565b5f8134146119e3576040516304fb820960e51b81523460048201526024016107b2565b5090565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a44573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a689190612236565b90506001600160a01b038116611a91576040516329b99a9560e11b815260040160405180910390fd5b6108316001600160a01b038216337f000000000000000000000000000000000000000000000000000000000000000085611982565b5f611b1a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b999092919063ffffffff16565b905080515f1480611b3a575080806020019051810190611b3a9190612717565b61197d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107b2565b60606109cb84845f85855f5f866001600160a01b03168587604051611bbe9190612af7565b5f6040518083038185875af1925050503d805f8114611bf8576040519150601f19603f3d011682016040523d82523d5f602084013e611bfd565b606091505b509150915061190f8783838760608315611c775782515f03611c70576001600160a01b0385163b611c705760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107b2565b50816109cb565b6109cb8383815115611c8c5781518083602001fd5b8060405162461bcd60e51b81526004016107b29190611ff6565b60405180604001604052805f81526020015f81525090565b604080516060810182525f8082526020820152908101611cdc611ca6565b905290565b5f60e08284031215611cf1575f5ffd5b50919050565b5f60208284031215611d07575f5ffd5b81356001600160401b03811115611d1c575f5ffd5b6109cb84828501611ce1565b80518252602090810151910152565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b5f60a08201611d748387611d28565b60a0604084015280855180835260c08501915060c08160051b8601019250602087015f5b82811015611de05760bf198786030184528151805186526020810151905060406020870152611dca6040870182611d37565b9550506020938401939190910190600101611d98565b50505050809150506109cb6060830184611d28565b6001600160a01b0391909116815260200190565b5f60608284031215611cf1575f5ffd5b5f5f83601f840112611e29575f5ffd5b5081356001600160401b03811115611e3f575f5ffd5b602083019150836020828501011115611e56575f5ffd5b9250929050565b6001600160a01b0381168114610eaa575f5ffd5b5f5f5f5f5f5f5f60e0888a031215611e87575f5ffd5b611e918989611e09565b96506060880135955060808801356001600160401b03811115611eb2575f5ffd5b611ebe8a828b01611e19565b90965094505060a0880135611ed281611e5d565b925060c08801356001600160401b03811115611eec575f5ffd5b611ef88a828b01611e19565b989b979a50959850939692959293505050565b803563ffffffff81168114611f1e575f5ffd5b919050565b5f5f60408385031215611f34575f5ffd5b611f3d83611f0b565b946020939093013593505050565b8015158114610eaa575f5ffd5b5f5f60408385031215611f69575f5ffd5b82356001600160401b03811115611f7e575f5ffd5b611f8a85828601611ce1565b9250506020830135611f9b81611f4b565b809150509250929050565b6040810161088a8284611d28565b803561ffff81168114611f1e575f5ffd5b5f5f60408385031215611fd6575f5ffd5b611fdf83611f0b565b9150611fed60208401611fb4565b90509250929050565b602081525f6116096020830184611d37565b5f60208284031215612018575f5ffd5b813561160981611e5d565b5f5f5f5f60a08587031215612036575f5ffd5b6120408686611e09565b935060608501356001600160401b0381111561205a575f5ffd5b61206687828801611e19565b909450925050608085013561207a81611e5d565b939692955090935050565b5f5f83601f840112612095575f5ffd5b5081356001600160401b038111156120ab575f5ffd5b6020830191508360208260051b8501011115611e56575f5ffd5b5f5f602083850312156120d6575f5ffd5b82356001600160401b038111156120eb575f5ffd5b6120f785828601612085565b90969095509350505050565b5f60208284031215612113575f5ffd5b61160982611f0b565b5f5f5f5f6060858703121561212f575f5ffd5b61213885611f0b565b935061214660208601611fb4565b925060408501356001600160401b03811115612160575f5ffd5b61216c87828801611e19565b95989497509550505050565b5f5f5f838503608081121561218b575f5ffd5b84356001600160401b038111156121a0575f5ffd5b6121ac87828801611ce1565b9450506040601f19820112156121c0575f5ffd5b5060208401915060608401356121d581611e5d565b809150509250925092565b825181526020808401516001600160401b03169082015260408084015160c083019161220e90840182611d28565b506116096080830184611d28565b5f6060828403121561222c575f5ffd5b6116098383611e09565b5f60208284031215612246575f5ffd5b815161160981611e5d565b5f60208284031215612261575f5ffd5b5051919050565b634e487b7160e01b5f52604160045260245ffd5b63ffffffff929092168252602082015260400190565b600181811c908216806122a657607f821691505b602082108103611cf157634e487b7160e01b5f52602260045260245ffd5b604051606081016001600160401b03811182821017156122e6576122e6612268565b60405290565b604080519081016001600160401b03811182821017156122e6576122e6612268565b604051601f8201601f191681016001600160401b038111828210171561233657612336612268565b604052919050565b5f6001600160401b0382111561235657612356612268565b50601f01601f191660200190565b5f6001600160401b0383111561237c5761237c612268565b8260051b61238c6020820161230e565b848152908301906020810190368311156123a4575f5ffd5b845b8381101561247b5780356001600160401b038111156123c3575f5ffd5b860160603682900312156123d5575f5ffd5b6123dd6122c4565b6123e682611f0b565b81526123f460208301611fb4565b602082015260408201356001600160401b03811115612411575f5ffd5b919091019036601f830112612424575f5ffd5b81356124376124328261233e565b61230e565b81815236602083860101111561244b575f5ffd5b816020850160208301375f60208383010152806040840152505080855250506020830192506020810190506123a6565b5095945050505050565b5f5f85851115612493575f5ffd5b8386111561249f575f5ffd5b5050820193919092039150565b5f81518060208401855e5f93019283525090919050565b5f6124ce82866124ac565b838582375f930192835250909392505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f6109cb6020830184866124e1565b634e487b7160e01b5f52603260045260245ffd5b5f823561013e19833603018112612545575f5ffd5b9190910192915050565b5f5f8335601e19843603018112612564575f5ffd5b8301803591506001600160401b0382111561257d575f5ffd5b602001915036819003821315611e56575f5ffd5b6001600160401b0381168114610eaa575f5ffd5b63ffffffff6125b389611f0b565b168152602088810135908201525f60408901356125cf81612591565b6001600160401b031660408301526060820188905260e0608083018190526125fa90830187896124e1565b6001600160a01b03861660a084015282810360c084015261261c8185876124e1565b9a9950505050505050505050565b5f6020828403121561263a575f5ffd5b81516001600160401b0381111561264f575f5ffd5b8201601f8101841361265f575f5ffd5b805161266d6124328261233e565b818152856020838501011115612681575f5ffd5b8160208401602083015e5f91810160200191909152949350505050565b5f602082840312156126ae575f5ffd5b813561160981612591565b60018060a01b038516815283602082015261ffff83166040820152608060608201525f6126e96080830184611d37565b9695505050505050565b604081525f6127056040830185611d37565b828103602084015261134a8185611d37565b5f60208284031215612727575f5ffd5b815161160981611f4b565b6040815263ffffffff8351166040820152602083015160608201525f604084015160a0608084015261276760e0840182611d37565b90506060850151603f198483030160a08501526127848282611d37565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b5f604082840312156127ba575f5ffd5b6127c26122ec565b825181526020928301519281019290925250919050565b5f604082840312156127e9575f5ffd5b61160983836127aa565b601f82111561197d57805f5260205f20601f840160051c810160208510156128185750805b601f840160051c820191505b81811015610dab575f8155600101612824565b81516001600160401b0381111561285057612850612268565b6128648161285e8454612292565b846127f3565b6020601f821160018114612896575f831561287f5750848201515b5f19600385901b1c1916600184901b178455610dab565b5f84815260208120601f198516915b828110156128c557878501518255602094850194600190920191016128a5565b50848210156128e257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561297357603f19878603018452815163ffffffff815116865261ffff6020820151166020870152604081015190506060604087015261295d6060870182611d37565b9550506020938401939190910190600101612917565b50929695505050505050565b5f6040828403128015612990575f5ffd5b506129996122ec565b823581526020928301359281019290925250919050565b5f826129ca57634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761088a57634e487b7160e01b5f52601160045260245ffd5b8035602083101561088a575f19602084900360031b1b1692915050565b80356001600160c01b03198116906008841015612a40576001600160c01b0319600885900360031b81901b82161691505b5092915050565b60c085901b6001600160c01b031916815260e084901b6001600160e01b0319166008820152600c81018390525f6126e9602c8301846124ac565b84815260c084901b6001600160c01b0319166020820152602881018390525f6126e960488301846124ac565b5f6080828403128015612abe575f5ffd5b50612ac76122c4565b825181526020830151612ad981612591565b6020820152612aeb84604085016127aa565b60408201529392505050565b5f61160982846124ac56fea26469706673582212209795294df0c8bf7f1a0a810d9c6526f14d963b7fb688f792e41545173769bf8964736f6c634300081e003346756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122008eea6f5ddeebc32c6398acd1a004812b2cc10e7df3a35527dc5c1cbf78a76f064736f6c634300081e0033";
|
|
285
|
-
|
|
286
|
-
type PendlePTOFTAdapterFactoryConstructorParams =
|
|
287
|
-
| [signer?: Signer]
|
|
288
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
289
|
-
|
|
290
|
-
const isSuperArgs = (
|
|
291
|
-
xs: PendlePTOFTAdapterFactoryConstructorParams
|
|
292
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
293
|
-
|
|
294
|
-
export class PendlePTOFTAdapterFactory__factory extends ContractFactory {
|
|
295
|
-
constructor(...args: PendlePTOFTAdapterFactoryConstructorParams) {
|
|
296
|
-
if (isSuperArgs(args)) {
|
|
297
|
-
super(...args);
|
|
298
|
-
} else {
|
|
299
|
-
super(_abi, _bytecode, args[0]);
|
|
300
|
-
}
|
|
301
|
-
this.contractName = "PendlePTOFTAdapterFactory";
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
deploy(
|
|
305
|
-
lzEndpoint: string,
|
|
306
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
307
|
-
): Promise<PendlePTOFTAdapterFactory> {
|
|
308
|
-
return super.deploy(
|
|
309
|
-
lzEndpoint,
|
|
310
|
-
overrides || {}
|
|
311
|
-
) as Promise<PendlePTOFTAdapterFactory>;
|
|
312
|
-
}
|
|
313
|
-
getDeployTransaction(
|
|
314
|
-
lzEndpoint: string,
|
|
315
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
316
|
-
): TransactionRequest {
|
|
317
|
-
return super.getDeployTransaction(lzEndpoint, overrides || {});
|
|
318
|
-
}
|
|
319
|
-
attach(address: string): PendlePTOFTAdapterFactory {
|
|
320
|
-
return super.attach(address) as PendlePTOFTAdapterFactory;
|
|
321
|
-
}
|
|
322
|
-
connect(signer: Signer): PendlePTOFTAdapterFactory__factory {
|
|
323
|
-
return super.connect(signer) as PendlePTOFTAdapterFactory__factory;
|
|
324
|
-
}
|
|
325
|
-
static readonly contractName: "PendlePTOFTAdapterFactory";
|
|
326
|
-
public readonly contractName: "PendlePTOFTAdapterFactory";
|
|
327
|
-
static readonly bytecode = _bytecode;
|
|
328
|
-
static readonly abi = _abi;
|
|
329
|
-
static createInterface(): PendlePTOFTAdapterFactoryInterface {
|
|
330
|
-
return new utils.Interface(_abi) as PendlePTOFTAdapterFactoryInterface;
|
|
331
|
-
}
|
|
332
|
-
static connect(
|
|
333
|
-
address: string,
|
|
334
|
-
signerOrProvider: Signer | Provider
|
|
335
|
-
): PendlePTOFTAdapterFactory {
|
|
336
|
-
return new Contract(
|
|
337
|
-
address,
|
|
338
|
-
_abi,
|
|
339
|
-
signerOrProvider
|
|
340
|
-
) as PendlePTOFTAdapterFactory;
|
|
341
|
-
}
|
|
342
|
-
}
|
|
@@ -1,152 +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
|
-
PendleSwapHelper,
|
|
8
|
-
PendleSwapHelperInterface,
|
|
9
|
-
} from "../PendleSwapHelper";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "receiver",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: "address",
|
|
21
|
-
name: "fixedPricePTAMM",
|
|
22
|
-
type: "address",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "address",
|
|
26
|
-
name: "PT",
|
|
27
|
-
type: "address",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
internalType: "uint256",
|
|
31
|
-
name: "exactPtIn",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
components: [
|
|
36
|
-
{
|
|
37
|
-
internalType: "address",
|
|
38
|
-
name: "tokenOut",
|
|
39
|
-
type: "address",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
internalType: "uint256",
|
|
43
|
-
name: "minTokenOut",
|
|
44
|
-
type: "uint256",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "tokenRedeemSy",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
internalType: "address",
|
|
53
|
-
name: "pendleSwap",
|
|
54
|
-
type: "address",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
components: [
|
|
58
|
-
{
|
|
59
|
-
internalType: "enum SwapType",
|
|
60
|
-
name: "swapType",
|
|
61
|
-
type: "uint8",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
internalType: "address",
|
|
65
|
-
name: "extRouter",
|
|
66
|
-
type: "address",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
internalType: "bytes",
|
|
70
|
-
name: "extCalldata",
|
|
71
|
-
type: "bytes",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
internalType: "bool",
|
|
75
|
-
name: "needScale",
|
|
76
|
-
type: "bool",
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
internalType: "struct SwapData",
|
|
80
|
-
name: "swapData",
|
|
81
|
-
type: "tuple",
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
internalType: "struct TokenOutput",
|
|
85
|
-
name: "out",
|
|
86
|
-
type: "tuple",
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
name: "swapWithFixedPricePTAMM",
|
|
90
|
-
outputs: [
|
|
91
|
-
{
|
|
92
|
-
internalType: "uint256",
|
|
93
|
-
name: "netTokenOut",
|
|
94
|
-
type: "uint256",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
stateMutability: "nonpayable",
|
|
98
|
-
type: "function",
|
|
99
|
-
},
|
|
100
|
-
];
|
|
101
|
-
|
|
102
|
-
const _bytecode =
|
|
103
|
-
"0x6080604052348015600e575f5ffd5b50610c358061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c8063a58f46c61461002d575b5f5ffd5b61004061003b366004610958565b610052565b60405190815260200160405180910390f35b5f846001600160a01b031663c1d8d1d96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561008f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100b391906109d7565b6001600160a01b03166100cc60608401604085016109f2565b6001600160a01b0316146101275760405162461bcd60e51b815260206004820181905260248201527f5377617048656c7065723a20494e56414c49445f544f4b454e5f52454445454d60448201526064015b60405180910390fd5b610133843387866101e8565b5f856001600160a01b0316631530a17061014d8986610209565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908816602482015260448101879052608060648201525f608482015260a4016020604051808303815f875af11580156101ac573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d09190610a0d565b90506101dd878285610285565b979650505050505050565b8015610203576102036001600160a01b03851684848461042e565b50505050565b5f806102186080840184610a24565b610226906020810190610a55565b90505f81600a81111561023b5761023b610a6e565b03610249578391505061027f565b600381600a81111561025d5761025d610a6e565b0361026b573091505061027f565b61027b60808401606085016109f2565b9150505b92915050565b5f806102946080840184610a24565b6102a2906020810190610a55565b90505f81600a8111156102b7576102b7610a6e565b036102c4578391506103d2565b600381600a8111156102d8576102d8610a6e565b03610322578391506103066102f360608501604086016109f2565b61030060208601866109f2565b84610499565b61031d61031660208501856109f2565b8684610557565b6103d2565b61033260808401606085016109f2565b6001600160a01b0316632bdb823c61035060608601604087016109f2565b8661035e6080880188610a24565b6040518463ffffffff1660e01b815260040161037c93929190610ac2565b5f604051808303815f87803b158015610393575f5ffd5b505af11580156103a5573d5f5f3e3d5ffd5b506103c092506103bb91505060208501856109f2565b610629565b91506103d261031660208501856109f2565b82602001358210156104265760405162461bcd60e51b815260206004820181905260248201527f536c6970706167653a20494e53554646494349454e545f544f4b454e5f4f5554604482015260640161011e565b509392505050565b6040516001600160a01b03808516602483015283166044820152606481018290526102039085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610634565b6001600160a01b0383166104fc57816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b1580156104e0575f5ffd5b505af11580156104f2573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b15801561053b575f5ffd5b505af115801561054d573d5f5f3e3d5ffd5b505050505b505050565b80158061056c57506001600160a01b03821630145b1561057657505050565b6001600160a01b038316610615575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146105cd576040519150601f19603f3d011682016040523d82523d5f602084013e6105d2565b606091505b50509050806102035760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161011e565b6105526001600160a01b0384168383610707565b5f61027f3083610737565b5f610688826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166107c79092919063ffffffff16565b905080515f14806106a85750808060200190518101906106a89190610b99565b6105525760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161011e565b6040516001600160a01b03831660248201526044810182905261055290849063a9059cbb60e01b90606401610462565b5f6001600160a01b038216156107b4576040516370a0823160e01b81526001600160a01b0384811660048301528316906370a0823190602401602060405180830381865afa15801561078b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af9190610a0d565b6107c0565b826001600160a01b0316315b9392505050565b60606107d584845f856107dd565b949350505050565b60608247101561083e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161011e565b5f5f866001600160a01b031685876040516108599190610bb4565b5f6040518083038185875af1925050503d805f8114610893576040519150601f19603f3d011682016040523d82523d5f602084013e610898565b606091505b50915091506101dd87838387606083156109125782515f0361090b576001600160a01b0385163b61090b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161011e565b50816107d5565b6107d583838151156109275781518083602001fd5b8060405162461bcd60e51b815260040161011e9190610bca565b6001600160a01b0381168114610955575f5ffd5b50565b5f5f5f5f5f60a0868803121561096c575f5ffd5b853561097781610941565b9450602086013561098781610941565b9350604086013561099781610941565b92506060860135915060808601356001600160401b038111156109b8575f5ffd5b860160a081890312156109c9575f5ffd5b809150509295509295909350565b5f602082840312156109e7575f5ffd5b81516107c081610941565b5f60208284031215610a02575f5ffd5b81356107c081610941565b5f60208284031215610a1d575f5ffd5b5051919050565b5f8235607e19833603018112610a38575f5ffd5b9190910192915050565b8035600b8110610a50575f5ffd5b919050565b5f60208284031215610a65575f5ffd5b6107c082610a42565b634e487b7160e01b5f52602160045260245ffd5b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b8015158114610955575f5ffd5b8035610a5081610aaa565b6001600160a01b038416815260208101839052606060408201525f610ae683610a42565b600b8110610b0257634e487b7160e01b5f52602160045260245ffd5b60608301526020830135610b1581610941565b6001600160a01b03166080830152604083013536849003601e19018112610b3a575f5ffd5b83016020810190356001600160401b03811115610b55575f5ffd5b803603821315610b63575f5ffd5b608060a0850152610b7860e085018284610a82565b915050610b8760608501610ab7565b80151560c08501525095945050505050565b5f60208284031215610ba9575f5ffd5b81516107c081610aaa565b5f82518060208501845e5f920191825250919050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220208487582ec91f4dc054a3bd187d49a1c04af5b0ce93eccc5e61f32cd81bf22764736f6c634300081e0033";
|
|
104
|
-
|
|
105
|
-
type PendleSwapHelperConstructorParams =
|
|
106
|
-
| [signer?: Signer]
|
|
107
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
108
|
-
|
|
109
|
-
const isSuperArgs = (
|
|
110
|
-
xs: PendleSwapHelperConstructorParams
|
|
111
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
112
|
-
|
|
113
|
-
export class PendleSwapHelper__factory extends ContractFactory {
|
|
114
|
-
constructor(...args: PendleSwapHelperConstructorParams) {
|
|
115
|
-
if (isSuperArgs(args)) {
|
|
116
|
-
super(...args);
|
|
117
|
-
} else {
|
|
118
|
-
super(_abi, _bytecode, args[0]);
|
|
119
|
-
}
|
|
120
|
-
this.contractName = "PendleSwapHelper";
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
deploy(
|
|
124
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
125
|
-
): Promise<PendleSwapHelper> {
|
|
126
|
-
return super.deploy(overrides || {}) as Promise<PendleSwapHelper>;
|
|
127
|
-
}
|
|
128
|
-
getDeployTransaction(
|
|
129
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
130
|
-
): TransactionRequest {
|
|
131
|
-
return super.getDeployTransaction(overrides || {});
|
|
132
|
-
}
|
|
133
|
-
attach(address: string): PendleSwapHelper {
|
|
134
|
-
return super.attach(address) as PendleSwapHelper;
|
|
135
|
-
}
|
|
136
|
-
connect(signer: Signer): PendleSwapHelper__factory {
|
|
137
|
-
return super.connect(signer) as PendleSwapHelper__factory;
|
|
138
|
-
}
|
|
139
|
-
static readonly contractName: "PendleSwapHelper";
|
|
140
|
-
public readonly contractName: "PendleSwapHelper";
|
|
141
|
-
static readonly bytecode = _bytecode;
|
|
142
|
-
static readonly abi = _abi;
|
|
143
|
-
static createInterface(): PendleSwapHelperInterface {
|
|
144
|
-
return new utils.Interface(_abi) as PendleSwapHelperInterface;
|
|
145
|
-
}
|
|
146
|
-
static connect(
|
|
147
|
-
address: string,
|
|
148
|
-
signerOrProvider: Signer | Provider
|
|
149
|
-
): PendleSwapHelper {
|
|
150
|
-
return new Contract(address, _abi, signerOrProvider) as PendleSwapHelper;
|
|
151
|
-
}
|
|
152
|
-
}
|