@ssv-labs/ssv-sdk 0.1.3 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.html +4 -7
- package/README.md +56 -29
- package/dist/{KeyShares-B_4l2THg.js → KeyShares-Bk9uzOlK.js} +194 -51
- package/dist/{KeyShares-ClzHwMUy.mjs → KeyShares-Dlp4Pa3b.mjs} +198 -55
- package/dist/abi/mainnet/v4/getter.d.ts +699 -74
- package/dist/abi/mainnet/v4/setter.d.ts +939 -59
- package/dist/api/subgraph/index.d.ts +50 -48
- package/dist/config/create.d.ts +2 -2
- package/dist/config/globals.d.ts +3 -0
- package/dist/{globals-CDOcDUnk.mjs → config-BdEJjnYA.mjs} +107 -79
- package/dist/{globals-DsaKgq3v.js → config-ClGS9Tic.js} +73 -45
- package/dist/contract-interactions/create.d.ts +1 -1
- package/dist/contract-interactions/types.d.ts +9 -3
- package/dist/graphql/graphql.d.ts +4799 -921
- package/dist/keys.js +1 -1
- package/dist/keys.mjs +5 -5
- package/dist/libs/api/index.d.ts +1 -0
- package/dist/libs/cluster/index.d.ts +3 -1
- package/dist/libs/cluster/methods/deposit.d.ts +150 -4
- package/dist/libs/cluster/methods/exit-validators.d.ts +149 -0
- package/dist/libs/cluster/methods/index.d.ts +3 -1
- package/dist/libs/cluster/methods/liquidate-cluster.d.ts +149 -0
- package/dist/libs/cluster/methods/liquidate-ssv.d.ts +430 -0
- package/dist/libs/cluster/methods/migrate-cluster-to-eth.d.ts +431 -0
- package/dist/libs/cluster/methods/reactivate-cluster.d.ts +149 -0
- package/dist/libs/cluster/methods/register-validators.d.ts +2222 -309
- package/dist/libs/cluster/methods/remove-validators.d.ts +149 -0
- package/dist/libs/cluster/methods/set-fee-recipient.d.ts +149 -0
- package/dist/libs/cluster/methods/withdraw.d.ts +149 -0
- package/dist/libs/dao/index.d.ts +8 -0
- package/dist/libs/dao/methods/commit-root.d.ts +432 -0
- package/dist/libs/dao/methods/index.d.ts +3 -0
- package/dist/libs/dao/methods/update-network-fee-ssv.d.ts +430 -0
- package/dist/libs/dao/methods/withdraw-network-ssv-earnings.d.ts +430 -0
- package/dist/libs/operator/index.d.ts +1525 -32
- package/dist/libs/operator/methods.d.ts +1732 -3
- package/dist/libs/ssv-keys/Encryption/__test__/RsaKeys.d.ts +1 -1
- package/dist/libs/ssv-keys/KeyShares/KeySharesItem.d.ts +1 -1
- package/dist/libs/ssv-keys/SSVKeys.d.ts +1 -1
- package/dist/libs/ssv-keys/exceptions/index.d.ts +1 -1
- package/dist/libs/ssv-keys/index.d.ts +1 -1
- package/dist/libs/ssv-keys/interfaces/index.d.ts +2 -2
- package/dist/libs/utils/index.d.ts +8 -4
- package/dist/libs/utils/methods/calc-deposit-from-runway.d.ts +11 -0
- package/dist/libs/utils/methods/get-cluster-balance.d.ts +4 -1
- package/dist/libs/utils/methods/index.d.ts +1 -0
- package/dist/libs/utils/methods/keyshares.d.ts +4 -2
- package/dist/libs/utils/methods/keystores.d.ts +4 -4
- package/dist/libs/utils/methods/write-keyshares-file.d.ts +16 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +2970 -733
- package/dist/main.mjs +2961 -746
- package/dist/sdk.d.ts +8 -4
- package/dist/types/contract-interactions.d.ts +11 -0
- package/dist/types/methods.d.ts +4 -3
- package/dist/utils/cluster.d.ts +3 -3
- package/dist/utils/funding.d.ts +29 -0
- package/dist/utils/zod/config.d.ts +1 -1
- package/dist/utils.js +38 -38
- package/dist/utils.mjs +34 -34
- package/package.json +18 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigReturnType } from '../../config/create';
|
|
2
|
-
import { registerOperator, setOperatorWhitelists, withdraw } from './methods';
|
|
2
|
+
import { registerOperator, setOperatorWhitelists, withdraw, withdrawAllOperatorEarningsSSV, withdrawAllVersionOperatorEarnings, withdrawOperatorEarningsSSV } from './methods';
|
|
3
3
|
import { RemoveConfigArg } from '../../types/methods';
|
|
4
4
|
export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
5
5
|
registerOperator: RemoveConfigArg<typeof registerOperator>;
|
|
@@ -8,9 +8,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
8
8
|
args: {
|
|
9
9
|
operatorId: bigint;
|
|
10
10
|
};
|
|
11
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
12
11
|
nonce?: number | undefined;
|
|
13
12
|
blockNumber?: bigint | undefined | undefined;
|
|
13
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
14
14
|
gas?: bigint | undefined;
|
|
15
15
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
16
16
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -59,6 +59,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
59
59
|
args: {
|
|
60
60
|
implementation: `0x${string}`;
|
|
61
61
|
};
|
|
62
|
+
} | {
|
|
63
|
+
eventName: "ClusterBalanceUpdated";
|
|
64
|
+
args: {
|
|
65
|
+
owner: `0x${string}`;
|
|
66
|
+
operatorIds: readonly bigint[];
|
|
67
|
+
blockNum: bigint;
|
|
68
|
+
effectiveBalance: number;
|
|
69
|
+
cluster: {
|
|
70
|
+
validatorCount: number;
|
|
71
|
+
networkFeeIndex: bigint;
|
|
72
|
+
index: bigint;
|
|
73
|
+
active: boolean;
|
|
74
|
+
balance: bigint;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
62
77
|
} | {
|
|
63
78
|
eventName: "ClusterDeposited";
|
|
64
79
|
args: {
|
|
@@ -86,6 +101,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
86
101
|
balance: bigint;
|
|
87
102
|
};
|
|
88
103
|
};
|
|
104
|
+
} | {
|
|
105
|
+
eventName: "ClusterMigratedToETH";
|
|
106
|
+
args: {
|
|
107
|
+
owner: `0x${string}`;
|
|
108
|
+
operatorIds: readonly bigint[];
|
|
109
|
+
ethDeposited: bigint;
|
|
110
|
+
ssvRefunded: bigint;
|
|
111
|
+
effectiveBalance: number;
|
|
112
|
+
cluster: {
|
|
113
|
+
validatorCount: number;
|
|
114
|
+
networkFeeIndex: bigint;
|
|
115
|
+
index: bigint;
|
|
116
|
+
active: boolean;
|
|
117
|
+
balance: bigint;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
89
120
|
} | {
|
|
90
121
|
eventName: "ClusterReactivated";
|
|
91
122
|
args: {
|
|
@@ -113,11 +144,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
113
144
|
balance: bigint;
|
|
114
145
|
};
|
|
115
146
|
};
|
|
147
|
+
} | {
|
|
148
|
+
eventName: "CooldownDurationUpdated";
|
|
149
|
+
args: {
|
|
150
|
+
newCooldownDuration: bigint;
|
|
151
|
+
};
|
|
116
152
|
} | {
|
|
117
153
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
118
154
|
args: {
|
|
119
155
|
value: bigint;
|
|
120
156
|
};
|
|
157
|
+
} | {
|
|
158
|
+
eventName: "ERC20Rescued";
|
|
159
|
+
args: {
|
|
160
|
+
token: `0x${string}`;
|
|
161
|
+
to: `0x${string}`;
|
|
162
|
+
amount: bigint;
|
|
163
|
+
};
|
|
121
164
|
} | {
|
|
122
165
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
123
166
|
args: {
|
|
@@ -129,16 +172,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
129
172
|
owner: `0x${string}`;
|
|
130
173
|
recipientAddress: `0x${string}`;
|
|
131
174
|
};
|
|
175
|
+
} | {
|
|
176
|
+
eventName: "FeesSynced";
|
|
177
|
+
args: {
|
|
178
|
+
newFeesWei: bigint;
|
|
179
|
+
accEthPerShare: bigint;
|
|
180
|
+
};
|
|
181
|
+
} | {
|
|
182
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
183
|
+
args: {
|
|
184
|
+
value: bigint;
|
|
185
|
+
};
|
|
132
186
|
} | {
|
|
133
187
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
134
188
|
args: {
|
|
135
189
|
value: bigint;
|
|
136
190
|
};
|
|
191
|
+
} | {
|
|
192
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
193
|
+
args: {
|
|
194
|
+
newMinBlocksBetweenUpdates: number;
|
|
195
|
+
};
|
|
196
|
+
} | {
|
|
197
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
198
|
+
args: {
|
|
199
|
+
value: bigint;
|
|
200
|
+
};
|
|
137
201
|
} | {
|
|
138
202
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
139
203
|
args: {
|
|
140
204
|
value: bigint;
|
|
141
205
|
};
|
|
206
|
+
} | {
|
|
207
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
208
|
+
args: {
|
|
209
|
+
minFee: bigint;
|
|
210
|
+
};
|
|
142
211
|
} | {
|
|
143
212
|
eventName: "ModuleUpgraded";
|
|
144
213
|
args: {
|
|
@@ -157,6 +226,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
157
226
|
oldFee: bigint;
|
|
158
227
|
newFee: bigint;
|
|
159
228
|
};
|
|
229
|
+
} | {
|
|
230
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
231
|
+
args: {
|
|
232
|
+
oldFee: bigint;
|
|
233
|
+
newFee: bigint;
|
|
234
|
+
};
|
|
160
235
|
} | {
|
|
161
236
|
eventName: "OperatorAdded";
|
|
162
237
|
args: {
|
|
@@ -239,6 +314,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
239
314
|
operatorId: bigint;
|
|
240
315
|
value: bigint;
|
|
241
316
|
};
|
|
317
|
+
} | {
|
|
318
|
+
eventName: "OperatorWithdrawnSSV";
|
|
319
|
+
args: {
|
|
320
|
+
owner: `0x${string}`;
|
|
321
|
+
operatorId: bigint;
|
|
322
|
+
value: bigint;
|
|
323
|
+
};
|
|
324
|
+
} | {
|
|
325
|
+
eventName: "OracleReplaced";
|
|
326
|
+
args: {
|
|
327
|
+
oracleId: number;
|
|
328
|
+
oldOracle: `0x${string}`;
|
|
329
|
+
newOracle: `0x${string}`;
|
|
330
|
+
};
|
|
331
|
+
} | {
|
|
332
|
+
eventName: "QuorumUpdated";
|
|
333
|
+
args: {
|
|
334
|
+
newQuorum: number;
|
|
335
|
+
};
|
|
336
|
+
} | {
|
|
337
|
+
eventName: "RewardsClaimed";
|
|
338
|
+
args: {
|
|
339
|
+
user: `0x${string}`;
|
|
340
|
+
amount: bigint;
|
|
341
|
+
};
|
|
342
|
+
} | {
|
|
343
|
+
eventName: "RewardsSettled";
|
|
344
|
+
args: {
|
|
345
|
+
user: `0x${string}`;
|
|
346
|
+
pending: bigint;
|
|
347
|
+
accrued: bigint;
|
|
348
|
+
userIndex: bigint;
|
|
349
|
+
};
|
|
350
|
+
} | {
|
|
351
|
+
eventName: "RootCommitted";
|
|
352
|
+
args: {
|
|
353
|
+
merkleRoot: `0x${string}`;
|
|
354
|
+
blockNum: bigint;
|
|
355
|
+
};
|
|
356
|
+
} | {
|
|
357
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
358
|
+
args: {
|
|
359
|
+
version: string;
|
|
360
|
+
blockNumber: bigint;
|
|
361
|
+
};
|
|
362
|
+
} | {
|
|
363
|
+
eventName: "Staked";
|
|
364
|
+
args: {
|
|
365
|
+
user: `0x${string}`;
|
|
366
|
+
amount: bigint;
|
|
367
|
+
};
|
|
368
|
+
} | {
|
|
369
|
+
eventName: "UnstakeRequested";
|
|
370
|
+
args: {
|
|
371
|
+
user: `0x${string}`;
|
|
372
|
+
amount: bigint;
|
|
373
|
+
unlockTime: bigint;
|
|
374
|
+
};
|
|
375
|
+
} | {
|
|
376
|
+
eventName: "UnstakedWithdrawn";
|
|
377
|
+
args: {
|
|
378
|
+
user: `0x${string}`;
|
|
379
|
+
amount: bigint;
|
|
380
|
+
};
|
|
242
381
|
} | {
|
|
243
382
|
eventName: "ValidatorAdded";
|
|
244
383
|
args: {
|
|
@@ -275,6 +414,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
275
414
|
balance: bigint;
|
|
276
415
|
};
|
|
277
416
|
};
|
|
417
|
+
} | {
|
|
418
|
+
eventName: "WeightedRootProposed";
|
|
419
|
+
args: {
|
|
420
|
+
merkleRoot: `0x${string}`;
|
|
421
|
+
blockNum: bigint;
|
|
422
|
+
accumulatedWeight: bigint;
|
|
423
|
+
quorum: bigint;
|
|
424
|
+
oracleId: number;
|
|
425
|
+
oracle: `0x${string}`;
|
|
426
|
+
};
|
|
278
427
|
} | {
|
|
279
428
|
eventName: "OwnershipTransferred";
|
|
280
429
|
args: {
|
|
@@ -300,9 +449,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
300
449
|
args: {
|
|
301
450
|
operatorId: bigint;
|
|
302
451
|
};
|
|
303
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
304
452
|
nonce?: number | undefined;
|
|
305
453
|
blockNumber?: bigint | undefined | undefined;
|
|
454
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
306
455
|
gas?: bigint | undefined;
|
|
307
456
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
308
457
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -324,15 +473,18 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
324
473
|
}) => import('viem').Hex;
|
|
325
474
|
};
|
|
326
475
|
withdraw: RemoveConfigArg<typeof withdraw>;
|
|
476
|
+
withdrawOperatorEarningsSSV: RemoveConfigArg<typeof withdrawOperatorEarningsSSV>;
|
|
477
|
+
withdrawAllOperatorEarningsSSV: RemoveConfigArg<typeof withdrawAllOperatorEarningsSSV>;
|
|
478
|
+
withdrawAllVersionOperatorEarnings: RemoveConfigArg<typeof withdrawAllVersionOperatorEarnings>;
|
|
327
479
|
setOperatorWhitelists: {
|
|
328
480
|
(props: {
|
|
329
481
|
args: {
|
|
330
482
|
operatorIds: readonly bigint[];
|
|
331
483
|
whitelistAddresses: readonly `0x${string}`[];
|
|
332
484
|
};
|
|
333
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
334
485
|
nonce?: number | undefined;
|
|
335
486
|
blockNumber?: bigint | undefined | undefined;
|
|
487
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
336
488
|
gas?: bigint | undefined;
|
|
337
489
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
338
490
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -381,6 +533,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
381
533
|
args: {
|
|
382
534
|
implementation: `0x${string}`;
|
|
383
535
|
};
|
|
536
|
+
} | {
|
|
537
|
+
eventName: "ClusterBalanceUpdated";
|
|
538
|
+
args: {
|
|
539
|
+
owner: `0x${string}`;
|
|
540
|
+
operatorIds: readonly bigint[];
|
|
541
|
+
blockNum: bigint;
|
|
542
|
+
effectiveBalance: number;
|
|
543
|
+
cluster: {
|
|
544
|
+
validatorCount: number;
|
|
545
|
+
networkFeeIndex: bigint;
|
|
546
|
+
index: bigint;
|
|
547
|
+
active: boolean;
|
|
548
|
+
balance: bigint;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
384
551
|
} | {
|
|
385
552
|
eventName: "ClusterDeposited";
|
|
386
553
|
args: {
|
|
@@ -408,6 +575,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
408
575
|
balance: bigint;
|
|
409
576
|
};
|
|
410
577
|
};
|
|
578
|
+
} | {
|
|
579
|
+
eventName: "ClusterMigratedToETH";
|
|
580
|
+
args: {
|
|
581
|
+
owner: `0x${string}`;
|
|
582
|
+
operatorIds: readonly bigint[];
|
|
583
|
+
ethDeposited: bigint;
|
|
584
|
+
ssvRefunded: bigint;
|
|
585
|
+
effectiveBalance: number;
|
|
586
|
+
cluster: {
|
|
587
|
+
validatorCount: number;
|
|
588
|
+
networkFeeIndex: bigint;
|
|
589
|
+
index: bigint;
|
|
590
|
+
active: boolean;
|
|
591
|
+
balance: bigint;
|
|
592
|
+
};
|
|
593
|
+
};
|
|
411
594
|
} | {
|
|
412
595
|
eventName: "ClusterReactivated";
|
|
413
596
|
args: {
|
|
@@ -435,11 +618,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
435
618
|
balance: bigint;
|
|
436
619
|
};
|
|
437
620
|
};
|
|
621
|
+
} | {
|
|
622
|
+
eventName: "CooldownDurationUpdated";
|
|
623
|
+
args: {
|
|
624
|
+
newCooldownDuration: bigint;
|
|
625
|
+
};
|
|
438
626
|
} | {
|
|
439
627
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
440
628
|
args: {
|
|
441
629
|
value: bigint;
|
|
442
630
|
};
|
|
631
|
+
} | {
|
|
632
|
+
eventName: "ERC20Rescued";
|
|
633
|
+
args: {
|
|
634
|
+
token: `0x${string}`;
|
|
635
|
+
to: `0x${string}`;
|
|
636
|
+
amount: bigint;
|
|
637
|
+
};
|
|
443
638
|
} | {
|
|
444
639
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
445
640
|
args: {
|
|
@@ -451,16 +646,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
451
646
|
owner: `0x${string}`;
|
|
452
647
|
recipientAddress: `0x${string}`;
|
|
453
648
|
};
|
|
649
|
+
} | {
|
|
650
|
+
eventName: "FeesSynced";
|
|
651
|
+
args: {
|
|
652
|
+
newFeesWei: bigint;
|
|
653
|
+
accEthPerShare: bigint;
|
|
654
|
+
};
|
|
655
|
+
} | {
|
|
656
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
657
|
+
args: {
|
|
658
|
+
value: bigint;
|
|
659
|
+
};
|
|
454
660
|
} | {
|
|
455
661
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
456
662
|
args: {
|
|
457
663
|
value: bigint;
|
|
458
664
|
};
|
|
665
|
+
} | {
|
|
666
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
667
|
+
args: {
|
|
668
|
+
newMinBlocksBetweenUpdates: number;
|
|
669
|
+
};
|
|
670
|
+
} | {
|
|
671
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
672
|
+
args: {
|
|
673
|
+
value: bigint;
|
|
674
|
+
};
|
|
459
675
|
} | {
|
|
460
676
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
461
677
|
args: {
|
|
462
678
|
value: bigint;
|
|
463
679
|
};
|
|
680
|
+
} | {
|
|
681
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
682
|
+
args: {
|
|
683
|
+
minFee: bigint;
|
|
684
|
+
};
|
|
464
685
|
} | {
|
|
465
686
|
eventName: "ModuleUpgraded";
|
|
466
687
|
args: {
|
|
@@ -479,6 +700,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
479
700
|
oldFee: bigint;
|
|
480
701
|
newFee: bigint;
|
|
481
702
|
};
|
|
703
|
+
} | {
|
|
704
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
705
|
+
args: {
|
|
706
|
+
oldFee: bigint;
|
|
707
|
+
newFee: bigint;
|
|
708
|
+
};
|
|
482
709
|
} | {
|
|
483
710
|
eventName: "OperatorAdded";
|
|
484
711
|
args: {
|
|
@@ -561,6 +788,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
561
788
|
operatorId: bigint;
|
|
562
789
|
value: bigint;
|
|
563
790
|
};
|
|
791
|
+
} | {
|
|
792
|
+
eventName: "OperatorWithdrawnSSV";
|
|
793
|
+
args: {
|
|
794
|
+
owner: `0x${string}`;
|
|
795
|
+
operatorId: bigint;
|
|
796
|
+
value: bigint;
|
|
797
|
+
};
|
|
798
|
+
} | {
|
|
799
|
+
eventName: "OracleReplaced";
|
|
800
|
+
args: {
|
|
801
|
+
oracleId: number;
|
|
802
|
+
oldOracle: `0x${string}`;
|
|
803
|
+
newOracle: `0x${string}`;
|
|
804
|
+
};
|
|
805
|
+
} | {
|
|
806
|
+
eventName: "QuorumUpdated";
|
|
807
|
+
args: {
|
|
808
|
+
newQuorum: number;
|
|
809
|
+
};
|
|
810
|
+
} | {
|
|
811
|
+
eventName: "RewardsClaimed";
|
|
812
|
+
args: {
|
|
813
|
+
user: `0x${string}`;
|
|
814
|
+
amount: bigint;
|
|
815
|
+
};
|
|
816
|
+
} | {
|
|
817
|
+
eventName: "RewardsSettled";
|
|
818
|
+
args: {
|
|
819
|
+
user: `0x${string}`;
|
|
820
|
+
pending: bigint;
|
|
821
|
+
accrued: bigint;
|
|
822
|
+
userIndex: bigint;
|
|
823
|
+
};
|
|
824
|
+
} | {
|
|
825
|
+
eventName: "RootCommitted";
|
|
826
|
+
args: {
|
|
827
|
+
merkleRoot: `0x${string}`;
|
|
828
|
+
blockNum: bigint;
|
|
829
|
+
};
|
|
830
|
+
} | {
|
|
831
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
832
|
+
args: {
|
|
833
|
+
version: string;
|
|
834
|
+
blockNumber: bigint;
|
|
835
|
+
};
|
|
836
|
+
} | {
|
|
837
|
+
eventName: "Staked";
|
|
838
|
+
args: {
|
|
839
|
+
user: `0x${string}`;
|
|
840
|
+
amount: bigint;
|
|
841
|
+
};
|
|
842
|
+
} | {
|
|
843
|
+
eventName: "UnstakeRequested";
|
|
844
|
+
args: {
|
|
845
|
+
user: `0x${string}`;
|
|
846
|
+
amount: bigint;
|
|
847
|
+
unlockTime: bigint;
|
|
848
|
+
};
|
|
849
|
+
} | {
|
|
850
|
+
eventName: "UnstakedWithdrawn";
|
|
851
|
+
args: {
|
|
852
|
+
user: `0x${string}`;
|
|
853
|
+
amount: bigint;
|
|
854
|
+
};
|
|
564
855
|
} | {
|
|
565
856
|
eventName: "ValidatorAdded";
|
|
566
857
|
args: {
|
|
@@ -597,6 +888,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
597
888
|
balance: bigint;
|
|
598
889
|
};
|
|
599
890
|
};
|
|
891
|
+
} | {
|
|
892
|
+
eventName: "WeightedRootProposed";
|
|
893
|
+
args: {
|
|
894
|
+
merkleRoot: `0x${string}`;
|
|
895
|
+
blockNum: bigint;
|
|
896
|
+
accumulatedWeight: bigint;
|
|
897
|
+
quorum: bigint;
|
|
898
|
+
oracleId: number;
|
|
899
|
+
oracle: `0x${string}`;
|
|
900
|
+
};
|
|
600
901
|
} | {
|
|
601
902
|
eventName: "OwnershipTransferred";
|
|
602
903
|
args: {
|
|
@@ -623,9 +924,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
623
924
|
operatorIds: readonly bigint[];
|
|
624
925
|
whitelistAddresses: readonly `0x${string}`[];
|
|
625
926
|
};
|
|
626
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
627
927
|
nonce?: number | undefined;
|
|
628
928
|
blockNumber?: bigint | undefined | undefined;
|
|
929
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
629
930
|
gas?: bigint | undefined;
|
|
630
931
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
631
932
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -653,9 +954,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
653
954
|
operatorIds: readonly bigint[];
|
|
654
955
|
whitelistAddresses: readonly `0x${string}`[];
|
|
655
956
|
};
|
|
656
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
657
957
|
nonce?: number | undefined;
|
|
658
958
|
blockNumber?: bigint | undefined | undefined;
|
|
959
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
659
960
|
gas?: bigint | undefined;
|
|
660
961
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
661
962
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -704,6 +1005,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
704
1005
|
args: {
|
|
705
1006
|
implementation: `0x${string}`;
|
|
706
1007
|
};
|
|
1008
|
+
} | {
|
|
1009
|
+
eventName: "ClusterBalanceUpdated";
|
|
1010
|
+
args: {
|
|
1011
|
+
owner: `0x${string}`;
|
|
1012
|
+
operatorIds: readonly bigint[];
|
|
1013
|
+
blockNum: bigint;
|
|
1014
|
+
effectiveBalance: number;
|
|
1015
|
+
cluster: {
|
|
1016
|
+
validatorCount: number;
|
|
1017
|
+
networkFeeIndex: bigint;
|
|
1018
|
+
index: bigint;
|
|
1019
|
+
active: boolean;
|
|
1020
|
+
balance: bigint;
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
707
1023
|
} | {
|
|
708
1024
|
eventName: "ClusterDeposited";
|
|
709
1025
|
args: {
|
|
@@ -731,6 +1047,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
731
1047
|
balance: bigint;
|
|
732
1048
|
};
|
|
733
1049
|
};
|
|
1050
|
+
} | {
|
|
1051
|
+
eventName: "ClusterMigratedToETH";
|
|
1052
|
+
args: {
|
|
1053
|
+
owner: `0x${string}`;
|
|
1054
|
+
operatorIds: readonly bigint[];
|
|
1055
|
+
ethDeposited: bigint;
|
|
1056
|
+
ssvRefunded: bigint;
|
|
1057
|
+
effectiveBalance: number;
|
|
1058
|
+
cluster: {
|
|
1059
|
+
validatorCount: number;
|
|
1060
|
+
networkFeeIndex: bigint;
|
|
1061
|
+
index: bigint;
|
|
1062
|
+
active: boolean;
|
|
1063
|
+
balance: bigint;
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
734
1066
|
} | {
|
|
735
1067
|
eventName: "ClusterReactivated";
|
|
736
1068
|
args: {
|
|
@@ -758,11 +1090,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
758
1090
|
balance: bigint;
|
|
759
1091
|
};
|
|
760
1092
|
};
|
|
1093
|
+
} | {
|
|
1094
|
+
eventName: "CooldownDurationUpdated";
|
|
1095
|
+
args: {
|
|
1096
|
+
newCooldownDuration: bigint;
|
|
1097
|
+
};
|
|
761
1098
|
} | {
|
|
762
1099
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
763
1100
|
args: {
|
|
764
1101
|
value: bigint;
|
|
765
1102
|
};
|
|
1103
|
+
} | {
|
|
1104
|
+
eventName: "ERC20Rescued";
|
|
1105
|
+
args: {
|
|
1106
|
+
token: `0x${string}`;
|
|
1107
|
+
to: `0x${string}`;
|
|
1108
|
+
amount: bigint;
|
|
1109
|
+
};
|
|
766
1110
|
} | {
|
|
767
1111
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
768
1112
|
args: {
|
|
@@ -774,16 +1118,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
774
1118
|
owner: `0x${string}`;
|
|
775
1119
|
recipientAddress: `0x${string}`;
|
|
776
1120
|
};
|
|
1121
|
+
} | {
|
|
1122
|
+
eventName: "FeesSynced";
|
|
1123
|
+
args: {
|
|
1124
|
+
newFeesWei: bigint;
|
|
1125
|
+
accEthPerShare: bigint;
|
|
1126
|
+
};
|
|
1127
|
+
} | {
|
|
1128
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
1129
|
+
args: {
|
|
1130
|
+
value: bigint;
|
|
1131
|
+
};
|
|
777
1132
|
} | {
|
|
778
1133
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
779
1134
|
args: {
|
|
780
1135
|
value: bigint;
|
|
781
1136
|
};
|
|
1137
|
+
} | {
|
|
1138
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
1139
|
+
args: {
|
|
1140
|
+
newMinBlocksBetweenUpdates: number;
|
|
1141
|
+
};
|
|
1142
|
+
} | {
|
|
1143
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
1144
|
+
args: {
|
|
1145
|
+
value: bigint;
|
|
1146
|
+
};
|
|
782
1147
|
} | {
|
|
783
1148
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
784
1149
|
args: {
|
|
785
1150
|
value: bigint;
|
|
786
1151
|
};
|
|
1152
|
+
} | {
|
|
1153
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
1154
|
+
args: {
|
|
1155
|
+
minFee: bigint;
|
|
1156
|
+
};
|
|
787
1157
|
} | {
|
|
788
1158
|
eventName: "ModuleUpgraded";
|
|
789
1159
|
args: {
|
|
@@ -802,6 +1172,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
802
1172
|
oldFee: bigint;
|
|
803
1173
|
newFee: bigint;
|
|
804
1174
|
};
|
|
1175
|
+
} | {
|
|
1176
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
1177
|
+
args: {
|
|
1178
|
+
oldFee: bigint;
|
|
1179
|
+
newFee: bigint;
|
|
1180
|
+
};
|
|
805
1181
|
} | {
|
|
806
1182
|
eventName: "OperatorAdded";
|
|
807
1183
|
args: {
|
|
@@ -885,19 +1261,83 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
885
1261
|
value: bigint;
|
|
886
1262
|
};
|
|
887
1263
|
} | {
|
|
888
|
-
eventName: "
|
|
1264
|
+
eventName: "OperatorWithdrawnSSV";
|
|
889
1265
|
args: {
|
|
890
1266
|
owner: `0x${string}`;
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
1267
|
+
operatorId: bigint;
|
|
1268
|
+
value: bigint;
|
|
1269
|
+
};
|
|
1270
|
+
} | {
|
|
1271
|
+
eventName: "OracleReplaced";
|
|
1272
|
+
args: {
|
|
1273
|
+
oracleId: number;
|
|
1274
|
+
oldOracle: `0x${string}`;
|
|
1275
|
+
newOracle: `0x${string}`;
|
|
1276
|
+
};
|
|
1277
|
+
} | {
|
|
1278
|
+
eventName: "QuorumUpdated";
|
|
1279
|
+
args: {
|
|
1280
|
+
newQuorum: number;
|
|
1281
|
+
};
|
|
1282
|
+
} | {
|
|
1283
|
+
eventName: "RewardsClaimed";
|
|
1284
|
+
args: {
|
|
1285
|
+
user: `0x${string}`;
|
|
1286
|
+
amount: bigint;
|
|
1287
|
+
};
|
|
1288
|
+
} | {
|
|
1289
|
+
eventName: "RewardsSettled";
|
|
1290
|
+
args: {
|
|
1291
|
+
user: `0x${string}`;
|
|
1292
|
+
pending: bigint;
|
|
1293
|
+
accrued: bigint;
|
|
1294
|
+
userIndex: bigint;
|
|
1295
|
+
};
|
|
1296
|
+
} | {
|
|
1297
|
+
eventName: "RootCommitted";
|
|
1298
|
+
args: {
|
|
1299
|
+
merkleRoot: `0x${string}`;
|
|
1300
|
+
blockNum: bigint;
|
|
1301
|
+
};
|
|
1302
|
+
} | {
|
|
1303
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
1304
|
+
args: {
|
|
1305
|
+
version: string;
|
|
1306
|
+
blockNumber: bigint;
|
|
1307
|
+
};
|
|
1308
|
+
} | {
|
|
1309
|
+
eventName: "Staked";
|
|
1310
|
+
args: {
|
|
1311
|
+
user: `0x${string}`;
|
|
1312
|
+
amount: bigint;
|
|
1313
|
+
};
|
|
1314
|
+
} | {
|
|
1315
|
+
eventName: "UnstakeRequested";
|
|
1316
|
+
args: {
|
|
1317
|
+
user: `0x${string}`;
|
|
1318
|
+
amount: bigint;
|
|
1319
|
+
unlockTime: bigint;
|
|
1320
|
+
};
|
|
1321
|
+
} | {
|
|
1322
|
+
eventName: "UnstakedWithdrawn";
|
|
1323
|
+
args: {
|
|
1324
|
+
user: `0x${string}`;
|
|
1325
|
+
amount: bigint;
|
|
1326
|
+
};
|
|
1327
|
+
} | {
|
|
1328
|
+
eventName: "ValidatorAdded";
|
|
1329
|
+
args: {
|
|
1330
|
+
owner: `0x${string}`;
|
|
1331
|
+
operatorIds: readonly bigint[];
|
|
1332
|
+
publicKey: `0x${string}`;
|
|
1333
|
+
shares: `0x${string}`;
|
|
1334
|
+
cluster: {
|
|
1335
|
+
validatorCount: number;
|
|
1336
|
+
networkFeeIndex: bigint;
|
|
1337
|
+
index: bigint;
|
|
1338
|
+
active: boolean;
|
|
1339
|
+
balance: bigint;
|
|
1340
|
+
};
|
|
901
1341
|
};
|
|
902
1342
|
} | {
|
|
903
1343
|
eventName: "ValidatorExited";
|
|
@@ -920,6 +1360,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
920
1360
|
balance: bigint;
|
|
921
1361
|
};
|
|
922
1362
|
};
|
|
1363
|
+
} | {
|
|
1364
|
+
eventName: "WeightedRootProposed";
|
|
1365
|
+
args: {
|
|
1366
|
+
merkleRoot: `0x${string}`;
|
|
1367
|
+
blockNum: bigint;
|
|
1368
|
+
accumulatedWeight: bigint;
|
|
1369
|
+
quorum: bigint;
|
|
1370
|
+
oracleId: number;
|
|
1371
|
+
oracle: `0x${string}`;
|
|
1372
|
+
};
|
|
923
1373
|
} | {
|
|
924
1374
|
eventName: "OwnershipTransferred";
|
|
925
1375
|
args: {
|
|
@@ -946,9 +1396,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
946
1396
|
operatorIds: readonly bigint[];
|
|
947
1397
|
whitelistAddresses: readonly `0x${string}`[];
|
|
948
1398
|
};
|
|
949
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
950
1399
|
nonce?: number | undefined;
|
|
951
1400
|
blockNumber?: bigint | undefined | undefined;
|
|
1401
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
952
1402
|
gas?: bigint | undefined;
|
|
953
1403
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
954
1404
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -975,9 +1425,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
975
1425
|
args: {
|
|
976
1426
|
operatorIds: readonly bigint[];
|
|
977
1427
|
};
|
|
978
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
979
1428
|
nonce?: number | undefined;
|
|
980
1429
|
blockNumber?: bigint | undefined | undefined;
|
|
1430
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
981
1431
|
gas?: bigint | undefined;
|
|
982
1432
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
983
1433
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -1026,6 +1476,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1026
1476
|
args: {
|
|
1027
1477
|
implementation: `0x${string}`;
|
|
1028
1478
|
};
|
|
1479
|
+
} | {
|
|
1480
|
+
eventName: "ClusterBalanceUpdated";
|
|
1481
|
+
args: {
|
|
1482
|
+
owner: `0x${string}`;
|
|
1483
|
+
operatorIds: readonly bigint[];
|
|
1484
|
+
blockNum: bigint;
|
|
1485
|
+
effectiveBalance: number;
|
|
1486
|
+
cluster: {
|
|
1487
|
+
validatorCount: number;
|
|
1488
|
+
networkFeeIndex: bigint;
|
|
1489
|
+
index: bigint;
|
|
1490
|
+
active: boolean;
|
|
1491
|
+
balance: bigint;
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1029
1494
|
} | {
|
|
1030
1495
|
eventName: "ClusterDeposited";
|
|
1031
1496
|
args: {
|
|
@@ -1053,6 +1518,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1053
1518
|
balance: bigint;
|
|
1054
1519
|
};
|
|
1055
1520
|
};
|
|
1521
|
+
} | {
|
|
1522
|
+
eventName: "ClusterMigratedToETH";
|
|
1523
|
+
args: {
|
|
1524
|
+
owner: `0x${string}`;
|
|
1525
|
+
operatorIds: readonly bigint[];
|
|
1526
|
+
ethDeposited: bigint;
|
|
1527
|
+
ssvRefunded: bigint;
|
|
1528
|
+
effectiveBalance: number;
|
|
1529
|
+
cluster: {
|
|
1530
|
+
validatorCount: number;
|
|
1531
|
+
networkFeeIndex: bigint;
|
|
1532
|
+
index: bigint;
|
|
1533
|
+
active: boolean;
|
|
1534
|
+
balance: bigint;
|
|
1535
|
+
};
|
|
1536
|
+
};
|
|
1056
1537
|
} | {
|
|
1057
1538
|
eventName: "ClusterReactivated";
|
|
1058
1539
|
args: {
|
|
@@ -1080,11 +1561,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1080
1561
|
balance: bigint;
|
|
1081
1562
|
};
|
|
1082
1563
|
};
|
|
1564
|
+
} | {
|
|
1565
|
+
eventName: "CooldownDurationUpdated";
|
|
1566
|
+
args: {
|
|
1567
|
+
newCooldownDuration: bigint;
|
|
1568
|
+
};
|
|
1083
1569
|
} | {
|
|
1084
1570
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
1085
1571
|
args: {
|
|
1086
1572
|
value: bigint;
|
|
1087
1573
|
};
|
|
1574
|
+
} | {
|
|
1575
|
+
eventName: "ERC20Rescued";
|
|
1576
|
+
args: {
|
|
1577
|
+
token: `0x${string}`;
|
|
1578
|
+
to: `0x${string}`;
|
|
1579
|
+
amount: bigint;
|
|
1580
|
+
};
|
|
1088
1581
|
} | {
|
|
1089
1582
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
1090
1583
|
args: {
|
|
@@ -1096,16 +1589,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1096
1589
|
owner: `0x${string}`;
|
|
1097
1590
|
recipientAddress: `0x${string}`;
|
|
1098
1591
|
};
|
|
1592
|
+
} | {
|
|
1593
|
+
eventName: "FeesSynced";
|
|
1594
|
+
args: {
|
|
1595
|
+
newFeesWei: bigint;
|
|
1596
|
+
accEthPerShare: bigint;
|
|
1597
|
+
};
|
|
1598
|
+
} | {
|
|
1599
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
1600
|
+
args: {
|
|
1601
|
+
value: bigint;
|
|
1602
|
+
};
|
|
1099
1603
|
} | {
|
|
1100
1604
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
1101
1605
|
args: {
|
|
1102
1606
|
value: bigint;
|
|
1103
1607
|
};
|
|
1608
|
+
} | {
|
|
1609
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
1610
|
+
args: {
|
|
1611
|
+
newMinBlocksBetweenUpdates: number;
|
|
1612
|
+
};
|
|
1613
|
+
} | {
|
|
1614
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
1615
|
+
args: {
|
|
1616
|
+
value: bigint;
|
|
1617
|
+
};
|
|
1104
1618
|
} | {
|
|
1105
1619
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
1106
1620
|
args: {
|
|
1107
1621
|
value: bigint;
|
|
1108
1622
|
};
|
|
1623
|
+
} | {
|
|
1624
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
1625
|
+
args: {
|
|
1626
|
+
minFee: bigint;
|
|
1627
|
+
};
|
|
1109
1628
|
} | {
|
|
1110
1629
|
eventName: "ModuleUpgraded";
|
|
1111
1630
|
args: {
|
|
@@ -1124,6 +1643,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1124
1643
|
oldFee: bigint;
|
|
1125
1644
|
newFee: bigint;
|
|
1126
1645
|
};
|
|
1646
|
+
} | {
|
|
1647
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
1648
|
+
args: {
|
|
1649
|
+
oldFee: bigint;
|
|
1650
|
+
newFee: bigint;
|
|
1651
|
+
};
|
|
1127
1652
|
} | {
|
|
1128
1653
|
eventName: "OperatorAdded";
|
|
1129
1654
|
args: {
|
|
@@ -1206,6 +1731,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1206
1731
|
operatorId: bigint;
|
|
1207
1732
|
value: bigint;
|
|
1208
1733
|
};
|
|
1734
|
+
} | {
|
|
1735
|
+
eventName: "OperatorWithdrawnSSV";
|
|
1736
|
+
args: {
|
|
1737
|
+
owner: `0x${string}`;
|
|
1738
|
+
operatorId: bigint;
|
|
1739
|
+
value: bigint;
|
|
1740
|
+
};
|
|
1741
|
+
} | {
|
|
1742
|
+
eventName: "OracleReplaced";
|
|
1743
|
+
args: {
|
|
1744
|
+
oracleId: number;
|
|
1745
|
+
oldOracle: `0x${string}`;
|
|
1746
|
+
newOracle: `0x${string}`;
|
|
1747
|
+
};
|
|
1748
|
+
} | {
|
|
1749
|
+
eventName: "QuorumUpdated";
|
|
1750
|
+
args: {
|
|
1751
|
+
newQuorum: number;
|
|
1752
|
+
};
|
|
1753
|
+
} | {
|
|
1754
|
+
eventName: "RewardsClaimed";
|
|
1755
|
+
args: {
|
|
1756
|
+
user: `0x${string}`;
|
|
1757
|
+
amount: bigint;
|
|
1758
|
+
};
|
|
1759
|
+
} | {
|
|
1760
|
+
eventName: "RewardsSettled";
|
|
1761
|
+
args: {
|
|
1762
|
+
user: `0x${string}`;
|
|
1763
|
+
pending: bigint;
|
|
1764
|
+
accrued: bigint;
|
|
1765
|
+
userIndex: bigint;
|
|
1766
|
+
};
|
|
1767
|
+
} | {
|
|
1768
|
+
eventName: "RootCommitted";
|
|
1769
|
+
args: {
|
|
1770
|
+
merkleRoot: `0x${string}`;
|
|
1771
|
+
blockNum: bigint;
|
|
1772
|
+
};
|
|
1773
|
+
} | {
|
|
1774
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
1775
|
+
args: {
|
|
1776
|
+
version: string;
|
|
1777
|
+
blockNumber: bigint;
|
|
1778
|
+
};
|
|
1779
|
+
} | {
|
|
1780
|
+
eventName: "Staked";
|
|
1781
|
+
args: {
|
|
1782
|
+
user: `0x${string}`;
|
|
1783
|
+
amount: bigint;
|
|
1784
|
+
};
|
|
1785
|
+
} | {
|
|
1786
|
+
eventName: "UnstakeRequested";
|
|
1787
|
+
args: {
|
|
1788
|
+
user: `0x${string}`;
|
|
1789
|
+
amount: bigint;
|
|
1790
|
+
unlockTime: bigint;
|
|
1791
|
+
};
|
|
1792
|
+
} | {
|
|
1793
|
+
eventName: "UnstakedWithdrawn";
|
|
1794
|
+
args: {
|
|
1795
|
+
user: `0x${string}`;
|
|
1796
|
+
amount: bigint;
|
|
1797
|
+
};
|
|
1209
1798
|
} | {
|
|
1210
1799
|
eventName: "ValidatorAdded";
|
|
1211
1800
|
args: {
|
|
@@ -1242,6 +1831,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1242
1831
|
balance: bigint;
|
|
1243
1832
|
};
|
|
1244
1833
|
};
|
|
1834
|
+
} | {
|
|
1835
|
+
eventName: "WeightedRootProposed";
|
|
1836
|
+
args: {
|
|
1837
|
+
merkleRoot: `0x${string}`;
|
|
1838
|
+
blockNum: bigint;
|
|
1839
|
+
accumulatedWeight: bigint;
|
|
1840
|
+
quorum: bigint;
|
|
1841
|
+
oracleId: number;
|
|
1842
|
+
oracle: `0x${string}`;
|
|
1843
|
+
};
|
|
1245
1844
|
} | {
|
|
1246
1845
|
eventName: "OwnershipTransferred";
|
|
1247
1846
|
args: {
|
|
@@ -1267,9 +1866,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1267
1866
|
args: {
|
|
1268
1867
|
operatorIds: readonly bigint[];
|
|
1269
1868
|
};
|
|
1270
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1271
1869
|
nonce?: number | undefined;
|
|
1272
1870
|
blockNumber?: bigint | undefined | undefined;
|
|
1871
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1273
1872
|
gas?: bigint | undefined;
|
|
1274
1873
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
1275
1874
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -1295,9 +1894,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1295
1894
|
args: {
|
|
1296
1895
|
operatorIds: readonly bigint[];
|
|
1297
1896
|
};
|
|
1298
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1299
1897
|
nonce?: number | undefined;
|
|
1300
1898
|
blockNumber?: bigint | undefined | undefined;
|
|
1899
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1301
1900
|
gas?: bigint | undefined;
|
|
1302
1901
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
1303
1902
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -1346,6 +1945,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1346
1945
|
args: {
|
|
1347
1946
|
implementation: `0x${string}`;
|
|
1348
1947
|
};
|
|
1948
|
+
} | {
|
|
1949
|
+
eventName: "ClusterBalanceUpdated";
|
|
1950
|
+
args: {
|
|
1951
|
+
owner: `0x${string}`;
|
|
1952
|
+
operatorIds: readonly bigint[];
|
|
1953
|
+
blockNum: bigint;
|
|
1954
|
+
effectiveBalance: number;
|
|
1955
|
+
cluster: {
|
|
1956
|
+
validatorCount: number;
|
|
1957
|
+
networkFeeIndex: bigint;
|
|
1958
|
+
index: bigint;
|
|
1959
|
+
active: boolean;
|
|
1960
|
+
balance: bigint;
|
|
1961
|
+
};
|
|
1962
|
+
};
|
|
1349
1963
|
} | {
|
|
1350
1964
|
eventName: "ClusterDeposited";
|
|
1351
1965
|
args: {
|
|
@@ -1373,6 +1987,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1373
1987
|
balance: bigint;
|
|
1374
1988
|
};
|
|
1375
1989
|
};
|
|
1990
|
+
} | {
|
|
1991
|
+
eventName: "ClusterMigratedToETH";
|
|
1992
|
+
args: {
|
|
1993
|
+
owner: `0x${string}`;
|
|
1994
|
+
operatorIds: readonly bigint[];
|
|
1995
|
+
ethDeposited: bigint;
|
|
1996
|
+
ssvRefunded: bigint;
|
|
1997
|
+
effectiveBalance: number;
|
|
1998
|
+
cluster: {
|
|
1999
|
+
validatorCount: number;
|
|
2000
|
+
networkFeeIndex: bigint;
|
|
2001
|
+
index: bigint;
|
|
2002
|
+
active: boolean;
|
|
2003
|
+
balance: bigint;
|
|
2004
|
+
};
|
|
2005
|
+
};
|
|
1376
2006
|
} | {
|
|
1377
2007
|
eventName: "ClusterReactivated";
|
|
1378
2008
|
args: {
|
|
@@ -1400,11 +2030,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1400
2030
|
balance: bigint;
|
|
1401
2031
|
};
|
|
1402
2032
|
};
|
|
2033
|
+
} | {
|
|
2034
|
+
eventName: "CooldownDurationUpdated";
|
|
2035
|
+
args: {
|
|
2036
|
+
newCooldownDuration: bigint;
|
|
2037
|
+
};
|
|
1403
2038
|
} | {
|
|
1404
2039
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
1405
2040
|
args: {
|
|
1406
2041
|
value: bigint;
|
|
1407
2042
|
};
|
|
2043
|
+
} | {
|
|
2044
|
+
eventName: "ERC20Rescued";
|
|
2045
|
+
args: {
|
|
2046
|
+
token: `0x${string}`;
|
|
2047
|
+
to: `0x${string}`;
|
|
2048
|
+
amount: bigint;
|
|
2049
|
+
};
|
|
1408
2050
|
} | {
|
|
1409
2051
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
1410
2052
|
args: {
|
|
@@ -1416,16 +2058,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1416
2058
|
owner: `0x${string}`;
|
|
1417
2059
|
recipientAddress: `0x${string}`;
|
|
1418
2060
|
};
|
|
2061
|
+
} | {
|
|
2062
|
+
eventName: "FeesSynced";
|
|
2063
|
+
args: {
|
|
2064
|
+
newFeesWei: bigint;
|
|
2065
|
+
accEthPerShare: bigint;
|
|
2066
|
+
};
|
|
2067
|
+
} | {
|
|
2068
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
2069
|
+
args: {
|
|
2070
|
+
value: bigint;
|
|
2071
|
+
};
|
|
1419
2072
|
} | {
|
|
1420
2073
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
1421
2074
|
args: {
|
|
1422
2075
|
value: bigint;
|
|
1423
2076
|
};
|
|
2077
|
+
} | {
|
|
2078
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
2079
|
+
args: {
|
|
2080
|
+
newMinBlocksBetweenUpdates: number;
|
|
2081
|
+
};
|
|
2082
|
+
} | {
|
|
2083
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
2084
|
+
args: {
|
|
2085
|
+
value: bigint;
|
|
2086
|
+
};
|
|
1424
2087
|
} | {
|
|
1425
2088
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
1426
2089
|
args: {
|
|
1427
2090
|
value: bigint;
|
|
1428
2091
|
};
|
|
2092
|
+
} | {
|
|
2093
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
2094
|
+
args: {
|
|
2095
|
+
minFee: bigint;
|
|
2096
|
+
};
|
|
1429
2097
|
} | {
|
|
1430
2098
|
eventName: "ModuleUpgraded";
|
|
1431
2099
|
args: {
|
|
@@ -1444,6 +2112,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1444
2112
|
oldFee: bigint;
|
|
1445
2113
|
newFee: bigint;
|
|
1446
2114
|
};
|
|
2115
|
+
} | {
|
|
2116
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
2117
|
+
args: {
|
|
2118
|
+
oldFee: bigint;
|
|
2119
|
+
newFee: bigint;
|
|
2120
|
+
};
|
|
1447
2121
|
} | {
|
|
1448
2122
|
eventName: "OperatorAdded";
|
|
1449
2123
|
args: {
|
|
@@ -1526,6 +2200,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1526
2200
|
operatorId: bigint;
|
|
1527
2201
|
value: bigint;
|
|
1528
2202
|
};
|
|
2203
|
+
} | {
|
|
2204
|
+
eventName: "OperatorWithdrawnSSV";
|
|
2205
|
+
args: {
|
|
2206
|
+
owner: `0x${string}`;
|
|
2207
|
+
operatorId: bigint;
|
|
2208
|
+
value: bigint;
|
|
2209
|
+
};
|
|
2210
|
+
} | {
|
|
2211
|
+
eventName: "OracleReplaced";
|
|
2212
|
+
args: {
|
|
2213
|
+
oracleId: number;
|
|
2214
|
+
oldOracle: `0x${string}`;
|
|
2215
|
+
newOracle: `0x${string}`;
|
|
2216
|
+
};
|
|
2217
|
+
} | {
|
|
2218
|
+
eventName: "QuorumUpdated";
|
|
2219
|
+
args: {
|
|
2220
|
+
newQuorum: number;
|
|
2221
|
+
};
|
|
2222
|
+
} | {
|
|
2223
|
+
eventName: "RewardsClaimed";
|
|
2224
|
+
args: {
|
|
2225
|
+
user: `0x${string}`;
|
|
2226
|
+
amount: bigint;
|
|
2227
|
+
};
|
|
2228
|
+
} | {
|
|
2229
|
+
eventName: "RewardsSettled";
|
|
2230
|
+
args: {
|
|
2231
|
+
user: `0x${string}`;
|
|
2232
|
+
pending: bigint;
|
|
2233
|
+
accrued: bigint;
|
|
2234
|
+
userIndex: bigint;
|
|
2235
|
+
};
|
|
2236
|
+
} | {
|
|
2237
|
+
eventName: "RootCommitted";
|
|
2238
|
+
args: {
|
|
2239
|
+
merkleRoot: `0x${string}`;
|
|
2240
|
+
blockNum: bigint;
|
|
2241
|
+
};
|
|
2242
|
+
} | {
|
|
2243
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
2244
|
+
args: {
|
|
2245
|
+
version: string;
|
|
2246
|
+
blockNumber: bigint;
|
|
2247
|
+
};
|
|
2248
|
+
} | {
|
|
2249
|
+
eventName: "Staked";
|
|
2250
|
+
args: {
|
|
2251
|
+
user: `0x${string}`;
|
|
2252
|
+
amount: bigint;
|
|
2253
|
+
};
|
|
2254
|
+
} | {
|
|
2255
|
+
eventName: "UnstakeRequested";
|
|
2256
|
+
args: {
|
|
2257
|
+
user: `0x${string}`;
|
|
2258
|
+
amount: bigint;
|
|
2259
|
+
unlockTime: bigint;
|
|
2260
|
+
};
|
|
2261
|
+
} | {
|
|
2262
|
+
eventName: "UnstakedWithdrawn";
|
|
2263
|
+
args: {
|
|
2264
|
+
user: `0x${string}`;
|
|
2265
|
+
amount: bigint;
|
|
2266
|
+
};
|
|
1529
2267
|
} | {
|
|
1530
2268
|
eventName: "ValidatorAdded";
|
|
1531
2269
|
args: {
|
|
@@ -1562,6 +2300,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1562
2300
|
balance: bigint;
|
|
1563
2301
|
};
|
|
1564
2302
|
};
|
|
2303
|
+
} | {
|
|
2304
|
+
eventName: "WeightedRootProposed";
|
|
2305
|
+
args: {
|
|
2306
|
+
merkleRoot: `0x${string}`;
|
|
2307
|
+
blockNum: bigint;
|
|
2308
|
+
accumulatedWeight: bigint;
|
|
2309
|
+
quorum: bigint;
|
|
2310
|
+
oracleId: number;
|
|
2311
|
+
oracle: `0x${string}`;
|
|
2312
|
+
};
|
|
1565
2313
|
} | {
|
|
1566
2314
|
eventName: "OwnershipTransferred";
|
|
1567
2315
|
args: {
|
|
@@ -1587,9 +2335,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1587
2335
|
args: {
|
|
1588
2336
|
operatorIds: readonly bigint[];
|
|
1589
2337
|
};
|
|
1590
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1591
2338
|
nonce?: number | undefined;
|
|
1592
2339
|
blockNumber?: bigint | undefined | undefined;
|
|
2340
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1593
2341
|
gas?: bigint | undefined;
|
|
1594
2342
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
1595
2343
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -1617,9 +2365,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1617
2365
|
operatorIds: readonly bigint[];
|
|
1618
2366
|
whitelistAddresses: readonly `0x${string}`[];
|
|
1619
2367
|
};
|
|
1620
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1621
2368
|
nonce?: number | undefined;
|
|
1622
2369
|
blockNumber?: bigint | undefined | undefined;
|
|
2370
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1623
2371
|
gas?: bigint | undefined;
|
|
1624
2372
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
1625
2373
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -1668,6 +2416,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1668
2416
|
args: {
|
|
1669
2417
|
implementation: `0x${string}`;
|
|
1670
2418
|
};
|
|
2419
|
+
} | {
|
|
2420
|
+
eventName: "ClusterBalanceUpdated";
|
|
2421
|
+
args: {
|
|
2422
|
+
owner: `0x${string}`;
|
|
2423
|
+
operatorIds: readonly bigint[];
|
|
2424
|
+
blockNum: bigint;
|
|
2425
|
+
effectiveBalance: number;
|
|
2426
|
+
cluster: {
|
|
2427
|
+
validatorCount: number;
|
|
2428
|
+
networkFeeIndex: bigint;
|
|
2429
|
+
index: bigint;
|
|
2430
|
+
active: boolean;
|
|
2431
|
+
balance: bigint;
|
|
2432
|
+
};
|
|
2433
|
+
};
|
|
1671
2434
|
} | {
|
|
1672
2435
|
eventName: "ClusterDeposited";
|
|
1673
2436
|
args: {
|
|
@@ -1695,6 +2458,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1695
2458
|
balance: bigint;
|
|
1696
2459
|
};
|
|
1697
2460
|
};
|
|
2461
|
+
} | {
|
|
2462
|
+
eventName: "ClusterMigratedToETH";
|
|
2463
|
+
args: {
|
|
2464
|
+
owner: `0x${string}`;
|
|
2465
|
+
operatorIds: readonly bigint[];
|
|
2466
|
+
ethDeposited: bigint;
|
|
2467
|
+
ssvRefunded: bigint;
|
|
2468
|
+
effectiveBalance: number;
|
|
2469
|
+
cluster: {
|
|
2470
|
+
validatorCount: number;
|
|
2471
|
+
networkFeeIndex: bigint;
|
|
2472
|
+
index: bigint;
|
|
2473
|
+
active: boolean;
|
|
2474
|
+
balance: bigint;
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
1698
2477
|
} | {
|
|
1699
2478
|
eventName: "ClusterReactivated";
|
|
1700
2479
|
args: {
|
|
@@ -1722,11 +2501,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1722
2501
|
balance: bigint;
|
|
1723
2502
|
};
|
|
1724
2503
|
};
|
|
2504
|
+
} | {
|
|
2505
|
+
eventName: "CooldownDurationUpdated";
|
|
2506
|
+
args: {
|
|
2507
|
+
newCooldownDuration: bigint;
|
|
2508
|
+
};
|
|
1725
2509
|
} | {
|
|
1726
2510
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
1727
2511
|
args: {
|
|
1728
2512
|
value: bigint;
|
|
1729
2513
|
};
|
|
2514
|
+
} | {
|
|
2515
|
+
eventName: "ERC20Rescued";
|
|
2516
|
+
args: {
|
|
2517
|
+
token: `0x${string}`;
|
|
2518
|
+
to: `0x${string}`;
|
|
2519
|
+
amount: bigint;
|
|
2520
|
+
};
|
|
1730
2521
|
} | {
|
|
1731
2522
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
1732
2523
|
args: {
|
|
@@ -1738,16 +2529,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1738
2529
|
owner: `0x${string}`;
|
|
1739
2530
|
recipientAddress: `0x${string}`;
|
|
1740
2531
|
};
|
|
2532
|
+
} | {
|
|
2533
|
+
eventName: "FeesSynced";
|
|
2534
|
+
args: {
|
|
2535
|
+
newFeesWei: bigint;
|
|
2536
|
+
accEthPerShare: bigint;
|
|
2537
|
+
};
|
|
2538
|
+
} | {
|
|
2539
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
2540
|
+
args: {
|
|
2541
|
+
value: bigint;
|
|
2542
|
+
};
|
|
1741
2543
|
} | {
|
|
1742
2544
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
1743
2545
|
args: {
|
|
1744
2546
|
value: bigint;
|
|
1745
2547
|
};
|
|
2548
|
+
} | {
|
|
2549
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
2550
|
+
args: {
|
|
2551
|
+
newMinBlocksBetweenUpdates: number;
|
|
2552
|
+
};
|
|
2553
|
+
} | {
|
|
2554
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
2555
|
+
args: {
|
|
2556
|
+
value: bigint;
|
|
2557
|
+
};
|
|
1746
2558
|
} | {
|
|
1747
2559
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
1748
2560
|
args: {
|
|
1749
2561
|
value: bigint;
|
|
1750
2562
|
};
|
|
2563
|
+
} | {
|
|
2564
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
2565
|
+
args: {
|
|
2566
|
+
minFee: bigint;
|
|
2567
|
+
};
|
|
1751
2568
|
} | {
|
|
1752
2569
|
eventName: "ModuleUpgraded";
|
|
1753
2570
|
args: {
|
|
@@ -1766,6 +2583,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1766
2583
|
oldFee: bigint;
|
|
1767
2584
|
newFee: bigint;
|
|
1768
2585
|
};
|
|
2586
|
+
} | {
|
|
2587
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
2588
|
+
args: {
|
|
2589
|
+
oldFee: bigint;
|
|
2590
|
+
newFee: bigint;
|
|
2591
|
+
};
|
|
1769
2592
|
} | {
|
|
1770
2593
|
eventName: "OperatorAdded";
|
|
1771
2594
|
args: {
|
|
@@ -1848,6 +2671,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1848
2671
|
operatorId: bigint;
|
|
1849
2672
|
value: bigint;
|
|
1850
2673
|
};
|
|
2674
|
+
} | {
|
|
2675
|
+
eventName: "OperatorWithdrawnSSV";
|
|
2676
|
+
args: {
|
|
2677
|
+
owner: `0x${string}`;
|
|
2678
|
+
operatorId: bigint;
|
|
2679
|
+
value: bigint;
|
|
2680
|
+
};
|
|
2681
|
+
} | {
|
|
2682
|
+
eventName: "OracleReplaced";
|
|
2683
|
+
args: {
|
|
2684
|
+
oracleId: number;
|
|
2685
|
+
oldOracle: `0x${string}`;
|
|
2686
|
+
newOracle: `0x${string}`;
|
|
2687
|
+
};
|
|
2688
|
+
} | {
|
|
2689
|
+
eventName: "QuorumUpdated";
|
|
2690
|
+
args: {
|
|
2691
|
+
newQuorum: number;
|
|
2692
|
+
};
|
|
2693
|
+
} | {
|
|
2694
|
+
eventName: "RewardsClaimed";
|
|
2695
|
+
args: {
|
|
2696
|
+
user: `0x${string}`;
|
|
2697
|
+
amount: bigint;
|
|
2698
|
+
};
|
|
2699
|
+
} | {
|
|
2700
|
+
eventName: "RewardsSettled";
|
|
2701
|
+
args: {
|
|
2702
|
+
user: `0x${string}`;
|
|
2703
|
+
pending: bigint;
|
|
2704
|
+
accrued: bigint;
|
|
2705
|
+
userIndex: bigint;
|
|
2706
|
+
};
|
|
2707
|
+
} | {
|
|
2708
|
+
eventName: "RootCommitted";
|
|
2709
|
+
args: {
|
|
2710
|
+
merkleRoot: `0x${string}`;
|
|
2711
|
+
blockNum: bigint;
|
|
2712
|
+
};
|
|
2713
|
+
} | {
|
|
2714
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
2715
|
+
args: {
|
|
2716
|
+
version: string;
|
|
2717
|
+
blockNumber: bigint;
|
|
2718
|
+
};
|
|
2719
|
+
} | {
|
|
2720
|
+
eventName: "Staked";
|
|
2721
|
+
args: {
|
|
2722
|
+
user: `0x${string}`;
|
|
2723
|
+
amount: bigint;
|
|
2724
|
+
};
|
|
2725
|
+
} | {
|
|
2726
|
+
eventName: "UnstakeRequested";
|
|
2727
|
+
args: {
|
|
2728
|
+
user: `0x${string}`;
|
|
2729
|
+
amount: bigint;
|
|
2730
|
+
unlockTime: bigint;
|
|
2731
|
+
};
|
|
2732
|
+
} | {
|
|
2733
|
+
eventName: "UnstakedWithdrawn";
|
|
2734
|
+
args: {
|
|
2735
|
+
user: `0x${string}`;
|
|
2736
|
+
amount: bigint;
|
|
2737
|
+
};
|
|
1851
2738
|
} | {
|
|
1852
2739
|
eventName: "ValidatorAdded";
|
|
1853
2740
|
args: {
|
|
@@ -1884,6 +2771,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1884
2771
|
balance: bigint;
|
|
1885
2772
|
};
|
|
1886
2773
|
};
|
|
2774
|
+
} | {
|
|
2775
|
+
eventName: "WeightedRootProposed";
|
|
2776
|
+
args: {
|
|
2777
|
+
merkleRoot: `0x${string}`;
|
|
2778
|
+
blockNum: bigint;
|
|
2779
|
+
accumulatedWeight: bigint;
|
|
2780
|
+
quorum: bigint;
|
|
2781
|
+
oracleId: number;
|
|
2782
|
+
oracle: `0x${string}`;
|
|
2783
|
+
};
|
|
1887
2784
|
} | {
|
|
1888
2785
|
eventName: "OwnershipTransferred";
|
|
1889
2786
|
args: {
|
|
@@ -1910,9 +2807,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1910
2807
|
operatorIds: readonly bigint[];
|
|
1911
2808
|
whitelistAddresses: readonly `0x${string}`[];
|
|
1912
2809
|
};
|
|
1913
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1914
2810
|
nonce?: number | undefined;
|
|
1915
2811
|
blockNumber?: bigint | undefined | undefined;
|
|
2812
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1916
2813
|
gas?: bigint | undefined;
|
|
1917
2814
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
1918
2815
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -1940,9 +2837,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1940
2837
|
operatorId: bigint;
|
|
1941
2838
|
fee: bigint;
|
|
1942
2839
|
};
|
|
1943
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1944
2840
|
nonce?: number | undefined;
|
|
1945
2841
|
blockNumber?: bigint | undefined | undefined;
|
|
2842
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
1946
2843
|
gas?: bigint | undefined;
|
|
1947
2844
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
1948
2845
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -1991,6 +2888,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
1991
2888
|
args: {
|
|
1992
2889
|
implementation: `0x${string}`;
|
|
1993
2890
|
};
|
|
2891
|
+
} | {
|
|
2892
|
+
eventName: "ClusterBalanceUpdated";
|
|
2893
|
+
args: {
|
|
2894
|
+
owner: `0x${string}`;
|
|
2895
|
+
operatorIds: readonly bigint[];
|
|
2896
|
+
blockNum: bigint;
|
|
2897
|
+
effectiveBalance: number;
|
|
2898
|
+
cluster: {
|
|
2899
|
+
validatorCount: number;
|
|
2900
|
+
networkFeeIndex: bigint;
|
|
2901
|
+
index: bigint;
|
|
2902
|
+
active: boolean;
|
|
2903
|
+
balance: bigint;
|
|
2904
|
+
};
|
|
2905
|
+
};
|
|
1994
2906
|
} | {
|
|
1995
2907
|
eventName: "ClusterDeposited";
|
|
1996
2908
|
args: {
|
|
@@ -2018,6 +2930,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2018
2930
|
balance: bigint;
|
|
2019
2931
|
};
|
|
2020
2932
|
};
|
|
2933
|
+
} | {
|
|
2934
|
+
eventName: "ClusterMigratedToETH";
|
|
2935
|
+
args: {
|
|
2936
|
+
owner: `0x${string}`;
|
|
2937
|
+
operatorIds: readonly bigint[];
|
|
2938
|
+
ethDeposited: bigint;
|
|
2939
|
+
ssvRefunded: bigint;
|
|
2940
|
+
effectiveBalance: number;
|
|
2941
|
+
cluster: {
|
|
2942
|
+
validatorCount: number;
|
|
2943
|
+
networkFeeIndex: bigint;
|
|
2944
|
+
index: bigint;
|
|
2945
|
+
active: boolean;
|
|
2946
|
+
balance: bigint;
|
|
2947
|
+
};
|
|
2948
|
+
};
|
|
2021
2949
|
} | {
|
|
2022
2950
|
eventName: "ClusterReactivated";
|
|
2023
2951
|
args: {
|
|
@@ -2045,11 +2973,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2045
2973
|
balance: bigint;
|
|
2046
2974
|
};
|
|
2047
2975
|
};
|
|
2976
|
+
} | {
|
|
2977
|
+
eventName: "CooldownDurationUpdated";
|
|
2978
|
+
args: {
|
|
2979
|
+
newCooldownDuration: bigint;
|
|
2980
|
+
};
|
|
2048
2981
|
} | {
|
|
2049
2982
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
2050
2983
|
args: {
|
|
2051
2984
|
value: bigint;
|
|
2052
2985
|
};
|
|
2986
|
+
} | {
|
|
2987
|
+
eventName: "ERC20Rescued";
|
|
2988
|
+
args: {
|
|
2989
|
+
token: `0x${string}`;
|
|
2990
|
+
to: `0x${string}`;
|
|
2991
|
+
amount: bigint;
|
|
2992
|
+
};
|
|
2053
2993
|
} | {
|
|
2054
2994
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
2055
2995
|
args: {
|
|
@@ -2061,16 +3001,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2061
3001
|
owner: `0x${string}`;
|
|
2062
3002
|
recipientAddress: `0x${string}`;
|
|
2063
3003
|
};
|
|
3004
|
+
} | {
|
|
3005
|
+
eventName: "FeesSynced";
|
|
3006
|
+
args: {
|
|
3007
|
+
newFeesWei: bigint;
|
|
3008
|
+
accEthPerShare: bigint;
|
|
3009
|
+
};
|
|
3010
|
+
} | {
|
|
3011
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
3012
|
+
args: {
|
|
3013
|
+
value: bigint;
|
|
3014
|
+
};
|
|
2064
3015
|
} | {
|
|
2065
3016
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
2066
3017
|
args: {
|
|
2067
3018
|
value: bigint;
|
|
2068
3019
|
};
|
|
3020
|
+
} | {
|
|
3021
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
3022
|
+
args: {
|
|
3023
|
+
newMinBlocksBetweenUpdates: number;
|
|
3024
|
+
};
|
|
3025
|
+
} | {
|
|
3026
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
3027
|
+
args: {
|
|
3028
|
+
value: bigint;
|
|
3029
|
+
};
|
|
2069
3030
|
} | {
|
|
2070
3031
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
2071
3032
|
args: {
|
|
2072
3033
|
value: bigint;
|
|
2073
3034
|
};
|
|
3035
|
+
} | {
|
|
3036
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
3037
|
+
args: {
|
|
3038
|
+
minFee: bigint;
|
|
3039
|
+
};
|
|
2074
3040
|
} | {
|
|
2075
3041
|
eventName: "ModuleUpgraded";
|
|
2076
3042
|
args: {
|
|
@@ -2089,6 +3055,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2089
3055
|
oldFee: bigint;
|
|
2090
3056
|
newFee: bigint;
|
|
2091
3057
|
};
|
|
3058
|
+
} | {
|
|
3059
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
3060
|
+
args: {
|
|
3061
|
+
oldFee: bigint;
|
|
3062
|
+
newFee: bigint;
|
|
3063
|
+
};
|
|
2092
3064
|
} | {
|
|
2093
3065
|
eventName: "OperatorAdded";
|
|
2094
3066
|
args: {
|
|
@@ -2171,6 +3143,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2171
3143
|
operatorId: bigint;
|
|
2172
3144
|
value: bigint;
|
|
2173
3145
|
};
|
|
3146
|
+
} | {
|
|
3147
|
+
eventName: "OperatorWithdrawnSSV";
|
|
3148
|
+
args: {
|
|
3149
|
+
owner: `0x${string}`;
|
|
3150
|
+
operatorId: bigint;
|
|
3151
|
+
value: bigint;
|
|
3152
|
+
};
|
|
3153
|
+
} | {
|
|
3154
|
+
eventName: "OracleReplaced";
|
|
3155
|
+
args: {
|
|
3156
|
+
oracleId: number;
|
|
3157
|
+
oldOracle: `0x${string}`;
|
|
3158
|
+
newOracle: `0x${string}`;
|
|
3159
|
+
};
|
|
3160
|
+
} | {
|
|
3161
|
+
eventName: "QuorumUpdated";
|
|
3162
|
+
args: {
|
|
3163
|
+
newQuorum: number;
|
|
3164
|
+
};
|
|
3165
|
+
} | {
|
|
3166
|
+
eventName: "RewardsClaimed";
|
|
3167
|
+
args: {
|
|
3168
|
+
user: `0x${string}`;
|
|
3169
|
+
amount: bigint;
|
|
3170
|
+
};
|
|
3171
|
+
} | {
|
|
3172
|
+
eventName: "RewardsSettled";
|
|
3173
|
+
args: {
|
|
3174
|
+
user: `0x${string}`;
|
|
3175
|
+
pending: bigint;
|
|
3176
|
+
accrued: bigint;
|
|
3177
|
+
userIndex: bigint;
|
|
3178
|
+
};
|
|
3179
|
+
} | {
|
|
3180
|
+
eventName: "RootCommitted";
|
|
3181
|
+
args: {
|
|
3182
|
+
merkleRoot: `0x${string}`;
|
|
3183
|
+
blockNum: bigint;
|
|
3184
|
+
};
|
|
3185
|
+
} | {
|
|
3186
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
3187
|
+
args: {
|
|
3188
|
+
version: string;
|
|
3189
|
+
blockNumber: bigint;
|
|
3190
|
+
};
|
|
3191
|
+
} | {
|
|
3192
|
+
eventName: "Staked";
|
|
3193
|
+
args: {
|
|
3194
|
+
user: `0x${string}`;
|
|
3195
|
+
amount: bigint;
|
|
3196
|
+
};
|
|
3197
|
+
} | {
|
|
3198
|
+
eventName: "UnstakeRequested";
|
|
3199
|
+
args: {
|
|
3200
|
+
user: `0x${string}`;
|
|
3201
|
+
amount: bigint;
|
|
3202
|
+
unlockTime: bigint;
|
|
3203
|
+
};
|
|
3204
|
+
} | {
|
|
3205
|
+
eventName: "UnstakedWithdrawn";
|
|
3206
|
+
args: {
|
|
3207
|
+
user: `0x${string}`;
|
|
3208
|
+
amount: bigint;
|
|
3209
|
+
};
|
|
2174
3210
|
} | {
|
|
2175
3211
|
eventName: "ValidatorAdded";
|
|
2176
3212
|
args: {
|
|
@@ -2207,6 +3243,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2207
3243
|
balance: bigint;
|
|
2208
3244
|
};
|
|
2209
3245
|
};
|
|
3246
|
+
} | {
|
|
3247
|
+
eventName: "WeightedRootProposed";
|
|
3248
|
+
args: {
|
|
3249
|
+
merkleRoot: `0x${string}`;
|
|
3250
|
+
blockNum: bigint;
|
|
3251
|
+
accumulatedWeight: bigint;
|
|
3252
|
+
quorum: bigint;
|
|
3253
|
+
oracleId: number;
|
|
3254
|
+
oracle: `0x${string}`;
|
|
3255
|
+
};
|
|
2210
3256
|
} | {
|
|
2211
3257
|
eventName: "OwnershipTransferred";
|
|
2212
3258
|
args: {
|
|
@@ -2233,9 +3279,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2233
3279
|
operatorId: bigint;
|
|
2234
3280
|
fee: bigint;
|
|
2235
3281
|
};
|
|
2236
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2237
3282
|
nonce?: number | undefined;
|
|
2238
3283
|
blockNumber?: bigint | undefined | undefined;
|
|
3284
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2239
3285
|
gas?: bigint | undefined;
|
|
2240
3286
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
2241
3287
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -2262,9 +3308,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2262
3308
|
args: {
|
|
2263
3309
|
operatorId: bigint;
|
|
2264
3310
|
};
|
|
2265
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2266
3311
|
nonce?: number | undefined;
|
|
2267
3312
|
blockNumber?: bigint | undefined | undefined;
|
|
3313
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2268
3314
|
gas?: bigint | undefined;
|
|
2269
3315
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
2270
3316
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -2313,6 +3359,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2313
3359
|
args: {
|
|
2314
3360
|
implementation: `0x${string}`;
|
|
2315
3361
|
};
|
|
3362
|
+
} | {
|
|
3363
|
+
eventName: "ClusterBalanceUpdated";
|
|
3364
|
+
args: {
|
|
3365
|
+
owner: `0x${string}`;
|
|
3366
|
+
operatorIds: readonly bigint[];
|
|
3367
|
+
blockNum: bigint;
|
|
3368
|
+
effectiveBalance: number;
|
|
3369
|
+
cluster: {
|
|
3370
|
+
validatorCount: number;
|
|
3371
|
+
networkFeeIndex: bigint;
|
|
3372
|
+
index: bigint;
|
|
3373
|
+
active: boolean;
|
|
3374
|
+
balance: bigint;
|
|
3375
|
+
};
|
|
3376
|
+
};
|
|
2316
3377
|
} | {
|
|
2317
3378
|
eventName: "ClusterDeposited";
|
|
2318
3379
|
args: {
|
|
@@ -2340,6 +3401,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2340
3401
|
balance: bigint;
|
|
2341
3402
|
};
|
|
2342
3403
|
};
|
|
3404
|
+
} | {
|
|
3405
|
+
eventName: "ClusterMigratedToETH";
|
|
3406
|
+
args: {
|
|
3407
|
+
owner: `0x${string}`;
|
|
3408
|
+
operatorIds: readonly bigint[];
|
|
3409
|
+
ethDeposited: bigint;
|
|
3410
|
+
ssvRefunded: bigint;
|
|
3411
|
+
effectiveBalance: number;
|
|
3412
|
+
cluster: {
|
|
3413
|
+
validatorCount: number;
|
|
3414
|
+
networkFeeIndex: bigint;
|
|
3415
|
+
index: bigint;
|
|
3416
|
+
active: boolean;
|
|
3417
|
+
balance: bigint;
|
|
3418
|
+
};
|
|
3419
|
+
};
|
|
2343
3420
|
} | {
|
|
2344
3421
|
eventName: "ClusterReactivated";
|
|
2345
3422
|
args: {
|
|
@@ -2367,11 +3444,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2367
3444
|
balance: bigint;
|
|
2368
3445
|
};
|
|
2369
3446
|
};
|
|
3447
|
+
} | {
|
|
3448
|
+
eventName: "CooldownDurationUpdated";
|
|
3449
|
+
args: {
|
|
3450
|
+
newCooldownDuration: bigint;
|
|
3451
|
+
};
|
|
2370
3452
|
} | {
|
|
2371
3453
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
2372
3454
|
args: {
|
|
2373
3455
|
value: bigint;
|
|
2374
3456
|
};
|
|
3457
|
+
} | {
|
|
3458
|
+
eventName: "ERC20Rescued";
|
|
3459
|
+
args: {
|
|
3460
|
+
token: `0x${string}`;
|
|
3461
|
+
to: `0x${string}`;
|
|
3462
|
+
amount: bigint;
|
|
3463
|
+
};
|
|
2375
3464
|
} | {
|
|
2376
3465
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
2377
3466
|
args: {
|
|
@@ -2383,16 +3472,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2383
3472
|
owner: `0x${string}`;
|
|
2384
3473
|
recipientAddress: `0x${string}`;
|
|
2385
3474
|
};
|
|
3475
|
+
} | {
|
|
3476
|
+
eventName: "FeesSynced";
|
|
3477
|
+
args: {
|
|
3478
|
+
newFeesWei: bigint;
|
|
3479
|
+
accEthPerShare: bigint;
|
|
3480
|
+
};
|
|
3481
|
+
} | {
|
|
3482
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
3483
|
+
args: {
|
|
3484
|
+
value: bigint;
|
|
3485
|
+
};
|
|
2386
3486
|
} | {
|
|
2387
3487
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
2388
3488
|
args: {
|
|
2389
3489
|
value: bigint;
|
|
2390
3490
|
};
|
|
3491
|
+
} | {
|
|
3492
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
3493
|
+
args: {
|
|
3494
|
+
newMinBlocksBetweenUpdates: number;
|
|
3495
|
+
};
|
|
3496
|
+
} | {
|
|
3497
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
3498
|
+
args: {
|
|
3499
|
+
value: bigint;
|
|
3500
|
+
};
|
|
2391
3501
|
} | {
|
|
2392
3502
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
2393
3503
|
args: {
|
|
2394
3504
|
value: bigint;
|
|
2395
3505
|
};
|
|
3506
|
+
} | {
|
|
3507
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
3508
|
+
args: {
|
|
3509
|
+
minFee: bigint;
|
|
3510
|
+
};
|
|
2396
3511
|
} | {
|
|
2397
3512
|
eventName: "ModuleUpgraded";
|
|
2398
3513
|
args: {
|
|
@@ -2411,6 +3526,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2411
3526
|
oldFee: bigint;
|
|
2412
3527
|
newFee: bigint;
|
|
2413
3528
|
};
|
|
3529
|
+
} | {
|
|
3530
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
3531
|
+
args: {
|
|
3532
|
+
oldFee: bigint;
|
|
3533
|
+
newFee: bigint;
|
|
3534
|
+
};
|
|
2414
3535
|
} | {
|
|
2415
3536
|
eventName: "OperatorAdded";
|
|
2416
3537
|
args: {
|
|
@@ -2493,6 +3614,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2493
3614
|
operatorId: bigint;
|
|
2494
3615
|
value: bigint;
|
|
2495
3616
|
};
|
|
3617
|
+
} | {
|
|
3618
|
+
eventName: "OperatorWithdrawnSSV";
|
|
3619
|
+
args: {
|
|
3620
|
+
owner: `0x${string}`;
|
|
3621
|
+
operatorId: bigint;
|
|
3622
|
+
value: bigint;
|
|
3623
|
+
};
|
|
3624
|
+
} | {
|
|
3625
|
+
eventName: "OracleReplaced";
|
|
3626
|
+
args: {
|
|
3627
|
+
oracleId: number;
|
|
3628
|
+
oldOracle: `0x${string}`;
|
|
3629
|
+
newOracle: `0x${string}`;
|
|
3630
|
+
};
|
|
3631
|
+
} | {
|
|
3632
|
+
eventName: "QuorumUpdated";
|
|
3633
|
+
args: {
|
|
3634
|
+
newQuorum: number;
|
|
3635
|
+
};
|
|
3636
|
+
} | {
|
|
3637
|
+
eventName: "RewardsClaimed";
|
|
3638
|
+
args: {
|
|
3639
|
+
user: `0x${string}`;
|
|
3640
|
+
amount: bigint;
|
|
3641
|
+
};
|
|
3642
|
+
} | {
|
|
3643
|
+
eventName: "RewardsSettled";
|
|
3644
|
+
args: {
|
|
3645
|
+
user: `0x${string}`;
|
|
3646
|
+
pending: bigint;
|
|
3647
|
+
accrued: bigint;
|
|
3648
|
+
userIndex: bigint;
|
|
3649
|
+
};
|
|
3650
|
+
} | {
|
|
3651
|
+
eventName: "RootCommitted";
|
|
3652
|
+
args: {
|
|
3653
|
+
merkleRoot: `0x${string}`;
|
|
3654
|
+
blockNum: bigint;
|
|
3655
|
+
};
|
|
3656
|
+
} | {
|
|
3657
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
3658
|
+
args: {
|
|
3659
|
+
version: string;
|
|
3660
|
+
blockNumber: bigint;
|
|
3661
|
+
};
|
|
3662
|
+
} | {
|
|
3663
|
+
eventName: "Staked";
|
|
3664
|
+
args: {
|
|
3665
|
+
user: `0x${string}`;
|
|
3666
|
+
amount: bigint;
|
|
3667
|
+
};
|
|
3668
|
+
} | {
|
|
3669
|
+
eventName: "UnstakeRequested";
|
|
3670
|
+
args: {
|
|
3671
|
+
user: `0x${string}`;
|
|
3672
|
+
amount: bigint;
|
|
3673
|
+
unlockTime: bigint;
|
|
3674
|
+
};
|
|
3675
|
+
} | {
|
|
3676
|
+
eventName: "UnstakedWithdrawn";
|
|
3677
|
+
args: {
|
|
3678
|
+
user: `0x${string}`;
|
|
3679
|
+
amount: bigint;
|
|
3680
|
+
};
|
|
2496
3681
|
} | {
|
|
2497
3682
|
eventName: "ValidatorAdded";
|
|
2498
3683
|
args: {
|
|
@@ -2529,6 +3714,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2529
3714
|
balance: bigint;
|
|
2530
3715
|
};
|
|
2531
3716
|
};
|
|
3717
|
+
} | {
|
|
3718
|
+
eventName: "WeightedRootProposed";
|
|
3719
|
+
args: {
|
|
3720
|
+
merkleRoot: `0x${string}`;
|
|
3721
|
+
blockNum: bigint;
|
|
3722
|
+
accumulatedWeight: bigint;
|
|
3723
|
+
quorum: bigint;
|
|
3724
|
+
oracleId: number;
|
|
3725
|
+
oracle: `0x${string}`;
|
|
3726
|
+
};
|
|
2532
3727
|
} | {
|
|
2533
3728
|
eventName: "OwnershipTransferred";
|
|
2534
3729
|
args: {
|
|
@@ -2554,9 +3749,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2554
3749
|
args: {
|
|
2555
3750
|
operatorId: bigint;
|
|
2556
3751
|
};
|
|
2557
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2558
3752
|
nonce?: number | undefined;
|
|
2559
3753
|
blockNumber?: bigint | undefined | undefined;
|
|
3754
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2560
3755
|
gas?: bigint | undefined;
|
|
2561
3756
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
2562
3757
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -2582,9 +3777,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2582
3777
|
args: {
|
|
2583
3778
|
operatorId: bigint;
|
|
2584
3779
|
};
|
|
2585
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2586
3780
|
nonce?: number | undefined;
|
|
2587
3781
|
blockNumber?: bigint | undefined | undefined;
|
|
3782
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2588
3783
|
gas?: bigint | undefined;
|
|
2589
3784
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
2590
3785
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -2633,6 +3828,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2633
3828
|
args: {
|
|
2634
3829
|
implementation: `0x${string}`;
|
|
2635
3830
|
};
|
|
3831
|
+
} | {
|
|
3832
|
+
eventName: "ClusterBalanceUpdated";
|
|
3833
|
+
args: {
|
|
3834
|
+
owner: `0x${string}`;
|
|
3835
|
+
operatorIds: readonly bigint[];
|
|
3836
|
+
blockNum: bigint;
|
|
3837
|
+
effectiveBalance: number;
|
|
3838
|
+
cluster: {
|
|
3839
|
+
validatorCount: number;
|
|
3840
|
+
networkFeeIndex: bigint;
|
|
3841
|
+
index: bigint;
|
|
3842
|
+
active: boolean;
|
|
3843
|
+
balance: bigint;
|
|
3844
|
+
};
|
|
3845
|
+
};
|
|
2636
3846
|
} | {
|
|
2637
3847
|
eventName: "ClusterDeposited";
|
|
2638
3848
|
args: {
|
|
@@ -2660,6 +3870,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2660
3870
|
balance: bigint;
|
|
2661
3871
|
};
|
|
2662
3872
|
};
|
|
3873
|
+
} | {
|
|
3874
|
+
eventName: "ClusterMigratedToETH";
|
|
3875
|
+
args: {
|
|
3876
|
+
owner: `0x${string}`;
|
|
3877
|
+
operatorIds: readonly bigint[];
|
|
3878
|
+
ethDeposited: bigint;
|
|
3879
|
+
ssvRefunded: bigint;
|
|
3880
|
+
effectiveBalance: number;
|
|
3881
|
+
cluster: {
|
|
3882
|
+
validatorCount: number;
|
|
3883
|
+
networkFeeIndex: bigint;
|
|
3884
|
+
index: bigint;
|
|
3885
|
+
active: boolean;
|
|
3886
|
+
balance: bigint;
|
|
3887
|
+
};
|
|
3888
|
+
};
|
|
2663
3889
|
} | {
|
|
2664
3890
|
eventName: "ClusterReactivated";
|
|
2665
3891
|
args: {
|
|
@@ -2687,11 +3913,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2687
3913
|
balance: bigint;
|
|
2688
3914
|
};
|
|
2689
3915
|
};
|
|
3916
|
+
} | {
|
|
3917
|
+
eventName: "CooldownDurationUpdated";
|
|
3918
|
+
args: {
|
|
3919
|
+
newCooldownDuration: bigint;
|
|
3920
|
+
};
|
|
2690
3921
|
} | {
|
|
2691
3922
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
2692
3923
|
args: {
|
|
2693
3924
|
value: bigint;
|
|
2694
3925
|
};
|
|
3926
|
+
} | {
|
|
3927
|
+
eventName: "ERC20Rescued";
|
|
3928
|
+
args: {
|
|
3929
|
+
token: `0x${string}`;
|
|
3930
|
+
to: `0x${string}`;
|
|
3931
|
+
amount: bigint;
|
|
3932
|
+
};
|
|
2695
3933
|
} | {
|
|
2696
3934
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
2697
3935
|
args: {
|
|
@@ -2703,16 +3941,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2703
3941
|
owner: `0x${string}`;
|
|
2704
3942
|
recipientAddress: `0x${string}`;
|
|
2705
3943
|
};
|
|
3944
|
+
} | {
|
|
3945
|
+
eventName: "FeesSynced";
|
|
3946
|
+
args: {
|
|
3947
|
+
newFeesWei: bigint;
|
|
3948
|
+
accEthPerShare: bigint;
|
|
3949
|
+
};
|
|
3950
|
+
} | {
|
|
3951
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
3952
|
+
args: {
|
|
3953
|
+
value: bigint;
|
|
3954
|
+
};
|
|
2706
3955
|
} | {
|
|
2707
3956
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
2708
3957
|
args: {
|
|
2709
3958
|
value: bigint;
|
|
2710
3959
|
};
|
|
3960
|
+
} | {
|
|
3961
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
3962
|
+
args: {
|
|
3963
|
+
newMinBlocksBetweenUpdates: number;
|
|
3964
|
+
};
|
|
3965
|
+
} | {
|
|
3966
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
3967
|
+
args: {
|
|
3968
|
+
value: bigint;
|
|
3969
|
+
};
|
|
2711
3970
|
} | {
|
|
2712
3971
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
2713
3972
|
args: {
|
|
2714
3973
|
value: bigint;
|
|
2715
3974
|
};
|
|
3975
|
+
} | {
|
|
3976
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
3977
|
+
args: {
|
|
3978
|
+
minFee: bigint;
|
|
3979
|
+
};
|
|
2716
3980
|
} | {
|
|
2717
3981
|
eventName: "ModuleUpgraded";
|
|
2718
3982
|
args: {
|
|
@@ -2731,6 +3995,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2731
3995
|
oldFee: bigint;
|
|
2732
3996
|
newFee: bigint;
|
|
2733
3997
|
};
|
|
3998
|
+
} | {
|
|
3999
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
4000
|
+
args: {
|
|
4001
|
+
oldFee: bigint;
|
|
4002
|
+
newFee: bigint;
|
|
4003
|
+
};
|
|
2734
4004
|
} | {
|
|
2735
4005
|
eventName: "OperatorAdded";
|
|
2736
4006
|
args: {
|
|
@@ -2813,6 +4083,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2813
4083
|
operatorId: bigint;
|
|
2814
4084
|
value: bigint;
|
|
2815
4085
|
};
|
|
4086
|
+
} | {
|
|
4087
|
+
eventName: "OperatorWithdrawnSSV";
|
|
4088
|
+
args: {
|
|
4089
|
+
owner: `0x${string}`;
|
|
4090
|
+
operatorId: bigint;
|
|
4091
|
+
value: bigint;
|
|
4092
|
+
};
|
|
4093
|
+
} | {
|
|
4094
|
+
eventName: "OracleReplaced";
|
|
4095
|
+
args: {
|
|
4096
|
+
oracleId: number;
|
|
4097
|
+
oldOracle: `0x${string}`;
|
|
4098
|
+
newOracle: `0x${string}`;
|
|
4099
|
+
};
|
|
4100
|
+
} | {
|
|
4101
|
+
eventName: "QuorumUpdated";
|
|
4102
|
+
args: {
|
|
4103
|
+
newQuorum: number;
|
|
4104
|
+
};
|
|
4105
|
+
} | {
|
|
4106
|
+
eventName: "RewardsClaimed";
|
|
4107
|
+
args: {
|
|
4108
|
+
user: `0x${string}`;
|
|
4109
|
+
amount: bigint;
|
|
4110
|
+
};
|
|
4111
|
+
} | {
|
|
4112
|
+
eventName: "RewardsSettled";
|
|
4113
|
+
args: {
|
|
4114
|
+
user: `0x${string}`;
|
|
4115
|
+
pending: bigint;
|
|
4116
|
+
accrued: bigint;
|
|
4117
|
+
userIndex: bigint;
|
|
4118
|
+
};
|
|
4119
|
+
} | {
|
|
4120
|
+
eventName: "RootCommitted";
|
|
4121
|
+
args: {
|
|
4122
|
+
merkleRoot: `0x${string}`;
|
|
4123
|
+
blockNum: bigint;
|
|
4124
|
+
};
|
|
4125
|
+
} | {
|
|
4126
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
4127
|
+
args: {
|
|
4128
|
+
version: string;
|
|
4129
|
+
blockNumber: bigint;
|
|
4130
|
+
};
|
|
4131
|
+
} | {
|
|
4132
|
+
eventName: "Staked";
|
|
4133
|
+
args: {
|
|
4134
|
+
user: `0x${string}`;
|
|
4135
|
+
amount: bigint;
|
|
4136
|
+
};
|
|
4137
|
+
} | {
|
|
4138
|
+
eventName: "UnstakeRequested";
|
|
4139
|
+
args: {
|
|
4140
|
+
user: `0x${string}`;
|
|
4141
|
+
amount: bigint;
|
|
4142
|
+
unlockTime: bigint;
|
|
4143
|
+
};
|
|
4144
|
+
} | {
|
|
4145
|
+
eventName: "UnstakedWithdrawn";
|
|
4146
|
+
args: {
|
|
4147
|
+
user: `0x${string}`;
|
|
4148
|
+
amount: bigint;
|
|
4149
|
+
};
|
|
2816
4150
|
} | {
|
|
2817
4151
|
eventName: "ValidatorAdded";
|
|
2818
4152
|
args: {
|
|
@@ -2849,6 +4183,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2849
4183
|
balance: bigint;
|
|
2850
4184
|
};
|
|
2851
4185
|
};
|
|
4186
|
+
} | {
|
|
4187
|
+
eventName: "WeightedRootProposed";
|
|
4188
|
+
args: {
|
|
4189
|
+
merkleRoot: `0x${string}`;
|
|
4190
|
+
blockNum: bigint;
|
|
4191
|
+
accumulatedWeight: bigint;
|
|
4192
|
+
quorum: bigint;
|
|
4193
|
+
oracleId: number;
|
|
4194
|
+
oracle: `0x${string}`;
|
|
4195
|
+
};
|
|
2852
4196
|
} | {
|
|
2853
4197
|
eventName: "OwnershipTransferred";
|
|
2854
4198
|
args: {
|
|
@@ -2874,9 +4218,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2874
4218
|
args: {
|
|
2875
4219
|
operatorId: bigint;
|
|
2876
4220
|
};
|
|
2877
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2878
4221
|
nonce?: number | undefined;
|
|
2879
4222
|
blockNumber?: bigint | undefined | undefined;
|
|
4223
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2880
4224
|
gas?: bigint | undefined;
|
|
2881
4225
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
2882
4226
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -2903,9 +4247,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2903
4247
|
operatorId: bigint;
|
|
2904
4248
|
fee: bigint;
|
|
2905
4249
|
};
|
|
2906
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2907
4250
|
nonce?: number | undefined;
|
|
2908
4251
|
blockNumber?: bigint | undefined | undefined;
|
|
4252
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
2909
4253
|
gas?: bigint | undefined;
|
|
2910
4254
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
2911
4255
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
@@ -2954,6 +4298,21 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2954
4298
|
args: {
|
|
2955
4299
|
implementation: `0x${string}`;
|
|
2956
4300
|
};
|
|
4301
|
+
} | {
|
|
4302
|
+
eventName: "ClusterBalanceUpdated";
|
|
4303
|
+
args: {
|
|
4304
|
+
owner: `0x${string}`;
|
|
4305
|
+
operatorIds: readonly bigint[];
|
|
4306
|
+
blockNum: bigint;
|
|
4307
|
+
effectiveBalance: number;
|
|
4308
|
+
cluster: {
|
|
4309
|
+
validatorCount: number;
|
|
4310
|
+
networkFeeIndex: bigint;
|
|
4311
|
+
index: bigint;
|
|
4312
|
+
active: boolean;
|
|
4313
|
+
balance: bigint;
|
|
4314
|
+
};
|
|
4315
|
+
};
|
|
2957
4316
|
} | {
|
|
2958
4317
|
eventName: "ClusterDeposited";
|
|
2959
4318
|
args: {
|
|
@@ -2981,6 +4340,22 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
2981
4340
|
balance: bigint;
|
|
2982
4341
|
};
|
|
2983
4342
|
};
|
|
4343
|
+
} | {
|
|
4344
|
+
eventName: "ClusterMigratedToETH";
|
|
4345
|
+
args: {
|
|
4346
|
+
owner: `0x${string}`;
|
|
4347
|
+
operatorIds: readonly bigint[];
|
|
4348
|
+
ethDeposited: bigint;
|
|
4349
|
+
ssvRefunded: bigint;
|
|
4350
|
+
effectiveBalance: number;
|
|
4351
|
+
cluster: {
|
|
4352
|
+
validatorCount: number;
|
|
4353
|
+
networkFeeIndex: bigint;
|
|
4354
|
+
index: bigint;
|
|
4355
|
+
active: boolean;
|
|
4356
|
+
balance: bigint;
|
|
4357
|
+
};
|
|
4358
|
+
};
|
|
2984
4359
|
} | {
|
|
2985
4360
|
eventName: "ClusterReactivated";
|
|
2986
4361
|
args: {
|
|
@@ -3008,11 +4383,23 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
3008
4383
|
balance: bigint;
|
|
3009
4384
|
};
|
|
3010
4385
|
};
|
|
4386
|
+
} | {
|
|
4387
|
+
eventName: "CooldownDurationUpdated";
|
|
4388
|
+
args: {
|
|
4389
|
+
newCooldownDuration: bigint;
|
|
4390
|
+
};
|
|
3011
4391
|
} | {
|
|
3012
4392
|
eventName: "DeclareOperatorFeePeriodUpdated";
|
|
3013
4393
|
args: {
|
|
3014
4394
|
value: bigint;
|
|
3015
4395
|
};
|
|
4396
|
+
} | {
|
|
4397
|
+
eventName: "ERC20Rescued";
|
|
4398
|
+
args: {
|
|
4399
|
+
token: `0x${string}`;
|
|
4400
|
+
to: `0x${string}`;
|
|
4401
|
+
amount: bigint;
|
|
4402
|
+
};
|
|
3016
4403
|
} | {
|
|
3017
4404
|
eventName: "ExecuteOperatorFeePeriodUpdated";
|
|
3018
4405
|
args: {
|
|
@@ -3024,16 +4411,42 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
3024
4411
|
owner: `0x${string}`;
|
|
3025
4412
|
recipientAddress: `0x${string}`;
|
|
3026
4413
|
};
|
|
4414
|
+
} | {
|
|
4415
|
+
eventName: "FeesSynced";
|
|
4416
|
+
args: {
|
|
4417
|
+
newFeesWei: bigint;
|
|
4418
|
+
accEthPerShare: bigint;
|
|
4419
|
+
};
|
|
4420
|
+
} | {
|
|
4421
|
+
eventName: "LiquidationThresholdPeriodSSVUpdated";
|
|
4422
|
+
args: {
|
|
4423
|
+
value: bigint;
|
|
4424
|
+
};
|
|
3027
4425
|
} | {
|
|
3028
4426
|
eventName: "LiquidationThresholdPeriodUpdated";
|
|
3029
4427
|
args: {
|
|
3030
4428
|
value: bigint;
|
|
3031
4429
|
};
|
|
4430
|
+
} | {
|
|
4431
|
+
eventName: "MinBlocksBetweenUpdatesUpdated";
|
|
4432
|
+
args: {
|
|
4433
|
+
newMinBlocksBetweenUpdates: number;
|
|
4434
|
+
};
|
|
4435
|
+
} | {
|
|
4436
|
+
eventName: "MinimumLiquidationCollateralSSVUpdated";
|
|
4437
|
+
args: {
|
|
4438
|
+
value: bigint;
|
|
4439
|
+
};
|
|
3032
4440
|
} | {
|
|
3033
4441
|
eventName: "MinimumLiquidationCollateralUpdated";
|
|
3034
4442
|
args: {
|
|
3035
4443
|
value: bigint;
|
|
3036
4444
|
};
|
|
4445
|
+
} | {
|
|
4446
|
+
eventName: "MinimumOperatorEthFeeUpdated";
|
|
4447
|
+
args: {
|
|
4448
|
+
minFee: bigint;
|
|
4449
|
+
};
|
|
3037
4450
|
} | {
|
|
3038
4451
|
eventName: "ModuleUpgraded";
|
|
3039
4452
|
args: {
|
|
@@ -3052,6 +4465,12 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
3052
4465
|
oldFee: bigint;
|
|
3053
4466
|
newFee: bigint;
|
|
3054
4467
|
};
|
|
4468
|
+
} | {
|
|
4469
|
+
eventName: "NetworkFeeUpdatedSSV";
|
|
4470
|
+
args: {
|
|
4471
|
+
oldFee: bigint;
|
|
4472
|
+
newFee: bigint;
|
|
4473
|
+
};
|
|
3055
4474
|
} | {
|
|
3056
4475
|
eventName: "OperatorAdded";
|
|
3057
4476
|
args: {
|
|
@@ -3134,6 +4553,70 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
3134
4553
|
operatorId: bigint;
|
|
3135
4554
|
value: bigint;
|
|
3136
4555
|
};
|
|
4556
|
+
} | {
|
|
4557
|
+
eventName: "OperatorWithdrawnSSV";
|
|
4558
|
+
args: {
|
|
4559
|
+
owner: `0x${string}`;
|
|
4560
|
+
operatorId: bigint;
|
|
4561
|
+
value: bigint;
|
|
4562
|
+
};
|
|
4563
|
+
} | {
|
|
4564
|
+
eventName: "OracleReplaced";
|
|
4565
|
+
args: {
|
|
4566
|
+
oracleId: number;
|
|
4567
|
+
oldOracle: `0x${string}`;
|
|
4568
|
+
newOracle: `0x${string}`;
|
|
4569
|
+
};
|
|
4570
|
+
} | {
|
|
4571
|
+
eventName: "QuorumUpdated";
|
|
4572
|
+
args: {
|
|
4573
|
+
newQuorum: number;
|
|
4574
|
+
};
|
|
4575
|
+
} | {
|
|
4576
|
+
eventName: "RewardsClaimed";
|
|
4577
|
+
args: {
|
|
4578
|
+
user: `0x${string}`;
|
|
4579
|
+
amount: bigint;
|
|
4580
|
+
};
|
|
4581
|
+
} | {
|
|
4582
|
+
eventName: "RewardsSettled";
|
|
4583
|
+
args: {
|
|
4584
|
+
user: `0x${string}`;
|
|
4585
|
+
pending: bigint;
|
|
4586
|
+
accrued: bigint;
|
|
4587
|
+
userIndex: bigint;
|
|
4588
|
+
};
|
|
4589
|
+
} | {
|
|
4590
|
+
eventName: "RootCommitted";
|
|
4591
|
+
args: {
|
|
4592
|
+
merkleRoot: `0x${string}`;
|
|
4593
|
+
blockNum: bigint;
|
|
4594
|
+
};
|
|
4595
|
+
} | {
|
|
4596
|
+
eventName: "SSVNetworkUpgradeBlock";
|
|
4597
|
+
args: {
|
|
4598
|
+
version: string;
|
|
4599
|
+
blockNumber: bigint;
|
|
4600
|
+
};
|
|
4601
|
+
} | {
|
|
4602
|
+
eventName: "Staked";
|
|
4603
|
+
args: {
|
|
4604
|
+
user: `0x${string}`;
|
|
4605
|
+
amount: bigint;
|
|
4606
|
+
};
|
|
4607
|
+
} | {
|
|
4608
|
+
eventName: "UnstakeRequested";
|
|
4609
|
+
args: {
|
|
4610
|
+
user: `0x${string}`;
|
|
4611
|
+
amount: bigint;
|
|
4612
|
+
unlockTime: bigint;
|
|
4613
|
+
};
|
|
4614
|
+
} | {
|
|
4615
|
+
eventName: "UnstakedWithdrawn";
|
|
4616
|
+
args: {
|
|
4617
|
+
user: `0x${string}`;
|
|
4618
|
+
amount: bigint;
|
|
4619
|
+
};
|
|
3137
4620
|
} | {
|
|
3138
4621
|
eventName: "ValidatorAdded";
|
|
3139
4622
|
args: {
|
|
@@ -3170,6 +4653,16 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
3170
4653
|
balance: bigint;
|
|
3171
4654
|
};
|
|
3172
4655
|
};
|
|
4656
|
+
} | {
|
|
4657
|
+
eventName: "WeightedRootProposed";
|
|
4658
|
+
args: {
|
|
4659
|
+
merkleRoot: `0x${string}`;
|
|
4660
|
+
blockNum: bigint;
|
|
4661
|
+
accumulatedWeight: bigint;
|
|
4662
|
+
quorum: bigint;
|
|
4663
|
+
oracleId: number;
|
|
4664
|
+
oracle: `0x${string}`;
|
|
4665
|
+
};
|
|
3173
4666
|
} | {
|
|
3174
4667
|
eventName: "OwnershipTransferred";
|
|
3175
4668
|
args: {
|
|
@@ -3196,9 +4689,9 @@ export declare const createOperatorManager: (config: ConfigReturnType) => {
|
|
|
3196
4689
|
operatorId: bigint;
|
|
3197
4690
|
fee: bigint;
|
|
3198
4691
|
};
|
|
3199
|
-
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
3200
4692
|
nonce?: number | undefined;
|
|
3201
4693
|
blockNumber?: bigint | undefined | undefined;
|
|
4694
|
+
type?: "legacy" | "eip2930" | "eip1559" | "eip4844" | "eip7702" | undefined;
|
|
3202
4695
|
gas?: bigint | undefined;
|
|
3203
4696
|
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
3204
4697
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|