@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.
@@ -1,6 +1,29 @@
1
1
  import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType } from 'viem';
2
2
  import { getContract } from 'viem';
3
3
 
4
+
5
+ /**
6
+ * IVault.DepositRequest struct type
7
+ */
8
+ export type IVault_DepositRequest = {
9
+ owner: `0x${string}`;
10
+ assets: bigint;
11
+ status: bigint;
12
+ };
13
+
14
+ /**
15
+ * IVault.WithdrawRequest struct type
16
+ */
17
+ export type IVault_WithdrawRequest = {
18
+ owner: `0x${string}`;
19
+ shares: bigint;
20
+ costBasisValueSnapshot: bigint;
21
+ requestedAt: bigint;
22
+ claimableAt: bigint;
23
+ status: bigint;
24
+ assetsOut: bigint;
25
+ fee: bigint;
26
+ };
4
27
  /**
5
28
  * Vault_json ABI
6
29
  *
@@ -9,20 +32,55 @@ import { getContract } from 'viem';
9
32
  export const Vault_jsonAbi = [
10
33
  {
11
34
  "inputs": [
35
+ {
36
+ "internalType": "contract IERC20",
37
+ "name": "_asset",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "contract IOracle",
42
+ "name": "_oracle",
43
+ "type": "address"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "admin",
48
+ "type": "address"
49
+ },
12
50
  {
13
51
  "internalType": "address",
14
- "name": "delegatorFactory",
52
+ "name": "manager",
15
53
  "type": "address"
16
54
  },
17
55
  {
18
56
  "internalType": "address",
19
- "name": "slasherFactory",
57
+ "name": "bot",
20
58
  "type": "address"
21
59
  },
22
60
  {
23
61
  "internalType": "address",
24
- "name": "vaultFactory",
62
+ "name": "guardian",
25
63
  "type": "address"
64
+ },
65
+ {
66
+ "internalType": "address",
67
+ "name": "_feeRecipient",
68
+ "type": "address"
69
+ },
70
+ {
71
+ "internalType": "uint256",
72
+ "name": "_performanceFee",
73
+ "type": "uint256"
74
+ },
75
+ {
76
+ "internalType": "uint256",
77
+ "name": "_minDepositAssets",
78
+ "type": "uint256"
79
+ },
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "_maxSettlementBatchSize",
83
+ "type": "uint256"
26
84
  }
27
85
  ],
28
86
  "stateMutability": "nonpayable",
@@ -60,249 +118,138 @@ export const Vault_jsonAbi = [
60
118
  "name": "AddressEmptyCode",
61
119
  "type": "error"
62
120
  },
63
- {
64
- "inputs": [
65
- {
66
- "internalType": "address",
67
- "name": "account",
68
- "type": "address"
69
- }
70
- ],
71
- "name": "AddressInsufficientBalance",
72
- "type": "error"
73
- },
74
- {
75
- "inputs": [],
76
- "name": "AlreadyClaimed",
77
- "type": "error"
78
- },
79
- {
80
- "inputs": [],
81
- "name": "AlreadyInitialized",
82
- "type": "error"
83
- },
84
- {
85
- "inputs": [],
86
- "name": "AlreadySet",
87
- "type": "error"
88
- },
89
- {
90
- "inputs": [],
91
- "name": "CheckpointUnorderedInsertion",
92
- "type": "error"
93
- },
94
- {
95
- "inputs": [],
96
- "name": "DelegatorAlreadyInitialized",
97
- "type": "error"
98
- },
99
- {
100
- "inputs": [],
101
- "name": "DepositLimitReached",
102
- "type": "error"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "FailedInnerCall",
107
- "type": "error"
108
- },
109
- {
110
- "inputs": [],
111
- "name": "InsufficientClaim",
112
- "type": "error"
113
- },
114
- {
115
- "inputs": [],
116
- "name": "InsufficientDeposit",
117
- "type": "error"
118
- },
119
- {
120
- "inputs": [],
121
- "name": "InsufficientRedemption",
122
- "type": "error"
123
- },
124
- {
125
- "inputs": [],
126
- "name": "InsufficientWithdrawal",
127
- "type": "error"
128
- },
129
- {
130
- "inputs": [],
131
- "name": "InvalidAccount",
132
- "type": "error"
133
- },
134
- {
135
- "inputs": [],
136
- "name": "InvalidCaptureEpoch",
137
- "type": "error"
138
- },
139
- {
140
- "inputs": [],
141
- "name": "InvalidClaimer",
142
- "type": "error"
143
- },
144
- {
145
- "inputs": [],
146
- "name": "InvalidCollateral",
147
- "type": "error"
148
- },
149
- {
150
- "inputs": [],
151
- "name": "InvalidDelegator",
152
- "type": "error"
153
- },
154
- {
155
- "inputs": [],
156
- "name": "InvalidEpoch",
157
- "type": "error"
158
- },
159
- {
160
- "inputs": [],
161
- "name": "InvalidEpochDuration",
162
- "type": "error"
163
- },
164
121
  {
165
122
  "inputs": [],
166
- "name": "InvalidInitialization",
123
+ "name": "AlreadyTracked",
167
124
  "type": "error"
168
125
  },
169
126
  {
170
127
  "inputs": [],
171
- "name": "InvalidLengthEpochs",
128
+ "name": "DepositTooSmall",
172
129
  "type": "error"
173
130
  },
174
131
  {
175
132
  "inputs": [],
176
- "name": "InvalidOnBehalfOf",
133
+ "name": "EnforcedPause",
177
134
  "type": "error"
178
135
  },
179
136
  {
180
137
  "inputs": [],
181
- "name": "InvalidRecipient",
138
+ "name": "ExpectedPause",
182
139
  "type": "error"
183
140
  },
184
141
  {
185
142
  "inputs": [],
186
- "name": "InvalidSlasher",
143
+ "name": "FailedCall",
187
144
  "type": "error"
188
145
  },
189
146
  {
190
- "inputs": [],
191
- "name": "InvalidTimestamp",
147
+ "inputs": [
148
+ {
149
+ "internalType": "uint256",
150
+ "name": "balance",
151
+ "type": "uint256"
152
+ },
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "needed",
156
+ "type": "uint256"
157
+ }
158
+ ],
159
+ "name": "InsufficientBalance",
192
160
  "type": "error"
193
161
  },
194
162
  {
195
163
  "inputs": [],
196
- "name": "MathOverflowedMulDiv",
164
+ "name": "InsufficientLiquidity",
197
165
  "type": "error"
198
166
  },
199
167
  {
200
168
  "inputs": [],
201
- "name": "MissingRoles",
169
+ "name": "InsufficientShares",
202
170
  "type": "error"
203
171
  },
204
172
  {
205
173
  "inputs": [],
206
- "name": "NoPreviousEpoch",
174
+ "name": "InvalidBatchSize",
207
175
  "type": "error"
208
176
  },
209
177
  {
210
178
  "inputs": [],
211
- "name": "NotDelegator",
179
+ "name": "InvalidFee",
212
180
  "type": "error"
213
181
  },
214
182
  {
215
183
  "inputs": [],
216
- "name": "NotFactory",
184
+ "name": "NotRequestOwner",
217
185
  "type": "error"
218
186
  },
219
187
  {
220
188
  "inputs": [],
221
- "name": "NotInitialized",
189
+ "name": "NotTracked",
222
190
  "type": "error"
223
191
  },
224
192
  {
225
193
  "inputs": [],
226
- "name": "NotInitializing",
194
+ "name": "OnlyHPT",
227
195
  "type": "error"
228
196
  },
229
197
  {
230
198
  "inputs": [],
231
- "name": "NotSlasher",
199
+ "name": "ReentrancyGuardReentrantCall",
232
200
  "type": "error"
233
201
  },
234
202
  {
235
203
  "inputs": [],
236
- "name": "NotWhitelistedDepositor",
204
+ "name": "RequestNotOpen",
237
205
  "type": "error"
238
206
  },
239
207
  {
240
208
  "inputs": [
241
209
  {
242
210
  "internalType": "address",
243
- "name": "owner",
211
+ "name": "token",
244
212
  "type": "address"
245
213
  }
246
214
  ],
247
- "name": "OwnableInvalidOwner",
215
+ "name": "SafeERC20FailedOperation",
248
216
  "type": "error"
249
217
  },
250
218
  {
251
219
  "inputs": [
252
220
  {
253
221
  "internalType": "address",
254
- "name": "account",
222
+ "name": "target",
255
223
  "type": "address"
256
224
  }
257
225
  ],
258
- "name": "OwnableUnauthorizedAccount",
259
- "type": "error"
260
- },
261
- {
262
- "inputs": [],
263
- "name": "ReentrancyGuardReentrantCall",
226
+ "name": "TargetNotAllowed",
264
227
  "type": "error"
265
228
  },
266
229
  {
267
230
  "inputs": [
268
231
  {
269
- "internalType": "uint8",
270
- "name": "bits",
271
- "type": "uint8"
232
+ "internalType": "address",
233
+ "name": "token",
234
+ "type": "address"
272
235
  },
273
236
  {
274
237
  "internalType": "uint256",
275
- "name": "value",
238
+ "name": "balance",
276
239
  "type": "uint256"
277
240
  }
278
241
  ],
279
- "name": "SafeCastOverflowedUintDowncast",
280
- "type": "error"
281
- },
282
- {
283
- "inputs": [
284
- {
285
- "internalType": "address",
286
- "name": "token",
287
- "type": "address"
288
- }
289
- ],
290
- "name": "SafeERC20FailedOperation",
291
- "type": "error"
292
- },
293
- {
294
- "inputs": [],
295
- "name": "SlasherAlreadyInitialized",
242
+ "name": "TrackedTokenHasBalance",
296
243
  "type": "error"
297
244
  },
298
245
  {
299
246
  "inputs": [],
300
- "name": "TooMuchRedeem",
247
+ "name": "WithdrawNotReady",
301
248
  "type": "error"
302
249
  },
303
250
  {
304
251
  "inputs": [],
305
- "name": "TooMuchWithdraw",
252
+ "name": "ZeroAmount",
306
253
  "type": "error"
307
254
  },
308
255
  {
@@ -310,30 +257,49 @@ export const Vault_jsonAbi = [
310
257
  "inputs": [
311
258
  {
312
259
  "indexed": true,
313
- "internalType": "address",
314
- "name": "claimer",
315
- "type": "address"
260
+ "internalType": "uint256",
261
+ "name": "depositId",
262
+ "type": "uint256"
316
263
  },
317
264
  {
318
265
  "indexed": true,
319
266
  "internalType": "address",
320
- "name": "recipient",
267
+ "name": "owner",
321
268
  "type": "address"
322
269
  },
323
270
  {
324
271
  "indexed": false,
325
272
  "internalType": "uint256",
326
- "name": "epoch",
273
+ "name": "assets",
274
+ "type": "uint256"
275
+ }
276
+ ],
277
+ "name": "DepositAutoRefunded",
278
+ "type": "event"
279
+ },
280
+ {
281
+ "anonymous": false,
282
+ "inputs": [
283
+ {
284
+ "indexed": true,
285
+ "internalType": "uint256",
286
+ "name": "depositId",
327
287
  "type": "uint256"
328
288
  },
289
+ {
290
+ "indexed": true,
291
+ "internalType": "address",
292
+ "name": "owner",
293
+ "type": "address"
294
+ },
329
295
  {
330
296
  "indexed": false,
331
297
  "internalType": "uint256",
332
- "name": "amount",
298
+ "name": "assets",
333
299
  "type": "uint256"
334
300
  }
335
301
  ],
336
- "name": "Claim",
302
+ "name": "DepositCancelled",
337
303
  "type": "event"
338
304
  },
339
305
  {
@@ -341,30 +307,24 @@ export const Vault_jsonAbi = [
341
307
  "inputs": [
342
308
  {
343
309
  "indexed": true,
344
- "internalType": "address",
345
- "name": "claimer",
346
- "type": "address"
310
+ "internalType": "uint256",
311
+ "name": "depositId",
312
+ "type": "uint256"
347
313
  },
348
314
  {
349
315
  "indexed": true,
350
316
  "internalType": "address",
351
- "name": "recipient",
317
+ "name": "owner",
352
318
  "type": "address"
353
319
  },
354
- {
355
- "indexed": false,
356
- "internalType": "uint256[]",
357
- "name": "epochs",
358
- "type": "uint256[]"
359
- },
360
320
  {
361
321
  "indexed": false,
362
322
  "internalType": "uint256",
363
- "name": "amount",
323
+ "name": "assets",
364
324
  "type": "uint256"
365
325
  }
366
326
  ],
367
- "name": "ClaimBatch",
327
+ "name": "DepositRequested",
368
328
  "type": "event"
369
329
  },
370
330
  {
@@ -372,20 +332,20 @@ export const Vault_jsonAbi = [
372
332
  "inputs": [
373
333
  {
374
334
  "indexed": true,
375
- "internalType": "address",
376
- "name": "depositor",
377
- "type": "address"
335
+ "internalType": "uint256",
336
+ "name": "depositId",
337
+ "type": "uint256"
378
338
  },
379
339
  {
380
340
  "indexed": true,
381
341
  "internalType": "address",
382
- "name": "onBehalfOf",
342
+ "name": "owner",
383
343
  "type": "address"
384
344
  },
385
345
  {
386
346
  "indexed": false,
387
347
  "internalType": "uint256",
388
- "name": "amount",
348
+ "name": "netAssets",
389
349
  "type": "uint256"
390
350
  },
391
351
  {
@@ -395,7 +355,7 @@ export const Vault_jsonAbi = [
395
355
  "type": "uint256"
396
356
  }
397
357
  ],
398
- "name": "Deposit",
358
+ "name": "DepositSettled",
399
359
  "type": "event"
400
360
  },
401
361
  {
@@ -403,12 +363,12 @@ export const Vault_jsonAbi = [
403
363
  "inputs": [
404
364
  {
405
365
  "indexed": false,
406
- "internalType": "uint64",
407
- "name": "version",
408
- "type": "uint64"
366
+ "internalType": "uint256",
367
+ "name": "size",
368
+ "type": "uint256"
409
369
  }
410
370
  ],
411
- "name": "Initialized",
371
+ "name": "MaxSettlementBatchSizeSet",
412
372
  "type": "event"
413
373
  },
414
374
  {
@@ -419,40 +379,73 @@ export const Vault_jsonAbi = [
419
379
  "internalType": "uint256",
420
380
  "name": "amount",
421
381
  "type": "uint256"
422
- },
382
+ }
383
+ ],
384
+ "name": "MinDepositAssetsSet",
385
+ "type": "event"
386
+ },
387
+ {
388
+ "anonymous": false,
389
+ "inputs": [
390
+ {
391
+ "indexed": true,
392
+ "internalType": "address",
393
+ "name": "oracle",
394
+ "type": "address"
395
+ }
396
+ ],
397
+ "name": "OracleSet",
398
+ "type": "event"
399
+ },
400
+ {
401
+ "anonymous": false,
402
+ "inputs": [
423
403
  {
424
404
  "indexed": false,
425
- "internalType": "uint48",
426
- "name": "captureTimestamp",
427
- "type": "uint48"
428
- },
405
+ "internalType": "address",
406
+ "name": "account",
407
+ "type": "address"
408
+ }
409
+ ],
410
+ "name": "Paused",
411
+ "type": "event"
412
+ },
413
+ {
414
+ "anonymous": false,
415
+ "inputs": [
429
416
  {
430
417
  "indexed": false,
431
418
  "internalType": "uint256",
432
- "name": "slashedAmount",
419
+ "name": "feeBps",
433
420
  "type": "uint256"
434
421
  }
435
422
  ],
436
- "name": "OnSlash",
423
+ "name": "PerformanceFeeSet",
437
424
  "type": "event"
438
425
  },
439
426
  {
440
427
  "anonymous": false,
441
428
  "inputs": [
442
429
  {
443
- "indexed": true,
444
- "internalType": "address",
445
- "name": "previousOwner",
446
- "type": "address"
430
+ "indexed": false,
431
+ "internalType": "uint256",
432
+ "name": "callCount",
433
+ "type": "uint256"
447
434
  },
448
435
  {
449
- "indexed": true,
450
- "internalType": "address",
451
- "name": "newOwner",
452
- "type": "address"
436
+ "indexed": false,
437
+ "internalType": "uint256",
438
+ "name": "navBefore",
439
+ "type": "uint256"
440
+ },
441
+ {
442
+ "indexed": false,
443
+ "internalType": "uint256",
444
+ "name": "navAfter",
445
+ "type": "uint256"
453
446
  }
454
447
  ],
455
- "name": "OwnershipTransferred",
448
+ "name": "Rebalanced",
456
449
  "type": "event"
457
450
  },
458
451
  {
@@ -534,13 +527,31 @@ export const Vault_jsonAbi = [
534
527
  "anonymous": false,
535
528
  "inputs": [
536
529
  {
537
- "indexed": true,
538
- "internalType": "address",
539
- "name": "delegator",
540
- "type": "address"
541
- }
530
+ "indexed": false,
531
+ "internalType": "uint256",
532
+ "name": "oraclePriceCount",
533
+ "type": "uint256"
534
+ },
535
+ {
536
+ "indexed": false,
537
+ "internalType": "uint256",
538
+ "name": "depositsSettled",
539
+ "type": "uint256"
540
+ },
541
+ {
542
+ "indexed": false,
543
+ "internalType": "uint256",
544
+ "name": "depositsRefunded",
545
+ "type": "uint256"
546
+ },
547
+ {
548
+ "indexed": false,
549
+ "internalType": "uint256",
550
+ "name": "withdrawalsProcessed",
551
+ "type": "uint256"
552
+ }
542
553
  ],
543
- "name": "SetDelegator",
554
+ "name": "Settled",
544
555
  "type": "event"
545
556
  },
546
557
  {
@@ -549,24 +560,30 @@ export const Vault_jsonAbi = [
549
560
  {
550
561
  "indexed": false,
551
562
  "internalType": "uint256",
552
- "name": "limit",
563
+ "name": "fee",
553
564
  "type": "uint256"
554
565
  }
555
566
  ],
556
- "name": "SetDepositLimit",
567
+ "name": "SettlementFeeSet",
557
568
  "type": "event"
558
569
  },
559
570
  {
560
571
  "anonymous": false,
561
572
  "inputs": [
573
+ {
574
+ "indexed": true,
575
+ "internalType": "address",
576
+ "name": "target",
577
+ "type": "address"
578
+ },
562
579
  {
563
580
  "indexed": false,
564
581
  "internalType": "bool",
565
- "name": "status",
582
+ "name": "allowed",
566
583
  "type": "bool"
567
584
  }
568
585
  ],
569
- "name": "SetDepositWhitelist",
586
+ "name": "TargetAllowed",
570
587
  "type": "event"
571
588
  },
572
589
  {
@@ -575,85 +592,172 @@ export const Vault_jsonAbi = [
575
592
  {
576
593
  "indexed": true,
577
594
  "internalType": "address",
578
- "name": "account",
595
+ "name": "token",
579
596
  "type": "address"
580
- },
597
+ }
598
+ ],
599
+ "name": "TrackedTokenAdded",
600
+ "type": "event"
601
+ },
602
+ {
603
+ "anonymous": false,
604
+ "inputs": [
605
+ {
606
+ "indexed": true,
607
+ "internalType": "address",
608
+ "name": "token",
609
+ "type": "address"
610
+ }
611
+ ],
612
+ "name": "TrackedTokenRemoved",
613
+ "type": "event"
614
+ },
615
+ {
616
+ "anonymous": false,
617
+ "inputs": [
581
618
  {
582
619
  "indexed": false,
583
- "internalType": "bool",
584
- "name": "status",
585
- "type": "bool"
620
+ "internalType": "address",
621
+ "name": "account",
622
+ "type": "address"
586
623
  }
587
624
  ],
588
- "name": "SetDepositorWhitelistStatus",
625
+ "name": "Unpaused",
589
626
  "type": "event"
590
627
  },
591
628
  {
592
629
  "anonymous": false,
593
630
  "inputs": [
631
+ {
632
+ "indexed": true,
633
+ "internalType": "uint256",
634
+ "name": "requestId",
635
+ "type": "uint256"
636
+ },
637
+ {
638
+ "indexed": true,
639
+ "internalType": "address",
640
+ "name": "owner",
641
+ "type": "address"
642
+ },
594
643
  {
595
644
  "indexed": false,
596
- "internalType": "bool",
597
- "name": "status",
598
- "type": "bool"
645
+ "internalType": "uint256",
646
+ "name": "shares",
647
+ "type": "uint256"
599
648
  }
600
649
  ],
601
- "name": "SetIsDepositLimit",
650
+ "name": "WithdrawCancelled",
602
651
  "type": "event"
603
652
  },
604
653
  {
605
654
  "anonymous": false,
606
655
  "inputs": [
656
+ {
657
+ "indexed": true,
658
+ "internalType": "uint256",
659
+ "name": "requestId",
660
+ "type": "uint256"
661
+ },
607
662
  {
608
663
  "indexed": true,
609
664
  "internalType": "address",
610
- "name": "slasher",
665
+ "name": "owner",
611
666
  "type": "address"
667
+ },
668
+ {
669
+ "indexed": false,
670
+ "internalType": "uint256",
671
+ "name": "shares",
672
+ "type": "uint256"
673
+ },
674
+ {
675
+ "indexed": false,
676
+ "internalType": "uint256",
677
+ "name": "assetsPaid",
678
+ "type": "uint256"
679
+ },
680
+ {
681
+ "indexed": false,
682
+ "internalType": "uint256",
683
+ "name": "fee",
684
+ "type": "uint256"
612
685
  }
613
686
  ],
614
- "name": "SetSlasher",
687
+ "name": "WithdrawClaimed",
615
688
  "type": "event"
616
689
  },
617
690
  {
618
691
  "anonymous": false,
619
692
  "inputs": [
693
+ {
694
+ "indexed": true,
695
+ "internalType": "uint256",
696
+ "name": "requestId",
697
+ "type": "uint256"
698
+ },
620
699
  {
621
700
  "indexed": true,
622
701
  "internalType": "address",
623
- "name": "withdrawer",
702
+ "name": "owner",
624
703
  "type": "address"
625
704
  },
705
+ {
706
+ "indexed": false,
707
+ "internalType": "uint256",
708
+ "name": "shares",
709
+ "type": "uint256"
710
+ },
711
+ {
712
+ "indexed": false,
713
+ "internalType": "uint64",
714
+ "name": "claimableAt",
715
+ "type": "uint64"
716
+ }
717
+ ],
718
+ "name": "WithdrawRequested",
719
+ "type": "event"
720
+ },
721
+ {
722
+ "anonymous": false,
723
+ "inputs": [
724
+ {
725
+ "indexed": true,
726
+ "internalType": "uint256",
727
+ "name": "requestId",
728
+ "type": "uint256"
729
+ },
626
730
  {
627
731
  "indexed": true,
628
732
  "internalType": "address",
629
- "name": "claimer",
733
+ "name": "owner",
630
734
  "type": "address"
631
735
  },
632
736
  {
633
737
  "indexed": false,
634
738
  "internalType": "uint256",
635
- "name": "amount",
739
+ "name": "shares",
636
740
  "type": "uint256"
637
741
  },
638
742
  {
639
743
  "indexed": false,
640
744
  "internalType": "uint256",
641
- "name": "burnedShares",
745
+ "name": "assetsOut",
642
746
  "type": "uint256"
643
747
  },
644
748
  {
645
749
  "indexed": false,
646
750
  "internalType": "uint256",
647
- "name": "mintedShares",
751
+ "name": "fee",
648
752
  "type": "uint256"
649
753
  }
650
754
  ],
651
- "name": "Withdraw",
755
+ "name": "WithdrawalSettled",
652
756
  "type": "event"
653
757
  },
654
758
  {
655
759
  "inputs": [],
656
- "name": "DEFAULT_ADMIN_ROLE",
760
+ "name": "BOT_ROLE",
657
761
  "outputs": [
658
762
  {
659
763
  "internalType": "bytes32",
@@ -666,12 +770,12 @@ export const Vault_jsonAbi = [
666
770
  },
667
771
  {
668
772
  "inputs": [],
669
- "name": "DELEGATOR_FACTORY",
773
+ "name": "BPS",
670
774
  "outputs": [
671
775
  {
672
- "internalType": "address",
776
+ "internalType": "uint256",
673
777
  "name": "",
674
- "type": "address"
778
+ "type": "uint256"
675
779
  }
676
780
  ],
677
781
  "stateMutability": "view",
@@ -679,7 +783,7 @@ export const Vault_jsonAbi = [
679
783
  },
680
784
  {
681
785
  "inputs": [],
682
- "name": "DEPOSITOR_WHITELIST_ROLE",
786
+ "name": "DEFAULT_ADMIN_ROLE",
683
787
  "outputs": [
684
788
  {
685
789
  "internalType": "bytes32",
@@ -692,7 +796,7 @@ export const Vault_jsonAbi = [
692
796
  },
693
797
  {
694
798
  "inputs": [],
695
- "name": "DEPOSIT_LIMIT_SET_ROLE",
799
+ "name": "GUARDIAN_ROLE",
696
800
  "outputs": [
697
801
  {
698
802
  "internalType": "bytes32",
@@ -705,7 +809,7 @@ export const Vault_jsonAbi = [
705
809
  },
706
810
  {
707
811
  "inputs": [],
708
- "name": "DEPOSIT_WHITELIST_SET_ROLE",
812
+ "name": "MANAGER_ROLE",
709
813
  "outputs": [
710
814
  {
711
815
  "internalType": "bytes32",
@@ -718,12 +822,12 @@ export const Vault_jsonAbi = [
718
822
  },
719
823
  {
720
824
  "inputs": [],
721
- "name": "FACTORY",
825
+ "name": "MAX_FEE_BPS",
722
826
  "outputs": [
723
827
  {
724
- "internalType": "address",
828
+ "internalType": "uint256",
725
829
  "name": "",
726
- "type": "address"
830
+ "type": "uint256"
727
831
  }
728
832
  ],
729
833
  "stateMutability": "view",
@@ -731,73 +835,94 @@ export const Vault_jsonAbi = [
731
835
  },
732
836
  {
733
837
  "inputs": [],
734
- "name": "IS_DEPOSIT_LIMIT_SET_ROLE",
838
+ "name": "SHARE_SCALE",
735
839
  "outputs": [
736
840
  {
737
- "internalType": "bytes32",
841
+ "internalType": "uint256",
738
842
  "name": "",
739
- "type": "bytes32"
843
+ "type": "uint256"
740
844
  }
741
845
  ],
742
846
  "stateMutability": "view",
743
847
  "type": "function"
744
848
  },
745
849
  {
746
- "inputs": [],
747
- "name": "SLASHER_FACTORY",
748
- "outputs": [
850
+ "inputs": [
749
851
  {
750
852
  "internalType": "address",
751
- "name": "",
853
+ "name": "token",
752
854
  "type": "address"
753
855
  }
754
856
  ],
755
- "stateMutability": "view",
857
+ "name": "addTrackedToken",
858
+ "outputs": [],
859
+ "stateMutability": "nonpayable",
756
860
  "type": "function"
757
861
  },
758
862
  {
759
863
  "inputs": [
864
+ {
865
+ "internalType": "contract IERC20",
866
+ "name": "token",
867
+ "type": "address"
868
+ },
760
869
  {
761
870
  "internalType": "address",
762
- "name": "account",
871
+ "name": "spender",
763
872
  "type": "address"
764
- }
765
- ],
766
- "name": "activeBalanceOf",
767
- "outputs": [
873
+ },
768
874
  {
769
875
  "internalType": "uint256",
770
- "name": "",
876
+ "name": "amount",
771
877
  "type": "uint256"
772
878
  }
773
879
  ],
774
- "stateMutability": "view",
880
+ "name": "approveERC20",
881
+ "outputs": [],
882
+ "stateMutability": "nonpayable",
775
883
  "type": "function"
776
884
  },
777
885
  {
778
886
  "inputs": [
779
887
  {
780
888
  "internalType": "address",
781
- "name": "account",
889
+ "name": "permit2",
782
890
  "type": "address"
783
891
  },
784
892
  {
785
- "internalType": "uint48",
786
- "name": "timestamp",
787
- "type": "uint48"
893
+ "internalType": "address",
894
+ "name": "token",
895
+ "type": "address"
788
896
  },
789
897
  {
790
- "internalType": "bytes",
791
- "name": "hints",
792
- "type": "bytes"
898
+ "internalType": "address",
899
+ "name": "spender",
900
+ "type": "address"
901
+ },
902
+ {
903
+ "internalType": "uint160",
904
+ "name": "amount",
905
+ "type": "uint160"
906
+ },
907
+ {
908
+ "internalType": "uint48",
909
+ "name": "expiration",
910
+ "type": "uint48"
793
911
  }
794
912
  ],
795
- "name": "activeBalanceOfAt",
913
+ "name": "approvePermit2",
914
+ "outputs": [],
915
+ "stateMutability": "nonpayable",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [],
920
+ "name": "asset",
796
921
  "outputs": [
797
922
  {
798
- "internalType": "uint256",
923
+ "internalType": "address",
799
924
  "name": "",
800
- "type": "uint256"
925
+ "type": "address"
801
926
  }
802
927
  ],
803
928
  "stateMutability": "view",
@@ -805,36 +930,25 @@ export const Vault_jsonAbi = [
805
930
  },
806
931
  {
807
932
  "inputs": [],
808
- "name": "activeShares",
933
+ "name": "assetDecimals",
809
934
  "outputs": [
810
935
  {
811
- "internalType": "uint256",
936
+ "internalType": "uint8",
812
937
  "name": "",
813
- "type": "uint256"
938
+ "type": "uint8"
814
939
  }
815
940
  ],
816
941
  "stateMutability": "view",
817
942
  "type": "function"
818
943
  },
819
944
  {
820
- "inputs": [
821
- {
822
- "internalType": "uint48",
823
- "name": "timestamp",
824
- "type": "uint48"
825
- },
826
- {
827
- "internalType": "bytes",
828
- "name": "hint",
829
- "type": "bytes"
830
- }
831
- ],
832
- "name": "activeSharesAt",
945
+ "inputs": [],
946
+ "name": "assetToken",
833
947
  "outputs": [
834
948
  {
835
- "internalType": "uint256",
949
+ "internalType": "contract IERC20",
836
950
  "name": "",
837
- "type": "uint256"
951
+ "type": "address"
838
952
  }
839
953
  ],
840
954
  "stateMutability": "view",
@@ -842,123 +956,101 @@ export const Vault_jsonAbi = [
842
956
  },
843
957
  {
844
958
  "inputs": [
845
- {
846
- "internalType": "address",
847
- "name": "account",
848
- "type": "address"
849
- }
850
- ],
851
- "name": "activeSharesOf",
852
- "outputs": [
853
959
  {
854
960
  "internalType": "uint256",
855
- "name": "",
961
+ "name": "depositId",
856
962
  "type": "uint256"
857
963
  }
858
964
  ],
859
- "stateMutability": "view",
965
+ "name": "cancelDepositRequest",
966
+ "outputs": [],
967
+ "stateMutability": "nonpayable",
860
968
  "type": "function"
861
969
  },
862
970
  {
863
971
  "inputs": [
864
972
  {
865
- "internalType": "address",
866
- "name": "account",
867
- "type": "address"
868
- },
869
- {
870
- "internalType": "uint48",
871
- "name": "timestamp",
872
- "type": "uint48"
873
- },
874
- {
875
- "internalType": "bytes",
876
- "name": "hint",
877
- "type": "bytes"
973
+ "internalType": "uint256",
974
+ "name": "maxCount",
975
+ "type": "uint256"
878
976
  }
879
977
  ],
880
- "name": "activeSharesOfAt",
978
+ "name": "cancelPendingDeposits",
881
979
  "outputs": [
882
980
  {
883
981
  "internalType": "uint256",
884
- "name": "",
982
+ "name": "cancelled",
885
983
  "type": "uint256"
886
984
  }
887
985
  ],
888
- "stateMutability": "view",
986
+ "stateMutability": "nonpayable",
889
987
  "type": "function"
890
988
  },
891
989
  {
892
- "inputs": [],
893
- "name": "activeStake",
894
- "outputs": [
990
+ "inputs": [
895
991
  {
896
992
  "internalType": "uint256",
897
- "name": "",
993
+ "name": "requestId",
898
994
  "type": "uint256"
899
995
  }
900
996
  ],
901
- "stateMutability": "view",
997
+ "name": "cancelWithdraw",
998
+ "outputs": [],
999
+ "stateMutability": "nonpayable",
902
1000
  "type": "function"
903
1001
  },
904
1002
  {
905
1003
  "inputs": [
906
1004
  {
907
- "internalType": "uint48",
908
- "name": "timestamp",
909
- "type": "uint48"
1005
+ "internalType": "uint256",
1006
+ "name": "requestId",
1007
+ "type": "uint256"
910
1008
  },
911
1009
  {
912
- "internalType": "bytes",
913
- "name": "hint",
914
- "type": "bytes"
1010
+ "internalType": "contract IVault",
1011
+ "name": "newVault",
1012
+ "type": "address"
915
1013
  }
916
1014
  ],
917
- "name": "activeStakeAt",
1015
+ "name": "claimAndDeposit",
918
1016
  "outputs": [
919
1017
  {
920
1018
  "internalType": "uint256",
921
- "name": "",
1019
+ "name": "depositId",
922
1020
  "type": "uint256"
923
1021
  }
924
1022
  ],
925
- "stateMutability": "view",
1023
+ "stateMutability": "nonpayable",
926
1024
  "type": "function"
927
1025
  },
928
1026
  {
929
- "inputs": [],
930
- "name": "burner",
931
- "outputs": [
1027
+ "inputs": [
932
1028
  {
933
- "internalType": "address",
934
- "name": "",
935
- "type": "address"
1029
+ "internalType": "uint256",
1030
+ "name": "requestId",
1031
+ "type": "uint256"
936
1032
  }
937
1033
  ],
938
- "stateMutability": "view",
1034
+ "name": "claimWithdraw",
1035
+ "outputs": [],
1036
+ "stateMutability": "nonpayable",
939
1037
  "type": "function"
940
1038
  },
941
1039
  {
942
1040
  "inputs": [
943
- {
944
- "internalType": "address",
945
- "name": "recipient",
946
- "type": "address"
947
- },
948
1041
  {
949
1042
  "internalType": "uint256",
950
- "name": "epoch",
1043
+ "name": "requestId",
951
1044
  "type": "uint256"
952
- }
953
- ],
954
- "name": "claim",
955
- "outputs": [
1045
+ },
956
1046
  {
957
- "internalType": "uint256",
958
- "name": "amount",
959
- "type": "uint256"
1047
+ "internalType": "address",
1048
+ "name": "recipient",
1049
+ "type": "address"
960
1050
  }
961
1051
  ],
1052
+ "name": "claimWithdrawTo",
1053
+ "outputs": [],
962
1054
  "stateMutability": "nonpayable",
963
1055
  "type": "function"
964
1056
  },
@@ -966,42 +1058,30 @@ export const Vault_jsonAbi = [
966
1058
  "inputs": [
967
1059
  {
968
1060
  "internalType": "address",
969
- "name": "recipient",
1061
+ "name": "user",
970
1062
  "type": "address"
971
- },
972
- {
973
- "internalType": "uint256[]",
974
- "name": "epochs",
975
- "type": "uint256[]"
976
1063
  }
977
1064
  ],
978
- "name": "claimBatch",
1065
+ "name": "costBasisPerShare",
979
1066
  "outputs": [
980
1067
  {
981
1068
  "internalType": "uint256",
982
- "name": "amount",
1069
+ "name": "",
983
1070
  "type": "uint256"
984
1071
  }
985
1072
  ],
986
- "stateMutability": "nonpayable",
1073
+ "stateMutability": "view",
987
1074
  "type": "function"
988
1075
  },
989
1076
  {
990
- "inputs": [],
991
- "name": "collateral",
992
- "outputs": [
1077
+ "inputs": [
993
1078
  {
994
1079
  "internalType": "address",
995
1080
  "name": "",
996
1081
  "type": "address"
997
1082
  }
998
1083
  ],
999
- "stateMutability": "view",
1000
- "type": "function"
1001
- },
1002
- {
1003
- "inputs": [],
1004
- "name": "currentEpoch",
1084
+ "name": "costBasisValue",
1005
1085
  "outputs": [
1006
1086
  {
1007
1087
  "internalType": "uint256",
@@ -1014,12 +1094,12 @@ export const Vault_jsonAbi = [
1014
1094
  },
1015
1095
  {
1016
1096
  "inputs": [],
1017
- "name": "currentEpochStart",
1097
+ "name": "depositQueueLength",
1018
1098
  "outputs": [
1019
1099
  {
1020
- "internalType": "uint48",
1100
+ "internalType": "uint256",
1021
1101
  "name": "",
1022
- "type": "uint48"
1102
+ "type": "uint256"
1023
1103
  }
1024
1104
  ],
1025
1105
  "stateMutability": "view",
@@ -1027,7 +1107,7 @@ export const Vault_jsonAbi = [
1027
1107
  },
1028
1108
  {
1029
1109
  "inputs": [],
1030
- "name": "delegator",
1110
+ "name": "feeRecipient",
1031
1111
  "outputs": [
1032
1112
  {
1033
1113
  "internalType": "address",
@@ -1040,54 +1120,35 @@ export const Vault_jsonAbi = [
1040
1120
  },
1041
1121
  {
1042
1122
  "inputs": [
1043
- {
1044
- "internalType": "address",
1045
- "name": "onBehalfOf",
1046
- "type": "address"
1047
- },
1048
- {
1049
- "internalType": "uint256",
1050
- "name": "amount",
1051
- "type": "uint256"
1052
- }
1053
- ],
1054
- "name": "deposit",
1055
- "outputs": [
1056
- {
1057
- "internalType": "uint256",
1058
- "name": "depositedAmount",
1059
- "type": "uint256"
1060
- },
1061
- {
1062
- "internalType": "uint256",
1063
- "name": "mintedShares",
1064
- "type": "uint256"
1065
- }
1066
- ],
1067
- "stateMutability": "nonpayable",
1068
- "type": "function"
1069
- },
1070
- {
1071
- "inputs": [],
1072
- "name": "depositLimit",
1073
- "outputs": [
1074
1123
  {
1075
1124
  "internalType": "uint256",
1076
- "name": "",
1125
+ "name": "depositId",
1077
1126
  "type": "uint256"
1078
1127
  }
1079
1128
  ],
1080
- "stateMutability": "view",
1081
- "type": "function"
1082
- },
1083
- {
1084
- "inputs": [],
1085
- "name": "depositWhitelist",
1129
+ "name": "getDepositRequest",
1086
1130
  "outputs": [
1087
1131
  {
1088
- "internalType": "bool",
1132
+ "components": [
1133
+ {
1134
+ "internalType": "address",
1135
+ "name": "owner",
1136
+ "type": "address"
1137
+ },
1138
+ {
1139
+ "internalType": "uint256",
1140
+ "name": "assets",
1141
+ "type": "uint256"
1142
+ },
1143
+ {
1144
+ "internalType": "enum IVault.DepositStatus",
1145
+ "name": "status",
1146
+ "type": "uint8"
1147
+ }
1148
+ ],
1149
+ "internalType": "struct IVault.DepositRequest",
1089
1150
  "name": "",
1090
- "type": "bool"
1151
+ "type": "tuple"
1091
1152
  }
1092
1153
  ],
1093
1154
  "stateMutability": "view",
@@ -1095,44 +1156,60 @@ export const Vault_jsonAbi = [
1095
1156
  },
1096
1157
  {
1097
1158
  "inputs": [
1098
- {
1099
- "internalType": "uint48",
1100
- "name": "timestamp",
1101
- "type": "uint48"
1102
- }
1103
- ],
1104
- "name": "epochAt",
1105
- "outputs": [
1106
1159
  {
1107
1160
  "internalType": "uint256",
1108
- "name": "",
1161
+ "name": "requestId",
1109
1162
  "type": "uint256"
1110
1163
  }
1111
1164
  ],
1112
- "stateMutability": "view",
1113
- "type": "function"
1114
- },
1115
- {
1116
- "inputs": [],
1117
- "name": "epochDuration",
1165
+ "name": "getRequest",
1118
1166
  "outputs": [
1119
1167
  {
1120
- "internalType": "uint48",
1121
- "name": "",
1122
- "type": "uint48"
1123
- }
1124
- ],
1125
- "stateMutability": "view",
1126
- "type": "function"
1127
- },
1128
- {
1129
- "inputs": [],
1130
- "name": "epochDurationInit",
1131
- "outputs": [
1132
- {
1133
- "internalType": "uint48",
1168
+ "components": [
1169
+ {
1170
+ "internalType": "address",
1171
+ "name": "owner",
1172
+ "type": "address"
1173
+ },
1174
+ {
1175
+ "internalType": "uint256",
1176
+ "name": "shares",
1177
+ "type": "uint256"
1178
+ },
1179
+ {
1180
+ "internalType": "uint256",
1181
+ "name": "costBasisValueSnapshot",
1182
+ "type": "uint256"
1183
+ },
1184
+ {
1185
+ "internalType": "uint64",
1186
+ "name": "requestedAt",
1187
+ "type": "uint64"
1188
+ },
1189
+ {
1190
+ "internalType": "uint64",
1191
+ "name": "claimableAt",
1192
+ "type": "uint64"
1193
+ },
1194
+ {
1195
+ "internalType": "enum IVault.WithdrawStatus",
1196
+ "name": "status",
1197
+ "type": "uint8"
1198
+ },
1199
+ {
1200
+ "internalType": "uint256",
1201
+ "name": "assetsOut",
1202
+ "type": "uint256"
1203
+ },
1204
+ {
1205
+ "internalType": "uint256",
1206
+ "name": "fee",
1207
+ "type": "uint256"
1208
+ }
1209
+ ],
1210
+ "internalType": "struct IVault.WithdrawRequest",
1134
1211
  "name": "",
1135
- "type": "uint48"
1212
+ "type": "tuple"
1136
1213
  }
1137
1214
  ],
1138
1215
  "stateMutability": "view",
@@ -1191,9 +1268,67 @@ export const Vault_jsonAbi = [
1191
1268
  "name": "hasRole",
1192
1269
  "outputs": [
1193
1270
  {
1194
- "internalType": "bool",
1271
+ "internalType": "bool",
1272
+ "name": "",
1273
+ "type": "bool"
1274
+ }
1275
+ ],
1276
+ "stateMutability": "view",
1277
+ "type": "function"
1278
+ },
1279
+ {
1280
+ "inputs": [],
1281
+ "name": "hasSettleReadyWork",
1282
+ "outputs": [
1283
+ {
1284
+ "internalType": "bool",
1285
+ "name": "",
1286
+ "type": "bool"
1287
+ }
1288
+ ],
1289
+ "stateMutability": "view",
1290
+ "type": "function"
1291
+ },
1292
+ {
1293
+ "inputs": [
1294
+ {
1295
+ "internalType": "address",
1296
+ "name": "",
1297
+ "type": "address"
1298
+ }
1299
+ ],
1300
+ "name": "isTracked",
1301
+ "outputs": [
1302
+ {
1303
+ "internalType": "bool",
1304
+ "name": "",
1305
+ "type": "bool"
1306
+ }
1307
+ ],
1308
+ "stateMutability": "view",
1309
+ "type": "function"
1310
+ },
1311
+ {
1312
+ "inputs": [],
1313
+ "name": "maxSettlementBatchSize",
1314
+ "outputs": [
1315
+ {
1316
+ "internalType": "uint256",
1317
+ "name": "",
1318
+ "type": "uint256"
1319
+ }
1320
+ ],
1321
+ "stateMutability": "view",
1322
+ "type": "function"
1323
+ },
1324
+ {
1325
+ "inputs": [],
1326
+ "name": "minDepositAssets",
1327
+ "outputs": [
1328
+ {
1329
+ "internalType": "uint256",
1195
1330
  "name": "",
1196
- "type": "bool"
1331
+ "type": "uint256"
1197
1332
  }
1198
1333
  ],
1199
1334
  "stateMutability": "view",
@@ -1202,34 +1337,34 @@ export const Vault_jsonAbi = [
1202
1337
  {
1203
1338
  "inputs": [
1204
1339
  {
1205
- "internalType": "uint64",
1206
- "name": "initialVersion",
1207
- "type": "uint64"
1340
+ "internalType": "address",
1341
+ "name": "from",
1342
+ "type": "address"
1208
1343
  },
1209
1344
  {
1210
1345
  "internalType": "address",
1211
- "name": "owner_",
1346
+ "name": "to",
1212
1347
  "type": "address"
1213
1348
  },
1214
1349
  {
1215
- "internalType": "bytes",
1216
- "name": "data",
1217
- "type": "bytes"
1350
+ "internalType": "uint256",
1351
+ "name": "value",
1352
+ "type": "uint256"
1218
1353
  }
1219
1354
  ],
1220
- "name": "initialize",
1355
+ "name": "onShareTransfer",
1221
1356
  "outputs": [],
1222
1357
  "stateMutability": "nonpayable",
1223
1358
  "type": "function"
1224
1359
  },
1225
1360
  {
1226
1361
  "inputs": [],
1227
- "name": "isDelegatorInitialized",
1362
+ "name": "oracle",
1228
1363
  "outputs": [
1229
1364
  {
1230
- "internalType": "bool",
1365
+ "internalType": "address",
1231
1366
  "name": "",
1232
- "type": "bool"
1367
+ "type": "address"
1233
1368
  }
1234
1369
  ],
1235
1370
  "stateMutability": "view",
@@ -1237,30 +1372,31 @@ export const Vault_jsonAbi = [
1237
1372
  },
1238
1373
  {
1239
1374
  "inputs": [],
1240
- "name": "isDepositLimit",
1375
+ "name": "oracleContract",
1241
1376
  "outputs": [
1242
1377
  {
1243
- "internalType": "bool",
1378
+ "internalType": "contract IOracle",
1244
1379
  "name": "",
1245
- "type": "bool"
1380
+ "type": "address"
1246
1381
  }
1247
1382
  ],
1248
1383
  "stateMutability": "view",
1249
1384
  "type": "function"
1250
1385
  },
1251
1386
  {
1252
- "inputs": [
1253
- {
1254
- "internalType": "address",
1255
- "name": "account",
1256
- "type": "address"
1257
- }
1258
- ],
1259
- "name": "isDepositorWhitelisted",
1387
+ "inputs": [],
1388
+ "name": "pause",
1389
+ "outputs": [],
1390
+ "stateMutability": "nonpayable",
1391
+ "type": "function"
1392
+ },
1393
+ {
1394
+ "inputs": [],
1395
+ "name": "paused",
1260
1396
  "outputs": [
1261
1397
  {
1262
1398
  "internalType": "bool",
1263
- "name": "value",
1399
+ "name": "",
1264
1400
  "type": "bool"
1265
1401
  }
1266
1402
  ],
@@ -1269,12 +1405,12 @@ export const Vault_jsonAbi = [
1269
1405
  },
1270
1406
  {
1271
1407
  "inputs": [],
1272
- "name": "isInitialized",
1408
+ "name": "pendingDepositTotal",
1273
1409
  "outputs": [
1274
1410
  {
1275
- "internalType": "bool",
1411
+ "internalType": "uint256",
1276
1412
  "name": "",
1277
- "type": "bool"
1413
+ "type": "uint256"
1278
1414
  }
1279
1415
  ],
1280
1416
  "stateMutability": "view",
@@ -1282,36 +1418,38 @@ export const Vault_jsonAbi = [
1282
1418
  },
1283
1419
  {
1284
1420
  "inputs": [],
1285
- "name": "isSlasherInitialized",
1421
+ "name": "pendingSettlementWithdrawShares",
1286
1422
  "outputs": [
1287
1423
  {
1288
- "internalType": "bool",
1424
+ "internalType": "uint256",
1289
1425
  "name": "",
1290
- "type": "bool"
1426
+ "type": "uint256"
1291
1427
  }
1292
1428
  ],
1293
1429
  "stateMutability": "view",
1294
1430
  "type": "function"
1295
1431
  },
1296
1432
  {
1297
- "inputs": [
1433
+ "inputs": [],
1434
+ "name": "pendingWithdrawShares",
1435
+ "outputs": [
1298
1436
  {
1299
1437
  "internalType": "uint256",
1300
- "name": "epoch",
1438
+ "name": "",
1301
1439
  "type": "uint256"
1302
- },
1303
- {
1304
- "internalType": "address",
1305
- "name": "account",
1306
- "type": "address"
1307
1440
  }
1308
1441
  ],
1309
- "name": "isWithdrawalsClaimed",
1442
+ "stateMutability": "view",
1443
+ "type": "function"
1444
+ },
1445
+ {
1446
+ "inputs": [],
1447
+ "name": "performanceFee",
1310
1448
  "outputs": [
1311
1449
  {
1312
- "internalType": "bool",
1313
- "name": "value",
1314
- "type": "bool"
1450
+ "internalType": "uint256",
1451
+ "name": "",
1452
+ "type": "uint256"
1315
1453
  }
1316
1454
  ],
1317
1455
  "stateMutability": "view",
@@ -1320,29 +1458,17 @@ export const Vault_jsonAbi = [
1320
1458
  {
1321
1459
  "inputs": [
1322
1460
  {
1323
- "internalType": "uint64",
1324
- "name": "newVersion",
1325
- "type": "uint64"
1326
- },
1327
- {
1328
- "internalType": "bytes",
1329
- "name": "data",
1330
- "type": "bytes"
1461
+ "internalType": "uint256",
1462
+ "name": "assets",
1463
+ "type": "uint256"
1331
1464
  }
1332
1465
  ],
1333
- "name": "migrate",
1334
- "outputs": [],
1335
- "stateMutability": "nonpayable",
1336
- "type": "function"
1337
- },
1338
- {
1339
- "inputs": [],
1340
- "name": "nextEpochStart",
1466
+ "name": "previewDeposit",
1341
1467
  "outputs": [
1342
1468
  {
1343
- "internalType": "uint48",
1469
+ "internalType": "uint256",
1344
1470
  "name": "",
1345
- "type": "uint48"
1471
+ "type": "uint256"
1346
1472
  }
1347
1473
  ],
1348
1474
  "stateMutability": "view",
@@ -1352,34 +1478,39 @@ export const Vault_jsonAbi = [
1352
1478
  "inputs": [
1353
1479
  {
1354
1480
  "internalType": "uint256",
1355
- "name": "amount",
1481
+ "name": "sharesIn",
1356
1482
  "type": "uint256"
1357
1483
  },
1358
1484
  {
1359
- "internalType": "uint48",
1360
- "name": "captureTimestamp",
1361
- "type": "uint48"
1485
+ "internalType": "address",
1486
+ "name": "owner",
1487
+ "type": "address"
1362
1488
  }
1363
1489
  ],
1364
- "name": "onSlash",
1490
+ "name": "previewWithdraw",
1365
1491
  "outputs": [
1366
1492
  {
1367
1493
  "internalType": "uint256",
1368
- "name": "slashedAmount",
1494
+ "name": "estimatedAssets",
1495
+ "type": "uint256"
1496
+ },
1497
+ {
1498
+ "internalType": "uint256",
1499
+ "name": "estimatedFee",
1369
1500
  "type": "uint256"
1370
1501
  }
1371
1502
  ],
1372
- "stateMutability": "nonpayable",
1503
+ "stateMutability": "view",
1373
1504
  "type": "function"
1374
1505
  },
1375
1506
  {
1376
1507
  "inputs": [],
1377
- "name": "owner",
1508
+ "name": "pricePerShare",
1378
1509
  "outputs": [
1379
1510
  {
1380
- "internalType": "address",
1511
+ "internalType": "uint256",
1381
1512
  "name": "",
1382
- "type": "address"
1513
+ "type": "uint256"
1383
1514
  }
1384
1515
  ],
1385
1516
  "stateMutability": "view",
@@ -1387,12 +1518,12 @@ export const Vault_jsonAbi = [
1387
1518
  },
1388
1519
  {
1389
1520
  "inputs": [],
1390
- "name": "previousEpochStart",
1521
+ "name": "queueLength",
1391
1522
  "outputs": [
1392
1523
  {
1393
- "internalType": "uint48",
1524
+ "internalType": "uint256",
1394
1525
  "name": "",
1395
- "type": "uint48"
1526
+ "type": "uint256"
1396
1527
  }
1397
1528
  ],
1398
1529
  "stateMutability": "view",
@@ -1401,35 +1532,30 @@ export const Vault_jsonAbi = [
1401
1532
  {
1402
1533
  "inputs": [
1403
1534
  {
1404
- "internalType": "address",
1405
- "name": "claimer",
1406
- "type": "address"
1407
- },
1408
- {
1409
- "internalType": "uint256",
1410
- "name": "shares",
1411
- "type": "uint256"
1412
- }
1413
- ],
1414
- "name": "redeem",
1415
- "outputs": [
1416
- {
1417
- "internalType": "uint256",
1418
- "name": "withdrawnAssets",
1419
- "type": "uint256"
1535
+ "internalType": "address[]",
1536
+ "name": "targets",
1537
+ "type": "address[]"
1420
1538
  },
1421
1539
  {
1422
- "internalType": "uint256",
1423
- "name": "mintedShares",
1424
- "type": "uint256"
1540
+ "internalType": "bytes[]",
1541
+ "name": "calldatas",
1542
+ "type": "bytes[]"
1425
1543
  }
1426
1544
  ],
1545
+ "name": "rebalance",
1546
+ "outputs": [],
1427
1547
  "stateMutability": "nonpayable",
1428
1548
  "type": "function"
1429
1549
  },
1430
1550
  {
1431
- "inputs": [],
1432
- "name": "renounceOwnership",
1551
+ "inputs": [
1552
+ {
1553
+ "internalType": "address",
1554
+ "name": "token",
1555
+ "type": "address"
1556
+ }
1557
+ ],
1558
+ "name": "removeTrackedToken",
1433
1559
  "outputs": [],
1434
1560
  "stateMutability": "nonpayable",
1435
1561
  "type": "function"
@@ -1455,31 +1581,43 @@ export const Vault_jsonAbi = [
1455
1581
  {
1456
1582
  "inputs": [
1457
1583
  {
1458
- "internalType": "bytes32",
1459
- "name": "role",
1460
- "type": "bytes32"
1461
- },
1584
+ "internalType": "uint256",
1585
+ "name": "assets",
1586
+ "type": "uint256"
1587
+ }
1588
+ ],
1589
+ "name": "requestDeposit",
1590
+ "outputs": [
1462
1591
  {
1463
- "internalType": "address",
1464
- "name": "account",
1465
- "type": "address"
1592
+ "internalType": "uint256",
1593
+ "name": "depositId",
1594
+ "type": "uint256"
1466
1595
  }
1467
1596
  ],
1468
- "name": "revokeRole",
1469
- "outputs": [],
1470
1597
  "stateMutability": "nonpayable",
1471
1598
  "type": "function"
1472
1599
  },
1473
1600
  {
1474
1601
  "inputs": [
1602
+ {
1603
+ "internalType": "uint256",
1604
+ "name": "assets",
1605
+ "type": "uint256"
1606
+ },
1475
1607
  {
1476
1608
  "internalType": "address",
1477
- "name": "delegator_",
1609
+ "name": "recipient",
1478
1610
  "type": "address"
1479
1611
  }
1480
1612
  ],
1481
- "name": "setDelegator",
1482
- "outputs": [],
1613
+ "name": "requestDepositFor",
1614
+ "outputs": [
1615
+ {
1616
+ "internalType": "uint256",
1617
+ "name": "depositId",
1618
+ "type": "uint256"
1619
+ }
1620
+ ],
1483
1621
  "stateMutability": "nonpayable",
1484
1622
  "type": "function"
1485
1623
  },
@@ -1487,24 +1625,35 @@ export const Vault_jsonAbi = [
1487
1625
  "inputs": [
1488
1626
  {
1489
1627
  "internalType": "uint256",
1490
- "name": "limit",
1628
+ "name": "sharesIn",
1629
+ "type": "uint256"
1630
+ }
1631
+ ],
1632
+ "name": "requestWithdraw",
1633
+ "outputs": [
1634
+ {
1635
+ "internalType": "uint256",
1636
+ "name": "requestId",
1491
1637
  "type": "uint256"
1492
1638
  }
1493
1639
  ],
1494
- "name": "setDepositLimit",
1495
- "outputs": [],
1496
1640
  "stateMutability": "nonpayable",
1497
1641
  "type": "function"
1498
1642
  },
1499
1643
  {
1500
1644
  "inputs": [
1501
1645
  {
1502
- "internalType": "bool",
1503
- "name": "status",
1504
- "type": "bool"
1646
+ "internalType": "bytes32",
1647
+ "name": "role",
1648
+ "type": "bytes32"
1649
+ },
1650
+ {
1651
+ "internalType": "address",
1652
+ "name": "account",
1653
+ "type": "address"
1505
1654
  }
1506
1655
  ],
1507
- "name": "setDepositWhitelist",
1656
+ "name": "revokeRole",
1508
1657
  "outputs": [],
1509
1658
  "stateMutability": "nonpayable",
1510
1659
  "type": "function"
@@ -1513,16 +1662,11 @@ export const Vault_jsonAbi = [
1513
1662
  "inputs": [
1514
1663
  {
1515
1664
  "internalType": "address",
1516
- "name": "account",
1665
+ "name": "recipient",
1517
1666
  "type": "address"
1518
- },
1519
- {
1520
- "internalType": "bool",
1521
- "name": "status",
1522
- "type": "bool"
1523
1667
  }
1524
1668
  ],
1525
- "name": "setDepositorWhitelistStatus",
1669
+ "name": "setFeeRecipient",
1526
1670
  "outputs": [],
1527
1671
  "stateMutability": "nonpayable",
1528
1672
  "type": "function"
@@ -1530,12 +1674,12 @@ export const Vault_jsonAbi = [
1530
1674
  {
1531
1675
  "inputs": [
1532
1676
  {
1533
- "internalType": "bool",
1534
- "name": "status",
1535
- "type": "bool"
1677
+ "internalType": "uint256",
1678
+ "name": "size",
1679
+ "type": "uint256"
1536
1680
  }
1537
1681
  ],
1538
- "name": "setIsDepositLimit",
1682
+ "name": "setMaxSettlementBatchSize",
1539
1683
  "outputs": [],
1540
1684
  "stateMutability": "nonpayable",
1541
1685
  "type": "function"
@@ -1543,12 +1687,12 @@ export const Vault_jsonAbi = [
1543
1687
  {
1544
1688
  "inputs": [
1545
1689
  {
1546
- "internalType": "address",
1547
- "name": "slasher_",
1548
- "type": "address"
1690
+ "internalType": "uint256",
1691
+ "name": "amount",
1692
+ "type": "uint256"
1549
1693
  }
1550
1694
  ],
1551
- "name": "setSlasher",
1695
+ "name": "setMinDepositAssets",
1552
1696
  "outputs": [],
1553
1697
  "stateMutability": "nonpayable",
1554
1698
  "type": "function"
@@ -1556,33 +1700,40 @@ export const Vault_jsonAbi = [
1556
1700
  {
1557
1701
  "inputs": [
1558
1702
  {
1559
- "internalType": "address",
1560
- "name": "account",
1703
+ "internalType": "contract IOracle",
1704
+ "name": "_oracle",
1561
1705
  "type": "address"
1562
1706
  }
1563
1707
  ],
1564
- "name": "slashableBalanceOf",
1565
- "outputs": [
1708
+ "name": "setOracle",
1709
+ "outputs": [],
1710
+ "stateMutability": "nonpayable",
1711
+ "type": "function"
1712
+ },
1713
+ {
1714
+ "inputs": [
1566
1715
  {
1567
1716
  "internalType": "uint256",
1568
- "name": "",
1717
+ "name": "feeBps",
1569
1718
  "type": "uint256"
1570
1719
  }
1571
1720
  ],
1572
- "stateMutability": "view",
1721
+ "name": "setPerformanceFee",
1722
+ "outputs": [],
1723
+ "stateMutability": "nonpayable",
1573
1724
  "type": "function"
1574
1725
  },
1575
1726
  {
1576
- "inputs": [],
1577
- "name": "slasher",
1578
- "outputs": [
1727
+ "inputs": [
1579
1728
  {
1580
- "internalType": "address",
1581
- "name": "",
1582
- "type": "address"
1729
+ "internalType": "uint256",
1730
+ "name": "fee",
1731
+ "type": "uint256"
1583
1732
  }
1584
1733
  ],
1585
- "stateMutability": "view",
1734
+ "name": "setSettlementFee",
1735
+ "outputs": [],
1736
+ "stateMutability": "nonpayable",
1586
1737
  "type": "function"
1587
1738
  },
1588
1739
  {
@@ -1593,12 +1744,12 @@ export const Vault_jsonAbi = [
1593
1744
  "type": "address"
1594
1745
  },
1595
1746
  {
1596
- "internalType": "bytes",
1597
- "name": "data",
1598
- "type": "bytes"
1747
+ "internalType": "bool",
1748
+ "name": "allowed",
1749
+ "type": "bool"
1599
1750
  }
1600
1751
  ],
1601
- "name": "staticDelegateCall",
1752
+ "name": "setTargetAllowed",
1602
1753
  "outputs": [],
1603
1754
  "stateMutability": "nonpayable",
1604
1755
  "type": "function"
@@ -1606,17 +1757,29 @@ export const Vault_jsonAbi = [
1606
1757
  {
1607
1758
  "inputs": [
1608
1759
  {
1609
- "internalType": "bytes4",
1610
- "name": "interfaceId",
1611
- "type": "bytes4"
1760
+ "internalType": "address[]",
1761
+ "name": "tokens",
1762
+ "type": "address[]"
1763
+ },
1764
+ {
1765
+ "internalType": "uint128[]",
1766
+ "name": "prices",
1767
+ "type": "uint128[]"
1612
1768
  }
1613
1769
  ],
1614
- "name": "supportsInterface",
1770
+ "name": "settle",
1771
+ "outputs": [],
1772
+ "stateMutability": "nonpayable",
1773
+ "type": "function"
1774
+ },
1775
+ {
1776
+ "inputs": [],
1777
+ "name": "settledWithdrawalLiabilityTotal",
1615
1778
  "outputs": [
1616
1779
  {
1617
- "internalType": "bool",
1780
+ "internalType": "uint256",
1618
1781
  "name": "",
1619
- "type": "bool"
1782
+ "type": "uint256"
1620
1783
  }
1621
1784
  ],
1622
1785
  "stateMutability": "view",
@@ -1624,7 +1787,7 @@ export const Vault_jsonAbi = [
1624
1787
  },
1625
1788
  {
1626
1789
  "inputs": [],
1627
- "name": "totalStake",
1790
+ "name": "settlementFeeAssets",
1628
1791
  "outputs": [
1629
1792
  {
1630
1793
  "internalType": "uint256",
@@ -1636,26 +1799,45 @@ export const Vault_jsonAbi = [
1636
1799
  "type": "function"
1637
1800
  },
1638
1801
  {
1639
- "inputs": [
1802
+ "inputs": [],
1803
+ "name": "shareToken",
1804
+ "outputs": [
1640
1805
  {
1641
- "internalType": "address",
1642
- "name": "newOwner",
1806
+ "internalType": "contract HPT",
1807
+ "name": "",
1643
1808
  "type": "address"
1644
1809
  }
1645
1810
  ],
1646
- "name": "transferOwnership",
1647
- "outputs": [],
1648
- "stateMutability": "nonpayable",
1811
+ "stateMutability": "view",
1649
1812
  "type": "function"
1650
1813
  },
1651
1814
  {
1652
1815
  "inputs": [],
1653
- "name": "version",
1816
+ "name": "shares",
1817
+ "outputs": [
1818
+ {
1819
+ "internalType": "address",
1820
+ "name": "",
1821
+ "type": "address"
1822
+ }
1823
+ ],
1824
+ "stateMutability": "view",
1825
+ "type": "function"
1826
+ },
1827
+ {
1828
+ "inputs": [
1829
+ {
1830
+ "internalType": "bytes4",
1831
+ "name": "interfaceId",
1832
+ "type": "bytes4"
1833
+ }
1834
+ ],
1835
+ "name": "supportsInterface",
1654
1836
  "outputs": [
1655
1837
  {
1656
- "internalType": "uint64",
1838
+ "internalType": "bool",
1657
1839
  "name": "",
1658
- "type": "uint64"
1840
+ "type": "bool"
1659
1841
  }
1660
1842
  ],
1661
1843
  "stateMutability": "view",
@@ -1665,88 +1847,87 @@ export const Vault_jsonAbi = [
1665
1847
  "inputs": [
1666
1848
  {
1667
1849
  "internalType": "address",
1668
- "name": "claimer",
1850
+ "name": "",
1669
1851
  "type": "address"
1670
- },
1671
- {
1672
- "internalType": "uint256",
1673
- "name": "amount",
1674
- "type": "uint256"
1675
1852
  }
1676
1853
  ],
1677
- "name": "withdraw",
1854
+ "name": "targetAllowed",
1678
1855
  "outputs": [
1679
1856
  {
1680
- "internalType": "uint256",
1681
- "name": "burnedShares",
1682
- "type": "uint256"
1683
- },
1684
- {
1685
- "internalType": "uint256",
1686
- "name": "mintedShares",
1687
- "type": "uint256"
1857
+ "internalType": "bool",
1858
+ "name": "",
1859
+ "type": "bool"
1688
1860
  }
1689
1861
  ],
1690
- "stateMutability": "nonpayable",
1862
+ "stateMutability": "view",
1691
1863
  "type": "function"
1692
1864
  },
1693
1865
  {
1694
1866
  "inputs": [
1695
1867
  {
1696
- "internalType": "uint256",
1697
- "name": "epoch",
1698
- "type": "uint256"
1868
+ "internalType": "address",
1869
+ "name": "",
1870
+ "type": "address"
1699
1871
  }
1700
1872
  ],
1701
- "name": "withdrawalShares",
1873
+ "name": "tokenDecimals",
1702
1874
  "outputs": [
1703
1875
  {
1704
- "internalType": "uint256",
1705
- "name": "amount",
1706
- "type": "uint256"
1876
+ "internalType": "uint8",
1877
+ "name": "",
1878
+ "type": "uint8"
1707
1879
  }
1708
1880
  ],
1709
1881
  "stateMutability": "view",
1710
1882
  "type": "function"
1711
1883
  },
1712
1884
  {
1713
- "inputs": [
1885
+ "inputs": [],
1886
+ "name": "totalAssets",
1887
+ "outputs": [
1714
1888
  {
1715
1889
  "internalType": "uint256",
1716
- "name": "epoch",
1890
+ "name": "",
1717
1891
  "type": "uint256"
1718
- },
1719
- {
1720
- "internalType": "address",
1721
- "name": "account",
1722
- "type": "address"
1723
1892
  }
1724
1893
  ],
1725
- "name": "withdrawalSharesOf",
1894
+ "stateMutability": "view",
1895
+ "type": "function"
1896
+ },
1897
+ {
1898
+ "inputs": [],
1899
+ "name": "trackedTokens",
1726
1900
  "outputs": [
1727
1901
  {
1728
- "internalType": "uint256",
1729
- "name": "amount",
1730
- "type": "uint256"
1902
+ "internalType": "address[]",
1903
+ "name": "",
1904
+ "type": "address[]"
1731
1905
  }
1732
1906
  ],
1733
1907
  "stateMutability": "view",
1734
1908
  "type": "function"
1735
1909
  },
1910
+ {
1911
+ "inputs": [],
1912
+ "name": "unpause",
1913
+ "outputs": [],
1914
+ "stateMutability": "nonpayable",
1915
+ "type": "function"
1916
+ },
1736
1917
  {
1737
1918
  "inputs": [
1738
1919
  {
1739
- "internalType": "uint256",
1740
- "name": "epoch",
1741
- "type": "uint256"
1920
+ "internalType": "address",
1921
+ "name": "user",
1922
+ "type": "address"
1742
1923
  }
1743
1924
  ],
1744
- "name": "withdrawals",
1925
+ "name": "userDepositIds",
1745
1926
  "outputs": [
1746
1927
  {
1747
- "internalType": "uint256",
1748
- "name": "amount",
1749
- "type": "uint256"
1928
+ "internalType": "uint256[]",
1929
+ "name": "",
1930
+ "type": "uint256[]"
1750
1931
  }
1751
1932
  ],
1752
1933
  "stateMutability": "view",
@@ -1754,23 +1935,18 @@ export const Vault_jsonAbi = [
1754
1935
  },
1755
1936
  {
1756
1937
  "inputs": [
1757
- {
1758
- "internalType": "uint256",
1759
- "name": "epoch",
1760
- "type": "uint256"
1761
- },
1762
1938
  {
1763
1939
  "internalType": "address",
1764
- "name": "account",
1940
+ "name": "user",
1765
1941
  "type": "address"
1766
1942
  }
1767
1943
  ],
1768
- "name": "withdrawalsOf",
1944
+ "name": "userRequestIds",
1769
1945
  "outputs": [
1770
1946
  {
1771
- "internalType": "uint256",
1947
+ "internalType": "uint256[]",
1772
1948
  "name": "",
1773
- "type": "uint256"
1949
+ "type": "uint256[]"
1774
1950
  }
1775
1951
  ],
1776
1952
  "stateMutability": "view",
@@ -1860,6 +2036,22 @@ export class Vault_json {
1860
2036
  return this.contract;
1861
2037
  }
1862
2038
 
2039
+ /**
2040
+ * BOT_ROLE
2041
+ * view
2042
+ */
2043
+ async BOT_ROLE(): Promise<`0x${string}`> {
2044
+ return this.contract.read.BOT_ROLE() as Promise<`0x${string}`>;
2045
+ }
2046
+
2047
+ /**
2048
+ * BPS
2049
+ * view
2050
+ */
2051
+ async BPS(): Promise<bigint> {
2052
+ return this.contract.read.BPS() as Promise<bigint>;
2053
+ }
2054
+
1863
2055
  /**
1864
2056
  * DEFAULT_ADMIN_ROLE
1865
2057
  * view
@@ -1869,371 +2061,477 @@ export class Vault_json {
1869
2061
  }
1870
2062
 
1871
2063
  /**
1872
- * DELEGATOR_FACTORY
2064
+ * GUARDIAN_ROLE
1873
2065
  * view
1874
2066
  */
1875
- async DELEGATOR_FACTORY(): Promise<`0x${string}`> {
1876
- return this.contract.read.DELEGATOR_FACTORY() as Promise<`0x${string}`>;
2067
+ async GUARDIAN_ROLE(): Promise<`0x${string}`> {
2068
+ return this.contract.read.GUARDIAN_ROLE() as Promise<`0x${string}`>;
1877
2069
  }
1878
2070
 
1879
2071
  /**
1880
- * DEPOSITOR_WHITELIST_ROLE
2072
+ * MANAGER_ROLE
1881
2073
  * view
1882
2074
  */
1883
- async DEPOSITOR_WHITELIST_ROLE(): Promise<`0x${string}`> {
1884
- return this.contract.read.DEPOSITOR_WHITELIST_ROLE() as Promise<`0x${string}`>;
2075
+ async MANAGER_ROLE(): Promise<`0x${string}`> {
2076
+ return this.contract.read.MANAGER_ROLE() as Promise<`0x${string}`>;
1885
2077
  }
1886
2078
 
1887
2079
  /**
1888
- * DEPOSIT_LIMIT_SET_ROLE
2080
+ * MAX_FEE_BPS
1889
2081
  * view
1890
2082
  */
1891
- async DEPOSIT_LIMIT_SET_ROLE(): Promise<`0x${string}`> {
1892
- return this.contract.read.DEPOSIT_LIMIT_SET_ROLE() as Promise<`0x${string}`>;
2083
+ async MAX_FEE_BPS(): Promise<bigint> {
2084
+ return this.contract.read.MAX_FEE_BPS() as Promise<bigint>;
1893
2085
  }
1894
2086
 
1895
2087
  /**
1896
- * DEPOSIT_WHITELIST_SET_ROLE
2088
+ * SHARE_SCALE
1897
2089
  * view
1898
2090
  */
1899
- async DEPOSIT_WHITELIST_SET_ROLE(): Promise<`0x${string}`> {
1900
- return this.contract.read.DEPOSIT_WHITELIST_SET_ROLE() as Promise<`0x${string}`>;
2091
+ async SHARE_SCALE(): Promise<bigint> {
2092
+ return this.contract.read.SHARE_SCALE() as Promise<bigint>;
1901
2093
  }
1902
2094
 
1903
2095
  /**
1904
- * FACTORY
2096
+ * asset
1905
2097
  * view
1906
2098
  */
1907
- async FACTORY(): Promise<`0x${string}`> {
1908
- return this.contract.read.FACTORY() as Promise<`0x${string}`>;
2099
+ async asset(): Promise<`0x${string}`> {
2100
+ return this.contract.read.asset() as Promise<`0x${string}`>;
1909
2101
  }
1910
2102
 
1911
2103
  /**
1912
- * IS_DEPOSIT_LIMIT_SET_ROLE
2104
+ * assetDecimals
1913
2105
  * view
1914
2106
  */
1915
- async IS_DEPOSIT_LIMIT_SET_ROLE(): Promise<`0x${string}`> {
1916
- return this.contract.read.IS_DEPOSIT_LIMIT_SET_ROLE() as Promise<`0x${string}`>;
2107
+ async assetDecimals(): Promise<bigint> {
2108
+ return this.contract.read.assetDecimals() as Promise<bigint>;
1917
2109
  }
1918
2110
 
1919
2111
  /**
1920
- * SLASHER_FACTORY
2112
+ * assetToken
1921
2113
  * view
1922
2114
  */
1923
- async SLASHER_FACTORY(): Promise<`0x${string}`> {
1924
- return this.contract.read.SLASHER_FACTORY() as Promise<`0x${string}`>;
2115
+ async assetToken(): Promise<`0x${string}`> {
2116
+ return this.contract.read.assetToken() as Promise<`0x${string}`>;
1925
2117
  }
1926
2118
 
1927
2119
  /**
1928
- * activeBalanceOf
2120
+ * costBasisPerShare
1929
2121
  * view
1930
2122
  */
1931
- async activeBalanceOf(account: `0x${string}`): Promise<bigint> {
1932
- return this.contract.read.activeBalanceOf([account] as const) as Promise<bigint>;
2123
+ async costBasisPerShare(user: `0x${string}`): Promise<bigint> {
2124
+ return this.contract.read.costBasisPerShare([user] as const) as Promise<bigint>;
1933
2125
  }
1934
2126
 
1935
2127
  /**
1936
- * activeBalanceOfAt
2128
+ * costBasisValue
1937
2129
  * view
1938
2130
  */
1939
- async activeBalanceOfAt(account: `0x${string}`, timestamp: bigint, hints: `0x${string}`): Promise<bigint> {
1940
- return this.contract.read.activeBalanceOfAt([account, timestamp, hints] as const) as Promise<bigint>;
2131
+ async costBasisValue(arg0: `0x${string}`): Promise<bigint> {
2132
+ return this.contract.read.costBasisValue([arg0] as const) as Promise<bigint>;
1941
2133
  }
1942
2134
 
1943
2135
  /**
1944
- * activeShares
2136
+ * depositQueueLength
1945
2137
  * view
1946
2138
  */
1947
- async activeShares(): Promise<bigint> {
1948
- return this.contract.read.activeShares() as Promise<bigint>;
2139
+ async depositQueueLength(): Promise<bigint> {
2140
+ return this.contract.read.depositQueueLength() as Promise<bigint>;
1949
2141
  }
1950
2142
 
1951
2143
  /**
1952
- * activeSharesAt
2144
+ * feeRecipient
1953
2145
  * view
1954
2146
  */
1955
- async activeSharesAt(timestamp: bigint, hint: `0x${string}`): Promise<bigint> {
1956
- return this.contract.read.activeSharesAt([timestamp, hint] as const) as Promise<bigint>;
2147
+ async feeRecipient(): Promise<`0x${string}`> {
2148
+ return this.contract.read.feeRecipient() as Promise<`0x${string}`>;
1957
2149
  }
1958
2150
 
1959
2151
  /**
1960
- * activeSharesOf
2152
+ * getDepositRequest
1961
2153
  * view
1962
2154
  */
1963
- async activeSharesOf(account: `0x${string}`): Promise<bigint> {
1964
- return this.contract.read.activeSharesOf([account] as const) as Promise<bigint>;
2155
+ async getDepositRequest(depositId: bigint): Promise<IVault_DepositRequest> {
2156
+ return this.contract.read.getDepositRequest([depositId] as const) as Promise<IVault_DepositRequest>;
1965
2157
  }
1966
2158
 
1967
2159
  /**
1968
- * activeSharesOfAt
2160
+ * getRequest
1969
2161
  * view
1970
2162
  */
1971
- async activeSharesOfAt(account: `0x${string}`, timestamp: bigint, hint: `0x${string}`): Promise<bigint> {
1972
- return this.contract.read.activeSharesOfAt([account, timestamp, hint] as const) as Promise<bigint>;
2163
+ async getRequest(requestId: bigint): Promise<IVault_WithdrawRequest> {
2164
+ return this.contract.read.getRequest([requestId] as const) as Promise<IVault_WithdrawRequest>;
1973
2165
  }
1974
2166
 
1975
2167
  /**
1976
- * activeStake
2168
+ * getRoleAdmin
1977
2169
  * view
1978
2170
  */
1979
- async activeStake(): Promise<bigint> {
1980
- return this.contract.read.activeStake() as Promise<bigint>;
2171
+ async getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`> {
2172
+ return this.contract.read.getRoleAdmin([role] as const) as Promise<`0x${string}`>;
1981
2173
  }
1982
2174
 
1983
2175
  /**
1984
- * activeStakeAt
2176
+ * hasRole
1985
2177
  * view
1986
2178
  */
1987
- async activeStakeAt(timestamp: bigint, hint: `0x${string}`): Promise<bigint> {
1988
- return this.contract.read.activeStakeAt([timestamp, hint] as const) as Promise<bigint>;
2179
+ async hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean> {
2180
+ return this.contract.read.hasRole([role, account] as const) as Promise<boolean>;
1989
2181
  }
1990
2182
 
1991
2183
  /**
1992
- * burner
2184
+ * hasSettleReadyWork
1993
2185
  * view
1994
2186
  */
1995
- async burner(): Promise<`0x${string}`> {
1996
- return this.contract.read.burner() as Promise<`0x${string}`>;
2187
+ async hasSettleReadyWork(): Promise<boolean> {
2188
+ return this.contract.read.hasSettleReadyWork() as Promise<boolean>;
1997
2189
  }
1998
2190
 
1999
2191
  /**
2000
- * collateral
2192
+ * isTracked
2001
2193
  * view
2002
2194
  */
2003
- async collateral(): Promise<`0x${string}`> {
2004
- return this.contract.read.collateral() as Promise<`0x${string}`>;
2195
+ async isTracked(arg0: `0x${string}`): Promise<boolean> {
2196
+ return this.contract.read.isTracked([arg0] as const) as Promise<boolean>;
2005
2197
  }
2006
2198
 
2007
2199
  /**
2008
- * currentEpoch
2200
+ * maxSettlementBatchSize
2009
2201
  * view
2010
2202
  */
2011
- async currentEpoch(): Promise<bigint> {
2012
- return this.contract.read.currentEpoch() as Promise<bigint>;
2203
+ async maxSettlementBatchSize(): Promise<bigint> {
2204
+ return this.contract.read.maxSettlementBatchSize() as Promise<bigint>;
2013
2205
  }
2014
2206
 
2015
2207
  /**
2016
- * currentEpochStart
2208
+ * minDepositAssets
2017
2209
  * view
2018
2210
  */
2019
- async currentEpochStart(): Promise<bigint> {
2020
- return this.contract.read.currentEpochStart() as Promise<bigint>;
2211
+ async minDepositAssets(): Promise<bigint> {
2212
+ return this.contract.read.minDepositAssets() as Promise<bigint>;
2021
2213
  }
2022
2214
 
2023
2215
  /**
2024
- * delegator
2216
+ * oracle
2025
2217
  * view
2026
2218
  */
2027
- async delegator(): Promise<`0x${string}`> {
2028
- return this.contract.read.delegator() as Promise<`0x${string}`>;
2219
+ async oracle(): Promise<`0x${string}`> {
2220
+ return this.contract.read.oracle() as Promise<`0x${string}`>;
2029
2221
  }
2030
2222
 
2031
2223
  /**
2032
- * depositLimit
2224
+ * oracleContract
2033
2225
  * view
2034
2226
  */
2035
- async depositLimit(): Promise<bigint> {
2036
- return this.contract.read.depositLimit() as Promise<bigint>;
2227
+ async oracleContract(): Promise<`0x${string}`> {
2228
+ return this.contract.read.oracleContract() as Promise<`0x${string}`>;
2037
2229
  }
2038
2230
 
2039
2231
  /**
2040
- * depositWhitelist
2232
+ * paused
2041
2233
  * view
2042
2234
  */
2043
- async depositWhitelist(): Promise<boolean> {
2044
- return this.contract.read.depositWhitelist() as Promise<boolean>;
2235
+ async paused(): Promise<boolean> {
2236
+ return this.contract.read.paused() as Promise<boolean>;
2045
2237
  }
2046
2238
 
2047
2239
  /**
2048
- * epochAt
2240
+ * pendingDepositTotal
2049
2241
  * view
2050
2242
  */
2051
- async epochAt(timestamp: bigint): Promise<bigint> {
2052
- return this.contract.read.epochAt([timestamp] as const) as Promise<bigint>;
2243
+ async pendingDepositTotal(): Promise<bigint> {
2244
+ return this.contract.read.pendingDepositTotal() as Promise<bigint>;
2053
2245
  }
2054
2246
 
2055
2247
  /**
2056
- * epochDuration
2248
+ * pendingSettlementWithdrawShares
2057
2249
  * view
2058
2250
  */
2059
- async epochDuration(): Promise<bigint> {
2060
- return this.contract.read.epochDuration() as Promise<bigint>;
2251
+ async pendingSettlementWithdrawShares(): Promise<bigint> {
2252
+ return this.contract.read.pendingSettlementWithdrawShares() as Promise<bigint>;
2061
2253
  }
2062
2254
 
2063
2255
  /**
2064
- * epochDurationInit
2256
+ * pendingWithdrawShares
2065
2257
  * view
2066
2258
  */
2067
- async epochDurationInit(): Promise<bigint> {
2068
- return this.contract.read.epochDurationInit() as Promise<bigint>;
2259
+ async pendingWithdrawShares(): Promise<bigint> {
2260
+ return this.contract.read.pendingWithdrawShares() as Promise<bigint>;
2069
2261
  }
2070
2262
 
2071
2263
  /**
2072
- * getRoleAdmin
2264
+ * performanceFee
2073
2265
  * view
2074
2266
  */
2075
- async getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`> {
2076
- return this.contract.read.getRoleAdmin([role] as const) as Promise<`0x${string}`>;
2267
+ async performanceFee(): Promise<bigint> {
2268
+ return this.contract.read.performanceFee() as Promise<bigint>;
2077
2269
  }
2078
2270
 
2079
2271
  /**
2080
- * hasRole
2272
+ * previewDeposit
2081
2273
  * view
2082
2274
  */
2083
- async hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean> {
2084
- return this.contract.read.hasRole([role, account] as const) as Promise<boolean>;
2275
+ async previewDeposit(assets: bigint): Promise<bigint> {
2276
+ return this.contract.read.previewDeposit([assets] as const) as Promise<bigint>;
2085
2277
  }
2086
2278
 
2087
2279
  /**
2088
- * isDelegatorInitialized
2280
+ * previewWithdraw
2089
2281
  * view
2090
2282
  */
2091
- async isDelegatorInitialized(): Promise<boolean> {
2092
- return this.contract.read.isDelegatorInitialized() as Promise<boolean>;
2283
+ async previewWithdraw(sharesIn: bigint, owner: `0x${string}`): Promise<[bigint, bigint]> {
2284
+ return this.contract.read.previewWithdraw([sharesIn, owner] as const) as Promise<[bigint, bigint]>;
2093
2285
  }
2094
2286
 
2095
2287
  /**
2096
- * isDepositLimit
2288
+ * pricePerShare
2097
2289
  * view
2098
2290
  */
2099
- async isDepositLimit(): Promise<boolean> {
2100
- return this.contract.read.isDepositLimit() as Promise<boolean>;
2291
+ async pricePerShare(): Promise<bigint> {
2292
+ return this.contract.read.pricePerShare() as Promise<bigint>;
2101
2293
  }
2102
2294
 
2103
2295
  /**
2104
- * isDepositorWhitelisted
2296
+ * queueLength
2105
2297
  * view
2106
2298
  */
2107
- async isDepositorWhitelisted(account: `0x${string}`): Promise<boolean> {
2108
- return this.contract.read.isDepositorWhitelisted([account] as const) as Promise<boolean>;
2299
+ async queueLength(): Promise<bigint> {
2300
+ return this.contract.read.queueLength() as Promise<bigint>;
2109
2301
  }
2110
2302
 
2111
2303
  /**
2112
- * isInitialized
2304
+ * settledWithdrawalLiabilityTotal
2113
2305
  * view
2114
2306
  */
2115
- async isInitialized(): Promise<boolean> {
2116
- return this.contract.read.isInitialized() as Promise<boolean>;
2307
+ async settledWithdrawalLiabilityTotal(): Promise<bigint> {
2308
+ return this.contract.read.settledWithdrawalLiabilityTotal() as Promise<bigint>;
2117
2309
  }
2118
2310
 
2119
2311
  /**
2120
- * isSlasherInitialized
2312
+ * settlementFeeAssets
2121
2313
  * view
2122
2314
  */
2123
- async isSlasherInitialized(): Promise<boolean> {
2124
- return this.contract.read.isSlasherInitialized() as Promise<boolean>;
2315
+ async settlementFeeAssets(): Promise<bigint> {
2316
+ return this.contract.read.settlementFeeAssets() as Promise<bigint>;
2125
2317
  }
2126
2318
 
2127
2319
  /**
2128
- * isWithdrawalsClaimed
2320
+ * shareToken
2129
2321
  * view
2130
2322
  */
2131
- async isWithdrawalsClaimed(epoch: bigint, account: `0x${string}`): Promise<boolean> {
2132
- return this.contract.read.isWithdrawalsClaimed([epoch, account] as const) as Promise<boolean>;
2323
+ async shareToken(): Promise<`0x${string}`> {
2324
+ return this.contract.read.shareToken() as Promise<`0x${string}`>;
2133
2325
  }
2134
2326
 
2135
2327
  /**
2136
- * nextEpochStart
2328
+ * shares
2137
2329
  * view
2138
2330
  */
2139
- async nextEpochStart(): Promise<bigint> {
2140
- return this.contract.read.nextEpochStart() as Promise<bigint>;
2331
+ async shares(): Promise<`0x${string}`> {
2332
+ return this.contract.read.shares() as Promise<`0x${string}`>;
2141
2333
  }
2142
2334
 
2143
2335
  /**
2144
- * owner
2336
+ * supportsInterface
2145
2337
  * view
2146
2338
  */
2147
- async owner(): Promise<`0x${string}`> {
2148
- return this.contract.read.owner() as Promise<`0x${string}`>;
2339
+ async supportsInterface(interfaceId: `0x${string}`): Promise<boolean> {
2340
+ return this.contract.read.supportsInterface([interfaceId] as const) as Promise<boolean>;
2149
2341
  }
2150
2342
 
2151
2343
  /**
2152
- * previousEpochStart
2344
+ * targetAllowed
2153
2345
  * view
2154
2346
  */
2155
- async previousEpochStart(): Promise<bigint> {
2156
- return this.contract.read.previousEpochStart() as Promise<bigint>;
2347
+ async targetAllowed(arg0: `0x${string}`): Promise<boolean> {
2348
+ return this.contract.read.targetAllowed([arg0] as const) as Promise<boolean>;
2157
2349
  }
2158
2350
 
2159
2351
  /**
2160
- * slashableBalanceOf
2352
+ * tokenDecimals
2161
2353
  * view
2162
2354
  */
2163
- async slashableBalanceOf(account: `0x${string}`): Promise<bigint> {
2164
- return this.contract.read.slashableBalanceOf([account] as const) as Promise<bigint>;
2355
+ async tokenDecimals(arg0: `0x${string}`): Promise<bigint> {
2356
+ return this.contract.read.tokenDecimals([arg0] as const) as Promise<bigint>;
2165
2357
  }
2166
2358
 
2167
2359
  /**
2168
- * slasher
2360
+ * totalAssets
2169
2361
  * view
2170
2362
  */
2171
- async slasher(): Promise<`0x${string}`> {
2172
- return this.contract.read.slasher() as Promise<`0x${string}`>;
2363
+ async totalAssets(): Promise<bigint> {
2364
+ return this.contract.read.totalAssets() as Promise<bigint>;
2173
2365
  }
2174
2366
 
2175
2367
  /**
2176
- * supportsInterface
2368
+ * trackedTokens
2177
2369
  * view
2178
2370
  */
2179
- async supportsInterface(interfaceId: `0x${string}`): Promise<boolean> {
2180
- return this.contract.read.supportsInterface([interfaceId] as const) as Promise<boolean>;
2371
+ async trackedTokens(): Promise<`0x${string}`[]> {
2372
+ return this.contract.read.trackedTokens() as Promise<`0x${string}`[]>;
2181
2373
  }
2182
2374
 
2183
2375
  /**
2184
- * totalStake
2376
+ * userDepositIds
2185
2377
  * view
2186
2378
  */
2187
- async totalStake(): Promise<bigint> {
2188
- return this.contract.read.totalStake() as Promise<bigint>;
2379
+ async userDepositIds(user: `0x${string}`): Promise<bigint[]> {
2380
+ return this.contract.read.userDepositIds([user] as const) as Promise<bigint[]>;
2189
2381
  }
2190
2382
 
2191
2383
  /**
2192
- * version
2384
+ * userRequestIds
2193
2385
  * view
2194
2386
  */
2195
- async version(): Promise<bigint> {
2196
- return this.contract.read.version() as Promise<bigint>;
2387
+ async userRequestIds(user: `0x${string}`): Promise<bigint[]> {
2388
+ return this.contract.read.userRequestIds([user] as const) as Promise<bigint[]>;
2197
2389
  }
2198
2390
 
2199
2391
  /**
2200
- * withdrawalShares
2201
- * view
2392
+ * addTrackedToken
2393
+ * nonpayable
2394
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2202
2395
  */
2203
- async withdrawalShares(epoch: bigint): Promise<bigint> {
2204
- return this.contract.read.withdrawalShares([epoch] as const) as Promise<bigint>;
2396
+ async addTrackedToken(token: `0x${string}`, options?: {
2397
+ accessList?: import('viem').AccessList;
2398
+ authorizationList?: import('viem').AuthorizationList;
2399
+ chain?: import('viem').Chain | null;
2400
+ dataSuffix?: `0x${string}`;
2401
+ gas?: bigint;
2402
+ gasPrice?: bigint;
2403
+ maxFeePerGas?: bigint;
2404
+ maxPriorityFeePerGas?: bigint;
2405
+ nonce?: number;
2406
+ value?: bigint;
2407
+ }): Promise<`0x${string}`> {
2408
+ if (!this.contract.write) {
2409
+ throw new Error('Wallet client is required for write operations');
2410
+ }
2411
+ return this.contract.write.addTrackedToken([token] as const, options) as Promise<`0x${string}`>;
2205
2412
  }
2206
2413
 
2207
2414
  /**
2208
- * withdrawalSharesOf
2209
- * view
2415
+ * approveERC20
2416
+ * nonpayable
2417
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2418
+ */
2419
+ async approveERC20(token: `0x${string}`, spender: `0x${string}`, amount: bigint, options?: {
2420
+ accessList?: import('viem').AccessList;
2421
+ authorizationList?: import('viem').AuthorizationList;
2422
+ chain?: import('viem').Chain | null;
2423
+ dataSuffix?: `0x${string}`;
2424
+ gas?: bigint;
2425
+ gasPrice?: bigint;
2426
+ maxFeePerGas?: bigint;
2427
+ maxPriorityFeePerGas?: bigint;
2428
+ nonce?: number;
2429
+ value?: bigint;
2430
+ }): Promise<`0x${string}`> {
2431
+ if (!this.contract.write) {
2432
+ throw new Error('Wallet client is required for write operations');
2433
+ }
2434
+ return this.contract.write.approveERC20([token, spender, amount] as const, options) as Promise<`0x${string}`>;
2435
+ }
2436
+
2437
+ /**
2438
+ * approvePermit2
2439
+ * nonpayable
2440
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2210
2441
  */
2211
- async withdrawalSharesOf(epoch: bigint, account: `0x${string}`): Promise<bigint> {
2212
- return this.contract.read.withdrawalSharesOf([epoch, account] as const) as Promise<bigint>;
2442
+ async approvePermit2(permit2: `0x${string}`, token: `0x${string}`, spender: `0x${string}`, amount: bigint, expiration: bigint, options?: {
2443
+ accessList?: import('viem').AccessList;
2444
+ authorizationList?: import('viem').AuthorizationList;
2445
+ chain?: import('viem').Chain | null;
2446
+ dataSuffix?: `0x${string}`;
2447
+ gas?: bigint;
2448
+ gasPrice?: bigint;
2449
+ maxFeePerGas?: bigint;
2450
+ maxPriorityFeePerGas?: bigint;
2451
+ nonce?: number;
2452
+ value?: bigint;
2453
+ }): Promise<`0x${string}`> {
2454
+ if (!this.contract.write) {
2455
+ throw new Error('Wallet client is required for write operations');
2456
+ }
2457
+ return this.contract.write.approvePermit2([permit2, token, spender, amount, expiration] as const, options) as Promise<`0x${string}`>;
2213
2458
  }
2214
2459
 
2215
2460
  /**
2216
- * withdrawals
2217
- * view
2461
+ * cancelDepositRequest
2462
+ * nonpayable
2463
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2218
2464
  */
2219
- async withdrawals(epoch: bigint): Promise<bigint> {
2220
- return this.contract.read.withdrawals([epoch] as const) as Promise<bigint>;
2465
+ async cancelDepositRequest(depositId: bigint, options?: {
2466
+ accessList?: import('viem').AccessList;
2467
+ authorizationList?: import('viem').AuthorizationList;
2468
+ chain?: import('viem').Chain | null;
2469
+ dataSuffix?: `0x${string}`;
2470
+ gas?: bigint;
2471
+ gasPrice?: bigint;
2472
+ maxFeePerGas?: bigint;
2473
+ maxPriorityFeePerGas?: bigint;
2474
+ nonce?: number;
2475
+ value?: bigint;
2476
+ }): Promise<`0x${string}`> {
2477
+ if (!this.contract.write) {
2478
+ throw new Error('Wallet client is required for write operations');
2479
+ }
2480
+ return this.contract.write.cancelDepositRequest([depositId] as const, options) as Promise<`0x${string}`>;
2221
2481
  }
2222
2482
 
2223
2483
  /**
2224
- * withdrawalsOf
2225
- * view
2484
+ * cancelPendingDeposits
2485
+ * nonpayable
2486
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2487
+ */
2488
+ async cancelPendingDeposits(maxCount: bigint, options?: {
2489
+ accessList?: import('viem').AccessList;
2490
+ authorizationList?: import('viem').AuthorizationList;
2491
+ chain?: import('viem').Chain | null;
2492
+ dataSuffix?: `0x${string}`;
2493
+ gas?: bigint;
2494
+ gasPrice?: bigint;
2495
+ maxFeePerGas?: bigint;
2496
+ maxPriorityFeePerGas?: bigint;
2497
+ nonce?: number;
2498
+ value?: bigint;
2499
+ }): Promise<`0x${string}`> {
2500
+ if (!this.contract.write) {
2501
+ throw new Error('Wallet client is required for write operations');
2502
+ }
2503
+ return this.contract.write.cancelPendingDeposits([maxCount] as const, options) as Promise<`0x${string}`>;
2504
+ }
2505
+
2506
+ /**
2507
+ * cancelWithdraw
2508
+ * nonpayable
2509
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2226
2510
  */
2227
- async withdrawalsOf(epoch: bigint, account: `0x${string}`): Promise<bigint> {
2228
- return this.contract.read.withdrawalsOf([epoch, account] as const) as Promise<bigint>;
2511
+ async cancelWithdraw(requestId: bigint, options?: {
2512
+ accessList?: import('viem').AccessList;
2513
+ authorizationList?: import('viem').AuthorizationList;
2514
+ chain?: import('viem').Chain | null;
2515
+ dataSuffix?: `0x${string}`;
2516
+ gas?: bigint;
2517
+ gasPrice?: bigint;
2518
+ maxFeePerGas?: bigint;
2519
+ maxPriorityFeePerGas?: bigint;
2520
+ nonce?: number;
2521
+ value?: bigint;
2522
+ }): Promise<`0x${string}`> {
2523
+ if (!this.contract.write) {
2524
+ throw new Error('Wallet client is required for write operations');
2525
+ }
2526
+ return this.contract.write.cancelWithdraw([requestId] as const, options) as Promise<`0x${string}`>;
2229
2527
  }
2230
2528
 
2231
2529
  /**
2232
- * claim
2530
+ * claimAndDeposit
2233
2531
  * nonpayable
2234
2532
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2235
2533
  */
2236
- async claim(recipient: `0x${string}`, epoch: bigint, options?: {
2534
+ async claimAndDeposit(requestId: bigint, newVault: `0x${string}`, options?: {
2237
2535
  accessList?: import('viem').AccessList;
2238
2536
  authorizationList?: import('viem').AuthorizationList;
2239
2537
  chain?: import('viem').Chain | null;
@@ -2248,15 +2546,15 @@ export class Vault_json {
2248
2546
  if (!this.contract.write) {
2249
2547
  throw new Error('Wallet client is required for write operations');
2250
2548
  }
2251
- return this.contract.write.claim([recipient, epoch] as const, options) as Promise<`0x${string}`>;
2549
+ return this.contract.write.claimAndDeposit([requestId, newVault] as const, options) as Promise<`0x${string}`>;
2252
2550
  }
2253
2551
 
2254
2552
  /**
2255
- * claimBatch
2553
+ * claimWithdraw
2256
2554
  * nonpayable
2257
2555
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2258
2556
  */
2259
- async claimBatch(recipient: `0x${string}`, epochs: bigint[], options?: {
2557
+ async claimWithdraw(requestId: bigint, options?: {
2260
2558
  accessList?: import('viem').AccessList;
2261
2559
  authorizationList?: import('viem').AuthorizationList;
2262
2560
  chain?: import('viem').Chain | null;
@@ -2271,15 +2569,15 @@ export class Vault_json {
2271
2569
  if (!this.contract.write) {
2272
2570
  throw new Error('Wallet client is required for write operations');
2273
2571
  }
2274
- return this.contract.write.claimBatch([recipient, epochs] as const, options) as Promise<`0x${string}`>;
2572
+ return this.contract.write.claimWithdraw([requestId] as const, options) as Promise<`0x${string}`>;
2275
2573
  }
2276
2574
 
2277
2575
  /**
2278
- * deposit
2576
+ * claimWithdrawTo
2279
2577
  * nonpayable
2280
2578
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2281
2579
  */
2282
- async deposit(onBehalfOf: `0x${string}`, amount: bigint, options?: {
2580
+ async claimWithdrawTo(requestId: bigint, recipient: `0x${string}`, options?: {
2283
2581
  accessList?: import('viem').AccessList;
2284
2582
  authorizationList?: import('viem').AuthorizationList;
2285
2583
  chain?: import('viem').Chain | null;
@@ -2294,7 +2592,7 @@ export class Vault_json {
2294
2592
  if (!this.contract.write) {
2295
2593
  throw new Error('Wallet client is required for write operations');
2296
2594
  }
2297
- return this.contract.write.deposit([onBehalfOf, amount] as const, options) as Promise<`0x${string}`>;
2595
+ return this.contract.write.claimWithdrawTo([requestId, recipient] as const, options) as Promise<`0x${string}`>;
2298
2596
  }
2299
2597
 
2300
2598
  /**
@@ -2321,11 +2619,11 @@ export class Vault_json {
2321
2619
  }
2322
2620
 
2323
2621
  /**
2324
- * initialize
2622
+ * onShareTransfer
2325
2623
  * nonpayable
2326
2624
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2327
2625
  */
2328
- async initialize(initialVersion: bigint, owner_: `0x${string}`, data: `0x${string}`, options?: {
2626
+ async onShareTransfer(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
2329
2627
  accessList?: import('viem').AccessList;
2330
2628
  authorizationList?: import('viem').AuthorizationList;
2331
2629
  chain?: import('viem').Chain | null;
@@ -2340,15 +2638,15 @@ export class Vault_json {
2340
2638
  if (!this.contract.write) {
2341
2639
  throw new Error('Wallet client is required for write operations');
2342
2640
  }
2343
- return this.contract.write.initialize([initialVersion, owner_, data] as const, options) as Promise<`0x${string}`>;
2641
+ return this.contract.write.onShareTransfer([from, to, value] as const, options) as Promise<`0x${string}`>;
2344
2642
  }
2345
2643
 
2346
2644
  /**
2347
- * migrate
2645
+ * pause
2348
2646
  * nonpayable
2349
2647
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2350
2648
  */
2351
- async migrate(newVersion: bigint, data: `0x${string}`, options?: {
2649
+ async pause(options?: {
2352
2650
  accessList?: import('viem').AccessList;
2353
2651
  authorizationList?: import('viem').AuthorizationList;
2354
2652
  chain?: import('viem').Chain | null;
@@ -2363,15 +2661,15 @@ export class Vault_json {
2363
2661
  if (!this.contract.write) {
2364
2662
  throw new Error('Wallet client is required for write operations');
2365
2663
  }
2366
- return this.contract.write.migrate([newVersion, data] as const, options) as Promise<`0x${string}`>;
2664
+ return this.contract.write.pause(options) as Promise<`0x${string}`>;
2367
2665
  }
2368
2666
 
2369
2667
  /**
2370
- * onSlash
2668
+ * rebalance
2371
2669
  * nonpayable
2372
2670
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2373
2671
  */
2374
- async onSlash(amount: bigint, captureTimestamp: bigint, options?: {
2672
+ async rebalance(targets: `0x${string}`[], calldatas: `0x${string}`[], options?: {
2375
2673
  accessList?: import('viem').AccessList;
2376
2674
  authorizationList?: import('viem').AuthorizationList;
2377
2675
  chain?: import('viem').Chain | null;
@@ -2386,15 +2684,15 @@ export class Vault_json {
2386
2684
  if (!this.contract.write) {
2387
2685
  throw new Error('Wallet client is required for write operations');
2388
2686
  }
2389
- return this.contract.write.onSlash([amount, captureTimestamp] as const, options) as Promise<`0x${string}`>;
2687
+ return this.contract.write.rebalance([targets, calldatas] as const, options) as Promise<`0x${string}`>;
2390
2688
  }
2391
2689
 
2392
2690
  /**
2393
- * redeem
2691
+ * removeTrackedToken
2394
2692
  * nonpayable
2395
2693
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2396
2694
  */
2397
- async redeem(claimer: `0x${string}`, shares: bigint, options?: {
2695
+ async removeTrackedToken(token: `0x${string}`, options?: {
2398
2696
  accessList?: import('viem').AccessList;
2399
2697
  authorizationList?: import('viem').AuthorizationList;
2400
2698
  chain?: import('viem').Chain | null;
@@ -2409,15 +2707,15 @@ export class Vault_json {
2409
2707
  if (!this.contract.write) {
2410
2708
  throw new Error('Wallet client is required for write operations');
2411
2709
  }
2412
- return this.contract.write.redeem([claimer, shares] as const, options) as Promise<`0x${string}`>;
2710
+ return this.contract.write.removeTrackedToken([token] as const, options) as Promise<`0x${string}`>;
2413
2711
  }
2414
2712
 
2415
2713
  /**
2416
- * renounceOwnership
2714
+ * renounceRole
2417
2715
  * nonpayable
2418
2716
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2419
2717
  */
2420
- async renounceOwnership(options?: {
2718
+ async renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
2421
2719
  accessList?: import('viem').AccessList;
2422
2720
  authorizationList?: import('viem').AuthorizationList;
2423
2721
  chain?: import('viem').Chain | null;
@@ -2432,15 +2730,61 @@ export class Vault_json {
2432
2730
  if (!this.contract.write) {
2433
2731
  throw new Error('Wallet client is required for write operations');
2434
2732
  }
2435
- return this.contract.write.renounceOwnership(options) as Promise<`0x${string}`>;
2733
+ return this.contract.write.renounceRole([role, callerConfirmation] as const, options) as Promise<`0x${string}`>;
2436
2734
  }
2437
2735
 
2438
2736
  /**
2439
- * renounceRole
2737
+ * requestDeposit
2440
2738
  * nonpayable
2441
2739
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2442
2740
  */
2443
- async renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
2741
+ async requestDeposit(assets: bigint, options?: {
2742
+ accessList?: import('viem').AccessList;
2743
+ authorizationList?: import('viem').AuthorizationList;
2744
+ chain?: import('viem').Chain | null;
2745
+ dataSuffix?: `0x${string}`;
2746
+ gas?: bigint;
2747
+ gasPrice?: bigint;
2748
+ maxFeePerGas?: bigint;
2749
+ maxPriorityFeePerGas?: bigint;
2750
+ nonce?: number;
2751
+ value?: bigint;
2752
+ }): Promise<`0x${string}`> {
2753
+ if (!this.contract.write) {
2754
+ throw new Error('Wallet client is required for write operations');
2755
+ }
2756
+ return this.contract.write.requestDeposit([assets] as const, options) as Promise<`0x${string}`>;
2757
+ }
2758
+
2759
+ /**
2760
+ * requestDepositFor
2761
+ * nonpayable
2762
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2763
+ */
2764
+ async requestDepositFor(assets: bigint, recipient: `0x${string}`, options?: {
2765
+ accessList?: import('viem').AccessList;
2766
+ authorizationList?: import('viem').AuthorizationList;
2767
+ chain?: import('viem').Chain | null;
2768
+ dataSuffix?: `0x${string}`;
2769
+ gas?: bigint;
2770
+ gasPrice?: bigint;
2771
+ maxFeePerGas?: bigint;
2772
+ maxPriorityFeePerGas?: bigint;
2773
+ nonce?: number;
2774
+ value?: bigint;
2775
+ }): Promise<`0x${string}`> {
2776
+ if (!this.contract.write) {
2777
+ throw new Error('Wallet client is required for write operations');
2778
+ }
2779
+ return this.contract.write.requestDepositFor([assets, recipient] as const, options) as Promise<`0x${string}`>;
2780
+ }
2781
+
2782
+ /**
2783
+ * requestWithdraw
2784
+ * nonpayable
2785
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2786
+ */
2787
+ async requestWithdraw(sharesIn: bigint, options?: {
2444
2788
  accessList?: import('viem').AccessList;
2445
2789
  authorizationList?: import('viem').AuthorizationList;
2446
2790
  chain?: import('viem').Chain | null;
@@ -2455,7 +2799,7 @@ export class Vault_json {
2455
2799
  if (!this.contract.write) {
2456
2800
  throw new Error('Wallet client is required for write operations');
2457
2801
  }
2458
- return this.contract.write.renounceRole([role, callerConfirmation] as const, options) as Promise<`0x${string}`>;
2802
+ return this.contract.write.requestWithdraw([sharesIn] as const, options) as Promise<`0x${string}`>;
2459
2803
  }
2460
2804
 
2461
2805
  /**
@@ -2482,11 +2826,11 @@ export class Vault_json {
2482
2826
  }
2483
2827
 
2484
2828
  /**
2485
- * setDelegator
2829
+ * setFeeRecipient
2486
2830
  * nonpayable
2487
2831
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2488
2832
  */
2489
- async setDelegator(delegator_: `0x${string}`, options?: {
2833
+ async setFeeRecipient(recipient: `0x${string}`, options?: {
2490
2834
  accessList?: import('viem').AccessList;
2491
2835
  authorizationList?: import('viem').AuthorizationList;
2492
2836
  chain?: import('viem').Chain | null;
@@ -2501,15 +2845,15 @@ export class Vault_json {
2501
2845
  if (!this.contract.write) {
2502
2846
  throw new Error('Wallet client is required for write operations');
2503
2847
  }
2504
- return this.contract.write.setDelegator([delegator_] as const, options) as Promise<`0x${string}`>;
2848
+ return this.contract.write.setFeeRecipient([recipient] as const, options) as Promise<`0x${string}`>;
2505
2849
  }
2506
2850
 
2507
2851
  /**
2508
- * setDepositLimit
2852
+ * setMaxSettlementBatchSize
2509
2853
  * nonpayable
2510
2854
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2511
2855
  */
2512
- async setDepositLimit(limit: bigint, options?: {
2856
+ async setMaxSettlementBatchSize(size: bigint, options?: {
2513
2857
  accessList?: import('viem').AccessList;
2514
2858
  authorizationList?: import('viem').AuthorizationList;
2515
2859
  chain?: import('viem').Chain | null;
@@ -2524,15 +2868,15 @@ export class Vault_json {
2524
2868
  if (!this.contract.write) {
2525
2869
  throw new Error('Wallet client is required for write operations');
2526
2870
  }
2527
- return this.contract.write.setDepositLimit([limit] as const, options) as Promise<`0x${string}`>;
2871
+ return this.contract.write.setMaxSettlementBatchSize([size] as const, options) as Promise<`0x${string}`>;
2528
2872
  }
2529
2873
 
2530
2874
  /**
2531
- * setDepositWhitelist
2875
+ * setMinDepositAssets
2532
2876
  * nonpayable
2533
2877
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2534
2878
  */
2535
- async setDepositWhitelist(status: boolean, options?: {
2879
+ async setMinDepositAssets(amount: bigint, options?: {
2536
2880
  accessList?: import('viem').AccessList;
2537
2881
  authorizationList?: import('viem').AuthorizationList;
2538
2882
  chain?: import('viem').Chain | null;
@@ -2547,15 +2891,15 @@ export class Vault_json {
2547
2891
  if (!this.contract.write) {
2548
2892
  throw new Error('Wallet client is required for write operations');
2549
2893
  }
2550
- return this.contract.write.setDepositWhitelist([status] as const, options) as Promise<`0x${string}`>;
2894
+ return this.contract.write.setMinDepositAssets([amount] as const, options) as Promise<`0x${string}`>;
2551
2895
  }
2552
2896
 
2553
2897
  /**
2554
- * setDepositorWhitelistStatus
2898
+ * setOracle
2555
2899
  * nonpayable
2556
2900
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2557
2901
  */
2558
- async setDepositorWhitelistStatus(account: `0x${string}`, status: boolean, options?: {
2902
+ async setOracle(_oracle: `0x${string}`, options?: {
2559
2903
  accessList?: import('viem').AccessList;
2560
2904
  authorizationList?: import('viem').AuthorizationList;
2561
2905
  chain?: import('viem').Chain | null;
@@ -2570,15 +2914,15 @@ export class Vault_json {
2570
2914
  if (!this.contract.write) {
2571
2915
  throw new Error('Wallet client is required for write operations');
2572
2916
  }
2573
- return this.contract.write.setDepositorWhitelistStatus([account, status] as const, options) as Promise<`0x${string}`>;
2917
+ return this.contract.write.setOracle([_oracle] as const, options) as Promise<`0x${string}`>;
2574
2918
  }
2575
2919
 
2576
2920
  /**
2577
- * setIsDepositLimit
2921
+ * setPerformanceFee
2578
2922
  * nonpayable
2579
2923
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2580
2924
  */
2581
- async setIsDepositLimit(status: boolean, options?: {
2925
+ async setPerformanceFee(feeBps: bigint, options?: {
2582
2926
  accessList?: import('viem').AccessList;
2583
2927
  authorizationList?: import('viem').AuthorizationList;
2584
2928
  chain?: import('viem').Chain | null;
@@ -2593,15 +2937,15 @@ export class Vault_json {
2593
2937
  if (!this.contract.write) {
2594
2938
  throw new Error('Wallet client is required for write operations');
2595
2939
  }
2596
- return this.contract.write.setIsDepositLimit([status] as const, options) as Promise<`0x${string}`>;
2940
+ return this.contract.write.setPerformanceFee([feeBps] as const, options) as Promise<`0x${string}`>;
2597
2941
  }
2598
2942
 
2599
2943
  /**
2600
- * setSlasher
2944
+ * setSettlementFee
2601
2945
  * nonpayable
2602
2946
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2603
2947
  */
2604
- async setSlasher(slasher_: `0x${string}`, options?: {
2948
+ async setSettlementFee(fee: bigint, options?: {
2605
2949
  accessList?: import('viem').AccessList;
2606
2950
  authorizationList?: import('viem').AuthorizationList;
2607
2951
  chain?: import('viem').Chain | null;
@@ -2616,15 +2960,15 @@ export class Vault_json {
2616
2960
  if (!this.contract.write) {
2617
2961
  throw new Error('Wallet client is required for write operations');
2618
2962
  }
2619
- return this.contract.write.setSlasher([slasher_] as const, options) as Promise<`0x${string}`>;
2963
+ return this.contract.write.setSettlementFee([fee] as const, options) as Promise<`0x${string}`>;
2620
2964
  }
2621
2965
 
2622
2966
  /**
2623
- * staticDelegateCall
2967
+ * setTargetAllowed
2624
2968
  * nonpayable
2625
2969
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2626
2970
  */
2627
- async staticDelegateCall(target: `0x${string}`, data: `0x${string}`, options?: {
2971
+ async setTargetAllowed(target: `0x${string}`, allowed: boolean, options?: {
2628
2972
  accessList?: import('viem').AccessList;
2629
2973
  authorizationList?: import('viem').AuthorizationList;
2630
2974
  chain?: import('viem').Chain | null;
@@ -2639,15 +2983,15 @@ export class Vault_json {
2639
2983
  if (!this.contract.write) {
2640
2984
  throw new Error('Wallet client is required for write operations');
2641
2985
  }
2642
- return this.contract.write.staticDelegateCall([target, data] as const, options) as Promise<`0x${string}`>;
2986
+ return this.contract.write.setTargetAllowed([target, allowed] as const, options) as Promise<`0x${string}`>;
2643
2987
  }
2644
2988
 
2645
2989
  /**
2646
- * transferOwnership
2990
+ * settle
2647
2991
  * nonpayable
2648
2992
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2649
2993
  */
2650
- async transferOwnership(newOwner: `0x${string}`, options?: {
2994
+ async settle(tokens: `0x${string}`[], prices: bigint[], options?: {
2651
2995
  accessList?: import('viem').AccessList;
2652
2996
  authorizationList?: import('viem').AuthorizationList;
2653
2997
  chain?: import('viem').Chain | null;
@@ -2662,15 +3006,15 @@ export class Vault_json {
2662
3006
  if (!this.contract.write) {
2663
3007
  throw new Error('Wallet client is required for write operations');
2664
3008
  }
2665
- return this.contract.write.transferOwnership([newOwner] as const, options) as Promise<`0x${string}`>;
3009
+ return this.contract.write.settle([tokens, prices] as const, options) as Promise<`0x${string}`>;
2666
3010
  }
2667
3011
 
2668
3012
  /**
2669
- * withdraw
3013
+ * unpause
2670
3014
  * nonpayable
2671
3015
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2672
3016
  */
2673
- async withdraw(claimer: `0x${string}`, amount: bigint, options?: {
3017
+ async unpause(options?: {
2674
3018
  accessList?: import('viem').AccessList;
2675
3019
  authorizationList?: import('viem').AuthorizationList;
2676
3020
  chain?: import('viem').Chain | null;
@@ -2685,7 +3029,7 @@ export class Vault_json {
2685
3029
  if (!this.contract.write) {
2686
3030
  throw new Error('Wallet client is required for write operations');
2687
3031
  }
2688
- return this.contract.write.withdraw([claimer, amount] as const, options) as Promise<`0x${string}`>;
3032
+ return this.contract.write.unpause(options) as Promise<`0x${string}`>;
2689
3033
  }
2690
3034
 
2691
3035
 
@@ -2705,11 +3049,87 @@ export class Vault_json {
2705
3049
  }
2706
3050
  return {
2707
3051
  /**
2708
- * Simulate claim
3052
+ * Simulate addTrackedToken
3053
+ * Returns gas estimate and result without sending transaction
3054
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3055
+ */
3056
+ async addTrackedToken(token: `0x${string}`, options?: {
3057
+ accessList?: import('viem').AccessList;
3058
+ authorizationList?: import('viem').AuthorizationList;
3059
+ chain?: import('viem').Chain | null;
3060
+ dataSuffix?: `0x${string}`;
3061
+ gas?: bigint;
3062
+ gasPrice?: bigint;
3063
+ maxFeePerGas?: bigint;
3064
+ maxPriorityFeePerGas?: bigint;
3065
+ nonce?: number;
3066
+ value?: bigint;
3067
+ }): Promise<void> {
3068
+ return contract.simulate.addTrackedToken([token] as const, options) as Promise<void>;
3069
+ },
3070
+ /**
3071
+ * Simulate approveERC20
3072
+ * Returns gas estimate and result without sending transaction
3073
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3074
+ */
3075
+ async approveERC20(token: `0x${string}`, spender: `0x${string}`, amount: bigint, options?: {
3076
+ accessList?: import('viem').AccessList;
3077
+ authorizationList?: import('viem').AuthorizationList;
3078
+ chain?: import('viem').Chain | null;
3079
+ dataSuffix?: `0x${string}`;
3080
+ gas?: bigint;
3081
+ gasPrice?: bigint;
3082
+ maxFeePerGas?: bigint;
3083
+ maxPriorityFeePerGas?: bigint;
3084
+ nonce?: number;
3085
+ value?: bigint;
3086
+ }): Promise<void> {
3087
+ return contract.simulate.approveERC20([token, spender, amount] as const, options) as Promise<void>;
3088
+ },
3089
+ /**
3090
+ * Simulate approvePermit2
3091
+ * Returns gas estimate and result without sending transaction
3092
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3093
+ */
3094
+ async approvePermit2(permit2: `0x${string}`, token: `0x${string}`, spender: `0x${string}`, amount: bigint, expiration: bigint, options?: {
3095
+ accessList?: import('viem').AccessList;
3096
+ authorizationList?: import('viem').AuthorizationList;
3097
+ chain?: import('viem').Chain | null;
3098
+ dataSuffix?: `0x${string}`;
3099
+ gas?: bigint;
3100
+ gasPrice?: bigint;
3101
+ maxFeePerGas?: bigint;
3102
+ maxPriorityFeePerGas?: bigint;
3103
+ nonce?: number;
3104
+ value?: bigint;
3105
+ }): Promise<void> {
3106
+ return contract.simulate.approvePermit2([permit2, token, spender, amount, expiration] as const, options) as Promise<void>;
3107
+ },
3108
+ /**
3109
+ * Simulate cancelDepositRequest
3110
+ * Returns gas estimate and result without sending transaction
3111
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3112
+ */
3113
+ async cancelDepositRequest(depositId: bigint, options?: {
3114
+ accessList?: import('viem').AccessList;
3115
+ authorizationList?: import('viem').AuthorizationList;
3116
+ chain?: import('viem').Chain | null;
3117
+ dataSuffix?: `0x${string}`;
3118
+ gas?: bigint;
3119
+ gasPrice?: bigint;
3120
+ maxFeePerGas?: bigint;
3121
+ maxPriorityFeePerGas?: bigint;
3122
+ nonce?: number;
3123
+ value?: bigint;
3124
+ }): Promise<void> {
3125
+ return contract.simulate.cancelDepositRequest([depositId] as const, options) as Promise<void>;
3126
+ },
3127
+ /**
3128
+ * Simulate cancelPendingDeposits
2709
3129
  * Returns gas estimate and result without sending transaction
2710
3130
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2711
3131
  */
2712
- async claim(recipient: `0x${string}`, epoch: bigint, options?: {
3132
+ async cancelPendingDeposits(maxCount: bigint, options?: {
2713
3133
  accessList?: import('viem').AccessList;
2714
3134
  authorizationList?: import('viem').AuthorizationList;
2715
3135
  chain?: import('viem').Chain | null;
@@ -2721,14 +3141,33 @@ export class Vault_json {
2721
3141
  nonce?: number;
2722
3142
  value?: bigint;
2723
3143
  }): Promise<bigint> {
2724
- return contract.simulate.claim([recipient, epoch] as const, options) as Promise<bigint>;
3144
+ return contract.simulate.cancelPendingDeposits([maxCount] as const, options) as Promise<bigint>;
3145
+ },
3146
+ /**
3147
+ * Simulate cancelWithdraw
3148
+ * Returns gas estimate and result without sending transaction
3149
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3150
+ */
3151
+ async cancelWithdraw(requestId: bigint, options?: {
3152
+ accessList?: import('viem').AccessList;
3153
+ authorizationList?: import('viem').AuthorizationList;
3154
+ chain?: import('viem').Chain | null;
3155
+ dataSuffix?: `0x${string}`;
3156
+ gas?: bigint;
3157
+ gasPrice?: bigint;
3158
+ maxFeePerGas?: bigint;
3159
+ maxPriorityFeePerGas?: bigint;
3160
+ nonce?: number;
3161
+ value?: bigint;
3162
+ }): Promise<void> {
3163
+ return contract.simulate.cancelWithdraw([requestId] as const, options) as Promise<void>;
2725
3164
  },
2726
3165
  /**
2727
- * Simulate claimBatch
3166
+ * Simulate claimAndDeposit
2728
3167
  * Returns gas estimate and result without sending transaction
2729
3168
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2730
3169
  */
2731
- async claimBatch(recipient: `0x${string}`, epochs: bigint[], options?: {
3170
+ async claimAndDeposit(requestId: bigint, newVault: `0x${string}`, options?: {
2732
3171
  accessList?: import('viem').AccessList;
2733
3172
  authorizationList?: import('viem').AuthorizationList;
2734
3173
  chain?: import('viem').Chain | null;
@@ -2740,14 +3179,14 @@ export class Vault_json {
2740
3179
  nonce?: number;
2741
3180
  value?: bigint;
2742
3181
  }): Promise<bigint> {
2743
- return contract.simulate.claimBatch([recipient, epochs] as const, options) as Promise<bigint>;
3182
+ return contract.simulate.claimAndDeposit([requestId, newVault] as const, options) as Promise<bigint>;
2744
3183
  },
2745
3184
  /**
2746
- * Simulate deposit
3185
+ * Simulate claimWithdraw
2747
3186
  * Returns gas estimate and result without sending transaction
2748
3187
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2749
3188
  */
2750
- async deposit(onBehalfOf: `0x${string}`, amount: bigint, options?: {
3189
+ async claimWithdraw(requestId: bigint, options?: {
2751
3190
  accessList?: import('viem').AccessList;
2752
3191
  authorizationList?: import('viem').AuthorizationList;
2753
3192
  chain?: import('viem').Chain | null;
@@ -2758,15 +3197,15 @@ export class Vault_json {
2758
3197
  maxPriorityFeePerGas?: bigint;
2759
3198
  nonce?: number;
2760
3199
  value?: bigint;
2761
- }): Promise<[bigint, bigint]> {
2762
- return contract.simulate.deposit([onBehalfOf, amount] as const, options) as Promise<[bigint, bigint]>;
3200
+ }): Promise<void> {
3201
+ return contract.simulate.claimWithdraw([requestId] as const, options) as Promise<void>;
2763
3202
  },
2764
3203
  /**
2765
- * Simulate grantRole
3204
+ * Simulate claimWithdrawTo
2766
3205
  * Returns gas estimate and result without sending transaction
2767
3206
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2768
3207
  */
2769
- async grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
3208
+ async claimWithdrawTo(requestId: bigint, recipient: `0x${string}`, options?: {
2770
3209
  accessList?: import('viem').AccessList;
2771
3210
  authorizationList?: import('viem').AuthorizationList;
2772
3211
  chain?: import('viem').Chain | null;
@@ -2778,14 +3217,14 @@ export class Vault_json {
2778
3217
  nonce?: number;
2779
3218
  value?: bigint;
2780
3219
  }): Promise<void> {
2781
- return contract.simulate.grantRole([role, account] as const, options) as Promise<void>;
3220
+ return contract.simulate.claimWithdrawTo([requestId, recipient] as const, options) as Promise<void>;
2782
3221
  },
2783
3222
  /**
2784
- * Simulate initialize
3223
+ * Simulate grantRole
2785
3224
  * Returns gas estimate and result without sending transaction
2786
3225
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2787
3226
  */
2788
- async initialize(initialVersion: bigint, owner_: `0x${string}`, data: `0x${string}`, options?: {
3227
+ async grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
2789
3228
  accessList?: import('viem').AccessList;
2790
3229
  authorizationList?: import('viem').AuthorizationList;
2791
3230
  chain?: import('viem').Chain | null;
@@ -2797,14 +3236,14 @@ export class Vault_json {
2797
3236
  nonce?: number;
2798
3237
  value?: bigint;
2799
3238
  }): Promise<void> {
2800
- return contract.simulate.initialize([initialVersion, owner_, data] as const, options) as Promise<void>;
3239
+ return contract.simulate.grantRole([role, account] as const, options) as Promise<void>;
2801
3240
  },
2802
3241
  /**
2803
- * Simulate migrate
3242
+ * Simulate onShareTransfer
2804
3243
  * Returns gas estimate and result without sending transaction
2805
3244
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2806
3245
  */
2807
- async migrate(newVersion: bigint, data: `0x${string}`, options?: {
3246
+ async onShareTransfer(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
2808
3247
  accessList?: import('viem').AccessList;
2809
3248
  authorizationList?: import('viem').AuthorizationList;
2810
3249
  chain?: import('viem').Chain | null;
@@ -2816,14 +3255,14 @@ export class Vault_json {
2816
3255
  nonce?: number;
2817
3256
  value?: bigint;
2818
3257
  }): Promise<void> {
2819
- return contract.simulate.migrate([newVersion, data] as const, options) as Promise<void>;
3258
+ return contract.simulate.onShareTransfer([from, to, value] as const, options) as Promise<void>;
2820
3259
  },
2821
3260
  /**
2822
- * Simulate onSlash
3261
+ * Simulate pause
2823
3262
  * Returns gas estimate and result without sending transaction
2824
3263
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2825
3264
  */
2826
- async onSlash(amount: bigint, captureTimestamp: bigint, options?: {
3265
+ async pause(options?: {
2827
3266
  accessList?: import('viem').AccessList;
2828
3267
  authorizationList?: import('viem').AuthorizationList;
2829
3268
  chain?: import('viem').Chain | null;
@@ -2834,15 +3273,15 @@ export class Vault_json {
2834
3273
  maxPriorityFeePerGas?: bigint;
2835
3274
  nonce?: number;
2836
3275
  value?: bigint;
2837
- }): Promise<bigint> {
2838
- return contract.simulate.onSlash([amount, captureTimestamp] as const, options) as Promise<bigint>;
3276
+ }): Promise<void> {
3277
+ return contract.simulate.pause(options) as Promise<void>;
2839
3278
  },
2840
3279
  /**
2841
- * Simulate redeem
3280
+ * Simulate rebalance
2842
3281
  * Returns gas estimate and result without sending transaction
2843
3282
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2844
3283
  */
2845
- async redeem(claimer: `0x${string}`, shares: bigint, options?: {
3284
+ async rebalance(targets: `0x${string}`[], calldatas: `0x${string}`[], options?: {
2846
3285
  accessList?: import('viem').AccessList;
2847
3286
  authorizationList?: import('viem').AuthorizationList;
2848
3287
  chain?: import('viem').Chain | null;
@@ -2853,15 +3292,15 @@ export class Vault_json {
2853
3292
  maxPriorityFeePerGas?: bigint;
2854
3293
  nonce?: number;
2855
3294
  value?: bigint;
2856
- }): Promise<[bigint, bigint]> {
2857
- return contract.simulate.redeem([claimer, shares] as const, options) as Promise<[bigint, bigint]>;
3295
+ }): Promise<void> {
3296
+ return contract.simulate.rebalance([targets, calldatas] as const, options) as Promise<void>;
2858
3297
  },
2859
3298
  /**
2860
- * Simulate renounceOwnership
3299
+ * Simulate removeTrackedToken
2861
3300
  * Returns gas estimate and result without sending transaction
2862
3301
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2863
3302
  */
2864
- async renounceOwnership(options?: {
3303
+ async removeTrackedToken(token: `0x${string}`, options?: {
2865
3304
  accessList?: import('viem').AccessList;
2866
3305
  authorizationList?: import('viem').AuthorizationList;
2867
3306
  chain?: import('viem').Chain | null;
@@ -2873,7 +3312,7 @@ export class Vault_json {
2873
3312
  nonce?: number;
2874
3313
  value?: bigint;
2875
3314
  }): Promise<void> {
2876
- return contract.simulate.renounceOwnership(options) as Promise<void>;
3315
+ return contract.simulate.removeTrackedToken([token] as const, options) as Promise<void>;
2877
3316
  },
2878
3317
  /**
2879
3318
  * Simulate renounceRole
@@ -2894,6 +3333,63 @@ export class Vault_json {
2894
3333
  }): Promise<void> {
2895
3334
  return contract.simulate.renounceRole([role, callerConfirmation] as const, options) as Promise<void>;
2896
3335
  },
3336
+ /**
3337
+ * Simulate requestDeposit
3338
+ * Returns gas estimate and result without sending transaction
3339
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3340
+ */
3341
+ async requestDeposit(assets: bigint, options?: {
3342
+ accessList?: import('viem').AccessList;
3343
+ authorizationList?: import('viem').AuthorizationList;
3344
+ chain?: import('viem').Chain | null;
3345
+ dataSuffix?: `0x${string}`;
3346
+ gas?: bigint;
3347
+ gasPrice?: bigint;
3348
+ maxFeePerGas?: bigint;
3349
+ maxPriorityFeePerGas?: bigint;
3350
+ nonce?: number;
3351
+ value?: bigint;
3352
+ }): Promise<bigint> {
3353
+ return contract.simulate.requestDeposit([assets] as const, options) as Promise<bigint>;
3354
+ },
3355
+ /**
3356
+ * Simulate requestDepositFor
3357
+ * Returns gas estimate and result without sending transaction
3358
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3359
+ */
3360
+ async requestDepositFor(assets: bigint, recipient: `0x${string}`, options?: {
3361
+ accessList?: import('viem').AccessList;
3362
+ authorizationList?: import('viem').AuthorizationList;
3363
+ chain?: import('viem').Chain | null;
3364
+ dataSuffix?: `0x${string}`;
3365
+ gas?: bigint;
3366
+ gasPrice?: bigint;
3367
+ maxFeePerGas?: bigint;
3368
+ maxPriorityFeePerGas?: bigint;
3369
+ nonce?: number;
3370
+ value?: bigint;
3371
+ }): Promise<bigint> {
3372
+ return contract.simulate.requestDepositFor([assets, recipient] as const, options) as Promise<bigint>;
3373
+ },
3374
+ /**
3375
+ * Simulate requestWithdraw
3376
+ * Returns gas estimate and result without sending transaction
3377
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3378
+ */
3379
+ async requestWithdraw(sharesIn: bigint, options?: {
3380
+ accessList?: import('viem').AccessList;
3381
+ authorizationList?: import('viem').AuthorizationList;
3382
+ chain?: import('viem').Chain | null;
3383
+ dataSuffix?: `0x${string}`;
3384
+ gas?: bigint;
3385
+ gasPrice?: bigint;
3386
+ maxFeePerGas?: bigint;
3387
+ maxPriorityFeePerGas?: bigint;
3388
+ nonce?: number;
3389
+ value?: bigint;
3390
+ }): Promise<bigint> {
3391
+ return contract.simulate.requestWithdraw([sharesIn] as const, options) as Promise<bigint>;
3392
+ },
2897
3393
  /**
2898
3394
  * Simulate revokeRole
2899
3395
  * Returns gas estimate and result without sending transaction
@@ -2914,11 +3410,11 @@ export class Vault_json {
2914
3410
  return contract.simulate.revokeRole([role, account] as const, options) as Promise<void>;
2915
3411
  },
2916
3412
  /**
2917
- * Simulate setDelegator
3413
+ * Simulate setFeeRecipient
2918
3414
  * Returns gas estimate and result without sending transaction
2919
3415
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2920
3416
  */
2921
- async setDelegator(delegator_: `0x${string}`, options?: {
3417
+ async setFeeRecipient(recipient: `0x${string}`, options?: {
2922
3418
  accessList?: import('viem').AccessList;
2923
3419
  authorizationList?: import('viem').AuthorizationList;
2924
3420
  chain?: import('viem').Chain | null;
@@ -2930,14 +3426,14 @@ export class Vault_json {
2930
3426
  nonce?: number;
2931
3427
  value?: bigint;
2932
3428
  }): Promise<void> {
2933
- return contract.simulate.setDelegator([delegator_] as const, options) as Promise<void>;
3429
+ return contract.simulate.setFeeRecipient([recipient] as const, options) as Promise<void>;
2934
3430
  },
2935
3431
  /**
2936
- * Simulate setDepositLimit
3432
+ * Simulate setMaxSettlementBatchSize
2937
3433
  * Returns gas estimate and result without sending transaction
2938
3434
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2939
3435
  */
2940
- async setDepositLimit(limit: bigint, options?: {
3436
+ async setMaxSettlementBatchSize(size: bigint, options?: {
2941
3437
  accessList?: import('viem').AccessList;
2942
3438
  authorizationList?: import('viem').AuthorizationList;
2943
3439
  chain?: import('viem').Chain | null;
@@ -2949,14 +3445,14 @@ export class Vault_json {
2949
3445
  nonce?: number;
2950
3446
  value?: bigint;
2951
3447
  }): Promise<void> {
2952
- return contract.simulate.setDepositLimit([limit] as const, options) as Promise<void>;
3448
+ return contract.simulate.setMaxSettlementBatchSize([size] as const, options) as Promise<void>;
2953
3449
  },
2954
3450
  /**
2955
- * Simulate setDepositWhitelist
3451
+ * Simulate setMinDepositAssets
2956
3452
  * Returns gas estimate and result without sending transaction
2957
3453
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2958
3454
  */
2959
- async setDepositWhitelist(status: boolean, options?: {
3455
+ async setMinDepositAssets(amount: bigint, options?: {
2960
3456
  accessList?: import('viem').AccessList;
2961
3457
  authorizationList?: import('viem').AuthorizationList;
2962
3458
  chain?: import('viem').Chain | null;
@@ -2968,14 +3464,14 @@ export class Vault_json {
2968
3464
  nonce?: number;
2969
3465
  value?: bigint;
2970
3466
  }): Promise<void> {
2971
- return contract.simulate.setDepositWhitelist([status] as const, options) as Promise<void>;
3467
+ return contract.simulate.setMinDepositAssets([amount] as const, options) as Promise<void>;
2972
3468
  },
2973
3469
  /**
2974
- * Simulate setDepositorWhitelistStatus
3470
+ * Simulate setOracle
2975
3471
  * Returns gas estimate and result without sending transaction
2976
3472
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2977
3473
  */
2978
- async setDepositorWhitelistStatus(account: `0x${string}`, status: boolean, options?: {
3474
+ async setOracle(_oracle: `0x${string}`, options?: {
2979
3475
  accessList?: import('viem').AccessList;
2980
3476
  authorizationList?: import('viem').AuthorizationList;
2981
3477
  chain?: import('viem').Chain | null;
@@ -2987,14 +3483,14 @@ export class Vault_json {
2987
3483
  nonce?: number;
2988
3484
  value?: bigint;
2989
3485
  }): Promise<void> {
2990
- return contract.simulate.setDepositorWhitelistStatus([account, status] as const, options) as Promise<void>;
3486
+ return contract.simulate.setOracle([_oracle] as const, options) as Promise<void>;
2991
3487
  },
2992
3488
  /**
2993
- * Simulate setIsDepositLimit
3489
+ * Simulate setPerformanceFee
2994
3490
  * Returns gas estimate and result without sending transaction
2995
3491
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2996
3492
  */
2997
- async setIsDepositLimit(status: boolean, options?: {
3493
+ async setPerformanceFee(feeBps: bigint, options?: {
2998
3494
  accessList?: import('viem').AccessList;
2999
3495
  authorizationList?: import('viem').AuthorizationList;
3000
3496
  chain?: import('viem').Chain | null;
@@ -3006,14 +3502,14 @@ export class Vault_json {
3006
3502
  nonce?: number;
3007
3503
  value?: bigint;
3008
3504
  }): Promise<void> {
3009
- return contract.simulate.setIsDepositLimit([status] as const, options) as Promise<void>;
3505
+ return contract.simulate.setPerformanceFee([feeBps] as const, options) as Promise<void>;
3010
3506
  },
3011
3507
  /**
3012
- * Simulate setSlasher
3508
+ * Simulate setSettlementFee
3013
3509
  * Returns gas estimate and result without sending transaction
3014
3510
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
3015
3511
  */
3016
- async setSlasher(slasher_: `0x${string}`, options?: {
3512
+ async setSettlementFee(fee: bigint, options?: {
3017
3513
  accessList?: import('viem').AccessList;
3018
3514
  authorizationList?: import('viem').AuthorizationList;
3019
3515
  chain?: import('viem').Chain | null;
@@ -3025,14 +3521,14 @@ export class Vault_json {
3025
3521
  nonce?: number;
3026
3522
  value?: bigint;
3027
3523
  }): Promise<void> {
3028
- return contract.simulate.setSlasher([slasher_] as const, options) as Promise<void>;
3524
+ return contract.simulate.setSettlementFee([fee] as const, options) as Promise<void>;
3029
3525
  },
3030
3526
  /**
3031
- * Simulate staticDelegateCall
3527
+ * Simulate setTargetAllowed
3032
3528
  * Returns gas estimate and result without sending transaction
3033
3529
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
3034
3530
  */
3035
- async staticDelegateCall(target: `0x${string}`, data: `0x${string}`, options?: {
3531
+ async setTargetAllowed(target: `0x${string}`, allowed: boolean, options?: {
3036
3532
  accessList?: import('viem').AccessList;
3037
3533
  authorizationList?: import('viem').AuthorizationList;
3038
3534
  chain?: import('viem').Chain | null;
@@ -3044,14 +3540,14 @@ export class Vault_json {
3044
3540
  nonce?: number;
3045
3541
  value?: bigint;
3046
3542
  }): Promise<void> {
3047
- return contract.simulate.staticDelegateCall([target, data] as const, options) as Promise<void>;
3543
+ return contract.simulate.setTargetAllowed([target, allowed] as const, options) as Promise<void>;
3048
3544
  },
3049
3545
  /**
3050
- * Simulate transferOwnership
3546
+ * Simulate settle
3051
3547
  * Returns gas estimate and result without sending transaction
3052
3548
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
3053
3549
  */
3054
- async transferOwnership(newOwner: `0x${string}`, options?: {
3550
+ async settle(tokens: `0x${string}`[], prices: bigint[], options?: {
3055
3551
  accessList?: import('viem').AccessList;
3056
3552
  authorizationList?: import('viem').AuthorizationList;
3057
3553
  chain?: import('viem').Chain | null;
@@ -3063,14 +3559,14 @@ export class Vault_json {
3063
3559
  nonce?: number;
3064
3560
  value?: bigint;
3065
3561
  }): Promise<void> {
3066
- return contract.simulate.transferOwnership([newOwner] as const, options) as Promise<void>;
3562
+ return contract.simulate.settle([tokens, prices] as const, options) as Promise<void>;
3067
3563
  },
3068
3564
  /**
3069
- * Simulate withdraw
3565
+ * Simulate unpause
3070
3566
  * Returns gas estimate and result without sending transaction
3071
3567
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
3072
3568
  */
3073
- async withdraw(claimer: `0x${string}`, amount: bigint, options?: {
3569
+ async unpause(options?: {
3074
3570
  accessList?: import('viem').AccessList;
3075
3571
  authorizationList?: import('viem').AuthorizationList;
3076
3572
  chain?: import('viem').Chain | null;
@@ -3081,8 +3577,8 @@ export class Vault_json {
3081
3577
  maxPriorityFeePerGas?: bigint;
3082
3578
  nonce?: number;
3083
3579
  value?: bigint;
3084
- }): Promise<[bigint, bigint]> {
3085
- return contract.simulate.withdraw([claimer, amount] as const, options) as Promise<[bigint, bigint]>;
3580
+ }): Promise<void> {
3581
+ return contract.simulate.unpause(options) as Promise<void>;
3086
3582
  }
3087
3583
  };
3088
3584
  }
@@ -3102,16 +3598,35 @@ export class Vault_json {
3102
3598
  get watch() {
3103
3599
  return {
3104
3600
  /**
3105
- * Watch Claim events
3601
+ * Watch DepositAutoRefunded events
3602
+ * @param callback Function to call when event is emitted
3603
+ * @param filter Optional filter for indexed parameters
3604
+ * @returns Unwatch function to stop listening
3605
+ */
3606
+ DepositAutoRefunded: (callback: (event: { depositId: bigint; owner: `0x${string}`; assets: bigint }) => void, filter?: { depositId: bigint; owner: `0x${string}` }) => {
3607
+ return this.publicClient.watchContractEvent({
3608
+ address: this.contractAddress,
3609
+ abi: Vault_jsonAbi,
3610
+ eventName: 'DepositAutoRefunded',
3611
+ args: filter,
3612
+ onLogs: (logs: any[]) => {
3613
+ logs.forEach((log: any) => {
3614
+ callback(log.args as any);
3615
+ });
3616
+ },
3617
+ }) as () => void;
3618
+ },
3619
+ /**
3620
+ * Watch DepositCancelled events
3106
3621
  * @param callback Function to call when event is emitted
3107
3622
  * @param filter Optional filter for indexed parameters
3108
3623
  * @returns Unwatch function to stop listening
3109
3624
  */
3110
- Claim: (callback: (event: { claimer: `0x${string}`; recipient: `0x${string}`; epoch: bigint; amount: bigint }) => void, filter?: { claimer: `0x${string}`; recipient: `0x${string}` }) => {
3625
+ DepositCancelled: (callback: (event: { depositId: bigint; owner: `0x${string}`; assets: bigint }) => void, filter?: { depositId: bigint; owner: `0x${string}` }) => {
3111
3626
  return this.publicClient.watchContractEvent({
3112
3627
  address: this.contractAddress,
3113
3628
  abi: Vault_jsonAbi,
3114
- eventName: 'Claim',
3629
+ eventName: 'DepositCancelled',
3115
3630
  args: filter,
3116
3631
  onLogs: (logs: any[]) => {
3117
3632
  logs.forEach((log: any) => {
@@ -3121,16 +3636,16 @@ export class Vault_json {
3121
3636
  }) as () => void;
3122
3637
  },
3123
3638
  /**
3124
- * Watch ClaimBatch events
3639
+ * Watch DepositRequested events
3125
3640
  * @param callback Function to call when event is emitted
3126
3641
  * @param filter Optional filter for indexed parameters
3127
3642
  * @returns Unwatch function to stop listening
3128
3643
  */
3129
- ClaimBatch: (callback: (event: { claimer: `0x${string}`; recipient: `0x${string}`; epochs: bigint[]; amount: bigint }) => void, filter?: { claimer: `0x${string}`; recipient: `0x${string}` }) => {
3644
+ DepositRequested: (callback: (event: { depositId: bigint; owner: `0x${string}`; assets: bigint }) => void, filter?: { depositId: bigint; owner: `0x${string}` }) => {
3130
3645
  return this.publicClient.watchContractEvent({
3131
3646
  address: this.contractAddress,
3132
3647
  abi: Vault_jsonAbi,
3133
- eventName: 'ClaimBatch',
3648
+ eventName: 'DepositRequested',
3134
3649
  args: filter,
3135
3650
  onLogs: (logs: any[]) => {
3136
3651
  logs.forEach((log: any) => {
@@ -3140,16 +3655,16 @@ export class Vault_json {
3140
3655
  }) as () => void;
3141
3656
  },
3142
3657
  /**
3143
- * Watch Deposit events
3658
+ * Watch DepositSettled events
3144
3659
  * @param callback Function to call when event is emitted
3145
3660
  * @param filter Optional filter for indexed parameters
3146
3661
  * @returns Unwatch function to stop listening
3147
3662
  */
3148
- Deposit: (callback: (event: { depositor: `0x${string}`; onBehalfOf: `0x${string}`; amount: bigint; shares: bigint }) => void, filter?: { depositor: `0x${string}`; onBehalfOf: `0x${string}` }) => {
3663
+ DepositSettled: (callback: (event: { depositId: bigint; owner: `0x${string}`; netAssets: bigint; shares: bigint }) => void, filter?: { depositId: bigint; owner: `0x${string}` }) => {
3149
3664
  return this.publicClient.watchContractEvent({
3150
3665
  address: this.contractAddress,
3151
3666
  abi: Vault_jsonAbi,
3152
- eventName: 'Deposit',
3667
+ eventName: 'DepositSettled',
3153
3668
  args: filter,
3154
3669
  onLogs: (logs: any[]) => {
3155
3670
  logs.forEach((log: any) => {
@@ -3159,16 +3674,16 @@ export class Vault_json {
3159
3674
  }) as () => void;
3160
3675
  },
3161
3676
  /**
3162
- * Watch Initialized events
3677
+ * Watch MaxSettlementBatchSizeSet events
3163
3678
  * @param callback Function to call when event is emitted
3164
3679
  * @param filter Optional filter for indexed parameters
3165
3680
  * @returns Unwatch function to stop listening
3166
3681
  */
3167
- Initialized: (callback: (event: { version: bigint }) => void) => {
3682
+ MaxSettlementBatchSizeSet: (callback: (event: { size: bigint }) => void) => {
3168
3683
  return this.publicClient.watchContractEvent({
3169
3684
  address: this.contractAddress,
3170
3685
  abi: Vault_jsonAbi,
3171
- eventName: 'Initialized',
3686
+ eventName: 'MaxSettlementBatchSizeSet',
3172
3687
 
3173
3688
  onLogs: (logs: any[]) => {
3174
3689
  logs.forEach((log: any) => {
@@ -3178,16 +3693,16 @@ export class Vault_json {
3178
3693
  }) as () => void;
3179
3694
  },
3180
3695
  /**
3181
- * Watch OnSlash events
3696
+ * Watch MinDepositAssetsSet events
3182
3697
  * @param callback Function to call when event is emitted
3183
3698
  * @param filter Optional filter for indexed parameters
3184
3699
  * @returns Unwatch function to stop listening
3185
3700
  */
3186
- OnSlash: (callback: (event: { amount: bigint; captureTimestamp: bigint; slashedAmount: bigint }) => void) => {
3701
+ MinDepositAssetsSet: (callback: (event: { amount: bigint }) => void) => {
3187
3702
  return this.publicClient.watchContractEvent({
3188
3703
  address: this.contractAddress,
3189
3704
  abi: Vault_jsonAbi,
3190
- eventName: 'OnSlash',
3705
+ eventName: 'MinDepositAssetsSet',
3191
3706
 
3192
3707
  onLogs: (logs: any[]) => {
3193
3708
  logs.forEach((log: any) => {
@@ -3197,16 +3712,16 @@ export class Vault_json {
3197
3712
  }) as () => void;
3198
3713
  },
3199
3714
  /**
3200
- * Watch OwnershipTransferred events
3715
+ * Watch OracleSet events
3201
3716
  * @param callback Function to call when event is emitted
3202
3717
  * @param filter Optional filter for indexed parameters
3203
3718
  * @returns Unwatch function to stop listening
3204
3719
  */
3205
- OwnershipTransferred: (callback: (event: { previousOwner: `0x${string}`; newOwner: `0x${string}` }) => void, filter?: { previousOwner: `0x${string}`; newOwner: `0x${string}` }) => {
3720
+ OracleSet: (callback: (event: { oracle: `0x${string}` }) => void, filter?: { oracle: `0x${string}` }) => {
3206
3721
  return this.publicClient.watchContractEvent({
3207
3722
  address: this.contractAddress,
3208
3723
  abi: Vault_jsonAbi,
3209
- eventName: 'OwnershipTransferred',
3724
+ eventName: 'OracleSet',
3210
3725
  args: filter,
3211
3726
  onLogs: (logs: any[]) => {
3212
3727
  logs.forEach((log: any) => {
@@ -3215,6 +3730,63 @@ export class Vault_json {
3215
3730
  },
3216
3731
  }) as () => void;
3217
3732
  },
3733
+ /**
3734
+ * Watch Paused events
3735
+ * @param callback Function to call when event is emitted
3736
+ * @param filter Optional filter for indexed parameters
3737
+ * @returns Unwatch function to stop listening
3738
+ */
3739
+ Paused: (callback: (event: { account: `0x${string}` }) => void) => {
3740
+ return this.publicClient.watchContractEvent({
3741
+ address: this.contractAddress,
3742
+ abi: Vault_jsonAbi,
3743
+ eventName: 'Paused',
3744
+
3745
+ onLogs: (logs: any[]) => {
3746
+ logs.forEach((log: any) => {
3747
+ callback(log.args as any);
3748
+ });
3749
+ },
3750
+ }) as () => void;
3751
+ },
3752
+ /**
3753
+ * Watch PerformanceFeeSet events
3754
+ * @param callback Function to call when event is emitted
3755
+ * @param filter Optional filter for indexed parameters
3756
+ * @returns Unwatch function to stop listening
3757
+ */
3758
+ PerformanceFeeSet: (callback: (event: { feeBps: bigint }) => void) => {
3759
+ return this.publicClient.watchContractEvent({
3760
+ address: this.contractAddress,
3761
+ abi: Vault_jsonAbi,
3762
+ eventName: 'PerformanceFeeSet',
3763
+
3764
+ onLogs: (logs: any[]) => {
3765
+ logs.forEach((log: any) => {
3766
+ callback(log.args as any);
3767
+ });
3768
+ },
3769
+ }) as () => void;
3770
+ },
3771
+ /**
3772
+ * Watch Rebalanced events
3773
+ * @param callback Function to call when event is emitted
3774
+ * @param filter Optional filter for indexed parameters
3775
+ * @returns Unwatch function to stop listening
3776
+ */
3777
+ Rebalanced: (callback: (event: { callCount: bigint; navBefore: bigint; navAfter: bigint }) => void) => {
3778
+ return this.publicClient.watchContractEvent({
3779
+ address: this.contractAddress,
3780
+ abi: Vault_jsonAbi,
3781
+ eventName: 'Rebalanced',
3782
+
3783
+ onLogs: (logs: any[]) => {
3784
+ logs.forEach((log: any) => {
3785
+ callback(log.args as any);
3786
+ });
3787
+ },
3788
+ }) as () => void;
3789
+ },
3218
3790
  /**
3219
3791
  * Watch RoleAdminChanged events
3220
3792
  * @param callback Function to call when event is emitted
@@ -3273,17 +3845,17 @@ export class Vault_json {
3273
3845
  }) as () => void;
3274
3846
  },
3275
3847
  /**
3276
- * Watch SetDelegator events
3848
+ * Watch Settled events
3277
3849
  * @param callback Function to call when event is emitted
3278
3850
  * @param filter Optional filter for indexed parameters
3279
3851
  * @returns Unwatch function to stop listening
3280
3852
  */
3281
- SetDelegator: (callback: (event: { delegator: `0x${string}` }) => void, filter?: { delegator: `0x${string}` }) => {
3853
+ Settled: (callback: (event: { oraclePriceCount: bigint; depositsSettled: bigint; depositsRefunded: bigint; withdrawalsProcessed: bigint }) => void) => {
3282
3854
  return this.publicClient.watchContractEvent({
3283
3855
  address: this.contractAddress,
3284
3856
  abi: Vault_jsonAbi,
3285
- eventName: 'SetDelegator',
3286
- args: filter,
3857
+ eventName: 'Settled',
3858
+
3287
3859
  onLogs: (logs: any[]) => {
3288
3860
  logs.forEach((log: any) => {
3289
3861
  callback(log.args as any);
@@ -3292,16 +3864,16 @@ export class Vault_json {
3292
3864
  }) as () => void;
3293
3865
  },
3294
3866
  /**
3295
- * Watch SetDepositLimit events
3867
+ * Watch SettlementFeeSet events
3296
3868
  * @param callback Function to call when event is emitted
3297
3869
  * @param filter Optional filter for indexed parameters
3298
3870
  * @returns Unwatch function to stop listening
3299
3871
  */
3300
- SetDepositLimit: (callback: (event: { limit: bigint }) => void) => {
3872
+ SettlementFeeSet: (callback: (event: { fee: bigint }) => void) => {
3301
3873
  return this.publicClient.watchContractEvent({
3302
3874
  address: this.contractAddress,
3303
3875
  abi: Vault_jsonAbi,
3304
- eventName: 'SetDepositLimit',
3876
+ eventName: 'SettlementFeeSet',
3305
3877
 
3306
3878
  onLogs: (logs: any[]) => {
3307
3879
  logs.forEach((log: any) => {
@@ -3311,17 +3883,36 @@ export class Vault_json {
3311
3883
  }) as () => void;
3312
3884
  },
3313
3885
  /**
3314
- * Watch SetDepositWhitelist events
3886
+ * Watch TargetAllowed events
3315
3887
  * @param callback Function to call when event is emitted
3316
3888
  * @param filter Optional filter for indexed parameters
3317
3889
  * @returns Unwatch function to stop listening
3318
3890
  */
3319
- SetDepositWhitelist: (callback: (event: { status: boolean }) => void) => {
3891
+ TargetAllowed: (callback: (event: { target: `0x${string}`; allowed: boolean }) => void, filter?: { target: `0x${string}` }) => {
3320
3892
  return this.publicClient.watchContractEvent({
3321
3893
  address: this.contractAddress,
3322
3894
  abi: Vault_jsonAbi,
3323
- eventName: 'SetDepositWhitelist',
3324
-
3895
+ eventName: 'TargetAllowed',
3896
+ args: filter,
3897
+ onLogs: (logs: any[]) => {
3898
+ logs.forEach((log: any) => {
3899
+ callback(log.args as any);
3900
+ });
3901
+ },
3902
+ }) as () => void;
3903
+ },
3904
+ /**
3905
+ * Watch TrackedTokenAdded events
3906
+ * @param callback Function to call when event is emitted
3907
+ * @param filter Optional filter for indexed parameters
3908
+ * @returns Unwatch function to stop listening
3909
+ */
3910
+ TrackedTokenAdded: (callback: (event: { token: `0x${string}` }) => void, filter?: { token: `0x${string}` }) => {
3911
+ return this.publicClient.watchContractEvent({
3912
+ address: this.contractAddress,
3913
+ abi: Vault_jsonAbi,
3914
+ eventName: 'TrackedTokenAdded',
3915
+ args: filter,
3325
3916
  onLogs: (logs: any[]) => {
3326
3917
  logs.forEach((log: any) => {
3327
3918
  callback(log.args as any);
@@ -3330,16 +3921,16 @@ export class Vault_json {
3330
3921
  }) as () => void;
3331
3922
  },
3332
3923
  /**
3333
- * Watch SetDepositorWhitelistStatus events
3924
+ * Watch TrackedTokenRemoved events
3334
3925
  * @param callback Function to call when event is emitted
3335
3926
  * @param filter Optional filter for indexed parameters
3336
3927
  * @returns Unwatch function to stop listening
3337
3928
  */
3338
- SetDepositorWhitelistStatus: (callback: (event: { account: `0x${string}`; status: boolean }) => void, filter?: { account: `0x${string}` }) => {
3929
+ TrackedTokenRemoved: (callback: (event: { token: `0x${string}` }) => void, filter?: { token: `0x${string}` }) => {
3339
3930
  return this.publicClient.watchContractEvent({
3340
3931
  address: this.contractAddress,
3341
3932
  abi: Vault_jsonAbi,
3342
- eventName: 'SetDepositorWhitelistStatus',
3933
+ eventName: 'TrackedTokenRemoved',
3343
3934
  args: filter,
3344
3935
  onLogs: (logs: any[]) => {
3345
3936
  logs.forEach((log: any) => {
@@ -3349,16 +3940,16 @@ export class Vault_json {
3349
3940
  }) as () => void;
3350
3941
  },
3351
3942
  /**
3352
- * Watch SetIsDepositLimit events
3943
+ * Watch Unpaused events
3353
3944
  * @param callback Function to call when event is emitted
3354
3945
  * @param filter Optional filter for indexed parameters
3355
3946
  * @returns Unwatch function to stop listening
3356
3947
  */
3357
- SetIsDepositLimit: (callback: (event: { status: boolean }) => void) => {
3948
+ Unpaused: (callback: (event: { account: `0x${string}` }) => void) => {
3358
3949
  return this.publicClient.watchContractEvent({
3359
3950
  address: this.contractAddress,
3360
3951
  abi: Vault_jsonAbi,
3361
- eventName: 'SetIsDepositLimit',
3952
+ eventName: 'Unpaused',
3362
3953
 
3363
3954
  onLogs: (logs: any[]) => {
3364
3955
  logs.forEach((log: any) => {
@@ -3368,16 +3959,54 @@ export class Vault_json {
3368
3959
  }) as () => void;
3369
3960
  },
3370
3961
  /**
3371
- * Watch SetSlasher events
3962
+ * Watch WithdrawCancelled events
3963
+ * @param callback Function to call when event is emitted
3964
+ * @param filter Optional filter for indexed parameters
3965
+ * @returns Unwatch function to stop listening
3966
+ */
3967
+ WithdrawCancelled: (callback: (event: { requestId: bigint; owner: `0x${string}`; shares: bigint }) => void, filter?: { requestId: bigint; owner: `0x${string}` }) => {
3968
+ return this.publicClient.watchContractEvent({
3969
+ address: this.contractAddress,
3970
+ abi: Vault_jsonAbi,
3971
+ eventName: 'WithdrawCancelled',
3972
+ args: filter,
3973
+ onLogs: (logs: any[]) => {
3974
+ logs.forEach((log: any) => {
3975
+ callback(log.args as any);
3976
+ });
3977
+ },
3978
+ }) as () => void;
3979
+ },
3980
+ /**
3981
+ * Watch WithdrawClaimed events
3982
+ * @param callback Function to call when event is emitted
3983
+ * @param filter Optional filter for indexed parameters
3984
+ * @returns Unwatch function to stop listening
3985
+ */
3986
+ WithdrawClaimed: (callback: (event: { requestId: bigint; owner: `0x${string}`; shares: bigint; assetsPaid: bigint; fee: bigint }) => void, filter?: { requestId: bigint; owner: `0x${string}` }) => {
3987
+ return this.publicClient.watchContractEvent({
3988
+ address: this.contractAddress,
3989
+ abi: Vault_jsonAbi,
3990
+ eventName: 'WithdrawClaimed',
3991
+ args: filter,
3992
+ onLogs: (logs: any[]) => {
3993
+ logs.forEach((log: any) => {
3994
+ callback(log.args as any);
3995
+ });
3996
+ },
3997
+ }) as () => void;
3998
+ },
3999
+ /**
4000
+ * Watch WithdrawRequested events
3372
4001
  * @param callback Function to call when event is emitted
3373
4002
  * @param filter Optional filter for indexed parameters
3374
4003
  * @returns Unwatch function to stop listening
3375
4004
  */
3376
- SetSlasher: (callback: (event: { slasher: `0x${string}` }) => void, filter?: { slasher: `0x${string}` }) => {
4005
+ WithdrawRequested: (callback: (event: { requestId: bigint; owner: `0x${string}`; shares: bigint; claimableAt: bigint }) => void, filter?: { requestId: bigint; owner: `0x${string}` }) => {
3377
4006
  return this.publicClient.watchContractEvent({
3378
4007
  address: this.contractAddress,
3379
4008
  abi: Vault_jsonAbi,
3380
- eventName: 'SetSlasher',
4009
+ eventName: 'WithdrawRequested',
3381
4010
  args: filter,
3382
4011
  onLogs: (logs: any[]) => {
3383
4012
  logs.forEach((log: any) => {
@@ -3387,16 +4016,16 @@ export class Vault_json {
3387
4016
  }) as () => void;
3388
4017
  },
3389
4018
  /**
3390
- * Watch Withdraw events
4019
+ * Watch WithdrawalSettled events
3391
4020
  * @param callback Function to call when event is emitted
3392
4021
  * @param filter Optional filter for indexed parameters
3393
4022
  * @returns Unwatch function to stop listening
3394
4023
  */
3395
- Withdraw: (callback: (event: { withdrawer: `0x${string}`; claimer: `0x${string}`; amount: bigint; burnedShares: bigint; mintedShares: bigint }) => void, filter?: { withdrawer: `0x${string}`; claimer: `0x${string}` }) => {
4024
+ WithdrawalSettled: (callback: (event: { requestId: bigint; owner: `0x${string}`; shares: bigint; assetsOut: bigint; fee: bigint }) => void, filter?: { requestId: bigint; owner: `0x${string}` }) => {
3396
4025
  return this.publicClient.watchContractEvent({
3397
4026
  address: this.contractAddress,
3398
4027
  abi: Vault_jsonAbi,
3399
- eventName: 'Withdraw',
4028
+ eventName: 'WithdrawalSettled',
3400
4029
  args: filter,
3401
4030
  onLogs: (logs: any[]) => {
3402
4031
  logs.forEach((log: any) => {