@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.
Files changed (58) hide show
  1. package/common.ts +131 -0
  2. package/constants.ts +34 -0
  3. package/contracts/governance/ExecutorsRegistry.ts +1249 -0
  4. package/contracts/governance/Governance.ts +1740 -0
  5. package/contracts/governance/NeutralsRegistry.ts +1393 -0
  6. package/contracts/governance/ParameterRegistry.ts +832 -0
  7. package/contracts/governance/index.ts +7 -0
  8. package/contracts/index.ts +15 -0
  9. package/contracts/interfaces/IExecutorsRegistry.ts +601 -0
  10. package/contracts/interfaces/IGovernance.ts +215 -0
  11. package/contracts/interfaces/INeutralsRegistry.ts +624 -0
  12. package/contracts/interfaces/IQParameters.ts +109 -0
  13. package/contracts/interfaces/ISLCCore.ts +289 -0
  14. package/contracts/interfaces/ISLCCoreFactory.ts +217 -0
  15. package/contracts/interfaces/IWrappedToken.ts +272 -0
  16. package/contracts/interfaces/index.ts +10 -0
  17. package/contracts/libs/Errors.ts +71 -0
  18. package/contracts/libs/NeutralsSelection.ts +71 -0
  19. package/contracts/libs/index.ts +5 -0
  20. package/contracts/mocks/MockGovernance.ts +389 -0
  21. package/contracts/mocks/MockNeutralsRegistry.ts +791 -0
  22. package/contracts/mocks/SimpleContract.ts +110 -0
  23. package/contracts/mocks/WrappedToken.ts +334 -0
  24. package/contracts/mocks/index.ts +7 -0
  25. package/contracts/slc-core/SLCCore.ts +397 -0
  26. package/contracts/slc-core/SLCCoreFactory.ts +559 -0
  27. package/contracts/slc-core/index.ts +5 -0
  28. package/contracts/token/Token.ts +399 -0
  29. package/contracts/token/index.ts +4 -0
  30. package/factories/contracts/governance/ExecutorsRegistry__factory.ts +1240 -0
  31. package/factories/contracts/governance/Governance__factory.ts +2328 -0
  32. package/factories/contracts/governance/NeutralsRegistry__factory.ts +1491 -0
  33. package/factories/contracts/governance/ParameterRegistry__factory.ts +834 -0
  34. package/factories/contracts/governance/index.ts +7 -0
  35. package/factories/contracts/index.ts +9 -0
  36. package/factories/contracts/interfaces/IExecutorsRegistry__factory.ts +428 -0
  37. package/factories/contracts/interfaces/IGovernance__factory.ts +153 -0
  38. package/factories/contracts/interfaces/INeutralsRegistry__factory.ts +527 -0
  39. package/factories/contracts/interfaces/IQParameters__factory.ts +101 -0
  40. package/factories/contracts/interfaces/ISLCCoreFactory__factory.ts +197 -0
  41. package/factories/contracts/interfaces/ISLCCore__factory.ts +227 -0
  42. package/factories/contracts/interfaces/IWrappedToken__factory.ts +221 -0
  43. package/factories/contracts/interfaces/index.ts +10 -0
  44. package/factories/contracts/libs/Errors__factory.ts +205 -0
  45. package/factories/contracts/libs/NeutralsSelection__factory.ts +103 -0
  46. package/factories/contracts/libs/index.ts +5 -0
  47. package/factories/contracts/mocks/MockGovernance__factory.ts +353 -0
  48. package/factories/contracts/mocks/MockNeutralsRegistry__factory.ts +730 -0
  49. package/factories/contracts/mocks/SimpleContract__factory.ts +110 -0
  50. package/factories/contracts/mocks/WrappedToken__factory.ts +433 -0
  51. package/factories/contracts/mocks/index.ts +7 -0
  52. package/factories/contracts/slc-core/SLCCoreFactory__factory.ts +568 -0
  53. package/factories/contracts/slc-core/SLCCore__factory.ts +373 -0
  54. package/factories/contracts/slc-core/index.ts +5 -0
  55. package/factories/contracts/token/Token__factory.ts +505 -0
  56. package/factories/contracts/token/index.ts +4 -0
  57. package/index.ts +38 -0
  58. package/package.json +25 -0
@@ -0,0 +1,1249 @@
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 declare namespace ExecutorsRegistry {
27
+ export type ExecutorInfoStruct = {
28
+ stake: BigNumberish;
29
+ isApproved: boolean;
30
+ isActive: boolean;
31
+ isStandby: boolean;
32
+ };
33
+
34
+ export type ExecutorInfoStructOutput = [
35
+ stake: bigint,
36
+ isApproved: boolean,
37
+ isActive: boolean,
38
+ isStandby: boolean
39
+ ] & {
40
+ stake: bigint;
41
+ isApproved: boolean;
42
+ isActive: boolean;
43
+ isStandby: boolean;
44
+ };
45
+
46
+ export type WithdrawalAnnouncementStruct = {
47
+ amount: BigNumberish;
48
+ announcedAt: BigNumberish;
49
+ availableAt: BigNumberish;
50
+ };
51
+
52
+ export type WithdrawalAnnouncementStructOutput = [
53
+ amount: bigint,
54
+ announcedAt: bigint,
55
+ availableAt: bigint
56
+ ] & { amount: bigint; announcedAt: bigint; availableAt: bigint };
57
+ }
58
+
59
+ export declare namespace AValueDistributor {
60
+ export type UserDistributionStruct = {
61
+ shares: BigNumberish;
62
+ cumulativeSum: BigNumberish;
63
+ owedValue: BigNumberish;
64
+ };
65
+
66
+ export type UserDistributionStructOutput = [
67
+ shares: bigint,
68
+ cumulativeSum: bigint,
69
+ owedValue: bigint
70
+ ] & { shares: bigint; cumulativeSum: bigint; owedValue: bigint };
71
+ }
72
+
73
+ export interface ExecutorsRegistryInterface extends Interface {
74
+ getFunction(
75
+ nameOrSignature:
76
+ | "UPGRADE_INTERFACE_VERSION"
77
+ | "__ExecutorsRegistry_init"
78
+ | "announceWithdrawal"
79
+ | "approveExecutor"
80
+ | "boundActiveExecutors"
81
+ | "cancelWithdrawal"
82
+ | "claimRewards"
83
+ | "completeWithdrawal"
84
+ | "cumulativeSum"
85
+ | "disapproveExecutor"
86
+ | "distributeRewards"
87
+ | "getActiveExecutors"
88
+ | "getExecutorInfo"
89
+ | "getExecutorsCount"
90
+ | "getOwedValue"
91
+ | "getStandbyExecutors"
92
+ | "getWithdrawalAnnouncement"
93
+ | "hasShares"
94
+ | "implementation"
95
+ | "isExecutor"
96
+ | "isWithdrawalReady"
97
+ | "proxiableUUID"
98
+ | "slashExecutor"
99
+ | "stake"
100
+ | "supportsInterface"
101
+ | "totalShares"
102
+ | "tryBecomeActive"
103
+ | "updateWithdrawalAnnouncement"
104
+ | "updatedAt"
105
+ | "upgradeToAndCall"
106
+ | "userDistribution"
107
+ ): FunctionFragment;
108
+
109
+ getEvent(
110
+ nameOrSignatureOrTopic:
111
+ | "ExecutorActivated"
112
+ | "ExecutorApproved"
113
+ | "ExecutorDisapproved"
114
+ | "ExecutorMovedToStandby"
115
+ | "ExecutorPaused"
116
+ | "ExecutorSlashed"
117
+ | "ExecutorStaked"
118
+ | "ExecutorUnpaused"
119
+ | "ExecutorUnstaked"
120
+ | "Initialized"
121
+ | "RewardsClaimed"
122
+ | "RewardsDistributed"
123
+ | "SharesAdded"
124
+ | "SharesRemoved"
125
+ | "Upgraded"
126
+ | "ValueDistributed"
127
+ | "WithdrawalAnnounced"
128
+ | "WithdrawalCancelled"
129
+ ): EventFragment;
130
+
131
+ encodeFunctionData(
132
+ functionFragment: "UPGRADE_INTERFACE_VERSION",
133
+ values?: undefined
134
+ ): string;
135
+ encodeFunctionData(
136
+ functionFragment: "__ExecutorsRegistry_init",
137
+ values: [AddressLike, AddressLike[]]
138
+ ): string;
139
+ encodeFunctionData(
140
+ functionFragment: "announceWithdrawal",
141
+ values: [BigNumberish]
142
+ ): string;
143
+ encodeFunctionData(
144
+ functionFragment: "approveExecutor",
145
+ values: [AddressLike]
146
+ ): string;
147
+ encodeFunctionData(
148
+ functionFragment: "boundActiveExecutors",
149
+ values?: undefined
150
+ ): string;
151
+ encodeFunctionData(
152
+ functionFragment: "cancelWithdrawal",
153
+ values?: undefined
154
+ ): string;
155
+ encodeFunctionData(
156
+ functionFragment: "claimRewards",
157
+ values?: undefined
158
+ ): string;
159
+ encodeFunctionData(
160
+ functionFragment: "completeWithdrawal",
161
+ values?: undefined
162
+ ): string;
163
+ encodeFunctionData(
164
+ functionFragment: "cumulativeSum",
165
+ values?: undefined
166
+ ): string;
167
+ encodeFunctionData(
168
+ functionFragment: "disapproveExecutor",
169
+ values: [AddressLike]
170
+ ): string;
171
+ encodeFunctionData(
172
+ functionFragment: "distributeRewards",
173
+ values: [BigNumberish]
174
+ ): string;
175
+ encodeFunctionData(
176
+ functionFragment: "getActiveExecutors",
177
+ values: [BigNumberish, BigNumberish]
178
+ ): string;
179
+ encodeFunctionData(
180
+ functionFragment: "getExecutorInfo",
181
+ values: [AddressLike]
182
+ ): string;
183
+ encodeFunctionData(
184
+ functionFragment: "getExecutorsCount",
185
+ values?: undefined
186
+ ): string;
187
+ encodeFunctionData(
188
+ functionFragment: "getOwedValue",
189
+ values: [AddressLike]
190
+ ): string;
191
+ encodeFunctionData(
192
+ functionFragment: "getStandbyExecutors",
193
+ values: [BigNumberish, BigNumberish]
194
+ ): string;
195
+ encodeFunctionData(
196
+ functionFragment: "getWithdrawalAnnouncement",
197
+ values: [AddressLike]
198
+ ): string;
199
+ encodeFunctionData(
200
+ functionFragment: "hasShares",
201
+ values: [AddressLike]
202
+ ): string;
203
+ encodeFunctionData(
204
+ functionFragment: "implementation",
205
+ values?: undefined
206
+ ): string;
207
+ encodeFunctionData(
208
+ functionFragment: "isExecutor",
209
+ values: [AddressLike]
210
+ ): string;
211
+ encodeFunctionData(
212
+ functionFragment: "isWithdrawalReady",
213
+ values: [AddressLike]
214
+ ): string;
215
+ encodeFunctionData(
216
+ functionFragment: "proxiableUUID",
217
+ values?: undefined
218
+ ): string;
219
+ encodeFunctionData(
220
+ functionFragment: "slashExecutor",
221
+ values: [AddressLike, BigNumberish]
222
+ ): string;
223
+ encodeFunctionData(functionFragment: "stake", values: [BigNumberish]): string;
224
+ encodeFunctionData(
225
+ functionFragment: "supportsInterface",
226
+ values: [BytesLike]
227
+ ): string;
228
+ encodeFunctionData(
229
+ functionFragment: "totalShares",
230
+ values?: undefined
231
+ ): string;
232
+ encodeFunctionData(
233
+ functionFragment: "tryBecomeActive",
234
+ values?: undefined
235
+ ): string;
236
+ encodeFunctionData(
237
+ functionFragment: "updateWithdrawalAnnouncement",
238
+ values: [BigNumberish]
239
+ ): string;
240
+ encodeFunctionData(functionFragment: "updatedAt", values?: undefined): string;
241
+ encodeFunctionData(
242
+ functionFragment: "upgradeToAndCall",
243
+ values: [AddressLike, BytesLike]
244
+ ): string;
245
+ encodeFunctionData(
246
+ functionFragment: "userDistribution",
247
+ values: [AddressLike]
248
+ ): string;
249
+
250
+ decodeFunctionResult(
251
+ functionFragment: "UPGRADE_INTERFACE_VERSION",
252
+ data: BytesLike
253
+ ): Result;
254
+ decodeFunctionResult(
255
+ functionFragment: "__ExecutorsRegistry_init",
256
+ data: BytesLike
257
+ ): Result;
258
+ decodeFunctionResult(
259
+ functionFragment: "announceWithdrawal",
260
+ data: BytesLike
261
+ ): Result;
262
+ decodeFunctionResult(
263
+ functionFragment: "approveExecutor",
264
+ data: BytesLike
265
+ ): Result;
266
+ decodeFunctionResult(
267
+ functionFragment: "boundActiveExecutors",
268
+ data: BytesLike
269
+ ): Result;
270
+ decodeFunctionResult(
271
+ functionFragment: "cancelWithdrawal",
272
+ data: BytesLike
273
+ ): Result;
274
+ decodeFunctionResult(
275
+ functionFragment: "claimRewards",
276
+ data: BytesLike
277
+ ): Result;
278
+ decodeFunctionResult(
279
+ functionFragment: "completeWithdrawal",
280
+ data: BytesLike
281
+ ): Result;
282
+ decodeFunctionResult(
283
+ functionFragment: "cumulativeSum",
284
+ data: BytesLike
285
+ ): Result;
286
+ decodeFunctionResult(
287
+ functionFragment: "disapproveExecutor",
288
+ data: BytesLike
289
+ ): Result;
290
+ decodeFunctionResult(
291
+ functionFragment: "distributeRewards",
292
+ data: BytesLike
293
+ ): Result;
294
+ decodeFunctionResult(
295
+ functionFragment: "getActiveExecutors",
296
+ data: BytesLike
297
+ ): Result;
298
+ decodeFunctionResult(
299
+ functionFragment: "getExecutorInfo",
300
+ data: BytesLike
301
+ ): Result;
302
+ decodeFunctionResult(
303
+ functionFragment: "getExecutorsCount",
304
+ data: BytesLike
305
+ ): Result;
306
+ decodeFunctionResult(
307
+ functionFragment: "getOwedValue",
308
+ data: BytesLike
309
+ ): Result;
310
+ decodeFunctionResult(
311
+ functionFragment: "getStandbyExecutors",
312
+ data: BytesLike
313
+ ): Result;
314
+ decodeFunctionResult(
315
+ functionFragment: "getWithdrawalAnnouncement",
316
+ data: BytesLike
317
+ ): Result;
318
+ decodeFunctionResult(functionFragment: "hasShares", data: BytesLike): Result;
319
+ decodeFunctionResult(
320
+ functionFragment: "implementation",
321
+ data: BytesLike
322
+ ): Result;
323
+ decodeFunctionResult(functionFragment: "isExecutor", data: BytesLike): Result;
324
+ decodeFunctionResult(
325
+ functionFragment: "isWithdrawalReady",
326
+ data: BytesLike
327
+ ): Result;
328
+ decodeFunctionResult(
329
+ functionFragment: "proxiableUUID",
330
+ data: BytesLike
331
+ ): Result;
332
+ decodeFunctionResult(
333
+ functionFragment: "slashExecutor",
334
+ data: BytesLike
335
+ ): Result;
336
+ decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
337
+ decodeFunctionResult(
338
+ functionFragment: "supportsInterface",
339
+ data: BytesLike
340
+ ): Result;
341
+ decodeFunctionResult(
342
+ functionFragment: "totalShares",
343
+ data: BytesLike
344
+ ): Result;
345
+ decodeFunctionResult(
346
+ functionFragment: "tryBecomeActive",
347
+ data: BytesLike
348
+ ): Result;
349
+ decodeFunctionResult(
350
+ functionFragment: "updateWithdrawalAnnouncement",
351
+ data: BytesLike
352
+ ): Result;
353
+ decodeFunctionResult(functionFragment: "updatedAt", data: BytesLike): Result;
354
+ decodeFunctionResult(
355
+ functionFragment: "upgradeToAndCall",
356
+ data: BytesLike
357
+ ): Result;
358
+ decodeFunctionResult(
359
+ functionFragment: "userDistribution",
360
+ data: BytesLike
361
+ ): Result;
362
+ }
363
+
364
+ export namespace ExecutorActivatedEvent {
365
+ export type InputTuple = [executor: AddressLike, stake: BigNumberish];
366
+ export type OutputTuple = [executor: string, stake: bigint];
367
+ export interface OutputObject {
368
+ executor: string;
369
+ stake: bigint;
370
+ }
371
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
372
+ export type Filter = TypedDeferredTopicFilter<Event>;
373
+ export type Log = TypedEventLog<Event>;
374
+ export type LogDescription = TypedLogDescription<Event>;
375
+ }
376
+
377
+ export namespace ExecutorApprovedEvent {
378
+ export type InputTuple = [executor: AddressLike];
379
+ export type OutputTuple = [executor: string];
380
+ export interface OutputObject {
381
+ executor: string;
382
+ }
383
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
384
+ export type Filter = TypedDeferredTopicFilter<Event>;
385
+ export type Log = TypedEventLog<Event>;
386
+ export type LogDescription = TypedLogDescription<Event>;
387
+ }
388
+
389
+ export namespace ExecutorDisapprovedEvent {
390
+ export type InputTuple = [executor: AddressLike];
391
+ export type OutputTuple = [executor: string];
392
+ export interface OutputObject {
393
+ executor: string;
394
+ }
395
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
396
+ export type Filter = TypedDeferredTopicFilter<Event>;
397
+ export type Log = TypedEventLog<Event>;
398
+ export type LogDescription = TypedLogDescription<Event>;
399
+ }
400
+
401
+ export namespace ExecutorMovedToStandbyEvent {
402
+ export type InputTuple = [executor: AddressLike];
403
+ export type OutputTuple = [executor: string];
404
+ export interface OutputObject {
405
+ executor: string;
406
+ }
407
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
408
+ export type Filter = TypedDeferredTopicFilter<Event>;
409
+ export type Log = TypedEventLog<Event>;
410
+ export type LogDescription = TypedLogDescription<Event>;
411
+ }
412
+
413
+ export namespace ExecutorPausedEvent {
414
+ export type InputTuple = [executor: AddressLike];
415
+ export type OutputTuple = [executor: string];
416
+ export interface OutputObject {
417
+ executor: string;
418
+ }
419
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
420
+ export type Filter = TypedDeferredTopicFilter<Event>;
421
+ export type Log = TypedEventLog<Event>;
422
+ export type LogDescription = TypedLogDescription<Event>;
423
+ }
424
+
425
+ export namespace ExecutorSlashedEvent {
426
+ export type InputTuple = [
427
+ executor: AddressLike,
428
+ amount: BigNumberish,
429
+ recipient: AddressLike
430
+ ];
431
+ export type OutputTuple = [
432
+ executor: string,
433
+ amount: bigint,
434
+ recipient: string
435
+ ];
436
+ export interface OutputObject {
437
+ executor: string;
438
+ amount: bigint;
439
+ recipient: string;
440
+ }
441
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
442
+ export type Filter = TypedDeferredTopicFilter<Event>;
443
+ export type Log = TypedEventLog<Event>;
444
+ export type LogDescription = TypedLogDescription<Event>;
445
+ }
446
+
447
+ export namespace ExecutorStakedEvent {
448
+ export type InputTuple = [
449
+ executor: AddressLike,
450
+ amount: BigNumberish,
451
+ totalStake: BigNumberish
452
+ ];
453
+ export type OutputTuple = [
454
+ executor: string,
455
+ amount: bigint,
456
+ totalStake: bigint
457
+ ];
458
+ export interface OutputObject {
459
+ executor: string;
460
+ amount: bigint;
461
+ totalStake: bigint;
462
+ }
463
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
464
+ export type Filter = TypedDeferredTopicFilter<Event>;
465
+ export type Log = TypedEventLog<Event>;
466
+ export type LogDescription = TypedLogDescription<Event>;
467
+ }
468
+
469
+ export namespace ExecutorUnpausedEvent {
470
+ export type InputTuple = [executor: AddressLike];
471
+ export type OutputTuple = [executor: string];
472
+ export interface OutputObject {
473
+ executor: string;
474
+ }
475
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
476
+ export type Filter = TypedDeferredTopicFilter<Event>;
477
+ export type Log = TypedEventLog<Event>;
478
+ export type LogDescription = TypedLogDescription<Event>;
479
+ }
480
+
481
+ export namespace ExecutorUnstakedEvent {
482
+ export type InputTuple = [
483
+ executor: AddressLike,
484
+ amount: BigNumberish,
485
+ remainingStake: BigNumberish
486
+ ];
487
+ export type OutputTuple = [
488
+ executor: string,
489
+ amount: bigint,
490
+ remainingStake: bigint
491
+ ];
492
+ export interface OutputObject {
493
+ executor: string;
494
+ amount: bigint;
495
+ remainingStake: bigint;
496
+ }
497
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
498
+ export type Filter = TypedDeferredTopicFilter<Event>;
499
+ export type Log = TypedEventLog<Event>;
500
+ export type LogDescription = TypedLogDescription<Event>;
501
+ }
502
+
503
+ export namespace InitializedEvent {
504
+ export type InputTuple = [version: BigNumberish];
505
+ export type OutputTuple = [version: bigint];
506
+ export interface OutputObject {
507
+ version: bigint;
508
+ }
509
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
510
+ export type Filter = TypedDeferredTopicFilter<Event>;
511
+ export type Log = TypedEventLog<Event>;
512
+ export type LogDescription = TypedLogDescription<Event>;
513
+ }
514
+
515
+ export namespace RewardsClaimedEvent {
516
+ export type InputTuple = [executor: AddressLike, amount: BigNumberish];
517
+ export type OutputTuple = [executor: string, amount: bigint];
518
+ export interface OutputObject {
519
+ executor: string;
520
+ amount: bigint;
521
+ }
522
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
523
+ export type Filter = TypedDeferredTopicFilter<Event>;
524
+ export type Log = TypedEventLog<Event>;
525
+ export type LogDescription = TypedLogDescription<Event>;
526
+ }
527
+
528
+ export namespace RewardsDistributedEvent {
529
+ export type InputTuple = [totalAmount: BigNumberish];
530
+ export type OutputTuple = [totalAmount: bigint];
531
+ export interface OutputObject {
532
+ totalAmount: bigint;
533
+ }
534
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
535
+ export type Filter = TypedDeferredTopicFilter<Event>;
536
+ export type Log = TypedEventLog<Event>;
537
+ export type LogDescription = TypedLogDescription<Event>;
538
+ }
539
+
540
+ export namespace SharesAddedEvent {
541
+ export type InputTuple = [user: AddressLike, amount: BigNumberish];
542
+ export type OutputTuple = [user: string, amount: bigint];
543
+ export interface OutputObject {
544
+ user: string;
545
+ amount: bigint;
546
+ }
547
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
548
+ export type Filter = TypedDeferredTopicFilter<Event>;
549
+ export type Log = TypedEventLog<Event>;
550
+ export type LogDescription = TypedLogDescription<Event>;
551
+ }
552
+
553
+ export namespace SharesRemovedEvent {
554
+ export type InputTuple = [user: AddressLike, amount: BigNumberish];
555
+ export type OutputTuple = [user: string, amount: bigint];
556
+ export interface OutputObject {
557
+ user: string;
558
+ amount: bigint;
559
+ }
560
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
561
+ export type Filter = TypedDeferredTopicFilter<Event>;
562
+ export type Log = TypedEventLog<Event>;
563
+ export type LogDescription = TypedLogDescription<Event>;
564
+ }
565
+
566
+ export namespace UpgradedEvent {
567
+ export type InputTuple = [implementation: AddressLike];
568
+ export type OutputTuple = [implementation: string];
569
+ export interface OutputObject {
570
+ implementation: string;
571
+ }
572
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
573
+ export type Filter = TypedDeferredTopicFilter<Event>;
574
+ export type Log = TypedEventLog<Event>;
575
+ export type LogDescription = TypedLogDescription<Event>;
576
+ }
577
+
578
+ export namespace ValueDistributedEvent {
579
+ export type InputTuple = [user: AddressLike, amount: BigNumberish];
580
+ export type OutputTuple = [user: string, amount: bigint];
581
+ export interface OutputObject {
582
+ user: string;
583
+ amount: bigint;
584
+ }
585
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
586
+ export type Filter = TypedDeferredTopicFilter<Event>;
587
+ export type Log = TypedEventLog<Event>;
588
+ export type LogDescription = TypedLogDescription<Event>;
589
+ }
590
+
591
+ export namespace WithdrawalAnnouncedEvent {
592
+ export type InputTuple = [
593
+ executor: AddressLike,
594
+ amount: BigNumberish,
595
+ availableAt: BigNumberish
596
+ ];
597
+ export type OutputTuple = [
598
+ executor: string,
599
+ amount: bigint,
600
+ availableAt: bigint
601
+ ];
602
+ export interface OutputObject {
603
+ executor: string;
604
+ amount: bigint;
605
+ availableAt: bigint;
606
+ }
607
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
608
+ export type Filter = TypedDeferredTopicFilter<Event>;
609
+ export type Log = TypedEventLog<Event>;
610
+ export type LogDescription = TypedLogDescription<Event>;
611
+ }
612
+
613
+ export namespace WithdrawalCancelledEvent {
614
+ export type InputTuple = [executor: AddressLike, amount: BigNumberish];
615
+ export type OutputTuple = [executor: string, amount: bigint];
616
+ export interface OutputObject {
617
+ executor: string;
618
+ amount: bigint;
619
+ }
620
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
621
+ export type Filter = TypedDeferredTopicFilter<Event>;
622
+ export type Log = TypedEventLog<Event>;
623
+ export type LogDescription = TypedLogDescription<Event>;
624
+ }
625
+
626
+ export interface ExecutorsRegistry extends BaseContract {
627
+ contractName: "ExecutorsRegistry";
628
+
629
+ connect(runner?: ContractRunner | null): ExecutorsRegistry;
630
+ waitForDeployment(): Promise<this>;
631
+
632
+ interface: ExecutorsRegistryInterface;
633
+
634
+ queryFilter<TCEvent extends TypedContractEvent>(
635
+ event: TCEvent,
636
+ fromBlockOrBlockhash?: string | number | undefined,
637
+ toBlock?: string | number | undefined
638
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
639
+ queryFilter<TCEvent extends TypedContractEvent>(
640
+ filter: TypedDeferredTopicFilter<TCEvent>,
641
+ fromBlockOrBlockhash?: string | number | undefined,
642
+ toBlock?: string | number | undefined
643
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
644
+
645
+ on<TCEvent extends TypedContractEvent>(
646
+ event: TCEvent,
647
+ listener: TypedListener<TCEvent>
648
+ ): Promise<this>;
649
+ on<TCEvent extends TypedContractEvent>(
650
+ filter: TypedDeferredTopicFilter<TCEvent>,
651
+ listener: TypedListener<TCEvent>
652
+ ): Promise<this>;
653
+
654
+ once<TCEvent extends TypedContractEvent>(
655
+ event: TCEvent,
656
+ listener: TypedListener<TCEvent>
657
+ ): Promise<this>;
658
+ once<TCEvent extends TypedContractEvent>(
659
+ filter: TypedDeferredTopicFilter<TCEvent>,
660
+ listener: TypedListener<TCEvent>
661
+ ): Promise<this>;
662
+
663
+ listeners<TCEvent extends TypedContractEvent>(
664
+ event: TCEvent
665
+ ): Promise<Array<TypedListener<TCEvent>>>;
666
+ listeners(eventName?: string): Promise<Array<Listener>>;
667
+ removeAllListeners<TCEvent extends TypedContractEvent>(
668
+ event?: TCEvent
669
+ ): Promise<this>;
670
+
671
+ UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
672
+
673
+ __ExecutorsRegistry_init: TypedContractMethod<
674
+ [governance_: AddressLike, initialExecutors_: AddressLike[]],
675
+ [void],
676
+ "nonpayable"
677
+ >;
678
+
679
+ announceWithdrawal: TypedContractMethod<
680
+ [amount_: BigNumberish],
681
+ [void],
682
+ "nonpayable"
683
+ >;
684
+
685
+ approveExecutor: TypedContractMethod<
686
+ [executor_: AddressLike],
687
+ [void],
688
+ "nonpayable"
689
+ >;
690
+
691
+ boundActiveExecutors: TypedContractMethod<[], [void], "nonpayable">;
692
+
693
+ cancelWithdrawal: TypedContractMethod<[], [void], "nonpayable">;
694
+
695
+ claimRewards: TypedContractMethod<[], [void], "nonpayable">;
696
+
697
+ completeWithdrawal: TypedContractMethod<[], [void], "nonpayable">;
698
+
699
+ cumulativeSum: TypedContractMethod<[], [bigint], "view">;
700
+
701
+ disapproveExecutor: TypedContractMethod<
702
+ [executor_: AddressLike],
703
+ [void],
704
+ "nonpayable"
705
+ >;
706
+
707
+ distributeRewards: TypedContractMethod<
708
+ [amount_: BigNumberish],
709
+ [void],
710
+ "nonpayable"
711
+ >;
712
+
713
+ getActiveExecutors: TypedContractMethod<
714
+ [offset_: BigNumberish, limit_: BigNumberish],
715
+ [string[]],
716
+ "view"
717
+ >;
718
+
719
+ getExecutorInfo: TypedContractMethod<
720
+ [executor_: AddressLike],
721
+ [ExecutorsRegistry.ExecutorInfoStructOutput],
722
+ "view"
723
+ >;
724
+
725
+ getExecutorsCount: TypedContractMethod<[], [bigint], "view">;
726
+
727
+ getOwedValue: TypedContractMethod<[user_: AddressLike], [bigint], "view">;
728
+
729
+ getStandbyExecutors: TypedContractMethod<
730
+ [offset_: BigNumberish, limit_: BigNumberish],
731
+ [string[]],
732
+ "view"
733
+ >;
734
+
735
+ getWithdrawalAnnouncement: TypedContractMethod<
736
+ [executor_: AddressLike],
737
+ [ExecutorsRegistry.WithdrawalAnnouncementStructOutput],
738
+ "view"
739
+ >;
740
+
741
+ hasShares: TypedContractMethod<[executor_: AddressLike], [boolean], "view">;
742
+
743
+ implementation: TypedContractMethod<[], [string], "view">;
744
+
745
+ isExecutor: TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
746
+
747
+ isWithdrawalReady: TypedContractMethod<
748
+ [executor_: AddressLike],
749
+ [boolean],
750
+ "view"
751
+ >;
752
+
753
+ proxiableUUID: TypedContractMethod<[], [string], "view">;
754
+
755
+ slashExecutor: TypedContractMethod<
756
+ [executor_: AddressLike, amount_: BigNumberish],
757
+ [void],
758
+ "nonpayable"
759
+ >;
760
+
761
+ stake: TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
762
+
763
+ supportsInterface: TypedContractMethod<
764
+ [interfaceId_: BytesLike],
765
+ [boolean],
766
+ "view"
767
+ >;
768
+
769
+ totalShares: TypedContractMethod<[], [bigint], "view">;
770
+
771
+ tryBecomeActive: TypedContractMethod<[], [void], "nonpayable">;
772
+
773
+ updateWithdrawalAnnouncement: TypedContractMethod<
774
+ [newAmount_: BigNumberish],
775
+ [void],
776
+ "nonpayable"
777
+ >;
778
+
779
+ updatedAt: TypedContractMethod<[], [bigint], "view">;
780
+
781
+ upgradeToAndCall: TypedContractMethod<
782
+ [newImplementation: AddressLike, data: BytesLike],
783
+ [void],
784
+ "payable"
785
+ >;
786
+
787
+ userDistribution: TypedContractMethod<
788
+ [user_: AddressLike],
789
+ [AValueDistributor.UserDistributionStructOutput],
790
+ "view"
791
+ >;
792
+
793
+ getFunction<T extends ContractMethod = ContractMethod>(
794
+ key: string | FunctionFragment
795
+ ): T;
796
+
797
+ getFunction(
798
+ nameOrSignature: "UPGRADE_INTERFACE_VERSION"
799
+ ): TypedContractMethod<[], [string], "view">;
800
+ getFunction(
801
+ nameOrSignature: "__ExecutorsRegistry_init"
802
+ ): TypedContractMethod<
803
+ [governance_: AddressLike, initialExecutors_: AddressLike[]],
804
+ [void],
805
+ "nonpayable"
806
+ >;
807
+ getFunction(
808
+ nameOrSignature: "announceWithdrawal"
809
+ ): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
810
+ getFunction(
811
+ nameOrSignature: "approveExecutor"
812
+ ): TypedContractMethod<[executor_: AddressLike], [void], "nonpayable">;
813
+ getFunction(
814
+ nameOrSignature: "boundActiveExecutors"
815
+ ): TypedContractMethod<[], [void], "nonpayable">;
816
+ getFunction(
817
+ nameOrSignature: "cancelWithdrawal"
818
+ ): TypedContractMethod<[], [void], "nonpayable">;
819
+ getFunction(
820
+ nameOrSignature: "claimRewards"
821
+ ): TypedContractMethod<[], [void], "nonpayable">;
822
+ getFunction(
823
+ nameOrSignature: "completeWithdrawal"
824
+ ): TypedContractMethod<[], [void], "nonpayable">;
825
+ getFunction(
826
+ nameOrSignature: "cumulativeSum"
827
+ ): TypedContractMethod<[], [bigint], "view">;
828
+ getFunction(
829
+ nameOrSignature: "disapproveExecutor"
830
+ ): TypedContractMethod<[executor_: AddressLike], [void], "nonpayable">;
831
+ getFunction(
832
+ nameOrSignature: "distributeRewards"
833
+ ): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
834
+ getFunction(
835
+ nameOrSignature: "getActiveExecutors"
836
+ ): TypedContractMethod<
837
+ [offset_: BigNumberish, limit_: BigNumberish],
838
+ [string[]],
839
+ "view"
840
+ >;
841
+ getFunction(
842
+ nameOrSignature: "getExecutorInfo"
843
+ ): TypedContractMethod<
844
+ [executor_: AddressLike],
845
+ [ExecutorsRegistry.ExecutorInfoStructOutput],
846
+ "view"
847
+ >;
848
+ getFunction(
849
+ nameOrSignature: "getExecutorsCount"
850
+ ): TypedContractMethod<[], [bigint], "view">;
851
+ getFunction(
852
+ nameOrSignature: "getOwedValue"
853
+ ): TypedContractMethod<[user_: AddressLike], [bigint], "view">;
854
+ getFunction(
855
+ nameOrSignature: "getStandbyExecutors"
856
+ ): TypedContractMethod<
857
+ [offset_: BigNumberish, limit_: BigNumberish],
858
+ [string[]],
859
+ "view"
860
+ >;
861
+ getFunction(
862
+ nameOrSignature: "getWithdrawalAnnouncement"
863
+ ): TypedContractMethod<
864
+ [executor_: AddressLike],
865
+ [ExecutorsRegistry.WithdrawalAnnouncementStructOutput],
866
+ "view"
867
+ >;
868
+ getFunction(
869
+ nameOrSignature: "hasShares"
870
+ ): TypedContractMethod<[executor_: AddressLike], [boolean], "view">;
871
+ getFunction(
872
+ nameOrSignature: "implementation"
873
+ ): TypedContractMethod<[], [string], "view">;
874
+ getFunction(
875
+ nameOrSignature: "isExecutor"
876
+ ): TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
877
+ getFunction(
878
+ nameOrSignature: "isWithdrawalReady"
879
+ ): TypedContractMethod<[executor_: AddressLike], [boolean], "view">;
880
+ getFunction(
881
+ nameOrSignature: "proxiableUUID"
882
+ ): TypedContractMethod<[], [string], "view">;
883
+ getFunction(
884
+ nameOrSignature: "slashExecutor"
885
+ ): TypedContractMethod<
886
+ [executor_: AddressLike, amount_: BigNumberish],
887
+ [void],
888
+ "nonpayable"
889
+ >;
890
+ getFunction(
891
+ nameOrSignature: "stake"
892
+ ): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
893
+ getFunction(
894
+ nameOrSignature: "supportsInterface"
895
+ ): TypedContractMethod<[interfaceId_: BytesLike], [boolean], "view">;
896
+ getFunction(
897
+ nameOrSignature: "totalShares"
898
+ ): TypedContractMethod<[], [bigint], "view">;
899
+ getFunction(
900
+ nameOrSignature: "tryBecomeActive"
901
+ ): TypedContractMethod<[], [void], "nonpayable">;
902
+ getFunction(
903
+ nameOrSignature: "updateWithdrawalAnnouncement"
904
+ ): TypedContractMethod<[newAmount_: BigNumberish], [void], "nonpayable">;
905
+ getFunction(
906
+ nameOrSignature: "updatedAt"
907
+ ): TypedContractMethod<[], [bigint], "view">;
908
+ getFunction(
909
+ nameOrSignature: "upgradeToAndCall"
910
+ ): TypedContractMethod<
911
+ [newImplementation: AddressLike, data: BytesLike],
912
+ [void],
913
+ "payable"
914
+ >;
915
+ getFunction(
916
+ nameOrSignature: "userDistribution"
917
+ ): TypedContractMethod<
918
+ [user_: AddressLike],
919
+ [AValueDistributor.UserDistributionStructOutput],
920
+ "view"
921
+ >;
922
+
923
+ getEvent(
924
+ key: "ExecutorActivated"
925
+ ): TypedContractEvent<
926
+ ExecutorActivatedEvent.InputTuple,
927
+ ExecutorActivatedEvent.OutputTuple,
928
+ ExecutorActivatedEvent.OutputObject
929
+ >;
930
+ getEvent(
931
+ key: "ExecutorApproved"
932
+ ): TypedContractEvent<
933
+ ExecutorApprovedEvent.InputTuple,
934
+ ExecutorApprovedEvent.OutputTuple,
935
+ ExecutorApprovedEvent.OutputObject
936
+ >;
937
+ getEvent(
938
+ key: "ExecutorDisapproved"
939
+ ): TypedContractEvent<
940
+ ExecutorDisapprovedEvent.InputTuple,
941
+ ExecutorDisapprovedEvent.OutputTuple,
942
+ ExecutorDisapprovedEvent.OutputObject
943
+ >;
944
+ getEvent(
945
+ key: "ExecutorMovedToStandby"
946
+ ): TypedContractEvent<
947
+ ExecutorMovedToStandbyEvent.InputTuple,
948
+ ExecutorMovedToStandbyEvent.OutputTuple,
949
+ ExecutorMovedToStandbyEvent.OutputObject
950
+ >;
951
+ getEvent(
952
+ key: "ExecutorPaused"
953
+ ): TypedContractEvent<
954
+ ExecutorPausedEvent.InputTuple,
955
+ ExecutorPausedEvent.OutputTuple,
956
+ ExecutorPausedEvent.OutputObject
957
+ >;
958
+ getEvent(
959
+ key: "ExecutorSlashed"
960
+ ): TypedContractEvent<
961
+ ExecutorSlashedEvent.InputTuple,
962
+ ExecutorSlashedEvent.OutputTuple,
963
+ ExecutorSlashedEvent.OutputObject
964
+ >;
965
+ getEvent(
966
+ key: "ExecutorStaked"
967
+ ): TypedContractEvent<
968
+ ExecutorStakedEvent.InputTuple,
969
+ ExecutorStakedEvent.OutputTuple,
970
+ ExecutorStakedEvent.OutputObject
971
+ >;
972
+ getEvent(
973
+ key: "ExecutorUnpaused"
974
+ ): TypedContractEvent<
975
+ ExecutorUnpausedEvent.InputTuple,
976
+ ExecutorUnpausedEvent.OutputTuple,
977
+ ExecutorUnpausedEvent.OutputObject
978
+ >;
979
+ getEvent(
980
+ key: "ExecutorUnstaked"
981
+ ): TypedContractEvent<
982
+ ExecutorUnstakedEvent.InputTuple,
983
+ ExecutorUnstakedEvent.OutputTuple,
984
+ ExecutorUnstakedEvent.OutputObject
985
+ >;
986
+ getEvent(
987
+ key: "Initialized"
988
+ ): TypedContractEvent<
989
+ InitializedEvent.InputTuple,
990
+ InitializedEvent.OutputTuple,
991
+ InitializedEvent.OutputObject
992
+ >;
993
+ getEvent(
994
+ key: "RewardsClaimed"
995
+ ): TypedContractEvent<
996
+ RewardsClaimedEvent.InputTuple,
997
+ RewardsClaimedEvent.OutputTuple,
998
+ RewardsClaimedEvent.OutputObject
999
+ >;
1000
+ getEvent(
1001
+ key: "RewardsDistributed"
1002
+ ): TypedContractEvent<
1003
+ RewardsDistributedEvent.InputTuple,
1004
+ RewardsDistributedEvent.OutputTuple,
1005
+ RewardsDistributedEvent.OutputObject
1006
+ >;
1007
+ getEvent(
1008
+ key: "SharesAdded"
1009
+ ): TypedContractEvent<
1010
+ SharesAddedEvent.InputTuple,
1011
+ SharesAddedEvent.OutputTuple,
1012
+ SharesAddedEvent.OutputObject
1013
+ >;
1014
+ getEvent(
1015
+ key: "SharesRemoved"
1016
+ ): TypedContractEvent<
1017
+ SharesRemovedEvent.InputTuple,
1018
+ SharesRemovedEvent.OutputTuple,
1019
+ SharesRemovedEvent.OutputObject
1020
+ >;
1021
+ getEvent(
1022
+ key: "Upgraded"
1023
+ ): TypedContractEvent<
1024
+ UpgradedEvent.InputTuple,
1025
+ UpgradedEvent.OutputTuple,
1026
+ UpgradedEvent.OutputObject
1027
+ >;
1028
+ getEvent(
1029
+ key: "ValueDistributed"
1030
+ ): TypedContractEvent<
1031
+ ValueDistributedEvent.InputTuple,
1032
+ ValueDistributedEvent.OutputTuple,
1033
+ ValueDistributedEvent.OutputObject
1034
+ >;
1035
+ getEvent(
1036
+ key: "WithdrawalAnnounced"
1037
+ ): TypedContractEvent<
1038
+ WithdrawalAnnouncedEvent.InputTuple,
1039
+ WithdrawalAnnouncedEvent.OutputTuple,
1040
+ WithdrawalAnnouncedEvent.OutputObject
1041
+ >;
1042
+ getEvent(
1043
+ key: "WithdrawalCancelled"
1044
+ ): TypedContractEvent<
1045
+ WithdrawalCancelledEvent.InputTuple,
1046
+ WithdrawalCancelledEvent.OutputTuple,
1047
+ WithdrawalCancelledEvent.OutputObject
1048
+ >;
1049
+
1050
+ filters: {
1051
+ "ExecutorActivated(address,uint256)": TypedContractEvent<
1052
+ ExecutorActivatedEvent.InputTuple,
1053
+ ExecutorActivatedEvent.OutputTuple,
1054
+ ExecutorActivatedEvent.OutputObject
1055
+ >;
1056
+ ExecutorActivated: TypedContractEvent<
1057
+ ExecutorActivatedEvent.InputTuple,
1058
+ ExecutorActivatedEvent.OutputTuple,
1059
+ ExecutorActivatedEvent.OutputObject
1060
+ >;
1061
+
1062
+ "ExecutorApproved(address)": TypedContractEvent<
1063
+ ExecutorApprovedEvent.InputTuple,
1064
+ ExecutorApprovedEvent.OutputTuple,
1065
+ ExecutorApprovedEvent.OutputObject
1066
+ >;
1067
+ ExecutorApproved: TypedContractEvent<
1068
+ ExecutorApprovedEvent.InputTuple,
1069
+ ExecutorApprovedEvent.OutputTuple,
1070
+ ExecutorApprovedEvent.OutputObject
1071
+ >;
1072
+
1073
+ "ExecutorDisapproved(address)": TypedContractEvent<
1074
+ ExecutorDisapprovedEvent.InputTuple,
1075
+ ExecutorDisapprovedEvent.OutputTuple,
1076
+ ExecutorDisapprovedEvent.OutputObject
1077
+ >;
1078
+ ExecutorDisapproved: TypedContractEvent<
1079
+ ExecutorDisapprovedEvent.InputTuple,
1080
+ ExecutorDisapprovedEvent.OutputTuple,
1081
+ ExecutorDisapprovedEvent.OutputObject
1082
+ >;
1083
+
1084
+ "ExecutorMovedToStandby(address)": TypedContractEvent<
1085
+ ExecutorMovedToStandbyEvent.InputTuple,
1086
+ ExecutorMovedToStandbyEvent.OutputTuple,
1087
+ ExecutorMovedToStandbyEvent.OutputObject
1088
+ >;
1089
+ ExecutorMovedToStandby: TypedContractEvent<
1090
+ ExecutorMovedToStandbyEvent.InputTuple,
1091
+ ExecutorMovedToStandbyEvent.OutputTuple,
1092
+ ExecutorMovedToStandbyEvent.OutputObject
1093
+ >;
1094
+
1095
+ "ExecutorPaused(address)": TypedContractEvent<
1096
+ ExecutorPausedEvent.InputTuple,
1097
+ ExecutorPausedEvent.OutputTuple,
1098
+ ExecutorPausedEvent.OutputObject
1099
+ >;
1100
+ ExecutorPaused: TypedContractEvent<
1101
+ ExecutorPausedEvent.InputTuple,
1102
+ ExecutorPausedEvent.OutputTuple,
1103
+ ExecutorPausedEvent.OutputObject
1104
+ >;
1105
+
1106
+ "ExecutorSlashed(address,uint256,address)": TypedContractEvent<
1107
+ ExecutorSlashedEvent.InputTuple,
1108
+ ExecutorSlashedEvent.OutputTuple,
1109
+ ExecutorSlashedEvent.OutputObject
1110
+ >;
1111
+ ExecutorSlashed: TypedContractEvent<
1112
+ ExecutorSlashedEvent.InputTuple,
1113
+ ExecutorSlashedEvent.OutputTuple,
1114
+ ExecutorSlashedEvent.OutputObject
1115
+ >;
1116
+
1117
+ "ExecutorStaked(address,uint256,uint256)": TypedContractEvent<
1118
+ ExecutorStakedEvent.InputTuple,
1119
+ ExecutorStakedEvent.OutputTuple,
1120
+ ExecutorStakedEvent.OutputObject
1121
+ >;
1122
+ ExecutorStaked: TypedContractEvent<
1123
+ ExecutorStakedEvent.InputTuple,
1124
+ ExecutorStakedEvent.OutputTuple,
1125
+ ExecutorStakedEvent.OutputObject
1126
+ >;
1127
+
1128
+ "ExecutorUnpaused(address)": TypedContractEvent<
1129
+ ExecutorUnpausedEvent.InputTuple,
1130
+ ExecutorUnpausedEvent.OutputTuple,
1131
+ ExecutorUnpausedEvent.OutputObject
1132
+ >;
1133
+ ExecutorUnpaused: TypedContractEvent<
1134
+ ExecutorUnpausedEvent.InputTuple,
1135
+ ExecutorUnpausedEvent.OutputTuple,
1136
+ ExecutorUnpausedEvent.OutputObject
1137
+ >;
1138
+
1139
+ "ExecutorUnstaked(address,uint256,uint256)": TypedContractEvent<
1140
+ ExecutorUnstakedEvent.InputTuple,
1141
+ ExecutorUnstakedEvent.OutputTuple,
1142
+ ExecutorUnstakedEvent.OutputObject
1143
+ >;
1144
+ ExecutorUnstaked: TypedContractEvent<
1145
+ ExecutorUnstakedEvent.InputTuple,
1146
+ ExecutorUnstakedEvent.OutputTuple,
1147
+ ExecutorUnstakedEvent.OutputObject
1148
+ >;
1149
+
1150
+ "Initialized(uint64)": TypedContractEvent<
1151
+ InitializedEvent.InputTuple,
1152
+ InitializedEvent.OutputTuple,
1153
+ InitializedEvent.OutputObject
1154
+ >;
1155
+ Initialized: TypedContractEvent<
1156
+ InitializedEvent.InputTuple,
1157
+ InitializedEvent.OutputTuple,
1158
+ InitializedEvent.OutputObject
1159
+ >;
1160
+
1161
+ "RewardsClaimed(address,uint256)": TypedContractEvent<
1162
+ RewardsClaimedEvent.InputTuple,
1163
+ RewardsClaimedEvent.OutputTuple,
1164
+ RewardsClaimedEvent.OutputObject
1165
+ >;
1166
+ RewardsClaimed: TypedContractEvent<
1167
+ RewardsClaimedEvent.InputTuple,
1168
+ RewardsClaimedEvent.OutputTuple,
1169
+ RewardsClaimedEvent.OutputObject
1170
+ >;
1171
+
1172
+ "RewardsDistributed(uint256)": TypedContractEvent<
1173
+ RewardsDistributedEvent.InputTuple,
1174
+ RewardsDistributedEvent.OutputTuple,
1175
+ RewardsDistributedEvent.OutputObject
1176
+ >;
1177
+ RewardsDistributed: TypedContractEvent<
1178
+ RewardsDistributedEvent.InputTuple,
1179
+ RewardsDistributedEvent.OutputTuple,
1180
+ RewardsDistributedEvent.OutputObject
1181
+ >;
1182
+
1183
+ "SharesAdded(address,uint256)": TypedContractEvent<
1184
+ SharesAddedEvent.InputTuple,
1185
+ SharesAddedEvent.OutputTuple,
1186
+ SharesAddedEvent.OutputObject
1187
+ >;
1188
+ SharesAdded: TypedContractEvent<
1189
+ SharesAddedEvent.InputTuple,
1190
+ SharesAddedEvent.OutputTuple,
1191
+ SharesAddedEvent.OutputObject
1192
+ >;
1193
+
1194
+ "SharesRemoved(address,uint256)": TypedContractEvent<
1195
+ SharesRemovedEvent.InputTuple,
1196
+ SharesRemovedEvent.OutputTuple,
1197
+ SharesRemovedEvent.OutputObject
1198
+ >;
1199
+ SharesRemoved: TypedContractEvent<
1200
+ SharesRemovedEvent.InputTuple,
1201
+ SharesRemovedEvent.OutputTuple,
1202
+ SharesRemovedEvent.OutputObject
1203
+ >;
1204
+
1205
+ "Upgraded(address)": TypedContractEvent<
1206
+ UpgradedEvent.InputTuple,
1207
+ UpgradedEvent.OutputTuple,
1208
+ UpgradedEvent.OutputObject
1209
+ >;
1210
+ Upgraded: TypedContractEvent<
1211
+ UpgradedEvent.InputTuple,
1212
+ UpgradedEvent.OutputTuple,
1213
+ UpgradedEvent.OutputObject
1214
+ >;
1215
+
1216
+ "ValueDistributed(address,uint256)": TypedContractEvent<
1217
+ ValueDistributedEvent.InputTuple,
1218
+ ValueDistributedEvent.OutputTuple,
1219
+ ValueDistributedEvent.OutputObject
1220
+ >;
1221
+ ValueDistributed: TypedContractEvent<
1222
+ ValueDistributedEvent.InputTuple,
1223
+ ValueDistributedEvent.OutputTuple,
1224
+ ValueDistributedEvent.OutputObject
1225
+ >;
1226
+
1227
+ "WithdrawalAnnounced(address,uint256,uint256)": TypedContractEvent<
1228
+ WithdrawalAnnouncedEvent.InputTuple,
1229
+ WithdrawalAnnouncedEvent.OutputTuple,
1230
+ WithdrawalAnnouncedEvent.OutputObject
1231
+ >;
1232
+ WithdrawalAnnounced: TypedContractEvent<
1233
+ WithdrawalAnnouncedEvent.InputTuple,
1234
+ WithdrawalAnnouncedEvent.OutputTuple,
1235
+ WithdrawalAnnouncedEvent.OutputObject
1236
+ >;
1237
+
1238
+ "WithdrawalCancelled(address,uint256)": TypedContractEvent<
1239
+ WithdrawalCancelledEvent.InputTuple,
1240
+ WithdrawalCancelledEvent.OutputTuple,
1241
+ WithdrawalCancelledEvent.OutputObject
1242
+ >;
1243
+ WithdrawalCancelled: TypedContractEvent<
1244
+ WithdrawalCancelledEvent.InputTuple,
1245
+ WithdrawalCancelledEvent.OutputTuple,
1246
+ WithdrawalCancelledEvent.OutputObject
1247
+ >;
1248
+ };
1249
+ }