@pendle/core-v2 0.21.0-testnet → 1.0.1-mainnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/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/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +4 -0
- package/build/artifacts/contracts/{interfaces/IApeStaking.sol/IApeStaking.json → LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json} +52 -70
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +310 -0
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +389 -0
- 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 +2 -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 +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/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/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- 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 +2 -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 +2 -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 +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- 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 +2 -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 +2 -2
- 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/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/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +5 -134
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +0 -18
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.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 +32 -43
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{Balancer/IGauge.sol/IGauge.json → IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json} +33 -18
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.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/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 -42
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +100 -73
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.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/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +136 -0
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +9 -7
- package/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol +159 -0
- package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +99 -0
- package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +70 -0
- package/contracts/core/BulkSeller/BulkSeller.sol +1 -1
- package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +3 -1
- package/contracts/core/libraries/ArrayLib.sol +0 -12
- package/contracts/core/libraries/Errors.sol +2 -15
- package/contracts/interfaces/ConvexCurve/IRewards.sol +0 -5
- package/contracts/interfaces/IPFeeDistributor.sol +10 -12
- package/contracts/interfaces/IPFeeDistributorFactory.sol +14 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +1 -1
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +192 -194
- package/contracts/router/kyberswap/IMultihopRouter.sol +139 -0
- package/deployments/1-core.json +29 -0
- package/deployments/1-markets/FRAXUSDC-CURVELP-MARCH30.json +11 -0
- package/deployments/1-markets/LOOKS-STAKING-MARCH30.json +10 -0
- package/deployments/1-markets/STETH-JUNE29.json +10 -0
- package/deployments/1-markets/STETH-MARCH30.json +10 -0
- package/package.json +6 -6
- package/typechain-types/IApeStaking.ts +0 -31
- package/typechain-types/IPFeeDistributor.ts +78 -61
- package/typechain-types/IPFeeDistributorFactory.ts +139 -53
- package/typechain-types/IRewards.ts +5 -35
- package/typechain-types/MarketMathStatic.ts +0 -49
- package/typechain-types/PendleApeStakingSY.ts +204 -88
- package/typechain-types/PendleFeeDistributor.ts +117 -409
- package/typechain-types/RouterStatic.ts +49 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- 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/Errors__factory.ts +4 -133
- package/typechain-types/factories/IApeStaking__factory.ts +0 -34
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +34 -25
- package/typechain-types/factories/IPFeeDistributor__factory.ts +31 -42
- package/typechain-types/factories/IRewards__factory.ts +0 -18
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -41
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleApeStakingSY__factory.ts +141 -57
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +66 -341
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -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/PendleMsgSendEndpointUpg__factory.ts +1 -1
- 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 +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +41 -18
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +40 -301
- package/typechain-types/index.ts +10 -68
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -592
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +0 -1075
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +0 -1257
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +0 -1244
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +0 -1218
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +0 -1192
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +0 -133
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +0 -40
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +0 -322
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +0 -1171
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +0 -133
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +0 -10
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +0 -24
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +0 -133
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +0 -328
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +0 -467
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +0 -30
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +0 -398
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.json +0 -24
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +0 -278
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +0 -322
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +0 -47
- package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +0 -10
- package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +0 -65
- package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +0 -388
- package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.json +0 -101
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.json +0 -183
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +0 -215
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +0 -224
- package/contracts/core/StandardizedYield/StEthHelper.sol +0 -71
- package/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol +0 -197
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol +0 -170
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol +0 -162
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +0 -134
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +0 -154
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +0 -289
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol +0 -618
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +0 -68
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +0 -322
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +0 -390
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +0 -329
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +0 -30
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +0 -189
- package/contracts/interfaces/Balancer/IAsset.sol +0 -4
- package/contracts/interfaces/Balancer/IBalancerFees.sol +0 -6
- package/contracts/interfaces/Balancer/IBalancerStablePreview.sol +0 -22
- package/contracts/interfaces/Balancer/IBasePool.sol +0 -30
- package/contracts/interfaces/Balancer/IComposableStable.sol +0 -39
- package/contracts/interfaces/Balancer/IGauge.sol +0 -10
- package/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol +0 -6
- package/contracts/interfaces/Balancer/IMetaStablePool.sol +0 -31
- package/contracts/interfaces/Balancer/IRateProvider.sol +0 -6
- package/contracts/interfaces/Balancer/IVault.sol +0 -78
- package/contracts/interfaces/IApeStaking.sol +0 -30
- package/contracts/offchain-helpers/Multicall2.sol +0 -103
- package/contracts/offchain-helpers/PendleMulticall.sol +0 -26
- package/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol +0 -147
- package/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol +0 -17
- package/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol +0 -191
- package/contracts/router/kyberswap/interfaces/IHashflow.sol +0 -30
- package/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol +0 -33
- package/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol +0 -42
- package/deployments/43113-core.json +0 -29
- package/deployments/43113-helper.json +0 -4
- package/deployments/43113-markets/APE-30-MARCH.json +0 -10
- package/deployments/43113-markets/USDC-FEB-2ND.json +0 -10
- package/deployments/43113-markets/USDC-FEB-4TH.json +0 -10
- package/deployments/43113-markets/WETH-FEB-2ND.json +0 -11
- package/deployments/43113-markets/WETH-FEB-4TH.json +0 -11
- package/deployments/43113-testenv.json +0 -22
- package/deployments/80001-core.json +0 -28
- package/deployments/80001-helper.json +0 -4
- package/deployments/80001-markets/USDC-DEC-8TH.json +0 -10
- package/deployments/80001-markets/USDC-FEB-4TH.json +0 -10
- package/deployments/80001-markets/WETH-FEB-4TH.json +0 -11
- package/deployments/80001-testenv.json +0 -22
- package/typechain-types/BribeDistributor.ts +0 -363
- package/typechain-types/ComposableStablePreview.ts +0 -217
- package/typechain-types/DistributorBase.ts +0 -363
- package/typechain-types/FeeDistributor.ts +0 -416
- package/typechain-types/GMXPreviewHelper.ts +0 -134
- package/typechain-types/I1inchAggregationRouterV5.ts +0 -257
- package/typechain-types/IAggregationExecutor.ts +0 -182
- package/typechain-types/IBalancerFees.ts +0 -89
- package/typechain-types/IBalancerStablePreview.ts +0 -217
- package/typechain-types/IBasePool.ts +0 -482
- package/typechain-types/IComposableStable.ts +0 -730
- package/typechain-types/IExecutorHelperEthereum1.ts +0 -643
- package/typechain-types/IGMXVault.ts +0 -494
- package/typechain-types/IGauge.ts +0 -160
- package/typechain-types/IGlpManager.ts +0 -115
- package/typechain-types/IHashflow.ts +0 -159
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +0 -109
- package/typechain-types/ILiquidityGaugeFactory.ts +0 -99
- package/typechain-types/IMetaAggregationRouter.ts +0 -213
- package/typechain-types/IMetaAggregationRouterV2.ts +0 -221
- package/typechain-types/IMetaStablePool.ts +0 -619
- package/typechain-types/IMultihopRouterEthereum.ts +0 -209
- package/typechain-types/IPYieldTokenV2.ts +0 -915
- package/typechain-types/IRateProvider.ts +0 -81
- package/typechain-types/IRewardRouterV2.ts +0 -303
- package/typechain-types/ISwapAggregator.ts +0 -124
- package/typechain-types/IVault.ts +0 -410
- package/typechain-types/IVaultPriceFeed.ts +0 -114
- package/typechain-types/InterestManagerYTV2.ts +0 -124
- package/typechain-types/MetaStableMath.ts +0 -113
- package/typechain-types/MetaStablePreview.ts +0 -501
- package/typechain-types/Multicall2.ts +0 -437
- package/typechain-types/PendleAura3EthSY.ts +0 -1600
- package/typechain-types/PendleAuraBalancerStableLPSY.ts +0 -1523
- package/typechain-types/PendleAuraCbethWstethSY.ts +0 -1587
- package/typechain-types/PendleAuraWethRethSY.ts +0 -1549
- package/typechain-types/PendleAuraWethWstethSY.ts +0 -1523
- package/typechain-types/PendleGlpSY.ts +0 -1449
- package/typechain-types/PendleMulticall.ts +0 -110
- package/typechain-types/PendlePrincipalTokenV2.ts +0 -614
- package/typechain-types/PendleYieldContractFactoryV2.ts +0 -801
- package/typechain-types/PendleYieldTokenV2.ts +0 -1304
- package/typechain-types/SAPE.ts +0 -1395
- package/typechain-types/StEthHelper.ts +0 -107
- package/typechain-types/StablePreviewBase.ts +0 -217
- package/typechain-types/SwapAggregator.ts +0 -406
- package/typechain-types/factories/BribeDistributor__factory.ts +0 -303
- package/typechain-types/factories/ComposableStablePreview__factory.ts +0 -190
- package/typechain-types/factories/DistributorBase__factory.ts +0 -249
- package/typechain-types/factories/FeeDistributor__factory.ts +0 -339
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +0 -78
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +0 -179
- package/typechain-types/factories/IAggregationExecutor__factory.ts +0 -84
- package/typechain-types/factories/IBalancerFees__factory.ts +0 -36
- package/typechain-types/factories/IBalancerStablePreview__factory.ts +0 -152
- package/typechain-types/factories/IBasePool__factory.ts +0 -340
- package/typechain-types/factories/IComposableStable__factory.ts +0 -482
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +0 -407
- package/typechain-types/factories/IGMXVault__factory.ts +0 -320
- package/typechain-types/factories/IGauge__factory.ts +0 -70
- package/typechain-types/factories/IGlpManager__factory.ts +0 -55
- package/typechain-types/factories/IHashflow__factory.ts +0 -113
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +0 -56
- package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +0 -49
- package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +0 -234
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +0 -202
- package/typechain-types/factories/IMetaStablePool__factory.ts +0 -413
- package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +0 -155
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +0 -702
- package/typechain-types/factories/IRateProvider__factory.ts +0 -36
- package/typechain-types/factories/IRewardRouterV2__factory.ts +0 -180
- package/typechain-types/factories/ISwapAggregator__factory.ts +0 -66
- package/typechain-types/factories/IVaultPriceFeed__factory.ts +0 -60
- package/typechain-types/factories/IVault__factory.ts +0 -287
- package/typechain-types/factories/InterestManagerYTV2__factory.ts +0 -63
- package/typechain-types/factories/MetaStableMath__factory.ts +0 -93
- package/typechain-types/factories/MetaStablePreview__factory.ts +0 -375
- package/typechain-types/factories/Multicall2__factory.ts +0 -372
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +0 -1326
- package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +0 -1190
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +0 -1317
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +0 -1291
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +0 -1265
- package/typechain-types/factories/PendleGlpSY__factory.ts +0 -1255
- package/typechain-types/factories/PendleMulticall__factory.ts +0 -100
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +0 -564
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +0 -674
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +0 -1122
- package/typechain-types/factories/SAPE__factory.ts +0 -1142
- package/typechain-types/factories/StEthHelper__factory.ts +0 -62
- package/typechain-types/factories/StablePreviewBase__factory.ts +0 -148
- package/typechain-types/factories/SwapAggregator__factory.ts +0 -309
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
PendleMulticall,
|
|
8
|
-
PendleMulticallInterface,
|
|
9
|
-
} from "../PendleMulticall";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "uint256",
|
|
16
|
-
name: "index",
|
|
17
|
-
type: "uint256",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
name: "MulticallFailed",
|
|
21
|
-
type: "error",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
inputs: [
|
|
25
|
-
{
|
|
26
|
-
components: [
|
|
27
|
-
{
|
|
28
|
-
internalType: "address",
|
|
29
|
-
name: "target",
|
|
30
|
-
type: "address",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
internalType: "bytes",
|
|
34
|
-
name: "callData",
|
|
35
|
-
type: "bytes",
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
internalType: "struct PendleMulticall.Call[]",
|
|
39
|
-
name: "calls",
|
|
40
|
-
type: "tuple[]",
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
name: "aggregate",
|
|
44
|
-
outputs: [],
|
|
45
|
-
stateMutability: "payable",
|
|
46
|
-
type: "function",
|
|
47
|
-
},
|
|
48
|
-
];
|
|
49
|
-
|
|
50
|
-
const _bytecode =
|
|
51
|
-
"0x608060405234801561001057600080fd5b50610286806100206000396000f3fe60806040526004361061001e5760003560e01c8063252dba4214610023575b600080fd5b610036610031366004610119565b610038565b005b803660005b82811015610112578484828181106100575761005761018d565b905060200281019061006991906101a3565b9150600061007a60208401846101c3565b6001600160a01b031661009060208501856101f3565b60405161009e929190610240565b6000604051808303816000865af19150503d80600081146100db576040519150601f19603f3d011682016040523d82523d6000602084013e6100e0565b606091505b50509050806101095760405163750ebb7d60e01b81526004810183905260240160405180910390fd5b5060010161003d565b5050505050565b6000806020838503121561012c57600080fd5b82356001600160401b038082111561014357600080fd5b818501915085601f83011261015757600080fd5b81358181111561016657600080fd5b8660208260051b850101111561017b57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b60008235603e198336030181126101b957600080fd5b9190910192915050565b6000602082840312156101d557600080fd5b81356001600160a01b03811681146101ec57600080fd5b9392505050565b6000808335601e1984360301811261020a57600080fd5b8301803591506001600160401b0382111561022457600080fd5b60200191503681900382131561023957600080fd5b9250929050565b818382376000910190815291905056fea2646970667358221220c48b029086a30e87e30bee019948209846e3d27707f95aac377443f7ab8448f964736f6c63430008110033";
|
|
52
|
-
|
|
53
|
-
type PendleMulticallConstructorParams =
|
|
54
|
-
| [signer?: Signer]
|
|
55
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
56
|
-
|
|
57
|
-
const isSuperArgs = (
|
|
58
|
-
xs: PendleMulticallConstructorParams
|
|
59
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
60
|
-
|
|
61
|
-
export class PendleMulticall__factory extends ContractFactory {
|
|
62
|
-
constructor(...args: PendleMulticallConstructorParams) {
|
|
63
|
-
if (isSuperArgs(args)) {
|
|
64
|
-
super(...args);
|
|
65
|
-
} else {
|
|
66
|
-
super(_abi, _bytecode, args[0]);
|
|
67
|
-
}
|
|
68
|
-
this.contractName = "PendleMulticall";
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
deploy(
|
|
72
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
73
|
-
): Promise<PendleMulticall> {
|
|
74
|
-
return super.deploy(overrides || {}) as Promise<PendleMulticall>;
|
|
75
|
-
}
|
|
76
|
-
getDeployTransaction(
|
|
77
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
78
|
-
): TransactionRequest {
|
|
79
|
-
return super.getDeployTransaction(overrides || {});
|
|
80
|
-
}
|
|
81
|
-
attach(address: string): PendleMulticall {
|
|
82
|
-
return super.attach(address) as PendleMulticall;
|
|
83
|
-
}
|
|
84
|
-
connect(signer: Signer): PendleMulticall__factory {
|
|
85
|
-
return super.connect(signer) as PendleMulticall__factory;
|
|
86
|
-
}
|
|
87
|
-
static readonly contractName: "PendleMulticall";
|
|
88
|
-
public readonly contractName: "PendleMulticall";
|
|
89
|
-
static readonly bytecode = _bytecode;
|
|
90
|
-
static readonly abi = _abi;
|
|
91
|
-
static createInterface(): PendleMulticallInterface {
|
|
92
|
-
return new utils.Interface(_abi) as PendleMulticallInterface;
|
|
93
|
-
}
|
|
94
|
-
static connect(
|
|
95
|
-
address: string,
|
|
96
|
-
signerOrProvider: Signer | Provider
|
|
97
|
-
): PendleMulticall {
|
|
98
|
-
return new Contract(address, _abi, signerOrProvider) as PendleMulticall;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,564 +0,0 @@
|
|
|
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
|
-
"0x6101c06040523480156200001257600080fd5b5060405162001ad038038062001ad0833981016040819052620000359162000223565b83838382604051806040016040528060018152602001603160f81b815250848484826003908162000067919062000362565b50600462000076838262000362565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001298184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e05261014052505050506001600160a01b03979097166101605250506101a05250503361018052506200042e9050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018657600080fd5b81516001600160401b0380821115620001a357620001a36200015e565b604051601f8301601f19908116603f01168101908282118183101715620001ce57620001ce6200015e565b81604052838152602092508683858801011115620001eb57600080fd5b600091505b838210156200020f5785820183015181830184015290820190620001f0565b600093810190920192909252949350505050565b600080600080600060a086880312156200023c57600080fd5b85516001600160a01b03811681146200025457600080fd5b60208701519095506001600160401b03808211156200027257600080fd5b6200028089838a0162000174565b955060408801519150808211156200029757600080fd5b50620002a68882890162000174565b935050606086015160ff81168114620002be57600080fd5b80925050608086015190509295509295909350565b600181811c90821680620002e857607f821691505b6020821081036200030957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035d57600081815260208120601f850160051c81016020861015620003385750805b601f850160051c820191505b81811015620003595782815560010162000344565b5050505b505050565b81516001600160401b038111156200037e576200037e6200015e565b62000396816200038f8454620002d3565b846200030f565b602080601f831160018114620003ce5760008415620003b55750858301515b600019600386901b1c1916600185901b17855562000359565b600085815260208120601f198616915b82811015620003ff57888601518255948401946001909101908401620003de565b50858210156200041e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051611618620004b86000396000818161018701526103160152600081816102b6015261065e0152600061027c01526000610de001526000610e2f01526000610e0a01526000610d6301526000610d8d01526000610db7015260006101b301526116186000f3fe608060405234801561001057600080fd5b50600436106100fc5760003560e01c806306fdde0314610101578063095ea7b31461011f57806312a31dcc1461014257806318160ddd1461015757806323b872dd146101725780632f13b60c14610185578063313ce567146101ae5780633644e515146101e757806370a08231146101ef578063781c18db146102185780637ecebe001461024957806395d89b411461025c578063a9059cbb14610264578063afd27bf514610277578063b64761f91461029e578063c45a0155146102b1578063c4d66de8146102d8578063d505accf146102eb578063dd62ed3e146102fe578063e184c9be14610311575b600080fd5b610109610338565b6040516101169190611339565b60405180910390f35b61013261012d3660046113a3565b6103ca565b6040519015158152602001610116565b6101556101503660046113a3565b6103e4565b005b6002546001600160f81b03165b604051908152602001610116565b6101326101803660046113cd565b610423565b7f0000000000000000000000000000000000000000000000000000000000000000421015610132565b6101d57f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610116565b6101646104af565b6101646101fd366004611409565b6001600160a01b031660009081526020819052604090205490565b600654610231906201000090046001600160a01b031681565b6040516001600160a01b039091168152602001610116565b610164610257366004611409565b6104b9565b6101096104d7565b6101326102723660046113a3565b6104e6565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6101556102ac3660046113a3565b610558565b6102317f000000000000000000000000000000000000000000000000000000000000000081565b6101556102e6366004611409565b610593565b6101556102f936600461142b565b610707565b61016461030c36600461149e565b61086b565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b606060038054610347906114d1565b80601f0160208091040260200160405190810160405280929190818152602001828054610373906114d1565b80156103c05780601f10610395576101008083540402835291602001916103c0565b820191906000526020600020905b8154815290600101906020018083116103a357829003601f168201915b5050505050905090565b6000336103d8818585610896565b60019150505b92915050565b6006546201000090046001600160a01b0316331461041557604051631622975360e31b815260040160405180910390fd5b61041f82826109bb565b5050565b600254600090600119600160f81b90910460ff160161045d5760405162461bcd60e51b815260040161045490611505565b60405180910390fd5b600280546001600160f81b0316600160f91b1790553361047e858285610ac5565b610489858585610b3f565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b905090565b60006104aa610d56565b6001600160a01b0381166000908152600560205260408120546103de565b606060048054610347906114d1565b600254600090600119600160f81b90910460ff16016105175760405162461bcd60e51b815260040161045490611505565b600280546001600160f81b0316600160f91b17905533610538818585610b3f565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6006546201000090046001600160a01b0316331461058957604051631622975360e31b815260040160405180910390fd5b61041f8282610e7d565b600654610100900460ff16158080156105b35750600654600160ff909116105b806105cd5750303b1580156105cd575060065460ff166001145b6106305760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610454565b6006805460ff191660011790558015610653576006805461ff0019166101001790555b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461069c5760405163fe10817360e01b815260040160405180910390fd5b6006805462010000600160b01b031916620100006001600160a01b03851602179055801561041f576006805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b834211156107575760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610454565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886107868c610fea565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006107e182611012565b905060006107f182878787611060565b9050896001600160a01b0316816001600160a01b0316146108545760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610454565b61085f8a8a8a610896565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166108f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610454565b6001600160a01b0382166109595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610454565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610a115760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610454565b610a1a81611088565b60028054600090610a359084906001600160f81b0316611552565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254610a8d9190611579565b90915550506040518181526001600160a01b038316906000906000805160206115c38339815191529060200160405180910390a35050565b6000610ad1848461086b565b90506000198114610b395781811015610b2c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610454565b610b398484848403610896565b50505050565b6001600160a01b038316610ba35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610454565b6001600160a01b038216610c055760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610454565b816001600160a01b0316836001600160a01b031603610c605760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610454565b6001600160a01b03831660009081526020819052604090205481811015610cd85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610454565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d0f908490611579565b92505081905550826001600160a01b0316846001600160a01b03166000805160206115c383398151915284604051610d4991815260200190565b60405180910390a3610b39565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610daf57507f000000000000000000000000000000000000000000000000000000000000000046145b15610dd957507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216610edd5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610454565b6001600160a01b03821660009081526020819052604090205481811015610f515760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610454565b6001600160a01b03831660009081526020819052604090208282039055610f7782611088565b60028054600090610f929084906001600160f81b031661158c565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206115c3833981519152846040516109ae91815260200190565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006103de61101f610d56565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611071878787876110a2565b9150915061107e81611185565b5095945050505050565b60006001600160f81b0382111561109e57600080fd5b5090565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156110cf575060009050600361117c565b8460ff16601b141580156110e757508460ff16601c14155b156110f8575060009050600461117c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561114c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111755760006001925092505061117c565b9150600090505b94509492505050565b6000816004811115611199576111996115ac565b036111a15750565b60018160048111156111b5576111b56115ac565b036111fd5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610454565b6002816004811115611211576112116115ac565b0361125e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610454565b6003816004811115611272576112726115ac565b036112ca5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610454565b60048160048111156112de576112de6115ac565b036113365760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610454565b50565b600060208083528351808285015260005b818110156113665785810183015185820160400152820161134a565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461139e57600080fd5b919050565b600080604083850312156113b657600080fd5b6113bf83611387565b946020939093013593505050565b6000806000606084860312156113e257600080fd5b6113eb84611387565b92506113f960208501611387565b9150604084013590509250925092565b60006020828403121561141b57600080fd5b61142482611387565b9392505050565b600080600080600080600060e0888a03121561144657600080fd5b61144f88611387565b965061145d60208901611387565b95506040880135945060608801359350608088013560ff8116811461148157600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156114b157600080fd5b6114ba83611387565b91506114c860208401611387565b90509250929050565b600181811c908216806114e557607f821691505b60208210810361100c57634e487b7160e01b600052602260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b038181168382160190808211156115725761157261153c565b5092915050565b808201808211156103de576103de61153c565b6001600160f81b038281168282160390808211156115725761157261153c565b634e487b7160e01b600052602160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212200c582b0200d62f8b40724252defba611edf42c1731eefda220c8c4173642c67164736f6c63430008110033";
|
|
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
|
-
}
|