@gitmyabi/usdt 1.0.9 → 1.0.11

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