@pendle/core-v2 1.2.0-mainnet → 1.2.0-testnet
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/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.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/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- 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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +34 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- 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/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 +3 -3
- 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/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- 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/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- 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/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +1218 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +1192 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +40 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +322 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +1171 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +133 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.json +50 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +1163 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -2
- 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/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.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/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.json +66 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +476 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +590 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +1017 -0
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- 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/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.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 +87 -2
- 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/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +10 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +24 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +133 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +328 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +467 -0
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.json +61 -0
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +30 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +398 -0
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +4 -0
- package/build/artifacts/contracts/{router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json → interfaces/Balancer/IRateProvider.sol/IRateProvider.json} +5 -5
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +278 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +18 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.json +308 -0
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.json +43 -0
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.json +201 -0
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.json +45 -0
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.json +48 -0
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.json +93 -0
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +87 -0
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.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/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +338 -16
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +105 -224
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +56 -12
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +52 -8
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +231 -8
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +675 -241
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +19 -0
- 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/IPGovernanceManager.sol/IPGovernanceManager.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 +4 -0
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.json +40 -0
- 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/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.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 +4 -0
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.json +679 -0
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +143 -0
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -28
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +322 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +47 -0
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +144 -60
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +345 -62
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +107 -260
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +57 -18
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +54 -65
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +342 -44
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +76 -67
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +4 -0
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.json +141 -0
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -15
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.json +56 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.json +72 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +388 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.json +101 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +0 -1
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +9 -9
- package/contracts/core/RewardManager/RewardManager.sol +1 -1
- package/contracts/core/StandardizedYield/SYBase.sol +23 -5
- package/contracts/core/StandardizedYield/StEthHelper.sol +71 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +134 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +154 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +68 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +322 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +390 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +329 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +30 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +189 -0
- package/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol +142 -0
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +224 -0
- package/contracts/core/StandardizedYield/implementations/GLP/README.md +61 -0
- package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +138 -0
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +10 -0
- package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +114 -0
- package/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol +63 -0
- package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +200 -0
- package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +485 -0
- package/contracts/core/libraries/ArrayLib.sol +27 -12
- package/contracts/core/libraries/Errors.sol +8 -2
- package/contracts/core/libraries/TokenHelper.sol +10 -0
- package/contracts/interfaces/Balancer/IAsset.sol +4 -0
- package/contracts/interfaces/Balancer/IBalancerFees.sol +6 -0
- package/contracts/interfaces/Balancer/IBalancerStablePreview.sol +22 -0
- package/contracts/interfaces/Balancer/IBasePool.sol +30 -0
- package/contracts/interfaces/Balancer/IComposableStable.sol +39 -0
- package/contracts/interfaces/Balancer/IGauge.sol +10 -0
- package/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol +6 -0
- package/contracts/interfaces/Balancer/IMetaStablePool.sol +31 -0
- package/contracts/interfaces/Balancer/IRateProvider.sol +6 -0
- package/contracts/interfaces/Balancer/IVault.sol +78 -0
- package/contracts/interfaces/ConvexCurve/IRewards.sol +5 -0
- package/contracts/interfaces/GMX/IGMXVault.sol +47 -0
- package/contracts/interfaces/GMX/IGlpManager.sol +12 -0
- package/contracts/interfaces/GMX/IRewardRouterV2.sol +43 -0
- package/contracts/interfaces/GMX/IVaultPriceFeed.sol +11 -0
- package/contracts/interfaces/IAddressProvider.sol +7 -0
- package/contracts/interfaces/IDiamondCut.sol +36 -0
- package/contracts/interfaces/IDiamondLoupe.sol +38 -0
- package/contracts/interfaces/IERC4626.sol +2 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +36 -1
- package/contracts/interfaces/IPActionInfoStatic.sol +43 -0
- package/contracts/interfaces/IPActionMarketAuxStatic.sol +30 -0
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +317 -0
- package/contracts/interfaces/IPActionMintRedeem.sol +2 -55
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +60 -0
- package/contracts/interfaces/IPActionMisc.sol +18 -4
- package/contracts/interfaces/IPActionStorageStatic.sol +25 -0
- package/contracts/interfaces/IPActionSwapPT.sol +1 -1
- package/contracts/interfaces/IPActionSwapYT.sol +28 -4
- package/contracts/interfaces/IPActionVePendleStatic.sol +9 -0
- package/contracts/interfaces/IPAllAction.sol +5 -3
- package/contracts/interfaces/IPInterestManagerYTV2.sol +13 -0
- package/contracts/interfaces/IPMiniDiamond.sol +12 -0
- package/contracts/interfaces/IPMsgReceiverApp.sol +1 -1
- package/contracts/interfaces/IPRouterStatic.sol +19 -0
- package/contracts/interfaces/IPVotingController.sol +6 -0
- package/contracts/interfaces/IPYieldTokenV2.sol +66 -0
- package/contracts/interfaces/IStandardizedYield.sol +1 -1
- package/contracts/offchain-helpers/AddressProvider.sol +16 -0
- package/contracts/offchain-helpers/Broadcaster.sol +48 -0
- package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
- package/contracts/offchain-helpers/{MarketMathStatic.sol → legacy/MarketMathStatic.sol} +2 -2
- package/contracts/offchain-helpers/{RouterStatic.sol → legacy/RouterStatic.sol} +7 -7
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
- package/contracts/offchain-helpers/router-static/StorageLayout.sol +21 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +125 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +166 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +769 -0
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +166 -0
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +75 -0
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
- package/contracts/router/ActionAddRemoveLiq.sol +116 -6
- package/contracts/router/ActionMintRedeem.sol +12 -202
- package/contracts/router/ActionMisc.sol +45 -19
- package/contracts/router/ActionSwapPT.sol +0 -5
- package/contracts/router/ActionSwapYT.sol +103 -13
- package/contracts/router/PendleRouter.sol +211 -72
- package/contracts/router/{ActionCallback.sol → base/ActionBaseCallback.sol} +47 -47
- package/contracts/router/base/ActionBaseMintRedeem.sol +105 -60
- package/contracts/router/base/CallbackHelper.sol +137 -44
- package/contracts/router/base/MarketApproxLib.sol +227 -350
- package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +45 -0
- package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +69 -0
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +25 -0
- package/contracts/router/swap-aggregator/PendleSwapAggregator.sol +46 -0
- package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +214 -0
- package/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol +147 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol +191 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol +30 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
- package/deployments/43113-core.json +30 -0
- package/deployments/43113-markets/APE-30-MARCH.json +10 -0
- package/deployments/43113-markets/USDC-FEB-2ND-2024.json +10 -0
- package/deployments/43113-markets/USDC-FEB-2ND.json +10 -0
- package/deployments/43113-markets/USDC-FEB-4TH.json +10 -0
- package/deployments/43113-markets/WETH-FEB-2ND.json +11 -0
- package/deployments/43113-markets/WETH-FEB-4TH.json +11 -0
- package/deployments/43113-offchain-helper.json +4 -0
- package/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +29 -0
- package/deployments/80001-markets/GLP-DEC-8TH.json +10 -0
- package/deployments/80001-markets/USDC-DEC-8TH.json +10 -0
- package/deployments/80001-markets/USDC-FEB-4TH.json +10 -0
- package/deployments/80001-markets/WETH-FEB-4TH.json +11 -0
- package/deployments/80001-offchain-helper.json +4 -0
- package/deployments/80001-testenv.json +22 -0
- package/package.json +9 -10
- package/typechain-types/ActionAddRemoveLiq.ts +203 -23
- package/typechain-types/ActionBaseCallback.ts +115 -0
- package/typechain-types/ActionMintRedeem.ts +29 -230
- package/typechain-types/ActionMisc.ts +77 -27
- package/typechain-types/ActionSwapPT.ts +26 -31
- package/typechain-types/ActionSwapYT.ts +202 -21
- package/typechain-types/AddressProvider.ts +280 -0
- package/typechain-types/ComposableStablePreview.ts +217 -0
- package/typechain-types/GLPPreviewHelper.ts +121 -0
- package/typechain-types/GMXPreviewHelper.ts +121 -0
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAddressProvider.ts +123 -0
- package/typechain-types/IAggregationExecutor.ts +182 -0
- package/typechain-types/IBalancerFees.ts +89 -0
- package/typechain-types/IBalancerStablePreview.ts +217 -0
- package/typechain-types/IBasePool.ts +482 -0
- package/typechain-types/IComposableStable.ts +730 -0
- package/typechain-types/IDiamondCut.ts +152 -0
- package/typechain-types/IDiamondLoupe.ts +190 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
- package/typechain-types/IGMXVault.ts +494 -0
- package/typechain-types/IGauge.ts +160 -0
- package/typechain-types/IGlpManager.ts +115 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/ILiquidityGaugeFactory.ts +99 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
- package/typechain-types/IMetaStablePool.ts +619 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +213 -14
- package/typechain-types/IPActionMintRedeem.ts +29 -211
- package/typechain-types/IPActionMisc.ts +77 -27
- package/typechain-types/IPActionSwapPT.ts +26 -12
- package/typechain-types/IPActionSwapYT.ts +168 -12
- package/typechain-types/IPAllAction.ts +445 -227
- package/typechain-types/IPFeeDistributor.ts +18 -0
- package/typechain-types/IPInterestManagerYTV2.ts +117 -0
- package/typechain-types/IPMsgReceiverApp.ts +5 -5
- package/typechain-types/IPSwapAggregator.ts +126 -0
- package/typechain-types/IPYieldTokenV2.ts +901 -0
- package/typechain-types/IRateProvider.ts +81 -0
- package/typechain-types/IRewardRouterV2.ts +346 -0
- package/typechain-types/IRewards.ts +35 -5
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/IVault.ts +410 -0
- package/typechain-types/IVaultPriceFeed.ts +114 -0
- package/typechain-types/InterestManagerYTV2.ts +157 -0
- package/typechain-types/MetaStableMath.ts +113 -0
- package/typechain-types/MetaStablePreview.ts +501 -0
- package/typechain-types/Multicall2.ts +437 -0
- package/typechain-types/PendleAura3EthSY.ts +1600 -0
- package/typechain-types/PendleAuraBalancerStableLPSY.ts +1523 -0
- package/typechain-types/PendleAuraCbethWstethSY.ts +1587 -0
- package/typechain-types/PendleAuraWethRethSY.ts +1549 -0
- package/typechain-types/PendleAuraWethWstethSY.ts +1523 -0
- package/typechain-types/PendleConvexLPSY.ts +204 -0
- package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
- package/typechain-types/PendleFeeDistributor.ts +37 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +4 -4
- package/typechain-types/PendleGlpSY.ts +1463 -0
- package/typechain-types/PendleLooksStakingSY.ts +204 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +5 -5
- package/typechain-types/PendleMulticall.ts +110 -0
- package/typechain-types/PendlePrincipalTokenV2.ts +614 -0
- package/typechain-types/PendleQiTokenSY.ts +204 -0
- package/typechain-types/PendleRouter.ts +109 -131
- package/typechain-types/PendleSwapAggregator.ts +126 -0
- package/typechain-types/PendleWstEthSY.ts +204 -0
- package/typechain-types/PendleYieldContractFactoryV2.ts +801 -0
- package/typechain-types/PendleYieldTokenV2.ts +1298 -0
- package/typechain-types/RouterStatic.ts +92 -0
- package/typechain-types/SAPE.ts +204 -0
- package/typechain-types/SYBase.ts +204 -0
- package/typechain-types/SYBaseWithRewards.ts +204 -0
- package/typechain-types/StEthHelper.ts +107 -0
- package/typechain-types/StablePreviewBase.ts +217 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +4 -5
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +346 -68
- package/typechain-types/factories/ActionBaseCallback__factory.ts +156 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +108 -266
- package/typechain-types/factories/ActionMisc__factory.ts +56 -17
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +55 -71
- package/typechain-types/factories/ActionSwapYT__factory.ts +356 -48
- package/typechain-types/factories/AddressProvider__factory.ts +196 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/ComposableStablePreview__factory.ts +190 -0
- package/typechain-types/factories/Errors__factory.ts +86 -1
- package/typechain-types/factories/GLPPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAddressProvider__factory.ts +63 -0
- package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
- package/typechain-types/factories/IBalancerFees__factory.ts +36 -0
- package/typechain-types/factories/IBalancerStablePreview__factory.ts +152 -0
- package/typechain-types/factories/IBasePool__factory.ts +340 -0
- package/typechain-types/factories/IComposableStable__factory.ts +482 -0
- package/typechain-types/factories/IDiamondCut__factory.ts +105 -0
- package/typechain-types/factories/IDiamondLoupe__factory.ts +99 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
- package/typechain-types/factories/IGMXVault__factory.ts +320 -0
- package/typechain-types/factories/IGauge__factory.ts +70 -0
- package/typechain-types/factories/IGlpManager__factory.ts +55 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +49 -0
- package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IMetaStablePool__factory.ts +413 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +338 -16
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +105 -224
- package/typechain-types/factories/IPActionMisc__factory.ts +55 -11
- package/typechain-types/factories/IPActionSwapPT__factory.ts +52 -8
- package/typechain-types/factories/IPActionSwapYT__factory.ts +231 -8
- package/typechain-types/factories/IPAllAction__factory.ts +675 -241
- package/typechain-types/factories/IPFeeDistributor__factory.ts +19 -0
- package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +59 -0
- package/typechain-types/factories/IPMsgReceiverApp__factory.ts +1 -1
- package/typechain-types/factories/IPSwapAggregator__factory.ts +71 -0
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +694 -0
- package/typechain-types/factories/IRateProvider__factory.ts +36 -0
- package/typechain-types/factories/IRewardRouterV2__factory.ts +216 -0
- package/typechain-types/factories/IRewards__factory.ts +18 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/IVaultPriceFeed__factory.ts +60 -0
- package/typechain-types/factories/IVault__factory.ts +287 -0
- package/typechain-types/factories/InterestManagerYTV2__factory.ts +81 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -27
- package/typechain-types/factories/MetaStableMath__factory.ts +93 -0
- package/typechain-types/factories/MetaStablePreview__factory.ts +375 -0
- package/typechain-types/factories/Multicall2__factory.ts +372 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +1326 -0
- package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +1190 -0
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1317 -0
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1291 -0
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1265 -0
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +142 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +33 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +2 -2
- package/typechain-types/factories/PendleGlpSY__factory.ts +1249 -0
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +142 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticall__factory.ts +100 -0
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +564 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
- package/typechain-types/factories/PendleRouter__factory.ts +75 -74
- package/typechain-types/factories/PendleSwapAggregator__factory.ts +129 -0
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +674 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1109 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +69 -1
- package/typechain-types/factories/SAPE__factory.ts +142 -1
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
- package/typechain-types/factories/SYBase__factory.ts +141 -0
- package/typechain-types/factories/StEthHelper__factory.ts +62 -0
- package/typechain-types/factories/StablePreviewBase__factory.ts +148 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -2
- package/typechain-types/hardhat.d.ts +369 -54
- package/typechain-types/index.ts +88 -18
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +0 -190
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +0 -165
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +0 -343
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -224
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +0 -35
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.json +0 -136
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +0 -10
- package/contracts/interfaces/IPActionSwapPTYT.sol +0 -31
- package/contracts/router/ActionSwapPTYT.sol +0 -108
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +0 -331
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
- package/contracts/router/kyberswap/IMultihopRouterEthereum.sol +0 -141
- package/contracts/router/kyberswap/KyberSwapHelper.sol +0 -79
- package/deployments/1-core.json +0 -30
- package/deployments/1-markets/APE-JUNE-29.json +0 -8
- package/deployments/1-markets/FRAXUSDC-CURVELP-MARCH30.json +0 -11
- package/deployments/1-markets/LOOKS-STAKING-MARCH30.json +0 -10
- package/deployments/1-markets/STETH-JUNE29.json +0 -10
- package/deployments/1-markets/STETH-MARCH30.json +0 -10
|
@@ -0,0 +1,564 @@
|
|
|
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
|
+
PendlePrincipalTokenV2,
|
|
15
|
+
PendlePrincipalTokenV2Interface,
|
|
16
|
+
} from "../PendlePrincipalTokenV2";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_SY",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "string",
|
|
28
|
+
name: "_name",
|
|
29
|
+
type: "string",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "string",
|
|
33
|
+
name: "_symbol",
|
|
34
|
+
type: "string",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "uint8",
|
|
38
|
+
name: "__decimals",
|
|
39
|
+
type: "uint8",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
internalType: "uint256",
|
|
43
|
+
name: "_expiry",
|
|
44
|
+
type: "uint256",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
stateMutability: "nonpayable",
|
|
48
|
+
type: "constructor",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [],
|
|
52
|
+
name: "OnlyYCFactory",
|
|
53
|
+
type: "error",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [],
|
|
57
|
+
name: "OnlyYT",
|
|
58
|
+
type: "error",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
anonymous: false,
|
|
62
|
+
inputs: [
|
|
63
|
+
{
|
|
64
|
+
indexed: true,
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "owner",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
indexed: true,
|
|
71
|
+
internalType: "address",
|
|
72
|
+
name: "spender",
|
|
73
|
+
type: "address",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
indexed: false,
|
|
77
|
+
internalType: "uint256",
|
|
78
|
+
name: "value",
|
|
79
|
+
type: "uint256",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
name: "Approval",
|
|
83
|
+
type: "event",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
anonymous: false,
|
|
87
|
+
inputs: [
|
|
88
|
+
{
|
|
89
|
+
indexed: false,
|
|
90
|
+
internalType: "uint8",
|
|
91
|
+
name: "version",
|
|
92
|
+
type: "uint8",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
name: "Initialized",
|
|
96
|
+
type: "event",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
anonymous: false,
|
|
100
|
+
inputs: [
|
|
101
|
+
{
|
|
102
|
+
indexed: true,
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "from",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
indexed: true,
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "to",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
indexed: false,
|
|
115
|
+
internalType: "uint256",
|
|
116
|
+
name: "value",
|
|
117
|
+
type: "uint256",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "Transfer",
|
|
121
|
+
type: "event",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
inputs: [],
|
|
125
|
+
name: "DOMAIN_SEPARATOR",
|
|
126
|
+
outputs: [
|
|
127
|
+
{
|
|
128
|
+
internalType: "bytes32",
|
|
129
|
+
name: "",
|
|
130
|
+
type: "bytes32",
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
stateMutability: "view",
|
|
134
|
+
type: "function",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
inputs: [],
|
|
138
|
+
name: "SY",
|
|
139
|
+
outputs: [
|
|
140
|
+
{
|
|
141
|
+
internalType: "address",
|
|
142
|
+
name: "",
|
|
143
|
+
type: "address",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
stateMutability: "view",
|
|
147
|
+
type: "function",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
inputs: [],
|
|
151
|
+
name: "YT",
|
|
152
|
+
outputs: [
|
|
153
|
+
{
|
|
154
|
+
internalType: "address",
|
|
155
|
+
name: "",
|
|
156
|
+
type: "address",
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
stateMutability: "view",
|
|
160
|
+
type: "function",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
inputs: [
|
|
164
|
+
{
|
|
165
|
+
internalType: "address",
|
|
166
|
+
name: "owner",
|
|
167
|
+
type: "address",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
internalType: "address",
|
|
171
|
+
name: "spender",
|
|
172
|
+
type: "address",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
name: "allowance",
|
|
176
|
+
outputs: [
|
|
177
|
+
{
|
|
178
|
+
internalType: "uint256",
|
|
179
|
+
name: "",
|
|
180
|
+
type: "uint256",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
stateMutability: "view",
|
|
184
|
+
type: "function",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
inputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "address",
|
|
190
|
+
name: "spender",
|
|
191
|
+
type: "address",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
internalType: "uint256",
|
|
195
|
+
name: "amount",
|
|
196
|
+
type: "uint256",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
name: "approve",
|
|
200
|
+
outputs: [
|
|
201
|
+
{
|
|
202
|
+
internalType: "bool",
|
|
203
|
+
name: "",
|
|
204
|
+
type: "bool",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
stateMutability: "nonpayable",
|
|
208
|
+
type: "function",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [
|
|
212
|
+
{
|
|
213
|
+
internalType: "address",
|
|
214
|
+
name: "account",
|
|
215
|
+
type: "address",
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
name: "balanceOf",
|
|
219
|
+
outputs: [
|
|
220
|
+
{
|
|
221
|
+
internalType: "uint256",
|
|
222
|
+
name: "",
|
|
223
|
+
type: "uint256",
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
stateMutability: "view",
|
|
227
|
+
type: "function",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
inputs: [
|
|
231
|
+
{
|
|
232
|
+
internalType: "address",
|
|
233
|
+
name: "user",
|
|
234
|
+
type: "address",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
internalType: "uint256",
|
|
238
|
+
name: "amount",
|
|
239
|
+
type: "uint256",
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
name: "burnByYT",
|
|
243
|
+
outputs: [],
|
|
244
|
+
stateMutability: "nonpayable",
|
|
245
|
+
type: "function",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
inputs: [],
|
|
249
|
+
name: "decimals",
|
|
250
|
+
outputs: [
|
|
251
|
+
{
|
|
252
|
+
internalType: "uint8",
|
|
253
|
+
name: "",
|
|
254
|
+
type: "uint8",
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
stateMutability: "view",
|
|
258
|
+
type: "function",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
inputs: [],
|
|
262
|
+
name: "expiry",
|
|
263
|
+
outputs: [
|
|
264
|
+
{
|
|
265
|
+
internalType: "uint256",
|
|
266
|
+
name: "",
|
|
267
|
+
type: "uint256",
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
stateMutability: "view",
|
|
271
|
+
type: "function",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
inputs: [],
|
|
275
|
+
name: "factory",
|
|
276
|
+
outputs: [
|
|
277
|
+
{
|
|
278
|
+
internalType: "address",
|
|
279
|
+
name: "",
|
|
280
|
+
type: "address",
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
stateMutability: "view",
|
|
284
|
+
type: "function",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
inputs: [
|
|
288
|
+
{
|
|
289
|
+
internalType: "address",
|
|
290
|
+
name: "_YT",
|
|
291
|
+
type: "address",
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
name: "initialize",
|
|
295
|
+
outputs: [],
|
|
296
|
+
stateMutability: "nonpayable",
|
|
297
|
+
type: "function",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
inputs: [],
|
|
301
|
+
name: "isExpired",
|
|
302
|
+
outputs: [
|
|
303
|
+
{
|
|
304
|
+
internalType: "bool",
|
|
305
|
+
name: "",
|
|
306
|
+
type: "bool",
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
stateMutability: "view",
|
|
310
|
+
type: "function",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
inputs: [
|
|
314
|
+
{
|
|
315
|
+
internalType: "address",
|
|
316
|
+
name: "user",
|
|
317
|
+
type: "address",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
internalType: "uint256",
|
|
321
|
+
name: "amount",
|
|
322
|
+
type: "uint256",
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
name: "mintByYT",
|
|
326
|
+
outputs: [],
|
|
327
|
+
stateMutability: "nonpayable",
|
|
328
|
+
type: "function",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
inputs: [],
|
|
332
|
+
name: "name",
|
|
333
|
+
outputs: [
|
|
334
|
+
{
|
|
335
|
+
internalType: "string",
|
|
336
|
+
name: "",
|
|
337
|
+
type: "string",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
stateMutability: "view",
|
|
341
|
+
type: "function",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
inputs: [
|
|
345
|
+
{
|
|
346
|
+
internalType: "address",
|
|
347
|
+
name: "owner",
|
|
348
|
+
type: "address",
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
name: "nonces",
|
|
352
|
+
outputs: [
|
|
353
|
+
{
|
|
354
|
+
internalType: "uint256",
|
|
355
|
+
name: "",
|
|
356
|
+
type: "uint256",
|
|
357
|
+
},
|
|
358
|
+
],
|
|
359
|
+
stateMutability: "view",
|
|
360
|
+
type: "function",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
inputs: [
|
|
364
|
+
{
|
|
365
|
+
internalType: "address",
|
|
366
|
+
name: "owner",
|
|
367
|
+
type: "address",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
internalType: "address",
|
|
371
|
+
name: "spender",
|
|
372
|
+
type: "address",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
internalType: "uint256",
|
|
376
|
+
name: "value",
|
|
377
|
+
type: "uint256",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
internalType: "uint256",
|
|
381
|
+
name: "deadline",
|
|
382
|
+
type: "uint256",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
internalType: "uint8",
|
|
386
|
+
name: "v",
|
|
387
|
+
type: "uint8",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
internalType: "bytes32",
|
|
391
|
+
name: "r",
|
|
392
|
+
type: "bytes32",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
internalType: "bytes32",
|
|
396
|
+
name: "s",
|
|
397
|
+
type: "bytes32",
|
|
398
|
+
},
|
|
399
|
+
],
|
|
400
|
+
name: "permit",
|
|
401
|
+
outputs: [],
|
|
402
|
+
stateMutability: "nonpayable",
|
|
403
|
+
type: "function",
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
inputs: [],
|
|
407
|
+
name: "symbol",
|
|
408
|
+
outputs: [
|
|
409
|
+
{
|
|
410
|
+
internalType: "string",
|
|
411
|
+
name: "",
|
|
412
|
+
type: "string",
|
|
413
|
+
},
|
|
414
|
+
],
|
|
415
|
+
stateMutability: "view",
|
|
416
|
+
type: "function",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
inputs: [],
|
|
420
|
+
name: "totalSupply",
|
|
421
|
+
outputs: [
|
|
422
|
+
{
|
|
423
|
+
internalType: "uint256",
|
|
424
|
+
name: "",
|
|
425
|
+
type: "uint256",
|
|
426
|
+
},
|
|
427
|
+
],
|
|
428
|
+
stateMutability: "view",
|
|
429
|
+
type: "function",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
inputs: [
|
|
433
|
+
{
|
|
434
|
+
internalType: "address",
|
|
435
|
+
name: "to",
|
|
436
|
+
type: "address",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
internalType: "uint256",
|
|
440
|
+
name: "amount",
|
|
441
|
+
type: "uint256",
|
|
442
|
+
},
|
|
443
|
+
],
|
|
444
|
+
name: "transfer",
|
|
445
|
+
outputs: [
|
|
446
|
+
{
|
|
447
|
+
internalType: "bool",
|
|
448
|
+
name: "",
|
|
449
|
+
type: "bool",
|
|
450
|
+
},
|
|
451
|
+
],
|
|
452
|
+
stateMutability: "nonpayable",
|
|
453
|
+
type: "function",
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
inputs: [
|
|
457
|
+
{
|
|
458
|
+
internalType: "address",
|
|
459
|
+
name: "from",
|
|
460
|
+
type: "address",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
internalType: "address",
|
|
464
|
+
name: "to",
|
|
465
|
+
type: "address",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
internalType: "uint256",
|
|
469
|
+
name: "amount",
|
|
470
|
+
type: "uint256",
|
|
471
|
+
},
|
|
472
|
+
],
|
|
473
|
+
name: "transferFrom",
|
|
474
|
+
outputs: [
|
|
475
|
+
{
|
|
476
|
+
internalType: "bool",
|
|
477
|
+
name: "",
|
|
478
|
+
type: "bool",
|
|
479
|
+
},
|
|
480
|
+
],
|
|
481
|
+
stateMutability: "nonpayable",
|
|
482
|
+
type: "function",
|
|
483
|
+
},
|
|
484
|
+
];
|
|
485
|
+
|
|
486
|
+
const _bytecode =
|
|
487
|
+
"0x6101c06040523480156200001257600080fd5b5060405162001ad038038062001ad0833981016040819052620000359162000223565b83838382604051806040016040528060018152602001603160f81b815250848484826003908162000067919062000362565b50600462000076838262000362565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001298184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e05261014052505050506001600160a01b03979097166101605250506101a05250503361018052506200042e9050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018657600080fd5b81516001600160401b0380821115620001a357620001a36200015e565b604051601f8301601f19908116603f01168101908282118183101715620001ce57620001ce6200015e565b81604052838152602092508683858801011115620001eb57600080fd5b600091505b838210156200020f5785820183015181830184015290820190620001f0565b600093810190920192909252949350505050565b600080600080600060a086880312156200023c57600080fd5b85516001600160a01b03811681146200025457600080fd5b60208701519095506001600160401b03808211156200027257600080fd5b6200028089838a0162000174565b955060408801519150808211156200029757600080fd5b50620002a68882890162000174565b935050606086015160ff81168114620002be57600080fd5b80925050608086015190509295509295909350565b600181811c90821680620002e857607f821691505b6020821081036200030957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035d57600081815260208120601f850160051c81016020861015620003385750805b601f850160051c820191505b81811015620003595782815560010162000344565b5050505b505050565b81516001600160401b038111156200037e576200037e6200015e565b62000396816200038f8454620002d3565b846200030f565b602080601f831160018114620003ce5760008415620003b55750858301515b600019600386901b1c1916600185901b17855562000359565b600085815260208120601f198616915b82811015620003ff57888601518255948401946001909101908401620003de565b50858210156200041e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051611618620004b86000396000818161018701526103160152600081816102b6015261065e0152600061027c01526000610de001526000610e2f01526000610e0a01526000610d6301526000610d8d01526000610db7015260006101b301526116186000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c806306fdde0314610101578063095ea7b31461011f57806312a31dcc1461014257806318160ddd1461015757806323b872dd146101725780632f13b60c14610185578063313ce567146101ae5780633644e515146101e757806370a08231146101ef578063781c18db146102185780637ecebe001461024957806395d89b411461025c578063a9059cbb14610264578063afd27bf514610277578063b64761f91461029e578063c45a0155146102b1578063c4d66de8146102d8578063d505accf146102eb578063dd62ed3e146102fe578063e184c9be14610311575b600080fd5b610109610338565b6040516101169190611339565b60405180910390f35b61013261012d3660046113a3565b6103ca565b6040519015158152602001610116565b6101556101503660046113a3565b6103e4565b005b6002546001600160f81b03165b604051908152602001610116565b6101326101803660046113cd565b610423565b7f0000000000000000000000000000000000000000000000000000000000000000421015610132565b6101d57f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610116565b6101646104af565b6101646101fd366004611409565b6001600160a01b031660009081526020819052604090205490565b600654610231906201000090046001600160a01b031681565b6040516001600160a01b039091168152602001610116565b610164610257366004611409565b6104b9565b6101096104d7565b6101326102723660046113a3565b6104e6565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6101556102ac3660046113a3565b610558565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6101556102e6366004611409565b610593565b6101556102f936600461142b565b610707565b61016461030c36600461149e565b61086b565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b606060038054610347906114d1565b80601f0160208091040260200160405190810160405280929190818152602001828054610373906114d1565b80156103c05780601f10610395576101008083540402835291602001916103c0565b820191906000526020600020905b8154815290600101906020018083116103a357829003601f168201915b5050505050905090565b6000336103d8818585610896565b60019150505b92915050565b6006546201000090046001600160a01b0316331461041557604051631622975360e31b815260040160405180910390fd5b61041f82826109bb565b5050565b600254600090600119600160f81b90910460ff160161045d5760405162461bcd60e51b815260040161045490611505565b60405180910390fd5b600280546001600160f81b0316600160f91b1790553361047e858285610ac5565b610489858585610b3f565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b905090565b60006104aa610d56565b6001600160a01b0381166000908152600560205260408120546103de565b606060048054610347906114d1565b600254600090600119600160f81b90910460ff16016105175760405162461bcd60e51b815260040161045490611505565b600280546001600160f81b0316600160f91b17905533610538818585610b3f565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6006546201000090046001600160a01b0316331461058957604051631622975360e31b815260040160405180910390fd5b61041f8282610e7d565b600654610100900460ff16158080156105b35750600654600160ff909116105b806105cd5750303b1580156105cd575060065460ff166001145b6106305760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610454565b6006805460ff191660011790558015610653576006805461ff0019166101001790555b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461069c5760405163fe10817360e01b815260040160405180910390fd5b6006805462010000600160b01b031916620100006001600160a01b03851602179055801561041f576006805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b834211156107575760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610454565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886107868c610fea565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006107e182611012565b905060006107f182878787611060565b9050896001600160a01b0316816001600160a01b0316146108545760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610454565b61085f8a8a8a610896565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166108f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610454565b6001600160a01b0382166109595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610454565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610a115760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610454565b610a1a81611088565b60028054600090610a359084906001600160f81b0316611552565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254610a8d9190611579565b90915550506040518181526001600160a01b038316906000906000805160206115c38339815191529060200160405180910390a35050565b6000610ad1848461086b565b90506000198114610b395781811015610b2c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610454565b610b398484848403610896565b50505050565b6001600160a01b038316610ba35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610454565b6001600160a01b038216610c055760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610454565b816001600160a01b0316836001600160a01b031603610c605760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610454565b6001600160a01b03831660009081526020819052604090205481811015610cd85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610454565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d0f908490611579565b92505081905550826001600160a01b0316846001600160a01b03166000805160206115c383398151915284604051610d4991815260200190565b60405180910390a3610b39565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610daf57507f000000000000000000000000000000000000000000000000000000000000000046145b15610dd957507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216610edd5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610454565b6001600160a01b03821660009081526020819052604090205481811015610f515760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610454565b6001600160a01b03831660009081526020819052604090208282039055610f7782611088565b60028054600090610f929084906001600160f81b031661158c565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206115c3833981519152846040516109ae91815260200190565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006103de61101f610d56565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611071878787876110a2565b9150915061107e81611185565b5095945050505050565b60006001600160f81b0382111561109e57600080fd5b5090565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156110cf575060009050600361117c565b8460ff16601b141580156110e757508460ff16601c14155b156110f8575060009050600461117c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561114c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111755760006001925092505061117c565b9150600090505b94509492505050565b6000816004811115611199576111996115ac565b036111a15750565b60018160048111156111b5576111b56115ac565b036111fd5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610454565b6002816004811115611211576112116115ac565b0361125e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610454565b6003816004811115611272576112726115ac565b036112ca5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610454565b60048160048111156112de576112de6115ac565b036113365760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610454565b50565b600060208083528351808285015260005b818110156113665785810183015185820160400152820161134a565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461139e57600080fd5b919050565b600080604083850312156113b657600080fd5b6113bf83611387565b946020939093013593505050565b6000806000606084860312156113e257600080fd5b6113eb84611387565b92506113f960208501611387565b9150604084013590509250925092565b60006020828403121561141b57600080fd5b61142482611387565b9392505050565b600080600080600080600060e0888a03121561144657600080fd5b61144f88611387565b965061145d60208901611387565b95506040880135945060608801359350608088013560ff8116811461148157600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156114b157600080fd5b6114ba83611387565b91506114c860208401611387565b90509250929050565b600181811c908216806114e557607f821691505b60208210810361100c57634e487b7160e01b600052602260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b038181168382160190808211156115725761157261153c565b5092915050565b808201808211156103de576103de61153c565b6001600160f81b038281168282160390808211156115725761157261153c565b634e487b7160e01b600052602160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122002e345efef1de9ce099421db9f4900e6f3a11ca74e43aaed8a19e4a1bcef221964736f6c63430008110033";
|
|
488
|
+
|
|
489
|
+
type PendlePrincipalTokenV2ConstructorParams =
|
|
490
|
+
| [signer?: Signer]
|
|
491
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
492
|
+
|
|
493
|
+
const isSuperArgs = (
|
|
494
|
+
xs: PendlePrincipalTokenV2ConstructorParams
|
|
495
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
496
|
+
|
|
497
|
+
export class PendlePrincipalTokenV2__factory extends ContractFactory {
|
|
498
|
+
constructor(...args: PendlePrincipalTokenV2ConstructorParams) {
|
|
499
|
+
if (isSuperArgs(args)) {
|
|
500
|
+
super(...args);
|
|
501
|
+
} else {
|
|
502
|
+
super(_abi, _bytecode, args[0]);
|
|
503
|
+
}
|
|
504
|
+
this.contractName = "PendlePrincipalTokenV2";
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
deploy(
|
|
508
|
+
_SY: string,
|
|
509
|
+
_name: string,
|
|
510
|
+
_symbol: string,
|
|
511
|
+
__decimals: BigNumberish,
|
|
512
|
+
_expiry: BigNumberish,
|
|
513
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
514
|
+
): Promise<PendlePrincipalTokenV2> {
|
|
515
|
+
return super.deploy(
|
|
516
|
+
_SY,
|
|
517
|
+
_name,
|
|
518
|
+
_symbol,
|
|
519
|
+
__decimals,
|
|
520
|
+
_expiry,
|
|
521
|
+
overrides || {}
|
|
522
|
+
) as Promise<PendlePrincipalTokenV2>;
|
|
523
|
+
}
|
|
524
|
+
getDeployTransaction(
|
|
525
|
+
_SY: string,
|
|
526
|
+
_name: string,
|
|
527
|
+
_symbol: string,
|
|
528
|
+
__decimals: BigNumberish,
|
|
529
|
+
_expiry: BigNumberish,
|
|
530
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
531
|
+
): TransactionRequest {
|
|
532
|
+
return super.getDeployTransaction(
|
|
533
|
+
_SY,
|
|
534
|
+
_name,
|
|
535
|
+
_symbol,
|
|
536
|
+
__decimals,
|
|
537
|
+
_expiry,
|
|
538
|
+
overrides || {}
|
|
539
|
+
);
|
|
540
|
+
}
|
|
541
|
+
attach(address: string): PendlePrincipalTokenV2 {
|
|
542
|
+
return super.attach(address) as PendlePrincipalTokenV2;
|
|
543
|
+
}
|
|
544
|
+
connect(signer: Signer): PendlePrincipalTokenV2__factory {
|
|
545
|
+
return super.connect(signer) as PendlePrincipalTokenV2__factory;
|
|
546
|
+
}
|
|
547
|
+
static readonly contractName: "PendlePrincipalTokenV2";
|
|
548
|
+
public readonly contractName: "PendlePrincipalTokenV2";
|
|
549
|
+
static readonly bytecode = _bytecode;
|
|
550
|
+
static readonly abi = _abi;
|
|
551
|
+
static createInterface(): PendlePrincipalTokenV2Interface {
|
|
552
|
+
return new utils.Interface(_abi) as PendlePrincipalTokenV2Interface;
|
|
553
|
+
}
|
|
554
|
+
static connect(
|
|
555
|
+
address: string,
|
|
556
|
+
signerOrProvider: Signer | Provider
|
|
557
|
+
): PendlePrincipalTokenV2 {
|
|
558
|
+
return new Contract(
|
|
559
|
+
address,
|
|
560
|
+
_abi,
|
|
561
|
+
signerOrProvider
|
|
562
|
+
) as PendlePrincipalTokenV2;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
@@ -484,7 +484,7 @@ const _abi = [
|
|
|
484
484
|
];
|
|
485
485
|
|
|
486
486
|
const _bytecode =
|
|
487
|
-
"0x6101c06040523480156200001257600080fd5b5060405162001ad038038062001ad0833981016040819052620000359162000223565b83838382604051806040016040528060018152602001603160f81b815250848484826003908162000067919062000362565b50600462000076838262000362565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001298184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e05261014052505050506001600160a01b03979097166101605250506101a05250503361018052506200042e9050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018657600080fd5b81516001600160401b0380821115620001a357620001a36200015e565b604051601f8301601f19908116603f01168101908282118183101715620001ce57620001ce6200015e565b81604052838152602092508683858801011115620001eb57600080fd5b600091505b838210156200020f5785820183015181830184015290820190620001f0565b600093810190920192909252949350505050565b600080600080600060a086880312156200023c57600080fd5b85516001600160a01b03811681146200025457600080fd5b60208701519095506001600160401b03808211156200027257600080fd5b6200028089838a0162000174565b955060408801519150808211156200029757600080fd5b50620002a68882890162000174565b935050606086015160ff81168114620002be57600080fd5b80925050608086015190509295509295909350565b600181811c90821680620002e857607f821691505b6020821081036200030957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035d57600081815260208120601f850160051c81016020861015620003385750805b601f850160051c820191505b81811015620003595782815560010162000344565b5050505b505050565b81516001600160401b038111156200037e576200037e6200015e565b62000396816200038f8454620002d3565b846200030f565b602080601f831160018114620003ce5760008415620003b55750858301515b600019600386901b1c1916600185901b17855562000359565b600085815260208120601f198616915b82811015620003ff57888601518255948401946001909101908401620003de565b50858210156200041e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051611618620004b86000396000818161018701526103160152600081816102b6015261065e0152600061027c01526000610de001526000610e2f01526000610e0a01526000610d6301526000610d8d01526000610db7015260006101b301526116186000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c806306fdde0314610101578063095ea7b31461011f57806312a31dcc1461014257806318160ddd1461015757806323b872dd146101725780632f13b60c14610185578063313ce567146101ae5780633644e515146101e757806370a08231146101ef578063781c18db146102185780637ecebe001461024957806395d89b411461025c578063a9059cbb14610264578063afd27bf514610277578063b64761f91461029e578063c45a0155146102b1578063c4d66de8146102d8578063d505accf146102eb578063dd62ed3e146102fe578063e184c9be14610311575b600080fd5b610109610338565b6040516101169190611339565b60405180910390f35b61013261012d3660046113a3565b6103ca565b6040519015158152602001610116565b6101556101503660046113a3565b6103e4565b005b6002546001600160f81b03165b604051908152602001610116565b6101326101803660046113cd565b610423565b7f0000000000000000000000000000000000000000000000000000000000000000421015610132565b6101d57f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610116565b6101646104af565b6101646101fd366004611409565b6001600160a01b031660009081526020819052604090205490565b600654610231906201000090046001600160a01b031681565b6040516001600160a01b039091168152602001610116565b610164610257366004611409565b6104b9565b6101096104d7565b6101326102723660046113a3565b6104e6565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6101556102ac3660046113a3565b610558565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6101556102e6366004611409565b610593565b6101556102f936600461142b565b610707565b61016461030c36600461149e565b61086b565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b606060038054610347906114d1565b80601f0160208091040260200160405190810160405280929190818152602001828054610373906114d1565b80156103c05780601f10610395576101008083540402835291602001916103c0565b820191906000526020600020905b8154815290600101906020018083116103a357829003601f168201915b5050505050905090565b6000336103d8818585610896565b60019150505b92915050565b6006546201000090046001600160a01b0316331461041557604051631622975360e31b815260040160405180910390fd5b61041f82826109bb565b5050565b600254600090600119600160f81b90910460ff160161045d5760405162461bcd60e51b815260040161045490611505565b60405180910390fd5b600280546001600160f81b0316600160f91b1790553361047e858285610ac5565b610489858585610b3f565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b905090565b60006104aa610d56565b6001600160a01b0381166000908152600560205260408120546103de565b606060048054610347906114d1565b600254600090600119600160f81b90910460ff16016105175760405162461bcd60e51b815260040161045490611505565b600280546001600160f81b0316600160f91b17905533610538818585610b3f565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6006546201000090046001600160a01b0316331461058957604051631622975360e31b815260040160405180910390fd5b61041f8282610e7d565b600654610100900460ff16158080156105b35750600654600160ff909116105b806105cd5750303b1580156105cd575060065460ff166001145b6106305760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610454565b6006805460ff191660011790558015610653576006805461ff0019166101001790555b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461069c5760405163fe10817360e01b815260040160405180910390fd5b6006805462010000600160b01b031916620100006001600160a01b03851602179055801561041f576006805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b834211156107575760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610454565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886107868c610fea565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006107e182611012565b905060006107f182878787611060565b9050896001600160a01b0316816001600160a01b0316146108545760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610454565b61085f8a8a8a610896565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166108f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610454565b6001600160a01b0382166109595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610454565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610a115760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610454565b610a1a81611088565b60028054600090610a359084906001600160f81b0316611552565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254610a8d9190611579565b90915550506040518181526001600160a01b038316906000906000805160206115c38339815191529060200160405180910390a35050565b6000610ad1848461086b565b90506000198114610b395781811015610b2c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610454565b610b398484848403610896565b50505050565b6001600160a01b038316610ba35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610454565b6001600160a01b038216610c055760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610454565b816001600160a01b0316836001600160a01b031603610c605760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610454565b6001600160a01b03831660009081526020819052604090205481811015610cd85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610454565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d0f908490611579565b92505081905550826001600160a01b0316846001600160a01b03166000805160206115c383398151915284604051610d4991815260200190565b60405180910390a3610b39565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610daf57507f000000000000000000000000000000000000000000000000000000000000000046145b15610dd957507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216610edd5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610454565b6001600160a01b03821660009081526020819052604090205481811015610f515760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610454565b6001600160a01b03831660009081526020819052604090208282039055610f7782611088565b60028054600090610f929084906001600160f81b031661158c565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206115c3833981519152846040516109ae91815260200190565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006103de61101f610d56565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611071878787876110a2565b9150915061107e81611185565b5095945050505050565b60006001600160f81b0382111561109e57600080fd5b5090565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156110cf575060009050600361117c565b8460ff16601b141580156110e757508460ff16601c14155b156110f8575060009050600461117c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561114c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111755760006001925092505061117c565b9150600090505b94509492505050565b6000816004811115611199576111996115ac565b036111a15750565b60018160048111156111b5576111b56115ac565b036111fd5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610454565b6002816004811115611211576112116115ac565b0361125e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610454565b6003816004811115611272576112726115ac565b036112ca5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610454565b60048160048111156112de576112de6115ac565b036113365760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610454565b50565b600060208083528351808285015260005b818110156113665785810183015185820160400152820161134a565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461139e57600080fd5b919050565b600080604083850312156113b657600080fd5b6113bf83611387565b946020939093013593505050565b6000806000606084860312156113e257600080fd5b6113eb84611387565b92506113f960208501611387565b9150604084013590509250925092565b60006020828403121561141b57600080fd5b61142482611387565b9392505050565b600080600080600080600060e0888a03121561144657600080fd5b61144f88611387565b965061145d60208901611387565b95506040880135945060608801359350608088013560ff8116811461148157600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156114b157600080fd5b6114ba83611387565b91506114c860208401611387565b90509250929050565b600181811c908216806114e557607f821691505b60208210810361100c57634e487b7160e01b600052602260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b038181168382160190808211156115725761157261153c565b5092915050565b808201808211156103de576103de61153c565b6001600160f81b038281168282160390808211156115725761157261153c565b634e487b7160e01b600052602160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220f37ebee4d70560ef26a786add812507433cdcb80fe9cf1338ab96bd8fea7f99c64736f6c63430008110033";
|
|
487
|
+
"0x6101c06040523480156200001257600080fd5b5060405162001ad038038062001ad0833981016040819052620000359162000223565b83838382604051806040016040528060018152602001603160f81b815250848484826003908162000067919062000362565b50600462000076838262000362565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001298184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e05261014052505050506001600160a01b03979097166101605250506101a05250503361018052506200042e9050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018657600080fd5b81516001600160401b0380821115620001a357620001a36200015e565b604051601f8301601f19908116603f01168101908282118183101715620001ce57620001ce6200015e565b81604052838152602092508683858801011115620001eb57600080fd5b600091505b838210156200020f5785820183015181830184015290820190620001f0565b600093810190920192909252949350505050565b600080600080600060a086880312156200023c57600080fd5b85516001600160a01b03811681146200025457600080fd5b60208701519095506001600160401b03808211156200027257600080fd5b6200028089838a0162000174565b955060408801519150808211156200029757600080fd5b50620002a68882890162000174565b935050606086015160ff81168114620002be57600080fd5b80925050608086015190509295509295909350565b600181811c90821680620002e857607f821691505b6020821081036200030957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035d57600081815260208120601f850160051c81016020861015620003385750805b601f850160051c820191505b81811015620003595782815560010162000344565b5050505b505050565b81516001600160401b038111156200037e576200037e6200015e565b62000396816200038f8454620002d3565b846200030f565b602080601f831160018114620003ce5760008415620003b55750858301515b600019600386901b1c1916600185901b17855562000359565b600085815260208120601f198616915b82811015620003ff57888601518255948401946001909101908401620003de565b50858210156200041e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051611618620004b86000396000818161018701526103160152600081816102b6015261065e0152600061027c01526000610de001526000610e2f01526000610e0a01526000610d6301526000610d8d01526000610db7015260006101b301526116186000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c806306fdde0314610101578063095ea7b31461011f57806312a31dcc1461014257806318160ddd1461015757806323b872dd146101725780632f13b60c14610185578063313ce567146101ae5780633644e515146101e757806370a08231146101ef578063781c18db146102185780637ecebe001461024957806395d89b411461025c578063a9059cbb14610264578063afd27bf514610277578063b64761f91461029e578063c45a0155146102b1578063c4d66de8146102d8578063d505accf146102eb578063dd62ed3e146102fe578063e184c9be14610311575b600080fd5b610109610338565b6040516101169190611339565b60405180910390f35b61013261012d3660046113a3565b6103ca565b6040519015158152602001610116565b6101556101503660046113a3565b6103e4565b005b6002546001600160f81b03165b604051908152602001610116565b6101326101803660046113cd565b610423565b7f0000000000000000000000000000000000000000000000000000000000000000421015610132565b6101d57f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610116565b6101646104af565b6101646101fd366004611409565b6001600160a01b031660009081526020819052604090205490565b600654610231906201000090046001600160a01b031681565b6040516001600160a01b039091168152602001610116565b610164610257366004611409565b6104b9565b6101096104d7565b6101326102723660046113a3565b6104e6565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6101556102ac3660046113a3565b610558565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6101556102e6366004611409565b610593565b6101556102f936600461142b565b610707565b61016461030c36600461149e565b61086b565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b606060038054610347906114d1565b80601f0160208091040260200160405190810160405280929190818152602001828054610373906114d1565b80156103c05780601f10610395576101008083540402835291602001916103c0565b820191906000526020600020905b8154815290600101906020018083116103a357829003601f168201915b5050505050905090565b6000336103d8818585610896565b60019150505b92915050565b6006546201000090046001600160a01b0316331461041557604051631622975360e31b815260040160405180910390fd5b61041f82826109bb565b5050565b600254600090600119600160f81b90910460ff160161045d5760405162461bcd60e51b815260040161045490611505565b60405180910390fd5b600280546001600160f81b0316600160f91b1790553361047e858285610ac5565b610489858585610b3f565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b905090565b60006104aa610d56565b6001600160a01b0381166000908152600560205260408120546103de565b606060048054610347906114d1565b600254600090600119600160f81b90910460ff16016105175760405162461bcd60e51b815260040161045490611505565b600280546001600160f81b0316600160f91b17905533610538818585610b3f565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6006546201000090046001600160a01b0316331461058957604051631622975360e31b815260040160405180910390fd5b61041f8282610e7d565b600654610100900460ff16158080156105b35750600654600160ff909116105b806105cd5750303b1580156105cd575060065460ff166001145b6106305760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610454565b6006805460ff191660011790558015610653576006805461ff0019166101001790555b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461069c5760405163fe10817360e01b815260040160405180910390fd5b6006805462010000600160b01b031916620100006001600160a01b03851602179055801561041f576006805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b834211156107575760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610454565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886107868c610fea565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006107e182611012565b905060006107f182878787611060565b9050896001600160a01b0316816001600160a01b0316146108545760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610454565b61085f8a8a8a610896565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166108f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610454565b6001600160a01b0382166109595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610454565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610a115760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610454565b610a1a81611088565b60028054600090610a359084906001600160f81b0316611552565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254610a8d9190611579565b90915550506040518181526001600160a01b038316906000906000805160206115c38339815191529060200160405180910390a35050565b6000610ad1848461086b565b90506000198114610b395781811015610b2c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610454565b610b398484848403610896565b50505050565b6001600160a01b038316610ba35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610454565b6001600160a01b038216610c055760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610454565b816001600160a01b0316836001600160a01b031603610c605760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610454565b6001600160a01b03831660009081526020819052604090205481811015610cd85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610454565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d0f908490611579565b92505081905550826001600160a01b0316846001600160a01b03166000805160206115c383398151915284604051610d4991815260200190565b60405180910390a3610b39565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610daf57507f000000000000000000000000000000000000000000000000000000000000000046145b15610dd957507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216610edd5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610454565b6001600160a01b03821660009081526020819052604090205481811015610f515760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610454565b6001600160a01b03831660009081526020819052604090208282039055610f7782611088565b60028054600090610f929084906001600160f81b031661158c565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206115c3833981519152846040516109ae91815260200190565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006103de61101f610d56565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611071878787876110a2565b9150915061107e81611185565b5095945050505050565b60006001600160f81b0382111561109e57600080fd5b5090565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156110cf575060009050600361117c565b8460ff16601b141580156110e757508460ff16601c14155b156110f8575060009050600461117c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561114c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111755760006001925092505061117c565b9150600090505b94509492505050565b6000816004811115611199576111996115ac565b036111a15750565b60018160048111156111b5576111b56115ac565b036111fd5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610454565b6002816004811115611211576112116115ac565b0361125e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610454565b6003816004811115611272576112726115ac565b036112ca5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610454565b60048160048111156112de576112de6115ac565b036113365760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610454565b50565b600060208083528351808285015260005b818110156113665785810183015185820160400152820161134a565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461139e57600080fd5b919050565b600080604083850312156113b657600080fd5b6113bf83611387565b946020939093013593505050565b6000806000606084860312156113e257600080fd5b6113eb84611387565b92506113f960208501611387565b9150604084013590509250925092565b60006020828403121561141b57600080fd5b61142482611387565b9392505050565b600080600080600080600060e0888a03121561144657600080fd5b61144f88611387565b965061145d60208901611387565b95506040880135945060608801359350608088013560ff8116811461148157600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156114b157600080fd5b6114ba83611387565b91506114c860208401611387565b90509250929050565b600181811c908216806114e557607f821691505b60208210810361100c57634e487b7160e01b600052602260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b038181168382160190808211156115725761157261153c565b5092915050565b808201808211156103de576103de61153c565b6001600160f81b038281168282160390808211156115725761157261153c565b634e487b7160e01b600052602160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220351e7c9ec12234d35b9178c7c34e620b69fe381d98cd71d176f23e21bc23d4a664736f6c63430008110033";
|
|
488
488
|
|
|
489
489
|
type PendlePrincipalTokenConstructorParams =
|
|
490
490
|
| [signer?: Signer]
|
|
@@ -35,7 +35,7 @@ const _abi = [
|
|
|
35
35
|
];
|
|
36
36
|
|
|
37
37
|
const _bytecode =
|
|
38
|
-
"
|
|
38
|
+
"0x60c0604052348015600f57600080fd5b506040516100d53803806100d5833981016040819052602c916041565b6001600160a01b0390911660805260a0526079565b60008060408385031215605357600080fd5b82516001600160a01b0381168114606957600080fd5b6020939093015192949293505050565b60805160a051603f6100966000396000505060005050603f6000f3fe6080604052600080fdfea2646970667358221220d1adcf178e7ddef15972abbaf04a79633857eed9e2a6bf8af08db1be79f0dba064736f6c63430008110033";
|
|
39
39
|
|
|
40
40
|
type PendleQiTokenHelperConstructorParams =
|
|
41
41
|
| [signer?: Signer]
|