@meterio/sumer-js 0.2.101 → 0.2.102
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/dist/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +146 -0
- package/dist/nodejs/abi.js +4137 -0
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/beramain.js +1 -1
- package/dist/nodejs/errorABIs.js +1207 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +146 -0
- package/dist/nodejs/typechain/contracts/Bera/CBeraVault.d.ts +974 -0
- package/dist/nodejs/typechain/contracts/Bera/CBeraVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Bera/CBeraVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.d.ts +20 -0
- package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.js +3 -0
- package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Bera/IRewardVault.d.ts +646 -0
- package/dist/nodejs/typechain/contracts/Bera/IRewardVault.js +3 -0
- package/dist/nodejs/typechain/contracts/Bera/IRewardVault.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.d.ts +161 -0
- package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.js +3 -0
- package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.d.ts +20 -0
- package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.js +3 -0
- package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Bera/base/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Bera/base/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Bera/base/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Bera/index.d.ts +5 -0
- package/dist/nodejs/typechain/contracts/Bera/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Bera/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +12 -0
- package/dist/nodejs/typechain/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.d.ts +1700 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js +2200 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.d.ts +259 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.js +335 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.d.ts +1014 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.js +1307 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.d.ts +35 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.js +55 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.d.ts +261 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.js +350 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/base/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/index.js +37 -0
- package/dist/nodejs/typechain/factories/contracts/Bera/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +6 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +7 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +2 -1
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +342 -0
- package/dist/nodejs/typechain/index.d.ts +36 -0
- package/dist/nodejs/typechain/index.js +39 -3
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,646 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
+
export interface IRewardVaultInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "addIncentive" | "balanceOf" | "delegateStake" | "delegateWithdraw" | "distributor" | "earned" | "exit" | "getDelegateStake" | "getReward" | "getRewardForDuration" | "getTotalDelegateStaked" | "getWhitelistedTokens" | "getWhitelistedTokensCount" | "initialize" | "lastTimeRewardApplicable" | "lastUpdateTime" | "notifyRewardAmount" | "operator" | "pause" | "periodFinish" | "recoverERC20" | "removeIncentiveToken" | "rewardPerToken" | "rewardPerTokenStored" | "rewardRate" | "rewards" | "rewardsDuration" | "setDistributor" | "setMaxIncentiveTokensCount" | "setOperator" | "setRewardsDuration" | "stake" | "totalSupply" | "undistributedRewards" | "unpause" | "updateIncentiveManager" | "userRewardPerTokenPaid" | "whitelistIncentiveToken" | "withdraw"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "DelegateStaked" | "DelegateWithdrawn" | "DistributorSet" | "IncentiveAdded" | "IncentiveManagerChanged" | "IncentiveTokenRemoved" | "IncentiveTokenWhitelisted" | "IncentivesProcessFailed" | "IncentivesProcessed" | "MaxIncentiveTokensCountUpdated" | "OperatorSet" | "Recovered" | "RewardAdded" | "RewardPaid" | "RewardsDurationUpdated" | "Staked" | "Withdrawn"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "addIncentive", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "delegateStake", values: [AddressLike, BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "delegateWithdraw", values: [AddressLike, BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "distributor", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "earned", values: [AddressLike]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "exit", values: [AddressLike]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "getDelegateStake", values: [AddressLike, AddressLike]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "getReward", values: [AddressLike, AddressLike]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "getRewardForDuration", values?: undefined): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "getTotalDelegateStaked", values: [AddressLike]): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "getWhitelistedTokens", values?: undefined): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "getWhitelistedTokensCount", values?: undefined): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike, AddressLike, AddressLike]): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "lastTimeRewardApplicable", values?: undefined): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "lastUpdateTime", values?: undefined): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "notifyRewardAmount", values: [BytesLike, BigNumberish]): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "operator", values: [AddressLike]): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "periodFinish", values?: undefined): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "recoverERC20", values: [AddressLike, BigNumberish]): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "removeIncentiveToken", values: [AddressLike]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "rewardPerToken", values?: undefined): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "rewardPerTokenStored", values?: undefined): string;
|
|
30
|
+
encodeFunctionData(functionFragment: "rewardRate", values?: undefined): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "rewards", values: [AddressLike]): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "rewardsDuration", values?: undefined): string;
|
|
33
|
+
encodeFunctionData(functionFragment: "setDistributor", values: [AddressLike]): string;
|
|
34
|
+
encodeFunctionData(functionFragment: "setMaxIncentiveTokensCount", values: [BigNumberish]): string;
|
|
35
|
+
encodeFunctionData(functionFragment: "setOperator", values: [AddressLike]): string;
|
|
36
|
+
encodeFunctionData(functionFragment: "setRewardsDuration", values: [BigNumberish]): string;
|
|
37
|
+
encodeFunctionData(functionFragment: "stake", values: [BigNumberish]): string;
|
|
38
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "undistributedRewards", values?: undefined): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
41
|
+
encodeFunctionData(functionFragment: "updateIncentiveManager", values: [AddressLike, AddressLike]): string;
|
|
42
|
+
encodeFunctionData(functionFragment: "userRewardPerTokenPaid", values: [AddressLike]): string;
|
|
43
|
+
encodeFunctionData(functionFragment: "whitelistIncentiveToken", values: [AddressLike, BigNumberish, AddressLike]): string;
|
|
44
|
+
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
45
|
+
decodeFunctionResult(functionFragment: "addIncentive", data: BytesLike): Result;
|
|
46
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: "delegateStake", data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: "delegateWithdraw", data: BytesLike): Result;
|
|
49
|
+
decodeFunctionResult(functionFragment: "distributor", data: BytesLike): Result;
|
|
50
|
+
decodeFunctionResult(functionFragment: "earned", data: BytesLike): Result;
|
|
51
|
+
decodeFunctionResult(functionFragment: "exit", data: BytesLike): Result;
|
|
52
|
+
decodeFunctionResult(functionFragment: "getDelegateStake", data: BytesLike): Result;
|
|
53
|
+
decodeFunctionResult(functionFragment: "getReward", data: BytesLike): Result;
|
|
54
|
+
decodeFunctionResult(functionFragment: "getRewardForDuration", data: BytesLike): Result;
|
|
55
|
+
decodeFunctionResult(functionFragment: "getTotalDelegateStaked", data: BytesLike): Result;
|
|
56
|
+
decodeFunctionResult(functionFragment: "getWhitelistedTokens", data: BytesLike): Result;
|
|
57
|
+
decodeFunctionResult(functionFragment: "getWhitelistedTokensCount", data: BytesLike): Result;
|
|
58
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
59
|
+
decodeFunctionResult(functionFragment: "lastTimeRewardApplicable", data: BytesLike): Result;
|
|
60
|
+
decodeFunctionResult(functionFragment: "lastUpdateTime", data: BytesLike): Result;
|
|
61
|
+
decodeFunctionResult(functionFragment: "notifyRewardAmount", data: BytesLike): Result;
|
|
62
|
+
decodeFunctionResult(functionFragment: "operator", data: BytesLike): Result;
|
|
63
|
+
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
|
|
64
|
+
decodeFunctionResult(functionFragment: "periodFinish", data: BytesLike): Result;
|
|
65
|
+
decodeFunctionResult(functionFragment: "recoverERC20", data: BytesLike): Result;
|
|
66
|
+
decodeFunctionResult(functionFragment: "removeIncentiveToken", data: BytesLike): Result;
|
|
67
|
+
decodeFunctionResult(functionFragment: "rewardPerToken", data: BytesLike): Result;
|
|
68
|
+
decodeFunctionResult(functionFragment: "rewardPerTokenStored", data: BytesLike): Result;
|
|
69
|
+
decodeFunctionResult(functionFragment: "rewardRate", data: BytesLike): Result;
|
|
70
|
+
decodeFunctionResult(functionFragment: "rewards", data: BytesLike): Result;
|
|
71
|
+
decodeFunctionResult(functionFragment: "rewardsDuration", data: BytesLike): Result;
|
|
72
|
+
decodeFunctionResult(functionFragment: "setDistributor", data: BytesLike): Result;
|
|
73
|
+
decodeFunctionResult(functionFragment: "setMaxIncentiveTokensCount", data: BytesLike): Result;
|
|
74
|
+
decodeFunctionResult(functionFragment: "setOperator", data: BytesLike): Result;
|
|
75
|
+
decodeFunctionResult(functionFragment: "setRewardsDuration", data: BytesLike): Result;
|
|
76
|
+
decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
|
|
77
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
78
|
+
decodeFunctionResult(functionFragment: "undistributedRewards", data: BytesLike): Result;
|
|
79
|
+
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
80
|
+
decodeFunctionResult(functionFragment: "updateIncentiveManager", data: BytesLike): Result;
|
|
81
|
+
decodeFunctionResult(functionFragment: "userRewardPerTokenPaid", data: BytesLike): Result;
|
|
82
|
+
decodeFunctionResult(functionFragment: "whitelistIncentiveToken", data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
84
|
+
}
|
|
85
|
+
export declare namespace DelegateStakedEvent {
|
|
86
|
+
type InputTuple = [
|
|
87
|
+
account: AddressLike,
|
|
88
|
+
delegate: AddressLike,
|
|
89
|
+
amount: BigNumberish
|
|
90
|
+
];
|
|
91
|
+
type OutputTuple = [account: string, delegate: string, amount: bigint];
|
|
92
|
+
interface OutputObject {
|
|
93
|
+
account: string;
|
|
94
|
+
delegate: string;
|
|
95
|
+
amount: bigint;
|
|
96
|
+
}
|
|
97
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
98
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
99
|
+
type Log = TypedEventLog<Event>;
|
|
100
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
101
|
+
}
|
|
102
|
+
export declare namespace DelegateWithdrawnEvent {
|
|
103
|
+
type InputTuple = [
|
|
104
|
+
account: AddressLike,
|
|
105
|
+
delegate: AddressLike,
|
|
106
|
+
amount: BigNumberish
|
|
107
|
+
];
|
|
108
|
+
type OutputTuple = [account: string, delegate: string, amount: bigint];
|
|
109
|
+
interface OutputObject {
|
|
110
|
+
account: string;
|
|
111
|
+
delegate: string;
|
|
112
|
+
amount: bigint;
|
|
113
|
+
}
|
|
114
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
115
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
116
|
+
type Log = TypedEventLog<Event>;
|
|
117
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
118
|
+
}
|
|
119
|
+
export declare namespace DistributorSetEvent {
|
|
120
|
+
type InputTuple = [distributor: AddressLike];
|
|
121
|
+
type OutputTuple = [distributor: string];
|
|
122
|
+
interface OutputObject {
|
|
123
|
+
distributor: string;
|
|
124
|
+
}
|
|
125
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
126
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
127
|
+
type Log = TypedEventLog<Event>;
|
|
128
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
129
|
+
}
|
|
130
|
+
export declare namespace IncentiveAddedEvent {
|
|
131
|
+
type InputTuple = [
|
|
132
|
+
token: AddressLike,
|
|
133
|
+
sender: AddressLike,
|
|
134
|
+
amount: BigNumberish,
|
|
135
|
+
incentiveRate: BigNumberish
|
|
136
|
+
];
|
|
137
|
+
type OutputTuple = [
|
|
138
|
+
token: string,
|
|
139
|
+
sender: string,
|
|
140
|
+
amount: bigint,
|
|
141
|
+
incentiveRate: bigint
|
|
142
|
+
];
|
|
143
|
+
interface OutputObject {
|
|
144
|
+
token: string;
|
|
145
|
+
sender: string;
|
|
146
|
+
amount: bigint;
|
|
147
|
+
incentiveRate: bigint;
|
|
148
|
+
}
|
|
149
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
150
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
151
|
+
type Log = TypedEventLog<Event>;
|
|
152
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
153
|
+
}
|
|
154
|
+
export declare namespace IncentiveManagerChangedEvent {
|
|
155
|
+
type InputTuple = [
|
|
156
|
+
token: AddressLike,
|
|
157
|
+
newManager: AddressLike,
|
|
158
|
+
oldManager: AddressLike
|
|
159
|
+
];
|
|
160
|
+
type OutputTuple = [
|
|
161
|
+
token: string,
|
|
162
|
+
newManager: string,
|
|
163
|
+
oldManager: string
|
|
164
|
+
];
|
|
165
|
+
interface OutputObject {
|
|
166
|
+
token: string;
|
|
167
|
+
newManager: string;
|
|
168
|
+
oldManager: string;
|
|
169
|
+
}
|
|
170
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
171
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
172
|
+
type Log = TypedEventLog<Event>;
|
|
173
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
174
|
+
}
|
|
175
|
+
export declare namespace IncentiveTokenRemovedEvent {
|
|
176
|
+
type InputTuple = [token: AddressLike];
|
|
177
|
+
type OutputTuple = [token: string];
|
|
178
|
+
interface OutputObject {
|
|
179
|
+
token: string;
|
|
180
|
+
}
|
|
181
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
182
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
183
|
+
type Log = TypedEventLog<Event>;
|
|
184
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
185
|
+
}
|
|
186
|
+
export declare namespace IncentiveTokenWhitelistedEvent {
|
|
187
|
+
type InputTuple = [
|
|
188
|
+
token: AddressLike,
|
|
189
|
+
minIncentiveRate: BigNumberish,
|
|
190
|
+
manager: AddressLike
|
|
191
|
+
];
|
|
192
|
+
type OutputTuple = [
|
|
193
|
+
token: string,
|
|
194
|
+
minIncentiveRate: bigint,
|
|
195
|
+
manager: string
|
|
196
|
+
];
|
|
197
|
+
interface OutputObject {
|
|
198
|
+
token: string;
|
|
199
|
+
minIncentiveRate: bigint;
|
|
200
|
+
manager: string;
|
|
201
|
+
}
|
|
202
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
203
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
204
|
+
type Log = TypedEventLog<Event>;
|
|
205
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
206
|
+
}
|
|
207
|
+
export declare namespace IncentivesProcessFailedEvent {
|
|
208
|
+
type InputTuple = [
|
|
209
|
+
pubkey: BytesLike,
|
|
210
|
+
token: AddressLike,
|
|
211
|
+
bgtEmitted: BigNumberish,
|
|
212
|
+
amount: BigNumberish
|
|
213
|
+
];
|
|
214
|
+
type OutputTuple = [
|
|
215
|
+
pubkey: string,
|
|
216
|
+
token: string,
|
|
217
|
+
bgtEmitted: bigint,
|
|
218
|
+
amount: bigint
|
|
219
|
+
];
|
|
220
|
+
interface OutputObject {
|
|
221
|
+
pubkey: string;
|
|
222
|
+
token: string;
|
|
223
|
+
bgtEmitted: bigint;
|
|
224
|
+
amount: bigint;
|
|
225
|
+
}
|
|
226
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
227
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
228
|
+
type Log = TypedEventLog<Event>;
|
|
229
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
230
|
+
}
|
|
231
|
+
export declare namespace IncentivesProcessedEvent {
|
|
232
|
+
type InputTuple = [
|
|
233
|
+
pubkey: BytesLike,
|
|
234
|
+
token: AddressLike,
|
|
235
|
+
bgtEmitted: BigNumberish,
|
|
236
|
+
amount: BigNumberish
|
|
237
|
+
];
|
|
238
|
+
type OutputTuple = [
|
|
239
|
+
pubkey: string,
|
|
240
|
+
token: string,
|
|
241
|
+
bgtEmitted: bigint,
|
|
242
|
+
amount: bigint
|
|
243
|
+
];
|
|
244
|
+
interface OutputObject {
|
|
245
|
+
pubkey: string;
|
|
246
|
+
token: string;
|
|
247
|
+
bgtEmitted: bigint;
|
|
248
|
+
amount: bigint;
|
|
249
|
+
}
|
|
250
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
251
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
252
|
+
type Log = TypedEventLog<Event>;
|
|
253
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
254
|
+
}
|
|
255
|
+
export declare namespace MaxIncentiveTokensCountUpdatedEvent {
|
|
256
|
+
type InputTuple = [maxIncentiveTokensCount: BigNumberish];
|
|
257
|
+
type OutputTuple = [maxIncentiveTokensCount: bigint];
|
|
258
|
+
interface OutputObject {
|
|
259
|
+
maxIncentiveTokensCount: bigint;
|
|
260
|
+
}
|
|
261
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
262
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
263
|
+
type Log = TypedEventLog<Event>;
|
|
264
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
265
|
+
}
|
|
266
|
+
export declare namespace OperatorSetEvent {
|
|
267
|
+
type InputTuple = [account: AddressLike, operator: AddressLike];
|
|
268
|
+
type OutputTuple = [account: string, operator: string];
|
|
269
|
+
interface OutputObject {
|
|
270
|
+
account: string;
|
|
271
|
+
operator: string;
|
|
272
|
+
}
|
|
273
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
274
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
275
|
+
type Log = TypedEventLog<Event>;
|
|
276
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
277
|
+
}
|
|
278
|
+
export declare namespace RecoveredEvent {
|
|
279
|
+
type InputTuple = [token: AddressLike, amount: BigNumberish];
|
|
280
|
+
type OutputTuple = [token: string, amount: bigint];
|
|
281
|
+
interface OutputObject {
|
|
282
|
+
token: string;
|
|
283
|
+
amount: bigint;
|
|
284
|
+
}
|
|
285
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
286
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
287
|
+
type Log = TypedEventLog<Event>;
|
|
288
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
289
|
+
}
|
|
290
|
+
export declare namespace RewardAddedEvent {
|
|
291
|
+
type InputTuple = [reward: BigNumberish];
|
|
292
|
+
type OutputTuple = [reward: bigint];
|
|
293
|
+
interface OutputObject {
|
|
294
|
+
reward: bigint;
|
|
295
|
+
}
|
|
296
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
297
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
298
|
+
type Log = TypedEventLog<Event>;
|
|
299
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
300
|
+
}
|
|
301
|
+
export declare namespace RewardPaidEvent {
|
|
302
|
+
type InputTuple = [
|
|
303
|
+
account: AddressLike,
|
|
304
|
+
to: AddressLike,
|
|
305
|
+
reward: BigNumberish
|
|
306
|
+
];
|
|
307
|
+
type OutputTuple = [account: string, to: string, reward: bigint];
|
|
308
|
+
interface OutputObject {
|
|
309
|
+
account: string;
|
|
310
|
+
to: string;
|
|
311
|
+
reward: bigint;
|
|
312
|
+
}
|
|
313
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
314
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
315
|
+
type Log = TypedEventLog<Event>;
|
|
316
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
317
|
+
}
|
|
318
|
+
export declare namespace RewardsDurationUpdatedEvent {
|
|
319
|
+
type InputTuple = [newDuration: BigNumberish];
|
|
320
|
+
type OutputTuple = [newDuration: bigint];
|
|
321
|
+
interface OutputObject {
|
|
322
|
+
newDuration: bigint;
|
|
323
|
+
}
|
|
324
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
325
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
326
|
+
type Log = TypedEventLog<Event>;
|
|
327
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
328
|
+
}
|
|
329
|
+
export declare namespace StakedEvent {
|
|
330
|
+
type InputTuple = [account: AddressLike, amount: BigNumberish];
|
|
331
|
+
type OutputTuple = [account: string, amount: bigint];
|
|
332
|
+
interface OutputObject {
|
|
333
|
+
account: string;
|
|
334
|
+
amount: bigint;
|
|
335
|
+
}
|
|
336
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
337
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
338
|
+
type Log = TypedEventLog<Event>;
|
|
339
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
340
|
+
}
|
|
341
|
+
export declare namespace WithdrawnEvent {
|
|
342
|
+
type InputTuple = [account: AddressLike, amount: BigNumberish];
|
|
343
|
+
type OutputTuple = [account: string, amount: bigint];
|
|
344
|
+
interface OutputObject {
|
|
345
|
+
account: string;
|
|
346
|
+
amount: bigint;
|
|
347
|
+
}
|
|
348
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
349
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
350
|
+
type Log = TypedEventLog<Event>;
|
|
351
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
352
|
+
}
|
|
353
|
+
export interface IRewardVault extends BaseContract {
|
|
354
|
+
connect(runner?: ContractRunner | null): IRewardVault;
|
|
355
|
+
waitForDeployment(): Promise<this>;
|
|
356
|
+
interface: IRewardVaultInterface;
|
|
357
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
358
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
359
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
360
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
361
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
362
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
363
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
364
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
365
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
366
|
+
addIncentive: TypedContractMethod<[
|
|
367
|
+
token: AddressLike,
|
|
368
|
+
amount: BigNumberish,
|
|
369
|
+
incentiveRate: BigNumberish
|
|
370
|
+
], [
|
|
371
|
+
void
|
|
372
|
+
], "nonpayable">;
|
|
373
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
374
|
+
delegateStake: TypedContractMethod<[
|
|
375
|
+
account: AddressLike,
|
|
376
|
+
amount: BigNumberish
|
|
377
|
+
], [
|
|
378
|
+
void
|
|
379
|
+
], "nonpayable">;
|
|
380
|
+
delegateWithdraw: TypedContractMethod<[
|
|
381
|
+
account: AddressLike,
|
|
382
|
+
amount: BigNumberish
|
|
383
|
+
], [
|
|
384
|
+
void
|
|
385
|
+
], "nonpayable">;
|
|
386
|
+
distributor: TypedContractMethod<[], [string], "view">;
|
|
387
|
+
earned: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
388
|
+
exit: TypedContractMethod<[recipient: AddressLike], [void], "nonpayable">;
|
|
389
|
+
getDelegateStake: TypedContractMethod<[
|
|
390
|
+
account: AddressLike,
|
|
391
|
+
delegate: AddressLike
|
|
392
|
+
], [
|
|
393
|
+
bigint
|
|
394
|
+
], "view">;
|
|
395
|
+
getReward: TypedContractMethod<[
|
|
396
|
+
account: AddressLike,
|
|
397
|
+
recipient: AddressLike
|
|
398
|
+
], [
|
|
399
|
+
bigint
|
|
400
|
+
], "nonpayable">;
|
|
401
|
+
getRewardForDuration: TypedContractMethod<[], [bigint], "view">;
|
|
402
|
+
getTotalDelegateStaked: TypedContractMethod<[
|
|
403
|
+
account: AddressLike
|
|
404
|
+
], [
|
|
405
|
+
bigint
|
|
406
|
+
], "view">;
|
|
407
|
+
getWhitelistedTokens: TypedContractMethod<[], [string[]], "view">;
|
|
408
|
+
getWhitelistedTokensCount: TypedContractMethod<[], [bigint], "view">;
|
|
409
|
+
initialize: TypedContractMethod<[
|
|
410
|
+
_berachef: AddressLike,
|
|
411
|
+
_bgt: AddressLike,
|
|
412
|
+
_distributor: AddressLike,
|
|
413
|
+
_stakingToken: AddressLike
|
|
414
|
+
], [
|
|
415
|
+
void
|
|
416
|
+
], "nonpayable">;
|
|
417
|
+
lastTimeRewardApplicable: TypedContractMethod<[], [bigint], "view">;
|
|
418
|
+
lastUpdateTime: TypedContractMethod<[], [bigint], "view">;
|
|
419
|
+
notifyRewardAmount: TypedContractMethod<[
|
|
420
|
+
pubkey: BytesLike,
|
|
421
|
+
reward: BigNumberish
|
|
422
|
+
], [
|
|
423
|
+
void
|
|
424
|
+
], "nonpayable">;
|
|
425
|
+
operator: TypedContractMethod<[account: AddressLike], [string], "view">;
|
|
426
|
+
pause: TypedContractMethod<[], [void], "nonpayable">;
|
|
427
|
+
periodFinish: TypedContractMethod<[], [bigint], "view">;
|
|
428
|
+
recoverERC20: TypedContractMethod<[
|
|
429
|
+
tokenAddress: AddressLike,
|
|
430
|
+
tokenAmount: BigNumberish
|
|
431
|
+
], [
|
|
432
|
+
void
|
|
433
|
+
], "nonpayable">;
|
|
434
|
+
removeIncentiveToken: TypedContractMethod<[
|
|
435
|
+
token: AddressLike
|
|
436
|
+
], [
|
|
437
|
+
void
|
|
438
|
+
], "nonpayable">;
|
|
439
|
+
rewardPerToken: TypedContractMethod<[], [bigint], "view">;
|
|
440
|
+
rewardPerTokenStored: TypedContractMethod<[], [bigint], "view">;
|
|
441
|
+
rewardRate: TypedContractMethod<[], [bigint], "view">;
|
|
442
|
+
rewards: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
443
|
+
rewardsDuration: TypedContractMethod<[], [bigint], "view">;
|
|
444
|
+
setDistributor: TypedContractMethod<[
|
|
445
|
+
_rewardDistribution: AddressLike
|
|
446
|
+
], [
|
|
447
|
+
void
|
|
448
|
+
], "nonpayable">;
|
|
449
|
+
setMaxIncentiveTokensCount: TypedContractMethod<[
|
|
450
|
+
_maxIncentiveTokensCount: BigNumberish
|
|
451
|
+
], [
|
|
452
|
+
void
|
|
453
|
+
], "nonpayable">;
|
|
454
|
+
setOperator: TypedContractMethod<[
|
|
455
|
+
_operator: AddressLike
|
|
456
|
+
], [
|
|
457
|
+
void
|
|
458
|
+
], "nonpayable">;
|
|
459
|
+
setRewardsDuration: TypedContractMethod<[
|
|
460
|
+
_rewardsDuration: BigNumberish
|
|
461
|
+
], [
|
|
462
|
+
void
|
|
463
|
+
], "nonpayable">;
|
|
464
|
+
stake: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
465
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
466
|
+
undistributedRewards: TypedContractMethod<[], [bigint], "view">;
|
|
467
|
+
unpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
468
|
+
updateIncentiveManager: TypedContractMethod<[
|
|
469
|
+
token: AddressLike,
|
|
470
|
+
newManager: AddressLike
|
|
471
|
+
], [
|
|
472
|
+
void
|
|
473
|
+
], "nonpayable">;
|
|
474
|
+
userRewardPerTokenPaid: TypedContractMethod<[
|
|
475
|
+
account: AddressLike
|
|
476
|
+
], [
|
|
477
|
+
bigint
|
|
478
|
+
], "view">;
|
|
479
|
+
whitelistIncentiveToken: TypedContractMethod<[
|
|
480
|
+
token: AddressLike,
|
|
481
|
+
minIncentiveRate: BigNumberish,
|
|
482
|
+
manager: AddressLike
|
|
483
|
+
], [
|
|
484
|
+
void
|
|
485
|
+
], "nonpayable">;
|
|
486
|
+
withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
487
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
488
|
+
getFunction(nameOrSignature: "addIncentive"): TypedContractMethod<[
|
|
489
|
+
token: AddressLike,
|
|
490
|
+
amount: BigNumberish,
|
|
491
|
+
incentiveRate: BigNumberish
|
|
492
|
+
], [
|
|
493
|
+
void
|
|
494
|
+
], "nonpayable">;
|
|
495
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
496
|
+
getFunction(nameOrSignature: "delegateStake"): TypedContractMethod<[
|
|
497
|
+
account: AddressLike,
|
|
498
|
+
amount: BigNumberish
|
|
499
|
+
], [
|
|
500
|
+
void
|
|
501
|
+
], "nonpayable">;
|
|
502
|
+
getFunction(nameOrSignature: "delegateWithdraw"): TypedContractMethod<[
|
|
503
|
+
account: AddressLike,
|
|
504
|
+
amount: BigNumberish
|
|
505
|
+
], [
|
|
506
|
+
void
|
|
507
|
+
], "nonpayable">;
|
|
508
|
+
getFunction(nameOrSignature: "distributor"): TypedContractMethod<[], [string], "view">;
|
|
509
|
+
getFunction(nameOrSignature: "earned"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
510
|
+
getFunction(nameOrSignature: "exit"): TypedContractMethod<[recipient: AddressLike], [void], "nonpayable">;
|
|
511
|
+
getFunction(nameOrSignature: "getDelegateStake"): TypedContractMethod<[
|
|
512
|
+
account: AddressLike,
|
|
513
|
+
delegate: AddressLike
|
|
514
|
+
], [
|
|
515
|
+
bigint
|
|
516
|
+
], "view">;
|
|
517
|
+
getFunction(nameOrSignature: "getReward"): TypedContractMethod<[
|
|
518
|
+
account: AddressLike,
|
|
519
|
+
recipient: AddressLike
|
|
520
|
+
], [
|
|
521
|
+
bigint
|
|
522
|
+
], "nonpayable">;
|
|
523
|
+
getFunction(nameOrSignature: "getRewardForDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
524
|
+
getFunction(nameOrSignature: "getTotalDelegateStaked"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
525
|
+
getFunction(nameOrSignature: "getWhitelistedTokens"): TypedContractMethod<[], [string[]], "view">;
|
|
526
|
+
getFunction(nameOrSignature: "getWhitelistedTokensCount"): TypedContractMethod<[], [bigint], "view">;
|
|
527
|
+
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
528
|
+
_berachef: AddressLike,
|
|
529
|
+
_bgt: AddressLike,
|
|
530
|
+
_distributor: AddressLike,
|
|
531
|
+
_stakingToken: AddressLike
|
|
532
|
+
], [
|
|
533
|
+
void
|
|
534
|
+
], "nonpayable">;
|
|
535
|
+
getFunction(nameOrSignature: "lastTimeRewardApplicable"): TypedContractMethod<[], [bigint], "view">;
|
|
536
|
+
getFunction(nameOrSignature: "lastUpdateTime"): TypedContractMethod<[], [bigint], "view">;
|
|
537
|
+
getFunction(nameOrSignature: "notifyRewardAmount"): TypedContractMethod<[
|
|
538
|
+
pubkey: BytesLike,
|
|
539
|
+
reward: BigNumberish
|
|
540
|
+
], [
|
|
541
|
+
void
|
|
542
|
+
], "nonpayable">;
|
|
543
|
+
getFunction(nameOrSignature: "operator"): TypedContractMethod<[account: AddressLike], [string], "view">;
|
|
544
|
+
getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
545
|
+
getFunction(nameOrSignature: "periodFinish"): TypedContractMethod<[], [bigint], "view">;
|
|
546
|
+
getFunction(nameOrSignature: "recoverERC20"): TypedContractMethod<[
|
|
547
|
+
tokenAddress: AddressLike,
|
|
548
|
+
tokenAmount: BigNumberish
|
|
549
|
+
], [
|
|
550
|
+
void
|
|
551
|
+
], "nonpayable">;
|
|
552
|
+
getFunction(nameOrSignature: "removeIncentiveToken"): TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
|
|
553
|
+
getFunction(nameOrSignature: "rewardPerToken"): TypedContractMethod<[], [bigint], "view">;
|
|
554
|
+
getFunction(nameOrSignature: "rewardPerTokenStored"): TypedContractMethod<[], [bigint], "view">;
|
|
555
|
+
getFunction(nameOrSignature: "rewardRate"): TypedContractMethod<[], [bigint], "view">;
|
|
556
|
+
getFunction(nameOrSignature: "rewards"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
557
|
+
getFunction(nameOrSignature: "rewardsDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
558
|
+
getFunction(nameOrSignature: "setDistributor"): TypedContractMethod<[
|
|
559
|
+
_rewardDistribution: AddressLike
|
|
560
|
+
], [
|
|
561
|
+
void
|
|
562
|
+
], "nonpayable">;
|
|
563
|
+
getFunction(nameOrSignature: "setMaxIncentiveTokensCount"): TypedContractMethod<[
|
|
564
|
+
_maxIncentiveTokensCount: BigNumberish
|
|
565
|
+
], [
|
|
566
|
+
void
|
|
567
|
+
], "nonpayable">;
|
|
568
|
+
getFunction(nameOrSignature: "setOperator"): TypedContractMethod<[_operator: AddressLike], [void], "nonpayable">;
|
|
569
|
+
getFunction(nameOrSignature: "setRewardsDuration"): TypedContractMethod<[
|
|
570
|
+
_rewardsDuration: BigNumberish
|
|
571
|
+
], [
|
|
572
|
+
void
|
|
573
|
+
], "nonpayable">;
|
|
574
|
+
getFunction(nameOrSignature: "stake"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
575
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
576
|
+
getFunction(nameOrSignature: "undistributedRewards"): TypedContractMethod<[], [bigint], "view">;
|
|
577
|
+
getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
578
|
+
getFunction(nameOrSignature: "updateIncentiveManager"): TypedContractMethod<[
|
|
579
|
+
token: AddressLike,
|
|
580
|
+
newManager: AddressLike
|
|
581
|
+
], [
|
|
582
|
+
void
|
|
583
|
+
], "nonpayable">;
|
|
584
|
+
getFunction(nameOrSignature: "userRewardPerTokenPaid"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
585
|
+
getFunction(nameOrSignature: "whitelistIncentiveToken"): TypedContractMethod<[
|
|
586
|
+
token: AddressLike,
|
|
587
|
+
minIncentiveRate: BigNumberish,
|
|
588
|
+
manager: AddressLike
|
|
589
|
+
], [
|
|
590
|
+
void
|
|
591
|
+
], "nonpayable">;
|
|
592
|
+
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
593
|
+
getEvent(key: "DelegateStaked"): TypedContractEvent<DelegateStakedEvent.InputTuple, DelegateStakedEvent.OutputTuple, DelegateStakedEvent.OutputObject>;
|
|
594
|
+
getEvent(key: "DelegateWithdrawn"): TypedContractEvent<DelegateWithdrawnEvent.InputTuple, DelegateWithdrawnEvent.OutputTuple, DelegateWithdrawnEvent.OutputObject>;
|
|
595
|
+
getEvent(key: "DistributorSet"): TypedContractEvent<DistributorSetEvent.InputTuple, DistributorSetEvent.OutputTuple, DistributorSetEvent.OutputObject>;
|
|
596
|
+
getEvent(key: "IncentiveAdded"): TypedContractEvent<IncentiveAddedEvent.InputTuple, IncentiveAddedEvent.OutputTuple, IncentiveAddedEvent.OutputObject>;
|
|
597
|
+
getEvent(key: "IncentiveManagerChanged"): TypedContractEvent<IncentiveManagerChangedEvent.InputTuple, IncentiveManagerChangedEvent.OutputTuple, IncentiveManagerChangedEvent.OutputObject>;
|
|
598
|
+
getEvent(key: "IncentiveTokenRemoved"): TypedContractEvent<IncentiveTokenRemovedEvent.InputTuple, IncentiveTokenRemovedEvent.OutputTuple, IncentiveTokenRemovedEvent.OutputObject>;
|
|
599
|
+
getEvent(key: "IncentiveTokenWhitelisted"): TypedContractEvent<IncentiveTokenWhitelistedEvent.InputTuple, IncentiveTokenWhitelistedEvent.OutputTuple, IncentiveTokenWhitelistedEvent.OutputObject>;
|
|
600
|
+
getEvent(key: "IncentivesProcessFailed"): TypedContractEvent<IncentivesProcessFailedEvent.InputTuple, IncentivesProcessFailedEvent.OutputTuple, IncentivesProcessFailedEvent.OutputObject>;
|
|
601
|
+
getEvent(key: "IncentivesProcessed"): TypedContractEvent<IncentivesProcessedEvent.InputTuple, IncentivesProcessedEvent.OutputTuple, IncentivesProcessedEvent.OutputObject>;
|
|
602
|
+
getEvent(key: "MaxIncentiveTokensCountUpdated"): TypedContractEvent<MaxIncentiveTokensCountUpdatedEvent.InputTuple, MaxIncentiveTokensCountUpdatedEvent.OutputTuple, MaxIncentiveTokensCountUpdatedEvent.OutputObject>;
|
|
603
|
+
getEvent(key: "OperatorSet"): TypedContractEvent<OperatorSetEvent.InputTuple, OperatorSetEvent.OutputTuple, OperatorSetEvent.OutputObject>;
|
|
604
|
+
getEvent(key: "Recovered"): TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
605
|
+
getEvent(key: "RewardAdded"): TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
606
|
+
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
607
|
+
getEvent(key: "RewardsDurationUpdated"): TypedContractEvent<RewardsDurationUpdatedEvent.InputTuple, RewardsDurationUpdatedEvent.OutputTuple, RewardsDurationUpdatedEvent.OutputObject>;
|
|
608
|
+
getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
609
|
+
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
610
|
+
filters: {
|
|
611
|
+
"DelegateStaked(address,address,uint256)": TypedContractEvent<DelegateStakedEvent.InputTuple, DelegateStakedEvent.OutputTuple, DelegateStakedEvent.OutputObject>;
|
|
612
|
+
DelegateStaked: TypedContractEvent<DelegateStakedEvent.InputTuple, DelegateStakedEvent.OutputTuple, DelegateStakedEvent.OutputObject>;
|
|
613
|
+
"DelegateWithdrawn(address,address,uint256)": TypedContractEvent<DelegateWithdrawnEvent.InputTuple, DelegateWithdrawnEvent.OutputTuple, DelegateWithdrawnEvent.OutputObject>;
|
|
614
|
+
DelegateWithdrawn: TypedContractEvent<DelegateWithdrawnEvent.InputTuple, DelegateWithdrawnEvent.OutputTuple, DelegateWithdrawnEvent.OutputObject>;
|
|
615
|
+
"DistributorSet(address)": TypedContractEvent<DistributorSetEvent.InputTuple, DistributorSetEvent.OutputTuple, DistributorSetEvent.OutputObject>;
|
|
616
|
+
DistributorSet: TypedContractEvent<DistributorSetEvent.InputTuple, DistributorSetEvent.OutputTuple, DistributorSetEvent.OutputObject>;
|
|
617
|
+
"IncentiveAdded(address,address,uint256,uint256)": TypedContractEvent<IncentiveAddedEvent.InputTuple, IncentiveAddedEvent.OutputTuple, IncentiveAddedEvent.OutputObject>;
|
|
618
|
+
IncentiveAdded: TypedContractEvent<IncentiveAddedEvent.InputTuple, IncentiveAddedEvent.OutputTuple, IncentiveAddedEvent.OutputObject>;
|
|
619
|
+
"IncentiveManagerChanged(address,address,address)": TypedContractEvent<IncentiveManagerChangedEvent.InputTuple, IncentiveManagerChangedEvent.OutputTuple, IncentiveManagerChangedEvent.OutputObject>;
|
|
620
|
+
IncentiveManagerChanged: TypedContractEvent<IncentiveManagerChangedEvent.InputTuple, IncentiveManagerChangedEvent.OutputTuple, IncentiveManagerChangedEvent.OutputObject>;
|
|
621
|
+
"IncentiveTokenRemoved(address)": TypedContractEvent<IncentiveTokenRemovedEvent.InputTuple, IncentiveTokenRemovedEvent.OutputTuple, IncentiveTokenRemovedEvent.OutputObject>;
|
|
622
|
+
IncentiveTokenRemoved: TypedContractEvent<IncentiveTokenRemovedEvent.InputTuple, IncentiveTokenRemovedEvent.OutputTuple, IncentiveTokenRemovedEvent.OutputObject>;
|
|
623
|
+
"IncentiveTokenWhitelisted(address,uint256,address)": TypedContractEvent<IncentiveTokenWhitelistedEvent.InputTuple, IncentiveTokenWhitelistedEvent.OutputTuple, IncentiveTokenWhitelistedEvent.OutputObject>;
|
|
624
|
+
IncentiveTokenWhitelisted: TypedContractEvent<IncentiveTokenWhitelistedEvent.InputTuple, IncentiveTokenWhitelistedEvent.OutputTuple, IncentiveTokenWhitelistedEvent.OutputObject>;
|
|
625
|
+
"IncentivesProcessFailed(bytes,address,uint256,uint256)": TypedContractEvent<IncentivesProcessFailedEvent.InputTuple, IncentivesProcessFailedEvent.OutputTuple, IncentivesProcessFailedEvent.OutputObject>;
|
|
626
|
+
IncentivesProcessFailed: TypedContractEvent<IncentivesProcessFailedEvent.InputTuple, IncentivesProcessFailedEvent.OutputTuple, IncentivesProcessFailedEvent.OutputObject>;
|
|
627
|
+
"IncentivesProcessed(bytes,address,uint256,uint256)": TypedContractEvent<IncentivesProcessedEvent.InputTuple, IncentivesProcessedEvent.OutputTuple, IncentivesProcessedEvent.OutputObject>;
|
|
628
|
+
IncentivesProcessed: TypedContractEvent<IncentivesProcessedEvent.InputTuple, IncentivesProcessedEvent.OutputTuple, IncentivesProcessedEvent.OutputObject>;
|
|
629
|
+
"MaxIncentiveTokensCountUpdated(uint8)": TypedContractEvent<MaxIncentiveTokensCountUpdatedEvent.InputTuple, MaxIncentiveTokensCountUpdatedEvent.OutputTuple, MaxIncentiveTokensCountUpdatedEvent.OutputObject>;
|
|
630
|
+
MaxIncentiveTokensCountUpdated: TypedContractEvent<MaxIncentiveTokensCountUpdatedEvent.InputTuple, MaxIncentiveTokensCountUpdatedEvent.OutputTuple, MaxIncentiveTokensCountUpdatedEvent.OutputObject>;
|
|
631
|
+
"OperatorSet(address,address)": TypedContractEvent<OperatorSetEvent.InputTuple, OperatorSetEvent.OutputTuple, OperatorSetEvent.OutputObject>;
|
|
632
|
+
OperatorSet: TypedContractEvent<OperatorSetEvent.InputTuple, OperatorSetEvent.OutputTuple, OperatorSetEvent.OutputObject>;
|
|
633
|
+
"Recovered(address,uint256)": TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
634
|
+
Recovered: TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
635
|
+
"RewardAdded(uint256)": TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
636
|
+
RewardAdded: TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
637
|
+
"RewardPaid(address,address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
638
|
+
RewardPaid: TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
639
|
+
"RewardsDurationUpdated(uint256)": TypedContractEvent<RewardsDurationUpdatedEvent.InputTuple, RewardsDurationUpdatedEvent.OutputTuple, RewardsDurationUpdatedEvent.OutputObject>;
|
|
640
|
+
RewardsDurationUpdated: TypedContractEvent<RewardsDurationUpdatedEvent.InputTuple, RewardsDurationUpdatedEvent.OutputTuple, RewardsDurationUpdatedEvent.OutputObject>;
|
|
641
|
+
"Staked(address,uint256)": TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
642
|
+
Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
643
|
+
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
644
|
+
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
645
|
+
};
|
|
646
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IRewardVault.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Bera/IRewardVault.ts"],"names":[],"mappings":""}
|