@gitmyabi/vault 1.0.4 → 1.0.7

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,356 +1,62 @@
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
- };
23
2
  /**
24
3
  * Vault_json ABI
25
4
  *
26
5
  * This ABI is typed using viem's type system for full type safety.
27
6
  */
28
7
  export declare const Vault_jsonAbi: readonly [{
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
- }, {
38
- readonly internalType: "address";
39
- readonly name: "admin";
40
- readonly type: "address";
41
- }, {
42
- readonly internalType: "address";
43
- readonly name: "manager";
44
- readonly type: "address";
45
- }, {
46
- readonly internalType: "address";
47
- readonly name: "bot";
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";
69
- }];
8
+ readonly inputs: readonly [];
70
9
  readonly stateMutability: "nonpayable";
71
10
  readonly type: "constructor";
72
- }, {
73
- readonly inputs: readonly [];
74
- readonly name: "AccessControlBadConfirmation";
75
- readonly type: "error";
76
- }, {
77
- readonly inputs: readonly [{
78
- readonly internalType: "address";
79
- readonly name: "account";
80
- readonly type: "address";
81
- }, {
82
- readonly internalType: "bytes32";
83
- readonly name: "neededRole";
84
- readonly type: "bytes32";
85
- }];
86
- readonly name: "AccessControlUnauthorizedAccount";
87
- readonly type: "error";
88
- }, {
89
- readonly inputs: readonly [{
90
- readonly internalType: "address";
91
- readonly name: "target";
92
- readonly type: "address";
93
- }];
94
- readonly name: "AddressEmptyCode";
95
- readonly type: "error";
96
- }, {
97
- readonly inputs: readonly [];
98
- readonly name: "AlreadyTracked";
99
- readonly type: "error";
100
- }, {
101
- readonly inputs: readonly [];
102
- readonly name: "DepositTooSmall";
103
- readonly type: "error";
104
- }, {
105
- readonly inputs: readonly [];
106
- readonly name: "EnforcedPause";
107
- readonly type: "error";
108
- }, {
109
- readonly inputs: readonly [];
110
- readonly name: "ExpectedPause";
111
- readonly type: "error";
112
- }, {
113
- readonly inputs: readonly [];
114
- readonly name: "FailedCall";
115
- readonly type: "error";
116
- }, {
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";
127
- readonly type: "error";
128
- }, {
129
- readonly inputs: readonly [];
130
- readonly name: "InsufficientLiquidity";
131
- readonly type: "error";
132
- }, {
133
- readonly inputs: readonly [];
134
- readonly name: "InsufficientShares";
135
- readonly type: "error";
136
- }, {
137
- readonly inputs: readonly [];
138
- readonly name: "InvalidBatchSize";
139
- readonly type: "error";
140
- }, {
141
- readonly inputs: readonly [];
142
- readonly name: "InvalidFee";
143
- readonly type: "error";
144
- }, {
145
- readonly inputs: readonly [];
146
- readonly name: "NotRequestOwner";
147
- readonly type: "error";
148
- }, {
149
- readonly inputs: readonly [];
150
- readonly name: "NotTracked";
151
- readonly type: "error";
152
- }, {
153
- readonly inputs: readonly [];
154
- readonly name: "OnlyHPT";
155
- readonly type: "error";
156
- }, {
157
- readonly inputs: readonly [];
158
- readonly name: "ReentrancyGuardReentrantCall";
159
- readonly type: "error";
160
- }, {
161
- readonly inputs: readonly [];
162
- readonly name: "RequestNotOpen";
163
- readonly type: "error";
164
- }, {
165
- readonly inputs: readonly [{
166
- readonly internalType: "address";
167
- readonly name: "token";
168
- readonly type: "address";
169
- }];
170
- readonly name: "SafeERC20FailedOperation";
171
- readonly type: "error";
172
- }, {
173
- readonly inputs: readonly [{
174
- readonly internalType: "address";
175
- readonly name: "target";
176
- readonly type: "address";
177
- }];
178
- readonly name: "TargetNotAllowed";
179
- readonly type: "error";
180
- }, {
181
- readonly inputs: readonly [{
182
- readonly internalType: "address";
183
- readonly name: "token";
184
- readonly type: "address";
185
- }, {
186
- readonly internalType: "uint256";
187
- readonly name: "balance";
188
- readonly type: "uint256";
189
- }];
190
- readonly name: "TrackedTokenHasBalance";
191
- readonly type: "error";
192
- }, {
193
- readonly inputs: readonly [];
194
- readonly name: "WithdrawNotReady";
195
- readonly type: "error";
196
- }, {
197
- readonly inputs: readonly [];
198
- readonly name: "ZeroAmount";
199
- readonly type: "error";
200
11
  }, {
201
12
  readonly anonymous: false;
202
13
  readonly inputs: readonly [{
203
- readonly indexed: true;
204
- readonly internalType: "uint256";
205
- readonly name: "depositId";
206
- readonly type: "uint256";
207
- }, {
208
- readonly indexed: true;
209
- readonly internalType: "address";
210
- readonly name: "owner";
211
- readonly type: "address";
212
- }, {
213
14
  readonly indexed: false;
214
- readonly internalType: "uint256";
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";
226
- readonly type: "uint256";
227
- }, {
228
- readonly indexed: true;
229
15
  readonly internalType: "address";
230
- readonly name: "owner";
16
+ readonly name: "previousAdmin";
231
17
  readonly type: "address";
232
18
  }, {
233
19
  readonly indexed: false;
234
- readonly internalType: "uint256";
235
- readonly name: "assets";
236
- readonly type: "uint256";
237
- }];
238
- readonly name: "DepositCancelled";
239
- readonly type: "event";
240
- }, {
241
- readonly anonymous: false;
242
- readonly inputs: readonly [{
243
- readonly indexed: true;
244
- readonly internalType: "uint256";
245
- readonly name: "depositId";
246
- readonly type: "uint256";
247
- }, {
248
- readonly indexed: true;
249
20
  readonly internalType: "address";
250
- readonly name: "owner";
21
+ readonly name: "newAdmin";
251
22
  readonly type: "address";
252
- }, {
253
- readonly indexed: false;
254
- readonly internalType: "uint256";
255
- readonly name: "assets";
256
- readonly type: "uint256";
257
23
  }];
258
- readonly name: "DepositRequested";
24
+ readonly name: "AdminChanged";
259
25
  readonly type: "event";
260
26
  }, {
261
27
  readonly anonymous: false;
262
28
  readonly inputs: readonly [{
263
- readonly indexed: true;
264
- readonly internalType: "uint256";
265
- readonly name: "depositId";
266
- readonly type: "uint256";
267
- }, {
268
29
  readonly indexed: true;
269
30
  readonly internalType: "address";
270
- readonly name: "owner";
31
+ readonly name: "beacon";
271
32
  readonly type: "address";
272
- }, {
273
- readonly indexed: false;
274
- readonly internalType: "uint256";
275
- readonly name: "netAssets";
276
- readonly type: "uint256";
277
- }, {
278
- readonly indexed: false;
279
- readonly internalType: "uint256";
280
- readonly name: "shares";
281
- readonly type: "uint256";
282
- }];
283
- readonly name: "DepositSettled";
284
- readonly type: "event";
285
- }, {
286
- readonly anonymous: false;
287
- readonly inputs: readonly [{
288
- readonly indexed: false;
289
- readonly internalType: "uint256";
290
- readonly name: "size";
291
- readonly type: "uint256";
292
33
  }];
293
- readonly name: "MaxSettlementBatchSizeSet";
34
+ readonly name: "BeaconUpgraded";
294
35
  readonly type: "event";
295
36
  }, {
296
37
  readonly anonymous: false;
297
38
  readonly inputs: readonly [{
298
39
  readonly indexed: false;
299
- readonly internalType: "uint256";
300
- readonly name: "amount";
301
- readonly type: "uint256";
40
+ readonly internalType: "uint8";
41
+ readonly name: "version";
42
+ readonly type: "uint8";
302
43
  }];
303
- readonly name: "MinDepositAssetsSet";
44
+ readonly name: "Initialized";
304
45
  readonly type: "event";
305
46
  }, {
306
47
  readonly anonymous: false;
307
48
  readonly inputs: readonly [{
308
49
  readonly indexed: true;
309
50
  readonly internalType: "address";
310
- readonly name: "oracle";
51
+ readonly name: "previousOwner";
311
52
  readonly type: "address";
312
- }];
313
- readonly name: "OracleSet";
314
- readonly type: "event";
315
- }, {
316
- readonly anonymous: false;
317
- readonly inputs: readonly [{
318
- readonly indexed: false;
53
+ }, {
54
+ readonly indexed: true;
319
55
  readonly internalType: "address";
320
- readonly name: "account";
56
+ readonly name: "newOwner";
321
57
  readonly type: "address";
322
58
  }];
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";
59
+ readonly name: "OwnershipTransferred";
354
60
  readonly type: "event";
355
61
  }, {
356
62
  readonly anonymous: false;
@@ -412,214 +118,103 @@ export declare const Vault_jsonAbi: readonly [{
412
118
  }];
413
119
  readonly name: "RoleRevoked";
414
120
  readonly type: "event";
415
- }, {
416
- readonly anonymous: false;
417
- readonly inputs: readonly [{
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";
437
- }];
438
- readonly name: "Settled";
439
- readonly type: "event";
440
- }, {
441
- readonly anonymous: false;
442
- readonly inputs: readonly [{
443
- readonly indexed: false;
444
- readonly internalType: "uint256";
445
- readonly name: "fee";
446
- readonly type: "uint256";
447
- }];
448
- readonly name: "SettlementFeeSet";
449
- readonly type: "event";
450
121
  }, {
451
122
  readonly anonymous: false;
452
123
  readonly inputs: readonly [{
453
124
  readonly indexed: true;
454
125
  readonly internalType: "address";
455
- readonly name: "target";
126
+ readonly name: "implementation";
456
127
  readonly type: "address";
457
- }, {
458
- readonly indexed: false;
459
- readonly internalType: "bool";
460
- readonly name: "allowed";
461
- readonly type: "bool";
462
128
  }];
463
- readonly name: "TargetAllowed";
129
+ readonly name: "Upgraded";
464
130
  readonly type: "event";
465
131
  }, {
466
- readonly anonymous: false;
467
- readonly inputs: readonly [{
468
- readonly indexed: true;
469
- readonly internalType: "address";
470
- readonly name: "token";
471
- readonly type: "address";
132
+ readonly inputs: readonly [];
133
+ readonly name: "DEFAULT_ADMIN_ROLE";
134
+ readonly outputs: readonly [{
135
+ readonly internalType: "bytes32";
136
+ readonly name: "";
137
+ readonly type: "bytes32";
472
138
  }];
473
- readonly name: "TrackedTokenAdded";
474
- readonly type: "event";
139
+ readonly stateMutability: "view";
140
+ readonly type: "function";
475
141
  }, {
476
- readonly anonymous: false;
477
- readonly inputs: readonly [{
478
- readonly indexed: true;
479
- readonly internalType: "address";
480
- readonly name: "token";
481
- readonly type: "address";
142
+ readonly inputs: readonly [];
143
+ readonly name: "PAYEE_ROLE";
144
+ readonly outputs: readonly [{
145
+ readonly internalType: "bytes32";
146
+ readonly name: "";
147
+ readonly type: "bytes32";
482
148
  }];
483
- readonly name: "TrackedTokenRemoved";
484
- readonly type: "event";
149
+ readonly stateMutability: "view";
150
+ readonly type: "function";
485
151
  }, {
486
- readonly anonymous: false;
487
- readonly inputs: readonly [{
488
- readonly indexed: false;
489
- readonly internalType: "address";
490
- readonly name: "account";
491
- readonly type: "address";
152
+ readonly inputs: readonly [];
153
+ readonly name: "PAYER_ROLE";
154
+ readonly outputs: readonly [{
155
+ readonly internalType: "bytes32";
156
+ readonly name: "";
157
+ readonly type: "bytes32";
492
158
  }];
493
- readonly name: "Unpaused";
494
- readonly type: "event";
159
+ readonly stateMutability: "view";
160
+ readonly type: "function";
495
161
  }, {
496
- readonly anonymous: false;
497
162
  readonly inputs: readonly [{
498
- readonly indexed: true;
499
- readonly internalType: "uint256";
500
- readonly name: "requestId";
501
- readonly type: "uint256";
163
+ readonly internalType: "contract IERC20Upgradeable[]";
164
+ readonly name: "tokens";
165
+ readonly type: "address[]";
502
166
  }, {
503
- readonly indexed: true;
504
- readonly internalType: "address";
505
- readonly name: "owner";
506
- readonly type: "address";
167
+ readonly internalType: "address[]";
168
+ readonly name: "payees";
169
+ readonly type: "address[]";
507
170
  }, {
508
- readonly indexed: false;
509
- readonly internalType: "uint256";
510
- readonly name: "shares";
511
- readonly type: "uint256";
171
+ readonly internalType: "uint256[]";
172
+ readonly name: "amounts";
173
+ readonly type: "uint256[]";
512
174
  }];
513
- readonly name: "WithdrawCancelled";
514
- readonly type: "event";
175
+ readonly name: "batchTransferErc20";
176
+ readonly outputs: readonly [];
177
+ readonly stateMutability: "nonpayable";
178
+ readonly type: "function";
515
179
  }, {
516
- readonly anonymous: false;
517
180
  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";
181
+ readonly internalType: "contract IERC721Upgradeable[]";
182
+ readonly name: "tokens";
183
+ readonly type: "address[]";
532
184
  }, {
533
- readonly indexed: false;
534
- readonly internalType: "uint256";
535
- readonly name: "assetsPaid";
536
- readonly type: "uint256";
185
+ readonly internalType: "address[]";
186
+ readonly name: "payees";
187
+ readonly type: "address[]";
537
188
  }, {
538
- readonly indexed: false;
539
- readonly internalType: "uint256";
540
- readonly name: "fee";
541
- readonly type: "uint256";
189
+ readonly internalType: "uint256[]";
190
+ readonly name: "tokenIds";
191
+ readonly type: "uint256[]";
542
192
  }];
543
- readonly name: "WithdrawClaimed";
544
- readonly type: "event";
193
+ readonly name: "batchTransferErc721";
194
+ readonly outputs: readonly [];
195
+ readonly stateMutability: "nonpayable";
196
+ readonly type: "function";
545
197
  }, {
546
- readonly anonymous: false;
547
198
  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";
199
+ readonly internalType: "address[]";
200
+ readonly name: "payees";
201
+ readonly type: "address[]";
562
202
  }, {
563
- readonly indexed: false;
564
- readonly internalType: "uint64";
565
- readonly name: "claimableAt";
566
- readonly type: "uint64";
203
+ readonly internalType: "uint256[]";
204
+ readonly name: "amounts";
205
+ readonly type: "uint256[]";
567
206
  }];
568
- readonly name: "WithdrawRequested";
569
- readonly type: "event";
207
+ readonly name: "batchTransferEther";
208
+ readonly outputs: readonly [];
209
+ readonly stateMutability: "nonpayable";
210
+ readonly type: "function";
570
211
  }, {
571
- readonly anonymous: false;
572
212
  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";
603
- readonly outputs: readonly [{
604
213
  readonly internalType: "bytes32";
605
- readonly name: "";
214
+ readonly name: "role";
606
215
  readonly type: "bytes32";
607
216
  }];
608
- readonly stateMutability: "view";
609
- readonly type: "function";
610
- }, {
611
- readonly inputs: readonly [];
612
- readonly name: "BPS";
613
- readonly outputs: readonly [{
614
- readonly internalType: "uint256";
615
- readonly name: "";
616
- readonly type: "uint256";
617
- }];
618
- readonly stateMutability: "view";
619
- readonly type: "function";
620
- }, {
621
- readonly inputs: readonly [];
622
- readonly name: "DEFAULT_ADMIN_ROLE";
217
+ readonly name: "getRoleAdmin";
623
218
  readonly outputs: readonly [{
624
219
  readonly internalType: "bytes32";
625
220
  readonly name: "";
@@ -628,38 +223,30 @@ export declare const Vault_jsonAbi: readonly [{
628
223
  readonly stateMutability: "view";
629
224
  readonly type: "function";
630
225
  }, {
631
- readonly inputs: readonly [];
632
- readonly name: "GUARDIAN_ROLE";
633
- readonly outputs: readonly [{
226
+ readonly inputs: readonly [{
634
227
  readonly internalType: "bytes32";
635
- readonly name: "";
228
+ readonly name: "role";
636
229
  readonly type: "bytes32";
230
+ }, {
231
+ readonly internalType: "uint256";
232
+ readonly name: "index";
233
+ readonly type: "uint256";
637
234
  }];
638
- readonly stateMutability: "view";
639
- readonly type: "function";
640
- }, {
641
- readonly inputs: readonly [];
642
- readonly name: "MANAGER_ROLE";
235
+ readonly name: "getRoleMember";
643
236
  readonly outputs: readonly [{
644
- readonly internalType: "bytes32";
237
+ readonly internalType: "address";
645
238
  readonly name: "";
646
- readonly type: "bytes32";
239
+ readonly type: "address";
647
240
  }];
648
241
  readonly stateMutability: "view";
649
242
  readonly type: "function";
650
243
  }, {
651
- readonly inputs: readonly [];
652
- readonly name: "MAX_FEE_BPS";
653
- readonly outputs: readonly [{
654
- readonly internalType: "uint256";
655
- readonly name: "";
656
- readonly type: "uint256";
244
+ readonly inputs: readonly [{
245
+ readonly internalType: "bytes32";
246
+ readonly name: "role";
247
+ readonly type: "bytes32";
657
248
  }];
658
- readonly stateMutability: "view";
659
- readonly type: "function";
660
- }, {
661
- readonly inputs: readonly [];
662
- readonly name: "SHARE_SCALE";
249
+ readonly name: "getRoleMemberCount";
663
250
  readonly outputs: readonly [{
664
251
  readonly internalType: "uint256";
665
252
  readonly name: "";
@@ -669,61 +256,71 @@ export declare const Vault_jsonAbi: readonly [{
669
256
  readonly type: "function";
670
257
  }, {
671
258
  readonly inputs: readonly [{
259
+ readonly internalType: "bytes32";
260
+ readonly name: "role";
261
+ readonly type: "bytes32";
262
+ }, {
672
263
  readonly internalType: "address";
673
- readonly name: "token";
264
+ readonly name: "account";
674
265
  readonly type: "address";
675
266
  }];
676
- readonly name: "addTrackedToken";
267
+ readonly name: "grantRole";
677
268
  readonly outputs: readonly [];
678
269
  readonly stateMutability: "nonpayable";
679
270
  readonly type: "function";
680
271
  }, {
681
272
  readonly inputs: readonly [{
682
- readonly internalType: "contract IERC20";
683
- readonly name: "token";
684
- readonly type: "address";
273
+ readonly internalType: "bytes32";
274
+ readonly name: "role";
275
+ readonly type: "bytes32";
685
276
  }, {
686
277
  readonly internalType: "address";
687
- readonly name: "spender";
278
+ readonly name: "account";
688
279
  readonly type: "address";
689
- }, {
690
- readonly internalType: "uint256";
691
- readonly name: "amount";
692
- readonly type: "uint256";
693
280
  }];
694
- readonly name: "approveERC20";
281
+ readonly name: "hasRole";
282
+ readonly outputs: readonly [{
283
+ readonly internalType: "bool";
284
+ readonly name: "";
285
+ readonly type: "bool";
286
+ }];
287
+ readonly stateMutability: "view";
288
+ readonly type: "function";
289
+ }, {
290
+ readonly inputs: readonly [];
291
+ readonly name: "initialize";
695
292
  readonly outputs: readonly [];
696
293
  readonly stateMutability: "nonpayable";
697
294
  readonly type: "function";
698
295
  }, {
699
296
  readonly inputs: readonly [{
700
297
  readonly internalType: "address";
701
- readonly name: "permit2";
702
- readonly type: "address";
703
- }, {
704
- readonly internalType: "address";
705
- readonly name: "token";
298
+ readonly name: "";
706
299
  readonly type: "address";
707
300
  }, {
708
301
  readonly internalType: "address";
709
- readonly name: "spender";
302
+ readonly name: "";
710
303
  readonly type: "address";
711
304
  }, {
712
- readonly internalType: "uint160";
713
- readonly name: "amount";
714
- readonly type: "uint160";
305
+ readonly internalType: "uint256";
306
+ readonly name: "";
307
+ readonly type: "uint256";
715
308
  }, {
716
- readonly internalType: "uint48";
717
- readonly name: "expiration";
718
- readonly type: "uint48";
309
+ readonly internalType: "bytes";
310
+ readonly name: "";
311
+ readonly type: "bytes";
312
+ }];
313
+ readonly name: "onERC721Received";
314
+ readonly outputs: readonly [{
315
+ readonly internalType: "bytes4";
316
+ readonly name: "";
317
+ readonly type: "bytes4";
719
318
  }];
720
- readonly name: "approvePermit2";
721
- readonly outputs: readonly [];
722
319
  readonly stateMutability: "nonpayable";
723
320
  readonly type: "function";
724
321
  }, {
725
322
  readonly inputs: readonly [];
726
- readonly name: "asset";
323
+ readonly name: "owner";
727
324
  readonly outputs: readonly [{
728
325
  readonly internalType: "address";
729
326
  readonly name: "";
@@ -733,359 +330,55 @@ export declare const Vault_jsonAbi: readonly [{
733
330
  readonly type: "function";
734
331
  }, {
735
332
  readonly inputs: readonly [];
736
- readonly name: "assetDecimals";
333
+ readonly name: "proxiableUUID";
737
334
  readonly outputs: readonly [{
738
- readonly internalType: "uint8";
335
+ readonly internalType: "bytes32";
739
336
  readonly name: "";
740
- readonly type: "uint8";
337
+ readonly type: "bytes32";
741
338
  }];
742
339
  readonly stateMutability: "view";
743
340
  readonly type: "function";
744
341
  }, {
745
342
  readonly inputs: readonly [];
746
- readonly name: "assetToken";
747
- readonly outputs: readonly [{
748
- readonly internalType: "contract IERC20";
749
- readonly name: "";
750
- readonly type: "address";
751
- }];
752
- readonly stateMutability: "view";
753
- readonly type: "function";
754
- }, {
755
- readonly inputs: readonly [{
756
- readonly internalType: "uint256";
757
- readonly name: "depositId";
758
- readonly type: "uint256";
759
- }];
760
- readonly name: "cancelDepositRequest";
343
+ readonly name: "renounceOwnership";
761
344
  readonly outputs: readonly [];
762
345
  readonly stateMutability: "nonpayable";
763
346
  readonly type: "function";
764
347
  }, {
765
348
  readonly inputs: readonly [{
766
- readonly internalType: "uint256";
767
- readonly name: "maxCount";
768
- readonly type: "uint256";
769
- }];
770
- readonly name: "cancelPendingDeposits";
771
- readonly outputs: readonly [{
772
- readonly internalType: "uint256";
773
- readonly name: "cancelled";
774
- readonly type: "uint256";
775
- }];
776
- readonly stateMutability: "nonpayable";
777
- readonly type: "function";
778
- }, {
779
- readonly inputs: readonly [{
780
- readonly internalType: "uint256";
781
- readonly name: "requestId";
782
- readonly type: "uint256";
349
+ readonly internalType: "bytes32";
350
+ readonly name: "role";
351
+ readonly type: "bytes32";
352
+ }, {
353
+ readonly internalType: "address";
354
+ readonly name: "account";
355
+ readonly type: "address";
783
356
  }];
784
- readonly name: "cancelWithdraw";
357
+ readonly name: "renounceRole";
785
358
  readonly outputs: readonly [];
786
359
  readonly stateMutability: "nonpayable";
787
360
  readonly type: "function";
788
361
  }, {
789
362
  readonly inputs: readonly [{
790
- readonly internalType: "uint256";
791
- readonly name: "requestId";
792
- readonly type: "uint256";
363
+ readonly internalType: "bytes32";
364
+ readonly name: "role";
365
+ readonly type: "bytes32";
793
366
  }, {
794
- readonly internalType: "contract IVault";
795
- readonly name: "newVault";
367
+ readonly internalType: "address";
368
+ readonly name: "account";
796
369
  readonly type: "address";
797
370
  }];
798
- readonly name: "claimAndDeposit";
799
- readonly outputs: readonly [{
800
- readonly internalType: "uint256";
801
- readonly name: "depositId";
802
- readonly type: "uint256";
803
- }];
371
+ readonly name: "revokeRole";
372
+ readonly outputs: readonly [];
804
373
  readonly stateMutability: "nonpayable";
805
374
  readonly type: "function";
806
375
  }, {
807
376
  readonly inputs: readonly [{
808
- readonly internalType: "uint256";
809
- readonly name: "requestId";
810
- readonly type: "uint256";
811
- }];
812
- readonly name: "claimWithdraw";
813
- readonly outputs: readonly [];
814
- readonly stateMutability: "nonpayable";
815
- readonly type: "function";
816
- }, {
817
- readonly inputs: readonly [{
818
- readonly internalType: "uint256";
819
- readonly name: "requestId";
820
- readonly type: "uint256";
821
- }, {
822
- readonly internalType: "address";
823
- readonly name: "recipient";
824
- readonly type: "address";
825
- }];
826
- readonly name: "claimWithdrawTo";
827
- readonly outputs: readonly [];
828
- readonly stateMutability: "nonpayable";
829
- readonly type: "function";
830
- }, {
831
- readonly inputs: readonly [{
832
- readonly internalType: "address";
833
- readonly name: "user";
834
- readonly type: "address";
835
- }];
836
- readonly name: "costBasisPerShare";
837
- readonly outputs: readonly [{
838
- readonly internalType: "uint256";
839
- readonly name: "";
840
- readonly type: "uint256";
841
- }];
842
- readonly stateMutability: "view";
843
- readonly type: "function";
844
- }, {
845
- readonly inputs: readonly [{
846
- readonly internalType: "address";
847
- readonly name: "";
848
- readonly type: "address";
849
- }];
850
- readonly name: "costBasisValue";
851
- readonly outputs: readonly [{
852
- readonly internalType: "uint256";
853
- readonly name: "";
854
- readonly type: "uint256";
855
- }];
856
- readonly stateMutability: "view";
857
- readonly type: "function";
858
- }, {
859
- readonly inputs: readonly [];
860
- readonly name: "depositQueueLength";
861
- readonly outputs: readonly [{
862
- readonly internalType: "uint256";
863
- readonly name: "";
864
- readonly type: "uint256";
865
- }];
866
- readonly stateMutability: "view";
867
- readonly type: "function";
868
- }, {
869
- readonly inputs: readonly [];
870
- readonly name: "feeRecipient";
871
- readonly outputs: readonly [{
872
- readonly internalType: "address";
873
- readonly name: "";
874
- readonly type: "address";
875
- }];
876
- readonly stateMutability: "view";
877
- readonly type: "function";
878
- }, {
879
- readonly inputs: readonly [{
880
- readonly internalType: "uint256";
881
- readonly name: "depositId";
882
- readonly type: "uint256";
883
- }];
884
- readonly name: "getDepositRequest";
885
- readonly outputs: readonly [{
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";
900
- readonly name: "";
901
- readonly type: "tuple";
902
- }];
903
- readonly stateMutability: "view";
904
- readonly type: "function";
905
- }, {
906
- readonly inputs: readonly [{
907
- readonly internalType: "uint256";
908
- readonly name: "requestId";
909
- readonly type: "uint256";
910
- }];
911
- readonly name: "getRequest";
912
- readonly outputs: readonly [{
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";
947
- readonly name: "";
948
- readonly type: "tuple";
949
- }];
950
- readonly stateMutability: "view";
951
- readonly type: "function";
952
- }, {
953
- readonly inputs: readonly [{
954
- readonly internalType: "bytes32";
955
- readonly name: "role";
956
- readonly type: "bytes32";
957
- }];
958
- readonly name: "getRoleAdmin";
959
- readonly outputs: readonly [{
960
- readonly internalType: "bytes32";
961
- readonly name: "";
962
- readonly type: "bytes32";
963
- }];
964
- readonly stateMutability: "view";
965
- readonly type: "function";
966
- }, {
967
- readonly inputs: readonly [{
968
- readonly internalType: "bytes32";
969
- readonly name: "role";
970
- readonly type: "bytes32";
971
- }, {
972
- readonly internalType: "address";
973
- readonly name: "account";
974
- readonly type: "address";
975
- }];
976
- readonly name: "grantRole";
977
- readonly outputs: readonly [];
978
- readonly stateMutability: "nonpayable";
979
- readonly type: "function";
980
- }, {
981
- readonly inputs: readonly [{
982
- readonly internalType: "bytes32";
983
- readonly name: "role";
984
- readonly type: "bytes32";
985
- }, {
986
- readonly internalType: "address";
987
- readonly name: "account";
988
- readonly type: "address";
989
- }];
990
- readonly name: "hasRole";
991
- readonly outputs: readonly [{
992
- readonly internalType: "bool";
993
- readonly name: "";
994
- readonly type: "bool";
995
- }];
996
- readonly stateMutability: "view";
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";
1008
- }, {
1009
- readonly inputs: readonly [{
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";
1047
- }, {
1048
- readonly internalType: "address";
1049
- readonly name: "to";
1050
- readonly type: "address";
1051
- }, {
1052
- readonly internalType: "uint256";
1053
- readonly name: "value";
1054
- readonly type: "uint256";
1055
- }];
1056
- readonly name: "onShareTransfer";
1057
- readonly outputs: readonly [];
1058
- readonly stateMutability: "nonpayable";
1059
- readonly type: "function";
1060
- }, {
1061
- readonly inputs: readonly [];
1062
- readonly name: "oracle";
1063
- readonly outputs: readonly [{
1064
- readonly internalType: "address";
1065
- readonly name: "";
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";
377
+ readonly internalType: "bytes4";
378
+ readonly name: "interfaceId";
379
+ readonly type: "bytes4";
1077
380
  }];
1078
- readonly stateMutability: "view";
1079
- readonly type: "function";
1080
- }, {
1081
- readonly inputs: readonly [];
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";
381
+ readonly name: "supportsInterface";
1089
382
  readonly outputs: readonly [{
1090
383
  readonly internalType: "bool";
1091
384
  readonly name: "";
@@ -1093,424 +386,93 @@ export declare const Vault_jsonAbi: readonly [{
1093
386
  }];
1094
387
  readonly stateMutability: "view";
1095
388
  readonly type: "function";
1096
- }, {
1097
- readonly inputs: readonly [];
1098
- readonly name: "pendingDepositTotal";
1099
- readonly outputs: readonly [{
1100
- readonly internalType: "uint256";
1101
- readonly name: "";
1102
- readonly type: "uint256";
1103
- }];
1104
- readonly stateMutability: "view";
1105
- readonly type: "function";
1106
- }, {
1107
- readonly inputs: readonly [];
1108
- readonly name: "pendingSettlementWithdrawShares";
1109
- readonly outputs: readonly [{
1110
- readonly internalType: "uint256";
1111
- readonly name: "";
1112
- readonly type: "uint256";
1113
- }];
1114
- readonly stateMutability: "view";
1115
- readonly type: "function";
1116
- }, {
1117
- readonly inputs: readonly [];
1118
- readonly name: "pendingWithdrawShares";
1119
- readonly outputs: readonly [{
1120
- readonly internalType: "uint256";
1121
- readonly name: "";
1122
- readonly type: "uint256";
1123
- }];
1124
- readonly stateMutability: "view";
1125
- readonly type: "function";
1126
- }, {
1127
- readonly inputs: readonly [];
1128
- readonly name: "performanceFee";
1129
- readonly outputs: readonly [{
1130
- readonly internalType: "uint256";
1131
- readonly name: "";
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";
1147
- }];
1148
- readonly stateMutability: "view";
1149
- readonly type: "function";
1150
- }, {
1151
- readonly inputs: readonly [{
1152
- readonly internalType: "uint256";
1153
- readonly name: "sharesIn";
1154
- readonly type: "uint256";
1155
- }, {
1156
- readonly internalType: "address";
1157
- readonly name: "owner";
1158
- readonly type: "address";
1159
- }];
1160
- readonly name: "previewWithdraw";
1161
- readonly outputs: readonly [{
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";
1189
- }];
1190
- readonly stateMutability: "view";
1191
- readonly type: "function";
1192
389
  }, {
1193
390
  readonly inputs: readonly [{
1194
- readonly internalType: "address[]";
1195
- readonly name: "targets";
1196
- readonly type: "address[]";
1197
- }, {
1198
- readonly internalType: "bytes[]";
1199
- readonly name: "calldatas";
1200
- readonly type: "bytes[]";
1201
- }];
1202
- readonly name: "rebalance";
1203
- readonly outputs: readonly [];
1204
- readonly stateMutability: "nonpayable";
1205
- readonly type: "function";
1206
- }, {
1207
- readonly inputs: readonly [{
1208
- readonly internalType: "address";
391
+ readonly internalType: "contract IERC20Upgradeable";
1209
392
  readonly name: "token";
1210
393
  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";
1225
- }];
1226
- readonly name: "renounceRole";
1227
- readonly outputs: readonly [];
1228
- readonly stateMutability: "nonpayable";
1229
- readonly type: "function";
1230
- }, {
1231
- readonly inputs: readonly [{
1232
- readonly internalType: "uint256";
1233
- readonly name: "assets";
1234
- readonly type: "uint256";
1235
- }];
1236
- readonly name: "requestDeposit";
1237
- readonly outputs: readonly [{
1238
- readonly internalType: "uint256";
1239
- readonly name: "depositId";
1240
- readonly type: "uint256";
1241
- }];
1242
- readonly stateMutability: "nonpayable";
1243
- readonly type: "function";
1244
- }, {
1245
- readonly inputs: readonly [{
1246
- readonly internalType: "uint256";
1247
- readonly name: "assets";
1248
- readonly type: "uint256";
1249
394
  }, {
1250
395
  readonly internalType: "address";
1251
- readonly name: "recipient";
396
+ readonly name: "payee";
1252
397
  readonly type: "address";
1253
- }];
1254
- readonly name: "requestDepositFor";
1255
- readonly outputs: readonly [{
1256
- readonly internalType: "uint256";
1257
- readonly name: "depositId";
1258
- readonly type: "uint256";
1259
- }];
1260
- readonly stateMutability: "nonpayable";
1261
- readonly type: "function";
1262
- }, {
1263
- readonly inputs: readonly [{
1264
- readonly internalType: "uint256";
1265
- readonly name: "sharesIn";
1266
- readonly type: "uint256";
1267
- }];
1268
- readonly name: "requestWithdraw";
1269
- readonly outputs: readonly [{
1270
- readonly internalType: "uint256";
1271
- readonly name: "requestId";
1272
- readonly type: "uint256";
1273
- }];
1274
- readonly stateMutability: "nonpayable";
1275
- readonly type: "function";
1276
- }, {
1277
- readonly inputs: readonly [{
1278
- readonly internalType: "bytes32";
1279
- readonly name: "role";
1280
- readonly type: "bytes32";
1281
398
  }, {
1282
- readonly internalType: "address";
1283
- readonly name: "account";
1284
- readonly type: "address";
1285
- }];
1286
- readonly name: "revokeRole";
1287
- readonly outputs: readonly [];
1288
- readonly stateMutability: "nonpayable";
1289
- readonly type: "function";
1290
- }, {
1291
- readonly inputs: readonly [{
1292
- readonly internalType: "address";
1293
- readonly name: "recipient";
1294
- readonly type: "address";
1295
- }];
1296
- readonly name: "setFeeRecipient";
1297
- readonly outputs: readonly [];
1298
- readonly stateMutability: "nonpayable";
1299
- readonly type: "function";
1300
- }, {
1301
- readonly inputs: readonly [{
1302
- readonly internalType: "uint256";
1303
- readonly name: "size";
1304
- readonly type: "uint256";
1305
- }];
1306
- readonly name: "setMaxSettlementBatchSize";
1307
- readonly outputs: readonly [];
1308
- readonly stateMutability: "nonpayable";
1309
- readonly type: "function";
1310
- }, {
1311
- readonly inputs: readonly [{
1312
399
  readonly internalType: "uint256";
1313
400
  readonly name: "amount";
1314
401
  readonly type: "uint256";
1315
402
  }];
1316
- readonly name: "setMinDepositAssets";
1317
- readonly outputs: readonly [];
1318
- readonly stateMutability: "nonpayable";
1319
- readonly type: "function";
1320
- }, {
1321
- readonly inputs: readonly [{
1322
- readonly internalType: "contract IOracle";
1323
- readonly name: "_oracle";
1324
- readonly type: "address";
1325
- }];
1326
- readonly name: "setOracle";
1327
- readonly outputs: readonly [];
1328
- readonly stateMutability: "nonpayable";
1329
- readonly type: "function";
1330
- }, {
1331
- readonly inputs: readonly [{
1332
- readonly internalType: "uint256";
1333
- readonly name: "feeBps";
1334
- readonly type: "uint256";
1335
- }];
1336
- readonly name: "setPerformanceFee";
403
+ readonly name: "transferErc20";
1337
404
  readonly outputs: readonly [];
1338
405
  readonly stateMutability: "nonpayable";
1339
406
  readonly type: "function";
1340
407
  }, {
1341
408
  readonly inputs: readonly [{
1342
- readonly internalType: "uint256";
1343
- readonly name: "fee";
1344
- readonly type: "uint256";
1345
- }];
1346
- readonly name: "setSettlementFee";
1347
- readonly outputs: readonly [];
1348
- readonly stateMutability: "nonpayable";
1349
- readonly type: "function";
1350
- }, {
1351
- readonly inputs: readonly [{
1352
- readonly internalType: "address";
1353
- readonly name: "target";
409
+ readonly internalType: "contract IERC721Upgradeable";
410
+ readonly name: "token";
1354
411
  readonly type: "address";
1355
412
  }, {
1356
- readonly internalType: "bool";
1357
- readonly name: "allowed";
1358
- readonly type: "bool";
1359
- }];
1360
- readonly name: "setTargetAllowed";
1361
- readonly outputs: readonly [];
1362
- readonly stateMutability: "nonpayable";
1363
- readonly type: "function";
1364
- }, {
1365
- readonly inputs: readonly [{
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";
1385
- }];
1386
- readonly stateMutability: "view";
1387
- readonly type: "function";
1388
- }, {
1389
- readonly inputs: readonly [];
1390
- readonly name: "settlementFeeAssets";
1391
- readonly outputs: readonly [{
1392
- readonly internalType: "uint256";
1393
- readonly name: "";
1394
- readonly type: "uint256";
1395
- }];
1396
- readonly stateMutability: "view";
1397
- readonly type: "function";
1398
- }, {
1399
- readonly inputs: readonly [];
1400
- readonly name: "shareToken";
1401
- readonly outputs: readonly [{
1402
- readonly internalType: "contract HPT";
1403
- readonly name: "";
1404
- readonly type: "address";
1405
- }];
1406
- readonly stateMutability: "view";
1407
- readonly type: "function";
1408
- }, {
1409
- readonly inputs: readonly [];
1410
- readonly name: "shares";
1411
- readonly outputs: readonly [{
1412
- readonly internalType: "address";
1413
- readonly name: "";
1414
- readonly type: "address";
1415
- }];
1416
- readonly stateMutability: "view";
1417
- readonly type: "function";
1418
- }, {
1419
- readonly inputs: readonly [{
1420
- readonly internalType: "bytes4";
1421
- readonly name: "interfaceId";
1422
- readonly type: "bytes4";
1423
- }];
1424
- readonly name: "supportsInterface";
1425
- readonly outputs: readonly [{
1426
- readonly internalType: "bool";
1427
- readonly name: "";
1428
- readonly type: "bool";
1429
- }];
1430
- readonly stateMutability: "view";
1431
- readonly type: "function";
1432
- }, {
1433
- readonly inputs: readonly [{
1434
413
  readonly internalType: "address";
1435
- readonly name: "";
414
+ readonly name: "payee";
1436
415
  readonly type: "address";
416
+ }, {
417
+ readonly internalType: "uint256";
418
+ readonly name: "tokenId";
419
+ readonly type: "uint256";
1437
420
  }];
1438
- readonly name: "targetAllowed";
1439
- readonly outputs: readonly [{
1440
- readonly internalType: "bool";
1441
- readonly name: "";
1442
- readonly type: "bool";
1443
- }];
1444
- readonly stateMutability: "view";
421
+ readonly name: "transferErc721";
422
+ readonly outputs: readonly [];
423
+ readonly stateMutability: "nonpayable";
1445
424
  readonly type: "function";
1446
425
  }, {
1447
426
  readonly inputs: readonly [{
1448
427
  readonly internalType: "address";
1449
- readonly name: "";
428
+ readonly name: "payee";
1450
429
  readonly type: "address";
1451
- }];
1452
- readonly name: "tokenDecimals";
1453
- readonly outputs: readonly [{
1454
- readonly internalType: "uint8";
1455
- readonly name: "";
1456
- readonly type: "uint8";
1457
- }];
1458
- readonly stateMutability: "view";
1459
- readonly type: "function";
1460
- }, {
1461
- readonly inputs: readonly [];
1462
- readonly name: "totalAssets";
1463
- readonly outputs: readonly [{
430
+ }, {
1464
431
  readonly internalType: "uint256";
1465
- readonly name: "";
432
+ readonly name: "amount";
1466
433
  readonly type: "uint256";
1467
434
  }];
1468
- readonly stateMutability: "view";
435
+ readonly name: "transferEther";
436
+ readonly outputs: readonly [];
437
+ readonly stateMutability: "nonpayable";
1469
438
  readonly type: "function";
1470
439
  }, {
1471
- readonly inputs: readonly [];
1472
- readonly name: "trackedTokens";
1473
- readonly outputs: readonly [{
1474
- readonly internalType: "address[]";
1475
- readonly name: "";
1476
- readonly type: "address[]";
440
+ readonly inputs: readonly [{
441
+ readonly internalType: "address";
442
+ readonly name: "newOwner";
443
+ readonly type: "address";
1477
444
  }];
1478
- readonly stateMutability: "view";
1479
- readonly type: "function";
1480
- }, {
1481
- readonly inputs: readonly [];
1482
- readonly name: "unpause";
445
+ readonly name: "transferOwnership";
1483
446
  readonly outputs: readonly [];
1484
447
  readonly stateMutability: "nonpayable";
1485
448
  readonly type: "function";
1486
449
  }, {
1487
450
  readonly inputs: readonly [{
1488
451
  readonly internalType: "address";
1489
- readonly name: "user";
452
+ readonly name: "newImplementation";
1490
453
  readonly type: "address";
1491
454
  }];
1492
- readonly name: "userDepositIds";
1493
- readonly outputs: readonly [{
1494
- readonly internalType: "uint256[]";
1495
- readonly name: "";
1496
- readonly type: "uint256[]";
1497
- }];
1498
- readonly stateMutability: "view";
455
+ readonly name: "upgradeTo";
456
+ readonly outputs: readonly [];
457
+ readonly stateMutability: "nonpayable";
1499
458
  readonly type: "function";
1500
459
  }, {
1501
460
  readonly inputs: readonly [{
1502
461
  readonly internalType: "address";
1503
- readonly name: "user";
462
+ readonly name: "newImplementation";
1504
463
  readonly type: "address";
464
+ }, {
465
+ readonly internalType: "bytes";
466
+ readonly name: "data";
467
+ readonly type: "bytes";
1505
468
  }];
1506
- readonly name: "userRequestIds";
1507
- readonly outputs: readonly [{
1508
- readonly internalType: "uint256[]";
1509
- readonly name: "";
1510
- readonly type: "uint256[]";
1511
- }];
1512
- readonly stateMutability: "view";
469
+ readonly name: "upgradeToAndCall";
470
+ readonly outputs: readonly [];
471
+ readonly stateMutability: "payable";
1513
472
  readonly type: "function";
473
+ }, {
474
+ readonly stateMutability: "payable";
475
+ readonly type: "receive";
1514
476
  }];
1515
477
  /**
1516
478
  * Type-safe ABI for Vault_json
@@ -1565,490 +527,65 @@ export declare class Vault_json {
1565
527
  */
1566
528
  get address(): Address;
1567
529
  /**
1568
- * Get the underlying viem contract instance
1569
- */
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>;
1581
- /**
1582
- * DEFAULT_ADMIN_ROLE
1583
- * view
1584
- */
1585
- DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
1586
- /**
1587
- * GUARDIAN_ROLE
1588
- * view
1589
- */
1590
- GUARDIAN_ROLE(): Promise<`0x${string}`>;
1591
- /**
1592
- * MANAGER_ROLE
1593
- * view
1594
- */
1595
- MANAGER_ROLE(): Promise<`0x${string}`>;
1596
- /**
1597
- * MAX_FEE_BPS
1598
- * view
1599
- */
1600
- MAX_FEE_BPS(): Promise<bigint>;
1601
- /**
1602
- * SHARE_SCALE
1603
- * view
1604
- */
1605
- SHARE_SCALE(): Promise<bigint>;
1606
- /**
1607
- * asset
1608
- * view
1609
- */
1610
- asset(): Promise<`0x${string}`>;
1611
- /**
1612
- * assetDecimals
1613
- * view
1614
- */
1615
- assetDecimals(): Promise<bigint>;
1616
- /**
1617
- * assetToken
1618
- * view
1619
- */
1620
- assetToken(): Promise<`0x${string}`>;
1621
- /**
1622
- * costBasisPerShare
1623
- * view
1624
- */
1625
- costBasisPerShare(user: `0x${string}`): Promise<bigint>;
1626
- /**
1627
- * costBasisValue
1628
- * view
1629
- */
1630
- costBasisValue(arg0: `0x${string}`): Promise<bigint>;
1631
- /**
1632
- * depositQueueLength
1633
- * view
1634
- */
1635
- depositQueueLength(): Promise<bigint>;
1636
- /**
1637
- * feeRecipient
1638
- * view
1639
- */
1640
- feeRecipient(): Promise<`0x${string}`>;
1641
- /**
1642
- * getDepositRequest
1643
- * view
1644
- */
1645
- getDepositRequest(depositId: bigint): Promise<IVault_DepositRequest>;
1646
- /**
1647
- * getRequest
1648
- * view
1649
- */
1650
- getRequest(requestId: bigint): Promise<IVault_WithdrawRequest>;
1651
- /**
1652
- * getRoleAdmin
1653
- * view
1654
- */
1655
- getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
1656
- /**
1657
- * hasRole
1658
- * view
1659
- */
1660
- hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
1661
- /**
1662
- * hasSettleReadyWork
1663
- * view
1664
- */
1665
- hasSettleReadyWork(): Promise<boolean>;
1666
- /**
1667
- * isTracked
1668
- * view
1669
- */
1670
- isTracked(arg0: `0x${string}`): Promise<boolean>;
1671
- /**
1672
- * maxSettlementBatchSize
1673
- * view
1674
- */
1675
- maxSettlementBatchSize(): Promise<bigint>;
1676
- /**
1677
- * minDepositAssets
1678
- * view
1679
- */
1680
- minDepositAssets(): Promise<bigint>;
1681
- /**
1682
- * oracle
1683
- * view
1684
- */
1685
- oracle(): Promise<`0x${string}`>;
1686
- /**
1687
- * oracleContract
1688
- * view
1689
- */
1690
- oracleContract(): Promise<`0x${string}`>;
1691
- /**
1692
- * paused
1693
- * view
1694
- */
1695
- paused(): Promise<boolean>;
1696
- /**
1697
- * pendingDepositTotal
1698
- * view
1699
- */
1700
- pendingDepositTotal(): Promise<bigint>;
1701
- /**
1702
- * pendingSettlementWithdrawShares
1703
- * view
1704
- */
1705
- pendingSettlementWithdrawShares(): Promise<bigint>;
1706
- /**
1707
- * pendingWithdrawShares
1708
- * view
1709
- */
1710
- pendingWithdrawShares(): Promise<bigint>;
1711
- /**
1712
- * performanceFee
1713
- * view
1714
- */
1715
- performanceFee(): Promise<bigint>;
1716
- /**
1717
- * previewDeposit
1718
- * view
1719
- */
1720
- previewDeposit(assets: bigint): Promise<bigint>;
1721
- /**
1722
- * previewWithdraw
1723
- * view
1724
- */
1725
- previewWithdraw(sharesIn: bigint, owner: `0x${string}`): Promise<[bigint, bigint]>;
1726
- /**
1727
- * pricePerShare
1728
- * view
1729
- */
1730
- pricePerShare(): Promise<bigint>;
1731
- /**
1732
- * queueLength
1733
- * view
1734
- */
1735
- queueLength(): Promise<bigint>;
1736
- /**
1737
- * settledWithdrawalLiabilityTotal
1738
- * view
1739
- */
1740
- settledWithdrawalLiabilityTotal(): Promise<bigint>;
1741
- /**
1742
- * settlementFeeAssets
1743
- * view
1744
- */
1745
- settlementFeeAssets(): Promise<bigint>;
1746
- /**
1747
- * shareToken
1748
- * view
1749
- */
1750
- shareToken(): Promise<`0x${string}`>;
1751
- /**
1752
- * shares
1753
- * view
1754
- */
1755
- shares(): Promise<`0x${string}`>;
1756
- /**
1757
- * supportsInterface
1758
- * view
1759
- */
1760
- supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
1761
- /**
1762
- * targetAllowed
1763
- * view
1764
- */
1765
- targetAllowed(arg0: `0x${string}`): Promise<boolean>;
1766
- /**
1767
- * tokenDecimals
1768
- * view
1769
- */
1770
- tokenDecimals(arg0: `0x${string}`): Promise<bigint>;
1771
- /**
1772
- * totalAssets
1773
- * view
1774
- */
1775
- totalAssets(): Promise<bigint>;
1776
- /**
1777
- * trackedTokens
1778
- * view
1779
- */
1780
- trackedTokens(): Promise<`0x${string}`[]>;
1781
- /**
1782
- * userDepositIds
1783
- * view
1784
- */
1785
- userDepositIds(user: `0x${string}`): Promise<bigint[]>;
1786
- /**
1787
- * userRequestIds
1788
- * view
1789
- */
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}`>;
1859
- /**
1860
- * cancelPendingDeposits
1861
- * nonpayable
1862
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
530
+ * Get the underlying viem contract instance
1863
531
  */
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}`>;
532
+ getContract(): Vault_jsonContract;
1876
533
  /**
1877
- * cancelWithdraw
1878
- * nonpayable
1879
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
534
+ * DEFAULT_ADMIN_ROLE
535
+ * view
1880
536
  */
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}`>;
537
+ DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
1893
538
  /**
1894
- * claimAndDeposit
1895
- * nonpayable
1896
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
539
+ * PAYEE_ROLE
540
+ * view
1897
541
  */
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}`>;
542
+ PAYEE_ROLE(): Promise<`0x${string}`>;
1910
543
  /**
1911
- * claimWithdraw
1912
- * nonpayable
1913
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
544
+ * PAYER_ROLE
545
+ * view
1914
546
  */
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}`>;
547
+ PAYER_ROLE(): Promise<`0x${string}`>;
1927
548
  /**
1928
- * claimWithdrawTo
1929
- * nonpayable
1930
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
549
+ * getRoleAdmin
550
+ * view
1931
551
  */
1932
- claimWithdrawTo(requestId: bigint, recipient: `0x${string}`, options?: {
1933
- accessList?: import('viem').AccessList;
1934
- authorizationList?: import('viem').AuthorizationList;
1935
- chain?: import('viem').Chain | null;
1936
- dataSuffix?: `0x${string}`;
1937
- gas?: bigint;
1938
- gasPrice?: bigint;
1939
- maxFeePerGas?: bigint;
1940
- maxPriorityFeePerGas?: bigint;
1941
- nonce?: number;
1942
- value?: bigint;
1943
- }): Promise<`0x${string}`>;
552
+ getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
1944
553
  /**
1945
- * grantRole
1946
- * nonpayable
1947
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
554
+ * getRoleMember
555
+ * view
1948
556
  */
1949
- grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1950
- accessList?: import('viem').AccessList;
1951
- authorizationList?: import('viem').AuthorizationList;
1952
- chain?: import('viem').Chain | null;
1953
- dataSuffix?: `0x${string}`;
1954
- gas?: bigint;
1955
- gasPrice?: bigint;
1956
- maxFeePerGas?: bigint;
1957
- maxPriorityFeePerGas?: bigint;
1958
- nonce?: number;
1959
- value?: bigint;
1960
- }): Promise<`0x${string}`>;
557
+ getRoleMember(role: `0x${string}`, index: bigint): Promise<`0x${string}`>;
1961
558
  /**
1962
- * onShareTransfer
1963
- * nonpayable
1964
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
559
+ * getRoleMemberCount
560
+ * view
1965
561
  */
1966
- onShareTransfer(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1967
- accessList?: import('viem').AccessList;
1968
- authorizationList?: import('viem').AuthorizationList;
1969
- chain?: import('viem').Chain | null;
1970
- dataSuffix?: `0x${string}`;
1971
- gas?: bigint;
1972
- gasPrice?: bigint;
1973
- maxFeePerGas?: bigint;
1974
- maxPriorityFeePerGas?: bigint;
1975
- nonce?: number;
1976
- value?: bigint;
1977
- }): Promise<`0x${string}`>;
562
+ getRoleMemberCount(role: `0x${string}`): Promise<bigint>;
1978
563
  /**
1979
- * pause
1980
- * nonpayable
1981
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
564
+ * hasRole
565
+ * view
1982
566
  */
1983
- pause(options?: {
1984
- accessList?: import('viem').AccessList;
1985
- authorizationList?: import('viem').AuthorizationList;
1986
- chain?: import('viem').Chain | null;
1987
- dataSuffix?: `0x${string}`;
1988
- gas?: bigint;
1989
- gasPrice?: bigint;
1990
- maxFeePerGas?: bigint;
1991
- maxPriorityFeePerGas?: bigint;
1992
- nonce?: number;
1993
- value?: bigint;
1994
- }): Promise<`0x${string}`>;
567
+ hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
1995
568
  /**
1996
- * rebalance
1997
- * nonpayable
1998
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
569
+ * owner
570
+ * view
1999
571
  */
2000
- rebalance(targets: `0x${string}`[], calldatas: `0x${string}`[], options?: {
2001
- accessList?: import('viem').AccessList;
2002
- authorizationList?: import('viem').AuthorizationList;
2003
- chain?: import('viem').Chain | null;
2004
- dataSuffix?: `0x${string}`;
2005
- gas?: bigint;
2006
- gasPrice?: bigint;
2007
- maxFeePerGas?: bigint;
2008
- maxPriorityFeePerGas?: bigint;
2009
- nonce?: number;
2010
- value?: bigint;
2011
- }): Promise<`0x${string}`>;
572
+ owner(): Promise<`0x${string}`>;
2012
573
  /**
2013
- * removeTrackedToken
2014
- * nonpayable
2015
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
574
+ * proxiableUUID
575
+ * view
2016
576
  */
2017
- removeTrackedToken(token: `0x${string}`, options?: {
2018
- accessList?: import('viem').AccessList;
2019
- authorizationList?: import('viem').AuthorizationList;
2020
- chain?: import('viem').Chain | null;
2021
- dataSuffix?: `0x${string}`;
2022
- gas?: bigint;
2023
- gasPrice?: bigint;
2024
- maxFeePerGas?: bigint;
2025
- maxPriorityFeePerGas?: bigint;
2026
- nonce?: number;
2027
- value?: bigint;
2028
- }): Promise<`0x${string}`>;
577
+ proxiableUUID(): Promise<`0x${string}`>;
2029
578
  /**
2030
- * renounceRole
2031
- * nonpayable
2032
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
579
+ * supportsInterface
580
+ * view
2033
581
  */
2034
- renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
2035
- accessList?: import('viem').AccessList;
2036
- authorizationList?: import('viem').AuthorizationList;
2037
- chain?: import('viem').Chain | null;
2038
- dataSuffix?: `0x${string}`;
2039
- gas?: bigint;
2040
- gasPrice?: bigint;
2041
- maxFeePerGas?: bigint;
2042
- maxPriorityFeePerGas?: bigint;
2043
- nonce?: number;
2044
- value?: bigint;
2045
- }): Promise<`0x${string}`>;
582
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
2046
583
  /**
2047
- * requestDeposit
584
+ * batchTransferErc20
2048
585
  * nonpayable
2049
586
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2050
587
  */
2051
- requestDeposit(assets: bigint, options?: {
588
+ batchTransferErc20(tokens: `0x${string}`[], payees: `0x${string}`[], amounts: bigint[], options?: {
2052
589
  accessList?: import('viem').AccessList;
2053
590
  authorizationList?: import('viem').AuthorizationList;
2054
591
  chain?: import('viem').Chain | null;
@@ -2061,11 +598,11 @@ export declare class Vault_json {
2061
598
  value?: bigint;
2062
599
  }): Promise<`0x${string}`>;
2063
600
  /**
2064
- * requestDepositFor
601
+ * batchTransferErc721
2065
602
  * nonpayable
2066
603
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2067
604
  */
2068
- requestDepositFor(assets: bigint, recipient: `0x${string}`, options?: {
605
+ batchTransferErc721(tokens: `0x${string}`[], payees: `0x${string}`[], tokenIds: bigint[], options?: {
2069
606
  accessList?: import('viem').AccessList;
2070
607
  authorizationList?: import('viem').AuthorizationList;
2071
608
  chain?: import('viem').Chain | null;
@@ -2078,11 +615,11 @@ export declare class Vault_json {
2078
615
  value?: bigint;
2079
616
  }): Promise<`0x${string}`>;
2080
617
  /**
2081
- * requestWithdraw
618
+ * batchTransferEther
2082
619
  * nonpayable
2083
620
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2084
621
  */
2085
- requestWithdraw(sharesIn: bigint, options?: {
622
+ batchTransferEther(payees: `0x${string}`[], amounts: bigint[], options?: {
2086
623
  accessList?: import('viem').AccessList;
2087
624
  authorizationList?: import('viem').AuthorizationList;
2088
625
  chain?: import('viem').Chain | null;
@@ -2095,11 +632,11 @@ export declare class Vault_json {
2095
632
  value?: bigint;
2096
633
  }): Promise<`0x${string}`>;
2097
634
  /**
2098
- * revokeRole
635
+ * grantRole
2099
636
  * nonpayable
2100
637
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2101
638
  */
2102
- revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
639
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
2103
640
  accessList?: import('viem').AccessList;
2104
641
  authorizationList?: import('viem').AuthorizationList;
2105
642
  chain?: import('viem').Chain | null;
@@ -2112,11 +649,11 @@ export declare class Vault_json {
2112
649
  value?: bigint;
2113
650
  }): Promise<`0x${string}`>;
2114
651
  /**
2115
- * setFeeRecipient
652
+ * initialize
2116
653
  * nonpayable
2117
654
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2118
655
  */
2119
- setFeeRecipient(recipient: `0x${string}`, options?: {
656
+ initialize(options?: {
2120
657
  accessList?: import('viem').AccessList;
2121
658
  authorizationList?: import('viem').AuthorizationList;
2122
659
  chain?: import('viem').Chain | null;
@@ -2129,11 +666,11 @@ export declare class Vault_json {
2129
666
  value?: bigint;
2130
667
  }): Promise<`0x${string}`>;
2131
668
  /**
2132
- * setMaxSettlementBatchSize
669
+ * onERC721Received
2133
670
  * nonpayable
2134
671
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2135
672
  */
2136
- setMaxSettlementBatchSize(size: bigint, options?: {
673
+ onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`, options?: {
2137
674
  accessList?: import('viem').AccessList;
2138
675
  authorizationList?: import('viem').AuthorizationList;
2139
676
  chain?: import('viem').Chain | null;
@@ -2146,11 +683,11 @@ export declare class Vault_json {
2146
683
  value?: bigint;
2147
684
  }): Promise<`0x${string}`>;
2148
685
  /**
2149
- * setMinDepositAssets
686
+ * renounceOwnership
2150
687
  * nonpayable
2151
688
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2152
689
  */
2153
- setMinDepositAssets(amount: bigint, options?: {
690
+ renounceOwnership(options?: {
2154
691
  accessList?: import('viem').AccessList;
2155
692
  authorizationList?: import('viem').AuthorizationList;
2156
693
  chain?: import('viem').Chain | null;
@@ -2163,11 +700,11 @@ export declare class Vault_json {
2163
700
  value?: bigint;
2164
701
  }): Promise<`0x${string}`>;
2165
702
  /**
2166
- * setOracle
703
+ * renounceRole
2167
704
  * nonpayable
2168
705
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2169
706
  */
2170
- setOracle(_oracle: `0x${string}`, options?: {
707
+ renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
2171
708
  accessList?: import('viem').AccessList;
2172
709
  authorizationList?: import('viem').AuthorizationList;
2173
710
  chain?: import('viem').Chain | null;
@@ -2180,11 +717,11 @@ export declare class Vault_json {
2180
717
  value?: bigint;
2181
718
  }): Promise<`0x${string}`>;
2182
719
  /**
2183
- * setPerformanceFee
720
+ * revokeRole
2184
721
  * nonpayable
2185
722
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2186
723
  */
2187
- setPerformanceFee(feeBps: bigint, options?: {
724
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
2188
725
  accessList?: import('viem').AccessList;
2189
726
  authorizationList?: import('viem').AuthorizationList;
2190
727
  chain?: import('viem').Chain | null;
@@ -2197,11 +734,11 @@ export declare class Vault_json {
2197
734
  value?: bigint;
2198
735
  }): Promise<`0x${string}`>;
2199
736
  /**
2200
- * setSettlementFee
737
+ * transferErc20
2201
738
  * nonpayable
2202
739
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2203
740
  */
2204
- setSettlementFee(fee: bigint, options?: {
741
+ transferErc20(token: `0x${string}`, payee: `0x${string}`, amount: bigint, options?: {
2205
742
  accessList?: import('viem').AccessList;
2206
743
  authorizationList?: import('viem').AuthorizationList;
2207
744
  chain?: import('viem').Chain | null;
@@ -2214,11 +751,11 @@ export declare class Vault_json {
2214
751
  value?: bigint;
2215
752
  }): Promise<`0x${string}`>;
2216
753
  /**
2217
- * setTargetAllowed
754
+ * transferErc721
2218
755
  * nonpayable
2219
756
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2220
757
  */
2221
- setTargetAllowed(target: `0x${string}`, allowed: boolean, options?: {
758
+ transferErc721(token: `0x${string}`, payee: `0x${string}`, tokenId: bigint, options?: {
2222
759
  accessList?: import('viem').AccessList;
2223
760
  authorizationList?: import('viem').AuthorizationList;
2224
761
  chain?: import('viem').Chain | null;
@@ -2231,11 +768,11 @@ export declare class Vault_json {
2231
768
  value?: bigint;
2232
769
  }): Promise<`0x${string}`>;
2233
770
  /**
2234
- * settle
771
+ * transferEther
2235
772
  * nonpayable
2236
773
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2237
774
  */
2238
- settle(tokens: `0x${string}`[], prices: bigint[], options?: {
775
+ transferEther(payee: `0x${string}`, amount: bigint, options?: {
2239
776
  accessList?: import('viem').AccessList;
2240
777
  authorizationList?: import('viem').AuthorizationList;
2241
778
  chain?: import('viem').Chain | null;
@@ -2248,11 +785,11 @@ export declare class Vault_json {
2248
785
  value?: bigint;
2249
786
  }): Promise<`0x${string}`>;
2250
787
  /**
2251
- * unpause
788
+ * transferOwnership
2252
789
  * nonpayable
2253
790
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2254
791
  */
2255
- unpause(options?: {
792
+ transferOwnership(newOwner: `0x${string}`, options?: {
2256
793
  accessList?: import('viem').AccessList;
2257
794
  authorizationList?: import('viem').AuthorizationList;
2258
795
  chain?: import('viem').Chain | null;
@@ -2265,105 +802,54 @@ export declare class Vault_json {
2265
802
  value?: bigint;
2266
803
  }): Promise<`0x${string}`>;
2267
804
  /**
2268
- * Simulate contract write operations (dry-run without sending transaction)
2269
- *
2270
- * @example
2271
- * const result = await contract.simulate.transfer('0x...', 1000n);
2272
- * console.log('Gas estimate:', result.request.gas);
2273
- * console.log('Would succeed:', result.result);
2274
- */
2275
- get simulate(): {
2276
- /**
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
2346
- * Returns gas estimate and result without sending transaction
2347
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2348
- */
2349
- cancelPendingDeposits(maxCount: bigint, options?: {
2350
- accessList?: import("viem").AccessList;
2351
- authorizationList?: import("viem").AuthorizationList;
2352
- chain?: import("viem").Chain | null;
2353
- dataSuffix?: `0x${string}`;
2354
- gas?: bigint;
2355
- gasPrice?: bigint;
2356
- maxFeePerGas?: bigint;
2357
- maxPriorityFeePerGas?: bigint;
2358
- nonce?: number;
2359
- value?: bigint;
2360
- }): Promise<bigint>;
805
+ * upgradeTo
806
+ * nonpayable
807
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
808
+ */
809
+ upgradeTo(newImplementation: `0x${string}`, options?: {
810
+ accessList?: import('viem').AccessList;
811
+ authorizationList?: import('viem').AuthorizationList;
812
+ chain?: import('viem').Chain | null;
813
+ dataSuffix?: `0x${string}`;
814
+ gas?: bigint;
815
+ gasPrice?: bigint;
816
+ maxFeePerGas?: bigint;
817
+ maxPriorityFeePerGas?: bigint;
818
+ nonce?: number;
819
+ value?: bigint;
820
+ }): Promise<`0x${string}`>;
821
+ /**
822
+ * upgradeToAndCall
823
+ * payable
824
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
825
+ */
826
+ upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
827
+ accessList?: import('viem').AccessList;
828
+ authorizationList?: import('viem').AuthorizationList;
829
+ chain?: import('viem').Chain | null;
830
+ dataSuffix?: `0x${string}`;
831
+ gas?: bigint;
832
+ gasPrice?: bigint;
833
+ maxFeePerGas?: bigint;
834
+ maxPriorityFeePerGas?: bigint;
835
+ nonce?: number;
836
+ value?: bigint;
837
+ }): Promise<`0x${string}`>;
838
+ /**
839
+ * Simulate contract write operations (dry-run without sending transaction)
840
+ *
841
+ * @example
842
+ * const result = await contract.simulate.transfer('0x...', 1000n);
843
+ * console.log('Gas estimate:', result.request.gas);
844
+ * console.log('Would succeed:', result.result);
845
+ */
846
+ get simulate(): {
2361
847
  /**
2362
- * Simulate cancelWithdraw
848
+ * Simulate batchTransferErc20
2363
849
  * Returns gas estimate and result without sending transaction
2364
850
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2365
851
  */
2366
- cancelWithdraw(requestId: bigint, options?: {
852
+ batchTransferErc20(tokens: `0x${string}`[], payees: `0x${string}`[], amounts: bigint[], options?: {
2367
853
  accessList?: import("viem").AccessList;
2368
854
  authorizationList?: import("viem").AuthorizationList;
2369
855
  chain?: import("viem").Chain | null;
@@ -2376,28 +862,11 @@ export declare class Vault_json {
2376
862
  value?: bigint;
2377
863
  }): Promise<void>;
2378
864
  /**
2379
- * Simulate claimAndDeposit
2380
- * Returns gas estimate and result without sending transaction
2381
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2382
- */
2383
- claimAndDeposit(requestId: bigint, newVault: `0x${string}`, options?: {
2384
- accessList?: import("viem").AccessList;
2385
- authorizationList?: import("viem").AuthorizationList;
2386
- chain?: import("viem").Chain | null;
2387
- dataSuffix?: `0x${string}`;
2388
- gas?: bigint;
2389
- gasPrice?: bigint;
2390
- maxFeePerGas?: bigint;
2391
- maxPriorityFeePerGas?: bigint;
2392
- nonce?: number;
2393
- value?: bigint;
2394
- }): Promise<bigint>;
2395
- /**
2396
- * Simulate claimWithdraw
865
+ * Simulate batchTransferErc721
2397
866
  * Returns gas estimate and result without sending transaction
2398
867
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2399
868
  */
2400
- claimWithdraw(requestId: bigint, options?: {
869
+ batchTransferErc721(tokens: `0x${string}`[], payees: `0x${string}`[], tokenIds: bigint[], options?: {
2401
870
  accessList?: import("viem").AccessList;
2402
871
  authorizationList?: import("viem").AuthorizationList;
2403
872
  chain?: import("viem").Chain | null;
@@ -2410,11 +879,11 @@ export declare class Vault_json {
2410
879
  value?: bigint;
2411
880
  }): Promise<void>;
2412
881
  /**
2413
- * Simulate claimWithdrawTo
882
+ * Simulate batchTransferEther
2414
883
  * Returns gas estimate and result without sending transaction
2415
884
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2416
885
  */
2417
- claimWithdrawTo(requestId: bigint, recipient: `0x${string}`, options?: {
886
+ batchTransferEther(payees: `0x${string}`[], amounts: bigint[], options?: {
2418
887
  accessList?: import("viem").AccessList;
2419
888
  authorizationList?: import("viem").AuthorizationList;
2420
889
  chain?: import("viem").Chain | null;
@@ -2444,28 +913,11 @@ export declare class Vault_json {
2444
913
  value?: bigint;
2445
914
  }): Promise<void>;
2446
915
  /**
2447
- * Simulate onShareTransfer
2448
- * Returns gas estimate and result without sending transaction
2449
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2450
- */
2451
- onShareTransfer(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
2452
- accessList?: import("viem").AccessList;
2453
- authorizationList?: import("viem").AuthorizationList;
2454
- chain?: import("viem").Chain | null;
2455
- dataSuffix?: `0x${string}`;
2456
- gas?: bigint;
2457
- gasPrice?: bigint;
2458
- maxFeePerGas?: bigint;
2459
- maxPriorityFeePerGas?: bigint;
2460
- nonce?: number;
2461
- value?: bigint;
2462
- }): Promise<void>;
2463
- /**
2464
- * Simulate pause
916
+ * Simulate initialize
2465
917
  * Returns gas estimate and result without sending transaction
2466
918
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2467
919
  */
2468
- pause(options?: {
920
+ initialize(options?: {
2469
921
  accessList?: import("viem").AccessList;
2470
922
  authorizationList?: import("viem").AuthorizationList;
2471
923
  chain?: import("viem").Chain | null;
@@ -2478,11 +930,11 @@ export declare class Vault_json {
2478
930
  value?: bigint;
2479
931
  }): Promise<void>;
2480
932
  /**
2481
- * Simulate rebalance
933
+ * Simulate onERC721Received
2482
934
  * Returns gas estimate and result without sending transaction
2483
935
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2484
936
  */
2485
- rebalance(targets: `0x${string}`[], calldatas: `0x${string}`[], options?: {
937
+ onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`, options?: {
2486
938
  accessList?: import("viem").AccessList;
2487
939
  authorizationList?: import("viem").AuthorizationList;
2488
940
  chain?: import("viem").Chain | null;
@@ -2493,13 +945,13 @@ export declare class Vault_json {
2493
945
  maxPriorityFeePerGas?: bigint;
2494
946
  nonce?: number;
2495
947
  value?: bigint;
2496
- }): Promise<void>;
948
+ }): Promise<`0x${string}`>;
2497
949
  /**
2498
- * Simulate removeTrackedToken
950
+ * Simulate renounceOwnership
2499
951
  * Returns gas estimate and result without sending transaction
2500
952
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2501
953
  */
2502
- removeTrackedToken(token: `0x${string}`, options?: {
954
+ renounceOwnership(options?: {
2503
955
  accessList?: import("viem").AccessList;
2504
956
  authorizationList?: import("viem").AuthorizationList;
2505
957
  chain?: import("viem").Chain | null;
@@ -2516,7 +968,7 @@ export declare class Vault_json {
2516
968
  * Returns gas estimate and result without sending transaction
2517
969
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2518
970
  */
2519
- renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
971
+ renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
2520
972
  accessList?: import("viem").AccessList;
2521
973
  authorizationList?: import("viem").AuthorizationList;
2522
974
  chain?: import("viem").Chain | null;
@@ -2528,57 +980,6 @@ export declare class Vault_json {
2528
980
  nonce?: number;
2529
981
  value?: bigint;
2530
982
  }): 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>;
2582
983
  /**
2583
984
  * Simulate revokeRole
2584
985
  * Returns gas estimate and result without sending transaction
@@ -2597,62 +998,11 @@ export declare class Vault_json {
2597
998
  value?: bigint;
2598
999
  }): Promise<void>;
2599
1000
  /**
2600
- * Simulate setFeeRecipient
2601
- * Returns gas estimate and result without sending transaction
2602
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2603
- */
2604
- setFeeRecipient(recipient: `0x${string}`, options?: {
2605
- accessList?: import("viem").AccessList;
2606
- authorizationList?: import("viem").AuthorizationList;
2607
- chain?: import("viem").Chain | null;
2608
- dataSuffix?: `0x${string}`;
2609
- gas?: bigint;
2610
- gasPrice?: bigint;
2611
- maxFeePerGas?: bigint;
2612
- maxPriorityFeePerGas?: bigint;
2613
- nonce?: number;
2614
- value?: bigint;
2615
- }): Promise<void>;
2616
- /**
2617
- * Simulate setMaxSettlementBatchSize
2618
- * Returns gas estimate and result without sending transaction
2619
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2620
- */
2621
- setMaxSettlementBatchSize(size: bigint, options?: {
2622
- accessList?: import("viem").AccessList;
2623
- authorizationList?: import("viem").AuthorizationList;
2624
- chain?: import("viem").Chain | null;
2625
- dataSuffix?: `0x${string}`;
2626
- gas?: bigint;
2627
- gasPrice?: bigint;
2628
- maxFeePerGas?: bigint;
2629
- maxPriorityFeePerGas?: bigint;
2630
- nonce?: number;
2631
- value?: bigint;
2632
- }): Promise<void>;
2633
- /**
2634
- * Simulate setMinDepositAssets
2635
- * Returns gas estimate and result without sending transaction
2636
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
2637
- */
2638
- setMinDepositAssets(amount: bigint, options?: {
2639
- accessList?: import("viem").AccessList;
2640
- authorizationList?: import("viem").AuthorizationList;
2641
- chain?: import("viem").Chain | null;
2642
- dataSuffix?: `0x${string}`;
2643
- gas?: bigint;
2644
- gasPrice?: bigint;
2645
- maxFeePerGas?: bigint;
2646
- maxPriorityFeePerGas?: bigint;
2647
- nonce?: number;
2648
- value?: bigint;
2649
- }): Promise<void>;
2650
- /**
2651
- * Simulate setOracle
1001
+ * Simulate transferErc20
2652
1002
  * Returns gas estimate and result without sending transaction
2653
1003
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2654
1004
  */
2655
- setOracle(_oracle: `0x${string}`, options?: {
1005
+ transferErc20(token: `0x${string}`, payee: `0x${string}`, amount: bigint, options?: {
2656
1006
  accessList?: import("viem").AccessList;
2657
1007
  authorizationList?: import("viem").AuthorizationList;
2658
1008
  chain?: import("viem").Chain | null;
@@ -2665,11 +1015,11 @@ export declare class Vault_json {
2665
1015
  value?: bigint;
2666
1016
  }): Promise<void>;
2667
1017
  /**
2668
- * Simulate setPerformanceFee
1018
+ * Simulate transferErc721
2669
1019
  * Returns gas estimate and result without sending transaction
2670
1020
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2671
1021
  */
2672
- setPerformanceFee(feeBps: bigint, options?: {
1022
+ transferErc721(token: `0x${string}`, payee: `0x${string}`, tokenId: bigint, options?: {
2673
1023
  accessList?: import("viem").AccessList;
2674
1024
  authorizationList?: import("viem").AuthorizationList;
2675
1025
  chain?: import("viem").Chain | null;
@@ -2682,11 +1032,11 @@ export declare class Vault_json {
2682
1032
  value?: bigint;
2683
1033
  }): Promise<void>;
2684
1034
  /**
2685
- * Simulate setSettlementFee
1035
+ * Simulate transferEther
2686
1036
  * Returns gas estimate and result without sending transaction
2687
1037
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2688
1038
  */
2689
- setSettlementFee(fee: bigint, options?: {
1039
+ transferEther(payee: `0x${string}`, amount: bigint, options?: {
2690
1040
  accessList?: import("viem").AccessList;
2691
1041
  authorizationList?: import("viem").AuthorizationList;
2692
1042
  chain?: import("viem").Chain | null;
@@ -2699,11 +1049,11 @@ export declare class Vault_json {
2699
1049
  value?: bigint;
2700
1050
  }): Promise<void>;
2701
1051
  /**
2702
- * Simulate setTargetAllowed
1052
+ * Simulate transferOwnership
2703
1053
  * Returns gas estimate and result without sending transaction
2704
1054
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2705
1055
  */
2706
- setTargetAllowed(target: `0x${string}`, allowed: boolean, options?: {
1056
+ transferOwnership(newOwner: `0x${string}`, options?: {
2707
1057
  accessList?: import("viem").AccessList;
2708
1058
  authorizationList?: import("viem").AuthorizationList;
2709
1059
  chain?: import("viem").Chain | null;
@@ -2716,11 +1066,11 @@ export declare class Vault_json {
2716
1066
  value?: bigint;
2717
1067
  }): Promise<void>;
2718
1068
  /**
2719
- * Simulate settle
1069
+ * Simulate upgradeTo
2720
1070
  * Returns gas estimate and result without sending transaction
2721
1071
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2722
1072
  */
2723
- settle(tokens: `0x${string}`[], prices: bigint[], options?: {
1073
+ upgradeTo(newImplementation: `0x${string}`, options?: {
2724
1074
  accessList?: import("viem").AccessList;
2725
1075
  authorizationList?: import("viem").AuthorizationList;
2726
1076
  chain?: import("viem").Chain | null;
@@ -2733,11 +1083,11 @@ export declare class Vault_json {
2733
1083
  value?: bigint;
2734
1084
  }): Promise<void>;
2735
1085
  /**
2736
- * Simulate unpause
1086
+ * Simulate upgradeToAndCall
2737
1087
  * Returns gas estimate and result without sending transaction
2738
1088
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2739
1089
  */
2740
- unpause(options?: {
1090
+ upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
2741
1091
  accessList?: import("viem").AccessList;
2742
1092
  authorizationList?: import("viem").AuthorizationList;
2743
1093
  chain?: import("viem").Chain | null;
@@ -2764,120 +1114,48 @@ export declare class Vault_json {
2764
1114
  */
2765
1115
  get watch(): {
2766
1116
  /**
2767
- * Watch DepositAutoRefunded events
2768
- * @param callback Function to call when event is emitted
2769
- * @param filter Optional filter for indexed parameters
2770
- * @returns Unwatch function to stop listening
2771
- */
2772
- DepositAutoRefunded: (callback: (event: {
2773
- depositId: bigint;
2774
- owner: `0x${string}`;
2775
- assets: bigint;
2776
- }) => void, filter?: {
2777
- depositId: bigint;
2778
- owner: `0x${string}`;
2779
- }) => () => void;
2780
- /**
2781
- * Watch DepositCancelled events
1117
+ * Watch AdminChanged events
2782
1118
  * @param callback Function to call when event is emitted
2783
1119
  * @param filter Optional filter for indexed parameters
2784
1120
  * @returns Unwatch function to stop listening
2785
1121
  */
2786
- DepositCancelled: (callback: (event: {
2787
- depositId: bigint;
2788
- owner: `0x${string}`;
2789
- assets: bigint;
2790
- }) => void, filter?: {
2791
- depositId: bigint;
2792
- owner: `0x${string}`;
2793
- }) => () => void;
2794
- /**
2795
- * Watch DepositRequested events
2796
- * @param callback Function to call when event is emitted
2797
- * @param filter Optional filter for indexed parameters
2798
- * @returns Unwatch function to stop listening
2799
- */
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;
1122
+ AdminChanged: (callback: (event: {
1123
+ previousAdmin: `0x${string}`;
1124
+ newAdmin: `0x${string}`;
1125
+ }) => void) => () => void;
2808
1126
  /**
2809
- * Watch DepositSettled events
1127
+ * Watch BeaconUpgraded events
2810
1128
  * @param callback Function to call when event is emitted
2811
1129
  * @param filter Optional filter for indexed parameters
2812
1130
  * @returns Unwatch function to stop listening
2813
1131
  */
2814
- DepositSettled: (callback: (event: {
2815
- depositId: bigint;
2816
- owner: `0x${string}`;
2817
- netAssets: bigint;
2818
- shares: bigint;
1132
+ BeaconUpgraded: (callback: (event: {
1133
+ beacon: `0x${string}`;
2819
1134
  }) => void, filter?: {
2820
- depositId: bigint;
2821
- owner: `0x${string}`;
1135
+ beacon: `0x${string}`;
2822
1136
  }) => () => void;
2823
1137
  /**
2824
- * Watch MaxSettlementBatchSizeSet events
2825
- * @param callback Function to call when event is emitted
2826
- * @param filter Optional filter for indexed parameters
2827
- * @returns Unwatch function to stop listening
2828
- */
2829
- MaxSettlementBatchSizeSet: (callback: (event: {
2830
- size: bigint;
2831
- }) => void) => () => void;
2832
- /**
2833
- * Watch MinDepositAssetsSet events
1138
+ * Watch Initialized events
2834
1139
  * @param callback Function to call when event is emitted
2835
1140
  * @param filter Optional filter for indexed parameters
2836
1141
  * @returns Unwatch function to stop listening
2837
1142
  */
2838
- MinDepositAssetsSet: (callback: (event: {
2839
- amount: bigint;
1143
+ Initialized: (callback: (event: {
1144
+ version: bigint;
2840
1145
  }) => void) => () => void;
2841
1146
  /**
2842
- * Watch OracleSet events
1147
+ * Watch OwnershipTransferred events
2843
1148
  * @param callback Function to call when event is emitted
2844
1149
  * @param filter Optional filter for indexed parameters
2845
1150
  * @returns Unwatch function to stop listening
2846
1151
  */
2847
- OracleSet: (callback: (event: {
2848
- oracle: `0x${string}`;
1152
+ OwnershipTransferred: (callback: (event: {
1153
+ previousOwner: `0x${string}`;
1154
+ newOwner: `0x${string}`;
2849
1155
  }) => void, filter?: {
2850
- oracle: `0x${string}`;
1156
+ previousOwner: `0x${string}`;
1157
+ newOwner: `0x${string}`;
2851
1158
  }) => () => 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;
2881
1159
  /**
2882
1160
  * Watch RoleAdminChanged events
2883
1161
  * @param callback Function to call when event is emitted
@@ -2924,129 +1202,15 @@ export declare class Vault_json {
2924
1202
  sender: `0x${string}`;
2925
1203
  }) => () => void;
2926
1204
  /**
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
2961
- * @param callback Function to call when event is emitted
2962
- * @param filter Optional filter for indexed parameters
2963
- * @returns Unwatch function to stop listening
2964
- */
2965
- TrackedTokenAdded: (callback: (event: {
2966
- token: `0x${string}`;
2967
- }) => void, filter?: {
2968
- token: `0x${string}`;
2969
- }) => () => void;
2970
- /**
2971
- * Watch TrackedTokenRemoved events
2972
- * @param callback Function to call when event is emitted
2973
- * @param filter Optional filter for indexed parameters
2974
- * @returns Unwatch function to stop listening
2975
- */
2976
- TrackedTokenRemoved: (callback: (event: {
2977
- token: `0x${string}`;
2978
- }) => void, filter?: {
2979
- token: `0x${string}`;
2980
- }) => () => void;
2981
- /**
2982
- * Watch Unpaused events
2983
- * @param callback Function to call when event is emitted
2984
- * @param filter Optional filter for indexed parameters
2985
- * @returns Unwatch function to stop listening
2986
- */
2987
- Unpaused: (callback: (event: {
2988
- account: `0x${string}`;
2989
- }) => void) => () => void;
2990
- /**
2991
- * Watch WithdrawCancelled events
2992
- * @param callback Function to call when event is emitted
2993
- * @param filter Optional filter for indexed parameters
2994
- * @returns Unwatch function to stop listening
2995
- */
2996
- WithdrawCancelled: (callback: (event: {
2997
- requestId: bigint;
2998
- owner: `0x${string}`;
2999
- shares: bigint;
3000
- }) => void, filter?: {
3001
- requestId: bigint;
3002
- owner: `0x${string}`;
3003
- }) => () => void;
3004
- /**
3005
- * Watch WithdrawClaimed events
3006
- * @param callback Function to call when event is emitted
3007
- * @param filter Optional filter for indexed parameters
3008
- * @returns Unwatch function to stop listening
3009
- */
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;
3020
- /**
3021
- * Watch WithdrawRequested events
3022
- * @param callback Function to call when event is emitted
3023
- * @param filter Optional filter for indexed parameters
3024
- * @returns Unwatch function to stop listening
3025
- */
3026
- WithdrawRequested: (callback: (event: {
3027
- requestId: bigint;
3028
- owner: `0x${string}`;
3029
- shares: bigint;
3030
- claimableAt: bigint;
3031
- }) => void, filter?: {
3032
- requestId: bigint;
3033
- owner: `0x${string}`;
3034
- }) => () => void;
3035
- /**
3036
- * Watch WithdrawalSettled events
1205
+ * Watch Upgraded events
3037
1206
  * @param callback Function to call when event is emitted
3038
1207
  * @param filter Optional filter for indexed parameters
3039
1208
  * @returns Unwatch function to stop listening
3040
1209
  */
3041
- WithdrawalSettled: (callback: (event: {
3042
- requestId: bigint;
3043
- owner: `0x${string}`;
3044
- shares: bigint;
3045
- assetsOut: bigint;
3046
- fee: bigint;
1210
+ Upgraded: (callback: (event: {
1211
+ implementation: `0x${string}`;
3047
1212
  }) => void, filter?: {
3048
- requestId: bigint;
3049
- owner: `0x${string}`;
1213
+ implementation: `0x${string}`;
3050
1214
  }) => () => void;
3051
1215
  };
3052
1216
  }