@gitmyabi/vault 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,20 +10,55 @@ const viem_1 = require("viem");
10
10
  exports.Vault_jsonAbi = [
11
11
  {
12
12
  "inputs": [
13
+ {
14
+ "internalType": "contract IERC20",
15
+ "name": "_asset",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "contract IOracle",
20
+ "name": "_oracle",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "admin",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "address",
30
+ "name": "manager",
31
+ "type": "address"
32
+ },
13
33
  {
14
34
  "internalType": "address",
15
- "name": "delegatorFactory",
35
+ "name": "bot",
16
36
  "type": "address"
17
37
  },
18
38
  {
19
39
  "internalType": "address",
20
- "name": "slasherFactory",
40
+ "name": "guardian",
21
41
  "type": "address"
22
42
  },
23
43
  {
24
44
  "internalType": "address",
25
- "name": "vaultFactory",
45
+ "name": "_feeRecipient",
26
46
  "type": "address"
47
+ },
48
+ {
49
+ "internalType": "uint256",
50
+ "name": "_performanceFee",
51
+ "type": "uint256"
52
+ },
53
+ {
54
+ "internalType": "uint256",
55
+ "name": "_minDepositAssets",
56
+ "type": "uint256"
57
+ },
58
+ {
59
+ "internalType": "uint256",
60
+ "name": "_maxSettlementBatchSize",
61
+ "type": "uint256"
27
62
  }
28
63
  ],
29
64
  "stateMutability": "nonpayable",
@@ -61,249 +96,138 @@ exports.Vault_jsonAbi = [
61
96
  "name": "AddressEmptyCode",
62
97
  "type": "error"
63
98
  },
64
- {
65
- "inputs": [
66
- {
67
- "internalType": "address",
68
- "name": "account",
69
- "type": "address"
70
- }
71
- ],
72
- "name": "AddressInsufficientBalance",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [],
77
- "name": "AlreadyClaimed",
78
- "type": "error"
79
- },
80
- {
81
- "inputs": [],
82
- "name": "AlreadyInitialized",
83
- "type": "error"
84
- },
85
- {
86
- "inputs": [],
87
- "name": "AlreadySet",
88
- "type": "error"
89
- },
90
- {
91
- "inputs": [],
92
- "name": "CheckpointUnorderedInsertion",
93
- "type": "error"
94
- },
95
- {
96
- "inputs": [],
97
- "name": "DelegatorAlreadyInitialized",
98
- "type": "error"
99
- },
100
- {
101
- "inputs": [],
102
- "name": "DepositLimitReached",
103
- "type": "error"
104
- },
105
- {
106
- "inputs": [],
107
- "name": "FailedInnerCall",
108
- "type": "error"
109
- },
110
99
  {
111
100
  "inputs": [],
112
- "name": "InsufficientClaim",
101
+ "name": "AlreadyTracked",
113
102
  "type": "error"
114
103
  },
115
104
  {
116
105
  "inputs": [],
117
- "name": "InsufficientDeposit",
106
+ "name": "DepositTooSmall",
118
107
  "type": "error"
119
108
  },
120
109
  {
121
110
  "inputs": [],
122
- "name": "InsufficientRedemption",
111
+ "name": "EnforcedPause",
123
112
  "type": "error"
124
113
  },
125
114
  {
126
115
  "inputs": [],
127
- "name": "InsufficientWithdrawal",
116
+ "name": "ExpectedPause",
128
117
  "type": "error"
129
118
  },
130
119
  {
131
120
  "inputs": [],
132
- "name": "InvalidAccount",
121
+ "name": "FailedCall",
133
122
  "type": "error"
134
123
  },
135
124
  {
136
- "inputs": [],
137
- "name": "InvalidCaptureEpoch",
138
- "type": "error"
139
- },
140
- {
141
- "inputs": [],
142
- "name": "InvalidClaimer",
143
- "type": "error"
144
- },
145
- {
146
- "inputs": [],
147
- "name": "InvalidCollateral",
148
- "type": "error"
149
- },
150
- {
151
- "inputs": [],
152
- "name": "InvalidDelegator",
153
- "type": "error"
154
- },
155
- {
156
- "inputs": [],
157
- "name": "InvalidEpoch",
158
- "type": "error"
159
- },
160
- {
161
- "inputs": [],
162
- "name": "InvalidEpochDuration",
163
- "type": "error"
164
- },
165
- {
166
- "inputs": [],
167
- "name": "InvalidInitialization",
168
- "type": "error"
169
- },
170
- {
171
- "inputs": [],
172
- "name": "InvalidLengthEpochs",
173
- "type": "error"
174
- },
175
- {
176
- "inputs": [],
177
- "name": "InvalidOnBehalfOf",
178
- "type": "error"
179
- },
180
- {
181
- "inputs": [],
182
- "name": "InvalidRecipient",
183
- "type": "error"
184
- },
185
- {
186
- "inputs": [],
187
- "name": "InvalidSlasher",
188
- "type": "error"
189
- },
190
- {
191
- "inputs": [],
192
- "name": "InvalidTimestamp",
125
+ "inputs": [
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "balance",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "needed",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "InsufficientBalance",
193
138
  "type": "error"
194
139
  },
195
140
  {
196
141
  "inputs": [],
197
- "name": "MathOverflowedMulDiv",
142
+ "name": "InsufficientLiquidity",
198
143
  "type": "error"
199
144
  },
200
145
  {
201
146
  "inputs": [],
202
- "name": "MissingRoles",
147
+ "name": "InsufficientShares",
203
148
  "type": "error"
204
149
  },
205
150
  {
206
151
  "inputs": [],
207
- "name": "NoPreviousEpoch",
152
+ "name": "InvalidBatchSize",
208
153
  "type": "error"
209
154
  },
210
155
  {
211
156
  "inputs": [],
212
- "name": "NotDelegator",
157
+ "name": "InvalidFee",
213
158
  "type": "error"
214
159
  },
215
160
  {
216
161
  "inputs": [],
217
- "name": "NotFactory",
162
+ "name": "NotRequestOwner",
218
163
  "type": "error"
219
164
  },
220
165
  {
221
166
  "inputs": [],
222
- "name": "NotInitialized",
167
+ "name": "NotTracked",
223
168
  "type": "error"
224
169
  },
225
170
  {
226
171
  "inputs": [],
227
- "name": "NotInitializing",
172
+ "name": "OnlyHPT",
228
173
  "type": "error"
229
174
  },
230
175
  {
231
176
  "inputs": [],
232
- "name": "NotSlasher",
177
+ "name": "ReentrancyGuardReentrantCall",
233
178
  "type": "error"
234
179
  },
235
180
  {
236
181
  "inputs": [],
237
- "name": "NotWhitelistedDepositor",
182
+ "name": "RequestNotOpen",
238
183
  "type": "error"
239
184
  },
240
185
  {
241
186
  "inputs": [
242
187
  {
243
188
  "internalType": "address",
244
- "name": "owner",
189
+ "name": "token",
245
190
  "type": "address"
246
191
  }
247
192
  ],
248
- "name": "OwnableInvalidOwner",
193
+ "name": "SafeERC20FailedOperation",
249
194
  "type": "error"
250
195
  },
251
196
  {
252
197
  "inputs": [
253
198
  {
254
199
  "internalType": "address",
255
- "name": "account",
200
+ "name": "target",
256
201
  "type": "address"
257
202
  }
258
203
  ],
259
- "name": "OwnableUnauthorizedAccount",
260
- "type": "error"
261
- },
262
- {
263
- "inputs": [],
264
- "name": "ReentrancyGuardReentrantCall",
204
+ "name": "TargetNotAllowed",
265
205
  "type": "error"
266
206
  },
267
207
  {
268
208
  "inputs": [
269
209
  {
270
- "internalType": "uint8",
271
- "name": "bits",
272
- "type": "uint8"
210
+ "internalType": "address",
211
+ "name": "token",
212
+ "type": "address"
273
213
  },
274
214
  {
275
215
  "internalType": "uint256",
276
- "name": "value",
216
+ "name": "balance",
277
217
  "type": "uint256"
278
218
  }
279
219
  ],
280
- "name": "SafeCastOverflowedUintDowncast",
281
- "type": "error"
282
- },
283
- {
284
- "inputs": [
285
- {
286
- "internalType": "address",
287
- "name": "token",
288
- "type": "address"
289
- }
290
- ],
291
- "name": "SafeERC20FailedOperation",
292
- "type": "error"
293
- },
294
- {
295
- "inputs": [],
296
- "name": "SlasherAlreadyInitialized",
220
+ "name": "TrackedTokenHasBalance",
297
221
  "type": "error"
298
222
  },
299
223
  {
300
224
  "inputs": [],
301
- "name": "TooMuchRedeem",
225
+ "name": "WithdrawNotReady",
302
226
  "type": "error"
303
227
  },
304
228
  {
305
229
  "inputs": [],
306
- "name": "TooMuchWithdraw",
230
+ "name": "ZeroAmount",
307
231
  "type": "error"
308
232
  },
309
233
  {
@@ -311,30 +235,49 @@ exports.Vault_jsonAbi = [
311
235
  "inputs": [
312
236
  {
313
237
  "indexed": true,
314
- "internalType": "address",
315
- "name": "claimer",
316
- "type": "address"
238
+ "internalType": "uint256",
239
+ "name": "depositId",
240
+ "type": "uint256"
317
241
  },
318
242
  {
319
243
  "indexed": true,
320
244
  "internalType": "address",
321
- "name": "recipient",
245
+ "name": "owner",
322
246
  "type": "address"
323
247
  },
324
248
  {
325
249
  "indexed": false,
326
250
  "internalType": "uint256",
327
- "name": "epoch",
251
+ "name": "assets",
252
+ "type": "uint256"
253
+ }
254
+ ],
255
+ "name": "DepositAutoRefunded",
256
+ "type": "event"
257
+ },
258
+ {
259
+ "anonymous": false,
260
+ "inputs": [
261
+ {
262
+ "indexed": true,
263
+ "internalType": "uint256",
264
+ "name": "depositId",
328
265
  "type": "uint256"
329
266
  },
267
+ {
268
+ "indexed": true,
269
+ "internalType": "address",
270
+ "name": "owner",
271
+ "type": "address"
272
+ },
330
273
  {
331
274
  "indexed": false,
332
275
  "internalType": "uint256",
333
- "name": "amount",
276
+ "name": "assets",
334
277
  "type": "uint256"
335
278
  }
336
279
  ],
337
- "name": "Claim",
280
+ "name": "DepositCancelled",
338
281
  "type": "event"
339
282
  },
340
283
  {
@@ -342,30 +285,24 @@ exports.Vault_jsonAbi = [
342
285
  "inputs": [
343
286
  {
344
287
  "indexed": true,
345
- "internalType": "address",
346
- "name": "claimer",
347
- "type": "address"
288
+ "internalType": "uint256",
289
+ "name": "depositId",
290
+ "type": "uint256"
348
291
  },
349
292
  {
350
293
  "indexed": true,
351
294
  "internalType": "address",
352
- "name": "recipient",
295
+ "name": "owner",
353
296
  "type": "address"
354
297
  },
355
- {
356
- "indexed": false,
357
- "internalType": "uint256[]",
358
- "name": "epochs",
359
- "type": "uint256[]"
360
- },
361
298
  {
362
299
  "indexed": false,
363
300
  "internalType": "uint256",
364
- "name": "amount",
301
+ "name": "assets",
365
302
  "type": "uint256"
366
303
  }
367
304
  ],
368
- "name": "ClaimBatch",
305
+ "name": "DepositRequested",
369
306
  "type": "event"
370
307
  },
371
308
  {
@@ -373,20 +310,20 @@ exports.Vault_jsonAbi = [
373
310
  "inputs": [
374
311
  {
375
312
  "indexed": true,
376
- "internalType": "address",
377
- "name": "depositor",
378
- "type": "address"
313
+ "internalType": "uint256",
314
+ "name": "depositId",
315
+ "type": "uint256"
379
316
  },
380
317
  {
381
318
  "indexed": true,
382
319
  "internalType": "address",
383
- "name": "onBehalfOf",
320
+ "name": "owner",
384
321
  "type": "address"
385
322
  },
386
323
  {
387
324
  "indexed": false,
388
325
  "internalType": "uint256",
389
- "name": "amount",
326
+ "name": "netAssets",
390
327
  "type": "uint256"
391
328
  },
392
329
  {
@@ -396,7 +333,7 @@ exports.Vault_jsonAbi = [
396
333
  "type": "uint256"
397
334
  }
398
335
  ],
399
- "name": "Deposit",
336
+ "name": "DepositSettled",
400
337
  "type": "event"
401
338
  },
402
339
  {
@@ -404,12 +341,12 @@ exports.Vault_jsonAbi = [
404
341
  "inputs": [
405
342
  {
406
343
  "indexed": false,
407
- "internalType": "uint64",
408
- "name": "version",
409
- "type": "uint64"
344
+ "internalType": "uint256",
345
+ "name": "size",
346
+ "type": "uint256"
410
347
  }
411
348
  ],
412
- "name": "Initialized",
349
+ "name": "MaxSettlementBatchSizeSet",
413
350
  "type": "event"
414
351
  },
415
352
  {
@@ -420,40 +357,73 @@ exports.Vault_jsonAbi = [
420
357
  "internalType": "uint256",
421
358
  "name": "amount",
422
359
  "type": "uint256"
423
- },
360
+ }
361
+ ],
362
+ "name": "MinDepositAssetsSet",
363
+ "type": "event"
364
+ },
365
+ {
366
+ "anonymous": false,
367
+ "inputs": [
368
+ {
369
+ "indexed": true,
370
+ "internalType": "address",
371
+ "name": "oracle",
372
+ "type": "address"
373
+ }
374
+ ],
375
+ "name": "OracleSet",
376
+ "type": "event"
377
+ },
378
+ {
379
+ "anonymous": false,
380
+ "inputs": [
424
381
  {
425
382
  "indexed": false,
426
- "internalType": "uint48",
427
- "name": "captureTimestamp",
428
- "type": "uint48"
429
- },
383
+ "internalType": "address",
384
+ "name": "account",
385
+ "type": "address"
386
+ }
387
+ ],
388
+ "name": "Paused",
389
+ "type": "event"
390
+ },
391
+ {
392
+ "anonymous": false,
393
+ "inputs": [
430
394
  {
431
395
  "indexed": false,
432
396
  "internalType": "uint256",
433
- "name": "slashedAmount",
397
+ "name": "feeBps",
434
398
  "type": "uint256"
435
399
  }
436
400
  ],
437
- "name": "OnSlash",
401
+ "name": "PerformanceFeeSet",
438
402
  "type": "event"
439
403
  },
440
404
  {
441
405
  "anonymous": false,
442
406
  "inputs": [
443
407
  {
444
- "indexed": true,
445
- "internalType": "address",
446
- "name": "previousOwner",
447
- "type": "address"
408
+ "indexed": false,
409
+ "internalType": "uint256",
410
+ "name": "callCount",
411
+ "type": "uint256"
448
412
  },
449
413
  {
450
- "indexed": true,
451
- "internalType": "address",
452
- "name": "newOwner",
453
- "type": "address"
414
+ "indexed": false,
415
+ "internalType": "uint256",
416
+ "name": "navBefore",
417
+ "type": "uint256"
418
+ },
419
+ {
420
+ "indexed": false,
421
+ "internalType": "uint256",
422
+ "name": "navAfter",
423
+ "type": "uint256"
454
424
  }
455
425
  ],
456
- "name": "OwnershipTransferred",
426
+ "name": "Rebalanced",
457
427
  "type": "event"
458
428
  },
459
429
  {
@@ -535,26 +505,31 @@ exports.Vault_jsonAbi = [
535
505
  "anonymous": false,
536
506
  "inputs": [
537
507
  {
538
- "indexed": true,
539
- "internalType": "address",
540
- "name": "delegator",
541
- "type": "address"
542
- }
543
- ],
544
- "name": "SetDelegator",
545
- "type": "event"
546
- },
547
- {
548
- "anonymous": false,
549
- "inputs": [
508
+ "indexed": false,
509
+ "internalType": "uint256",
510
+ "name": "oraclePriceCount",
511
+ "type": "uint256"
512
+ },
513
+ {
514
+ "indexed": false,
515
+ "internalType": "uint256",
516
+ "name": "depositsSettled",
517
+ "type": "uint256"
518
+ },
519
+ {
520
+ "indexed": false,
521
+ "internalType": "uint256",
522
+ "name": "depositsRefunded",
523
+ "type": "uint256"
524
+ },
550
525
  {
551
526
  "indexed": false,
552
527
  "internalType": "uint256",
553
- "name": "limit",
528
+ "name": "withdrawalsProcessed",
554
529
  "type": "uint256"
555
530
  }
556
531
  ],
557
- "name": "SetDepositLimit",
532
+ "name": "Settled",
558
533
  "type": "event"
559
534
  },
560
535
  {
@@ -562,12 +537,12 @@ exports.Vault_jsonAbi = [
562
537
  "inputs": [
563
538
  {
564
539
  "indexed": false,
565
- "internalType": "bool",
566
- "name": "status",
567
- "type": "bool"
540
+ "internalType": "uint256",
541
+ "name": "fee",
542
+ "type": "uint256"
568
543
  }
569
544
  ],
570
- "name": "SetDepositWhitelist",
545
+ "name": "SettlementFeeSet",
571
546
  "type": "event"
572
547
  },
573
548
  {
@@ -576,17 +551,43 @@ exports.Vault_jsonAbi = [
576
551
  {
577
552
  "indexed": true,
578
553
  "internalType": "address",
579
- "name": "account",
554
+ "name": "target",
580
555
  "type": "address"
581
556
  },
582
557
  {
583
558
  "indexed": false,
584
559
  "internalType": "bool",
585
- "name": "status",
560
+ "name": "allowed",
586
561
  "type": "bool"
587
562
  }
588
563
  ],
589
- "name": "SetDepositorWhitelistStatus",
564
+ "name": "TargetAllowed",
565
+ "type": "event"
566
+ },
567
+ {
568
+ "anonymous": false,
569
+ "inputs": [
570
+ {
571
+ "indexed": true,
572
+ "internalType": "address",
573
+ "name": "token",
574
+ "type": "address"
575
+ }
576
+ ],
577
+ "name": "TrackedTokenAdded",
578
+ "type": "event"
579
+ },
580
+ {
581
+ "anonymous": false,
582
+ "inputs": [
583
+ {
584
+ "indexed": true,
585
+ "internalType": "address",
586
+ "name": "token",
587
+ "type": "address"
588
+ }
589
+ ],
590
+ "name": "TrackedTokenRemoved",
590
591
  "type": "event"
591
592
  },
592
593
  {
@@ -594,67 +595,147 @@ exports.Vault_jsonAbi = [
594
595
  "inputs": [
595
596
  {
596
597
  "indexed": false,
597
- "internalType": "bool",
598
- "name": "status",
599
- "type": "bool"
598
+ "internalType": "address",
599
+ "name": "account",
600
+ "type": "address"
601
+ }
602
+ ],
603
+ "name": "Unpaused",
604
+ "type": "event"
605
+ },
606
+ {
607
+ "anonymous": false,
608
+ "inputs": [
609
+ {
610
+ "indexed": true,
611
+ "internalType": "uint256",
612
+ "name": "requestId",
613
+ "type": "uint256"
614
+ },
615
+ {
616
+ "indexed": true,
617
+ "internalType": "address",
618
+ "name": "owner",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "indexed": false,
623
+ "internalType": "uint256",
624
+ "name": "shares",
625
+ "type": "uint256"
600
626
  }
601
627
  ],
602
- "name": "SetIsDepositLimit",
628
+ "name": "WithdrawCancelled",
603
629
  "type": "event"
604
630
  },
605
631
  {
606
632
  "anonymous": false,
607
633
  "inputs": [
634
+ {
635
+ "indexed": true,
636
+ "internalType": "uint256",
637
+ "name": "requestId",
638
+ "type": "uint256"
639
+ },
608
640
  {
609
641
  "indexed": true,
610
642
  "internalType": "address",
611
- "name": "slasher",
643
+ "name": "owner",
612
644
  "type": "address"
645
+ },
646
+ {
647
+ "indexed": false,
648
+ "internalType": "uint256",
649
+ "name": "shares",
650
+ "type": "uint256"
651
+ },
652
+ {
653
+ "indexed": false,
654
+ "internalType": "uint256",
655
+ "name": "assetsPaid",
656
+ "type": "uint256"
657
+ },
658
+ {
659
+ "indexed": false,
660
+ "internalType": "uint256",
661
+ "name": "fee",
662
+ "type": "uint256"
613
663
  }
614
664
  ],
615
- "name": "SetSlasher",
665
+ "name": "WithdrawClaimed",
616
666
  "type": "event"
617
667
  },
618
668
  {
619
669
  "anonymous": false,
620
670
  "inputs": [
671
+ {
672
+ "indexed": true,
673
+ "internalType": "uint256",
674
+ "name": "requestId",
675
+ "type": "uint256"
676
+ },
621
677
  {
622
678
  "indexed": true,
623
679
  "internalType": "address",
624
- "name": "withdrawer",
680
+ "name": "owner",
625
681
  "type": "address"
626
682
  },
683
+ {
684
+ "indexed": false,
685
+ "internalType": "uint256",
686
+ "name": "shares",
687
+ "type": "uint256"
688
+ },
689
+ {
690
+ "indexed": false,
691
+ "internalType": "uint64",
692
+ "name": "claimableAt",
693
+ "type": "uint64"
694
+ }
695
+ ],
696
+ "name": "WithdrawRequested",
697
+ "type": "event"
698
+ },
699
+ {
700
+ "anonymous": false,
701
+ "inputs": [
702
+ {
703
+ "indexed": true,
704
+ "internalType": "uint256",
705
+ "name": "requestId",
706
+ "type": "uint256"
707
+ },
627
708
  {
628
709
  "indexed": true,
629
710
  "internalType": "address",
630
- "name": "claimer",
711
+ "name": "owner",
631
712
  "type": "address"
632
713
  },
633
714
  {
634
715
  "indexed": false,
635
716
  "internalType": "uint256",
636
- "name": "amount",
717
+ "name": "shares",
637
718
  "type": "uint256"
638
719
  },
639
720
  {
640
721
  "indexed": false,
641
722
  "internalType": "uint256",
642
- "name": "burnedShares",
723
+ "name": "assetsOut",
643
724
  "type": "uint256"
644
725
  },
645
726
  {
646
727
  "indexed": false,
647
728
  "internalType": "uint256",
648
- "name": "mintedShares",
729
+ "name": "fee",
649
730
  "type": "uint256"
650
731
  }
651
732
  ],
652
- "name": "Withdraw",
733
+ "name": "WithdrawalSettled",
653
734
  "type": "event"
654
735
  },
655
736
  {
656
737
  "inputs": [],
657
- "name": "DEFAULT_ADMIN_ROLE",
738
+ "name": "BOT_ROLE",
658
739
  "outputs": [
659
740
  {
660
741
  "internalType": "bytes32",
@@ -667,12 +748,12 @@ exports.Vault_jsonAbi = [
667
748
  },
668
749
  {
669
750
  "inputs": [],
670
- "name": "DELEGATOR_FACTORY",
751
+ "name": "BPS",
671
752
  "outputs": [
672
753
  {
673
- "internalType": "address",
754
+ "internalType": "uint256",
674
755
  "name": "",
675
- "type": "address"
756
+ "type": "uint256"
676
757
  }
677
758
  ],
678
759
  "stateMutability": "view",
@@ -680,7 +761,7 @@ exports.Vault_jsonAbi = [
680
761
  },
681
762
  {
682
763
  "inputs": [],
683
- "name": "DEPOSITOR_WHITELIST_ROLE",
764
+ "name": "DEFAULT_ADMIN_ROLE",
684
765
  "outputs": [
685
766
  {
686
767
  "internalType": "bytes32",
@@ -693,7 +774,7 @@ exports.Vault_jsonAbi = [
693
774
  },
694
775
  {
695
776
  "inputs": [],
696
- "name": "DEPOSIT_LIMIT_SET_ROLE",
777
+ "name": "GUARDIAN_ROLE",
697
778
  "outputs": [
698
779
  {
699
780
  "internalType": "bytes32",
@@ -706,7 +787,7 @@ exports.Vault_jsonAbi = [
706
787
  },
707
788
  {
708
789
  "inputs": [],
709
- "name": "DEPOSIT_WHITELIST_SET_ROLE",
790
+ "name": "MANAGER_ROLE",
710
791
  "outputs": [
711
792
  {
712
793
  "internalType": "bytes32",
@@ -719,12 +800,12 @@ exports.Vault_jsonAbi = [
719
800
  },
720
801
  {
721
802
  "inputs": [],
722
- "name": "FACTORY",
803
+ "name": "MAX_FEE_BPS",
723
804
  "outputs": [
724
805
  {
725
- "internalType": "address",
806
+ "internalType": "uint256",
726
807
  "name": "",
727
- "type": "address"
808
+ "type": "uint256"
728
809
  }
729
810
  ],
730
811
  "stateMutability": "view",
@@ -732,73 +813,94 @@ exports.Vault_jsonAbi = [
732
813
  },
733
814
  {
734
815
  "inputs": [],
735
- "name": "IS_DEPOSIT_LIMIT_SET_ROLE",
816
+ "name": "SHARE_SCALE",
736
817
  "outputs": [
737
818
  {
738
- "internalType": "bytes32",
819
+ "internalType": "uint256",
739
820
  "name": "",
740
- "type": "bytes32"
821
+ "type": "uint256"
741
822
  }
742
823
  ],
743
824
  "stateMutability": "view",
744
825
  "type": "function"
745
826
  },
746
827
  {
747
- "inputs": [],
748
- "name": "SLASHER_FACTORY",
749
- "outputs": [
828
+ "inputs": [
750
829
  {
751
830
  "internalType": "address",
752
- "name": "",
831
+ "name": "token",
753
832
  "type": "address"
754
833
  }
755
834
  ],
756
- "stateMutability": "view",
835
+ "name": "addTrackedToken",
836
+ "outputs": [],
837
+ "stateMutability": "nonpayable",
757
838
  "type": "function"
758
839
  },
759
840
  {
760
841
  "inputs": [
842
+ {
843
+ "internalType": "contract IERC20",
844
+ "name": "token",
845
+ "type": "address"
846
+ },
761
847
  {
762
848
  "internalType": "address",
763
- "name": "account",
849
+ "name": "spender",
764
850
  "type": "address"
765
- }
766
- ],
767
- "name": "activeBalanceOf",
768
- "outputs": [
851
+ },
769
852
  {
770
853
  "internalType": "uint256",
771
- "name": "",
854
+ "name": "amount",
772
855
  "type": "uint256"
773
856
  }
774
857
  ],
775
- "stateMutability": "view",
858
+ "name": "approveERC20",
859
+ "outputs": [],
860
+ "stateMutability": "nonpayable",
776
861
  "type": "function"
777
862
  },
778
863
  {
779
864
  "inputs": [
780
865
  {
781
866
  "internalType": "address",
782
- "name": "account",
867
+ "name": "permit2",
783
868
  "type": "address"
784
869
  },
785
870
  {
786
- "internalType": "uint48",
787
- "name": "timestamp",
788
- "type": "uint48"
871
+ "internalType": "address",
872
+ "name": "token",
873
+ "type": "address"
874
+ },
875
+ {
876
+ "internalType": "address",
877
+ "name": "spender",
878
+ "type": "address"
789
879
  },
790
880
  {
791
- "internalType": "bytes",
792
- "name": "hints",
793
- "type": "bytes"
881
+ "internalType": "uint160",
882
+ "name": "amount",
883
+ "type": "uint160"
884
+ },
885
+ {
886
+ "internalType": "uint48",
887
+ "name": "expiration",
888
+ "type": "uint48"
794
889
  }
795
890
  ],
796
- "name": "activeBalanceOfAt",
891
+ "name": "approvePermit2",
892
+ "outputs": [],
893
+ "stateMutability": "nonpayable",
894
+ "type": "function"
895
+ },
896
+ {
897
+ "inputs": [],
898
+ "name": "asset",
797
899
  "outputs": [
798
900
  {
799
- "internalType": "uint256",
901
+ "internalType": "address",
800
902
  "name": "",
801
- "type": "uint256"
903
+ "type": "address"
802
904
  }
803
905
  ],
804
906
  "stateMutability": "view",
@@ -806,36 +908,25 @@ exports.Vault_jsonAbi = [
806
908
  },
807
909
  {
808
910
  "inputs": [],
809
- "name": "activeShares",
911
+ "name": "assetDecimals",
810
912
  "outputs": [
811
913
  {
812
- "internalType": "uint256",
914
+ "internalType": "uint8",
813
915
  "name": "",
814
- "type": "uint256"
916
+ "type": "uint8"
815
917
  }
816
918
  ],
817
919
  "stateMutability": "view",
818
920
  "type": "function"
819
921
  },
820
922
  {
821
- "inputs": [
822
- {
823
- "internalType": "uint48",
824
- "name": "timestamp",
825
- "type": "uint48"
826
- },
827
- {
828
- "internalType": "bytes",
829
- "name": "hint",
830
- "type": "bytes"
831
- }
832
- ],
833
- "name": "activeSharesAt",
923
+ "inputs": [],
924
+ "name": "assetToken",
834
925
  "outputs": [
835
926
  {
836
- "internalType": "uint256",
927
+ "internalType": "contract IERC20",
837
928
  "name": "",
838
- "type": "uint256"
929
+ "type": "address"
839
930
  }
840
931
  ],
841
932
  "stateMutability": "view",
@@ -843,158 +934,150 @@ exports.Vault_jsonAbi = [
843
934
  },
844
935
  {
845
936
  "inputs": [
846
- {
847
- "internalType": "address",
848
- "name": "account",
849
- "type": "address"
850
- }
851
- ],
852
- "name": "activeSharesOf",
853
- "outputs": [
854
937
  {
855
938
  "internalType": "uint256",
856
- "name": "",
939
+ "name": "depositId",
857
940
  "type": "uint256"
858
941
  }
859
942
  ],
860
- "stateMutability": "view",
943
+ "name": "cancelDepositRequest",
944
+ "outputs": [],
945
+ "stateMutability": "nonpayable",
861
946
  "type": "function"
862
947
  },
863
948
  {
864
949
  "inputs": [
865
950
  {
866
- "internalType": "address",
867
- "name": "account",
868
- "type": "address"
869
- },
870
- {
871
- "internalType": "uint48",
872
- "name": "timestamp",
873
- "type": "uint48"
874
- },
875
- {
876
- "internalType": "bytes",
877
- "name": "hint",
878
- "type": "bytes"
951
+ "internalType": "uint256",
952
+ "name": "maxCount",
953
+ "type": "uint256"
879
954
  }
880
955
  ],
881
- "name": "activeSharesOfAt",
956
+ "name": "cancelPendingDeposits",
882
957
  "outputs": [
883
958
  {
884
959
  "internalType": "uint256",
885
- "name": "",
960
+ "name": "cancelled",
886
961
  "type": "uint256"
887
962
  }
888
963
  ],
889
- "stateMutability": "view",
964
+ "stateMutability": "nonpayable",
890
965
  "type": "function"
891
966
  },
892
967
  {
893
- "inputs": [],
894
- "name": "activeStake",
895
- "outputs": [
968
+ "inputs": [
896
969
  {
897
970
  "internalType": "uint256",
898
- "name": "",
971
+ "name": "requestId",
899
972
  "type": "uint256"
900
973
  }
901
974
  ],
902
- "stateMutability": "view",
975
+ "name": "cancelWithdraw",
976
+ "outputs": [],
977
+ "stateMutability": "nonpayable",
903
978
  "type": "function"
904
979
  },
905
980
  {
906
981
  "inputs": [
907
982
  {
908
- "internalType": "uint48",
909
- "name": "timestamp",
910
- "type": "uint48"
983
+ "internalType": "uint256",
984
+ "name": "requestId",
985
+ "type": "uint256"
911
986
  },
912
987
  {
913
- "internalType": "bytes",
914
- "name": "hint",
915
- "type": "bytes"
988
+ "internalType": "contract IVault",
989
+ "name": "newVault",
990
+ "type": "address"
916
991
  }
917
992
  ],
918
- "name": "activeStakeAt",
993
+ "name": "claimAndDeposit",
919
994
  "outputs": [
920
995
  {
921
996
  "internalType": "uint256",
922
- "name": "",
997
+ "name": "depositId",
923
998
  "type": "uint256"
924
999
  }
925
1000
  ],
926
- "stateMutability": "view",
1001
+ "stateMutability": "nonpayable",
927
1002
  "type": "function"
928
1003
  },
929
1004
  {
930
- "inputs": [],
931
- "name": "burner",
932
- "outputs": [
1005
+ "inputs": [
933
1006
  {
934
- "internalType": "address",
935
- "name": "",
936
- "type": "address"
1007
+ "internalType": "uint256",
1008
+ "name": "requestId",
1009
+ "type": "uint256"
937
1010
  }
938
1011
  ],
939
- "stateMutability": "view",
1012
+ "name": "claimWithdraw",
1013
+ "outputs": [],
1014
+ "stateMutability": "nonpayable",
940
1015
  "type": "function"
941
1016
  },
942
1017
  {
943
1018
  "inputs": [
1019
+ {
1020
+ "internalType": "uint256",
1021
+ "name": "requestId",
1022
+ "type": "uint256"
1023
+ },
944
1024
  {
945
1025
  "internalType": "address",
946
1026
  "name": "recipient",
947
1027
  "type": "address"
948
- },
1028
+ }
1029
+ ],
1030
+ "name": "claimWithdrawTo",
1031
+ "outputs": [],
1032
+ "stateMutability": "nonpayable",
1033
+ "type": "function"
1034
+ },
1035
+ {
1036
+ "inputs": [
949
1037
  {
950
- "internalType": "uint256",
951
- "name": "epoch",
952
- "type": "uint256"
1038
+ "internalType": "address",
1039
+ "name": "user",
1040
+ "type": "address"
953
1041
  }
954
1042
  ],
955
- "name": "claim",
1043
+ "name": "costBasisPerShare",
956
1044
  "outputs": [
957
1045
  {
958
1046
  "internalType": "uint256",
959
- "name": "amount",
1047
+ "name": "",
960
1048
  "type": "uint256"
961
1049
  }
962
1050
  ],
963
- "stateMutability": "nonpayable",
1051
+ "stateMutability": "view",
964
1052
  "type": "function"
965
1053
  },
966
1054
  {
967
1055
  "inputs": [
968
1056
  {
969
1057
  "internalType": "address",
970
- "name": "recipient",
1058
+ "name": "",
971
1059
  "type": "address"
972
- },
973
- {
974
- "internalType": "uint256[]",
975
- "name": "epochs",
976
- "type": "uint256[]"
977
1060
  }
978
1061
  ],
979
- "name": "claimBatch",
1062
+ "name": "costBasisValue",
980
1063
  "outputs": [
981
1064
  {
982
1065
  "internalType": "uint256",
983
- "name": "amount",
1066
+ "name": "",
984
1067
  "type": "uint256"
985
1068
  }
986
1069
  ],
987
- "stateMutability": "nonpayable",
1070
+ "stateMutability": "view",
988
1071
  "type": "function"
989
1072
  },
990
1073
  {
991
1074
  "inputs": [],
992
- "name": "collateral",
1075
+ "name": "depositQueueLength",
993
1076
  "outputs": [
994
1077
  {
995
- "internalType": "address",
1078
+ "internalType": "uint256",
996
1079
  "name": "",
997
- "type": "address"
1080
+ "type": "uint256"
998
1081
  }
999
1082
  ],
1000
1083
  "stateMutability": "view",
@@ -1002,38 +1085,109 @@ exports.Vault_jsonAbi = [
1002
1085
  },
1003
1086
  {
1004
1087
  "inputs": [],
1005
- "name": "currentEpoch",
1088
+ "name": "feeRecipient",
1006
1089
  "outputs": [
1007
1090
  {
1008
- "internalType": "uint256",
1091
+ "internalType": "address",
1009
1092
  "name": "",
1010
- "type": "uint256"
1093
+ "type": "address"
1011
1094
  }
1012
1095
  ],
1013
1096
  "stateMutability": "view",
1014
1097
  "type": "function"
1015
1098
  },
1016
1099
  {
1017
- "inputs": [],
1018
- "name": "currentEpochStart",
1100
+ "inputs": [
1101
+ {
1102
+ "internalType": "uint256",
1103
+ "name": "depositId",
1104
+ "type": "uint256"
1105
+ }
1106
+ ],
1107
+ "name": "getDepositRequest",
1019
1108
  "outputs": [
1020
1109
  {
1021
- "internalType": "uint48",
1110
+ "components": [
1111
+ {
1112
+ "internalType": "address",
1113
+ "name": "owner",
1114
+ "type": "address"
1115
+ },
1116
+ {
1117
+ "internalType": "uint256",
1118
+ "name": "assets",
1119
+ "type": "uint256"
1120
+ },
1121
+ {
1122
+ "internalType": "enum IVault.DepositStatus",
1123
+ "name": "status",
1124
+ "type": "uint8"
1125
+ }
1126
+ ],
1127
+ "internalType": "struct IVault.DepositRequest",
1022
1128
  "name": "",
1023
- "type": "uint48"
1129
+ "type": "tuple"
1024
1130
  }
1025
1131
  ],
1026
1132
  "stateMutability": "view",
1027
1133
  "type": "function"
1028
1134
  },
1029
1135
  {
1030
- "inputs": [],
1031
- "name": "delegator",
1136
+ "inputs": [
1137
+ {
1138
+ "internalType": "uint256",
1139
+ "name": "requestId",
1140
+ "type": "uint256"
1141
+ }
1142
+ ],
1143
+ "name": "getRequest",
1032
1144
  "outputs": [
1033
1145
  {
1034
- "internalType": "address",
1146
+ "components": [
1147
+ {
1148
+ "internalType": "address",
1149
+ "name": "owner",
1150
+ "type": "address"
1151
+ },
1152
+ {
1153
+ "internalType": "uint256",
1154
+ "name": "shares",
1155
+ "type": "uint256"
1156
+ },
1157
+ {
1158
+ "internalType": "uint256",
1159
+ "name": "costBasisValueSnapshot",
1160
+ "type": "uint256"
1161
+ },
1162
+ {
1163
+ "internalType": "uint64",
1164
+ "name": "requestedAt",
1165
+ "type": "uint64"
1166
+ },
1167
+ {
1168
+ "internalType": "uint64",
1169
+ "name": "claimableAt",
1170
+ "type": "uint64"
1171
+ },
1172
+ {
1173
+ "internalType": "enum IVault.WithdrawStatus",
1174
+ "name": "status",
1175
+ "type": "uint8"
1176
+ },
1177
+ {
1178
+ "internalType": "uint256",
1179
+ "name": "assetsOut",
1180
+ "type": "uint256"
1181
+ },
1182
+ {
1183
+ "internalType": "uint256",
1184
+ "name": "fee",
1185
+ "type": "uint256"
1186
+ }
1187
+ ],
1188
+ "internalType": "struct IVault.WithdrawRequest",
1035
1189
  "name": "",
1036
- "type": "address"
1190
+ "type": "tuple"
1037
1191
  }
1038
1192
  ],
1039
1193
  "stateMutability": "view",
@@ -1042,40 +1196,59 @@ exports.Vault_jsonAbi = [
1042
1196
  {
1043
1197
  "inputs": [
1044
1198
  {
1045
- "internalType": "address",
1046
- "name": "onBehalfOf",
1047
- "type": "address"
1048
- },
1049
- {
1050
- "internalType": "uint256",
1051
- "name": "amount",
1052
- "type": "uint256"
1199
+ "internalType": "bytes32",
1200
+ "name": "role",
1201
+ "type": "bytes32"
1053
1202
  }
1054
1203
  ],
1055
- "name": "deposit",
1204
+ "name": "getRoleAdmin",
1056
1205
  "outputs": [
1057
1206
  {
1058
- "internalType": "uint256",
1059
- "name": "depositedAmount",
1060
- "type": "uint256"
1207
+ "internalType": "bytes32",
1208
+ "name": "",
1209
+ "type": "bytes32"
1210
+ }
1211
+ ],
1212
+ "stateMutability": "view",
1213
+ "type": "function"
1214
+ },
1215
+ {
1216
+ "inputs": [
1217
+ {
1218
+ "internalType": "bytes32",
1219
+ "name": "role",
1220
+ "type": "bytes32"
1061
1221
  },
1062
1222
  {
1063
- "internalType": "uint256",
1064
- "name": "mintedShares",
1065
- "type": "uint256"
1223
+ "internalType": "address",
1224
+ "name": "account",
1225
+ "type": "address"
1066
1226
  }
1067
1227
  ],
1228
+ "name": "grantRole",
1229
+ "outputs": [],
1068
1230
  "stateMutability": "nonpayable",
1069
1231
  "type": "function"
1070
1232
  },
1071
1233
  {
1072
- "inputs": [],
1073
- "name": "depositLimit",
1234
+ "inputs": [
1235
+ {
1236
+ "internalType": "bytes32",
1237
+ "name": "role",
1238
+ "type": "bytes32"
1239
+ },
1240
+ {
1241
+ "internalType": "address",
1242
+ "name": "account",
1243
+ "type": "address"
1244
+ }
1245
+ ],
1246
+ "name": "hasRole",
1074
1247
  "outputs": [
1075
1248
  {
1076
- "internalType": "uint256",
1249
+ "internalType": "bool",
1077
1250
  "name": "",
1078
- "type": "uint256"
1251
+ "type": "bool"
1079
1252
  }
1080
1253
  ],
1081
1254
  "stateMutability": "view",
@@ -1083,7 +1256,7 @@ exports.Vault_jsonAbi = [
1083
1256
  },
1084
1257
  {
1085
1258
  "inputs": [],
1086
- "name": "depositWhitelist",
1259
+ "name": "hasSettleReadyWork",
1087
1260
  "outputs": [
1088
1261
  {
1089
1262
  "internalType": "bool",
@@ -1097,17 +1270,17 @@ exports.Vault_jsonAbi = [
1097
1270
  {
1098
1271
  "inputs": [
1099
1272
  {
1100
- "internalType": "uint48",
1101
- "name": "timestamp",
1102
- "type": "uint48"
1273
+ "internalType": "address",
1274
+ "name": "",
1275
+ "type": "address"
1103
1276
  }
1104
1277
  ],
1105
- "name": "epochAt",
1278
+ "name": "isTracked",
1106
1279
  "outputs": [
1107
1280
  {
1108
- "internalType": "uint256",
1281
+ "internalType": "bool",
1109
1282
  "name": "",
1110
- "type": "uint256"
1283
+ "type": "bool"
1111
1284
  }
1112
1285
  ],
1113
1286
  "stateMutability": "view",
@@ -1115,12 +1288,12 @@ exports.Vault_jsonAbi = [
1115
1288
  },
1116
1289
  {
1117
1290
  "inputs": [],
1118
- "name": "epochDuration",
1291
+ "name": "maxSettlementBatchSize",
1119
1292
  "outputs": [
1120
1293
  {
1121
- "internalType": "uint48",
1294
+ "internalType": "uint256",
1122
1295
  "name": "",
1123
- "type": "uint48"
1296
+ "type": "uint256"
1124
1297
  }
1125
1298
  ],
1126
1299
  "stateMutability": "view",
@@ -1128,12 +1301,12 @@ exports.Vault_jsonAbi = [
1128
1301
  },
1129
1302
  {
1130
1303
  "inputs": [],
1131
- "name": "epochDurationInit",
1304
+ "name": "minDepositAssets",
1132
1305
  "outputs": [
1133
1306
  {
1134
- "internalType": "uint48",
1307
+ "internalType": "uint256",
1135
1308
  "name": "",
1136
- "type": "uint48"
1309
+ "type": "uint256"
1137
1310
  }
1138
1311
  ],
1139
1312
  "stateMutability": "view",
@@ -1142,54 +1315,62 @@ exports.Vault_jsonAbi = [
1142
1315
  {
1143
1316
  "inputs": [
1144
1317
  {
1145
- "internalType": "bytes32",
1146
- "name": "role",
1147
- "type": "bytes32"
1318
+ "internalType": "address",
1319
+ "name": "from",
1320
+ "type": "address"
1321
+ },
1322
+ {
1323
+ "internalType": "address",
1324
+ "name": "to",
1325
+ "type": "address"
1326
+ },
1327
+ {
1328
+ "internalType": "uint256",
1329
+ "name": "value",
1330
+ "type": "uint256"
1148
1331
  }
1149
1332
  ],
1150
- "name": "getRoleAdmin",
1333
+ "name": "onShareTransfer",
1334
+ "outputs": [],
1335
+ "stateMutability": "nonpayable",
1336
+ "type": "function"
1337
+ },
1338
+ {
1339
+ "inputs": [],
1340
+ "name": "oracle",
1151
1341
  "outputs": [
1152
1342
  {
1153
- "internalType": "bytes32",
1343
+ "internalType": "address",
1154
1344
  "name": "",
1155
- "type": "bytes32"
1345
+ "type": "address"
1156
1346
  }
1157
1347
  ],
1158
1348
  "stateMutability": "view",
1159
1349
  "type": "function"
1160
1350
  },
1161
1351
  {
1162
- "inputs": [
1163
- {
1164
- "internalType": "bytes32",
1165
- "name": "role",
1166
- "type": "bytes32"
1167
- },
1352
+ "inputs": [],
1353
+ "name": "oracleContract",
1354
+ "outputs": [
1168
1355
  {
1169
- "internalType": "address",
1170
- "name": "account",
1356
+ "internalType": "contract IOracle",
1357
+ "name": "",
1171
1358
  "type": "address"
1172
1359
  }
1173
1360
  ],
1174
- "name": "grantRole",
1361
+ "stateMutability": "view",
1362
+ "type": "function"
1363
+ },
1364
+ {
1365
+ "inputs": [],
1366
+ "name": "pause",
1175
1367
  "outputs": [],
1176
1368
  "stateMutability": "nonpayable",
1177
1369
  "type": "function"
1178
1370
  },
1179
1371
  {
1180
- "inputs": [
1181
- {
1182
- "internalType": "bytes32",
1183
- "name": "role",
1184
- "type": "bytes32"
1185
- },
1186
- {
1187
- "internalType": "address",
1188
- "name": "account",
1189
- "type": "address"
1190
- }
1191
- ],
1192
- "name": "hasRole",
1372
+ "inputs": [],
1373
+ "name": "paused",
1193
1374
  "outputs": [
1194
1375
  {
1195
1376
  "internalType": "bool",
@@ -1201,36 +1382,39 @@ exports.Vault_jsonAbi = [
1201
1382
  "type": "function"
1202
1383
  },
1203
1384
  {
1204
- "inputs": [
1205
- {
1206
- "internalType": "uint64",
1207
- "name": "initialVersion",
1208
- "type": "uint64"
1209
- },
1385
+ "inputs": [],
1386
+ "name": "pendingDepositTotal",
1387
+ "outputs": [
1210
1388
  {
1211
- "internalType": "address",
1212
- "name": "owner_",
1213
- "type": "address"
1214
- },
1389
+ "internalType": "uint256",
1390
+ "name": "",
1391
+ "type": "uint256"
1392
+ }
1393
+ ],
1394
+ "stateMutability": "view",
1395
+ "type": "function"
1396
+ },
1397
+ {
1398
+ "inputs": [],
1399
+ "name": "pendingSettlementWithdrawShares",
1400
+ "outputs": [
1215
1401
  {
1216
- "internalType": "bytes",
1217
- "name": "data",
1218
- "type": "bytes"
1402
+ "internalType": "uint256",
1403
+ "name": "",
1404
+ "type": "uint256"
1219
1405
  }
1220
1406
  ],
1221
- "name": "initialize",
1222
- "outputs": [],
1223
- "stateMutability": "nonpayable",
1407
+ "stateMutability": "view",
1224
1408
  "type": "function"
1225
1409
  },
1226
1410
  {
1227
1411
  "inputs": [],
1228
- "name": "isDelegatorInitialized",
1412
+ "name": "pendingWithdrawShares",
1229
1413
  "outputs": [
1230
1414
  {
1231
- "internalType": "bool",
1415
+ "internalType": "uint256",
1232
1416
  "name": "",
1233
- "type": "bool"
1417
+ "type": "uint256"
1234
1418
  }
1235
1419
  ],
1236
1420
  "stateMutability": "view",
@@ -1238,12 +1422,31 @@ exports.Vault_jsonAbi = [
1238
1422
  },
1239
1423
  {
1240
1424
  "inputs": [],
1241
- "name": "isDepositLimit",
1425
+ "name": "performanceFee",
1242
1426
  "outputs": [
1243
1427
  {
1244
- "internalType": "bool",
1428
+ "internalType": "uint256",
1245
1429
  "name": "",
1246
- "type": "bool"
1430
+ "type": "uint256"
1431
+ }
1432
+ ],
1433
+ "stateMutability": "view",
1434
+ "type": "function"
1435
+ },
1436
+ {
1437
+ "inputs": [
1438
+ {
1439
+ "internalType": "uint256",
1440
+ "name": "assets",
1441
+ "type": "uint256"
1442
+ }
1443
+ ],
1444
+ "name": "previewDeposit",
1445
+ "outputs": [
1446
+ {
1447
+ "internalType": "uint256",
1448
+ "name": "",
1449
+ "type": "uint256"
1247
1450
  }
1248
1451
  ],
1249
1452
  "stateMutability": "view",
@@ -1251,18 +1454,28 @@ exports.Vault_jsonAbi = [
1251
1454
  },
1252
1455
  {
1253
1456
  "inputs": [
1457
+ {
1458
+ "internalType": "uint256",
1459
+ "name": "sharesIn",
1460
+ "type": "uint256"
1461
+ },
1254
1462
  {
1255
1463
  "internalType": "address",
1256
- "name": "account",
1464
+ "name": "owner",
1257
1465
  "type": "address"
1258
1466
  }
1259
1467
  ],
1260
- "name": "isDepositorWhitelisted",
1468
+ "name": "previewWithdraw",
1261
1469
  "outputs": [
1262
1470
  {
1263
- "internalType": "bool",
1264
- "name": "value",
1265
- "type": "bool"
1471
+ "internalType": "uint256",
1472
+ "name": "estimatedAssets",
1473
+ "type": "uint256"
1474
+ },
1475
+ {
1476
+ "internalType": "uint256",
1477
+ "name": "estimatedFee",
1478
+ "type": "uint256"
1266
1479
  }
1267
1480
  ],
1268
1481
  "stateMutability": "view",
@@ -1270,12 +1483,12 @@ exports.Vault_jsonAbi = [
1270
1483
  },
1271
1484
  {
1272
1485
  "inputs": [],
1273
- "name": "isInitialized",
1486
+ "name": "pricePerShare",
1274
1487
  "outputs": [
1275
1488
  {
1276
- "internalType": "bool",
1489
+ "internalType": "uint256",
1277
1490
  "name": "",
1278
- "type": "bool"
1491
+ "type": "uint256"
1279
1492
  }
1280
1493
  ],
1281
1494
  "stateMutability": "view",
@@ -1283,12 +1496,12 @@ exports.Vault_jsonAbi = [
1283
1496
  },
1284
1497
  {
1285
1498
  "inputs": [],
1286
- "name": "isSlasherInitialized",
1499
+ "name": "queueLength",
1287
1500
  "outputs": [
1288
1501
  {
1289
- "internalType": "bool",
1502
+ "internalType": "uint256",
1290
1503
  "name": "",
1291
- "type": "bool"
1504
+ "type": "uint256"
1292
1505
  }
1293
1506
  ],
1294
1507
  "stateMutability": "view",
@@ -1297,76 +1510,65 @@ exports.Vault_jsonAbi = [
1297
1510
  {
1298
1511
  "inputs": [
1299
1512
  {
1300
- "internalType": "uint256",
1301
- "name": "epoch",
1302
- "type": "uint256"
1513
+ "internalType": "address[]",
1514
+ "name": "targets",
1515
+ "type": "address[]"
1303
1516
  },
1304
1517
  {
1305
- "internalType": "address",
1306
- "name": "account",
1307
- "type": "address"
1308
- }
1309
- ],
1310
- "name": "isWithdrawalsClaimed",
1311
- "outputs": [
1312
- {
1313
- "internalType": "bool",
1314
- "name": "value",
1315
- "type": "bool"
1518
+ "internalType": "bytes[]",
1519
+ "name": "calldatas",
1520
+ "type": "bytes[]"
1316
1521
  }
1317
1522
  ],
1318
- "stateMutability": "view",
1523
+ "name": "rebalance",
1524
+ "outputs": [],
1525
+ "stateMutability": "nonpayable",
1319
1526
  "type": "function"
1320
1527
  },
1321
1528
  {
1322
1529
  "inputs": [
1323
1530
  {
1324
- "internalType": "uint64",
1325
- "name": "newVersion",
1326
- "type": "uint64"
1327
- },
1328
- {
1329
- "internalType": "bytes",
1330
- "name": "data",
1331
- "type": "bytes"
1531
+ "internalType": "address",
1532
+ "name": "token",
1533
+ "type": "address"
1332
1534
  }
1333
1535
  ],
1334
- "name": "migrate",
1536
+ "name": "removeTrackedToken",
1335
1537
  "outputs": [],
1336
1538
  "stateMutability": "nonpayable",
1337
1539
  "type": "function"
1338
1540
  },
1339
1541
  {
1340
- "inputs": [],
1341
- "name": "nextEpochStart",
1342
- "outputs": [
1542
+ "inputs": [
1343
1543
  {
1344
- "internalType": "uint48",
1345
- "name": "",
1346
- "type": "uint48"
1544
+ "internalType": "bytes32",
1545
+ "name": "role",
1546
+ "type": "bytes32"
1547
+ },
1548
+ {
1549
+ "internalType": "address",
1550
+ "name": "callerConfirmation",
1551
+ "type": "address"
1347
1552
  }
1348
1553
  ],
1349
- "stateMutability": "view",
1554
+ "name": "renounceRole",
1555
+ "outputs": [],
1556
+ "stateMutability": "nonpayable",
1350
1557
  "type": "function"
1351
1558
  },
1352
1559
  {
1353
1560
  "inputs": [
1354
1561
  {
1355
1562
  "internalType": "uint256",
1356
- "name": "amount",
1563
+ "name": "assets",
1357
1564
  "type": "uint256"
1358
- },
1359
- {
1360
- "internalType": "uint48",
1361
- "name": "captureTimestamp",
1362
- "type": "uint48"
1363
1565
  }
1364
1566
  ],
1365
- "name": "onSlash",
1567
+ "name": "requestDeposit",
1366
1568
  "outputs": [
1367
1569
  {
1368
1570
  "internalType": "uint256",
1369
- "name": "slashedAmount",
1571
+ "name": "depositId",
1370
1572
  "type": "uint256"
1371
1573
  }
1372
1574
  ],
@@ -1374,67 +1576,48 @@ exports.Vault_jsonAbi = [
1374
1576
  "type": "function"
1375
1577
  },
1376
1578
  {
1377
- "inputs": [],
1378
- "name": "owner",
1379
- "outputs": [
1579
+ "inputs": [
1580
+ {
1581
+ "internalType": "uint256",
1582
+ "name": "assets",
1583
+ "type": "uint256"
1584
+ },
1380
1585
  {
1381
1586
  "internalType": "address",
1382
- "name": "",
1587
+ "name": "recipient",
1383
1588
  "type": "address"
1384
1589
  }
1385
1590
  ],
1386
- "stateMutability": "view",
1387
- "type": "function"
1388
- },
1389
- {
1390
- "inputs": [],
1391
- "name": "previousEpochStart",
1591
+ "name": "requestDepositFor",
1392
1592
  "outputs": [
1393
1593
  {
1394
- "internalType": "uint48",
1395
- "name": "",
1396
- "type": "uint48"
1594
+ "internalType": "uint256",
1595
+ "name": "depositId",
1596
+ "type": "uint256"
1397
1597
  }
1398
1598
  ],
1399
- "stateMutability": "view",
1599
+ "stateMutability": "nonpayable",
1400
1600
  "type": "function"
1401
1601
  },
1402
1602
  {
1403
1603
  "inputs": [
1404
- {
1405
- "internalType": "address",
1406
- "name": "claimer",
1407
- "type": "address"
1408
- },
1409
1604
  {
1410
1605
  "internalType": "uint256",
1411
- "name": "shares",
1606
+ "name": "sharesIn",
1412
1607
  "type": "uint256"
1413
1608
  }
1414
1609
  ],
1415
- "name": "redeem",
1610
+ "name": "requestWithdraw",
1416
1611
  "outputs": [
1417
1612
  {
1418
1613
  "internalType": "uint256",
1419
- "name": "withdrawnAssets",
1420
- "type": "uint256"
1421
- },
1422
- {
1423
- "internalType": "uint256",
1424
- "name": "mintedShares",
1614
+ "name": "requestId",
1425
1615
  "type": "uint256"
1426
1616
  }
1427
1617
  ],
1428
1618
  "stateMutability": "nonpayable",
1429
1619
  "type": "function"
1430
1620
  },
1431
- {
1432
- "inputs": [],
1433
- "name": "renounceOwnership",
1434
- "outputs": [],
1435
- "stateMutability": "nonpayable",
1436
- "type": "function"
1437
- },
1438
1621
  {
1439
1622
  "inputs": [
1440
1623
  {
@@ -1444,29 +1627,24 @@ exports.Vault_jsonAbi = [
1444
1627
  },
1445
1628
  {
1446
1629
  "internalType": "address",
1447
- "name": "callerConfirmation",
1630
+ "name": "account",
1448
1631
  "type": "address"
1449
1632
  }
1450
1633
  ],
1451
- "name": "renounceRole",
1634
+ "name": "revokeRole",
1452
1635
  "outputs": [],
1453
1636
  "stateMutability": "nonpayable",
1454
1637
  "type": "function"
1455
1638
  },
1456
1639
  {
1457
1640
  "inputs": [
1458
- {
1459
- "internalType": "bytes32",
1460
- "name": "role",
1461
- "type": "bytes32"
1462
- },
1463
1641
  {
1464
1642
  "internalType": "address",
1465
- "name": "account",
1643
+ "name": "recipient",
1466
1644
  "type": "address"
1467
1645
  }
1468
1646
  ],
1469
- "name": "revokeRole",
1647
+ "name": "setFeeRecipient",
1470
1648
  "outputs": [],
1471
1649
  "stateMutability": "nonpayable",
1472
1650
  "type": "function"
@@ -1474,12 +1652,12 @@ exports.Vault_jsonAbi = [
1474
1652
  {
1475
1653
  "inputs": [
1476
1654
  {
1477
- "internalType": "address",
1478
- "name": "delegator_",
1479
- "type": "address"
1655
+ "internalType": "uint256",
1656
+ "name": "size",
1657
+ "type": "uint256"
1480
1658
  }
1481
1659
  ],
1482
- "name": "setDelegator",
1660
+ "name": "setMaxSettlementBatchSize",
1483
1661
  "outputs": [],
1484
1662
  "stateMutability": "nonpayable",
1485
1663
  "type": "function"
@@ -1488,11 +1666,11 @@ exports.Vault_jsonAbi = [
1488
1666
  "inputs": [
1489
1667
  {
1490
1668
  "internalType": "uint256",
1491
- "name": "limit",
1669
+ "name": "amount",
1492
1670
  "type": "uint256"
1493
1671
  }
1494
1672
  ],
1495
- "name": "setDepositLimit",
1673
+ "name": "setMinDepositAssets",
1496
1674
  "outputs": [],
1497
1675
  "stateMutability": "nonpayable",
1498
1676
  "type": "function"
@@ -1500,12 +1678,12 @@ exports.Vault_jsonAbi = [
1500
1678
  {
1501
1679
  "inputs": [
1502
1680
  {
1503
- "internalType": "bool",
1504
- "name": "status",
1505
- "type": "bool"
1681
+ "internalType": "contract IOracle",
1682
+ "name": "_oracle",
1683
+ "type": "address"
1506
1684
  }
1507
1685
  ],
1508
- "name": "setDepositWhitelist",
1686
+ "name": "setOracle",
1509
1687
  "outputs": [],
1510
1688
  "stateMutability": "nonpayable",
1511
1689
  "type": "function"
@@ -1513,17 +1691,12 @@ exports.Vault_jsonAbi = [
1513
1691
  {
1514
1692
  "inputs": [
1515
1693
  {
1516
- "internalType": "address",
1517
- "name": "account",
1518
- "type": "address"
1519
- },
1520
- {
1521
- "internalType": "bool",
1522
- "name": "status",
1523
- "type": "bool"
1694
+ "internalType": "uint256",
1695
+ "name": "feeBps",
1696
+ "type": "uint256"
1524
1697
  }
1525
1698
  ],
1526
- "name": "setDepositorWhitelistStatus",
1699
+ "name": "setPerformanceFee",
1527
1700
  "outputs": [],
1528
1701
  "stateMutability": "nonpayable",
1529
1702
  "type": "function"
@@ -1531,12 +1704,12 @@ exports.Vault_jsonAbi = [
1531
1704
  {
1532
1705
  "inputs": [
1533
1706
  {
1534
- "internalType": "bool",
1535
- "name": "status",
1536
- "type": "bool"
1707
+ "internalType": "uint256",
1708
+ "name": "fee",
1709
+ "type": "uint256"
1537
1710
  }
1538
1711
  ],
1539
- "name": "setIsDepositLimit",
1712
+ "name": "setSettlementFee",
1540
1713
  "outputs": [],
1541
1714
  "stateMutability": "nonpayable",
1542
1715
  "type": "function"
@@ -1545,11 +1718,16 @@ exports.Vault_jsonAbi = [
1545
1718
  "inputs": [
1546
1719
  {
1547
1720
  "internalType": "address",
1548
- "name": "slasher_",
1721
+ "name": "target",
1549
1722
  "type": "address"
1723
+ },
1724
+ {
1725
+ "internalType": "bool",
1726
+ "name": "allowed",
1727
+ "type": "bool"
1550
1728
  }
1551
1729
  ],
1552
- "name": "setSlasher",
1730
+ "name": "setTargetAllowed",
1553
1731
  "outputs": [],
1554
1732
  "stateMutability": "nonpayable",
1555
1733
  "type": "function"
@@ -1557,12 +1735,24 @@ exports.Vault_jsonAbi = [
1557
1735
  {
1558
1736
  "inputs": [
1559
1737
  {
1560
- "internalType": "address",
1561
- "name": "account",
1562
- "type": "address"
1738
+ "internalType": "address[]",
1739
+ "name": "tokens",
1740
+ "type": "address[]"
1741
+ },
1742
+ {
1743
+ "internalType": "uint128[]",
1744
+ "name": "prices",
1745
+ "type": "uint128[]"
1563
1746
  }
1564
1747
  ],
1565
- "name": "slashableBalanceOf",
1748
+ "name": "settle",
1749
+ "outputs": [],
1750
+ "stateMutability": "nonpayable",
1751
+ "type": "function"
1752
+ },
1753
+ {
1754
+ "inputs": [],
1755
+ "name": "settledWithdrawalLiabilityTotal",
1566
1756
  "outputs": [
1567
1757
  {
1568
1758
  "internalType": "uint256",
@@ -1575,10 +1765,23 @@ exports.Vault_jsonAbi = [
1575
1765
  },
1576
1766
  {
1577
1767
  "inputs": [],
1578
- "name": "slasher",
1768
+ "name": "settlementFeeAssets",
1579
1769
  "outputs": [
1580
1770
  {
1581
- "internalType": "address",
1771
+ "internalType": "uint256",
1772
+ "name": "",
1773
+ "type": "uint256"
1774
+ }
1775
+ ],
1776
+ "stateMutability": "view",
1777
+ "type": "function"
1778
+ },
1779
+ {
1780
+ "inputs": [],
1781
+ "name": "shareToken",
1782
+ "outputs": [
1783
+ {
1784
+ "internalType": "contract HPT",
1582
1785
  "name": "",
1583
1786
  "type": "address"
1584
1787
  }
@@ -1587,21 +1790,16 @@ exports.Vault_jsonAbi = [
1587
1790
  "type": "function"
1588
1791
  },
1589
1792
  {
1590
- "inputs": [
1793
+ "inputs": [],
1794
+ "name": "shares",
1795
+ "outputs": [
1591
1796
  {
1592
1797
  "internalType": "address",
1593
- "name": "target",
1798
+ "name": "",
1594
1799
  "type": "address"
1595
- },
1596
- {
1597
- "internalType": "bytes",
1598
- "name": "data",
1599
- "type": "bytes"
1600
1800
  }
1601
1801
  ],
1602
- "name": "staticDelegateCall",
1603
- "outputs": [],
1604
- "stateMutability": "nonpayable",
1802
+ "stateMutability": "view",
1605
1803
  "type": "function"
1606
1804
  },
1607
1805
  {
@@ -1623,40 +1821,20 @@ exports.Vault_jsonAbi = [
1623
1821
  "stateMutability": "view",
1624
1822
  "type": "function"
1625
1823
  },
1626
- {
1627
- "inputs": [],
1628
- "name": "totalStake",
1629
- "outputs": [
1630
- {
1631
- "internalType": "uint256",
1632
- "name": "",
1633
- "type": "uint256"
1634
- }
1635
- ],
1636
- "stateMutability": "view",
1637
- "type": "function"
1638
- },
1639
1824
  {
1640
1825
  "inputs": [
1641
1826
  {
1642
1827
  "internalType": "address",
1643
- "name": "newOwner",
1828
+ "name": "",
1644
1829
  "type": "address"
1645
1830
  }
1646
1831
  ],
1647
- "name": "transferOwnership",
1648
- "outputs": [],
1649
- "stateMutability": "nonpayable",
1650
- "type": "function"
1651
- },
1652
- {
1653
- "inputs": [],
1654
- "name": "version",
1832
+ "name": "targetAllowed",
1655
1833
  "outputs": [
1656
1834
  {
1657
- "internalType": "uint64",
1835
+ "internalType": "bool",
1658
1836
  "name": "",
1659
- "type": "uint64"
1837
+ "type": "bool"
1660
1838
  }
1661
1839
  ],
1662
1840
  "stateMutability": "view",
@@ -1666,44 +1844,28 @@ exports.Vault_jsonAbi = [
1666
1844
  "inputs": [
1667
1845
  {
1668
1846
  "internalType": "address",
1669
- "name": "claimer",
1847
+ "name": "",
1670
1848
  "type": "address"
1671
- },
1672
- {
1673
- "internalType": "uint256",
1674
- "name": "amount",
1675
- "type": "uint256"
1676
1849
  }
1677
1850
  ],
1678
- "name": "withdraw",
1851
+ "name": "tokenDecimals",
1679
1852
  "outputs": [
1680
1853
  {
1681
- "internalType": "uint256",
1682
- "name": "burnedShares",
1683
- "type": "uint256"
1684
- },
1685
- {
1686
- "internalType": "uint256",
1687
- "name": "mintedShares",
1688
- "type": "uint256"
1854
+ "internalType": "uint8",
1855
+ "name": "",
1856
+ "type": "uint8"
1689
1857
  }
1690
1858
  ],
1691
- "stateMutability": "nonpayable",
1859
+ "stateMutability": "view",
1692
1860
  "type": "function"
1693
1861
  },
1694
1862
  {
1695
- "inputs": [
1696
- {
1697
- "internalType": "uint256",
1698
- "name": "epoch",
1699
- "type": "uint256"
1700
- }
1701
- ],
1702
- "name": "withdrawalShares",
1863
+ "inputs": [],
1864
+ "name": "totalAssets",
1703
1865
  "outputs": [
1704
1866
  {
1705
1867
  "internalType": "uint256",
1706
- "name": "amount",
1868
+ "name": "",
1707
1869
  "type": "uint256"
1708
1870
  }
1709
1871
  ],
@@ -1711,43 +1873,39 @@ exports.Vault_jsonAbi = [
1711
1873
  "type": "function"
1712
1874
  },
1713
1875
  {
1714
- "inputs": [
1715
- {
1716
- "internalType": "uint256",
1717
- "name": "epoch",
1718
- "type": "uint256"
1719
- },
1720
- {
1721
- "internalType": "address",
1722
- "name": "account",
1723
- "type": "address"
1724
- }
1725
- ],
1726
- "name": "withdrawalSharesOf",
1876
+ "inputs": [],
1877
+ "name": "trackedTokens",
1727
1878
  "outputs": [
1728
1879
  {
1729
- "internalType": "uint256",
1730
- "name": "amount",
1731
- "type": "uint256"
1880
+ "internalType": "address[]",
1881
+ "name": "",
1882
+ "type": "address[]"
1732
1883
  }
1733
1884
  ],
1734
1885
  "stateMutability": "view",
1735
1886
  "type": "function"
1736
1887
  },
1888
+ {
1889
+ "inputs": [],
1890
+ "name": "unpause",
1891
+ "outputs": [],
1892
+ "stateMutability": "nonpayable",
1893
+ "type": "function"
1894
+ },
1737
1895
  {
1738
1896
  "inputs": [
1739
1897
  {
1740
- "internalType": "uint256",
1741
- "name": "epoch",
1742
- "type": "uint256"
1898
+ "internalType": "address",
1899
+ "name": "user",
1900
+ "type": "address"
1743
1901
  }
1744
1902
  ],
1745
- "name": "withdrawals",
1903
+ "name": "userDepositIds",
1746
1904
  "outputs": [
1747
- {
1748
- "internalType": "uint256",
1749
- "name": "amount",
1750
- "type": "uint256"
1905
+ {
1906
+ "internalType": "uint256[]",
1907
+ "name": "",
1908
+ "type": "uint256[]"
1751
1909
  }
1752
1910
  ],
1753
1911
  "stateMutability": "view",
@@ -1755,23 +1913,18 @@ exports.Vault_jsonAbi = [
1755
1913
  },
1756
1914
  {
1757
1915
  "inputs": [
1758
- {
1759
- "internalType": "uint256",
1760
- "name": "epoch",
1761
- "type": "uint256"
1762
- },
1763
1916
  {
1764
1917
  "internalType": "address",
1765
- "name": "account",
1918
+ "name": "user",
1766
1919
  "type": "address"
1767
1920
  }
1768
1921
  ],
1769
- "name": "withdrawalsOf",
1922
+ "name": "userRequestIds",
1770
1923
  "outputs": [
1771
1924
  {
1772
- "internalType": "uint256",
1925
+ "internalType": "uint256[]",
1773
1926
  "name": "",
1774
- "type": "uint256"
1927
+ "type": "uint256[]"
1775
1928
  }
1776
1929
  ],
1777
1930
  "stateMutability": "view",
@@ -1835,6 +1988,20 @@ class Vault_json {
1835
1988
  getContract() {
1836
1989
  return this.contract;
1837
1990
  }
1991
+ /**
1992
+ * BOT_ROLE
1993
+ * view
1994
+ */
1995
+ async BOT_ROLE() {
1996
+ return this.contract.read.BOT_ROLE();
1997
+ }
1998
+ /**
1999
+ * BPS
2000
+ * view
2001
+ */
2002
+ async BPS() {
2003
+ return this.contract.read.BPS();
2004
+ }
1838
2005
  /**
1839
2006
  * DEFAULT_ADMIN_ROLE
1840
2007
  * view
@@ -1843,418 +2010,445 @@ class Vault_json {
1843
2010
  return this.contract.read.DEFAULT_ADMIN_ROLE();
1844
2011
  }
1845
2012
  /**
1846
- * DELEGATOR_FACTORY
2013
+ * GUARDIAN_ROLE
1847
2014
  * view
1848
2015
  */
1849
- async DELEGATOR_FACTORY() {
1850
- return this.contract.read.DELEGATOR_FACTORY();
2016
+ async GUARDIAN_ROLE() {
2017
+ return this.contract.read.GUARDIAN_ROLE();
1851
2018
  }
1852
2019
  /**
1853
- * DEPOSITOR_WHITELIST_ROLE
2020
+ * MANAGER_ROLE
1854
2021
  * view
1855
2022
  */
1856
- async DEPOSITOR_WHITELIST_ROLE() {
1857
- return this.contract.read.DEPOSITOR_WHITELIST_ROLE();
2023
+ async MANAGER_ROLE() {
2024
+ return this.contract.read.MANAGER_ROLE();
1858
2025
  }
1859
2026
  /**
1860
- * DEPOSIT_LIMIT_SET_ROLE
2027
+ * MAX_FEE_BPS
1861
2028
  * view
1862
2029
  */
1863
- async DEPOSIT_LIMIT_SET_ROLE() {
1864
- return this.contract.read.DEPOSIT_LIMIT_SET_ROLE();
2030
+ async MAX_FEE_BPS() {
2031
+ return this.contract.read.MAX_FEE_BPS();
1865
2032
  }
1866
2033
  /**
1867
- * DEPOSIT_WHITELIST_SET_ROLE
2034
+ * SHARE_SCALE
1868
2035
  * view
1869
2036
  */
1870
- async DEPOSIT_WHITELIST_SET_ROLE() {
1871
- return this.contract.read.DEPOSIT_WHITELIST_SET_ROLE();
2037
+ async SHARE_SCALE() {
2038
+ return this.contract.read.SHARE_SCALE();
1872
2039
  }
1873
2040
  /**
1874
- * FACTORY
2041
+ * asset
1875
2042
  * view
1876
2043
  */
1877
- async FACTORY() {
1878
- return this.contract.read.FACTORY();
2044
+ async asset() {
2045
+ return this.contract.read.asset();
1879
2046
  }
1880
2047
  /**
1881
- * IS_DEPOSIT_LIMIT_SET_ROLE
2048
+ * assetDecimals
1882
2049
  * view
1883
2050
  */
1884
- async IS_DEPOSIT_LIMIT_SET_ROLE() {
1885
- return this.contract.read.IS_DEPOSIT_LIMIT_SET_ROLE();
2051
+ async assetDecimals() {
2052
+ return this.contract.read.assetDecimals();
1886
2053
  }
1887
2054
  /**
1888
- * SLASHER_FACTORY
2055
+ * assetToken
1889
2056
  * view
1890
2057
  */
1891
- async SLASHER_FACTORY() {
1892
- return this.contract.read.SLASHER_FACTORY();
2058
+ async assetToken() {
2059
+ return this.contract.read.assetToken();
1893
2060
  }
1894
2061
  /**
1895
- * activeBalanceOf
2062
+ * costBasisPerShare
1896
2063
  * view
1897
2064
  */
1898
- async activeBalanceOf(account) {
1899
- return this.contract.read.activeBalanceOf([account]);
2065
+ async costBasisPerShare(user) {
2066
+ return this.contract.read.costBasisPerShare([user]);
1900
2067
  }
1901
2068
  /**
1902
- * activeBalanceOfAt
2069
+ * costBasisValue
1903
2070
  * view
1904
2071
  */
1905
- async activeBalanceOfAt(account, timestamp, hints) {
1906
- return this.contract.read.activeBalanceOfAt([account, timestamp, hints]);
2072
+ async costBasisValue(arg0) {
2073
+ return this.contract.read.costBasisValue([arg0]);
1907
2074
  }
1908
2075
  /**
1909
- * activeShares
2076
+ * depositQueueLength
1910
2077
  * view
1911
2078
  */
1912
- async activeShares() {
1913
- return this.contract.read.activeShares();
2079
+ async depositQueueLength() {
2080
+ return this.contract.read.depositQueueLength();
1914
2081
  }
1915
2082
  /**
1916
- * activeSharesAt
2083
+ * feeRecipient
1917
2084
  * view
1918
2085
  */
1919
- async activeSharesAt(timestamp, hint) {
1920
- return this.contract.read.activeSharesAt([timestamp, hint]);
2086
+ async feeRecipient() {
2087
+ return this.contract.read.feeRecipient();
1921
2088
  }
1922
2089
  /**
1923
- * activeSharesOf
2090
+ * getDepositRequest
1924
2091
  * view
1925
2092
  */
1926
- async activeSharesOf(account) {
1927
- return this.contract.read.activeSharesOf([account]);
2093
+ async getDepositRequest(depositId) {
2094
+ return this.contract.read.getDepositRequest([depositId]);
1928
2095
  }
1929
2096
  /**
1930
- * activeSharesOfAt
2097
+ * getRequest
1931
2098
  * view
1932
2099
  */
1933
- async activeSharesOfAt(account, timestamp, hint) {
1934
- return this.contract.read.activeSharesOfAt([account, timestamp, hint]);
2100
+ async getRequest(requestId) {
2101
+ return this.contract.read.getRequest([requestId]);
1935
2102
  }
1936
2103
  /**
1937
- * activeStake
2104
+ * getRoleAdmin
1938
2105
  * view
1939
2106
  */
1940
- async activeStake() {
1941
- return this.contract.read.activeStake();
2107
+ async getRoleAdmin(role) {
2108
+ return this.contract.read.getRoleAdmin([role]);
1942
2109
  }
1943
2110
  /**
1944
- * activeStakeAt
2111
+ * hasRole
1945
2112
  * view
1946
2113
  */
1947
- async activeStakeAt(timestamp, hint) {
1948
- return this.contract.read.activeStakeAt([timestamp, hint]);
2114
+ async hasRole(role, account) {
2115
+ return this.contract.read.hasRole([role, account]);
1949
2116
  }
1950
2117
  /**
1951
- * burner
2118
+ * hasSettleReadyWork
1952
2119
  * view
1953
2120
  */
1954
- async burner() {
1955
- return this.contract.read.burner();
2121
+ async hasSettleReadyWork() {
2122
+ return this.contract.read.hasSettleReadyWork();
1956
2123
  }
1957
2124
  /**
1958
- * collateral
2125
+ * isTracked
1959
2126
  * view
1960
2127
  */
1961
- async collateral() {
1962
- return this.contract.read.collateral();
2128
+ async isTracked(arg0) {
2129
+ return this.contract.read.isTracked([arg0]);
1963
2130
  }
1964
2131
  /**
1965
- * currentEpoch
2132
+ * maxSettlementBatchSize
1966
2133
  * view
1967
2134
  */
1968
- async currentEpoch() {
1969
- return this.contract.read.currentEpoch();
2135
+ async maxSettlementBatchSize() {
2136
+ return this.contract.read.maxSettlementBatchSize();
1970
2137
  }
1971
2138
  /**
1972
- * currentEpochStart
2139
+ * minDepositAssets
1973
2140
  * view
1974
2141
  */
1975
- async currentEpochStart() {
1976
- return this.contract.read.currentEpochStart();
2142
+ async minDepositAssets() {
2143
+ return this.contract.read.minDepositAssets();
1977
2144
  }
1978
2145
  /**
1979
- * delegator
2146
+ * oracle
1980
2147
  * view
1981
2148
  */
1982
- async delegator() {
1983
- return this.contract.read.delegator();
2149
+ async oracle() {
2150
+ return this.contract.read.oracle();
1984
2151
  }
1985
2152
  /**
1986
- * depositLimit
2153
+ * oracleContract
1987
2154
  * view
1988
2155
  */
1989
- async depositLimit() {
1990
- return this.contract.read.depositLimit();
2156
+ async oracleContract() {
2157
+ return this.contract.read.oracleContract();
1991
2158
  }
1992
2159
  /**
1993
- * depositWhitelist
2160
+ * paused
1994
2161
  * view
1995
2162
  */
1996
- async depositWhitelist() {
1997
- return this.contract.read.depositWhitelist();
2163
+ async paused() {
2164
+ return this.contract.read.paused();
1998
2165
  }
1999
2166
  /**
2000
- * epochAt
2167
+ * pendingDepositTotal
2001
2168
  * view
2002
2169
  */
2003
- async epochAt(timestamp) {
2004
- return this.contract.read.epochAt([timestamp]);
2170
+ async pendingDepositTotal() {
2171
+ return this.contract.read.pendingDepositTotal();
2005
2172
  }
2006
2173
  /**
2007
- * epochDuration
2174
+ * pendingSettlementWithdrawShares
2008
2175
  * view
2009
2176
  */
2010
- async epochDuration() {
2011
- return this.contract.read.epochDuration();
2177
+ async pendingSettlementWithdrawShares() {
2178
+ return this.contract.read.pendingSettlementWithdrawShares();
2012
2179
  }
2013
2180
  /**
2014
- * epochDurationInit
2181
+ * pendingWithdrawShares
2015
2182
  * view
2016
2183
  */
2017
- async epochDurationInit() {
2018
- return this.contract.read.epochDurationInit();
2184
+ async pendingWithdrawShares() {
2185
+ return this.contract.read.pendingWithdrawShares();
2019
2186
  }
2020
2187
  /**
2021
- * getRoleAdmin
2188
+ * performanceFee
2022
2189
  * view
2023
2190
  */
2024
- async getRoleAdmin(role) {
2025
- return this.contract.read.getRoleAdmin([role]);
2191
+ async performanceFee() {
2192
+ return this.contract.read.performanceFee();
2026
2193
  }
2027
2194
  /**
2028
- * hasRole
2195
+ * previewDeposit
2029
2196
  * view
2030
2197
  */
2031
- async hasRole(role, account) {
2032
- return this.contract.read.hasRole([role, account]);
2198
+ async previewDeposit(assets) {
2199
+ return this.contract.read.previewDeposit([assets]);
2033
2200
  }
2034
2201
  /**
2035
- * isDelegatorInitialized
2202
+ * previewWithdraw
2036
2203
  * view
2037
2204
  */
2038
- async isDelegatorInitialized() {
2039
- return this.contract.read.isDelegatorInitialized();
2205
+ async previewWithdraw(sharesIn, owner) {
2206
+ return this.contract.read.previewWithdraw([sharesIn, owner]);
2040
2207
  }
2041
2208
  /**
2042
- * isDepositLimit
2209
+ * pricePerShare
2043
2210
  * view
2044
2211
  */
2045
- async isDepositLimit() {
2046
- return this.contract.read.isDepositLimit();
2212
+ async pricePerShare() {
2213
+ return this.contract.read.pricePerShare();
2047
2214
  }
2048
2215
  /**
2049
- * isDepositorWhitelisted
2216
+ * queueLength
2050
2217
  * view
2051
2218
  */
2052
- async isDepositorWhitelisted(account) {
2053
- return this.contract.read.isDepositorWhitelisted([account]);
2219
+ async queueLength() {
2220
+ return this.contract.read.queueLength();
2054
2221
  }
2055
2222
  /**
2056
- * isInitialized
2223
+ * settledWithdrawalLiabilityTotal
2057
2224
  * view
2058
2225
  */
2059
- async isInitialized() {
2060
- return this.contract.read.isInitialized();
2226
+ async settledWithdrawalLiabilityTotal() {
2227
+ return this.contract.read.settledWithdrawalLiabilityTotal();
2061
2228
  }
2062
2229
  /**
2063
- * isSlasherInitialized
2230
+ * settlementFeeAssets
2064
2231
  * view
2065
2232
  */
2066
- async isSlasherInitialized() {
2067
- return this.contract.read.isSlasherInitialized();
2233
+ async settlementFeeAssets() {
2234
+ return this.contract.read.settlementFeeAssets();
2068
2235
  }
2069
2236
  /**
2070
- * isWithdrawalsClaimed
2237
+ * shareToken
2071
2238
  * view
2072
2239
  */
2073
- async isWithdrawalsClaimed(epoch, account) {
2074
- return this.contract.read.isWithdrawalsClaimed([epoch, account]);
2240
+ async shareToken() {
2241
+ return this.contract.read.shareToken();
2075
2242
  }
2076
2243
  /**
2077
- * nextEpochStart
2244
+ * shares
2078
2245
  * view
2079
2246
  */
2080
- async nextEpochStart() {
2081
- return this.contract.read.nextEpochStart();
2247
+ async shares() {
2248
+ return this.contract.read.shares();
2082
2249
  }
2083
2250
  /**
2084
- * owner
2251
+ * supportsInterface
2085
2252
  * view
2086
2253
  */
2087
- async owner() {
2088
- return this.contract.read.owner();
2254
+ async supportsInterface(interfaceId) {
2255
+ return this.contract.read.supportsInterface([interfaceId]);
2089
2256
  }
2090
2257
  /**
2091
- * previousEpochStart
2258
+ * targetAllowed
2092
2259
  * view
2093
2260
  */
2094
- async previousEpochStart() {
2095
- return this.contract.read.previousEpochStart();
2261
+ async targetAllowed(arg0) {
2262
+ return this.contract.read.targetAllowed([arg0]);
2096
2263
  }
2097
2264
  /**
2098
- * slashableBalanceOf
2265
+ * tokenDecimals
2099
2266
  * view
2100
2267
  */
2101
- async slashableBalanceOf(account) {
2102
- return this.contract.read.slashableBalanceOf([account]);
2268
+ async tokenDecimals(arg0) {
2269
+ return this.contract.read.tokenDecimals([arg0]);
2103
2270
  }
2104
2271
  /**
2105
- * slasher
2272
+ * totalAssets
2106
2273
  * view
2107
2274
  */
2108
- async slasher() {
2109
- return this.contract.read.slasher();
2275
+ async totalAssets() {
2276
+ return this.contract.read.totalAssets();
2110
2277
  }
2111
2278
  /**
2112
- * supportsInterface
2279
+ * trackedTokens
2113
2280
  * view
2114
2281
  */
2115
- async supportsInterface(interfaceId) {
2116
- return this.contract.read.supportsInterface([interfaceId]);
2282
+ async trackedTokens() {
2283
+ return this.contract.read.trackedTokens();
2117
2284
  }
2118
2285
  /**
2119
- * totalStake
2286
+ * userDepositIds
2120
2287
  * view
2121
2288
  */
2122
- async totalStake() {
2123
- return this.contract.read.totalStake();
2289
+ async userDepositIds(user) {
2290
+ return this.contract.read.userDepositIds([user]);
2124
2291
  }
2125
2292
  /**
2126
- * version
2293
+ * userRequestIds
2127
2294
  * view
2128
2295
  */
2129
- async version() {
2130
- return this.contract.read.version();
2296
+ async userRequestIds(user) {
2297
+ return this.contract.read.userRequestIds([user]);
2131
2298
  }
2132
2299
  /**
2133
- * withdrawalShares
2134
- * view
2300
+ * addTrackedToken
2301
+ * nonpayable
2302
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2135
2303
  */
2136
- async withdrawalShares(epoch) {
2137
- return this.contract.read.withdrawalShares([epoch]);
2304
+ async addTrackedToken(token, options) {
2305
+ if (!this.contract.write) {
2306
+ throw new Error('Wallet client is required for write operations');
2307
+ }
2308
+ return this.contract.write.addTrackedToken([token], options);
2138
2309
  }
2139
2310
  /**
2140
- * withdrawalSharesOf
2141
- * view
2311
+ * approveERC20
2312
+ * nonpayable
2313
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2142
2314
  */
2143
- async withdrawalSharesOf(epoch, account) {
2144
- return this.contract.read.withdrawalSharesOf([epoch, account]);
2315
+ async approveERC20(token, spender, amount, options) {
2316
+ if (!this.contract.write) {
2317
+ throw new Error('Wallet client is required for write operations');
2318
+ }
2319
+ return this.contract.write.approveERC20([token, spender, amount], options);
2145
2320
  }
2146
2321
  /**
2147
- * withdrawals
2148
- * view
2322
+ * approvePermit2
2323
+ * nonpayable
2324
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2149
2325
  */
2150
- async withdrawals(epoch) {
2151
- return this.contract.read.withdrawals([epoch]);
2326
+ async approvePermit2(permit2, token, spender, amount, expiration, options) {
2327
+ if (!this.contract.write) {
2328
+ throw new Error('Wallet client is required for write operations');
2329
+ }
2330
+ return this.contract.write.approvePermit2([permit2, token, spender, amount, expiration], options);
2152
2331
  }
2153
2332
  /**
2154
- * withdrawalsOf
2155
- * view
2333
+ * cancelDepositRequest
2334
+ * nonpayable
2335
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2156
2336
  */
2157
- async withdrawalsOf(epoch, account) {
2158
- return this.contract.read.withdrawalsOf([epoch, account]);
2337
+ async cancelDepositRequest(depositId, options) {
2338
+ if (!this.contract.write) {
2339
+ throw new Error('Wallet client is required for write operations');
2340
+ }
2341
+ return this.contract.write.cancelDepositRequest([depositId], options);
2159
2342
  }
2160
2343
  /**
2161
- * claim
2344
+ * cancelPendingDeposits
2162
2345
  * nonpayable
2163
2346
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2164
2347
  */
2165
- async claim(recipient, epoch, options) {
2348
+ async cancelPendingDeposits(maxCount, options) {
2166
2349
  if (!this.contract.write) {
2167
2350
  throw new Error('Wallet client is required for write operations');
2168
2351
  }
2169
- return this.contract.write.claim([recipient, epoch], options);
2352
+ return this.contract.write.cancelPendingDeposits([maxCount], options);
2170
2353
  }
2171
2354
  /**
2172
- * claimBatch
2355
+ * cancelWithdraw
2173
2356
  * nonpayable
2174
2357
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2175
2358
  */
2176
- async claimBatch(recipient, epochs, options) {
2359
+ async cancelWithdraw(requestId, options) {
2177
2360
  if (!this.contract.write) {
2178
2361
  throw new Error('Wallet client is required for write operations');
2179
2362
  }
2180
- return this.contract.write.claimBatch([recipient, epochs], options);
2363
+ return this.contract.write.cancelWithdraw([requestId], options);
2181
2364
  }
2182
2365
  /**
2183
- * deposit
2366
+ * claimAndDeposit
2184
2367
  * nonpayable
2185
2368
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2186
2369
  */
2187
- async deposit(onBehalfOf, amount, options) {
2370
+ async claimAndDeposit(requestId, newVault, options) {
2188
2371
  if (!this.contract.write) {
2189
2372
  throw new Error('Wallet client is required for write operations');
2190
2373
  }
2191
- return this.contract.write.deposit([onBehalfOf, amount], options);
2374
+ return this.contract.write.claimAndDeposit([requestId, newVault], options);
2192
2375
  }
2193
2376
  /**
2194
- * grantRole
2377
+ * claimWithdraw
2195
2378
  * nonpayable
2196
2379
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2197
2380
  */
2198
- async grantRole(role, account, options) {
2381
+ async claimWithdraw(requestId, options) {
2199
2382
  if (!this.contract.write) {
2200
2383
  throw new Error('Wallet client is required for write operations');
2201
2384
  }
2202
- return this.contract.write.grantRole([role, account], options);
2385
+ return this.contract.write.claimWithdraw([requestId], options);
2386
+ }
2387
+ /**
2388
+ * claimWithdrawTo
2389
+ * nonpayable
2390
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2391
+ */
2392
+ async claimWithdrawTo(requestId, recipient, options) {
2393
+ if (!this.contract.write) {
2394
+ throw new Error('Wallet client is required for write operations');
2395
+ }
2396
+ return this.contract.write.claimWithdrawTo([requestId, recipient], options);
2203
2397
  }
2204
2398
  /**
2205
- * initialize
2399
+ * grantRole
2206
2400
  * nonpayable
2207
2401
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2208
2402
  */
2209
- async initialize(initialVersion, owner_, data, options) {
2403
+ async grantRole(role, account, options) {
2210
2404
  if (!this.contract.write) {
2211
2405
  throw new Error('Wallet client is required for write operations');
2212
2406
  }
2213
- return this.contract.write.initialize([initialVersion, owner_, data], options);
2407
+ return this.contract.write.grantRole([role, account], options);
2214
2408
  }
2215
2409
  /**
2216
- * migrate
2410
+ * onShareTransfer
2217
2411
  * nonpayable
2218
2412
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2219
2413
  */
2220
- async migrate(newVersion, data, options) {
2414
+ async onShareTransfer(from, to, value, options) {
2221
2415
  if (!this.contract.write) {
2222
2416
  throw new Error('Wallet client is required for write operations');
2223
2417
  }
2224
- return this.contract.write.migrate([newVersion, data], options);
2418
+ return this.contract.write.onShareTransfer([from, to, value], options);
2225
2419
  }
2226
2420
  /**
2227
- * onSlash
2421
+ * pause
2228
2422
  * nonpayable
2229
2423
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2230
2424
  */
2231
- async onSlash(amount, captureTimestamp, options) {
2425
+ async pause(options) {
2232
2426
  if (!this.contract.write) {
2233
2427
  throw new Error('Wallet client is required for write operations');
2234
2428
  }
2235
- return this.contract.write.onSlash([amount, captureTimestamp], options);
2429
+ return this.contract.write.pause(options);
2236
2430
  }
2237
2431
  /**
2238
- * redeem
2432
+ * rebalance
2239
2433
  * nonpayable
2240
2434
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2241
2435
  */
2242
- async redeem(claimer, shares, options) {
2436
+ async rebalance(targets, calldatas, options) {
2243
2437
  if (!this.contract.write) {
2244
2438
  throw new Error('Wallet client is required for write operations');
2245
2439
  }
2246
- return this.contract.write.redeem([claimer, shares], options);
2440
+ return this.contract.write.rebalance([targets, calldatas], options);
2247
2441
  }
2248
2442
  /**
2249
- * renounceOwnership
2443
+ * removeTrackedToken
2250
2444
  * nonpayable
2251
2445
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2252
2446
  */
2253
- async renounceOwnership(options) {
2447
+ async removeTrackedToken(token, options) {
2254
2448
  if (!this.contract.write) {
2255
2449
  throw new Error('Wallet client is required for write operations');
2256
2450
  }
2257
- return this.contract.write.renounceOwnership(options);
2451
+ return this.contract.write.removeTrackedToken([token], options);
2258
2452
  }
2259
2453
  /**
2260
2454
  * renounceRole
@@ -2267,6 +2461,39 @@ class Vault_json {
2267
2461
  }
2268
2462
  return this.contract.write.renounceRole([role, callerConfirmation], options);
2269
2463
  }
2464
+ /**
2465
+ * requestDeposit
2466
+ * nonpayable
2467
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2468
+ */
2469
+ async requestDeposit(assets, options) {
2470
+ if (!this.contract.write) {
2471
+ throw new Error('Wallet client is required for write operations');
2472
+ }
2473
+ return this.contract.write.requestDeposit([assets], options);
2474
+ }
2475
+ /**
2476
+ * requestDepositFor
2477
+ * nonpayable
2478
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2479
+ */
2480
+ async requestDepositFor(assets, recipient, options) {
2481
+ if (!this.contract.write) {
2482
+ throw new Error('Wallet client is required for write operations');
2483
+ }
2484
+ return this.contract.write.requestDepositFor([assets, recipient], options);
2485
+ }
2486
+ /**
2487
+ * requestWithdraw
2488
+ * nonpayable
2489
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2490
+ */
2491
+ async requestWithdraw(sharesIn, options) {
2492
+ if (!this.contract.write) {
2493
+ throw new Error('Wallet client is required for write operations');
2494
+ }
2495
+ return this.contract.write.requestWithdraw([sharesIn], options);
2496
+ }
2270
2497
  /**
2271
2498
  * revokeRole
2272
2499
  * nonpayable
@@ -2279,103 +2506,103 @@ class Vault_json {
2279
2506
  return this.contract.write.revokeRole([role, account], options);
2280
2507
  }
2281
2508
  /**
2282
- * setDelegator
2509
+ * setFeeRecipient
2283
2510
  * nonpayable
2284
2511
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2285
2512
  */
2286
- async setDelegator(delegator_, options) {
2513
+ async setFeeRecipient(recipient, options) {
2287
2514
  if (!this.contract.write) {
2288
2515
  throw new Error('Wallet client is required for write operations');
2289
2516
  }
2290
- return this.contract.write.setDelegator([delegator_], options);
2517
+ return this.contract.write.setFeeRecipient([recipient], options);
2291
2518
  }
2292
2519
  /**
2293
- * setDepositLimit
2520
+ * setMaxSettlementBatchSize
2294
2521
  * nonpayable
2295
2522
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2296
2523
  */
2297
- async setDepositLimit(limit, options) {
2524
+ async setMaxSettlementBatchSize(size, options) {
2298
2525
  if (!this.contract.write) {
2299
2526
  throw new Error('Wallet client is required for write operations');
2300
2527
  }
2301
- return this.contract.write.setDepositLimit([limit], options);
2528
+ return this.contract.write.setMaxSettlementBatchSize([size], options);
2302
2529
  }
2303
2530
  /**
2304
- * setDepositWhitelist
2531
+ * setMinDepositAssets
2305
2532
  * nonpayable
2306
2533
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2307
2534
  */
2308
- async setDepositWhitelist(status, options) {
2535
+ async setMinDepositAssets(amount, options) {
2309
2536
  if (!this.contract.write) {
2310
2537
  throw new Error('Wallet client is required for write operations');
2311
2538
  }
2312
- return this.contract.write.setDepositWhitelist([status], options);
2539
+ return this.contract.write.setMinDepositAssets([amount], options);
2313
2540
  }
2314
2541
  /**
2315
- * setDepositorWhitelistStatus
2542
+ * setOracle
2316
2543
  * nonpayable
2317
2544
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2318
2545
  */
2319
- async setDepositorWhitelistStatus(account, status, options) {
2546
+ async setOracle(_oracle, options) {
2320
2547
  if (!this.contract.write) {
2321
2548
  throw new Error('Wallet client is required for write operations');
2322
2549
  }
2323
- return this.contract.write.setDepositorWhitelistStatus([account, status], options);
2550
+ return this.contract.write.setOracle([_oracle], options);
2324
2551
  }
2325
2552
  /**
2326
- * setIsDepositLimit
2553
+ * setPerformanceFee
2327
2554
  * nonpayable
2328
2555
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2329
2556
  */
2330
- async setIsDepositLimit(status, options) {
2557
+ async setPerformanceFee(feeBps, options) {
2331
2558
  if (!this.contract.write) {
2332
2559
  throw new Error('Wallet client is required for write operations');
2333
2560
  }
2334
- return this.contract.write.setIsDepositLimit([status], options);
2561
+ return this.contract.write.setPerformanceFee([feeBps], options);
2335
2562
  }
2336
2563
  /**
2337
- * setSlasher
2564
+ * setSettlementFee
2338
2565
  * nonpayable
2339
2566
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2340
2567
  */
2341
- async setSlasher(slasher_, options) {
2568
+ async setSettlementFee(fee, options) {
2342
2569
  if (!this.contract.write) {
2343
2570
  throw new Error('Wallet client is required for write operations');
2344
2571
  }
2345
- return this.contract.write.setSlasher([slasher_], options);
2572
+ return this.contract.write.setSettlementFee([fee], options);
2346
2573
  }
2347
2574
  /**
2348
- * staticDelegateCall
2575
+ * setTargetAllowed
2349
2576
  * nonpayable
2350
2577
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2351
2578
  */
2352
- async staticDelegateCall(target, data, options) {
2579
+ async setTargetAllowed(target, allowed, options) {
2353
2580
  if (!this.contract.write) {
2354
2581
  throw new Error('Wallet client is required for write operations');
2355
2582
  }
2356
- return this.contract.write.staticDelegateCall([target, data], options);
2583
+ return this.contract.write.setTargetAllowed([target, allowed], options);
2357
2584
  }
2358
2585
  /**
2359
- * transferOwnership
2586
+ * settle
2360
2587
  * nonpayable
2361
2588
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2362
2589
  */
2363
- async transferOwnership(newOwner, options) {
2590
+ async settle(tokens, prices, options) {
2364
2591
  if (!this.contract.write) {
2365
2592
  throw new Error('Wallet client is required for write operations');
2366
2593
  }
2367
- return this.contract.write.transferOwnership([newOwner], options);
2594
+ return this.contract.write.settle([tokens, prices], options);
2368
2595
  }
2369
2596
  /**
2370
- * withdraw
2597
+ * unpause
2371
2598
  * nonpayable
2372
2599
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2373
2600
  */
2374
- async withdraw(claimer, amount, options) {
2601
+ async unpause(options) {
2375
2602
  if (!this.contract.write) {
2376
2603
  throw new Error('Wallet client is required for write operations');
2377
2604
  }
2378
- return this.contract.write.withdraw([claimer, amount], options);
2605
+ return this.contract.write.unpause(options);
2379
2606
  }
2380
2607
  /**
2381
2608
  * Simulate contract write operations (dry-run without sending transaction)
@@ -2392,76 +2619,116 @@ class Vault_json {
2392
2619
  }
2393
2620
  return {
2394
2621
  /**
2395
- * Simulate claim
2622
+ * Simulate addTrackedToken
2396
2623
  * Returns gas estimate and result without sending transaction
2397
2624
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2398
2625
  */
2399
- async claim(recipient, epoch, options) {
2400
- return contract.simulate.claim([recipient, epoch], options);
2626
+ async addTrackedToken(token, options) {
2627
+ return contract.simulate.addTrackedToken([token], options);
2401
2628
  },
2402
2629
  /**
2403
- * Simulate claimBatch
2630
+ * Simulate approveERC20
2404
2631
  * Returns gas estimate and result without sending transaction
2405
2632
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2406
2633
  */
2407
- async claimBatch(recipient, epochs, options) {
2408
- return contract.simulate.claimBatch([recipient, epochs], options);
2634
+ async approveERC20(token, spender, amount, options) {
2635
+ return contract.simulate.approveERC20([token, spender, amount], options);
2409
2636
  },
2410
2637
  /**
2411
- * Simulate deposit
2638
+ * Simulate approvePermit2
2412
2639
  * Returns gas estimate and result without sending transaction
2413
2640
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2414
2641
  */
2415
- async deposit(onBehalfOf, amount, options) {
2416
- return contract.simulate.deposit([onBehalfOf, amount], options);
2642
+ async approvePermit2(permit2, token, spender, amount, expiration, options) {
2643
+ return contract.simulate.approvePermit2([permit2, token, spender, amount, expiration], options);
2417
2644
  },
2418
2645
  /**
2419
- * Simulate grantRole
2646
+ * Simulate cancelDepositRequest
2420
2647
  * Returns gas estimate and result without sending transaction
2421
2648
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2422
2649
  */
2423
- async grantRole(role, account, options) {
2424
- return contract.simulate.grantRole([role, account], options);
2650
+ async cancelDepositRequest(depositId, options) {
2651
+ return contract.simulate.cancelDepositRequest([depositId], options);
2652
+ },
2653
+ /**
2654
+ * Simulate cancelPendingDeposits
2655
+ * Returns gas estimate and result without sending transaction
2656
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2657
+ */
2658
+ async cancelPendingDeposits(maxCount, options) {
2659
+ return contract.simulate.cancelPendingDeposits([maxCount], options);
2660
+ },
2661
+ /**
2662
+ * Simulate cancelWithdraw
2663
+ * Returns gas estimate and result without sending transaction
2664
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2665
+ */
2666
+ async cancelWithdraw(requestId, options) {
2667
+ return contract.simulate.cancelWithdraw([requestId], options);
2668
+ },
2669
+ /**
2670
+ * Simulate claimAndDeposit
2671
+ * Returns gas estimate and result without sending transaction
2672
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2673
+ */
2674
+ async claimAndDeposit(requestId, newVault, options) {
2675
+ return contract.simulate.claimAndDeposit([requestId, newVault], options);
2676
+ },
2677
+ /**
2678
+ * Simulate claimWithdraw
2679
+ * Returns gas estimate and result without sending transaction
2680
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2681
+ */
2682
+ async claimWithdraw(requestId, options) {
2683
+ return contract.simulate.claimWithdraw([requestId], options);
2684
+ },
2685
+ /**
2686
+ * Simulate claimWithdrawTo
2687
+ * Returns gas estimate and result without sending transaction
2688
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2689
+ */
2690
+ async claimWithdrawTo(requestId, recipient, options) {
2691
+ return contract.simulate.claimWithdrawTo([requestId, recipient], options);
2425
2692
  },
2426
2693
  /**
2427
- * Simulate initialize
2694
+ * Simulate grantRole
2428
2695
  * Returns gas estimate and result without sending transaction
2429
2696
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2430
2697
  */
2431
- async initialize(initialVersion, owner_, data, options) {
2432
- return contract.simulate.initialize([initialVersion, owner_, data], options);
2698
+ async grantRole(role, account, options) {
2699
+ return contract.simulate.grantRole([role, account], options);
2433
2700
  },
2434
2701
  /**
2435
- * Simulate migrate
2702
+ * Simulate onShareTransfer
2436
2703
  * Returns gas estimate and result without sending transaction
2437
2704
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2438
2705
  */
2439
- async migrate(newVersion, data, options) {
2440
- return contract.simulate.migrate([newVersion, data], options);
2706
+ async onShareTransfer(from, to, value, options) {
2707
+ return contract.simulate.onShareTransfer([from, to, value], options);
2441
2708
  },
2442
2709
  /**
2443
- * Simulate onSlash
2710
+ * Simulate pause
2444
2711
  * Returns gas estimate and result without sending transaction
2445
2712
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2446
2713
  */
2447
- async onSlash(amount, captureTimestamp, options) {
2448
- return contract.simulate.onSlash([amount, captureTimestamp], options);
2714
+ async pause(options) {
2715
+ return contract.simulate.pause(options);
2449
2716
  },
2450
2717
  /**
2451
- * Simulate redeem
2718
+ * Simulate rebalance
2452
2719
  * Returns gas estimate and result without sending transaction
2453
2720
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2454
2721
  */
2455
- async redeem(claimer, shares, options) {
2456
- return contract.simulate.redeem([claimer, shares], options);
2722
+ async rebalance(targets, calldatas, options) {
2723
+ return contract.simulate.rebalance([targets, calldatas], options);
2457
2724
  },
2458
2725
  /**
2459
- * Simulate renounceOwnership
2726
+ * Simulate removeTrackedToken
2460
2727
  * Returns gas estimate and result without sending transaction
2461
2728
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2462
2729
  */
2463
- async renounceOwnership(options) {
2464
- return contract.simulate.renounceOwnership(options);
2730
+ async removeTrackedToken(token, options) {
2731
+ return contract.simulate.removeTrackedToken([token], options);
2465
2732
  },
2466
2733
  /**
2467
2734
  * Simulate renounceRole
@@ -2471,6 +2738,30 @@ class Vault_json {
2471
2738
  async renounceRole(role, callerConfirmation, options) {
2472
2739
  return contract.simulate.renounceRole([role, callerConfirmation], options);
2473
2740
  },
2741
+ /**
2742
+ * Simulate requestDeposit
2743
+ * Returns gas estimate and result without sending transaction
2744
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2745
+ */
2746
+ async requestDeposit(assets, options) {
2747
+ return contract.simulate.requestDeposit([assets], options);
2748
+ },
2749
+ /**
2750
+ * Simulate requestDepositFor
2751
+ * Returns gas estimate and result without sending transaction
2752
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2753
+ */
2754
+ async requestDepositFor(assets, recipient, options) {
2755
+ return contract.simulate.requestDepositFor([assets, recipient], options);
2756
+ },
2757
+ /**
2758
+ * Simulate requestWithdraw
2759
+ * Returns gas estimate and result without sending transaction
2760
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2761
+ */
2762
+ async requestWithdraw(sharesIn, options) {
2763
+ return contract.simulate.requestWithdraw([sharesIn], options);
2764
+ },
2474
2765
  /**
2475
2766
  * Simulate revokeRole
2476
2767
  * Returns gas estimate and result without sending transaction
@@ -2480,76 +2771,76 @@ class Vault_json {
2480
2771
  return contract.simulate.revokeRole([role, account], options);
2481
2772
  },
2482
2773
  /**
2483
- * Simulate setDelegator
2774
+ * Simulate setFeeRecipient
2484
2775
  * Returns gas estimate and result without sending transaction
2485
2776
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2486
2777
  */
2487
- async setDelegator(delegator_, options) {
2488
- return contract.simulate.setDelegator([delegator_], options);
2778
+ async setFeeRecipient(recipient, options) {
2779
+ return contract.simulate.setFeeRecipient([recipient], options);
2489
2780
  },
2490
2781
  /**
2491
- * Simulate setDepositLimit
2782
+ * Simulate setMaxSettlementBatchSize
2492
2783
  * Returns gas estimate and result without sending transaction
2493
2784
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2494
2785
  */
2495
- async setDepositLimit(limit, options) {
2496
- return contract.simulate.setDepositLimit([limit], options);
2786
+ async setMaxSettlementBatchSize(size, options) {
2787
+ return contract.simulate.setMaxSettlementBatchSize([size], options);
2497
2788
  },
2498
2789
  /**
2499
- * Simulate setDepositWhitelist
2790
+ * Simulate setMinDepositAssets
2500
2791
  * Returns gas estimate and result without sending transaction
2501
2792
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2502
2793
  */
2503
- async setDepositWhitelist(status, options) {
2504
- return contract.simulate.setDepositWhitelist([status], options);
2794
+ async setMinDepositAssets(amount, options) {
2795
+ return contract.simulate.setMinDepositAssets([amount], options);
2505
2796
  },
2506
2797
  /**
2507
- * Simulate setDepositorWhitelistStatus
2798
+ * Simulate setOracle
2508
2799
  * Returns gas estimate and result without sending transaction
2509
2800
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2510
2801
  */
2511
- async setDepositorWhitelistStatus(account, status, options) {
2512
- return contract.simulate.setDepositorWhitelistStatus([account, status], options);
2802
+ async setOracle(_oracle, options) {
2803
+ return contract.simulate.setOracle([_oracle], options);
2513
2804
  },
2514
2805
  /**
2515
- * Simulate setIsDepositLimit
2806
+ * Simulate setPerformanceFee
2516
2807
  * Returns gas estimate and result without sending transaction
2517
2808
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2518
2809
  */
2519
- async setIsDepositLimit(status, options) {
2520
- return contract.simulate.setIsDepositLimit([status], options);
2810
+ async setPerformanceFee(feeBps, options) {
2811
+ return contract.simulate.setPerformanceFee([feeBps], options);
2521
2812
  },
2522
2813
  /**
2523
- * Simulate setSlasher
2814
+ * Simulate setSettlementFee
2524
2815
  * Returns gas estimate and result without sending transaction
2525
2816
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2526
2817
  */
2527
- async setSlasher(slasher_, options) {
2528
- return contract.simulate.setSlasher([slasher_], options);
2818
+ async setSettlementFee(fee, options) {
2819
+ return contract.simulate.setSettlementFee([fee], options);
2529
2820
  },
2530
2821
  /**
2531
- * Simulate staticDelegateCall
2822
+ * Simulate setTargetAllowed
2532
2823
  * Returns gas estimate and result without sending transaction
2533
2824
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2534
2825
  */
2535
- async staticDelegateCall(target, data, options) {
2536
- return contract.simulate.staticDelegateCall([target, data], options);
2826
+ async setTargetAllowed(target, allowed, options) {
2827
+ return contract.simulate.setTargetAllowed([target, allowed], options);
2537
2828
  },
2538
2829
  /**
2539
- * Simulate transferOwnership
2830
+ * Simulate settle
2540
2831
  * Returns gas estimate and result without sending transaction
2541
2832
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2542
2833
  */
2543
- async transferOwnership(newOwner, options) {
2544
- return contract.simulate.transferOwnership([newOwner], options);
2834
+ async settle(tokens, prices, options) {
2835
+ return contract.simulate.settle([tokens, prices], options);
2545
2836
  },
2546
2837
  /**
2547
- * Simulate withdraw
2838
+ * Simulate unpause
2548
2839
  * Returns gas estimate and result without sending transaction
2549
2840
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2550
2841
  */
2551
- async withdraw(claimer, amount, options) {
2552
- return contract.simulate.withdraw([claimer, amount], options);
2842
+ async unpause(options) {
2843
+ return contract.simulate.unpause(options);
2553
2844
  }
2554
2845
  };
2555
2846
  }
@@ -2568,16 +2859,35 @@ class Vault_json {
2568
2859
  get watch() {
2569
2860
  return {
2570
2861
  /**
2571
- * Watch Claim events
2862
+ * Watch DepositAutoRefunded events
2863
+ * @param callback Function to call when event is emitted
2864
+ * @param filter Optional filter for indexed parameters
2865
+ * @returns Unwatch function to stop listening
2866
+ */
2867
+ DepositAutoRefunded: (callback, filter) => {
2868
+ return this.publicClient.watchContractEvent({
2869
+ address: this.contractAddress,
2870
+ abi: exports.Vault_jsonAbi,
2871
+ eventName: 'DepositAutoRefunded',
2872
+ args: filter,
2873
+ onLogs: (logs) => {
2874
+ logs.forEach((log) => {
2875
+ callback(log.args);
2876
+ });
2877
+ },
2878
+ });
2879
+ },
2880
+ /**
2881
+ * Watch DepositCancelled events
2572
2882
  * @param callback Function to call when event is emitted
2573
2883
  * @param filter Optional filter for indexed parameters
2574
2884
  * @returns Unwatch function to stop listening
2575
2885
  */
2576
- Claim: (callback, filter) => {
2886
+ DepositCancelled: (callback, filter) => {
2577
2887
  return this.publicClient.watchContractEvent({
2578
2888
  address: this.contractAddress,
2579
2889
  abi: exports.Vault_jsonAbi,
2580
- eventName: 'Claim',
2890
+ eventName: 'DepositCancelled',
2581
2891
  args: filter,
2582
2892
  onLogs: (logs) => {
2583
2893
  logs.forEach((log) => {
@@ -2587,16 +2897,16 @@ class Vault_json {
2587
2897
  });
2588
2898
  },
2589
2899
  /**
2590
- * Watch ClaimBatch events
2900
+ * Watch DepositRequested events
2591
2901
  * @param callback Function to call when event is emitted
2592
2902
  * @param filter Optional filter for indexed parameters
2593
2903
  * @returns Unwatch function to stop listening
2594
2904
  */
2595
- ClaimBatch: (callback, filter) => {
2905
+ DepositRequested: (callback, filter) => {
2596
2906
  return this.publicClient.watchContractEvent({
2597
2907
  address: this.contractAddress,
2598
2908
  abi: exports.Vault_jsonAbi,
2599
- eventName: 'ClaimBatch',
2909
+ eventName: 'DepositRequested',
2600
2910
  args: filter,
2601
2911
  onLogs: (logs) => {
2602
2912
  logs.forEach((log) => {
@@ -2606,16 +2916,16 @@ class Vault_json {
2606
2916
  });
2607
2917
  },
2608
2918
  /**
2609
- * Watch Deposit events
2919
+ * Watch DepositSettled events
2610
2920
  * @param callback Function to call when event is emitted
2611
2921
  * @param filter Optional filter for indexed parameters
2612
2922
  * @returns Unwatch function to stop listening
2613
2923
  */
2614
- Deposit: (callback, filter) => {
2924
+ DepositSettled: (callback, filter) => {
2615
2925
  return this.publicClient.watchContractEvent({
2616
2926
  address: this.contractAddress,
2617
2927
  abi: exports.Vault_jsonAbi,
2618
- eventName: 'Deposit',
2928
+ eventName: 'DepositSettled',
2619
2929
  args: filter,
2620
2930
  onLogs: (logs) => {
2621
2931
  logs.forEach((log) => {
@@ -2625,16 +2935,16 @@ class Vault_json {
2625
2935
  });
2626
2936
  },
2627
2937
  /**
2628
- * Watch Initialized events
2938
+ * Watch MaxSettlementBatchSizeSet events
2629
2939
  * @param callback Function to call when event is emitted
2630
2940
  * @param filter Optional filter for indexed parameters
2631
2941
  * @returns Unwatch function to stop listening
2632
2942
  */
2633
- Initialized: (callback) => {
2943
+ MaxSettlementBatchSizeSet: (callback) => {
2634
2944
  return this.publicClient.watchContractEvent({
2635
2945
  address: this.contractAddress,
2636
2946
  abi: exports.Vault_jsonAbi,
2637
- eventName: 'Initialized',
2947
+ eventName: 'MaxSettlementBatchSizeSet',
2638
2948
  onLogs: (logs) => {
2639
2949
  logs.forEach((log) => {
2640
2950
  callback(log.args);
@@ -2643,16 +2953,16 @@ class Vault_json {
2643
2953
  });
2644
2954
  },
2645
2955
  /**
2646
- * Watch OnSlash events
2956
+ * Watch MinDepositAssetsSet events
2647
2957
  * @param callback Function to call when event is emitted
2648
2958
  * @param filter Optional filter for indexed parameters
2649
2959
  * @returns Unwatch function to stop listening
2650
2960
  */
2651
- OnSlash: (callback) => {
2961
+ MinDepositAssetsSet: (callback) => {
2652
2962
  return this.publicClient.watchContractEvent({
2653
2963
  address: this.contractAddress,
2654
2964
  abi: exports.Vault_jsonAbi,
2655
- eventName: 'OnSlash',
2965
+ eventName: 'MinDepositAssetsSet',
2656
2966
  onLogs: (logs) => {
2657
2967
  logs.forEach((log) => {
2658
2968
  callback(log.args);
@@ -2661,16 +2971,16 @@ class Vault_json {
2661
2971
  });
2662
2972
  },
2663
2973
  /**
2664
- * Watch OwnershipTransferred events
2974
+ * Watch OracleSet events
2665
2975
  * @param callback Function to call when event is emitted
2666
2976
  * @param filter Optional filter for indexed parameters
2667
2977
  * @returns Unwatch function to stop listening
2668
2978
  */
2669
- OwnershipTransferred: (callback, filter) => {
2979
+ OracleSet: (callback, filter) => {
2670
2980
  return this.publicClient.watchContractEvent({
2671
2981
  address: this.contractAddress,
2672
2982
  abi: exports.Vault_jsonAbi,
2673
- eventName: 'OwnershipTransferred',
2983
+ eventName: 'OracleSet',
2674
2984
  args: filter,
2675
2985
  onLogs: (logs) => {
2676
2986
  logs.forEach((log) => {
@@ -2679,6 +2989,60 @@ class Vault_json {
2679
2989
  },
2680
2990
  });
2681
2991
  },
2992
+ /**
2993
+ * Watch Paused events
2994
+ * @param callback Function to call when event is emitted
2995
+ * @param filter Optional filter for indexed parameters
2996
+ * @returns Unwatch function to stop listening
2997
+ */
2998
+ Paused: (callback) => {
2999
+ return this.publicClient.watchContractEvent({
3000
+ address: this.contractAddress,
3001
+ abi: exports.Vault_jsonAbi,
3002
+ eventName: 'Paused',
3003
+ onLogs: (logs) => {
3004
+ logs.forEach((log) => {
3005
+ callback(log.args);
3006
+ });
3007
+ },
3008
+ });
3009
+ },
3010
+ /**
3011
+ * Watch PerformanceFeeSet events
3012
+ * @param callback Function to call when event is emitted
3013
+ * @param filter Optional filter for indexed parameters
3014
+ * @returns Unwatch function to stop listening
3015
+ */
3016
+ PerformanceFeeSet: (callback) => {
3017
+ return this.publicClient.watchContractEvent({
3018
+ address: this.contractAddress,
3019
+ abi: exports.Vault_jsonAbi,
3020
+ eventName: 'PerformanceFeeSet',
3021
+ onLogs: (logs) => {
3022
+ logs.forEach((log) => {
3023
+ callback(log.args);
3024
+ });
3025
+ },
3026
+ });
3027
+ },
3028
+ /**
3029
+ * Watch Rebalanced events
3030
+ * @param callback Function to call when event is emitted
3031
+ * @param filter Optional filter for indexed parameters
3032
+ * @returns Unwatch function to stop listening
3033
+ */
3034
+ Rebalanced: (callback) => {
3035
+ return this.publicClient.watchContractEvent({
3036
+ address: this.contractAddress,
3037
+ abi: exports.Vault_jsonAbi,
3038
+ eventName: 'Rebalanced',
3039
+ onLogs: (logs) => {
3040
+ logs.forEach((log) => {
3041
+ callback(log.args);
3042
+ });
3043
+ },
3044
+ });
3045
+ },
2682
3046
  /**
2683
3047
  * Watch RoleAdminChanged events
2684
3048
  * @param callback Function to call when event is emitted
@@ -2737,16 +3101,71 @@ class Vault_json {
2737
3101
  });
2738
3102
  },
2739
3103
  /**
2740
- * Watch SetDelegator events
3104
+ * Watch Settled events
3105
+ * @param callback Function to call when event is emitted
3106
+ * @param filter Optional filter for indexed parameters
3107
+ * @returns Unwatch function to stop listening
3108
+ */
3109
+ Settled: (callback) => {
3110
+ return this.publicClient.watchContractEvent({
3111
+ address: this.contractAddress,
3112
+ abi: exports.Vault_jsonAbi,
3113
+ eventName: 'Settled',
3114
+ onLogs: (logs) => {
3115
+ logs.forEach((log) => {
3116
+ callback(log.args);
3117
+ });
3118
+ },
3119
+ });
3120
+ },
3121
+ /**
3122
+ * Watch SettlementFeeSet events
3123
+ * @param callback Function to call when event is emitted
3124
+ * @param filter Optional filter for indexed parameters
3125
+ * @returns Unwatch function to stop listening
3126
+ */
3127
+ SettlementFeeSet: (callback) => {
3128
+ return this.publicClient.watchContractEvent({
3129
+ address: this.contractAddress,
3130
+ abi: exports.Vault_jsonAbi,
3131
+ eventName: 'SettlementFeeSet',
3132
+ onLogs: (logs) => {
3133
+ logs.forEach((log) => {
3134
+ callback(log.args);
3135
+ });
3136
+ },
3137
+ });
3138
+ },
3139
+ /**
3140
+ * Watch TargetAllowed events
3141
+ * @param callback Function to call when event is emitted
3142
+ * @param filter Optional filter for indexed parameters
3143
+ * @returns Unwatch function to stop listening
3144
+ */
3145
+ TargetAllowed: (callback, filter) => {
3146
+ return this.publicClient.watchContractEvent({
3147
+ address: this.contractAddress,
3148
+ abi: exports.Vault_jsonAbi,
3149
+ eventName: 'TargetAllowed',
3150
+ args: filter,
3151
+ onLogs: (logs) => {
3152
+ logs.forEach((log) => {
3153
+ callback(log.args);
3154
+ });
3155
+ },
3156
+ });
3157
+ },
3158
+ /**
3159
+ * Watch TrackedTokenAdded events
2741
3160
  * @param callback Function to call when event is emitted
2742
3161
  * @param filter Optional filter for indexed parameters
2743
3162
  * @returns Unwatch function to stop listening
2744
3163
  */
2745
- SetDelegator: (callback, filter) => {
3164
+ TrackedTokenAdded: (callback, filter) => {
2746
3165
  return this.publicClient.watchContractEvent({
2747
3166
  address: this.contractAddress,
2748
3167
  abi: exports.Vault_jsonAbi,
2749
- eventName: 'SetDelegator',
3168
+ eventName: 'TrackedTokenAdded',
2750
3169
  args: filter,
2751
3170
  onLogs: (logs) => {
2752
3171
  logs.forEach((log) => {
@@ -2756,16 +3175,17 @@ class Vault_json {
2756
3175
  });
2757
3176
  },
2758
3177
  /**
2759
- * Watch SetDepositLimit events
3178
+ * Watch TrackedTokenRemoved events
2760
3179
  * @param callback Function to call when event is emitted
2761
3180
  * @param filter Optional filter for indexed parameters
2762
3181
  * @returns Unwatch function to stop listening
2763
3182
  */
2764
- SetDepositLimit: (callback) => {
3183
+ TrackedTokenRemoved: (callback, filter) => {
2765
3184
  return this.publicClient.watchContractEvent({
2766
3185
  address: this.contractAddress,
2767
3186
  abi: exports.Vault_jsonAbi,
2768
- eventName: 'SetDepositLimit',
3187
+ eventName: 'TrackedTokenRemoved',
3188
+ args: filter,
2769
3189
  onLogs: (logs) => {
2770
3190
  logs.forEach((log) => {
2771
3191
  callback(log.args);
@@ -2774,16 +3194,16 @@ class Vault_json {
2774
3194
  });
2775
3195
  },
2776
3196
  /**
2777
- * Watch SetDepositWhitelist events
3197
+ * Watch Unpaused events
2778
3198
  * @param callback Function to call when event is emitted
2779
3199
  * @param filter Optional filter for indexed parameters
2780
3200
  * @returns Unwatch function to stop listening
2781
3201
  */
2782
- SetDepositWhitelist: (callback) => {
3202
+ Unpaused: (callback) => {
2783
3203
  return this.publicClient.watchContractEvent({
2784
3204
  address: this.contractAddress,
2785
3205
  abi: exports.Vault_jsonAbi,
2786
- eventName: 'SetDepositWhitelist',
3206
+ eventName: 'Unpaused',
2787
3207
  onLogs: (logs) => {
2788
3208
  logs.forEach((log) => {
2789
3209
  callback(log.args);
@@ -2792,16 +3212,16 @@ class Vault_json {
2792
3212
  });
2793
3213
  },
2794
3214
  /**
2795
- * Watch SetDepositorWhitelistStatus events
3215
+ * Watch WithdrawCancelled events
2796
3216
  * @param callback Function to call when event is emitted
2797
3217
  * @param filter Optional filter for indexed parameters
2798
3218
  * @returns Unwatch function to stop listening
2799
3219
  */
2800
- SetDepositorWhitelistStatus: (callback, filter) => {
3220
+ WithdrawCancelled: (callback, filter) => {
2801
3221
  return this.publicClient.watchContractEvent({
2802
3222
  address: this.contractAddress,
2803
3223
  abi: exports.Vault_jsonAbi,
2804
- eventName: 'SetDepositorWhitelistStatus',
3224
+ eventName: 'WithdrawCancelled',
2805
3225
  args: filter,
2806
3226
  onLogs: (logs) => {
2807
3227
  logs.forEach((log) => {
@@ -2811,16 +3231,17 @@ class Vault_json {
2811
3231
  });
2812
3232
  },
2813
3233
  /**
2814
- * Watch SetIsDepositLimit events
3234
+ * Watch WithdrawClaimed events
2815
3235
  * @param callback Function to call when event is emitted
2816
3236
  * @param filter Optional filter for indexed parameters
2817
3237
  * @returns Unwatch function to stop listening
2818
3238
  */
2819
- SetIsDepositLimit: (callback) => {
3239
+ WithdrawClaimed: (callback, filter) => {
2820
3240
  return this.publicClient.watchContractEvent({
2821
3241
  address: this.contractAddress,
2822
3242
  abi: exports.Vault_jsonAbi,
2823
- eventName: 'SetIsDepositLimit',
3243
+ eventName: 'WithdrawClaimed',
3244
+ args: filter,
2824
3245
  onLogs: (logs) => {
2825
3246
  logs.forEach((log) => {
2826
3247
  callback(log.args);
@@ -2829,16 +3250,16 @@ class Vault_json {
2829
3250
  });
2830
3251
  },
2831
3252
  /**
2832
- * Watch SetSlasher events
3253
+ * Watch WithdrawRequested events
2833
3254
  * @param callback Function to call when event is emitted
2834
3255
  * @param filter Optional filter for indexed parameters
2835
3256
  * @returns Unwatch function to stop listening
2836
3257
  */
2837
- SetSlasher: (callback, filter) => {
3258
+ WithdrawRequested: (callback, filter) => {
2838
3259
  return this.publicClient.watchContractEvent({
2839
3260
  address: this.contractAddress,
2840
3261
  abi: exports.Vault_jsonAbi,
2841
- eventName: 'SetSlasher',
3262
+ eventName: 'WithdrawRequested',
2842
3263
  args: filter,
2843
3264
  onLogs: (logs) => {
2844
3265
  logs.forEach((log) => {
@@ -2848,16 +3269,16 @@ class Vault_json {
2848
3269
  });
2849
3270
  },
2850
3271
  /**
2851
- * Watch Withdraw events
3272
+ * Watch WithdrawalSettled events
2852
3273
  * @param callback Function to call when event is emitted
2853
3274
  * @param filter Optional filter for indexed parameters
2854
3275
  * @returns Unwatch function to stop listening
2855
3276
  */
2856
- Withdraw: (callback, filter) => {
3277
+ WithdrawalSettled: (callback, filter) => {
2857
3278
  return this.publicClient.watchContractEvent({
2858
3279
  address: this.contractAddress,
2859
3280
  abi: exports.Vault_jsonAbi,
2860
- eventName: 'Withdraw',
3281
+ eventName: 'WithdrawalSettled',
2861
3282
  args: filter,
2862
3283
  onLogs: (logs) => {
2863
3284
  logs.forEach((log) => {