@gitmyabi-stg/vec 1.0.0

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