@gitmyabi-stg/stusdt 0.0.1

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