@obolnetwork/obol-sdk 2.11.2 → 2.11.4

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.
@@ -17,6 +17,13 @@ export const OVMFactoryContract = {
17
17
  name: '_depositSystemContract',
18
18
  type: 'address',
19
19
  },
20
+ { internalType: 'string', name: '_ensName', type: 'string' },
21
+ {
22
+ internalType: 'address',
23
+ name: '_ensReverseRegistrar',
24
+ type: 'address',
25
+ },
26
+ { internalType: 'address', name: '_ensOwner', type: 'address' },
20
27
  ],
21
28
  stateMutability: 'nonpayable',
22
29
  type: 'constructor',
@@ -110,508 +117,508 @@ export const OVMFactoryContract = {
110
117
  export const OVMContract = {
111
118
  abi: [
112
119
  {
113
- type: 'constructor',
114
120
  inputs: [
115
121
  {
122
+ internalType: 'address',
116
123
  name: '_consolidationSystemContract',
117
124
  type: 'address',
118
- internalType: 'address',
119
125
  },
120
126
  {
127
+ internalType: 'address',
121
128
  name: '_withdrawalSystemContract',
122
129
  type: 'address',
123
- internalType: 'address',
124
130
  },
125
131
  {
132
+ internalType: 'address',
126
133
  name: '_depositSystemContract',
127
134
  type: 'address',
128
- internalType: 'address',
129
135
  },
130
- { name: '_owner', type: 'address', internalType: 'address' },
136
+ { internalType: 'address', name: '_owner', type: 'address' },
131
137
  {
138
+ internalType: 'address',
132
139
  name: '_principalRecipient',
133
140
  type: 'address',
134
- internalType: 'address',
135
141
  },
136
- { name: '_rewardRecipient', type: 'address', internalType: 'address' },
137
- { name: '_principalThreshold', type: 'uint64', internalType: 'uint64' },
142
+ { internalType: 'address', name: '_rewardRecipient', type: 'address' },
143
+ { internalType: 'uint64', name: '_principalThreshold', type: 'uint64' },
138
144
  ],
139
145
  stateMutability: 'nonpayable',
146
+ type: 'constructor',
147
+ },
148
+ { inputs: [], name: 'InvalidConsolidation_Failed', type: 'error' },
149
+ { inputs: [], name: 'InvalidDistribution_TooLarge', type: 'error' },
150
+ { inputs: [], name: 'InvalidRequest_NotEnoughFee', type: 'error' },
151
+ { inputs: [], name: 'InvalidRequest_Params', type: 'error' },
152
+ { inputs: [], name: 'InvalidRequest_SystemGetFee', type: 'error' },
153
+ { inputs: [], name: 'InvalidWithdrawal_Failed', type: 'error' },
154
+ { inputs: [], name: 'NewOwnerIsZeroAddress', type: 'error' },
155
+ { inputs: [], name: 'NoHandoverRequest', type: 'error' },
156
+ { inputs: [], name: 'Unauthorized', type: 'error' },
157
+ {
158
+ anonymous: false,
159
+ inputs: [
160
+ {
161
+ indexed: true,
162
+ internalType: 'address',
163
+ name: 'requester',
164
+ type: 'address',
165
+ },
166
+ { indexed: true, internalType: 'bytes', name: 'source', type: 'bytes' },
167
+ { indexed: true, internalType: 'bytes', name: 'target', type: 'bytes' },
168
+ ],
169
+ name: 'ConsolidationRequested',
170
+ type: 'event',
171
+ },
172
+ {
173
+ anonymous: false,
174
+ inputs: [
175
+ {
176
+ indexed: false,
177
+ internalType: 'uint256',
178
+ name: 'principalPayout',
179
+ type: 'uint256',
180
+ },
181
+ {
182
+ indexed: false,
183
+ internalType: 'uint256',
184
+ name: 'rewardPayout',
185
+ type: 'uint256',
186
+ },
187
+ {
188
+ indexed: false,
189
+ internalType: 'uint256',
190
+ name: 'pullOrPush',
191
+ type: 'uint256',
192
+ },
193
+ ],
194
+ name: 'DistributeFunds',
195
+ type: 'event',
196
+ },
197
+ {
198
+ anonymous: false,
199
+ inputs: [
200
+ {
201
+ indexed: true,
202
+ internalType: 'address',
203
+ name: 'newPrincipalRecipient',
204
+ type: 'address',
205
+ },
206
+ {
207
+ indexed: true,
208
+ internalType: 'address',
209
+ name: 'oldPrincipalRecipient',
210
+ type: 'address',
211
+ },
212
+ ],
213
+ name: 'NewPrincipalRecipient',
214
+ type: 'event',
215
+ },
216
+ {
217
+ anonymous: false,
218
+ inputs: [
219
+ {
220
+ indexed: true,
221
+ internalType: 'address',
222
+ name: 'pendingOwner',
223
+ type: 'address',
224
+ },
225
+ ],
226
+ name: 'OwnershipHandoverCanceled',
227
+ type: 'event',
228
+ },
229
+ {
230
+ anonymous: false,
231
+ inputs: [
232
+ {
233
+ indexed: true,
234
+ internalType: 'address',
235
+ name: 'pendingOwner',
236
+ type: 'address',
237
+ },
238
+ ],
239
+ name: 'OwnershipHandoverRequested',
240
+ type: 'event',
241
+ },
242
+ {
243
+ anonymous: false,
244
+ inputs: [
245
+ {
246
+ indexed: true,
247
+ internalType: 'address',
248
+ name: 'oldOwner',
249
+ type: 'address',
250
+ },
251
+ {
252
+ indexed: true,
253
+ internalType: 'address',
254
+ name: 'newOwner',
255
+ type: 'address',
256
+ },
257
+ ],
258
+ name: 'OwnershipTransferred',
259
+ type: 'event',
260
+ },
261
+ {
262
+ anonymous: false,
263
+ inputs: [
264
+ {
265
+ indexed: true,
266
+ internalType: 'address',
267
+ name: 'nonOVMToken',
268
+ type: 'address',
269
+ },
270
+ {
271
+ indexed: true,
272
+ internalType: 'address',
273
+ name: 'recipient',
274
+ type: 'address',
275
+ },
276
+ {
277
+ indexed: false,
278
+ internalType: 'uint256',
279
+ name: 'amount',
280
+ type: 'uint256',
281
+ },
282
+ ],
283
+ name: 'RecoverNonOVMFunds',
284
+ type: 'event',
285
+ },
286
+ {
287
+ anonymous: false,
288
+ inputs: [
289
+ {
290
+ indexed: true,
291
+ internalType: 'address',
292
+ name: 'user',
293
+ type: 'address',
294
+ },
295
+ {
296
+ indexed: true,
297
+ internalType: 'uint256',
298
+ name: 'roles',
299
+ type: 'uint256',
300
+ },
301
+ ],
302
+ name: 'RolesUpdated',
303
+ type: 'event',
304
+ },
305
+ {
306
+ anonymous: false,
307
+ inputs: [
308
+ {
309
+ indexed: true,
310
+ internalType: 'address',
311
+ name: 'account',
312
+ type: 'address',
313
+ },
314
+ {
315
+ indexed: false,
316
+ internalType: 'uint256',
317
+ name: 'amount',
318
+ type: 'uint256',
319
+ },
320
+ ],
321
+ name: 'Withdrawal',
322
+ type: 'event',
323
+ },
324
+ {
325
+ anonymous: false,
326
+ inputs: [
327
+ {
328
+ indexed: true,
329
+ internalType: 'address',
330
+ name: 'requester',
331
+ type: 'address',
332
+ },
333
+ { indexed: true, internalType: 'bytes', name: 'pubKey', type: 'bytes' },
334
+ {
335
+ indexed: false,
336
+ internalType: 'uint256',
337
+ name: 'amount',
338
+ type: 'uint256',
339
+ },
340
+ ],
341
+ name: 'WithdrawalRequested',
342
+ type: 'event',
140
343
  },
141
- { type: 'receive', stateMutability: 'payable' },
142
344
  {
143
- type: 'function',
144
- name: 'CONSOLIDATION_ROLE',
145
345
  inputs: [],
146
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
346
+ name: 'CONSOLIDATION_ROLE',
347
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
147
348
  stateMutability: 'view',
349
+ type: 'function',
148
350
  },
149
351
  {
150
- type: 'function',
151
- name: 'RECOVER_FUNDS_ROLE',
152
352
  inputs: [],
153
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
353
+ name: 'RECOVER_FUNDS_ROLE',
354
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
154
355
  stateMutability: 'view',
356
+ type: 'function',
155
357
  },
156
358
  {
157
- type: 'function',
158
- name: 'SET_PRINCIPAL_ROLE',
159
359
  inputs: [],
160
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
360
+ name: 'SET_PRINCIPAL_ROLE',
361
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
161
362
  stateMutability: 'view',
363
+ type: 'function',
162
364
  },
163
365
  {
164
- type: 'function',
165
- name: 'WITHDRAWAL_ROLE',
166
366
  inputs: [],
167
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
367
+ name: 'WITHDRAWAL_ROLE',
368
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
168
369
  stateMutability: 'view',
370
+ type: 'function',
169
371
  },
170
372
  {
171
- type: 'function',
172
- name: 'amountOfPrincipalStake',
173
373
  inputs: [],
174
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
374
+ name: 'amountOfPrincipalStake',
375
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
175
376
  stateMutability: 'view',
377
+ type: 'function',
176
378
  },
177
379
  {
178
- type: 'function',
179
- name: 'cancelOwnershipHandover',
180
380
  inputs: [],
381
+ name: 'cancelOwnershipHandover',
181
382
  outputs: [],
182
383
  stateMutability: 'payable',
384
+ type: 'function',
183
385
  },
184
386
  {
185
- type: 'function',
186
- name: 'completeOwnershipHandover',
187
387
  inputs: [
188
- { name: 'pendingOwner', type: 'address', internalType: 'address' },
388
+ { internalType: 'address', name: 'pendingOwner', type: 'address' },
189
389
  ],
390
+ name: 'completeOwnershipHandover',
190
391
  outputs: [],
191
392
  stateMutability: 'payable',
393
+ type: 'function',
192
394
  },
193
395
  {
194
- type: 'function',
195
- name: 'consolidationSystemContract',
196
396
  inputs: [],
197
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
397
+ name: 'consolidationSystemContract',
398
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
198
399
  stateMutability: 'view',
400
+ type: 'function',
199
401
  },
200
402
  {
201
- type: 'function',
202
- name: 'deposit',
203
403
  inputs: [
204
- { name: 'pubkey', type: 'bytes', internalType: 'bytes' },
404
+ { internalType: 'bytes', name: 'pubkey', type: 'bytes' },
205
405
  {
406
+ internalType: 'bytes',
206
407
  name: 'withdrawal_credentials',
207
408
  type: 'bytes',
208
- internalType: 'bytes',
209
409
  },
210
- { name: 'signature', type: 'bytes', internalType: 'bytes' },
211
- { name: 'deposit_data_root', type: 'bytes32', internalType: 'bytes32' },
410
+ { internalType: 'bytes', name: 'signature', type: 'bytes' },
411
+ { internalType: 'bytes32', name: 'deposit_data_root', type: 'bytes32' },
212
412
  ],
413
+ name: 'deposit',
213
414
  outputs: [],
214
415
  stateMutability: 'payable',
416
+ type: 'function',
215
417
  },
216
418
  {
217
- type: 'function',
218
- name: 'depositSystemContract',
219
419
  inputs: [],
220
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
420
+ name: 'depositSystemContract',
421
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
221
422
  stateMutability: 'view',
423
+ type: 'function',
222
424
  },
223
425
  {
224
- type: 'function',
225
- name: 'distributeFunds',
226
426
  inputs: [],
427
+ name: 'distributeFunds',
227
428
  outputs: [],
228
429
  stateMutability: 'nonpayable',
430
+ type: 'function',
229
431
  },
230
432
  {
231
- type: 'function',
232
- name: 'distributeFundsPull',
233
433
  inputs: [],
434
+ name: 'distributeFundsPull',
234
435
  outputs: [],
235
436
  stateMutability: 'nonpayable',
437
+ type: 'function',
236
438
  },
237
439
  {
238
- type: 'function',
239
- name: 'fundsPendingWithdrawal',
240
440
  inputs: [],
241
- outputs: [{ name: '', type: 'uint128', internalType: 'uint128' }],
441
+ name: 'fundsPendingWithdrawal',
442
+ outputs: [{ internalType: 'uint128', name: '', type: 'uint128' }],
242
443
  stateMutability: 'view',
444
+ type: 'function',
243
445
  },
244
446
  {
245
- type: 'function',
447
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
246
448
  name: 'getPullBalance',
247
- inputs: [{ name: 'account', type: 'address', internalType: 'address' }],
248
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
449
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
249
450
  stateMutability: 'view',
451
+ type: 'function',
250
452
  },
251
453
  {
252
- type: 'function',
253
- name: 'grantRoles',
254
454
  inputs: [
255
- { name: 'user', type: 'address', internalType: 'address' },
256
- { name: 'roles', type: 'uint256', internalType: 'uint256' },
455
+ { internalType: 'address', name: 'user', type: 'address' },
456
+ { internalType: 'uint256', name: 'roles', type: 'uint256' },
257
457
  ],
458
+ name: 'grantRoles',
258
459
  outputs: [],
259
460
  stateMutability: 'payable',
461
+ type: 'function',
260
462
  },
261
463
  {
262
- type: 'function',
263
- name: 'hasAllRoles',
264
464
  inputs: [
265
- { name: 'user', type: 'address', internalType: 'address' },
266
- { name: 'roles', type: 'uint256', internalType: 'uint256' },
465
+ { internalType: 'address', name: 'user', type: 'address' },
466
+ { internalType: 'uint256', name: 'roles', type: 'uint256' },
267
467
  ],
268
- outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
468
+ name: 'hasAllRoles',
469
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
269
470
  stateMutability: 'view',
471
+ type: 'function',
270
472
  },
271
473
  {
272
- type: 'function',
273
- name: 'hasAnyRole',
274
474
  inputs: [
275
- { name: 'user', type: 'address', internalType: 'address' },
276
- { name: 'roles', type: 'uint256', internalType: 'uint256' },
475
+ { internalType: 'address', name: 'user', type: 'address' },
476
+ { internalType: 'uint256', name: 'roles', type: 'uint256' },
277
477
  ],
278
- outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
478
+ name: 'hasAnyRole',
479
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
279
480
  stateMutability: 'view',
481
+ type: 'function',
280
482
  },
281
483
  {
282
- type: 'function',
283
- name: 'owner',
284
484
  inputs: [],
285
- outputs: [{ name: 'result', type: 'address', internalType: 'address' }],
485
+ name: 'owner',
486
+ outputs: [{ internalType: 'address', name: 'result', type: 'address' }],
286
487
  stateMutability: 'view',
488
+ type: 'function',
287
489
  },
288
490
  {
289
- type: 'function',
290
- name: 'ownershipHandoverExpiresAt',
291
491
  inputs: [
292
- { name: 'pendingOwner', type: 'address', internalType: 'address' },
492
+ { internalType: 'address', name: 'pendingOwner', type: 'address' },
293
493
  ],
294
- outputs: [{ name: 'result', type: 'uint256', internalType: 'uint256' }],
494
+ name: 'ownershipHandoverExpiresAt',
495
+ outputs: [{ internalType: 'uint256', name: 'result', type: 'uint256' }],
295
496
  stateMutability: 'view',
497
+ type: 'function',
296
498
  },
297
499
  {
298
- type: 'function',
299
- name: 'principalRecipient',
300
500
  inputs: [],
301
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
501
+ name: 'principalRecipient',
502
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
302
503
  stateMutability: 'view',
504
+ type: 'function',
303
505
  },
304
506
  {
305
- type: 'function',
306
- name: 'principalThreshold',
307
507
  inputs: [],
308
- outputs: [{ name: '', type: 'uint64', internalType: 'uint64' }],
508
+ name: 'principalThreshold',
509
+ outputs: [{ internalType: 'uint64', name: '', type: 'uint64' }],
309
510
  stateMutability: 'view',
511
+ type: 'function',
310
512
  },
311
513
  {
312
- type: 'function',
313
- name: 'recoverFunds',
314
514
  inputs: [
315
- { name: 'nonOVMToken', type: 'address', internalType: 'address' },
316
- { name: 'recipient', type: 'address', internalType: 'address' },
515
+ { internalType: 'address', name: 'nonOVMToken', type: 'address' },
516
+ { internalType: 'address', name: 'recipient', type: 'address' },
317
517
  ],
518
+ name: 'recoverFunds',
318
519
  outputs: [],
319
520
  stateMutability: 'nonpayable',
521
+ type: 'function',
320
522
  },
321
523
  {
322
- type: 'function',
323
- name: 'renounceOwnership',
324
524
  inputs: [],
525
+ name: 'renounceOwnership',
325
526
  outputs: [],
326
527
  stateMutability: 'payable',
528
+ type: 'function',
327
529
  },
328
530
  {
329
- type: 'function',
531
+ inputs: [{ internalType: 'uint256', name: 'roles', type: 'uint256' }],
330
532
  name: 'renounceRoles',
331
- inputs: [{ name: 'roles', type: 'uint256', internalType: 'uint256' }],
332
533
  outputs: [],
333
534
  stateMutability: 'payable',
535
+ type: 'function',
334
536
  },
335
537
  {
336
- type: 'function',
337
- name: 'requestConsolidation',
338
538
  inputs: [
339
- { name: 'sourcePubKeys', type: 'bytes[]', internalType: 'bytes[]' },
340
- { name: 'targetPubKey', type: 'bytes', internalType: 'bytes' },
539
+ { internalType: 'bytes[]', name: 'sourcePubKeys', type: 'bytes[]' },
540
+ { internalType: 'bytes', name: 'targetPubKey', type: 'bytes' },
341
541
  ],
542
+ name: 'requestConsolidation',
342
543
  outputs: [],
343
544
  stateMutability: 'payable',
545
+ type: 'function',
344
546
  },
345
547
  {
346
- type: 'function',
347
- name: 'requestOwnershipHandover',
348
548
  inputs: [],
549
+ name: 'requestOwnershipHandover',
349
550
  outputs: [],
350
551
  stateMutability: 'payable',
552
+ type: 'function',
351
553
  },
352
554
  {
353
- type: 'function',
354
- name: 'requestWithdrawal',
355
555
  inputs: [
356
- { name: 'pubKeys', type: 'bytes[]', internalType: 'bytes[]' },
357
- { name: 'amounts', type: 'uint64[]', internalType: 'uint64[]' },
556
+ { internalType: 'bytes[]', name: 'pubKeys', type: 'bytes[]' },
557
+ { internalType: 'uint64[]', name: 'amounts', type: 'uint64[]' },
358
558
  ],
559
+ name: 'requestWithdrawal',
359
560
  outputs: [],
360
561
  stateMutability: 'payable',
562
+ type: 'function',
361
563
  },
362
564
  {
363
- type: 'function',
364
- name: 'revokeRoles',
365
565
  inputs: [
366
- { name: 'user', type: 'address', internalType: 'address' },
367
- { name: 'roles', type: 'uint256', internalType: 'uint256' },
566
+ { internalType: 'address', name: 'user', type: 'address' },
567
+ { internalType: 'uint256', name: 'roles', type: 'uint256' },
368
568
  ],
569
+ name: 'revokeRoles',
369
570
  outputs: [],
370
571
  stateMutability: 'payable',
572
+ type: 'function',
371
573
  },
372
574
  {
373
- type: 'function',
374
- name: 'rewardRecipient',
375
575
  inputs: [],
376
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
576
+ name: 'rewardRecipient',
577
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
377
578
  stateMutability: 'view',
579
+ type: 'function',
378
580
  },
379
581
  {
380
- type: 'function',
582
+ inputs: [{ internalType: 'address', name: 'user', type: 'address' }],
381
583
  name: 'rolesOf',
382
- inputs: [{ name: 'user', type: 'address', internalType: 'address' }],
383
- outputs: [{ name: 'roles', type: 'uint256', internalType: 'uint256' }],
584
+ outputs: [{ internalType: 'uint256', name: 'roles', type: 'uint256' }],
384
585
  stateMutability: 'view',
586
+ type: 'function',
385
587
  },
386
588
  {
387
- type: 'function',
388
- name: 'setPrincipalRecipient',
389
589
  inputs: [
390
590
  {
591
+ internalType: 'address',
391
592
  name: 'newPrincipalRecipient',
392
593
  type: 'address',
393
- internalType: 'address',
394
594
  },
395
595
  ],
596
+ name: 'setPrincipalRecipient',
396
597
  outputs: [],
397
598
  stateMutability: 'nonpayable',
599
+ type: 'function',
398
600
  },
399
601
  {
400
- type: 'function',
602
+ inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
401
603
  name: 'transferOwnership',
402
- inputs: [{ name: 'newOwner', type: 'address', internalType: 'address' }],
403
604
  outputs: [],
404
605
  stateMutability: 'payable',
606
+ type: 'function',
405
607
  },
406
608
  {
407
- type: 'function',
609
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
408
610
  name: 'withdraw',
409
- inputs: [{ name: 'account', type: 'address', internalType: 'address' }],
410
611
  outputs: [],
411
612
  stateMutability: 'nonpayable',
613
+ type: 'function',
412
614
  },
413
615
  {
414
- type: 'function',
415
- name: 'withdrawalSystemContract',
416
616
  inputs: [],
417
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
617
+ name: 'withdrawalSystemContract',
618
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
418
619
  stateMutability: 'view',
620
+ type: 'function',
419
621
  },
420
- {
421
- type: 'event',
422
- name: 'ConsolidationRequested',
423
- inputs: [
424
- {
425
- name: 'requester',
426
- type: 'address',
427
- indexed: true,
428
- internalType: 'address',
429
- },
430
- { name: 'source', type: 'bytes', indexed: true, internalType: 'bytes' },
431
- { name: 'target', type: 'bytes', indexed: true, internalType: 'bytes' },
432
- ],
433
- anonymous: false,
434
- },
435
- {
436
- type: 'event',
437
- name: 'DistributeFunds',
438
- inputs: [
439
- {
440
- name: 'principalPayout',
441
- type: 'uint256',
442
- indexed: false,
443
- internalType: 'uint256',
444
- },
445
- {
446
- name: 'rewardPayout',
447
- type: 'uint256',
448
- indexed: false,
449
- internalType: 'uint256',
450
- },
451
- {
452
- name: 'pullOrPush',
453
- type: 'uint256',
454
- indexed: false,
455
- internalType: 'uint256',
456
- },
457
- ],
458
- anonymous: false,
459
- },
460
- {
461
- type: 'event',
462
- name: 'NewPrincipalRecipient',
463
- inputs: [
464
- {
465
- name: 'newPrincipalRecipient',
466
- type: 'address',
467
- indexed: true,
468
- internalType: 'address',
469
- },
470
- {
471
- name: 'oldPrincipalRecipient',
472
- type: 'address',
473
- indexed: true,
474
- internalType: 'address',
475
- },
476
- ],
477
- anonymous: false,
478
- },
479
- {
480
- type: 'event',
481
- name: 'OwnershipHandoverCanceled',
482
- inputs: [
483
- {
484
- name: 'pendingOwner',
485
- type: 'address',
486
- indexed: true,
487
- internalType: 'address',
488
- },
489
- ],
490
- anonymous: false,
491
- },
492
- {
493
- type: 'event',
494
- name: 'OwnershipHandoverRequested',
495
- inputs: [
496
- {
497
- name: 'pendingOwner',
498
- type: 'address',
499
- indexed: true,
500
- internalType: 'address',
501
- },
502
- ],
503
- anonymous: false,
504
- },
505
- {
506
- type: 'event',
507
- name: 'OwnershipTransferred',
508
- inputs: [
509
- {
510
- name: 'oldOwner',
511
- type: 'address',
512
- indexed: true,
513
- internalType: 'address',
514
- },
515
- {
516
- name: 'newOwner',
517
- type: 'address',
518
- indexed: true,
519
- internalType: 'address',
520
- },
521
- ],
522
- anonymous: false,
523
- },
524
- {
525
- type: 'event',
526
- name: 'RecoverNonOVMFunds',
527
- inputs: [
528
- {
529
- name: 'nonOVMToken',
530
- type: 'address',
531
- indexed: true,
532
- internalType: 'address',
533
- },
534
- {
535
- name: 'recipient',
536
- type: 'address',
537
- indexed: true,
538
- internalType: 'address',
539
- },
540
- {
541
- name: 'amount',
542
- type: 'uint256',
543
- indexed: false,
544
- internalType: 'uint256',
545
- },
546
- ],
547
- anonymous: false,
548
- },
549
- {
550
- type: 'event',
551
- name: 'RolesUpdated',
552
- inputs: [
553
- {
554
- name: 'user',
555
- type: 'address',
556
- indexed: true,
557
- internalType: 'address',
558
- },
559
- {
560
- name: 'roles',
561
- type: 'uint256',
562
- indexed: true,
563
- internalType: 'uint256',
564
- },
565
- ],
566
- anonymous: false,
567
- },
568
- {
569
- type: 'event',
570
- name: 'Withdrawal',
571
- inputs: [
572
- {
573
- name: 'account',
574
- type: 'address',
575
- indexed: true,
576
- internalType: 'address',
577
- },
578
- {
579
- name: 'amount',
580
- type: 'uint256',
581
- indexed: false,
582
- internalType: 'uint256',
583
- },
584
- ],
585
- anonymous: false,
586
- },
587
- {
588
- type: 'event',
589
- name: 'WithdrawalRequested',
590
- inputs: [
591
- {
592
- name: 'requester',
593
- type: 'address',
594
- indexed: true,
595
- internalType: 'address',
596
- },
597
- { name: 'pubKey', type: 'bytes', indexed: true, internalType: 'bytes' },
598
- {
599
- name: 'amount',
600
- type: 'uint256',
601
- indexed: false,
602
- internalType: 'uint256',
603
- },
604
- ],
605
- anonymous: false,
606
- },
607
- { type: 'error', name: 'InvalidConsolidation_Failed', inputs: [] },
608
- { type: 'error', name: 'InvalidDistribution_TooLarge', inputs: [] },
609
- { type: 'error', name: 'InvalidRequest_NotEnoughFee', inputs: [] },
610
- { type: 'error', name: 'InvalidRequest_Params', inputs: [] },
611
- { type: 'error', name: 'InvalidRequest_SystemGetFee', inputs: [] },
612
- { type: 'error', name: 'InvalidWithdrawal_Failed', inputs: [] },
613
- { type: 'error', name: 'NewOwnerIsZeroAddress', inputs: [] },
614
- { type: 'error', name: 'NoHandoverRequest', inputs: [] },
615
- { type: 'error', name: 'Unauthorized', inputs: [] },
616
- ] as const,
622
+ { stateMutability: 'payable', type: 'receive' },
623
+ ],
617
624
  };