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