@pendle/core-v2 0.11.0-testnet → 0.11.2-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/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/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/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- 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/FeeDistributor/FeeDistributorVePendle.sol/FeeDistributorVePendle.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/FeeDistributorVePendle.sol/FeeDistributorVePendle.json +188 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorAbstract.sol/PendleFeeDistributorAbstract.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorAbstract.sol/PendleFeeDistributorAbstract.json +164 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorVoting.sol/PendleFeeDistributorVoting.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorVoting.sol/PendleFeeDistributorVoting.json +206 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorVotingFactory.sol/PendleFeeDistributorVotingFactory.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorVotingFactory.sol/PendleFeeDistributorVotingFactory.json +149 -0
- 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 +62 -14
- 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 +192 -12
- 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 +51 -8
- 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/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- 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/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/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- 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/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/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +151 -0
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.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/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 +124 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +86 -0
- 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/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- 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/actions/base/ActionBaseMintRedeem.sol +1 -0
- package/contracts/interfaces/IPGauge.sol +2 -0
- package/deployments/43113-core.json +1 -1
- package/package.json +1 -1
- package/typechain-types/FeeDistributorAbstract.ts +240 -0
- package/typechain-types/FeeDistributorVePendle.ts +302 -0
- package/typechain-types/FeeDistributorVoting.ts +272 -0
- package/typechain-types/FeeDistributorVotingFactory.ts +293 -0
- package/typechain-types/IPFeeDistributor.ts +270 -0
- package/typechain-types/IPVotingController.ts +205 -7
- package/typechain-types/IPVotingControllerStorage.ts +169 -0
- package/typechain-types/IPVotingEscrow.ts +117 -0
- package/typechain-types/PendleFeeDistributorAbstract.ts +289 -0
- package/typechain-types/PendleFeeDistributorVoting.ts +321 -0
- package/typechain-types/PendleFeeDistributorVotingFactory.ts +294 -0
- package/typechain-types/PendleVotingControllerUpg.ts +73 -24
- package/typechain-types/VotingControllerStorageUpg.ts +207 -27
- package/typechain-types/VotingEscrowPendleMainchain.ts +57 -13
- package/typechain-types/factories/FeeDistributorAbstract__factory.ts +127 -0
- package/typechain-types/factories/FeeDistributorVePendle__factory.ts +250 -0
- package/typechain-types/factories/FeeDistributorVotingFactory__factory.ts +211 -0
- package/typechain-types/factories/FeeDistributorVoting__factory.ts +219 -0
- package/typechain-types/factories/IPFeeDistributor__factory.ts +166 -0
- package/typechain-types/factories/IPVotingControllerStorage__factory.ts +107 -0
- package/typechain-types/factories/IPVotingController__factory.ts +124 -0
- package/typechain-types/factories/IPVotingEscrow__factory.ts +86 -0
- package/typechain-types/factories/PendleFeeDistributorAbstract__factory.ts +183 -0
- package/typechain-types/factories/PendleFeeDistributorVotingFactory__factory.ts +213 -0
- package/typechain-types/factories/PendleFeeDistributorVoting__factory.ts +275 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +61 -13
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +192 -12
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +50 -7
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +54 -0
- package/typechain-types/index.ts +12 -0
|
@@ -30,6 +30,16 @@ export type VeBalanceStructOutput = [BigNumber, BigNumber] & {
|
|
|
30
30
|
slope: BigNumber;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
+
export type CheckpointStruct = {
|
|
34
|
+
timestamp: BigNumberish;
|
|
35
|
+
value: VeBalanceStruct;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export type CheckpointStructOutput = [BigNumber, VeBalanceStructOutput] & {
|
|
39
|
+
timestamp: BigNumber;
|
|
40
|
+
value: VeBalanceStructOutput;
|
|
41
|
+
};
|
|
42
|
+
|
|
33
43
|
export declare namespace VotingControllerStorageUpg {
|
|
34
44
|
export type UserPoolDataStruct = {
|
|
35
45
|
weight: BigNumberish;
|
|
@@ -64,8 +74,9 @@ export interface PendleVotingControllerUpgInterface extends utils.Interface {
|
|
|
64
74
|
"getBroadcastResultFee(uint64)": FunctionFragment;
|
|
65
75
|
"getPoolData(address,uint128[])": FunctionFragment;
|
|
66
76
|
"getUserData(address,address[])": FunctionFragment;
|
|
77
|
+
"getUserPoolHistoryAt(address,address,uint256)": FunctionFragment;
|
|
78
|
+
"getUserPoolHistoryLength(address,address)": FunctionFragment;
|
|
67
79
|
"getUserPoolVote(address,address)": FunctionFragment;
|
|
68
|
-
"getUserPoolVoteAt(address,address,uint128)": FunctionFragment;
|
|
69
80
|
"getWeekData(uint128,address[])": FunctionFragment;
|
|
70
81
|
"initialize()": FunctionFragment;
|
|
71
82
|
"owner()": FunctionFragment;
|
|
@@ -156,12 +167,16 @@ export interface PendleVotingControllerUpgInterface extends utils.Interface {
|
|
|
156
167
|
values: [string, string[]]
|
|
157
168
|
): string;
|
|
158
169
|
encodeFunctionData(
|
|
159
|
-
functionFragment: "
|
|
170
|
+
functionFragment: "getUserPoolHistoryAt",
|
|
171
|
+
values: [string, string, BigNumberish]
|
|
172
|
+
): string;
|
|
173
|
+
encodeFunctionData(
|
|
174
|
+
functionFragment: "getUserPoolHistoryLength",
|
|
160
175
|
values: [string, string]
|
|
161
176
|
): string;
|
|
162
177
|
encodeFunctionData(
|
|
163
|
-
functionFragment: "
|
|
164
|
-
values: [string, string
|
|
178
|
+
functionFragment: "getUserPoolVote",
|
|
179
|
+
values: [string, string]
|
|
165
180
|
): string;
|
|
166
181
|
encodeFunctionData(
|
|
167
182
|
functionFragment: "getWeekData",
|
|
@@ -279,11 +294,15 @@ export interface PendleVotingControllerUpgInterface extends utils.Interface {
|
|
|
279
294
|
data: BytesLike
|
|
280
295
|
): Result;
|
|
281
296
|
decodeFunctionResult(
|
|
282
|
-
functionFragment: "
|
|
297
|
+
functionFragment: "getUserPoolHistoryAt",
|
|
283
298
|
data: BytesLike
|
|
284
299
|
): Result;
|
|
285
300
|
decodeFunctionResult(
|
|
286
|
-
functionFragment: "
|
|
301
|
+
functionFragment: "getUserPoolHistoryLength",
|
|
302
|
+
data: BytesLike
|
|
303
|
+
): Result;
|
|
304
|
+
decodeFunctionResult(
|
|
305
|
+
functionFragment: "getUserPoolVote",
|
|
287
306
|
data: BytesLike
|
|
288
307
|
): Result;
|
|
289
308
|
decodeFunctionResult(
|
|
@@ -532,19 +551,25 @@ export interface PendleVotingControllerUpg extends BaseContract {
|
|
|
532
551
|
}
|
|
533
552
|
>;
|
|
534
553
|
|
|
535
|
-
|
|
554
|
+
getUserPoolHistoryAt(
|
|
536
555
|
user: string,
|
|
537
556
|
pool: string,
|
|
557
|
+
index: BigNumberish,
|
|
538
558
|
overrides?: CallOverrides
|
|
539
|
-
): Promise<[
|
|
559
|
+
): Promise<[CheckpointStructOutput]>;
|
|
540
560
|
|
|
541
|
-
|
|
561
|
+
getUserPoolHistoryLength(
|
|
542
562
|
user: string,
|
|
543
563
|
pool: string,
|
|
544
|
-
timestamp: BigNumberish,
|
|
545
564
|
overrides?: CallOverrides
|
|
546
565
|
): Promise<[BigNumber]>;
|
|
547
566
|
|
|
567
|
+
getUserPoolVote(
|
|
568
|
+
user: string,
|
|
569
|
+
pool: string,
|
|
570
|
+
overrides?: CallOverrides
|
|
571
|
+
): Promise<[VotingControllerStorageUpg.UserPoolDataStructOutput]>;
|
|
572
|
+
|
|
548
573
|
getWeekData(
|
|
549
574
|
wTime: BigNumberish,
|
|
550
575
|
pools: string[],
|
|
@@ -708,19 +733,25 @@ export interface PendleVotingControllerUpg extends BaseContract {
|
|
|
708
733
|
}
|
|
709
734
|
>;
|
|
710
735
|
|
|
711
|
-
|
|
736
|
+
getUserPoolHistoryAt(
|
|
712
737
|
user: string,
|
|
713
738
|
pool: string,
|
|
739
|
+
index: BigNumberish,
|
|
714
740
|
overrides?: CallOverrides
|
|
715
|
-
): Promise<
|
|
741
|
+
): Promise<CheckpointStructOutput>;
|
|
716
742
|
|
|
717
|
-
|
|
743
|
+
getUserPoolHistoryLength(
|
|
718
744
|
user: string,
|
|
719
745
|
pool: string,
|
|
720
|
-
timestamp: BigNumberish,
|
|
721
746
|
overrides?: CallOverrides
|
|
722
747
|
): Promise<BigNumber>;
|
|
723
748
|
|
|
749
|
+
getUserPoolVote(
|
|
750
|
+
user: string,
|
|
751
|
+
pool: string,
|
|
752
|
+
overrides?: CallOverrides
|
|
753
|
+
): Promise<VotingControllerStorageUpg.UserPoolDataStructOutput>;
|
|
754
|
+
|
|
724
755
|
getWeekData(
|
|
725
756
|
wTime: BigNumberish,
|
|
726
757
|
pools: string[],
|
|
@@ -880,19 +911,25 @@ export interface PendleVotingControllerUpg extends BaseContract {
|
|
|
880
911
|
}
|
|
881
912
|
>;
|
|
882
913
|
|
|
883
|
-
|
|
914
|
+
getUserPoolHistoryAt(
|
|
884
915
|
user: string,
|
|
885
916
|
pool: string,
|
|
917
|
+
index: BigNumberish,
|
|
886
918
|
overrides?: CallOverrides
|
|
887
|
-
): Promise<
|
|
919
|
+
): Promise<CheckpointStructOutput>;
|
|
888
920
|
|
|
889
|
-
|
|
921
|
+
getUserPoolHistoryLength(
|
|
890
922
|
user: string,
|
|
891
923
|
pool: string,
|
|
892
|
-
timestamp: BigNumberish,
|
|
893
924
|
overrides?: CallOverrides
|
|
894
925
|
): Promise<BigNumber>;
|
|
895
926
|
|
|
927
|
+
getUserPoolVote(
|
|
928
|
+
user: string,
|
|
929
|
+
pool: string,
|
|
930
|
+
overrides?: CallOverrides
|
|
931
|
+
): Promise<VotingControllerStorageUpg.UserPoolDataStructOutput>;
|
|
932
|
+
|
|
896
933
|
getWeekData(
|
|
897
934
|
wTime: BigNumberish,
|
|
898
935
|
pools: string[],
|
|
@@ -1109,16 +1146,22 @@ export interface PendleVotingControllerUpg extends BaseContract {
|
|
|
1109
1146
|
overrides?: CallOverrides
|
|
1110
1147
|
): Promise<BigNumber>;
|
|
1111
1148
|
|
|
1112
|
-
|
|
1149
|
+
getUserPoolHistoryAt(
|
|
1113
1150
|
user: string,
|
|
1114
1151
|
pool: string,
|
|
1152
|
+
index: BigNumberish,
|
|
1115
1153
|
overrides?: CallOverrides
|
|
1116
1154
|
): Promise<BigNumber>;
|
|
1117
1155
|
|
|
1118
|
-
|
|
1156
|
+
getUserPoolHistoryLength(
|
|
1157
|
+
user: string,
|
|
1158
|
+
pool: string,
|
|
1159
|
+
overrides?: CallOverrides
|
|
1160
|
+
): Promise<BigNumber>;
|
|
1161
|
+
|
|
1162
|
+
getUserPoolVote(
|
|
1119
1163
|
user: string,
|
|
1120
1164
|
pool: string,
|
|
1121
|
-
timestamp: BigNumberish,
|
|
1122
1165
|
overrides?: CallOverrides
|
|
1123
1166
|
): Promise<BigNumber>;
|
|
1124
1167
|
|
|
@@ -1266,16 +1309,22 @@ export interface PendleVotingControllerUpg extends BaseContract {
|
|
|
1266
1309
|
overrides?: CallOverrides
|
|
1267
1310
|
): Promise<PopulatedTransaction>;
|
|
1268
1311
|
|
|
1269
|
-
|
|
1312
|
+
getUserPoolHistoryAt(
|
|
1270
1313
|
user: string,
|
|
1271
1314
|
pool: string,
|
|
1315
|
+
index: BigNumberish,
|
|
1272
1316
|
overrides?: CallOverrides
|
|
1273
1317
|
): Promise<PopulatedTransaction>;
|
|
1274
1318
|
|
|
1275
|
-
|
|
1319
|
+
getUserPoolHistoryLength(
|
|
1320
|
+
user: string,
|
|
1321
|
+
pool: string,
|
|
1322
|
+
overrides?: CallOverrides
|
|
1323
|
+
): Promise<PopulatedTransaction>;
|
|
1324
|
+
|
|
1325
|
+
getUserPoolVote(
|
|
1276
1326
|
user: string,
|
|
1277
1327
|
pool: string,
|
|
1278
|
-
timestamp: BigNumberish,
|
|
1279
1328
|
overrides?: CallOverrides
|
|
1280
1329
|
): Promise<PopulatedTransaction>;
|
|
1281
1330
|
|
|
@@ -7,11 +7,13 @@ import {
|
|
|
7
7
|
BigNumberish,
|
|
8
8
|
BytesLike,
|
|
9
9
|
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
10
12
|
PopulatedTransaction,
|
|
11
13
|
Signer,
|
|
12
14
|
utils,
|
|
13
15
|
} from "ethers";
|
|
14
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
15
17
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
16
18
|
import type {
|
|
17
19
|
TypedEventFilter,
|
|
@@ -27,6 +29,16 @@ export type VeBalanceStructOutput = [BigNumber, BigNumber] & {
|
|
|
27
29
|
slope: BigNumber;
|
|
28
30
|
};
|
|
29
31
|
|
|
32
|
+
export type CheckpointStruct = {
|
|
33
|
+
timestamp: BigNumberish;
|
|
34
|
+
value: VeBalanceStruct;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type CheckpointStructOutput = [BigNumber, VeBalanceStructOutput] & {
|
|
38
|
+
timestamp: BigNumber;
|
|
39
|
+
value: VeBalanceStructOutput;
|
|
40
|
+
};
|
|
41
|
+
|
|
30
42
|
export declare namespace VotingControllerStorageUpg {
|
|
31
43
|
export type UserPoolDataStruct = {
|
|
32
44
|
weight: BigNumberish;
|
|
@@ -45,14 +57,16 @@ export interface VotingControllerStorageUpgInterface extends utils.Interface {
|
|
|
45
57
|
"GOVERNANCE_PENDLE_VOTE()": FunctionFragment;
|
|
46
58
|
"MAX_LOCK_TIME()": FunctionFragment;
|
|
47
59
|
"WEEK()": FunctionFragment;
|
|
60
|
+
"applyPoolSlopeChanges(address)": FunctionFragment;
|
|
48
61
|
"deployedWTime()": FunctionFragment;
|
|
49
62
|
"getActiveChainPools(uint64)": FunctionFragment;
|
|
50
63
|
"getAllActivePools()": FunctionFragment;
|
|
51
64
|
"getAllRemovedPools(uint256,uint256)": FunctionFragment;
|
|
52
65
|
"getPoolData(address,uint128[])": FunctionFragment;
|
|
53
66
|
"getUserData(address,address[])": FunctionFragment;
|
|
67
|
+
"getUserPoolHistoryAt(address,address,uint256)": FunctionFragment;
|
|
68
|
+
"getUserPoolHistoryLength(address,address)": FunctionFragment;
|
|
54
69
|
"getUserPoolVote(address,address)": FunctionFragment;
|
|
55
|
-
"getUserPoolVoteAt(address,address,uint128)": FunctionFragment;
|
|
56
70
|
"getWeekData(uint128,address[])": FunctionFragment;
|
|
57
71
|
"pendlePerSec()": FunctionFragment;
|
|
58
72
|
"vePendle()": FunctionFragment;
|
|
@@ -67,6 +81,10 @@ export interface VotingControllerStorageUpgInterface extends utils.Interface {
|
|
|
67
81
|
values?: undefined
|
|
68
82
|
): string;
|
|
69
83
|
encodeFunctionData(functionFragment: "WEEK", values?: undefined): string;
|
|
84
|
+
encodeFunctionData(
|
|
85
|
+
functionFragment: "applyPoolSlopeChanges",
|
|
86
|
+
values: [string]
|
|
87
|
+
): string;
|
|
70
88
|
encodeFunctionData(
|
|
71
89
|
functionFragment: "deployedWTime",
|
|
72
90
|
values?: undefined
|
|
@@ -92,12 +110,16 @@ export interface VotingControllerStorageUpgInterface extends utils.Interface {
|
|
|
92
110
|
values: [string, string[]]
|
|
93
111
|
): string;
|
|
94
112
|
encodeFunctionData(
|
|
95
|
-
functionFragment: "
|
|
113
|
+
functionFragment: "getUserPoolHistoryAt",
|
|
114
|
+
values: [string, string, BigNumberish]
|
|
115
|
+
): string;
|
|
116
|
+
encodeFunctionData(
|
|
117
|
+
functionFragment: "getUserPoolHistoryLength",
|
|
96
118
|
values: [string, string]
|
|
97
119
|
): string;
|
|
98
120
|
encodeFunctionData(
|
|
99
|
-
functionFragment: "
|
|
100
|
-
values: [string, string
|
|
121
|
+
functionFragment: "getUserPoolVote",
|
|
122
|
+
values: [string, string]
|
|
101
123
|
): string;
|
|
102
124
|
encodeFunctionData(
|
|
103
125
|
functionFragment: "getWeekData",
|
|
@@ -118,6 +140,10 @@ export interface VotingControllerStorageUpgInterface extends utils.Interface {
|
|
|
118
140
|
data: BytesLike
|
|
119
141
|
): Result;
|
|
120
142
|
decodeFunctionResult(functionFragment: "WEEK", data: BytesLike): Result;
|
|
143
|
+
decodeFunctionResult(
|
|
144
|
+
functionFragment: "applyPoolSlopeChanges",
|
|
145
|
+
data: BytesLike
|
|
146
|
+
): Result;
|
|
121
147
|
decodeFunctionResult(
|
|
122
148
|
functionFragment: "deployedWTime",
|
|
123
149
|
data: BytesLike
|
|
@@ -143,11 +169,15 @@ export interface VotingControllerStorageUpgInterface extends utils.Interface {
|
|
|
143
169
|
data: BytesLike
|
|
144
170
|
): Result;
|
|
145
171
|
decodeFunctionResult(
|
|
146
|
-
functionFragment: "
|
|
172
|
+
functionFragment: "getUserPoolHistoryAt",
|
|
147
173
|
data: BytesLike
|
|
148
174
|
): Result;
|
|
149
175
|
decodeFunctionResult(
|
|
150
|
-
functionFragment: "
|
|
176
|
+
functionFragment: "getUserPoolHistoryLength",
|
|
177
|
+
data: BytesLike
|
|
178
|
+
): Result;
|
|
179
|
+
decodeFunctionResult(
|
|
180
|
+
functionFragment: "getUserPoolVote",
|
|
151
181
|
data: BytesLike
|
|
152
182
|
): Result;
|
|
153
183
|
decodeFunctionResult(
|
|
@@ -160,9 +190,57 @@ export interface VotingControllerStorageUpgInterface extends utils.Interface {
|
|
|
160
190
|
): Result;
|
|
161
191
|
decodeFunctionResult(functionFragment: "vePendle", data: BytesLike): Result;
|
|
162
192
|
|
|
163
|
-
events: {
|
|
193
|
+
events: {
|
|
194
|
+
"AddPool(uint64,address)": EventFragment;
|
|
195
|
+
"BroadcastResults(uint64,uint128,uint128)": EventFragment;
|
|
196
|
+
"RemovePool(uint64,address)": EventFragment;
|
|
197
|
+
"SetPendlePerSec(uint256)": EventFragment;
|
|
198
|
+
"Vote(address,address,uint64,tuple)": EventFragment;
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
getEvent(nameOrSignatureOrTopic: "AddPool"): EventFragment;
|
|
202
|
+
getEvent(nameOrSignatureOrTopic: "BroadcastResults"): EventFragment;
|
|
203
|
+
getEvent(nameOrSignatureOrTopic: "RemovePool"): EventFragment;
|
|
204
|
+
getEvent(nameOrSignatureOrTopic: "SetPendlePerSec"): EventFragment;
|
|
205
|
+
getEvent(nameOrSignatureOrTopic: "Vote"): EventFragment;
|
|
164
206
|
}
|
|
165
207
|
|
|
208
|
+
export type AddPoolEvent = TypedEvent<
|
|
209
|
+
[BigNumber, string],
|
|
210
|
+
{ chainId: BigNumber; pool: string }
|
|
211
|
+
>;
|
|
212
|
+
|
|
213
|
+
export type AddPoolEventFilter = TypedEventFilter<AddPoolEvent>;
|
|
214
|
+
|
|
215
|
+
export type BroadcastResultsEvent = TypedEvent<
|
|
216
|
+
[BigNumber, BigNumber, BigNumber],
|
|
217
|
+
{ chainId: BigNumber; wTime: BigNumber; totalPendlePerSec: BigNumber }
|
|
218
|
+
>;
|
|
219
|
+
|
|
220
|
+
export type BroadcastResultsEventFilter =
|
|
221
|
+
TypedEventFilter<BroadcastResultsEvent>;
|
|
222
|
+
|
|
223
|
+
export type RemovePoolEvent = TypedEvent<
|
|
224
|
+
[BigNumber, string],
|
|
225
|
+
{ chainId: BigNumber; pool: string }
|
|
226
|
+
>;
|
|
227
|
+
|
|
228
|
+
export type RemovePoolEventFilter = TypedEventFilter<RemovePoolEvent>;
|
|
229
|
+
|
|
230
|
+
export type SetPendlePerSecEvent = TypedEvent<
|
|
231
|
+
[BigNumber],
|
|
232
|
+
{ newPendlePerSec: BigNumber }
|
|
233
|
+
>;
|
|
234
|
+
|
|
235
|
+
export type SetPendlePerSecEventFilter = TypedEventFilter<SetPendlePerSecEvent>;
|
|
236
|
+
|
|
237
|
+
export type VoteEvent = TypedEvent<
|
|
238
|
+
[string, string, BigNumber, VeBalanceStructOutput],
|
|
239
|
+
{ user: string; pool: string; weight: BigNumber; vote: VeBalanceStructOutput }
|
|
240
|
+
>;
|
|
241
|
+
|
|
242
|
+
export type VoteEventFilter = TypedEventFilter<VoteEvent>;
|
|
243
|
+
|
|
166
244
|
export interface VotingControllerStorageUpg extends BaseContract {
|
|
167
245
|
contractName: "VotingControllerStorageUpg";
|
|
168
246
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -197,6 +275,11 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
197
275
|
|
|
198
276
|
WEEK(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
199
277
|
|
|
278
|
+
applyPoolSlopeChanges(
|
|
279
|
+
pool: string,
|
|
280
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
281
|
+
): Promise<ContractTransaction>;
|
|
282
|
+
|
|
200
283
|
deployedWTime(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
201
284
|
|
|
202
285
|
getActiveChainPools(
|
|
@@ -238,19 +321,25 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
238
321
|
}
|
|
239
322
|
>;
|
|
240
323
|
|
|
241
|
-
|
|
324
|
+
getUserPoolHistoryAt(
|
|
242
325
|
user: string,
|
|
243
326
|
pool: string,
|
|
327
|
+
index: BigNumberish,
|
|
244
328
|
overrides?: CallOverrides
|
|
245
|
-
): Promise<[
|
|
329
|
+
): Promise<[CheckpointStructOutput]>;
|
|
246
330
|
|
|
247
|
-
|
|
331
|
+
getUserPoolHistoryLength(
|
|
248
332
|
user: string,
|
|
249
333
|
pool: string,
|
|
250
|
-
timestamp: BigNumberish,
|
|
251
334
|
overrides?: CallOverrides
|
|
252
335
|
): Promise<[BigNumber]>;
|
|
253
336
|
|
|
337
|
+
getUserPoolVote(
|
|
338
|
+
user: string,
|
|
339
|
+
pool: string,
|
|
340
|
+
overrides?: CallOverrides
|
|
341
|
+
): Promise<[VotingControllerStorageUpg.UserPoolDataStructOutput]>;
|
|
342
|
+
|
|
254
343
|
getWeekData(
|
|
255
344
|
wTime: BigNumberish,
|
|
256
345
|
pools: string[],
|
|
@@ -274,6 +363,11 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
274
363
|
|
|
275
364
|
WEEK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
276
365
|
|
|
366
|
+
applyPoolSlopeChanges(
|
|
367
|
+
pool: string,
|
|
368
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
369
|
+
): Promise<ContractTransaction>;
|
|
370
|
+
|
|
277
371
|
deployedWTime(overrides?: CallOverrides): Promise<BigNumber>;
|
|
278
372
|
|
|
279
373
|
getActiveChainPools(
|
|
@@ -315,19 +409,25 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
315
409
|
}
|
|
316
410
|
>;
|
|
317
411
|
|
|
318
|
-
|
|
412
|
+
getUserPoolHistoryAt(
|
|
319
413
|
user: string,
|
|
320
414
|
pool: string,
|
|
415
|
+
index: BigNumberish,
|
|
321
416
|
overrides?: CallOverrides
|
|
322
|
-
): Promise<
|
|
417
|
+
): Promise<CheckpointStructOutput>;
|
|
323
418
|
|
|
324
|
-
|
|
419
|
+
getUserPoolHistoryLength(
|
|
325
420
|
user: string,
|
|
326
421
|
pool: string,
|
|
327
|
-
timestamp: BigNumberish,
|
|
328
422
|
overrides?: CallOverrides
|
|
329
423
|
): Promise<BigNumber>;
|
|
330
424
|
|
|
425
|
+
getUserPoolVote(
|
|
426
|
+
user: string,
|
|
427
|
+
pool: string,
|
|
428
|
+
overrides?: CallOverrides
|
|
429
|
+
): Promise<VotingControllerStorageUpg.UserPoolDataStructOutput>;
|
|
430
|
+
|
|
331
431
|
getWeekData(
|
|
332
432
|
wTime: BigNumberish,
|
|
333
433
|
pools: string[],
|
|
@@ -351,6 +451,11 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
351
451
|
|
|
352
452
|
WEEK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
353
453
|
|
|
454
|
+
applyPoolSlopeChanges(
|
|
455
|
+
pool: string,
|
|
456
|
+
overrides?: CallOverrides
|
|
457
|
+
): Promise<void>;
|
|
458
|
+
|
|
354
459
|
deployedWTime(overrides?: CallOverrides): Promise<BigNumber>;
|
|
355
460
|
|
|
356
461
|
getActiveChainPools(
|
|
@@ -392,19 +497,25 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
392
497
|
}
|
|
393
498
|
>;
|
|
394
499
|
|
|
395
|
-
|
|
500
|
+
getUserPoolHistoryAt(
|
|
396
501
|
user: string,
|
|
397
502
|
pool: string,
|
|
503
|
+
index: BigNumberish,
|
|
398
504
|
overrides?: CallOverrides
|
|
399
|
-
): Promise<
|
|
505
|
+
): Promise<CheckpointStructOutput>;
|
|
400
506
|
|
|
401
|
-
|
|
507
|
+
getUserPoolHistoryLength(
|
|
402
508
|
user: string,
|
|
403
509
|
pool: string,
|
|
404
|
-
timestamp: BigNumberish,
|
|
405
510
|
overrides?: CallOverrides
|
|
406
511
|
): Promise<BigNumber>;
|
|
407
512
|
|
|
513
|
+
getUserPoolVote(
|
|
514
|
+
user: string,
|
|
515
|
+
pool: string,
|
|
516
|
+
overrides?: CallOverrides
|
|
517
|
+
): Promise<VotingControllerStorageUpg.UserPoolDataStructOutput>;
|
|
518
|
+
|
|
408
519
|
getWeekData(
|
|
409
520
|
wTime: BigNumberish,
|
|
410
521
|
pools: string[],
|
|
@@ -422,7 +533,54 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
422
533
|
vePendle(overrides?: CallOverrides): Promise<string>;
|
|
423
534
|
};
|
|
424
535
|
|
|
425
|
-
filters: {
|
|
536
|
+
filters: {
|
|
537
|
+
"AddPool(uint64,address)"(
|
|
538
|
+
chainId?: BigNumberish | null,
|
|
539
|
+
pool?: string | null
|
|
540
|
+
): AddPoolEventFilter;
|
|
541
|
+
AddPool(
|
|
542
|
+
chainId?: BigNumberish | null,
|
|
543
|
+
pool?: string | null
|
|
544
|
+
): AddPoolEventFilter;
|
|
545
|
+
|
|
546
|
+
"BroadcastResults(uint64,uint128,uint128)"(
|
|
547
|
+
chainId?: BigNumberish | null,
|
|
548
|
+
wTime?: BigNumberish | null,
|
|
549
|
+
totalPendlePerSec?: null
|
|
550
|
+
): BroadcastResultsEventFilter;
|
|
551
|
+
BroadcastResults(
|
|
552
|
+
chainId?: BigNumberish | null,
|
|
553
|
+
wTime?: BigNumberish | null,
|
|
554
|
+
totalPendlePerSec?: null
|
|
555
|
+
): BroadcastResultsEventFilter;
|
|
556
|
+
|
|
557
|
+
"RemovePool(uint64,address)"(
|
|
558
|
+
chainId?: BigNumberish | null,
|
|
559
|
+
pool?: string | null
|
|
560
|
+
): RemovePoolEventFilter;
|
|
561
|
+
RemovePool(
|
|
562
|
+
chainId?: BigNumberish | null,
|
|
563
|
+
pool?: string | null
|
|
564
|
+
): RemovePoolEventFilter;
|
|
565
|
+
|
|
566
|
+
"SetPendlePerSec(uint256)"(
|
|
567
|
+
newPendlePerSec?: null
|
|
568
|
+
): SetPendlePerSecEventFilter;
|
|
569
|
+
SetPendlePerSec(newPendlePerSec?: null): SetPendlePerSecEventFilter;
|
|
570
|
+
|
|
571
|
+
"Vote(address,address,uint64,tuple)"(
|
|
572
|
+
user?: string | null,
|
|
573
|
+
pool?: string | null,
|
|
574
|
+
weight?: null,
|
|
575
|
+
vote?: null
|
|
576
|
+
): VoteEventFilter;
|
|
577
|
+
Vote(
|
|
578
|
+
user?: string | null,
|
|
579
|
+
pool?: string | null,
|
|
580
|
+
weight?: null,
|
|
581
|
+
vote?: null
|
|
582
|
+
): VoteEventFilter;
|
|
583
|
+
};
|
|
426
584
|
|
|
427
585
|
estimateGas: {
|
|
428
586
|
GOVERNANCE_PENDLE_VOTE(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -431,6 +589,11 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
431
589
|
|
|
432
590
|
WEEK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
433
591
|
|
|
592
|
+
applyPoolSlopeChanges(
|
|
593
|
+
pool: string,
|
|
594
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
595
|
+
): Promise<BigNumber>;
|
|
596
|
+
|
|
434
597
|
deployedWTime(overrides?: CallOverrides): Promise<BigNumber>;
|
|
435
598
|
|
|
436
599
|
getActiveChainPools(
|
|
@@ -458,16 +621,22 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
458
621
|
overrides?: CallOverrides
|
|
459
622
|
): Promise<BigNumber>;
|
|
460
623
|
|
|
461
|
-
|
|
624
|
+
getUserPoolHistoryAt(
|
|
462
625
|
user: string,
|
|
463
626
|
pool: string,
|
|
627
|
+
index: BigNumberish,
|
|
464
628
|
overrides?: CallOverrides
|
|
465
629
|
): Promise<BigNumber>;
|
|
466
630
|
|
|
467
|
-
|
|
631
|
+
getUserPoolHistoryLength(
|
|
632
|
+
user: string,
|
|
633
|
+
pool: string,
|
|
634
|
+
overrides?: CallOverrides
|
|
635
|
+
): Promise<BigNumber>;
|
|
636
|
+
|
|
637
|
+
getUserPoolVote(
|
|
468
638
|
user: string,
|
|
469
639
|
pool: string,
|
|
470
|
-
timestamp: BigNumberish,
|
|
471
640
|
overrides?: CallOverrides
|
|
472
641
|
): Promise<BigNumber>;
|
|
473
642
|
|
|
@@ -491,6 +660,11 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
491
660
|
|
|
492
661
|
WEEK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
493
662
|
|
|
663
|
+
applyPoolSlopeChanges(
|
|
664
|
+
pool: string,
|
|
665
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
666
|
+
): Promise<PopulatedTransaction>;
|
|
667
|
+
|
|
494
668
|
deployedWTime(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
495
669
|
|
|
496
670
|
getActiveChainPools(
|
|
@@ -518,16 +692,22 @@ export interface VotingControllerStorageUpg extends BaseContract {
|
|
|
518
692
|
overrides?: CallOverrides
|
|
519
693
|
): Promise<PopulatedTransaction>;
|
|
520
694
|
|
|
521
|
-
|
|
695
|
+
getUserPoolHistoryAt(
|
|
696
|
+
user: string,
|
|
697
|
+
pool: string,
|
|
698
|
+
index: BigNumberish,
|
|
699
|
+
overrides?: CallOverrides
|
|
700
|
+
): Promise<PopulatedTransaction>;
|
|
701
|
+
|
|
702
|
+
getUserPoolHistoryLength(
|
|
522
703
|
user: string,
|
|
523
704
|
pool: string,
|
|
524
705
|
overrides?: CallOverrides
|
|
525
706
|
): Promise<PopulatedTransaction>;
|
|
526
707
|
|
|
527
|
-
|
|
708
|
+
getUserPoolVote(
|
|
528
709
|
user: string,
|
|
529
710
|
pool: string,
|
|
530
|
-
timestamp: BigNumberish,
|
|
531
711
|
overrides?: CallOverrides
|
|
532
712
|
): Promise<PopulatedTransaction>;
|
|
533
713
|
|