@web3dotorg/evm-slc-core-sdk 0.3.2
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/common.ts +131 -0
- package/constants.ts +34 -0
- package/contracts/governance/ExecutorsRegistry.ts +1249 -0
- package/contracts/governance/Governance.ts +1740 -0
- package/contracts/governance/NeutralsRegistry.ts +1393 -0
- package/contracts/governance/ParameterRegistry.ts +832 -0
- package/contracts/governance/index.ts +7 -0
- package/contracts/index.ts +15 -0
- package/contracts/interfaces/IExecutorsRegistry.ts +601 -0
- package/contracts/interfaces/IGovernance.ts +215 -0
- package/contracts/interfaces/INeutralsRegistry.ts +624 -0
- package/contracts/interfaces/IQParameters.ts +109 -0
- package/contracts/interfaces/ISLCCore.ts +289 -0
- package/contracts/interfaces/ISLCCoreFactory.ts +217 -0
- package/contracts/interfaces/IWrappedToken.ts +272 -0
- package/contracts/interfaces/index.ts +10 -0
- package/contracts/libs/Errors.ts +71 -0
- package/contracts/libs/NeutralsSelection.ts +71 -0
- package/contracts/libs/index.ts +5 -0
- package/contracts/mocks/MockGovernance.ts +389 -0
- package/contracts/mocks/MockNeutralsRegistry.ts +791 -0
- package/contracts/mocks/SimpleContract.ts +110 -0
- package/contracts/mocks/WrappedToken.ts +334 -0
- package/contracts/mocks/index.ts +7 -0
- package/contracts/slc-core/SLCCore.ts +397 -0
- package/contracts/slc-core/SLCCoreFactory.ts +559 -0
- package/contracts/slc-core/index.ts +5 -0
- package/contracts/token/Token.ts +399 -0
- package/contracts/token/index.ts +4 -0
- package/factories/contracts/governance/ExecutorsRegistry__factory.ts +1240 -0
- package/factories/contracts/governance/Governance__factory.ts +2328 -0
- package/factories/contracts/governance/NeutralsRegistry__factory.ts +1491 -0
- package/factories/contracts/governance/ParameterRegistry__factory.ts +834 -0
- package/factories/contracts/governance/index.ts +7 -0
- package/factories/contracts/index.ts +9 -0
- package/factories/contracts/interfaces/IExecutorsRegistry__factory.ts +428 -0
- package/factories/contracts/interfaces/IGovernance__factory.ts +153 -0
- package/factories/contracts/interfaces/INeutralsRegistry__factory.ts +527 -0
- package/factories/contracts/interfaces/IQParameters__factory.ts +101 -0
- package/factories/contracts/interfaces/ISLCCoreFactory__factory.ts +197 -0
- package/factories/contracts/interfaces/ISLCCore__factory.ts +227 -0
- package/factories/contracts/interfaces/IWrappedToken__factory.ts +221 -0
- package/factories/contracts/interfaces/index.ts +10 -0
- package/factories/contracts/libs/Errors__factory.ts +205 -0
- package/factories/contracts/libs/NeutralsSelection__factory.ts +103 -0
- package/factories/contracts/libs/index.ts +5 -0
- package/factories/contracts/mocks/MockGovernance__factory.ts +353 -0
- package/factories/contracts/mocks/MockNeutralsRegistry__factory.ts +730 -0
- package/factories/contracts/mocks/SimpleContract__factory.ts +110 -0
- package/factories/contracts/mocks/WrappedToken__factory.ts +433 -0
- package/factories/contracts/mocks/index.ts +7 -0
- package/factories/contracts/slc-core/SLCCoreFactory__factory.ts +568 -0
- package/factories/contracts/slc-core/SLCCore__factory.ts +373 -0
- package/factories/contracts/slc-core/index.ts +5 -0
- package/factories/contracts/token/Token__factory.ts +505 -0
- package/factories/contracts/token/index.ts +4 -0
- package/index.ts +38 -0
- package/package.json +25 -0
@@ -0,0 +1,624 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
import type {
|
5
|
+
BaseContract,
|
6
|
+
BigNumberish,
|
7
|
+
BytesLike,
|
8
|
+
FunctionFragment,
|
9
|
+
Result,
|
10
|
+
Interface,
|
11
|
+
EventFragment,
|
12
|
+
AddressLike,
|
13
|
+
ContractRunner,
|
14
|
+
ContractMethod,
|
15
|
+
Listener,
|
16
|
+
} from "ethers";
|
17
|
+
import type {
|
18
|
+
TypedContractEvent,
|
19
|
+
TypedDeferredTopicFilter,
|
20
|
+
TypedEventLog,
|
21
|
+
TypedLogDescription,
|
22
|
+
TypedListener,
|
23
|
+
TypedContractMethod,
|
24
|
+
} from "../../common";
|
25
|
+
|
26
|
+
export interface INeutralsRegistryInterface extends Interface {
|
27
|
+
getFunction(
|
28
|
+
nameOrSignature:
|
29
|
+
| "distributeRewards"
|
30
|
+
| "getNeutralsCount"
|
31
|
+
| "getNeutralsSlice"
|
32
|
+
| "isNeutral"
|
33
|
+
| "slashNeutral"
|
34
|
+
| "supportsInterface"
|
35
|
+
): FunctionFragment;
|
36
|
+
|
37
|
+
getEvent(
|
38
|
+
nameOrSignatureOrTopic:
|
39
|
+
| "DelegationWithdrawn"
|
40
|
+
| "NeutralActivated"
|
41
|
+
| "NeutralMovedToStandby"
|
42
|
+
| "NeutralPaused"
|
43
|
+
| "NeutralSlashed"
|
44
|
+
| "NeutralStaked"
|
45
|
+
| "NeutralUnpaused"
|
46
|
+
| "NeutralUnstaked"
|
47
|
+
| "RewardsClaimed"
|
48
|
+
| "RewardsDistributed"
|
49
|
+
| "WithdrawalAnnounced"
|
50
|
+
| "WithdrawalCancelled"
|
51
|
+
): EventFragment;
|
52
|
+
|
53
|
+
encodeFunctionData(
|
54
|
+
functionFragment: "distributeRewards",
|
55
|
+
values: [AddressLike[], BigNumberish]
|
56
|
+
): string;
|
57
|
+
encodeFunctionData(
|
58
|
+
functionFragment: "getNeutralsCount",
|
59
|
+
values?: undefined
|
60
|
+
): string;
|
61
|
+
encodeFunctionData(
|
62
|
+
functionFragment: "getNeutralsSlice",
|
63
|
+
values: [BigNumberish]
|
64
|
+
): string;
|
65
|
+
encodeFunctionData(
|
66
|
+
functionFragment: "isNeutral",
|
67
|
+
values: [AddressLike]
|
68
|
+
): string;
|
69
|
+
encodeFunctionData(
|
70
|
+
functionFragment: "slashNeutral",
|
71
|
+
values: [AddressLike, BigNumberish]
|
72
|
+
): string;
|
73
|
+
encodeFunctionData(
|
74
|
+
functionFragment: "supportsInterface",
|
75
|
+
values: [BytesLike]
|
76
|
+
): string;
|
77
|
+
|
78
|
+
decodeFunctionResult(
|
79
|
+
functionFragment: "distributeRewards",
|
80
|
+
data: BytesLike
|
81
|
+
): Result;
|
82
|
+
decodeFunctionResult(
|
83
|
+
functionFragment: "getNeutralsCount",
|
84
|
+
data: BytesLike
|
85
|
+
): Result;
|
86
|
+
decodeFunctionResult(
|
87
|
+
functionFragment: "getNeutralsSlice",
|
88
|
+
data: BytesLike
|
89
|
+
): Result;
|
90
|
+
decodeFunctionResult(functionFragment: "isNeutral", data: BytesLike): Result;
|
91
|
+
decodeFunctionResult(
|
92
|
+
functionFragment: "slashNeutral",
|
93
|
+
data: BytesLike
|
94
|
+
): Result;
|
95
|
+
decodeFunctionResult(
|
96
|
+
functionFragment: "supportsInterface",
|
97
|
+
data: BytesLike
|
98
|
+
): Result;
|
99
|
+
}
|
100
|
+
|
101
|
+
export namespace DelegationWithdrawnEvent {
|
102
|
+
export type InputTuple = [
|
103
|
+
delegator: AddressLike,
|
104
|
+
neutral: AddressLike,
|
105
|
+
amount: BigNumberish
|
106
|
+
];
|
107
|
+
export type OutputTuple = [
|
108
|
+
delegator: string,
|
109
|
+
neutral: string,
|
110
|
+
amount: bigint
|
111
|
+
];
|
112
|
+
export interface OutputObject {
|
113
|
+
delegator: string;
|
114
|
+
neutral: string;
|
115
|
+
amount: bigint;
|
116
|
+
}
|
117
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
118
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
119
|
+
export type Log = TypedEventLog<Event>;
|
120
|
+
export type LogDescription = TypedLogDescription<Event>;
|
121
|
+
}
|
122
|
+
|
123
|
+
export namespace NeutralActivatedEvent {
|
124
|
+
export type InputTuple = [neutral: AddressLike, stake: BigNumberish];
|
125
|
+
export type OutputTuple = [neutral: string, stake: bigint];
|
126
|
+
export interface OutputObject {
|
127
|
+
neutral: string;
|
128
|
+
stake: bigint;
|
129
|
+
}
|
130
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
131
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
132
|
+
export type Log = TypedEventLog<Event>;
|
133
|
+
export type LogDescription = TypedLogDescription<Event>;
|
134
|
+
}
|
135
|
+
|
136
|
+
export namespace NeutralMovedToStandbyEvent {
|
137
|
+
export type InputTuple = [neutral: AddressLike];
|
138
|
+
export type OutputTuple = [neutral: string];
|
139
|
+
export interface OutputObject {
|
140
|
+
neutral: string;
|
141
|
+
}
|
142
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
143
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
144
|
+
export type Log = TypedEventLog<Event>;
|
145
|
+
export type LogDescription = TypedLogDescription<Event>;
|
146
|
+
}
|
147
|
+
|
148
|
+
export namespace NeutralPausedEvent {
|
149
|
+
export type InputTuple = [neutral: AddressLike];
|
150
|
+
export type OutputTuple = [neutral: string];
|
151
|
+
export interface OutputObject {
|
152
|
+
neutral: string;
|
153
|
+
}
|
154
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
155
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
156
|
+
export type Log = TypedEventLog<Event>;
|
157
|
+
export type LogDescription = TypedLogDescription<Event>;
|
158
|
+
}
|
159
|
+
|
160
|
+
export namespace NeutralSlashedEvent {
|
161
|
+
export type InputTuple = [
|
162
|
+
neutral: AddressLike,
|
163
|
+
amount: BigNumberish,
|
164
|
+
recipient: AddressLike
|
165
|
+
];
|
166
|
+
export type OutputTuple = [
|
167
|
+
neutral: string,
|
168
|
+
amount: bigint,
|
169
|
+
recipient: string
|
170
|
+
];
|
171
|
+
export interface OutputObject {
|
172
|
+
neutral: string;
|
173
|
+
amount: bigint;
|
174
|
+
recipient: string;
|
175
|
+
}
|
176
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
177
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
178
|
+
export type Log = TypedEventLog<Event>;
|
179
|
+
export type LogDescription = TypedLogDescription<Event>;
|
180
|
+
}
|
181
|
+
|
182
|
+
export namespace NeutralStakedEvent {
|
183
|
+
export type InputTuple = [
|
184
|
+
neutral: AddressLike,
|
185
|
+
amount: BigNumberish,
|
186
|
+
totalStake: BigNumberish
|
187
|
+
];
|
188
|
+
export type OutputTuple = [
|
189
|
+
neutral: string,
|
190
|
+
amount: bigint,
|
191
|
+
totalStake: bigint
|
192
|
+
];
|
193
|
+
export interface OutputObject {
|
194
|
+
neutral: string;
|
195
|
+
amount: bigint;
|
196
|
+
totalStake: bigint;
|
197
|
+
}
|
198
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
199
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
200
|
+
export type Log = TypedEventLog<Event>;
|
201
|
+
export type LogDescription = TypedLogDescription<Event>;
|
202
|
+
}
|
203
|
+
|
204
|
+
export namespace NeutralUnpausedEvent {
|
205
|
+
export type InputTuple = [neutral: AddressLike];
|
206
|
+
export type OutputTuple = [neutral: string];
|
207
|
+
export interface OutputObject {
|
208
|
+
neutral: string;
|
209
|
+
}
|
210
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
211
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
212
|
+
export type Log = TypedEventLog<Event>;
|
213
|
+
export type LogDescription = TypedLogDescription<Event>;
|
214
|
+
}
|
215
|
+
|
216
|
+
export namespace NeutralUnstakedEvent {
|
217
|
+
export type InputTuple = [
|
218
|
+
neutral: AddressLike,
|
219
|
+
amount: BigNumberish,
|
220
|
+
remainingStake: BigNumberish
|
221
|
+
];
|
222
|
+
export type OutputTuple = [
|
223
|
+
neutral: string,
|
224
|
+
amount: bigint,
|
225
|
+
remainingStake: bigint
|
226
|
+
];
|
227
|
+
export interface OutputObject {
|
228
|
+
neutral: string;
|
229
|
+
amount: bigint;
|
230
|
+
remainingStake: bigint;
|
231
|
+
}
|
232
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
233
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
234
|
+
export type Log = TypedEventLog<Event>;
|
235
|
+
export type LogDescription = TypedLogDescription<Event>;
|
236
|
+
}
|
237
|
+
|
238
|
+
export namespace RewardsClaimedEvent {
|
239
|
+
export type InputTuple = [neutral: AddressLike, amount: BigNumberish];
|
240
|
+
export type OutputTuple = [neutral: string, amount: bigint];
|
241
|
+
export interface OutputObject {
|
242
|
+
neutral: string;
|
243
|
+
amount: bigint;
|
244
|
+
}
|
245
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
246
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
247
|
+
export type Log = TypedEventLog<Event>;
|
248
|
+
export type LogDescription = TypedLogDescription<Event>;
|
249
|
+
}
|
250
|
+
|
251
|
+
export namespace RewardsDistributedEvent {
|
252
|
+
export type InputTuple = [
|
253
|
+
selectedNeutrals: AddressLike[],
|
254
|
+
totalAmount: BigNumberish
|
255
|
+
];
|
256
|
+
export type OutputTuple = [selectedNeutrals: string[], totalAmount: bigint];
|
257
|
+
export interface OutputObject {
|
258
|
+
selectedNeutrals: string[];
|
259
|
+
totalAmount: bigint;
|
260
|
+
}
|
261
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
262
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
263
|
+
export type Log = TypedEventLog<Event>;
|
264
|
+
export type LogDescription = TypedLogDescription<Event>;
|
265
|
+
}
|
266
|
+
|
267
|
+
export namespace WithdrawalAnnouncedEvent {
|
268
|
+
export type InputTuple = [
|
269
|
+
neutral: AddressLike,
|
270
|
+
amount: BigNumberish,
|
271
|
+
availableAt: BigNumberish
|
272
|
+
];
|
273
|
+
export type OutputTuple = [
|
274
|
+
neutral: string,
|
275
|
+
amount: bigint,
|
276
|
+
availableAt: bigint
|
277
|
+
];
|
278
|
+
export interface OutputObject {
|
279
|
+
neutral: string;
|
280
|
+
amount: bigint;
|
281
|
+
availableAt: bigint;
|
282
|
+
}
|
283
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
284
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
285
|
+
export type Log = TypedEventLog<Event>;
|
286
|
+
export type LogDescription = TypedLogDescription<Event>;
|
287
|
+
}
|
288
|
+
|
289
|
+
export namespace WithdrawalCancelledEvent {
|
290
|
+
export type InputTuple = [neutral: AddressLike, amount: BigNumberish];
|
291
|
+
export type OutputTuple = [neutral: string, amount: bigint];
|
292
|
+
export interface OutputObject {
|
293
|
+
neutral: string;
|
294
|
+
amount: bigint;
|
295
|
+
}
|
296
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
297
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
298
|
+
export type Log = TypedEventLog<Event>;
|
299
|
+
export type LogDescription = TypedLogDescription<Event>;
|
300
|
+
}
|
301
|
+
|
302
|
+
export interface INeutralsRegistry extends BaseContract {
|
303
|
+
contractName: "INeutralsRegistry";
|
304
|
+
|
305
|
+
connect(runner?: ContractRunner | null): INeutralsRegistry;
|
306
|
+
waitForDeployment(): Promise<this>;
|
307
|
+
|
308
|
+
interface: INeutralsRegistryInterface;
|
309
|
+
|
310
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
311
|
+
event: TCEvent,
|
312
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
313
|
+
toBlock?: string | number | undefined
|
314
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
315
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
316
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
317
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
318
|
+
toBlock?: string | number | undefined
|
319
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
320
|
+
|
321
|
+
on<TCEvent extends TypedContractEvent>(
|
322
|
+
event: TCEvent,
|
323
|
+
listener: TypedListener<TCEvent>
|
324
|
+
): Promise<this>;
|
325
|
+
on<TCEvent extends TypedContractEvent>(
|
326
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
327
|
+
listener: TypedListener<TCEvent>
|
328
|
+
): Promise<this>;
|
329
|
+
|
330
|
+
once<TCEvent extends TypedContractEvent>(
|
331
|
+
event: TCEvent,
|
332
|
+
listener: TypedListener<TCEvent>
|
333
|
+
): Promise<this>;
|
334
|
+
once<TCEvent extends TypedContractEvent>(
|
335
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
336
|
+
listener: TypedListener<TCEvent>
|
337
|
+
): Promise<this>;
|
338
|
+
|
339
|
+
listeners<TCEvent extends TypedContractEvent>(
|
340
|
+
event: TCEvent
|
341
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
342
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
343
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
344
|
+
event?: TCEvent
|
345
|
+
): Promise<this>;
|
346
|
+
|
347
|
+
distributeRewards: TypedContractMethod<
|
348
|
+
[selectedNeutrals_: AddressLike[], amount_: BigNumberish],
|
349
|
+
[void],
|
350
|
+
"nonpayable"
|
351
|
+
>;
|
352
|
+
|
353
|
+
getNeutralsCount: TypedContractMethod<[], [bigint], "view">;
|
354
|
+
|
355
|
+
getNeutralsSlice: TypedContractMethod<
|
356
|
+
[number_: BigNumberish],
|
357
|
+
[string[]],
|
358
|
+
"view"
|
359
|
+
>;
|
360
|
+
|
361
|
+
isNeutral: TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
|
362
|
+
|
363
|
+
slashNeutral: TypedContractMethod<
|
364
|
+
[neutral_: AddressLike, amount_: BigNumberish],
|
365
|
+
[void],
|
366
|
+
"nonpayable"
|
367
|
+
>;
|
368
|
+
|
369
|
+
supportsInterface: TypedContractMethod<
|
370
|
+
[interfaceId: BytesLike],
|
371
|
+
[boolean],
|
372
|
+
"view"
|
373
|
+
>;
|
374
|
+
|
375
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
376
|
+
key: string | FunctionFragment
|
377
|
+
): T;
|
378
|
+
|
379
|
+
getFunction(
|
380
|
+
nameOrSignature: "distributeRewards"
|
381
|
+
): TypedContractMethod<
|
382
|
+
[selectedNeutrals_: AddressLike[], amount_: BigNumberish],
|
383
|
+
[void],
|
384
|
+
"nonpayable"
|
385
|
+
>;
|
386
|
+
getFunction(
|
387
|
+
nameOrSignature: "getNeutralsCount"
|
388
|
+
): TypedContractMethod<[], [bigint], "view">;
|
389
|
+
getFunction(
|
390
|
+
nameOrSignature: "getNeutralsSlice"
|
391
|
+
): TypedContractMethod<[number_: BigNumberish], [string[]], "view">;
|
392
|
+
getFunction(
|
393
|
+
nameOrSignature: "isNeutral"
|
394
|
+
): TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
|
395
|
+
getFunction(
|
396
|
+
nameOrSignature: "slashNeutral"
|
397
|
+
): TypedContractMethod<
|
398
|
+
[neutral_: AddressLike, amount_: BigNumberish],
|
399
|
+
[void],
|
400
|
+
"nonpayable"
|
401
|
+
>;
|
402
|
+
getFunction(
|
403
|
+
nameOrSignature: "supportsInterface"
|
404
|
+
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
405
|
+
|
406
|
+
getEvent(
|
407
|
+
key: "DelegationWithdrawn"
|
408
|
+
): TypedContractEvent<
|
409
|
+
DelegationWithdrawnEvent.InputTuple,
|
410
|
+
DelegationWithdrawnEvent.OutputTuple,
|
411
|
+
DelegationWithdrawnEvent.OutputObject
|
412
|
+
>;
|
413
|
+
getEvent(
|
414
|
+
key: "NeutralActivated"
|
415
|
+
): TypedContractEvent<
|
416
|
+
NeutralActivatedEvent.InputTuple,
|
417
|
+
NeutralActivatedEvent.OutputTuple,
|
418
|
+
NeutralActivatedEvent.OutputObject
|
419
|
+
>;
|
420
|
+
getEvent(
|
421
|
+
key: "NeutralMovedToStandby"
|
422
|
+
): TypedContractEvent<
|
423
|
+
NeutralMovedToStandbyEvent.InputTuple,
|
424
|
+
NeutralMovedToStandbyEvent.OutputTuple,
|
425
|
+
NeutralMovedToStandbyEvent.OutputObject
|
426
|
+
>;
|
427
|
+
getEvent(
|
428
|
+
key: "NeutralPaused"
|
429
|
+
): TypedContractEvent<
|
430
|
+
NeutralPausedEvent.InputTuple,
|
431
|
+
NeutralPausedEvent.OutputTuple,
|
432
|
+
NeutralPausedEvent.OutputObject
|
433
|
+
>;
|
434
|
+
getEvent(
|
435
|
+
key: "NeutralSlashed"
|
436
|
+
): TypedContractEvent<
|
437
|
+
NeutralSlashedEvent.InputTuple,
|
438
|
+
NeutralSlashedEvent.OutputTuple,
|
439
|
+
NeutralSlashedEvent.OutputObject
|
440
|
+
>;
|
441
|
+
getEvent(
|
442
|
+
key: "NeutralStaked"
|
443
|
+
): TypedContractEvent<
|
444
|
+
NeutralStakedEvent.InputTuple,
|
445
|
+
NeutralStakedEvent.OutputTuple,
|
446
|
+
NeutralStakedEvent.OutputObject
|
447
|
+
>;
|
448
|
+
getEvent(
|
449
|
+
key: "NeutralUnpaused"
|
450
|
+
): TypedContractEvent<
|
451
|
+
NeutralUnpausedEvent.InputTuple,
|
452
|
+
NeutralUnpausedEvent.OutputTuple,
|
453
|
+
NeutralUnpausedEvent.OutputObject
|
454
|
+
>;
|
455
|
+
getEvent(
|
456
|
+
key: "NeutralUnstaked"
|
457
|
+
): TypedContractEvent<
|
458
|
+
NeutralUnstakedEvent.InputTuple,
|
459
|
+
NeutralUnstakedEvent.OutputTuple,
|
460
|
+
NeutralUnstakedEvent.OutputObject
|
461
|
+
>;
|
462
|
+
getEvent(
|
463
|
+
key: "RewardsClaimed"
|
464
|
+
): TypedContractEvent<
|
465
|
+
RewardsClaimedEvent.InputTuple,
|
466
|
+
RewardsClaimedEvent.OutputTuple,
|
467
|
+
RewardsClaimedEvent.OutputObject
|
468
|
+
>;
|
469
|
+
getEvent(
|
470
|
+
key: "RewardsDistributed"
|
471
|
+
): TypedContractEvent<
|
472
|
+
RewardsDistributedEvent.InputTuple,
|
473
|
+
RewardsDistributedEvent.OutputTuple,
|
474
|
+
RewardsDistributedEvent.OutputObject
|
475
|
+
>;
|
476
|
+
getEvent(
|
477
|
+
key: "WithdrawalAnnounced"
|
478
|
+
): TypedContractEvent<
|
479
|
+
WithdrawalAnnouncedEvent.InputTuple,
|
480
|
+
WithdrawalAnnouncedEvent.OutputTuple,
|
481
|
+
WithdrawalAnnouncedEvent.OutputObject
|
482
|
+
>;
|
483
|
+
getEvent(
|
484
|
+
key: "WithdrawalCancelled"
|
485
|
+
): TypedContractEvent<
|
486
|
+
WithdrawalCancelledEvent.InputTuple,
|
487
|
+
WithdrawalCancelledEvent.OutputTuple,
|
488
|
+
WithdrawalCancelledEvent.OutputObject
|
489
|
+
>;
|
490
|
+
|
491
|
+
filters: {
|
492
|
+
"DelegationWithdrawn(address,address,uint256)": TypedContractEvent<
|
493
|
+
DelegationWithdrawnEvent.InputTuple,
|
494
|
+
DelegationWithdrawnEvent.OutputTuple,
|
495
|
+
DelegationWithdrawnEvent.OutputObject
|
496
|
+
>;
|
497
|
+
DelegationWithdrawn: TypedContractEvent<
|
498
|
+
DelegationWithdrawnEvent.InputTuple,
|
499
|
+
DelegationWithdrawnEvent.OutputTuple,
|
500
|
+
DelegationWithdrawnEvent.OutputObject
|
501
|
+
>;
|
502
|
+
|
503
|
+
"NeutralActivated(address,uint256)": TypedContractEvent<
|
504
|
+
NeutralActivatedEvent.InputTuple,
|
505
|
+
NeutralActivatedEvent.OutputTuple,
|
506
|
+
NeutralActivatedEvent.OutputObject
|
507
|
+
>;
|
508
|
+
NeutralActivated: TypedContractEvent<
|
509
|
+
NeutralActivatedEvent.InputTuple,
|
510
|
+
NeutralActivatedEvent.OutputTuple,
|
511
|
+
NeutralActivatedEvent.OutputObject
|
512
|
+
>;
|
513
|
+
|
514
|
+
"NeutralMovedToStandby(address)": TypedContractEvent<
|
515
|
+
NeutralMovedToStandbyEvent.InputTuple,
|
516
|
+
NeutralMovedToStandbyEvent.OutputTuple,
|
517
|
+
NeutralMovedToStandbyEvent.OutputObject
|
518
|
+
>;
|
519
|
+
NeutralMovedToStandby: TypedContractEvent<
|
520
|
+
NeutralMovedToStandbyEvent.InputTuple,
|
521
|
+
NeutralMovedToStandbyEvent.OutputTuple,
|
522
|
+
NeutralMovedToStandbyEvent.OutputObject
|
523
|
+
>;
|
524
|
+
|
525
|
+
"NeutralPaused(address)": TypedContractEvent<
|
526
|
+
NeutralPausedEvent.InputTuple,
|
527
|
+
NeutralPausedEvent.OutputTuple,
|
528
|
+
NeutralPausedEvent.OutputObject
|
529
|
+
>;
|
530
|
+
NeutralPaused: TypedContractEvent<
|
531
|
+
NeutralPausedEvent.InputTuple,
|
532
|
+
NeutralPausedEvent.OutputTuple,
|
533
|
+
NeutralPausedEvent.OutputObject
|
534
|
+
>;
|
535
|
+
|
536
|
+
"NeutralSlashed(address,uint256,address)": TypedContractEvent<
|
537
|
+
NeutralSlashedEvent.InputTuple,
|
538
|
+
NeutralSlashedEvent.OutputTuple,
|
539
|
+
NeutralSlashedEvent.OutputObject
|
540
|
+
>;
|
541
|
+
NeutralSlashed: TypedContractEvent<
|
542
|
+
NeutralSlashedEvent.InputTuple,
|
543
|
+
NeutralSlashedEvent.OutputTuple,
|
544
|
+
NeutralSlashedEvent.OutputObject
|
545
|
+
>;
|
546
|
+
|
547
|
+
"NeutralStaked(address,uint256,uint256)": TypedContractEvent<
|
548
|
+
NeutralStakedEvent.InputTuple,
|
549
|
+
NeutralStakedEvent.OutputTuple,
|
550
|
+
NeutralStakedEvent.OutputObject
|
551
|
+
>;
|
552
|
+
NeutralStaked: TypedContractEvent<
|
553
|
+
NeutralStakedEvent.InputTuple,
|
554
|
+
NeutralStakedEvent.OutputTuple,
|
555
|
+
NeutralStakedEvent.OutputObject
|
556
|
+
>;
|
557
|
+
|
558
|
+
"NeutralUnpaused(address)": TypedContractEvent<
|
559
|
+
NeutralUnpausedEvent.InputTuple,
|
560
|
+
NeutralUnpausedEvent.OutputTuple,
|
561
|
+
NeutralUnpausedEvent.OutputObject
|
562
|
+
>;
|
563
|
+
NeutralUnpaused: TypedContractEvent<
|
564
|
+
NeutralUnpausedEvent.InputTuple,
|
565
|
+
NeutralUnpausedEvent.OutputTuple,
|
566
|
+
NeutralUnpausedEvent.OutputObject
|
567
|
+
>;
|
568
|
+
|
569
|
+
"NeutralUnstaked(address,uint256,uint256)": TypedContractEvent<
|
570
|
+
NeutralUnstakedEvent.InputTuple,
|
571
|
+
NeutralUnstakedEvent.OutputTuple,
|
572
|
+
NeutralUnstakedEvent.OutputObject
|
573
|
+
>;
|
574
|
+
NeutralUnstaked: TypedContractEvent<
|
575
|
+
NeutralUnstakedEvent.InputTuple,
|
576
|
+
NeutralUnstakedEvent.OutputTuple,
|
577
|
+
NeutralUnstakedEvent.OutputObject
|
578
|
+
>;
|
579
|
+
|
580
|
+
"RewardsClaimed(address,uint256)": TypedContractEvent<
|
581
|
+
RewardsClaimedEvent.InputTuple,
|
582
|
+
RewardsClaimedEvent.OutputTuple,
|
583
|
+
RewardsClaimedEvent.OutputObject
|
584
|
+
>;
|
585
|
+
RewardsClaimed: TypedContractEvent<
|
586
|
+
RewardsClaimedEvent.InputTuple,
|
587
|
+
RewardsClaimedEvent.OutputTuple,
|
588
|
+
RewardsClaimedEvent.OutputObject
|
589
|
+
>;
|
590
|
+
|
591
|
+
"RewardsDistributed(address[],uint256)": TypedContractEvent<
|
592
|
+
RewardsDistributedEvent.InputTuple,
|
593
|
+
RewardsDistributedEvent.OutputTuple,
|
594
|
+
RewardsDistributedEvent.OutputObject
|
595
|
+
>;
|
596
|
+
RewardsDistributed: TypedContractEvent<
|
597
|
+
RewardsDistributedEvent.InputTuple,
|
598
|
+
RewardsDistributedEvent.OutputTuple,
|
599
|
+
RewardsDistributedEvent.OutputObject
|
600
|
+
>;
|
601
|
+
|
602
|
+
"WithdrawalAnnounced(address,uint256,uint256)": TypedContractEvent<
|
603
|
+
WithdrawalAnnouncedEvent.InputTuple,
|
604
|
+
WithdrawalAnnouncedEvent.OutputTuple,
|
605
|
+
WithdrawalAnnouncedEvent.OutputObject
|
606
|
+
>;
|
607
|
+
WithdrawalAnnounced: TypedContractEvent<
|
608
|
+
WithdrawalAnnouncedEvent.InputTuple,
|
609
|
+
WithdrawalAnnouncedEvent.OutputTuple,
|
610
|
+
WithdrawalAnnouncedEvent.OutputObject
|
611
|
+
>;
|
612
|
+
|
613
|
+
"WithdrawalCancelled(address,uint256)": TypedContractEvent<
|
614
|
+
WithdrawalCancelledEvent.InputTuple,
|
615
|
+
WithdrawalCancelledEvent.OutputTuple,
|
616
|
+
WithdrawalCancelledEvent.OutputObject
|
617
|
+
>;
|
618
|
+
WithdrawalCancelled: TypedContractEvent<
|
619
|
+
WithdrawalCancelledEvent.InputTuple,
|
620
|
+
WithdrawalCancelledEvent.OutputTuple,
|
621
|
+
WithdrawalCancelledEvent.OutputObject
|
622
|
+
>;
|
623
|
+
};
|
624
|
+
}
|