@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,1393 @@
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 NeutralsRegistry {
27
+ export type WithdrawalAnnouncementStruct = {
28
+ amount: BigNumberish;
29
+ announcedAt: BigNumberish;
30
+ availableAt: BigNumberish;
31
+ };
32
+
33
+ export type WithdrawalAnnouncementStructOutput = [
34
+ amount: bigint,
35
+ announcedAt: bigint,
36
+ availableAt: bigint
37
+ ] & { amount: bigint; announcedAt: bigint; availableAt: bigint };
38
+
39
+ export type DelegationStruct = {
40
+ delegationAmount: BigNumberish;
41
+ withdrawal: NeutralsRegistry.WithdrawalAnnouncementStruct;
42
+ owedValue: BigNumberish;
43
+ cumulativeSum: BigNumberish;
44
+ };
45
+
46
+ export type DelegationStructOutput = [
47
+ delegationAmount: bigint,
48
+ withdrawal: NeutralsRegistry.WithdrawalAnnouncementStructOutput,
49
+ owedValue: bigint,
50
+ cumulativeSum: bigint
51
+ ] & {
52
+ delegationAmount: bigint;
53
+ withdrawal: NeutralsRegistry.WithdrawalAnnouncementStructOutput;
54
+ owedValue: bigint;
55
+ cumulativeSum: bigint;
56
+ };
57
+
58
+ export type NeutralsInfoStruct = {
59
+ selfStake: BigNumberish;
60
+ weight: BigNumberish;
61
+ delegatedStake: BigNumberish;
62
+ rewards: BigNumberish;
63
+ delegationShare: BigNumberish;
64
+ externalLink: string;
65
+ isActive: boolean;
66
+ isStandby: boolean;
67
+ };
68
+
69
+ export type NeutralsInfoStructOutput = [
70
+ selfStake: bigint,
71
+ weight: bigint,
72
+ delegatedStake: bigint,
73
+ rewards: bigint,
74
+ delegationShare: bigint,
75
+ externalLink: string,
76
+ isActive: boolean,
77
+ isStandby: boolean
78
+ ] & {
79
+ selfStake: bigint;
80
+ weight: bigint;
81
+ delegatedStake: bigint;
82
+ rewards: bigint;
83
+ delegationShare: bigint;
84
+ externalLink: string;
85
+ isActive: boolean;
86
+ isStandby: boolean;
87
+ };
88
+ }
89
+
90
+ export interface NeutralsRegistryInterface extends Interface {
91
+ getFunction(
92
+ nameOrSignature:
93
+ | "UPGRADE_INTERFACE_VERSION"
94
+ | "__NeutralsRegistry_init"
95
+ | "addNeutralsStake"
96
+ | "announceDelegationWithdrawal"
97
+ | "announceNeutralsWithdrawal"
98
+ | "boundActiveNeutralsList"
99
+ | "cancelDelegationWithdrawal"
100
+ | "cancelNeutralsWithdrawal"
101
+ | "claimDelegatorRewards"
102
+ | "claimNeutralRewards"
103
+ | "completeDelegationWithdrawal"
104
+ | "completeNeutralsWithdrawal"
105
+ | "delegate"
106
+ | "distributeRewards"
107
+ | "getActiveNeutrals"
108
+ | "getAvailibleRewards"
109
+ | "getCurrentGovernance"
110
+ | "getCurrentMaxActiveNeutralsParameter"
111
+ | "getDelegation"
112
+ | "getDelegatorsPerNeutral"
113
+ | "getExternalLink"
114
+ | "getNeutralDelegationShare"
115
+ | "getNeutralInfo"
116
+ | "getNeutralsCount"
117
+ | "getNeutralsPerDelegator"
118
+ | "getNeutralsSlice"
119
+ | "getParameterRegistry"
120
+ | "getStandbyNeutrals"
121
+ | "getToken"
122
+ | "getWithdrawalAnnouncement"
123
+ | "implementation"
124
+ | "isNeutral"
125
+ | "isWithdrawalReady"
126
+ | "proxiableUUID"
127
+ | "setDelegationShare"
128
+ | "setExternalLink"
129
+ | "slashNeutral"
130
+ | "supportsInterface"
131
+ | "tryBecomeActive"
132
+ | "updateDelegationWithdrawal"
133
+ | "updateNeutralsWithdrawal"
134
+ | "upgradeToAndCall"
135
+ ): FunctionFragment;
136
+
137
+ getEvent(
138
+ nameOrSignatureOrTopic:
139
+ | "DelegationWithdrawn"
140
+ | "Initialized"
141
+ | "NeutralActivated"
142
+ | "NeutralMovedToStandby"
143
+ | "NeutralPaused"
144
+ | "NeutralSlashed"
145
+ | "NeutralStaked"
146
+ | "NeutralUnpaused"
147
+ | "NeutralUnstaked"
148
+ | "RewardsClaimed"
149
+ | "RewardsDistributed"
150
+ | "Upgraded"
151
+ | "WithdrawalAnnounced"
152
+ | "WithdrawalCancelled"
153
+ ): EventFragment;
154
+
155
+ encodeFunctionData(
156
+ functionFragment: "UPGRADE_INTERFACE_VERSION",
157
+ values?: undefined
158
+ ): string;
159
+ encodeFunctionData(
160
+ functionFragment: "__NeutralsRegistry_init",
161
+ values: [AddressLike]
162
+ ): string;
163
+ encodeFunctionData(
164
+ functionFragment: "addNeutralsStake",
165
+ values: [BigNumberish]
166
+ ): string;
167
+ encodeFunctionData(
168
+ functionFragment: "announceDelegationWithdrawal",
169
+ values: [AddressLike, BigNumberish]
170
+ ): string;
171
+ encodeFunctionData(
172
+ functionFragment: "announceNeutralsWithdrawal",
173
+ values: [BigNumberish]
174
+ ): string;
175
+ encodeFunctionData(
176
+ functionFragment: "boundActiveNeutralsList",
177
+ values?: undefined
178
+ ): string;
179
+ encodeFunctionData(
180
+ functionFragment: "cancelDelegationWithdrawal",
181
+ values: [AddressLike]
182
+ ): string;
183
+ encodeFunctionData(
184
+ functionFragment: "cancelNeutralsWithdrawal",
185
+ values?: undefined
186
+ ): string;
187
+ encodeFunctionData(
188
+ functionFragment: "claimDelegatorRewards",
189
+ values: [AddressLike]
190
+ ): string;
191
+ encodeFunctionData(
192
+ functionFragment: "claimNeutralRewards",
193
+ values?: undefined
194
+ ): string;
195
+ encodeFunctionData(
196
+ functionFragment: "completeDelegationWithdrawal",
197
+ values: [AddressLike]
198
+ ): string;
199
+ encodeFunctionData(
200
+ functionFragment: "completeNeutralsWithdrawal",
201
+ values?: undefined
202
+ ): string;
203
+ encodeFunctionData(
204
+ functionFragment: "delegate",
205
+ values: [AddressLike, BigNumberish]
206
+ ): string;
207
+ encodeFunctionData(
208
+ functionFragment: "distributeRewards",
209
+ values: [AddressLike[], BigNumberish]
210
+ ): string;
211
+ encodeFunctionData(
212
+ functionFragment: "getActiveNeutrals",
213
+ values: [BigNumberish, BigNumberish]
214
+ ): string;
215
+ encodeFunctionData(
216
+ functionFragment: "getAvailibleRewards",
217
+ values: [AddressLike]
218
+ ): string;
219
+ encodeFunctionData(
220
+ functionFragment: "getCurrentGovernance",
221
+ values?: undefined
222
+ ): string;
223
+ encodeFunctionData(
224
+ functionFragment: "getCurrentMaxActiveNeutralsParameter",
225
+ values?: undefined
226
+ ): string;
227
+ encodeFunctionData(
228
+ functionFragment: "getDelegation",
229
+ values: [AddressLike, AddressLike]
230
+ ): string;
231
+ encodeFunctionData(
232
+ functionFragment: "getDelegatorsPerNeutral",
233
+ values: [AddressLike, BigNumberish, BigNumberish]
234
+ ): string;
235
+ encodeFunctionData(
236
+ functionFragment: "getExternalLink",
237
+ values: [AddressLike]
238
+ ): string;
239
+ encodeFunctionData(
240
+ functionFragment: "getNeutralDelegationShare",
241
+ values: [AddressLike]
242
+ ): string;
243
+ encodeFunctionData(
244
+ functionFragment: "getNeutralInfo",
245
+ values: [AddressLike]
246
+ ): string;
247
+ encodeFunctionData(
248
+ functionFragment: "getNeutralsCount",
249
+ values?: undefined
250
+ ): string;
251
+ encodeFunctionData(
252
+ functionFragment: "getNeutralsPerDelegator",
253
+ values: [AddressLike, BigNumberish, BigNumberish]
254
+ ): string;
255
+ encodeFunctionData(
256
+ functionFragment: "getNeutralsSlice",
257
+ values: [BigNumberish]
258
+ ): string;
259
+ encodeFunctionData(
260
+ functionFragment: "getParameterRegistry",
261
+ values?: undefined
262
+ ): string;
263
+ encodeFunctionData(
264
+ functionFragment: "getStandbyNeutrals",
265
+ values: [BigNumberish, BigNumberish]
266
+ ): string;
267
+ encodeFunctionData(functionFragment: "getToken", values?: undefined): string;
268
+ encodeFunctionData(
269
+ functionFragment: "getWithdrawalAnnouncement",
270
+ values: [AddressLike]
271
+ ): string;
272
+ encodeFunctionData(
273
+ functionFragment: "implementation",
274
+ values?: undefined
275
+ ): string;
276
+ encodeFunctionData(
277
+ functionFragment: "isNeutral",
278
+ values: [AddressLike]
279
+ ): string;
280
+ encodeFunctionData(
281
+ functionFragment: "isWithdrawalReady",
282
+ values: [AddressLike]
283
+ ): string;
284
+ encodeFunctionData(
285
+ functionFragment: "proxiableUUID",
286
+ values?: undefined
287
+ ): string;
288
+ encodeFunctionData(
289
+ functionFragment: "setDelegationShare",
290
+ values: [BigNumberish]
291
+ ): string;
292
+ encodeFunctionData(
293
+ functionFragment: "setExternalLink",
294
+ values: [string]
295
+ ): string;
296
+ encodeFunctionData(
297
+ functionFragment: "slashNeutral",
298
+ values: [AddressLike, BigNumberish]
299
+ ): string;
300
+ encodeFunctionData(
301
+ functionFragment: "supportsInterface",
302
+ values: [BytesLike]
303
+ ): string;
304
+ encodeFunctionData(
305
+ functionFragment: "tryBecomeActive",
306
+ values?: undefined
307
+ ): string;
308
+ encodeFunctionData(
309
+ functionFragment: "updateDelegationWithdrawal",
310
+ values: [AddressLike, BigNumberish]
311
+ ): string;
312
+ encodeFunctionData(
313
+ functionFragment: "updateNeutralsWithdrawal",
314
+ values: [BigNumberish]
315
+ ): string;
316
+ encodeFunctionData(
317
+ functionFragment: "upgradeToAndCall",
318
+ values: [AddressLike, BytesLike]
319
+ ): string;
320
+
321
+ decodeFunctionResult(
322
+ functionFragment: "UPGRADE_INTERFACE_VERSION",
323
+ data: BytesLike
324
+ ): Result;
325
+ decodeFunctionResult(
326
+ functionFragment: "__NeutralsRegistry_init",
327
+ data: BytesLike
328
+ ): Result;
329
+ decodeFunctionResult(
330
+ functionFragment: "addNeutralsStake",
331
+ data: BytesLike
332
+ ): Result;
333
+ decodeFunctionResult(
334
+ functionFragment: "announceDelegationWithdrawal",
335
+ data: BytesLike
336
+ ): Result;
337
+ decodeFunctionResult(
338
+ functionFragment: "announceNeutralsWithdrawal",
339
+ data: BytesLike
340
+ ): Result;
341
+ decodeFunctionResult(
342
+ functionFragment: "boundActiveNeutralsList",
343
+ data: BytesLike
344
+ ): Result;
345
+ decodeFunctionResult(
346
+ functionFragment: "cancelDelegationWithdrawal",
347
+ data: BytesLike
348
+ ): Result;
349
+ decodeFunctionResult(
350
+ functionFragment: "cancelNeutralsWithdrawal",
351
+ data: BytesLike
352
+ ): Result;
353
+ decodeFunctionResult(
354
+ functionFragment: "claimDelegatorRewards",
355
+ data: BytesLike
356
+ ): Result;
357
+ decodeFunctionResult(
358
+ functionFragment: "claimNeutralRewards",
359
+ data: BytesLike
360
+ ): Result;
361
+ decodeFunctionResult(
362
+ functionFragment: "completeDelegationWithdrawal",
363
+ data: BytesLike
364
+ ): Result;
365
+ decodeFunctionResult(
366
+ functionFragment: "completeNeutralsWithdrawal",
367
+ data: BytesLike
368
+ ): Result;
369
+ decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result;
370
+ decodeFunctionResult(
371
+ functionFragment: "distributeRewards",
372
+ data: BytesLike
373
+ ): Result;
374
+ decodeFunctionResult(
375
+ functionFragment: "getActiveNeutrals",
376
+ data: BytesLike
377
+ ): Result;
378
+ decodeFunctionResult(
379
+ functionFragment: "getAvailibleRewards",
380
+ data: BytesLike
381
+ ): Result;
382
+ decodeFunctionResult(
383
+ functionFragment: "getCurrentGovernance",
384
+ data: BytesLike
385
+ ): Result;
386
+ decodeFunctionResult(
387
+ functionFragment: "getCurrentMaxActiveNeutralsParameter",
388
+ data: BytesLike
389
+ ): Result;
390
+ decodeFunctionResult(
391
+ functionFragment: "getDelegation",
392
+ data: BytesLike
393
+ ): Result;
394
+ decodeFunctionResult(
395
+ functionFragment: "getDelegatorsPerNeutral",
396
+ data: BytesLike
397
+ ): Result;
398
+ decodeFunctionResult(
399
+ functionFragment: "getExternalLink",
400
+ data: BytesLike
401
+ ): Result;
402
+ decodeFunctionResult(
403
+ functionFragment: "getNeutralDelegationShare",
404
+ data: BytesLike
405
+ ): Result;
406
+ decodeFunctionResult(
407
+ functionFragment: "getNeutralInfo",
408
+ data: BytesLike
409
+ ): Result;
410
+ decodeFunctionResult(
411
+ functionFragment: "getNeutralsCount",
412
+ data: BytesLike
413
+ ): Result;
414
+ decodeFunctionResult(
415
+ functionFragment: "getNeutralsPerDelegator",
416
+ data: BytesLike
417
+ ): Result;
418
+ decodeFunctionResult(
419
+ functionFragment: "getNeutralsSlice",
420
+ data: BytesLike
421
+ ): Result;
422
+ decodeFunctionResult(
423
+ functionFragment: "getParameterRegistry",
424
+ data: BytesLike
425
+ ): Result;
426
+ decodeFunctionResult(
427
+ functionFragment: "getStandbyNeutrals",
428
+ data: BytesLike
429
+ ): Result;
430
+ decodeFunctionResult(functionFragment: "getToken", data: BytesLike): Result;
431
+ decodeFunctionResult(
432
+ functionFragment: "getWithdrawalAnnouncement",
433
+ data: BytesLike
434
+ ): Result;
435
+ decodeFunctionResult(
436
+ functionFragment: "implementation",
437
+ data: BytesLike
438
+ ): Result;
439
+ decodeFunctionResult(functionFragment: "isNeutral", data: BytesLike): Result;
440
+ decodeFunctionResult(
441
+ functionFragment: "isWithdrawalReady",
442
+ data: BytesLike
443
+ ): Result;
444
+ decodeFunctionResult(
445
+ functionFragment: "proxiableUUID",
446
+ data: BytesLike
447
+ ): Result;
448
+ decodeFunctionResult(
449
+ functionFragment: "setDelegationShare",
450
+ data: BytesLike
451
+ ): Result;
452
+ decodeFunctionResult(
453
+ functionFragment: "setExternalLink",
454
+ data: BytesLike
455
+ ): Result;
456
+ decodeFunctionResult(
457
+ functionFragment: "slashNeutral",
458
+ data: BytesLike
459
+ ): Result;
460
+ decodeFunctionResult(
461
+ functionFragment: "supportsInterface",
462
+ data: BytesLike
463
+ ): Result;
464
+ decodeFunctionResult(
465
+ functionFragment: "tryBecomeActive",
466
+ data: BytesLike
467
+ ): Result;
468
+ decodeFunctionResult(
469
+ functionFragment: "updateDelegationWithdrawal",
470
+ data: BytesLike
471
+ ): Result;
472
+ decodeFunctionResult(
473
+ functionFragment: "updateNeutralsWithdrawal",
474
+ data: BytesLike
475
+ ): Result;
476
+ decodeFunctionResult(
477
+ functionFragment: "upgradeToAndCall",
478
+ data: BytesLike
479
+ ): Result;
480
+ }
481
+
482
+ export namespace DelegationWithdrawnEvent {
483
+ export type InputTuple = [
484
+ delegator: AddressLike,
485
+ neutral: AddressLike,
486
+ amount: BigNumberish
487
+ ];
488
+ export type OutputTuple = [
489
+ delegator: string,
490
+ neutral: string,
491
+ amount: bigint
492
+ ];
493
+ export interface OutputObject {
494
+ delegator: string;
495
+ neutral: string;
496
+ amount: bigint;
497
+ }
498
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
499
+ export type Filter = TypedDeferredTopicFilter<Event>;
500
+ export type Log = TypedEventLog<Event>;
501
+ export type LogDescription = TypedLogDescription<Event>;
502
+ }
503
+
504
+ export namespace InitializedEvent {
505
+ export type InputTuple = [version: BigNumberish];
506
+ export type OutputTuple = [version: bigint];
507
+ export interface OutputObject {
508
+ version: bigint;
509
+ }
510
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
511
+ export type Filter = TypedDeferredTopicFilter<Event>;
512
+ export type Log = TypedEventLog<Event>;
513
+ export type LogDescription = TypedLogDescription<Event>;
514
+ }
515
+
516
+ export namespace NeutralActivatedEvent {
517
+ export type InputTuple = [neutral: AddressLike, stake: BigNumberish];
518
+ export type OutputTuple = [neutral: string, stake: bigint];
519
+ export interface OutputObject {
520
+ neutral: string;
521
+ stake: bigint;
522
+ }
523
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
524
+ export type Filter = TypedDeferredTopicFilter<Event>;
525
+ export type Log = TypedEventLog<Event>;
526
+ export type LogDescription = TypedLogDescription<Event>;
527
+ }
528
+
529
+ export namespace NeutralMovedToStandbyEvent {
530
+ export type InputTuple = [neutral: AddressLike];
531
+ export type OutputTuple = [neutral: string];
532
+ export interface OutputObject {
533
+ neutral: string;
534
+ }
535
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
536
+ export type Filter = TypedDeferredTopicFilter<Event>;
537
+ export type Log = TypedEventLog<Event>;
538
+ export type LogDescription = TypedLogDescription<Event>;
539
+ }
540
+
541
+ export namespace NeutralPausedEvent {
542
+ export type InputTuple = [neutral: AddressLike];
543
+ export type OutputTuple = [neutral: string];
544
+ export interface OutputObject {
545
+ neutral: string;
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 NeutralSlashedEvent {
554
+ export type InputTuple = [
555
+ neutral: AddressLike,
556
+ amount: BigNumberish,
557
+ recipient: AddressLike
558
+ ];
559
+ export type OutputTuple = [
560
+ neutral: string,
561
+ amount: bigint,
562
+ recipient: string
563
+ ];
564
+ export interface OutputObject {
565
+ neutral: string;
566
+ amount: bigint;
567
+ recipient: string;
568
+ }
569
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
570
+ export type Filter = TypedDeferredTopicFilter<Event>;
571
+ export type Log = TypedEventLog<Event>;
572
+ export type LogDescription = TypedLogDescription<Event>;
573
+ }
574
+
575
+ export namespace NeutralStakedEvent {
576
+ export type InputTuple = [
577
+ neutral: AddressLike,
578
+ amount: BigNumberish,
579
+ totalStake: BigNumberish
580
+ ];
581
+ export type OutputTuple = [
582
+ neutral: string,
583
+ amount: bigint,
584
+ totalStake: bigint
585
+ ];
586
+ export interface OutputObject {
587
+ neutral: string;
588
+ amount: bigint;
589
+ totalStake: bigint;
590
+ }
591
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
592
+ export type Filter = TypedDeferredTopicFilter<Event>;
593
+ export type Log = TypedEventLog<Event>;
594
+ export type LogDescription = TypedLogDescription<Event>;
595
+ }
596
+
597
+ export namespace NeutralUnpausedEvent {
598
+ export type InputTuple = [neutral: AddressLike];
599
+ export type OutputTuple = [neutral: string];
600
+ export interface OutputObject {
601
+ neutral: string;
602
+ }
603
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
604
+ export type Filter = TypedDeferredTopicFilter<Event>;
605
+ export type Log = TypedEventLog<Event>;
606
+ export type LogDescription = TypedLogDescription<Event>;
607
+ }
608
+
609
+ export namespace NeutralUnstakedEvent {
610
+ export type InputTuple = [
611
+ neutral: AddressLike,
612
+ amount: BigNumberish,
613
+ remainingStake: BigNumberish
614
+ ];
615
+ export type OutputTuple = [
616
+ neutral: string,
617
+ amount: bigint,
618
+ remainingStake: bigint
619
+ ];
620
+ export interface OutputObject {
621
+ neutral: string;
622
+ amount: bigint;
623
+ remainingStake: bigint;
624
+ }
625
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
626
+ export type Filter = TypedDeferredTopicFilter<Event>;
627
+ export type Log = TypedEventLog<Event>;
628
+ export type LogDescription = TypedLogDescription<Event>;
629
+ }
630
+
631
+ export namespace RewardsClaimedEvent {
632
+ export type InputTuple = [neutral: AddressLike, amount: BigNumberish];
633
+ export type OutputTuple = [neutral: string, amount: bigint];
634
+ export interface OutputObject {
635
+ neutral: string;
636
+ amount: bigint;
637
+ }
638
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
639
+ export type Filter = TypedDeferredTopicFilter<Event>;
640
+ export type Log = TypedEventLog<Event>;
641
+ export type LogDescription = TypedLogDescription<Event>;
642
+ }
643
+
644
+ export namespace RewardsDistributedEvent {
645
+ export type InputTuple = [
646
+ selectedNeutrals: AddressLike[],
647
+ totalAmount: BigNumberish
648
+ ];
649
+ export type OutputTuple = [selectedNeutrals: string[], totalAmount: bigint];
650
+ export interface OutputObject {
651
+ selectedNeutrals: string[];
652
+ totalAmount: bigint;
653
+ }
654
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
655
+ export type Filter = TypedDeferredTopicFilter<Event>;
656
+ export type Log = TypedEventLog<Event>;
657
+ export type LogDescription = TypedLogDescription<Event>;
658
+ }
659
+
660
+ export namespace UpgradedEvent {
661
+ export type InputTuple = [implementation: AddressLike];
662
+ export type OutputTuple = [implementation: string];
663
+ export interface OutputObject {
664
+ implementation: string;
665
+ }
666
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
667
+ export type Filter = TypedDeferredTopicFilter<Event>;
668
+ export type Log = TypedEventLog<Event>;
669
+ export type LogDescription = TypedLogDescription<Event>;
670
+ }
671
+
672
+ export namespace WithdrawalAnnouncedEvent {
673
+ export type InputTuple = [
674
+ neutral: AddressLike,
675
+ amount: BigNumberish,
676
+ availableAt: BigNumberish
677
+ ];
678
+ export type OutputTuple = [
679
+ neutral: string,
680
+ amount: bigint,
681
+ availableAt: bigint
682
+ ];
683
+ export interface OutputObject {
684
+ neutral: string;
685
+ amount: bigint;
686
+ availableAt: bigint;
687
+ }
688
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
689
+ export type Filter = TypedDeferredTopicFilter<Event>;
690
+ export type Log = TypedEventLog<Event>;
691
+ export type LogDescription = TypedLogDescription<Event>;
692
+ }
693
+
694
+ export namespace WithdrawalCancelledEvent {
695
+ export type InputTuple = [neutral: AddressLike, amount: BigNumberish];
696
+ export type OutputTuple = [neutral: string, amount: bigint];
697
+ export interface OutputObject {
698
+ neutral: string;
699
+ amount: bigint;
700
+ }
701
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
702
+ export type Filter = TypedDeferredTopicFilter<Event>;
703
+ export type Log = TypedEventLog<Event>;
704
+ export type LogDescription = TypedLogDescription<Event>;
705
+ }
706
+
707
+ export interface NeutralsRegistry extends BaseContract {
708
+ contractName: "NeutralsRegistry";
709
+
710
+ connect(runner?: ContractRunner | null): NeutralsRegistry;
711
+ waitForDeployment(): Promise<this>;
712
+
713
+ interface: NeutralsRegistryInterface;
714
+
715
+ queryFilter<TCEvent extends TypedContractEvent>(
716
+ event: TCEvent,
717
+ fromBlockOrBlockhash?: string | number | undefined,
718
+ toBlock?: string | number | undefined
719
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
720
+ queryFilter<TCEvent extends TypedContractEvent>(
721
+ filter: TypedDeferredTopicFilter<TCEvent>,
722
+ fromBlockOrBlockhash?: string | number | undefined,
723
+ toBlock?: string | number | undefined
724
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
725
+
726
+ on<TCEvent extends TypedContractEvent>(
727
+ event: TCEvent,
728
+ listener: TypedListener<TCEvent>
729
+ ): Promise<this>;
730
+ on<TCEvent extends TypedContractEvent>(
731
+ filter: TypedDeferredTopicFilter<TCEvent>,
732
+ listener: TypedListener<TCEvent>
733
+ ): Promise<this>;
734
+
735
+ once<TCEvent extends TypedContractEvent>(
736
+ event: TCEvent,
737
+ listener: TypedListener<TCEvent>
738
+ ): Promise<this>;
739
+ once<TCEvent extends TypedContractEvent>(
740
+ filter: TypedDeferredTopicFilter<TCEvent>,
741
+ listener: TypedListener<TCEvent>
742
+ ): Promise<this>;
743
+
744
+ listeners<TCEvent extends TypedContractEvent>(
745
+ event: TCEvent
746
+ ): Promise<Array<TypedListener<TCEvent>>>;
747
+ listeners(eventName?: string): Promise<Array<Listener>>;
748
+ removeAllListeners<TCEvent extends TypedContractEvent>(
749
+ event?: TCEvent
750
+ ): Promise<this>;
751
+
752
+ UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
753
+
754
+ __NeutralsRegistry_init: TypedContractMethod<
755
+ [governance_: AddressLike],
756
+ [void],
757
+ "nonpayable"
758
+ >;
759
+
760
+ addNeutralsStake: TypedContractMethod<
761
+ [amount_: BigNumberish],
762
+ [void],
763
+ "nonpayable"
764
+ >;
765
+
766
+ announceDelegationWithdrawal: TypedContractMethod<
767
+ [neutral_: AddressLike, amount_: BigNumberish],
768
+ [void],
769
+ "nonpayable"
770
+ >;
771
+
772
+ announceNeutralsWithdrawal: TypedContractMethod<
773
+ [amount_: BigNumberish],
774
+ [void],
775
+ "nonpayable"
776
+ >;
777
+
778
+ boundActiveNeutralsList: TypedContractMethod<[], [void], "nonpayable">;
779
+
780
+ cancelDelegationWithdrawal: TypedContractMethod<
781
+ [neutral_: AddressLike],
782
+ [void],
783
+ "nonpayable"
784
+ >;
785
+
786
+ cancelNeutralsWithdrawal: TypedContractMethod<[], [void], "nonpayable">;
787
+
788
+ claimDelegatorRewards: TypedContractMethod<
789
+ [neutral_: AddressLike],
790
+ [void],
791
+ "nonpayable"
792
+ >;
793
+
794
+ claimNeutralRewards: TypedContractMethod<[], [void], "nonpayable">;
795
+
796
+ completeDelegationWithdrawal: TypedContractMethod<
797
+ [neutral_: AddressLike],
798
+ [void],
799
+ "nonpayable"
800
+ >;
801
+
802
+ completeNeutralsWithdrawal: TypedContractMethod<[], [void], "nonpayable">;
803
+
804
+ delegate: TypedContractMethod<
805
+ [neutral_: AddressLike, amount_: BigNumberish],
806
+ [void],
807
+ "nonpayable"
808
+ >;
809
+
810
+ distributeRewards: TypedContractMethod<
811
+ [selectedNeutrals_: AddressLike[], amount_: BigNumberish],
812
+ [void],
813
+ "nonpayable"
814
+ >;
815
+
816
+ getActiveNeutrals: TypedContractMethod<
817
+ [offset_: BigNumberish, limit_: BigNumberish],
818
+ [string[]],
819
+ "view"
820
+ >;
821
+
822
+ getAvailibleRewards: TypedContractMethod<
823
+ [neutral_: AddressLike],
824
+ [bigint],
825
+ "view"
826
+ >;
827
+
828
+ getCurrentGovernance: TypedContractMethod<[], [string], "view">;
829
+
830
+ getCurrentMaxActiveNeutralsParameter: TypedContractMethod<
831
+ [],
832
+ [bigint],
833
+ "view"
834
+ >;
835
+
836
+ getDelegation: TypedContractMethod<
837
+ [delegator_: AddressLike, neutral_: AddressLike],
838
+ [NeutralsRegistry.DelegationStructOutput],
839
+ "view"
840
+ >;
841
+
842
+ getDelegatorsPerNeutral: TypedContractMethod<
843
+ [neutral_: AddressLike, offset_: BigNumberish, limit_: BigNumberish],
844
+ [string[]],
845
+ "view"
846
+ >;
847
+
848
+ getExternalLink: TypedContractMethod<
849
+ [neutral_: AddressLike],
850
+ [string],
851
+ "view"
852
+ >;
853
+
854
+ getNeutralDelegationShare: TypedContractMethod<
855
+ [neutral_: AddressLike],
856
+ [bigint],
857
+ "view"
858
+ >;
859
+
860
+ getNeutralInfo: TypedContractMethod<
861
+ [neutral_: AddressLike],
862
+ [NeutralsRegistry.NeutralsInfoStructOutput],
863
+ "view"
864
+ >;
865
+
866
+ getNeutralsCount: TypedContractMethod<[], [bigint], "view">;
867
+
868
+ getNeutralsPerDelegator: TypedContractMethod<
869
+ [delegator_: AddressLike, offset_: BigNumberish, limit_: BigNumberish],
870
+ [string[]],
871
+ "view"
872
+ >;
873
+
874
+ getNeutralsSlice: TypedContractMethod<
875
+ [number_: BigNumberish],
876
+ [string[]],
877
+ "view"
878
+ >;
879
+
880
+ getParameterRegistry: TypedContractMethod<[], [string], "view">;
881
+
882
+ getStandbyNeutrals: TypedContractMethod<
883
+ [offset_: BigNumberish, limit_: BigNumberish],
884
+ [string[]],
885
+ "view"
886
+ >;
887
+
888
+ getToken: TypedContractMethod<[], [string], "view">;
889
+
890
+ getWithdrawalAnnouncement: TypedContractMethod<
891
+ [neutral_: AddressLike],
892
+ [NeutralsRegistry.WithdrawalAnnouncementStructOutput],
893
+ "view"
894
+ >;
895
+
896
+ implementation: TypedContractMethod<[], [string], "view">;
897
+
898
+ isNeutral: TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
899
+
900
+ isWithdrawalReady: TypedContractMethod<
901
+ [neutral_: AddressLike],
902
+ [boolean],
903
+ "view"
904
+ >;
905
+
906
+ proxiableUUID: TypedContractMethod<[], [string], "view">;
907
+
908
+ setDelegationShare: TypedContractMethod<
909
+ [delegationShare_: BigNumberish],
910
+ [void],
911
+ "nonpayable"
912
+ >;
913
+
914
+ setExternalLink: TypedContractMethod<
915
+ [externalLink_: string],
916
+ [void],
917
+ "nonpayable"
918
+ >;
919
+
920
+ slashNeutral: TypedContractMethod<
921
+ [neutral_: AddressLike, amount_: BigNumberish],
922
+ [void],
923
+ "nonpayable"
924
+ >;
925
+
926
+ supportsInterface: TypedContractMethod<
927
+ [interfaceId_: BytesLike],
928
+ [boolean],
929
+ "view"
930
+ >;
931
+
932
+ tryBecomeActive: TypedContractMethod<[], [void], "nonpayable">;
933
+
934
+ updateDelegationWithdrawal: TypedContractMethod<
935
+ [neutral_: AddressLike, newAmount_: BigNumberish],
936
+ [void],
937
+ "nonpayable"
938
+ >;
939
+
940
+ updateNeutralsWithdrawal: TypedContractMethod<
941
+ [newAmount_: BigNumberish],
942
+ [void],
943
+ "nonpayable"
944
+ >;
945
+
946
+ upgradeToAndCall: TypedContractMethod<
947
+ [newImplementation: AddressLike, data: BytesLike],
948
+ [void],
949
+ "payable"
950
+ >;
951
+
952
+ getFunction<T extends ContractMethod = ContractMethod>(
953
+ key: string | FunctionFragment
954
+ ): T;
955
+
956
+ getFunction(
957
+ nameOrSignature: "UPGRADE_INTERFACE_VERSION"
958
+ ): TypedContractMethod<[], [string], "view">;
959
+ getFunction(
960
+ nameOrSignature: "__NeutralsRegistry_init"
961
+ ): TypedContractMethod<[governance_: AddressLike], [void], "nonpayable">;
962
+ getFunction(
963
+ nameOrSignature: "addNeutralsStake"
964
+ ): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
965
+ getFunction(
966
+ nameOrSignature: "announceDelegationWithdrawal"
967
+ ): TypedContractMethod<
968
+ [neutral_: AddressLike, amount_: BigNumberish],
969
+ [void],
970
+ "nonpayable"
971
+ >;
972
+ getFunction(
973
+ nameOrSignature: "announceNeutralsWithdrawal"
974
+ ): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
975
+ getFunction(
976
+ nameOrSignature: "boundActiveNeutralsList"
977
+ ): TypedContractMethod<[], [void], "nonpayable">;
978
+ getFunction(
979
+ nameOrSignature: "cancelDelegationWithdrawal"
980
+ ): TypedContractMethod<[neutral_: AddressLike], [void], "nonpayable">;
981
+ getFunction(
982
+ nameOrSignature: "cancelNeutralsWithdrawal"
983
+ ): TypedContractMethod<[], [void], "nonpayable">;
984
+ getFunction(
985
+ nameOrSignature: "claimDelegatorRewards"
986
+ ): TypedContractMethod<[neutral_: AddressLike], [void], "nonpayable">;
987
+ getFunction(
988
+ nameOrSignature: "claimNeutralRewards"
989
+ ): TypedContractMethod<[], [void], "nonpayable">;
990
+ getFunction(
991
+ nameOrSignature: "completeDelegationWithdrawal"
992
+ ): TypedContractMethod<[neutral_: AddressLike], [void], "nonpayable">;
993
+ getFunction(
994
+ nameOrSignature: "completeNeutralsWithdrawal"
995
+ ): TypedContractMethod<[], [void], "nonpayable">;
996
+ getFunction(
997
+ nameOrSignature: "delegate"
998
+ ): TypedContractMethod<
999
+ [neutral_: AddressLike, amount_: BigNumberish],
1000
+ [void],
1001
+ "nonpayable"
1002
+ >;
1003
+ getFunction(
1004
+ nameOrSignature: "distributeRewards"
1005
+ ): TypedContractMethod<
1006
+ [selectedNeutrals_: AddressLike[], amount_: BigNumberish],
1007
+ [void],
1008
+ "nonpayable"
1009
+ >;
1010
+ getFunction(
1011
+ nameOrSignature: "getActiveNeutrals"
1012
+ ): TypedContractMethod<
1013
+ [offset_: BigNumberish, limit_: BigNumberish],
1014
+ [string[]],
1015
+ "view"
1016
+ >;
1017
+ getFunction(
1018
+ nameOrSignature: "getAvailibleRewards"
1019
+ ): TypedContractMethod<[neutral_: AddressLike], [bigint], "view">;
1020
+ getFunction(
1021
+ nameOrSignature: "getCurrentGovernance"
1022
+ ): TypedContractMethod<[], [string], "view">;
1023
+ getFunction(
1024
+ nameOrSignature: "getCurrentMaxActiveNeutralsParameter"
1025
+ ): TypedContractMethod<[], [bigint], "view">;
1026
+ getFunction(
1027
+ nameOrSignature: "getDelegation"
1028
+ ): TypedContractMethod<
1029
+ [delegator_: AddressLike, neutral_: AddressLike],
1030
+ [NeutralsRegistry.DelegationStructOutput],
1031
+ "view"
1032
+ >;
1033
+ getFunction(
1034
+ nameOrSignature: "getDelegatorsPerNeutral"
1035
+ ): TypedContractMethod<
1036
+ [neutral_: AddressLike, offset_: BigNumberish, limit_: BigNumberish],
1037
+ [string[]],
1038
+ "view"
1039
+ >;
1040
+ getFunction(
1041
+ nameOrSignature: "getExternalLink"
1042
+ ): TypedContractMethod<[neutral_: AddressLike], [string], "view">;
1043
+ getFunction(
1044
+ nameOrSignature: "getNeutralDelegationShare"
1045
+ ): TypedContractMethod<[neutral_: AddressLike], [bigint], "view">;
1046
+ getFunction(
1047
+ nameOrSignature: "getNeutralInfo"
1048
+ ): TypedContractMethod<
1049
+ [neutral_: AddressLike],
1050
+ [NeutralsRegistry.NeutralsInfoStructOutput],
1051
+ "view"
1052
+ >;
1053
+ getFunction(
1054
+ nameOrSignature: "getNeutralsCount"
1055
+ ): TypedContractMethod<[], [bigint], "view">;
1056
+ getFunction(
1057
+ nameOrSignature: "getNeutralsPerDelegator"
1058
+ ): TypedContractMethod<
1059
+ [delegator_: AddressLike, offset_: BigNumberish, limit_: BigNumberish],
1060
+ [string[]],
1061
+ "view"
1062
+ >;
1063
+ getFunction(
1064
+ nameOrSignature: "getNeutralsSlice"
1065
+ ): TypedContractMethod<[number_: BigNumberish], [string[]], "view">;
1066
+ getFunction(
1067
+ nameOrSignature: "getParameterRegistry"
1068
+ ): TypedContractMethod<[], [string], "view">;
1069
+ getFunction(
1070
+ nameOrSignature: "getStandbyNeutrals"
1071
+ ): TypedContractMethod<
1072
+ [offset_: BigNumberish, limit_: BigNumberish],
1073
+ [string[]],
1074
+ "view"
1075
+ >;
1076
+ getFunction(
1077
+ nameOrSignature: "getToken"
1078
+ ): TypedContractMethod<[], [string], "view">;
1079
+ getFunction(
1080
+ nameOrSignature: "getWithdrawalAnnouncement"
1081
+ ): TypedContractMethod<
1082
+ [neutral_: AddressLike],
1083
+ [NeutralsRegistry.WithdrawalAnnouncementStructOutput],
1084
+ "view"
1085
+ >;
1086
+ getFunction(
1087
+ nameOrSignature: "implementation"
1088
+ ): TypedContractMethod<[], [string], "view">;
1089
+ getFunction(
1090
+ nameOrSignature: "isNeutral"
1091
+ ): TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
1092
+ getFunction(
1093
+ nameOrSignature: "isWithdrawalReady"
1094
+ ): TypedContractMethod<[neutral_: AddressLike], [boolean], "view">;
1095
+ getFunction(
1096
+ nameOrSignature: "proxiableUUID"
1097
+ ): TypedContractMethod<[], [string], "view">;
1098
+ getFunction(
1099
+ nameOrSignature: "setDelegationShare"
1100
+ ): TypedContractMethod<
1101
+ [delegationShare_: BigNumberish],
1102
+ [void],
1103
+ "nonpayable"
1104
+ >;
1105
+ getFunction(
1106
+ nameOrSignature: "setExternalLink"
1107
+ ): TypedContractMethod<[externalLink_: string], [void], "nonpayable">;
1108
+ getFunction(
1109
+ nameOrSignature: "slashNeutral"
1110
+ ): TypedContractMethod<
1111
+ [neutral_: AddressLike, amount_: BigNumberish],
1112
+ [void],
1113
+ "nonpayable"
1114
+ >;
1115
+ getFunction(
1116
+ nameOrSignature: "supportsInterface"
1117
+ ): TypedContractMethod<[interfaceId_: BytesLike], [boolean], "view">;
1118
+ getFunction(
1119
+ nameOrSignature: "tryBecomeActive"
1120
+ ): TypedContractMethod<[], [void], "nonpayable">;
1121
+ getFunction(
1122
+ nameOrSignature: "updateDelegationWithdrawal"
1123
+ ): TypedContractMethod<
1124
+ [neutral_: AddressLike, newAmount_: BigNumberish],
1125
+ [void],
1126
+ "nonpayable"
1127
+ >;
1128
+ getFunction(
1129
+ nameOrSignature: "updateNeutralsWithdrawal"
1130
+ ): TypedContractMethod<[newAmount_: BigNumberish], [void], "nonpayable">;
1131
+ getFunction(
1132
+ nameOrSignature: "upgradeToAndCall"
1133
+ ): TypedContractMethod<
1134
+ [newImplementation: AddressLike, data: BytesLike],
1135
+ [void],
1136
+ "payable"
1137
+ >;
1138
+
1139
+ getEvent(
1140
+ key: "DelegationWithdrawn"
1141
+ ): TypedContractEvent<
1142
+ DelegationWithdrawnEvent.InputTuple,
1143
+ DelegationWithdrawnEvent.OutputTuple,
1144
+ DelegationWithdrawnEvent.OutputObject
1145
+ >;
1146
+ getEvent(
1147
+ key: "Initialized"
1148
+ ): TypedContractEvent<
1149
+ InitializedEvent.InputTuple,
1150
+ InitializedEvent.OutputTuple,
1151
+ InitializedEvent.OutputObject
1152
+ >;
1153
+ getEvent(
1154
+ key: "NeutralActivated"
1155
+ ): TypedContractEvent<
1156
+ NeutralActivatedEvent.InputTuple,
1157
+ NeutralActivatedEvent.OutputTuple,
1158
+ NeutralActivatedEvent.OutputObject
1159
+ >;
1160
+ getEvent(
1161
+ key: "NeutralMovedToStandby"
1162
+ ): TypedContractEvent<
1163
+ NeutralMovedToStandbyEvent.InputTuple,
1164
+ NeutralMovedToStandbyEvent.OutputTuple,
1165
+ NeutralMovedToStandbyEvent.OutputObject
1166
+ >;
1167
+ getEvent(
1168
+ key: "NeutralPaused"
1169
+ ): TypedContractEvent<
1170
+ NeutralPausedEvent.InputTuple,
1171
+ NeutralPausedEvent.OutputTuple,
1172
+ NeutralPausedEvent.OutputObject
1173
+ >;
1174
+ getEvent(
1175
+ key: "NeutralSlashed"
1176
+ ): TypedContractEvent<
1177
+ NeutralSlashedEvent.InputTuple,
1178
+ NeutralSlashedEvent.OutputTuple,
1179
+ NeutralSlashedEvent.OutputObject
1180
+ >;
1181
+ getEvent(
1182
+ key: "NeutralStaked"
1183
+ ): TypedContractEvent<
1184
+ NeutralStakedEvent.InputTuple,
1185
+ NeutralStakedEvent.OutputTuple,
1186
+ NeutralStakedEvent.OutputObject
1187
+ >;
1188
+ getEvent(
1189
+ key: "NeutralUnpaused"
1190
+ ): TypedContractEvent<
1191
+ NeutralUnpausedEvent.InputTuple,
1192
+ NeutralUnpausedEvent.OutputTuple,
1193
+ NeutralUnpausedEvent.OutputObject
1194
+ >;
1195
+ getEvent(
1196
+ key: "NeutralUnstaked"
1197
+ ): TypedContractEvent<
1198
+ NeutralUnstakedEvent.InputTuple,
1199
+ NeutralUnstakedEvent.OutputTuple,
1200
+ NeutralUnstakedEvent.OutputObject
1201
+ >;
1202
+ getEvent(
1203
+ key: "RewardsClaimed"
1204
+ ): TypedContractEvent<
1205
+ RewardsClaimedEvent.InputTuple,
1206
+ RewardsClaimedEvent.OutputTuple,
1207
+ RewardsClaimedEvent.OutputObject
1208
+ >;
1209
+ getEvent(
1210
+ key: "RewardsDistributed"
1211
+ ): TypedContractEvent<
1212
+ RewardsDistributedEvent.InputTuple,
1213
+ RewardsDistributedEvent.OutputTuple,
1214
+ RewardsDistributedEvent.OutputObject
1215
+ >;
1216
+ getEvent(
1217
+ key: "Upgraded"
1218
+ ): TypedContractEvent<
1219
+ UpgradedEvent.InputTuple,
1220
+ UpgradedEvent.OutputTuple,
1221
+ UpgradedEvent.OutputObject
1222
+ >;
1223
+ getEvent(
1224
+ key: "WithdrawalAnnounced"
1225
+ ): TypedContractEvent<
1226
+ WithdrawalAnnouncedEvent.InputTuple,
1227
+ WithdrawalAnnouncedEvent.OutputTuple,
1228
+ WithdrawalAnnouncedEvent.OutputObject
1229
+ >;
1230
+ getEvent(
1231
+ key: "WithdrawalCancelled"
1232
+ ): TypedContractEvent<
1233
+ WithdrawalCancelledEvent.InputTuple,
1234
+ WithdrawalCancelledEvent.OutputTuple,
1235
+ WithdrawalCancelledEvent.OutputObject
1236
+ >;
1237
+
1238
+ filters: {
1239
+ "DelegationWithdrawn(address,address,uint256)": TypedContractEvent<
1240
+ DelegationWithdrawnEvent.InputTuple,
1241
+ DelegationWithdrawnEvent.OutputTuple,
1242
+ DelegationWithdrawnEvent.OutputObject
1243
+ >;
1244
+ DelegationWithdrawn: TypedContractEvent<
1245
+ DelegationWithdrawnEvent.InputTuple,
1246
+ DelegationWithdrawnEvent.OutputTuple,
1247
+ DelegationWithdrawnEvent.OutputObject
1248
+ >;
1249
+
1250
+ "Initialized(uint64)": TypedContractEvent<
1251
+ InitializedEvent.InputTuple,
1252
+ InitializedEvent.OutputTuple,
1253
+ InitializedEvent.OutputObject
1254
+ >;
1255
+ Initialized: TypedContractEvent<
1256
+ InitializedEvent.InputTuple,
1257
+ InitializedEvent.OutputTuple,
1258
+ InitializedEvent.OutputObject
1259
+ >;
1260
+
1261
+ "NeutralActivated(address,uint256)": TypedContractEvent<
1262
+ NeutralActivatedEvent.InputTuple,
1263
+ NeutralActivatedEvent.OutputTuple,
1264
+ NeutralActivatedEvent.OutputObject
1265
+ >;
1266
+ NeutralActivated: TypedContractEvent<
1267
+ NeutralActivatedEvent.InputTuple,
1268
+ NeutralActivatedEvent.OutputTuple,
1269
+ NeutralActivatedEvent.OutputObject
1270
+ >;
1271
+
1272
+ "NeutralMovedToStandby(address)": TypedContractEvent<
1273
+ NeutralMovedToStandbyEvent.InputTuple,
1274
+ NeutralMovedToStandbyEvent.OutputTuple,
1275
+ NeutralMovedToStandbyEvent.OutputObject
1276
+ >;
1277
+ NeutralMovedToStandby: TypedContractEvent<
1278
+ NeutralMovedToStandbyEvent.InputTuple,
1279
+ NeutralMovedToStandbyEvent.OutputTuple,
1280
+ NeutralMovedToStandbyEvent.OutputObject
1281
+ >;
1282
+
1283
+ "NeutralPaused(address)": TypedContractEvent<
1284
+ NeutralPausedEvent.InputTuple,
1285
+ NeutralPausedEvent.OutputTuple,
1286
+ NeutralPausedEvent.OutputObject
1287
+ >;
1288
+ NeutralPaused: TypedContractEvent<
1289
+ NeutralPausedEvent.InputTuple,
1290
+ NeutralPausedEvent.OutputTuple,
1291
+ NeutralPausedEvent.OutputObject
1292
+ >;
1293
+
1294
+ "NeutralSlashed(address,uint256,address)": TypedContractEvent<
1295
+ NeutralSlashedEvent.InputTuple,
1296
+ NeutralSlashedEvent.OutputTuple,
1297
+ NeutralSlashedEvent.OutputObject
1298
+ >;
1299
+ NeutralSlashed: TypedContractEvent<
1300
+ NeutralSlashedEvent.InputTuple,
1301
+ NeutralSlashedEvent.OutputTuple,
1302
+ NeutralSlashedEvent.OutputObject
1303
+ >;
1304
+
1305
+ "NeutralStaked(address,uint256,uint256)": TypedContractEvent<
1306
+ NeutralStakedEvent.InputTuple,
1307
+ NeutralStakedEvent.OutputTuple,
1308
+ NeutralStakedEvent.OutputObject
1309
+ >;
1310
+ NeutralStaked: TypedContractEvent<
1311
+ NeutralStakedEvent.InputTuple,
1312
+ NeutralStakedEvent.OutputTuple,
1313
+ NeutralStakedEvent.OutputObject
1314
+ >;
1315
+
1316
+ "NeutralUnpaused(address)": TypedContractEvent<
1317
+ NeutralUnpausedEvent.InputTuple,
1318
+ NeutralUnpausedEvent.OutputTuple,
1319
+ NeutralUnpausedEvent.OutputObject
1320
+ >;
1321
+ NeutralUnpaused: TypedContractEvent<
1322
+ NeutralUnpausedEvent.InputTuple,
1323
+ NeutralUnpausedEvent.OutputTuple,
1324
+ NeutralUnpausedEvent.OutputObject
1325
+ >;
1326
+
1327
+ "NeutralUnstaked(address,uint256,uint256)": TypedContractEvent<
1328
+ NeutralUnstakedEvent.InputTuple,
1329
+ NeutralUnstakedEvent.OutputTuple,
1330
+ NeutralUnstakedEvent.OutputObject
1331
+ >;
1332
+ NeutralUnstaked: TypedContractEvent<
1333
+ NeutralUnstakedEvent.InputTuple,
1334
+ NeutralUnstakedEvent.OutputTuple,
1335
+ NeutralUnstakedEvent.OutputObject
1336
+ >;
1337
+
1338
+ "RewardsClaimed(address,uint256)": TypedContractEvent<
1339
+ RewardsClaimedEvent.InputTuple,
1340
+ RewardsClaimedEvent.OutputTuple,
1341
+ RewardsClaimedEvent.OutputObject
1342
+ >;
1343
+ RewardsClaimed: TypedContractEvent<
1344
+ RewardsClaimedEvent.InputTuple,
1345
+ RewardsClaimedEvent.OutputTuple,
1346
+ RewardsClaimedEvent.OutputObject
1347
+ >;
1348
+
1349
+ "RewardsDistributed(address[],uint256)": TypedContractEvent<
1350
+ RewardsDistributedEvent.InputTuple,
1351
+ RewardsDistributedEvent.OutputTuple,
1352
+ RewardsDistributedEvent.OutputObject
1353
+ >;
1354
+ RewardsDistributed: TypedContractEvent<
1355
+ RewardsDistributedEvent.InputTuple,
1356
+ RewardsDistributedEvent.OutputTuple,
1357
+ RewardsDistributedEvent.OutputObject
1358
+ >;
1359
+
1360
+ "Upgraded(address)": TypedContractEvent<
1361
+ UpgradedEvent.InputTuple,
1362
+ UpgradedEvent.OutputTuple,
1363
+ UpgradedEvent.OutputObject
1364
+ >;
1365
+ Upgraded: TypedContractEvent<
1366
+ UpgradedEvent.InputTuple,
1367
+ UpgradedEvent.OutputTuple,
1368
+ UpgradedEvent.OutputObject
1369
+ >;
1370
+
1371
+ "WithdrawalAnnounced(address,uint256,uint256)": TypedContractEvent<
1372
+ WithdrawalAnnouncedEvent.InputTuple,
1373
+ WithdrawalAnnouncedEvent.OutputTuple,
1374
+ WithdrawalAnnouncedEvent.OutputObject
1375
+ >;
1376
+ WithdrawalAnnounced: TypedContractEvent<
1377
+ WithdrawalAnnouncedEvent.InputTuple,
1378
+ WithdrawalAnnouncedEvent.OutputTuple,
1379
+ WithdrawalAnnouncedEvent.OutputObject
1380
+ >;
1381
+
1382
+ "WithdrawalCancelled(address,uint256)": TypedContractEvent<
1383
+ WithdrawalCancelledEvent.InputTuple,
1384
+ WithdrawalCancelledEvent.OutputTuple,
1385
+ WithdrawalCancelledEvent.OutputObject
1386
+ >;
1387
+ WithdrawalCancelled: TypedContractEvent<
1388
+ WithdrawalCancelledEvent.InputTuple,
1389
+ WithdrawalCancelledEvent.OutputTuple,
1390
+ WithdrawalCancelledEvent.OutputObject
1391
+ >;
1392
+ };
1393
+ }