@pendle/core-v2 2.2.0-mainnet → 2.3.0-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/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/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/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.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/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- 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/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.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/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- 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/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/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 +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
- 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/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 +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- 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/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.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/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.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/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/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/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/IRewardManager.sol/IRewardManager.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/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- 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/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +4 -3
- package/deployments/1-markets/BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json +11 -0
- package/package.json +1 -1
- package/typechain-types/AccessControl.ts +360 -0
- package/typechain-types/ActionBaseMintRedeem.ts +87 -0
- package/typechain-types/ActionCallback.ts +134 -0
- package/typechain-types/ActionCore.ts +1758 -0
- package/typechain-types/ActionSCYAndPTBase.ts +87 -0
- package/typechain-types/ActionSCYAndPYBase.ts +87 -0
- package/typechain-types/ActionSCYAndYTBase.ts +87 -0
- package/typechain-types/ActionSwapPTYT.ts +237 -0
- package/typechain-types/ActionYT.ts +509 -0
- package/typechain-types/AggregationRouterHelper.ts +392 -0
- package/typechain-types/BaseSplitCodeFactory.ts +118 -0
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BribeDistributor.ts +363 -0
- package/typechain-types/CelerReceiverUpg.ts +372 -0
- package/typechain-types/CelerSenderUpg.ts +321 -0
- package/typechain-types/Curve3CrvPoolHelper.ts +236 -0
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +158 -0
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +184 -0
- package/typechain-types/DistributorBase.ts +363 -0
- package/typechain-types/ERC165.ts +102 -0
- package/typechain-types/ERC1967UpgradeUpgradeable.ts +97 -0
- package/typechain-types/EpochResultManager.ts +261 -0
- package/typechain-types/FeeDistributor.ts +416 -0
- package/typechain-types/FeeDistributorAbstract.ts +240 -0
- package/typechain-types/FeeDistributorVePendle.ts +81 -0
- package/typechain-types/FeeDistributorVoting.ts +272 -0
- package/typechain-types/FeeDistributorVotingFactory.ts +293 -0
- package/typechain-types/GMXPreviewHelper.ts +121 -0
- package/typechain-types/IAccessControl.ts +305 -0
- package/typechain-types/IAggregationRouterHelper.ts +108 -0
- package/typechain-types/IBeaconUpgradeable.ts +87 -0
- package/typechain-types/ICelerMessageBus.ts +134 -0
- package/typechain-types/ICelerMessageReceiverApp.ts +120 -0
- package/typechain-types/IERC165.ts +102 -0
- package/typechain-types/IERC1822ProxiableUpgradeable.ts +87 -0
- package/typechain-types/IERC20Upgradeable.ts +300 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMultihopRouter.ts +209 -0
- package/typechain-types/IMultihopRouterEthereum.ts +209 -0
- package/typechain-types/IPActionCore.ts +1739 -0
- package/typechain-types/IPActionSwapPTYT.ts +237 -0
- package/typechain-types/IPActionYT.ts +490 -0
- package/typechain-types/IPBatchSeller.ts +234 -0
- package/typechain-types/IPFeeDistributorFactory.ts +101 -0
- package/typechain-types/IPVotingControllerStorage.ts +169 -0
- package/typechain-types/IPVotingEscrow.ts +344 -0
- package/typechain-types/IStargateLP.ts +306 -0
- package/typechain-types/IStargateStaking.ts +232 -0
- package/typechain-types/ISuperComposableYield.ts +895 -0
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/ImplicitSwapfeeContract.ts +149 -0
- package/typechain-types/KyberSwapHelper.ts +87 -0
- package/typechain-types/OwnableUpgradeable.ts +165 -0
- package/typechain-types/Pendle3CrvAndTokenSCY.ts +1215 -0
- package/typechain-types/Pendle3CrvAndTokenSY.ts +1243 -0
- package/typechain-types/Pendle3CrvHelper.ts +133 -0
- package/typechain-types/Pendle3CrvTokenSCY.ts +1150 -0
- package/typechain-types/PendleAaveV3SCY.ts +1088 -0
- package/typechain-types/PendleApeStakingSY.ts +1135 -0
- package/typechain-types/PendleBatchSeller.ts +648 -0
- package/typechain-types/PendleConvex2TokensSY.ts +1215 -0
- package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +1215 -0
- package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +1269 -0
- package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +1288 -0
- package/typechain-types/PendleConvexCurveLPSCY.ts +1189 -0
- package/typechain-types/PendleCvxCRVSCY.ts +1104 -0
- package/typechain-types/PendleERC4626SCY.ts +950 -0
- package/typechain-types/PendleEulerSCY.ts +965 -0
- package/typechain-types/PendleFeeDistributorAbstract.ts +289 -0
- package/typechain-types/PendleFeeDistributorFactory.ts +591 -0
- package/typechain-types/PendleFeeDistributorVoting.ts +321 -0
- package/typechain-types/PendleFeeDistributorVotingFactory.ts +294 -0
- package/typechain-types/PendleGovernanceManager.ts +187 -0
- package/typechain-types/PendleLooksStaking.ts +1052 -0
- package/typechain-types/PendlePtOracleBase.ts +139 -0
- package/typechain-types/PendleQiSAvaxSCY.ts +1098 -0
- package/typechain-types/PendleQiTokenSCY.ts +1166 -0
- package/typechain-types/PendleSAvaxSCY.ts +962 -0
- package/typechain-types/PendleSJoeSCY.ts +1053 -0
- package/typechain-types/PendleStargateLP.ts +1442 -0
- package/typechain-types/PendleStargateSCY.ts +1135 -0
- package/typechain-types/PendleWstEthSCY.ts +1040 -0
- package/typechain-types/PendleYearnVaultSCY.ts +963 -0
- package/typechain-types/PermissionsV2Upg.ts +87 -0
- package/typechain-types/PtAMMArb.ts +587 -0
- package/typechain-types/SCYBase.ts +1001 -0
- package/typechain-types/SCYBaseWithDynamicRewards.ts +1063 -0
- package/typechain-types/SCYBaseWithRewards.ts +1094 -0
- package/typechain-types/SSTORE2DeployerContract.ts +242 -0
- package/typechain-types/SYBaseAutoCompound.ts +1203 -0
- package/typechain-types/StEthHelper.ts +107 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/factories/AccessControl__factory.ts +227 -0
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +43 -0
- package/typechain-types/factories/ActionCallback__factory.ts +223 -0
- package/typechain-types/factories/ActionCore__factory.ts +1863 -0
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +396 -0
- package/typechain-types/factories/ActionYT__factory.ts +499 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +281 -0
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +141 -0
- package/typechain-types/factories/BribeDistributor__factory.ts +303 -0
- package/typechain-types/factories/CelerReceiverUpg__factory.ts +205 -0
- package/typechain-types/factories/CelerSenderUpg__factory.ts +163 -0
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +220 -0
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +146 -0
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +172 -0
- package/typechain-types/factories/DistributorBase__factory.ts +249 -0
- package/typechain-types/factories/ERC165__factory.ts +39 -0
- package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +75 -0
- package/typechain-types/factories/EpochResultManager__factory.ts +146 -0
- package/typechain-types/factories/FeeDistributorAbstract__factory.ts +127 -0
- package/typechain-types/factories/FeeDistributorVePendle__factory.ts +97 -0
- package/typechain-types/factories/FeeDistributorVotingFactory__factory.ts +211 -0
- package/typechain-types/factories/FeeDistributorVoting__factory.ts +219 -0
- package/typechain-types/factories/FeeDistributor__factory.ts +339 -0
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/IAccessControl__factory.ts +198 -0
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +54 -0
- package/typechain-types/factories/IBeaconUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/ICelerMessageBus__factory.ts +68 -0
- package/typechain-types/factories/ICelerMessageReceiverApp__factory.ts +64 -0
- package/typechain-types/factories/IERC165__factory.ts +42 -0
- package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/typechain-types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +155 -0
- package/typechain-types/factories/IMultihopRouter__factory.ts +151 -0
- package/typechain-types/factories/IPActionCore__factory.ts +1784 -0
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +205 -0
- package/typechain-types/factories/IPActionYT__factory.ts +435 -0
- package/typechain-types/factories/IPBatchSeller__factory.ts +132 -0
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +86 -0
- package/typechain-types/factories/IPVotingControllerStorage__factory.ts +107 -0
- package/typechain-types/factories/IPVotingEscrow__factory.ts +250 -0
- package/typechain-types/factories/IStargateLP__factory.ts +212 -0
- package/typechain-types/factories/IStargateStaking__factory.ts +145 -0
- package/typechain-types/factories/ISuperComposableYield__factory.ts +662 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +239 -0
- package/typechain-types/factories/KyberSwapHelper__factory.ts +39 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/OwnableUpgradeable__factory.ts +78 -0
- package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +1130 -0
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1106 -0
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +129 -0
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +996 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +874 -0
- package/typechain-types/factories/PendleApeStakingSY__factory.ts +981 -0
- package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleBatchSeller__factory.ts +480 -0
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +1093 -0
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +1125 -0
- package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +1067 -0
- package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +1080 -0
- package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +967 -0
- package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +910 -0
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +774 -0
- package/typechain-types/factories/PendleEulerSCY__factory.ts +805 -0
- package/typechain-types/factories/PendleFeeDistributorAbstract__factory.ts +183 -0
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +485 -0
- package/typechain-types/factories/PendleFeeDistributorVotingFactory__factory.ts +213 -0
- package/typechain-types/factories/PendleFeeDistributorVoting__factory.ts +275 -0
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +149 -0
- package/typechain-types/factories/PendleLooksStaking__factory.ts +933 -0
- package/typechain-types/factories/PendlePtOracleBase__factory.ts +78 -0
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +917 -0
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1095 -0
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +796 -0
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +845 -0
- package/typechain-types/factories/PendleStargateLP__factory.ts +1241 -0
- package/typechain-types/factories/PendleStargateSCY__factory.ts +952 -0
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +924 -0
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +787 -0
- package/typechain-types/factories/PermissionsV2Upg__factory.ts +39 -0
- package/typechain-types/factories/PtAMMArb__factory.ts +525 -0
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +775 -0
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +867 -0
- package/typechain-types/factories/SCYBase__factory.ts +798 -0
- package/typechain-types/factories/SSTORE2DeployerContract__factory.ts +191 -0
- package/typechain-types/factories/SYBaseAutoCompound__factory.ts +942 -0
- package/typechain-types/factories/StEthHelper__factory.ts +62 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/hardhat.d.ts +81 -27
- package/typechain-types/index.ts +16 -6
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
PendleFeeDistributorAbstract,
|
|
9
|
+
PendleFeeDistributorAbstractInterface,
|
|
10
|
+
} from "../PendleFeeDistributorAbstract";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: true,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "user",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: true,
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "rewardToken",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
indexed: false,
|
|
30
|
+
internalType: "uint256",
|
|
31
|
+
name: "lastEpochClaimed",
|
|
32
|
+
type: "uint256",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
indexed: false,
|
|
36
|
+
internalType: "uint256",
|
|
37
|
+
name: "totalReward",
|
|
38
|
+
type: "uint256",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
name: "ClaimReward",
|
|
42
|
+
type: "event",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
anonymous: false,
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
indexed: true,
|
|
49
|
+
internalType: "address",
|
|
50
|
+
name: "rewardToken",
|
|
51
|
+
type: "address",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
indexed: false,
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "numEpoch",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
indexed: false,
|
|
61
|
+
internalType: "uint256",
|
|
62
|
+
name: "incentiveForEach",
|
|
63
|
+
type: "uint256",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
name: "Fund",
|
|
67
|
+
type: "event",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
inputs: [
|
|
71
|
+
{
|
|
72
|
+
internalType: "address",
|
|
73
|
+
name: "user",
|
|
74
|
+
type: "address",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
internalType: "address",
|
|
78
|
+
name: "rewardToken",
|
|
79
|
+
type: "address",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
name: "claimReward",
|
|
83
|
+
outputs: [
|
|
84
|
+
{
|
|
85
|
+
internalType: "uint256",
|
|
86
|
+
name: "amountRewardOut",
|
|
87
|
+
type: "uint256",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
stateMutability: "nonpayable",
|
|
91
|
+
type: "function",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
inputs: [],
|
|
95
|
+
name: "deployedEpoch",
|
|
96
|
+
outputs: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "uint256",
|
|
99
|
+
name: "",
|
|
100
|
+
type: "uint256",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
stateMutability: "view",
|
|
104
|
+
type: "function",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [
|
|
108
|
+
{
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "rewardToken",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
internalType: "uint256",
|
|
115
|
+
name: "amount",
|
|
116
|
+
type: "uint256",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
internalType: "uint256",
|
|
120
|
+
name: "numEpoch",
|
|
121
|
+
type: "uint256",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "fund",
|
|
125
|
+
outputs: [],
|
|
126
|
+
stateMutability: "nonpayable",
|
|
127
|
+
type: "function",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
inputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "",
|
|
134
|
+
type: "uint256",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
internalType: "address",
|
|
138
|
+
name: "",
|
|
139
|
+
type: "address",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
name: "incentivesForEpoch",
|
|
143
|
+
outputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "",
|
|
147
|
+
type: "uint256",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
stateMutability: "view",
|
|
151
|
+
type: "function",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [
|
|
155
|
+
{
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "user",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
],
|
|
161
|
+
name: "updateUserShare",
|
|
162
|
+
outputs: [],
|
|
163
|
+
stateMutability: "nonpayable",
|
|
164
|
+
type: "function",
|
|
165
|
+
},
|
|
166
|
+
];
|
|
167
|
+
|
|
168
|
+
export class PendleFeeDistributorAbstract__factory {
|
|
169
|
+
static readonly abi = _abi;
|
|
170
|
+
static createInterface(): PendleFeeDistributorAbstractInterface {
|
|
171
|
+
return new utils.Interface(_abi) as PendleFeeDistributorAbstractInterface;
|
|
172
|
+
}
|
|
173
|
+
static connect(
|
|
174
|
+
address: string,
|
|
175
|
+
signerOrProvider: Signer | Provider
|
|
176
|
+
): PendleFeeDistributorAbstract {
|
|
177
|
+
return new Contract(
|
|
178
|
+
address,
|
|
179
|
+
_abi,
|
|
180
|
+
signerOrProvider
|
|
181
|
+
) as PendleFeeDistributorAbstract;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,485 @@
|
|
|
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
|
+
PendleFeeDistributorFactory,
|
|
15
|
+
PendleFeeDistributorFactoryInterface,
|
|
16
|
+
} from "../PendleFeeDistributorFactory";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_rewardToken",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "_votingController",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "address",
|
|
33
|
+
name: "_vePendle",
|
|
34
|
+
type: "address",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "_feeDistributorCreationCodeContractA",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
internalType: "uint256",
|
|
43
|
+
name: "_feeDistributorCreationCodeSizeA",
|
|
44
|
+
type: "uint256",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "_feeDistributorCreationCodeContractB",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
internalType: "uint256",
|
|
53
|
+
name: "_feeDistributorCreationCodeSizeB",
|
|
54
|
+
type: "uint256",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
stateMutability: "nonpayable",
|
|
58
|
+
type: "constructor",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
internalType: "address",
|
|
64
|
+
name: "pool",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
internalType: "address",
|
|
69
|
+
name: "distributor",
|
|
70
|
+
type: "address",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "FDFactoryDistributorAlreadyExisted",
|
|
74
|
+
type: "error",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
anonymous: false,
|
|
78
|
+
inputs: [
|
|
79
|
+
{
|
|
80
|
+
indexed: false,
|
|
81
|
+
internalType: "uint8",
|
|
82
|
+
name: "version",
|
|
83
|
+
type: "uint8",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
name: "Initialized",
|
|
87
|
+
type: "event",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
anonymous: false,
|
|
91
|
+
inputs: [
|
|
92
|
+
{
|
|
93
|
+
indexed: true,
|
|
94
|
+
internalType: "address",
|
|
95
|
+
name: "previousOwner",
|
|
96
|
+
type: "address",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
indexed: true,
|
|
100
|
+
internalType: "address",
|
|
101
|
+
name: "newOwner",
|
|
102
|
+
type: "address",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
name: "OwnershipTransferred",
|
|
106
|
+
type: "event",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
inputs: [],
|
|
110
|
+
name: "claimOwnership",
|
|
111
|
+
outputs: [],
|
|
112
|
+
stateMutability: "nonpayable",
|
|
113
|
+
type: "function",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
inputs: [
|
|
117
|
+
{
|
|
118
|
+
internalType: "address",
|
|
119
|
+
name: "pool",
|
|
120
|
+
type: "address",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
internalType: "uint64",
|
|
124
|
+
name: "startTime",
|
|
125
|
+
type: "uint64",
|
|
126
|
+
},
|
|
127
|
+
],
|
|
128
|
+
name: "createFeeDistributor",
|
|
129
|
+
outputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "address",
|
|
132
|
+
name: "distributor",
|
|
133
|
+
type: "address",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
stateMutability: "nonpayable",
|
|
137
|
+
type: "function",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
inputs: [],
|
|
141
|
+
name: "feeDistributorCreationCodeContractA",
|
|
142
|
+
outputs: [
|
|
143
|
+
{
|
|
144
|
+
internalType: "address",
|
|
145
|
+
name: "",
|
|
146
|
+
type: "address",
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
stateMutability: "view",
|
|
150
|
+
type: "function",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
inputs: [],
|
|
154
|
+
name: "feeDistributorCreationCodeContractB",
|
|
155
|
+
outputs: [
|
|
156
|
+
{
|
|
157
|
+
internalType: "address",
|
|
158
|
+
name: "",
|
|
159
|
+
type: "address",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
stateMutability: "view",
|
|
163
|
+
type: "function",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
inputs: [],
|
|
167
|
+
name: "feeDistributorCreationCodeSizeA",
|
|
168
|
+
outputs: [
|
|
169
|
+
{
|
|
170
|
+
internalType: "uint256",
|
|
171
|
+
name: "",
|
|
172
|
+
type: "uint256",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
stateMutability: "view",
|
|
176
|
+
type: "function",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
inputs: [],
|
|
180
|
+
name: "feeDistributorCreationCodeSizeB",
|
|
181
|
+
outputs: [
|
|
182
|
+
{
|
|
183
|
+
internalType: "uint256",
|
|
184
|
+
name: "",
|
|
185
|
+
type: "uint256",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
stateMutability: "view",
|
|
189
|
+
type: "function",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
inputs: [
|
|
193
|
+
{
|
|
194
|
+
internalType: "address",
|
|
195
|
+
name: "user",
|
|
196
|
+
type: "address",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
internalType: "address",
|
|
200
|
+
name: "pool",
|
|
201
|
+
type: "address",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
internalType: "uint256",
|
|
205
|
+
name: "epoch",
|
|
206
|
+
type: "uint256",
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
name: "getUserAndTotalSharesAt",
|
|
210
|
+
outputs: [
|
|
211
|
+
{
|
|
212
|
+
internalType: "uint256",
|
|
213
|
+
name: "userShare",
|
|
214
|
+
type: "uint256",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
internalType: "uint256",
|
|
218
|
+
name: "totalShare",
|
|
219
|
+
type: "uint256",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
stateMutability: "view",
|
|
223
|
+
type: "function",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
inputs: [],
|
|
227
|
+
name: "lastFinishedEpoch",
|
|
228
|
+
outputs: [
|
|
229
|
+
{
|
|
230
|
+
internalType: "uint256",
|
|
231
|
+
name: "",
|
|
232
|
+
type: "uint256",
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
stateMutability: "view",
|
|
236
|
+
type: "function",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
inputs: [],
|
|
240
|
+
name: "owner",
|
|
241
|
+
outputs: [
|
|
242
|
+
{
|
|
243
|
+
internalType: "address",
|
|
244
|
+
name: "",
|
|
245
|
+
type: "address",
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
stateMutability: "view",
|
|
249
|
+
type: "function",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
inputs: [],
|
|
253
|
+
name: "pendingOwner",
|
|
254
|
+
outputs: [
|
|
255
|
+
{
|
|
256
|
+
internalType: "address",
|
|
257
|
+
name: "",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
stateMutability: "view",
|
|
262
|
+
type: "function",
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
inputs: [
|
|
266
|
+
{
|
|
267
|
+
internalType: "address",
|
|
268
|
+
name: "",
|
|
269
|
+
type: "address",
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
name: "poolInfos",
|
|
273
|
+
outputs: [
|
|
274
|
+
{
|
|
275
|
+
internalType: "address",
|
|
276
|
+
name: "distributor",
|
|
277
|
+
type: "address",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
internalType: "uint64",
|
|
281
|
+
name: "startTime",
|
|
282
|
+
type: "uint64",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
stateMutability: "view",
|
|
286
|
+
type: "function",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
inputs: [],
|
|
290
|
+
name: "rewardToken",
|
|
291
|
+
outputs: [
|
|
292
|
+
{
|
|
293
|
+
internalType: "address",
|
|
294
|
+
name: "",
|
|
295
|
+
type: "address",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
stateMutability: "view",
|
|
299
|
+
type: "function",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [
|
|
303
|
+
{
|
|
304
|
+
internalType: "address",
|
|
305
|
+
name: "newOwner",
|
|
306
|
+
type: "address",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
internalType: "bool",
|
|
310
|
+
name: "direct",
|
|
311
|
+
type: "bool",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
internalType: "bool",
|
|
315
|
+
name: "renounce",
|
|
316
|
+
type: "bool",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
name: "transferOwnership",
|
|
320
|
+
outputs: [],
|
|
321
|
+
stateMutability: "nonpayable",
|
|
322
|
+
type: "function",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
inputs: [
|
|
326
|
+
{
|
|
327
|
+
internalType: "address",
|
|
328
|
+
name: "user",
|
|
329
|
+
type: "address",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
internalType: "address",
|
|
333
|
+
name: "pool",
|
|
334
|
+
type: "address",
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
name: "updateUserShare",
|
|
338
|
+
outputs: [],
|
|
339
|
+
stateMutability: "nonpayable",
|
|
340
|
+
type: "function",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
inputs: [
|
|
344
|
+
{
|
|
345
|
+
internalType: "address",
|
|
346
|
+
name: "",
|
|
347
|
+
type: "address",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
internalType: "address",
|
|
351
|
+
name: "",
|
|
352
|
+
type: "address",
|
|
353
|
+
},
|
|
354
|
+
],
|
|
355
|
+
name: "userInfo",
|
|
356
|
+
outputs: [
|
|
357
|
+
{
|
|
358
|
+
internalType: "uint128",
|
|
359
|
+
name: "timestamp",
|
|
360
|
+
type: "uint128",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
internalType: "uint128",
|
|
364
|
+
name: "iter",
|
|
365
|
+
type: "uint128",
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
stateMutability: "view",
|
|
369
|
+
type: "function",
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
inputs: [],
|
|
373
|
+
name: "vePendle",
|
|
374
|
+
outputs: [
|
|
375
|
+
{
|
|
376
|
+
internalType: "address",
|
|
377
|
+
name: "",
|
|
378
|
+
type: "address",
|
|
379
|
+
},
|
|
380
|
+
],
|
|
381
|
+
stateMutability: "view",
|
|
382
|
+
type: "function",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
inputs: [],
|
|
386
|
+
name: "votingController",
|
|
387
|
+
outputs: [
|
|
388
|
+
{
|
|
389
|
+
internalType: "address",
|
|
390
|
+
name: "",
|
|
391
|
+
type: "address",
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
stateMutability: "view",
|
|
395
|
+
type: "function",
|
|
396
|
+
},
|
|
397
|
+
];
|
|
398
|
+
|
|
399
|
+
const _bytecode =
|
|
400
|
+
"0x6101606040523480156200001257600080fd5b5060405162001a1d38038062001a1d833981016040819052620000359162000271565b6001600160a01b03868116608052851660a052600154600160a81b900460ff16158080156200006f575060018054600160a01b900460ff16105b80620000a557506200008c30620001c260201b620007b21760201c565b158015620000a5575060018054600160a01b900460ff16145b6200010e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6001805460ff60a01b1916600160a01b17905580156200013c576001805460ff60a81b1916600160a81b1790555b62000146620001d1565b6001600160a01b038089166101405285811660c05260e08590528316610100526101208290528015620001b4576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050620002f4565b6001600160a01b03163b151590565b600154600160a81b900460ff16620002405760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840162000105565b600080546001600160a01b03191633179055565b80516001600160a01b03811681146200026c57600080fd5b919050565b600080600080600080600060e0888a0312156200028d57600080fd5b620002988862000254565b9650620002a86020890162000254565b9550620002b86040890162000254565b9450620002c86060890162000254565b935060808801519250620002df60a0890162000254565b915060c0880151905092959891949750929550565b60805160a05160c05160e051610100516101205161014051611657620003c66000396000818161034a01526105a90152600081816101c0015261065801526000818161032301526106370152600081816101f501526106160152600081816102a501526105f501526000818161026b015281816108090152818161085e015281816109470152818161098001528181610e7201528181610ec001528181610f950152610ff20152600081816102240152818161091001528181610a1901528181610f54015261107c01526116576000f3fe608060405234801561001057600080fd5b50600436106100db5760003560e01c8063078dfbe7146100e05780630f208beb146100f557806342340a5614610159578063428c37ef146101bb57806344d68199146101f05780634e71e0c814610217578063517afbcf1461021f57806361565a8f1461025357806382dabb21146102665780638da5cb5b1461028d57806396c6d825146102a0578063b9a53a84146102c7578063c0aabb0d146102d0578063c6adc068146102f8578063e30c39781461030b578063f5636a321461031e578063f7c618c114610345575b600080fd5b6100f36100ee36600461128d565b61036c565b005b6101346101033660046112d0565b60326020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152015b60405180910390f35b610194610167366004611303565b6035602052600090815260409020546001600160a01b03811690600160a01b90046001600160401b031682565b604080516001600160a01b0390931683526001600160401b03909116602083015201610150565b6101e27f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610150565b6101e27f000000000000000000000000000000000000000000000000000000000000000081565b6100f3610472565b6102467f000000000000000000000000000000000000000000000000000000000000000081565b604051610150919061131e565b610246610261366004611332565b61051d565b6102467f000000000000000000000000000000000000000000000000000000000000000081565b600054610246906001600160a01b031681565b6102467f000000000000000000000000000000000000000000000000000000000000000081565b6101e260345481565b6102e36102de366004611375565b61074e565b60408051928352602083019190915201610150565b6100f36103063660046112d0565b61079b565b600154610246906001600160a01b031681565b6102467f000000000000000000000000000000000000000000000000000000000000000081565b6102467f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316331461039f5760405162461bcd60e51b8152600401610396906113b1565b60405180910390fd5b8115610450576001600160a01b0383161515806103b95750805b6103fd5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610396565b600080546040516001600160a01b038087169392169160008051602061160283398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6001546001600160a01b03163381146104cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610396565b600080546040516001600160a01b038085169392169160008051602061160283398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600080546001600160a01b031633146105485760405162461bcd60e51b8152600401610396906113b1565b6001600160a01b0383811660009081526035602052604090205416156105a0576001600160a01b03808416600090815260356020526040908190205490516320babb1d60e11b815261039692869216906004016113e6565b61067c600080857f0000000000000000000000000000000000000000000000000000000000000000866001600160401b03166040516020016105e493929190611400565b6040516020818303038152906040527f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006107c1565b60405163078dfbe760e01b815233600482015260016024820152600060448201529091506001600160a01b0382169063078dfbe790606401600060405180830381600087803b1580156106ce57600080fd5b505af11580156106e2573d6000803e3d6000fd5b50506040805180820182526001600160a01b0380861682526001600160401b0396871660208084019182529882166000908152603590995292909720905181549251909616600160a01b026001600160e01b031990921695909616949094179390931790935592915050565b6001600160a01b0380841660009081526033602090815260408083209386168352928152828220848352905290812054906107918461078c856107eb565b610805565b9050935093915050565b6107a481610945565b6107ae8282610a83565b5050565b6001600160a01b03163b151590565b6000806107d18787878787610d01565b90506107de898983610d53565b9998505050505050505050565b60006001600160801b0382111561080157600080fd5b5090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036108e25760405163947975d960e01b81526001600160801b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063947975d9906024015b602060405180830381865afa1580156108ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d2919061143b565b6001600160801b0316905061093f565b60405163f144cf1760e01b81526001600160a01b0384811660048301526001600160801b03841660248301527f0000000000000000000000000000000000000000000000000000000000000000169063f144cf1790604401610891565b92915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031603610a02577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166330d981af6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156109de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ae919061143b565b604051630e2e1d9760e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906338b8765c90610a4e90849060040161131e565b600060405180830381600087803b158015610a6857600080fd5b505af1158015610a7c573d6000803e3d6000fd5b5050505050565b6000610a8d610e5e565b6001600160a01b038085166000908152603260209081526040808320938716835292905220549091506001600160801b039081169082168103610ad05750505050565b806001600160801b0316600003610b0c57506001600160a01b038216600090815260356020526040902054600160a01b90046001600160401b03165b6000610b188585610e6e565b905080600003610b6c5750506001600160a01b0392831660009081526032602090815260408083209490951682529290925291902080546001600160801b0319166001600160801b03909216919091179055565b6001600160a01b038581166000908152603260209081526040808320938816835292905290812054600160801b90046001600160801b031690610bb0878784610f8b565b9050610bba611212565b83610bc684600161146c565b6001600160801b03161015610bf657610bf38888610be586600161146c565b6001600160801b0316610f8b565b90505b856001600160801b0316856001600160801b03161015610c9f57610c1d62093a808661146c565b9450610c2e8888868686868b6110b5565b925081600001516001600160801b0316856001600160801b031610610c9a576020820151610c5c908661114f565b6001600160a01b03808a166000908152603360209081526040808320938c1683529281528282206001600160801b038a811684529152919020911690555b610bf6565b50506040805180820182526001600160801b03958616815291851660208084019182526001600160a01b0398891660009081526032825283812098909916895296909652909520945193518316600160801b0293909216929092179092555050565b8451604080516020848701808501808401830190945283835291939192908401876000828b3c856000898301893c5060208981019085850101610d458183866111a2565b505050505095945050505050565b60008084471015610da65760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e63650000006044820152606401610396565b8251600003610df75760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152606401610396565b8383516020850187f590506001600160a01b038116610e545760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b6044820152606401610396565b90505b9392505050565b6000610e69426111e0565b905090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610f3d5760405163fc367c6160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063fc367c6190610ef590869060040161131e565b602060405180830381865afa158015610f12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f369190611493565b905061093f565b604051633575141360e11b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636aea282690610ef590869086906004016113e6565b610f93611212565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361106557604051637c386c7160e01b81526001600160a01b038581166004830152602482018490527f00000000000000000000000000000000000000000000000000000000000000001690637c386c71906044015b606060405180830381865afa15801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906114e2565b9050610e57565b60405163632c096d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063632c096d9061101d90879087908790600401611400565b60005b856110c486600161146c565b6001600160801b03161080156110ef575082600001516001600160801b0316826001600160801b0316115b15611143576110fe84846111fa565b8561110a86600261146c565b6001600160801b031610156111335761113361112c8989610be589600261146c565b84906111fa565b61113c85611554565b94506110b8565b50929695505050505050565b600082600001516001600160801b031682846020015161116f9190611582565b6001600160801b031611156111865750600061093f565b8183602001516111969190611582565b8351610e5791906115ad565b5b602081106111c2578151835260209283019290910190601f19016111a3565b905182516020929092036101000a6000190180199091169116179052565b600062093a806111f081846115cd565b61093f9190611582565b80516001600160801b03168252602090810151910152565b604051806040016040528060006001600160801b0316815260200161125c604051806040016040528060006001600160801b0316815260200160006001600160801b031681525090565b905290565b80356001600160a01b038116811461127857600080fd5b919050565b8035801515811461127857600080fd5b6000806000606084860312156112a257600080fd5b6112ab84611261565b92506112b96020850161127d565b91506112c76040850161127d565b90509250925092565b600080604083850312156112e357600080fd5b6112ec83611261565b91506112fa60208401611261565b90509250929050565b60006020828403121561131557600080fd5b610e5782611261565b6001600160a01b0391909116815260200190565b6000806040838503121561134557600080fd5b61134e83611261565b915060208301356001600160401b038116811461136a57600080fd5b809150509250929050565b60008060006060848603121561138a57600080fd5b61139384611261565b92506113a160208501611261565b9150604084013590509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b80516001600160801b038116811461127857600080fd5b60006020828403121561144d57600080fd5b610e5782611424565b634e487b7160e01b600052601160045260246000fd5b6001600160801b0381811683821601908082111561148c5761148c611456565b5092915050565b6000602082840312156114a557600080fd5b5051919050565b604080519081016001600160401b03811182821017156114dc57634e487b7160e01b600052604160045260246000fd5b60405290565b600081830360608112156114f557600080fd5b6114fd6114ac565b61150684611424565b81526040601f198301121561151a57600080fd5b6115226114ac565b915061153060208501611424565b825261153e60408501611424565b6020830152816020820152809250505092915050565b60006001600160801b038281166002600160801b0319810161157857611578611456565b6001019392505050565b6001600160801b038181168382160280821691908281146115a5576115a5611456565b505092915050565b6001600160801b0382811682821603908082111561148c5761148c611456565b60006001600160801b03838116806115f557634e487b7160e01b600052601260045260246000fd5b9216919091049291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220fe22e4e2c57eb7115de218bbf1df3f86537683d3965b1aca1e48e144f79a179364736f6c63430008110033";
|
|
401
|
+
|
|
402
|
+
type PendleFeeDistributorFactoryConstructorParams =
|
|
403
|
+
| [signer?: Signer]
|
|
404
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
405
|
+
|
|
406
|
+
const isSuperArgs = (
|
|
407
|
+
xs: PendleFeeDistributorFactoryConstructorParams
|
|
408
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
409
|
+
|
|
410
|
+
export class PendleFeeDistributorFactory__factory extends ContractFactory {
|
|
411
|
+
constructor(...args: PendleFeeDistributorFactoryConstructorParams) {
|
|
412
|
+
if (isSuperArgs(args)) {
|
|
413
|
+
super(...args);
|
|
414
|
+
} else {
|
|
415
|
+
super(_abi, _bytecode, args[0]);
|
|
416
|
+
}
|
|
417
|
+
this.contractName = "PendleFeeDistributorFactory";
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
deploy(
|
|
421
|
+
_rewardToken: string,
|
|
422
|
+
_votingController: string,
|
|
423
|
+
_vePendle: string,
|
|
424
|
+
_feeDistributorCreationCodeContractA: string,
|
|
425
|
+
_feeDistributorCreationCodeSizeA: BigNumberish,
|
|
426
|
+
_feeDistributorCreationCodeContractB: string,
|
|
427
|
+
_feeDistributorCreationCodeSizeB: BigNumberish,
|
|
428
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
429
|
+
): Promise<PendleFeeDistributorFactory> {
|
|
430
|
+
return super.deploy(
|
|
431
|
+
_rewardToken,
|
|
432
|
+
_votingController,
|
|
433
|
+
_vePendle,
|
|
434
|
+
_feeDistributorCreationCodeContractA,
|
|
435
|
+
_feeDistributorCreationCodeSizeA,
|
|
436
|
+
_feeDistributorCreationCodeContractB,
|
|
437
|
+
_feeDistributorCreationCodeSizeB,
|
|
438
|
+
overrides || {}
|
|
439
|
+
) as Promise<PendleFeeDistributorFactory>;
|
|
440
|
+
}
|
|
441
|
+
getDeployTransaction(
|
|
442
|
+
_rewardToken: string,
|
|
443
|
+
_votingController: string,
|
|
444
|
+
_vePendle: string,
|
|
445
|
+
_feeDistributorCreationCodeContractA: string,
|
|
446
|
+
_feeDistributorCreationCodeSizeA: BigNumberish,
|
|
447
|
+
_feeDistributorCreationCodeContractB: string,
|
|
448
|
+
_feeDistributorCreationCodeSizeB: BigNumberish,
|
|
449
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
450
|
+
): TransactionRequest {
|
|
451
|
+
return super.getDeployTransaction(
|
|
452
|
+
_rewardToken,
|
|
453
|
+
_votingController,
|
|
454
|
+
_vePendle,
|
|
455
|
+
_feeDistributorCreationCodeContractA,
|
|
456
|
+
_feeDistributorCreationCodeSizeA,
|
|
457
|
+
_feeDistributorCreationCodeContractB,
|
|
458
|
+
_feeDistributorCreationCodeSizeB,
|
|
459
|
+
overrides || {}
|
|
460
|
+
);
|
|
461
|
+
}
|
|
462
|
+
attach(address: string): PendleFeeDistributorFactory {
|
|
463
|
+
return super.attach(address) as PendleFeeDistributorFactory;
|
|
464
|
+
}
|
|
465
|
+
connect(signer: Signer): PendleFeeDistributorFactory__factory {
|
|
466
|
+
return super.connect(signer) as PendleFeeDistributorFactory__factory;
|
|
467
|
+
}
|
|
468
|
+
static readonly contractName: "PendleFeeDistributorFactory";
|
|
469
|
+
public readonly contractName: "PendleFeeDistributorFactory";
|
|
470
|
+
static readonly bytecode = _bytecode;
|
|
471
|
+
static readonly abi = _abi;
|
|
472
|
+
static createInterface(): PendleFeeDistributorFactoryInterface {
|
|
473
|
+
return new utils.Interface(_abi) as PendleFeeDistributorFactoryInterface;
|
|
474
|
+
}
|
|
475
|
+
static connect(
|
|
476
|
+
address: string,
|
|
477
|
+
signerOrProvider: Signer | Provider
|
|
478
|
+
): PendleFeeDistributorFactory {
|
|
479
|
+
return new Contract(
|
|
480
|
+
address,
|
|
481
|
+
_abi,
|
|
482
|
+
signerOrProvider
|
|
483
|
+
) as PendleFeeDistributorFactory;
|
|
484
|
+
}
|
|
485
|
+
}
|