@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,97 @@
|
|
|
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
|
+
FeeDistributorVePendle,
|
|
8
|
+
FeeDistributorVePendleInterface,
|
|
9
|
+
} from "../FeeDistributorVePendle";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_vePendle",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "nonpayable",
|
|
21
|
+
type: "constructor",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "vePendle",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "address",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
const _bytecode =
|
|
39
|
+
"0x60a060405234801561001057600080fd5b5060405161012d38038061012d83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805160a561008860003960006031015260a56000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806382dabb2114602d575b600080fd5b60537f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f3fea2646970667358221220c537dc000a85558aec8cce3a016c77e483c069a2450e9ffc26a40b6903dfc8a064736f6c634300080f0033";
|
|
40
|
+
|
|
41
|
+
type FeeDistributorVePendleConstructorParams =
|
|
42
|
+
| [signer?: Signer]
|
|
43
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
44
|
+
|
|
45
|
+
const isSuperArgs = (
|
|
46
|
+
xs: FeeDistributorVePendleConstructorParams
|
|
47
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
48
|
+
|
|
49
|
+
export class FeeDistributorVePendle__factory extends ContractFactory {
|
|
50
|
+
constructor(...args: FeeDistributorVePendleConstructorParams) {
|
|
51
|
+
if (isSuperArgs(args)) {
|
|
52
|
+
super(...args);
|
|
53
|
+
} else {
|
|
54
|
+
super(_abi, _bytecode, args[0]);
|
|
55
|
+
}
|
|
56
|
+
this.contractName = "FeeDistributorVePendle";
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
deploy(
|
|
60
|
+
_vePendle: string,
|
|
61
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
62
|
+
): Promise<FeeDistributorVePendle> {
|
|
63
|
+
return super.deploy(
|
|
64
|
+
_vePendle,
|
|
65
|
+
overrides || {}
|
|
66
|
+
) as Promise<FeeDistributorVePendle>;
|
|
67
|
+
}
|
|
68
|
+
getDeployTransaction(
|
|
69
|
+
_vePendle: string,
|
|
70
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
71
|
+
): TransactionRequest {
|
|
72
|
+
return super.getDeployTransaction(_vePendle, overrides || {});
|
|
73
|
+
}
|
|
74
|
+
attach(address: string): FeeDistributorVePendle {
|
|
75
|
+
return super.attach(address) as FeeDistributorVePendle;
|
|
76
|
+
}
|
|
77
|
+
connect(signer: Signer): FeeDistributorVePendle__factory {
|
|
78
|
+
return super.connect(signer) as FeeDistributorVePendle__factory;
|
|
79
|
+
}
|
|
80
|
+
static readonly contractName: "FeeDistributorVePendle";
|
|
81
|
+
public readonly contractName: "FeeDistributorVePendle";
|
|
82
|
+
static readonly bytecode = _bytecode;
|
|
83
|
+
static readonly abi = _abi;
|
|
84
|
+
static createInterface(): FeeDistributorVePendleInterface {
|
|
85
|
+
return new utils.Interface(_abi) as FeeDistributorVePendleInterface;
|
|
86
|
+
}
|
|
87
|
+
static connect(
|
|
88
|
+
address: string,
|
|
89
|
+
signerOrProvider: Signer | Provider
|
|
90
|
+
): FeeDistributorVePendle {
|
|
91
|
+
return new Contract(
|
|
92
|
+
address,
|
|
93
|
+
_abi,
|
|
94
|
+
signerOrProvider
|
|
95
|
+
) as FeeDistributorVePendle;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
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
|
+
FeeDistributorVotingFactory,
|
|
8
|
+
FeeDistributorVotingFactoryInterface,
|
|
9
|
+
} from "../FeeDistributorVotingFactory";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_votingController",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "nonpayable",
|
|
21
|
+
type: "constructor",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
anonymous: false,
|
|
25
|
+
inputs: [
|
|
26
|
+
{
|
|
27
|
+
indexed: true,
|
|
28
|
+
internalType: "address",
|
|
29
|
+
name: "previousOwner",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
indexed: true,
|
|
34
|
+
internalType: "address",
|
|
35
|
+
name: "newOwner",
|
|
36
|
+
type: "address",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
name: "OwnershipTransferred",
|
|
40
|
+
type: "event",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
inputs: [],
|
|
44
|
+
name: "claimOwnership",
|
|
45
|
+
outputs: [],
|
|
46
|
+
stateMutability: "nonpayable",
|
|
47
|
+
type: "function",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "pool",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "createFeeDistributor",
|
|
58
|
+
outputs: [],
|
|
59
|
+
stateMutability: "nonpayable",
|
|
60
|
+
type: "function",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "distributorOf",
|
|
71
|
+
outputs: [
|
|
72
|
+
{
|
|
73
|
+
internalType: "address",
|
|
74
|
+
name: "",
|
|
75
|
+
type: "address",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
stateMutability: "view",
|
|
79
|
+
type: "function",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
inputs: [],
|
|
83
|
+
name: "initialize",
|
|
84
|
+
outputs: [],
|
|
85
|
+
stateMutability: "nonpayable",
|
|
86
|
+
type: "function",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [],
|
|
90
|
+
name: "owner",
|
|
91
|
+
outputs: [
|
|
92
|
+
{
|
|
93
|
+
internalType: "address",
|
|
94
|
+
name: "",
|
|
95
|
+
type: "address",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
stateMutability: "view",
|
|
99
|
+
type: "function",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [],
|
|
103
|
+
name: "pendingOwner",
|
|
104
|
+
outputs: [
|
|
105
|
+
{
|
|
106
|
+
internalType: "address",
|
|
107
|
+
name: "",
|
|
108
|
+
type: "address",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
stateMutability: "view",
|
|
112
|
+
type: "function",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [
|
|
116
|
+
{
|
|
117
|
+
internalType: "address",
|
|
118
|
+
name: "newOwner",
|
|
119
|
+
type: "address",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
internalType: "bool",
|
|
123
|
+
name: "direct",
|
|
124
|
+
type: "bool",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
internalType: "bool",
|
|
128
|
+
name: "renounce",
|
|
129
|
+
type: "bool",
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
name: "transferOwnership",
|
|
133
|
+
outputs: [],
|
|
134
|
+
stateMutability: "nonpayable",
|
|
135
|
+
type: "function",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
inputs: [],
|
|
139
|
+
name: "votingController",
|
|
140
|
+
outputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "address",
|
|
143
|
+
name: "",
|
|
144
|
+
type: "address",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
stateMutability: "view",
|
|
148
|
+
type: "function",
|
|
149
|
+
},
|
|
150
|
+
];
|
|
151
|
+
|
|
152
|
+
const _bytecode =
|
|
153
|
+
"0x60a060405234801561001057600080fd5b50604051611c0c380380611c0c83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051611b7b6100916000396000818160f7015261017c0152611b7b6000f3fe608060405234801561001057600080fd5b50600436106100785760003560e01c8063062e631e1461007d578063078dfbe7146100925780633f20b9b4146100a55780634e71e0c8146100ea578063517afbcf146100f25780638129fc1c146101195780638da5cb5b14610121578063e30c397814610134575b600080fd5b61009061008b366004610530565b610147565b005b6100906100a0366004610562565b61020a565b6100ce6100b3366004610530565b6032602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b610090610307565b6100ce7f000000000000000000000000000000000000000000000000000000000000000081565b6100906103b2565b6000546100ce906001600160a01b031681565b6001546100ce906001600160a01b031681565b6000546001600160a01b0316331461017a5760405162461bcd60e51b8152600401610171906105a5565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000816040516101a890610507565b6001600160a01b03928316815291166020820152604001604051809103906000f0801580156101db573d6000803e3d6000fd5b506001600160a01b03918216600090815260326020526040902080546001600160a01b03191691909216179055565b6000546001600160a01b031633146102345760405162461bcd60e51b8152600401610171906105a5565b81156102e5576001600160a01b03831615158061024e5750805b6102925760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610171565b600080546040516001600160a01b0380871693921691600080516020611b2683398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6001546001600160a01b03163381146103625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610171565b600080546040516001600160a01b0380851693921691600080516020611b2683398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600154600160a81b900460ff166103d657600154600160a01b900460ff16156103da565b303b155b61043d5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610171565b600154600160a81b900460ff16158015610467576001805461ffff60a01b191661010160a01b1790555b61046f610486565b8015610483576001805460ff60a81b191690555b50565b600154600160a81b900460ff166104f35760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610171565b600080546001600160a01b03191633179055565b61154b806105db83390190565b80356001600160a01b038116811461052b57600080fd5b919050565b60006020828403121561054257600080fd5b61054b82610514565b9392505050565b8035801515811461052b57600080fd5b60008060006060848603121561057757600080fd5b61058084610514565b925061058e60208501610552565b915061059c60408501610552565b90509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fe60e06040523480156200001157600080fd5b506040516200154b3803806200154b8339810160408190526200003491620000c0565b620000496200006d60201b620003b61760201c565b6001600160801b03166080526001600160a01b0391821660a0521660c0526200016b565b60006200007a426200007f565b905090565b600062093a80620000918184620000f8565b6200009d91906200012d565b92915050565b80516001600160a01b0381168114620000bb57600080fd5b919050565b60008060408385031215620000d457600080fd5b620000df83620000a3565b9150620000ef60208401620000a3565b90509250929050565b60006001600160801b03838116806200012157634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b60006001600160801b03828116848216811515828404821116156200016257634e487b7160e01b600052601160045260246000fd5b02949350505050565b60805160a05160c05161136c620001df60003960008181608c0152818161046801528181610741015281816109950152610a7b01526000818160ea0152818161043b0152818161078e015281816109c00152610a4c015260008181610111015281816102820152610511015261136c6000f3fe608060405234801561001057600080fd5b506004361061006d5760003560e01c80630af6ce851461007257806316f0115b146100875780634953c782146100c4578063517afbcf146100e55780639cb8d6341461010c578063ad2ee5f514610133578063edf0923214610146575b600080fd5b610085610080366004610dbd565b610171565b005b6100ae7f000000000000000000000000000000000000000000000000000000000000000081565b6040516100bb9190610df0565b60405180910390f35b6100d76100d2366004610e04565b610216565b6040519081526020016100bb565b6100ae7f000000000000000000000000000000000000000000000000000000000000000081565b6100d77f000000000000000000000000000000000000000000000000000000000000000081565b610085610141366004610e37565b6103aa565b6100d7610154366004610e52565b600360209081526000928352604080842090915290825290205481565b600061017b6103b6565b6001600160801b0316905060006101928385610ea1565b905060005b838110156101f9576101ac62093a8084610eb5565b60008181526003602090815260408083206001600160a01b038b1684529091528120805492955084929091906101e3908490610eb5565b909155506101f2905081610ecd565b9050610197565b5061020f6001600160a01b0386163330876103c6565b5050505050565b6000610220610424565b610229836104be565b60006102336103b6565b6001600160a01b038086166000908152600160209081526040808320938816835292905220549091506001600160801b0382168103610277576000925050506103a4565b806000036102a257507f00000000000000000000000000000000000000000000000000000000000000005b816001600160801b0316811015610356576102c062093a8082610eb5565b6001600160a01b03861660009081526002602090815260408083208484529091528120549192508190036102f457506102a2565b60008281526003602090815260408083206001600160a01b0389168452909152812054908190036103265750506102a2565b61032f836106fe565b6103398284610ee6565b6103439190610ea1565b61034d9086610eb5565b945050506102a2565b6001600160a01b0380861660009081526001602090815260408083209388168352929052206001600160801b038316905582156103a1576103a16001600160a01b0385168685610850565b50505b92915050565b6103b3816104be565b50565b60006103c142610885565b905090565b61041e846323b872dd60e01b8585856040516024016103e793929190610f05565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261089f565b50505050565b604051630e2e1d9760e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906338b8765c90610490907f000000000000000000000000000000000000000000000000000000000000000090600401610df0565b600060405180830381600087803b1580156104aa57600080fd5b505af115801561041e573d6000803e3d6000fd5b60006104c86103b6565b6001600160a01b0383166000908152602081905260409020549091506001600160801b0390811690821681036104fd57505050565b806001600160801b031660000361053157507f00000000000000000000000000000000000000000000000000000000000000005b600061053c84610976565b9050806000036105815750506001600160a01b0391909116600090815260208190526040902080546001600160801b0319166001600160801b03909216919091179055565b6001600160a01b038416600090815260208190526040812054600160801b90046001600160801b0316906105b58683610a2d565b90506105bf610d52565b836105cb846001610f29565b6001600160801b031610156105fa576105f7876105e9856001610f29565b6001600160801b0316610a2d565b90505b856001600160801b0316856001600160801b031610156106aa5761062162093a8086610f29565b945061063187858585858a610aed565b925081600001516001600160801b0316856001600160801b0316106106a55760208201516000906106629087610b7a565b6001600160801b0316905080156106a3576001600160a01b03881660009081526002602090815260408083206001600160801b038a16845290915290208190555b505b6105fa565b50506040805180820182526001600160801b03958616815291851660208084019182526001600160a01b039097166000908152968790529520905194518416600160801b0294909316939093179091555050565b600061071161070c83610b98565b610bb2565b61071d5761071d610f54565b604080516001808252818301909252600091602080830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061077357610773610f80565b6001600160a01b0392831660209182029290920101526000907f000000000000000000000000000000000000000000000000000000000000000016638d66c2846107bc86610b98565b846040518363ffffffff1660e01b81526004016107da929190610f96565b600060405180830381865afa1580156107f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261081f9190810190611074565b925050508060008151811061083657610836610f80565b60200260200101516001600160801b031692505050919050565b6040516001600160a01b03831660248201526044810182905261088090849063a9059cbb60e01b906064016103e7565b505050565b600062093a806108958184611144565b6103a4919061116a565b60006108f4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610bd19092919063ffffffff16565b80519091501561088057808060200190518101906109129190611199565b6108805760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b604051633575141360e11b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000811660248301526000917f000000000000000000000000000000000000000000000000000000000000000090911690636aea282690604401602060405180830381865afa158015610a09573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a491906111b4565b610a35610d52565b60405163632c096d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063632c096d90610aa59086907f0000000000000000000000000000000000000000000000000000000000000000908790600401610f05565b606060405180830381865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae691906111cd565b9392505050565b60005b85610afc866001610f29565b6001600160801b0316108015610b28575082600001516001600160801b0316826001600160801b031610155b15610b6f5782935085856002610b3e9190610f29565b6001600160801b03161015610b5f57610b5c876105e9876002610f29565b92505b610b688561123f565b9450610af0565b509295945050505050565b6000818360200151610b8c919061116a565b8351610ae6919061126d565b60006001600160801b03821115610bae57600080fd5b5090565b6000610bc162093a8083611295565b6001600160801b03161592915050565b6060610be08484600085610be8565b949350505050565b606082471015610c495760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161096d565b6001600160a01b0385163b610ca05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161096d565b600080866001600160a01b03168587604051610cbc91906112e7565b60006040518083038185875af1925050503d8060008114610cf9576040519150601f19603f3d011682016040523d82523d6000602084013e610cfe565b606091505b5091509150610d0e828286610d19565b979650505050505050565b60608315610d28575081610ae6565b825115610d385782518084602001fd5b8160405162461bcd60e51b815260040161096d9190611303565b604051806040016040528060006001600160801b03168152602001610d9c604051806040016040528060006001600160801b0316815260200160006001600160801b031681525090565b905290565b80356001600160a01b0381168114610db857600080fd5b919050565b600080600060608486031215610dd257600080fd5b610ddb84610da1565b95602085013595506040909401359392505050565b6001600160a01b0391909116815260200190565b60008060408385031215610e1757600080fd5b610e2083610da1565b9150610e2e60208401610da1565b90509250929050565b600060208284031215610e4957600080fd5b610ae682610da1565b60008060408385031215610e6557600080fd5b82359150610e2e60208401610da1565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082610eb057610eb0610e75565b500490565b60008219821115610ec857610ec8610e8b565b500190565b600060018201610edf57610edf610e8b565b5060010190565b6000816000190483118215151615610f0057610f00610e8b565b500290565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006001600160801b03828116848216808303821115610f4b57610f4b610e8b565b01949350505050565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160801b038316815260406020808301829052835191830182905260009184820191906060850190845b81811015610fe85784516001600160a01b031683529383019391830191600101610fc3565b5090979650505050505050565b80518015158114610db857600080fd5b80516001600160801b0381168114610db857600080fd5b604080519081016001600160401b038111828210171561103e5761103e610f6a565b60405290565b604051601f8201601f191681016001600160401b038111828210171561106c5761106c610f6a565b604052919050565b60008060006060848603121561108957600080fd5b61109284610ff5565b925060206110a1818601611005565b60408601519093506001600160401b03808211156110be57600080fd5b818701915087601f8301126110d257600080fd5b8151818111156110e4576110e4610f6a565b8060051b91506110f5848301611044565b818152918301840191848101908a84111561110f57600080fd5b938501935b838510156111345761112585611005565b82529385019390850190611114565b8096505050505050509250925092565b60006001600160801b038381168061115e5761115e610e75565b92169190910492915050565b60006001600160801b038281168482168115158284048211161561119057611190610e8b565b02949350505050565b6000602082840312156111ab57600080fd5b610ae682610ff5565b6000602082840312156111c657600080fd5b5051919050565b600081830360608112156111e057600080fd5b6111e861101c565b6111f184611005565b81526040601f198301121561120557600080fd5b61120d61101c565b915061121b60208501611005565b825261122960408501611005565b6020830152816020820152809250505092915050565b60006001600160801b038281166002600160801b0319810161126357611263610e8b565b6001019392505050565b60006001600160801b038381169083168181101561128d5761128d610e8b565b039392505050565b60006001600160801b03838116806112af576112af610e75565b92169190910692915050565b60005b838110156112d65781810151838201526020016112be565b8381111561041e5750506000910152565b600082516112f98184602087016112bb565b9190910192915050565b60208152600082518060208401526113228160408501602087016112bb565b601f01601f1916919091016040019291505056fea26469706673582212207f6307b1335e8b999af69132d2ff3fc26205d9a4c7810539f20433e35210c15764736f6c634300080f00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a26469706673582212208bab0164e9657e0099736604e5560ed80d96e799074ab43d98579d5a339d9edb64736f6c634300080f0033";
|
|
154
|
+
|
|
155
|
+
type FeeDistributorVotingFactoryConstructorParams =
|
|
156
|
+
| [signer?: Signer]
|
|
157
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
158
|
+
|
|
159
|
+
const isSuperArgs = (
|
|
160
|
+
xs: FeeDistributorVotingFactoryConstructorParams
|
|
161
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
162
|
+
|
|
163
|
+
export class FeeDistributorVotingFactory__factory extends ContractFactory {
|
|
164
|
+
constructor(...args: FeeDistributorVotingFactoryConstructorParams) {
|
|
165
|
+
if (isSuperArgs(args)) {
|
|
166
|
+
super(...args);
|
|
167
|
+
} else {
|
|
168
|
+
super(_abi, _bytecode, args[0]);
|
|
169
|
+
}
|
|
170
|
+
this.contractName = "FeeDistributorVotingFactory";
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
deploy(
|
|
174
|
+
_votingController: string,
|
|
175
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
176
|
+
): Promise<FeeDistributorVotingFactory> {
|
|
177
|
+
return super.deploy(
|
|
178
|
+
_votingController,
|
|
179
|
+
overrides || {}
|
|
180
|
+
) as Promise<FeeDistributorVotingFactory>;
|
|
181
|
+
}
|
|
182
|
+
getDeployTransaction(
|
|
183
|
+
_votingController: string,
|
|
184
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
185
|
+
): TransactionRequest {
|
|
186
|
+
return super.getDeployTransaction(_votingController, overrides || {});
|
|
187
|
+
}
|
|
188
|
+
attach(address: string): FeeDistributorVotingFactory {
|
|
189
|
+
return super.attach(address) as FeeDistributorVotingFactory;
|
|
190
|
+
}
|
|
191
|
+
connect(signer: Signer): FeeDistributorVotingFactory__factory {
|
|
192
|
+
return super.connect(signer) as FeeDistributorVotingFactory__factory;
|
|
193
|
+
}
|
|
194
|
+
static readonly contractName: "FeeDistributorVotingFactory";
|
|
195
|
+
public readonly contractName: "FeeDistributorVotingFactory";
|
|
196
|
+
static readonly bytecode = _bytecode;
|
|
197
|
+
static readonly abi = _abi;
|
|
198
|
+
static createInterface(): FeeDistributorVotingFactoryInterface {
|
|
199
|
+
return new utils.Interface(_abi) as FeeDistributorVotingFactoryInterface;
|
|
200
|
+
}
|
|
201
|
+
static connect(
|
|
202
|
+
address: string,
|
|
203
|
+
signerOrProvider: Signer | Provider
|
|
204
|
+
): FeeDistributorVotingFactory {
|
|
205
|
+
return new Contract(
|
|
206
|
+
address,
|
|
207
|
+
_abi,
|
|
208
|
+
signerOrProvider
|
|
209
|
+
) as FeeDistributorVotingFactory;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
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
|
+
FeeDistributorVoting,
|
|
8
|
+
FeeDistributorVotingInterface,
|
|
9
|
+
} from "../FeeDistributorVoting";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_votingController",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "_pool",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
stateMutability: "nonpayable",
|
|
26
|
+
type: "constructor",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
inputs: [
|
|
30
|
+
{
|
|
31
|
+
internalType: "address",
|
|
32
|
+
name: "user",
|
|
33
|
+
type: "address",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "rewardToken",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
name: "claimReward",
|
|
42
|
+
outputs: [
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "amountRewardOut",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
stateMutability: "nonpayable",
|
|
50
|
+
type: "function",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [],
|
|
54
|
+
name: "deployedEpoch",
|
|
55
|
+
outputs: [
|
|
56
|
+
{
|
|
57
|
+
internalType: "uint256",
|
|
58
|
+
name: "",
|
|
59
|
+
type: "uint256",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
stateMutability: "view",
|
|
63
|
+
type: "function",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
inputs: [
|
|
67
|
+
{
|
|
68
|
+
internalType: "address",
|
|
69
|
+
name: "rewardToken",
|
|
70
|
+
type: "address",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
internalType: "uint256",
|
|
74
|
+
name: "amount",
|
|
75
|
+
type: "uint256",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
internalType: "uint256",
|
|
79
|
+
name: "numEpoch",
|
|
80
|
+
type: "uint256",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
name: "fund",
|
|
84
|
+
outputs: [],
|
|
85
|
+
stateMutability: "nonpayable",
|
|
86
|
+
type: "function",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [
|
|
90
|
+
{
|
|
91
|
+
internalType: "uint256",
|
|
92
|
+
name: "",
|
|
93
|
+
type: "uint256",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "incentivesForEpoch",
|
|
102
|
+
outputs: [
|
|
103
|
+
{
|
|
104
|
+
internalType: "uint256",
|
|
105
|
+
name: "",
|
|
106
|
+
type: "uint256",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
stateMutability: "view",
|
|
110
|
+
type: "function",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
inputs: [],
|
|
114
|
+
name: "pool",
|
|
115
|
+
outputs: [
|
|
116
|
+
{
|
|
117
|
+
internalType: "address",
|
|
118
|
+
name: "",
|
|
119
|
+
type: "address",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
stateMutability: "view",
|
|
123
|
+
type: "function",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
inputs: [
|
|
127
|
+
{
|
|
128
|
+
internalType: "address",
|
|
129
|
+
name: "user",
|
|
130
|
+
type: "address",
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
name: "updateUserShare",
|
|
134
|
+
outputs: [],
|
|
135
|
+
stateMutability: "nonpayable",
|
|
136
|
+
type: "function",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [],
|
|
140
|
+
name: "votingController",
|
|
141
|
+
outputs: [
|
|
142
|
+
{
|
|
143
|
+
internalType: "address",
|
|
144
|
+
name: "",
|
|
145
|
+
type: "address",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
stateMutability: "view",
|
|
149
|
+
type: "function",
|
|
150
|
+
},
|
|
151
|
+
];
|
|
152
|
+
|
|
153
|
+
const _bytecode =
|
|
154
|
+
"0x60e06040523480156200001157600080fd5b506040516200154b3803806200154b8339810160408190526200003491620000c0565b620000496200006d60201b620003b61760201c565b6001600160801b03166080526001600160a01b0391821660a0521660c0526200016b565b60006200007a426200007f565b905090565b600062093a80620000918184620000f8565b6200009d91906200012d565b92915050565b80516001600160a01b0381168114620000bb57600080fd5b919050565b60008060408385031215620000d457600080fd5b620000df83620000a3565b9150620000ef60208401620000a3565b90509250929050565b60006001600160801b03838116806200012157634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b60006001600160801b03828116848216811515828404821116156200016257634e487b7160e01b600052601160045260246000fd5b02949350505050565b60805160a05160c05161136c620001df60003960008181608c0152818161046801528181610741015281816109950152610a7b01526000818160ea0152818161043b0152818161078e015281816109c00152610a4c015260008181610111015281816102820152610511015261136c6000f3fe608060405234801561001057600080fd5b506004361061006d5760003560e01c80630af6ce851461007257806316f0115b146100875780634953c782146100c4578063517afbcf146100e55780639cb8d6341461010c578063ad2ee5f514610133578063edf0923214610146575b600080fd5b610085610080366004610dbd565b610171565b005b6100ae7f000000000000000000000000000000000000000000000000000000000000000081565b6040516100bb9190610df0565b60405180910390f35b6100d76100d2366004610e04565b610216565b6040519081526020016100bb565b6100ae7f000000000000000000000000000000000000000000000000000000000000000081565b6100d77f000000000000000000000000000000000000000000000000000000000000000081565b610085610141366004610e37565b6103aa565b6100d7610154366004610e52565b600360209081526000928352604080842090915290825290205481565b600061017b6103b6565b6001600160801b0316905060006101928385610ea1565b905060005b838110156101f9576101ac62093a8084610eb5565b60008181526003602090815260408083206001600160a01b038b1684529091528120805492955084929091906101e3908490610eb5565b909155506101f2905081610ecd565b9050610197565b5061020f6001600160a01b0386163330876103c6565b5050505050565b6000610220610424565b610229836104be565b60006102336103b6565b6001600160a01b038086166000908152600160209081526040808320938816835292905220549091506001600160801b0382168103610277576000925050506103a4565b806000036102a257507f00000000000000000000000000000000000000000000000000000000000000005b816001600160801b0316811015610356576102c062093a8082610eb5565b6001600160a01b03861660009081526002602090815260408083208484529091528120549192508190036102f457506102a2565b60008281526003602090815260408083206001600160a01b0389168452909152812054908190036103265750506102a2565b61032f836106fe565b6103398284610ee6565b6103439190610ea1565b61034d9086610eb5565b945050506102a2565b6001600160a01b0380861660009081526001602090815260408083209388168352929052206001600160801b038316905582156103a1576103a16001600160a01b0385168685610850565b50505b92915050565b6103b3816104be565b50565b60006103c142610885565b905090565b61041e846323b872dd60e01b8585856040516024016103e793929190610f05565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261089f565b50505050565b604051630e2e1d9760e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906338b8765c90610490907f000000000000000000000000000000000000000000000000000000000000000090600401610df0565b600060405180830381600087803b1580156104aa57600080fd5b505af115801561041e573d6000803e3d6000fd5b60006104c86103b6565b6001600160a01b0383166000908152602081905260409020549091506001600160801b0390811690821681036104fd57505050565b806001600160801b031660000361053157507f00000000000000000000000000000000000000000000000000000000000000005b600061053c84610976565b9050806000036105815750506001600160a01b0391909116600090815260208190526040902080546001600160801b0319166001600160801b03909216919091179055565b6001600160a01b038416600090815260208190526040812054600160801b90046001600160801b0316906105b58683610a2d565b90506105bf610d52565b836105cb846001610f29565b6001600160801b031610156105fa576105f7876105e9856001610f29565b6001600160801b0316610a2d565b90505b856001600160801b0316856001600160801b031610156106aa5761062162093a8086610f29565b945061063187858585858a610aed565b925081600001516001600160801b0316856001600160801b0316106106a55760208201516000906106629087610b7a565b6001600160801b0316905080156106a3576001600160a01b03881660009081526002602090815260408083206001600160801b038a16845290915290208190555b505b6105fa565b50506040805180820182526001600160801b03958616815291851660208084019182526001600160a01b039097166000908152968790529520905194518416600160801b0294909316939093179091555050565b600061071161070c83610b98565b610bb2565b61071d5761071d610f54565b604080516001808252818301909252600091602080830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061077357610773610f80565b6001600160a01b0392831660209182029290920101526000907f000000000000000000000000000000000000000000000000000000000000000016638d66c2846107bc86610b98565b846040518363ffffffff1660e01b81526004016107da929190610f96565b600060405180830381865afa1580156107f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261081f9190810190611074565b925050508060008151811061083657610836610f80565b60200260200101516001600160801b031692505050919050565b6040516001600160a01b03831660248201526044810182905261088090849063a9059cbb60e01b906064016103e7565b505050565b600062093a806108958184611144565b6103a4919061116a565b60006108f4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610bd19092919063ffffffff16565b80519091501561088057808060200190518101906109129190611199565b6108805760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b604051633575141360e11b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000811660248301526000917f000000000000000000000000000000000000000000000000000000000000000090911690636aea282690604401602060405180830381865afa158015610a09573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a491906111b4565b610a35610d52565b60405163632c096d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063632c096d90610aa59086907f0000000000000000000000000000000000000000000000000000000000000000908790600401610f05565b606060405180830381865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae691906111cd565b9392505050565b60005b85610afc866001610f29565b6001600160801b0316108015610b28575082600001516001600160801b0316826001600160801b031610155b15610b6f5782935085856002610b3e9190610f29565b6001600160801b03161015610b5f57610b5c876105e9876002610f29565b92505b610b688561123f565b9450610af0565b509295945050505050565b6000818360200151610b8c919061116a565b8351610ae6919061126d565b60006001600160801b03821115610bae57600080fd5b5090565b6000610bc162093a8083611295565b6001600160801b03161592915050565b6060610be08484600085610be8565b949350505050565b606082471015610c495760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161096d565b6001600160a01b0385163b610ca05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161096d565b600080866001600160a01b03168587604051610cbc91906112e7565b60006040518083038185875af1925050503d8060008114610cf9576040519150601f19603f3d011682016040523d82523d6000602084013e610cfe565b606091505b5091509150610d0e828286610d19565b979650505050505050565b60608315610d28575081610ae6565b825115610d385782518084602001fd5b8160405162461bcd60e51b815260040161096d9190611303565b604051806040016040528060006001600160801b03168152602001610d9c604051806040016040528060006001600160801b0316815260200160006001600160801b031681525090565b905290565b80356001600160a01b0381168114610db857600080fd5b919050565b600080600060608486031215610dd257600080fd5b610ddb84610da1565b95602085013595506040909401359392505050565b6001600160a01b0391909116815260200190565b60008060408385031215610e1757600080fd5b610e2083610da1565b9150610e2e60208401610da1565b90509250929050565b600060208284031215610e4957600080fd5b610ae682610da1565b60008060408385031215610e6557600080fd5b82359150610e2e60208401610da1565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082610eb057610eb0610e75565b500490565b60008219821115610ec857610ec8610e8b565b500190565b600060018201610edf57610edf610e8b565b5060010190565b6000816000190483118215151615610f0057610f00610e8b565b500290565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006001600160801b03828116848216808303821115610f4b57610f4b610e8b565b01949350505050565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160801b038316815260406020808301829052835191830182905260009184820191906060850190845b81811015610fe85784516001600160a01b031683529383019391830191600101610fc3565b5090979650505050505050565b80518015158114610db857600080fd5b80516001600160801b0381168114610db857600080fd5b604080519081016001600160401b038111828210171561103e5761103e610f6a565b60405290565b604051601f8201601f191681016001600160401b038111828210171561106c5761106c610f6a565b604052919050565b60008060006060848603121561108957600080fd5b61109284610ff5565b925060206110a1818601611005565b60408601519093506001600160401b03808211156110be57600080fd5b818701915087601f8301126110d257600080fd5b8151818111156110e4576110e4610f6a565b8060051b91506110f5848301611044565b818152918301840191848101908a84111561110f57600080fd5b938501935b838510156111345761112585611005565b82529385019390850190611114565b8096505050505050509250925092565b60006001600160801b038381168061115e5761115e610e75565b92169190910492915050565b60006001600160801b038281168482168115158284048211161561119057611190610e8b565b02949350505050565b6000602082840312156111ab57600080fd5b610ae682610ff5565b6000602082840312156111c657600080fd5b5051919050565b600081830360608112156111e057600080fd5b6111e861101c565b6111f184611005565b81526040601f198301121561120557600080fd5b61120d61101c565b915061121b60208501611005565b825261122960408501611005565b6020830152816020820152809250505092915050565b60006001600160801b038281166002600160801b0319810161126357611263610e8b565b6001019392505050565b60006001600160801b038381169083168181101561128d5761128d610e8b565b039392505050565b60006001600160801b03838116806112af576112af610e75565b92169190910692915050565b60005b838110156112d65781810151838201526020016112be565b8381111561041e5750506000910152565b600082516112f98184602087016112bb565b9190910192915050565b60208152600082518060208401526113228160408501602087016112bb565b601f01601f1916919091016040019291505056fea26469706673582212207f6307b1335e8b999af69132d2ff3fc26205d9a4c7810539f20433e35210c15764736f6c634300080f0033";
|
|
155
|
+
|
|
156
|
+
type FeeDistributorVotingConstructorParams =
|
|
157
|
+
| [signer?: Signer]
|
|
158
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
159
|
+
|
|
160
|
+
const isSuperArgs = (
|
|
161
|
+
xs: FeeDistributorVotingConstructorParams
|
|
162
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
163
|
+
|
|
164
|
+
export class FeeDistributorVoting__factory extends ContractFactory {
|
|
165
|
+
constructor(...args: FeeDistributorVotingConstructorParams) {
|
|
166
|
+
if (isSuperArgs(args)) {
|
|
167
|
+
super(...args);
|
|
168
|
+
} else {
|
|
169
|
+
super(_abi, _bytecode, args[0]);
|
|
170
|
+
}
|
|
171
|
+
this.contractName = "FeeDistributorVoting";
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
deploy(
|
|
175
|
+
_votingController: string,
|
|
176
|
+
_pool: string,
|
|
177
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
178
|
+
): Promise<FeeDistributorVoting> {
|
|
179
|
+
return super.deploy(
|
|
180
|
+
_votingController,
|
|
181
|
+
_pool,
|
|
182
|
+
overrides || {}
|
|
183
|
+
) as Promise<FeeDistributorVoting>;
|
|
184
|
+
}
|
|
185
|
+
getDeployTransaction(
|
|
186
|
+
_votingController: string,
|
|
187
|
+
_pool: string,
|
|
188
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
189
|
+
): TransactionRequest {
|
|
190
|
+
return super.getDeployTransaction(
|
|
191
|
+
_votingController,
|
|
192
|
+
_pool,
|
|
193
|
+
overrides || {}
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
attach(address: string): FeeDistributorVoting {
|
|
197
|
+
return super.attach(address) as FeeDistributorVoting;
|
|
198
|
+
}
|
|
199
|
+
connect(signer: Signer): FeeDistributorVoting__factory {
|
|
200
|
+
return super.connect(signer) as FeeDistributorVoting__factory;
|
|
201
|
+
}
|
|
202
|
+
static readonly contractName: "FeeDistributorVoting";
|
|
203
|
+
public readonly contractName: "FeeDistributorVoting";
|
|
204
|
+
static readonly bytecode = _bytecode;
|
|
205
|
+
static readonly abi = _abi;
|
|
206
|
+
static createInterface(): FeeDistributorVotingInterface {
|
|
207
|
+
return new utils.Interface(_abi) as FeeDistributorVotingInterface;
|
|
208
|
+
}
|
|
209
|
+
static connect(
|
|
210
|
+
address: string,
|
|
211
|
+
signerOrProvider: Signer | Provider
|
|
212
|
+
): FeeDistributorVoting {
|
|
213
|
+
return new Contract(
|
|
214
|
+
address,
|
|
215
|
+
_abi,
|
|
216
|
+
signerOrProvider
|
|
217
|
+
) as FeeDistributorVoting;
|
|
218
|
+
}
|
|
219
|
+
}
|