@pendle/core-v2 0.11.2-testnet → 0.11.3-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +14 -62
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +12 -192
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +8 -51
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +173 -2
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +171 -0
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.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/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +171 -0
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
- 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/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +19 -0
- 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/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -124
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +0 -86
- 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/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/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2 -2
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
- package/contracts/core/LiquidityMining/PendleGauge.sol +1 -1
- package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +1 -2
- package/contracts/core/Market/PendleMarketFactory.sol +11 -16
- package/contracts/core/PendleRouter.sol +1 -3
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +1 -1
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +5 -5
- package/contracts/core/actions/ActionMintRedeem.sol +141 -0
- package/contracts/core/actions/base/ActionBaseMintRedeem.sol +0 -1
- package/contracts/interfaces/IPActionMintRedeem.sol +43 -0
- package/contracts/interfaces/IPGaugeController.sol +1 -1
- package/contracts/interfaces/IPMarketFactory.sol +1 -1
- package/contracts/interfaces/ISJoe.sol +3 -6
- package/contracts/libraries/helpers/PYIndex.sol +9 -0
- package/contracts/libraries/helpers/TokenHelper.sol +33 -24
- package/contracts/libraries/kyberswap/AggregationRouterHelper.sol +308 -0
- package/contracts/libraries/kyberswap/IMultihopRouter.sol +139 -0
- package/contracts/libraries/kyberswap/KyberSwapHelper.sol +7 -1
- package/contracts/libraries/math/MarketMathCore.sol +3 -1
- package/contracts/offchain-helpers/RouterStatic.sol +5 -5
- package/contracts/offchain-helpers/SSTORE2DeployerContract.sol +21 -0
- package/contracts/periphery/BoringOwnableUpgradeable.sol +2 -2
- package/deployments/43113-core.json +1 -1
- package/package.json +4 -5
- package/typechain-types/ActionMintRedeem.ts +172 -0
- package/typechain-types/AggregationRouterHelper.ts +108 -0
- package/typechain-types/ERC1967Upgrade.ts +97 -0
- package/typechain-types/EpochResultManager.ts +261 -0
- package/typechain-types/FeeDistributorVePendle.ts +3 -224
- package/typechain-types/IBeacon.ts +87 -0
- package/typechain-types/IBoringOwnableUpgradeable.ts +114 -0
- package/typechain-types/IERC1822Proxiable.ts +87 -0
- package/typechain-types/IMultihopRouter.ts +209 -0
- package/typechain-types/IPActionMintRedeem.ts +172 -0
- package/typechain-types/IPAllAction.ts +172 -0
- package/typechain-types/IPFeeDistributor.ts +24 -81
- package/typechain-types/IPFeeDistributorFactory.ts +187 -0
- package/typechain-types/IPGauge.ts +25 -0
- package/typechain-types/IPMarket.ts +25 -0
- package/typechain-types/IPVotingController.ts +7 -205
- package/typechain-types/IPVotingEscrow.ts +0 -117
- package/typechain-types/PendleFeeDistributor.ts +483 -0
- package/typechain-types/PendleFeeDistributorFactory.ts +466 -0
- package/typechain-types/PendleVotingControllerUpg.ts +24 -73
- package/typechain-types/SSTORE2DeployerContract.ts +242 -0
- package/typechain-types/VotingControllerStorageUpg.ts +27 -207
- package/typechain-types/VotingEscrowPendleMainchain.ts +13 -57
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +172 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +92 -0
- package/typechain-types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/typechain-types/factories/EpochResultManager__factory.ts +146 -0
- package/typechain-types/factories/FeeDistributorVePendle__factory.ts +1 -154
- package/typechain-types/factories/IBeacon__factory.ts +36 -0
- package/typechain-types/factories/IBoringOwnableUpgradeable__factory.ts +53 -0
- package/typechain-types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/typechain-types/factories/IMultihopRouter__factory.ts +151 -0
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +171 -0
- package/typechain-types/factories/IPAllAction__factory.ts +171 -0
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +95 -0
- package/typechain-types/factories/IPFeeDistributor__factory.ts +8 -42
- package/typechain-types/factories/IPGauge__factory.ts +19 -0
- package/typechain-types/factories/IPMarket__factory.ts +19 -0
- package/typechain-types/factories/IPVotingController__factory.ts +0 -124
- package/typechain-types/factories/IPVotingEscrow__factory.ts +0 -86
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleEulerSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +355 -0
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +390 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +13 -61
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SSTORE2DeployerContract__factory.ts +191 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +12 -192
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +7 -50
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +36 -54
- package/typechain-types/index.ts +6 -12
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/FeeDistributorVePendle.sol/FeeDistributorVePendle.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/FeeDistributorVePendle.sol/FeeDistributorVePendle.json +0 -188
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorAbstract.sol/PendleFeeDistributorAbstract.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorAbstract.sol/PendleFeeDistributorAbstract.json +0 -164
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorVoting.sol/PendleFeeDistributorVoting.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorVoting.sol/PendleFeeDistributorVoting.json +0 -206
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorVotingFactory.sol/PendleFeeDistributorVotingFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorVotingFactory.sol/PendleFeeDistributorVotingFactory.json +0 -149
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +0 -151
- package/contracts/periphery/PendleGovernanceManager.sol +0 -38
- package/contracts/periphery/PermissionsV2Upg.sol +0 -29
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
AggregationRouterHelper,
|
|
8
|
+
AggregationRouterHelperInterface,
|
|
9
|
+
} from "../AggregationRouterHelper";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "bytes",
|
|
16
|
+
name: "kybercall",
|
|
17
|
+
type: "bytes",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "newAmount",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
name: "getScaledInputData",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "bytes",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "bytes",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "pure",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
const _bytecode =
|
|
39
|
+
"0x611ef961003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063e4da6f2e1461003a575b600080fd5b61004d610048366004610b90565b610063565b60405161005a9190610c63565b60405180910390f35b606060006100746004828688610c76565b61007d91610ca0565b90506000808080610091886004818c610c76565b81019061009e9190610f59565b93509350935093506100b1838389610110565b604051919450925085906100cf908690869086908690602401611135565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152955050505050505b9392505050565b610118610b29565b60e084015160a08501516060919084810361013a578686935093505050610277565b846064610148600a82611246565b610152908461125d565b61015c919061127c565b1115801561018a57506064610172600a8261129e565b61017c908361125d565b610186919061127c565b8511155b6101d95760405162461bcd60e51b815260206004820152601b60248201527a6b796265723a20646966666572656e636520746f6f206c6172676560281b60448201526064015b60405180910390fd5b602082161561025657604087015151156102355760405162461bcd60e51b815260206004820152601e60248201527f6b796265723a2063616e2774207363616c652069662074616b6520666565000060448201526064016101d0565b61024087828761027f565b61024b8783886103da565b935093505050610277565b6000610263878388610507565b905061027088838861027f565b9450925050505b935093915050565b610287610b29565b60c084015183610297848361125d565b6102a1919061127c565b60c086015280158015906102b7575060c0850151155b156102c457600160c08601525b60a085018390526040850151516000036102e15784915050610109565b6000805b8660400151518110156103cf5760018760400151516103049190611246565b810361033b576103148286611246565b8760600151828151811061032a5761032a6112b6565b602002602001018181525050610392565b858588606001518381518110610353576103536112b6565b6020026020010151610365919061125d565b61036f919061127c565b87606001518281518110610385576103856112b6565b6020026020010181815250505b866060015181815181106103a8576103a86112b6565b6020026020010151826103bb919061129e565b9150806103c7816112cc565b9150506102e5565b509495945050505050565b60606000848060200190518101906103f2919061147b565b8051519091506000805b828110156104da5761040f600184611246565b81036104465761041f8287611246565b84602001518281518110610435576104356112b6565b60200260200101818152505061049d565b86868560200151838151811061045e5761045e6112b6565b6020026020010151610470919061125d565b61047a919061127c565b84602001518281518110610490576104906112b6565b6020026020010181815250505b836020015181815181106104b3576104b36112b6565b6020026020010151826104c6919061129e565b9150806104d2816112cc565b9150506103fc565b50826040516020016104ec919061155d565b60405160208183030381529060405293505050509392505050565b606060008480602001905181019061051f9190611790565b905083838260600151610532919061125d565b61053c919061127c565b60608201526000805b82515181101561077757600083600001518281518110610567576105676112b6565b6020026020010151600081518110610581576105816112b6565b6020026020010151905060006008826020015161ffff16901c9050600060018660000151516105b09190611246565b84036105c3576105c08589611246565b90505b60ff82166105e35782516105d990828b8b6107a3565b9084529050610755565b60ff8216600114806105f8575060ff82166004145b1561060b5782516105d990828b8b610870565b60011960ff8316016106255782516105d990828b8b6108f1565b60021960ff83160161063f5782516105d990828b8b6107a3565b60041960ff8316016106595782516105d990828b8b610950565b60051960ff8316016106735782516105d990828b8b610a17565b60061960ff8316016106c55760405162461bcd60e51b815260206004820152601b60248201527a6b796265723a2063616e2774207363616c65206b7962657272667160281b60448201526064016101d0565b60071960ff8316016106df5782516105d990828b8b610aca565b60081960ff8316016106f95782516105d990828b8b6107a3565b60405162461bcd60e51b815260206004820152602b60248201527f4167677265676174696f6e4578656375746f723a204465782074797065206e6f60448201526a1d081cdd5c1c1bdc9d195960aa1b60648201526084016101d0565b61075f818661129e565b9450505050808061076f906112cc565b915050610545565b50816040516020016107899190611867565b604051602081830303815290604052925050509392505050565b6060600080868060200190518101906107bc91906119a5565b905085156107d057608081018690526107f1565b848482608001516107e1919061125d565b6107eb919061127c565b60808201525b8060405160200161084e919081516001600160a01b039081168252602080840151821690830152604080840151821690830152606080840151909116908201526080808301519082015260a0918201519181019190915260c00190565b6040516020818303038152906040528160800151925092505094509492505050565b6060600080868060200190518101906108899190611a33565b9050851561089d5760a081018690526108be565b84848260a001516108ae919061125d565b6108b8919061127c565b60a08201525b806040516020016108cf9190611ad4565b6040516020818303038152906040528160a00151925092505094509492505050565b60606000808680602001905181019061090a9190611b86565b9050851561091e5760a0810186905261093f565b84848260a0015161092f919061125d565b610939919061127c565b60a08201525b806040516020016108cf9190611c23565b6060600080868060200190518101906109699190611cbd565b9050851561097d576080810186905261099e565b8484826080015161098e919061125d565b610998919061127c565b60808201525b8060405160200161084e919060006101008201905060018060a01b038084511683528060208501511660208401528060408501511660408401528060608501511660608401526080840151608084015260a084015160a08401528060c08501511660c08401525060e0830151151560e083015292915050565b606060008086806020019051810190610a309190611d78565b90508515610a445760808101869052610a65565b84848260800151610a55919061125d565b610a5f919061127c565b60808201525b608081015160405161084e91839160200182516001600160a01b03908116825260208085015190830152604080850151821690830152606080850151909116908201526080808401519082015260a0928301519281019290925260c082015260e00190565b606060008086806020019051810190610ae39190611db7565b90508515610af75760808101869052610b18565b84848260800151610b08919061125d565b610b12919061127c565b60808201525b8060405160200161084e9190611e41565b60405180610120016040528060006001600160a01b0316815260200160006001600160a01b03168152602001606081526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001606081525090565b600080600060408486031215610ba557600080fd5b83356001600160401b0380821115610bbc57600080fd5b818601915086601f830112610bd057600080fd5b813581811115610bdf57600080fd5b876020828501011115610bf157600080fd5b6020928301989097509590910135949350505050565b60005b83811015610c22578181015183820152602001610c0a565b83811115610c31576000848401525b50505050565b60008151808452610c4f816020860160208601610c07565b601f01601f19169290920160200192915050565b6020815260006101096020830184610c37565b60008085851115610c8657600080fd5b83861115610c9357600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015610cc85780818660040360031b1b83161692505b505092915050565b6001600160a01b0381168114610ce557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715610d2157610d21610ce8565b60405290565b60405160a081016001600160401b0381118282101715610d2157610d21610ce8565b604080519081016001600160401b0381118282101715610d2157610d21610ce8565b60405160e081016001600160401b0381118282101715610d2157610d21610ce8565b60405160c081016001600160401b0381118282101715610d2157610d21610ce8565b604051601f8201601f191681016001600160401b0381118282101715610dd757610dd7610ce8565b604052919050565b8035610dea81610cd0565b919050565b60006001600160401b03821115610e0857610e08610ce8565b5060051b60200190565b600082601f830112610e2357600080fd5b81356020610e38610e3383610def565b610daf565b82815260059290921b84018101918181019086841115610e5757600080fd5b8286015b84811015610e7b578035610e6e81610cd0565b8352918301918301610e5b565b509695505050505050565b600082601f830112610e9757600080fd5b81356020610ea7610e3383610def565b82815260059290921b84018101918181019086841115610ec657600080fd5b8286015b84811015610e7b5780358352918301918301610eca565b60006001600160401b03821115610efa57610efa610ce8565b50601f01601f191660200190565b600082601f830112610f1957600080fd5b8135610f27610e3382610ee1565b818152846020838601011115610f3c57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215610f6f57600080fd5b8435610f7a81610cd0565b935060208501356001600160401b0380821115610f9657600080fd5b908601906101208289031215610fab57600080fd5b610fb3610cfe565b610fbc83610ddf565b8152610fca60208401610ddf565b6020820152604083013582811115610fe157600080fd5b610fed8a828601610e12565b60408301525060608301358281111561100557600080fd5b6110118a828601610e86565b60608301525061102360808401610ddf565b608082015260a083013560a082015260c083013560c082015260e083013560e0820152610100808401358381111561105a57600080fd5b6110668b828701610f08565b82840152505080955050604087013591508082111561108457600080fd5b61109088838901610f08565b935060608701359150808211156110a657600080fd5b506110b387828801610f08565b91505092959194509250565b6001600160a01b03169052565b600081518084526020808501945080840160005b838110156103cf5781516001600160a01b0316875295820195908201906001016110e0565b600081518084526020808501945080840160005b838110156103cf57815187529582019590820190600101611119565b6001600160a01b03851681526080602082018190528451611158918301906110bf565b6000602085015161116c60a08401826110bf565b5060408501516101208060c08501526111896101a08501836110cc565b91506060870151607f19808685030160e08701526111a78483611105565b9350608089015191506101006111bf818801846110bf565b60a08a01518488015260c08a015161014088015260e08a0151610160880152808a0151935050808685030161018087015250506111fc8282610c37565b91505082810360408401526112118186610c37565b905082810360608401526112258185610c37565b979650505050505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561125857611258611230565b500390565b600081600019048311821515161561127757611277611230565b500290565b60008261129957634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156112b1576112b1611230565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600182016112de576112de611230565b5060010190565b8051610dea81610cd0565b600082601f83011261130157600080fd5b81516020611311610e3383610def565b82815260059290921b8401810191818101908684111561133057600080fd5b8286015b84811015610e7b57805161134781610cd0565b8352918301918301611334565b600082601f83011261136557600080fd5b81516020611375610e3383610def565b82815260059290921b8401810191818101908684111561139457600080fd5b8286015b84811015610e7b5780518352918301918301611398565b600082601f8301126113c057600080fd5b81516113ce610e3382610ee1565b8181528460208386010111156113e357600080fd5b6113f4826020830160208701610c07565b949350505050565b600082601f83011261140d57600080fd5b8151602061141d610e3383610def565b82815260059290921b8401810191818101908684111561143c57600080fd5b8286015b84811015610e7b5780516001600160401b0381111561145f5760008081fd5b61146d8986838b01016113af565b845250918301918301611440565b60006020828403121561148d57600080fd5b81516001600160401b03808211156114a457600080fd5b9083019060a082860312156114b857600080fd5b6114c0610d27565b8251828111156114cf57600080fd5b6114db878286016112f0565b8252506020830151828111156114f057600080fd5b6114fc87828601611354565b60208301525060408301518281111561151457600080fd5b611520878286016113fc565b6040830152506060830151606082015260808301518281111561154257600080fd5b61154e878286016113af565b60808301525095945050505050565b60006020808352835160a08285015261157960c08501826110cc565b905081850151601f19808684030160408701526115968383611105565b60408801518782038301606089015280518083529194508501925084840190600581901b8501860160005b828110156115ed57848783030184526115db828751610c37565b958801959388019391506001016115c1565b5060608a015160808a015260808a01519650838982030160a08a01526116138188610c37565b9a9950505050505050505050565b600082601f83011261163257600080fd5b8151611640610e3382610def565b808282526020820191508560208460051b870101111561165f57600080fd5b602085015b60208460051b8701018110156117865780516001600160401b0381111561168a57600080fd5b8601603f8101881361169b57600080fd5b60208101516116ac610e3382610def565b808282526020820191508a60408460051b86010111156116cb57600080fd5b604084015b60408460051b8601018110156117705780516001600160401b038111156116f657600080fd5b60408682018e03603f1901121561170c57600080fd5b611714610d49565b868201604001516001600160401b0381111561172f57600080fd5b6117408f604083868c0101016113af565b825250908601606001519061ffff8216821461175b57600080fd5b602081810192909252845292830192016116d0565b5086525050602093840193919091019050611664565b5095945050505050565b6000602082840312156117a257600080fd5b81516001600160401b03808211156117b957600080fd5b9083019060e082860312156117cd57600080fd5b6117d5610d6b565b8251828111156117e457600080fd5b6117f087828601611621565b8252506117ff602084016112e5565b6020820152611810604084016112e5565b60408201526060830151606082015261182b608084016112e5565b608082015260a083015160a082015260c08301518281111561184c57600080fd5b611858878286016113af565b60c08301525095945050505050565b6020808252825160e0838301528051610100840181905260009291600582811b860161012090810193928501929087019186805b8381101561192a5789870361011f1901855285518051808952908901908989019080861b8a018b01855b8281101561191457601f198c83030184528451604081518185526118eb82860182610c37565b91505061ffff8f830151168f85015280935050508c850194508c840193506001810190506118c5565b509950505095880195509387019360010161189b565b50505050505081850151915061194360408501836110bf565b6040850151915061195760608501836110bf565b606085015160808501526080850151915061197560a08501836110bf565b60a085015160c085015260c08501519150601f198482030160e085015261199c8183610c37565b95945050505050565b600060c082840312156119b757600080fd5b6119bf610d8d565b82516119ca81610cd0565b815260208301516119da81610cd0565b602082015260408301516119ed81610cd0565b60408201526060830151611a0081610cd0565b60608201526080838101519082015260a0928301519281019290925250919050565b805160ff81168114610dea57600080fd5b60006101208284031215611a4657600080fd5b611a4e610cfe565b611a57836112e5565b8152611a65602084016112e5565b6020820152611a76604084016112e5565b6040820152611a8760608401611a22565b6060820152611a9860808401611a22565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100611ac98185016112e5565b908201529392505050565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611b08908401826110bf565b506060830151611b1d606084018260ff169052565b506080830151611b32608084018260ff169052565b5060a083015160a083015260c083015160c083015260e083015160e083015261010080840151610cc8828501826110bf565b8051600f81900b8114610dea57600080fd5b80518015158114610dea57600080fd5b60006101208284031215611b9957600080fd5b611ba1610cfe565b611baa836112e5565b8152611bb8602084016112e5565b6020820152611bc9604084016112e5565b6040820152611bda60608401611b64565b6060820152611beb60808401611b64565b608082015260a083015160a082015260c083015160c0820152611c1060e08401611b76565b60e0820152610100611ac9818501611b76565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611c57908401826110bf565b506060830151611c6c6060840182600f0b9052565b506080830151611c816080840182600f0b9052565b5060a083015160a083015260c083015160c083015260e0830151611ca960e084018215159052565b506101008381015180151584830152610cc8565b6000610100808385031215611cd157600080fd5b604051908101906001600160401b0382118183101715611cf357611cf3610ce8565b8160405283519150611d0482610cd0565b818152611d13602085016112e5565b6020820152611d24604085016112e5565b6040820152611d35606085016112e5565b60608201526080840151608082015260a084015160a0820152611d5a60c085016112e5565b60c0820152611d6b60e08501611b76565b60e0820152949350505050565b600060c08284031215611d8a57600080fd5b611d92610d8d565b8251611d9d81610cd0565b81526020838101519082015260408301516119ed81610cd0565b60006101208284031215611dca57600080fd5b611dd2610cfe565b611ddb836112e5565b8152611de9602084016112e5565b6020820152611dfa604084016112e5565b6040820152611e0b606084016112e5565b60608201526080830151608082015260a083015160a0820152611e3060c084016112e5565b60c0820152611c1060e08401611b76565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611e75908401826110bf565b506060830151611e8860608401826110bf565b506080830151608083015260a083015160a083015260c0830151611eaf60c08401826110bf565b5060e0830151611ca960e08401821515905256fea264697066735822122036923d022cc317115189c1de665f949c91244059d036a480c29388570e08985164736f6c634300080f0033";
|
|
40
|
+
|
|
41
|
+
type AggregationRouterHelperConstructorParams =
|
|
42
|
+
| [signer?: Signer]
|
|
43
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
44
|
+
|
|
45
|
+
const isSuperArgs = (
|
|
46
|
+
xs: AggregationRouterHelperConstructorParams
|
|
47
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
48
|
+
|
|
49
|
+
export class AggregationRouterHelper__factory extends ContractFactory {
|
|
50
|
+
constructor(...args: AggregationRouterHelperConstructorParams) {
|
|
51
|
+
if (isSuperArgs(args)) {
|
|
52
|
+
super(...args);
|
|
53
|
+
} else {
|
|
54
|
+
super(_abi, _bytecode, args[0]);
|
|
55
|
+
}
|
|
56
|
+
this.contractName = "AggregationRouterHelper";
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
deploy(
|
|
60
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
61
|
+
): Promise<AggregationRouterHelper> {
|
|
62
|
+
return super.deploy(overrides || {}) as Promise<AggregationRouterHelper>;
|
|
63
|
+
}
|
|
64
|
+
getDeployTransaction(
|
|
65
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
66
|
+
): TransactionRequest {
|
|
67
|
+
return super.getDeployTransaction(overrides || {});
|
|
68
|
+
}
|
|
69
|
+
attach(address: string): AggregationRouterHelper {
|
|
70
|
+
return super.attach(address) as AggregationRouterHelper;
|
|
71
|
+
}
|
|
72
|
+
connect(signer: Signer): AggregationRouterHelper__factory {
|
|
73
|
+
return super.connect(signer) as AggregationRouterHelper__factory;
|
|
74
|
+
}
|
|
75
|
+
static readonly contractName: "AggregationRouterHelper";
|
|
76
|
+
public readonly contractName: "AggregationRouterHelper";
|
|
77
|
+
static readonly bytecode = _bytecode;
|
|
78
|
+
static readonly abi = _abi;
|
|
79
|
+
static createInterface(): AggregationRouterHelperInterface {
|
|
80
|
+
return new utils.Interface(_abi) as AggregationRouterHelperInterface;
|
|
81
|
+
}
|
|
82
|
+
static connect(
|
|
83
|
+
address: string,
|
|
84
|
+
signerOrProvider: Signer | Provider
|
|
85
|
+
): AggregationRouterHelper {
|
|
86
|
+
return new Contract(
|
|
87
|
+
address,
|
|
88
|
+
_abi,
|
|
89
|
+
signerOrProvider
|
|
90
|
+
) as AggregationRouterHelper;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
ERC1967Upgrade,
|
|
9
|
+
ERC1967UpgradeInterface,
|
|
10
|
+
} from "../ERC1967Upgrade";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: false,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "previousAdmin",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: false,
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "newAdmin",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
name: "AdminChanged",
|
|
30
|
+
type: "event",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
anonymous: false,
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
indexed: true,
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "beacon",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "BeaconUpgraded",
|
|
43
|
+
type: "event",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
anonymous: false,
|
|
47
|
+
inputs: [
|
|
48
|
+
{
|
|
49
|
+
indexed: true,
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "implementation",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
name: "Upgraded",
|
|
56
|
+
type: "event",
|
|
57
|
+
},
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
export class ERC1967Upgrade__factory {
|
|
61
|
+
static readonly abi = _abi;
|
|
62
|
+
static createInterface(): ERC1967UpgradeInterface {
|
|
63
|
+
return new utils.Interface(_abi) as ERC1967UpgradeInterface;
|
|
64
|
+
}
|
|
65
|
+
static connect(
|
|
66
|
+
address: string,
|
|
67
|
+
signerOrProvider: Signer | Provider
|
|
68
|
+
): ERC1967Upgrade {
|
|
69
|
+
return new Contract(address, _abi, signerOrProvider) as ERC1967Upgrade;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
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
|
+
EpochResultManager,
|
|
9
|
+
EpochResultManagerInterface,
|
|
10
|
+
} from "../EpochResultManager";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "address",
|
|
17
|
+
name: "user",
|
|
18
|
+
type: "address",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "pool",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "uint256",
|
|
27
|
+
name: "epoch",
|
|
28
|
+
type: "uint256",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "getUserAndTotalSharesAt",
|
|
32
|
+
outputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: "uint256",
|
|
35
|
+
name: "userShare",
|
|
36
|
+
type: "uint256",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "totalShare",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
stateMutability: "view",
|
|
45
|
+
type: "function",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
inputs: [],
|
|
49
|
+
name: "lastFinishedEpoch",
|
|
50
|
+
outputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "uint256",
|
|
53
|
+
name: "",
|
|
54
|
+
type: "uint256",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
stateMutability: "nonpayable",
|
|
58
|
+
type: "function",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
internalType: "address",
|
|
64
|
+
name: "user",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
internalType: "address",
|
|
69
|
+
name: "pool",
|
|
70
|
+
type: "address",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "updateUserShare",
|
|
74
|
+
outputs: [],
|
|
75
|
+
stateMutability: "nonpayable",
|
|
76
|
+
type: "function",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "userInfo",
|
|
92
|
+
outputs: [
|
|
93
|
+
{
|
|
94
|
+
internalType: "uint128",
|
|
95
|
+
name: "timestamp",
|
|
96
|
+
type: "uint128",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
internalType: "uint128",
|
|
100
|
+
name: "iter",
|
|
101
|
+
type: "uint128",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
stateMutability: "view",
|
|
105
|
+
type: "function",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [],
|
|
109
|
+
name: "vePendle",
|
|
110
|
+
outputs: [
|
|
111
|
+
{
|
|
112
|
+
internalType: "address",
|
|
113
|
+
name: "",
|
|
114
|
+
type: "address",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
stateMutability: "view",
|
|
118
|
+
type: "function",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
inputs: [],
|
|
122
|
+
name: "votingController",
|
|
123
|
+
outputs: [
|
|
124
|
+
{
|
|
125
|
+
internalType: "address",
|
|
126
|
+
name: "",
|
|
127
|
+
type: "address",
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
stateMutability: "view",
|
|
131
|
+
type: "function",
|
|
132
|
+
},
|
|
133
|
+
];
|
|
134
|
+
|
|
135
|
+
export class EpochResultManager__factory {
|
|
136
|
+
static readonly abi = _abi;
|
|
137
|
+
static createInterface(): EpochResultManagerInterface {
|
|
138
|
+
return new utils.Interface(_abi) as EpochResultManagerInterface;
|
|
139
|
+
}
|
|
140
|
+
static connect(
|
|
141
|
+
address: string,
|
|
142
|
+
signerOrProvider: Signer | Provider
|
|
143
|
+
): EpochResultManager {
|
|
144
|
+
return new Contract(address, _abi, signerOrProvider) as EpochResultManager;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -20,159 +20,6 @@ const _abi = [
|
|
|
20
20
|
stateMutability: "nonpayable",
|
|
21
21
|
type: "constructor",
|
|
22
22
|
},
|
|
23
|
-
{
|
|
24
|
-
anonymous: false,
|
|
25
|
-
inputs: [
|
|
26
|
-
{
|
|
27
|
-
indexed: true,
|
|
28
|
-
internalType: "address",
|
|
29
|
-
name: "user",
|
|
30
|
-
type: "address",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
indexed: true,
|
|
34
|
-
internalType: "address",
|
|
35
|
-
name: "rewardToken",
|
|
36
|
-
type: "address",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
indexed: false,
|
|
40
|
-
internalType: "uint256",
|
|
41
|
-
name: "lastEpochClaimed",
|
|
42
|
-
type: "uint256",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
indexed: false,
|
|
46
|
-
internalType: "uint256",
|
|
47
|
-
name: "totalReward",
|
|
48
|
-
type: "uint256",
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
name: "ClaimReward",
|
|
52
|
-
type: "event",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
anonymous: false,
|
|
56
|
-
inputs: [
|
|
57
|
-
{
|
|
58
|
-
indexed: true,
|
|
59
|
-
internalType: "address",
|
|
60
|
-
name: "rewardToken",
|
|
61
|
-
type: "address",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
indexed: false,
|
|
65
|
-
internalType: "uint256",
|
|
66
|
-
name: "numEpoch",
|
|
67
|
-
type: "uint256",
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
indexed: false,
|
|
71
|
-
internalType: "uint256",
|
|
72
|
-
name: "incentiveForEach",
|
|
73
|
-
type: "uint256",
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
name: "Fund",
|
|
77
|
-
type: "event",
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
inputs: [
|
|
81
|
-
{
|
|
82
|
-
internalType: "address",
|
|
83
|
-
name: "user",
|
|
84
|
-
type: "address",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
internalType: "address",
|
|
88
|
-
name: "rewardToken",
|
|
89
|
-
type: "address",
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
name: "claimReward",
|
|
93
|
-
outputs: [
|
|
94
|
-
{
|
|
95
|
-
internalType: "uint256",
|
|
96
|
-
name: "amountRewardOut",
|
|
97
|
-
type: "uint256",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
stateMutability: "nonpayable",
|
|
101
|
-
type: "function",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
inputs: [],
|
|
105
|
-
name: "deployedEpoch",
|
|
106
|
-
outputs: [
|
|
107
|
-
{
|
|
108
|
-
internalType: "uint256",
|
|
109
|
-
name: "",
|
|
110
|
-
type: "uint256",
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
stateMutability: "view",
|
|
114
|
-
type: "function",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
inputs: [
|
|
118
|
-
{
|
|
119
|
-
internalType: "address",
|
|
120
|
-
name: "rewardToken",
|
|
121
|
-
type: "address",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
internalType: "uint256",
|
|
125
|
-
name: "amount",
|
|
126
|
-
type: "uint256",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
internalType: "uint256",
|
|
130
|
-
name: "numEpoch",
|
|
131
|
-
type: "uint256",
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
name: "fund",
|
|
135
|
-
outputs: [],
|
|
136
|
-
stateMutability: "nonpayable",
|
|
137
|
-
type: "function",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
inputs: [
|
|
141
|
-
{
|
|
142
|
-
internalType: "uint256",
|
|
143
|
-
name: "",
|
|
144
|
-
type: "uint256",
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
internalType: "address",
|
|
148
|
-
name: "",
|
|
149
|
-
type: "address",
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
name: "incentivesForEpoch",
|
|
153
|
-
outputs: [
|
|
154
|
-
{
|
|
155
|
-
internalType: "uint256",
|
|
156
|
-
name: "",
|
|
157
|
-
type: "uint256",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
stateMutability: "view",
|
|
161
|
-
type: "function",
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
inputs: [
|
|
165
|
-
{
|
|
166
|
-
internalType: "address",
|
|
167
|
-
name: "user",
|
|
168
|
-
type: "address",
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
name: "updateUserShare",
|
|
172
|
-
outputs: [],
|
|
173
|
-
stateMutability: "nonpayable",
|
|
174
|
-
type: "function",
|
|
175
|
-
},
|
|
176
23
|
{
|
|
177
24
|
inputs: [],
|
|
178
25
|
name: "vePendle",
|
|
@@ -189,7 +36,7 @@ const _abi = [
|
|
|
189
36
|
];
|
|
190
37
|
|
|
191
38
|
const _bytecode =
|
|
192
|
-
"
|
|
39
|
+
"0x60a060405234801561001057600080fd5b5060405161012d38038061012d83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805160a561008860003960006031015260a56000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806382dabb2114602d575b600080fd5b60537f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f3fea2646970667358221220c537dc000a85558aec8cce3a016c77e483c069a2450e9ffc26a40b6903dfc8a064736f6c634300080f0033";
|
|
193
40
|
|
|
194
41
|
type FeeDistributorVePendleConstructorParams =
|
|
195
42
|
| [signer?: Signer]
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { IBeacon, IBeaconInterface } from "../IBeacon";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "implementation",
|
|
13
|
+
outputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
export class IBeacon__factory {
|
|
26
|
+
static readonly abi = _abi;
|
|
27
|
+
static createInterface(): IBeaconInterface {
|
|
28
|
+
return new utils.Interface(_abi) as IBeaconInterface;
|
|
29
|
+
}
|
|
30
|
+
static connect(
|
|
31
|
+
address: string,
|
|
32
|
+
signerOrProvider: Signer | Provider
|
|
33
|
+
): IBeacon {
|
|
34
|
+
return new Contract(address, _abi, signerOrProvider) as IBeacon;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
IBoringOwnableUpgradeable,
|
|
9
|
+
IBoringOwnableUpgradeableInterface,
|
|
10
|
+
} from "../IBoringOwnableUpgradeable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "address",
|
|
17
|
+
name: "newOwner",
|
|
18
|
+
type: "address",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "bool",
|
|
22
|
+
name: "direct",
|
|
23
|
+
type: "bool",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "bool",
|
|
27
|
+
name: "renounce",
|
|
28
|
+
type: "bool",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "transferOwnership",
|
|
32
|
+
outputs: [],
|
|
33
|
+
stateMutability: "nonpayable",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
export class IBoringOwnableUpgradeable__factory {
|
|
39
|
+
static readonly abi = _abi;
|
|
40
|
+
static createInterface(): IBoringOwnableUpgradeableInterface {
|
|
41
|
+
return new utils.Interface(_abi) as IBoringOwnableUpgradeableInterface;
|
|
42
|
+
}
|
|
43
|
+
static connect(
|
|
44
|
+
address: string,
|
|
45
|
+
signerOrProvider: Signer | Provider
|
|
46
|
+
): IBoringOwnableUpgradeable {
|
|
47
|
+
return new Contract(
|
|
48
|
+
address,
|
|
49
|
+
_abi,
|
|
50
|
+
signerOrProvider
|
|
51
|
+
) as IBoringOwnableUpgradeable;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
IERC1822Proxiable,
|
|
9
|
+
IERC1822ProxiableInterface,
|
|
10
|
+
} from "../IERC1822Proxiable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "proxiableUUID",
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
internalType: "bytes32",
|
|
19
|
+
name: "",
|
|
20
|
+
type: "bytes32",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
stateMutability: "view",
|
|
24
|
+
type: "function",
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
export class IERC1822Proxiable__factory {
|
|
29
|
+
static readonly abi = _abi;
|
|
30
|
+
static createInterface(): IERC1822ProxiableInterface {
|
|
31
|
+
return new utils.Interface(_abi) as IERC1822ProxiableInterface;
|
|
32
|
+
}
|
|
33
|
+
static connect(
|
|
34
|
+
address: string,
|
|
35
|
+
signerOrProvider: Signer | Provider
|
|
36
|
+
): IERC1822Proxiable {
|
|
37
|
+
return new Contract(address, _abi, signerOrProvider) as IERC1822Proxiable;
|
|
38
|
+
}
|
|
39
|
+
}
|