@lidofinance/lsv-cli 1.0.0-alpha.7 → 1.0.0-alpha.9

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 (96) hide show
  1. package/README.md +217 -1
  2. package/dist/abi/Dashboard.js +1383 -0
  3. package/dist/abi/Dashboard.js.map +1 -0
  4. package/dist/abi/Delegation.js +1658 -0
  5. package/dist/abi/Delegation.js.map +1 -0
  6. package/dist/abi/LidoLocator.js +388 -0
  7. package/dist/abi/LidoLocator.js.map +1 -0
  8. package/dist/abi/StEth.js +496 -0
  9. package/dist/abi/StEth.js.map +1 -0
  10. package/dist/abi/StakingVault.js +786 -0
  11. package/dist/abi/StakingVault.js.map +1 -0
  12. package/dist/abi/TokenManager.js +759 -0
  13. package/dist/abi/TokenManager.js.map +1 -0
  14. package/dist/abi/VaultFactory.js +229 -0
  15. package/dist/abi/VaultFactory.js.map +1 -0
  16. package/dist/abi/VaultHub.js +923 -586
  17. package/dist/abi/VaultHub.js.map +1 -1
  18. package/dist/abi/Voting.js +887 -0
  19. package/dist/abi/Voting.js.map +1 -0
  20. package/dist/abi/index.js +26 -0
  21. package/dist/abi/index.js.map +1 -0
  22. package/dist/command/index.js +16 -0
  23. package/dist/command/index.js.map +1 -1
  24. package/dist/configs/constants.js +6 -0
  25. package/dist/configs/constants.js.map +1 -0
  26. package/dist/configs/deployed.js +118 -24
  27. package/dist/configs/deployed.js.map +1 -1
  28. package/dist/configs/envs.js +24 -16
  29. package/dist/configs/envs.js.map +1 -1
  30. package/dist/configs/index.js +1 -0
  31. package/dist/configs/index.js.map +1 -1
  32. package/dist/configs/utils.js +32 -0
  33. package/dist/configs/utils.js.map +1 -0
  34. package/dist/contracts/dashboard.js +19 -0
  35. package/dist/contracts/dashboard.js.map +1 -0
  36. package/dist/contracts/delegation.js +19 -0
  37. package/dist/contracts/delegation.js.map +1 -0
  38. package/dist/contracts/index.js +8 -0
  39. package/dist/contracts/index.js.map +1 -1
  40. package/dist/contracts/locator.js +20 -0
  41. package/dist/contracts/locator.js.map +1 -0
  42. package/dist/contracts/steth.js +19 -0
  43. package/dist/contracts/steth.js.map +1 -0
  44. package/dist/contracts/token-manager.js +20 -0
  45. package/dist/contracts/token-manager.js.map +1 -0
  46. package/dist/contracts/vault-factory.js +22 -0
  47. package/dist/contracts/vault-factory.js.map +1 -0
  48. package/dist/contracts/vault-hub.js +10 -8
  49. package/dist/contracts/vault-hub.js.map +1 -1
  50. package/dist/contracts/vault.js +18 -0
  51. package/dist/contracts/vault.js.map +1 -0
  52. package/dist/contracts/voting.js +22 -0
  53. package/dist/contracts/voting.js.map +1 -0
  54. package/dist/features/advanced-config.js +21 -0
  55. package/dist/features/advanced-config.js.map +1 -0
  56. package/dist/features/index.js +20 -0
  57. package/dist/features/index.js.map +1 -0
  58. package/dist/features/token-manager.js +6 -0
  59. package/dist/features/token-manager.js.map +1 -0
  60. package/dist/features/vault-factory.js +36 -0
  61. package/dist/features/vault-factory.js.map +1 -0
  62. package/dist/features/voting.js +136 -0
  63. package/dist/features/voting.js.map +1 -0
  64. package/dist/programs/config.js +33 -0
  65. package/dist/programs/config.js.map +1 -0
  66. package/dist/programs/dashboard.js +688 -0
  67. package/dist/programs/dashboard.js.map +1 -0
  68. package/dist/programs/delegation.js +539 -0
  69. package/dist/programs/delegation.js.map +1 -0
  70. package/dist/programs/index.js +5 -0
  71. package/dist/programs/index.js.map +1 -1
  72. package/dist/programs/vault-factory.js +84 -0
  73. package/dist/programs/vault-factory.js.map +1 -0
  74. package/dist/programs/vault-hub.js +331 -116
  75. package/dist/programs/vault-hub.js.map +1 -1
  76. package/dist/programs/vault.js +378 -0
  77. package/dist/programs/vault.js.map +1 -0
  78. package/dist/programs/voting.js +53 -0
  79. package/dist/programs/voting.js.map +1 -0
  80. package/dist/providers/wallet.js +20 -18
  81. package/dist/providers/wallet.js.map +1 -1
  82. package/dist/types/common.js +3 -0
  83. package/dist/types/common.js.map +1 -0
  84. package/dist/types/config.js +3 -0
  85. package/dist/types/config.js.map +1 -0
  86. package/dist/types/index.js +19 -0
  87. package/dist/types/index.js.map +1 -0
  88. package/dist/utils/data-validators.js +51 -0
  89. package/dist/utils/data-validators.js.map +1 -0
  90. package/dist/utils/index.js +3 -0
  91. package/dist/utils/index.js.map +1 -1
  92. package/dist/utils/resolve-path.js +13 -0
  93. package/dist/utils/resolve-path.js.map +1 -0
  94. package/dist/utils/sleep.js +8 -0
  95. package/dist/utils/sleep.js.map +1 -0
  96. package/package.json +7 -3
@@ -0,0 +1,1383 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DashboardAbi = void 0;
4
+ exports.DashboardAbi = [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "_wETH",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "address",
14
+ "name": "_lidoLocator",
15
+ "type": "address"
16
+ }
17
+ ],
18
+ "stateMutability": "nonpayable",
19
+ "type": "constructor"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "AccessControlBadConfirmation",
24
+ "type": "error"
25
+ },
26
+ {
27
+ "inputs": [
28
+ {
29
+ "internalType": "address",
30
+ "name": "account",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "internalType": "bytes32",
35
+ "name": "neededRole",
36
+ "type": "bytes32"
37
+ }
38
+ ],
39
+ "name": "AccessControlUnauthorizedAccount",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "AlreadyInitialized",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [
49
+ {
50
+ "internalType": "address",
51
+ "name": "recipient",
52
+ "type": "address"
53
+ },
54
+ {
55
+ "internalType": "uint256",
56
+ "name": "amount",
57
+ "type": "uint256"
58
+ }
59
+ ],
60
+ "name": "EthTransferFailed",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [
65
+ {
66
+ "internalType": "address",
67
+ "name": "token",
68
+ "type": "address"
69
+ }
70
+ ],
71
+ "name": "InvalidPermit",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "NonProxyCallsForbidden",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "NotACommitteeMember",
82
+ "type": "error"
83
+ },
84
+ {
85
+ "inputs": [
86
+ {
87
+ "internalType": "address",
88
+ "name": "token",
89
+ "type": "address"
90
+ }
91
+ ],
92
+ "name": "SafeERC20FailedOperation",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [],
97
+ "name": "VoteLifetimeCannotBeZero",
98
+ "type": "error"
99
+ },
100
+ {
101
+ "inputs": [],
102
+ "name": "VoteLifetimeNotSet",
103
+ "type": "error"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "string",
109
+ "name": "argument",
110
+ "type": "string"
111
+ }
112
+ ],
113
+ "name": "ZeroArgument",
114
+ "type": "error"
115
+ },
116
+ {
117
+ "anonymous": false,
118
+ "inputs": [
119
+ {
120
+ "indexed": true,
121
+ "internalType": "address",
122
+ "name": "to",
123
+ "type": "address"
124
+ },
125
+ {
126
+ "indexed": true,
127
+ "internalType": "address",
128
+ "name": "token",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "indexed": false,
133
+ "internalType": "uint256",
134
+ "name": "amount",
135
+ "type": "uint256"
136
+ }
137
+ ],
138
+ "name": "ERC20Recovered",
139
+ "type": "event"
140
+ },
141
+ {
142
+ "anonymous": false,
143
+ "inputs": [
144
+ {
145
+ "indexed": true,
146
+ "internalType": "address",
147
+ "name": "to",
148
+ "type": "address"
149
+ },
150
+ {
151
+ "indexed": true,
152
+ "internalType": "address",
153
+ "name": "token",
154
+ "type": "address"
155
+ },
156
+ {
157
+ "indexed": false,
158
+ "internalType": "uint256",
159
+ "name": "tokenId",
160
+ "type": "uint256"
161
+ }
162
+ ],
163
+ "name": "ERC721Recovered",
164
+ "type": "event"
165
+ },
166
+ {
167
+ "anonymous": false,
168
+ "inputs": [],
169
+ "name": "Initialized",
170
+ "type": "event"
171
+ },
172
+ {
173
+ "anonymous": false,
174
+ "inputs": [
175
+ {
176
+ "indexed": true,
177
+ "internalType": "bytes32",
178
+ "name": "role",
179
+ "type": "bytes32"
180
+ },
181
+ {
182
+ "indexed": true,
183
+ "internalType": "bytes32",
184
+ "name": "previousAdminRole",
185
+ "type": "bytes32"
186
+ },
187
+ {
188
+ "indexed": true,
189
+ "internalType": "bytes32",
190
+ "name": "newAdminRole",
191
+ "type": "bytes32"
192
+ }
193
+ ],
194
+ "name": "RoleAdminChanged",
195
+ "type": "event"
196
+ },
197
+ {
198
+ "anonymous": false,
199
+ "inputs": [
200
+ {
201
+ "indexed": true,
202
+ "internalType": "bytes32",
203
+ "name": "role",
204
+ "type": "bytes32"
205
+ },
206
+ {
207
+ "indexed": true,
208
+ "internalType": "address",
209
+ "name": "account",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "indexed": true,
214
+ "internalType": "address",
215
+ "name": "sender",
216
+ "type": "address"
217
+ }
218
+ ],
219
+ "name": "RoleGranted",
220
+ "type": "event"
221
+ },
222
+ {
223
+ "anonymous": false,
224
+ "inputs": [
225
+ {
226
+ "indexed": true,
227
+ "internalType": "address",
228
+ "name": "member",
229
+ "type": "address"
230
+ },
231
+ {
232
+ "indexed": true,
233
+ "internalType": "bytes32",
234
+ "name": "role",
235
+ "type": "bytes32"
236
+ },
237
+ {
238
+ "indexed": false,
239
+ "internalType": "uint256",
240
+ "name": "timestamp",
241
+ "type": "uint256"
242
+ },
243
+ {
244
+ "indexed": false,
245
+ "internalType": "bytes",
246
+ "name": "data",
247
+ "type": "bytes"
248
+ }
249
+ ],
250
+ "name": "RoleMemberVoted",
251
+ "type": "event"
252
+ },
253
+ {
254
+ "anonymous": false,
255
+ "inputs": [
256
+ {
257
+ "indexed": true,
258
+ "internalType": "bytes32",
259
+ "name": "role",
260
+ "type": "bytes32"
261
+ },
262
+ {
263
+ "indexed": true,
264
+ "internalType": "address",
265
+ "name": "account",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "indexed": true,
270
+ "internalType": "address",
271
+ "name": "sender",
272
+ "type": "address"
273
+ }
274
+ ],
275
+ "name": "RoleRevoked",
276
+ "type": "event"
277
+ },
278
+ {
279
+ "anonymous": false,
280
+ "inputs": [
281
+ {
282
+ "indexed": true,
283
+ "internalType": "address",
284
+ "name": "sender",
285
+ "type": "address"
286
+ },
287
+ {
288
+ "indexed": false,
289
+ "internalType": "uint256",
290
+ "name": "oldVoteLifetime",
291
+ "type": "uint256"
292
+ },
293
+ {
294
+ "indexed": false,
295
+ "internalType": "uint256",
296
+ "name": "newVoteLifetime",
297
+ "type": "uint256"
298
+ }
299
+ ],
300
+ "name": "VoteLifetimeSet",
301
+ "type": "event"
302
+ },
303
+ {
304
+ "inputs": [],
305
+ "name": "BURN_ROLE",
306
+ "outputs": [
307
+ {
308
+ "internalType": "bytes32",
309
+ "name": "",
310
+ "type": "bytes32"
311
+ }
312
+ ],
313
+ "stateMutability": "view",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [],
318
+ "name": "DEFAULT_ADMIN_ROLE",
319
+ "outputs": [
320
+ {
321
+ "internalType": "bytes32",
322
+ "name": "",
323
+ "type": "bytes32"
324
+ }
325
+ ],
326
+ "stateMutability": "view",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [],
331
+ "name": "ETH",
332
+ "outputs": [
333
+ {
334
+ "internalType": "address",
335
+ "name": "",
336
+ "type": "address"
337
+ }
338
+ ],
339
+ "stateMutability": "view",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [],
344
+ "name": "FUND_ROLE",
345
+ "outputs": [
346
+ {
347
+ "internalType": "bytes32",
348
+ "name": "",
349
+ "type": "bytes32"
350
+ }
351
+ ],
352
+ "stateMutability": "view",
353
+ "type": "function"
354
+ },
355
+ {
356
+ "inputs": [],
357
+ "name": "MINT_ROLE",
358
+ "outputs": [
359
+ {
360
+ "internalType": "bytes32",
361
+ "name": "",
362
+ "type": "bytes32"
363
+ }
364
+ ],
365
+ "stateMutability": "view",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [],
370
+ "name": "PAUSE_BEACON_CHAIN_DEPOSITS_ROLE",
371
+ "outputs": [
372
+ {
373
+ "internalType": "bytes32",
374
+ "name": "",
375
+ "type": "bytes32"
376
+ }
377
+ ],
378
+ "stateMutability": "view",
379
+ "type": "function"
380
+ },
381
+ {
382
+ "inputs": [],
383
+ "name": "REBALANCE_ROLE",
384
+ "outputs": [
385
+ {
386
+ "internalType": "bytes32",
387
+ "name": "",
388
+ "type": "bytes32"
389
+ }
390
+ ],
391
+ "stateMutability": "view",
392
+ "type": "function"
393
+ },
394
+ {
395
+ "inputs": [],
396
+ "name": "REQUEST_VALIDATOR_EXIT_ROLE",
397
+ "outputs": [
398
+ {
399
+ "internalType": "bytes32",
400
+ "name": "",
401
+ "type": "bytes32"
402
+ }
403
+ ],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [],
409
+ "name": "RESUME_BEACON_CHAIN_DEPOSITS_ROLE",
410
+ "outputs": [
411
+ {
412
+ "internalType": "bytes32",
413
+ "name": "",
414
+ "type": "bytes32"
415
+ }
416
+ ],
417
+ "stateMutability": "view",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [],
422
+ "name": "STETH",
423
+ "outputs": [
424
+ {
425
+ "internalType": "contract ILido",
426
+ "name": "",
427
+ "type": "address"
428
+ }
429
+ ],
430
+ "stateMutability": "view",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [],
435
+ "name": "VOLUNTARY_DISCONNECT_ROLE",
436
+ "outputs": [
437
+ {
438
+ "internalType": "bytes32",
439
+ "name": "",
440
+ "type": "bytes32"
441
+ }
442
+ ],
443
+ "stateMutability": "view",
444
+ "type": "function"
445
+ },
446
+ {
447
+ "inputs": [],
448
+ "name": "WETH",
449
+ "outputs": [
450
+ {
451
+ "internalType": "contract IWETH9",
452
+ "name": "",
453
+ "type": "address"
454
+ }
455
+ ],
456
+ "stateMutability": "view",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [],
461
+ "name": "WITHDRAW_ROLE",
462
+ "outputs": [
463
+ {
464
+ "internalType": "bytes32",
465
+ "name": "",
466
+ "type": "bytes32"
467
+ }
468
+ ],
469
+ "stateMutability": "view",
470
+ "type": "function"
471
+ },
472
+ {
473
+ "inputs": [],
474
+ "name": "WSTETH",
475
+ "outputs": [
476
+ {
477
+ "internalType": "contract IWstETH",
478
+ "name": "",
479
+ "type": "address"
480
+ }
481
+ ],
482
+ "stateMutability": "view",
483
+ "type": "function"
484
+ },
485
+ {
486
+ "inputs": [
487
+ {
488
+ "internalType": "uint256",
489
+ "name": "_amountOfShares",
490
+ "type": "uint256"
491
+ }
492
+ ],
493
+ "name": "burnShares",
494
+ "outputs": [],
495
+ "stateMutability": "nonpayable",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "uint256",
502
+ "name": "_amountOfShares",
503
+ "type": "uint256"
504
+ },
505
+ {
506
+ "components": [
507
+ {
508
+ "internalType": "uint256",
509
+ "name": "value",
510
+ "type": "uint256"
511
+ },
512
+ {
513
+ "internalType": "uint256",
514
+ "name": "deadline",
515
+ "type": "uint256"
516
+ },
517
+ {
518
+ "internalType": "uint8",
519
+ "name": "v",
520
+ "type": "uint8"
521
+ },
522
+ {
523
+ "internalType": "bytes32",
524
+ "name": "r",
525
+ "type": "bytes32"
526
+ },
527
+ {
528
+ "internalType": "bytes32",
529
+ "name": "s",
530
+ "type": "bytes32"
531
+ }
532
+ ],
533
+ "internalType": "struct Dashboard.PermitInput",
534
+ "name": "_permit",
535
+ "type": "tuple"
536
+ }
537
+ ],
538
+ "name": "burnSharesWithPermit",
539
+ "outputs": [],
540
+ "stateMutability": "nonpayable",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [
545
+ {
546
+ "internalType": "uint256",
547
+ "name": "_amountOfStETH",
548
+ "type": "uint256"
549
+ }
550
+ ],
551
+ "name": "burnStETH",
552
+ "outputs": [],
553
+ "stateMutability": "nonpayable",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [
558
+ {
559
+ "internalType": "uint256",
560
+ "name": "_amountOfStETH",
561
+ "type": "uint256"
562
+ },
563
+ {
564
+ "components": [
565
+ {
566
+ "internalType": "uint256",
567
+ "name": "value",
568
+ "type": "uint256"
569
+ },
570
+ {
571
+ "internalType": "uint256",
572
+ "name": "deadline",
573
+ "type": "uint256"
574
+ },
575
+ {
576
+ "internalType": "uint8",
577
+ "name": "v",
578
+ "type": "uint8"
579
+ },
580
+ {
581
+ "internalType": "bytes32",
582
+ "name": "r",
583
+ "type": "bytes32"
584
+ },
585
+ {
586
+ "internalType": "bytes32",
587
+ "name": "s",
588
+ "type": "bytes32"
589
+ }
590
+ ],
591
+ "internalType": "struct Dashboard.PermitInput",
592
+ "name": "_permit",
593
+ "type": "tuple"
594
+ }
595
+ ],
596
+ "name": "burnStETHWithPermit",
597
+ "outputs": [],
598
+ "stateMutability": "nonpayable",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "inputs": [
603
+ {
604
+ "internalType": "uint256",
605
+ "name": "_amountOfWstETH",
606
+ "type": "uint256"
607
+ }
608
+ ],
609
+ "name": "burnWstETH",
610
+ "outputs": [],
611
+ "stateMutability": "nonpayable",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "_amountOfWstETH",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "components": [
623
+ {
624
+ "internalType": "uint256",
625
+ "name": "value",
626
+ "type": "uint256"
627
+ },
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "deadline",
631
+ "type": "uint256"
632
+ },
633
+ {
634
+ "internalType": "uint8",
635
+ "name": "v",
636
+ "type": "uint8"
637
+ },
638
+ {
639
+ "internalType": "bytes32",
640
+ "name": "r",
641
+ "type": "bytes32"
642
+ },
643
+ {
644
+ "internalType": "bytes32",
645
+ "name": "s",
646
+ "type": "bytes32"
647
+ }
648
+ ],
649
+ "internalType": "struct Dashboard.PermitInput",
650
+ "name": "_permit",
651
+ "type": "tuple"
652
+ }
653
+ ],
654
+ "name": "burnWstETHWithPermit",
655
+ "outputs": [],
656
+ "stateMutability": "nonpayable",
657
+ "type": "function"
658
+ },
659
+ {
660
+ "inputs": [],
661
+ "name": "fund",
662
+ "outputs": [],
663
+ "stateMutability": "payable",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [
668
+ {
669
+ "internalType": "uint256",
670
+ "name": "_amountOfWETH",
671
+ "type": "uint256"
672
+ }
673
+ ],
674
+ "name": "fundWeth",
675
+ "outputs": [],
676
+ "stateMutability": "nonpayable",
677
+ "type": "function"
678
+ },
679
+ {
680
+ "inputs": [
681
+ {
682
+ "internalType": "bytes32",
683
+ "name": "role",
684
+ "type": "bytes32"
685
+ }
686
+ ],
687
+ "name": "getRoleAdmin",
688
+ "outputs": [
689
+ {
690
+ "internalType": "bytes32",
691
+ "name": "",
692
+ "type": "bytes32"
693
+ }
694
+ ],
695
+ "stateMutability": "view",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [
700
+ {
701
+ "internalType": "bytes32",
702
+ "name": "role",
703
+ "type": "bytes32"
704
+ },
705
+ {
706
+ "internalType": "uint256",
707
+ "name": "index",
708
+ "type": "uint256"
709
+ }
710
+ ],
711
+ "name": "getRoleMember",
712
+ "outputs": [
713
+ {
714
+ "internalType": "address",
715
+ "name": "",
716
+ "type": "address"
717
+ }
718
+ ],
719
+ "stateMutability": "view",
720
+ "type": "function"
721
+ },
722
+ {
723
+ "inputs": [
724
+ {
725
+ "internalType": "bytes32",
726
+ "name": "role",
727
+ "type": "bytes32"
728
+ }
729
+ ],
730
+ "name": "getRoleMemberCount",
731
+ "outputs": [
732
+ {
733
+ "internalType": "uint256",
734
+ "name": "",
735
+ "type": "uint256"
736
+ }
737
+ ],
738
+ "stateMutability": "view",
739
+ "type": "function"
740
+ },
741
+ {
742
+ "inputs": [
743
+ {
744
+ "internalType": "bytes32",
745
+ "name": "role",
746
+ "type": "bytes32"
747
+ }
748
+ ],
749
+ "name": "getRoleMembers",
750
+ "outputs": [
751
+ {
752
+ "internalType": "address[]",
753
+ "name": "",
754
+ "type": "address[]"
755
+ }
756
+ ],
757
+ "stateMutability": "view",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [
762
+ {
763
+ "internalType": "bytes32",
764
+ "name": "role",
765
+ "type": "bytes32"
766
+ },
767
+ {
768
+ "internalType": "address",
769
+ "name": "account",
770
+ "type": "address"
771
+ }
772
+ ],
773
+ "name": "grantRole",
774
+ "outputs": [],
775
+ "stateMutability": "nonpayable",
776
+ "type": "function"
777
+ },
778
+ {
779
+ "inputs": [
780
+ {
781
+ "components": [
782
+ {
783
+ "internalType": "address",
784
+ "name": "account",
785
+ "type": "address"
786
+ },
787
+ {
788
+ "internalType": "bytes32",
789
+ "name": "role",
790
+ "type": "bytes32"
791
+ }
792
+ ],
793
+ "internalType": "struct Dashboard.RoleAssignment[]",
794
+ "name": "_assignments",
795
+ "type": "tuple[]"
796
+ }
797
+ ],
798
+ "name": "grantRoles",
799
+ "outputs": [],
800
+ "stateMutability": "nonpayable",
801
+ "type": "function"
802
+ },
803
+ {
804
+ "inputs": [
805
+ {
806
+ "internalType": "bytes32",
807
+ "name": "role",
808
+ "type": "bytes32"
809
+ },
810
+ {
811
+ "internalType": "address",
812
+ "name": "account",
813
+ "type": "address"
814
+ }
815
+ ],
816
+ "name": "hasRole",
817
+ "outputs": [
818
+ {
819
+ "internalType": "bool",
820
+ "name": "",
821
+ "type": "bool"
822
+ }
823
+ ],
824
+ "stateMutability": "view",
825
+ "type": "function"
826
+ },
827
+ {
828
+ "inputs": [
829
+ {
830
+ "internalType": "address",
831
+ "name": "_defaultAdmin",
832
+ "type": "address"
833
+ }
834
+ ],
835
+ "name": "initialize",
836
+ "outputs": [],
837
+ "stateMutability": "nonpayable",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [],
842
+ "name": "initialized",
843
+ "outputs": [
844
+ {
845
+ "internalType": "bool",
846
+ "name": "",
847
+ "type": "bool"
848
+ }
849
+ ],
850
+ "stateMutability": "view",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [
855
+ {
856
+ "internalType": "address",
857
+ "name": "_recipient",
858
+ "type": "address"
859
+ },
860
+ {
861
+ "internalType": "uint256",
862
+ "name": "_amountOfShares",
863
+ "type": "uint256"
864
+ }
865
+ ],
866
+ "name": "mintShares",
867
+ "outputs": [],
868
+ "stateMutability": "payable",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [
873
+ {
874
+ "internalType": "address",
875
+ "name": "_recipient",
876
+ "type": "address"
877
+ },
878
+ {
879
+ "internalType": "uint256",
880
+ "name": "_amountOfStETH",
881
+ "type": "uint256"
882
+ }
883
+ ],
884
+ "name": "mintStETH",
885
+ "outputs": [],
886
+ "stateMutability": "payable",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [
891
+ {
892
+ "internalType": "address",
893
+ "name": "_recipient",
894
+ "type": "address"
895
+ },
896
+ {
897
+ "internalType": "uint256",
898
+ "name": "_amountOfWstETH",
899
+ "type": "uint256"
900
+ }
901
+ ],
902
+ "name": "mintWstETH",
903
+ "outputs": [],
904
+ "stateMutability": "payable",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [],
909
+ "name": "pauseBeaconChainDeposits",
910
+ "outputs": [],
911
+ "stateMutability": "nonpayable",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [
916
+ {
917
+ "internalType": "uint256",
918
+ "name": "_etherToFund",
919
+ "type": "uint256"
920
+ }
921
+ ],
922
+ "name": "projectedNewMintableShares",
923
+ "outputs": [
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "",
927
+ "type": "uint256"
928
+ }
929
+ ],
930
+ "stateMutability": "view",
931
+ "type": "function"
932
+ },
933
+ {
934
+ "inputs": [
935
+ {
936
+ "internalType": "uint256",
937
+ "name": "_ether",
938
+ "type": "uint256"
939
+ }
940
+ ],
941
+ "name": "rebalanceVault",
942
+ "outputs": [],
943
+ "stateMutability": "payable",
944
+ "type": "function"
945
+ },
946
+ {
947
+ "inputs": [
948
+ {
949
+ "internalType": "address",
950
+ "name": "_token",
951
+ "type": "address"
952
+ },
953
+ {
954
+ "internalType": "address",
955
+ "name": "_recipient",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "uint256",
960
+ "name": "_amount",
961
+ "type": "uint256"
962
+ }
963
+ ],
964
+ "name": "recoverERC20",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
971
+ {
972
+ "internalType": "address",
973
+ "name": "_token",
974
+ "type": "address"
975
+ },
976
+ {
977
+ "internalType": "uint256",
978
+ "name": "_tokenId",
979
+ "type": "uint256"
980
+ },
981
+ {
982
+ "internalType": "address",
983
+ "name": "_recipient",
984
+ "type": "address"
985
+ }
986
+ ],
987
+ "name": "recoverERC721",
988
+ "outputs": [],
989
+ "stateMutability": "nonpayable",
990
+ "type": "function"
991
+ },
992
+ {
993
+ "inputs": [
994
+ {
995
+ "internalType": "bytes32",
996
+ "name": "role",
997
+ "type": "bytes32"
998
+ },
999
+ {
1000
+ "internalType": "address",
1001
+ "name": "callerConfirmation",
1002
+ "type": "address"
1003
+ }
1004
+ ],
1005
+ "name": "renounceRole",
1006
+ "outputs": [],
1007
+ "stateMutability": "nonpayable",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "bytes",
1014
+ "name": "_validatorPublicKey",
1015
+ "type": "bytes"
1016
+ }
1017
+ ],
1018
+ "name": "requestValidatorExit",
1019
+ "outputs": [],
1020
+ "stateMutability": "nonpayable",
1021
+ "type": "function"
1022
+ },
1023
+ {
1024
+ "inputs": [],
1025
+ "name": "reserveRatioBP",
1026
+ "outputs": [
1027
+ {
1028
+ "internalType": "uint16",
1029
+ "name": "",
1030
+ "type": "uint16"
1031
+ }
1032
+ ],
1033
+ "stateMutability": "view",
1034
+ "type": "function"
1035
+ },
1036
+ {
1037
+ "inputs": [],
1038
+ "name": "resumeBeaconChainDeposits",
1039
+ "outputs": [],
1040
+ "stateMutability": "nonpayable",
1041
+ "type": "function"
1042
+ },
1043
+ {
1044
+ "inputs": [
1045
+ {
1046
+ "internalType": "bytes32",
1047
+ "name": "role",
1048
+ "type": "bytes32"
1049
+ },
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "account",
1053
+ "type": "address"
1054
+ }
1055
+ ],
1056
+ "name": "revokeRole",
1057
+ "outputs": [],
1058
+ "stateMutability": "nonpayable",
1059
+ "type": "function"
1060
+ },
1061
+ {
1062
+ "inputs": [
1063
+ {
1064
+ "components": [
1065
+ {
1066
+ "internalType": "address",
1067
+ "name": "account",
1068
+ "type": "address"
1069
+ },
1070
+ {
1071
+ "internalType": "bytes32",
1072
+ "name": "role",
1073
+ "type": "bytes32"
1074
+ }
1075
+ ],
1076
+ "internalType": "struct Dashboard.RoleAssignment[]",
1077
+ "name": "_assignments",
1078
+ "type": "tuple[]"
1079
+ }
1080
+ ],
1081
+ "name": "revokeRoles",
1082
+ "outputs": [],
1083
+ "stateMutability": "nonpayable",
1084
+ "type": "function"
1085
+ },
1086
+ {
1087
+ "inputs": [],
1088
+ "name": "shareLimit",
1089
+ "outputs": [
1090
+ {
1091
+ "internalType": "uint96",
1092
+ "name": "",
1093
+ "type": "uint96"
1094
+ }
1095
+ ],
1096
+ "stateMutability": "view",
1097
+ "type": "function"
1098
+ },
1099
+ {
1100
+ "inputs": [],
1101
+ "name": "sharesMinted",
1102
+ "outputs": [
1103
+ {
1104
+ "internalType": "uint96",
1105
+ "name": "",
1106
+ "type": "uint96"
1107
+ }
1108
+ ],
1109
+ "stateMutability": "view",
1110
+ "type": "function"
1111
+ },
1112
+ {
1113
+ "inputs": [],
1114
+ "name": "stakingVault",
1115
+ "outputs": [
1116
+ {
1117
+ "internalType": "contract IStakingVault",
1118
+ "name": "",
1119
+ "type": "address"
1120
+ }
1121
+ ],
1122
+ "stateMutability": "view",
1123
+ "type": "function"
1124
+ },
1125
+ {
1126
+ "inputs": [
1127
+ {
1128
+ "internalType": "bytes4",
1129
+ "name": "interfaceId",
1130
+ "type": "bytes4"
1131
+ }
1132
+ ],
1133
+ "name": "supportsInterface",
1134
+ "outputs": [
1135
+ {
1136
+ "internalType": "bool",
1137
+ "name": "",
1138
+ "type": "bool"
1139
+ }
1140
+ ],
1141
+ "stateMutability": "view",
1142
+ "type": "function"
1143
+ },
1144
+ {
1145
+ "inputs": [],
1146
+ "name": "thresholdReserveRatioBP",
1147
+ "outputs": [
1148
+ {
1149
+ "internalType": "uint16",
1150
+ "name": "",
1151
+ "type": "uint16"
1152
+ }
1153
+ ],
1154
+ "stateMutability": "view",
1155
+ "type": "function"
1156
+ },
1157
+ {
1158
+ "inputs": [],
1159
+ "name": "totalMintableShares",
1160
+ "outputs": [
1161
+ {
1162
+ "internalType": "uint256",
1163
+ "name": "",
1164
+ "type": "uint256"
1165
+ }
1166
+ ],
1167
+ "stateMutability": "view",
1168
+ "type": "function"
1169
+ },
1170
+ {
1171
+ "inputs": [
1172
+ {
1173
+ "internalType": "address",
1174
+ "name": "_newOwner",
1175
+ "type": "address"
1176
+ }
1177
+ ],
1178
+ "name": "transferStakingVaultOwnership",
1179
+ "outputs": [],
1180
+ "stateMutability": "nonpayable",
1181
+ "type": "function"
1182
+ },
1183
+ {
1184
+ "inputs": [],
1185
+ "name": "treasuryFee",
1186
+ "outputs": [
1187
+ {
1188
+ "internalType": "uint16",
1189
+ "name": "",
1190
+ "type": "uint16"
1191
+ }
1192
+ ],
1193
+ "stateMutability": "view",
1194
+ "type": "function"
1195
+ },
1196
+ {
1197
+ "inputs": [],
1198
+ "name": "valuation",
1199
+ "outputs": [
1200
+ {
1201
+ "internalType": "uint256",
1202
+ "name": "",
1203
+ "type": "uint256"
1204
+ }
1205
+ ],
1206
+ "stateMutability": "view",
1207
+ "type": "function"
1208
+ },
1209
+ {
1210
+ "inputs": [],
1211
+ "name": "vaultHub",
1212
+ "outputs": [
1213
+ {
1214
+ "internalType": "contract VaultHub",
1215
+ "name": "",
1216
+ "type": "address"
1217
+ }
1218
+ ],
1219
+ "stateMutability": "view",
1220
+ "type": "function"
1221
+ },
1222
+ {
1223
+ "inputs": [],
1224
+ "name": "vaultSocket",
1225
+ "outputs": [
1226
+ {
1227
+ "components": [
1228
+ {
1229
+ "internalType": "address",
1230
+ "name": "vault",
1231
+ "type": "address"
1232
+ },
1233
+ {
1234
+ "internalType": "uint96",
1235
+ "name": "sharesMinted",
1236
+ "type": "uint96"
1237
+ },
1238
+ {
1239
+ "internalType": "uint96",
1240
+ "name": "shareLimit",
1241
+ "type": "uint96"
1242
+ },
1243
+ {
1244
+ "internalType": "uint16",
1245
+ "name": "reserveRatioBP",
1246
+ "type": "uint16"
1247
+ },
1248
+ {
1249
+ "internalType": "uint16",
1250
+ "name": "reserveRatioThresholdBP",
1251
+ "type": "uint16"
1252
+ },
1253
+ {
1254
+ "internalType": "uint16",
1255
+ "name": "treasuryFeeBP",
1256
+ "type": "uint16"
1257
+ },
1258
+ {
1259
+ "internalType": "bool",
1260
+ "name": "isDisconnected",
1261
+ "type": "bool"
1262
+ }
1263
+ ],
1264
+ "internalType": "struct VaultHub.VaultSocket",
1265
+ "name": "",
1266
+ "type": "tuple"
1267
+ }
1268
+ ],
1269
+ "stateMutability": "view",
1270
+ "type": "function"
1271
+ },
1272
+ {
1273
+ "inputs": [],
1274
+ "name": "voluntaryDisconnect",
1275
+ "outputs": [],
1276
+ "stateMutability": "payable",
1277
+ "type": "function"
1278
+ },
1279
+ {
1280
+ "inputs": [],
1281
+ "name": "voteLifetime",
1282
+ "outputs": [
1283
+ {
1284
+ "internalType": "uint256",
1285
+ "name": "",
1286
+ "type": "uint256"
1287
+ }
1288
+ ],
1289
+ "stateMutability": "view",
1290
+ "type": "function"
1291
+ },
1292
+ {
1293
+ "inputs": [],
1294
+ "name": "votingCommittee",
1295
+ "outputs": [
1296
+ {
1297
+ "internalType": "bytes32[]",
1298
+ "name": "",
1299
+ "type": "bytes32[]"
1300
+ }
1301
+ ],
1302
+ "stateMutability": "pure",
1303
+ "type": "function"
1304
+ },
1305
+ {
1306
+ "inputs": [
1307
+ {
1308
+ "internalType": "bytes32",
1309
+ "name": "callId",
1310
+ "type": "bytes32"
1311
+ },
1312
+ {
1313
+ "internalType": "bytes32",
1314
+ "name": "role",
1315
+ "type": "bytes32"
1316
+ }
1317
+ ],
1318
+ "name": "votings",
1319
+ "outputs": [
1320
+ {
1321
+ "internalType": "uint256",
1322
+ "name": "voteTimestamp",
1323
+ "type": "uint256"
1324
+ }
1325
+ ],
1326
+ "stateMutability": "view",
1327
+ "type": "function"
1328
+ },
1329
+ {
1330
+ "inputs": [
1331
+ {
1332
+ "internalType": "address",
1333
+ "name": "_recipient",
1334
+ "type": "address"
1335
+ },
1336
+ {
1337
+ "internalType": "uint256",
1338
+ "name": "_ether",
1339
+ "type": "uint256"
1340
+ }
1341
+ ],
1342
+ "name": "withdraw",
1343
+ "outputs": [],
1344
+ "stateMutability": "nonpayable",
1345
+ "type": "function"
1346
+ },
1347
+ {
1348
+ "inputs": [
1349
+ {
1350
+ "internalType": "address",
1351
+ "name": "_recipient",
1352
+ "type": "address"
1353
+ },
1354
+ {
1355
+ "internalType": "uint256",
1356
+ "name": "_amountOfWETH",
1357
+ "type": "uint256"
1358
+ }
1359
+ ],
1360
+ "name": "withdrawWETH",
1361
+ "outputs": [],
1362
+ "stateMutability": "nonpayable",
1363
+ "type": "function"
1364
+ },
1365
+ {
1366
+ "inputs": [],
1367
+ "name": "withdrawableEther",
1368
+ "outputs": [
1369
+ {
1370
+ "internalType": "uint256",
1371
+ "name": "",
1372
+ "type": "uint256"
1373
+ }
1374
+ ],
1375
+ "stateMutability": "view",
1376
+ "type": "function"
1377
+ },
1378
+ {
1379
+ "stateMutability": "payable",
1380
+ "type": "receive"
1381
+ }
1382
+ ];
1383
+ //# sourceMappingURL=Dashboard.js.map