@ssv-labs/ssv-sdk 0.0.1

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 (64) hide show
  1. package/LICENSE +674 -0
  2. package/README.html +102 -0
  3. package/README.md +136 -0
  4. package/README.pdf +0 -0
  5. package/dist/abi/holesky/v4/getter.d.ts +824 -0
  6. package/dist/abi/holesky/v4/setter.d.ts +1662 -0
  7. package/dist/abi/mainnet/v4/getter.d.ts +824 -0
  8. package/dist/abi/mainnet/v4/setter.d.ts +1677 -0
  9. package/dist/abi/token.d.ts +292 -0
  10. package/dist/api/ssv-api/index.d.ts +16 -0
  11. package/dist/api/subgraph/index.d.ts +101 -0
  12. package/dist/config/chains.d.ts +94 -0
  13. package/dist/config/create.d.ts +45 -0
  14. package/dist/config/globals.d.ts +33 -0
  15. package/dist/config/index.d.ts +3 -0
  16. package/dist/config-DPI30L0i.js +5159 -0
  17. package/dist/config-DlwfpwZd.mjs +5161 -0
  18. package/dist/contract-interactions/create.d.ts +3 -0
  19. package/dist/contract-interactions/index.d.ts +1 -0
  20. package/dist/contract-interactions/types.d.ts +93 -0
  21. package/dist/graphql/graphql.d.ts +3249 -0
  22. package/dist/libs/api/index.d.ts +81 -0
  23. package/dist/libs/cluster/index.d.ts +5636 -0
  24. package/dist/libs/cluster/methods/deposit.d.ts +286 -0
  25. package/dist/libs/cluster/methods/exit-validators.d.ts +283 -0
  26. package/dist/libs/cluster/methods/index.d.ts +8 -0
  27. package/dist/libs/cluster/methods/liquidate-cluster.d.ts +281 -0
  28. package/dist/libs/cluster/methods/reactivate-cluster.d.ts +282 -0
  29. package/dist/libs/cluster/methods/register-validators.d.ts +3652 -0
  30. package/dist/libs/cluster/methods/remove-validators.d.ts +283 -0
  31. package/dist/libs/cluster/methods/set-fee-recipient.d.ts +282 -0
  32. package/dist/libs/cluster/methods/withdraw.d.ts +282 -0
  33. package/dist/libs/operator/index.d.ts +4005 -0
  34. package/dist/libs/operator/methods.d.ts +844 -0
  35. package/dist/libs/utils/index.d.ts +32 -0
  36. package/dist/libs/utils/methods/get-cluster-balance.d.ts +9 -0
  37. package/dist/libs/utils/methods/index.d.ts +4 -0
  38. package/dist/libs/utils/methods/keyshares.d.ts +21 -0
  39. package/dist/libs/utils/methods/keystores.d.ts +13 -0
  40. package/dist/libs/utils/methods/methods.d.ts +2 -0
  41. package/dist/main.d.ts +8 -0
  42. package/dist/main.js +36437 -0
  43. package/dist/main.mjs +36437 -0
  44. package/dist/mock/api.d.ts +3 -0
  45. package/dist/mock/config.d.ts +6 -0
  46. package/dist/mock/index.d.ts +8 -0
  47. package/dist/sdk.d.ts +14 -0
  48. package/dist/types/contract-interactions.d.ts +21 -0
  49. package/dist/types/methods.d.ts +3 -0
  50. package/dist/types/operator.d.ts +9 -0
  51. package/dist/types/utils.d.ts +3 -0
  52. package/dist/utils/bigint.d.ts +29 -0
  53. package/dist/utils/cluster.d.ts +8 -0
  54. package/dist/utils/contract.d.ts +3 -0
  55. package/dist/utils/index.d.ts +9 -0
  56. package/dist/utils/keyshares.d.ts +21 -0
  57. package/dist/utils/number.d.ts +21 -0
  58. package/dist/utils/operator.d.ts +5 -0
  59. package/dist/utils/try-catch.d.ts +1 -0
  60. package/dist/utils/url-join.d.ts +1 -0
  61. package/dist/utils/zod/config.d.ts +9 -0
  62. package/dist/utils.js +43 -0
  63. package/dist/utils.mjs +43 -0
  64. package/package.json +136 -0
@@ -0,0 +1,4005 @@
1
+ import { ConfigReturnType } from '../../config/create';
2
+ import { RemoveConfigArg } from '../../types/methods';
3
+ export declare const createOperatorManager: (config: ConfigReturnType) => {
4
+ registerOperator: RemoveConfigArg<(config: ConfigReturnType, { args: { isPrivate, yearlyFee, publicKey }, ...writeOptions }: Omit<import('viem').SimulateContractParameters, "address" | "value" | "account" | "args" | "chain" | "abi" | "functionName"> & {
5
+ args: {
6
+ isPrivate: boolean;
7
+ yearlyFee: bigint;
8
+ publicKey: string;
9
+ };
10
+ }) => Promise<{
11
+ hash: `0x${string}`;
12
+ wait: () => Promise<import('viem').TransactionReceipt & {
13
+ events: ({
14
+ eventName: "AdminChanged";
15
+ args: {
16
+ previousAdmin: `0x${string}`;
17
+ newAdmin: `0x${string}`;
18
+ };
19
+ } | {
20
+ eventName: "BeaconUpgraded";
21
+ args: {
22
+ beacon: `0x${string}`;
23
+ };
24
+ } | {
25
+ eventName: "Initialized";
26
+ args: {
27
+ version: number;
28
+ };
29
+ } | {
30
+ eventName: "OwnershipTransferStarted";
31
+ args: {
32
+ previousOwner: `0x${string}`;
33
+ newOwner: `0x${string}`;
34
+ };
35
+ } | {
36
+ eventName: "OwnershipTransferred";
37
+ args: {
38
+ previousOwner: `0x${string}`;
39
+ newOwner: `0x${string}`;
40
+ };
41
+ } | {
42
+ eventName: "Upgraded";
43
+ args: {
44
+ implementation: `0x${string}`;
45
+ };
46
+ } | {
47
+ eventName: "ClusterDeposited";
48
+ args: {
49
+ owner: `0x${string}`;
50
+ operatorIds: readonly bigint[];
51
+ value: bigint;
52
+ cluster: {
53
+ validatorCount: number;
54
+ networkFeeIndex: bigint;
55
+ index: bigint;
56
+ active: boolean;
57
+ balance: bigint;
58
+ };
59
+ };
60
+ } | {
61
+ eventName: "ClusterLiquidated";
62
+ args: {
63
+ owner: `0x${string}`;
64
+ operatorIds: readonly bigint[];
65
+ cluster: {
66
+ validatorCount: number;
67
+ networkFeeIndex: bigint;
68
+ index: bigint;
69
+ active: boolean;
70
+ balance: bigint;
71
+ };
72
+ };
73
+ } | {
74
+ eventName: "ClusterReactivated";
75
+ args: {
76
+ owner: `0x${string}`;
77
+ operatorIds: readonly bigint[];
78
+ cluster: {
79
+ validatorCount: number;
80
+ networkFeeIndex: bigint;
81
+ index: bigint;
82
+ active: boolean;
83
+ balance: bigint;
84
+ };
85
+ };
86
+ } | {
87
+ eventName: "ClusterWithdrawn";
88
+ args: {
89
+ owner: `0x${string}`;
90
+ operatorIds: readonly bigint[];
91
+ value: bigint;
92
+ cluster: {
93
+ validatorCount: number;
94
+ networkFeeIndex: bigint;
95
+ index: bigint;
96
+ active: boolean;
97
+ balance: bigint;
98
+ };
99
+ };
100
+ } | {
101
+ eventName: "DeclareOperatorFeePeriodUpdated";
102
+ args: {
103
+ value: bigint;
104
+ };
105
+ } | {
106
+ eventName: "ExecuteOperatorFeePeriodUpdated";
107
+ args: {
108
+ value: bigint;
109
+ };
110
+ } | {
111
+ eventName: "FeeRecipientAddressUpdated";
112
+ args: {
113
+ owner: `0x${string}`;
114
+ recipientAddress: `0x${string}`;
115
+ };
116
+ } | {
117
+ eventName: "LiquidationThresholdPeriodUpdated";
118
+ args: {
119
+ value: bigint;
120
+ };
121
+ } | {
122
+ eventName: "MinimumLiquidationCollateralUpdated";
123
+ args: {
124
+ value: bigint;
125
+ };
126
+ } | {
127
+ eventName: "ModuleUpgraded";
128
+ args: {
129
+ moduleId: number;
130
+ moduleAddress: `0x${string}`;
131
+ };
132
+ } | {
133
+ eventName: "NetworkEarningsWithdrawn";
134
+ args: {
135
+ value: bigint;
136
+ recipient: `0x${string}`;
137
+ };
138
+ } | {
139
+ eventName: "NetworkFeeUpdated";
140
+ args: {
141
+ oldFee: bigint;
142
+ newFee: bigint;
143
+ };
144
+ } | {
145
+ eventName: "OperatorAdded";
146
+ args: {
147
+ operatorId: bigint;
148
+ owner: `0x${string}`;
149
+ publicKey: `0x${string}`;
150
+ fee: bigint;
151
+ };
152
+ } | {
153
+ eventName: "OperatorFeeDeclarationCancelled";
154
+ args: {
155
+ owner: `0x${string}`;
156
+ operatorId: bigint;
157
+ };
158
+ } | {
159
+ eventName: "OperatorFeeDeclared";
160
+ args: {
161
+ owner: `0x${string}`;
162
+ operatorId: bigint;
163
+ blockNumber: bigint;
164
+ fee: bigint;
165
+ };
166
+ } | {
167
+ eventName: "OperatorFeeExecuted";
168
+ args: {
169
+ owner: `0x${string}`;
170
+ operatorId: bigint;
171
+ blockNumber: bigint;
172
+ fee: bigint;
173
+ };
174
+ } | {
175
+ eventName: "OperatorFeeIncreaseLimitUpdated";
176
+ args: {
177
+ value: bigint;
178
+ };
179
+ } | {
180
+ eventName: "OperatorMaximumFeeUpdated";
181
+ args: {
182
+ maxFee: bigint;
183
+ };
184
+ } | {
185
+ eventName: "OperatorMultipleWhitelistRemoved";
186
+ args: {
187
+ operatorIds: readonly bigint[];
188
+ whitelistAddresses: readonly `0x${string}`[];
189
+ };
190
+ } | {
191
+ eventName: "OperatorMultipleWhitelistUpdated";
192
+ args: {
193
+ operatorIds: readonly bigint[];
194
+ whitelistAddresses: readonly `0x${string}`[];
195
+ };
196
+ } | {
197
+ eventName: "OperatorPrivacyStatusUpdated";
198
+ args: {
199
+ operatorIds: readonly bigint[];
200
+ toPrivate: boolean;
201
+ };
202
+ } | {
203
+ eventName: "OperatorRemoved";
204
+ args: {
205
+ operatorId: bigint;
206
+ };
207
+ } | {
208
+ eventName: "OperatorWhitelistUpdated";
209
+ args: {
210
+ operatorId: bigint;
211
+ whitelisted: `0x${string}`;
212
+ };
213
+ } | {
214
+ eventName: "OperatorWhitelistingContractUpdated";
215
+ args: {
216
+ operatorIds: readonly bigint[];
217
+ whitelistingContract: `0x${string}`;
218
+ };
219
+ } | {
220
+ eventName: "OperatorWithdrawn";
221
+ args: {
222
+ owner: `0x${string}`;
223
+ operatorId: bigint;
224
+ value: bigint;
225
+ };
226
+ } | {
227
+ eventName: "ValidatorAdded";
228
+ args: {
229
+ owner: `0x${string}`;
230
+ operatorIds: readonly bigint[];
231
+ publicKey: `0x${string}`;
232
+ shares: `0x${string}`;
233
+ cluster: {
234
+ validatorCount: number;
235
+ networkFeeIndex: bigint;
236
+ index: bigint;
237
+ active: boolean;
238
+ balance: bigint;
239
+ };
240
+ };
241
+ } | {
242
+ eventName: "ValidatorExited";
243
+ args: {
244
+ owner: `0x${string}`;
245
+ operatorIds: readonly bigint[];
246
+ publicKey: `0x${string}`;
247
+ };
248
+ } | {
249
+ eventName: "ValidatorRemoved";
250
+ args: {
251
+ owner: `0x${string}`;
252
+ operatorIds: readonly bigint[];
253
+ publicKey: `0x${string}`;
254
+ cluster: {
255
+ validatorCount: number;
256
+ networkFeeIndex: bigint;
257
+ index: bigint;
258
+ active: boolean;
259
+ balance: bigint;
260
+ };
261
+ };
262
+ } | {
263
+ eventName: "OwnershipTransferred";
264
+ args: {
265
+ previousOwner: `0x${string}`;
266
+ newOwner: `0x${string}`;
267
+ };
268
+ } | {
269
+ eventName: "Approval";
270
+ args: {
271
+ owner: `0x${string}`;
272
+ spender: `0x${string}`;
273
+ value: bigint;
274
+ };
275
+ } | {
276
+ eventName: "Transfer";
277
+ args: {
278
+ from: `0x${string}`;
279
+ to: `0x${string}`;
280
+ value: bigint;
281
+ };
282
+ })[];
283
+ }>;
284
+ }>>;
285
+ removeOperator: {
286
+ (props: {
287
+ args: {
288
+ operatorId: bigint;
289
+ };
290
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
291
+ nonce?: number | undefined;
292
+ blockNumber?: bigint | undefined;
293
+ gas?: bigint | undefined;
294
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
295
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
296
+ kzg?: import('viem').Kzg | undefined;
297
+ gasPrice?: bigint | undefined;
298
+ maxFeePerBlobGas?: bigint | undefined;
299
+ maxFeePerGas?: bigint | undefined;
300
+ maxPriorityFeePerGas?: bigint | undefined;
301
+ accessList?: import('viem').AccessList | undefined;
302
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
303
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
304
+ blockTag?: import('viem').BlockTag | undefined;
305
+ stateOverride?: import('viem').StateOverride | undefined;
306
+ dataSuffix?: `0x${string}` | undefined;
307
+ }): import('../../contract-interactions/types').WriteReturnType<{
308
+ eventName: "AdminChanged";
309
+ args: {
310
+ previousAdmin: `0x${string}`;
311
+ newAdmin: `0x${string}`;
312
+ };
313
+ } | {
314
+ eventName: "BeaconUpgraded";
315
+ args: {
316
+ beacon: `0x${string}`;
317
+ };
318
+ } | {
319
+ eventName: "Initialized";
320
+ args: {
321
+ version: number;
322
+ };
323
+ } | {
324
+ eventName: "OwnershipTransferStarted";
325
+ args: {
326
+ previousOwner: `0x${string}`;
327
+ newOwner: `0x${string}`;
328
+ };
329
+ } | {
330
+ eventName: "OwnershipTransferred";
331
+ args: {
332
+ previousOwner: `0x${string}`;
333
+ newOwner: `0x${string}`;
334
+ };
335
+ } | {
336
+ eventName: "Upgraded";
337
+ args: {
338
+ implementation: `0x${string}`;
339
+ };
340
+ } | {
341
+ eventName: "ClusterDeposited";
342
+ args: {
343
+ owner: `0x${string}`;
344
+ operatorIds: readonly bigint[];
345
+ value: bigint;
346
+ cluster: {
347
+ validatorCount: number;
348
+ networkFeeIndex: bigint;
349
+ index: bigint;
350
+ active: boolean;
351
+ balance: bigint;
352
+ };
353
+ };
354
+ } | {
355
+ eventName: "ClusterLiquidated";
356
+ args: {
357
+ owner: `0x${string}`;
358
+ operatorIds: readonly bigint[];
359
+ cluster: {
360
+ validatorCount: number;
361
+ networkFeeIndex: bigint;
362
+ index: bigint;
363
+ active: boolean;
364
+ balance: bigint;
365
+ };
366
+ };
367
+ } | {
368
+ eventName: "ClusterReactivated";
369
+ args: {
370
+ owner: `0x${string}`;
371
+ operatorIds: readonly bigint[];
372
+ cluster: {
373
+ validatorCount: number;
374
+ networkFeeIndex: bigint;
375
+ index: bigint;
376
+ active: boolean;
377
+ balance: bigint;
378
+ };
379
+ };
380
+ } | {
381
+ eventName: "ClusterWithdrawn";
382
+ args: {
383
+ owner: `0x${string}`;
384
+ operatorIds: readonly bigint[];
385
+ value: bigint;
386
+ cluster: {
387
+ validatorCount: number;
388
+ networkFeeIndex: bigint;
389
+ index: bigint;
390
+ active: boolean;
391
+ balance: bigint;
392
+ };
393
+ };
394
+ } | {
395
+ eventName: "DeclareOperatorFeePeriodUpdated";
396
+ args: {
397
+ value: bigint;
398
+ };
399
+ } | {
400
+ eventName: "ExecuteOperatorFeePeriodUpdated";
401
+ args: {
402
+ value: bigint;
403
+ };
404
+ } | {
405
+ eventName: "FeeRecipientAddressUpdated";
406
+ args: {
407
+ owner: `0x${string}`;
408
+ recipientAddress: `0x${string}`;
409
+ };
410
+ } | {
411
+ eventName: "LiquidationThresholdPeriodUpdated";
412
+ args: {
413
+ value: bigint;
414
+ };
415
+ } | {
416
+ eventName: "MinimumLiquidationCollateralUpdated";
417
+ args: {
418
+ value: bigint;
419
+ };
420
+ } | {
421
+ eventName: "ModuleUpgraded";
422
+ args: {
423
+ moduleId: number;
424
+ moduleAddress: `0x${string}`;
425
+ };
426
+ } | {
427
+ eventName: "NetworkEarningsWithdrawn";
428
+ args: {
429
+ value: bigint;
430
+ recipient: `0x${string}`;
431
+ };
432
+ } | {
433
+ eventName: "NetworkFeeUpdated";
434
+ args: {
435
+ oldFee: bigint;
436
+ newFee: bigint;
437
+ };
438
+ } | {
439
+ eventName: "OperatorAdded";
440
+ args: {
441
+ operatorId: bigint;
442
+ owner: `0x${string}`;
443
+ publicKey: `0x${string}`;
444
+ fee: bigint;
445
+ };
446
+ } | {
447
+ eventName: "OperatorFeeDeclarationCancelled";
448
+ args: {
449
+ owner: `0x${string}`;
450
+ operatorId: bigint;
451
+ };
452
+ } | {
453
+ eventName: "OperatorFeeDeclared";
454
+ args: {
455
+ owner: `0x${string}`;
456
+ operatorId: bigint;
457
+ blockNumber: bigint;
458
+ fee: bigint;
459
+ };
460
+ } | {
461
+ eventName: "OperatorFeeExecuted";
462
+ args: {
463
+ owner: `0x${string}`;
464
+ operatorId: bigint;
465
+ blockNumber: bigint;
466
+ fee: bigint;
467
+ };
468
+ } | {
469
+ eventName: "OperatorFeeIncreaseLimitUpdated";
470
+ args: {
471
+ value: bigint;
472
+ };
473
+ } | {
474
+ eventName: "OperatorMaximumFeeUpdated";
475
+ args: {
476
+ maxFee: bigint;
477
+ };
478
+ } | {
479
+ eventName: "OperatorMultipleWhitelistRemoved";
480
+ args: {
481
+ operatorIds: readonly bigint[];
482
+ whitelistAddresses: readonly `0x${string}`[];
483
+ };
484
+ } | {
485
+ eventName: "OperatorMultipleWhitelistUpdated";
486
+ args: {
487
+ operatorIds: readonly bigint[];
488
+ whitelistAddresses: readonly `0x${string}`[];
489
+ };
490
+ } | {
491
+ eventName: "OperatorPrivacyStatusUpdated";
492
+ args: {
493
+ operatorIds: readonly bigint[];
494
+ toPrivate: boolean;
495
+ };
496
+ } | {
497
+ eventName: "OperatorRemoved";
498
+ args: {
499
+ operatorId: bigint;
500
+ };
501
+ } | {
502
+ eventName: "OperatorWhitelistUpdated";
503
+ args: {
504
+ operatorId: bigint;
505
+ whitelisted: `0x${string}`;
506
+ };
507
+ } | {
508
+ eventName: "OperatorWhitelistingContractUpdated";
509
+ args: {
510
+ operatorIds: readonly bigint[];
511
+ whitelistingContract: `0x${string}`;
512
+ };
513
+ } | {
514
+ eventName: "OperatorWithdrawn";
515
+ args: {
516
+ owner: `0x${string}`;
517
+ operatorId: bigint;
518
+ value: bigint;
519
+ };
520
+ } | {
521
+ eventName: "ValidatorAdded";
522
+ args: {
523
+ owner: `0x${string}`;
524
+ operatorIds: readonly bigint[];
525
+ publicKey: `0x${string}`;
526
+ shares: `0x${string}`;
527
+ cluster: {
528
+ validatorCount: number;
529
+ networkFeeIndex: bigint;
530
+ index: bigint;
531
+ active: boolean;
532
+ balance: bigint;
533
+ };
534
+ };
535
+ } | {
536
+ eventName: "ValidatorExited";
537
+ args: {
538
+ owner: `0x${string}`;
539
+ operatorIds: readonly bigint[];
540
+ publicKey: `0x${string}`;
541
+ };
542
+ } | {
543
+ eventName: "ValidatorRemoved";
544
+ args: {
545
+ owner: `0x${string}`;
546
+ operatorIds: readonly bigint[];
547
+ publicKey: `0x${string}`;
548
+ cluster: {
549
+ validatorCount: number;
550
+ networkFeeIndex: bigint;
551
+ index: bigint;
552
+ active: boolean;
553
+ balance: bigint;
554
+ };
555
+ };
556
+ } | {
557
+ eventName: "OwnershipTransferred";
558
+ args: {
559
+ previousOwner: `0x${string}`;
560
+ newOwner: `0x${string}`;
561
+ };
562
+ } | {
563
+ eventName: "Approval";
564
+ args: {
565
+ owner: `0x${string}`;
566
+ spender: `0x${string}`;
567
+ value: bigint;
568
+ };
569
+ } | {
570
+ eventName: "Transfer";
571
+ args: {
572
+ from: `0x${string}`;
573
+ to: `0x${string}`;
574
+ value: bigint;
575
+ };
576
+ }>;
577
+ simulate: (props: {
578
+ args: {
579
+ operatorId: bigint;
580
+ };
581
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
582
+ nonce?: number | undefined;
583
+ blockNumber?: bigint | undefined;
584
+ gas?: bigint | undefined;
585
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
586
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
587
+ kzg?: import('viem').Kzg | undefined;
588
+ gasPrice?: bigint | undefined;
589
+ maxFeePerBlobGas?: bigint | undefined;
590
+ maxFeePerGas?: bigint | undefined;
591
+ maxPriorityFeePerGas?: bigint | undefined;
592
+ accessList?: import('viem').AccessList | undefined;
593
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
594
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
595
+ blockTag?: import('viem').BlockTag | undefined;
596
+ stateOverride?: import('viem').StateOverride | undefined;
597
+ dataSuffix?: `0x${string}` | undefined;
598
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "removeOperator">;
599
+ };
600
+ withdraw: RemoveConfigArg<(config: ConfigReturnType, { args: { operatorId, amount }, ...writeOptions }: Omit<import('viem').SimulateContractParameters, "address" | "value" | "account" | "args" | "chain" | "abi" | "functionName"> & {
601
+ args: {
602
+ operatorId: string;
603
+ amount: bigint;
604
+ };
605
+ }) => Promise<{
606
+ hash: `0x${string}`;
607
+ wait: () => Promise<import('viem').TransactionReceipt & {
608
+ events: ({
609
+ eventName: "AdminChanged";
610
+ args: {
611
+ previousAdmin: `0x${string}`;
612
+ newAdmin: `0x${string}`;
613
+ };
614
+ } | {
615
+ eventName: "BeaconUpgraded";
616
+ args: {
617
+ beacon: `0x${string}`;
618
+ };
619
+ } | {
620
+ eventName: "Initialized";
621
+ args: {
622
+ version: number;
623
+ };
624
+ } | {
625
+ eventName: "OwnershipTransferStarted";
626
+ args: {
627
+ previousOwner: `0x${string}`;
628
+ newOwner: `0x${string}`;
629
+ };
630
+ } | {
631
+ eventName: "OwnershipTransferred";
632
+ args: {
633
+ previousOwner: `0x${string}`;
634
+ newOwner: `0x${string}`;
635
+ };
636
+ } | {
637
+ eventName: "Upgraded";
638
+ args: {
639
+ implementation: `0x${string}`;
640
+ };
641
+ } | {
642
+ eventName: "ClusterDeposited";
643
+ args: {
644
+ owner: `0x${string}`;
645
+ operatorIds: readonly bigint[];
646
+ value: bigint;
647
+ cluster: {
648
+ validatorCount: number;
649
+ networkFeeIndex: bigint;
650
+ index: bigint;
651
+ active: boolean;
652
+ balance: bigint;
653
+ };
654
+ };
655
+ } | {
656
+ eventName: "ClusterLiquidated";
657
+ args: {
658
+ owner: `0x${string}`;
659
+ operatorIds: readonly bigint[];
660
+ cluster: {
661
+ validatorCount: number;
662
+ networkFeeIndex: bigint;
663
+ index: bigint;
664
+ active: boolean;
665
+ balance: bigint;
666
+ };
667
+ };
668
+ } | {
669
+ eventName: "ClusterReactivated";
670
+ args: {
671
+ owner: `0x${string}`;
672
+ operatorIds: readonly bigint[];
673
+ cluster: {
674
+ validatorCount: number;
675
+ networkFeeIndex: bigint;
676
+ index: bigint;
677
+ active: boolean;
678
+ balance: bigint;
679
+ };
680
+ };
681
+ } | {
682
+ eventName: "ClusterWithdrawn";
683
+ args: {
684
+ owner: `0x${string}`;
685
+ operatorIds: readonly bigint[];
686
+ value: bigint;
687
+ cluster: {
688
+ validatorCount: number;
689
+ networkFeeIndex: bigint;
690
+ index: bigint;
691
+ active: boolean;
692
+ balance: bigint;
693
+ };
694
+ };
695
+ } | {
696
+ eventName: "DeclareOperatorFeePeriodUpdated";
697
+ args: {
698
+ value: bigint;
699
+ };
700
+ } | {
701
+ eventName: "ExecuteOperatorFeePeriodUpdated";
702
+ args: {
703
+ value: bigint;
704
+ };
705
+ } | {
706
+ eventName: "FeeRecipientAddressUpdated";
707
+ args: {
708
+ owner: `0x${string}`;
709
+ recipientAddress: `0x${string}`;
710
+ };
711
+ } | {
712
+ eventName: "LiquidationThresholdPeriodUpdated";
713
+ args: {
714
+ value: bigint;
715
+ };
716
+ } | {
717
+ eventName: "MinimumLiquidationCollateralUpdated";
718
+ args: {
719
+ value: bigint;
720
+ };
721
+ } | {
722
+ eventName: "ModuleUpgraded";
723
+ args: {
724
+ moduleId: number;
725
+ moduleAddress: `0x${string}`;
726
+ };
727
+ } | {
728
+ eventName: "NetworkEarningsWithdrawn";
729
+ args: {
730
+ value: bigint;
731
+ recipient: `0x${string}`;
732
+ };
733
+ } | {
734
+ eventName: "NetworkFeeUpdated";
735
+ args: {
736
+ oldFee: bigint;
737
+ newFee: bigint;
738
+ };
739
+ } | {
740
+ eventName: "OperatorAdded";
741
+ args: {
742
+ operatorId: bigint;
743
+ owner: `0x${string}`;
744
+ publicKey: `0x${string}`;
745
+ fee: bigint;
746
+ };
747
+ } | {
748
+ eventName: "OperatorFeeDeclarationCancelled";
749
+ args: {
750
+ owner: `0x${string}`;
751
+ operatorId: bigint;
752
+ };
753
+ } | {
754
+ eventName: "OperatorFeeDeclared";
755
+ args: {
756
+ owner: `0x${string}`;
757
+ operatorId: bigint;
758
+ blockNumber: bigint;
759
+ fee: bigint;
760
+ };
761
+ } | {
762
+ eventName: "OperatorFeeExecuted";
763
+ args: {
764
+ owner: `0x${string}`;
765
+ operatorId: bigint;
766
+ blockNumber: bigint;
767
+ fee: bigint;
768
+ };
769
+ } | {
770
+ eventName: "OperatorFeeIncreaseLimitUpdated";
771
+ args: {
772
+ value: bigint;
773
+ };
774
+ } | {
775
+ eventName: "OperatorMaximumFeeUpdated";
776
+ args: {
777
+ maxFee: bigint;
778
+ };
779
+ } | {
780
+ eventName: "OperatorMultipleWhitelistRemoved";
781
+ args: {
782
+ operatorIds: readonly bigint[];
783
+ whitelistAddresses: readonly `0x${string}`[];
784
+ };
785
+ } | {
786
+ eventName: "OperatorMultipleWhitelistUpdated";
787
+ args: {
788
+ operatorIds: readonly bigint[];
789
+ whitelistAddresses: readonly `0x${string}`[];
790
+ };
791
+ } | {
792
+ eventName: "OperatorPrivacyStatusUpdated";
793
+ args: {
794
+ operatorIds: readonly bigint[];
795
+ toPrivate: boolean;
796
+ };
797
+ } | {
798
+ eventName: "OperatorRemoved";
799
+ args: {
800
+ operatorId: bigint;
801
+ };
802
+ } | {
803
+ eventName: "OperatorWhitelistUpdated";
804
+ args: {
805
+ operatorId: bigint;
806
+ whitelisted: `0x${string}`;
807
+ };
808
+ } | {
809
+ eventName: "OperatorWhitelistingContractUpdated";
810
+ args: {
811
+ operatorIds: readonly bigint[];
812
+ whitelistingContract: `0x${string}`;
813
+ };
814
+ } | {
815
+ eventName: "OperatorWithdrawn";
816
+ args: {
817
+ owner: `0x${string}`;
818
+ operatorId: bigint;
819
+ value: bigint;
820
+ };
821
+ } | {
822
+ eventName: "ValidatorAdded";
823
+ args: {
824
+ owner: `0x${string}`;
825
+ operatorIds: readonly bigint[];
826
+ publicKey: `0x${string}`;
827
+ shares: `0x${string}`;
828
+ cluster: {
829
+ validatorCount: number;
830
+ networkFeeIndex: bigint;
831
+ index: bigint;
832
+ active: boolean;
833
+ balance: bigint;
834
+ };
835
+ };
836
+ } | {
837
+ eventName: "ValidatorExited";
838
+ args: {
839
+ owner: `0x${string}`;
840
+ operatorIds: readonly bigint[];
841
+ publicKey: `0x${string}`;
842
+ };
843
+ } | {
844
+ eventName: "ValidatorRemoved";
845
+ args: {
846
+ owner: `0x${string}`;
847
+ operatorIds: readonly bigint[];
848
+ publicKey: `0x${string}`;
849
+ cluster: {
850
+ validatorCount: number;
851
+ networkFeeIndex: bigint;
852
+ index: bigint;
853
+ active: boolean;
854
+ balance: bigint;
855
+ };
856
+ };
857
+ } | {
858
+ eventName: "OwnershipTransferred";
859
+ args: {
860
+ previousOwner: `0x${string}`;
861
+ newOwner: `0x${string}`;
862
+ };
863
+ } | {
864
+ eventName: "Approval";
865
+ args: {
866
+ owner: `0x${string}`;
867
+ spender: `0x${string}`;
868
+ value: bigint;
869
+ };
870
+ } | {
871
+ eventName: "Transfer";
872
+ args: {
873
+ from: `0x${string}`;
874
+ to: `0x${string}`;
875
+ value: bigint;
876
+ };
877
+ })[];
878
+ }>;
879
+ }>>;
880
+ setOperatorWhitelists: {
881
+ (props: {
882
+ args: {
883
+ operatorIds: readonly bigint[];
884
+ whitelistAddresses: readonly `0x${string}`[];
885
+ };
886
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
887
+ nonce?: number | undefined;
888
+ blockNumber?: bigint | undefined;
889
+ gas?: bigint | undefined;
890
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
891
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
892
+ kzg?: import('viem').Kzg | undefined;
893
+ gasPrice?: bigint | undefined;
894
+ maxFeePerBlobGas?: bigint | undefined;
895
+ maxFeePerGas?: bigint | undefined;
896
+ maxPriorityFeePerGas?: bigint | undefined;
897
+ accessList?: import('viem').AccessList | undefined;
898
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
899
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
900
+ blockTag?: import('viem').BlockTag | undefined;
901
+ stateOverride?: import('viem').StateOverride | undefined;
902
+ dataSuffix?: `0x${string}` | undefined;
903
+ }): import('../../contract-interactions/types').WriteReturnType<{
904
+ eventName: "AdminChanged";
905
+ args: {
906
+ previousAdmin: `0x${string}`;
907
+ newAdmin: `0x${string}`;
908
+ };
909
+ } | {
910
+ eventName: "BeaconUpgraded";
911
+ args: {
912
+ beacon: `0x${string}`;
913
+ };
914
+ } | {
915
+ eventName: "Initialized";
916
+ args: {
917
+ version: number;
918
+ };
919
+ } | {
920
+ eventName: "OwnershipTransferStarted";
921
+ args: {
922
+ previousOwner: `0x${string}`;
923
+ newOwner: `0x${string}`;
924
+ };
925
+ } | {
926
+ eventName: "OwnershipTransferred";
927
+ args: {
928
+ previousOwner: `0x${string}`;
929
+ newOwner: `0x${string}`;
930
+ };
931
+ } | {
932
+ eventName: "Upgraded";
933
+ args: {
934
+ implementation: `0x${string}`;
935
+ };
936
+ } | {
937
+ eventName: "ClusterDeposited";
938
+ args: {
939
+ owner: `0x${string}`;
940
+ operatorIds: readonly bigint[];
941
+ value: bigint;
942
+ cluster: {
943
+ validatorCount: number;
944
+ networkFeeIndex: bigint;
945
+ index: bigint;
946
+ active: boolean;
947
+ balance: bigint;
948
+ };
949
+ };
950
+ } | {
951
+ eventName: "ClusterLiquidated";
952
+ args: {
953
+ owner: `0x${string}`;
954
+ operatorIds: readonly bigint[];
955
+ cluster: {
956
+ validatorCount: number;
957
+ networkFeeIndex: bigint;
958
+ index: bigint;
959
+ active: boolean;
960
+ balance: bigint;
961
+ };
962
+ };
963
+ } | {
964
+ eventName: "ClusterReactivated";
965
+ args: {
966
+ owner: `0x${string}`;
967
+ operatorIds: readonly bigint[];
968
+ cluster: {
969
+ validatorCount: number;
970
+ networkFeeIndex: bigint;
971
+ index: bigint;
972
+ active: boolean;
973
+ balance: bigint;
974
+ };
975
+ };
976
+ } | {
977
+ eventName: "ClusterWithdrawn";
978
+ args: {
979
+ owner: `0x${string}`;
980
+ operatorIds: readonly bigint[];
981
+ value: bigint;
982
+ cluster: {
983
+ validatorCount: number;
984
+ networkFeeIndex: bigint;
985
+ index: bigint;
986
+ active: boolean;
987
+ balance: bigint;
988
+ };
989
+ };
990
+ } | {
991
+ eventName: "DeclareOperatorFeePeriodUpdated";
992
+ args: {
993
+ value: bigint;
994
+ };
995
+ } | {
996
+ eventName: "ExecuteOperatorFeePeriodUpdated";
997
+ args: {
998
+ value: bigint;
999
+ };
1000
+ } | {
1001
+ eventName: "FeeRecipientAddressUpdated";
1002
+ args: {
1003
+ owner: `0x${string}`;
1004
+ recipientAddress: `0x${string}`;
1005
+ };
1006
+ } | {
1007
+ eventName: "LiquidationThresholdPeriodUpdated";
1008
+ args: {
1009
+ value: bigint;
1010
+ };
1011
+ } | {
1012
+ eventName: "MinimumLiquidationCollateralUpdated";
1013
+ args: {
1014
+ value: bigint;
1015
+ };
1016
+ } | {
1017
+ eventName: "ModuleUpgraded";
1018
+ args: {
1019
+ moduleId: number;
1020
+ moduleAddress: `0x${string}`;
1021
+ };
1022
+ } | {
1023
+ eventName: "NetworkEarningsWithdrawn";
1024
+ args: {
1025
+ value: bigint;
1026
+ recipient: `0x${string}`;
1027
+ };
1028
+ } | {
1029
+ eventName: "NetworkFeeUpdated";
1030
+ args: {
1031
+ oldFee: bigint;
1032
+ newFee: bigint;
1033
+ };
1034
+ } | {
1035
+ eventName: "OperatorAdded";
1036
+ args: {
1037
+ operatorId: bigint;
1038
+ owner: `0x${string}`;
1039
+ publicKey: `0x${string}`;
1040
+ fee: bigint;
1041
+ };
1042
+ } | {
1043
+ eventName: "OperatorFeeDeclarationCancelled";
1044
+ args: {
1045
+ owner: `0x${string}`;
1046
+ operatorId: bigint;
1047
+ };
1048
+ } | {
1049
+ eventName: "OperatorFeeDeclared";
1050
+ args: {
1051
+ owner: `0x${string}`;
1052
+ operatorId: bigint;
1053
+ blockNumber: bigint;
1054
+ fee: bigint;
1055
+ };
1056
+ } | {
1057
+ eventName: "OperatorFeeExecuted";
1058
+ args: {
1059
+ owner: `0x${string}`;
1060
+ operatorId: bigint;
1061
+ blockNumber: bigint;
1062
+ fee: bigint;
1063
+ };
1064
+ } | {
1065
+ eventName: "OperatorFeeIncreaseLimitUpdated";
1066
+ args: {
1067
+ value: bigint;
1068
+ };
1069
+ } | {
1070
+ eventName: "OperatorMaximumFeeUpdated";
1071
+ args: {
1072
+ maxFee: bigint;
1073
+ };
1074
+ } | {
1075
+ eventName: "OperatorMultipleWhitelistRemoved";
1076
+ args: {
1077
+ operatorIds: readonly bigint[];
1078
+ whitelistAddresses: readonly `0x${string}`[];
1079
+ };
1080
+ } | {
1081
+ eventName: "OperatorMultipleWhitelistUpdated";
1082
+ args: {
1083
+ operatorIds: readonly bigint[];
1084
+ whitelistAddresses: readonly `0x${string}`[];
1085
+ };
1086
+ } | {
1087
+ eventName: "OperatorPrivacyStatusUpdated";
1088
+ args: {
1089
+ operatorIds: readonly bigint[];
1090
+ toPrivate: boolean;
1091
+ };
1092
+ } | {
1093
+ eventName: "OperatorRemoved";
1094
+ args: {
1095
+ operatorId: bigint;
1096
+ };
1097
+ } | {
1098
+ eventName: "OperatorWhitelistUpdated";
1099
+ args: {
1100
+ operatorId: bigint;
1101
+ whitelisted: `0x${string}`;
1102
+ };
1103
+ } | {
1104
+ eventName: "OperatorWhitelistingContractUpdated";
1105
+ args: {
1106
+ operatorIds: readonly bigint[];
1107
+ whitelistingContract: `0x${string}`;
1108
+ };
1109
+ } | {
1110
+ eventName: "OperatorWithdrawn";
1111
+ args: {
1112
+ owner: `0x${string}`;
1113
+ operatorId: bigint;
1114
+ value: bigint;
1115
+ };
1116
+ } | {
1117
+ eventName: "ValidatorAdded";
1118
+ args: {
1119
+ owner: `0x${string}`;
1120
+ operatorIds: readonly bigint[];
1121
+ publicKey: `0x${string}`;
1122
+ shares: `0x${string}`;
1123
+ cluster: {
1124
+ validatorCount: number;
1125
+ networkFeeIndex: bigint;
1126
+ index: bigint;
1127
+ active: boolean;
1128
+ balance: bigint;
1129
+ };
1130
+ };
1131
+ } | {
1132
+ eventName: "ValidatorExited";
1133
+ args: {
1134
+ owner: `0x${string}`;
1135
+ operatorIds: readonly bigint[];
1136
+ publicKey: `0x${string}`;
1137
+ };
1138
+ } | {
1139
+ eventName: "ValidatorRemoved";
1140
+ args: {
1141
+ owner: `0x${string}`;
1142
+ operatorIds: readonly bigint[];
1143
+ publicKey: `0x${string}`;
1144
+ cluster: {
1145
+ validatorCount: number;
1146
+ networkFeeIndex: bigint;
1147
+ index: bigint;
1148
+ active: boolean;
1149
+ balance: bigint;
1150
+ };
1151
+ };
1152
+ } | {
1153
+ eventName: "OwnershipTransferred";
1154
+ args: {
1155
+ previousOwner: `0x${string}`;
1156
+ newOwner: `0x${string}`;
1157
+ };
1158
+ } | {
1159
+ eventName: "Approval";
1160
+ args: {
1161
+ owner: `0x${string}`;
1162
+ spender: `0x${string}`;
1163
+ value: bigint;
1164
+ };
1165
+ } | {
1166
+ eventName: "Transfer";
1167
+ args: {
1168
+ from: `0x${string}`;
1169
+ to: `0x${string}`;
1170
+ value: bigint;
1171
+ };
1172
+ }>;
1173
+ simulate: (props: {
1174
+ args: {
1175
+ operatorIds: readonly bigint[];
1176
+ whitelistAddresses: readonly `0x${string}`[];
1177
+ };
1178
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
1179
+ nonce?: number | undefined;
1180
+ blockNumber?: bigint | undefined;
1181
+ gas?: bigint | undefined;
1182
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1183
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1184
+ kzg?: import('viem').Kzg | undefined;
1185
+ gasPrice?: bigint | undefined;
1186
+ maxFeePerBlobGas?: bigint | undefined;
1187
+ maxFeePerGas?: bigint | undefined;
1188
+ maxPriorityFeePerGas?: bigint | undefined;
1189
+ accessList?: import('viem').AccessList | undefined;
1190
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
1191
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
1192
+ blockTag?: import('viem').BlockTag | undefined;
1193
+ stateOverride?: import('viem').StateOverride | undefined;
1194
+ dataSuffix?: `0x${string}` | undefined;
1195
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "setOperatorsWhitelists">;
1196
+ };
1197
+ removeOperatorWhitelists: {
1198
+ (props: {
1199
+ args: {
1200
+ operatorIds: readonly bigint[];
1201
+ whitelistAddresses: readonly `0x${string}`[];
1202
+ };
1203
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
1204
+ nonce?: number | undefined;
1205
+ blockNumber?: bigint | undefined;
1206
+ gas?: bigint | undefined;
1207
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1208
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1209
+ kzg?: import('viem').Kzg | undefined;
1210
+ gasPrice?: bigint | undefined;
1211
+ maxFeePerBlobGas?: bigint | undefined;
1212
+ maxFeePerGas?: bigint | undefined;
1213
+ maxPriorityFeePerGas?: bigint | undefined;
1214
+ accessList?: import('viem').AccessList | undefined;
1215
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
1216
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
1217
+ blockTag?: import('viem').BlockTag | undefined;
1218
+ stateOverride?: import('viem').StateOverride | undefined;
1219
+ dataSuffix?: `0x${string}` | undefined;
1220
+ }): import('../../contract-interactions/types').WriteReturnType<{
1221
+ eventName: "AdminChanged";
1222
+ args: {
1223
+ previousAdmin: `0x${string}`;
1224
+ newAdmin: `0x${string}`;
1225
+ };
1226
+ } | {
1227
+ eventName: "BeaconUpgraded";
1228
+ args: {
1229
+ beacon: `0x${string}`;
1230
+ };
1231
+ } | {
1232
+ eventName: "Initialized";
1233
+ args: {
1234
+ version: number;
1235
+ };
1236
+ } | {
1237
+ eventName: "OwnershipTransferStarted";
1238
+ args: {
1239
+ previousOwner: `0x${string}`;
1240
+ newOwner: `0x${string}`;
1241
+ };
1242
+ } | {
1243
+ eventName: "OwnershipTransferred";
1244
+ args: {
1245
+ previousOwner: `0x${string}`;
1246
+ newOwner: `0x${string}`;
1247
+ };
1248
+ } | {
1249
+ eventName: "Upgraded";
1250
+ args: {
1251
+ implementation: `0x${string}`;
1252
+ };
1253
+ } | {
1254
+ eventName: "ClusterDeposited";
1255
+ args: {
1256
+ owner: `0x${string}`;
1257
+ operatorIds: readonly bigint[];
1258
+ value: bigint;
1259
+ cluster: {
1260
+ validatorCount: number;
1261
+ networkFeeIndex: bigint;
1262
+ index: bigint;
1263
+ active: boolean;
1264
+ balance: bigint;
1265
+ };
1266
+ };
1267
+ } | {
1268
+ eventName: "ClusterLiquidated";
1269
+ args: {
1270
+ owner: `0x${string}`;
1271
+ operatorIds: readonly bigint[];
1272
+ cluster: {
1273
+ validatorCount: number;
1274
+ networkFeeIndex: bigint;
1275
+ index: bigint;
1276
+ active: boolean;
1277
+ balance: bigint;
1278
+ };
1279
+ };
1280
+ } | {
1281
+ eventName: "ClusterReactivated";
1282
+ args: {
1283
+ owner: `0x${string}`;
1284
+ operatorIds: readonly bigint[];
1285
+ cluster: {
1286
+ validatorCount: number;
1287
+ networkFeeIndex: bigint;
1288
+ index: bigint;
1289
+ active: boolean;
1290
+ balance: bigint;
1291
+ };
1292
+ };
1293
+ } | {
1294
+ eventName: "ClusterWithdrawn";
1295
+ args: {
1296
+ owner: `0x${string}`;
1297
+ operatorIds: readonly bigint[];
1298
+ value: bigint;
1299
+ cluster: {
1300
+ validatorCount: number;
1301
+ networkFeeIndex: bigint;
1302
+ index: bigint;
1303
+ active: boolean;
1304
+ balance: bigint;
1305
+ };
1306
+ };
1307
+ } | {
1308
+ eventName: "DeclareOperatorFeePeriodUpdated";
1309
+ args: {
1310
+ value: bigint;
1311
+ };
1312
+ } | {
1313
+ eventName: "ExecuteOperatorFeePeriodUpdated";
1314
+ args: {
1315
+ value: bigint;
1316
+ };
1317
+ } | {
1318
+ eventName: "FeeRecipientAddressUpdated";
1319
+ args: {
1320
+ owner: `0x${string}`;
1321
+ recipientAddress: `0x${string}`;
1322
+ };
1323
+ } | {
1324
+ eventName: "LiquidationThresholdPeriodUpdated";
1325
+ args: {
1326
+ value: bigint;
1327
+ };
1328
+ } | {
1329
+ eventName: "MinimumLiquidationCollateralUpdated";
1330
+ args: {
1331
+ value: bigint;
1332
+ };
1333
+ } | {
1334
+ eventName: "ModuleUpgraded";
1335
+ args: {
1336
+ moduleId: number;
1337
+ moduleAddress: `0x${string}`;
1338
+ };
1339
+ } | {
1340
+ eventName: "NetworkEarningsWithdrawn";
1341
+ args: {
1342
+ value: bigint;
1343
+ recipient: `0x${string}`;
1344
+ };
1345
+ } | {
1346
+ eventName: "NetworkFeeUpdated";
1347
+ args: {
1348
+ oldFee: bigint;
1349
+ newFee: bigint;
1350
+ };
1351
+ } | {
1352
+ eventName: "OperatorAdded";
1353
+ args: {
1354
+ operatorId: bigint;
1355
+ owner: `0x${string}`;
1356
+ publicKey: `0x${string}`;
1357
+ fee: bigint;
1358
+ };
1359
+ } | {
1360
+ eventName: "OperatorFeeDeclarationCancelled";
1361
+ args: {
1362
+ owner: `0x${string}`;
1363
+ operatorId: bigint;
1364
+ };
1365
+ } | {
1366
+ eventName: "OperatorFeeDeclared";
1367
+ args: {
1368
+ owner: `0x${string}`;
1369
+ operatorId: bigint;
1370
+ blockNumber: bigint;
1371
+ fee: bigint;
1372
+ };
1373
+ } | {
1374
+ eventName: "OperatorFeeExecuted";
1375
+ args: {
1376
+ owner: `0x${string}`;
1377
+ operatorId: bigint;
1378
+ blockNumber: bigint;
1379
+ fee: bigint;
1380
+ };
1381
+ } | {
1382
+ eventName: "OperatorFeeIncreaseLimitUpdated";
1383
+ args: {
1384
+ value: bigint;
1385
+ };
1386
+ } | {
1387
+ eventName: "OperatorMaximumFeeUpdated";
1388
+ args: {
1389
+ maxFee: bigint;
1390
+ };
1391
+ } | {
1392
+ eventName: "OperatorMultipleWhitelistRemoved";
1393
+ args: {
1394
+ operatorIds: readonly bigint[];
1395
+ whitelistAddresses: readonly `0x${string}`[];
1396
+ };
1397
+ } | {
1398
+ eventName: "OperatorMultipleWhitelistUpdated";
1399
+ args: {
1400
+ operatorIds: readonly bigint[];
1401
+ whitelistAddresses: readonly `0x${string}`[];
1402
+ };
1403
+ } | {
1404
+ eventName: "OperatorPrivacyStatusUpdated";
1405
+ args: {
1406
+ operatorIds: readonly bigint[];
1407
+ toPrivate: boolean;
1408
+ };
1409
+ } | {
1410
+ eventName: "OperatorRemoved";
1411
+ args: {
1412
+ operatorId: bigint;
1413
+ };
1414
+ } | {
1415
+ eventName: "OperatorWhitelistUpdated";
1416
+ args: {
1417
+ operatorId: bigint;
1418
+ whitelisted: `0x${string}`;
1419
+ };
1420
+ } | {
1421
+ eventName: "OperatorWhitelistingContractUpdated";
1422
+ args: {
1423
+ operatorIds: readonly bigint[];
1424
+ whitelistingContract: `0x${string}`;
1425
+ };
1426
+ } | {
1427
+ eventName: "OperatorWithdrawn";
1428
+ args: {
1429
+ owner: `0x${string}`;
1430
+ operatorId: bigint;
1431
+ value: bigint;
1432
+ };
1433
+ } | {
1434
+ eventName: "ValidatorAdded";
1435
+ args: {
1436
+ owner: `0x${string}`;
1437
+ operatorIds: readonly bigint[];
1438
+ publicKey: `0x${string}`;
1439
+ shares: `0x${string}`;
1440
+ cluster: {
1441
+ validatorCount: number;
1442
+ networkFeeIndex: bigint;
1443
+ index: bigint;
1444
+ active: boolean;
1445
+ balance: bigint;
1446
+ };
1447
+ };
1448
+ } | {
1449
+ eventName: "ValidatorExited";
1450
+ args: {
1451
+ owner: `0x${string}`;
1452
+ operatorIds: readonly bigint[];
1453
+ publicKey: `0x${string}`;
1454
+ };
1455
+ } | {
1456
+ eventName: "ValidatorRemoved";
1457
+ args: {
1458
+ owner: `0x${string}`;
1459
+ operatorIds: readonly bigint[];
1460
+ publicKey: `0x${string}`;
1461
+ cluster: {
1462
+ validatorCount: number;
1463
+ networkFeeIndex: bigint;
1464
+ index: bigint;
1465
+ active: boolean;
1466
+ balance: bigint;
1467
+ };
1468
+ };
1469
+ } | {
1470
+ eventName: "OwnershipTransferred";
1471
+ args: {
1472
+ previousOwner: `0x${string}`;
1473
+ newOwner: `0x${string}`;
1474
+ };
1475
+ } | {
1476
+ eventName: "Approval";
1477
+ args: {
1478
+ owner: `0x${string}`;
1479
+ spender: `0x${string}`;
1480
+ value: bigint;
1481
+ };
1482
+ } | {
1483
+ eventName: "Transfer";
1484
+ args: {
1485
+ from: `0x${string}`;
1486
+ to: `0x${string}`;
1487
+ value: bigint;
1488
+ };
1489
+ }>;
1490
+ simulate: (props: {
1491
+ args: {
1492
+ operatorIds: readonly bigint[];
1493
+ whitelistAddresses: readonly `0x${string}`[];
1494
+ };
1495
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
1496
+ nonce?: number | undefined;
1497
+ blockNumber?: bigint | undefined;
1498
+ gas?: bigint | undefined;
1499
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1500
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1501
+ kzg?: import('viem').Kzg | undefined;
1502
+ gasPrice?: bigint | undefined;
1503
+ maxFeePerBlobGas?: bigint | undefined;
1504
+ maxFeePerGas?: bigint | undefined;
1505
+ maxPriorityFeePerGas?: bigint | undefined;
1506
+ accessList?: import('viem').AccessList | undefined;
1507
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
1508
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
1509
+ blockTag?: import('viem').BlockTag | undefined;
1510
+ stateOverride?: import('viem').StateOverride | undefined;
1511
+ dataSuffix?: `0x${string}` | undefined;
1512
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "removeOperatorsWhitelists">;
1513
+ };
1514
+ setOperatorsPrivate: {
1515
+ (props: {
1516
+ args: {
1517
+ operatorIds: readonly bigint[];
1518
+ };
1519
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
1520
+ nonce?: number | undefined;
1521
+ blockNumber?: bigint | undefined;
1522
+ gas?: bigint | undefined;
1523
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1524
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1525
+ kzg?: import('viem').Kzg | undefined;
1526
+ gasPrice?: bigint | undefined;
1527
+ maxFeePerBlobGas?: bigint | undefined;
1528
+ maxFeePerGas?: bigint | undefined;
1529
+ maxPriorityFeePerGas?: bigint | undefined;
1530
+ accessList?: import('viem').AccessList | undefined;
1531
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
1532
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
1533
+ blockTag?: import('viem').BlockTag | undefined;
1534
+ stateOverride?: import('viem').StateOverride | undefined;
1535
+ dataSuffix?: `0x${string}` | undefined;
1536
+ }): import('../../contract-interactions/types').WriteReturnType<{
1537
+ eventName: "AdminChanged";
1538
+ args: {
1539
+ previousAdmin: `0x${string}`;
1540
+ newAdmin: `0x${string}`;
1541
+ };
1542
+ } | {
1543
+ eventName: "BeaconUpgraded";
1544
+ args: {
1545
+ beacon: `0x${string}`;
1546
+ };
1547
+ } | {
1548
+ eventName: "Initialized";
1549
+ args: {
1550
+ version: number;
1551
+ };
1552
+ } | {
1553
+ eventName: "OwnershipTransferStarted";
1554
+ args: {
1555
+ previousOwner: `0x${string}`;
1556
+ newOwner: `0x${string}`;
1557
+ };
1558
+ } | {
1559
+ eventName: "OwnershipTransferred";
1560
+ args: {
1561
+ previousOwner: `0x${string}`;
1562
+ newOwner: `0x${string}`;
1563
+ };
1564
+ } | {
1565
+ eventName: "Upgraded";
1566
+ args: {
1567
+ implementation: `0x${string}`;
1568
+ };
1569
+ } | {
1570
+ eventName: "ClusterDeposited";
1571
+ args: {
1572
+ owner: `0x${string}`;
1573
+ operatorIds: readonly bigint[];
1574
+ value: bigint;
1575
+ cluster: {
1576
+ validatorCount: number;
1577
+ networkFeeIndex: bigint;
1578
+ index: bigint;
1579
+ active: boolean;
1580
+ balance: bigint;
1581
+ };
1582
+ };
1583
+ } | {
1584
+ eventName: "ClusterLiquidated";
1585
+ args: {
1586
+ owner: `0x${string}`;
1587
+ operatorIds: readonly bigint[];
1588
+ cluster: {
1589
+ validatorCount: number;
1590
+ networkFeeIndex: bigint;
1591
+ index: bigint;
1592
+ active: boolean;
1593
+ balance: bigint;
1594
+ };
1595
+ };
1596
+ } | {
1597
+ eventName: "ClusterReactivated";
1598
+ args: {
1599
+ owner: `0x${string}`;
1600
+ operatorIds: readonly bigint[];
1601
+ cluster: {
1602
+ validatorCount: number;
1603
+ networkFeeIndex: bigint;
1604
+ index: bigint;
1605
+ active: boolean;
1606
+ balance: bigint;
1607
+ };
1608
+ };
1609
+ } | {
1610
+ eventName: "ClusterWithdrawn";
1611
+ args: {
1612
+ owner: `0x${string}`;
1613
+ operatorIds: readonly bigint[];
1614
+ value: bigint;
1615
+ cluster: {
1616
+ validatorCount: number;
1617
+ networkFeeIndex: bigint;
1618
+ index: bigint;
1619
+ active: boolean;
1620
+ balance: bigint;
1621
+ };
1622
+ };
1623
+ } | {
1624
+ eventName: "DeclareOperatorFeePeriodUpdated";
1625
+ args: {
1626
+ value: bigint;
1627
+ };
1628
+ } | {
1629
+ eventName: "ExecuteOperatorFeePeriodUpdated";
1630
+ args: {
1631
+ value: bigint;
1632
+ };
1633
+ } | {
1634
+ eventName: "FeeRecipientAddressUpdated";
1635
+ args: {
1636
+ owner: `0x${string}`;
1637
+ recipientAddress: `0x${string}`;
1638
+ };
1639
+ } | {
1640
+ eventName: "LiquidationThresholdPeriodUpdated";
1641
+ args: {
1642
+ value: bigint;
1643
+ };
1644
+ } | {
1645
+ eventName: "MinimumLiquidationCollateralUpdated";
1646
+ args: {
1647
+ value: bigint;
1648
+ };
1649
+ } | {
1650
+ eventName: "ModuleUpgraded";
1651
+ args: {
1652
+ moduleId: number;
1653
+ moduleAddress: `0x${string}`;
1654
+ };
1655
+ } | {
1656
+ eventName: "NetworkEarningsWithdrawn";
1657
+ args: {
1658
+ value: bigint;
1659
+ recipient: `0x${string}`;
1660
+ };
1661
+ } | {
1662
+ eventName: "NetworkFeeUpdated";
1663
+ args: {
1664
+ oldFee: bigint;
1665
+ newFee: bigint;
1666
+ };
1667
+ } | {
1668
+ eventName: "OperatorAdded";
1669
+ args: {
1670
+ operatorId: bigint;
1671
+ owner: `0x${string}`;
1672
+ publicKey: `0x${string}`;
1673
+ fee: bigint;
1674
+ };
1675
+ } | {
1676
+ eventName: "OperatorFeeDeclarationCancelled";
1677
+ args: {
1678
+ owner: `0x${string}`;
1679
+ operatorId: bigint;
1680
+ };
1681
+ } | {
1682
+ eventName: "OperatorFeeDeclared";
1683
+ args: {
1684
+ owner: `0x${string}`;
1685
+ operatorId: bigint;
1686
+ blockNumber: bigint;
1687
+ fee: bigint;
1688
+ };
1689
+ } | {
1690
+ eventName: "OperatorFeeExecuted";
1691
+ args: {
1692
+ owner: `0x${string}`;
1693
+ operatorId: bigint;
1694
+ blockNumber: bigint;
1695
+ fee: bigint;
1696
+ };
1697
+ } | {
1698
+ eventName: "OperatorFeeIncreaseLimitUpdated";
1699
+ args: {
1700
+ value: bigint;
1701
+ };
1702
+ } | {
1703
+ eventName: "OperatorMaximumFeeUpdated";
1704
+ args: {
1705
+ maxFee: bigint;
1706
+ };
1707
+ } | {
1708
+ eventName: "OperatorMultipleWhitelistRemoved";
1709
+ args: {
1710
+ operatorIds: readonly bigint[];
1711
+ whitelistAddresses: readonly `0x${string}`[];
1712
+ };
1713
+ } | {
1714
+ eventName: "OperatorMultipleWhitelistUpdated";
1715
+ args: {
1716
+ operatorIds: readonly bigint[];
1717
+ whitelistAddresses: readonly `0x${string}`[];
1718
+ };
1719
+ } | {
1720
+ eventName: "OperatorPrivacyStatusUpdated";
1721
+ args: {
1722
+ operatorIds: readonly bigint[];
1723
+ toPrivate: boolean;
1724
+ };
1725
+ } | {
1726
+ eventName: "OperatorRemoved";
1727
+ args: {
1728
+ operatorId: bigint;
1729
+ };
1730
+ } | {
1731
+ eventName: "OperatorWhitelistUpdated";
1732
+ args: {
1733
+ operatorId: bigint;
1734
+ whitelisted: `0x${string}`;
1735
+ };
1736
+ } | {
1737
+ eventName: "OperatorWhitelistingContractUpdated";
1738
+ args: {
1739
+ operatorIds: readonly bigint[];
1740
+ whitelistingContract: `0x${string}`;
1741
+ };
1742
+ } | {
1743
+ eventName: "OperatorWithdrawn";
1744
+ args: {
1745
+ owner: `0x${string}`;
1746
+ operatorId: bigint;
1747
+ value: bigint;
1748
+ };
1749
+ } | {
1750
+ eventName: "ValidatorAdded";
1751
+ args: {
1752
+ owner: `0x${string}`;
1753
+ operatorIds: readonly bigint[];
1754
+ publicKey: `0x${string}`;
1755
+ shares: `0x${string}`;
1756
+ cluster: {
1757
+ validatorCount: number;
1758
+ networkFeeIndex: bigint;
1759
+ index: bigint;
1760
+ active: boolean;
1761
+ balance: bigint;
1762
+ };
1763
+ };
1764
+ } | {
1765
+ eventName: "ValidatorExited";
1766
+ args: {
1767
+ owner: `0x${string}`;
1768
+ operatorIds: readonly bigint[];
1769
+ publicKey: `0x${string}`;
1770
+ };
1771
+ } | {
1772
+ eventName: "ValidatorRemoved";
1773
+ args: {
1774
+ owner: `0x${string}`;
1775
+ operatorIds: readonly bigint[];
1776
+ publicKey: `0x${string}`;
1777
+ cluster: {
1778
+ validatorCount: number;
1779
+ networkFeeIndex: bigint;
1780
+ index: bigint;
1781
+ active: boolean;
1782
+ balance: bigint;
1783
+ };
1784
+ };
1785
+ } | {
1786
+ eventName: "OwnershipTransferred";
1787
+ args: {
1788
+ previousOwner: `0x${string}`;
1789
+ newOwner: `0x${string}`;
1790
+ };
1791
+ } | {
1792
+ eventName: "Approval";
1793
+ args: {
1794
+ owner: `0x${string}`;
1795
+ spender: `0x${string}`;
1796
+ value: bigint;
1797
+ };
1798
+ } | {
1799
+ eventName: "Transfer";
1800
+ args: {
1801
+ from: `0x${string}`;
1802
+ to: `0x${string}`;
1803
+ value: bigint;
1804
+ };
1805
+ }>;
1806
+ simulate: (props: {
1807
+ args: {
1808
+ operatorIds: readonly bigint[];
1809
+ };
1810
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
1811
+ nonce?: number | undefined;
1812
+ blockNumber?: bigint | undefined;
1813
+ gas?: bigint | undefined;
1814
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1815
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1816
+ kzg?: import('viem').Kzg | undefined;
1817
+ gasPrice?: bigint | undefined;
1818
+ maxFeePerBlobGas?: bigint | undefined;
1819
+ maxFeePerGas?: bigint | undefined;
1820
+ maxPriorityFeePerGas?: bigint | undefined;
1821
+ accessList?: import('viem').AccessList | undefined;
1822
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
1823
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
1824
+ blockTag?: import('viem').BlockTag | undefined;
1825
+ stateOverride?: import('viem').StateOverride | undefined;
1826
+ dataSuffix?: `0x${string}` | undefined;
1827
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "setOperatorsPrivateUnchecked">;
1828
+ };
1829
+ setOperatorsPublic: {
1830
+ (props: {
1831
+ args: {
1832
+ operatorIds: readonly bigint[];
1833
+ };
1834
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
1835
+ nonce?: number | undefined;
1836
+ blockNumber?: bigint | undefined;
1837
+ gas?: bigint | undefined;
1838
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1839
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1840
+ kzg?: import('viem').Kzg | undefined;
1841
+ gasPrice?: bigint | undefined;
1842
+ maxFeePerBlobGas?: bigint | undefined;
1843
+ maxFeePerGas?: bigint | undefined;
1844
+ maxPriorityFeePerGas?: bigint | undefined;
1845
+ accessList?: import('viem').AccessList | undefined;
1846
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
1847
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
1848
+ blockTag?: import('viem').BlockTag | undefined;
1849
+ stateOverride?: import('viem').StateOverride | undefined;
1850
+ dataSuffix?: `0x${string}` | undefined;
1851
+ }): import('../../contract-interactions/types').WriteReturnType<{
1852
+ eventName: "AdminChanged";
1853
+ args: {
1854
+ previousAdmin: `0x${string}`;
1855
+ newAdmin: `0x${string}`;
1856
+ };
1857
+ } | {
1858
+ eventName: "BeaconUpgraded";
1859
+ args: {
1860
+ beacon: `0x${string}`;
1861
+ };
1862
+ } | {
1863
+ eventName: "Initialized";
1864
+ args: {
1865
+ version: number;
1866
+ };
1867
+ } | {
1868
+ eventName: "OwnershipTransferStarted";
1869
+ args: {
1870
+ previousOwner: `0x${string}`;
1871
+ newOwner: `0x${string}`;
1872
+ };
1873
+ } | {
1874
+ eventName: "OwnershipTransferred";
1875
+ args: {
1876
+ previousOwner: `0x${string}`;
1877
+ newOwner: `0x${string}`;
1878
+ };
1879
+ } | {
1880
+ eventName: "Upgraded";
1881
+ args: {
1882
+ implementation: `0x${string}`;
1883
+ };
1884
+ } | {
1885
+ eventName: "ClusterDeposited";
1886
+ args: {
1887
+ owner: `0x${string}`;
1888
+ operatorIds: readonly bigint[];
1889
+ value: bigint;
1890
+ cluster: {
1891
+ validatorCount: number;
1892
+ networkFeeIndex: bigint;
1893
+ index: bigint;
1894
+ active: boolean;
1895
+ balance: bigint;
1896
+ };
1897
+ };
1898
+ } | {
1899
+ eventName: "ClusterLiquidated";
1900
+ args: {
1901
+ owner: `0x${string}`;
1902
+ operatorIds: readonly bigint[];
1903
+ cluster: {
1904
+ validatorCount: number;
1905
+ networkFeeIndex: bigint;
1906
+ index: bigint;
1907
+ active: boolean;
1908
+ balance: bigint;
1909
+ };
1910
+ };
1911
+ } | {
1912
+ eventName: "ClusterReactivated";
1913
+ args: {
1914
+ owner: `0x${string}`;
1915
+ operatorIds: readonly bigint[];
1916
+ cluster: {
1917
+ validatorCount: number;
1918
+ networkFeeIndex: bigint;
1919
+ index: bigint;
1920
+ active: boolean;
1921
+ balance: bigint;
1922
+ };
1923
+ };
1924
+ } | {
1925
+ eventName: "ClusterWithdrawn";
1926
+ args: {
1927
+ owner: `0x${string}`;
1928
+ operatorIds: readonly bigint[];
1929
+ value: bigint;
1930
+ cluster: {
1931
+ validatorCount: number;
1932
+ networkFeeIndex: bigint;
1933
+ index: bigint;
1934
+ active: boolean;
1935
+ balance: bigint;
1936
+ };
1937
+ };
1938
+ } | {
1939
+ eventName: "DeclareOperatorFeePeriodUpdated";
1940
+ args: {
1941
+ value: bigint;
1942
+ };
1943
+ } | {
1944
+ eventName: "ExecuteOperatorFeePeriodUpdated";
1945
+ args: {
1946
+ value: bigint;
1947
+ };
1948
+ } | {
1949
+ eventName: "FeeRecipientAddressUpdated";
1950
+ args: {
1951
+ owner: `0x${string}`;
1952
+ recipientAddress: `0x${string}`;
1953
+ };
1954
+ } | {
1955
+ eventName: "LiquidationThresholdPeriodUpdated";
1956
+ args: {
1957
+ value: bigint;
1958
+ };
1959
+ } | {
1960
+ eventName: "MinimumLiquidationCollateralUpdated";
1961
+ args: {
1962
+ value: bigint;
1963
+ };
1964
+ } | {
1965
+ eventName: "ModuleUpgraded";
1966
+ args: {
1967
+ moduleId: number;
1968
+ moduleAddress: `0x${string}`;
1969
+ };
1970
+ } | {
1971
+ eventName: "NetworkEarningsWithdrawn";
1972
+ args: {
1973
+ value: bigint;
1974
+ recipient: `0x${string}`;
1975
+ };
1976
+ } | {
1977
+ eventName: "NetworkFeeUpdated";
1978
+ args: {
1979
+ oldFee: bigint;
1980
+ newFee: bigint;
1981
+ };
1982
+ } | {
1983
+ eventName: "OperatorAdded";
1984
+ args: {
1985
+ operatorId: bigint;
1986
+ owner: `0x${string}`;
1987
+ publicKey: `0x${string}`;
1988
+ fee: bigint;
1989
+ };
1990
+ } | {
1991
+ eventName: "OperatorFeeDeclarationCancelled";
1992
+ args: {
1993
+ owner: `0x${string}`;
1994
+ operatorId: bigint;
1995
+ };
1996
+ } | {
1997
+ eventName: "OperatorFeeDeclared";
1998
+ args: {
1999
+ owner: `0x${string}`;
2000
+ operatorId: bigint;
2001
+ blockNumber: bigint;
2002
+ fee: bigint;
2003
+ };
2004
+ } | {
2005
+ eventName: "OperatorFeeExecuted";
2006
+ args: {
2007
+ owner: `0x${string}`;
2008
+ operatorId: bigint;
2009
+ blockNumber: bigint;
2010
+ fee: bigint;
2011
+ };
2012
+ } | {
2013
+ eventName: "OperatorFeeIncreaseLimitUpdated";
2014
+ args: {
2015
+ value: bigint;
2016
+ };
2017
+ } | {
2018
+ eventName: "OperatorMaximumFeeUpdated";
2019
+ args: {
2020
+ maxFee: bigint;
2021
+ };
2022
+ } | {
2023
+ eventName: "OperatorMultipleWhitelistRemoved";
2024
+ args: {
2025
+ operatorIds: readonly bigint[];
2026
+ whitelistAddresses: readonly `0x${string}`[];
2027
+ };
2028
+ } | {
2029
+ eventName: "OperatorMultipleWhitelistUpdated";
2030
+ args: {
2031
+ operatorIds: readonly bigint[];
2032
+ whitelistAddresses: readonly `0x${string}`[];
2033
+ };
2034
+ } | {
2035
+ eventName: "OperatorPrivacyStatusUpdated";
2036
+ args: {
2037
+ operatorIds: readonly bigint[];
2038
+ toPrivate: boolean;
2039
+ };
2040
+ } | {
2041
+ eventName: "OperatorRemoved";
2042
+ args: {
2043
+ operatorId: bigint;
2044
+ };
2045
+ } | {
2046
+ eventName: "OperatorWhitelistUpdated";
2047
+ args: {
2048
+ operatorId: bigint;
2049
+ whitelisted: `0x${string}`;
2050
+ };
2051
+ } | {
2052
+ eventName: "OperatorWhitelistingContractUpdated";
2053
+ args: {
2054
+ operatorIds: readonly bigint[];
2055
+ whitelistingContract: `0x${string}`;
2056
+ };
2057
+ } | {
2058
+ eventName: "OperatorWithdrawn";
2059
+ args: {
2060
+ owner: `0x${string}`;
2061
+ operatorId: bigint;
2062
+ value: bigint;
2063
+ };
2064
+ } | {
2065
+ eventName: "ValidatorAdded";
2066
+ args: {
2067
+ owner: `0x${string}`;
2068
+ operatorIds: readonly bigint[];
2069
+ publicKey: `0x${string}`;
2070
+ shares: `0x${string}`;
2071
+ cluster: {
2072
+ validatorCount: number;
2073
+ networkFeeIndex: bigint;
2074
+ index: bigint;
2075
+ active: boolean;
2076
+ balance: bigint;
2077
+ };
2078
+ };
2079
+ } | {
2080
+ eventName: "ValidatorExited";
2081
+ args: {
2082
+ owner: `0x${string}`;
2083
+ operatorIds: readonly bigint[];
2084
+ publicKey: `0x${string}`;
2085
+ };
2086
+ } | {
2087
+ eventName: "ValidatorRemoved";
2088
+ args: {
2089
+ owner: `0x${string}`;
2090
+ operatorIds: readonly bigint[];
2091
+ publicKey: `0x${string}`;
2092
+ cluster: {
2093
+ validatorCount: number;
2094
+ networkFeeIndex: bigint;
2095
+ index: bigint;
2096
+ active: boolean;
2097
+ balance: bigint;
2098
+ };
2099
+ };
2100
+ } | {
2101
+ eventName: "OwnershipTransferred";
2102
+ args: {
2103
+ previousOwner: `0x${string}`;
2104
+ newOwner: `0x${string}`;
2105
+ };
2106
+ } | {
2107
+ eventName: "Approval";
2108
+ args: {
2109
+ owner: `0x${string}`;
2110
+ spender: `0x${string}`;
2111
+ value: bigint;
2112
+ };
2113
+ } | {
2114
+ eventName: "Transfer";
2115
+ args: {
2116
+ from: `0x${string}`;
2117
+ to: `0x${string}`;
2118
+ value: bigint;
2119
+ };
2120
+ }>;
2121
+ simulate: (props: {
2122
+ args: {
2123
+ operatorIds: readonly bigint[];
2124
+ };
2125
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
2126
+ nonce?: number | undefined;
2127
+ blockNumber?: bigint | undefined;
2128
+ gas?: bigint | undefined;
2129
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
2130
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2131
+ kzg?: import('viem').Kzg | undefined;
2132
+ gasPrice?: bigint | undefined;
2133
+ maxFeePerBlobGas?: bigint | undefined;
2134
+ maxFeePerGas?: bigint | undefined;
2135
+ maxPriorityFeePerGas?: bigint | undefined;
2136
+ accessList?: import('viem').AccessList | undefined;
2137
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
2138
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
2139
+ blockTag?: import('viem').BlockTag | undefined;
2140
+ stateOverride?: import('viem').StateOverride | undefined;
2141
+ dataSuffix?: `0x${string}` | undefined;
2142
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "setOperatorsPublicUnchecked">;
2143
+ };
2144
+ setOperatorWhitelistingContract: RemoveConfigArg<(config: ConfigReturnType, { args: { operatorIds, contractAddress }, ...writeOptions }: Omit<import('viem').SimulateContractParameters, "address" | "value" | "account" | "args" | "chain" | "abi" | "functionName"> & {
2145
+ args: {
2146
+ operatorIds: string[];
2147
+ contractAddress: `0x${string}`;
2148
+ };
2149
+ }) => Promise<{
2150
+ hash: `0x${string}`;
2151
+ wait: () => Promise<import('viem').TransactionReceipt & {
2152
+ events: ({
2153
+ eventName: "AdminChanged";
2154
+ args: {
2155
+ previousAdmin: `0x${string}`;
2156
+ newAdmin: `0x${string}`;
2157
+ };
2158
+ } | {
2159
+ eventName: "BeaconUpgraded";
2160
+ args: {
2161
+ beacon: `0x${string}`;
2162
+ };
2163
+ } | {
2164
+ eventName: "Initialized";
2165
+ args: {
2166
+ version: number;
2167
+ };
2168
+ } | {
2169
+ eventName: "OwnershipTransferStarted";
2170
+ args: {
2171
+ previousOwner: `0x${string}`;
2172
+ newOwner: `0x${string}`;
2173
+ };
2174
+ } | {
2175
+ eventName: "OwnershipTransferred";
2176
+ args: {
2177
+ previousOwner: `0x${string}`;
2178
+ newOwner: `0x${string}`;
2179
+ };
2180
+ } | {
2181
+ eventName: "Upgraded";
2182
+ args: {
2183
+ implementation: `0x${string}`;
2184
+ };
2185
+ } | {
2186
+ eventName: "ClusterDeposited";
2187
+ args: {
2188
+ owner: `0x${string}`;
2189
+ operatorIds: readonly bigint[];
2190
+ value: bigint;
2191
+ cluster: {
2192
+ validatorCount: number;
2193
+ networkFeeIndex: bigint;
2194
+ index: bigint;
2195
+ active: boolean;
2196
+ balance: bigint;
2197
+ };
2198
+ };
2199
+ } | {
2200
+ eventName: "ClusterLiquidated";
2201
+ args: {
2202
+ owner: `0x${string}`;
2203
+ operatorIds: readonly bigint[];
2204
+ cluster: {
2205
+ validatorCount: number;
2206
+ networkFeeIndex: bigint;
2207
+ index: bigint;
2208
+ active: boolean;
2209
+ balance: bigint;
2210
+ };
2211
+ };
2212
+ } | {
2213
+ eventName: "ClusterReactivated";
2214
+ args: {
2215
+ owner: `0x${string}`;
2216
+ operatorIds: readonly bigint[];
2217
+ cluster: {
2218
+ validatorCount: number;
2219
+ networkFeeIndex: bigint;
2220
+ index: bigint;
2221
+ active: boolean;
2222
+ balance: bigint;
2223
+ };
2224
+ };
2225
+ } | {
2226
+ eventName: "ClusterWithdrawn";
2227
+ args: {
2228
+ owner: `0x${string}`;
2229
+ operatorIds: readonly bigint[];
2230
+ value: bigint;
2231
+ cluster: {
2232
+ validatorCount: number;
2233
+ networkFeeIndex: bigint;
2234
+ index: bigint;
2235
+ active: boolean;
2236
+ balance: bigint;
2237
+ };
2238
+ };
2239
+ } | {
2240
+ eventName: "DeclareOperatorFeePeriodUpdated";
2241
+ args: {
2242
+ value: bigint;
2243
+ };
2244
+ } | {
2245
+ eventName: "ExecuteOperatorFeePeriodUpdated";
2246
+ args: {
2247
+ value: bigint;
2248
+ };
2249
+ } | {
2250
+ eventName: "FeeRecipientAddressUpdated";
2251
+ args: {
2252
+ owner: `0x${string}`;
2253
+ recipientAddress: `0x${string}`;
2254
+ };
2255
+ } | {
2256
+ eventName: "LiquidationThresholdPeriodUpdated";
2257
+ args: {
2258
+ value: bigint;
2259
+ };
2260
+ } | {
2261
+ eventName: "MinimumLiquidationCollateralUpdated";
2262
+ args: {
2263
+ value: bigint;
2264
+ };
2265
+ } | {
2266
+ eventName: "ModuleUpgraded";
2267
+ args: {
2268
+ moduleId: number;
2269
+ moduleAddress: `0x${string}`;
2270
+ };
2271
+ } | {
2272
+ eventName: "NetworkEarningsWithdrawn";
2273
+ args: {
2274
+ value: bigint;
2275
+ recipient: `0x${string}`;
2276
+ };
2277
+ } | {
2278
+ eventName: "NetworkFeeUpdated";
2279
+ args: {
2280
+ oldFee: bigint;
2281
+ newFee: bigint;
2282
+ };
2283
+ } | {
2284
+ eventName: "OperatorAdded";
2285
+ args: {
2286
+ operatorId: bigint;
2287
+ owner: `0x${string}`;
2288
+ publicKey: `0x${string}`;
2289
+ fee: bigint;
2290
+ };
2291
+ } | {
2292
+ eventName: "OperatorFeeDeclarationCancelled";
2293
+ args: {
2294
+ owner: `0x${string}`;
2295
+ operatorId: bigint;
2296
+ };
2297
+ } | {
2298
+ eventName: "OperatorFeeDeclared";
2299
+ args: {
2300
+ owner: `0x${string}`;
2301
+ operatorId: bigint;
2302
+ blockNumber: bigint;
2303
+ fee: bigint;
2304
+ };
2305
+ } | {
2306
+ eventName: "OperatorFeeExecuted";
2307
+ args: {
2308
+ owner: `0x${string}`;
2309
+ operatorId: bigint;
2310
+ blockNumber: bigint;
2311
+ fee: bigint;
2312
+ };
2313
+ } | {
2314
+ eventName: "OperatorFeeIncreaseLimitUpdated";
2315
+ args: {
2316
+ value: bigint;
2317
+ };
2318
+ } | {
2319
+ eventName: "OperatorMaximumFeeUpdated";
2320
+ args: {
2321
+ maxFee: bigint;
2322
+ };
2323
+ } | {
2324
+ eventName: "OperatorMultipleWhitelistRemoved";
2325
+ args: {
2326
+ operatorIds: readonly bigint[];
2327
+ whitelistAddresses: readonly `0x${string}`[];
2328
+ };
2329
+ } | {
2330
+ eventName: "OperatorMultipleWhitelistUpdated";
2331
+ args: {
2332
+ operatorIds: readonly bigint[];
2333
+ whitelistAddresses: readonly `0x${string}`[];
2334
+ };
2335
+ } | {
2336
+ eventName: "OperatorPrivacyStatusUpdated";
2337
+ args: {
2338
+ operatorIds: readonly bigint[];
2339
+ toPrivate: boolean;
2340
+ };
2341
+ } | {
2342
+ eventName: "OperatorRemoved";
2343
+ args: {
2344
+ operatorId: bigint;
2345
+ };
2346
+ } | {
2347
+ eventName: "OperatorWhitelistUpdated";
2348
+ args: {
2349
+ operatorId: bigint;
2350
+ whitelisted: `0x${string}`;
2351
+ };
2352
+ } | {
2353
+ eventName: "OperatorWhitelistingContractUpdated";
2354
+ args: {
2355
+ operatorIds: readonly bigint[];
2356
+ whitelistingContract: `0x${string}`;
2357
+ };
2358
+ } | {
2359
+ eventName: "OperatorWithdrawn";
2360
+ args: {
2361
+ owner: `0x${string}`;
2362
+ operatorId: bigint;
2363
+ value: bigint;
2364
+ };
2365
+ } | {
2366
+ eventName: "ValidatorAdded";
2367
+ args: {
2368
+ owner: `0x${string}`;
2369
+ operatorIds: readonly bigint[];
2370
+ publicKey: `0x${string}`;
2371
+ shares: `0x${string}`;
2372
+ cluster: {
2373
+ validatorCount: number;
2374
+ networkFeeIndex: bigint;
2375
+ index: bigint;
2376
+ active: boolean;
2377
+ balance: bigint;
2378
+ };
2379
+ };
2380
+ } | {
2381
+ eventName: "ValidatorExited";
2382
+ args: {
2383
+ owner: `0x${string}`;
2384
+ operatorIds: readonly bigint[];
2385
+ publicKey: `0x${string}`;
2386
+ };
2387
+ } | {
2388
+ eventName: "ValidatorRemoved";
2389
+ args: {
2390
+ owner: `0x${string}`;
2391
+ operatorIds: readonly bigint[];
2392
+ publicKey: `0x${string}`;
2393
+ cluster: {
2394
+ validatorCount: number;
2395
+ networkFeeIndex: bigint;
2396
+ index: bigint;
2397
+ active: boolean;
2398
+ balance: bigint;
2399
+ };
2400
+ };
2401
+ } | {
2402
+ eventName: "OwnershipTransferred";
2403
+ args: {
2404
+ previousOwner: `0x${string}`;
2405
+ newOwner: `0x${string}`;
2406
+ };
2407
+ } | {
2408
+ eventName: "Approval";
2409
+ args: {
2410
+ owner: `0x${string}`;
2411
+ spender: `0x${string}`;
2412
+ value: bigint;
2413
+ };
2414
+ } | {
2415
+ eventName: "Transfer";
2416
+ args: {
2417
+ from: `0x${string}`;
2418
+ to: `0x${string}`;
2419
+ value: bigint;
2420
+ };
2421
+ })[];
2422
+ }>;
2423
+ }>>;
2424
+ removeOperatorWhitelistingContract: {
2425
+ (props: {
2426
+ args: {
2427
+ operatorIds: readonly bigint[];
2428
+ whitelistAddresses: readonly `0x${string}`[];
2429
+ };
2430
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
2431
+ nonce?: number | undefined;
2432
+ blockNumber?: bigint | undefined;
2433
+ gas?: bigint | undefined;
2434
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
2435
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2436
+ kzg?: import('viem').Kzg | undefined;
2437
+ gasPrice?: bigint | undefined;
2438
+ maxFeePerBlobGas?: bigint | undefined;
2439
+ maxFeePerGas?: bigint | undefined;
2440
+ maxPriorityFeePerGas?: bigint | undefined;
2441
+ accessList?: import('viem').AccessList | undefined;
2442
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
2443
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
2444
+ blockTag?: import('viem').BlockTag | undefined;
2445
+ stateOverride?: import('viem').StateOverride | undefined;
2446
+ dataSuffix?: `0x${string}` | undefined;
2447
+ }): import('../../contract-interactions/types').WriteReturnType<{
2448
+ eventName: "AdminChanged";
2449
+ args: {
2450
+ previousAdmin: `0x${string}`;
2451
+ newAdmin: `0x${string}`;
2452
+ };
2453
+ } | {
2454
+ eventName: "BeaconUpgraded";
2455
+ args: {
2456
+ beacon: `0x${string}`;
2457
+ };
2458
+ } | {
2459
+ eventName: "Initialized";
2460
+ args: {
2461
+ version: number;
2462
+ };
2463
+ } | {
2464
+ eventName: "OwnershipTransferStarted";
2465
+ args: {
2466
+ previousOwner: `0x${string}`;
2467
+ newOwner: `0x${string}`;
2468
+ };
2469
+ } | {
2470
+ eventName: "OwnershipTransferred";
2471
+ args: {
2472
+ previousOwner: `0x${string}`;
2473
+ newOwner: `0x${string}`;
2474
+ };
2475
+ } | {
2476
+ eventName: "Upgraded";
2477
+ args: {
2478
+ implementation: `0x${string}`;
2479
+ };
2480
+ } | {
2481
+ eventName: "ClusterDeposited";
2482
+ args: {
2483
+ owner: `0x${string}`;
2484
+ operatorIds: readonly bigint[];
2485
+ value: bigint;
2486
+ cluster: {
2487
+ validatorCount: number;
2488
+ networkFeeIndex: bigint;
2489
+ index: bigint;
2490
+ active: boolean;
2491
+ balance: bigint;
2492
+ };
2493
+ };
2494
+ } | {
2495
+ eventName: "ClusterLiquidated";
2496
+ args: {
2497
+ owner: `0x${string}`;
2498
+ operatorIds: readonly bigint[];
2499
+ cluster: {
2500
+ validatorCount: number;
2501
+ networkFeeIndex: bigint;
2502
+ index: bigint;
2503
+ active: boolean;
2504
+ balance: bigint;
2505
+ };
2506
+ };
2507
+ } | {
2508
+ eventName: "ClusterReactivated";
2509
+ args: {
2510
+ owner: `0x${string}`;
2511
+ operatorIds: readonly bigint[];
2512
+ cluster: {
2513
+ validatorCount: number;
2514
+ networkFeeIndex: bigint;
2515
+ index: bigint;
2516
+ active: boolean;
2517
+ balance: bigint;
2518
+ };
2519
+ };
2520
+ } | {
2521
+ eventName: "ClusterWithdrawn";
2522
+ args: {
2523
+ owner: `0x${string}`;
2524
+ operatorIds: readonly bigint[];
2525
+ value: bigint;
2526
+ cluster: {
2527
+ validatorCount: number;
2528
+ networkFeeIndex: bigint;
2529
+ index: bigint;
2530
+ active: boolean;
2531
+ balance: bigint;
2532
+ };
2533
+ };
2534
+ } | {
2535
+ eventName: "DeclareOperatorFeePeriodUpdated";
2536
+ args: {
2537
+ value: bigint;
2538
+ };
2539
+ } | {
2540
+ eventName: "ExecuteOperatorFeePeriodUpdated";
2541
+ args: {
2542
+ value: bigint;
2543
+ };
2544
+ } | {
2545
+ eventName: "FeeRecipientAddressUpdated";
2546
+ args: {
2547
+ owner: `0x${string}`;
2548
+ recipientAddress: `0x${string}`;
2549
+ };
2550
+ } | {
2551
+ eventName: "LiquidationThresholdPeriodUpdated";
2552
+ args: {
2553
+ value: bigint;
2554
+ };
2555
+ } | {
2556
+ eventName: "MinimumLiquidationCollateralUpdated";
2557
+ args: {
2558
+ value: bigint;
2559
+ };
2560
+ } | {
2561
+ eventName: "ModuleUpgraded";
2562
+ args: {
2563
+ moduleId: number;
2564
+ moduleAddress: `0x${string}`;
2565
+ };
2566
+ } | {
2567
+ eventName: "NetworkEarningsWithdrawn";
2568
+ args: {
2569
+ value: bigint;
2570
+ recipient: `0x${string}`;
2571
+ };
2572
+ } | {
2573
+ eventName: "NetworkFeeUpdated";
2574
+ args: {
2575
+ oldFee: bigint;
2576
+ newFee: bigint;
2577
+ };
2578
+ } | {
2579
+ eventName: "OperatorAdded";
2580
+ args: {
2581
+ operatorId: bigint;
2582
+ owner: `0x${string}`;
2583
+ publicKey: `0x${string}`;
2584
+ fee: bigint;
2585
+ };
2586
+ } | {
2587
+ eventName: "OperatorFeeDeclarationCancelled";
2588
+ args: {
2589
+ owner: `0x${string}`;
2590
+ operatorId: bigint;
2591
+ };
2592
+ } | {
2593
+ eventName: "OperatorFeeDeclared";
2594
+ args: {
2595
+ owner: `0x${string}`;
2596
+ operatorId: bigint;
2597
+ blockNumber: bigint;
2598
+ fee: bigint;
2599
+ };
2600
+ } | {
2601
+ eventName: "OperatorFeeExecuted";
2602
+ args: {
2603
+ owner: `0x${string}`;
2604
+ operatorId: bigint;
2605
+ blockNumber: bigint;
2606
+ fee: bigint;
2607
+ };
2608
+ } | {
2609
+ eventName: "OperatorFeeIncreaseLimitUpdated";
2610
+ args: {
2611
+ value: bigint;
2612
+ };
2613
+ } | {
2614
+ eventName: "OperatorMaximumFeeUpdated";
2615
+ args: {
2616
+ maxFee: bigint;
2617
+ };
2618
+ } | {
2619
+ eventName: "OperatorMultipleWhitelistRemoved";
2620
+ args: {
2621
+ operatorIds: readonly bigint[];
2622
+ whitelistAddresses: readonly `0x${string}`[];
2623
+ };
2624
+ } | {
2625
+ eventName: "OperatorMultipleWhitelistUpdated";
2626
+ args: {
2627
+ operatorIds: readonly bigint[];
2628
+ whitelistAddresses: readonly `0x${string}`[];
2629
+ };
2630
+ } | {
2631
+ eventName: "OperatorPrivacyStatusUpdated";
2632
+ args: {
2633
+ operatorIds: readonly bigint[];
2634
+ toPrivate: boolean;
2635
+ };
2636
+ } | {
2637
+ eventName: "OperatorRemoved";
2638
+ args: {
2639
+ operatorId: bigint;
2640
+ };
2641
+ } | {
2642
+ eventName: "OperatorWhitelistUpdated";
2643
+ args: {
2644
+ operatorId: bigint;
2645
+ whitelisted: `0x${string}`;
2646
+ };
2647
+ } | {
2648
+ eventName: "OperatorWhitelistingContractUpdated";
2649
+ args: {
2650
+ operatorIds: readonly bigint[];
2651
+ whitelistingContract: `0x${string}`;
2652
+ };
2653
+ } | {
2654
+ eventName: "OperatorWithdrawn";
2655
+ args: {
2656
+ owner: `0x${string}`;
2657
+ operatorId: bigint;
2658
+ value: bigint;
2659
+ };
2660
+ } | {
2661
+ eventName: "ValidatorAdded";
2662
+ args: {
2663
+ owner: `0x${string}`;
2664
+ operatorIds: readonly bigint[];
2665
+ publicKey: `0x${string}`;
2666
+ shares: `0x${string}`;
2667
+ cluster: {
2668
+ validatorCount: number;
2669
+ networkFeeIndex: bigint;
2670
+ index: bigint;
2671
+ active: boolean;
2672
+ balance: bigint;
2673
+ };
2674
+ };
2675
+ } | {
2676
+ eventName: "ValidatorExited";
2677
+ args: {
2678
+ owner: `0x${string}`;
2679
+ operatorIds: readonly bigint[];
2680
+ publicKey: `0x${string}`;
2681
+ };
2682
+ } | {
2683
+ eventName: "ValidatorRemoved";
2684
+ args: {
2685
+ owner: `0x${string}`;
2686
+ operatorIds: readonly bigint[];
2687
+ publicKey: `0x${string}`;
2688
+ cluster: {
2689
+ validatorCount: number;
2690
+ networkFeeIndex: bigint;
2691
+ index: bigint;
2692
+ active: boolean;
2693
+ balance: bigint;
2694
+ };
2695
+ };
2696
+ } | {
2697
+ eventName: "OwnershipTransferred";
2698
+ args: {
2699
+ previousOwner: `0x${string}`;
2700
+ newOwner: `0x${string}`;
2701
+ };
2702
+ } | {
2703
+ eventName: "Approval";
2704
+ args: {
2705
+ owner: `0x${string}`;
2706
+ spender: `0x${string}`;
2707
+ value: bigint;
2708
+ };
2709
+ } | {
2710
+ eventName: "Transfer";
2711
+ args: {
2712
+ from: `0x${string}`;
2713
+ to: `0x${string}`;
2714
+ value: bigint;
2715
+ };
2716
+ }>;
2717
+ simulate: (props: {
2718
+ args: {
2719
+ operatorIds: readonly bigint[];
2720
+ whitelistAddresses: readonly `0x${string}`[];
2721
+ };
2722
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
2723
+ nonce?: number | undefined;
2724
+ blockNumber?: bigint | undefined;
2725
+ gas?: bigint | undefined;
2726
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
2727
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2728
+ kzg?: import('viem').Kzg | undefined;
2729
+ gasPrice?: bigint | undefined;
2730
+ maxFeePerBlobGas?: bigint | undefined;
2731
+ maxFeePerGas?: bigint | undefined;
2732
+ maxPriorityFeePerGas?: bigint | undefined;
2733
+ accessList?: import('viem').AccessList | undefined;
2734
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
2735
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
2736
+ blockTag?: import('viem').BlockTag | undefined;
2737
+ stateOverride?: import('viem').StateOverride | undefined;
2738
+ dataSuffix?: `0x${string}` | undefined;
2739
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "removeOperatorsWhitelists">;
2740
+ };
2741
+ declareOperatorFee: {
2742
+ (props: {
2743
+ args: {
2744
+ operatorId: bigint;
2745
+ fee: bigint;
2746
+ };
2747
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
2748
+ nonce?: number | undefined;
2749
+ blockNumber?: bigint | undefined;
2750
+ gas?: bigint | undefined;
2751
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
2752
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2753
+ kzg?: import('viem').Kzg | undefined;
2754
+ gasPrice?: bigint | undefined;
2755
+ maxFeePerBlobGas?: bigint | undefined;
2756
+ maxFeePerGas?: bigint | undefined;
2757
+ maxPriorityFeePerGas?: bigint | undefined;
2758
+ accessList?: import('viem').AccessList | undefined;
2759
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
2760
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
2761
+ blockTag?: import('viem').BlockTag | undefined;
2762
+ stateOverride?: import('viem').StateOverride | undefined;
2763
+ dataSuffix?: `0x${string}` | undefined;
2764
+ }): import('../../contract-interactions/types').WriteReturnType<{
2765
+ eventName: "AdminChanged";
2766
+ args: {
2767
+ previousAdmin: `0x${string}`;
2768
+ newAdmin: `0x${string}`;
2769
+ };
2770
+ } | {
2771
+ eventName: "BeaconUpgraded";
2772
+ args: {
2773
+ beacon: `0x${string}`;
2774
+ };
2775
+ } | {
2776
+ eventName: "Initialized";
2777
+ args: {
2778
+ version: number;
2779
+ };
2780
+ } | {
2781
+ eventName: "OwnershipTransferStarted";
2782
+ args: {
2783
+ previousOwner: `0x${string}`;
2784
+ newOwner: `0x${string}`;
2785
+ };
2786
+ } | {
2787
+ eventName: "OwnershipTransferred";
2788
+ args: {
2789
+ previousOwner: `0x${string}`;
2790
+ newOwner: `0x${string}`;
2791
+ };
2792
+ } | {
2793
+ eventName: "Upgraded";
2794
+ args: {
2795
+ implementation: `0x${string}`;
2796
+ };
2797
+ } | {
2798
+ eventName: "ClusterDeposited";
2799
+ args: {
2800
+ owner: `0x${string}`;
2801
+ operatorIds: readonly bigint[];
2802
+ value: bigint;
2803
+ cluster: {
2804
+ validatorCount: number;
2805
+ networkFeeIndex: bigint;
2806
+ index: bigint;
2807
+ active: boolean;
2808
+ balance: bigint;
2809
+ };
2810
+ };
2811
+ } | {
2812
+ eventName: "ClusterLiquidated";
2813
+ args: {
2814
+ owner: `0x${string}`;
2815
+ operatorIds: readonly bigint[];
2816
+ cluster: {
2817
+ validatorCount: number;
2818
+ networkFeeIndex: bigint;
2819
+ index: bigint;
2820
+ active: boolean;
2821
+ balance: bigint;
2822
+ };
2823
+ };
2824
+ } | {
2825
+ eventName: "ClusterReactivated";
2826
+ args: {
2827
+ owner: `0x${string}`;
2828
+ operatorIds: readonly bigint[];
2829
+ cluster: {
2830
+ validatorCount: number;
2831
+ networkFeeIndex: bigint;
2832
+ index: bigint;
2833
+ active: boolean;
2834
+ balance: bigint;
2835
+ };
2836
+ };
2837
+ } | {
2838
+ eventName: "ClusterWithdrawn";
2839
+ args: {
2840
+ owner: `0x${string}`;
2841
+ operatorIds: readonly bigint[];
2842
+ value: bigint;
2843
+ cluster: {
2844
+ validatorCount: number;
2845
+ networkFeeIndex: bigint;
2846
+ index: bigint;
2847
+ active: boolean;
2848
+ balance: bigint;
2849
+ };
2850
+ };
2851
+ } | {
2852
+ eventName: "DeclareOperatorFeePeriodUpdated";
2853
+ args: {
2854
+ value: bigint;
2855
+ };
2856
+ } | {
2857
+ eventName: "ExecuteOperatorFeePeriodUpdated";
2858
+ args: {
2859
+ value: bigint;
2860
+ };
2861
+ } | {
2862
+ eventName: "FeeRecipientAddressUpdated";
2863
+ args: {
2864
+ owner: `0x${string}`;
2865
+ recipientAddress: `0x${string}`;
2866
+ };
2867
+ } | {
2868
+ eventName: "LiquidationThresholdPeriodUpdated";
2869
+ args: {
2870
+ value: bigint;
2871
+ };
2872
+ } | {
2873
+ eventName: "MinimumLiquidationCollateralUpdated";
2874
+ args: {
2875
+ value: bigint;
2876
+ };
2877
+ } | {
2878
+ eventName: "ModuleUpgraded";
2879
+ args: {
2880
+ moduleId: number;
2881
+ moduleAddress: `0x${string}`;
2882
+ };
2883
+ } | {
2884
+ eventName: "NetworkEarningsWithdrawn";
2885
+ args: {
2886
+ value: bigint;
2887
+ recipient: `0x${string}`;
2888
+ };
2889
+ } | {
2890
+ eventName: "NetworkFeeUpdated";
2891
+ args: {
2892
+ oldFee: bigint;
2893
+ newFee: bigint;
2894
+ };
2895
+ } | {
2896
+ eventName: "OperatorAdded";
2897
+ args: {
2898
+ operatorId: bigint;
2899
+ owner: `0x${string}`;
2900
+ publicKey: `0x${string}`;
2901
+ fee: bigint;
2902
+ };
2903
+ } | {
2904
+ eventName: "OperatorFeeDeclarationCancelled";
2905
+ args: {
2906
+ owner: `0x${string}`;
2907
+ operatorId: bigint;
2908
+ };
2909
+ } | {
2910
+ eventName: "OperatorFeeDeclared";
2911
+ args: {
2912
+ owner: `0x${string}`;
2913
+ operatorId: bigint;
2914
+ blockNumber: bigint;
2915
+ fee: bigint;
2916
+ };
2917
+ } | {
2918
+ eventName: "OperatorFeeExecuted";
2919
+ args: {
2920
+ owner: `0x${string}`;
2921
+ operatorId: bigint;
2922
+ blockNumber: bigint;
2923
+ fee: bigint;
2924
+ };
2925
+ } | {
2926
+ eventName: "OperatorFeeIncreaseLimitUpdated";
2927
+ args: {
2928
+ value: bigint;
2929
+ };
2930
+ } | {
2931
+ eventName: "OperatorMaximumFeeUpdated";
2932
+ args: {
2933
+ maxFee: bigint;
2934
+ };
2935
+ } | {
2936
+ eventName: "OperatorMultipleWhitelistRemoved";
2937
+ args: {
2938
+ operatorIds: readonly bigint[];
2939
+ whitelistAddresses: readonly `0x${string}`[];
2940
+ };
2941
+ } | {
2942
+ eventName: "OperatorMultipleWhitelistUpdated";
2943
+ args: {
2944
+ operatorIds: readonly bigint[];
2945
+ whitelistAddresses: readonly `0x${string}`[];
2946
+ };
2947
+ } | {
2948
+ eventName: "OperatorPrivacyStatusUpdated";
2949
+ args: {
2950
+ operatorIds: readonly bigint[];
2951
+ toPrivate: boolean;
2952
+ };
2953
+ } | {
2954
+ eventName: "OperatorRemoved";
2955
+ args: {
2956
+ operatorId: bigint;
2957
+ };
2958
+ } | {
2959
+ eventName: "OperatorWhitelistUpdated";
2960
+ args: {
2961
+ operatorId: bigint;
2962
+ whitelisted: `0x${string}`;
2963
+ };
2964
+ } | {
2965
+ eventName: "OperatorWhitelistingContractUpdated";
2966
+ args: {
2967
+ operatorIds: readonly bigint[];
2968
+ whitelistingContract: `0x${string}`;
2969
+ };
2970
+ } | {
2971
+ eventName: "OperatorWithdrawn";
2972
+ args: {
2973
+ owner: `0x${string}`;
2974
+ operatorId: bigint;
2975
+ value: bigint;
2976
+ };
2977
+ } | {
2978
+ eventName: "ValidatorAdded";
2979
+ args: {
2980
+ owner: `0x${string}`;
2981
+ operatorIds: readonly bigint[];
2982
+ publicKey: `0x${string}`;
2983
+ shares: `0x${string}`;
2984
+ cluster: {
2985
+ validatorCount: number;
2986
+ networkFeeIndex: bigint;
2987
+ index: bigint;
2988
+ active: boolean;
2989
+ balance: bigint;
2990
+ };
2991
+ };
2992
+ } | {
2993
+ eventName: "ValidatorExited";
2994
+ args: {
2995
+ owner: `0x${string}`;
2996
+ operatorIds: readonly bigint[];
2997
+ publicKey: `0x${string}`;
2998
+ };
2999
+ } | {
3000
+ eventName: "ValidatorRemoved";
3001
+ args: {
3002
+ owner: `0x${string}`;
3003
+ operatorIds: readonly bigint[];
3004
+ publicKey: `0x${string}`;
3005
+ cluster: {
3006
+ validatorCount: number;
3007
+ networkFeeIndex: bigint;
3008
+ index: bigint;
3009
+ active: boolean;
3010
+ balance: bigint;
3011
+ };
3012
+ };
3013
+ } | {
3014
+ eventName: "OwnershipTransferred";
3015
+ args: {
3016
+ previousOwner: `0x${string}`;
3017
+ newOwner: `0x${string}`;
3018
+ };
3019
+ } | {
3020
+ eventName: "Approval";
3021
+ args: {
3022
+ owner: `0x${string}`;
3023
+ spender: `0x${string}`;
3024
+ value: bigint;
3025
+ };
3026
+ } | {
3027
+ eventName: "Transfer";
3028
+ args: {
3029
+ from: `0x${string}`;
3030
+ to: `0x${string}`;
3031
+ value: bigint;
3032
+ };
3033
+ }>;
3034
+ simulate: (props: {
3035
+ args: {
3036
+ operatorId: bigint;
3037
+ fee: bigint;
3038
+ };
3039
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
3040
+ nonce?: number | undefined;
3041
+ blockNumber?: bigint | undefined;
3042
+ gas?: bigint | undefined;
3043
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3044
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3045
+ kzg?: import('viem').Kzg | undefined;
3046
+ gasPrice?: bigint | undefined;
3047
+ maxFeePerBlobGas?: bigint | undefined;
3048
+ maxFeePerGas?: bigint | undefined;
3049
+ maxPriorityFeePerGas?: bigint | undefined;
3050
+ accessList?: import('viem').AccessList | undefined;
3051
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
3052
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
3053
+ blockTag?: import('viem').BlockTag | undefined;
3054
+ stateOverride?: import('viem').StateOverride | undefined;
3055
+ dataSuffix?: `0x${string}` | undefined;
3056
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "declareOperatorFee">;
3057
+ };
3058
+ executeOperatorFee: {
3059
+ (props: {
3060
+ args: {
3061
+ operatorId: bigint;
3062
+ };
3063
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
3064
+ nonce?: number | undefined;
3065
+ blockNumber?: bigint | undefined;
3066
+ gas?: bigint | undefined;
3067
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3068
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3069
+ kzg?: import('viem').Kzg | undefined;
3070
+ gasPrice?: bigint | undefined;
3071
+ maxFeePerBlobGas?: bigint | undefined;
3072
+ maxFeePerGas?: bigint | undefined;
3073
+ maxPriorityFeePerGas?: bigint | undefined;
3074
+ accessList?: import('viem').AccessList | undefined;
3075
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
3076
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
3077
+ blockTag?: import('viem').BlockTag | undefined;
3078
+ stateOverride?: import('viem').StateOverride | undefined;
3079
+ dataSuffix?: `0x${string}` | undefined;
3080
+ }): import('../../contract-interactions/types').WriteReturnType<{
3081
+ eventName: "AdminChanged";
3082
+ args: {
3083
+ previousAdmin: `0x${string}`;
3084
+ newAdmin: `0x${string}`;
3085
+ };
3086
+ } | {
3087
+ eventName: "BeaconUpgraded";
3088
+ args: {
3089
+ beacon: `0x${string}`;
3090
+ };
3091
+ } | {
3092
+ eventName: "Initialized";
3093
+ args: {
3094
+ version: number;
3095
+ };
3096
+ } | {
3097
+ eventName: "OwnershipTransferStarted";
3098
+ args: {
3099
+ previousOwner: `0x${string}`;
3100
+ newOwner: `0x${string}`;
3101
+ };
3102
+ } | {
3103
+ eventName: "OwnershipTransferred";
3104
+ args: {
3105
+ previousOwner: `0x${string}`;
3106
+ newOwner: `0x${string}`;
3107
+ };
3108
+ } | {
3109
+ eventName: "Upgraded";
3110
+ args: {
3111
+ implementation: `0x${string}`;
3112
+ };
3113
+ } | {
3114
+ eventName: "ClusterDeposited";
3115
+ args: {
3116
+ owner: `0x${string}`;
3117
+ operatorIds: readonly bigint[];
3118
+ value: bigint;
3119
+ cluster: {
3120
+ validatorCount: number;
3121
+ networkFeeIndex: bigint;
3122
+ index: bigint;
3123
+ active: boolean;
3124
+ balance: bigint;
3125
+ };
3126
+ };
3127
+ } | {
3128
+ eventName: "ClusterLiquidated";
3129
+ args: {
3130
+ owner: `0x${string}`;
3131
+ operatorIds: readonly bigint[];
3132
+ cluster: {
3133
+ validatorCount: number;
3134
+ networkFeeIndex: bigint;
3135
+ index: bigint;
3136
+ active: boolean;
3137
+ balance: bigint;
3138
+ };
3139
+ };
3140
+ } | {
3141
+ eventName: "ClusterReactivated";
3142
+ args: {
3143
+ owner: `0x${string}`;
3144
+ operatorIds: readonly bigint[];
3145
+ cluster: {
3146
+ validatorCount: number;
3147
+ networkFeeIndex: bigint;
3148
+ index: bigint;
3149
+ active: boolean;
3150
+ balance: bigint;
3151
+ };
3152
+ };
3153
+ } | {
3154
+ eventName: "ClusterWithdrawn";
3155
+ args: {
3156
+ owner: `0x${string}`;
3157
+ operatorIds: readonly bigint[];
3158
+ value: bigint;
3159
+ cluster: {
3160
+ validatorCount: number;
3161
+ networkFeeIndex: bigint;
3162
+ index: bigint;
3163
+ active: boolean;
3164
+ balance: bigint;
3165
+ };
3166
+ };
3167
+ } | {
3168
+ eventName: "DeclareOperatorFeePeriodUpdated";
3169
+ args: {
3170
+ value: bigint;
3171
+ };
3172
+ } | {
3173
+ eventName: "ExecuteOperatorFeePeriodUpdated";
3174
+ args: {
3175
+ value: bigint;
3176
+ };
3177
+ } | {
3178
+ eventName: "FeeRecipientAddressUpdated";
3179
+ args: {
3180
+ owner: `0x${string}`;
3181
+ recipientAddress: `0x${string}`;
3182
+ };
3183
+ } | {
3184
+ eventName: "LiquidationThresholdPeriodUpdated";
3185
+ args: {
3186
+ value: bigint;
3187
+ };
3188
+ } | {
3189
+ eventName: "MinimumLiquidationCollateralUpdated";
3190
+ args: {
3191
+ value: bigint;
3192
+ };
3193
+ } | {
3194
+ eventName: "ModuleUpgraded";
3195
+ args: {
3196
+ moduleId: number;
3197
+ moduleAddress: `0x${string}`;
3198
+ };
3199
+ } | {
3200
+ eventName: "NetworkEarningsWithdrawn";
3201
+ args: {
3202
+ value: bigint;
3203
+ recipient: `0x${string}`;
3204
+ };
3205
+ } | {
3206
+ eventName: "NetworkFeeUpdated";
3207
+ args: {
3208
+ oldFee: bigint;
3209
+ newFee: bigint;
3210
+ };
3211
+ } | {
3212
+ eventName: "OperatorAdded";
3213
+ args: {
3214
+ operatorId: bigint;
3215
+ owner: `0x${string}`;
3216
+ publicKey: `0x${string}`;
3217
+ fee: bigint;
3218
+ };
3219
+ } | {
3220
+ eventName: "OperatorFeeDeclarationCancelled";
3221
+ args: {
3222
+ owner: `0x${string}`;
3223
+ operatorId: bigint;
3224
+ };
3225
+ } | {
3226
+ eventName: "OperatorFeeDeclared";
3227
+ args: {
3228
+ owner: `0x${string}`;
3229
+ operatorId: bigint;
3230
+ blockNumber: bigint;
3231
+ fee: bigint;
3232
+ };
3233
+ } | {
3234
+ eventName: "OperatorFeeExecuted";
3235
+ args: {
3236
+ owner: `0x${string}`;
3237
+ operatorId: bigint;
3238
+ blockNumber: bigint;
3239
+ fee: bigint;
3240
+ };
3241
+ } | {
3242
+ eventName: "OperatorFeeIncreaseLimitUpdated";
3243
+ args: {
3244
+ value: bigint;
3245
+ };
3246
+ } | {
3247
+ eventName: "OperatorMaximumFeeUpdated";
3248
+ args: {
3249
+ maxFee: bigint;
3250
+ };
3251
+ } | {
3252
+ eventName: "OperatorMultipleWhitelistRemoved";
3253
+ args: {
3254
+ operatorIds: readonly bigint[];
3255
+ whitelistAddresses: readonly `0x${string}`[];
3256
+ };
3257
+ } | {
3258
+ eventName: "OperatorMultipleWhitelistUpdated";
3259
+ args: {
3260
+ operatorIds: readonly bigint[];
3261
+ whitelistAddresses: readonly `0x${string}`[];
3262
+ };
3263
+ } | {
3264
+ eventName: "OperatorPrivacyStatusUpdated";
3265
+ args: {
3266
+ operatorIds: readonly bigint[];
3267
+ toPrivate: boolean;
3268
+ };
3269
+ } | {
3270
+ eventName: "OperatorRemoved";
3271
+ args: {
3272
+ operatorId: bigint;
3273
+ };
3274
+ } | {
3275
+ eventName: "OperatorWhitelistUpdated";
3276
+ args: {
3277
+ operatorId: bigint;
3278
+ whitelisted: `0x${string}`;
3279
+ };
3280
+ } | {
3281
+ eventName: "OperatorWhitelistingContractUpdated";
3282
+ args: {
3283
+ operatorIds: readonly bigint[];
3284
+ whitelistingContract: `0x${string}`;
3285
+ };
3286
+ } | {
3287
+ eventName: "OperatorWithdrawn";
3288
+ args: {
3289
+ owner: `0x${string}`;
3290
+ operatorId: bigint;
3291
+ value: bigint;
3292
+ };
3293
+ } | {
3294
+ eventName: "ValidatorAdded";
3295
+ args: {
3296
+ owner: `0x${string}`;
3297
+ operatorIds: readonly bigint[];
3298
+ publicKey: `0x${string}`;
3299
+ shares: `0x${string}`;
3300
+ cluster: {
3301
+ validatorCount: number;
3302
+ networkFeeIndex: bigint;
3303
+ index: bigint;
3304
+ active: boolean;
3305
+ balance: bigint;
3306
+ };
3307
+ };
3308
+ } | {
3309
+ eventName: "ValidatorExited";
3310
+ args: {
3311
+ owner: `0x${string}`;
3312
+ operatorIds: readonly bigint[];
3313
+ publicKey: `0x${string}`;
3314
+ };
3315
+ } | {
3316
+ eventName: "ValidatorRemoved";
3317
+ args: {
3318
+ owner: `0x${string}`;
3319
+ operatorIds: readonly bigint[];
3320
+ publicKey: `0x${string}`;
3321
+ cluster: {
3322
+ validatorCount: number;
3323
+ networkFeeIndex: bigint;
3324
+ index: bigint;
3325
+ active: boolean;
3326
+ balance: bigint;
3327
+ };
3328
+ };
3329
+ } | {
3330
+ eventName: "OwnershipTransferred";
3331
+ args: {
3332
+ previousOwner: `0x${string}`;
3333
+ newOwner: `0x${string}`;
3334
+ };
3335
+ } | {
3336
+ eventName: "Approval";
3337
+ args: {
3338
+ owner: `0x${string}`;
3339
+ spender: `0x${string}`;
3340
+ value: bigint;
3341
+ };
3342
+ } | {
3343
+ eventName: "Transfer";
3344
+ args: {
3345
+ from: `0x${string}`;
3346
+ to: `0x${string}`;
3347
+ value: bigint;
3348
+ };
3349
+ }>;
3350
+ simulate: (props: {
3351
+ args: {
3352
+ operatorId: bigint;
3353
+ };
3354
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
3355
+ nonce?: number | undefined;
3356
+ blockNumber?: bigint | undefined;
3357
+ gas?: bigint | undefined;
3358
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3359
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3360
+ kzg?: import('viem').Kzg | undefined;
3361
+ gasPrice?: bigint | undefined;
3362
+ maxFeePerBlobGas?: bigint | undefined;
3363
+ maxFeePerGas?: bigint | undefined;
3364
+ maxPriorityFeePerGas?: bigint | undefined;
3365
+ accessList?: import('viem').AccessList | undefined;
3366
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
3367
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
3368
+ blockTag?: import('viem').BlockTag | undefined;
3369
+ stateOverride?: import('viem').StateOverride | undefined;
3370
+ dataSuffix?: `0x${string}` | undefined;
3371
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "executeOperatorFee">;
3372
+ };
3373
+ cancelDeclaredOperatorFee: {
3374
+ (props: {
3375
+ args: {
3376
+ operatorId: bigint;
3377
+ };
3378
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
3379
+ nonce?: number | undefined;
3380
+ blockNumber?: bigint | undefined;
3381
+ gas?: bigint | undefined;
3382
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3383
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3384
+ kzg?: import('viem').Kzg | undefined;
3385
+ gasPrice?: bigint | undefined;
3386
+ maxFeePerBlobGas?: bigint | undefined;
3387
+ maxFeePerGas?: bigint | undefined;
3388
+ maxPriorityFeePerGas?: bigint | undefined;
3389
+ accessList?: import('viem').AccessList | undefined;
3390
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
3391
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
3392
+ blockTag?: import('viem').BlockTag | undefined;
3393
+ stateOverride?: import('viem').StateOverride | undefined;
3394
+ dataSuffix?: `0x${string}` | undefined;
3395
+ }): import('../../contract-interactions/types').WriteReturnType<{
3396
+ eventName: "AdminChanged";
3397
+ args: {
3398
+ previousAdmin: `0x${string}`;
3399
+ newAdmin: `0x${string}`;
3400
+ };
3401
+ } | {
3402
+ eventName: "BeaconUpgraded";
3403
+ args: {
3404
+ beacon: `0x${string}`;
3405
+ };
3406
+ } | {
3407
+ eventName: "Initialized";
3408
+ args: {
3409
+ version: number;
3410
+ };
3411
+ } | {
3412
+ eventName: "OwnershipTransferStarted";
3413
+ args: {
3414
+ previousOwner: `0x${string}`;
3415
+ newOwner: `0x${string}`;
3416
+ };
3417
+ } | {
3418
+ eventName: "OwnershipTransferred";
3419
+ args: {
3420
+ previousOwner: `0x${string}`;
3421
+ newOwner: `0x${string}`;
3422
+ };
3423
+ } | {
3424
+ eventName: "Upgraded";
3425
+ args: {
3426
+ implementation: `0x${string}`;
3427
+ };
3428
+ } | {
3429
+ eventName: "ClusterDeposited";
3430
+ args: {
3431
+ owner: `0x${string}`;
3432
+ operatorIds: readonly bigint[];
3433
+ value: bigint;
3434
+ cluster: {
3435
+ validatorCount: number;
3436
+ networkFeeIndex: bigint;
3437
+ index: bigint;
3438
+ active: boolean;
3439
+ balance: bigint;
3440
+ };
3441
+ };
3442
+ } | {
3443
+ eventName: "ClusterLiquidated";
3444
+ args: {
3445
+ owner: `0x${string}`;
3446
+ operatorIds: readonly bigint[];
3447
+ cluster: {
3448
+ validatorCount: number;
3449
+ networkFeeIndex: bigint;
3450
+ index: bigint;
3451
+ active: boolean;
3452
+ balance: bigint;
3453
+ };
3454
+ };
3455
+ } | {
3456
+ eventName: "ClusterReactivated";
3457
+ args: {
3458
+ owner: `0x${string}`;
3459
+ operatorIds: readonly bigint[];
3460
+ cluster: {
3461
+ validatorCount: number;
3462
+ networkFeeIndex: bigint;
3463
+ index: bigint;
3464
+ active: boolean;
3465
+ balance: bigint;
3466
+ };
3467
+ };
3468
+ } | {
3469
+ eventName: "ClusterWithdrawn";
3470
+ args: {
3471
+ owner: `0x${string}`;
3472
+ operatorIds: readonly bigint[];
3473
+ value: bigint;
3474
+ cluster: {
3475
+ validatorCount: number;
3476
+ networkFeeIndex: bigint;
3477
+ index: bigint;
3478
+ active: boolean;
3479
+ balance: bigint;
3480
+ };
3481
+ };
3482
+ } | {
3483
+ eventName: "DeclareOperatorFeePeriodUpdated";
3484
+ args: {
3485
+ value: bigint;
3486
+ };
3487
+ } | {
3488
+ eventName: "ExecuteOperatorFeePeriodUpdated";
3489
+ args: {
3490
+ value: bigint;
3491
+ };
3492
+ } | {
3493
+ eventName: "FeeRecipientAddressUpdated";
3494
+ args: {
3495
+ owner: `0x${string}`;
3496
+ recipientAddress: `0x${string}`;
3497
+ };
3498
+ } | {
3499
+ eventName: "LiquidationThresholdPeriodUpdated";
3500
+ args: {
3501
+ value: bigint;
3502
+ };
3503
+ } | {
3504
+ eventName: "MinimumLiquidationCollateralUpdated";
3505
+ args: {
3506
+ value: bigint;
3507
+ };
3508
+ } | {
3509
+ eventName: "ModuleUpgraded";
3510
+ args: {
3511
+ moduleId: number;
3512
+ moduleAddress: `0x${string}`;
3513
+ };
3514
+ } | {
3515
+ eventName: "NetworkEarningsWithdrawn";
3516
+ args: {
3517
+ value: bigint;
3518
+ recipient: `0x${string}`;
3519
+ };
3520
+ } | {
3521
+ eventName: "NetworkFeeUpdated";
3522
+ args: {
3523
+ oldFee: bigint;
3524
+ newFee: bigint;
3525
+ };
3526
+ } | {
3527
+ eventName: "OperatorAdded";
3528
+ args: {
3529
+ operatorId: bigint;
3530
+ owner: `0x${string}`;
3531
+ publicKey: `0x${string}`;
3532
+ fee: bigint;
3533
+ };
3534
+ } | {
3535
+ eventName: "OperatorFeeDeclarationCancelled";
3536
+ args: {
3537
+ owner: `0x${string}`;
3538
+ operatorId: bigint;
3539
+ };
3540
+ } | {
3541
+ eventName: "OperatorFeeDeclared";
3542
+ args: {
3543
+ owner: `0x${string}`;
3544
+ operatorId: bigint;
3545
+ blockNumber: bigint;
3546
+ fee: bigint;
3547
+ };
3548
+ } | {
3549
+ eventName: "OperatorFeeExecuted";
3550
+ args: {
3551
+ owner: `0x${string}`;
3552
+ operatorId: bigint;
3553
+ blockNumber: bigint;
3554
+ fee: bigint;
3555
+ };
3556
+ } | {
3557
+ eventName: "OperatorFeeIncreaseLimitUpdated";
3558
+ args: {
3559
+ value: bigint;
3560
+ };
3561
+ } | {
3562
+ eventName: "OperatorMaximumFeeUpdated";
3563
+ args: {
3564
+ maxFee: bigint;
3565
+ };
3566
+ } | {
3567
+ eventName: "OperatorMultipleWhitelistRemoved";
3568
+ args: {
3569
+ operatorIds: readonly bigint[];
3570
+ whitelistAddresses: readonly `0x${string}`[];
3571
+ };
3572
+ } | {
3573
+ eventName: "OperatorMultipleWhitelistUpdated";
3574
+ args: {
3575
+ operatorIds: readonly bigint[];
3576
+ whitelistAddresses: readonly `0x${string}`[];
3577
+ };
3578
+ } | {
3579
+ eventName: "OperatorPrivacyStatusUpdated";
3580
+ args: {
3581
+ operatorIds: readonly bigint[];
3582
+ toPrivate: boolean;
3583
+ };
3584
+ } | {
3585
+ eventName: "OperatorRemoved";
3586
+ args: {
3587
+ operatorId: bigint;
3588
+ };
3589
+ } | {
3590
+ eventName: "OperatorWhitelistUpdated";
3591
+ args: {
3592
+ operatorId: bigint;
3593
+ whitelisted: `0x${string}`;
3594
+ };
3595
+ } | {
3596
+ eventName: "OperatorWhitelistingContractUpdated";
3597
+ args: {
3598
+ operatorIds: readonly bigint[];
3599
+ whitelistingContract: `0x${string}`;
3600
+ };
3601
+ } | {
3602
+ eventName: "OperatorWithdrawn";
3603
+ args: {
3604
+ owner: `0x${string}`;
3605
+ operatorId: bigint;
3606
+ value: bigint;
3607
+ };
3608
+ } | {
3609
+ eventName: "ValidatorAdded";
3610
+ args: {
3611
+ owner: `0x${string}`;
3612
+ operatorIds: readonly bigint[];
3613
+ publicKey: `0x${string}`;
3614
+ shares: `0x${string}`;
3615
+ cluster: {
3616
+ validatorCount: number;
3617
+ networkFeeIndex: bigint;
3618
+ index: bigint;
3619
+ active: boolean;
3620
+ balance: bigint;
3621
+ };
3622
+ };
3623
+ } | {
3624
+ eventName: "ValidatorExited";
3625
+ args: {
3626
+ owner: `0x${string}`;
3627
+ operatorIds: readonly bigint[];
3628
+ publicKey: `0x${string}`;
3629
+ };
3630
+ } | {
3631
+ eventName: "ValidatorRemoved";
3632
+ args: {
3633
+ owner: `0x${string}`;
3634
+ operatorIds: readonly bigint[];
3635
+ publicKey: `0x${string}`;
3636
+ cluster: {
3637
+ validatorCount: number;
3638
+ networkFeeIndex: bigint;
3639
+ index: bigint;
3640
+ active: boolean;
3641
+ balance: bigint;
3642
+ };
3643
+ };
3644
+ } | {
3645
+ eventName: "OwnershipTransferred";
3646
+ args: {
3647
+ previousOwner: `0x${string}`;
3648
+ newOwner: `0x${string}`;
3649
+ };
3650
+ } | {
3651
+ eventName: "Approval";
3652
+ args: {
3653
+ owner: `0x${string}`;
3654
+ spender: `0x${string}`;
3655
+ value: bigint;
3656
+ };
3657
+ } | {
3658
+ eventName: "Transfer";
3659
+ args: {
3660
+ from: `0x${string}`;
3661
+ to: `0x${string}`;
3662
+ value: bigint;
3663
+ };
3664
+ }>;
3665
+ simulate: (props: {
3666
+ args: {
3667
+ operatorId: bigint;
3668
+ };
3669
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
3670
+ nonce?: number | undefined;
3671
+ blockNumber?: bigint | undefined;
3672
+ gas?: bigint | undefined;
3673
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3674
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3675
+ kzg?: import('viem').Kzg | undefined;
3676
+ gasPrice?: bigint | undefined;
3677
+ maxFeePerBlobGas?: bigint | undefined;
3678
+ maxFeePerGas?: bigint | undefined;
3679
+ maxPriorityFeePerGas?: bigint | undefined;
3680
+ accessList?: import('viem').AccessList | undefined;
3681
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
3682
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
3683
+ blockTag?: import('viem').BlockTag | undefined;
3684
+ stateOverride?: import('viem').StateOverride | undefined;
3685
+ dataSuffix?: `0x${string}` | undefined;
3686
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "cancelDeclaredOperatorFee">;
3687
+ };
3688
+ reduceOperatorFee: {
3689
+ (props: {
3690
+ args: {
3691
+ operatorId: bigint;
3692
+ fee: bigint;
3693
+ };
3694
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
3695
+ nonce?: number | undefined;
3696
+ blockNumber?: bigint | undefined;
3697
+ gas?: bigint | undefined;
3698
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3699
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3700
+ kzg?: import('viem').Kzg | undefined;
3701
+ gasPrice?: bigint | undefined;
3702
+ maxFeePerBlobGas?: bigint | undefined;
3703
+ maxFeePerGas?: bigint | undefined;
3704
+ maxPriorityFeePerGas?: bigint | undefined;
3705
+ accessList?: import('viem').AccessList | undefined;
3706
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
3707
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
3708
+ blockTag?: import('viem').BlockTag | undefined;
3709
+ stateOverride?: import('viem').StateOverride | undefined;
3710
+ dataSuffix?: `0x${string}` | undefined;
3711
+ }): import('../../contract-interactions/types').WriteReturnType<{
3712
+ eventName: "AdminChanged";
3713
+ args: {
3714
+ previousAdmin: `0x${string}`;
3715
+ newAdmin: `0x${string}`;
3716
+ };
3717
+ } | {
3718
+ eventName: "BeaconUpgraded";
3719
+ args: {
3720
+ beacon: `0x${string}`;
3721
+ };
3722
+ } | {
3723
+ eventName: "Initialized";
3724
+ args: {
3725
+ version: number;
3726
+ };
3727
+ } | {
3728
+ eventName: "OwnershipTransferStarted";
3729
+ args: {
3730
+ previousOwner: `0x${string}`;
3731
+ newOwner: `0x${string}`;
3732
+ };
3733
+ } | {
3734
+ eventName: "OwnershipTransferred";
3735
+ args: {
3736
+ previousOwner: `0x${string}`;
3737
+ newOwner: `0x${string}`;
3738
+ };
3739
+ } | {
3740
+ eventName: "Upgraded";
3741
+ args: {
3742
+ implementation: `0x${string}`;
3743
+ };
3744
+ } | {
3745
+ eventName: "ClusterDeposited";
3746
+ args: {
3747
+ owner: `0x${string}`;
3748
+ operatorIds: readonly bigint[];
3749
+ value: bigint;
3750
+ cluster: {
3751
+ validatorCount: number;
3752
+ networkFeeIndex: bigint;
3753
+ index: bigint;
3754
+ active: boolean;
3755
+ balance: bigint;
3756
+ };
3757
+ };
3758
+ } | {
3759
+ eventName: "ClusterLiquidated";
3760
+ args: {
3761
+ owner: `0x${string}`;
3762
+ operatorIds: readonly bigint[];
3763
+ cluster: {
3764
+ validatorCount: number;
3765
+ networkFeeIndex: bigint;
3766
+ index: bigint;
3767
+ active: boolean;
3768
+ balance: bigint;
3769
+ };
3770
+ };
3771
+ } | {
3772
+ eventName: "ClusterReactivated";
3773
+ args: {
3774
+ owner: `0x${string}`;
3775
+ operatorIds: readonly bigint[];
3776
+ cluster: {
3777
+ validatorCount: number;
3778
+ networkFeeIndex: bigint;
3779
+ index: bigint;
3780
+ active: boolean;
3781
+ balance: bigint;
3782
+ };
3783
+ };
3784
+ } | {
3785
+ eventName: "ClusterWithdrawn";
3786
+ args: {
3787
+ owner: `0x${string}`;
3788
+ operatorIds: readonly bigint[];
3789
+ value: bigint;
3790
+ cluster: {
3791
+ validatorCount: number;
3792
+ networkFeeIndex: bigint;
3793
+ index: bigint;
3794
+ active: boolean;
3795
+ balance: bigint;
3796
+ };
3797
+ };
3798
+ } | {
3799
+ eventName: "DeclareOperatorFeePeriodUpdated";
3800
+ args: {
3801
+ value: bigint;
3802
+ };
3803
+ } | {
3804
+ eventName: "ExecuteOperatorFeePeriodUpdated";
3805
+ args: {
3806
+ value: bigint;
3807
+ };
3808
+ } | {
3809
+ eventName: "FeeRecipientAddressUpdated";
3810
+ args: {
3811
+ owner: `0x${string}`;
3812
+ recipientAddress: `0x${string}`;
3813
+ };
3814
+ } | {
3815
+ eventName: "LiquidationThresholdPeriodUpdated";
3816
+ args: {
3817
+ value: bigint;
3818
+ };
3819
+ } | {
3820
+ eventName: "MinimumLiquidationCollateralUpdated";
3821
+ args: {
3822
+ value: bigint;
3823
+ };
3824
+ } | {
3825
+ eventName: "ModuleUpgraded";
3826
+ args: {
3827
+ moduleId: number;
3828
+ moduleAddress: `0x${string}`;
3829
+ };
3830
+ } | {
3831
+ eventName: "NetworkEarningsWithdrawn";
3832
+ args: {
3833
+ value: bigint;
3834
+ recipient: `0x${string}`;
3835
+ };
3836
+ } | {
3837
+ eventName: "NetworkFeeUpdated";
3838
+ args: {
3839
+ oldFee: bigint;
3840
+ newFee: bigint;
3841
+ };
3842
+ } | {
3843
+ eventName: "OperatorAdded";
3844
+ args: {
3845
+ operatorId: bigint;
3846
+ owner: `0x${string}`;
3847
+ publicKey: `0x${string}`;
3848
+ fee: bigint;
3849
+ };
3850
+ } | {
3851
+ eventName: "OperatorFeeDeclarationCancelled";
3852
+ args: {
3853
+ owner: `0x${string}`;
3854
+ operatorId: bigint;
3855
+ };
3856
+ } | {
3857
+ eventName: "OperatorFeeDeclared";
3858
+ args: {
3859
+ owner: `0x${string}`;
3860
+ operatorId: bigint;
3861
+ blockNumber: bigint;
3862
+ fee: bigint;
3863
+ };
3864
+ } | {
3865
+ eventName: "OperatorFeeExecuted";
3866
+ args: {
3867
+ owner: `0x${string}`;
3868
+ operatorId: bigint;
3869
+ blockNumber: bigint;
3870
+ fee: bigint;
3871
+ };
3872
+ } | {
3873
+ eventName: "OperatorFeeIncreaseLimitUpdated";
3874
+ args: {
3875
+ value: bigint;
3876
+ };
3877
+ } | {
3878
+ eventName: "OperatorMaximumFeeUpdated";
3879
+ args: {
3880
+ maxFee: bigint;
3881
+ };
3882
+ } | {
3883
+ eventName: "OperatorMultipleWhitelistRemoved";
3884
+ args: {
3885
+ operatorIds: readonly bigint[];
3886
+ whitelistAddresses: readonly `0x${string}`[];
3887
+ };
3888
+ } | {
3889
+ eventName: "OperatorMultipleWhitelistUpdated";
3890
+ args: {
3891
+ operatorIds: readonly bigint[];
3892
+ whitelistAddresses: readonly `0x${string}`[];
3893
+ };
3894
+ } | {
3895
+ eventName: "OperatorPrivacyStatusUpdated";
3896
+ args: {
3897
+ operatorIds: readonly bigint[];
3898
+ toPrivate: boolean;
3899
+ };
3900
+ } | {
3901
+ eventName: "OperatorRemoved";
3902
+ args: {
3903
+ operatorId: bigint;
3904
+ };
3905
+ } | {
3906
+ eventName: "OperatorWhitelistUpdated";
3907
+ args: {
3908
+ operatorId: bigint;
3909
+ whitelisted: `0x${string}`;
3910
+ };
3911
+ } | {
3912
+ eventName: "OperatorWhitelistingContractUpdated";
3913
+ args: {
3914
+ operatorIds: readonly bigint[];
3915
+ whitelistingContract: `0x${string}`;
3916
+ };
3917
+ } | {
3918
+ eventName: "OperatorWithdrawn";
3919
+ args: {
3920
+ owner: `0x${string}`;
3921
+ operatorId: bigint;
3922
+ value: bigint;
3923
+ };
3924
+ } | {
3925
+ eventName: "ValidatorAdded";
3926
+ args: {
3927
+ owner: `0x${string}`;
3928
+ operatorIds: readonly bigint[];
3929
+ publicKey: `0x${string}`;
3930
+ shares: `0x${string}`;
3931
+ cluster: {
3932
+ validatorCount: number;
3933
+ networkFeeIndex: bigint;
3934
+ index: bigint;
3935
+ active: boolean;
3936
+ balance: bigint;
3937
+ };
3938
+ };
3939
+ } | {
3940
+ eventName: "ValidatorExited";
3941
+ args: {
3942
+ owner: `0x${string}`;
3943
+ operatorIds: readonly bigint[];
3944
+ publicKey: `0x${string}`;
3945
+ };
3946
+ } | {
3947
+ eventName: "ValidatorRemoved";
3948
+ args: {
3949
+ owner: `0x${string}`;
3950
+ operatorIds: readonly bigint[];
3951
+ publicKey: `0x${string}`;
3952
+ cluster: {
3953
+ validatorCount: number;
3954
+ networkFeeIndex: bigint;
3955
+ index: bigint;
3956
+ active: boolean;
3957
+ balance: bigint;
3958
+ };
3959
+ };
3960
+ } | {
3961
+ eventName: "OwnershipTransferred";
3962
+ args: {
3963
+ previousOwner: `0x${string}`;
3964
+ newOwner: `0x${string}`;
3965
+ };
3966
+ } | {
3967
+ eventName: "Approval";
3968
+ args: {
3969
+ owner: `0x${string}`;
3970
+ spender: `0x${string}`;
3971
+ value: bigint;
3972
+ };
3973
+ } | {
3974
+ eventName: "Transfer";
3975
+ args: {
3976
+ from: `0x${string}`;
3977
+ to: `0x${string}`;
3978
+ value: bigint;
3979
+ };
3980
+ }>;
3981
+ simulate: (props: {
3982
+ args: {
3983
+ operatorId: bigint;
3984
+ fee: bigint;
3985
+ };
3986
+ type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
3987
+ nonce?: number | undefined;
3988
+ blockNumber?: bigint | undefined;
3989
+ gas?: bigint | undefined;
3990
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3991
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3992
+ kzg?: import('viem').Kzg | undefined;
3993
+ gasPrice?: bigint | undefined;
3994
+ maxFeePerBlobGas?: bigint | undefined;
3995
+ maxFeePerGas?: bigint | undefined;
3996
+ maxPriorityFeePerGas?: bigint | undefined;
3997
+ accessList?: import('viem').AccessList | undefined;
3998
+ sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
3999
+ authorizationList?: import('viem/experimental').AuthorizationList<number, boolean> | undefined;
4000
+ blockTag?: import('viem').BlockTag | undefined;
4001
+ stateOverride?: import('viem').StateOverride | undefined;
4002
+ dataSuffix?: `0x${string}` | undefined;
4003
+ }) => import('viem').SimulateContractReturnType<import('../../contract-interactions/types').SupportedAbis, "reduceOperatorFee">;
4004
+ };
4005
+ };