@pendle/core-v2 0.18.0-testnet → 0.19.0-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/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +560 -0
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +86 -5
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.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/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +24 -32
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -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/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +214 -0
- package/contracts/core/libraries/ArrayLib.sol +9 -0
- package/contracts/core/libraries/Errors.sol +9 -2
- package/contracts/interfaces/IPFeeDistributor.sol +10 -10
- package/deployments/43113-core.json +9 -3
- package/package.json +1 -1
- package/typechain-types/IPFeeDistributor.ts +43 -78
- package/typechain-types/IPFeeDistributorFactory.ts +53 -139
- package/typechain-types/PendleFeeDistributor.ts +373 -118
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +85 -4
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +25 -34
- package/typechain-types/factories/IPFeeDistributor__factory.ts +24 -32
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +310 -67
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SAPE__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +4 -76
- package/typechain-types/index.ts +2 -14
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json +0 -131
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -310
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +0 -389
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json +0 -76
- package/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol +0 -159
- package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +0 -99
- package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +0 -70
- package/contracts/interfaces/IPFeeDistributorFactory.sol +0 -14
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
BigNumber,
|
|
7
|
-
BigNumberish,
|
|
8
|
-
BytesLike,
|
|
9
|
-
CallOverrides,
|
|
10
|
-
ContractTransaction,
|
|
11
|
-
Overrides,
|
|
12
|
-
PopulatedTransaction,
|
|
13
|
-
Signer,
|
|
14
|
-
utils,
|
|
15
|
-
} from "ethers";
|
|
16
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
4
|
+
import { BaseContract, BigNumber, BigNumberish, Signer, utils } from "ethers";
|
|
5
|
+
import { EventFragment } from "@ethersproject/abi";
|
|
17
6
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
7
|
import type {
|
|
19
8
|
TypedEventFilter,
|
|
@@ -24,41 +13,31 @@ import type {
|
|
|
24
13
|
|
|
25
14
|
export interface IPFeeDistributorFactoryInterface extends utils.Interface {
|
|
26
15
|
contractName: "IPFeeDistributorFactory";
|
|
27
|
-
functions: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
16
|
+
functions: {};
|
|
17
|
+
|
|
18
|
+
events: {
|
|
19
|
+
"ClaimReward(address,address,uint256,uint256)": EventFragment;
|
|
20
|
+
"Fund(address,uint256,uint256)": EventFragment;
|
|
31
21
|
};
|
|
32
22
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
values: [string, string, BigNumberish]
|
|
36
|
-
): string;
|
|
37
|
-
encodeFunctionData(
|
|
38
|
-
functionFragment: "lastFinishedEpoch",
|
|
39
|
-
values?: undefined
|
|
40
|
-
): string;
|
|
41
|
-
encodeFunctionData(
|
|
42
|
-
functionFragment: "updateUserShare",
|
|
43
|
-
values: [string, string]
|
|
44
|
-
): string;
|
|
45
|
-
|
|
46
|
-
decodeFunctionResult(
|
|
47
|
-
functionFragment: "getUserAndTotalSharesAt",
|
|
48
|
-
data: BytesLike
|
|
49
|
-
): Result;
|
|
50
|
-
decodeFunctionResult(
|
|
51
|
-
functionFragment: "lastFinishedEpoch",
|
|
52
|
-
data: BytesLike
|
|
53
|
-
): Result;
|
|
54
|
-
decodeFunctionResult(
|
|
55
|
-
functionFragment: "updateUserShare",
|
|
56
|
-
data: BytesLike
|
|
57
|
-
): Result;
|
|
58
|
-
|
|
59
|
-
events: {};
|
|
23
|
+
getEvent(nameOrSignatureOrTopic: "ClaimReward"): EventFragment;
|
|
24
|
+
getEvent(nameOrSignatureOrTopic: "Fund"): EventFragment;
|
|
60
25
|
}
|
|
61
26
|
|
|
27
|
+
export type ClaimRewardEvent = TypedEvent<
|
|
28
|
+
[string, string, BigNumber, BigNumber],
|
|
29
|
+
{ pool: string; user: string; epoch: BigNumber; amountReward: BigNumber }
|
|
30
|
+
>;
|
|
31
|
+
|
|
32
|
+
export type ClaimRewardEventFilter = TypedEventFilter<ClaimRewardEvent>;
|
|
33
|
+
|
|
34
|
+
export type FundEvent = TypedEvent<
|
|
35
|
+
[string, BigNumber, BigNumber],
|
|
36
|
+
{ pool: string; epoch: BigNumber; incentive: BigNumber }
|
|
37
|
+
>;
|
|
38
|
+
|
|
39
|
+
export type FundEventFilter = TypedEventFilter<FundEvent>;
|
|
40
|
+
|
|
62
41
|
export interface IPFeeDistributorFactory extends BaseContract {
|
|
63
42
|
contractName: "IPFeeDistributorFactory";
|
|
64
43
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -86,102 +65,37 @@ export interface IPFeeDistributorFactory extends BaseContract {
|
|
|
86
65
|
once: OnEvent<this>;
|
|
87
66
|
removeListener: OnEvent<this>;
|
|
88
67
|
|
|
89
|
-
functions: {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
)
|
|
68
|
+
functions: {};
|
|
69
|
+
|
|
70
|
+
callStatic: {};
|
|
71
|
+
|
|
72
|
+
filters: {
|
|
73
|
+
"ClaimReward(address,address,uint256,uint256)"(
|
|
74
|
+
pool?: string | null,
|
|
75
|
+
user?: string | null,
|
|
76
|
+
epoch?: null,
|
|
77
|
+
amountReward?: null
|
|
78
|
+
): ClaimRewardEventFilter;
|
|
79
|
+
ClaimReward(
|
|
80
|
+
pool?: string | null,
|
|
81
|
+
user?: string | null,
|
|
82
|
+
epoch?: null,
|
|
83
|
+
amountReward?: null
|
|
84
|
+
): ClaimRewardEventFilter;
|
|
85
|
+
|
|
86
|
+
"Fund(address,uint256,uint256)"(
|
|
87
|
+
pool?: string | null,
|
|
88
|
+
epoch?: BigNumberish | null,
|
|
89
|
+
incentive?: null
|
|
90
|
+
): FundEventFilter;
|
|
91
|
+
Fund(
|
|
92
|
+
pool?: string | null,
|
|
93
|
+
epoch?: BigNumberish | null,
|
|
94
|
+
incentive?: null
|
|
95
|
+
): FundEventFilter;
|
|
108
96
|
};
|
|
109
97
|
|
|
110
|
-
|
|
111
|
-
user: string,
|
|
112
|
-
pool: string,
|
|
113
|
-
epoch: BigNumberish,
|
|
114
|
-
overrides?: CallOverrides
|
|
115
|
-
): Promise<
|
|
116
|
-
[BigNumber, BigNumber] & { userShare: BigNumber; totalShare: BigNumber }
|
|
117
|
-
>;
|
|
118
|
-
|
|
119
|
-
lastFinishedEpoch(
|
|
120
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
121
|
-
): Promise<ContractTransaction>;
|
|
122
|
-
|
|
123
|
-
updateUserShare(
|
|
124
|
-
user: string,
|
|
125
|
-
pool: string,
|
|
126
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
127
|
-
): Promise<ContractTransaction>;
|
|
128
|
-
|
|
129
|
-
callStatic: {
|
|
130
|
-
getUserAndTotalSharesAt(
|
|
131
|
-
user: string,
|
|
132
|
-
pool: string,
|
|
133
|
-
epoch: BigNumberish,
|
|
134
|
-
overrides?: CallOverrides
|
|
135
|
-
): Promise<
|
|
136
|
-
[BigNumber, BigNumber] & { userShare: BigNumber; totalShare: BigNumber }
|
|
137
|
-
>;
|
|
138
|
-
|
|
139
|
-
lastFinishedEpoch(overrides?: CallOverrides): Promise<BigNumber>;
|
|
140
|
-
|
|
141
|
-
updateUserShare(
|
|
142
|
-
user: string,
|
|
143
|
-
pool: string,
|
|
144
|
-
overrides?: CallOverrides
|
|
145
|
-
): Promise<void>;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
filters: {};
|
|
149
|
-
|
|
150
|
-
estimateGas: {
|
|
151
|
-
getUserAndTotalSharesAt(
|
|
152
|
-
user: string,
|
|
153
|
-
pool: string,
|
|
154
|
-
epoch: BigNumberish,
|
|
155
|
-
overrides?: CallOverrides
|
|
156
|
-
): Promise<BigNumber>;
|
|
157
|
-
|
|
158
|
-
lastFinishedEpoch(
|
|
159
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
160
|
-
): Promise<BigNumber>;
|
|
161
|
-
|
|
162
|
-
updateUserShare(
|
|
163
|
-
user: string,
|
|
164
|
-
pool: string,
|
|
165
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
166
|
-
): Promise<BigNumber>;
|
|
167
|
-
};
|
|
98
|
+
estimateGas: {};
|
|
168
99
|
|
|
169
|
-
populateTransaction: {
|
|
170
|
-
getUserAndTotalSharesAt(
|
|
171
|
-
user: string,
|
|
172
|
-
pool: string,
|
|
173
|
-
epoch: BigNumberish,
|
|
174
|
-
overrides?: CallOverrides
|
|
175
|
-
): Promise<PopulatedTransaction>;
|
|
176
|
-
|
|
177
|
-
lastFinishedEpoch(
|
|
178
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
179
|
-
): Promise<PopulatedTransaction>;
|
|
180
|
-
|
|
181
|
-
updateUserShare(
|
|
182
|
-
user: string,
|
|
183
|
-
pool: string,
|
|
184
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
185
|
-
): Promise<PopulatedTransaction>;
|
|
186
|
-
};
|
|
100
|
+
populateTransaction: {};
|
|
187
101
|
}
|