@sonarwatch/portfolio-plugins 0.8.34 → 0.8.36

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 (67) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +2 -2
  3. package/src/index.js +5 -0
  4. package/src/index.js.map +1 -1
  5. package/src/plugins/aave/helpers.js +1 -1
  6. package/src/plugins/aave/helpers.js.map +1 -1
  7. package/src/plugins/aave/lendingPoolsJob.js +1 -1
  8. package/src/plugins/aave/lendingPoolsJob.js.map +1 -1
  9. package/src/plugins/compound/constants.d.ts +1 -1
  10. package/src/plugins/compound/constants.js +2 -2
  11. package/src/plugins/compound/constants.js.map +1 -1
  12. package/src/plugins/compound/getPositionsV3Fetcher.js +1 -1
  13. package/src/plugins/compound/getPositionsV3Fetcher.js.map +1 -1
  14. package/src/plugins/compound/index.js +1 -1
  15. package/src/plugins/compound/index.js.map +1 -1
  16. package/src/plugins/compound/marketsJob.js +1 -1
  17. package/src/plugins/compound/marketsJob.js.map +1 -1
  18. package/src/plugins/curve/constants.d.ts +1 -1
  19. package/src/plugins/curve/constants.js +2 -2
  20. package/src/plugins/curve/constants.js.map +1 -1
  21. package/src/plugins/curve/index.js +1 -1
  22. package/src/plugins/curve/index.js.map +1 -1
  23. package/src/plugins/foo/constants.d.ts +1 -1
  24. package/src/plugins/foo/constants.js +2 -2
  25. package/src/plugins/foo/constants.js.map +1 -1
  26. package/src/plugins/foo/index.js +1 -1
  27. package/src/plugins/foo/index.js.map +1 -1
  28. package/src/plugins/lido/abis.d.ts +1560 -0
  29. package/src/plugins/lido/abis.js +1135 -0
  30. package/src/plugins/lido/abis.js.map +1 -0
  31. package/src/plugins/lido/constants.d.ts +2 -1
  32. package/src/plugins/lido/constants.js +3 -2
  33. package/src/plugins/lido/constants.js.map +1 -1
  34. package/src/plugins/lido/index.js +6 -2
  35. package/src/plugins/lido/index.js.map +1 -1
  36. package/src/plugins/lido/types.d.ts +8 -0
  37. package/src/plugins/lido/types.js +3 -0
  38. package/src/plugins/lido/types.js.map +1 -0
  39. package/src/plugins/lido/withdrawlFetcher.d.ts +3 -0
  40. package/src/plugins/lido/withdrawlFetcher.js +67 -0
  41. package/src/plugins/lido/withdrawlFetcher.js.map +1 -0
  42. package/src/plugins/maker/vaultsFetcher.js +1 -3
  43. package/src/plugins/maker/vaultsFetcher.js.map +1 -1
  44. package/src/plugins/rocket-pool/constants.d.ts +1 -2
  45. package/src/plugins/rocket-pool/constants.js +2 -4
  46. package/src/plugins/rocket-pool/constants.js.map +1 -1
  47. package/src/plugins/rocket-pool/index.js +1 -1
  48. package/src/plugins/rocket-pool/index.js.map +1 -1
  49. package/src/plugins/rocket-pool/positionFetcher.js +2 -1
  50. package/src/plugins/rocket-pool/positionFetcher.js.map +1 -1
  51. package/src/plugins/stader/constants.d.ts +3 -0
  52. package/src/plugins/stader/constants.js +11 -0
  53. package/src/plugins/stader/constants.js.map +1 -0
  54. package/src/plugins/stader/index.d.ts +6 -0
  55. package/src/plugins/stader/index.js +8 -0
  56. package/src/plugins/stader/index.js.map +1 -0
  57. package/src/plugins/stargate/gePoolPositionsFetcher.js +5 -3
  58. package/src/plugins/stargate/gePoolPositionsFetcher.js.map +1 -1
  59. package/src/plugins/stargate/getFarmPositionsFetcher.js +5 -3
  60. package/src/plugins/stargate/getFarmPositionsFetcher.js.map +1 -1
  61. package/src/plugins/stargate/getVoteTokensFetcher.js +3 -3
  62. package/src/plugins/stargate/getVoteTokensFetcher.js.map +1 -1
  63. package/src/plugins/top-tokens/forcedAddresses.js +5 -2
  64. package/src/plugins/top-tokens/forcedAddresses.js.map +1 -1
  65. package/src/utils/evm/constants.d.ts +2 -0
  66. package/src/utils/evm/constants.js +10 -0
  67. package/src/utils/evm/constants.js.map +1 -0
@@ -0,0 +1,1135 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.withdrawlQueueAbi = void 0;
4
+ exports.withdrawlQueueAbi = [
5
+ {
6
+ inputs: [
7
+ { internalType: 'address', name: '_wstETH', type: 'address' },
8
+ { internalType: 'string', name: '_name', type: 'string' },
9
+ { internalType: 'string', name: '_symbol', type: 'string' },
10
+ ],
11
+ stateMutability: 'nonpayable',
12
+ type: 'constructor',
13
+ },
14
+ { inputs: [], name: 'AdminZeroAddress', type: 'error' },
15
+ { inputs: [], name: 'ApprovalToOwner', type: 'error' },
16
+ { inputs: [], name: 'ApproveToCaller', type: 'error' },
17
+ {
18
+ inputs: [
19
+ { internalType: 'uint256', name: '_firstArrayLength', type: 'uint256' },
20
+ { internalType: 'uint256', name: '_secondArrayLength', type: 'uint256' },
21
+ ],
22
+ name: 'ArraysLengthMismatch',
23
+ type: 'error',
24
+ },
25
+ { inputs: [], name: 'BatchesAreNotSorted', type: 'error' },
26
+ { inputs: [], name: 'CantSendValueRecipientMayHaveReverted', type: 'error' },
27
+ { inputs: [], name: 'EmptyBatches', type: 'error' },
28
+ { inputs: [], name: 'InvalidContractVersionIncrement', type: 'error' },
29
+ {
30
+ inputs: [{ internalType: 'uint256', name: '_hint', type: 'uint256' }],
31
+ name: 'InvalidHint',
32
+ type: 'error',
33
+ },
34
+ {
35
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
36
+ name: 'InvalidOwnerAddress',
37
+ type: 'error',
38
+ },
39
+ { inputs: [], name: 'InvalidReportTimestamp', type: 'error' },
40
+ {
41
+ inputs: [{ internalType: 'uint256', name: '_requestId', type: 'uint256' }],
42
+ name: 'InvalidRequestId',
43
+ type: 'error',
44
+ },
45
+ {
46
+ inputs: [
47
+ { internalType: 'uint256', name: 'startId', type: 'uint256' },
48
+ { internalType: 'uint256', name: 'endId', type: 'uint256' },
49
+ ],
50
+ name: 'InvalidRequestIdRange',
51
+ type: 'error',
52
+ },
53
+ { inputs: [], name: 'InvalidState', type: 'error' },
54
+ { inputs: [], name: 'NonZeroContractVersionOnInit', type: 'error' },
55
+ { inputs: [], name: 'NotEnoughEther', type: 'error' },
56
+ {
57
+ inputs: [
58
+ { internalType: 'address', name: '_sender', type: 'address' },
59
+ { internalType: 'address', name: '_owner', type: 'address' },
60
+ ],
61
+ name: 'NotOwner',
62
+ type: 'error',
63
+ },
64
+ {
65
+ inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
66
+ name: 'NotOwnerOrApproved',
67
+ type: 'error',
68
+ },
69
+ {
70
+ inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
71
+ name: 'NotOwnerOrApprovedForAll',
72
+ type: 'error',
73
+ },
74
+ { inputs: [], name: 'PauseUntilMustBeInFuture', type: 'error' },
75
+ { inputs: [], name: 'PausedExpected', type: 'error' },
76
+ {
77
+ inputs: [{ internalType: 'uint256', name: '_requestId', type: 'uint256' }],
78
+ name: 'RequestAlreadyClaimed',
79
+ type: 'error',
80
+ },
81
+ {
82
+ inputs: [
83
+ { internalType: 'uint256', name: '_amountOfStETH', type: 'uint256' },
84
+ ],
85
+ name: 'RequestAmountTooLarge',
86
+ type: 'error',
87
+ },
88
+ {
89
+ inputs: [
90
+ { internalType: 'uint256', name: '_amountOfStETH', type: 'uint256' },
91
+ ],
92
+ name: 'RequestAmountTooSmall',
93
+ type: 'error',
94
+ },
95
+ { inputs: [], name: 'RequestIdsNotSorted', type: 'error' },
96
+ {
97
+ inputs: [{ internalType: 'uint256', name: '_requestId', type: 'uint256' }],
98
+ name: 'RequestNotFoundOrNotFinalized',
99
+ type: 'error',
100
+ },
101
+ { inputs: [], name: 'ResumedExpected', type: 'error' },
102
+ {
103
+ inputs: [{ internalType: 'string', name: 'str', type: 'string' }],
104
+ name: 'StringTooLong',
105
+ type: 'error',
106
+ },
107
+ {
108
+ inputs: [
109
+ { internalType: 'uint256', name: 'sent', type: 'uint256' },
110
+ { internalType: 'uint256', name: 'maxExpected', type: 'uint256' },
111
+ ],
112
+ name: 'TooMuchEtherToFinalize',
113
+ type: 'error',
114
+ },
115
+ {
116
+ inputs: [
117
+ { internalType: 'address', name: 'from', type: 'address' },
118
+ { internalType: 'address', name: 'realOwner', type: 'address' },
119
+ ],
120
+ name: 'TransferFromIncorrectOwner',
121
+ type: 'error',
122
+ },
123
+ { inputs: [], name: 'TransferFromZeroAddress', type: 'error' },
124
+ {
125
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
126
+ name: 'TransferToNonIERC721Receiver',
127
+ type: 'error',
128
+ },
129
+ { inputs: [], name: 'TransferToThemselves', type: 'error' },
130
+ { inputs: [], name: 'TransferToZeroAddress', type: 'error' },
131
+ {
132
+ inputs: [
133
+ { internalType: 'uint256', name: 'expected', type: 'uint256' },
134
+ { internalType: 'uint256', name: 'received', type: 'uint256' },
135
+ ],
136
+ name: 'UnexpectedContractVersion',
137
+ type: 'error',
138
+ },
139
+ { inputs: [], name: 'ZeroAmountOfETH', type: 'error' },
140
+ { inputs: [], name: 'ZeroMetadata', type: 'error' },
141
+ { inputs: [], name: 'ZeroPauseDuration', type: 'error' },
142
+ { inputs: [], name: 'ZeroRecipient', type: 'error' },
143
+ { inputs: [], name: 'ZeroShareRate', type: 'error' },
144
+ { inputs: [], name: 'ZeroTimestamp', type: 'error' },
145
+ {
146
+ anonymous: false,
147
+ inputs: [
148
+ {
149
+ indexed: true,
150
+ internalType: 'address',
151
+ name: 'owner',
152
+ type: 'address',
153
+ },
154
+ {
155
+ indexed: true,
156
+ internalType: 'address',
157
+ name: 'approved',
158
+ type: 'address',
159
+ },
160
+ {
161
+ indexed: true,
162
+ internalType: 'uint256',
163
+ name: 'tokenId',
164
+ type: 'uint256',
165
+ },
166
+ ],
167
+ name: 'Approval',
168
+ type: 'event',
169
+ },
170
+ {
171
+ anonymous: false,
172
+ inputs: [
173
+ {
174
+ indexed: true,
175
+ internalType: 'address',
176
+ name: 'owner',
177
+ type: 'address',
178
+ },
179
+ {
180
+ indexed: true,
181
+ internalType: 'address',
182
+ name: 'operator',
183
+ type: 'address',
184
+ },
185
+ { indexed: false, internalType: 'bool', name: 'approved', type: 'bool' },
186
+ ],
187
+ name: 'ApprovalForAll',
188
+ type: 'event',
189
+ },
190
+ {
191
+ anonymous: false,
192
+ inputs: [
193
+ {
194
+ indexed: false,
195
+ internalType: 'string',
196
+ name: 'baseURI',
197
+ type: 'string',
198
+ },
199
+ ],
200
+ name: 'BaseURISet',
201
+ type: 'event',
202
+ },
203
+ {
204
+ anonymous: false,
205
+ inputs: [
206
+ {
207
+ indexed: false,
208
+ internalType: 'uint256',
209
+ name: '_fromTokenId',
210
+ type: 'uint256',
211
+ },
212
+ {
213
+ indexed: false,
214
+ internalType: 'uint256',
215
+ name: '_toTokenId',
216
+ type: 'uint256',
217
+ },
218
+ ],
219
+ name: 'BatchMetadataUpdate',
220
+ type: 'event',
221
+ },
222
+ { anonymous: false, inputs: [], name: 'BunkerModeDisabled', type: 'event' },
223
+ {
224
+ anonymous: false,
225
+ inputs: [
226
+ {
227
+ indexed: false,
228
+ internalType: 'uint256',
229
+ name: '_sinceTimestamp',
230
+ type: 'uint256',
231
+ },
232
+ ],
233
+ name: 'BunkerModeEnabled',
234
+ type: 'event',
235
+ },
236
+ {
237
+ anonymous: false,
238
+ inputs: [
239
+ {
240
+ indexed: false,
241
+ internalType: 'uint256',
242
+ name: 'version',
243
+ type: 'uint256',
244
+ },
245
+ ],
246
+ name: 'ContractVersionSet',
247
+ type: 'event',
248
+ },
249
+ {
250
+ anonymous: false,
251
+ inputs: [
252
+ {
253
+ indexed: false,
254
+ internalType: 'address',
255
+ name: '_admin',
256
+ type: 'address',
257
+ },
258
+ ],
259
+ name: 'InitializedV1',
260
+ type: 'event',
261
+ },
262
+ {
263
+ anonymous: false,
264
+ inputs: [
265
+ {
266
+ indexed: false,
267
+ internalType: 'uint256',
268
+ name: '_tokenId',
269
+ type: 'uint256',
270
+ },
271
+ ],
272
+ name: 'MetadataUpdate',
273
+ type: 'event',
274
+ },
275
+ {
276
+ anonymous: false,
277
+ inputs: [
278
+ {
279
+ indexed: false,
280
+ internalType: 'address',
281
+ name: 'nftDescriptorAddress',
282
+ type: 'address',
283
+ },
284
+ ],
285
+ name: 'NftDescriptorAddressSet',
286
+ type: 'event',
287
+ },
288
+ {
289
+ anonymous: false,
290
+ inputs: [
291
+ {
292
+ indexed: false,
293
+ internalType: 'uint256',
294
+ name: 'duration',
295
+ type: 'uint256',
296
+ },
297
+ ],
298
+ name: 'Paused',
299
+ type: 'event',
300
+ },
301
+ { anonymous: false, inputs: [], name: 'Resumed', type: 'event' },
302
+ {
303
+ anonymous: false,
304
+ inputs: [
305
+ { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
306
+ {
307
+ indexed: true,
308
+ internalType: 'bytes32',
309
+ name: 'previousAdminRole',
310
+ type: 'bytes32',
311
+ },
312
+ {
313
+ indexed: true,
314
+ internalType: 'bytes32',
315
+ name: 'newAdminRole',
316
+ type: 'bytes32',
317
+ },
318
+ ],
319
+ name: 'RoleAdminChanged',
320
+ type: 'event',
321
+ },
322
+ {
323
+ anonymous: false,
324
+ inputs: [
325
+ { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
326
+ {
327
+ indexed: true,
328
+ internalType: 'address',
329
+ name: 'account',
330
+ type: 'address',
331
+ },
332
+ {
333
+ indexed: true,
334
+ internalType: 'address',
335
+ name: 'sender',
336
+ type: 'address',
337
+ },
338
+ ],
339
+ name: 'RoleGranted',
340
+ type: 'event',
341
+ },
342
+ {
343
+ anonymous: false,
344
+ inputs: [
345
+ { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
346
+ {
347
+ indexed: true,
348
+ internalType: 'address',
349
+ name: 'account',
350
+ type: 'address',
351
+ },
352
+ {
353
+ indexed: true,
354
+ internalType: 'address',
355
+ name: 'sender',
356
+ type: 'address',
357
+ },
358
+ ],
359
+ name: 'RoleRevoked',
360
+ type: 'event',
361
+ },
362
+ {
363
+ anonymous: false,
364
+ inputs: [
365
+ { indexed: true, internalType: 'address', name: 'from', type: 'address' },
366
+ { indexed: true, internalType: 'address', name: 'to', type: 'address' },
367
+ {
368
+ indexed: true,
369
+ internalType: 'uint256',
370
+ name: 'tokenId',
371
+ type: 'uint256',
372
+ },
373
+ ],
374
+ name: 'Transfer',
375
+ type: 'event',
376
+ },
377
+ {
378
+ anonymous: false,
379
+ inputs: [
380
+ {
381
+ indexed: true,
382
+ internalType: 'uint256',
383
+ name: 'requestId',
384
+ type: 'uint256',
385
+ },
386
+ {
387
+ indexed: true,
388
+ internalType: 'address',
389
+ name: 'owner',
390
+ type: 'address',
391
+ },
392
+ {
393
+ indexed: true,
394
+ internalType: 'address',
395
+ name: 'receiver',
396
+ type: 'address',
397
+ },
398
+ {
399
+ indexed: false,
400
+ internalType: 'uint256',
401
+ name: 'amountOfETH',
402
+ type: 'uint256',
403
+ },
404
+ ],
405
+ name: 'WithdrawalClaimed',
406
+ type: 'event',
407
+ },
408
+ {
409
+ anonymous: false,
410
+ inputs: [
411
+ {
412
+ indexed: true,
413
+ internalType: 'uint256',
414
+ name: 'requestId',
415
+ type: 'uint256',
416
+ },
417
+ {
418
+ indexed: true,
419
+ internalType: 'address',
420
+ name: 'requestor',
421
+ type: 'address',
422
+ },
423
+ {
424
+ indexed: true,
425
+ internalType: 'address',
426
+ name: 'owner',
427
+ type: 'address',
428
+ },
429
+ {
430
+ indexed: false,
431
+ internalType: 'uint256',
432
+ name: 'amountOfStETH',
433
+ type: 'uint256',
434
+ },
435
+ {
436
+ indexed: false,
437
+ internalType: 'uint256',
438
+ name: 'amountOfShares',
439
+ type: 'uint256',
440
+ },
441
+ ],
442
+ name: 'WithdrawalRequested',
443
+ type: 'event',
444
+ },
445
+ {
446
+ anonymous: false,
447
+ inputs: [
448
+ { indexed: true, internalType: 'uint256', name: 'from', type: 'uint256' },
449
+ { indexed: true, internalType: 'uint256', name: 'to', type: 'uint256' },
450
+ {
451
+ indexed: false,
452
+ internalType: 'uint256',
453
+ name: 'amountOfETHLocked',
454
+ type: 'uint256',
455
+ },
456
+ {
457
+ indexed: false,
458
+ internalType: 'uint256',
459
+ name: 'sharesToBurn',
460
+ type: 'uint256',
461
+ },
462
+ {
463
+ indexed: false,
464
+ internalType: 'uint256',
465
+ name: 'timestamp',
466
+ type: 'uint256',
467
+ },
468
+ ],
469
+ name: 'WithdrawalsFinalized',
470
+ type: 'event',
471
+ },
472
+ {
473
+ inputs: [],
474
+ name: 'BUNKER_MODE_DISABLED_TIMESTAMP',
475
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
476
+ stateMutability: 'view',
477
+ type: 'function',
478
+ },
479
+ {
480
+ inputs: [],
481
+ name: 'DEFAULT_ADMIN_ROLE',
482
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
483
+ stateMutability: 'view',
484
+ type: 'function',
485
+ },
486
+ {
487
+ inputs: [],
488
+ name: 'FINALIZE_ROLE',
489
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
490
+ stateMutability: 'view',
491
+ type: 'function',
492
+ },
493
+ {
494
+ inputs: [],
495
+ name: 'MANAGE_TOKEN_URI_ROLE',
496
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
497
+ stateMutability: 'view',
498
+ type: 'function',
499
+ },
500
+ {
501
+ inputs: [],
502
+ name: 'MAX_BATCHES_LENGTH',
503
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
504
+ stateMutability: 'view',
505
+ type: 'function',
506
+ },
507
+ {
508
+ inputs: [],
509
+ name: 'MAX_STETH_WITHDRAWAL_AMOUNT',
510
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
511
+ stateMutability: 'view',
512
+ type: 'function',
513
+ },
514
+ {
515
+ inputs: [],
516
+ name: 'MIN_STETH_WITHDRAWAL_AMOUNT',
517
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
518
+ stateMutability: 'view',
519
+ type: 'function',
520
+ },
521
+ {
522
+ inputs: [],
523
+ name: 'ORACLE_ROLE',
524
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
525
+ stateMutability: 'view',
526
+ type: 'function',
527
+ },
528
+ {
529
+ inputs: [],
530
+ name: 'PAUSE_INFINITELY',
531
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
532
+ stateMutability: 'view',
533
+ type: 'function',
534
+ },
535
+ {
536
+ inputs: [],
537
+ name: 'PAUSE_ROLE',
538
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
539
+ stateMutability: 'view',
540
+ type: 'function',
541
+ },
542
+ {
543
+ inputs: [],
544
+ name: 'RESUME_ROLE',
545
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
546
+ stateMutability: 'view',
547
+ type: 'function',
548
+ },
549
+ {
550
+ inputs: [],
551
+ name: 'STETH',
552
+ outputs: [{ internalType: 'contract IStETH', name: '', type: 'address' }],
553
+ stateMutability: 'view',
554
+ type: 'function',
555
+ },
556
+ {
557
+ inputs: [],
558
+ name: 'WSTETH',
559
+ outputs: [{ internalType: 'contract IWstETH', name: '', type: 'address' }],
560
+ stateMutability: 'view',
561
+ type: 'function',
562
+ },
563
+ {
564
+ inputs: [
565
+ { internalType: 'address', name: '_to', type: 'address' },
566
+ { internalType: 'uint256', name: '_requestId', type: 'uint256' },
567
+ ],
568
+ name: 'approve',
569
+ outputs: [],
570
+ stateMutability: 'nonpayable',
571
+ type: 'function',
572
+ },
573
+ {
574
+ inputs: [{ internalType: 'address', name: '_owner', type: 'address' }],
575
+ name: 'balanceOf',
576
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
577
+ stateMutability: 'view',
578
+ type: 'function',
579
+ },
580
+ {
581
+ inputs: [],
582
+ name: 'bunkerModeSinceTimestamp',
583
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
584
+ stateMutability: 'view',
585
+ type: 'function',
586
+ },
587
+ {
588
+ inputs: [
589
+ { internalType: 'uint256', name: '_maxShareRate', type: 'uint256' },
590
+ { internalType: 'uint256', name: '_maxTimestamp', type: 'uint256' },
591
+ { internalType: 'uint256', name: '_maxRequestsPerCall', type: 'uint256' },
592
+ {
593
+ components: [
594
+ {
595
+ internalType: 'uint256',
596
+ name: 'remainingEthBudget',
597
+ type: 'uint256',
598
+ },
599
+ { internalType: 'bool', name: 'finished', type: 'bool' },
600
+ { internalType: 'uint256[36]', name: 'batches', type: 'uint256[36]' },
601
+ { internalType: 'uint256', name: 'batchesLength', type: 'uint256' },
602
+ ],
603
+ internalType: 'struct WithdrawalQueueBase.BatchesCalculationState',
604
+ name: '_state',
605
+ type: 'tuple',
606
+ },
607
+ ],
608
+ name: 'calculateFinalizationBatches',
609
+ outputs: [
610
+ {
611
+ components: [
612
+ {
613
+ internalType: 'uint256',
614
+ name: 'remainingEthBudget',
615
+ type: 'uint256',
616
+ },
617
+ { internalType: 'bool', name: 'finished', type: 'bool' },
618
+ { internalType: 'uint256[36]', name: 'batches', type: 'uint256[36]' },
619
+ { internalType: 'uint256', name: 'batchesLength', type: 'uint256' },
620
+ ],
621
+ internalType: 'struct WithdrawalQueueBase.BatchesCalculationState',
622
+ name: '',
623
+ type: 'tuple',
624
+ },
625
+ ],
626
+ stateMutability: 'view',
627
+ type: 'function',
628
+ },
629
+ {
630
+ inputs: [{ internalType: 'uint256', name: '_requestId', type: 'uint256' }],
631
+ name: 'claimWithdrawal',
632
+ outputs: [],
633
+ stateMutability: 'nonpayable',
634
+ type: 'function',
635
+ },
636
+ {
637
+ inputs: [
638
+ { internalType: 'uint256[]', name: '_requestIds', type: 'uint256[]' },
639
+ { internalType: 'uint256[]', name: '_hints', type: 'uint256[]' },
640
+ ],
641
+ name: 'claimWithdrawals',
642
+ outputs: [],
643
+ stateMutability: 'nonpayable',
644
+ type: 'function',
645
+ },
646
+ {
647
+ inputs: [
648
+ { internalType: 'uint256[]', name: '_requestIds', type: 'uint256[]' },
649
+ { internalType: 'uint256[]', name: '_hints', type: 'uint256[]' },
650
+ { internalType: 'address', name: '_recipient', type: 'address' },
651
+ ],
652
+ name: 'claimWithdrawalsTo',
653
+ outputs: [],
654
+ stateMutability: 'nonpayable',
655
+ type: 'function',
656
+ },
657
+ {
658
+ inputs: [
659
+ {
660
+ internalType: 'uint256',
661
+ name: '_lastRequestIdToBeFinalized',
662
+ type: 'uint256',
663
+ },
664
+ { internalType: 'uint256', name: '_maxShareRate', type: 'uint256' },
665
+ ],
666
+ name: 'finalize',
667
+ outputs: [],
668
+ stateMutability: 'payable',
669
+ type: 'function',
670
+ },
671
+ {
672
+ inputs: [
673
+ { internalType: 'uint256[]', name: '_requestIds', type: 'uint256[]' },
674
+ { internalType: 'uint256', name: '_firstIndex', type: 'uint256' },
675
+ { internalType: 'uint256', name: '_lastIndex', type: 'uint256' },
676
+ ],
677
+ name: 'findCheckpointHints',
678
+ outputs: [
679
+ { internalType: 'uint256[]', name: 'hintIds', type: 'uint256[]' },
680
+ ],
681
+ stateMutability: 'view',
682
+ type: 'function',
683
+ },
684
+ {
685
+ inputs: [{ internalType: 'uint256', name: '_requestId', type: 'uint256' }],
686
+ name: 'getApproved',
687
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
688
+ stateMutability: 'view',
689
+ type: 'function',
690
+ },
691
+ {
692
+ inputs: [],
693
+ name: 'getBaseURI',
694
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
695
+ stateMutability: 'view',
696
+ type: 'function',
697
+ },
698
+ {
699
+ inputs: [
700
+ { internalType: 'uint256[]', name: '_requestIds', type: 'uint256[]' },
701
+ { internalType: 'uint256[]', name: '_hints', type: 'uint256[]' },
702
+ ],
703
+ name: 'getClaimableEther',
704
+ outputs: [
705
+ {
706
+ internalType: 'uint256[]',
707
+ name: 'claimableEthValues',
708
+ type: 'uint256[]',
709
+ },
710
+ ],
711
+ stateMutability: 'view',
712
+ type: 'function',
713
+ },
714
+ {
715
+ inputs: [],
716
+ name: 'getContractVersion',
717
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
718
+ stateMutability: 'view',
719
+ type: 'function',
720
+ },
721
+ {
722
+ inputs: [],
723
+ name: 'getLastCheckpointIndex',
724
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
725
+ stateMutability: 'view',
726
+ type: 'function',
727
+ },
728
+ {
729
+ inputs: [],
730
+ name: 'getLastFinalizedRequestId',
731
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
732
+ stateMutability: 'view',
733
+ type: 'function',
734
+ },
735
+ {
736
+ inputs: [],
737
+ name: 'getLastRequestId',
738
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
739
+ stateMutability: 'view',
740
+ type: 'function',
741
+ },
742
+ {
743
+ inputs: [],
744
+ name: 'getLockedEtherAmount',
745
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
746
+ stateMutability: 'view',
747
+ type: 'function',
748
+ },
749
+ {
750
+ inputs: [],
751
+ name: 'getNFTDescriptorAddress',
752
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
753
+ stateMutability: 'view',
754
+ type: 'function',
755
+ },
756
+ {
757
+ inputs: [],
758
+ name: 'getResumeSinceTimestamp',
759
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
760
+ stateMutability: 'view',
761
+ type: 'function',
762
+ },
763
+ {
764
+ inputs: [{ internalType: 'bytes32', name: 'role', type: 'bytes32' }],
765
+ name: 'getRoleAdmin',
766
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
767
+ stateMutability: 'view',
768
+ type: 'function',
769
+ },
770
+ {
771
+ inputs: [
772
+ { internalType: 'bytes32', name: 'role', type: 'bytes32' },
773
+ { internalType: 'uint256', name: 'index', type: 'uint256' },
774
+ ],
775
+ name: 'getRoleMember',
776
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
777
+ stateMutability: 'view',
778
+ type: 'function',
779
+ },
780
+ {
781
+ inputs: [{ internalType: 'bytes32', name: 'role', type: 'bytes32' }],
782
+ name: 'getRoleMemberCount',
783
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
784
+ stateMutability: 'view',
785
+ type: 'function',
786
+ },
787
+ {
788
+ inputs: [{ internalType: 'address', name: '_owner', type: 'address' }],
789
+ name: 'getWithdrawalRequests',
790
+ outputs: [
791
+ { internalType: 'uint256[]', name: 'requestsIds', type: 'uint256[]' },
792
+ ],
793
+ stateMutability: 'view',
794
+ type: 'function',
795
+ },
796
+ {
797
+ inputs: [
798
+ { internalType: 'uint256[]', name: '_requestIds', type: 'uint256[]' },
799
+ ],
800
+ name: 'getWithdrawalStatus',
801
+ outputs: [
802
+ {
803
+ components: [
804
+ { internalType: 'uint256', name: 'amountOfStETH', type: 'uint256' },
805
+ { internalType: 'uint256', name: 'amountOfShares', type: 'uint256' },
806
+ { internalType: 'address', name: 'owner', type: 'address' },
807
+ { internalType: 'uint256', name: 'timestamp', type: 'uint256' },
808
+ { internalType: 'bool', name: 'isFinalized', type: 'bool' },
809
+ { internalType: 'bool', name: 'isClaimed', type: 'bool' },
810
+ ],
811
+ internalType: 'struct WithdrawalQueueBase.WithdrawalRequestStatus[]',
812
+ name: 'statuses',
813
+ type: 'tuple[]',
814
+ },
815
+ ],
816
+ stateMutability: 'view',
817
+ type: 'function',
818
+ },
819
+ {
820
+ inputs: [
821
+ { internalType: 'bytes32', name: 'role', type: 'bytes32' },
822
+ { internalType: 'address', name: 'account', type: 'address' },
823
+ ],
824
+ name: 'grantRole',
825
+ outputs: [],
826
+ stateMutability: 'nonpayable',
827
+ type: 'function',
828
+ },
829
+ {
830
+ inputs: [
831
+ { internalType: 'bytes32', name: 'role', type: 'bytes32' },
832
+ { internalType: 'address', name: 'account', type: 'address' },
833
+ ],
834
+ name: 'hasRole',
835
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
836
+ stateMutability: 'view',
837
+ type: 'function',
838
+ },
839
+ {
840
+ inputs: [{ internalType: 'address', name: '_admin', type: 'address' }],
841
+ name: 'initialize',
842
+ outputs: [],
843
+ stateMutability: 'nonpayable',
844
+ type: 'function',
845
+ },
846
+ {
847
+ inputs: [
848
+ { internalType: 'address', name: '_owner', type: 'address' },
849
+ { internalType: 'address', name: '_operator', type: 'address' },
850
+ ],
851
+ name: 'isApprovedForAll',
852
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
853
+ stateMutability: 'view',
854
+ type: 'function',
855
+ },
856
+ {
857
+ inputs: [],
858
+ name: 'isBunkerModeActive',
859
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
860
+ stateMutability: 'view',
861
+ type: 'function',
862
+ },
863
+ {
864
+ inputs: [],
865
+ name: 'isPaused',
866
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
867
+ stateMutability: 'view',
868
+ type: 'function',
869
+ },
870
+ {
871
+ inputs: [],
872
+ name: 'name',
873
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
874
+ stateMutability: 'view',
875
+ type: 'function',
876
+ },
877
+ {
878
+ inputs: [
879
+ { internalType: 'bool', name: '_isBunkerModeNow', type: 'bool' },
880
+ {
881
+ internalType: 'uint256',
882
+ name: '_bunkerStartTimestamp',
883
+ type: 'uint256',
884
+ },
885
+ {
886
+ internalType: 'uint256',
887
+ name: '_currentReportTimestamp',
888
+ type: 'uint256',
889
+ },
890
+ ],
891
+ name: 'onOracleReport',
892
+ outputs: [],
893
+ stateMutability: 'nonpayable',
894
+ type: 'function',
895
+ },
896
+ {
897
+ inputs: [{ internalType: 'uint256', name: '_requestId', type: 'uint256' }],
898
+ name: 'ownerOf',
899
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
900
+ stateMutability: 'view',
901
+ type: 'function',
902
+ },
903
+ {
904
+ inputs: [{ internalType: 'uint256', name: '_duration', type: 'uint256' }],
905
+ name: 'pauseFor',
906
+ outputs: [],
907
+ stateMutability: 'nonpayable',
908
+ type: 'function',
909
+ },
910
+ {
911
+ inputs: [
912
+ {
913
+ internalType: 'uint256',
914
+ name: '_pauseUntilInclusive',
915
+ type: 'uint256',
916
+ },
917
+ ],
918
+ name: 'pauseUntil',
919
+ outputs: [],
920
+ stateMutability: 'nonpayable',
921
+ type: 'function',
922
+ },
923
+ {
924
+ inputs: [
925
+ { internalType: 'uint256[]', name: '_batches', type: 'uint256[]' },
926
+ { internalType: 'uint256', name: '_maxShareRate', type: 'uint256' },
927
+ ],
928
+ name: 'prefinalize',
929
+ outputs: [
930
+ { internalType: 'uint256', name: 'ethToLock', type: 'uint256' },
931
+ { internalType: 'uint256', name: 'sharesToBurn', type: 'uint256' },
932
+ ],
933
+ stateMutability: 'view',
934
+ type: 'function',
935
+ },
936
+ {
937
+ inputs: [
938
+ { internalType: 'bytes32', name: 'role', type: 'bytes32' },
939
+ { internalType: 'address', name: 'account', type: 'address' },
940
+ ],
941
+ name: 'renounceRole',
942
+ outputs: [],
943
+ stateMutability: 'nonpayable',
944
+ type: 'function',
945
+ },
946
+ {
947
+ inputs: [
948
+ { internalType: 'uint256[]', name: '_amounts', type: 'uint256[]' },
949
+ { internalType: 'address', name: '_owner', type: 'address' },
950
+ ],
951
+ name: 'requestWithdrawals',
952
+ outputs: [
953
+ { internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },
954
+ ],
955
+ stateMutability: 'nonpayable',
956
+ type: 'function',
957
+ },
958
+ {
959
+ inputs: [
960
+ { internalType: 'uint256[]', name: '_amounts', type: 'uint256[]' },
961
+ { internalType: 'address', name: '_owner', type: 'address' },
962
+ {
963
+ components: [
964
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
965
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
966
+ { internalType: 'uint8', name: 'v', type: 'uint8' },
967
+ { internalType: 'bytes32', name: 'r', type: 'bytes32' },
968
+ { internalType: 'bytes32', name: 's', type: 'bytes32' },
969
+ ],
970
+ internalType: 'struct WithdrawalQueue.PermitInput',
971
+ name: '_permit',
972
+ type: 'tuple',
973
+ },
974
+ ],
975
+ name: 'requestWithdrawalsWithPermit',
976
+ outputs: [
977
+ { internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },
978
+ ],
979
+ stateMutability: 'nonpayable',
980
+ type: 'function',
981
+ },
982
+ {
983
+ inputs: [
984
+ { internalType: 'uint256[]', name: '_amounts', type: 'uint256[]' },
985
+ { internalType: 'address', name: '_owner', type: 'address' },
986
+ ],
987
+ name: 'requestWithdrawalsWstETH',
988
+ outputs: [
989
+ { internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },
990
+ ],
991
+ stateMutability: 'nonpayable',
992
+ type: 'function',
993
+ },
994
+ {
995
+ inputs: [
996
+ { internalType: 'uint256[]', name: '_amounts', type: 'uint256[]' },
997
+ { internalType: 'address', name: '_owner', type: 'address' },
998
+ {
999
+ components: [
1000
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
1001
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
1002
+ { internalType: 'uint8', name: 'v', type: 'uint8' },
1003
+ { internalType: 'bytes32', name: 'r', type: 'bytes32' },
1004
+ { internalType: 'bytes32', name: 's', type: 'bytes32' },
1005
+ ],
1006
+ internalType: 'struct WithdrawalQueue.PermitInput',
1007
+ name: '_permit',
1008
+ type: 'tuple',
1009
+ },
1010
+ ],
1011
+ name: 'requestWithdrawalsWstETHWithPermit',
1012
+ outputs: [
1013
+ { internalType: 'uint256[]', name: 'requestIds', type: 'uint256[]' },
1014
+ ],
1015
+ stateMutability: 'nonpayable',
1016
+ type: 'function',
1017
+ },
1018
+ {
1019
+ inputs: [],
1020
+ name: 'resume',
1021
+ outputs: [],
1022
+ stateMutability: 'nonpayable',
1023
+ type: 'function',
1024
+ },
1025
+ {
1026
+ inputs: [
1027
+ { internalType: 'bytes32', name: 'role', type: 'bytes32' },
1028
+ { internalType: 'address', name: 'account', type: 'address' },
1029
+ ],
1030
+ name: 'revokeRole',
1031
+ outputs: [],
1032
+ stateMutability: 'nonpayable',
1033
+ type: 'function',
1034
+ },
1035
+ {
1036
+ inputs: [
1037
+ { internalType: 'address', name: '_from', type: 'address' },
1038
+ { internalType: 'address', name: '_to', type: 'address' },
1039
+ { internalType: 'uint256', name: '_requestId', type: 'uint256' },
1040
+ ],
1041
+ name: 'safeTransferFrom',
1042
+ outputs: [],
1043
+ stateMutability: 'nonpayable',
1044
+ type: 'function',
1045
+ },
1046
+ {
1047
+ inputs: [
1048
+ { internalType: 'address', name: '_from', type: 'address' },
1049
+ { internalType: 'address', name: '_to', type: 'address' },
1050
+ { internalType: 'uint256', name: '_requestId', type: 'uint256' },
1051
+ { internalType: 'bytes', name: '_data', type: 'bytes' },
1052
+ ],
1053
+ name: 'safeTransferFrom',
1054
+ outputs: [],
1055
+ stateMutability: 'nonpayable',
1056
+ type: 'function',
1057
+ },
1058
+ {
1059
+ inputs: [
1060
+ { internalType: 'address', name: '_operator', type: 'address' },
1061
+ { internalType: 'bool', name: '_approved', type: 'bool' },
1062
+ ],
1063
+ name: 'setApprovalForAll',
1064
+ outputs: [],
1065
+ stateMutability: 'nonpayable',
1066
+ type: 'function',
1067
+ },
1068
+ {
1069
+ inputs: [{ internalType: 'string', name: '_baseURI', type: 'string' }],
1070
+ name: 'setBaseURI',
1071
+ outputs: [],
1072
+ stateMutability: 'nonpayable',
1073
+ type: 'function',
1074
+ },
1075
+ {
1076
+ inputs: [
1077
+ {
1078
+ internalType: 'address',
1079
+ name: '_nftDescriptorAddress',
1080
+ type: 'address',
1081
+ },
1082
+ ],
1083
+ name: 'setNFTDescriptorAddress',
1084
+ outputs: [],
1085
+ stateMutability: 'nonpayable',
1086
+ type: 'function',
1087
+ },
1088
+ {
1089
+ inputs: [{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' }],
1090
+ name: 'supportsInterface',
1091
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1092
+ stateMutability: 'view',
1093
+ type: 'function',
1094
+ },
1095
+ {
1096
+ inputs: [],
1097
+ name: 'symbol',
1098
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
1099
+ stateMutability: 'view',
1100
+ type: 'function',
1101
+ },
1102
+ {
1103
+ inputs: [{ internalType: 'uint256', name: '_requestId', type: 'uint256' }],
1104
+ name: 'tokenURI',
1105
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
1106
+ stateMutability: 'view',
1107
+ type: 'function',
1108
+ },
1109
+ {
1110
+ inputs: [
1111
+ { internalType: 'address', name: '_from', type: 'address' },
1112
+ { internalType: 'address', name: '_to', type: 'address' },
1113
+ { internalType: 'uint256', name: '_requestId', type: 'uint256' },
1114
+ ],
1115
+ name: 'transferFrom',
1116
+ outputs: [],
1117
+ stateMutability: 'nonpayable',
1118
+ type: 'function',
1119
+ },
1120
+ {
1121
+ inputs: [],
1122
+ name: 'unfinalizedRequestNumber',
1123
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1124
+ stateMutability: 'view',
1125
+ type: 'function',
1126
+ },
1127
+ {
1128
+ inputs: [],
1129
+ name: 'unfinalizedStETH',
1130
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1131
+ stateMutability: 'view',
1132
+ type: 'function',
1133
+ },
1134
+ ];
1135
+ //# sourceMappingURL=abis.js.map