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