@pendle/core-v2 6.3.2-swaphubtest2 → 6.3.3
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/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.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/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.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/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/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.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/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.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/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.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/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/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/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/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.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/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.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/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/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.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/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/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.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/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/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.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 +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +102 -0
- 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 +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +102 -0
- 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/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/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/contracts/offchain-helpers/PendleAPIFeeDepositor.sol +33 -0
- package/contracts/offchain-helpers/PendleMerkleDepositor.sol +64 -0
- package/deployments/1-core.json +2 -1
- package/deployments/10-core.json +2 -1
- package/deployments/146-core.json +2 -1
- package/deployments/42161-core.json +2 -1
- package/deployments/42161-offchain-helper.json +2 -1
- package/deployments/5000-core.json +2 -1
- package/deployments/56-core.json +2 -1
- package/deployments/80094-core.json +2 -1
- package/deployments/8453-core.json +2 -1
- package/deployments/9745-core.json +2 -1
- package/deployments/999-core.json +2 -1
- package/package.json +2 -2
- package/typechain-types/ActionCrossChain.ts +161 -0
- package/typechain-types/ActionDelegateBase.ts +57 -0
- package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
- package/typechain-types/EIP712.ts +135 -0
- package/typechain-types/ERC20Permit.ts +586 -0
- package/typechain-types/IERC5267.ts +135 -0
- package/typechain-types/IPActionCrossChain.ts +161 -0
- package/typechain-types/IPMarketFactoryV3.ts +321 -0
- package/typechain-types/IPMarketV3.ts +1068 -0
- package/typechain-types/LimitBackendHelper.ts +287 -0
- package/typechain-types/OverfillMathLib.ts +81 -0
- package/typechain-types/PendleAPIFeeDepositor.ts +181 -0
- package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
- package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
- package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
- package/typechain-types/PendleERC20Permit.ts +508 -0
- package/typechain-types/PendleERC20PermitUpg.ts +517 -0
- package/typechain-types/PendleERC20Upg.ts +348 -0
- package/typechain-types/PendleMarketFactoryV3.ts +719 -0
- package/typechain-types/PendleMarketV3.ts +1195 -0
- package/typechain-types/PendleMerkleDepositor.ts +171 -0
- package/typechain-types/PendleYieldContractFactory.ts +801 -0
- package/typechain-types/ShortStrings.ts +57 -0
- package/typechain-types/factories/ActionCrossChain__factory.ts +152 -0
- package/typechain-types/factories/ActionDelegateBase__factory.ts +80 -0
- package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
- package/typechain-types/factories/EIP712__factory.ts +85 -0
- package/typechain-types/factories/ERC20Permit__factory.ts +433 -0
- package/typechain-types/factories/IERC5267__factory.ts +72 -0
- package/typechain-types/factories/IPActionCrossChain__factory.ts +114 -0
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
- package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
- package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
- package/typechain-types/factories/OverfillMathLib__factory.ts +77 -0
- package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +164 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
- package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
- package/typechain-types/factories/PendleERC20Permit__factory.ts +470 -0
- package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
- package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
- package/typechain-types/factories/PendleMerkleDepositor__factory.ts +164 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
- package/typechain-types/factories/ShortStrings__factory.ts +77 -0
- package/typechain-types/hardhat.d.ts +54 -72
- package/typechain-types/index.ts +12 -14
- package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -201
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +0 -1519
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +0 -1490
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.json +0 -56
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +0 -60
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +0 -1353
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +0 -150
- package/contracts/cross-chain/swap-hub/DepositBox.sol +0 -72
- package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +0 -206
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +0 -273
- package/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol +0 -14
- package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +0 -33
- package/contracts/interfaces/IPCrossChainSwapHub.sol +0 -168
- package/contracts/interfaces/IPDepositBox.sol +0 -25
- package/typechain-types/DepositBox.ts +0 -304
- package/typechain-types/IPCrossChainSwapHub.ts +0 -1043
- package/typechain-types/IPDepositBox.ts +0 -257
- package/typechain-types/IPSwapExecutor.ts +0 -129
- package/typechain-types/PendleCrossChainSwapHub.ts +0 -1267
- package/typechain-types/SwapExecutor.ts +0 -129
- package/typechain-types/SwapHubBase.ts +0 -1242
- package/typechain-types/factories/DepositBox__factory.ts +0 -259
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +0 -1368
- package/typechain-types/factories/IPDepositBox__factory.ts +0 -162
- package/typechain-types/factories/IPSwapExecutor__factory.ts +0 -71
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +0 -1588
- package/typechain-types/factories/SwapExecutor__factory.ts +0 -110
- package/typechain-types/factories/SwapHubBase__factory.ts +0 -1502
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type {
|
|
14
|
+
PendleERC20Permit,
|
|
15
|
+
PendleERC20PermitInterface,
|
|
16
|
+
} from "../PendleERC20Permit";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "string",
|
|
23
|
+
name: "name_",
|
|
24
|
+
type: "string",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "string",
|
|
28
|
+
name: "symbol_",
|
|
29
|
+
type: "string",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "uint8",
|
|
33
|
+
name: "decimals_",
|
|
34
|
+
type: "uint8",
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
stateMutability: "nonpayable",
|
|
38
|
+
type: "constructor",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
inputs: [],
|
|
42
|
+
name: "InvalidShortString",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
internalType: "string",
|
|
49
|
+
name: "str",
|
|
50
|
+
type: "string",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
name: "StringTooLong",
|
|
54
|
+
type: "error",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
anonymous: false,
|
|
58
|
+
inputs: [
|
|
59
|
+
{
|
|
60
|
+
indexed: true,
|
|
61
|
+
internalType: "address",
|
|
62
|
+
name: "owner",
|
|
63
|
+
type: "address",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
indexed: true,
|
|
67
|
+
internalType: "address",
|
|
68
|
+
name: "spender",
|
|
69
|
+
type: "address",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
indexed: false,
|
|
73
|
+
internalType: "uint256",
|
|
74
|
+
name: "value",
|
|
75
|
+
type: "uint256",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: "Approval",
|
|
79
|
+
type: "event",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
anonymous: false,
|
|
83
|
+
inputs: [],
|
|
84
|
+
name: "EIP712DomainChanged",
|
|
85
|
+
type: "event",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
anonymous: false,
|
|
89
|
+
inputs: [
|
|
90
|
+
{
|
|
91
|
+
indexed: true,
|
|
92
|
+
internalType: "address",
|
|
93
|
+
name: "from",
|
|
94
|
+
type: "address",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
indexed: true,
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "to",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
indexed: false,
|
|
104
|
+
internalType: "uint256",
|
|
105
|
+
name: "value",
|
|
106
|
+
type: "uint256",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
name: "Transfer",
|
|
110
|
+
type: "event",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
inputs: [],
|
|
114
|
+
name: "DOMAIN_SEPARATOR",
|
|
115
|
+
outputs: [
|
|
116
|
+
{
|
|
117
|
+
internalType: "bytes32",
|
|
118
|
+
name: "",
|
|
119
|
+
type: "bytes32",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
stateMutability: "view",
|
|
123
|
+
type: "function",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
inputs: [
|
|
127
|
+
{
|
|
128
|
+
internalType: "address",
|
|
129
|
+
name: "owner",
|
|
130
|
+
type: "address",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
internalType: "address",
|
|
134
|
+
name: "spender",
|
|
135
|
+
type: "address",
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
name: "allowance",
|
|
139
|
+
outputs: [
|
|
140
|
+
{
|
|
141
|
+
internalType: "uint256",
|
|
142
|
+
name: "",
|
|
143
|
+
type: "uint256",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
stateMutability: "view",
|
|
147
|
+
type: "function",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
inputs: [
|
|
151
|
+
{
|
|
152
|
+
internalType: "address",
|
|
153
|
+
name: "spender",
|
|
154
|
+
type: "address",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
internalType: "uint256",
|
|
158
|
+
name: "amount",
|
|
159
|
+
type: "uint256",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
name: "approve",
|
|
163
|
+
outputs: [
|
|
164
|
+
{
|
|
165
|
+
internalType: "bool",
|
|
166
|
+
name: "",
|
|
167
|
+
type: "bool",
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
stateMutability: "nonpayable",
|
|
171
|
+
type: "function",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
inputs: [
|
|
175
|
+
{
|
|
176
|
+
internalType: "address",
|
|
177
|
+
name: "account",
|
|
178
|
+
type: "address",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
name: "balanceOf",
|
|
182
|
+
outputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
stateMutability: "view",
|
|
190
|
+
type: "function",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [],
|
|
194
|
+
name: "decimals",
|
|
195
|
+
outputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "uint8",
|
|
198
|
+
name: "",
|
|
199
|
+
type: "uint8",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
stateMutability: "view",
|
|
203
|
+
type: "function",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
inputs: [],
|
|
207
|
+
name: "eip712Domain",
|
|
208
|
+
outputs: [
|
|
209
|
+
{
|
|
210
|
+
internalType: "bytes1",
|
|
211
|
+
name: "fields",
|
|
212
|
+
type: "bytes1",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
internalType: "string",
|
|
216
|
+
name: "name",
|
|
217
|
+
type: "string",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
internalType: "string",
|
|
221
|
+
name: "version",
|
|
222
|
+
type: "string",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
internalType: "uint256",
|
|
226
|
+
name: "chainId",
|
|
227
|
+
type: "uint256",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "verifyingContract",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
internalType: "bytes32",
|
|
236
|
+
name: "salt",
|
|
237
|
+
type: "bytes32",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
internalType: "uint256[]",
|
|
241
|
+
name: "extensions",
|
|
242
|
+
type: "uint256[]",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
stateMutability: "view",
|
|
246
|
+
type: "function",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [],
|
|
250
|
+
name: "name",
|
|
251
|
+
outputs: [
|
|
252
|
+
{
|
|
253
|
+
internalType: "string",
|
|
254
|
+
name: "",
|
|
255
|
+
type: "string",
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
stateMutability: "view",
|
|
259
|
+
type: "function",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
inputs: [
|
|
263
|
+
{
|
|
264
|
+
internalType: "address",
|
|
265
|
+
name: "owner",
|
|
266
|
+
type: "address",
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
name: "nonces",
|
|
270
|
+
outputs: [
|
|
271
|
+
{
|
|
272
|
+
internalType: "uint256",
|
|
273
|
+
name: "",
|
|
274
|
+
type: "uint256",
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
stateMutability: "view",
|
|
278
|
+
type: "function",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
inputs: [
|
|
282
|
+
{
|
|
283
|
+
internalType: "address",
|
|
284
|
+
name: "owner",
|
|
285
|
+
type: "address",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
internalType: "address",
|
|
289
|
+
name: "spender",
|
|
290
|
+
type: "address",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
internalType: "uint256",
|
|
294
|
+
name: "value",
|
|
295
|
+
type: "uint256",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
internalType: "uint256",
|
|
299
|
+
name: "deadline",
|
|
300
|
+
type: "uint256",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
internalType: "uint8",
|
|
304
|
+
name: "v",
|
|
305
|
+
type: "uint8",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
internalType: "bytes32",
|
|
309
|
+
name: "r",
|
|
310
|
+
type: "bytes32",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
internalType: "bytes32",
|
|
314
|
+
name: "s",
|
|
315
|
+
type: "bytes32",
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
name: "permit",
|
|
319
|
+
outputs: [],
|
|
320
|
+
stateMutability: "nonpayable",
|
|
321
|
+
type: "function",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
inputs: [],
|
|
325
|
+
name: "symbol",
|
|
326
|
+
outputs: [
|
|
327
|
+
{
|
|
328
|
+
internalType: "string",
|
|
329
|
+
name: "",
|
|
330
|
+
type: "string",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
stateMutability: "view",
|
|
334
|
+
type: "function",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
inputs: [],
|
|
338
|
+
name: "totalSupply",
|
|
339
|
+
outputs: [
|
|
340
|
+
{
|
|
341
|
+
internalType: "uint256",
|
|
342
|
+
name: "",
|
|
343
|
+
type: "uint256",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
stateMutability: "view",
|
|
347
|
+
type: "function",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
inputs: [
|
|
351
|
+
{
|
|
352
|
+
internalType: "address",
|
|
353
|
+
name: "to",
|
|
354
|
+
type: "address",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
internalType: "uint256",
|
|
358
|
+
name: "amount",
|
|
359
|
+
type: "uint256",
|
|
360
|
+
},
|
|
361
|
+
],
|
|
362
|
+
name: "transfer",
|
|
363
|
+
outputs: [
|
|
364
|
+
{
|
|
365
|
+
internalType: "bool",
|
|
366
|
+
name: "",
|
|
367
|
+
type: "bool",
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
stateMutability: "nonpayable",
|
|
371
|
+
type: "function",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
inputs: [
|
|
375
|
+
{
|
|
376
|
+
internalType: "address",
|
|
377
|
+
name: "from",
|
|
378
|
+
type: "address",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
internalType: "address",
|
|
382
|
+
name: "to",
|
|
383
|
+
type: "address",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
internalType: "uint256",
|
|
387
|
+
name: "amount",
|
|
388
|
+
type: "uint256",
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
name: "transferFrom",
|
|
392
|
+
outputs: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "bool",
|
|
395
|
+
name: "",
|
|
396
|
+
type: "bool",
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
stateMutability: "nonpayable",
|
|
400
|
+
type: "function",
|
|
401
|
+
},
|
|
402
|
+
];
|
|
403
|
+
|
|
404
|
+
const _bytecode =
|
|
405
|
+
"0x610180604052348015610010575f5ffd5b5060405161162538038061162583398101604081905261002f91610271565b6040805180820190915260018152603160f81b6020820152839081848460036100588482610372565b5060046100658382610372565b5060ff166080525050600280546001600160f81b0316600160f81b17905561008e82600561013d565b6101405261009d81600661013d565b61016052815160208084019190912061010052815190820120610120524660c05261012b6101005161012051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60a05250503060e05250610481915050565b5f602083511015610158576101518361016f565b9050610169565b816101638482610372565b5060ff90505b92915050565b5f5f829050601f815111156101a2578260405163305a27a960e01b8152600401610199919061042c565b60405180910390fd5b80516101ad8261045e565b179392505050565b634e487b7160e01b5f52604160045260245ffd5b5f5b838110156101e35781810151838201526020016101cb565b50505f910152565b5f82601f8301126101fa575f5ffd5b81516001600160401b03811115610213576102136101b5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610241576102416101b5565b604052818152838201602001851015610258575f5ffd5b6102698260208301602087016101c9565b949350505050565b5f5f5f60608486031215610283575f5ffd5b83516001600160401b03811115610298575f5ffd5b6102a4868287016101eb565b602086015190945090506001600160401b038111156102c1575f5ffd5b6102cd868287016101eb565b925050604084015160ff811681146102e3575f5ffd5b809150509250925092565b600181811c9082168061030257607f821691505b60208210810361032057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561036d57805f5260205f20601f840160051c8101602085101561034b5750805b601f840160051c820191505b8181101561036a575f8155600101610357565b50505b505050565b81516001600160401b0381111561038b5761038b6101b5565b61039f8161039984546102ee565b84610326565b6020601f8211600181146103d1575f83156103ba5750848201515b5f19600385901b1c1916600184901b17845561036a565b5f84815260208120601f198516915b8281101561040057878501518255602094850194600190920191016103e0565b508482101561041d57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b602081525f825180602084015261044a8160408501602087016101c9565b601f01601f19169190910160400192915050565b80516020808301519190811015610320575f1960209190910360031b1b16919050565b60805160a05160c05160e051610100516101205161014051610160516111496104dc5f395f61038c01525f61036101525f610a8101525f610a5901525f6109b401525f6109de01525f610a0801525f61012501526111495ff3fe608060405234801561000f575f5ffd5b50600436106100ad575f3560e01c806306fdde03146100b1578063095ea7b3146100cf57806318160ddd146100f257806323b872dd1461010d578063313ce567146101205780633644e5151461015957806370a08231146101615780637ecebe001461018957806384b0196e1461019c57806395d89b41146101b7578063a9059cbb146101bf578063d505accf146101d2578063dd62ed3e146101e7575b5f5ffd5b6100b96101fa565b6040516100c69190610e94565b60405180910390f35b6100e26100dd366004610ec8565b61028a565b60405190151581526020016100c6565b6002546001600160f81b03165b6040519081526020016100c6565b6100e261011b366004610ef0565b6102a3565b6101477f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100c6565b6100ff610329565b6100ff61016f366004610f2a565b6001600160a01b03165f9081526020819052604090205490565b6100ff610197366004610f2a565b610337565b6101a4610354565b6040516100c69796959493929190610f43565b6100b96103db565b6100e26101cd366004610ec8565b6103ea565b6101e56101e0366004610fd9565b61045b565b005b6100ff6101f5366004611046565b6105bc565b60606003805461020990611077565b80601f016020809104026020016040519081016040528092919081815260200182805461023590611077565b80156102805780601f1061025757610100808354040283529160200191610280565b820191905f5260205f20905b81548152906001019060200180831161026357829003601f168201915b5050505050905090565b5f336102978185856105e6565b60019150505b92915050565b6002545f90600119600160f81b90910460ff16016102dc5760405162461bcd60e51b81526004016102d3906110a9565b60405180910390fd5b600280546001600160f81b0316600160f91b179055336102fd858285610709565b610308858585610781565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b5f6103326109a8565b905090565b6001600160a01b0381165f9081526007602052604081205461029d565b5f606080828080836103877f00000000000000000000000000000000000000000000000000000000000000006005610ad1565b6103b27f00000000000000000000000000000000000000000000000000000000000000006006610ad1565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461020990611077565b6002545f90600119600160f81b90910460ff160161041a5760405162461bcd60e51b81526004016102d3906110a9565b600280546001600160f81b0316600160f91b1790553361043b818585610781565b6001915050600280546001600160f81b0316600160f81b17905592915050565b834211156104ab5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016102d3565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104d98c610b7a565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61053382610ba1565b90505f61054282878787610bcd565b9050896001600160a01b0316816001600160a01b0316146105a55760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016102d3565b6105b08a8a8a6105e6565b50505050505050505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166106485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016102d3565b6001600160a01b0382166106a95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016102d3565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61071484846105bc565b90505f19811461077b578181101561076e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016102d3565b61077b84848484036105e6565b50505050565b6001600160a01b0383166107e55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016102d3565b6001600160a01b0382166108475760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016102d3565b816001600160a01b0316836001600160a01b0316036108a25760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016102d3565b6001600160a01b0383165f90815260208190526040902054818110156109195760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016102d3565b6001600160a01b038085165f9081526020819052604080822085850390559185168152908120805484929061094f9084906110e0565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161099b91815260200190565b60405180910390a361077b565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610a0057507f000000000000000000000000000000000000000000000000000000000000000046145b15610a2a57507f000000000000000000000000000000000000000000000000000000000000000090565b610332604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b606060ff8314610aeb57610ae483610bf3565b905061029d565b818054610af790611077565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2390611077565b8015610b6e5780601f10610b4557610100808354040283529160200191610b6e565b820191905f5260205f20905b815481529060010190602001808311610b5157829003601f168201915b5050505050905061029d565b6001600160a01b0381165f9081526007602052604090208054600181018255905b50919050565b5f61029d610bad6109a8565b8360405161190160f01b8152600281019290925260228201526042902090565b5f5f5f610bdc87878787610c30565b91509150610be981610ce3565b5095945050505050565b60605f610bff83610e2a565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115610c5b57505f90506003610cda565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610cac573d5f5f3e3d5ffd5b5050604051601f1901519150506001600160a01b038116610cd4575f60019250925050610cda565b91505f90505b94509492505050565b5f816004811115610cf657610cf66110ff565b03610cfe5750565b6001816004811115610d1257610d126110ff565b03610d5a5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016102d3565b6002816004811115610d6e57610d6e6110ff565b03610dbb5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016102d3565b6003816004811115610dcf57610dcf6110ff565b03610e275760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016102d3565b50565b5f60ff8216601f81111561029d57604051632cd44ac360e21b815260040160405180910390fd5b5f81518084525f5b81811015610e7557602081850181015186830182015201610e59565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f610ea66020830184610e51565b9392505050565b80356001600160a01b0381168114610ec3575f5ffd5b919050565b5f5f60408385031215610ed9575f5ffd5b610ee283610ead565b946020939093013593505050565b5f5f5f60608486031215610f02575f5ffd5b610f0b84610ead565b9250610f1960208501610ead565b929592945050506040919091013590565b5f60208284031215610f3a575f5ffd5b610ea682610ead565b60ff60f81b8816815260e060208201525f610f6160e0830189610e51565b8281036040840152610f738189610e51565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b81811015610fc8578351835260209384019390920191600101610faa565b50909b9a5050505050505050505050565b5f5f5f5f5f5f5f60e0888a031215610fef575f5ffd5b610ff888610ead565b965061100660208901610ead565b95506040880135945060608801359350608088013560ff81168114611029575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f60408385031215611057575f5ffd5b61106083610ead565b915061106e60208401610ead565b90509250929050565b600181811c9082168061108b57607f821691505b602082108103610b9b57634e487b7160e01b5f52602260045260245ffd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8082018082111561029d57634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52602160045260245ffdfea26469706673582212204ffab82f980fbe320cf0294e124f9be2007f98ca82a01f2af9d32f76780c015b64736f6c634300081e0033";
|
|
406
|
+
|
|
407
|
+
type PendleERC20PermitConstructorParams =
|
|
408
|
+
| [signer?: Signer]
|
|
409
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
410
|
+
|
|
411
|
+
const isSuperArgs = (
|
|
412
|
+
xs: PendleERC20PermitConstructorParams
|
|
413
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
414
|
+
|
|
415
|
+
export class PendleERC20Permit__factory extends ContractFactory {
|
|
416
|
+
constructor(...args: PendleERC20PermitConstructorParams) {
|
|
417
|
+
if (isSuperArgs(args)) {
|
|
418
|
+
super(...args);
|
|
419
|
+
} else {
|
|
420
|
+
super(_abi, _bytecode, args[0]);
|
|
421
|
+
}
|
|
422
|
+
this.contractName = "PendleERC20Permit";
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
deploy(
|
|
426
|
+
name_: string,
|
|
427
|
+
symbol_: string,
|
|
428
|
+
decimals_: BigNumberish,
|
|
429
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
430
|
+
): Promise<PendleERC20Permit> {
|
|
431
|
+
return super.deploy(
|
|
432
|
+
name_,
|
|
433
|
+
symbol_,
|
|
434
|
+
decimals_,
|
|
435
|
+
overrides || {}
|
|
436
|
+
) as Promise<PendleERC20Permit>;
|
|
437
|
+
}
|
|
438
|
+
getDeployTransaction(
|
|
439
|
+
name_: string,
|
|
440
|
+
symbol_: string,
|
|
441
|
+
decimals_: BigNumberish,
|
|
442
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
443
|
+
): TransactionRequest {
|
|
444
|
+
return super.getDeployTransaction(
|
|
445
|
+
name_,
|
|
446
|
+
symbol_,
|
|
447
|
+
decimals_,
|
|
448
|
+
overrides || {}
|
|
449
|
+
);
|
|
450
|
+
}
|
|
451
|
+
attach(address: string): PendleERC20Permit {
|
|
452
|
+
return super.attach(address) as PendleERC20Permit;
|
|
453
|
+
}
|
|
454
|
+
connect(signer: Signer): PendleERC20Permit__factory {
|
|
455
|
+
return super.connect(signer) as PendleERC20Permit__factory;
|
|
456
|
+
}
|
|
457
|
+
static readonly contractName: "PendleERC20Permit";
|
|
458
|
+
public readonly contractName: "PendleERC20Permit";
|
|
459
|
+
static readonly bytecode = _bytecode;
|
|
460
|
+
static readonly abi = _abi;
|
|
461
|
+
static createInterface(): PendleERC20PermitInterface {
|
|
462
|
+
return new utils.Interface(_abi) as PendleERC20PermitInterface;
|
|
463
|
+
}
|
|
464
|
+
static connect(
|
|
465
|
+
address: string,
|
|
466
|
+
signerOrProvider: Signer | Provider
|
|
467
|
+
): PendleERC20Permit {
|
|
468
|
+
return new Contract(address, _abi, signerOrProvider) as PendleERC20Permit;
|
|
469
|
+
}
|
|
470
|
+
}
|