@pendle/core-v2 6.4.4-unichain → 6.5.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/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- 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/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- 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 +4 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +401 -0
- 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/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- 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/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +733 -0
- package/build/artifacts/contracts/StPendle.sol/RoundDataLib.dbg.json +4 -0
- package/build/artifacts/contracts/StPendle.sol/RoundDataLib.json +10 -0
- package/build/artifacts/contracts/StPendle.sol/StPendle.dbg.json +4 -0
- package/build/artifacts/contracts/StPendle.sol/StPendle.json +228 -0
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +0 -51
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.json +618 -0
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.json +1157 -0
- 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/PYIndex.sol/PYIndexLib.json +2 -2
- 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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- 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/Errors.sol/Errors.json +3 -3
- 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/core/libraries/math/PMath.sol/PMath.json +2 -2
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +2 -2
- 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/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- 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/IPActionCrossChain.sol/IPActionCrossChain.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/IPGauge.sol/IPGauge.json +0 -51
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +47 -12
- 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/IPMarket.sol/IPMarket.json +0 -19
- 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/IPStakedPendle.sol/IPStakedPendle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.json +351 -0
- 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/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- 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/BalanceReader.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.json +30 -0
- 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/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- 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/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
- 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/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
- 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/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +2 -2
- 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/SimulateHelper.sol/SimulateHelper.json +2 -2
- 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/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- 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/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
- 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/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- 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/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- 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/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- 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/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- 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/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- 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/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- 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/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- 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/MarketApproxPtInLibV1.json +2 -2
- 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/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- 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/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +2 -2
- 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/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- 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/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- 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/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
- 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/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- 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/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- 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/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- 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/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- 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/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol +112 -0
- package/contracts/LiquidityMining/sPendle/StakedPendle.sol +129 -0
- package/contracts/StPendle.sol +121 -0
- package/contracts/core/Market/PendleGauge.sol +1 -76
- package/contracts/core/Market/{PendleMarketFactoryV6Upg.sol → PendleMarketFactoryV7Upg.sol} +3 -6
- package/contracts/core/Market/{PendleMarketV6.sol → PendleMarketV7.sol} +16 -16
- package/contracts/core/libraries/Errors.sol +1 -1
- package/contracts/core/libraries/math/PMath.sol +5 -0
- package/contracts/interfaces/IPGauge.sol +0 -6
- package/contracts/interfaces/IPGaugeController.sol +16 -3
- package/contracts/interfaces/IPMarket.sol +12 -0
- package/contracts/interfaces/IPStakedPendle.sol +69 -0
- package/contracts/offchain-helpers/BalanceReader.sol +11 -1
- package/contracts/offchain-helpers/MarketSweed.sol +46 -54
- package/contracts/offchain-helpers/PendleMerkleDepositor.sol +5 -6
- package/contracts/router/ActionCrossChain.sol +14 -18
- package/contracts/router/Reflector.sol +19 -2
- package/deployments/1-core.json +3 -2
- package/deployments/10-core.json +1 -1
- package/deployments/130-core.json +2 -1
- package/deployments/146-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/5000-core.json +1 -1
- package/deployments/56-core.json +1 -1
- package/deployments/80094-core.json +1 -1
- package/deployments/8453-core.json +1 -1
- package/deployments/9745-core.json +4 -3
- package/deployments/999-core.json +6 -6
- package/package.json +1 -1
- package/typechain-types/{PendleERC20PermitUpg.ts → ERC20Upgradeable.ts} +61 -152
- package/typechain-types/{PendleERC20Upg.ts → IERC20MetadataUpgradeable.ts} +5 -14
- package/typechain-types/{PendleERC20Permit.ts → IERC20Upgradeable.ts} +5 -213
- package/typechain-types/{OverfillMathLib.ts → ILegacyMarket.ts} +25 -13
- package/typechain-types/IPGauge.ts +7 -81
- package/typechain-types/IPGaugeController.ts +91 -47
- package/typechain-types/IPMarket.ts +0 -19
- package/typechain-types/IPStakedPendle.ts +558 -0
- package/typechain-types/PendleGauge.ts +0 -63
- package/typechain-types/{PendleGaugeControllerBaseUpg.ts → PendleGaugeControllerUpg.ts} +82 -171
- package/typechain-types/{PendleMarketFactoryV6Upg.ts → PendleMarketFactoryV7Upg.ts} +5 -18
- package/typechain-types/{PendleMarketV6.ts → PendleMarketV7.ts} +10 -29
- package/typechain-types/StPendle.ts +362 -0
- package/typechain-types/StakedPendle.ts +1058 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BalanceReader__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/ERC20Upgradeable__factory.ts +347 -0
- package/typechain-types/factories/Errors__factory.ts +2 -2
- package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +1 -1
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/{PendleERC20Upg__factory.ts → IERC20MetadataUpgradeable__factory.ts} +12 -21
- package/typechain-types/factories/{IPGaugeControllerMainchain__factory.ts → IERC20Upgradeable__factory.ts} +90 -83
- package/typechain-types/factories/ILegacyMarket__factory.ts +42 -0
- package/typechain-types/factories/IPGaugeController__factory.ts +47 -12
- package/typechain-types/factories/IPGauge__factory.ts +0 -51
- package/typechain-types/factories/IPMarket__factory.ts +0 -19
- package/typechain-types/factories/{PendleERC20PermitUpg__factory.ts → IPStakedPendle__factory.ts} +166 -189
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +463 -0
- package/typechain-types/factories/PendleGauge__factory.ts +0 -51
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV7Upg__factory.ts +710 -0
- package/typechain-types/factories/PendleMarketV7__factory.ts +1233 -0
- package/typechain-types/factories/PendleMerkleDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
- package/typechain-types/factories/StPendle__factory.ts +260 -0
- package/typechain-types/factories/StakedPendle__factory.ts +785 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +69 -114
- package/typechain-types/index.ts +20 -30
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -451
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +0 -557
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +0 -547
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +0 -1311
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +0 -764
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +0 -636
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +0 -1181
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -598
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +0 -183
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -380
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +0 -262
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +0 -164
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +0 -42
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +0 -36
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +0 -304
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +0 -301
- package/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol +0 -204
- package/contracts/interfaces/IPGaugeControllerMainchain.sol +0 -8
- package/contracts/interfaces/IPVotingController.sol +0 -43
- package/contracts/offchain-helpers/Broadcaster.sol +0 -48
- package/typechain-types/ActionDelegateBase.ts +0 -57
- package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
- package/typechain-types/Broadcaster.ts +0 -455
- package/typechain-types/EIP712.ts +0 -135
- package/typechain-types/ERC20Permit.ts +0 -586
- package/typechain-types/IERC5267.ts +0 -135
- package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
- package/typechain-types/IPMarketFactoryV3.ts +0 -321
- package/typechain-types/IPMarketV3.ts +0 -1068
- package/typechain-types/IPVotingController.ts +0 -534
- package/typechain-types/LimitBackendHelper.ts +0 -287
- package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
- package/typechain-types/PendleFeeDistributor.ts +0 -746
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
- package/typechain-types/PendleMarketFactoryV3.ts +0 -719
- package/typechain-types/PendleMarketV3.ts +0 -1195
- package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
- package/typechain-types/PendleYieldContractFactory.ts +0 -801
- package/typechain-types/ShortStrings.ts +0 -57
- package/typechain-types/VotingControllerStorageUpg.ts +0 -984
- package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -80
- package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +0 -1548
- package/typechain-types/factories/Broadcaster__factory.ts +0 -317
- package/typechain-types/factories/EIP712__factory.ts +0 -85
- package/typechain-types/factories/ERC20Permit__factory.ts +0 -433
- package/typechain-types/factories/IERC5267__factory.ts +0 -72
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +0 -217
- package/typechain-types/factories/IPMarketV3__factory.ts +0 -845
- package/typechain-types/factories/IPVotingController__factory.ts +0 -395
- package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
- package/typechain-types/factories/OverfillMathLib__factory.ts +0 -77
- package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
- package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
- package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
- package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -470
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +0 -714
- package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
- package/typechain-types/factories/PendleMarketV3__factory.ts +0 -1211
- package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +0 -674
- package/typechain-types/factories/ShortStrings__factory.ts +0 -77
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
package/typechain-types/factories/{PendleERC20PermitUpg__factory.ts → IPStakedPendle__factory.ts}
RENAMED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import { Contract, Signer, utils } from "ethers";
|
|
6
6
|
import { Provider } from "@ethersproject/providers";
|
|
7
7
|
import type {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "../
|
|
8
|
+
IPStakedPendle,
|
|
9
|
+
IPStakedPendleInterface,
|
|
10
|
+
} from "../IPStakedPendle";
|
|
11
11
|
|
|
12
12
|
const _abi = [
|
|
13
13
|
{
|
|
@@ -16,29 +16,17 @@ const _abi = [
|
|
|
16
16
|
{
|
|
17
17
|
indexed: true,
|
|
18
18
|
internalType: "address",
|
|
19
|
-
name: "
|
|
20
|
-
type: "address",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
indexed: true,
|
|
24
|
-
internalType: "address",
|
|
25
|
-
name: "spender",
|
|
19
|
+
name: "user",
|
|
26
20
|
type: "address",
|
|
27
21
|
},
|
|
28
22
|
{
|
|
29
23
|
indexed: false,
|
|
30
24
|
internalType: "uint256",
|
|
31
|
-
name: "
|
|
25
|
+
name: "amount",
|
|
32
26
|
type: "uint256",
|
|
33
27
|
},
|
|
34
28
|
],
|
|
35
|
-
name: "
|
|
36
|
-
type: "event",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
anonymous: false,
|
|
40
|
-
inputs: [],
|
|
41
|
-
name: "EIP712DomainChanged",
|
|
29
|
+
name: "CooldownCanceled",
|
|
42
30
|
type: "event",
|
|
43
31
|
},
|
|
44
32
|
{
|
|
@@ -46,12 +34,18 @@ const _abi = [
|
|
|
46
34
|
inputs: [
|
|
47
35
|
{
|
|
48
36
|
indexed: false,
|
|
49
|
-
internalType: "
|
|
50
|
-
name: "
|
|
51
|
-
type: "
|
|
37
|
+
internalType: "uint24",
|
|
38
|
+
name: "newDuration",
|
|
39
|
+
type: "uint24",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
indexed: false,
|
|
43
|
+
internalType: "uint64",
|
|
44
|
+
name: "instantUnstakeFeeRate",
|
|
45
|
+
type: "uint64",
|
|
52
46
|
},
|
|
53
47
|
],
|
|
54
|
-
name: "
|
|
48
|
+
name: "CooldownDurationAndFeeUpdated",
|
|
55
49
|
type: "event",
|
|
56
50
|
},
|
|
57
51
|
{
|
|
@@ -60,113 +54,123 @@ const _abi = [
|
|
|
60
54
|
{
|
|
61
55
|
indexed: true,
|
|
62
56
|
internalType: "address",
|
|
63
|
-
name: "
|
|
57
|
+
name: "user",
|
|
64
58
|
type: "address",
|
|
65
59
|
},
|
|
66
60
|
{
|
|
67
|
-
indexed:
|
|
68
|
-
internalType: "
|
|
69
|
-
name: "
|
|
70
|
-
type: "
|
|
61
|
+
indexed: false,
|
|
62
|
+
internalType: "uint256",
|
|
63
|
+
name: "amount",
|
|
64
|
+
type: "uint256",
|
|
71
65
|
},
|
|
72
66
|
{
|
|
73
67
|
indexed: false,
|
|
74
68
|
internalType: "uint256",
|
|
75
|
-
name: "
|
|
69
|
+
name: "cooldownStart",
|
|
76
70
|
type: "uint256",
|
|
77
71
|
},
|
|
78
72
|
],
|
|
79
|
-
name: "
|
|
73
|
+
name: "CooldownInitiated",
|
|
80
74
|
type: "event",
|
|
81
75
|
},
|
|
82
76
|
{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
outputs: [
|
|
77
|
+
anonymous: false,
|
|
78
|
+
inputs: [
|
|
86
79
|
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
80
|
+
indexed: true,
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "feeReceiver",
|
|
83
|
+
type: "address",
|
|
90
84
|
},
|
|
91
85
|
],
|
|
92
|
-
|
|
93
|
-
type: "
|
|
86
|
+
name: "FeeReceiverUpdated",
|
|
87
|
+
type: "event",
|
|
94
88
|
},
|
|
95
89
|
{
|
|
90
|
+
anonymous: false,
|
|
96
91
|
inputs: [
|
|
97
92
|
{
|
|
93
|
+
indexed: true,
|
|
98
94
|
internalType: "address",
|
|
99
|
-
name: "
|
|
95
|
+
name: "user",
|
|
100
96
|
type: "address",
|
|
101
97
|
},
|
|
102
98
|
{
|
|
103
|
-
|
|
104
|
-
name: "spender",
|
|
105
|
-
type: "address",
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
name: "allowance",
|
|
109
|
-
outputs: [
|
|
110
|
-
{
|
|
99
|
+
indexed: false,
|
|
111
100
|
internalType: "uint256",
|
|
112
|
-
name: "",
|
|
101
|
+
name: "amount",
|
|
113
102
|
type: "uint256",
|
|
114
103
|
},
|
|
115
104
|
],
|
|
116
|
-
|
|
117
|
-
type: "
|
|
105
|
+
name: "Staked",
|
|
106
|
+
type: "event",
|
|
118
107
|
},
|
|
119
108
|
{
|
|
109
|
+
anonymous: false,
|
|
120
110
|
inputs: [
|
|
121
111
|
{
|
|
112
|
+
indexed: true,
|
|
122
113
|
internalType: "address",
|
|
123
|
-
name: "
|
|
114
|
+
name: "user",
|
|
124
115
|
type: "address",
|
|
125
116
|
},
|
|
126
117
|
{
|
|
118
|
+
indexed: false,
|
|
127
119
|
internalType: "uint256",
|
|
128
|
-
name: "
|
|
120
|
+
name: "amountAfterFee",
|
|
121
|
+
type: "uint256",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
indexed: false,
|
|
125
|
+
internalType: "uint256",
|
|
126
|
+
name: "fee",
|
|
129
127
|
type: "uint256",
|
|
130
128
|
},
|
|
131
129
|
],
|
|
132
|
-
name: "
|
|
130
|
+
name: "Unstaked",
|
|
131
|
+
type: "event",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
inputs: [],
|
|
135
|
+
name: "PENDLE",
|
|
133
136
|
outputs: [
|
|
134
137
|
{
|
|
135
|
-
internalType: "
|
|
138
|
+
internalType: "address",
|
|
136
139
|
name: "",
|
|
137
|
-
type: "
|
|
140
|
+
type: "address",
|
|
138
141
|
},
|
|
139
142
|
],
|
|
143
|
+
stateMutability: "view",
|
|
144
|
+
type: "function",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [],
|
|
148
|
+
name: "cancelCooldown",
|
|
149
|
+
outputs: [],
|
|
140
150
|
stateMutability: "nonpayable",
|
|
141
151
|
type: "function",
|
|
142
152
|
},
|
|
143
153
|
{
|
|
144
154
|
inputs: [
|
|
145
|
-
{
|
|
146
|
-
internalType: "address",
|
|
147
|
-
name: "account",
|
|
148
|
-
type: "address",
|
|
149
|
-
},
|
|
150
|
-
],
|
|
151
|
-
name: "balanceOf",
|
|
152
|
-
outputs: [
|
|
153
155
|
{
|
|
154
156
|
internalType: "uint256",
|
|
155
|
-
name: "",
|
|
157
|
+
name: "amount",
|
|
156
158
|
type: "uint256",
|
|
157
159
|
},
|
|
158
160
|
],
|
|
159
|
-
|
|
161
|
+
name: "cooldown",
|
|
162
|
+
outputs: [],
|
|
163
|
+
stateMutability: "nonpayable",
|
|
160
164
|
type: "function",
|
|
161
165
|
},
|
|
162
166
|
{
|
|
163
167
|
inputs: [],
|
|
164
|
-
name: "
|
|
168
|
+
name: "cooldownDuration",
|
|
165
169
|
outputs: [
|
|
166
170
|
{
|
|
167
|
-
internalType: "
|
|
171
|
+
internalType: "uint24",
|
|
168
172
|
name: "",
|
|
169
|
-
type: "
|
|
173
|
+
type: "uint24",
|
|
170
174
|
},
|
|
171
175
|
],
|
|
172
176
|
stateMutability: "view",
|
|
@@ -174,169 +178,151 @@ const _abi = [
|
|
|
174
178
|
},
|
|
175
179
|
{
|
|
176
180
|
inputs: [],
|
|
177
|
-
name: "
|
|
181
|
+
name: "feeReceiver",
|
|
178
182
|
outputs: [
|
|
179
|
-
{
|
|
180
|
-
internalType: "bytes1",
|
|
181
|
-
name: "fields",
|
|
182
|
-
type: "bytes1",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
internalType: "string",
|
|
186
|
-
name: "name",
|
|
187
|
-
type: "string",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
internalType: "string",
|
|
191
|
-
name: "version",
|
|
192
|
-
type: "string",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
internalType: "uint256",
|
|
196
|
-
name: "chainId",
|
|
197
|
-
type: "uint256",
|
|
198
|
-
},
|
|
199
183
|
{
|
|
200
184
|
internalType: "address",
|
|
201
|
-
name: "
|
|
185
|
+
name: "",
|
|
202
186
|
type: "address",
|
|
203
187
|
},
|
|
204
|
-
{
|
|
205
|
-
internalType: "bytes32",
|
|
206
|
-
name: "salt",
|
|
207
|
-
type: "bytes32",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
internalType: "uint256[]",
|
|
211
|
-
name: "extensions",
|
|
212
|
-
type: "uint256[]",
|
|
213
|
-
},
|
|
214
188
|
],
|
|
215
189
|
stateMutability: "view",
|
|
216
190
|
type: "function",
|
|
217
191
|
},
|
|
218
192
|
{
|
|
219
193
|
inputs: [],
|
|
220
|
-
name: "
|
|
194
|
+
name: "finalizeCooldown",
|
|
221
195
|
outputs: [
|
|
222
196
|
{
|
|
223
|
-
internalType: "
|
|
224
|
-
name: "",
|
|
225
|
-
type: "
|
|
197
|
+
internalType: "uint256",
|
|
198
|
+
name: "amount",
|
|
199
|
+
type: "uint256",
|
|
226
200
|
},
|
|
227
201
|
],
|
|
228
|
-
stateMutability: "
|
|
202
|
+
stateMutability: "nonpayable",
|
|
229
203
|
type: "function",
|
|
230
204
|
},
|
|
231
205
|
{
|
|
232
206
|
inputs: [
|
|
233
|
-
{
|
|
234
|
-
internalType: "address",
|
|
235
|
-
name: "owner",
|
|
236
|
-
type: "address",
|
|
237
|
-
},
|
|
238
|
-
],
|
|
239
|
-
name: "nonces",
|
|
240
|
-
outputs: [
|
|
241
207
|
{
|
|
242
208
|
internalType: "uint256",
|
|
243
|
-
name: "",
|
|
209
|
+
name: "amount",
|
|
244
210
|
type: "uint256",
|
|
245
211
|
},
|
|
246
212
|
],
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
inputs: [
|
|
252
|
-
{
|
|
253
|
-
internalType: "address",
|
|
254
|
-
name: "owner",
|
|
255
|
-
type: "address",
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
internalType: "address",
|
|
259
|
-
name: "spender",
|
|
260
|
-
type: "address",
|
|
261
|
-
},
|
|
213
|
+
name: "instantUnstake",
|
|
214
|
+
outputs: [
|
|
262
215
|
{
|
|
263
216
|
internalType: "uint256",
|
|
264
|
-
name: "
|
|
217
|
+
name: "amountAfterFee",
|
|
265
218
|
type: "uint256",
|
|
266
219
|
},
|
|
267
220
|
{
|
|
268
221
|
internalType: "uint256",
|
|
269
|
-
name: "
|
|
222
|
+
name: "fee",
|
|
270
223
|
type: "uint256",
|
|
271
224
|
},
|
|
272
|
-
{
|
|
273
|
-
internalType: "uint8",
|
|
274
|
-
name: "v",
|
|
275
|
-
type: "uint8",
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
internalType: "bytes32",
|
|
279
|
-
name: "r",
|
|
280
|
-
type: "bytes32",
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
internalType: "bytes32",
|
|
284
|
-
name: "s",
|
|
285
|
-
type: "bytes32",
|
|
286
|
-
},
|
|
287
225
|
],
|
|
288
|
-
name: "permit",
|
|
289
|
-
outputs: [],
|
|
290
226
|
stateMutability: "nonpayable",
|
|
291
227
|
type: "function",
|
|
292
228
|
},
|
|
293
229
|
{
|
|
294
230
|
inputs: [],
|
|
295
|
-
name: "
|
|
231
|
+
name: "instantUnstakeFeeRate",
|
|
296
232
|
outputs: [
|
|
297
233
|
{
|
|
298
|
-
internalType: "
|
|
234
|
+
internalType: "uint64",
|
|
299
235
|
name: "",
|
|
300
|
-
type: "
|
|
236
|
+
type: "uint64",
|
|
301
237
|
},
|
|
302
238
|
],
|
|
303
239
|
stateMutability: "view",
|
|
304
240
|
type: "function",
|
|
305
241
|
},
|
|
306
242
|
{
|
|
307
|
-
inputs: [
|
|
308
|
-
|
|
243
|
+
inputs: [
|
|
244
|
+
{
|
|
245
|
+
components: [
|
|
246
|
+
{
|
|
247
|
+
internalType: "bool",
|
|
248
|
+
name: "allowFailure",
|
|
249
|
+
type: "bool",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
internalType: "bytes",
|
|
253
|
+
name: "callData",
|
|
254
|
+
type: "bytes",
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
internalType: "struct IPStakedPendle.Call3[]",
|
|
258
|
+
name: "calls",
|
|
259
|
+
type: "tuple[]",
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
name: "multicall",
|
|
309
263
|
outputs: [
|
|
310
264
|
{
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
265
|
+
components: [
|
|
266
|
+
{
|
|
267
|
+
internalType: "bool",
|
|
268
|
+
name: "success",
|
|
269
|
+
type: "bool",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
internalType: "bytes",
|
|
273
|
+
name: "returnData",
|
|
274
|
+
type: "bytes",
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
internalType: "struct IPStakedPendle.Result[]",
|
|
278
|
+
name: "res",
|
|
279
|
+
type: "tuple[]",
|
|
314
280
|
},
|
|
315
281
|
],
|
|
316
|
-
stateMutability: "
|
|
282
|
+
stateMutability: "nonpayable",
|
|
283
|
+
type: "function",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
inputs: [
|
|
287
|
+
{
|
|
288
|
+
internalType: "uint24",
|
|
289
|
+
name: "newDuration",
|
|
290
|
+
type: "uint24",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
internalType: "uint64",
|
|
294
|
+
name: "newInstantUnstakeFeeRate",
|
|
295
|
+
type: "uint64",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
name: "setCooldownDurationAndFee",
|
|
299
|
+
outputs: [],
|
|
300
|
+
stateMutability: "nonpayable",
|
|
317
301
|
type: "function",
|
|
318
302
|
},
|
|
319
303
|
{
|
|
320
304
|
inputs: [
|
|
321
305
|
{
|
|
322
306
|
internalType: "address",
|
|
323
|
-
name: "
|
|
307
|
+
name: "newFeeReceiver",
|
|
324
308
|
type: "address",
|
|
325
309
|
},
|
|
310
|
+
],
|
|
311
|
+
name: "setFeeReceiver",
|
|
312
|
+
outputs: [],
|
|
313
|
+
stateMutability: "nonpayable",
|
|
314
|
+
type: "function",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
inputs: [
|
|
326
318
|
{
|
|
327
319
|
internalType: "uint256",
|
|
328
320
|
name: "amount",
|
|
329
321
|
type: "uint256",
|
|
330
322
|
},
|
|
331
323
|
],
|
|
332
|
-
name: "
|
|
333
|
-
outputs: [
|
|
334
|
-
{
|
|
335
|
-
internalType: "bool",
|
|
336
|
-
name: "",
|
|
337
|
-
type: "bool",
|
|
338
|
-
},
|
|
339
|
-
],
|
|
324
|
+
name: "stake",
|
|
325
|
+
outputs: [],
|
|
340
326
|
stateMutability: "nonpayable",
|
|
341
327
|
type: "function",
|
|
342
328
|
},
|
|
@@ -344,46 +330,37 @@ const _abi = [
|
|
|
344
330
|
inputs: [
|
|
345
331
|
{
|
|
346
332
|
internalType: "address",
|
|
347
|
-
name: "
|
|
333
|
+
name: "user",
|
|
348
334
|
type: "address",
|
|
349
335
|
},
|
|
336
|
+
],
|
|
337
|
+
name: "userCooldown",
|
|
338
|
+
outputs: [
|
|
350
339
|
{
|
|
351
|
-
internalType: "
|
|
352
|
-
name: "
|
|
353
|
-
type: "
|
|
340
|
+
internalType: "uint104",
|
|
341
|
+
name: "cooldownStart",
|
|
342
|
+
type: "uint104",
|
|
354
343
|
},
|
|
355
344
|
{
|
|
356
|
-
internalType: "
|
|
345
|
+
internalType: "uint152",
|
|
357
346
|
name: "amount",
|
|
358
|
-
type: "
|
|
359
|
-
},
|
|
360
|
-
],
|
|
361
|
-
name: "transferFrom",
|
|
362
|
-
outputs: [
|
|
363
|
-
{
|
|
364
|
-
internalType: "bool",
|
|
365
|
-
name: "",
|
|
366
|
-
type: "bool",
|
|
347
|
+
type: "uint152",
|
|
367
348
|
},
|
|
368
349
|
],
|
|
369
|
-
stateMutability: "
|
|
350
|
+
stateMutability: "view",
|
|
370
351
|
type: "function",
|
|
371
352
|
},
|
|
372
353
|
];
|
|
373
354
|
|
|
374
|
-
export class
|
|
355
|
+
export class IPStakedPendle__factory {
|
|
375
356
|
static readonly abi = _abi;
|
|
376
|
-
static createInterface():
|
|
377
|
-
return new utils.Interface(_abi) as
|
|
357
|
+
static createInterface(): IPStakedPendleInterface {
|
|
358
|
+
return new utils.Interface(_abi) as IPStakedPendleInterface;
|
|
378
359
|
}
|
|
379
360
|
static connect(
|
|
380
361
|
address: string,
|
|
381
362
|
signerOrProvider: Signer | Provider
|
|
382
|
-
):
|
|
383
|
-
return new Contract(
|
|
384
|
-
address,
|
|
385
|
-
_abi,
|
|
386
|
-
signerOrProvider
|
|
387
|
-
) as PendleERC20PermitUpg;
|
|
363
|
+
): IPStakedPendle {
|
|
364
|
+
return new Contract(address, _abi, signerOrProvider) as IPStakedPendle;
|
|
388
365
|
}
|
|
389
366
|
}
|
|
@@ -174,7 +174,7 @@ const _abi = [
|
|
|
174
174
|
];
|
|
175
175
|
|
|
176
176
|
const _bytecode =
|
|
177
|
-
"0x60c060405234801561000f575f5ffd5b5060405161181938038061181983398101604081905261002e91610043565b6001600160a01b03166080523060a052610070565b5f60208284031215610053575f5ffd5b81516001600160a01b0381168114610069575f5ffd5b9392505050565b60805160a05161177b61009e5f395f61065f01525f818160ce0152818161012c015261019f015261177b5ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c8063083c1fce1461004e578063152c3db71461006357806319585e1a1461008d5780632d36a6d3146100ae575b5f5ffd5b61006161005c36600461115e565b6100c1565b005b6100766100713660046111f3565b6102b7565b6040516100849291906112ae565b60405180910390f35b6100a061009b3660046112db565b61054b565b6040516100849291906113d6565b6100766100bc36600461144b565b6107ef565b6100cc8285836109f5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156101955750604051637d2d278360e11b81526001600160a01b0384169063fa5a4f0690610154907f0000000000000000000000000000000000000000000000000000000000000000906004016114ae565b602060405180830381865afa15801561016f573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061019391906114d6565b155b156101c9576101c57f00000000000000000000000000000000000000000000000000000000000000005f83610a61565b5f91505b6101d38284610b1e565b5f806001600160a01b03808616908516156101ee575f6101f0565b835b6040513060248201526001600160a01b0387166044820152606481018690525f608482015260a40160408051601f198184030181529181526020820180516001600160e01b03166320e8c56560e01b1790525161024d91906114f6565b5f6040518083038185875af1925050503d805f8114610287576040519150601f19603f3d011682016040523d82523d5f602084013e61028c565b606091505b5091509150818160405163032695f960e31b81526004016102ae929190611511565b60405180910390fd5b6060808584146102fb5760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016102ae565b836001600160401b038111156103135761031361152b565b60405190808252806020026020018201604052801561033c578160200160208202803683370190505b509150836001600160401b038111156103575761035761152b565b604051908082528060200260200182016040528015610380578160200160208202803683370190505b5090505f5b848110156105405787878281811061039f5761039f61153f565b90506020020160208101906103b49190611553565b6001600160a01b03166370a082318787848181106103d4576103d461153f565b90506020020160208101906103e99190611553565b6040518263ffffffff1660e01b815260040161040591906114ae565b602060405180830381865afa158015610420573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610444919061156e565b8382815181106104565761045661153f565b6020026020010181815250508787828181106104745761047461153f565b90506020020160208101906104899190611553565b6001600160a01b031663dd62ed3e8787848181106104a9576104a961153f565b90506020020160208101906104be9190611553565b866040518363ffffffff1660e01b81526004016104dc929190611585565b602060405180830381865afa1580156104f7573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051b919061156e565b82828151811061052d5761052d61153f565b6020908102919091010152600101610385565b509550959350505050565b6060805f8888905090505f8a6001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610592573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b6919061159f565b9050816001600160401b038111156105d0576105d061152b565b6040519080825280602002602001820160405280156105f9578160200160208202803683370190505b509350816001600160401b038111156106145761061461152b565b60405190808252806020026020018201604052801561064757816020015b60608152602001906001900390816106325790505b5092505f5b828110156107e0575f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163063083c1fce8e8e868181106106975761069761153f565b90506020020160208101906106ac9190611553565b868e8e888181106106bf576106bf61153f565b90506020020160208101906106d49190611553565b8d8d898181106106e6576106e661153f565b6040516001600160a01b039687166024820152948616604486015292909416606484015260209091020135608482015260a401905060408051601f198184030181529181526020820180516001600160e01b031660e09490941b93909317909252905161075392506114f6565b5f60405180830381855af49150503d805f811461078b576040519150601f19603f3d011682016040523d82523d5f602084013e610790565b606091505b5091505061079d81610bd9565b8784815181106107af576107af61153f565b602002602001018785815181106107c8576107c861153f565b6020908102919091010191909152525060010161064c565b50505097509795505050505050565b606080836001600160401b0381111561080a5761080a61152b565b604051908082528060200260200182016040528015610833578160200160208202803683370190505b509150836001600160401b0381111561084e5761084e61152b565b604051908082528060200260200182016040528015610877578160200160208202803683370190505b5090505f5b848110156109eb57866001600160a01b03166370a082318787848181106108a5576108a561153f565b90506020020160208101906108ba9190611553565b6040518263ffffffff1660e01b81526004016108d691906114ae565b602060405180830381865afa1580156108f1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610915919061156e565b8382815181106109275761092761153f565b602002602001018181525050866001600160a01b031663dd62ed3e8787848181106109545761095461153f565b90506020020160208101906109699190611553565b866040518363ffffffff1660e01b8152600401610987929190611585565b602060405180830381865afa1580156109a2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c6919061156e565b8282815181106109d8576109d861153f565b602090810291909101015260010161087c565b5094509492505050565b6001600160a01b038316610a4657803414610a415760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102ae565b505050565b8015610a4157610a416001600160a01b038416833084610c79565b6001600160a01b038316610ac457816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610aa8575f5ffd5b505af1158015610aba573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b158015610b03575f5ffd5b505af1158015610b15573d5f5f3e3d5ffd5b50505050505050565b6001600160a01b038216610b30575050565b610b4260026001600160601b036115ce565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401610b79929190611585565b602060405180830381865afa158015610b94573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb8919061156e565b1015610bd557610bc982825f610cd9565b610bd582825f19610cd9565b5050565b5f60605f6004845110158015610c07575063032695f960e31b610bfb85611608565b6001600160e01b031916145b905080610c1757505f1993915050565b5f5f610c31866004808951610c2c9190611646565b610dde565b806020019051810190610c44919061165f565b915091508115610c695780806020019051810190610c62919061156e565b9450610c71565b5f1994508093505b505050915091565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610cd3908590610eea565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291515f92839290871691610d3491906114f6565b5f604051808303815f865af19150503d805f8114610d6d576040519150601f19603f3d011682016040523d82523d5f602084013e610d72565b606091505b5091509150818015610d9c575080511580610d9c575080806020019051810190610d9c91906114d6565b610dd75760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016102ae565b5050505050565b606081610dec81601f611720565b1015610e2b5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016102ae565b610e358284611720565b84511015610e795760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102ae565b606082158015610e975760405191505f825260208201604052610ee1565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015610ed0578051835260209283019201610eb8565b5050858452601f01601f1916604052505b50949350505050565b5f610f3e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fbd9092919063ffffffff16565b905080515f1480610f5e575080806020019051810190610f5e91906114d6565b610a415760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ae565b6060610fcb84845f85610fd3565b949350505050565b6060824710156110345760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ae565b5f5f866001600160a01b0316858760405161104f91906114f6565b5f6040518083038185875af1925050503d805f8114611089576040519150601f19603f3d011682016040523d82523d5f602084013e61108e565b606091505b509150915061109f878383876110aa565b979650505050505050565b606083156111185782515f03611111576001600160a01b0385163b6111115760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ae565b5081610fcb565b610fcb838381511561112d5781518083602001fd5b8060405162461bcd60e51b81526004016102ae9190611733565b6001600160a01b038116811461115b575f5ffd5b50565b5f5f5f5f60808587031215611171575f5ffd5b843561117c81611147565b9350602085013561118c81611147565b9250604085013561119c81611147565b9396929550929360600135925050565b5f5f83601f8401126111bc575f5ffd5b5081356001600160401b038111156111d2575f5ffd5b6020830191508360208260051b85010111156111ec575f5ffd5b9250929050565b5f5f5f5f5f60608688031215611207575f5ffd5b85356001600160401b0381111561121c575f5ffd5b611228888289016111ac565b90965094505060208601356001600160401b03811115611246575f5ffd5b611252888289016111ac565b909450925050604086013561126681611147565b809150509295509295909350565b5f8151808452602084019350602083015f5b828110156112a4578151865260209586019590910190600101611286565b5093949350505050565b604081525f6112c06040830185611274565b82810360208401526112d28185611274565b95945050505050565b5f5f5f5f5f5f5f6080888a0312156112f1575f5ffd5b87356112fc81611147565b965060208801356001600160401b03811115611316575f5ffd5b6113228a828b016111ac565b90975095505060408801356001600160401b03811115611340575f5ffd5b61134c8a828b016111ac565b90955093505060608801356001600160401b0381111561136a575f5ffd5b6113768a828b016111ac565b989b979a50959850939692959293505050565b5f5b838110156113a357818101518382015260200161138b565b50505f910152565b5f81518084526113c2816020860160208601611389565b601f01601f19169290920160200192915050565b604081525f6113e86040830185611274565b828103602084015280845180835260208301915060208160051b840101602087015f5b8381101561143d57601f198684030185526114278383516113ab565b602095860195909350919091019060010161140b565b509098975050505050505050565b5f5f5f5f6060858703121561145e575f5ffd5b843561146981611147565b935060208501356001600160401b03811115611483575f5ffd5b61148f878288016111ac565b90945092505060408501356114a381611147565b939692955090935050565b6001600160a01b0391909116815260200190565b805180151581146114d1575f5ffd5b919050565b5f602082840312156114e6575f5ffd5b6114ef826114c2565b9392505050565b5f8251611507818460208701611389565b9190910192915050565b8215158152604060208201525f610fcb60408301846113ab565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611563575f5ffd5b81356114ef81611147565b5f6020828403121561157e575f5ffd5b5051919050565b6001600160a01b0392831681529116602082015260400190565b5f602082840312156115af575f5ffd5b81516114ef81611147565b634e487b7160e01b5f52601160045260245ffd5b5f6001600160601b038316806115f257634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b805160208201516001600160e01b031981169190600482101561163f576001600160e01b0319600483900360031b81901b82161692505b5050919050565b81810381811115611659576116596115ba565b92915050565b5f5f60408385031215611670575f5ffd5b611679836114c2565b60208401519092506001600160401b03811115611694575f5ffd5b8301601f810185136116a4575f5ffd5b80516001600160401b038111156116bd576116bd61152b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156116eb576116eb61152b565b604052818152828201602001871015611702575f5ffd5b611713826020830160208601611389565b8093505050509250929050565b80820180821115611659576116596115ba565b602081525f6114ef60208301846113ab56fea2646970667358221220f5fc2075398d61ec71b01529305baa2dbde7e0dfe63c5e06eaf0c711665ad5d164736f6c634300081e0033";
|
|
177
|
+
"0x60c060405234801561000f575f5ffd5b5060405161181938038061181983398101604081905261002e91610043565b6001600160a01b03166080523060a052610070565b5f60208284031215610053575f5ffd5b81516001600160a01b0381168114610069575f5ffd5b9392505050565b60805160a05161177b61009e5f395f61065f01525f818160ce0152818161012c015261019f015261177b5ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c8063083c1fce1461004e578063152c3db71461006357806319585e1a1461008d5780632d36a6d3146100ae575b5f5ffd5b61006161005c36600461115e565b6100c1565b005b6100766100713660046111f3565b6102b7565b6040516100849291906112ae565b60405180910390f35b6100a061009b3660046112db565b61054b565b6040516100849291906113d6565b6100766100bc36600461144b565b6107ef565b6100cc8285836109f5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156101955750604051637d2d278360e11b81526001600160a01b0384169063fa5a4f0690610154907f0000000000000000000000000000000000000000000000000000000000000000906004016114ae565b602060405180830381865afa15801561016f573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061019391906114d6565b155b156101c9576101c57f00000000000000000000000000000000000000000000000000000000000000005f83610a61565b5f91505b6101d38284610b1e565b5f806001600160a01b03808616908516156101ee575f6101f0565b835b6040513060248201526001600160a01b0387166044820152606481018690525f608482015260a40160408051601f198184030181529181526020820180516001600160e01b03166320e8c56560e01b1790525161024d91906114f6565b5f6040518083038185875af1925050503d805f8114610287576040519150601f19603f3d011682016040523d82523d5f602084013e61028c565b606091505b5091509150818160405163032695f960e31b81526004016102ae929190611511565b60405180910390fd5b6060808584146102fb5760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016102ae565b836001600160401b038111156103135761031361152b565b60405190808252806020026020018201604052801561033c578160200160208202803683370190505b509150836001600160401b038111156103575761035761152b565b604051908082528060200260200182016040528015610380578160200160208202803683370190505b5090505f5b848110156105405787878281811061039f5761039f61153f565b90506020020160208101906103b49190611553565b6001600160a01b03166370a082318787848181106103d4576103d461153f565b90506020020160208101906103e99190611553565b6040518263ffffffff1660e01b815260040161040591906114ae565b602060405180830381865afa158015610420573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610444919061156e565b8382815181106104565761045661153f565b6020026020010181815250508787828181106104745761047461153f565b90506020020160208101906104899190611553565b6001600160a01b031663dd62ed3e8787848181106104a9576104a961153f565b90506020020160208101906104be9190611553565b866040518363ffffffff1660e01b81526004016104dc929190611585565b602060405180830381865afa1580156104f7573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051b919061156e565b82828151811061052d5761052d61153f565b6020908102919091010152600101610385565b509550959350505050565b6060805f8888905090505f8a6001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610592573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b6919061159f565b9050816001600160401b038111156105d0576105d061152b565b6040519080825280602002602001820160405280156105f9578160200160208202803683370190505b509350816001600160401b038111156106145761061461152b565b60405190808252806020026020018201604052801561064757816020015b60608152602001906001900390816106325790505b5092505f5b828110156107e0575f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163063083c1fce8e8e868181106106975761069761153f565b90506020020160208101906106ac9190611553565b868e8e888181106106bf576106bf61153f565b90506020020160208101906106d49190611553565b8d8d898181106106e6576106e661153f565b6040516001600160a01b039687166024820152948616604486015292909416606484015260209091020135608482015260a401905060408051601f198184030181529181526020820180516001600160e01b031660e09490941b93909317909252905161075392506114f6565b5f60405180830381855af49150503d805f811461078b576040519150601f19603f3d011682016040523d82523d5f602084013e610790565b606091505b5091505061079d81610bd9565b8784815181106107af576107af61153f565b602002602001018785815181106107c8576107c861153f565b6020908102919091010191909152525060010161064c565b50505097509795505050505050565b606080836001600160401b0381111561080a5761080a61152b565b604051908082528060200260200182016040528015610833578160200160208202803683370190505b509150836001600160401b0381111561084e5761084e61152b565b604051908082528060200260200182016040528015610877578160200160208202803683370190505b5090505f5b848110156109eb57866001600160a01b03166370a082318787848181106108a5576108a561153f565b90506020020160208101906108ba9190611553565b6040518263ffffffff1660e01b81526004016108d691906114ae565b602060405180830381865afa1580156108f1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610915919061156e565b8382815181106109275761092761153f565b602002602001018181525050866001600160a01b031663dd62ed3e8787848181106109545761095461153f565b90506020020160208101906109699190611553565b866040518363ffffffff1660e01b8152600401610987929190611585565b602060405180830381865afa1580156109a2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c6919061156e565b8282815181106109d8576109d861153f565b602090810291909101015260010161087c565b5094509492505050565b6001600160a01b038316610a4657803414610a415760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102ae565b505050565b8015610a4157610a416001600160a01b038416833084610c79565b6001600160a01b038316610ac457816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610aa8575f5ffd5b505af1158015610aba573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b158015610b03575f5ffd5b505af1158015610b15573d5f5f3e3d5ffd5b50505050505050565b6001600160a01b038216610b30575050565b610b4260026001600160601b036115ce565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401610b79929190611585565b602060405180830381865afa158015610b94573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb8919061156e565b1015610bd557610bc982825f610cd9565b610bd582825f19610cd9565b5050565b5f60605f6004845110158015610c07575063032695f960e31b610bfb85611608565b6001600160e01b031916145b905080610c1757505f1993915050565b5f5f610c31866004808951610c2c9190611646565b610dde565b806020019051810190610c44919061165f565b915091508115610c695780806020019051810190610c62919061156e565b9450610c71565b5f1994508093505b505050915091565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610cd3908590610eea565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291515f92839290871691610d3491906114f6565b5f604051808303815f865af19150503d805f8114610d6d576040519150601f19603f3d011682016040523d82523d5f602084013e610d72565b606091505b5091509150818015610d9c575080511580610d9c575080806020019051810190610d9c91906114d6565b610dd75760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016102ae565b5050505050565b606081610dec81601f611720565b1015610e2b5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016102ae565b610e358284611720565b84511015610e795760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102ae565b606082158015610e975760405191505f825260208201604052610ee1565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015610ed0578051835260209283019201610eb8565b5050858452601f01601f1916604052505b50949350505050565b5f610f3e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fbd9092919063ffffffff16565b905080515f1480610f5e575080806020019051810190610f5e91906114d6565b610a415760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ae565b6060610fcb84845f85610fd3565b949350505050565b6060824710156110345760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ae565b5f5f866001600160a01b0316858760405161104f91906114f6565b5f6040518083038185875af1925050503d805f8114611089576040519150601f19603f3d011682016040523d82523d5f602084013e61108e565b606091505b509150915061109f878383876110aa565b979650505050505050565b606083156111185782515f03611111576001600160a01b0385163b6111115760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ae565b5081610fcb565b610fcb838381511561112d5781518083602001fd5b8060405162461bcd60e51b81526004016102ae9190611733565b6001600160a01b038116811461115b575f5ffd5b50565b5f5f5f5f60808587031215611171575f5ffd5b843561117c81611147565b9350602085013561118c81611147565b9250604085013561119c81611147565b9396929550929360600135925050565b5f5f83601f8401126111bc575f5ffd5b5081356001600160401b038111156111d2575f5ffd5b6020830191508360208260051b85010111156111ec575f5ffd5b9250929050565b5f5f5f5f5f60608688031215611207575f5ffd5b85356001600160401b0381111561121c575f5ffd5b611228888289016111ac565b90965094505060208601356001600160401b03811115611246575f5ffd5b611252888289016111ac565b909450925050604086013561126681611147565b809150509295509295909350565b5f8151808452602084019350602083015f5b828110156112a4578151865260209586019590910190600101611286565b5093949350505050565b604081525f6112c06040830185611274565b82810360208401526112d28185611274565b95945050505050565b5f5f5f5f5f5f5f6080888a0312156112f1575f5ffd5b87356112fc81611147565b965060208801356001600160401b03811115611316575f5ffd5b6113228a828b016111ac565b90975095505060408801356001600160401b03811115611340575f5ffd5b61134c8a828b016111ac565b90955093505060608801356001600160401b0381111561136a575f5ffd5b6113768a828b016111ac565b989b979a50959850939692959293505050565b5f5b838110156113a357818101518382015260200161138b565b50505f910152565b5f81518084526113c2816020860160208601611389565b601f01601f19169290920160200192915050565b604081525f6113e86040830185611274565b828103602084015280845180835260208301915060208160051b840101602087015f5b8381101561143d57601f198684030185526114278383516113ab565b602095860195909350919091019060010161140b565b509098975050505050505050565b5f5f5f5f6060858703121561145e575f5ffd5b843561146981611147565b935060208501356001600160401b03811115611483575f5ffd5b61148f878288016111ac565b90945092505060408501356114a381611147565b939692955090935050565b6001600160a01b0391909116815260200190565b805180151581146114d1575f5ffd5b919050565b5f602082840312156114e6575f5ffd5b6114ef826114c2565b9392505050565b5f8251611507818460208701611389565b9190910192915050565b8215158152604060208201525f610fcb60408301846113ab565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611563575f5ffd5b81356114ef81611147565b5f6020828403121561157e575f5ffd5b5051919050565b6001600160a01b0392831681529116602082015260400190565b5f602082840312156115af575f5ffd5b81516114ef81611147565b634e487b7160e01b5f52601160045260245ffd5b5f6001600160601b038316806115f257634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b805160208201516001600160e01b031981169190600482101561163f576001600160e01b0319600483900360031b81901b82161692505b5050919050565b81810381811115611659576116596115ba565b92915050565b5f5f60408385031215611670575f5ffd5b611679836114c2565b60208401519092506001600160401b03811115611694575f5ffd5b8301601f810185136116a4575f5ffd5b80516001600160401b038111156116bd576116bd61152b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156116eb576116eb61152b565b604052818152828201602001871015611702575f5ffd5b611713826020830160208601611389565b8093505050509250929050565b80820180821115611659576116596115ba565b602081525f6114ef60208301846113ab56fea26469706673582212206fcccea37179cd448a09991b1e037f5f50fd3750e812362d0950ff6453a64a4b64736f6c634300081e0033";
|
|
178
178
|
|
|
179
179
|
type LimitBackendHelperV2ConstructorParams =
|
|
180
180
|
| [signer?: Signer]
|