@gitmyabi/twt-spl-usdt 0.0.0-stage → 1.0.0

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.
@@ -0,0 +1,2196 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * AllocatorVaultV3.3.AllocatorVaultConfig struct type
4
+ */
5
+ export type AllocatorVaultV3_3_AllocatorVaultConfig = {
6
+ depositFee: bigint;
7
+ performanceFee: bigint;
8
+ managementFee: bigint;
9
+ feeRecipient: `0x${string}`;
10
+ hasCooldown: boolean;
11
+ };
12
+ /**
13
+ * AllocatorVaultV3_3_json ABI
14
+ *
15
+ * This ABI is typed using viem's type system for full type safety.
16
+ */
17
+ export declare const AllocatorVaultV3_3_jsonAbi: readonly [{
18
+ readonly inputs: readonly [];
19
+ readonly name: "AccessControlBadConfirmation";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [{
23
+ readonly internalType: "address";
24
+ readonly name: "account";
25
+ readonly type: "address";
26
+ }, {
27
+ readonly internalType: "bytes32";
28
+ readonly name: "neededRole";
29
+ readonly type: "bytes32";
30
+ }];
31
+ readonly name: "AccessControlUnauthorizedAccount";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [{
35
+ readonly internalType: "address";
36
+ readonly name: "spender";
37
+ readonly type: "address";
38
+ }, {
39
+ readonly internalType: "uint256";
40
+ readonly name: "allowance";
41
+ readonly type: "uint256";
42
+ }, {
43
+ readonly internalType: "uint256";
44
+ readonly name: "needed";
45
+ readonly type: "uint256";
46
+ }];
47
+ readonly name: "ERC20InsufficientAllowance";
48
+ readonly type: "error";
49
+ }, {
50
+ readonly inputs: readonly [{
51
+ readonly internalType: "address";
52
+ readonly name: "sender";
53
+ readonly type: "address";
54
+ }, {
55
+ readonly internalType: "uint256";
56
+ readonly name: "balance";
57
+ readonly type: "uint256";
58
+ }, {
59
+ readonly internalType: "uint256";
60
+ readonly name: "needed";
61
+ readonly type: "uint256";
62
+ }];
63
+ readonly name: "ERC20InsufficientBalance";
64
+ readonly type: "error";
65
+ }, {
66
+ readonly inputs: readonly [{
67
+ readonly internalType: "address";
68
+ readonly name: "approver";
69
+ readonly type: "address";
70
+ }];
71
+ readonly name: "ERC20InvalidApprover";
72
+ readonly type: "error";
73
+ }, {
74
+ readonly inputs: readonly [{
75
+ readonly internalType: "address";
76
+ readonly name: "receiver";
77
+ readonly type: "address";
78
+ }];
79
+ readonly name: "ERC20InvalidReceiver";
80
+ readonly type: "error";
81
+ }, {
82
+ readonly inputs: readonly [{
83
+ readonly internalType: "address";
84
+ readonly name: "sender";
85
+ readonly type: "address";
86
+ }];
87
+ readonly name: "ERC20InvalidSender";
88
+ readonly type: "error";
89
+ }, {
90
+ readonly inputs: readonly [{
91
+ readonly internalType: "address";
92
+ readonly name: "spender";
93
+ readonly type: "address";
94
+ }];
95
+ readonly name: "ERC20InvalidSpender";
96
+ readonly type: "error";
97
+ }, {
98
+ readonly inputs: readonly [{
99
+ readonly internalType: "address";
100
+ readonly name: "receiver";
101
+ readonly type: "address";
102
+ }, {
103
+ readonly internalType: "uint256";
104
+ readonly name: "assets";
105
+ readonly type: "uint256";
106
+ }, {
107
+ readonly internalType: "uint256";
108
+ readonly name: "max";
109
+ readonly type: "uint256";
110
+ }];
111
+ readonly name: "ERC4626ExceededMaxDeposit";
112
+ readonly type: "error";
113
+ }, {
114
+ readonly inputs: readonly [{
115
+ readonly internalType: "address";
116
+ readonly name: "receiver";
117
+ readonly type: "address";
118
+ }, {
119
+ readonly internalType: "uint256";
120
+ readonly name: "shares";
121
+ readonly type: "uint256";
122
+ }, {
123
+ readonly internalType: "uint256";
124
+ readonly name: "max";
125
+ readonly type: "uint256";
126
+ }];
127
+ readonly name: "ERC4626ExceededMaxMint";
128
+ readonly type: "error";
129
+ }, {
130
+ readonly inputs: readonly [{
131
+ readonly internalType: "address";
132
+ readonly name: "owner";
133
+ readonly type: "address";
134
+ }, {
135
+ readonly internalType: "uint256";
136
+ readonly name: "shares";
137
+ readonly type: "uint256";
138
+ }, {
139
+ readonly internalType: "uint256";
140
+ readonly name: "max";
141
+ readonly type: "uint256";
142
+ }];
143
+ readonly name: "ERC4626ExceededMaxRedeem";
144
+ readonly type: "error";
145
+ }, {
146
+ readonly inputs: readonly [{
147
+ readonly internalType: "address";
148
+ readonly name: "owner";
149
+ readonly type: "address";
150
+ }, {
151
+ readonly internalType: "uint256";
152
+ readonly name: "assets";
153
+ readonly type: "uint256";
154
+ }, {
155
+ readonly internalType: "uint256";
156
+ readonly name: "max";
157
+ readonly type: "uint256";
158
+ }];
159
+ readonly name: "ERC4626ExceededMaxWithdraw";
160
+ readonly type: "error";
161
+ }, {
162
+ readonly inputs: readonly [];
163
+ readonly name: "InvalidInitialization";
164
+ readonly type: "error";
165
+ }, {
166
+ readonly inputs: readonly [];
167
+ readonly name: "NotInitializing";
168
+ readonly type: "error";
169
+ }, {
170
+ readonly inputs: readonly [];
171
+ readonly name: "ReentrancyGuardReentrantCall";
172
+ readonly type: "error";
173
+ }, {
174
+ readonly inputs: readonly [{
175
+ readonly internalType: "address";
176
+ readonly name: "token";
177
+ readonly type: "address";
178
+ }];
179
+ readonly name: "SafeERC20FailedOperation";
180
+ readonly type: "error";
181
+ }, {
182
+ readonly anonymous: false;
183
+ readonly inputs: readonly [{
184
+ readonly indexed: true;
185
+ readonly internalType: "address";
186
+ readonly name: "owner";
187
+ readonly type: "address";
188
+ }, {
189
+ readonly indexed: true;
190
+ readonly internalType: "address";
191
+ readonly name: "spender";
192
+ readonly type: "address";
193
+ }, {
194
+ readonly indexed: false;
195
+ readonly internalType: "uint256";
196
+ readonly name: "value";
197
+ readonly type: "uint256";
198
+ }];
199
+ readonly name: "Approval";
200
+ readonly type: "event";
201
+ }, {
202
+ readonly anonymous: false;
203
+ readonly inputs: readonly [{
204
+ readonly indexed: true;
205
+ readonly internalType: "address";
206
+ readonly name: "sender";
207
+ readonly type: "address";
208
+ }, {
209
+ readonly indexed: true;
210
+ readonly internalType: "address";
211
+ readonly name: "owner";
212
+ readonly type: "address";
213
+ }, {
214
+ readonly indexed: false;
215
+ readonly internalType: "uint256";
216
+ readonly name: "assets";
217
+ readonly type: "uint256";
218
+ }, {
219
+ readonly indexed: false;
220
+ readonly internalType: "uint256";
221
+ readonly name: "shares";
222
+ readonly type: "uint256";
223
+ }];
224
+ readonly name: "Deposit";
225
+ readonly type: "event";
226
+ }, {
227
+ readonly anonymous: false;
228
+ readonly inputs: readonly [{
229
+ readonly indexed: true;
230
+ readonly internalType: "address";
231
+ readonly name: "caller";
232
+ readonly type: "address";
233
+ }, {
234
+ readonly indexed: false;
235
+ readonly internalType: "uint256";
236
+ readonly name: "sharesMinted";
237
+ readonly type: "uint256";
238
+ }, {
239
+ readonly indexed: false;
240
+ readonly internalType: "uint256";
241
+ readonly name: "previousTotalUnderlying";
242
+ readonly type: "uint256";
243
+ }, {
244
+ readonly indexed: false;
245
+ readonly internalType: "uint256";
246
+ readonly name: "currentTotalUnderlying";
247
+ readonly type: "uint256";
248
+ }];
249
+ readonly name: "Harvested";
250
+ readonly type: "event";
251
+ }, {
252
+ readonly anonymous: false;
253
+ readonly inputs: readonly [{
254
+ readonly indexed: false;
255
+ readonly internalType: "uint64";
256
+ readonly name: "version";
257
+ readonly type: "uint64";
258
+ }];
259
+ readonly name: "Initialized";
260
+ readonly type: "event";
261
+ }, {
262
+ readonly anonymous: false;
263
+ readonly inputs: readonly [{
264
+ readonly indexed: true;
265
+ readonly internalType: "address";
266
+ readonly name: "asset";
267
+ readonly type: "address";
268
+ }, {
269
+ readonly indexed: false;
270
+ readonly internalType: "uint256";
271
+ readonly name: "amount";
272
+ readonly type: "uint256";
273
+ }];
274
+ readonly name: "MiscellaneousRewardClaimed";
275
+ readonly type: "event";
276
+ }, {
277
+ readonly anonymous: false;
278
+ readonly inputs: readonly [{
279
+ readonly indexed: false;
280
+ readonly internalType: "bool";
281
+ readonly name: "paused";
282
+ readonly type: "bool";
283
+ }];
284
+ readonly name: "PausedSet";
285
+ readonly type: "event";
286
+ }, {
287
+ readonly anonymous: false;
288
+ readonly inputs: readonly [{
289
+ readonly indexed: true;
290
+ readonly internalType: "address";
291
+ readonly name: "target";
292
+ readonly type: "address";
293
+ }, {
294
+ readonly indexed: true;
295
+ readonly internalType: "address";
296
+ readonly name: "asset";
297
+ readonly type: "address";
298
+ }, {
299
+ readonly indexed: false;
300
+ readonly internalType: "uint256";
301
+ readonly name: "amount";
302
+ readonly type: "uint256";
303
+ }];
304
+ readonly name: "RewardsClaimed";
305
+ readonly type: "event";
306
+ }, {
307
+ readonly anonymous: false;
308
+ readonly inputs: readonly [{
309
+ readonly indexed: true;
310
+ readonly internalType: "bytes32";
311
+ readonly name: "role";
312
+ readonly type: "bytes32";
313
+ }, {
314
+ readonly indexed: true;
315
+ readonly internalType: "bytes32";
316
+ readonly name: "previousAdminRole";
317
+ readonly type: "bytes32";
318
+ }, {
319
+ readonly indexed: true;
320
+ readonly internalType: "bytes32";
321
+ readonly name: "newAdminRole";
322
+ readonly type: "bytes32";
323
+ }];
324
+ readonly name: "RoleAdminChanged";
325
+ readonly type: "event";
326
+ }, {
327
+ readonly anonymous: false;
328
+ readonly inputs: readonly [{
329
+ readonly indexed: true;
330
+ readonly internalType: "bytes32";
331
+ readonly name: "role";
332
+ readonly type: "bytes32";
333
+ }, {
334
+ readonly indexed: true;
335
+ readonly internalType: "address";
336
+ readonly name: "account";
337
+ readonly type: "address";
338
+ }, {
339
+ readonly indexed: true;
340
+ readonly internalType: "address";
341
+ readonly name: "sender";
342
+ readonly type: "address";
343
+ }];
344
+ readonly name: "RoleGranted";
345
+ readonly type: "event";
346
+ }, {
347
+ readonly anonymous: false;
348
+ readonly inputs: readonly [{
349
+ readonly indexed: true;
350
+ readonly internalType: "bytes32";
351
+ readonly name: "role";
352
+ readonly type: "bytes32";
353
+ }, {
354
+ readonly indexed: true;
355
+ readonly internalType: "address";
356
+ readonly name: "account";
357
+ readonly type: "address";
358
+ }, {
359
+ readonly indexed: true;
360
+ readonly internalType: "address";
361
+ readonly name: "sender";
362
+ readonly type: "address";
363
+ }];
364
+ readonly name: "RoleRevoked";
365
+ readonly type: "event";
366
+ }, {
367
+ readonly anonymous: false;
368
+ readonly inputs: readonly [{
369
+ readonly indexed: true;
370
+ readonly internalType: "address";
371
+ readonly name: "from";
372
+ readonly type: "address";
373
+ }, {
374
+ readonly indexed: true;
375
+ readonly internalType: "address";
376
+ readonly name: "to";
377
+ readonly type: "address";
378
+ }, {
379
+ readonly indexed: false;
380
+ readonly internalType: "uint256";
381
+ readonly name: "value";
382
+ readonly type: "uint256";
383
+ }];
384
+ readonly name: "Transfer";
385
+ readonly type: "event";
386
+ }, {
387
+ readonly anonymous: false;
388
+ readonly inputs: readonly [{
389
+ readonly components: readonly [{
390
+ readonly internalType: "uint256";
391
+ readonly name: "depositFee";
392
+ readonly type: "uint256";
393
+ }, {
394
+ readonly internalType: "uint256";
395
+ readonly name: "performanceFee";
396
+ readonly type: "uint256";
397
+ }, {
398
+ readonly internalType: "uint256";
399
+ readonly name: "managementFee";
400
+ readonly type: "uint256";
401
+ }, {
402
+ readonly internalType: "address";
403
+ readonly name: "feeRecipient";
404
+ readonly type: "address";
405
+ }, {
406
+ readonly internalType: "bool";
407
+ readonly name: "hasCooldown";
408
+ readonly type: "bool";
409
+ }];
410
+ readonly indexed: false;
411
+ readonly internalType: "struct AllocatorVaultV3_3.AllocatorVaultConfig";
412
+ readonly name: "config";
413
+ readonly type: "tuple";
414
+ }];
415
+ readonly name: "VaultConfigured";
416
+ readonly type: "event";
417
+ }, {
418
+ readonly anonymous: false;
419
+ readonly inputs: readonly [{
420
+ readonly indexed: true;
421
+ readonly internalType: "address";
422
+ readonly name: "target";
423
+ readonly type: "address";
424
+ }, {
425
+ readonly indexed: false;
426
+ readonly internalType: "bytes4";
427
+ readonly name: "selector";
428
+ readonly type: "bytes4";
429
+ }, {
430
+ readonly indexed: false;
431
+ readonly internalType: "bool";
432
+ readonly name: "added";
433
+ readonly type: "bool";
434
+ }];
435
+ readonly name: "Whitelisted";
436
+ readonly type: "event";
437
+ }, {
438
+ readonly anonymous: false;
439
+ readonly inputs: readonly [{
440
+ readonly indexed: true;
441
+ readonly internalType: "address";
442
+ readonly name: "sender";
443
+ readonly type: "address";
444
+ }, {
445
+ readonly indexed: true;
446
+ readonly internalType: "address";
447
+ readonly name: "receiver";
448
+ readonly type: "address";
449
+ }, {
450
+ readonly indexed: true;
451
+ readonly internalType: "address";
452
+ readonly name: "owner";
453
+ readonly type: "address";
454
+ }, {
455
+ readonly indexed: false;
456
+ readonly internalType: "uint256";
457
+ readonly name: "assets";
458
+ readonly type: "uint256";
459
+ }, {
460
+ readonly indexed: false;
461
+ readonly internalType: "uint256";
462
+ readonly name: "shares";
463
+ readonly type: "uint256";
464
+ }];
465
+ readonly name: "Withdraw";
466
+ readonly type: "event";
467
+ }, {
468
+ readonly inputs: readonly [];
469
+ readonly name: "DEFAULT_ADMIN_ROLE";
470
+ readonly outputs: readonly [{
471
+ readonly internalType: "bytes32";
472
+ readonly name: "";
473
+ readonly type: "bytes32";
474
+ }];
475
+ readonly stateMutability: "view";
476
+ readonly type: "function";
477
+ }, {
478
+ readonly inputs: readonly [];
479
+ readonly name: "HARVESTER_ROLE";
480
+ readonly outputs: readonly [{
481
+ readonly internalType: "bytes32";
482
+ readonly name: "";
483
+ readonly type: "bytes32";
484
+ }];
485
+ readonly stateMutability: "view";
486
+ readonly type: "function";
487
+ }, {
488
+ readonly inputs: readonly [{
489
+ readonly internalType: "address";
490
+ readonly name: "target";
491
+ readonly type: "address";
492
+ }, {
493
+ readonly internalType: "bytes4";
494
+ readonly name: "functionSelector";
495
+ readonly type: "bytes4";
496
+ }];
497
+ readonly name: "addToWhitelist";
498
+ readonly outputs: readonly [];
499
+ readonly stateMutability: "nonpayable";
500
+ readonly type: "function";
501
+ }, {
502
+ readonly inputs: readonly [{
503
+ readonly internalType: "address";
504
+ readonly name: "owner";
505
+ readonly type: "address";
506
+ }, {
507
+ readonly internalType: "address";
508
+ readonly name: "spender";
509
+ readonly type: "address";
510
+ }];
511
+ readonly name: "allowance";
512
+ readonly outputs: readonly [{
513
+ readonly internalType: "uint256";
514
+ readonly name: "";
515
+ readonly type: "uint256";
516
+ }];
517
+ readonly stateMutability: "view";
518
+ readonly type: "function";
519
+ }, {
520
+ readonly inputs: readonly [{
521
+ readonly internalType: "address";
522
+ readonly name: "spender";
523
+ readonly type: "address";
524
+ }, {
525
+ readonly internalType: "uint256";
526
+ readonly name: "value";
527
+ readonly type: "uint256";
528
+ }];
529
+ readonly name: "approve";
530
+ readonly outputs: readonly [{
531
+ readonly internalType: "bool";
532
+ readonly name: "";
533
+ readonly type: "bool";
534
+ }];
535
+ readonly stateMutability: "nonpayable";
536
+ readonly type: "function";
537
+ }, {
538
+ readonly inputs: readonly [];
539
+ readonly name: "asset";
540
+ readonly outputs: readonly [{
541
+ readonly internalType: "address";
542
+ readonly name: "";
543
+ readonly type: "address";
544
+ }];
545
+ readonly stateMutability: "view";
546
+ readonly type: "function";
547
+ }, {
548
+ readonly inputs: readonly [{
549
+ readonly internalType: "address";
550
+ readonly name: "account";
551
+ readonly type: "address";
552
+ }];
553
+ readonly name: "balanceOf";
554
+ readonly outputs: readonly [{
555
+ readonly internalType: "uint256";
556
+ readonly name: "";
557
+ readonly type: "uint256";
558
+ }];
559
+ readonly stateMutability: "view";
560
+ readonly type: "function";
561
+ }, {
562
+ readonly inputs: readonly [{
563
+ readonly internalType: "address";
564
+ readonly name: "target";
565
+ readonly type: "address";
566
+ }, {
567
+ readonly internalType: "address";
568
+ readonly name: "rewardsAsset";
569
+ readonly type: "address";
570
+ }, {
571
+ readonly internalType: "bytes";
572
+ readonly name: "payload";
573
+ readonly type: "bytes";
574
+ }];
575
+ readonly name: "claimAdditionalRewards";
576
+ readonly outputs: readonly [];
577
+ readonly stateMutability: "nonpayable";
578
+ readonly type: "function";
579
+ }, {
580
+ readonly inputs: readonly [{
581
+ readonly internalType: "address";
582
+ readonly name: "tokenAddress";
583
+ readonly type: "address";
584
+ }];
585
+ readonly name: "claimMiscellaneousRewards";
586
+ readonly outputs: readonly [];
587
+ readonly stateMutability: "nonpayable";
588
+ readonly type: "function";
589
+ }, {
590
+ readonly inputs: readonly [];
591
+ readonly name: "config";
592
+ readonly outputs: readonly [{
593
+ readonly internalType: "uint256";
594
+ readonly name: "depositFee";
595
+ readonly type: "uint256";
596
+ }, {
597
+ readonly internalType: "uint256";
598
+ readonly name: "performanceFee";
599
+ readonly type: "uint256";
600
+ }, {
601
+ readonly internalType: "uint256";
602
+ readonly name: "managementFee";
603
+ readonly type: "uint256";
604
+ }, {
605
+ readonly internalType: "address";
606
+ readonly name: "feeRecipient";
607
+ readonly type: "address";
608
+ }, {
609
+ readonly internalType: "bool";
610
+ readonly name: "hasCooldown";
611
+ readonly type: "bool";
612
+ }];
613
+ readonly stateMutability: "view";
614
+ readonly type: "function";
615
+ }, {
616
+ readonly inputs: readonly [{
617
+ readonly components: readonly [{
618
+ readonly internalType: "uint256";
619
+ readonly name: "depositFee";
620
+ readonly type: "uint256";
621
+ }, {
622
+ readonly internalType: "uint256";
623
+ readonly name: "performanceFee";
624
+ readonly type: "uint256";
625
+ }, {
626
+ readonly internalType: "uint256";
627
+ readonly name: "managementFee";
628
+ readonly type: "uint256";
629
+ }, {
630
+ readonly internalType: "address";
631
+ readonly name: "feeRecipient";
632
+ readonly type: "address";
633
+ }, {
634
+ readonly internalType: "bool";
635
+ readonly name: "hasCooldown";
636
+ readonly type: "bool";
637
+ }];
638
+ readonly internalType: "struct AllocatorVaultV3_3.AllocatorVaultConfig";
639
+ readonly name: "_config";
640
+ readonly type: "tuple";
641
+ }];
642
+ readonly name: "configureVault";
643
+ readonly outputs: readonly [];
644
+ readonly stateMutability: "nonpayable";
645
+ readonly type: "function";
646
+ }, {
647
+ readonly inputs: readonly [{
648
+ readonly internalType: "uint256";
649
+ readonly name: "shares";
650
+ readonly type: "uint256";
651
+ }];
652
+ readonly name: "convertToAssets";
653
+ readonly outputs: readonly [{
654
+ readonly internalType: "uint256";
655
+ readonly name: "";
656
+ readonly type: "uint256";
657
+ }];
658
+ readonly stateMutability: "view";
659
+ readonly type: "function";
660
+ }, {
661
+ readonly inputs: readonly [{
662
+ readonly internalType: "uint256";
663
+ readonly name: "assets";
664
+ readonly type: "uint256";
665
+ }];
666
+ readonly name: "convertToShares";
667
+ readonly outputs: readonly [{
668
+ readonly internalType: "uint256";
669
+ readonly name: "";
670
+ readonly type: "uint256";
671
+ }];
672
+ readonly stateMutability: "view";
673
+ readonly type: "function";
674
+ }, {
675
+ readonly inputs: readonly [];
676
+ readonly name: "decimals";
677
+ readonly outputs: readonly [{
678
+ readonly internalType: "uint8";
679
+ readonly name: "";
680
+ readonly type: "uint8";
681
+ }];
682
+ readonly stateMutability: "view";
683
+ readonly type: "function";
684
+ }, {
685
+ readonly inputs: readonly [{
686
+ readonly internalType: "uint256";
687
+ readonly name: "_underlying";
688
+ readonly type: "uint256";
689
+ }, {
690
+ readonly internalType: "address";
691
+ readonly name: "receiver";
692
+ readonly type: "address";
693
+ }];
694
+ readonly name: "deposit";
695
+ readonly outputs: readonly [{
696
+ readonly internalType: "uint256";
697
+ readonly name: "";
698
+ readonly type: "uint256";
699
+ }];
700
+ readonly stateMutability: "nonpayable";
701
+ readonly type: "function";
702
+ }, {
703
+ readonly inputs: readonly [{
704
+ readonly internalType: "bytes32";
705
+ readonly name: "role";
706
+ readonly type: "bytes32";
707
+ }];
708
+ readonly name: "getRoleAdmin";
709
+ readonly outputs: readonly [{
710
+ readonly internalType: "bytes32";
711
+ readonly name: "";
712
+ readonly type: "bytes32";
713
+ }];
714
+ readonly stateMutability: "view";
715
+ readonly type: "function";
716
+ }, {
717
+ readonly inputs: readonly [{
718
+ readonly internalType: "bytes32";
719
+ readonly name: "role";
720
+ readonly type: "bytes32";
721
+ }, {
722
+ readonly internalType: "address";
723
+ readonly name: "account";
724
+ readonly type: "address";
725
+ }];
726
+ readonly name: "grantRole";
727
+ readonly outputs: readonly [];
728
+ readonly stateMutability: "nonpayable";
729
+ readonly type: "function";
730
+ }, {
731
+ readonly inputs: readonly [];
732
+ readonly name: "harvest";
733
+ readonly outputs: readonly [{
734
+ readonly internalType: "uint256";
735
+ readonly name: "";
736
+ readonly type: "uint256";
737
+ }];
738
+ readonly stateMutability: "nonpayable";
739
+ readonly type: "function";
740
+ }, {
741
+ readonly inputs: readonly [{
742
+ readonly internalType: "bytes32";
743
+ readonly name: "role";
744
+ readonly type: "bytes32";
745
+ }, {
746
+ readonly internalType: "address";
747
+ readonly name: "account";
748
+ readonly type: "address";
749
+ }];
750
+ readonly name: "hasRole";
751
+ readonly outputs: readonly [{
752
+ readonly internalType: "bool";
753
+ readonly name: "";
754
+ readonly type: "bool";
755
+ }];
756
+ readonly stateMutability: "view";
757
+ readonly type: "function";
758
+ }, {
759
+ readonly inputs: readonly [{
760
+ readonly internalType: "address";
761
+ readonly name: "_underlying";
762
+ readonly type: "address";
763
+ }, {
764
+ readonly internalType: "contract IERC4626";
765
+ readonly name: "_strategy";
766
+ readonly type: "address";
767
+ }, {
768
+ readonly internalType: "string";
769
+ readonly name: "vaultTokenName";
770
+ readonly type: "string";
771
+ }, {
772
+ readonly internalType: "string";
773
+ readonly name: "vaultTokenSymbol";
774
+ readonly type: "string";
775
+ }];
776
+ readonly name: "initialize";
777
+ readonly outputs: readonly [];
778
+ readonly stateMutability: "nonpayable";
779
+ readonly type: "function";
780
+ }, {
781
+ readonly inputs: readonly [];
782
+ readonly name: "lastStamp";
783
+ readonly outputs: readonly [{
784
+ readonly internalType: "uint256";
785
+ readonly name: "";
786
+ readonly type: "uint256";
787
+ }];
788
+ readonly stateMutability: "view";
789
+ readonly type: "function";
790
+ }, {
791
+ readonly inputs: readonly [{
792
+ readonly internalType: "address";
793
+ readonly name: "receiver";
794
+ readonly type: "address";
795
+ }];
796
+ readonly name: "maxDeposit";
797
+ readonly outputs: readonly [{
798
+ readonly internalType: "uint256";
799
+ readonly name: "";
800
+ readonly type: "uint256";
801
+ }];
802
+ readonly stateMutability: "view";
803
+ readonly type: "function";
804
+ }, {
805
+ readonly inputs: readonly [{
806
+ readonly internalType: "address";
807
+ readonly name: "receiver";
808
+ readonly type: "address";
809
+ }];
810
+ readonly name: "maxMint";
811
+ readonly outputs: readonly [{
812
+ readonly internalType: "uint256";
813
+ readonly name: "";
814
+ readonly type: "uint256";
815
+ }];
816
+ readonly stateMutability: "view";
817
+ readonly type: "function";
818
+ }, {
819
+ readonly inputs: readonly [{
820
+ readonly internalType: "address";
821
+ readonly name: "owner";
822
+ readonly type: "address";
823
+ }];
824
+ readonly name: "maxRedeem";
825
+ readonly outputs: readonly [{
826
+ readonly internalType: "uint256";
827
+ readonly name: "";
828
+ readonly type: "uint256";
829
+ }];
830
+ readonly stateMutability: "view";
831
+ readonly type: "function";
832
+ }, {
833
+ readonly inputs: readonly [{
834
+ readonly internalType: "address";
835
+ readonly name: "receiver";
836
+ readonly type: "address";
837
+ }];
838
+ readonly name: "maxWithdraw";
839
+ readonly outputs: readonly [{
840
+ readonly internalType: "uint256";
841
+ readonly name: "";
842
+ readonly type: "uint256";
843
+ }];
844
+ readonly stateMutability: "view";
845
+ readonly type: "function";
846
+ }, {
847
+ readonly inputs: readonly [{
848
+ readonly internalType: "uint256";
849
+ readonly name: "shares";
850
+ readonly type: "uint256";
851
+ }, {
852
+ readonly internalType: "address";
853
+ readonly name: "receiver";
854
+ readonly type: "address";
855
+ }];
856
+ readonly name: "mint";
857
+ readonly outputs: readonly [{
858
+ readonly internalType: "uint256";
859
+ readonly name: "";
860
+ readonly type: "uint256";
861
+ }];
862
+ readonly stateMutability: "nonpayable";
863
+ readonly type: "function";
864
+ }, {
865
+ readonly inputs: readonly [];
866
+ readonly name: "name";
867
+ readonly outputs: readonly [{
868
+ readonly internalType: "string";
869
+ readonly name: "";
870
+ readonly type: "string";
871
+ }];
872
+ readonly stateMutability: "view";
873
+ readonly type: "function";
874
+ }, {
875
+ readonly inputs: readonly [];
876
+ readonly name: "paused";
877
+ readonly outputs: readonly [{
878
+ readonly internalType: "bool";
879
+ readonly name: "";
880
+ readonly type: "bool";
881
+ }];
882
+ readonly stateMutability: "view";
883
+ readonly type: "function";
884
+ }, {
885
+ readonly inputs: readonly [{
886
+ readonly internalType: "uint256";
887
+ readonly name: "_underlying";
888
+ readonly type: "uint256";
889
+ }];
890
+ readonly name: "previewDeposit";
891
+ readonly outputs: readonly [{
892
+ readonly internalType: "uint256";
893
+ readonly name: "";
894
+ readonly type: "uint256";
895
+ }];
896
+ readonly stateMutability: "view";
897
+ readonly type: "function";
898
+ }, {
899
+ readonly inputs: readonly [{
900
+ readonly internalType: "uint256";
901
+ readonly name: "shares";
902
+ readonly type: "uint256";
903
+ }];
904
+ readonly name: "previewMint";
905
+ readonly outputs: readonly [{
906
+ readonly internalType: "uint256";
907
+ readonly name: "";
908
+ readonly type: "uint256";
909
+ }];
910
+ readonly stateMutability: "view";
911
+ readonly type: "function";
912
+ }, {
913
+ readonly inputs: readonly [{
914
+ readonly internalType: "uint256";
915
+ readonly name: "shares";
916
+ readonly type: "uint256";
917
+ }];
918
+ readonly name: "previewRedeem";
919
+ readonly outputs: readonly [{
920
+ readonly internalType: "uint256";
921
+ readonly name: "";
922
+ readonly type: "uint256";
923
+ }];
924
+ readonly stateMutability: "view";
925
+ readonly type: "function";
926
+ }, {
927
+ readonly inputs: readonly [{
928
+ readonly internalType: "uint256";
929
+ readonly name: "_underlying";
930
+ readonly type: "uint256";
931
+ }];
932
+ readonly name: "previewWithdraw";
933
+ readonly outputs: readonly [{
934
+ readonly internalType: "uint256";
935
+ readonly name: "";
936
+ readonly type: "uint256";
937
+ }];
938
+ readonly stateMutability: "view";
939
+ readonly type: "function";
940
+ }, {
941
+ readonly inputs: readonly [{
942
+ readonly internalType: "uint256";
943
+ readonly name: "shares";
944
+ readonly type: "uint256";
945
+ }, {
946
+ readonly internalType: "address";
947
+ readonly name: "receiver";
948
+ readonly type: "address";
949
+ }, {
950
+ readonly internalType: "address";
951
+ readonly name: "owner";
952
+ readonly type: "address";
953
+ }];
954
+ readonly name: "redeem";
955
+ readonly outputs: readonly [{
956
+ readonly internalType: "uint256";
957
+ readonly name: "";
958
+ readonly type: "uint256";
959
+ }];
960
+ readonly stateMutability: "nonpayable";
961
+ readonly type: "function";
962
+ }, {
963
+ readonly inputs: readonly [{
964
+ readonly internalType: "address";
965
+ readonly name: "target";
966
+ readonly type: "address";
967
+ }, {
968
+ readonly internalType: "bytes4";
969
+ readonly name: "functionSelector";
970
+ readonly type: "bytes4";
971
+ }];
972
+ readonly name: "removeFromWhitelist";
973
+ readonly outputs: readonly [];
974
+ readonly stateMutability: "nonpayable";
975
+ readonly type: "function";
976
+ }, {
977
+ readonly inputs: readonly [{
978
+ readonly internalType: "bytes32";
979
+ readonly name: "role";
980
+ readonly type: "bytes32";
981
+ }, {
982
+ readonly internalType: "address";
983
+ readonly name: "callerConfirmation";
984
+ readonly type: "address";
985
+ }];
986
+ readonly name: "renounceRole";
987
+ readonly outputs: readonly [];
988
+ readonly stateMutability: "nonpayable";
989
+ readonly type: "function";
990
+ }, {
991
+ readonly inputs: readonly [{
992
+ readonly internalType: "bytes32";
993
+ readonly name: "role";
994
+ readonly type: "bytes32";
995
+ }, {
996
+ readonly internalType: "address";
997
+ readonly name: "account";
998
+ readonly type: "address";
999
+ }];
1000
+ readonly name: "revokeRole";
1001
+ readonly outputs: readonly [];
1002
+ readonly stateMutability: "nonpayable";
1003
+ readonly type: "function";
1004
+ }, {
1005
+ readonly inputs: readonly [{
1006
+ readonly internalType: "bool";
1007
+ readonly name: "_paused";
1008
+ readonly type: "bool";
1009
+ }];
1010
+ readonly name: "setPaused";
1011
+ readonly outputs: readonly [];
1012
+ readonly stateMutability: "nonpayable";
1013
+ readonly type: "function";
1014
+ }, {
1015
+ readonly inputs: readonly [];
1016
+ readonly name: "strategy";
1017
+ readonly outputs: readonly [{
1018
+ readonly internalType: "contract IERC4626";
1019
+ readonly name: "";
1020
+ readonly type: "address";
1021
+ }];
1022
+ readonly stateMutability: "view";
1023
+ readonly type: "function";
1024
+ }, {
1025
+ readonly inputs: readonly [{
1026
+ readonly internalType: "bytes4";
1027
+ readonly name: "interfaceId";
1028
+ readonly type: "bytes4";
1029
+ }];
1030
+ readonly name: "supportsInterface";
1031
+ readonly outputs: readonly [{
1032
+ readonly internalType: "bool";
1033
+ readonly name: "";
1034
+ readonly type: "bool";
1035
+ }];
1036
+ readonly stateMutability: "view";
1037
+ readonly type: "function";
1038
+ }, {
1039
+ readonly inputs: readonly [];
1040
+ readonly name: "symbol";
1041
+ readonly outputs: readonly [{
1042
+ readonly internalType: "string";
1043
+ readonly name: "";
1044
+ readonly type: "string";
1045
+ }];
1046
+ readonly stateMutability: "view";
1047
+ readonly type: "function";
1048
+ }, {
1049
+ readonly inputs: readonly [];
1050
+ readonly name: "totalAssets";
1051
+ readonly outputs: readonly [{
1052
+ readonly internalType: "uint256";
1053
+ readonly name: "";
1054
+ readonly type: "uint256";
1055
+ }];
1056
+ readonly stateMutability: "view";
1057
+ readonly type: "function";
1058
+ }, {
1059
+ readonly inputs: readonly [];
1060
+ readonly name: "totalSupply";
1061
+ readonly outputs: readonly [{
1062
+ readonly internalType: "uint256";
1063
+ readonly name: "";
1064
+ readonly type: "uint256";
1065
+ }];
1066
+ readonly stateMutability: "view";
1067
+ readonly type: "function";
1068
+ }, {
1069
+ readonly inputs: readonly [];
1070
+ readonly name: "totalUnderlyingStamp";
1071
+ readonly outputs: readonly [{
1072
+ readonly internalType: "uint256";
1073
+ readonly name: "";
1074
+ readonly type: "uint256";
1075
+ }];
1076
+ readonly stateMutability: "view";
1077
+ readonly type: "function";
1078
+ }, {
1079
+ readonly inputs: readonly [{
1080
+ readonly internalType: "address";
1081
+ readonly name: "to";
1082
+ readonly type: "address";
1083
+ }, {
1084
+ readonly internalType: "uint256";
1085
+ readonly name: "value";
1086
+ readonly type: "uint256";
1087
+ }];
1088
+ readonly name: "transfer";
1089
+ readonly outputs: readonly [{
1090
+ readonly internalType: "bool";
1091
+ readonly name: "";
1092
+ readonly type: "bool";
1093
+ }];
1094
+ readonly stateMutability: "nonpayable";
1095
+ readonly type: "function";
1096
+ }, {
1097
+ readonly inputs: readonly [{
1098
+ readonly internalType: "address";
1099
+ readonly name: "from";
1100
+ readonly type: "address";
1101
+ }, {
1102
+ readonly internalType: "address";
1103
+ readonly name: "to";
1104
+ readonly type: "address";
1105
+ }, {
1106
+ readonly internalType: "uint256";
1107
+ readonly name: "value";
1108
+ readonly type: "uint256";
1109
+ }];
1110
+ readonly name: "transferFrom";
1111
+ readonly outputs: readonly [{
1112
+ readonly internalType: "bool";
1113
+ readonly name: "";
1114
+ readonly type: "bool";
1115
+ }];
1116
+ readonly stateMutability: "nonpayable";
1117
+ readonly type: "function";
1118
+ }, {
1119
+ readonly inputs: readonly [];
1120
+ readonly name: "underlying";
1121
+ readonly outputs: readonly [{
1122
+ readonly internalType: "address";
1123
+ readonly name: "";
1124
+ readonly type: "address";
1125
+ }];
1126
+ readonly stateMutability: "view";
1127
+ readonly type: "function";
1128
+ }, {
1129
+ readonly inputs: readonly [{
1130
+ readonly internalType: "address";
1131
+ readonly name: "target";
1132
+ readonly type: "address";
1133
+ }, {
1134
+ readonly internalType: "bytes4";
1135
+ readonly name: "selector";
1136
+ readonly type: "bytes4";
1137
+ }];
1138
+ readonly name: "whitelistedTargets";
1139
+ readonly outputs: readonly [{
1140
+ readonly internalType: "bool";
1141
+ readonly name: "isWhitelisted";
1142
+ readonly type: "bool";
1143
+ }];
1144
+ readonly stateMutability: "view";
1145
+ readonly type: "function";
1146
+ }, {
1147
+ readonly inputs: readonly [{
1148
+ readonly internalType: "uint256";
1149
+ readonly name: "_underlying";
1150
+ readonly type: "uint256";
1151
+ }, {
1152
+ readonly internalType: "address";
1153
+ readonly name: "receiver";
1154
+ readonly type: "address";
1155
+ }, {
1156
+ readonly internalType: "address";
1157
+ readonly name: "owner";
1158
+ readonly type: "address";
1159
+ }];
1160
+ readonly name: "withdraw";
1161
+ readonly outputs: readonly [{
1162
+ readonly internalType: "uint256";
1163
+ readonly name: "";
1164
+ readonly type: "uint256";
1165
+ }];
1166
+ readonly stateMutability: "nonpayable";
1167
+ readonly type: "function";
1168
+ }];
1169
+ /**
1170
+ * Type-safe ABI for AllocatorVaultV3_3_json
1171
+ */
1172
+ export type AllocatorVaultV3_3_jsonAbi = typeof AllocatorVaultV3_3_jsonAbi;
1173
+ /**
1174
+ * Contract instance type for AllocatorVaultV3_3_json
1175
+ */
1176
+ export type AllocatorVaultV3_3_jsonContract = any;
1177
+ /**
1178
+ * AllocatorVaultV3_3_json Contract Class
1179
+ *
1180
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
1181
+ *
1182
+ * @example
1183
+ * ```typescript
1184
+ * import { createPublicClient, createWalletClient, http } from 'viem';
1185
+ * import { mainnet } from 'viem/chains';
1186
+ * import { AllocatorVaultV3_3_json } from 'AllocatorVaultV3_3_json';
1187
+ *
1188
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1189
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1190
+ *
1191
+ * const contract = new AllocatorVaultV3_3_json('0x...', { publicClient, walletClient });
1192
+ *
1193
+ * // Read functions
1194
+ * const result = await contract.balanceOf('0x...');
1195
+ *
1196
+ * // Write functions
1197
+ * const hash = await contract.transfer('0x...', 1000n);
1198
+ *
1199
+ * // Simulate transactions (dry-run)
1200
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
1201
+ * console.log('Gas estimate:', simulation.request.gas);
1202
+ *
1203
+ * // Watch events
1204
+ * const unwatch = contract.watch.Transfer((event) => {
1205
+ * console.log('Transfer event:', event);
1206
+ * });
1207
+ * ```
1208
+ */
1209
+ export declare class AllocatorVaultV3_3_json {
1210
+ private contract;
1211
+ private contractAddress;
1212
+ private publicClient;
1213
+ constructor(address: Address, clients: {
1214
+ publicClient: PublicClient;
1215
+ walletClient?: WalletClient;
1216
+ });
1217
+ /**
1218
+ * Get the contract address
1219
+ */
1220
+ get address(): Address;
1221
+ /**
1222
+ * Get the underlying viem contract instance
1223
+ */
1224
+ getContract(): AllocatorVaultV3_3_jsonContract;
1225
+ /**
1226
+ * DEFAULT_ADMIN_ROLE
1227
+ * view
1228
+ */
1229
+ DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
1230
+ /**
1231
+ * HARVESTER_ROLE
1232
+ * view
1233
+ */
1234
+ HARVESTER_ROLE(): Promise<`0x${string}`>;
1235
+ /**
1236
+ * allowance
1237
+ * view
1238
+ */
1239
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
1240
+ /**
1241
+ * asset
1242
+ * view
1243
+ */
1244
+ asset(): Promise<`0x${string}`>;
1245
+ /**
1246
+ * balanceOf
1247
+ * view
1248
+ */
1249
+ balanceOf(account: `0x${string}`): Promise<bigint>;
1250
+ /**
1251
+ * config
1252
+ * view
1253
+ */
1254
+ config(): Promise<[bigint, bigint, bigint, `0x${string}`, boolean]>;
1255
+ /**
1256
+ * convertToAssets
1257
+ * view
1258
+ */
1259
+ convertToAssets(shares: bigint): Promise<bigint>;
1260
+ /**
1261
+ * convertToShares
1262
+ * view
1263
+ */
1264
+ convertToShares(assets: bigint): Promise<bigint>;
1265
+ /**
1266
+ * decimals
1267
+ * view
1268
+ */
1269
+ decimals(): Promise<bigint>;
1270
+ /**
1271
+ * getRoleAdmin
1272
+ * view
1273
+ */
1274
+ getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
1275
+ /**
1276
+ * hasRole
1277
+ * view
1278
+ */
1279
+ hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
1280
+ /**
1281
+ * lastStamp
1282
+ * view
1283
+ */
1284
+ lastStamp(): Promise<bigint>;
1285
+ /**
1286
+ * maxDeposit
1287
+ * view
1288
+ */
1289
+ maxDeposit(receiver: `0x${string}`): Promise<bigint>;
1290
+ /**
1291
+ * maxMint
1292
+ * view
1293
+ */
1294
+ maxMint(receiver: `0x${string}`): Promise<bigint>;
1295
+ /**
1296
+ * maxRedeem
1297
+ * view
1298
+ */
1299
+ maxRedeem(owner: `0x${string}`): Promise<bigint>;
1300
+ /**
1301
+ * maxWithdraw
1302
+ * view
1303
+ */
1304
+ maxWithdraw(receiver: `0x${string}`): Promise<bigint>;
1305
+ /**
1306
+ * name
1307
+ * view
1308
+ */
1309
+ name(): Promise<string>;
1310
+ /**
1311
+ * paused
1312
+ * view
1313
+ */
1314
+ paused(): Promise<boolean>;
1315
+ /**
1316
+ * previewDeposit
1317
+ * view
1318
+ */
1319
+ previewDeposit(_underlying: bigint): Promise<bigint>;
1320
+ /**
1321
+ * previewMint
1322
+ * view
1323
+ */
1324
+ previewMint(shares: bigint): Promise<bigint>;
1325
+ /**
1326
+ * previewRedeem
1327
+ * view
1328
+ */
1329
+ previewRedeem(shares: bigint): Promise<bigint>;
1330
+ /**
1331
+ * previewWithdraw
1332
+ * view
1333
+ */
1334
+ previewWithdraw(_underlying: bigint): Promise<bigint>;
1335
+ /**
1336
+ * strategy
1337
+ * view
1338
+ */
1339
+ strategy(): Promise<`0x${string}`>;
1340
+ /**
1341
+ * supportsInterface
1342
+ * view
1343
+ */
1344
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
1345
+ /**
1346
+ * symbol
1347
+ * view
1348
+ */
1349
+ symbol(): Promise<string>;
1350
+ /**
1351
+ * totalAssets
1352
+ * view
1353
+ */
1354
+ totalAssets(): Promise<bigint>;
1355
+ /**
1356
+ * totalSupply
1357
+ * view
1358
+ */
1359
+ totalSupply(): Promise<bigint>;
1360
+ /**
1361
+ * totalUnderlyingStamp
1362
+ * view
1363
+ */
1364
+ totalUnderlyingStamp(): Promise<bigint>;
1365
+ /**
1366
+ * underlying
1367
+ * view
1368
+ */
1369
+ underlying(): Promise<`0x${string}`>;
1370
+ /**
1371
+ * whitelistedTargets
1372
+ * view
1373
+ */
1374
+ whitelistedTargets(target: `0x${string}`, selector: `0x${string}`): Promise<boolean>;
1375
+ /**
1376
+ * addToWhitelist
1377
+ * nonpayable
1378
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1379
+ */
1380
+ addToWhitelist(target: `0x${string}`, functionSelector: `0x${string}`, options?: {
1381
+ accessList?: import('viem').AccessList;
1382
+ authorizationList?: import('viem').AuthorizationList;
1383
+ chain?: import('viem').Chain | null;
1384
+ dataSuffix?: `0x${string}`;
1385
+ gas?: bigint;
1386
+ gasPrice?: bigint;
1387
+ maxFeePerGas?: bigint;
1388
+ maxPriorityFeePerGas?: bigint;
1389
+ nonce?: number;
1390
+ value?: bigint;
1391
+ }): Promise<`0x${string}`>;
1392
+ /**
1393
+ * approve
1394
+ * nonpayable
1395
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1396
+ */
1397
+ approve(spender: `0x${string}`, value: bigint, options?: {
1398
+ accessList?: import('viem').AccessList;
1399
+ authorizationList?: import('viem').AuthorizationList;
1400
+ chain?: import('viem').Chain | null;
1401
+ dataSuffix?: `0x${string}`;
1402
+ gas?: bigint;
1403
+ gasPrice?: bigint;
1404
+ maxFeePerGas?: bigint;
1405
+ maxPriorityFeePerGas?: bigint;
1406
+ nonce?: number;
1407
+ value?: bigint;
1408
+ }): Promise<`0x${string}`>;
1409
+ /**
1410
+ * claimAdditionalRewards
1411
+ * nonpayable
1412
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1413
+ */
1414
+ claimAdditionalRewards(target: `0x${string}`, rewardsAsset: `0x${string}`, payload: `0x${string}`, options?: {
1415
+ accessList?: import('viem').AccessList;
1416
+ authorizationList?: import('viem').AuthorizationList;
1417
+ chain?: import('viem').Chain | null;
1418
+ dataSuffix?: `0x${string}`;
1419
+ gas?: bigint;
1420
+ gasPrice?: bigint;
1421
+ maxFeePerGas?: bigint;
1422
+ maxPriorityFeePerGas?: bigint;
1423
+ nonce?: number;
1424
+ value?: bigint;
1425
+ }): Promise<`0x${string}`>;
1426
+ /**
1427
+ * claimMiscellaneousRewards
1428
+ * nonpayable
1429
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1430
+ */
1431
+ claimMiscellaneousRewards(tokenAddress: `0x${string}`, options?: {
1432
+ accessList?: import('viem').AccessList;
1433
+ authorizationList?: import('viem').AuthorizationList;
1434
+ chain?: import('viem').Chain | null;
1435
+ dataSuffix?: `0x${string}`;
1436
+ gas?: bigint;
1437
+ gasPrice?: bigint;
1438
+ maxFeePerGas?: bigint;
1439
+ maxPriorityFeePerGas?: bigint;
1440
+ nonce?: number;
1441
+ value?: bigint;
1442
+ }): Promise<`0x${string}`>;
1443
+ /**
1444
+ * configureVault
1445
+ * nonpayable
1446
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1447
+ */
1448
+ configureVault(_config: AllocatorVaultV3_3_AllocatorVaultConfig, options?: {
1449
+ accessList?: import('viem').AccessList;
1450
+ authorizationList?: import('viem').AuthorizationList;
1451
+ chain?: import('viem').Chain | null;
1452
+ dataSuffix?: `0x${string}`;
1453
+ gas?: bigint;
1454
+ gasPrice?: bigint;
1455
+ maxFeePerGas?: bigint;
1456
+ maxPriorityFeePerGas?: bigint;
1457
+ nonce?: number;
1458
+ value?: bigint;
1459
+ }): Promise<`0x${string}`>;
1460
+ /**
1461
+ * deposit
1462
+ * nonpayable
1463
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1464
+ */
1465
+ deposit(_underlying: bigint, receiver: `0x${string}`, options?: {
1466
+ accessList?: import('viem').AccessList;
1467
+ authorizationList?: import('viem').AuthorizationList;
1468
+ chain?: import('viem').Chain | null;
1469
+ dataSuffix?: `0x${string}`;
1470
+ gas?: bigint;
1471
+ gasPrice?: bigint;
1472
+ maxFeePerGas?: bigint;
1473
+ maxPriorityFeePerGas?: bigint;
1474
+ nonce?: number;
1475
+ value?: bigint;
1476
+ }): Promise<`0x${string}`>;
1477
+ /**
1478
+ * grantRole
1479
+ * nonpayable
1480
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1481
+ */
1482
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1483
+ accessList?: import('viem').AccessList;
1484
+ authorizationList?: import('viem').AuthorizationList;
1485
+ chain?: import('viem').Chain | null;
1486
+ dataSuffix?: `0x${string}`;
1487
+ gas?: bigint;
1488
+ gasPrice?: bigint;
1489
+ maxFeePerGas?: bigint;
1490
+ maxPriorityFeePerGas?: bigint;
1491
+ nonce?: number;
1492
+ value?: bigint;
1493
+ }): Promise<`0x${string}`>;
1494
+ /**
1495
+ * harvest
1496
+ * nonpayable
1497
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1498
+ */
1499
+ harvest(options?: {
1500
+ accessList?: import('viem').AccessList;
1501
+ authorizationList?: import('viem').AuthorizationList;
1502
+ chain?: import('viem').Chain | null;
1503
+ dataSuffix?: `0x${string}`;
1504
+ gas?: bigint;
1505
+ gasPrice?: bigint;
1506
+ maxFeePerGas?: bigint;
1507
+ maxPriorityFeePerGas?: bigint;
1508
+ nonce?: number;
1509
+ value?: bigint;
1510
+ }): Promise<`0x${string}`>;
1511
+ /**
1512
+ * initialize
1513
+ * nonpayable
1514
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1515
+ */
1516
+ initialize(_underlying: `0x${string}`, _strategy: `0x${string}`, vaultTokenName: string, vaultTokenSymbol: string, options?: {
1517
+ accessList?: import('viem').AccessList;
1518
+ authorizationList?: import('viem').AuthorizationList;
1519
+ chain?: import('viem').Chain | null;
1520
+ dataSuffix?: `0x${string}`;
1521
+ gas?: bigint;
1522
+ gasPrice?: bigint;
1523
+ maxFeePerGas?: bigint;
1524
+ maxPriorityFeePerGas?: bigint;
1525
+ nonce?: number;
1526
+ value?: bigint;
1527
+ }): Promise<`0x${string}`>;
1528
+ /**
1529
+ * mint
1530
+ * nonpayable
1531
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1532
+ */
1533
+ mint(shares: bigint, receiver: `0x${string}`, options?: {
1534
+ accessList?: import('viem').AccessList;
1535
+ authorizationList?: import('viem').AuthorizationList;
1536
+ chain?: import('viem').Chain | null;
1537
+ dataSuffix?: `0x${string}`;
1538
+ gas?: bigint;
1539
+ gasPrice?: bigint;
1540
+ maxFeePerGas?: bigint;
1541
+ maxPriorityFeePerGas?: bigint;
1542
+ nonce?: number;
1543
+ value?: bigint;
1544
+ }): Promise<`0x${string}`>;
1545
+ /**
1546
+ * redeem
1547
+ * nonpayable
1548
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1549
+ */
1550
+ redeem(shares: bigint, receiver: `0x${string}`, owner: `0x${string}`, options?: {
1551
+ accessList?: import('viem').AccessList;
1552
+ authorizationList?: import('viem').AuthorizationList;
1553
+ chain?: import('viem').Chain | null;
1554
+ dataSuffix?: `0x${string}`;
1555
+ gas?: bigint;
1556
+ gasPrice?: bigint;
1557
+ maxFeePerGas?: bigint;
1558
+ maxPriorityFeePerGas?: bigint;
1559
+ nonce?: number;
1560
+ value?: bigint;
1561
+ }): Promise<`0x${string}`>;
1562
+ /**
1563
+ * removeFromWhitelist
1564
+ * nonpayable
1565
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1566
+ */
1567
+ removeFromWhitelist(target: `0x${string}`, functionSelector: `0x${string}`, options?: {
1568
+ accessList?: import('viem').AccessList;
1569
+ authorizationList?: import('viem').AuthorizationList;
1570
+ chain?: import('viem').Chain | null;
1571
+ dataSuffix?: `0x${string}`;
1572
+ gas?: bigint;
1573
+ gasPrice?: bigint;
1574
+ maxFeePerGas?: bigint;
1575
+ maxPriorityFeePerGas?: bigint;
1576
+ nonce?: number;
1577
+ value?: bigint;
1578
+ }): Promise<`0x${string}`>;
1579
+ /**
1580
+ * renounceRole
1581
+ * nonpayable
1582
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1583
+ */
1584
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
1585
+ accessList?: import('viem').AccessList;
1586
+ authorizationList?: import('viem').AuthorizationList;
1587
+ chain?: import('viem').Chain | null;
1588
+ dataSuffix?: `0x${string}`;
1589
+ gas?: bigint;
1590
+ gasPrice?: bigint;
1591
+ maxFeePerGas?: bigint;
1592
+ maxPriorityFeePerGas?: bigint;
1593
+ nonce?: number;
1594
+ value?: bigint;
1595
+ }): Promise<`0x${string}`>;
1596
+ /**
1597
+ * revokeRole
1598
+ * nonpayable
1599
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1600
+ */
1601
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
1602
+ accessList?: import('viem').AccessList;
1603
+ authorizationList?: import('viem').AuthorizationList;
1604
+ chain?: import('viem').Chain | null;
1605
+ dataSuffix?: `0x${string}`;
1606
+ gas?: bigint;
1607
+ gasPrice?: bigint;
1608
+ maxFeePerGas?: bigint;
1609
+ maxPriorityFeePerGas?: bigint;
1610
+ nonce?: number;
1611
+ value?: bigint;
1612
+ }): Promise<`0x${string}`>;
1613
+ /**
1614
+ * setPaused
1615
+ * nonpayable
1616
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1617
+ */
1618
+ setPaused(_paused: boolean, options?: {
1619
+ accessList?: import('viem').AccessList;
1620
+ authorizationList?: import('viem').AuthorizationList;
1621
+ chain?: import('viem').Chain | null;
1622
+ dataSuffix?: `0x${string}`;
1623
+ gas?: bigint;
1624
+ gasPrice?: bigint;
1625
+ maxFeePerGas?: bigint;
1626
+ maxPriorityFeePerGas?: bigint;
1627
+ nonce?: number;
1628
+ value?: bigint;
1629
+ }): Promise<`0x${string}`>;
1630
+ /**
1631
+ * transfer
1632
+ * nonpayable
1633
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1634
+ */
1635
+ transfer(to: `0x${string}`, value: bigint, options?: {
1636
+ accessList?: import('viem').AccessList;
1637
+ authorizationList?: import('viem').AuthorizationList;
1638
+ chain?: import('viem').Chain | null;
1639
+ dataSuffix?: `0x${string}`;
1640
+ gas?: bigint;
1641
+ gasPrice?: bigint;
1642
+ maxFeePerGas?: bigint;
1643
+ maxPriorityFeePerGas?: bigint;
1644
+ nonce?: number;
1645
+ value?: bigint;
1646
+ }): Promise<`0x${string}`>;
1647
+ /**
1648
+ * transferFrom
1649
+ * nonpayable
1650
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1651
+ */
1652
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1653
+ accessList?: import('viem').AccessList;
1654
+ authorizationList?: import('viem').AuthorizationList;
1655
+ chain?: import('viem').Chain | null;
1656
+ dataSuffix?: `0x${string}`;
1657
+ gas?: bigint;
1658
+ gasPrice?: bigint;
1659
+ maxFeePerGas?: bigint;
1660
+ maxPriorityFeePerGas?: bigint;
1661
+ nonce?: number;
1662
+ value?: bigint;
1663
+ }): Promise<`0x${string}`>;
1664
+ /**
1665
+ * withdraw
1666
+ * nonpayable
1667
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1668
+ */
1669
+ withdraw(_underlying: bigint, receiver: `0x${string}`, owner: `0x${string}`, options?: {
1670
+ accessList?: import('viem').AccessList;
1671
+ authorizationList?: import('viem').AuthorizationList;
1672
+ chain?: import('viem').Chain | null;
1673
+ dataSuffix?: `0x${string}`;
1674
+ gas?: bigint;
1675
+ gasPrice?: bigint;
1676
+ maxFeePerGas?: bigint;
1677
+ maxPriorityFeePerGas?: bigint;
1678
+ nonce?: number;
1679
+ value?: bigint;
1680
+ }): Promise<`0x${string}`>;
1681
+ /**
1682
+ * Simulate contract write operations (dry-run without sending transaction)
1683
+ *
1684
+ * @example
1685
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1686
+ * console.log('Gas estimate:', result.request.gas);
1687
+ * console.log('Would succeed:', result.result);
1688
+ */
1689
+ get simulate(): {
1690
+ /**
1691
+ * Simulate addToWhitelist
1692
+ * Returns gas estimate and result without sending transaction
1693
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1694
+ */
1695
+ addToWhitelist(target: `0x${string}`, functionSelector: `0x${string}`, options?: {
1696
+ accessList?: import("viem").AccessList;
1697
+ authorizationList?: import("viem").AuthorizationList;
1698
+ chain?: import("viem").Chain | null;
1699
+ dataSuffix?: `0x${string}`;
1700
+ gas?: bigint;
1701
+ gasPrice?: bigint;
1702
+ maxFeePerGas?: bigint;
1703
+ maxPriorityFeePerGas?: bigint;
1704
+ nonce?: number;
1705
+ value?: bigint;
1706
+ }): Promise<void>;
1707
+ /**
1708
+ * Simulate approve
1709
+ * Returns gas estimate and result without sending transaction
1710
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1711
+ */
1712
+ approve(spender: `0x${string}`, value: bigint, options?: {
1713
+ accessList?: import("viem").AccessList;
1714
+ authorizationList?: import("viem").AuthorizationList;
1715
+ chain?: import("viem").Chain | null;
1716
+ dataSuffix?: `0x${string}`;
1717
+ gas?: bigint;
1718
+ gasPrice?: bigint;
1719
+ maxFeePerGas?: bigint;
1720
+ maxPriorityFeePerGas?: bigint;
1721
+ nonce?: number;
1722
+ value?: bigint;
1723
+ }): Promise<boolean>;
1724
+ /**
1725
+ * Simulate claimAdditionalRewards
1726
+ * Returns gas estimate and result without sending transaction
1727
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1728
+ */
1729
+ claimAdditionalRewards(target: `0x${string}`, rewardsAsset: `0x${string}`, payload: `0x${string}`, options?: {
1730
+ accessList?: import("viem").AccessList;
1731
+ authorizationList?: import("viem").AuthorizationList;
1732
+ chain?: import("viem").Chain | null;
1733
+ dataSuffix?: `0x${string}`;
1734
+ gas?: bigint;
1735
+ gasPrice?: bigint;
1736
+ maxFeePerGas?: bigint;
1737
+ maxPriorityFeePerGas?: bigint;
1738
+ nonce?: number;
1739
+ value?: bigint;
1740
+ }): Promise<void>;
1741
+ /**
1742
+ * Simulate claimMiscellaneousRewards
1743
+ * Returns gas estimate and result without sending transaction
1744
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1745
+ */
1746
+ claimMiscellaneousRewards(tokenAddress: `0x${string}`, options?: {
1747
+ accessList?: import("viem").AccessList;
1748
+ authorizationList?: import("viem").AuthorizationList;
1749
+ chain?: import("viem").Chain | null;
1750
+ dataSuffix?: `0x${string}`;
1751
+ gas?: bigint;
1752
+ gasPrice?: bigint;
1753
+ maxFeePerGas?: bigint;
1754
+ maxPriorityFeePerGas?: bigint;
1755
+ nonce?: number;
1756
+ value?: bigint;
1757
+ }): Promise<void>;
1758
+ /**
1759
+ * Simulate configureVault
1760
+ * Returns gas estimate and result without sending transaction
1761
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1762
+ */
1763
+ configureVault(_config: AllocatorVaultV3_3_AllocatorVaultConfig, options?: {
1764
+ accessList?: import("viem").AccessList;
1765
+ authorizationList?: import("viem").AuthorizationList;
1766
+ chain?: import("viem").Chain | null;
1767
+ dataSuffix?: `0x${string}`;
1768
+ gas?: bigint;
1769
+ gasPrice?: bigint;
1770
+ maxFeePerGas?: bigint;
1771
+ maxPriorityFeePerGas?: bigint;
1772
+ nonce?: number;
1773
+ value?: bigint;
1774
+ }): Promise<void>;
1775
+ /**
1776
+ * Simulate deposit
1777
+ * Returns gas estimate and result without sending transaction
1778
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1779
+ */
1780
+ deposit(_underlying: bigint, receiver: `0x${string}`, options?: {
1781
+ accessList?: import("viem").AccessList;
1782
+ authorizationList?: import("viem").AuthorizationList;
1783
+ chain?: import("viem").Chain | null;
1784
+ dataSuffix?: `0x${string}`;
1785
+ gas?: bigint;
1786
+ gasPrice?: bigint;
1787
+ maxFeePerGas?: bigint;
1788
+ maxPriorityFeePerGas?: bigint;
1789
+ nonce?: number;
1790
+ value?: bigint;
1791
+ }): Promise<bigint>;
1792
+ /**
1793
+ * Simulate grantRole
1794
+ * Returns gas estimate and result without sending transaction
1795
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1796
+ */
1797
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1798
+ accessList?: import("viem").AccessList;
1799
+ authorizationList?: import("viem").AuthorizationList;
1800
+ chain?: import("viem").Chain | null;
1801
+ dataSuffix?: `0x${string}`;
1802
+ gas?: bigint;
1803
+ gasPrice?: bigint;
1804
+ maxFeePerGas?: bigint;
1805
+ maxPriorityFeePerGas?: bigint;
1806
+ nonce?: number;
1807
+ value?: bigint;
1808
+ }): Promise<void>;
1809
+ /**
1810
+ * Simulate harvest
1811
+ * Returns gas estimate and result without sending transaction
1812
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1813
+ */
1814
+ harvest(options?: {
1815
+ accessList?: import("viem").AccessList;
1816
+ authorizationList?: import("viem").AuthorizationList;
1817
+ chain?: import("viem").Chain | null;
1818
+ dataSuffix?: `0x${string}`;
1819
+ gas?: bigint;
1820
+ gasPrice?: bigint;
1821
+ maxFeePerGas?: bigint;
1822
+ maxPriorityFeePerGas?: bigint;
1823
+ nonce?: number;
1824
+ value?: bigint;
1825
+ }): Promise<bigint>;
1826
+ /**
1827
+ * Simulate initialize
1828
+ * Returns gas estimate and result without sending transaction
1829
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1830
+ */
1831
+ initialize(_underlying: `0x${string}`, _strategy: `0x${string}`, vaultTokenName: string, vaultTokenSymbol: string, options?: {
1832
+ accessList?: import("viem").AccessList;
1833
+ authorizationList?: import("viem").AuthorizationList;
1834
+ chain?: import("viem").Chain | null;
1835
+ dataSuffix?: `0x${string}`;
1836
+ gas?: bigint;
1837
+ gasPrice?: bigint;
1838
+ maxFeePerGas?: bigint;
1839
+ maxPriorityFeePerGas?: bigint;
1840
+ nonce?: number;
1841
+ value?: bigint;
1842
+ }): Promise<void>;
1843
+ /**
1844
+ * Simulate mint
1845
+ * Returns gas estimate and result without sending transaction
1846
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1847
+ */
1848
+ mint(shares: bigint, receiver: `0x${string}`, options?: {
1849
+ accessList?: import("viem").AccessList;
1850
+ authorizationList?: import("viem").AuthorizationList;
1851
+ chain?: import("viem").Chain | null;
1852
+ dataSuffix?: `0x${string}`;
1853
+ gas?: bigint;
1854
+ gasPrice?: bigint;
1855
+ maxFeePerGas?: bigint;
1856
+ maxPriorityFeePerGas?: bigint;
1857
+ nonce?: number;
1858
+ value?: bigint;
1859
+ }): Promise<bigint>;
1860
+ /**
1861
+ * Simulate redeem
1862
+ * Returns gas estimate and result without sending transaction
1863
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1864
+ */
1865
+ redeem(shares: bigint, receiver: `0x${string}`, owner: `0x${string}`, options?: {
1866
+ accessList?: import("viem").AccessList;
1867
+ authorizationList?: import("viem").AuthorizationList;
1868
+ chain?: import("viem").Chain | null;
1869
+ dataSuffix?: `0x${string}`;
1870
+ gas?: bigint;
1871
+ gasPrice?: bigint;
1872
+ maxFeePerGas?: bigint;
1873
+ maxPriorityFeePerGas?: bigint;
1874
+ nonce?: number;
1875
+ value?: bigint;
1876
+ }): Promise<bigint>;
1877
+ /**
1878
+ * Simulate removeFromWhitelist
1879
+ * Returns gas estimate and result without sending transaction
1880
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1881
+ */
1882
+ removeFromWhitelist(target: `0x${string}`, functionSelector: `0x${string}`, options?: {
1883
+ accessList?: import("viem").AccessList;
1884
+ authorizationList?: import("viem").AuthorizationList;
1885
+ chain?: import("viem").Chain | null;
1886
+ dataSuffix?: `0x${string}`;
1887
+ gas?: bigint;
1888
+ gasPrice?: bigint;
1889
+ maxFeePerGas?: bigint;
1890
+ maxPriorityFeePerGas?: bigint;
1891
+ nonce?: number;
1892
+ value?: bigint;
1893
+ }): Promise<void>;
1894
+ /**
1895
+ * Simulate renounceRole
1896
+ * Returns gas estimate and result without sending transaction
1897
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1898
+ */
1899
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
1900
+ accessList?: import("viem").AccessList;
1901
+ authorizationList?: import("viem").AuthorizationList;
1902
+ chain?: import("viem").Chain | null;
1903
+ dataSuffix?: `0x${string}`;
1904
+ gas?: bigint;
1905
+ gasPrice?: bigint;
1906
+ maxFeePerGas?: bigint;
1907
+ maxPriorityFeePerGas?: bigint;
1908
+ nonce?: number;
1909
+ value?: bigint;
1910
+ }): Promise<void>;
1911
+ /**
1912
+ * Simulate revokeRole
1913
+ * Returns gas estimate and result without sending transaction
1914
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1915
+ */
1916
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
1917
+ accessList?: import("viem").AccessList;
1918
+ authorizationList?: import("viem").AuthorizationList;
1919
+ chain?: import("viem").Chain | null;
1920
+ dataSuffix?: `0x${string}`;
1921
+ gas?: bigint;
1922
+ gasPrice?: bigint;
1923
+ maxFeePerGas?: bigint;
1924
+ maxPriorityFeePerGas?: bigint;
1925
+ nonce?: number;
1926
+ value?: bigint;
1927
+ }): Promise<void>;
1928
+ /**
1929
+ * Simulate setPaused
1930
+ * Returns gas estimate and result without sending transaction
1931
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1932
+ */
1933
+ setPaused(_paused: boolean, options?: {
1934
+ accessList?: import("viem").AccessList;
1935
+ authorizationList?: import("viem").AuthorizationList;
1936
+ chain?: import("viem").Chain | null;
1937
+ dataSuffix?: `0x${string}`;
1938
+ gas?: bigint;
1939
+ gasPrice?: bigint;
1940
+ maxFeePerGas?: bigint;
1941
+ maxPriorityFeePerGas?: bigint;
1942
+ nonce?: number;
1943
+ value?: bigint;
1944
+ }): Promise<void>;
1945
+ /**
1946
+ * Simulate transfer
1947
+ * Returns gas estimate and result without sending transaction
1948
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1949
+ */
1950
+ transfer(to: `0x${string}`, value: bigint, options?: {
1951
+ accessList?: import("viem").AccessList;
1952
+ authorizationList?: import("viem").AuthorizationList;
1953
+ chain?: import("viem").Chain | null;
1954
+ dataSuffix?: `0x${string}`;
1955
+ gas?: bigint;
1956
+ gasPrice?: bigint;
1957
+ maxFeePerGas?: bigint;
1958
+ maxPriorityFeePerGas?: bigint;
1959
+ nonce?: number;
1960
+ value?: bigint;
1961
+ }): Promise<boolean>;
1962
+ /**
1963
+ * Simulate transferFrom
1964
+ * Returns gas estimate and result without sending transaction
1965
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1966
+ */
1967
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1968
+ accessList?: import("viem").AccessList;
1969
+ authorizationList?: import("viem").AuthorizationList;
1970
+ chain?: import("viem").Chain | null;
1971
+ dataSuffix?: `0x${string}`;
1972
+ gas?: bigint;
1973
+ gasPrice?: bigint;
1974
+ maxFeePerGas?: bigint;
1975
+ maxPriorityFeePerGas?: bigint;
1976
+ nonce?: number;
1977
+ value?: bigint;
1978
+ }): Promise<boolean>;
1979
+ /**
1980
+ * Simulate withdraw
1981
+ * Returns gas estimate and result without sending transaction
1982
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1983
+ */
1984
+ withdraw(_underlying: bigint, receiver: `0x${string}`, owner: `0x${string}`, options?: {
1985
+ accessList?: import("viem").AccessList;
1986
+ authorizationList?: import("viem").AuthorizationList;
1987
+ chain?: import("viem").Chain | null;
1988
+ dataSuffix?: `0x${string}`;
1989
+ gas?: bigint;
1990
+ gasPrice?: bigint;
1991
+ maxFeePerGas?: bigint;
1992
+ maxPriorityFeePerGas?: bigint;
1993
+ nonce?: number;
1994
+ value?: bigint;
1995
+ }): Promise<bigint>;
1996
+ };
1997
+ /**
1998
+ * Watch contract events
1999
+ *
2000
+ * @example
2001
+ * // Watch all Transfer events
2002
+ * const unwatch = contract.watch.Transfer((event) => {
2003
+ * console.log('Transfer:', event);
2004
+ * });
2005
+ *
2006
+ * // Stop watching
2007
+ * unwatch();
2008
+ */
2009
+ get watch(): {
2010
+ /**
2011
+ * Watch Approval events
2012
+ * @param callback Function to call when event is emitted
2013
+ * @param filter Optional filter for indexed parameters
2014
+ * @returns Unwatch function to stop listening
2015
+ */
2016
+ Approval: (callback: (event: {
2017
+ owner: `0x${string}`;
2018
+ spender: `0x${string}`;
2019
+ value: bigint;
2020
+ }) => void, filter?: {
2021
+ owner: `0x${string}`;
2022
+ spender: `0x${string}`;
2023
+ }) => () => void;
2024
+ /**
2025
+ * Watch Deposit events
2026
+ * @param callback Function to call when event is emitted
2027
+ * @param filter Optional filter for indexed parameters
2028
+ * @returns Unwatch function to stop listening
2029
+ */
2030
+ Deposit: (callback: (event: {
2031
+ sender: `0x${string}`;
2032
+ owner: `0x${string}`;
2033
+ assets: bigint;
2034
+ shares: bigint;
2035
+ }) => void, filter?: {
2036
+ sender: `0x${string}`;
2037
+ owner: `0x${string}`;
2038
+ }) => () => void;
2039
+ /**
2040
+ * Watch Harvested events
2041
+ * @param callback Function to call when event is emitted
2042
+ * @param filter Optional filter for indexed parameters
2043
+ * @returns Unwatch function to stop listening
2044
+ */
2045
+ Harvested: (callback: (event: {
2046
+ caller: `0x${string}`;
2047
+ sharesMinted: bigint;
2048
+ previousTotalUnderlying: bigint;
2049
+ currentTotalUnderlying: bigint;
2050
+ }) => void, filter?: {
2051
+ caller: `0x${string}`;
2052
+ }) => () => void;
2053
+ /**
2054
+ * Watch Initialized events
2055
+ * @param callback Function to call when event is emitted
2056
+ * @param filter Optional filter for indexed parameters
2057
+ * @returns Unwatch function to stop listening
2058
+ */
2059
+ Initialized: (callback: (event: {
2060
+ version: bigint;
2061
+ }) => void) => () => void;
2062
+ /**
2063
+ * Watch MiscellaneousRewardClaimed events
2064
+ * @param callback Function to call when event is emitted
2065
+ * @param filter Optional filter for indexed parameters
2066
+ * @returns Unwatch function to stop listening
2067
+ */
2068
+ MiscellaneousRewardClaimed: (callback: (event: {
2069
+ asset: `0x${string}`;
2070
+ amount: bigint;
2071
+ }) => void, filter?: {
2072
+ asset: `0x${string}`;
2073
+ }) => () => void;
2074
+ /**
2075
+ * Watch PausedSet events
2076
+ * @param callback Function to call when event is emitted
2077
+ * @param filter Optional filter for indexed parameters
2078
+ * @returns Unwatch function to stop listening
2079
+ */
2080
+ PausedSet: (callback: (event: {
2081
+ paused: boolean;
2082
+ }) => void) => () => void;
2083
+ /**
2084
+ * Watch RewardsClaimed events
2085
+ * @param callback Function to call when event is emitted
2086
+ * @param filter Optional filter for indexed parameters
2087
+ * @returns Unwatch function to stop listening
2088
+ */
2089
+ RewardsClaimed: (callback: (event: {
2090
+ target: `0x${string}`;
2091
+ asset: `0x${string}`;
2092
+ amount: bigint;
2093
+ }) => void, filter?: {
2094
+ target: `0x${string}`;
2095
+ asset: `0x${string}`;
2096
+ }) => () => void;
2097
+ /**
2098
+ * Watch RoleAdminChanged events
2099
+ * @param callback Function to call when event is emitted
2100
+ * @param filter Optional filter for indexed parameters
2101
+ * @returns Unwatch function to stop listening
2102
+ */
2103
+ RoleAdminChanged: (callback: (event: {
2104
+ role: `0x${string}`;
2105
+ previousAdminRole: `0x${string}`;
2106
+ newAdminRole: `0x${string}`;
2107
+ }) => void, filter?: {
2108
+ role: `0x${string}`;
2109
+ previousAdminRole: `0x${string}`;
2110
+ newAdminRole: `0x${string}`;
2111
+ }) => () => void;
2112
+ /**
2113
+ * Watch RoleGranted events
2114
+ * @param callback Function to call when event is emitted
2115
+ * @param filter Optional filter for indexed parameters
2116
+ * @returns Unwatch function to stop listening
2117
+ */
2118
+ RoleGranted: (callback: (event: {
2119
+ role: `0x${string}`;
2120
+ account: `0x${string}`;
2121
+ sender: `0x${string}`;
2122
+ }) => void, filter?: {
2123
+ role: `0x${string}`;
2124
+ account: `0x${string}`;
2125
+ sender: `0x${string}`;
2126
+ }) => () => void;
2127
+ /**
2128
+ * Watch RoleRevoked events
2129
+ * @param callback Function to call when event is emitted
2130
+ * @param filter Optional filter for indexed parameters
2131
+ * @returns Unwatch function to stop listening
2132
+ */
2133
+ RoleRevoked: (callback: (event: {
2134
+ role: `0x${string}`;
2135
+ account: `0x${string}`;
2136
+ sender: `0x${string}`;
2137
+ }) => void, filter?: {
2138
+ role: `0x${string}`;
2139
+ account: `0x${string}`;
2140
+ sender: `0x${string}`;
2141
+ }) => () => void;
2142
+ /**
2143
+ * Watch Transfer events
2144
+ * @param callback Function to call when event is emitted
2145
+ * @param filter Optional filter for indexed parameters
2146
+ * @returns Unwatch function to stop listening
2147
+ */
2148
+ Transfer: (callback: (event: {
2149
+ from: `0x${string}`;
2150
+ to: `0x${string}`;
2151
+ value: bigint;
2152
+ }) => void, filter?: {
2153
+ from: `0x${string}`;
2154
+ to: `0x${string}`;
2155
+ }) => () => void;
2156
+ /**
2157
+ * Watch VaultConfigured events
2158
+ * @param callback Function to call when event is emitted
2159
+ * @param filter Optional filter for indexed parameters
2160
+ * @returns Unwatch function to stop listening
2161
+ */
2162
+ VaultConfigured: (callback: (event: {
2163
+ config: AllocatorVaultV3_3_AllocatorVaultConfig;
2164
+ }) => void) => () => void;
2165
+ /**
2166
+ * Watch Whitelisted events
2167
+ * @param callback Function to call when event is emitted
2168
+ * @param filter Optional filter for indexed parameters
2169
+ * @returns Unwatch function to stop listening
2170
+ */
2171
+ Whitelisted: (callback: (event: {
2172
+ target: `0x${string}`;
2173
+ selector: `0x${string}`;
2174
+ added: boolean;
2175
+ }) => void, filter?: {
2176
+ target: `0x${string}`;
2177
+ }) => () => void;
2178
+ /**
2179
+ * Watch Withdraw events
2180
+ * @param callback Function to call when event is emitted
2181
+ * @param filter Optional filter for indexed parameters
2182
+ * @returns Unwatch function to stop listening
2183
+ */
2184
+ Withdraw: (callback: (event: {
2185
+ sender: `0x${string}`;
2186
+ receiver: `0x${string}`;
2187
+ owner: `0x${string}`;
2188
+ assets: bigint;
2189
+ shares: bigint;
2190
+ }) => void, filter?: {
2191
+ sender: `0x${string}`;
2192
+ receiver: `0x${string}`;
2193
+ owner: `0x${string}`;
2194
+ }) => () => void;
2195
+ };
2196
+ }