@gearbox-protocol/sdk 8.17.1 → 8.18.0

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 (43) hide show
  1. package/dist/cjs/abi/index.js +2 -0
  2. package/dist/cjs/abi/mellow.js +2938 -0
  3. package/dist/cjs/plugins/adapters/AdaptersPlugin.js +27 -0
  4. package/dist/cjs/plugins/adapters/FluidDexAdapterContract.js +38 -0
  5. package/dist/cjs/plugins/adapters/InfraredVaultAdapterContract.js +38 -0
  6. package/dist/cjs/plugins/adapters/KodiakIslandGatewayAdapterContract.js +38 -0
  7. package/dist/cjs/plugins/adapters/LidoV1AdapterContract.js +37 -0
  8. package/dist/cjs/plugins/adapters/MellowClaimerAdapterContract.js +38 -0
  9. package/dist/cjs/plugins/adapters/MellowDVVAdapterContract.js +38 -0
  10. package/dist/cjs/plugins/adapters/MellowWrapperAdapterContract.js +38 -0
  11. package/dist/cjs/plugins/adapters/TraderJoeRouterAdapterContract.js +38 -0
  12. package/dist/cjs/plugins/adapters/UpshiftVaultAdapterContract.js +38 -0
  13. package/dist/cjs/plugins/adapters/abi/adapters.js +1217 -2
  14. package/dist/cjs/plugins/adapters/index.js +18 -0
  15. package/dist/esm/abi/index.js +1 -0
  16. package/dist/esm/abi/mellow.js +2910 -0
  17. package/dist/esm/plugins/adapters/AdaptersPlugin.js +27 -0
  18. package/dist/esm/plugins/adapters/FluidDexAdapterContract.js +14 -0
  19. package/dist/esm/plugins/adapters/InfraredVaultAdapterContract.js +14 -0
  20. package/dist/esm/plugins/adapters/KodiakIslandGatewayAdapterContract.js +14 -0
  21. package/dist/esm/plugins/adapters/LidoV1AdapterContract.js +13 -0
  22. package/dist/esm/plugins/adapters/MellowClaimerAdapterContract.js +14 -0
  23. package/dist/esm/plugins/adapters/MellowDVVAdapterContract.js +14 -0
  24. package/dist/esm/plugins/adapters/MellowWrapperAdapterContract.js +14 -0
  25. package/dist/esm/plugins/adapters/TraderJoeRouterAdapterContract.js +14 -0
  26. package/dist/esm/plugins/adapters/UpshiftVaultAdapterContract.js +14 -0
  27. package/dist/esm/plugins/adapters/abi/adapters.js +1208 -1
  28. package/dist/esm/plugins/adapters/index.js +9 -0
  29. package/dist/types/abi/index.d.ts +1 -0
  30. package/dist/types/abi/mellow.d.ts +3886 -0
  31. package/dist/types/plugins/adapters/FluidDexAdapterContract.d.ts +127 -0
  32. package/dist/types/plugins/adapters/InfraredVaultAdapterContract.d.ts +195 -0
  33. package/dist/types/plugins/adapters/KodiakIslandGatewayAdapterContract.d.ts +390 -0
  34. package/dist/types/plugins/adapters/LidoV1AdapterContract.d.ts +8 -0
  35. package/dist/types/plugins/adapters/MellowClaimerAdapterContract.d.ts +255 -0
  36. package/dist/types/plugins/adapters/MellowDVVAdapterContract.d.ts +229 -0
  37. package/dist/types/plugins/adapters/MellowWrapperAdapterContract.d.ts +159 -0
  38. package/dist/types/plugins/adapters/TraderJoeRouterAdapterContract.d.ts +341 -0
  39. package/dist/types/plugins/adapters/UpshiftVaultAdapterContract.d.ts +265 -0
  40. package/dist/types/plugins/adapters/abi/adapters.d.ts +1897 -0
  41. package/dist/types/plugins/adapters/index.d.ts +9 -0
  42. package/dist/types/plugins/adapters/types.d.ts +1 -1
  43. package/package.json +1 -1
@@ -0,0 +1,2938 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var mellow_exports = {};
20
+ __export(mellow_exports, {
21
+ mellowClaimerAbi: () => mellowClaimerAbi,
22
+ mellowMultiVaultAbi: () => mellowMultiVaultAbi,
23
+ mellowRatiosStrategyAni: () => mellowRatiosStrategyAni,
24
+ mellowSymbioticWithdrawalQueueAbi: () => mellowSymbioticWithdrawalQueueAbi,
25
+ mellowVaultAbi: () => mellowVaultAbi
26
+ });
27
+ module.exports = __toCommonJS(mellow_exports);
28
+ const mellowMultiVaultAbi = [
29
+ {
30
+ inputs: [
31
+ { internalType: "bytes32", name: "name_", type: "bytes32" },
32
+ { internalType: "uint256", name: "version_", type: "uint256" }
33
+ ],
34
+ stateMutability: "nonpayable",
35
+ type: "constructor"
36
+ },
37
+ { inputs: [], name: "AccessControlBadConfirmation", type: "error" },
38
+ {
39
+ inputs: [
40
+ { internalType: "address", name: "account", type: "address" },
41
+ { internalType: "bytes32", name: "neededRole", type: "bytes32" }
42
+ ],
43
+ name: "AccessControlUnauthorizedAccount",
44
+ type: "error"
45
+ },
46
+ {
47
+ inputs: [{ internalType: "address", name: "target", type: "address" }],
48
+ name: "AddressEmptyCode",
49
+ type: "error"
50
+ },
51
+ {
52
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
53
+ name: "AddressInsufficientBalance",
54
+ type: "error"
55
+ },
56
+ {
57
+ inputs: [
58
+ { internalType: "address", name: "spender", type: "address" },
59
+ { internalType: "uint256", name: "allowance", type: "uint256" },
60
+ { internalType: "uint256", name: "needed", type: "uint256" }
61
+ ],
62
+ name: "ERC20InsufficientAllowance",
63
+ type: "error"
64
+ },
65
+ {
66
+ inputs: [
67
+ { internalType: "address", name: "sender", type: "address" },
68
+ { internalType: "uint256", name: "balance", type: "uint256" },
69
+ { internalType: "uint256", name: "needed", type: "uint256" }
70
+ ],
71
+ name: "ERC20InsufficientBalance",
72
+ type: "error"
73
+ },
74
+ {
75
+ inputs: [{ internalType: "address", name: "approver", type: "address" }],
76
+ name: "ERC20InvalidApprover",
77
+ type: "error"
78
+ },
79
+ {
80
+ inputs: [{ internalType: "address", name: "receiver", type: "address" }],
81
+ name: "ERC20InvalidReceiver",
82
+ type: "error"
83
+ },
84
+ {
85
+ inputs: [{ internalType: "address", name: "sender", type: "address" }],
86
+ name: "ERC20InvalidSender",
87
+ type: "error"
88
+ },
89
+ {
90
+ inputs: [{ internalType: "address", name: "spender", type: "address" }],
91
+ name: "ERC20InvalidSpender",
92
+ type: "error"
93
+ },
94
+ {
95
+ inputs: [
96
+ { internalType: "address", name: "receiver", type: "address" },
97
+ { internalType: "uint256", name: "assets", type: "uint256" },
98
+ { internalType: "uint256", name: "max", type: "uint256" }
99
+ ],
100
+ name: "ERC4626ExceededMaxDeposit",
101
+ type: "error"
102
+ },
103
+ {
104
+ inputs: [
105
+ { internalType: "address", name: "receiver", type: "address" },
106
+ { internalType: "uint256", name: "shares", type: "uint256" },
107
+ { internalType: "uint256", name: "max", type: "uint256" }
108
+ ],
109
+ name: "ERC4626ExceededMaxMint",
110
+ type: "error"
111
+ },
112
+ {
113
+ inputs: [
114
+ { internalType: "address", name: "owner", type: "address" },
115
+ { internalType: "uint256", name: "shares", type: "uint256" },
116
+ { internalType: "uint256", name: "max", type: "uint256" }
117
+ ],
118
+ name: "ERC4626ExceededMaxRedeem",
119
+ type: "error"
120
+ },
121
+ {
122
+ inputs: [
123
+ { internalType: "address", name: "owner", type: "address" },
124
+ { internalType: "uint256", name: "assets", type: "uint256" },
125
+ { internalType: "uint256", name: "max", type: "uint256" }
126
+ ],
127
+ name: "ERC4626ExceededMaxWithdraw",
128
+ type: "error"
129
+ },
130
+ { inputs: [], name: "FailedInnerCall", type: "error" },
131
+ { inputs: [], name: "InvalidInitialization", type: "error" },
132
+ { inputs: [], name: "MathOverflowedMulDiv", type: "error" },
133
+ { inputs: [], name: "NotInitializing", type: "error" },
134
+ { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" },
135
+ {
136
+ inputs: [{ internalType: "address", name: "token", type: "address" }],
137
+ name: "SafeERC20FailedOperation",
138
+ type: "error"
139
+ },
140
+ {
141
+ anonymous: false,
142
+ inputs: [
143
+ {
144
+ indexed: true,
145
+ internalType: "address",
146
+ name: "owner",
147
+ type: "address"
148
+ },
149
+ {
150
+ indexed: true,
151
+ internalType: "address",
152
+ name: "spender",
153
+ type: "address"
154
+ },
155
+ {
156
+ indexed: false,
157
+ internalType: "uint256",
158
+ name: "value",
159
+ type: "uint256"
160
+ }
161
+ ],
162
+ name: "Approval",
163
+ type: "event"
164
+ },
165
+ {
166
+ anonymous: false,
167
+ inputs: [
168
+ {
169
+ indexed: true,
170
+ internalType: "address",
171
+ name: "defaultCollateral",
172
+ type: "address"
173
+ }
174
+ ],
175
+ name: "DefaultCollateralSet",
176
+ type: "event"
177
+ },
178
+ {
179
+ anonymous: false,
180
+ inputs: [
181
+ {
182
+ indexed: true,
183
+ internalType: "address",
184
+ name: "sender",
185
+ type: "address"
186
+ },
187
+ {
188
+ indexed: true,
189
+ internalType: "address",
190
+ name: "owner",
191
+ type: "address"
192
+ },
193
+ {
194
+ indexed: false,
195
+ internalType: "uint256",
196
+ name: "assets",
197
+ type: "uint256"
198
+ },
199
+ {
200
+ indexed: false,
201
+ internalType: "uint256",
202
+ name: "shares",
203
+ type: "uint256"
204
+ }
205
+ ],
206
+ name: "Deposit",
207
+ type: "event"
208
+ },
209
+ {
210
+ anonymous: false,
211
+ inputs: [
212
+ {
213
+ indexed: false,
214
+ internalType: "uint256",
215
+ name: "assets",
216
+ type: "uint256"
217
+ }
218
+ ],
219
+ name: "DepositIntoCollateral",
220
+ type: "event"
221
+ },
222
+ {
223
+ anonymous: false,
224
+ inputs: [
225
+ { indexed: false, internalType: "bool", name: "paused", type: "bool" },
226
+ {
227
+ indexed: false,
228
+ internalType: "uint256",
229
+ name: "timestamp",
230
+ type: "uint256"
231
+ },
232
+ {
233
+ indexed: false,
234
+ internalType: "address",
235
+ name: "sender",
236
+ type: "address"
237
+ }
238
+ ],
239
+ name: "DepositPauseSet",
240
+ type: "event"
241
+ },
242
+ {
243
+ anonymous: false,
244
+ inputs: [
245
+ {
246
+ indexed: true,
247
+ internalType: "address",
248
+ name: "depositStrategy",
249
+ type: "address"
250
+ }
251
+ ],
252
+ name: "DepositStrategySet",
253
+ type: "event"
254
+ },
255
+ {
256
+ anonymous: false,
257
+ inputs: [
258
+ { indexed: false, internalType: "bool", name: "status", type: "bool" },
259
+ {
260
+ indexed: false,
261
+ internalType: "uint256",
262
+ name: "timestamp",
263
+ type: "uint256"
264
+ },
265
+ {
266
+ indexed: false,
267
+ internalType: "address",
268
+ name: "sender",
269
+ type: "address"
270
+ }
271
+ ],
272
+ name: "DepositWhitelistSet",
273
+ type: "event"
274
+ },
275
+ {
276
+ anonymous: false,
277
+ inputs: [
278
+ {
279
+ indexed: false,
280
+ internalType: "address",
281
+ name: "account",
282
+ type: "address"
283
+ },
284
+ { indexed: false, internalType: "bool", name: "status", type: "bool" },
285
+ {
286
+ indexed: false,
287
+ internalType: "uint256",
288
+ name: "timestamp",
289
+ type: "uint256"
290
+ },
291
+ {
292
+ indexed: false,
293
+ internalType: "address",
294
+ name: "sender",
295
+ type: "address"
296
+ }
297
+ ],
298
+ name: "DepositorWhitelistStatusSet",
299
+ type: "event"
300
+ },
301
+ {
302
+ anonymous: false,
303
+ inputs: [
304
+ {
305
+ indexed: true,
306
+ internalType: "address",
307
+ name: "erc4626Adapter",
308
+ type: "address"
309
+ }
310
+ ],
311
+ name: "ERC4626AdapterSet",
312
+ type: "event"
313
+ },
314
+ {
315
+ anonymous: false,
316
+ inputs: [
317
+ {
318
+ indexed: true,
319
+ internalType: "address",
320
+ name: "eigenLayerAdapter",
321
+ type: "address"
322
+ }
323
+ ],
324
+ name: "EigenLayerAdapterSet",
325
+ type: "event"
326
+ },
327
+ {
328
+ anonymous: false,
329
+ inputs: [
330
+ {
331
+ indexed: false,
332
+ internalType: "uint64",
333
+ name: "version",
334
+ type: "uint64"
335
+ }
336
+ ],
337
+ name: "Initialized",
338
+ type: "event"
339
+ },
340
+ {
341
+ anonymous: false,
342
+ inputs: [
343
+ {
344
+ indexed: false,
345
+ internalType: "uint256",
346
+ name: "limit",
347
+ type: "uint256"
348
+ },
349
+ {
350
+ indexed: false,
351
+ internalType: "uint256",
352
+ name: "timestamp",
353
+ type: "uint256"
354
+ },
355
+ {
356
+ indexed: false,
357
+ internalType: "address",
358
+ name: "sender",
359
+ type: "address"
360
+ }
361
+ ],
362
+ name: "LimitSet",
363
+ type: "event"
364
+ },
365
+ {
366
+ anonymous: false,
367
+ inputs: [
368
+ {
369
+ components: [
370
+ { internalType: "uint256", name: "subvaultIndex", type: "uint256" },
371
+ { internalType: "uint256", name: "deposit", type: "uint256" },
372
+ { internalType: "uint256", name: "claimable", type: "uint256" },
373
+ { internalType: "uint256", name: "staked", type: "uint256" }
374
+ ],
375
+ indexed: false,
376
+ internalType: "struct IRebalanceStrategy.RebalanceData[]",
377
+ name: "data",
378
+ type: "tuple[]"
379
+ },
380
+ {
381
+ indexed: false,
382
+ internalType: "uint256",
383
+ name: "timestamp",
384
+ type: "uint256"
385
+ }
386
+ ],
387
+ name: "Rebalance",
388
+ type: "event"
389
+ },
390
+ {
391
+ anonymous: false,
392
+ inputs: [
393
+ {
394
+ indexed: true,
395
+ internalType: "address",
396
+ name: "rebalanceStrategy",
397
+ type: "address"
398
+ }
399
+ ],
400
+ name: "RebalanceStrategySet",
401
+ type: "event"
402
+ },
403
+ {
404
+ anonymous: false,
405
+ inputs: [
406
+ {
407
+ indexed: false,
408
+ internalType: "uint256",
409
+ name: "assets",
410
+ type: "uint256"
411
+ },
412
+ {
413
+ indexed: false,
414
+ internalType: "address",
415
+ name: "receiver",
416
+ type: "address"
417
+ },
418
+ {
419
+ indexed: false,
420
+ internalType: "address",
421
+ name: "referral",
422
+ type: "address"
423
+ }
424
+ ],
425
+ name: "ReferralDeposit",
426
+ type: "event"
427
+ },
428
+ {
429
+ anonymous: false,
430
+ inputs: [
431
+ {
432
+ indexed: true,
433
+ internalType: "uint256",
434
+ name: "farmId",
435
+ type: "uint256"
436
+ }
437
+ ],
438
+ name: "RewardDataRemoved",
439
+ type: "event"
440
+ },
441
+ {
442
+ anonymous: false,
443
+ inputs: [
444
+ {
445
+ indexed: true,
446
+ internalType: "uint256",
447
+ name: "farmId",
448
+ type: "uint256"
449
+ },
450
+ {
451
+ components: [
452
+ {
453
+ internalType: "address",
454
+ name: "distributionFarm",
455
+ type: "address"
456
+ },
457
+ { internalType: "address", name: "curatorTreasury", type: "address" },
458
+ { internalType: "address", name: "token", type: "address" },
459
+ { internalType: "uint256", name: "curatorFeeD6", type: "uint256" },
460
+ {
461
+ internalType: "enum IMultiVaultStorage.Protocol",
462
+ name: "protocol",
463
+ type: "uint8"
464
+ },
465
+ { internalType: "bytes", name: "data", type: "bytes" }
466
+ ],
467
+ indexed: false,
468
+ internalType: "struct IMultiVaultStorage.RewardData",
469
+ name: "data",
470
+ type: "tuple"
471
+ }
472
+ ],
473
+ name: "RewardDataSet",
474
+ type: "event"
475
+ },
476
+ {
477
+ anonymous: false,
478
+ inputs: [
479
+ {
480
+ indexed: true,
481
+ internalType: "uint256",
482
+ name: "farmId",
483
+ type: "uint256"
484
+ },
485
+ {
486
+ indexed: true,
487
+ internalType: "uint256",
488
+ name: "rewardAmount",
489
+ type: "uint256"
490
+ },
491
+ {
492
+ indexed: true,
493
+ internalType: "uint256",
494
+ name: "curatorFee",
495
+ type: "uint256"
496
+ },
497
+ {
498
+ indexed: false,
499
+ internalType: "uint256",
500
+ name: "timestamp",
501
+ type: "uint256"
502
+ }
503
+ ],
504
+ name: "RewardsPushed",
505
+ type: "event"
506
+ },
507
+ {
508
+ anonymous: false,
509
+ inputs: [
510
+ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
511
+ {
512
+ indexed: true,
513
+ internalType: "bytes32",
514
+ name: "previousAdminRole",
515
+ type: "bytes32"
516
+ },
517
+ {
518
+ indexed: true,
519
+ internalType: "bytes32",
520
+ name: "newAdminRole",
521
+ type: "bytes32"
522
+ }
523
+ ],
524
+ name: "RoleAdminChanged",
525
+ type: "event"
526
+ },
527
+ {
528
+ anonymous: false,
529
+ inputs: [
530
+ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
531
+ {
532
+ indexed: true,
533
+ internalType: "address",
534
+ name: "account",
535
+ type: "address"
536
+ },
537
+ {
538
+ indexed: true,
539
+ internalType: "address",
540
+ name: "sender",
541
+ type: "address"
542
+ }
543
+ ],
544
+ name: "RoleGranted",
545
+ type: "event"
546
+ },
547
+ {
548
+ anonymous: false,
549
+ inputs: [
550
+ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
551
+ {
552
+ indexed: true,
553
+ internalType: "address",
554
+ name: "account",
555
+ type: "address"
556
+ },
557
+ {
558
+ indexed: true,
559
+ internalType: "address",
560
+ name: "sender",
561
+ type: "address"
562
+ }
563
+ ],
564
+ name: "RoleRevoked",
565
+ type: "event"
566
+ },
567
+ {
568
+ anonymous: false,
569
+ inputs: [
570
+ {
571
+ indexed: true,
572
+ internalType: "address",
573
+ name: "subvault",
574
+ type: "address"
575
+ },
576
+ {
577
+ indexed: false,
578
+ internalType: "address",
579
+ name: "withdrawalQueue",
580
+ type: "address"
581
+ },
582
+ {
583
+ indexed: false,
584
+ internalType: "enum IMultiVaultStorage.Protocol",
585
+ name: "protocol",
586
+ type: "uint8"
587
+ },
588
+ {
589
+ indexed: false,
590
+ internalType: "uint256",
591
+ name: "subvaultIndex",
592
+ type: "uint256"
593
+ }
594
+ ],
595
+ name: "SubvaultAdded",
596
+ type: "event"
597
+ },
598
+ {
599
+ anonymous: false,
600
+ inputs: [
601
+ {
602
+ indexed: true,
603
+ internalType: "address",
604
+ name: "subvault",
605
+ type: "address"
606
+ },
607
+ {
608
+ indexed: false,
609
+ internalType: "uint256",
610
+ name: "oldIndex",
611
+ type: "uint256"
612
+ },
613
+ {
614
+ indexed: false,
615
+ internalType: "uint256",
616
+ name: "newIndex",
617
+ type: "uint256"
618
+ }
619
+ ],
620
+ name: "SubvaultIndexChanged",
621
+ type: "event"
622
+ },
623
+ {
624
+ anonymous: false,
625
+ inputs: [
626
+ {
627
+ indexed: true,
628
+ internalType: "address",
629
+ name: "subvault",
630
+ type: "address"
631
+ },
632
+ {
633
+ indexed: false,
634
+ internalType: "uint256",
635
+ name: "subvaultIndex",
636
+ type: "uint256"
637
+ }
638
+ ],
639
+ name: "SubvaultRemoved",
640
+ type: "event"
641
+ },
642
+ {
643
+ anonymous: false,
644
+ inputs: [
645
+ {
646
+ indexed: true,
647
+ internalType: "address",
648
+ name: "symbioticAdapter",
649
+ type: "address"
650
+ }
651
+ ],
652
+ name: "SymbioticAdapterSet",
653
+ type: "event"
654
+ },
655
+ {
656
+ anonymous: false,
657
+ inputs: [
658
+ { indexed: true, internalType: "address", name: "from", type: "address" },
659
+ { indexed: true, internalType: "address", name: "to", type: "address" },
660
+ {
661
+ indexed: false,
662
+ internalType: "uint256",
663
+ name: "value",
664
+ type: "uint256"
665
+ }
666
+ ],
667
+ name: "Transfer",
668
+ type: "event"
669
+ },
670
+ {
671
+ anonymous: false,
672
+ inputs: [
673
+ {
674
+ indexed: true,
675
+ internalType: "address",
676
+ name: "sender",
677
+ type: "address"
678
+ },
679
+ {
680
+ indexed: true,
681
+ internalType: "address",
682
+ name: "receiver",
683
+ type: "address"
684
+ },
685
+ {
686
+ indexed: true,
687
+ internalType: "address",
688
+ name: "owner",
689
+ type: "address"
690
+ },
691
+ {
692
+ indexed: false,
693
+ internalType: "uint256",
694
+ name: "assets",
695
+ type: "uint256"
696
+ },
697
+ {
698
+ indexed: false,
699
+ internalType: "uint256",
700
+ name: "shares",
701
+ type: "uint256"
702
+ }
703
+ ],
704
+ name: "Withdraw",
705
+ type: "event"
706
+ },
707
+ {
708
+ anonymous: false,
709
+ inputs: [
710
+ { indexed: false, internalType: "bool", name: "paused", type: "bool" },
711
+ {
712
+ indexed: false,
713
+ internalType: "uint256",
714
+ name: "timestamp",
715
+ type: "uint256"
716
+ },
717
+ {
718
+ indexed: false,
719
+ internalType: "address",
720
+ name: "sender",
721
+ type: "address"
722
+ }
723
+ ],
724
+ name: "WithdrawalPauseSet",
725
+ type: "event"
726
+ },
727
+ {
728
+ anonymous: false,
729
+ inputs: [
730
+ {
731
+ indexed: true,
732
+ internalType: "address",
733
+ name: "withdrawalStrategy",
734
+ type: "address"
735
+ }
736
+ ],
737
+ name: "WithdrawalStrategySet",
738
+ type: "event"
739
+ },
740
+ {
741
+ inputs: [],
742
+ name: "ADD_SUBVAULT_ROLE",
743
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
744
+ stateMutability: "view",
745
+ type: "function"
746
+ },
747
+ {
748
+ inputs: [],
749
+ name: "DEFAULT_ADMIN_ROLE",
750
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
751
+ stateMutability: "view",
752
+ type: "function"
753
+ },
754
+ {
755
+ inputs: [],
756
+ name: "REBALANCE_ROLE",
757
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
758
+ stateMutability: "view",
759
+ type: "function"
760
+ },
761
+ {
762
+ inputs: [],
763
+ name: "REMOVE_SUBVAULT_ROLE",
764
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
765
+ stateMutability: "view",
766
+ type: "function"
767
+ },
768
+ {
769
+ inputs: [],
770
+ name: "SET_ADAPTER_ROLE",
771
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
772
+ stateMutability: "view",
773
+ type: "function"
774
+ },
775
+ {
776
+ inputs: [],
777
+ name: "SET_DEFAULT_COLLATERAL_ROLE",
778
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
779
+ stateMutability: "view",
780
+ type: "function"
781
+ },
782
+ {
783
+ inputs: [],
784
+ name: "SET_FARM_ROLE",
785
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
786
+ stateMutability: "view",
787
+ type: "function"
788
+ },
789
+ {
790
+ inputs: [],
791
+ name: "SET_STRATEGY_ROLE",
792
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
793
+ stateMutability: "view",
794
+ type: "function"
795
+ },
796
+ {
797
+ inputs: [
798
+ {
799
+ internalType: "enum IMultiVaultStorage.Protocol",
800
+ name: "protocol",
801
+ type: "uint8"
802
+ }
803
+ ],
804
+ name: "adapterOf",
805
+ outputs: [
806
+ {
807
+ internalType: "contract IProtocolAdapter",
808
+ name: "adapter",
809
+ type: "address"
810
+ }
811
+ ],
812
+ stateMutability: "view",
813
+ type: "function"
814
+ },
815
+ {
816
+ inputs: [
817
+ { internalType: "address", name: "vault", type: "address" },
818
+ {
819
+ internalType: "enum IMultiVaultStorage.Protocol",
820
+ name: "protocol",
821
+ type: "uint8"
822
+ }
823
+ ],
824
+ name: "addSubvault",
825
+ outputs: [],
826
+ stateMutability: "nonpayable",
827
+ type: "function"
828
+ },
829
+ {
830
+ inputs: [
831
+ { internalType: "address", name: "owner", type: "address" },
832
+ { internalType: "address", name: "spender", type: "address" }
833
+ ],
834
+ name: "allowance",
835
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
836
+ stateMutability: "view",
837
+ type: "function"
838
+ },
839
+ {
840
+ inputs: [
841
+ { internalType: "address", name: "spender", type: "address" },
842
+ { internalType: "uint256", name: "value", type: "uint256" }
843
+ ],
844
+ name: "approve",
845
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
846
+ stateMutability: "nonpayable",
847
+ type: "function"
848
+ },
849
+ {
850
+ inputs: [],
851
+ name: "asset",
852
+ outputs: [{ internalType: "address", name: "", type: "address" }],
853
+ stateMutability: "view",
854
+ type: "function"
855
+ },
856
+ {
857
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
858
+ name: "balanceOf",
859
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
860
+ stateMutability: "view",
861
+ type: "function"
862
+ },
863
+ {
864
+ inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
865
+ name: "convertToAssets",
866
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
867
+ stateMutability: "view",
868
+ type: "function"
869
+ },
870
+ {
871
+ inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
872
+ name: "convertToShares",
873
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
874
+ stateMutability: "view",
875
+ type: "function"
876
+ },
877
+ {
878
+ inputs: [],
879
+ name: "decimals",
880
+ outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
881
+ stateMutability: "view",
882
+ type: "function"
883
+ },
884
+ {
885
+ inputs: [],
886
+ name: "defaultCollateral",
887
+ outputs: [
888
+ {
889
+ internalType: "contract IDefaultCollateral",
890
+ name: "",
891
+ type: "address"
892
+ }
893
+ ],
894
+ stateMutability: "view",
895
+ type: "function"
896
+ },
897
+ {
898
+ inputs: [
899
+ { internalType: "uint256", name: "assets", type: "uint256" },
900
+ { internalType: "address", name: "receiver", type: "address" },
901
+ { internalType: "address", name: "referral", type: "address" }
902
+ ],
903
+ name: "deposit",
904
+ outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
905
+ stateMutability: "nonpayable",
906
+ type: "function"
907
+ },
908
+ {
909
+ inputs: [
910
+ { internalType: "uint256", name: "assets", type: "uint256" },
911
+ { internalType: "address", name: "receiver", type: "address" }
912
+ ],
913
+ name: "deposit",
914
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
915
+ stateMutability: "nonpayable",
916
+ type: "function"
917
+ },
918
+ {
919
+ inputs: [],
920
+ name: "depositPause",
921
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
922
+ stateMutability: "view",
923
+ type: "function"
924
+ },
925
+ {
926
+ inputs: [],
927
+ name: "depositStrategy",
928
+ outputs: [
929
+ { internalType: "contract IDepositStrategy", name: "", type: "address" }
930
+ ],
931
+ stateMutability: "view",
932
+ type: "function"
933
+ },
934
+ {
935
+ inputs: [],
936
+ name: "depositWhitelist",
937
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
938
+ stateMutability: "view",
939
+ type: "function"
940
+ },
941
+ {
942
+ inputs: [],
943
+ name: "eigenLayerAdapter",
944
+ outputs: [
945
+ { internalType: "contract IProtocolAdapter", name: "", type: "address" }
946
+ ],
947
+ stateMutability: "view",
948
+ type: "function"
949
+ },
950
+ {
951
+ inputs: [],
952
+ name: "erc4626Adapter",
953
+ outputs: [
954
+ { internalType: "contract IProtocolAdapter", name: "", type: "address" }
955
+ ],
956
+ stateMutability: "view",
957
+ type: "function"
958
+ },
959
+ {
960
+ inputs: [],
961
+ name: "farmCount",
962
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
963
+ stateMutability: "view",
964
+ type: "function"
965
+ },
966
+ {
967
+ inputs: [{ internalType: "uint256", name: "index", type: "uint256" }],
968
+ name: "farmIdAt",
969
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
970
+ stateMutability: "view",
971
+ type: "function"
972
+ },
973
+ {
974
+ inputs: [],
975
+ name: "farmIds",
976
+ outputs: [{ internalType: "uint256[]", name: "", type: "uint256[]" }],
977
+ stateMutability: "view",
978
+ type: "function"
979
+ },
980
+ {
981
+ inputs: [{ internalType: "uint256", name: "farmId", type: "uint256" }],
982
+ name: "farmIdsContains",
983
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
984
+ stateMutability: "view",
985
+ type: "function"
986
+ },
987
+ {
988
+ inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }],
989
+ name: "getRoleAdmin",
990
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
991
+ stateMutability: "view",
992
+ type: "function"
993
+ },
994
+ {
995
+ inputs: [
996
+ { internalType: "bytes32", name: "role", type: "bytes32" },
997
+ { internalType: "uint256", name: "index", type: "uint256" }
998
+ ],
999
+ name: "getRoleMember",
1000
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1001
+ stateMutability: "view",
1002
+ type: "function"
1003
+ },
1004
+ {
1005
+ inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }],
1006
+ name: "getRoleMemberCount",
1007
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1008
+ stateMutability: "view",
1009
+ type: "function"
1010
+ },
1011
+ {
1012
+ inputs: [
1013
+ { internalType: "bytes32", name: "role", type: "bytes32" },
1014
+ { internalType: "address", name: "account", type: "address" }
1015
+ ],
1016
+ name: "grantRole",
1017
+ outputs: [],
1018
+ stateMutability: "nonpayable",
1019
+ type: "function"
1020
+ },
1021
+ {
1022
+ inputs: [
1023
+ { internalType: "bytes32", name: "role", type: "bytes32" },
1024
+ { internalType: "address", name: "account", type: "address" }
1025
+ ],
1026
+ name: "hasRole",
1027
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1028
+ stateMutability: "view",
1029
+ type: "function"
1030
+ },
1031
+ {
1032
+ inputs: [{ internalType: "address", name: "subvault", type: "address" }],
1033
+ name: "indexOfSubvault",
1034
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1035
+ stateMutability: "view",
1036
+ type: "function"
1037
+ },
1038
+ {
1039
+ inputs: [
1040
+ {
1041
+ components: [
1042
+ { internalType: "address", name: "admin", type: "address" },
1043
+ { internalType: "uint256", name: "limit", type: "uint256" },
1044
+ { internalType: "bool", name: "depositPause", type: "bool" },
1045
+ { internalType: "bool", name: "withdrawalPause", type: "bool" },
1046
+ { internalType: "bool", name: "depositWhitelist", type: "bool" },
1047
+ { internalType: "address", name: "asset", type: "address" },
1048
+ { internalType: "string", name: "name", type: "string" },
1049
+ { internalType: "string", name: "symbol", type: "string" },
1050
+ { internalType: "address", name: "depositStrategy", type: "address" },
1051
+ {
1052
+ internalType: "address",
1053
+ name: "withdrawalStrategy",
1054
+ type: "address"
1055
+ },
1056
+ {
1057
+ internalType: "address",
1058
+ name: "rebalanceStrategy",
1059
+ type: "address"
1060
+ },
1061
+ {
1062
+ internalType: "address",
1063
+ name: "defaultCollateral",
1064
+ type: "address"
1065
+ },
1066
+ {
1067
+ internalType: "address",
1068
+ name: "symbioticAdapter",
1069
+ type: "address"
1070
+ },
1071
+ {
1072
+ internalType: "address",
1073
+ name: "eigenLayerAdapter",
1074
+ type: "address"
1075
+ },
1076
+ { internalType: "address", name: "erc4626Adapter", type: "address" }
1077
+ ],
1078
+ internalType: "struct IMultiVault.InitParams",
1079
+ name: "initParams",
1080
+ type: "tuple"
1081
+ }
1082
+ ],
1083
+ name: "initialize",
1084
+ outputs: [],
1085
+ stateMutability: "nonpayable",
1086
+ type: "function"
1087
+ },
1088
+ {
1089
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1090
+ name: "isDepositorWhitelisted",
1091
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1092
+ stateMutability: "view",
1093
+ type: "function"
1094
+ },
1095
+ {
1096
+ inputs: [],
1097
+ name: "limit",
1098
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1099
+ stateMutability: "view",
1100
+ type: "function"
1101
+ },
1102
+ {
1103
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1104
+ name: "maxDeposit",
1105
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1106
+ stateMutability: "view",
1107
+ type: "function"
1108
+ },
1109
+ {
1110
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1111
+ name: "maxMint",
1112
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1113
+ stateMutability: "view",
1114
+ type: "function"
1115
+ },
1116
+ {
1117
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1118
+ name: "maxRedeem",
1119
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1120
+ stateMutability: "view",
1121
+ type: "function"
1122
+ },
1123
+ {
1124
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1125
+ name: "maxWithdraw",
1126
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1127
+ stateMutability: "view",
1128
+ type: "function"
1129
+ },
1130
+ {
1131
+ inputs: [
1132
+ { internalType: "uint256", name: "shares", type: "uint256" },
1133
+ { internalType: "address", name: "receiver", type: "address" }
1134
+ ],
1135
+ name: "mint",
1136
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1137
+ stateMutability: "nonpayable",
1138
+ type: "function"
1139
+ },
1140
+ {
1141
+ inputs: [],
1142
+ name: "name",
1143
+ outputs: [{ internalType: "string", name: "", type: "string" }],
1144
+ stateMutability: "view",
1145
+ type: "function"
1146
+ },
1147
+ {
1148
+ inputs: [],
1149
+ name: "pauseDeposits",
1150
+ outputs: [],
1151
+ stateMutability: "nonpayable",
1152
+ type: "function"
1153
+ },
1154
+ {
1155
+ inputs: [],
1156
+ name: "pauseWithdrawals",
1157
+ outputs: [],
1158
+ stateMutability: "nonpayable",
1159
+ type: "function"
1160
+ },
1161
+ {
1162
+ inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
1163
+ name: "previewDeposit",
1164
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1165
+ stateMutability: "view",
1166
+ type: "function"
1167
+ },
1168
+ {
1169
+ inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
1170
+ name: "previewMint",
1171
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1172
+ stateMutability: "view",
1173
+ type: "function"
1174
+ },
1175
+ {
1176
+ inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
1177
+ name: "previewRedeem",
1178
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1179
+ stateMutability: "view",
1180
+ type: "function"
1181
+ },
1182
+ {
1183
+ inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
1184
+ name: "previewWithdraw",
1185
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1186
+ stateMutability: "view",
1187
+ type: "function"
1188
+ },
1189
+ {
1190
+ inputs: [
1191
+ { internalType: "uint256", name: "farmId", type: "uint256" },
1192
+ { internalType: "bytes", name: "farmData", type: "bytes" }
1193
+ ],
1194
+ name: "pushRewards",
1195
+ outputs: [],
1196
+ stateMutability: "nonpayable",
1197
+ type: "function"
1198
+ },
1199
+ {
1200
+ inputs: [],
1201
+ name: "rebalance",
1202
+ outputs: [],
1203
+ stateMutability: "nonpayable",
1204
+ type: "function"
1205
+ },
1206
+ {
1207
+ inputs: [],
1208
+ name: "rebalanceStrategy",
1209
+ outputs: [
1210
+ {
1211
+ internalType: "contract IRebalanceStrategy",
1212
+ name: "",
1213
+ type: "address"
1214
+ }
1215
+ ],
1216
+ stateMutability: "view",
1217
+ type: "function"
1218
+ },
1219
+ {
1220
+ inputs: [
1221
+ { internalType: "uint256", name: "shares", type: "uint256" },
1222
+ { internalType: "address", name: "receiver", type: "address" },
1223
+ { internalType: "address", name: "owner", type: "address" }
1224
+ ],
1225
+ name: "redeem",
1226
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1227
+ stateMutability: "nonpayable",
1228
+ type: "function"
1229
+ },
1230
+ {
1231
+ inputs: [{ internalType: "address", name: "subvault", type: "address" }],
1232
+ name: "removeSubvault",
1233
+ outputs: [],
1234
+ stateMutability: "nonpayable",
1235
+ type: "function"
1236
+ },
1237
+ {
1238
+ inputs: [
1239
+ { internalType: "bytes32", name: "role", type: "bytes32" },
1240
+ { internalType: "address", name: "callerConfirmation", type: "address" }
1241
+ ],
1242
+ name: "renounceRole",
1243
+ outputs: [],
1244
+ stateMutability: "nonpayable",
1245
+ type: "function"
1246
+ },
1247
+ {
1248
+ inputs: [
1249
+ { internalType: "bytes32", name: "role", type: "bytes32" },
1250
+ { internalType: "address", name: "account", type: "address" }
1251
+ ],
1252
+ name: "revokeRole",
1253
+ outputs: [],
1254
+ stateMutability: "nonpayable",
1255
+ type: "function"
1256
+ },
1257
+ {
1258
+ inputs: [{ internalType: "uint256", name: "farmId", type: "uint256" }],
1259
+ name: "rewardData",
1260
+ outputs: [
1261
+ {
1262
+ components: [
1263
+ {
1264
+ internalType: "address",
1265
+ name: "distributionFarm",
1266
+ type: "address"
1267
+ },
1268
+ { internalType: "address", name: "curatorTreasury", type: "address" },
1269
+ { internalType: "address", name: "token", type: "address" },
1270
+ { internalType: "uint256", name: "curatorFeeD6", type: "uint256" },
1271
+ {
1272
+ internalType: "enum IMultiVaultStorage.Protocol",
1273
+ name: "protocol",
1274
+ type: "uint8"
1275
+ },
1276
+ { internalType: "bytes", name: "data", type: "bytes" }
1277
+ ],
1278
+ internalType: "struct IMultiVaultStorage.RewardData",
1279
+ name: "",
1280
+ type: "tuple"
1281
+ }
1282
+ ],
1283
+ stateMutability: "view",
1284
+ type: "function"
1285
+ },
1286
+ {
1287
+ inputs: [
1288
+ { internalType: "address", name: "defaultCollateral_", type: "address" }
1289
+ ],
1290
+ name: "setDefaultCollateral",
1291
+ outputs: [],
1292
+ stateMutability: "nonpayable",
1293
+ type: "function"
1294
+ },
1295
+ {
1296
+ inputs: [
1297
+ { internalType: "address", name: "newDepositStrategy", type: "address" }
1298
+ ],
1299
+ name: "setDepositStrategy",
1300
+ outputs: [],
1301
+ stateMutability: "nonpayable",
1302
+ type: "function"
1303
+ },
1304
+ {
1305
+ inputs: [{ internalType: "bool", name: "status", type: "bool" }],
1306
+ name: "setDepositWhitelist",
1307
+ outputs: [],
1308
+ stateMutability: "nonpayable",
1309
+ type: "function"
1310
+ },
1311
+ {
1312
+ inputs: [
1313
+ { internalType: "address", name: "account", type: "address" },
1314
+ { internalType: "bool", name: "status", type: "bool" }
1315
+ ],
1316
+ name: "setDepositorWhitelistStatus",
1317
+ outputs: [],
1318
+ stateMutability: "nonpayable",
1319
+ type: "function"
1320
+ },
1321
+ {
1322
+ inputs: [{ internalType: "address", name: "adapter_", type: "address" }],
1323
+ name: "setERC4626Adapter",
1324
+ outputs: [],
1325
+ stateMutability: "nonpayable",
1326
+ type: "function"
1327
+ },
1328
+ {
1329
+ inputs: [{ internalType: "address", name: "adapter_", type: "address" }],
1330
+ name: "setEigenLayerAdapter",
1331
+ outputs: [],
1332
+ stateMutability: "nonpayable",
1333
+ type: "function"
1334
+ },
1335
+ {
1336
+ inputs: [{ internalType: "uint256", name: "_limit", type: "uint256" }],
1337
+ name: "setLimit",
1338
+ outputs: [],
1339
+ stateMutability: "nonpayable",
1340
+ type: "function"
1341
+ },
1342
+ {
1343
+ inputs: [
1344
+ {
1345
+ internalType: "address",
1346
+ name: "newRebalanceStrategy",
1347
+ type: "address"
1348
+ }
1349
+ ],
1350
+ name: "setRebalanceStrategy",
1351
+ outputs: [],
1352
+ stateMutability: "nonpayable",
1353
+ type: "function"
1354
+ },
1355
+ {
1356
+ inputs: [
1357
+ { internalType: "uint256", name: "farmId", type: "uint256" },
1358
+ {
1359
+ components: [
1360
+ {
1361
+ internalType: "address",
1362
+ name: "distributionFarm",
1363
+ type: "address"
1364
+ },
1365
+ { internalType: "address", name: "curatorTreasury", type: "address" },
1366
+ { internalType: "address", name: "token", type: "address" },
1367
+ { internalType: "uint256", name: "curatorFeeD6", type: "uint256" },
1368
+ {
1369
+ internalType: "enum IMultiVaultStorage.Protocol",
1370
+ name: "protocol",
1371
+ type: "uint8"
1372
+ },
1373
+ { internalType: "bytes", name: "data", type: "bytes" }
1374
+ ],
1375
+ internalType: "struct IMultiVaultStorage.RewardData",
1376
+ name: "rewardData",
1377
+ type: "tuple"
1378
+ }
1379
+ ],
1380
+ name: "setRewardsData",
1381
+ outputs: [],
1382
+ stateMutability: "nonpayable",
1383
+ type: "function"
1384
+ },
1385
+ {
1386
+ inputs: [{ internalType: "address", name: "adapter_", type: "address" }],
1387
+ name: "setSymbioticAdapter",
1388
+ outputs: [],
1389
+ stateMutability: "nonpayable",
1390
+ type: "function"
1391
+ },
1392
+ {
1393
+ inputs: [
1394
+ {
1395
+ internalType: "address",
1396
+ name: "newWithdrawalStrategy",
1397
+ type: "address"
1398
+ }
1399
+ ],
1400
+ name: "setWithdrawalStrategy",
1401
+ outputs: [],
1402
+ stateMutability: "nonpayable",
1403
+ type: "function"
1404
+ },
1405
+ {
1406
+ inputs: [{ internalType: "uint256", name: "index", type: "uint256" }],
1407
+ name: "subvaultAt",
1408
+ outputs: [
1409
+ {
1410
+ components: [
1411
+ {
1412
+ internalType: "enum IMultiVaultStorage.Protocol",
1413
+ name: "protocol",
1414
+ type: "uint8"
1415
+ },
1416
+ { internalType: "address", name: "vault", type: "address" },
1417
+ { internalType: "address", name: "withdrawalQueue", type: "address" }
1418
+ ],
1419
+ internalType: "struct IMultiVaultStorage.Subvault",
1420
+ name: "",
1421
+ type: "tuple"
1422
+ }
1423
+ ],
1424
+ stateMutability: "view",
1425
+ type: "function"
1426
+ },
1427
+ {
1428
+ inputs: [],
1429
+ name: "subvaultsCount",
1430
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1431
+ stateMutability: "view",
1432
+ type: "function"
1433
+ },
1434
+ {
1435
+ inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
1436
+ name: "supportsInterface",
1437
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1438
+ stateMutability: "view",
1439
+ type: "function"
1440
+ },
1441
+ {
1442
+ inputs: [],
1443
+ name: "symbioticAdapter",
1444
+ outputs: [
1445
+ { internalType: "contract IProtocolAdapter", name: "", type: "address" }
1446
+ ],
1447
+ stateMutability: "view",
1448
+ type: "function"
1449
+ },
1450
+ {
1451
+ inputs: [],
1452
+ name: "symbol",
1453
+ outputs: [{ internalType: "string", name: "", type: "string" }],
1454
+ stateMutability: "view",
1455
+ type: "function"
1456
+ },
1457
+ {
1458
+ inputs: [],
1459
+ name: "totalAssets",
1460
+ outputs: [{ internalType: "uint256", name: "assets_", type: "uint256" }],
1461
+ stateMutability: "view",
1462
+ type: "function"
1463
+ },
1464
+ {
1465
+ inputs: [],
1466
+ name: "totalSupply",
1467
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1468
+ stateMutability: "view",
1469
+ type: "function"
1470
+ },
1471
+ {
1472
+ inputs: [
1473
+ { internalType: "address", name: "to", type: "address" },
1474
+ { internalType: "uint256", name: "value", type: "uint256" }
1475
+ ],
1476
+ name: "transfer",
1477
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1478
+ stateMutability: "nonpayable",
1479
+ type: "function"
1480
+ },
1481
+ {
1482
+ inputs: [
1483
+ { internalType: "address", name: "from", type: "address" },
1484
+ { internalType: "address", name: "to", type: "address" },
1485
+ { internalType: "uint256", name: "value", type: "uint256" }
1486
+ ],
1487
+ name: "transferFrom",
1488
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1489
+ stateMutability: "nonpayable",
1490
+ type: "function"
1491
+ },
1492
+ {
1493
+ inputs: [],
1494
+ name: "unpauseDeposits",
1495
+ outputs: [],
1496
+ stateMutability: "nonpayable",
1497
+ type: "function"
1498
+ },
1499
+ {
1500
+ inputs: [],
1501
+ name: "unpauseWithdrawals",
1502
+ outputs: [],
1503
+ stateMutability: "nonpayable",
1504
+ type: "function"
1505
+ },
1506
+ {
1507
+ inputs: [
1508
+ { internalType: "uint256", name: "assets", type: "uint256" },
1509
+ { internalType: "address", name: "receiver", type: "address" },
1510
+ { internalType: "address", name: "owner", type: "address" }
1511
+ ],
1512
+ name: "withdraw",
1513
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1514
+ stateMutability: "nonpayable",
1515
+ type: "function"
1516
+ },
1517
+ {
1518
+ inputs: [],
1519
+ name: "withdrawalPause",
1520
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
1521
+ stateMutability: "view",
1522
+ type: "function"
1523
+ },
1524
+ {
1525
+ inputs: [],
1526
+ name: "withdrawalStrategy",
1527
+ outputs: [
1528
+ {
1529
+ internalType: "contract IWithdrawalStrategy",
1530
+ name: "",
1531
+ type: "address"
1532
+ }
1533
+ ],
1534
+ stateMutability: "view",
1535
+ type: "function"
1536
+ }
1537
+ ];
1538
+ const mellowRatiosStrategyAni = [
1539
+ {
1540
+ anonymous: false,
1541
+ inputs: [
1542
+ {
1543
+ indexed: true,
1544
+ internalType: "address",
1545
+ name: "vault",
1546
+ type: "address"
1547
+ },
1548
+ {
1549
+ indexed: false,
1550
+ internalType: "address[]",
1551
+ name: "subvaults",
1552
+ type: "address[]"
1553
+ },
1554
+ {
1555
+ components: [
1556
+ { internalType: "uint64", name: "minRatioD18", type: "uint64" },
1557
+ { internalType: "uint64", name: "maxRatioD18", type: "uint64" }
1558
+ ],
1559
+ indexed: false,
1560
+ internalType: "struct IRatiosStrategy.Ratio[]",
1561
+ name: "ratios",
1562
+ type: "tuple[]"
1563
+ }
1564
+ ],
1565
+ name: "RatiosSet",
1566
+ type: "event"
1567
+ },
1568
+ {
1569
+ inputs: [],
1570
+ name: "D18",
1571
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1572
+ stateMutability: "view",
1573
+ type: "function"
1574
+ },
1575
+ {
1576
+ inputs: [],
1577
+ name: "RATIOS_STRATEGY_SET_RATIOS_ROLE",
1578
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
1579
+ stateMutability: "view",
1580
+ type: "function"
1581
+ },
1582
+ {
1583
+ inputs: [
1584
+ { internalType: "address", name: "vault", type: "address" },
1585
+ { internalType: "uint256", name: "amount", type: "uint256" }
1586
+ ],
1587
+ name: "calculateDepositAmounts",
1588
+ outputs: [
1589
+ {
1590
+ components: [
1591
+ { internalType: "uint256", name: "subvaultIndex", type: "uint256" },
1592
+ { internalType: "uint256", name: "deposit", type: "uint256" }
1593
+ ],
1594
+ internalType: "struct IDepositStrategy.DepositData[]",
1595
+ name: "data",
1596
+ type: "tuple[]"
1597
+ }
1598
+ ],
1599
+ stateMutability: "view",
1600
+ type: "function"
1601
+ },
1602
+ {
1603
+ inputs: [{ internalType: "address", name: "vault", type: "address" }],
1604
+ name: "calculateRebalanceAmounts",
1605
+ outputs: [
1606
+ {
1607
+ components: [
1608
+ { internalType: "uint256", name: "subvaultIndex", type: "uint256" },
1609
+ { internalType: "uint256", name: "deposit", type: "uint256" },
1610
+ { internalType: "uint256", name: "claimable", type: "uint256" },
1611
+ { internalType: "uint256", name: "staked", type: "uint256" }
1612
+ ],
1613
+ internalType: "struct IRebalanceStrategy.RebalanceData[]",
1614
+ name: "data",
1615
+ type: "tuple[]"
1616
+ }
1617
+ ],
1618
+ stateMutability: "view",
1619
+ type: "function"
1620
+ },
1621
+ {
1622
+ inputs: [
1623
+ { internalType: "address", name: "vault", type: "address" },
1624
+ { internalType: "bool", name: "isDeposit", type: "bool" },
1625
+ { internalType: "uint256", name: "increment", type: "uint256" }
1626
+ ],
1627
+ name: "calculateState",
1628
+ outputs: [
1629
+ {
1630
+ components: [
1631
+ { internalType: "uint256", name: "min", type: "uint256" },
1632
+ { internalType: "uint256", name: "max", type: "uint256" },
1633
+ { internalType: "uint256", name: "claimable", type: "uint256" },
1634
+ { internalType: "uint256", name: "pending", type: "uint256" },
1635
+ { internalType: "uint256", name: "staked", type: "uint256" }
1636
+ ],
1637
+ internalType: "struct IRatiosStrategy.Amounts[]",
1638
+ name: "state",
1639
+ type: "tuple[]"
1640
+ },
1641
+ { internalType: "uint256", name: "liquid", type: "uint256" }
1642
+ ],
1643
+ stateMutability: "view",
1644
+ type: "function"
1645
+ },
1646
+ {
1647
+ inputs: [
1648
+ { internalType: "address", name: "vault", type: "address" },
1649
+ { internalType: "uint256", name: "amount", type: "uint256" }
1650
+ ],
1651
+ name: "calculateWithdrawalAmounts",
1652
+ outputs: [
1653
+ {
1654
+ components: [
1655
+ { internalType: "uint256", name: "subvaultIndex", type: "uint256" },
1656
+ { internalType: "uint256", name: "claimable", type: "uint256" },
1657
+ { internalType: "uint256", name: "pending", type: "uint256" },
1658
+ { internalType: "uint256", name: "staked", type: "uint256" }
1659
+ ],
1660
+ internalType: "struct IWithdrawalStrategy.WithdrawalData[]",
1661
+ name: "data",
1662
+ type: "tuple[]"
1663
+ }
1664
+ ],
1665
+ stateMutability: "view",
1666
+ type: "function"
1667
+ },
1668
+ {
1669
+ inputs: [
1670
+ { internalType: "address", name: "vault", type: "address" },
1671
+ { internalType: "address", name: "subvault", type: "address" }
1672
+ ],
1673
+ name: "ratios",
1674
+ outputs: [
1675
+ { internalType: "uint64", name: "minRatioD18", type: "uint64" },
1676
+ { internalType: "uint64", name: "maxRatioD18", type: "uint64" }
1677
+ ],
1678
+ stateMutability: "view",
1679
+ type: "function"
1680
+ },
1681
+ {
1682
+ inputs: [
1683
+ { internalType: "address", name: "vault", type: "address" },
1684
+ { internalType: "address[]", name: "subvaults", type: "address[]" },
1685
+ {
1686
+ components: [
1687
+ { internalType: "uint64", name: "minRatioD18", type: "uint64" },
1688
+ { internalType: "uint64", name: "maxRatioD18", type: "uint64" }
1689
+ ],
1690
+ internalType: "struct IRatiosStrategy.Ratio[]",
1691
+ name: "ratios_",
1692
+ type: "tuple[]"
1693
+ }
1694
+ ],
1695
+ name: "setRatios",
1696
+ outputs: [],
1697
+ stateMutability: "nonpayable",
1698
+ type: "function"
1699
+ }
1700
+ ];
1701
+ const mellowSymbioticWithdrawalQueueAbi = [
1702
+ {
1703
+ inputs: [{ internalType: "address", name: "claimer_", type: "address" }],
1704
+ stateMutability: "nonpayable",
1705
+ type: "constructor"
1706
+ },
1707
+ {
1708
+ inputs: [{ internalType: "address", name: "target", type: "address" }],
1709
+ name: "AddressEmptyCode",
1710
+ type: "error"
1711
+ },
1712
+ {
1713
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1714
+ name: "AddressInsufficientBalance",
1715
+ type: "error"
1716
+ },
1717
+ { inputs: [], name: "FailedInnerCall", type: "error" },
1718
+ { inputs: [], name: "InvalidInitialization", type: "error" },
1719
+ { inputs: [], name: "MathOverflowedMulDiv", type: "error" },
1720
+ { inputs: [], name: "NotInitializing", type: "error" },
1721
+ {
1722
+ inputs: [{ internalType: "address", name: "token", type: "address" }],
1723
+ name: "SafeERC20FailedOperation",
1724
+ type: "error"
1725
+ },
1726
+ {
1727
+ anonymous: false,
1728
+ inputs: [
1729
+ {
1730
+ indexed: true,
1731
+ internalType: "address",
1732
+ name: "account",
1733
+ type: "address"
1734
+ },
1735
+ {
1736
+ indexed: true,
1737
+ internalType: "address",
1738
+ name: "recipient",
1739
+ type: "address"
1740
+ },
1741
+ {
1742
+ indexed: false,
1743
+ internalType: "uint256",
1744
+ name: "amount",
1745
+ type: "uint256"
1746
+ }
1747
+ ],
1748
+ name: "Claimed",
1749
+ type: "event"
1750
+ },
1751
+ {
1752
+ anonymous: false,
1753
+ inputs: [
1754
+ {
1755
+ indexed: true,
1756
+ internalType: "uint256",
1757
+ name: "epoch",
1758
+ type: "uint256"
1759
+ },
1760
+ {
1761
+ indexed: false,
1762
+ internalType: "uint256",
1763
+ name: "claimedAssets",
1764
+ type: "uint256"
1765
+ }
1766
+ ],
1767
+ name: "EpochClaimed",
1768
+ type: "event"
1769
+ },
1770
+ {
1771
+ anonymous: false,
1772
+ inputs: [
1773
+ {
1774
+ indexed: false,
1775
+ internalType: "uint64",
1776
+ name: "version",
1777
+ type: "uint64"
1778
+ }
1779
+ ],
1780
+ name: "Initialized",
1781
+ type: "event"
1782
+ },
1783
+ {
1784
+ anonymous: false,
1785
+ inputs: [
1786
+ { indexed: true, internalType: "address", name: "from", type: "address" },
1787
+ { indexed: true, internalType: "address", name: "to", type: "address" },
1788
+ {
1789
+ indexed: true,
1790
+ internalType: "uint256",
1791
+ name: "epoch",
1792
+ type: "uint256"
1793
+ },
1794
+ {
1795
+ indexed: false,
1796
+ internalType: "uint256",
1797
+ name: "amount",
1798
+ type: "uint256"
1799
+ }
1800
+ ],
1801
+ name: "Transfer",
1802
+ type: "event"
1803
+ },
1804
+ {
1805
+ anonymous: false,
1806
+ inputs: [
1807
+ {
1808
+ indexed: true,
1809
+ internalType: "address",
1810
+ name: "account",
1811
+ type: "address"
1812
+ },
1813
+ {
1814
+ indexed: true,
1815
+ internalType: "uint256",
1816
+ name: "epoch",
1817
+ type: "uint256"
1818
+ },
1819
+ {
1820
+ indexed: false,
1821
+ internalType: "uint256",
1822
+ name: "amount",
1823
+ type: "uint256"
1824
+ }
1825
+ ],
1826
+ name: "WithdrawalRequested",
1827
+ type: "event"
1828
+ },
1829
+ {
1830
+ inputs: [
1831
+ { internalType: "address", name: "account", type: "address" },
1832
+ { internalType: "address", name: "recipient", type: "address" },
1833
+ { internalType: "uint256", name: "maxAmount", type: "uint256" }
1834
+ ],
1835
+ name: "claim",
1836
+ outputs: [{ internalType: "uint256", name: "amount", type: "uint256" }],
1837
+ stateMutability: "nonpayable",
1838
+ type: "function"
1839
+ },
1840
+ {
1841
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1842
+ name: "claimableAssetsOf",
1843
+ outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
1844
+ stateMutability: "view",
1845
+ type: "function"
1846
+ },
1847
+ {
1848
+ inputs: [],
1849
+ name: "claimer",
1850
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1851
+ stateMutability: "view",
1852
+ type: "function"
1853
+ },
1854
+ {
1855
+ inputs: [],
1856
+ name: "collateral",
1857
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1858
+ stateMutability: "view",
1859
+ type: "function"
1860
+ },
1861
+ {
1862
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1863
+ name: "getAccountData",
1864
+ outputs: [
1865
+ { internalType: "uint256", name: "sharesToClaimPrev", type: "uint256" },
1866
+ { internalType: "uint256", name: "sharesToClaim", type: "uint256" },
1867
+ { internalType: "uint256", name: "claimableAssets", type: "uint256" },
1868
+ { internalType: "uint256", name: "claimEpoch", type: "uint256" }
1869
+ ],
1870
+ stateMutability: "view",
1871
+ type: "function"
1872
+ },
1873
+ {
1874
+ inputs: [],
1875
+ name: "getCurrentEpoch",
1876
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1877
+ stateMutability: "view",
1878
+ type: "function"
1879
+ },
1880
+ {
1881
+ inputs: [{ internalType: "uint256", name: "epoch", type: "uint256" }],
1882
+ name: "getEpochData",
1883
+ outputs: [
1884
+ {
1885
+ components: [
1886
+ { internalType: "bool", name: "isClaimed", type: "bool" },
1887
+ { internalType: "uint256", name: "sharesToClaim", type: "uint256" },
1888
+ { internalType: "uint256", name: "claimableAssets", type: "uint256" }
1889
+ ],
1890
+ internalType: "struct ISymbioticWithdrawalQueue.EpochData",
1891
+ name: "",
1892
+ type: "tuple"
1893
+ }
1894
+ ],
1895
+ stateMutability: "view",
1896
+ type: "function"
1897
+ },
1898
+ {
1899
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1900
+ name: "handlePendingEpochs",
1901
+ outputs: [],
1902
+ stateMutability: "nonpayable",
1903
+ type: "function"
1904
+ },
1905
+ {
1906
+ inputs: [
1907
+ { internalType: "address", name: "vault_", type: "address" },
1908
+ { internalType: "address", name: "symbioticVault_", type: "address" }
1909
+ ],
1910
+ name: "initialize",
1911
+ outputs: [],
1912
+ stateMutability: "nonpayable",
1913
+ type: "function"
1914
+ },
1915
+ {
1916
+ inputs: [],
1917
+ name: "pendingAssets",
1918
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1919
+ stateMutability: "view",
1920
+ type: "function"
1921
+ },
1922
+ {
1923
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
1924
+ name: "pendingAssetsOf",
1925
+ outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
1926
+ stateMutability: "view",
1927
+ type: "function"
1928
+ },
1929
+ {
1930
+ inputs: [{ internalType: "uint256", name: "epoch", type: "uint256" }],
1931
+ name: "pull",
1932
+ outputs: [],
1933
+ stateMutability: "nonpayable",
1934
+ type: "function"
1935
+ },
1936
+ {
1937
+ inputs: [
1938
+ { internalType: "address", name: "account", type: "address" },
1939
+ { internalType: "uint256", name: "amount", type: "uint256" }
1940
+ ],
1941
+ name: "request",
1942
+ outputs: [],
1943
+ stateMutability: "nonpayable",
1944
+ type: "function"
1945
+ },
1946
+ {
1947
+ inputs: [],
1948
+ name: "symbioticVault",
1949
+ outputs: [{ internalType: "contract IVault", name: "", type: "address" }],
1950
+ stateMutability: "view",
1951
+ type: "function"
1952
+ },
1953
+ {
1954
+ inputs: [
1955
+ { internalType: "address", name: "to", type: "address" },
1956
+ { internalType: "uint256", name: "amount", type: "uint256" }
1957
+ ],
1958
+ name: "transferPendingAssets",
1959
+ outputs: [],
1960
+ stateMutability: "nonpayable",
1961
+ type: "function"
1962
+ },
1963
+ {
1964
+ inputs: [],
1965
+ name: "vault",
1966
+ outputs: [{ internalType: "address", name: "", type: "address" }],
1967
+ stateMutability: "view",
1968
+ type: "function"
1969
+ }
1970
+ ];
1971
+ const mellowClaimerAbi = [
1972
+ {
1973
+ inputs: [
1974
+ { internalType: "address", name: "multiVault", type: "address" },
1975
+ { internalType: "uint256[]", name: "subvaultIndices", type: "uint256[]" },
1976
+ { internalType: "uint256[][]", name: "indices", type: "uint256[][]" },
1977
+ { internalType: "address", name: "recipient", type: "address" },
1978
+ { internalType: "uint256", name: "maxAssets", type: "uint256" }
1979
+ ],
1980
+ name: "multiAcceptAndClaim",
1981
+ outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
1982
+ stateMutability: "nonpayable",
1983
+ type: "function"
1984
+ }
1985
+ ];
1986
+ const mellowVaultAbi = [
1987
+ {
1988
+ inputs: [
1989
+ { internalType: "address", name: "delegatorFactory", type: "address" },
1990
+ { internalType: "address", name: "slasherFactory", type: "address" },
1991
+ { internalType: "address", name: "vaultFactory", type: "address" }
1992
+ ],
1993
+ stateMutability: "nonpayable",
1994
+ type: "constructor"
1995
+ },
1996
+ { inputs: [], name: "AccessControlBadConfirmation", type: "error" },
1997
+ {
1998
+ inputs: [
1999
+ { internalType: "address", name: "account", type: "address" },
2000
+ { internalType: "bytes32", name: "neededRole", type: "bytes32" }
2001
+ ],
2002
+ name: "AccessControlUnauthorizedAccount",
2003
+ type: "error"
2004
+ },
2005
+ {
2006
+ inputs: [{ internalType: "address", name: "target", type: "address" }],
2007
+ name: "AddressEmptyCode",
2008
+ type: "error"
2009
+ },
2010
+ {
2011
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
2012
+ name: "AddressInsufficientBalance",
2013
+ type: "error"
2014
+ },
2015
+ { inputs: [], name: "AlreadyClaimed", type: "error" },
2016
+ { inputs: [], name: "AlreadyInitialized", type: "error" },
2017
+ { inputs: [], name: "AlreadySet", type: "error" },
2018
+ { inputs: [], name: "CheckpointUnorderedInsertion", type: "error" },
2019
+ { inputs: [], name: "DelegatorAlreadyInitialized", type: "error" },
2020
+ { inputs: [], name: "DepositLimitReached", type: "error" },
2021
+ { inputs: [], name: "FailedInnerCall", type: "error" },
2022
+ { inputs: [], name: "InsufficientClaim", type: "error" },
2023
+ { inputs: [], name: "InsufficientDeposit", type: "error" },
2024
+ { inputs: [], name: "InsufficientRedemption", type: "error" },
2025
+ { inputs: [], name: "InsufficientWithdrawal", type: "error" },
2026
+ { inputs: [], name: "InvalidAccount", type: "error" },
2027
+ { inputs: [], name: "InvalidCaptureEpoch", type: "error" },
2028
+ { inputs: [], name: "InvalidClaimer", type: "error" },
2029
+ { inputs: [], name: "InvalidCollateral", type: "error" },
2030
+ { inputs: [], name: "InvalidDelegator", type: "error" },
2031
+ { inputs: [], name: "InvalidEpoch", type: "error" },
2032
+ { inputs: [], name: "InvalidEpochDuration", type: "error" },
2033
+ { inputs: [], name: "InvalidInitialization", type: "error" },
2034
+ { inputs: [], name: "InvalidLengthEpochs", type: "error" },
2035
+ { inputs: [], name: "InvalidOnBehalfOf", type: "error" },
2036
+ { inputs: [], name: "InvalidRecipient", type: "error" },
2037
+ { inputs: [], name: "InvalidSlasher", type: "error" },
2038
+ { inputs: [], name: "InvalidTimestamp", type: "error" },
2039
+ { inputs: [], name: "MathOverflowedMulDiv", type: "error" },
2040
+ { inputs: [], name: "MissingRoles", type: "error" },
2041
+ { inputs: [], name: "NoPreviousEpoch", type: "error" },
2042
+ { inputs: [], name: "NotDelegator", type: "error" },
2043
+ { inputs: [], name: "NotFactory", type: "error" },
2044
+ { inputs: [], name: "NotInitialized", type: "error" },
2045
+ { inputs: [], name: "NotInitializing", type: "error" },
2046
+ { inputs: [], name: "NotSlasher", type: "error" },
2047
+ { inputs: [], name: "NotWhitelistedDepositor", type: "error" },
2048
+ {
2049
+ inputs: [{ internalType: "address", name: "owner", type: "address" }],
2050
+ name: "OwnableInvalidOwner",
2051
+ type: "error"
2052
+ },
2053
+ {
2054
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
2055
+ name: "OwnableUnauthorizedAccount",
2056
+ type: "error"
2057
+ },
2058
+ { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" },
2059
+ {
2060
+ inputs: [
2061
+ { internalType: "uint8", name: "bits", type: "uint8" },
2062
+ { internalType: "uint256", name: "value", type: "uint256" }
2063
+ ],
2064
+ name: "SafeCastOverflowedUintDowncast",
2065
+ type: "error"
2066
+ },
2067
+ {
2068
+ inputs: [{ internalType: "address", name: "token", type: "address" }],
2069
+ name: "SafeERC20FailedOperation",
2070
+ type: "error"
2071
+ },
2072
+ { inputs: [], name: "SlasherAlreadyInitialized", type: "error" },
2073
+ { inputs: [], name: "TooMuchRedeem", type: "error" },
2074
+ { inputs: [], name: "TooMuchWithdraw", type: "error" },
2075
+ {
2076
+ anonymous: false,
2077
+ inputs: [
2078
+ {
2079
+ indexed: true,
2080
+ internalType: "address",
2081
+ name: "claimer",
2082
+ type: "address"
2083
+ },
2084
+ {
2085
+ indexed: true,
2086
+ internalType: "address",
2087
+ name: "recipient",
2088
+ type: "address"
2089
+ },
2090
+ {
2091
+ indexed: false,
2092
+ internalType: "uint256",
2093
+ name: "epoch",
2094
+ type: "uint256"
2095
+ },
2096
+ {
2097
+ indexed: false,
2098
+ internalType: "uint256",
2099
+ name: "amount",
2100
+ type: "uint256"
2101
+ }
2102
+ ],
2103
+ name: "Claim",
2104
+ type: "event"
2105
+ },
2106
+ {
2107
+ anonymous: false,
2108
+ inputs: [
2109
+ {
2110
+ indexed: true,
2111
+ internalType: "address",
2112
+ name: "claimer",
2113
+ type: "address"
2114
+ },
2115
+ {
2116
+ indexed: true,
2117
+ internalType: "address",
2118
+ name: "recipient",
2119
+ type: "address"
2120
+ },
2121
+ {
2122
+ indexed: false,
2123
+ internalType: "uint256[]",
2124
+ name: "epochs",
2125
+ type: "uint256[]"
2126
+ },
2127
+ {
2128
+ indexed: false,
2129
+ internalType: "uint256",
2130
+ name: "amount",
2131
+ type: "uint256"
2132
+ }
2133
+ ],
2134
+ name: "ClaimBatch",
2135
+ type: "event"
2136
+ },
2137
+ {
2138
+ anonymous: false,
2139
+ inputs: [
2140
+ {
2141
+ indexed: true,
2142
+ internalType: "address",
2143
+ name: "depositor",
2144
+ type: "address"
2145
+ },
2146
+ {
2147
+ indexed: true,
2148
+ internalType: "address",
2149
+ name: "onBehalfOf",
2150
+ type: "address"
2151
+ },
2152
+ {
2153
+ indexed: false,
2154
+ internalType: "uint256",
2155
+ name: "amount",
2156
+ type: "uint256"
2157
+ },
2158
+ {
2159
+ indexed: false,
2160
+ internalType: "uint256",
2161
+ name: "shares",
2162
+ type: "uint256"
2163
+ }
2164
+ ],
2165
+ name: "Deposit",
2166
+ type: "event"
2167
+ },
2168
+ {
2169
+ anonymous: false,
2170
+ inputs: [
2171
+ {
2172
+ indexed: false,
2173
+ internalType: "uint64",
2174
+ name: "version",
2175
+ type: "uint64"
2176
+ }
2177
+ ],
2178
+ name: "Initialized",
2179
+ type: "event"
2180
+ },
2181
+ {
2182
+ anonymous: false,
2183
+ inputs: [
2184
+ {
2185
+ indexed: false,
2186
+ internalType: "uint256",
2187
+ name: "amount",
2188
+ type: "uint256"
2189
+ },
2190
+ {
2191
+ indexed: false,
2192
+ internalType: "uint48",
2193
+ name: "captureTimestamp",
2194
+ type: "uint48"
2195
+ },
2196
+ {
2197
+ indexed: false,
2198
+ internalType: "uint256",
2199
+ name: "slashedAmount",
2200
+ type: "uint256"
2201
+ }
2202
+ ],
2203
+ name: "OnSlash",
2204
+ type: "event"
2205
+ },
2206
+ {
2207
+ anonymous: false,
2208
+ inputs: [
2209
+ {
2210
+ indexed: true,
2211
+ internalType: "address",
2212
+ name: "previousOwner",
2213
+ type: "address"
2214
+ },
2215
+ {
2216
+ indexed: true,
2217
+ internalType: "address",
2218
+ name: "newOwner",
2219
+ type: "address"
2220
+ }
2221
+ ],
2222
+ name: "OwnershipTransferred",
2223
+ type: "event"
2224
+ },
2225
+ {
2226
+ anonymous: false,
2227
+ inputs: [
2228
+ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
2229
+ {
2230
+ indexed: true,
2231
+ internalType: "bytes32",
2232
+ name: "previousAdminRole",
2233
+ type: "bytes32"
2234
+ },
2235
+ {
2236
+ indexed: true,
2237
+ internalType: "bytes32",
2238
+ name: "newAdminRole",
2239
+ type: "bytes32"
2240
+ }
2241
+ ],
2242
+ name: "RoleAdminChanged",
2243
+ type: "event"
2244
+ },
2245
+ {
2246
+ anonymous: false,
2247
+ inputs: [
2248
+ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
2249
+ {
2250
+ indexed: true,
2251
+ internalType: "address",
2252
+ name: "account",
2253
+ type: "address"
2254
+ },
2255
+ {
2256
+ indexed: true,
2257
+ internalType: "address",
2258
+ name: "sender",
2259
+ type: "address"
2260
+ }
2261
+ ],
2262
+ name: "RoleGranted",
2263
+ type: "event"
2264
+ },
2265
+ {
2266
+ anonymous: false,
2267
+ inputs: [
2268
+ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
2269
+ {
2270
+ indexed: true,
2271
+ internalType: "address",
2272
+ name: "account",
2273
+ type: "address"
2274
+ },
2275
+ {
2276
+ indexed: true,
2277
+ internalType: "address",
2278
+ name: "sender",
2279
+ type: "address"
2280
+ }
2281
+ ],
2282
+ name: "RoleRevoked",
2283
+ type: "event"
2284
+ },
2285
+ {
2286
+ anonymous: false,
2287
+ inputs: [
2288
+ {
2289
+ indexed: true,
2290
+ internalType: "address",
2291
+ name: "delegator",
2292
+ type: "address"
2293
+ }
2294
+ ],
2295
+ name: "SetDelegator",
2296
+ type: "event"
2297
+ },
2298
+ {
2299
+ anonymous: false,
2300
+ inputs: [
2301
+ {
2302
+ indexed: false,
2303
+ internalType: "uint256",
2304
+ name: "limit",
2305
+ type: "uint256"
2306
+ }
2307
+ ],
2308
+ name: "SetDepositLimit",
2309
+ type: "event"
2310
+ },
2311
+ {
2312
+ anonymous: false,
2313
+ inputs: [
2314
+ { indexed: false, internalType: "bool", name: "status", type: "bool" }
2315
+ ],
2316
+ name: "SetDepositWhitelist",
2317
+ type: "event"
2318
+ },
2319
+ {
2320
+ anonymous: false,
2321
+ inputs: [
2322
+ {
2323
+ indexed: true,
2324
+ internalType: "address",
2325
+ name: "account",
2326
+ type: "address"
2327
+ },
2328
+ { indexed: false, internalType: "bool", name: "status", type: "bool" }
2329
+ ],
2330
+ name: "SetDepositorWhitelistStatus",
2331
+ type: "event"
2332
+ },
2333
+ {
2334
+ anonymous: false,
2335
+ inputs: [
2336
+ { indexed: false, internalType: "bool", name: "status", type: "bool" }
2337
+ ],
2338
+ name: "SetIsDepositLimit",
2339
+ type: "event"
2340
+ },
2341
+ {
2342
+ anonymous: false,
2343
+ inputs: [
2344
+ {
2345
+ indexed: true,
2346
+ internalType: "address",
2347
+ name: "slasher",
2348
+ type: "address"
2349
+ }
2350
+ ],
2351
+ name: "SetSlasher",
2352
+ type: "event"
2353
+ },
2354
+ {
2355
+ anonymous: false,
2356
+ inputs: [
2357
+ {
2358
+ indexed: true,
2359
+ internalType: "address",
2360
+ name: "withdrawer",
2361
+ type: "address"
2362
+ },
2363
+ {
2364
+ indexed: true,
2365
+ internalType: "address",
2366
+ name: "claimer",
2367
+ type: "address"
2368
+ },
2369
+ {
2370
+ indexed: false,
2371
+ internalType: "uint256",
2372
+ name: "amount",
2373
+ type: "uint256"
2374
+ },
2375
+ {
2376
+ indexed: false,
2377
+ internalType: "uint256",
2378
+ name: "burnedShares",
2379
+ type: "uint256"
2380
+ },
2381
+ {
2382
+ indexed: false,
2383
+ internalType: "uint256",
2384
+ name: "mintedShares",
2385
+ type: "uint256"
2386
+ }
2387
+ ],
2388
+ name: "Withdraw",
2389
+ type: "event"
2390
+ },
2391
+ {
2392
+ inputs: [],
2393
+ name: "DEFAULT_ADMIN_ROLE",
2394
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
2395
+ stateMutability: "view",
2396
+ type: "function"
2397
+ },
2398
+ {
2399
+ inputs: [],
2400
+ name: "DELEGATOR_FACTORY",
2401
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2402
+ stateMutability: "view",
2403
+ type: "function"
2404
+ },
2405
+ {
2406
+ inputs: [],
2407
+ name: "DEPOSITOR_WHITELIST_ROLE",
2408
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
2409
+ stateMutability: "view",
2410
+ type: "function"
2411
+ },
2412
+ {
2413
+ inputs: [],
2414
+ name: "DEPOSIT_LIMIT_SET_ROLE",
2415
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
2416
+ stateMutability: "view",
2417
+ type: "function"
2418
+ },
2419
+ {
2420
+ inputs: [],
2421
+ name: "DEPOSIT_WHITELIST_SET_ROLE",
2422
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
2423
+ stateMutability: "view",
2424
+ type: "function"
2425
+ },
2426
+ {
2427
+ inputs: [],
2428
+ name: "FACTORY",
2429
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2430
+ stateMutability: "view",
2431
+ type: "function"
2432
+ },
2433
+ {
2434
+ inputs: [],
2435
+ name: "IS_DEPOSIT_LIMIT_SET_ROLE",
2436
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
2437
+ stateMutability: "view",
2438
+ type: "function"
2439
+ },
2440
+ {
2441
+ inputs: [],
2442
+ name: "SLASHER_FACTORY",
2443
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2444
+ stateMutability: "view",
2445
+ type: "function"
2446
+ },
2447
+ {
2448
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
2449
+ name: "activeBalanceOf",
2450
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2451
+ stateMutability: "view",
2452
+ type: "function"
2453
+ },
2454
+ {
2455
+ inputs: [
2456
+ { internalType: "address", name: "account", type: "address" },
2457
+ { internalType: "uint48", name: "timestamp", type: "uint48" },
2458
+ { internalType: "bytes", name: "hints", type: "bytes" }
2459
+ ],
2460
+ name: "activeBalanceOfAt",
2461
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2462
+ stateMutability: "view",
2463
+ type: "function"
2464
+ },
2465
+ {
2466
+ inputs: [],
2467
+ name: "activeShares",
2468
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2469
+ stateMutability: "view",
2470
+ type: "function"
2471
+ },
2472
+ {
2473
+ inputs: [
2474
+ { internalType: "uint48", name: "timestamp", type: "uint48" },
2475
+ { internalType: "bytes", name: "hint", type: "bytes" }
2476
+ ],
2477
+ name: "activeSharesAt",
2478
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2479
+ stateMutability: "view",
2480
+ type: "function"
2481
+ },
2482
+ {
2483
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
2484
+ name: "activeSharesOf",
2485
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2486
+ stateMutability: "view",
2487
+ type: "function"
2488
+ },
2489
+ {
2490
+ inputs: [
2491
+ { internalType: "address", name: "account", type: "address" },
2492
+ { internalType: "uint48", name: "timestamp", type: "uint48" },
2493
+ { internalType: "bytes", name: "hint", type: "bytes" }
2494
+ ],
2495
+ name: "activeSharesOfAt",
2496
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2497
+ stateMutability: "view",
2498
+ type: "function"
2499
+ },
2500
+ {
2501
+ inputs: [],
2502
+ name: "activeStake",
2503
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2504
+ stateMutability: "view",
2505
+ type: "function"
2506
+ },
2507
+ {
2508
+ inputs: [
2509
+ { internalType: "uint48", name: "timestamp", type: "uint48" },
2510
+ { internalType: "bytes", name: "hint", type: "bytes" }
2511
+ ],
2512
+ name: "activeStakeAt",
2513
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2514
+ stateMutability: "view",
2515
+ type: "function"
2516
+ },
2517
+ {
2518
+ inputs: [],
2519
+ name: "burner",
2520
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2521
+ stateMutability: "view",
2522
+ type: "function"
2523
+ },
2524
+ {
2525
+ inputs: [
2526
+ { internalType: "address", name: "recipient", type: "address" },
2527
+ { internalType: "uint256", name: "epoch", type: "uint256" }
2528
+ ],
2529
+ name: "claim",
2530
+ outputs: [{ internalType: "uint256", name: "amount", type: "uint256" }],
2531
+ stateMutability: "nonpayable",
2532
+ type: "function"
2533
+ },
2534
+ {
2535
+ inputs: [
2536
+ { internalType: "address", name: "recipient", type: "address" },
2537
+ { internalType: "uint256[]", name: "epochs", type: "uint256[]" }
2538
+ ],
2539
+ name: "claimBatch",
2540
+ outputs: [{ internalType: "uint256", name: "amount", type: "uint256" }],
2541
+ stateMutability: "nonpayable",
2542
+ type: "function"
2543
+ },
2544
+ {
2545
+ inputs: [],
2546
+ name: "collateral",
2547
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2548
+ stateMutability: "view",
2549
+ type: "function"
2550
+ },
2551
+ {
2552
+ inputs: [],
2553
+ name: "currentEpoch",
2554
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2555
+ stateMutability: "view",
2556
+ type: "function"
2557
+ },
2558
+ {
2559
+ inputs: [],
2560
+ name: "currentEpochStart",
2561
+ outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
2562
+ stateMutability: "view",
2563
+ type: "function"
2564
+ },
2565
+ {
2566
+ inputs: [],
2567
+ name: "delegator",
2568
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2569
+ stateMutability: "view",
2570
+ type: "function"
2571
+ },
2572
+ {
2573
+ inputs: [
2574
+ { internalType: "address", name: "onBehalfOf", type: "address" },
2575
+ { internalType: "uint256", name: "amount", type: "uint256" }
2576
+ ],
2577
+ name: "deposit",
2578
+ outputs: [
2579
+ { internalType: "uint256", name: "depositedAmount", type: "uint256" },
2580
+ { internalType: "uint256", name: "mintedShares", type: "uint256" }
2581
+ ],
2582
+ stateMutability: "nonpayable",
2583
+ type: "function"
2584
+ },
2585
+ {
2586
+ inputs: [],
2587
+ name: "depositLimit",
2588
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2589
+ stateMutability: "view",
2590
+ type: "function"
2591
+ },
2592
+ {
2593
+ inputs: [],
2594
+ name: "depositWhitelist",
2595
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2596
+ stateMutability: "view",
2597
+ type: "function"
2598
+ },
2599
+ {
2600
+ inputs: [{ internalType: "uint48", name: "timestamp", type: "uint48" }],
2601
+ name: "epochAt",
2602
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2603
+ stateMutability: "view",
2604
+ type: "function"
2605
+ },
2606
+ {
2607
+ inputs: [],
2608
+ name: "epochDuration",
2609
+ outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
2610
+ stateMutability: "view",
2611
+ type: "function"
2612
+ },
2613
+ {
2614
+ inputs: [],
2615
+ name: "epochDurationInit",
2616
+ outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
2617
+ stateMutability: "view",
2618
+ type: "function"
2619
+ },
2620
+ {
2621
+ inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }],
2622
+ name: "getRoleAdmin",
2623
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
2624
+ stateMutability: "view",
2625
+ type: "function"
2626
+ },
2627
+ {
2628
+ inputs: [
2629
+ { internalType: "bytes32", name: "role", type: "bytes32" },
2630
+ { internalType: "address", name: "account", type: "address" }
2631
+ ],
2632
+ name: "grantRole",
2633
+ outputs: [],
2634
+ stateMutability: "nonpayable",
2635
+ type: "function"
2636
+ },
2637
+ {
2638
+ inputs: [
2639
+ { internalType: "bytes32", name: "role", type: "bytes32" },
2640
+ { internalType: "address", name: "account", type: "address" }
2641
+ ],
2642
+ name: "hasRole",
2643
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2644
+ stateMutability: "view",
2645
+ type: "function"
2646
+ },
2647
+ {
2648
+ inputs: [
2649
+ { internalType: "uint64", name: "initialVersion", type: "uint64" },
2650
+ { internalType: "address", name: "owner_", type: "address" },
2651
+ { internalType: "bytes", name: "data", type: "bytes" }
2652
+ ],
2653
+ name: "initialize",
2654
+ outputs: [],
2655
+ stateMutability: "nonpayable",
2656
+ type: "function"
2657
+ },
2658
+ {
2659
+ inputs: [],
2660
+ name: "isDelegatorInitialized",
2661
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2662
+ stateMutability: "view",
2663
+ type: "function"
2664
+ },
2665
+ {
2666
+ inputs: [],
2667
+ name: "isDepositLimit",
2668
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2669
+ stateMutability: "view",
2670
+ type: "function"
2671
+ },
2672
+ {
2673
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
2674
+ name: "isDepositorWhitelisted",
2675
+ outputs: [{ internalType: "bool", name: "value", type: "bool" }],
2676
+ stateMutability: "view",
2677
+ type: "function"
2678
+ },
2679
+ {
2680
+ inputs: [],
2681
+ name: "isInitialized",
2682
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2683
+ stateMutability: "view",
2684
+ type: "function"
2685
+ },
2686
+ {
2687
+ inputs: [],
2688
+ name: "isSlasherInitialized",
2689
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2690
+ stateMutability: "view",
2691
+ type: "function"
2692
+ },
2693
+ {
2694
+ inputs: [
2695
+ { internalType: "uint256", name: "epoch", type: "uint256" },
2696
+ { internalType: "address", name: "account", type: "address" }
2697
+ ],
2698
+ name: "isWithdrawalsClaimed",
2699
+ outputs: [{ internalType: "bool", name: "value", type: "bool" }],
2700
+ stateMutability: "view",
2701
+ type: "function"
2702
+ },
2703
+ {
2704
+ inputs: [
2705
+ { internalType: "uint64", name: "newVersion", type: "uint64" },
2706
+ { internalType: "bytes", name: "data", type: "bytes" }
2707
+ ],
2708
+ name: "migrate",
2709
+ outputs: [],
2710
+ stateMutability: "nonpayable",
2711
+ type: "function"
2712
+ },
2713
+ {
2714
+ inputs: [],
2715
+ name: "nextEpochStart",
2716
+ outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
2717
+ stateMutability: "view",
2718
+ type: "function"
2719
+ },
2720
+ {
2721
+ inputs: [
2722
+ { internalType: "uint256", name: "amount", type: "uint256" },
2723
+ { internalType: "uint48", name: "captureTimestamp", type: "uint48" }
2724
+ ],
2725
+ name: "onSlash",
2726
+ outputs: [
2727
+ { internalType: "uint256", name: "slashedAmount", type: "uint256" }
2728
+ ],
2729
+ stateMutability: "nonpayable",
2730
+ type: "function"
2731
+ },
2732
+ {
2733
+ inputs: [],
2734
+ name: "owner",
2735
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2736
+ stateMutability: "view",
2737
+ type: "function"
2738
+ },
2739
+ {
2740
+ inputs: [],
2741
+ name: "previousEpochStart",
2742
+ outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
2743
+ stateMutability: "view",
2744
+ type: "function"
2745
+ },
2746
+ {
2747
+ inputs: [
2748
+ { internalType: "address", name: "claimer", type: "address" },
2749
+ { internalType: "uint256", name: "shares", type: "uint256" }
2750
+ ],
2751
+ name: "redeem",
2752
+ outputs: [
2753
+ { internalType: "uint256", name: "withdrawnAssets", type: "uint256" },
2754
+ { internalType: "uint256", name: "mintedShares", type: "uint256" }
2755
+ ],
2756
+ stateMutability: "nonpayable",
2757
+ type: "function"
2758
+ },
2759
+ {
2760
+ inputs: [],
2761
+ name: "renounceOwnership",
2762
+ outputs: [],
2763
+ stateMutability: "nonpayable",
2764
+ type: "function"
2765
+ },
2766
+ {
2767
+ inputs: [
2768
+ { internalType: "bytes32", name: "role", type: "bytes32" },
2769
+ { internalType: "address", name: "callerConfirmation", type: "address" }
2770
+ ],
2771
+ name: "renounceRole",
2772
+ outputs: [],
2773
+ stateMutability: "nonpayable",
2774
+ type: "function"
2775
+ },
2776
+ {
2777
+ inputs: [
2778
+ { internalType: "bytes32", name: "role", type: "bytes32" },
2779
+ { internalType: "address", name: "account", type: "address" }
2780
+ ],
2781
+ name: "revokeRole",
2782
+ outputs: [],
2783
+ stateMutability: "nonpayable",
2784
+ type: "function"
2785
+ },
2786
+ {
2787
+ inputs: [{ internalType: "address", name: "delegator_", type: "address" }],
2788
+ name: "setDelegator",
2789
+ outputs: [],
2790
+ stateMutability: "nonpayable",
2791
+ type: "function"
2792
+ },
2793
+ {
2794
+ inputs: [{ internalType: "uint256", name: "limit", type: "uint256" }],
2795
+ name: "setDepositLimit",
2796
+ outputs: [],
2797
+ stateMutability: "nonpayable",
2798
+ type: "function"
2799
+ },
2800
+ {
2801
+ inputs: [{ internalType: "bool", name: "status", type: "bool" }],
2802
+ name: "setDepositWhitelist",
2803
+ outputs: [],
2804
+ stateMutability: "nonpayable",
2805
+ type: "function"
2806
+ },
2807
+ {
2808
+ inputs: [
2809
+ { internalType: "address", name: "account", type: "address" },
2810
+ { internalType: "bool", name: "status", type: "bool" }
2811
+ ],
2812
+ name: "setDepositorWhitelistStatus",
2813
+ outputs: [],
2814
+ stateMutability: "nonpayable",
2815
+ type: "function"
2816
+ },
2817
+ {
2818
+ inputs: [{ internalType: "bool", name: "status", type: "bool" }],
2819
+ name: "setIsDepositLimit",
2820
+ outputs: [],
2821
+ stateMutability: "nonpayable",
2822
+ type: "function"
2823
+ },
2824
+ {
2825
+ inputs: [{ internalType: "address", name: "slasher_", type: "address" }],
2826
+ name: "setSlasher",
2827
+ outputs: [],
2828
+ stateMutability: "nonpayable",
2829
+ type: "function"
2830
+ },
2831
+ {
2832
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
2833
+ name: "slashableBalanceOf",
2834
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2835
+ stateMutability: "view",
2836
+ type: "function"
2837
+ },
2838
+ {
2839
+ inputs: [],
2840
+ name: "slasher",
2841
+ outputs: [{ internalType: "address", name: "", type: "address" }],
2842
+ stateMutability: "view",
2843
+ type: "function"
2844
+ },
2845
+ {
2846
+ inputs: [
2847
+ { internalType: "address", name: "target", type: "address" },
2848
+ { internalType: "bytes", name: "data", type: "bytes" }
2849
+ ],
2850
+ name: "staticDelegateCall",
2851
+ outputs: [],
2852
+ stateMutability: "nonpayable",
2853
+ type: "function"
2854
+ },
2855
+ {
2856
+ inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
2857
+ name: "supportsInterface",
2858
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
2859
+ stateMutability: "view",
2860
+ type: "function"
2861
+ },
2862
+ {
2863
+ inputs: [],
2864
+ name: "totalStake",
2865
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2866
+ stateMutability: "view",
2867
+ type: "function"
2868
+ },
2869
+ {
2870
+ inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
2871
+ name: "transferOwnership",
2872
+ outputs: [],
2873
+ stateMutability: "nonpayable",
2874
+ type: "function"
2875
+ },
2876
+ {
2877
+ inputs: [],
2878
+ name: "version",
2879
+ outputs: [{ internalType: "uint64", name: "", type: "uint64" }],
2880
+ stateMutability: "view",
2881
+ type: "function"
2882
+ },
2883
+ {
2884
+ inputs: [
2885
+ { internalType: "address", name: "claimer", type: "address" },
2886
+ { internalType: "uint256", name: "amount", type: "uint256" }
2887
+ ],
2888
+ name: "withdraw",
2889
+ outputs: [
2890
+ { internalType: "uint256", name: "burnedShares", type: "uint256" },
2891
+ { internalType: "uint256", name: "mintedShares", type: "uint256" }
2892
+ ],
2893
+ stateMutability: "nonpayable",
2894
+ type: "function"
2895
+ },
2896
+ {
2897
+ inputs: [{ internalType: "uint256", name: "epoch", type: "uint256" }],
2898
+ name: "withdrawalShares",
2899
+ outputs: [{ internalType: "uint256", name: "amount", type: "uint256" }],
2900
+ stateMutability: "view",
2901
+ type: "function"
2902
+ },
2903
+ {
2904
+ inputs: [
2905
+ { internalType: "uint256", name: "epoch", type: "uint256" },
2906
+ { internalType: "address", name: "account", type: "address" }
2907
+ ],
2908
+ name: "withdrawalSharesOf",
2909
+ outputs: [{ internalType: "uint256", name: "amount", type: "uint256" }],
2910
+ stateMutability: "view",
2911
+ type: "function"
2912
+ },
2913
+ {
2914
+ inputs: [{ internalType: "uint256", name: "epoch", type: "uint256" }],
2915
+ name: "withdrawals",
2916
+ outputs: [{ internalType: "uint256", name: "amount", type: "uint256" }],
2917
+ stateMutability: "view",
2918
+ type: "function"
2919
+ },
2920
+ {
2921
+ inputs: [
2922
+ { internalType: "uint256", name: "epoch", type: "uint256" },
2923
+ { internalType: "address", name: "account", type: "address" }
2924
+ ],
2925
+ name: "withdrawalsOf",
2926
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2927
+ stateMutability: "view",
2928
+ type: "function"
2929
+ }
2930
+ ];
2931
+ // Annotate the CommonJS export names for ESM import in node:
2932
+ 0 && (module.exports = {
2933
+ mellowClaimerAbi,
2934
+ mellowMultiVaultAbi,
2935
+ mellowRatiosStrategyAni,
2936
+ mellowSymbioticWithdrawalQueueAbi,
2937
+ mellowVaultAbi
2938
+ });