@gitmyabi/vault 1.0.1 → 1.0.3

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.
@@ -7,19 +7,35 @@ import type { Address, PublicClient, WalletClient } from 'viem';
7
7
  export declare const Vault_jsonAbi: readonly [{
8
8
  readonly inputs: readonly [{
9
9
  readonly internalType: "address";
10
- readonly name: "_creator";
10
+ readonly name: "delegatorFactory";
11
11
  readonly type: "address";
12
12
  }, {
13
- readonly internalType: "contract IRateProviderRegistry";
14
- readonly name: "_rpr";
13
+ readonly internalType: "address";
14
+ readonly name: "slasherFactory";
15
15
  readonly type: "address";
16
16
  }, {
17
17
  readonly internalType: "address";
18
- readonly name: "_tasset";
18
+ readonly name: "vaultFactory";
19
19
  readonly type: "address";
20
20
  }];
21
21
  readonly stateMutability: "nonpayable";
22
22
  readonly type: "constructor";
23
+ }, {
24
+ readonly inputs: readonly [];
25
+ readonly name: "AccessControlBadConfirmation";
26
+ readonly type: "error";
27
+ }, {
28
+ readonly inputs: readonly [{
29
+ readonly internalType: "address";
30
+ readonly name: "account";
31
+ readonly type: "address";
32
+ }, {
33
+ readonly internalType: "bytes32";
34
+ readonly name: "neededRole";
35
+ readonly type: "bytes32";
36
+ }];
37
+ readonly name: "AccessControlUnauthorizedAccount";
38
+ readonly type: "error";
23
39
  }, {
24
40
  readonly inputs: readonly [{
25
41
  readonly internalType: "address";
@@ -38,7 +54,27 @@ export declare const Vault_jsonAbi: readonly [{
38
54
  readonly type: "error";
39
55
  }, {
40
56
  readonly inputs: readonly [];
41
- readonly name: "Failed";
57
+ readonly name: "AlreadyClaimed";
58
+ readonly type: "error";
59
+ }, {
60
+ readonly inputs: readonly [];
61
+ readonly name: "AlreadyInitialized";
62
+ readonly type: "error";
63
+ }, {
64
+ readonly inputs: readonly [];
65
+ readonly name: "AlreadySet";
66
+ readonly type: "error";
67
+ }, {
68
+ readonly inputs: readonly [];
69
+ readonly name: "CheckpointUnorderedInsertion";
70
+ readonly type: "error";
71
+ }, {
72
+ readonly inputs: readonly [];
73
+ readonly name: "DelegatorAlreadyInitialized";
74
+ readonly type: "error";
75
+ }, {
76
+ readonly inputs: readonly [];
77
+ readonly name: "DepositLimitReached";
42
78
  readonly type: "error";
43
79
  }, {
44
80
  readonly inputs: readonly [];
@@ -46,15 +82,107 @@ export declare const Vault_jsonAbi: readonly [{
46
82
  readonly type: "error";
47
83
  }, {
48
84
  readonly inputs: readonly [];
49
- readonly name: "InvalidAddress";
85
+ readonly name: "InsufficientClaim";
86
+ readonly type: "error";
87
+ }, {
88
+ readonly inputs: readonly [];
89
+ readonly name: "InsufficientDeposit";
90
+ readonly type: "error";
91
+ }, {
92
+ readonly inputs: readonly [];
93
+ readonly name: "InsufficientRedemption";
94
+ readonly type: "error";
95
+ }, {
96
+ readonly inputs: readonly [];
97
+ readonly name: "InsufficientWithdrawal";
98
+ readonly type: "error";
99
+ }, {
100
+ readonly inputs: readonly [];
101
+ readonly name: "InvalidAccount";
102
+ readonly type: "error";
103
+ }, {
104
+ readonly inputs: readonly [];
105
+ readonly name: "InvalidCaptureEpoch";
106
+ readonly type: "error";
107
+ }, {
108
+ readonly inputs: readonly [];
109
+ readonly name: "InvalidClaimer";
110
+ readonly type: "error";
111
+ }, {
112
+ readonly inputs: readonly [];
113
+ readonly name: "InvalidCollateral";
114
+ readonly type: "error";
115
+ }, {
116
+ readonly inputs: readonly [];
117
+ readonly name: "InvalidDelegator";
118
+ readonly type: "error";
119
+ }, {
120
+ readonly inputs: readonly [];
121
+ readonly name: "InvalidEpoch";
122
+ readonly type: "error";
123
+ }, {
124
+ readonly inputs: readonly [];
125
+ readonly name: "InvalidEpochDuration";
126
+ readonly type: "error";
127
+ }, {
128
+ readonly inputs: readonly [];
129
+ readonly name: "InvalidInitialization";
130
+ readonly type: "error";
131
+ }, {
132
+ readonly inputs: readonly [];
133
+ readonly name: "InvalidLengthEpochs";
134
+ readonly type: "error";
135
+ }, {
136
+ readonly inputs: readonly [];
137
+ readonly name: "InvalidOnBehalfOf";
138
+ readonly type: "error";
139
+ }, {
140
+ readonly inputs: readonly [];
141
+ readonly name: "InvalidRecipient";
142
+ readonly type: "error";
143
+ }, {
144
+ readonly inputs: readonly [];
145
+ readonly name: "InvalidSlasher";
146
+ readonly type: "error";
147
+ }, {
148
+ readonly inputs: readonly [];
149
+ readonly name: "InvalidTimestamp";
150
+ readonly type: "error";
151
+ }, {
152
+ readonly inputs: readonly [];
153
+ readonly name: "MathOverflowedMulDiv";
154
+ readonly type: "error";
155
+ }, {
156
+ readonly inputs: readonly [];
157
+ readonly name: "MissingRoles";
158
+ readonly type: "error";
159
+ }, {
160
+ readonly inputs: readonly [];
161
+ readonly name: "NoPreviousEpoch";
162
+ readonly type: "error";
163
+ }, {
164
+ readonly inputs: readonly [];
165
+ readonly name: "NotDelegator";
166
+ readonly type: "error";
167
+ }, {
168
+ readonly inputs: readonly [];
169
+ readonly name: "NotFactory";
170
+ readonly type: "error";
171
+ }, {
172
+ readonly inputs: readonly [];
173
+ readonly name: "NotInitialized";
174
+ readonly type: "error";
175
+ }, {
176
+ readonly inputs: readonly [];
177
+ readonly name: "NotInitializing";
50
178
  readonly type: "error";
51
179
  }, {
52
180
  readonly inputs: readonly [];
53
- readonly name: "InvalidStrategy";
181
+ readonly name: "NotSlasher";
54
182
  readonly type: "error";
55
183
  }, {
56
184
  readonly inputs: readonly [];
57
- readonly name: "NotRescuer";
185
+ readonly name: "NotWhitelistedDepositor";
58
186
  readonly type: "error";
59
187
  }, {
60
188
  readonly inputs: readonly [{
@@ -74,7 +202,19 @@ export declare const Vault_jsonAbi: readonly [{
74
202
  readonly type: "error";
75
203
  }, {
76
204
  readonly inputs: readonly [];
77
- readonly name: "RescueFailed";
205
+ readonly name: "ReentrancyGuardReentrantCall";
206
+ readonly type: "error";
207
+ }, {
208
+ readonly inputs: readonly [{
209
+ readonly internalType: "uint8";
210
+ readonly name: "bits";
211
+ readonly type: "uint8";
212
+ }, {
213
+ readonly internalType: "uint256";
214
+ readonly name: "value";
215
+ readonly type: "uint256";
216
+ }];
217
+ readonly name: "SafeCastOverflowedUintDowncast";
78
218
  readonly type: "error";
79
219
  }, {
80
220
  readonly inputs: readonly [{
@@ -86,42 +226,120 @@ export declare const Vault_jsonAbi: readonly [{
86
226
  readonly type: "error";
87
227
  }, {
88
228
  readonly inputs: readonly [];
89
- readonly name: "UnsupportedDecimals";
229
+ readonly name: "SlasherAlreadyInitialized";
230
+ readonly type: "error";
231
+ }, {
232
+ readonly inputs: readonly [];
233
+ readonly name: "TooMuchRedeem";
234
+ readonly type: "error";
235
+ }, {
236
+ readonly inputs: readonly [];
237
+ readonly name: "TooMuchWithdraw";
90
238
  readonly type: "error";
91
239
  }, {
92
240
  readonly anonymous: false;
93
241
  readonly inputs: readonly [{
94
- readonly indexed: false;
242
+ readonly indexed: true;
243
+ readonly internalType: "address";
244
+ readonly name: "claimer";
245
+ readonly type: "address";
246
+ }, {
247
+ readonly indexed: true;
95
248
  readonly internalType: "address";
96
- readonly name: "_asset";
249
+ readonly name: "recipient";
97
250
  readonly type: "address";
251
+ }, {
252
+ readonly indexed: false;
253
+ readonly internalType: "uint256";
254
+ readonly name: "epoch";
255
+ readonly type: "uint256";
256
+ }, {
257
+ readonly indexed: false;
258
+ readonly internalType: "uint256";
259
+ readonly name: "amount";
260
+ readonly type: "uint256";
98
261
  }];
99
- readonly name: "AllowableAssetAdded";
262
+ readonly name: "Claim";
100
263
  readonly type: "event";
101
264
  }, {
102
265
  readonly anonymous: false;
103
266
  readonly inputs: readonly [{
104
- readonly indexed: false;
267
+ readonly indexed: true;
268
+ readonly internalType: "address";
269
+ readonly name: "claimer";
270
+ readonly type: "address";
271
+ }, {
272
+ readonly indexed: true;
105
273
  readonly internalType: "address";
106
- readonly name: "_asset";
274
+ readonly name: "recipient";
107
275
  readonly type: "address";
276
+ }, {
277
+ readonly indexed: false;
278
+ readonly internalType: "uint256[]";
279
+ readonly name: "epochs";
280
+ readonly type: "uint256[]";
281
+ }, {
282
+ readonly indexed: false;
283
+ readonly internalType: "uint256";
284
+ readonly name: "amount";
285
+ readonly type: "uint256";
108
286
  }];
109
- readonly name: "AllowableAssetRemoved";
287
+ readonly name: "ClaimBatch";
110
288
  readonly type: "event";
111
289
  }, {
112
290
  readonly anonymous: false;
113
291
  readonly inputs: readonly [{
114
292
  readonly indexed: true;
115
293
  readonly internalType: "address";
116
- readonly name: "previousOwner";
294
+ readonly name: "depositor";
117
295
  readonly type: "address";
118
296
  }, {
119
297
  readonly indexed: true;
120
298
  readonly internalType: "address";
121
- readonly name: "newOwner";
299
+ readonly name: "onBehalfOf";
122
300
  readonly type: "address";
301
+ }, {
302
+ readonly indexed: false;
303
+ readonly internalType: "uint256";
304
+ readonly name: "amount";
305
+ readonly type: "uint256";
306
+ }, {
307
+ readonly indexed: false;
308
+ readonly internalType: "uint256";
309
+ readonly name: "shares";
310
+ readonly type: "uint256";
311
+ }];
312
+ readonly name: "Deposit";
313
+ readonly type: "event";
314
+ }, {
315
+ readonly anonymous: false;
316
+ readonly inputs: readonly [{
317
+ readonly indexed: false;
318
+ readonly internalType: "uint64";
319
+ readonly name: "version";
320
+ readonly type: "uint64";
321
+ }];
322
+ readonly name: "Initialized";
323
+ readonly type: "event";
324
+ }, {
325
+ readonly anonymous: false;
326
+ readonly inputs: readonly [{
327
+ readonly indexed: false;
328
+ readonly internalType: "uint256";
329
+ readonly name: "amount";
330
+ readonly type: "uint256";
331
+ }, {
332
+ readonly indexed: false;
333
+ readonly internalType: "uint48";
334
+ readonly name: "captureTimestamp";
335
+ readonly type: "uint48";
336
+ }, {
337
+ readonly indexed: false;
338
+ readonly internalType: "uint256";
339
+ readonly name: "slashedAmount";
340
+ readonly type: "uint256";
123
341
  }];
124
- readonly name: "OwnershipTransferStarted";
342
+ readonly name: "OnSlash";
125
343
  readonly type: "event";
126
344
  }, {
127
345
  readonly anonymous: false;
@@ -142,115 +360,594 @@ export declare const Vault_jsonAbi: readonly [{
142
360
  readonly anonymous: false;
143
361
  readonly inputs: readonly [{
144
362
  readonly indexed: true;
145
- readonly internalType: "address";
146
- readonly name: "_new";
147
- readonly type: "address";
363
+ readonly internalType: "bytes32";
364
+ readonly name: "role";
365
+ readonly type: "bytes32";
148
366
  }, {
149
- readonly indexed: false;
150
- readonly internalType: "address";
151
- readonly name: "_old";
152
- readonly type: "address";
367
+ readonly indexed: true;
368
+ readonly internalType: "bytes32";
369
+ readonly name: "previousAdminRole";
370
+ readonly type: "bytes32";
371
+ }, {
372
+ readonly indexed: true;
373
+ readonly internalType: "bytes32";
374
+ readonly name: "newAdminRole";
375
+ readonly type: "bytes32";
153
376
  }];
154
- readonly name: "RedemptionUpdated";
377
+ readonly name: "RoleAdminChanged";
155
378
  readonly type: "event";
156
379
  }, {
157
380
  readonly anonymous: false;
158
381
  readonly inputs: readonly [{
382
+ readonly indexed: true;
383
+ readonly internalType: "bytes32";
384
+ readonly name: "role";
385
+ readonly type: "bytes32";
386
+ }, {
387
+ readonly indexed: true;
388
+ readonly internalType: "address";
389
+ readonly name: "account";
390
+ readonly type: "address";
391
+ }, {
159
392
  readonly indexed: true;
160
393
  readonly internalType: "address";
161
- readonly name: "newRescuer";
394
+ readonly name: "sender";
162
395
  readonly type: "address";
163
396
  }];
164
- readonly name: "RescuerChanged";
397
+ readonly name: "RoleGranted";
165
398
  readonly type: "event";
166
399
  }, {
167
400
  readonly anonymous: false;
168
401
  readonly inputs: readonly [{
402
+ readonly indexed: true;
403
+ readonly internalType: "bytes32";
404
+ readonly name: "role";
405
+ readonly type: "bytes32";
406
+ }, {
169
407
  readonly indexed: true;
170
408
  readonly internalType: "address";
171
- readonly name: "_new";
409
+ readonly name: "account";
172
410
  readonly type: "address";
173
411
  }, {
174
- readonly indexed: false;
412
+ readonly indexed: true;
175
413
  readonly internalType: "address";
176
- readonly name: "_old";
414
+ readonly name: "sender";
177
415
  readonly type: "address";
178
416
  }];
179
- readonly name: "StrategyStorageUpdated";
417
+ readonly name: "RoleRevoked";
180
418
  readonly type: "event";
181
419
  }, {
182
- readonly inputs: readonly [];
183
- readonly name: "RATE_PROVIDER_REGISTRY";
184
- readonly outputs: readonly [{
185
- readonly internalType: "contract IRateProviderRegistry";
186
- readonly name: "";
187
- readonly type: "address";
188
- }];
189
- readonly stateMutability: "view";
190
- readonly type: "function";
191
- }, {
192
- readonly inputs: readonly [];
193
- readonly name: "acceptOwnership";
194
- readonly outputs: readonly [];
195
- readonly stateMutability: "nonpayable";
196
- readonly type: "function";
197
- }, {
420
+ readonly anonymous: false;
198
421
  readonly inputs: readonly [{
422
+ readonly indexed: true;
199
423
  readonly internalType: "address";
200
- readonly name: "_asset";
424
+ readonly name: "delegator";
201
425
  readonly type: "address";
202
426
  }];
203
- readonly name: "addAllowableAsset";
204
- readonly outputs: readonly [];
205
- readonly stateMutability: "nonpayable";
206
- readonly type: "function";
427
+ readonly name: "SetDelegator";
428
+ readonly type: "event";
207
429
  }, {
208
- readonly inputs: readonly [];
209
- readonly name: "getAllowableAssetCount";
210
- readonly outputs: readonly [{
430
+ readonly anonymous: false;
431
+ readonly inputs: readonly [{
432
+ readonly indexed: false;
211
433
  readonly internalType: "uint256";
212
- readonly name: "";
434
+ readonly name: "limit";
213
435
  readonly type: "uint256";
214
436
  }];
215
- readonly stateMutability: "view";
216
- readonly type: "function";
437
+ readonly name: "SetDepositLimit";
438
+ readonly type: "event";
217
439
  }, {
218
- readonly inputs: readonly [];
219
- readonly name: "getAllowableAssets";
220
- readonly outputs: readonly [{
221
- readonly internalType: "address[]";
222
- readonly name: "";
223
- readonly type: "address[]";
440
+ readonly anonymous: false;
441
+ readonly inputs: readonly [{
442
+ readonly indexed: false;
443
+ readonly internalType: "bool";
444
+ readonly name: "status";
445
+ readonly type: "bool";
224
446
  }];
225
- readonly stateMutability: "view";
226
- readonly type: "function";
447
+ readonly name: "SetDepositWhitelist";
448
+ readonly type: "event";
227
449
  }, {
228
- readonly inputs: readonly [];
229
- readonly name: "getTAsset";
230
- readonly outputs: readonly [{
450
+ readonly anonymous: false;
451
+ readonly inputs: readonly [{
452
+ readonly indexed: true;
231
453
  readonly internalType: "address";
232
- readonly name: "";
454
+ readonly name: "account";
233
455
  readonly type: "address";
456
+ }, {
457
+ readonly indexed: false;
458
+ readonly internalType: "bool";
459
+ readonly name: "status";
460
+ readonly type: "bool";
234
461
  }];
235
- readonly stateMutability: "view";
236
- readonly type: "function";
462
+ readonly name: "SetDepositorWhitelistStatus";
463
+ readonly type: "event";
237
464
  }, {
238
- readonly inputs: readonly [];
239
- readonly name: "getUnderlying";
240
- readonly outputs: readonly [{
241
- readonly internalType: "address";
242
- readonly name: "";
243
- readonly type: "address";
465
+ readonly anonymous: false;
466
+ readonly inputs: readonly [{
467
+ readonly indexed: false;
468
+ readonly internalType: "bool";
469
+ readonly name: "status";
470
+ readonly type: "bool";
244
471
  }];
245
- readonly stateMutability: "view";
246
- readonly type: "function";
472
+ readonly name: "SetIsDepositLimit";
473
+ readonly type: "event";
247
474
  }, {
475
+ readonly anonymous: false;
248
476
  readonly inputs: readonly [{
477
+ readonly indexed: true;
478
+ readonly internalType: "address";
479
+ readonly name: "slasher";
480
+ readonly type: "address";
481
+ }];
482
+ readonly name: "SetSlasher";
483
+ readonly type: "event";
484
+ }, {
485
+ readonly anonymous: false;
486
+ readonly inputs: readonly [{
487
+ readonly indexed: true;
488
+ readonly internalType: "address";
489
+ readonly name: "withdrawer";
490
+ readonly type: "address";
491
+ }, {
492
+ readonly indexed: true;
493
+ readonly internalType: "address";
494
+ readonly name: "claimer";
495
+ readonly type: "address";
496
+ }, {
497
+ readonly indexed: false;
498
+ readonly internalType: "uint256";
499
+ readonly name: "amount";
500
+ readonly type: "uint256";
501
+ }, {
502
+ readonly indexed: false;
503
+ readonly internalType: "uint256";
504
+ readonly name: "burnedShares";
505
+ readonly type: "uint256";
506
+ }, {
507
+ readonly indexed: false;
508
+ readonly internalType: "uint256";
509
+ readonly name: "mintedShares";
510
+ readonly type: "uint256";
511
+ }];
512
+ readonly name: "Withdraw";
513
+ readonly type: "event";
514
+ }, {
515
+ readonly inputs: readonly [];
516
+ readonly name: "DEFAULT_ADMIN_ROLE";
517
+ readonly outputs: readonly [{
518
+ readonly internalType: "bytes32";
519
+ readonly name: "";
520
+ readonly type: "bytes32";
521
+ }];
522
+ readonly stateMutability: "view";
523
+ readonly type: "function";
524
+ }, {
525
+ readonly inputs: readonly [];
526
+ readonly name: "DELEGATOR_FACTORY";
527
+ readonly outputs: readonly [{
528
+ readonly internalType: "address";
529
+ readonly name: "";
530
+ readonly type: "address";
531
+ }];
532
+ readonly stateMutability: "view";
533
+ readonly type: "function";
534
+ }, {
535
+ readonly inputs: readonly [];
536
+ readonly name: "DEPOSITOR_WHITELIST_ROLE";
537
+ readonly outputs: readonly [{
538
+ readonly internalType: "bytes32";
539
+ readonly name: "";
540
+ readonly type: "bytes32";
541
+ }];
542
+ readonly stateMutability: "view";
543
+ readonly type: "function";
544
+ }, {
545
+ readonly inputs: readonly [];
546
+ readonly name: "DEPOSIT_LIMIT_SET_ROLE";
547
+ readonly outputs: readonly [{
548
+ readonly internalType: "bytes32";
549
+ readonly name: "";
550
+ readonly type: "bytes32";
551
+ }];
552
+ readonly stateMutability: "view";
553
+ readonly type: "function";
554
+ }, {
555
+ readonly inputs: readonly [];
556
+ readonly name: "DEPOSIT_WHITELIST_SET_ROLE";
557
+ readonly outputs: readonly [{
558
+ readonly internalType: "bytes32";
559
+ readonly name: "";
560
+ readonly type: "bytes32";
561
+ }];
562
+ readonly stateMutability: "view";
563
+ readonly type: "function";
564
+ }, {
565
+ readonly inputs: readonly [];
566
+ readonly name: "FACTORY";
567
+ readonly outputs: readonly [{
568
+ readonly internalType: "address";
569
+ readonly name: "";
570
+ readonly type: "address";
571
+ }];
572
+ readonly stateMutability: "view";
573
+ readonly type: "function";
574
+ }, {
575
+ readonly inputs: readonly [];
576
+ readonly name: "IS_DEPOSIT_LIMIT_SET_ROLE";
577
+ readonly outputs: readonly [{
578
+ readonly internalType: "bytes32";
579
+ readonly name: "";
580
+ readonly type: "bytes32";
581
+ }];
582
+ readonly stateMutability: "view";
583
+ readonly type: "function";
584
+ }, {
585
+ readonly inputs: readonly [];
586
+ readonly name: "SLASHER_FACTORY";
587
+ readonly outputs: readonly [{
588
+ readonly internalType: "address";
589
+ readonly name: "";
590
+ readonly type: "address";
591
+ }];
592
+ readonly stateMutability: "view";
593
+ readonly type: "function";
594
+ }, {
595
+ readonly inputs: readonly [{
596
+ readonly internalType: "address";
597
+ readonly name: "account";
598
+ readonly type: "address";
599
+ }];
600
+ readonly name: "activeBalanceOf";
601
+ readonly outputs: readonly [{
602
+ readonly internalType: "uint256";
603
+ readonly name: "";
604
+ readonly type: "uint256";
605
+ }];
606
+ readonly stateMutability: "view";
607
+ readonly type: "function";
608
+ }, {
609
+ readonly inputs: readonly [{
610
+ readonly internalType: "address";
611
+ readonly name: "account";
612
+ readonly type: "address";
613
+ }, {
614
+ readonly internalType: "uint48";
615
+ readonly name: "timestamp";
616
+ readonly type: "uint48";
617
+ }, {
618
+ readonly internalType: "bytes";
619
+ readonly name: "hints";
620
+ readonly type: "bytes";
621
+ }];
622
+ readonly name: "activeBalanceOfAt";
623
+ readonly outputs: readonly [{
624
+ readonly internalType: "uint256";
625
+ readonly name: "";
626
+ readonly type: "uint256";
627
+ }];
628
+ readonly stateMutability: "view";
629
+ readonly type: "function";
630
+ }, {
631
+ readonly inputs: readonly [];
632
+ readonly name: "activeShares";
633
+ readonly outputs: readonly [{
634
+ readonly internalType: "uint256";
635
+ readonly name: "";
636
+ readonly type: "uint256";
637
+ }];
638
+ readonly stateMutability: "view";
639
+ readonly type: "function";
640
+ }, {
641
+ readonly inputs: readonly [{
642
+ readonly internalType: "uint48";
643
+ readonly name: "timestamp";
644
+ readonly type: "uint48";
645
+ }, {
646
+ readonly internalType: "bytes";
647
+ readonly name: "hint";
648
+ readonly type: "bytes";
649
+ }];
650
+ readonly name: "activeSharesAt";
651
+ readonly outputs: readonly [{
652
+ readonly internalType: "uint256";
653
+ readonly name: "";
654
+ readonly type: "uint256";
655
+ }];
656
+ readonly stateMutability: "view";
657
+ readonly type: "function";
658
+ }, {
659
+ readonly inputs: readonly [{
660
+ readonly internalType: "address";
661
+ readonly name: "account";
662
+ readonly type: "address";
663
+ }];
664
+ readonly name: "activeSharesOf";
665
+ readonly outputs: readonly [{
666
+ readonly internalType: "uint256";
667
+ readonly name: "";
668
+ readonly type: "uint256";
669
+ }];
670
+ readonly stateMutability: "view";
671
+ readonly type: "function";
672
+ }, {
673
+ readonly inputs: readonly [{
674
+ readonly internalType: "address";
675
+ readonly name: "account";
676
+ readonly type: "address";
677
+ }, {
678
+ readonly internalType: "uint48";
679
+ readonly name: "timestamp";
680
+ readonly type: "uint48";
681
+ }, {
682
+ readonly internalType: "bytes";
683
+ readonly name: "hint";
684
+ readonly type: "bytes";
685
+ }];
686
+ readonly name: "activeSharesOfAt";
687
+ readonly outputs: readonly [{
688
+ readonly internalType: "uint256";
689
+ readonly name: "";
690
+ readonly type: "uint256";
691
+ }];
692
+ readonly stateMutability: "view";
693
+ readonly type: "function";
694
+ }, {
695
+ readonly inputs: readonly [];
696
+ readonly name: "activeStake";
697
+ readonly outputs: readonly [{
698
+ readonly internalType: "uint256";
699
+ readonly name: "";
700
+ readonly type: "uint256";
701
+ }];
702
+ readonly stateMutability: "view";
703
+ readonly type: "function";
704
+ }, {
705
+ readonly inputs: readonly [{
706
+ readonly internalType: "uint48";
707
+ readonly name: "timestamp";
708
+ readonly type: "uint48";
709
+ }, {
710
+ readonly internalType: "bytes";
711
+ readonly name: "hint";
712
+ readonly type: "bytes";
713
+ }];
714
+ readonly name: "activeStakeAt";
715
+ readonly outputs: readonly [{
716
+ readonly internalType: "uint256";
717
+ readonly name: "";
718
+ readonly type: "uint256";
719
+ }];
720
+ readonly stateMutability: "view";
721
+ readonly type: "function";
722
+ }, {
723
+ readonly inputs: readonly [];
724
+ readonly name: "burner";
725
+ readonly outputs: readonly [{
726
+ readonly internalType: "address";
727
+ readonly name: "";
728
+ readonly type: "address";
729
+ }];
730
+ readonly stateMutability: "view";
731
+ readonly type: "function";
732
+ }, {
733
+ readonly inputs: readonly [{
734
+ readonly internalType: "address";
735
+ readonly name: "recipient";
736
+ readonly type: "address";
737
+ }, {
738
+ readonly internalType: "uint256";
739
+ readonly name: "epoch";
740
+ readonly type: "uint256";
741
+ }];
742
+ readonly name: "claim";
743
+ readonly outputs: readonly [{
744
+ readonly internalType: "uint256";
745
+ readonly name: "amount";
746
+ readonly type: "uint256";
747
+ }];
748
+ readonly stateMutability: "nonpayable";
749
+ readonly type: "function";
750
+ }, {
751
+ readonly inputs: readonly [{
752
+ readonly internalType: "address";
753
+ readonly name: "recipient";
754
+ readonly type: "address";
755
+ }, {
756
+ readonly internalType: "uint256[]";
757
+ readonly name: "epochs";
758
+ readonly type: "uint256[]";
759
+ }];
760
+ readonly name: "claimBatch";
761
+ readonly outputs: readonly [{
762
+ readonly internalType: "uint256";
763
+ readonly name: "amount";
764
+ readonly type: "uint256";
765
+ }];
766
+ readonly stateMutability: "nonpayable";
767
+ readonly type: "function";
768
+ }, {
769
+ readonly inputs: readonly [];
770
+ readonly name: "collateral";
771
+ readonly outputs: readonly [{
772
+ readonly internalType: "address";
773
+ readonly name: "";
774
+ readonly type: "address";
775
+ }];
776
+ readonly stateMutability: "view";
777
+ readonly type: "function";
778
+ }, {
779
+ readonly inputs: readonly [];
780
+ readonly name: "currentEpoch";
781
+ readonly outputs: readonly [{
782
+ readonly internalType: "uint256";
783
+ readonly name: "";
784
+ readonly type: "uint256";
785
+ }];
786
+ readonly stateMutability: "view";
787
+ readonly type: "function";
788
+ }, {
789
+ readonly inputs: readonly [];
790
+ readonly name: "currentEpochStart";
791
+ readonly outputs: readonly [{
792
+ readonly internalType: "uint48";
793
+ readonly name: "";
794
+ readonly type: "uint48";
795
+ }];
796
+ readonly stateMutability: "view";
797
+ readonly type: "function";
798
+ }, {
799
+ readonly inputs: readonly [];
800
+ readonly name: "delegator";
801
+ readonly outputs: readonly [{
802
+ readonly internalType: "address";
803
+ readonly name: "";
804
+ readonly type: "address";
805
+ }];
806
+ readonly stateMutability: "view";
807
+ readonly type: "function";
808
+ }, {
809
+ readonly inputs: readonly [{
810
+ readonly internalType: "address";
811
+ readonly name: "onBehalfOf";
812
+ readonly type: "address";
813
+ }, {
814
+ readonly internalType: "uint256";
815
+ readonly name: "amount";
816
+ readonly type: "uint256";
817
+ }];
818
+ readonly name: "deposit";
819
+ readonly outputs: readonly [{
820
+ readonly internalType: "uint256";
821
+ readonly name: "depositedAmount";
822
+ readonly type: "uint256";
823
+ }, {
824
+ readonly internalType: "uint256";
825
+ readonly name: "mintedShares";
826
+ readonly type: "uint256";
827
+ }];
828
+ readonly stateMutability: "nonpayable";
829
+ readonly type: "function";
830
+ }, {
831
+ readonly inputs: readonly [];
832
+ readonly name: "depositLimit";
833
+ readonly outputs: readonly [{
834
+ readonly internalType: "uint256";
835
+ readonly name: "";
836
+ readonly type: "uint256";
837
+ }];
838
+ readonly stateMutability: "view";
839
+ readonly type: "function";
840
+ }, {
841
+ readonly inputs: readonly [];
842
+ readonly name: "depositWhitelist";
843
+ readonly outputs: readonly [{
844
+ readonly internalType: "bool";
845
+ readonly name: "";
846
+ readonly type: "bool";
847
+ }];
848
+ readonly stateMutability: "view";
849
+ readonly type: "function";
850
+ }, {
851
+ readonly inputs: readonly [{
852
+ readonly internalType: "uint48";
853
+ readonly name: "timestamp";
854
+ readonly type: "uint48";
855
+ }];
856
+ readonly name: "epochAt";
857
+ readonly outputs: readonly [{
858
+ readonly internalType: "uint256";
859
+ readonly name: "";
860
+ readonly type: "uint256";
861
+ }];
862
+ readonly stateMutability: "view";
863
+ readonly type: "function";
864
+ }, {
865
+ readonly inputs: readonly [];
866
+ readonly name: "epochDuration";
867
+ readonly outputs: readonly [{
868
+ readonly internalType: "uint48";
869
+ readonly name: "";
870
+ readonly type: "uint48";
871
+ }];
872
+ readonly stateMutability: "view";
873
+ readonly type: "function";
874
+ }, {
875
+ readonly inputs: readonly [];
876
+ readonly name: "epochDurationInit";
877
+ readonly outputs: readonly [{
878
+ readonly internalType: "uint48";
879
+ readonly name: "";
880
+ readonly type: "uint48";
881
+ }];
882
+ readonly stateMutability: "view";
883
+ readonly type: "function";
884
+ }, {
885
+ readonly inputs: readonly [{
886
+ readonly internalType: "bytes32";
887
+ readonly name: "role";
888
+ readonly type: "bytes32";
889
+ }];
890
+ readonly name: "getRoleAdmin";
891
+ readonly outputs: readonly [{
892
+ readonly internalType: "bytes32";
893
+ readonly name: "";
894
+ readonly type: "bytes32";
895
+ }];
896
+ readonly stateMutability: "view";
897
+ readonly type: "function";
898
+ }, {
899
+ readonly inputs: readonly [{
900
+ readonly internalType: "bytes32";
901
+ readonly name: "role";
902
+ readonly type: "bytes32";
903
+ }, {
904
+ readonly internalType: "address";
905
+ readonly name: "account";
906
+ readonly type: "address";
907
+ }];
908
+ readonly name: "grantRole";
909
+ readonly outputs: readonly [];
910
+ readonly stateMutability: "nonpayable";
911
+ readonly type: "function";
912
+ }, {
913
+ readonly inputs: readonly [{
914
+ readonly internalType: "bytes32";
915
+ readonly name: "role";
916
+ readonly type: "bytes32";
917
+ }, {
918
+ readonly internalType: "address";
919
+ readonly name: "account";
920
+ readonly type: "address";
921
+ }];
922
+ readonly name: "hasRole";
923
+ readonly outputs: readonly [{
924
+ readonly internalType: "bool";
925
+ readonly name: "";
926
+ readonly type: "bool";
927
+ }];
928
+ readonly stateMutability: "view";
929
+ readonly type: "function";
930
+ }, {
931
+ readonly inputs: readonly [{
932
+ readonly internalType: "uint64";
933
+ readonly name: "initialVersion";
934
+ readonly type: "uint64";
935
+ }, {
249
936
  readonly internalType: "address";
250
- readonly name: "_asset";
937
+ readonly name: "owner_";
251
938
  readonly type: "address";
939
+ }, {
940
+ readonly internalType: "bytes";
941
+ readonly name: "data";
942
+ readonly type: "bytes";
252
943
  }];
253
- readonly name: "isAllowableAsset";
944
+ readonly name: "initialize";
945
+ readonly outputs: readonly [];
946
+ readonly stateMutability: "nonpayable";
947
+ readonly type: "function";
948
+ }, {
949
+ readonly inputs: readonly [];
950
+ readonly name: "isDelegatorInitialized";
254
951
  readonly outputs: readonly [{
255
952
  readonly internalType: "bool";
256
953
  readonly name: "";
@@ -260,27 +957,111 @@ export declare const Vault_jsonAbi: readonly [{
260
957
  readonly type: "function";
261
958
  }, {
262
959
  readonly inputs: readonly [];
263
- readonly name: "owner";
960
+ readonly name: "isDepositLimit";
264
961
  readonly outputs: readonly [{
265
- readonly internalType: "address";
962
+ readonly internalType: "bool";
266
963
  readonly name: "";
964
+ readonly type: "bool";
965
+ }];
966
+ readonly stateMutability: "view";
967
+ readonly type: "function";
968
+ }, {
969
+ readonly inputs: readonly [{
970
+ readonly internalType: "address";
971
+ readonly name: "account";
267
972
  readonly type: "address";
268
973
  }];
974
+ readonly name: "isDepositorWhitelisted";
975
+ readonly outputs: readonly [{
976
+ readonly internalType: "bool";
977
+ readonly name: "value";
978
+ readonly type: "bool";
979
+ }];
269
980
  readonly stateMutability: "view";
270
981
  readonly type: "function";
271
982
  }, {
272
983
  readonly inputs: readonly [];
273
- readonly name: "pendingOwner";
984
+ readonly name: "isInitialized";
274
985
  readonly outputs: readonly [{
275
- readonly internalType: "address";
986
+ readonly internalType: "bool";
987
+ readonly name: "";
988
+ readonly type: "bool";
989
+ }];
990
+ readonly stateMutability: "view";
991
+ readonly type: "function";
992
+ }, {
993
+ readonly inputs: readonly [];
994
+ readonly name: "isSlasherInitialized";
995
+ readonly outputs: readonly [{
996
+ readonly internalType: "bool";
276
997
  readonly name: "";
998
+ readonly type: "bool";
999
+ }];
1000
+ readonly stateMutability: "view";
1001
+ readonly type: "function";
1002
+ }, {
1003
+ readonly inputs: readonly [{
1004
+ readonly internalType: "uint256";
1005
+ readonly name: "epoch";
1006
+ readonly type: "uint256";
1007
+ }, {
1008
+ readonly internalType: "address";
1009
+ readonly name: "account";
277
1010
  readonly type: "address";
278
1011
  }];
1012
+ readonly name: "isWithdrawalsClaimed";
1013
+ readonly outputs: readonly [{
1014
+ readonly internalType: "bool";
1015
+ readonly name: "value";
1016
+ readonly type: "bool";
1017
+ }];
1018
+ readonly stateMutability: "view";
1019
+ readonly type: "function";
1020
+ }, {
1021
+ readonly inputs: readonly [{
1022
+ readonly internalType: "uint64";
1023
+ readonly name: "newVersion";
1024
+ readonly type: "uint64";
1025
+ }, {
1026
+ readonly internalType: "bytes";
1027
+ readonly name: "data";
1028
+ readonly type: "bytes";
1029
+ }];
1030
+ readonly name: "migrate";
1031
+ readonly outputs: readonly [];
1032
+ readonly stateMutability: "nonpayable";
1033
+ readonly type: "function";
1034
+ }, {
1035
+ readonly inputs: readonly [];
1036
+ readonly name: "nextEpochStart";
1037
+ readonly outputs: readonly [{
1038
+ readonly internalType: "uint48";
1039
+ readonly name: "";
1040
+ readonly type: "uint48";
1041
+ }];
279
1042
  readonly stateMutability: "view";
280
1043
  readonly type: "function";
1044
+ }, {
1045
+ readonly inputs: readonly [{
1046
+ readonly internalType: "uint256";
1047
+ readonly name: "amount";
1048
+ readonly type: "uint256";
1049
+ }, {
1050
+ readonly internalType: "uint48";
1051
+ readonly name: "captureTimestamp";
1052
+ readonly type: "uint48";
1053
+ }];
1054
+ readonly name: "onSlash";
1055
+ readonly outputs: readonly [{
1056
+ readonly internalType: "uint256";
1057
+ readonly name: "slashedAmount";
1058
+ readonly type: "uint256";
1059
+ }];
1060
+ readonly stateMutability: "nonpayable";
1061
+ readonly type: "function";
281
1062
  }, {
282
1063
  readonly inputs: readonly [];
283
- readonly name: "redemption";
1064
+ readonly name: "owner";
284
1065
  readonly outputs: readonly [{
285
1066
  readonly internalType: "address";
286
1067
  readonly name: "";
@@ -288,14 +1069,36 @@ export declare const Vault_jsonAbi: readonly [{
288
1069
  }];
289
1070
  readonly stateMutability: "view";
290
1071
  readonly type: "function";
1072
+ }, {
1073
+ readonly inputs: readonly [];
1074
+ readonly name: "previousEpochStart";
1075
+ readonly outputs: readonly [{
1076
+ readonly internalType: "uint48";
1077
+ readonly name: "";
1078
+ readonly type: "uint48";
1079
+ }];
1080
+ readonly stateMutability: "view";
1081
+ readonly type: "function";
291
1082
  }, {
292
1083
  readonly inputs: readonly [{
293
1084
  readonly internalType: "address";
294
- readonly name: "_asset";
1085
+ readonly name: "claimer";
295
1086
  readonly type: "address";
1087
+ }, {
1088
+ readonly internalType: "uint256";
1089
+ readonly name: "shares";
1090
+ readonly type: "uint256";
1091
+ }];
1092
+ readonly name: "redeem";
1093
+ readonly outputs: readonly [{
1094
+ readonly internalType: "uint256";
1095
+ readonly name: "withdrawnAssets";
1096
+ readonly type: "uint256";
1097
+ }, {
1098
+ readonly internalType: "uint256";
1099
+ readonly name: "mintedShares";
1100
+ readonly type: "uint256";
296
1101
  }];
297
- readonly name: "removeAllowableAsset";
298
- readonly outputs: readonly [];
299
1102
  readonly stateMutability: "nonpayable";
300
1103
  readonly type: "function";
301
1104
  }, {
@@ -306,35 +1109,113 @@ export declare const Vault_jsonAbi: readonly [{
306
1109
  readonly type: "function";
307
1110
  }, {
308
1111
  readonly inputs: readonly [{
309
- readonly internalType: "contract IERC20";
310
- readonly name: "tokenContract";
311
- readonly type: "address";
1112
+ readonly internalType: "bytes32";
1113
+ readonly name: "role";
1114
+ readonly type: "bytes32";
312
1115
  }, {
313
1116
  readonly internalType: "address";
314
- readonly name: "to";
1117
+ readonly name: "callerConfirmation";
315
1118
  readonly type: "address";
1119
+ }];
1120
+ readonly name: "renounceRole";
1121
+ readonly outputs: readonly [];
1122
+ readonly stateMutability: "nonpayable";
1123
+ readonly type: "function";
1124
+ }, {
1125
+ readonly inputs: readonly [{
1126
+ readonly internalType: "bytes32";
1127
+ readonly name: "role";
1128
+ readonly type: "bytes32";
316
1129
  }, {
1130
+ readonly internalType: "address";
1131
+ readonly name: "account";
1132
+ readonly type: "address";
1133
+ }];
1134
+ readonly name: "revokeRole";
1135
+ readonly outputs: readonly [];
1136
+ readonly stateMutability: "nonpayable";
1137
+ readonly type: "function";
1138
+ }, {
1139
+ readonly inputs: readonly [{
1140
+ readonly internalType: "address";
1141
+ readonly name: "delegator_";
1142
+ readonly type: "address";
1143
+ }];
1144
+ readonly name: "setDelegator";
1145
+ readonly outputs: readonly [];
1146
+ readonly stateMutability: "nonpayable";
1147
+ readonly type: "function";
1148
+ }, {
1149
+ readonly inputs: readonly [{
317
1150
  readonly internalType: "uint256";
318
- readonly name: "amount";
1151
+ readonly name: "limit";
319
1152
  readonly type: "uint256";
320
1153
  }];
321
- readonly name: "rescueERC20";
1154
+ readonly name: "setDepositLimit";
1155
+ readonly outputs: readonly [];
1156
+ readonly stateMutability: "nonpayable";
1157
+ readonly type: "function";
1158
+ }, {
1159
+ readonly inputs: readonly [{
1160
+ readonly internalType: "bool";
1161
+ readonly name: "status";
1162
+ readonly type: "bool";
1163
+ }];
1164
+ readonly name: "setDepositWhitelist";
1165
+ readonly outputs: readonly [];
1166
+ readonly stateMutability: "nonpayable";
1167
+ readonly type: "function";
1168
+ }, {
1169
+ readonly inputs: readonly [{
1170
+ readonly internalType: "address";
1171
+ readonly name: "account";
1172
+ readonly type: "address";
1173
+ }, {
1174
+ readonly internalType: "bool";
1175
+ readonly name: "status";
1176
+ readonly type: "bool";
1177
+ }];
1178
+ readonly name: "setDepositorWhitelistStatus";
1179
+ readonly outputs: readonly [];
1180
+ readonly stateMutability: "nonpayable";
1181
+ readonly type: "function";
1182
+ }, {
1183
+ readonly inputs: readonly [{
1184
+ readonly internalType: "bool";
1185
+ readonly name: "status";
1186
+ readonly type: "bool";
1187
+ }];
1188
+ readonly name: "setIsDepositLimit";
322
1189
  readonly outputs: readonly [];
323
1190
  readonly stateMutability: "nonpayable";
324
1191
  readonly type: "function";
325
1192
  }, {
326
1193
  readonly inputs: readonly [{
327
1194
  readonly internalType: "address";
328
- readonly name: "to";
1195
+ readonly name: "slasher_";
329
1196
  readonly type: "address";
330
1197
  }];
331
- readonly name: "rescueETH";
1198
+ readonly name: "setSlasher";
332
1199
  readonly outputs: readonly [];
333
1200
  readonly stateMutability: "nonpayable";
334
1201
  readonly type: "function";
1202
+ }, {
1203
+ readonly inputs: readonly [{
1204
+ readonly internalType: "address";
1205
+ readonly name: "account";
1206
+ readonly type: "address";
1207
+ }];
1208
+ readonly name: "slashableBalanceOf";
1209
+ readonly outputs: readonly [{
1210
+ readonly internalType: "uint256";
1211
+ readonly name: "";
1212
+ readonly type: "uint256";
1213
+ }];
1214
+ readonly stateMutability: "view";
1215
+ readonly type: "function";
335
1216
  }, {
336
1217
  readonly inputs: readonly [];
337
- readonly name: "rescuer";
1218
+ readonly name: "slasher";
338
1219
  readonly outputs: readonly [{
339
1220
  readonly internalType: "address";
340
1221
  readonly name: "";
@@ -345,66 +1226,146 @@ export declare const Vault_jsonAbi: readonly [{
345
1226
  }, {
346
1227
  readonly inputs: readonly [{
347
1228
  readonly internalType: "address";
348
- readonly name: "_newRedemption";
1229
+ readonly name: "target";
1230
+ readonly type: "address";
1231
+ }, {
1232
+ readonly internalType: "bytes";
1233
+ readonly name: "data";
1234
+ readonly type: "bytes";
1235
+ }];
1236
+ readonly name: "staticDelegateCall";
1237
+ readonly outputs: readonly [];
1238
+ readonly stateMutability: "nonpayable";
1239
+ readonly type: "function";
1240
+ }, {
1241
+ readonly inputs: readonly [{
1242
+ readonly internalType: "bytes4";
1243
+ readonly name: "interfaceId";
1244
+ readonly type: "bytes4";
1245
+ }];
1246
+ readonly name: "supportsInterface";
1247
+ readonly outputs: readonly [{
1248
+ readonly internalType: "bool";
1249
+ readonly name: "";
1250
+ readonly type: "bool";
1251
+ }];
1252
+ readonly stateMutability: "view";
1253
+ readonly type: "function";
1254
+ }, {
1255
+ readonly inputs: readonly [];
1256
+ readonly name: "totalStake";
1257
+ readonly outputs: readonly [{
1258
+ readonly internalType: "uint256";
1259
+ readonly name: "";
1260
+ readonly type: "uint256";
1261
+ }];
1262
+ readonly stateMutability: "view";
1263
+ readonly type: "function";
1264
+ }, {
1265
+ readonly inputs: readonly [{
1266
+ readonly internalType: "address";
1267
+ readonly name: "newOwner";
1268
+ readonly type: "address";
1269
+ }];
1270
+ readonly name: "transferOwnership";
1271
+ readonly outputs: readonly [];
1272
+ readonly stateMutability: "nonpayable";
1273
+ readonly type: "function";
1274
+ }, {
1275
+ readonly inputs: readonly [];
1276
+ readonly name: "version";
1277
+ readonly outputs: readonly [{
1278
+ readonly internalType: "uint64";
1279
+ readonly name: "";
1280
+ readonly type: "uint64";
1281
+ }];
1282
+ readonly stateMutability: "view";
1283
+ readonly type: "function";
1284
+ }, {
1285
+ readonly inputs: readonly [{
1286
+ readonly internalType: "address";
1287
+ readonly name: "claimer";
349
1288
  readonly type: "address";
1289
+ }, {
1290
+ readonly internalType: "uint256";
1291
+ readonly name: "amount";
1292
+ readonly type: "uint256";
1293
+ }];
1294
+ readonly name: "withdraw";
1295
+ readonly outputs: readonly [{
1296
+ readonly internalType: "uint256";
1297
+ readonly name: "burnedShares";
1298
+ readonly type: "uint256";
1299
+ }, {
1300
+ readonly internalType: "uint256";
1301
+ readonly name: "mintedShares";
1302
+ readonly type: "uint256";
350
1303
  }];
351
- readonly name: "setRedemption";
352
- readonly outputs: readonly [];
353
1304
  readonly stateMutability: "nonpayable";
354
1305
  readonly type: "function";
355
1306
  }, {
356
1307
  readonly inputs: readonly [{
357
- readonly internalType: "contract IStrategyStorage";
358
- readonly name: "_newStrategyStorage";
359
- readonly type: "address";
1308
+ readonly internalType: "uint256";
1309
+ readonly name: "epoch";
1310
+ readonly type: "uint256";
360
1311
  }];
361
- readonly name: "setStrategyStorage";
362
- readonly outputs: readonly [];
363
- readonly stateMutability: "nonpayable";
364
- readonly type: "function";
365
- }, {
366
- readonly inputs: readonly [];
367
- readonly name: "strategyStorage";
1312
+ readonly name: "withdrawalShares";
368
1313
  readonly outputs: readonly [{
369
- readonly internalType: "contract IStrategyStorage";
370
- readonly name: "";
371
- readonly type: "address";
1314
+ readonly internalType: "uint256";
1315
+ readonly name: "amount";
1316
+ readonly type: "uint256";
372
1317
  }];
373
1318
  readonly stateMutability: "view";
374
1319
  readonly type: "function";
375
1320
  }, {
376
1321
  readonly inputs: readonly [{
1322
+ readonly internalType: "uint256";
1323
+ readonly name: "epoch";
1324
+ readonly type: "uint256";
1325
+ }, {
377
1326
  readonly internalType: "address";
378
- readonly name: "newOwner";
1327
+ readonly name: "account";
379
1328
  readonly type: "address";
380
1329
  }];
381
- readonly name: "transferOwnership";
382
- readonly outputs: readonly [];
383
- readonly stateMutability: "nonpayable";
1330
+ readonly name: "withdrawalSharesOf";
1331
+ readonly outputs: readonly [{
1332
+ readonly internalType: "uint256";
1333
+ readonly name: "amount";
1334
+ readonly type: "uint256";
1335
+ }];
1336
+ readonly stateMutability: "view";
384
1337
  readonly type: "function";
385
1338
  }, {
386
1339
  readonly inputs: readonly [{
387
- readonly internalType: "address";
388
- readonly name: "newRescuer";
389
- readonly type: "address";
1340
+ readonly internalType: "uint256";
1341
+ readonly name: "epoch";
1342
+ readonly type: "uint256";
390
1343
  }];
391
- readonly name: "updateRescuer";
392
- readonly outputs: readonly [];
393
- readonly stateMutability: "nonpayable";
1344
+ readonly name: "withdrawals";
1345
+ readonly outputs: readonly [{
1346
+ readonly internalType: "uint256";
1347
+ readonly name: "amount";
1348
+ readonly type: "uint256";
1349
+ }];
1350
+ readonly stateMutability: "view";
394
1351
  readonly type: "function";
395
1352
  }, {
396
1353
  readonly inputs: readonly [{
1354
+ readonly internalType: "uint256";
1355
+ readonly name: "epoch";
1356
+ readonly type: "uint256";
1357
+ }, {
397
1358
  readonly internalType: "address";
398
- readonly name: "_asset";
1359
+ readonly name: "account";
399
1360
  readonly type: "address";
400
- }, {
1361
+ }];
1362
+ readonly name: "withdrawalsOf";
1363
+ readonly outputs: readonly [{
401
1364
  readonly internalType: "uint256";
402
- readonly name: "_amount";
1365
+ readonly name: "";
403
1366
  readonly type: "uint256";
404
1367
  }];
405
- readonly name: "withdraw";
406
- readonly outputs: readonly [];
407
- readonly stateMutability: "nonpayable";
1368
+ readonly stateMutability: "view";
408
1369
  readonly type: "function";
409
1370
  }];
410
1371
  /**
@@ -464,66 +1425,394 @@ export declare class Vault_json {
464
1425
  */
465
1426
  getContract(): Vault_jsonContract;
466
1427
  /**
467
- * RATE_PROVIDER_REGISTRY
1428
+ * DEFAULT_ADMIN_ROLE
1429
+ * view
1430
+ */
1431
+ DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
1432
+ /**
1433
+ * DELEGATOR_FACTORY
1434
+ * view
1435
+ */
1436
+ DELEGATOR_FACTORY(): Promise<`0x${string}`>;
1437
+ /**
1438
+ * DEPOSITOR_WHITELIST_ROLE
1439
+ * view
1440
+ */
1441
+ DEPOSITOR_WHITELIST_ROLE(): Promise<`0x${string}`>;
1442
+ /**
1443
+ * DEPOSIT_LIMIT_SET_ROLE
1444
+ * view
1445
+ */
1446
+ DEPOSIT_LIMIT_SET_ROLE(): Promise<`0x${string}`>;
1447
+ /**
1448
+ * DEPOSIT_WHITELIST_SET_ROLE
1449
+ * view
1450
+ */
1451
+ DEPOSIT_WHITELIST_SET_ROLE(): Promise<`0x${string}`>;
1452
+ /**
1453
+ * FACTORY
1454
+ * view
1455
+ */
1456
+ FACTORY(): Promise<`0x${string}`>;
1457
+ /**
1458
+ * IS_DEPOSIT_LIMIT_SET_ROLE
1459
+ * view
1460
+ */
1461
+ IS_DEPOSIT_LIMIT_SET_ROLE(): Promise<`0x${string}`>;
1462
+ /**
1463
+ * SLASHER_FACTORY
1464
+ * view
1465
+ */
1466
+ SLASHER_FACTORY(): Promise<`0x${string}`>;
1467
+ /**
1468
+ * activeBalanceOf
1469
+ * view
1470
+ */
1471
+ activeBalanceOf(account: `0x${string}`): Promise<bigint>;
1472
+ /**
1473
+ * activeBalanceOfAt
1474
+ * view
1475
+ */
1476
+ activeBalanceOfAt(account: `0x${string}`, timestamp: bigint, hints: `0x${string}`): Promise<bigint>;
1477
+ /**
1478
+ * activeShares
1479
+ * view
1480
+ */
1481
+ activeShares(): Promise<bigint>;
1482
+ /**
1483
+ * activeSharesAt
1484
+ * view
1485
+ */
1486
+ activeSharesAt(timestamp: bigint, hint: `0x${string}`): Promise<bigint>;
1487
+ /**
1488
+ * activeSharesOf
1489
+ * view
1490
+ */
1491
+ activeSharesOf(account: `0x${string}`): Promise<bigint>;
1492
+ /**
1493
+ * activeSharesOfAt
1494
+ * view
1495
+ */
1496
+ activeSharesOfAt(account: `0x${string}`, timestamp: bigint, hint: `0x${string}`): Promise<bigint>;
1497
+ /**
1498
+ * activeStake
1499
+ * view
1500
+ */
1501
+ activeStake(): Promise<bigint>;
1502
+ /**
1503
+ * activeStakeAt
1504
+ * view
1505
+ */
1506
+ activeStakeAt(timestamp: bigint, hint: `0x${string}`): Promise<bigint>;
1507
+ /**
1508
+ * burner
1509
+ * view
1510
+ */
1511
+ burner(): Promise<`0x${string}`>;
1512
+ /**
1513
+ * collateral
1514
+ * view
1515
+ */
1516
+ collateral(): Promise<`0x${string}`>;
1517
+ /**
1518
+ * currentEpoch
1519
+ * view
1520
+ */
1521
+ currentEpoch(): Promise<bigint>;
1522
+ /**
1523
+ * currentEpochStart
1524
+ * view
1525
+ */
1526
+ currentEpochStart(): Promise<bigint>;
1527
+ /**
1528
+ * delegator
1529
+ * view
1530
+ */
1531
+ delegator(): Promise<`0x${string}`>;
1532
+ /**
1533
+ * depositLimit
1534
+ * view
1535
+ */
1536
+ depositLimit(): Promise<bigint>;
1537
+ /**
1538
+ * depositWhitelist
1539
+ * view
1540
+ */
1541
+ depositWhitelist(): Promise<boolean>;
1542
+ /**
1543
+ * epochAt
1544
+ * view
1545
+ */
1546
+ epochAt(timestamp: bigint): Promise<bigint>;
1547
+ /**
1548
+ * epochDuration
1549
+ * view
1550
+ */
1551
+ epochDuration(): Promise<bigint>;
1552
+ /**
1553
+ * epochDurationInit
1554
+ * view
1555
+ */
1556
+ epochDurationInit(): Promise<bigint>;
1557
+ /**
1558
+ * getRoleAdmin
1559
+ * view
1560
+ */
1561
+ getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
1562
+ /**
1563
+ * hasRole
468
1564
  * view
469
1565
  */
470
- RATE_PROVIDER_REGISTRY(): Promise<`0x${string}`>;
1566
+ hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
471
1567
  /**
472
- * getAllowableAssetCount
1568
+ * isDelegatorInitialized
473
1569
  * view
474
1570
  */
475
- getAllowableAssetCount(): Promise<bigint>;
1571
+ isDelegatorInitialized(): Promise<boolean>;
476
1572
  /**
477
- * getAllowableAssets
1573
+ * isDepositLimit
478
1574
  * view
479
1575
  */
480
- getAllowableAssets(): Promise<`0x${string}`[]>;
1576
+ isDepositLimit(): Promise<boolean>;
481
1577
  /**
482
- * getTAsset
1578
+ * isDepositorWhitelisted
483
1579
  * view
484
1580
  */
485
- getTAsset(): Promise<`0x${string}`>;
1581
+ isDepositorWhitelisted(account: `0x${string}`): Promise<boolean>;
486
1582
  /**
487
- * getUnderlying
1583
+ * isInitialized
488
1584
  * view
489
1585
  */
490
- getUnderlying(): Promise<`0x${string}`>;
1586
+ isInitialized(): Promise<boolean>;
491
1587
  /**
492
- * isAllowableAsset
1588
+ * isSlasherInitialized
493
1589
  * view
494
1590
  */
495
- isAllowableAsset(_asset: `0x${string}`): Promise<boolean>;
1591
+ isSlasherInitialized(): Promise<boolean>;
1592
+ /**
1593
+ * isWithdrawalsClaimed
1594
+ * view
1595
+ */
1596
+ isWithdrawalsClaimed(epoch: bigint, account: `0x${string}`): Promise<boolean>;
1597
+ /**
1598
+ * nextEpochStart
1599
+ * view
1600
+ */
1601
+ nextEpochStart(): Promise<bigint>;
496
1602
  /**
497
1603
  * owner
498
1604
  * view
499
1605
  */
500
1606
  owner(): Promise<`0x${string}`>;
501
1607
  /**
502
- * pendingOwner
1608
+ * previousEpochStart
1609
+ * view
1610
+ */
1611
+ previousEpochStart(): Promise<bigint>;
1612
+ /**
1613
+ * slashableBalanceOf
1614
+ * view
1615
+ */
1616
+ slashableBalanceOf(account: `0x${string}`): Promise<bigint>;
1617
+ /**
1618
+ * slasher
1619
+ * view
1620
+ */
1621
+ slasher(): Promise<`0x${string}`>;
1622
+ /**
1623
+ * supportsInterface
1624
+ * view
1625
+ */
1626
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
1627
+ /**
1628
+ * totalStake
1629
+ * view
1630
+ */
1631
+ totalStake(): Promise<bigint>;
1632
+ /**
1633
+ * version
1634
+ * view
1635
+ */
1636
+ version(): Promise<bigint>;
1637
+ /**
1638
+ * withdrawalShares
503
1639
  * view
504
1640
  */
505
- pendingOwner(): Promise<`0x${string}`>;
1641
+ withdrawalShares(epoch: bigint): Promise<bigint>;
1642
+ /**
1643
+ * withdrawalSharesOf
1644
+ * view
1645
+ */
1646
+ withdrawalSharesOf(epoch: bigint, account: `0x${string}`): Promise<bigint>;
1647
+ /**
1648
+ * withdrawals
1649
+ * view
1650
+ */
1651
+ withdrawals(epoch: bigint): Promise<bigint>;
1652
+ /**
1653
+ * withdrawalsOf
1654
+ * view
1655
+ */
1656
+ withdrawalsOf(epoch: bigint, account: `0x${string}`): Promise<bigint>;
1657
+ /**
1658
+ * claim
1659
+ * nonpayable
1660
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1661
+ */
1662
+ claim(recipient: `0x${string}`, epoch: bigint, options?: {
1663
+ accessList?: import('viem').AccessList;
1664
+ authorizationList?: import('viem').AuthorizationList;
1665
+ chain?: import('viem').Chain | null;
1666
+ dataSuffix?: `0x${string}`;
1667
+ gas?: bigint;
1668
+ gasPrice?: bigint;
1669
+ maxFeePerGas?: bigint;
1670
+ maxPriorityFeePerGas?: bigint;
1671
+ nonce?: number;
1672
+ value?: bigint;
1673
+ }): Promise<`0x${string}`>;
1674
+ /**
1675
+ * claimBatch
1676
+ * nonpayable
1677
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1678
+ */
1679
+ claimBatch(recipient: `0x${string}`, epochs: bigint[], options?: {
1680
+ accessList?: import('viem').AccessList;
1681
+ authorizationList?: import('viem').AuthorizationList;
1682
+ chain?: import('viem').Chain | null;
1683
+ dataSuffix?: `0x${string}`;
1684
+ gas?: bigint;
1685
+ gasPrice?: bigint;
1686
+ maxFeePerGas?: bigint;
1687
+ maxPriorityFeePerGas?: bigint;
1688
+ nonce?: number;
1689
+ value?: bigint;
1690
+ }): Promise<`0x${string}`>;
1691
+ /**
1692
+ * deposit
1693
+ * nonpayable
1694
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1695
+ */
1696
+ deposit(onBehalfOf: `0x${string}`, amount: bigint, options?: {
1697
+ accessList?: import('viem').AccessList;
1698
+ authorizationList?: import('viem').AuthorizationList;
1699
+ chain?: import('viem').Chain | null;
1700
+ dataSuffix?: `0x${string}`;
1701
+ gas?: bigint;
1702
+ gasPrice?: bigint;
1703
+ maxFeePerGas?: bigint;
1704
+ maxPriorityFeePerGas?: bigint;
1705
+ nonce?: number;
1706
+ value?: bigint;
1707
+ }): Promise<`0x${string}`>;
1708
+ /**
1709
+ * grantRole
1710
+ * nonpayable
1711
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1712
+ */
1713
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1714
+ accessList?: import('viem').AccessList;
1715
+ authorizationList?: import('viem').AuthorizationList;
1716
+ chain?: import('viem').Chain | null;
1717
+ dataSuffix?: `0x${string}`;
1718
+ gas?: bigint;
1719
+ gasPrice?: bigint;
1720
+ maxFeePerGas?: bigint;
1721
+ maxPriorityFeePerGas?: bigint;
1722
+ nonce?: number;
1723
+ value?: bigint;
1724
+ }): Promise<`0x${string}`>;
1725
+ /**
1726
+ * initialize
1727
+ * nonpayable
1728
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1729
+ */
1730
+ initialize(initialVersion: bigint, owner_: `0x${string}`, data: `0x${string}`, options?: {
1731
+ accessList?: import('viem').AccessList;
1732
+ authorizationList?: import('viem').AuthorizationList;
1733
+ chain?: import('viem').Chain | null;
1734
+ dataSuffix?: `0x${string}`;
1735
+ gas?: bigint;
1736
+ gasPrice?: bigint;
1737
+ maxFeePerGas?: bigint;
1738
+ maxPriorityFeePerGas?: bigint;
1739
+ nonce?: number;
1740
+ value?: bigint;
1741
+ }): Promise<`0x${string}`>;
1742
+ /**
1743
+ * migrate
1744
+ * nonpayable
1745
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1746
+ */
1747
+ migrate(newVersion: bigint, data: `0x${string}`, options?: {
1748
+ accessList?: import('viem').AccessList;
1749
+ authorizationList?: import('viem').AuthorizationList;
1750
+ chain?: import('viem').Chain | null;
1751
+ dataSuffix?: `0x${string}`;
1752
+ gas?: bigint;
1753
+ gasPrice?: bigint;
1754
+ maxFeePerGas?: bigint;
1755
+ maxPriorityFeePerGas?: bigint;
1756
+ nonce?: number;
1757
+ value?: bigint;
1758
+ }): Promise<`0x${string}`>;
506
1759
  /**
507
- * redemption
508
- * view
1760
+ * onSlash
1761
+ * nonpayable
1762
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
509
1763
  */
510
- redemption(): Promise<`0x${string}`>;
1764
+ onSlash(amount: bigint, captureTimestamp: bigint, options?: {
1765
+ accessList?: import('viem').AccessList;
1766
+ authorizationList?: import('viem').AuthorizationList;
1767
+ chain?: import('viem').Chain | null;
1768
+ dataSuffix?: `0x${string}`;
1769
+ gas?: bigint;
1770
+ gasPrice?: bigint;
1771
+ maxFeePerGas?: bigint;
1772
+ maxPriorityFeePerGas?: bigint;
1773
+ nonce?: number;
1774
+ value?: bigint;
1775
+ }): Promise<`0x${string}`>;
511
1776
  /**
512
- * rescuer
513
- * view
1777
+ * redeem
1778
+ * nonpayable
1779
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
514
1780
  */
515
- rescuer(): Promise<`0x${string}`>;
1781
+ redeem(claimer: `0x${string}`, shares: bigint, options?: {
1782
+ accessList?: import('viem').AccessList;
1783
+ authorizationList?: import('viem').AuthorizationList;
1784
+ chain?: import('viem').Chain | null;
1785
+ dataSuffix?: `0x${string}`;
1786
+ gas?: bigint;
1787
+ gasPrice?: bigint;
1788
+ maxFeePerGas?: bigint;
1789
+ maxPriorityFeePerGas?: bigint;
1790
+ nonce?: number;
1791
+ value?: bigint;
1792
+ }): Promise<`0x${string}`>;
516
1793
  /**
517
- * strategyStorage
518
- * view
1794
+ * renounceOwnership
1795
+ * nonpayable
1796
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
519
1797
  */
520
- strategyStorage(): Promise<`0x${string}`>;
1798
+ renounceOwnership(options?: {
1799
+ accessList?: import('viem').AccessList;
1800
+ authorizationList?: import('viem').AuthorizationList;
1801
+ chain?: import('viem').Chain | null;
1802
+ dataSuffix?: `0x${string}`;
1803
+ gas?: bigint;
1804
+ gasPrice?: bigint;
1805
+ maxFeePerGas?: bigint;
1806
+ maxPriorityFeePerGas?: bigint;
1807
+ nonce?: number;
1808
+ value?: bigint;
1809
+ }): Promise<`0x${string}`>;
521
1810
  /**
522
- * acceptOwnership
1811
+ * renounceRole
523
1812
  * nonpayable
524
1813
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
525
1814
  */
526
- acceptOwnership(options?: {
1815
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
527
1816
  accessList?: import('viem').AccessList;
528
1817
  authorizationList?: import('viem').AuthorizationList;
529
1818
  chain?: import('viem').Chain | null;
@@ -536,11 +1825,11 @@ export declare class Vault_json {
536
1825
  value?: bigint;
537
1826
  }): Promise<`0x${string}`>;
538
1827
  /**
539
- * addAllowableAsset
1828
+ * revokeRole
540
1829
  * nonpayable
541
1830
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
542
1831
  */
543
- addAllowableAsset(_asset: `0x${string}`, options?: {
1832
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
544
1833
  accessList?: import('viem').AccessList;
545
1834
  authorizationList?: import('viem').AuthorizationList;
546
1835
  chain?: import('viem').Chain | null;
@@ -553,11 +1842,11 @@ export declare class Vault_json {
553
1842
  value?: bigint;
554
1843
  }): Promise<`0x${string}`>;
555
1844
  /**
556
- * removeAllowableAsset
1845
+ * setDelegator
557
1846
  * nonpayable
558
1847
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
559
1848
  */
560
- removeAllowableAsset(_asset: `0x${string}`, options?: {
1849
+ setDelegator(delegator_: `0x${string}`, options?: {
561
1850
  accessList?: import('viem').AccessList;
562
1851
  authorizationList?: import('viem').AuthorizationList;
563
1852
  chain?: import('viem').Chain | null;
@@ -570,11 +1859,11 @@ export declare class Vault_json {
570
1859
  value?: bigint;
571
1860
  }): Promise<`0x${string}`>;
572
1861
  /**
573
- * renounceOwnership
1862
+ * setDepositLimit
574
1863
  * nonpayable
575
1864
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
576
1865
  */
577
- renounceOwnership(options?: {
1866
+ setDepositLimit(limit: bigint, options?: {
578
1867
  accessList?: import('viem').AccessList;
579
1868
  authorizationList?: import('viem').AuthorizationList;
580
1869
  chain?: import('viem').Chain | null;
@@ -587,11 +1876,11 @@ export declare class Vault_json {
587
1876
  value?: bigint;
588
1877
  }): Promise<`0x${string}`>;
589
1878
  /**
590
- * rescueERC20
1879
+ * setDepositWhitelist
591
1880
  * nonpayable
592
1881
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
593
1882
  */
594
- rescueERC20(tokenContract: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
1883
+ setDepositWhitelist(status: boolean, options?: {
595
1884
  accessList?: import('viem').AccessList;
596
1885
  authorizationList?: import('viem').AuthorizationList;
597
1886
  chain?: import('viem').Chain | null;
@@ -604,11 +1893,11 @@ export declare class Vault_json {
604
1893
  value?: bigint;
605
1894
  }): Promise<`0x${string}`>;
606
1895
  /**
607
- * rescueETH
1896
+ * setDepositorWhitelistStatus
608
1897
  * nonpayable
609
1898
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
610
1899
  */
611
- rescueETH(to: `0x${string}`, options?: {
1900
+ setDepositorWhitelistStatus(account: `0x${string}`, status: boolean, options?: {
612
1901
  accessList?: import('viem').AccessList;
613
1902
  authorizationList?: import('viem').AuthorizationList;
614
1903
  chain?: import('viem').Chain | null;
@@ -621,11 +1910,11 @@ export declare class Vault_json {
621
1910
  value?: bigint;
622
1911
  }): Promise<`0x${string}`>;
623
1912
  /**
624
- * setRedemption
1913
+ * setIsDepositLimit
625
1914
  * nonpayable
626
1915
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
627
1916
  */
628
- setRedemption(_newRedemption: `0x${string}`, options?: {
1917
+ setIsDepositLimit(status: boolean, options?: {
629
1918
  accessList?: import('viem').AccessList;
630
1919
  authorizationList?: import('viem').AuthorizationList;
631
1920
  chain?: import('viem').Chain | null;
@@ -638,11 +1927,11 @@ export declare class Vault_json {
638
1927
  value?: bigint;
639
1928
  }): Promise<`0x${string}`>;
640
1929
  /**
641
- * setStrategyStorage
1930
+ * setSlasher
642
1931
  * nonpayable
643
1932
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
644
1933
  */
645
- setStrategyStorage(_newStrategyStorage: `0x${string}`, options?: {
1934
+ setSlasher(slasher_: `0x${string}`, options?: {
646
1935
  accessList?: import('viem').AccessList;
647
1936
  authorizationList?: import('viem').AuthorizationList;
648
1937
  chain?: import('viem').Chain | null;
@@ -655,11 +1944,11 @@ export declare class Vault_json {
655
1944
  value?: bigint;
656
1945
  }): Promise<`0x${string}`>;
657
1946
  /**
658
- * transferOwnership
1947
+ * staticDelegateCall
659
1948
  * nonpayable
660
1949
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
661
1950
  */
662
- transferOwnership(newOwner: `0x${string}`, options?: {
1951
+ staticDelegateCall(target: `0x${string}`, data: `0x${string}`, options?: {
663
1952
  accessList?: import('viem').AccessList;
664
1953
  authorizationList?: import('viem').AuthorizationList;
665
1954
  chain?: import('viem').Chain | null;
@@ -672,11 +1961,11 @@ export declare class Vault_json {
672
1961
  value?: bigint;
673
1962
  }): Promise<`0x${string}`>;
674
1963
  /**
675
- * updateRescuer
1964
+ * transferOwnership
676
1965
  * nonpayable
677
1966
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
678
1967
  */
679
- updateRescuer(newRescuer: `0x${string}`, options?: {
1968
+ transferOwnership(newOwner: `0x${string}`, options?: {
680
1969
  accessList?: import('viem').AccessList;
681
1970
  authorizationList?: import('viem').AuthorizationList;
682
1971
  chain?: import('viem').Chain | null;
@@ -693,7 +1982,7 @@ export declare class Vault_json {
693
1982
  * nonpayable
694
1983
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
695
1984
  */
696
- withdraw(_asset: `0x${string}`, _amount: bigint, options?: {
1985
+ withdraw(claimer: `0x${string}`, amount: bigint, options?: {
697
1986
  accessList?: import('viem').AccessList;
698
1987
  authorizationList?: import('viem').AuthorizationList;
699
1988
  chain?: import('viem').Chain | null;
@@ -715,11 +2004,62 @@ export declare class Vault_json {
715
2004
  */
716
2005
  get simulate(): {
717
2006
  /**
718
- * Simulate acceptOwnership
2007
+ * Simulate claim
2008
+ * Returns gas estimate and result without sending transaction
2009
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2010
+ */
2011
+ claim(recipient: `0x${string}`, epoch: bigint, options?: {
2012
+ accessList?: import("viem").AccessList;
2013
+ authorizationList?: import("viem").AuthorizationList;
2014
+ chain?: import("viem").Chain | null;
2015
+ dataSuffix?: `0x${string}`;
2016
+ gas?: bigint;
2017
+ gasPrice?: bigint;
2018
+ maxFeePerGas?: bigint;
2019
+ maxPriorityFeePerGas?: bigint;
2020
+ nonce?: number;
2021
+ value?: bigint;
2022
+ }): Promise<bigint>;
2023
+ /**
2024
+ * Simulate claimBatch
2025
+ * Returns gas estimate and result without sending transaction
2026
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2027
+ */
2028
+ claimBatch(recipient: `0x${string}`, epochs: bigint[], options?: {
2029
+ accessList?: import("viem").AccessList;
2030
+ authorizationList?: import("viem").AuthorizationList;
2031
+ chain?: import("viem").Chain | null;
2032
+ dataSuffix?: `0x${string}`;
2033
+ gas?: bigint;
2034
+ gasPrice?: bigint;
2035
+ maxFeePerGas?: bigint;
2036
+ maxPriorityFeePerGas?: bigint;
2037
+ nonce?: number;
2038
+ value?: bigint;
2039
+ }): Promise<bigint>;
2040
+ /**
2041
+ * Simulate deposit
2042
+ * Returns gas estimate and result without sending transaction
2043
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2044
+ */
2045
+ deposit(onBehalfOf: `0x${string}`, amount: bigint, options?: {
2046
+ accessList?: import("viem").AccessList;
2047
+ authorizationList?: import("viem").AuthorizationList;
2048
+ chain?: import("viem").Chain | null;
2049
+ dataSuffix?: `0x${string}`;
2050
+ gas?: bigint;
2051
+ gasPrice?: bigint;
2052
+ maxFeePerGas?: bigint;
2053
+ maxPriorityFeePerGas?: bigint;
2054
+ nonce?: number;
2055
+ value?: bigint;
2056
+ }): Promise<[bigint, bigint]>;
2057
+ /**
2058
+ * Simulate grantRole
719
2059
  * Returns gas estimate and result without sending transaction
720
2060
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
721
2061
  */
722
- acceptOwnership(options?: {
2062
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
723
2063
  accessList?: import("viem").AccessList;
724
2064
  authorizationList?: import("viem").AuthorizationList;
725
2065
  chain?: import("viem").Chain | null;
@@ -732,11 +2072,11 @@ export declare class Vault_json {
732
2072
  value?: bigint;
733
2073
  }): Promise<void>;
734
2074
  /**
735
- * Simulate addAllowableAsset
2075
+ * Simulate initialize
736
2076
  * Returns gas estimate and result without sending transaction
737
2077
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
738
2078
  */
739
- addAllowableAsset(_asset: `0x${string}`, options?: {
2079
+ initialize(initialVersion: bigint, owner_: `0x${string}`, data: `0x${string}`, options?: {
740
2080
  accessList?: import("viem").AccessList;
741
2081
  authorizationList?: import("viem").AuthorizationList;
742
2082
  chain?: import("viem").Chain | null;
@@ -749,11 +2089,11 @@ export declare class Vault_json {
749
2089
  value?: bigint;
750
2090
  }): Promise<void>;
751
2091
  /**
752
- * Simulate removeAllowableAsset
2092
+ * Simulate migrate
753
2093
  * Returns gas estimate and result without sending transaction
754
2094
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
755
2095
  */
756
- removeAllowableAsset(_asset: `0x${string}`, options?: {
2096
+ migrate(newVersion: bigint, data: `0x${string}`, options?: {
757
2097
  accessList?: import("viem").AccessList;
758
2098
  authorizationList?: import("viem").AuthorizationList;
759
2099
  chain?: import("viem").Chain | null;
@@ -765,6 +2105,40 @@ export declare class Vault_json {
765
2105
  nonce?: number;
766
2106
  value?: bigint;
767
2107
  }): Promise<void>;
2108
+ /**
2109
+ * Simulate onSlash
2110
+ * Returns gas estimate and result without sending transaction
2111
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2112
+ */
2113
+ onSlash(amount: bigint, captureTimestamp: bigint, options?: {
2114
+ accessList?: import("viem").AccessList;
2115
+ authorizationList?: import("viem").AuthorizationList;
2116
+ chain?: import("viem").Chain | null;
2117
+ dataSuffix?: `0x${string}`;
2118
+ gas?: bigint;
2119
+ gasPrice?: bigint;
2120
+ maxFeePerGas?: bigint;
2121
+ maxPriorityFeePerGas?: bigint;
2122
+ nonce?: number;
2123
+ value?: bigint;
2124
+ }): Promise<bigint>;
2125
+ /**
2126
+ * Simulate redeem
2127
+ * Returns gas estimate and result without sending transaction
2128
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2129
+ */
2130
+ redeem(claimer: `0x${string}`, shares: bigint, options?: {
2131
+ accessList?: import("viem").AccessList;
2132
+ authorizationList?: import("viem").AuthorizationList;
2133
+ chain?: import("viem").Chain | null;
2134
+ dataSuffix?: `0x${string}`;
2135
+ gas?: bigint;
2136
+ gasPrice?: bigint;
2137
+ maxFeePerGas?: bigint;
2138
+ maxPriorityFeePerGas?: bigint;
2139
+ nonce?: number;
2140
+ value?: bigint;
2141
+ }): Promise<[bigint, bigint]>;
768
2142
  /**
769
2143
  * Simulate renounceOwnership
770
2144
  * Returns gas estimate and result without sending transaction
@@ -783,11 +2157,11 @@ export declare class Vault_json {
783
2157
  value?: bigint;
784
2158
  }): Promise<void>;
785
2159
  /**
786
- * Simulate rescueERC20
2160
+ * Simulate renounceRole
787
2161
  * Returns gas estimate and result without sending transaction
788
2162
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
789
2163
  */
790
- rescueERC20(tokenContract: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
2164
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
791
2165
  accessList?: import("viem").AccessList;
792
2166
  authorizationList?: import("viem").AuthorizationList;
793
2167
  chain?: import("viem").Chain | null;
@@ -800,11 +2174,11 @@ export declare class Vault_json {
800
2174
  value?: bigint;
801
2175
  }): Promise<void>;
802
2176
  /**
803
- * Simulate rescueETH
2177
+ * Simulate revokeRole
804
2178
  * Returns gas estimate and result without sending transaction
805
2179
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
806
2180
  */
807
- rescueETH(to: `0x${string}`, options?: {
2181
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
808
2182
  accessList?: import("viem").AccessList;
809
2183
  authorizationList?: import("viem").AuthorizationList;
810
2184
  chain?: import("viem").Chain | null;
@@ -817,11 +2191,11 @@ export declare class Vault_json {
817
2191
  value?: bigint;
818
2192
  }): Promise<void>;
819
2193
  /**
820
- * Simulate setRedemption
2194
+ * Simulate setDelegator
821
2195
  * Returns gas estimate and result without sending transaction
822
2196
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
823
2197
  */
824
- setRedemption(_newRedemption: `0x${string}`, options?: {
2198
+ setDelegator(delegator_: `0x${string}`, options?: {
825
2199
  accessList?: import("viem").AccessList;
826
2200
  authorizationList?: import("viem").AuthorizationList;
827
2201
  chain?: import("viem").Chain | null;
@@ -834,11 +2208,11 @@ export declare class Vault_json {
834
2208
  value?: bigint;
835
2209
  }): Promise<void>;
836
2210
  /**
837
- * Simulate setStrategyStorage
2211
+ * Simulate setDepositLimit
838
2212
  * Returns gas estimate and result without sending transaction
839
2213
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
840
2214
  */
841
- setStrategyStorage(_newStrategyStorage: `0x${string}`, options?: {
2215
+ setDepositLimit(limit: bigint, options?: {
842
2216
  accessList?: import("viem").AccessList;
843
2217
  authorizationList?: import("viem").AuthorizationList;
844
2218
  chain?: import("viem").Chain | null;
@@ -851,11 +2225,11 @@ export declare class Vault_json {
851
2225
  value?: bigint;
852
2226
  }): Promise<void>;
853
2227
  /**
854
- * Simulate transferOwnership
2228
+ * Simulate setDepositWhitelist
855
2229
  * Returns gas estimate and result without sending transaction
856
2230
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
857
2231
  */
858
- transferOwnership(newOwner: `0x${string}`, options?: {
2232
+ setDepositWhitelist(status: boolean, options?: {
859
2233
  accessList?: import("viem").AccessList;
860
2234
  authorizationList?: import("viem").AuthorizationList;
861
2235
  chain?: import("viem").Chain | null;
@@ -868,11 +2242,11 @@ export declare class Vault_json {
868
2242
  value?: bigint;
869
2243
  }): Promise<void>;
870
2244
  /**
871
- * Simulate updateRescuer
2245
+ * Simulate setDepositorWhitelistStatus
872
2246
  * Returns gas estimate and result without sending transaction
873
2247
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
874
2248
  */
875
- updateRescuer(newRescuer: `0x${string}`, options?: {
2249
+ setDepositorWhitelistStatus(account: `0x${string}`, status: boolean, options?: {
876
2250
  accessList?: import("viem").AccessList;
877
2251
  authorizationList?: import("viem").AuthorizationList;
878
2252
  chain?: import("viem").Chain | null;
@@ -885,11 +2259,62 @@ export declare class Vault_json {
885
2259
  value?: bigint;
886
2260
  }): Promise<void>;
887
2261
  /**
888
- * Simulate withdraw
2262
+ * Simulate setIsDepositLimit
2263
+ * Returns gas estimate and result without sending transaction
2264
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2265
+ */
2266
+ setIsDepositLimit(status: boolean, options?: {
2267
+ accessList?: import("viem").AccessList;
2268
+ authorizationList?: import("viem").AuthorizationList;
2269
+ chain?: import("viem").Chain | null;
2270
+ dataSuffix?: `0x${string}`;
2271
+ gas?: bigint;
2272
+ gasPrice?: bigint;
2273
+ maxFeePerGas?: bigint;
2274
+ maxPriorityFeePerGas?: bigint;
2275
+ nonce?: number;
2276
+ value?: bigint;
2277
+ }): Promise<void>;
2278
+ /**
2279
+ * Simulate setSlasher
2280
+ * Returns gas estimate and result without sending transaction
2281
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2282
+ */
2283
+ setSlasher(slasher_: `0x${string}`, options?: {
2284
+ accessList?: import("viem").AccessList;
2285
+ authorizationList?: import("viem").AuthorizationList;
2286
+ chain?: import("viem").Chain | null;
2287
+ dataSuffix?: `0x${string}`;
2288
+ gas?: bigint;
2289
+ gasPrice?: bigint;
2290
+ maxFeePerGas?: bigint;
2291
+ maxPriorityFeePerGas?: bigint;
2292
+ nonce?: number;
2293
+ value?: bigint;
2294
+ }): Promise<void>;
2295
+ /**
2296
+ * Simulate staticDelegateCall
2297
+ * Returns gas estimate and result without sending transaction
2298
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2299
+ */
2300
+ staticDelegateCall(target: `0x${string}`, data: `0x${string}`, options?: {
2301
+ accessList?: import("viem").AccessList;
2302
+ authorizationList?: import("viem").AuthorizationList;
2303
+ chain?: import("viem").Chain | null;
2304
+ dataSuffix?: `0x${string}`;
2305
+ gas?: bigint;
2306
+ gasPrice?: bigint;
2307
+ maxFeePerGas?: bigint;
2308
+ maxPriorityFeePerGas?: bigint;
2309
+ nonce?: number;
2310
+ value?: bigint;
2311
+ }): Promise<void>;
2312
+ /**
2313
+ * Simulate transferOwnership
889
2314
  * Returns gas estimate and result without sending transaction
890
2315
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
891
2316
  */
892
- withdraw(_asset: `0x${string}`, _amount: bigint, options?: {
2317
+ transferOwnership(newOwner: `0x${string}`, options?: {
893
2318
  accessList?: import("viem").AccessList;
894
2319
  authorizationList?: import("viem").AuthorizationList;
895
2320
  chain?: import("viem").Chain | null;
@@ -901,6 +2326,23 @@ export declare class Vault_json {
901
2326
  nonce?: number;
902
2327
  value?: bigint;
903
2328
  }): Promise<void>;
2329
+ /**
2330
+ * Simulate withdraw
2331
+ * Returns gas estimate and result without sending transaction
2332
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2333
+ */
2334
+ withdraw(claimer: `0x${string}`, amount: bigint, options?: {
2335
+ accessList?: import("viem").AccessList;
2336
+ authorizationList?: import("viem").AuthorizationList;
2337
+ chain?: import("viem").Chain | null;
2338
+ dataSuffix?: `0x${string}`;
2339
+ gas?: bigint;
2340
+ gasPrice?: bigint;
2341
+ maxFeePerGas?: bigint;
2342
+ maxPriorityFeePerGas?: bigint;
2343
+ nonce?: number;
2344
+ value?: bigint;
2345
+ }): Promise<[bigint, bigint]>;
904
2346
  };
905
2347
  /**
906
2348
  * Watch contract events
@@ -916,36 +2358,70 @@ export declare class Vault_json {
916
2358
  */
917
2359
  get watch(): {
918
2360
  /**
919
- * Watch AllowableAssetAdded events
2361
+ * Watch Claim events
920
2362
  * @param callback Function to call when event is emitted
921
2363
  * @param filter Optional filter for indexed parameters
922
2364
  * @returns Unwatch function to stop listening
923
2365
  */
924
- AllowableAssetAdded: (callback: (event: {
925
- _asset: `0x${string}`;
926
- }) => void) => () => void;
2366
+ Claim: (callback: (event: {
2367
+ claimer: `0x${string}`;
2368
+ recipient: `0x${string}`;
2369
+ epoch: bigint;
2370
+ amount: bigint;
2371
+ }) => void, filter?: {
2372
+ claimer: `0x${string}`;
2373
+ recipient: `0x${string}`;
2374
+ }) => () => void;
927
2375
  /**
928
- * Watch AllowableAssetRemoved events
2376
+ * Watch ClaimBatch events
929
2377
  * @param callback Function to call when event is emitted
930
2378
  * @param filter Optional filter for indexed parameters
931
2379
  * @returns Unwatch function to stop listening
932
2380
  */
933
- AllowableAssetRemoved: (callback: (event: {
934
- _asset: `0x${string}`;
935
- }) => void) => () => void;
2381
+ ClaimBatch: (callback: (event: {
2382
+ claimer: `0x${string}`;
2383
+ recipient: `0x${string}`;
2384
+ epochs: bigint[];
2385
+ amount: bigint;
2386
+ }) => void, filter?: {
2387
+ claimer: `0x${string}`;
2388
+ recipient: `0x${string}`;
2389
+ }) => () => void;
936
2390
  /**
937
- * Watch OwnershipTransferStarted events
2391
+ * Watch Deposit events
938
2392
  * @param callback Function to call when event is emitted
939
2393
  * @param filter Optional filter for indexed parameters
940
2394
  * @returns Unwatch function to stop listening
941
2395
  */
942
- OwnershipTransferStarted: (callback: (event: {
943
- previousOwner: `0x${string}`;
944
- newOwner: `0x${string}`;
2396
+ Deposit: (callback: (event: {
2397
+ depositor: `0x${string}`;
2398
+ onBehalfOf: `0x${string}`;
2399
+ amount: bigint;
2400
+ shares: bigint;
945
2401
  }) => void, filter?: {
946
- previousOwner: `0x${string}`;
947
- newOwner: `0x${string}`;
2402
+ depositor: `0x${string}`;
2403
+ onBehalfOf: `0x${string}`;
948
2404
  }) => () => void;
2405
+ /**
2406
+ * Watch Initialized events
2407
+ * @param callback Function to call when event is emitted
2408
+ * @param filter Optional filter for indexed parameters
2409
+ * @returns Unwatch function to stop listening
2410
+ */
2411
+ Initialized: (callback: (event: {
2412
+ version: bigint;
2413
+ }) => void) => () => void;
2414
+ /**
2415
+ * Watch OnSlash events
2416
+ * @param callback Function to call when event is emitted
2417
+ * @param filter Optional filter for indexed parameters
2418
+ * @returns Unwatch function to stop listening
2419
+ */
2420
+ OnSlash: (callback: (event: {
2421
+ amount: bigint;
2422
+ captureTimestamp: bigint;
2423
+ slashedAmount: bigint;
2424
+ }) => void) => () => void;
949
2425
  /**
950
2426
  * Watch OwnershipTransferred events
951
2427
  * @param callback Function to call when event is emitted
@@ -960,39 +2436,126 @@ export declare class Vault_json {
960
2436
  newOwner: `0x${string}`;
961
2437
  }) => () => void;
962
2438
  /**
963
- * Watch RedemptionUpdated events
2439
+ * Watch RoleAdminChanged events
2440
+ * @param callback Function to call when event is emitted
2441
+ * @param filter Optional filter for indexed parameters
2442
+ * @returns Unwatch function to stop listening
2443
+ */
2444
+ RoleAdminChanged: (callback: (event: {
2445
+ role: `0x${string}`;
2446
+ previousAdminRole: `0x${string}`;
2447
+ newAdminRole: `0x${string}`;
2448
+ }) => void, filter?: {
2449
+ role: `0x${string}`;
2450
+ previousAdminRole: `0x${string}`;
2451
+ newAdminRole: `0x${string}`;
2452
+ }) => () => void;
2453
+ /**
2454
+ * Watch RoleGranted events
2455
+ * @param callback Function to call when event is emitted
2456
+ * @param filter Optional filter for indexed parameters
2457
+ * @returns Unwatch function to stop listening
2458
+ */
2459
+ RoleGranted: (callback: (event: {
2460
+ role: `0x${string}`;
2461
+ account: `0x${string}`;
2462
+ sender: `0x${string}`;
2463
+ }) => void, filter?: {
2464
+ role: `0x${string}`;
2465
+ account: `0x${string}`;
2466
+ sender: `0x${string}`;
2467
+ }) => () => void;
2468
+ /**
2469
+ * Watch RoleRevoked events
964
2470
  * @param callback Function to call when event is emitted
965
2471
  * @param filter Optional filter for indexed parameters
966
2472
  * @returns Unwatch function to stop listening
967
2473
  */
968
- RedemptionUpdated: (callback: (event: {
969
- _new: `0x${string}`;
970
- _old: `0x${string}`;
2474
+ RoleRevoked: (callback: (event: {
2475
+ role: `0x${string}`;
2476
+ account: `0x${string}`;
2477
+ sender: `0x${string}`;
971
2478
  }) => void, filter?: {
972
- _new: `0x${string}`;
2479
+ role: `0x${string}`;
2480
+ account: `0x${string}`;
2481
+ sender: `0x${string}`;
973
2482
  }) => () => void;
974
2483
  /**
975
- * Watch RescuerChanged events
2484
+ * Watch SetDelegator events
2485
+ * @param callback Function to call when event is emitted
2486
+ * @param filter Optional filter for indexed parameters
2487
+ * @returns Unwatch function to stop listening
2488
+ */
2489
+ SetDelegator: (callback: (event: {
2490
+ delegator: `0x${string}`;
2491
+ }) => void, filter?: {
2492
+ delegator: `0x${string}`;
2493
+ }) => () => void;
2494
+ /**
2495
+ * Watch SetDepositLimit events
2496
+ * @param callback Function to call when event is emitted
2497
+ * @param filter Optional filter for indexed parameters
2498
+ * @returns Unwatch function to stop listening
2499
+ */
2500
+ SetDepositLimit: (callback: (event: {
2501
+ limit: bigint;
2502
+ }) => void) => () => void;
2503
+ /**
2504
+ * Watch SetDepositWhitelist events
2505
+ * @param callback Function to call when event is emitted
2506
+ * @param filter Optional filter for indexed parameters
2507
+ * @returns Unwatch function to stop listening
2508
+ */
2509
+ SetDepositWhitelist: (callback: (event: {
2510
+ status: boolean;
2511
+ }) => void) => () => void;
2512
+ /**
2513
+ * Watch SetDepositorWhitelistStatus events
2514
+ * @param callback Function to call when event is emitted
2515
+ * @param filter Optional filter for indexed parameters
2516
+ * @returns Unwatch function to stop listening
2517
+ */
2518
+ SetDepositorWhitelistStatus: (callback: (event: {
2519
+ account: `0x${string}`;
2520
+ status: boolean;
2521
+ }) => void, filter?: {
2522
+ account: `0x${string}`;
2523
+ }) => () => void;
2524
+ /**
2525
+ * Watch SetIsDepositLimit events
2526
+ * @param callback Function to call when event is emitted
2527
+ * @param filter Optional filter for indexed parameters
2528
+ * @returns Unwatch function to stop listening
2529
+ */
2530
+ SetIsDepositLimit: (callback: (event: {
2531
+ status: boolean;
2532
+ }) => void) => () => void;
2533
+ /**
2534
+ * Watch SetSlasher events
976
2535
  * @param callback Function to call when event is emitted
977
2536
  * @param filter Optional filter for indexed parameters
978
2537
  * @returns Unwatch function to stop listening
979
2538
  */
980
- RescuerChanged: (callback: (event: {
981
- newRescuer: `0x${string}`;
2539
+ SetSlasher: (callback: (event: {
2540
+ slasher: `0x${string}`;
982
2541
  }) => void, filter?: {
983
- newRescuer: `0x${string}`;
2542
+ slasher: `0x${string}`;
984
2543
  }) => () => void;
985
2544
  /**
986
- * Watch StrategyStorageUpdated events
2545
+ * Watch Withdraw events
987
2546
  * @param callback Function to call when event is emitted
988
2547
  * @param filter Optional filter for indexed parameters
989
2548
  * @returns Unwatch function to stop listening
990
2549
  */
991
- StrategyStorageUpdated: (callback: (event: {
992
- _new: `0x${string}`;
993
- _old: `0x${string}`;
2550
+ Withdraw: (callback: (event: {
2551
+ withdrawer: `0x${string}`;
2552
+ claimer: `0x${string}`;
2553
+ amount: bigint;
2554
+ burnedShares: bigint;
2555
+ mintedShares: bigint;
994
2556
  }) => void, filter?: {
995
- _new: `0x${string}`;
2557
+ withdrawer: `0x${string}`;
2558
+ claimer: `0x${string}`;
996
2559
  }) => () => void;
997
2560
  };
998
2561
  }