@ssv-labs/ssv-sdk 0.1.3 → 1.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 (59) hide show
  1. package/README.html +4 -7
  2. package/README.md +37 -26
  3. package/dist/{KeyShares-B_4l2THg.js → KeyShares-Bk9uzOlK.js} +194 -51
  4. package/dist/{KeyShares-ClzHwMUy.mjs → KeyShares-Dlp4Pa3b.mjs} +198 -55
  5. package/dist/abi/mainnet/v4/getter.d.ts +699 -74
  6. package/dist/abi/mainnet/v4/setter.d.ts +939 -59
  7. package/dist/api/subgraph/index.d.ts +36 -1
  8. package/dist/config/create.d.ts +2 -2
  9. package/dist/config/globals.d.ts +3 -0
  10. package/dist/{globals-CDOcDUnk.mjs → config-BdEJjnYA.mjs} +107 -79
  11. package/dist/{globals-DsaKgq3v.js → config-ClGS9Tic.js} +73 -45
  12. package/dist/contract-interactions/create.d.ts +1 -1
  13. package/dist/contract-interactions/types.d.ts +9 -3
  14. package/dist/graphql/graphql.d.ts +4663 -922
  15. package/dist/keys.js +1 -1
  16. package/dist/keys.mjs +5 -5
  17. package/dist/libs/api/index.d.ts +2 -0
  18. package/dist/libs/cluster/index.d.ts +3 -1
  19. package/dist/libs/cluster/methods/deposit.d.ts +150 -4
  20. package/dist/libs/cluster/methods/exit-validators.d.ts +149 -0
  21. package/dist/libs/cluster/methods/index.d.ts +3 -1
  22. package/dist/libs/cluster/methods/liquidate-cluster.d.ts +149 -0
  23. package/dist/libs/cluster/methods/liquidate-ssv.d.ts +430 -0
  24. package/dist/libs/cluster/methods/migrate-cluster-to-eth.d.ts +431 -0
  25. package/dist/libs/cluster/methods/reactivate-cluster.d.ts +149 -0
  26. package/dist/libs/cluster/methods/register-validators.d.ts +2222 -309
  27. package/dist/libs/cluster/methods/remove-validators.d.ts +149 -0
  28. package/dist/libs/cluster/methods/set-fee-recipient.d.ts +149 -0
  29. package/dist/libs/cluster/methods/withdraw.d.ts +149 -0
  30. package/dist/libs/dao/index.d.ts +8 -0
  31. package/dist/libs/dao/methods/commit-root.d.ts +432 -0
  32. package/dist/libs/dao/methods/index.d.ts +3 -0
  33. package/dist/libs/dao/methods/update-network-fee-ssv.d.ts +430 -0
  34. package/dist/libs/dao/methods/withdraw-network-ssv-earnings.d.ts +430 -0
  35. package/dist/libs/operator/index.d.ts +1525 -32
  36. package/dist/libs/operator/methods.d.ts +1731 -2
  37. package/dist/libs/ssv-keys/Encryption/__test__/RsaKeys.d.ts +1 -1
  38. package/dist/libs/ssv-keys/KeyShares/KeySharesItem.d.ts +1 -1
  39. package/dist/libs/ssv-keys/SSVKeys.d.ts +1 -1
  40. package/dist/libs/ssv-keys/exceptions/index.d.ts +1 -1
  41. package/dist/libs/ssv-keys/index.d.ts +1 -1
  42. package/dist/libs/ssv-keys/interfaces/index.d.ts +2 -2
  43. package/dist/libs/utils/index.d.ts +6 -4
  44. package/dist/libs/utils/methods/calc-deposit-from-runway.d.ts +11 -0
  45. package/dist/libs/utils/methods/get-cluster-balance.d.ts +3 -1
  46. package/dist/libs/utils/methods/keyshares.d.ts +4 -2
  47. package/dist/libs/utils/methods/keystores.d.ts +4 -4
  48. package/dist/main.d.ts +1 -0
  49. package/dist/main.js +2714 -729
  50. package/dist/main.mjs +2746 -761
  51. package/dist/sdk.d.ts +8 -4
  52. package/dist/types/contract-interactions.d.ts +11 -0
  53. package/dist/types/methods.d.ts +4 -3
  54. package/dist/utils/cluster.d.ts +3 -3
  55. package/dist/utils/funding.d.ts +29 -0
  56. package/dist/utils/zod/config.d.ts +1 -1
  57. package/dist/utils.js +38 -38
  58. package/dist/utils.mjs +34 -34
  59. package/package.json +18 -6
@@ -0,0 +1,431 @@
1
+ import { ConfigReturnType } from '../../../config/create';
2
+ import { SmartFnWriteOptions } from '../../../contract-interactions/types';
3
+ type MigrateClusterToETHProps = SmartFnWriteOptions<{
4
+ id: string;
5
+ amount: bigint;
6
+ }>;
7
+ export declare const migrateClusterToETH: (config: ConfigReturnType, { args: { id, amount }, ...writeOptions }: MigrateClusterToETHProps) => Promise<{
8
+ hash: import('viem').Hash;
9
+ wait: () => Promise<import('viem').TransactionReceipt & {
10
+ events: ({
11
+ eventName: "AdminChanged";
12
+ args: {
13
+ previousAdmin: `0x${string}`;
14
+ newAdmin: `0x${string}`;
15
+ };
16
+ } | {
17
+ eventName: "BeaconUpgraded";
18
+ args: {
19
+ beacon: `0x${string}`;
20
+ };
21
+ } | {
22
+ eventName: "Initialized";
23
+ args: {
24
+ version: number;
25
+ };
26
+ } | {
27
+ eventName: "OwnershipTransferStarted";
28
+ args: {
29
+ previousOwner: `0x${string}`;
30
+ newOwner: `0x${string}`;
31
+ };
32
+ } | {
33
+ eventName: "OwnershipTransferred";
34
+ args: {
35
+ previousOwner: `0x${string}`;
36
+ newOwner: `0x${string}`;
37
+ };
38
+ } | {
39
+ eventName: "Upgraded";
40
+ args: {
41
+ implementation: `0x${string}`;
42
+ };
43
+ } | {
44
+ eventName: "ClusterBalanceUpdated";
45
+ args: {
46
+ owner: `0x${string}`;
47
+ operatorIds: readonly bigint[];
48
+ blockNum: bigint;
49
+ effectiveBalance: number;
50
+ cluster: {
51
+ validatorCount: number;
52
+ networkFeeIndex: bigint;
53
+ index: bigint;
54
+ active: boolean;
55
+ balance: bigint;
56
+ };
57
+ };
58
+ } | {
59
+ eventName: "ClusterDeposited";
60
+ args: {
61
+ owner: `0x${string}`;
62
+ operatorIds: readonly bigint[];
63
+ value: bigint;
64
+ cluster: {
65
+ validatorCount: number;
66
+ networkFeeIndex: bigint;
67
+ index: bigint;
68
+ active: boolean;
69
+ balance: bigint;
70
+ };
71
+ };
72
+ } | {
73
+ eventName: "ClusterLiquidated";
74
+ args: {
75
+ owner: `0x${string}`;
76
+ operatorIds: readonly bigint[];
77
+ cluster: {
78
+ validatorCount: number;
79
+ networkFeeIndex: bigint;
80
+ index: bigint;
81
+ active: boolean;
82
+ balance: bigint;
83
+ };
84
+ };
85
+ } | {
86
+ eventName: "ClusterMigratedToETH";
87
+ args: {
88
+ owner: `0x${string}`;
89
+ operatorIds: readonly bigint[];
90
+ ethDeposited: bigint;
91
+ ssvRefunded: bigint;
92
+ effectiveBalance: number;
93
+ cluster: {
94
+ validatorCount: number;
95
+ networkFeeIndex: bigint;
96
+ index: bigint;
97
+ active: boolean;
98
+ balance: bigint;
99
+ };
100
+ };
101
+ } | {
102
+ eventName: "ClusterReactivated";
103
+ args: {
104
+ owner: `0x${string}`;
105
+ operatorIds: readonly bigint[];
106
+ cluster: {
107
+ validatorCount: number;
108
+ networkFeeIndex: bigint;
109
+ index: bigint;
110
+ active: boolean;
111
+ balance: bigint;
112
+ };
113
+ };
114
+ } | {
115
+ eventName: "ClusterWithdrawn";
116
+ args: {
117
+ owner: `0x${string}`;
118
+ operatorIds: readonly bigint[];
119
+ value: bigint;
120
+ cluster: {
121
+ validatorCount: number;
122
+ networkFeeIndex: bigint;
123
+ index: bigint;
124
+ active: boolean;
125
+ balance: bigint;
126
+ };
127
+ };
128
+ } | {
129
+ eventName: "CooldownDurationUpdated";
130
+ args: {
131
+ newCooldownDuration: bigint;
132
+ };
133
+ } | {
134
+ eventName: "DeclareOperatorFeePeriodUpdated";
135
+ args: {
136
+ value: bigint;
137
+ };
138
+ } | {
139
+ eventName: "ERC20Rescued";
140
+ args: {
141
+ token: `0x${string}`;
142
+ to: `0x${string}`;
143
+ amount: bigint;
144
+ };
145
+ } | {
146
+ eventName: "ExecuteOperatorFeePeriodUpdated";
147
+ args: {
148
+ value: bigint;
149
+ };
150
+ } | {
151
+ eventName: "FeeRecipientAddressUpdated";
152
+ args: {
153
+ owner: `0x${string}`;
154
+ recipientAddress: `0x${string}`;
155
+ };
156
+ } | {
157
+ eventName: "FeesSynced";
158
+ args: {
159
+ newFeesWei: bigint;
160
+ accEthPerShare: bigint;
161
+ };
162
+ } | {
163
+ eventName: "LiquidationThresholdPeriodSSVUpdated";
164
+ args: {
165
+ value: bigint;
166
+ };
167
+ } | {
168
+ eventName: "LiquidationThresholdPeriodUpdated";
169
+ args: {
170
+ value: bigint;
171
+ };
172
+ } | {
173
+ eventName: "MinBlocksBetweenUpdatesUpdated";
174
+ args: {
175
+ newMinBlocksBetweenUpdates: number;
176
+ };
177
+ } | {
178
+ eventName: "MinimumLiquidationCollateralSSVUpdated";
179
+ args: {
180
+ value: bigint;
181
+ };
182
+ } | {
183
+ eventName: "MinimumLiquidationCollateralUpdated";
184
+ args: {
185
+ value: bigint;
186
+ };
187
+ } | {
188
+ eventName: "MinimumOperatorEthFeeUpdated";
189
+ args: {
190
+ minFee: bigint;
191
+ };
192
+ } | {
193
+ eventName: "ModuleUpgraded";
194
+ args: {
195
+ moduleId: number;
196
+ moduleAddress: `0x${string}`;
197
+ };
198
+ } | {
199
+ eventName: "NetworkEarningsWithdrawn";
200
+ args: {
201
+ value: bigint;
202
+ recipient: `0x${string}`;
203
+ };
204
+ } | {
205
+ eventName: "NetworkFeeUpdated";
206
+ args: {
207
+ oldFee: bigint;
208
+ newFee: bigint;
209
+ };
210
+ } | {
211
+ eventName: "NetworkFeeUpdatedSSV";
212
+ args: {
213
+ oldFee: bigint;
214
+ newFee: bigint;
215
+ };
216
+ } | {
217
+ eventName: "OperatorAdded";
218
+ args: {
219
+ operatorId: bigint;
220
+ owner: `0x${string}`;
221
+ publicKey: `0x${string}`;
222
+ fee: bigint;
223
+ };
224
+ } | {
225
+ eventName: "OperatorFeeDeclarationCancelled";
226
+ args: {
227
+ owner: `0x${string}`;
228
+ operatorId: bigint;
229
+ };
230
+ } | {
231
+ eventName: "OperatorFeeDeclared";
232
+ args: {
233
+ owner: `0x${string}`;
234
+ operatorId: bigint;
235
+ blockNumber: bigint;
236
+ fee: bigint;
237
+ };
238
+ } | {
239
+ eventName: "OperatorFeeExecuted";
240
+ args: {
241
+ owner: `0x${string}`;
242
+ operatorId: bigint;
243
+ blockNumber: bigint;
244
+ fee: bigint;
245
+ };
246
+ } | {
247
+ eventName: "OperatorFeeIncreaseLimitUpdated";
248
+ args: {
249
+ value: bigint;
250
+ };
251
+ } | {
252
+ eventName: "OperatorMaximumFeeUpdated";
253
+ args: {
254
+ maxFee: bigint;
255
+ };
256
+ } | {
257
+ eventName: "OperatorMultipleWhitelistRemoved";
258
+ args: {
259
+ operatorIds: readonly bigint[];
260
+ whitelistAddresses: readonly `0x${string}`[];
261
+ };
262
+ } | {
263
+ eventName: "OperatorMultipleWhitelistUpdated";
264
+ args: {
265
+ operatorIds: readonly bigint[];
266
+ whitelistAddresses: readonly `0x${string}`[];
267
+ };
268
+ } | {
269
+ eventName: "OperatorPrivacyStatusUpdated";
270
+ args: {
271
+ operatorIds: readonly bigint[];
272
+ toPrivate: boolean;
273
+ };
274
+ } | {
275
+ eventName: "OperatorRemoved";
276
+ args: {
277
+ operatorId: bigint;
278
+ };
279
+ } | {
280
+ eventName: "OperatorWhitelistUpdated";
281
+ args: {
282
+ operatorId: bigint;
283
+ whitelisted: `0x${string}`;
284
+ };
285
+ } | {
286
+ eventName: "OperatorWhitelistingContractUpdated";
287
+ args: {
288
+ operatorIds: readonly bigint[];
289
+ whitelistingContract: `0x${string}`;
290
+ };
291
+ } | {
292
+ eventName: "OperatorWithdrawn";
293
+ args: {
294
+ owner: `0x${string}`;
295
+ operatorId: bigint;
296
+ value: bigint;
297
+ };
298
+ } | {
299
+ eventName: "OperatorWithdrawnSSV";
300
+ args: {
301
+ owner: `0x${string}`;
302
+ operatorId: bigint;
303
+ value: bigint;
304
+ };
305
+ } | {
306
+ eventName: "OracleReplaced";
307
+ args: {
308
+ oracleId: number;
309
+ oldOracle: `0x${string}`;
310
+ newOracle: `0x${string}`;
311
+ };
312
+ } | {
313
+ eventName: "QuorumUpdated";
314
+ args: {
315
+ newQuorum: number;
316
+ };
317
+ } | {
318
+ eventName: "RewardsClaimed";
319
+ args: {
320
+ user: `0x${string}`;
321
+ amount: bigint;
322
+ };
323
+ } | {
324
+ eventName: "RewardsSettled";
325
+ args: {
326
+ user: `0x${string}`;
327
+ pending: bigint;
328
+ accrued: bigint;
329
+ userIndex: bigint;
330
+ };
331
+ } | {
332
+ eventName: "RootCommitted";
333
+ args: {
334
+ merkleRoot: `0x${string}`;
335
+ blockNum: bigint;
336
+ };
337
+ } | {
338
+ eventName: "SSVNetworkUpgradeBlock";
339
+ args: {
340
+ version: string;
341
+ blockNumber: bigint;
342
+ };
343
+ } | {
344
+ eventName: "Staked";
345
+ args: {
346
+ user: `0x${string}`;
347
+ amount: bigint;
348
+ };
349
+ } | {
350
+ eventName: "UnstakeRequested";
351
+ args: {
352
+ user: `0x${string}`;
353
+ amount: bigint;
354
+ unlockTime: bigint;
355
+ };
356
+ } | {
357
+ eventName: "UnstakedWithdrawn";
358
+ args: {
359
+ user: `0x${string}`;
360
+ amount: bigint;
361
+ };
362
+ } | {
363
+ eventName: "ValidatorAdded";
364
+ args: {
365
+ owner: `0x${string}`;
366
+ operatorIds: readonly bigint[];
367
+ publicKey: `0x${string}`;
368
+ shares: `0x${string}`;
369
+ cluster: {
370
+ validatorCount: number;
371
+ networkFeeIndex: bigint;
372
+ index: bigint;
373
+ active: boolean;
374
+ balance: bigint;
375
+ };
376
+ };
377
+ } | {
378
+ eventName: "ValidatorExited";
379
+ args: {
380
+ owner: `0x${string}`;
381
+ operatorIds: readonly bigint[];
382
+ publicKey: `0x${string}`;
383
+ };
384
+ } | {
385
+ eventName: "ValidatorRemoved";
386
+ args: {
387
+ owner: `0x${string}`;
388
+ operatorIds: readonly bigint[];
389
+ publicKey: `0x${string}`;
390
+ cluster: {
391
+ validatorCount: number;
392
+ networkFeeIndex: bigint;
393
+ index: bigint;
394
+ active: boolean;
395
+ balance: bigint;
396
+ };
397
+ };
398
+ } | {
399
+ eventName: "WeightedRootProposed";
400
+ args: {
401
+ merkleRoot: `0x${string}`;
402
+ blockNum: bigint;
403
+ accumulatedWeight: bigint;
404
+ quorum: bigint;
405
+ oracleId: number;
406
+ oracle: `0x${string}`;
407
+ };
408
+ } | {
409
+ eventName: "OwnershipTransferred";
410
+ args: {
411
+ previousOwner: `0x${string}`;
412
+ newOwner: `0x${string}`;
413
+ };
414
+ } | {
415
+ eventName: "Approval";
416
+ args: {
417
+ owner: `0x${string}`;
418
+ spender: `0x${string}`;
419
+ value: bigint;
420
+ };
421
+ } | {
422
+ eventName: "Transfer";
423
+ args: {
424
+ from: `0x${string}`;
425
+ to: `0x${string}`;
426
+ value: bigint;
427
+ };
428
+ })[];
429
+ }>;
430
+ }>;
431
+ export {};
@@ -40,6 +40,21 @@ export declare const reactivateCluster: (config: ConfigReturnType, { args: { id,
40
40
  args: {
41
41
  implementation: `0x${string}`;
42
42
  };
43
+ } | {
44
+ eventName: "ClusterBalanceUpdated";
45
+ args: {
46
+ owner: `0x${string}`;
47
+ operatorIds: readonly bigint[];
48
+ blockNum: bigint;
49
+ effectiveBalance: number;
50
+ cluster: {
51
+ validatorCount: number;
52
+ networkFeeIndex: bigint;
53
+ index: bigint;
54
+ active: boolean;
55
+ balance: bigint;
56
+ };
57
+ };
43
58
  } | {
44
59
  eventName: "ClusterDeposited";
45
60
  args: {
@@ -67,6 +82,22 @@ export declare const reactivateCluster: (config: ConfigReturnType, { args: { id,
67
82
  balance: bigint;
68
83
  };
69
84
  };
85
+ } | {
86
+ eventName: "ClusterMigratedToETH";
87
+ args: {
88
+ owner: `0x${string}`;
89
+ operatorIds: readonly bigint[];
90
+ ethDeposited: bigint;
91
+ ssvRefunded: bigint;
92
+ effectiveBalance: number;
93
+ cluster: {
94
+ validatorCount: number;
95
+ networkFeeIndex: bigint;
96
+ index: bigint;
97
+ active: boolean;
98
+ balance: bigint;
99
+ };
100
+ };
70
101
  } | {
71
102
  eventName: "ClusterReactivated";
72
103
  args: {
@@ -94,11 +125,23 @@ export declare const reactivateCluster: (config: ConfigReturnType, { args: { id,
94
125
  balance: bigint;
95
126
  };
96
127
  };
128
+ } | {
129
+ eventName: "CooldownDurationUpdated";
130
+ args: {
131
+ newCooldownDuration: bigint;
132
+ };
97
133
  } | {
98
134
  eventName: "DeclareOperatorFeePeriodUpdated";
99
135
  args: {
100
136
  value: bigint;
101
137
  };
138
+ } | {
139
+ eventName: "ERC20Rescued";
140
+ args: {
141
+ token: `0x${string}`;
142
+ to: `0x${string}`;
143
+ amount: bigint;
144
+ };
102
145
  } | {
103
146
  eventName: "ExecuteOperatorFeePeriodUpdated";
104
147
  args: {
@@ -110,16 +153,42 @@ export declare const reactivateCluster: (config: ConfigReturnType, { args: { id,
110
153
  owner: `0x${string}`;
111
154
  recipientAddress: `0x${string}`;
112
155
  };
156
+ } | {
157
+ eventName: "FeesSynced";
158
+ args: {
159
+ newFeesWei: bigint;
160
+ accEthPerShare: bigint;
161
+ };
162
+ } | {
163
+ eventName: "LiquidationThresholdPeriodSSVUpdated";
164
+ args: {
165
+ value: bigint;
166
+ };
113
167
  } | {
114
168
  eventName: "LiquidationThresholdPeriodUpdated";
115
169
  args: {
116
170
  value: bigint;
117
171
  };
172
+ } | {
173
+ eventName: "MinBlocksBetweenUpdatesUpdated";
174
+ args: {
175
+ newMinBlocksBetweenUpdates: number;
176
+ };
177
+ } | {
178
+ eventName: "MinimumLiquidationCollateralSSVUpdated";
179
+ args: {
180
+ value: bigint;
181
+ };
118
182
  } | {
119
183
  eventName: "MinimumLiquidationCollateralUpdated";
120
184
  args: {
121
185
  value: bigint;
122
186
  };
187
+ } | {
188
+ eventName: "MinimumOperatorEthFeeUpdated";
189
+ args: {
190
+ minFee: bigint;
191
+ };
123
192
  } | {
124
193
  eventName: "ModuleUpgraded";
125
194
  args: {
@@ -138,6 +207,12 @@ export declare const reactivateCluster: (config: ConfigReturnType, { args: { id,
138
207
  oldFee: bigint;
139
208
  newFee: bigint;
140
209
  };
210
+ } | {
211
+ eventName: "NetworkFeeUpdatedSSV";
212
+ args: {
213
+ oldFee: bigint;
214
+ newFee: bigint;
215
+ };
141
216
  } | {
142
217
  eventName: "OperatorAdded";
143
218
  args: {
@@ -220,6 +295,70 @@ export declare const reactivateCluster: (config: ConfigReturnType, { args: { id,
220
295
  operatorId: bigint;
221
296
  value: bigint;
222
297
  };
298
+ } | {
299
+ eventName: "OperatorWithdrawnSSV";
300
+ args: {
301
+ owner: `0x${string}`;
302
+ operatorId: bigint;
303
+ value: bigint;
304
+ };
305
+ } | {
306
+ eventName: "OracleReplaced";
307
+ args: {
308
+ oracleId: number;
309
+ oldOracle: `0x${string}`;
310
+ newOracle: `0x${string}`;
311
+ };
312
+ } | {
313
+ eventName: "QuorumUpdated";
314
+ args: {
315
+ newQuorum: number;
316
+ };
317
+ } | {
318
+ eventName: "RewardsClaimed";
319
+ args: {
320
+ user: `0x${string}`;
321
+ amount: bigint;
322
+ };
323
+ } | {
324
+ eventName: "RewardsSettled";
325
+ args: {
326
+ user: `0x${string}`;
327
+ pending: bigint;
328
+ accrued: bigint;
329
+ userIndex: bigint;
330
+ };
331
+ } | {
332
+ eventName: "RootCommitted";
333
+ args: {
334
+ merkleRoot: `0x${string}`;
335
+ blockNum: bigint;
336
+ };
337
+ } | {
338
+ eventName: "SSVNetworkUpgradeBlock";
339
+ args: {
340
+ version: string;
341
+ blockNumber: bigint;
342
+ };
343
+ } | {
344
+ eventName: "Staked";
345
+ args: {
346
+ user: `0x${string}`;
347
+ amount: bigint;
348
+ };
349
+ } | {
350
+ eventName: "UnstakeRequested";
351
+ args: {
352
+ user: `0x${string}`;
353
+ amount: bigint;
354
+ unlockTime: bigint;
355
+ };
356
+ } | {
357
+ eventName: "UnstakedWithdrawn";
358
+ args: {
359
+ user: `0x${string}`;
360
+ amount: bigint;
361
+ };
223
362
  } | {
224
363
  eventName: "ValidatorAdded";
225
364
  args: {
@@ -256,6 +395,16 @@ export declare const reactivateCluster: (config: ConfigReturnType, { args: { id,
256
395
  balance: bigint;
257
396
  };
258
397
  };
398
+ } | {
399
+ eventName: "WeightedRootProposed";
400
+ args: {
401
+ merkleRoot: `0x${string}`;
402
+ blockNum: bigint;
403
+ accumulatedWeight: bigint;
404
+ quorum: bigint;
405
+ oracleId: number;
406
+ oracle: `0x${string}`;
407
+ };
259
408
  } | {
260
409
  eventName: "OwnershipTransferred";
261
410
  args: {