@gitmyabi/zc 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,25 +9,41 @@ const viem_1 = require("viem");
9
9
  */
10
10
  exports.LaunchToken_jsonAbi = [
11
11
  {
12
- "inputs": [],
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": "string",
25
+ "name": "metadataUri_",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "internalType": "address",
30
+ "name": "creator_",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "internalType": "address",
35
+ "name": "recipient",
36
+ "type": "address"
37
+ },
38
+ {
39
+ "internalType": "address",
40
+ "name": "distributor_",
41
+ "type": "address"
42
+ }
43
+ ],
13
44
  "stateMutability": "nonpayable",
14
45
  "type": "constructor"
15
46
  },
16
- {
17
- "inputs": [],
18
- "name": "AlreadyInitialised",
19
- "type": "error"
20
- },
21
- {
22
- "inputs": [],
23
- "name": "BuyCapExceeded",
24
- "type": "error"
25
- },
26
- {
27
- "inputs": [],
28
- "name": "CreatorOnlyBlock",
29
- "type": "error"
30
- },
31
47
  {
32
48
  "inputs": [
33
49
  {
@@ -114,47 +130,6 @@ exports.LaunchToken_jsonAbi = [
114
130
  "name": "ERC20InvalidSpender",
115
131
  "type": "error"
116
132
  },
117
- {
118
- "inputs": [],
119
- "name": "HoldCapExceeded",
120
- "type": "error"
121
- },
122
- {
123
- "inputs": [],
124
- "name": "MarketAlreadySet",
125
- "type": "error"
126
- },
127
- {
128
- "inputs": [],
129
- "name": "NoEligibleSupply",
130
- "type": "error"
131
- },
132
- {
133
- "inputs": [],
134
- "name": "NothingToClaim",
135
- "type": "error"
136
- },
137
- {
138
- "inputs": [],
139
- "name": "OnlyFactory",
140
- "type": "error"
141
- },
142
- {
143
- "inputs": [],
144
- "name": "RewardTransferFailed",
145
- "type": "error"
146
- },
147
- {
148
- "inputs": [
149
- {
150
- "internalType": "address",
151
- "name": "token",
152
- "type": "address"
153
- }
154
- ],
155
- "name": "SafeERC20FailedOperation",
156
- "type": "error"
157
- },
158
133
  {
159
134
  "anonymous": false,
160
135
  "inputs": [
@@ -180,76 +155,6 @@ exports.LaunchToken_jsonAbi = [
180
155
  "name": "Approval",
181
156
  "type": "event"
182
157
  },
183
- {
184
- "anonymous": false,
185
- "inputs": [
186
- {
187
- "indexed": true,
188
- "internalType": "address",
189
- "name": "rewardToken",
190
- "type": "address"
191
- }
192
- ],
193
- "name": "HolderFeesEnabled",
194
- "type": "event"
195
- },
196
- {
197
- "anonymous": false,
198
- "inputs": [
199
- {
200
- "indexed": false,
201
- "internalType": "uint256",
202
- "name": "amount",
203
- "type": "uint256"
204
- },
205
- {
206
- "indexed": false,
207
- "internalType": "uint256",
208
- "name": "accRewardPerToken",
209
- "type": "uint256"
210
- }
211
- ],
212
- "name": "RewardAdded",
213
- "type": "event"
214
- },
215
- {
216
- "anonymous": false,
217
- "inputs": [
218
- {
219
- "indexed": false,
220
- "internalType": "uint256",
221
- "name": "amount",
222
- "type": "uint256"
223
- },
224
- {
225
- "indexed": false,
226
- "internalType": "uint256",
227
- "name": "totalCarried",
228
- "type": "uint256"
229
- }
230
- ],
231
- "name": "RewardCarried",
232
- "type": "event"
233
- },
234
- {
235
- "anonymous": false,
236
- "inputs": [
237
- {
238
- "indexed": true,
239
- "internalType": "address",
240
- "name": "holder",
241
- "type": "address"
242
- },
243
- {
244
- "indexed": false,
245
- "internalType": "uint256",
246
- "name": "amount",
247
- "type": "uint256"
248
- }
249
- ],
250
- "name": "RewardClaimed",
251
- "type": "event"
252
- },
253
158
  {
254
159
  "anonymous": false,
255
160
  "inputs": [
@@ -277,64 +182,12 @@ exports.LaunchToken_jsonAbi = [
277
182
  },
278
183
  {
279
184
  "inputs": [],
280
- "name": "GUARD_BLOCKS",
281
- "outputs": [
282
- {
283
- "internalType": "uint256",
284
- "name": "",
285
- "type": "uint256"
286
- }
287
- ],
288
- "stateMutability": "view",
289
- "type": "function"
290
- },
291
- {
292
- "inputs": [],
293
- "name": "MAX_BUY",
294
- "outputs": [
295
- {
296
- "internalType": "uint256",
297
- "name": "",
298
- "type": "uint256"
299
- }
300
- ],
301
- "stateMutability": "view",
302
- "type": "function"
303
- },
304
- {
305
- "inputs": [],
306
- "name": "MAX_HOLD",
307
- "outputs": [
308
- {
309
- "internalType": "uint256",
310
- "name": "",
311
- "type": "uint256"
312
- }
313
- ],
314
- "stateMutability": "view",
315
- "type": "function"
316
- },
317
- {
318
- "inputs": [],
319
- "name": "RAMP_BLOCKS",
185
+ "name": "DESCRIPTION",
320
186
  "outputs": [
321
187
  {
322
- "internalType": "uint256",
323
- "name": "",
324
- "type": "uint256"
325
- }
326
- ],
327
- "stateMutability": "view",
328
- "type": "function"
329
- },
330
- {
331
- "inputs": [],
332
- "name": "RAMP_START",
333
- "outputs": [
334
- {
335
- "internalType": "uint256",
188
+ "internalType": "string",
336
189
  "name": "",
337
- "type": "uint256"
190
+ "type": "string"
338
191
  }
339
192
  ],
340
193
  "stateMutability": "view",
@@ -353,19 +206,6 @@ exports.LaunchToken_jsonAbi = [
353
206
  "stateMutability": "view",
354
207
  "type": "function"
355
208
  },
356
- {
357
- "inputs": [],
358
- "name": "accRewardPerToken",
359
- "outputs": [
360
- {
361
- "internalType": "uint256",
362
- "name": "",
363
- "type": "uint256"
364
- }
365
- ],
366
- "stateMutability": "view",
367
- "type": "function"
368
- },
369
209
  {
370
210
  "inputs": [
371
211
  {
@@ -435,291 +275,38 @@ exports.LaunchToken_jsonAbi = [
435
275
  },
436
276
  {
437
277
  "inputs": [],
438
- "name": "carriedReward",
439
- "outputs": [
440
- {
441
- "internalType": "uint256",
442
- "name": "",
443
- "type": "uint256"
444
- }
445
- ],
446
- "stateMutability": "view",
447
- "type": "function"
448
- },
449
- {
450
- "inputs": [],
451
- "name": "claim",
452
- "outputs": [
453
- {
454
- "internalType": "uint256",
455
- "name": "amount",
456
- "type": "uint256"
457
- }
458
- ],
459
- "stateMutability": "nonpayable",
460
- "type": "function"
461
- },
462
- {
463
- "inputs": [],
464
- "name": "creator",
465
- "outputs": [
466
- {
467
- "internalType": "address",
468
- "name": "",
469
- "type": "address"
470
- }
471
- ],
472
- "stateMutability": "view",
473
- "type": "function"
474
- },
475
- {
476
- "inputs": [],
477
- "name": "currentBuyCap",
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": "decimals",
491
- "outputs": [
492
- {
493
- "internalType": "uint8",
494
- "name": "",
495
- "type": "uint8"
496
- }
497
- ],
498
- "stateMutability": "view",
499
- "type": "function"
500
- },
501
- {
502
- "inputs": [],
503
- "name": "eligibleSupply",
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": "rewardToken_",
519
- "type": "address"
520
- },
521
- {
522
- "internalType": "address",
523
- "name": "rewardSource_",
524
- "type": "address"
525
- }
526
- ],
527
- "name": "enableHolderFees",
528
- "outputs": [],
529
- "stateMutability": "nonpayable",
530
- "type": "function"
531
- },
532
- {
533
- "inputs": [],
534
- "name": "factory",
535
- "outputs": [
536
- {
537
- "internalType": "address",
538
- "name": "",
539
- "type": "address"
540
- }
541
- ],
542
- "stateMutability": "view",
543
- "type": "function"
544
- },
545
- {
546
- "inputs": [],
547
- "name": "guardActive",
548
- "outputs": [
549
- {
550
- "internalType": "bool",
551
- "name": "",
552
- "type": "bool"
553
- }
554
- ],
555
- "stateMutability": "view",
556
- "type": "function"
557
- },
558
- {
559
- "inputs": [],
560
- "name": "guardEndsAtBlock",
561
- "outputs": [
562
- {
563
- "internalType": "uint256",
564
- "name": "",
565
- "type": "uint256"
566
- }
567
- ],
568
- "stateMutability": "view",
569
- "type": "function"
570
- },
571
- {
572
- "inputs": [],
573
- "name": "holderFeesEnabled",
574
- "outputs": [
575
- {
576
- "internalType": "bool",
577
- "name": "",
578
- "type": "bool"
579
- }
580
- ],
581
- "stateMutability": "view",
582
- "type": "function"
583
- },
584
- {
585
- "inputs": [
586
- {
587
- "internalType": "string",
588
- "name": "name_",
589
- "type": "string"
590
- },
591
- {
592
- "internalType": "string",
593
- "name": "symbol_",
594
- "type": "string"
595
- },
596
- {
597
- "internalType": "string",
598
- "name": "metadataURI_",
599
- "type": "string"
600
- },
601
- {
602
- "internalType": "address",
603
- "name": "creator_",
604
- "type": "address"
605
- }
606
- ],
607
- "name": "initialize",
608
- "outputs": [],
609
- "stateMutability": "nonpayable",
610
- "type": "function"
611
- },
612
- {
613
- "inputs": [],
614
- "name": "launchBlock",
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": "market",
628
- "outputs": [
629
- {
630
- "internalType": "address",
631
- "name": "",
632
- "type": "address"
633
- }
634
- ],
635
- "stateMutability": "view",
636
- "type": "function"
637
- },
638
- {
639
- "inputs": [],
640
- "name": "metadataURI",
641
- "outputs": [
642
- {
643
- "internalType": "string",
644
- "name": "",
645
- "type": "string"
646
- }
647
- ],
648
- "stateMutability": "view",
649
- "type": "function"
650
- },
651
- {
652
- "inputs": [],
653
- "name": "name",
654
- "outputs": [
655
- {
656
- "internalType": "string",
657
- "name": "",
658
- "type": "string"
659
- }
660
- ],
661
- "stateMutability": "view",
662
- "type": "function"
663
- },
664
- {
665
- "inputs": [
666
- {
667
- "internalType": "uint256",
668
- "name": "amount",
669
- "type": "uint256"
670
- }
671
- ],
672
- "name": "notifyReward",
673
- "outputs": [],
674
- "stateMutability": "payable",
675
- "type": "function"
676
- },
677
- {
678
- "inputs": [
679
- {
680
- "internalType": "address",
681
- "name": "holder",
682
- "type": "address"
683
- }
684
- ],
685
- "name": "pendingReward",
686
- "outputs": [
687
- {
688
- "internalType": "uint256",
689
- "name": "",
690
- "type": "uint256"
691
- }
692
- ],
693
- "stateMutability": "view",
694
- "type": "function"
695
- },
696
- {
697
- "inputs": [],
698
- "name": "rampEndsAtBlock",
278
+ "name": "creator",
699
279
  "outputs": [
700
280
  {
701
- "internalType": "uint256",
281
+ "internalType": "address",
702
282
  "name": "",
703
- "type": "uint256"
283
+ "type": "address"
704
284
  }
705
285
  ],
706
286
  "stateMutability": "view",
707
287
  "type": "function"
708
288
  },
709
289
  {
710
- "inputs": [
290
+ "inputs": [],
291
+ "name": "decimals",
292
+ "outputs": [
711
293
  {
712
- "internalType": "address",
294
+ "internalType": "uint8",
713
295
  "name": "",
714
- "type": "address"
296
+ "type": "uint8"
715
297
  }
716
298
  ],
717
- "name": "rewardExcluded",
299
+ "stateMutability": "view",
300
+ "type": "function"
301
+ },
302
+ {
303
+ "inputs": [],
304
+ "name": "distributor",
718
305
  "outputs": [
719
306
  {
720
- "internalType": "bool",
307
+ "internalType": "address",
721
308
  "name": "",
722
- "type": "bool"
309
+ "type": "address"
723
310
  }
724
311
  ],
725
312
  "stateMutability": "view",
@@ -727,7 +314,7 @@ exports.LaunchToken_jsonAbi = [
727
314
  },
728
315
  {
729
316
  "inputs": [],
730
- "name": "rewardSource",
317
+ "name": "factory",
731
318
  "outputs": [
732
319
  {
733
320
  "internalType": "address",
@@ -740,28 +327,28 @@ exports.LaunchToken_jsonAbi = [
740
327
  },
741
328
  {
742
329
  "inputs": [],
743
- "name": "rewardToken",
330
+ "name": "metadataUri",
744
331
  "outputs": [
745
332
  {
746
- "internalType": "address",
333
+ "internalType": "string",
747
334
  "name": "",
748
- "type": "address"
335
+ "type": "string"
749
336
  }
750
337
  ],
751
338
  "stateMutability": "view",
752
339
  "type": "function"
753
340
  },
754
341
  {
755
- "inputs": [
342
+ "inputs": [],
343
+ "name": "name",
344
+ "outputs": [
756
345
  {
757
- "internalType": "address",
758
- "name": "market_",
759
- "type": "address"
346
+ "internalType": "string",
347
+ "name": "",
348
+ "type": "string"
760
349
  }
761
350
  ],
762
- "name": "setMarket",
763
- "outputs": [],
764
- "stateMutability": "nonpayable",
351
+ "stateMutability": "view",
765
352
  "type": "function"
766
353
  },
767
354
  {
@@ -842,29 +429,6 @@ exports.LaunchToken_jsonAbi = [
842
429
  ],
843
430
  "stateMutability": "nonpayable",
844
431
  "type": "function"
845
- },
846
- {
847
- "inputs": [
848
- {
849
- "internalType": "address",
850
- "name": "",
851
- "type": "address"
852
- }
853
- ],
854
- "name": "unclaimed",
855
- "outputs": [
856
- {
857
- "internalType": "uint256",
858
- "name": "",
859
- "type": "uint256"
860
- }
861
- ],
862
- "stateMutability": "view",
863
- "type": "function"
864
- },
865
- {
866
- "stateMutability": "payable",
867
- "type": "receive"
868
432
  }
869
433
  ];
870
434
  /**
@@ -925,39 +489,11 @@ class LaunchToken_json {
925
489
  return this.contract;
926
490
  }
927
491
  /**
928
- * GUARD_BLOCKS
929
- * view
930
- */
931
- async GUARD_BLOCKS() {
932
- return this.contract.read.GUARD_BLOCKS();
933
- }
934
- /**
935
- * MAX_BUY
936
- * view
937
- */
938
- async MAX_BUY() {
939
- return this.contract.read.MAX_BUY();
940
- }
941
- /**
942
- * MAX_HOLD
943
- * view
944
- */
945
- async MAX_HOLD() {
946
- return this.contract.read.MAX_HOLD();
947
- }
948
- /**
949
- * RAMP_BLOCKS
950
- * view
951
- */
952
- async RAMP_BLOCKS() {
953
- return this.contract.read.RAMP_BLOCKS();
954
- }
955
- /**
956
- * RAMP_START
492
+ * DESCRIPTION
957
493
  * view
958
494
  */
959
- async RAMP_START() {
960
- return this.contract.read.RAMP_START();
495
+ async DESCRIPTION() {
496
+ return this.contract.read.DESCRIPTION();
961
497
  }
962
498
  /**
963
499
  * TOTAL_SUPPLY
@@ -966,13 +502,6 @@ class LaunchToken_json {
966
502
  async TOTAL_SUPPLY() {
967
503
  return this.contract.read.TOTAL_SUPPLY();
968
504
  }
969
- /**
970
- * accRewardPerToken
971
- * view
972
- */
973
- async accRewardPerToken() {
974
- return this.contract.read.accRewardPerToken();
975
- }
976
505
  /**
977
506
  * allowance
978
507
  * view
@@ -987,13 +516,6 @@ class LaunchToken_json {
987
516
  async balanceOf(account) {
988
517
  return this.contract.read.balanceOf([account]);
989
518
  }
990
- /**
991
- * carriedReward
992
- * view
993
- */
994
- async carriedReward() {
995
- return this.contract.read.carriedReward();
996
- }
997
519
  /**
998
520
  * creator
999
521
  * view
@@ -1001,13 +523,6 @@ class LaunchToken_json {
1001
523
  async creator() {
1002
524
  return this.contract.read.creator();
1003
525
  }
1004
- /**
1005
- * currentBuyCap
1006
- * view
1007
- */
1008
- async currentBuyCap() {
1009
- return this.contract.read.currentBuyCap();
1010
- }
1011
526
  /**
1012
527
  * decimals
1013
528
  * view
@@ -1016,11 +531,11 @@ class LaunchToken_json {
1016
531
  return this.contract.read.decimals();
1017
532
  }
1018
533
  /**
1019
- * eligibleSupply
534
+ * distributor
1020
535
  * view
1021
536
  */
1022
- async eligibleSupply() {
1023
- return this.contract.read.eligibleSupply();
537
+ async distributor() {
538
+ return this.contract.read.distributor();
1024
539
  }
1025
540
  /**
1026
541
  * factory
@@ -1030,46 +545,11 @@ class LaunchToken_json {
1030
545
  return this.contract.read.factory();
1031
546
  }
1032
547
  /**
1033
- * guardActive
1034
- * view
1035
- */
1036
- async guardActive() {
1037
- return this.contract.read.guardActive();
1038
- }
1039
- /**
1040
- * guardEndsAtBlock
1041
- * view
1042
- */
1043
- async guardEndsAtBlock() {
1044
- return this.contract.read.guardEndsAtBlock();
1045
- }
1046
- /**
1047
- * holderFeesEnabled
1048
- * view
1049
- */
1050
- async holderFeesEnabled() {
1051
- return this.contract.read.holderFeesEnabled();
1052
- }
1053
- /**
1054
- * launchBlock
1055
- * view
1056
- */
1057
- async launchBlock() {
1058
- return this.contract.read.launchBlock();
1059
- }
1060
- /**
1061
- * market
1062
- * view
1063
- */
1064
- async market() {
1065
- return this.contract.read.market();
1066
- }
1067
- /**
1068
- * metadataURI
548
+ * metadataUri
1069
549
  * view
1070
550
  */
1071
- async metadataURI() {
1072
- return this.contract.read.metadataURI();
551
+ async metadataUri() {
552
+ return this.contract.read.metadataUri();
1073
553
  }
1074
554
  /**
1075
555
  * name
@@ -1078,41 +558,6 @@ class LaunchToken_json {
1078
558
  async name() {
1079
559
  return this.contract.read.name();
1080
560
  }
1081
- /**
1082
- * pendingReward
1083
- * view
1084
- */
1085
- async pendingReward(holder) {
1086
- return this.contract.read.pendingReward([holder]);
1087
- }
1088
- /**
1089
- * rampEndsAtBlock
1090
- * view
1091
- */
1092
- async rampEndsAtBlock() {
1093
- return this.contract.read.rampEndsAtBlock();
1094
- }
1095
- /**
1096
- * rewardExcluded
1097
- * view
1098
- */
1099
- async rewardExcluded(arg0) {
1100
- return this.contract.read.rewardExcluded([arg0]);
1101
- }
1102
- /**
1103
- * rewardSource
1104
- * view
1105
- */
1106
- async rewardSource() {
1107
- return this.contract.read.rewardSource();
1108
- }
1109
- /**
1110
- * rewardToken
1111
- * view
1112
- */
1113
- async rewardToken() {
1114
- return this.contract.read.rewardToken();
1115
- }
1116
561
  /**
1117
562
  * symbol
1118
563
  * view
@@ -1127,13 +572,6 @@ class LaunchToken_json {
1127
572
  async totalSupply() {
1128
573
  return this.contract.read.totalSupply();
1129
574
  }
1130
- /**
1131
- * unclaimed
1132
- * view
1133
- */
1134
- async unclaimed(arg0) {
1135
- return this.contract.read.unclaimed([arg0]);
1136
- }
1137
575
  /**
1138
576
  * approve
1139
577
  * nonpayable
@@ -1145,61 +583,6 @@ class LaunchToken_json {
1145
583
  }
1146
584
  return this.contract.write.approve([spender, value], options);
1147
585
  }
1148
- /**
1149
- * claim
1150
- * nonpayable
1151
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1152
- */
1153
- async claim(options) {
1154
- if (!this.contract.write) {
1155
- throw new Error('Wallet client is required for write operations');
1156
- }
1157
- return this.contract.write.claim(options);
1158
- }
1159
- /**
1160
- * enableHolderFees
1161
- * nonpayable
1162
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1163
- */
1164
- async enableHolderFees(rewardToken_, rewardSource_, options) {
1165
- if (!this.contract.write) {
1166
- throw new Error('Wallet client is required for write operations');
1167
- }
1168
- return this.contract.write.enableHolderFees([rewardToken_, rewardSource_], options);
1169
- }
1170
- /**
1171
- * initialize
1172
- * nonpayable
1173
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1174
- */
1175
- async initialize(name_, symbol_, metadataURI_, creator_, options) {
1176
- if (!this.contract.write) {
1177
- throw new Error('Wallet client is required for write operations');
1178
- }
1179
- return this.contract.write.initialize([name_, symbol_, metadataURI_, creator_], options);
1180
- }
1181
- /**
1182
- * notifyReward
1183
- * payable
1184
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1185
- */
1186
- async notifyReward(amount, options) {
1187
- if (!this.contract.write) {
1188
- throw new Error('Wallet client is required for write operations');
1189
- }
1190
- return this.contract.write.notifyReward([amount], options);
1191
- }
1192
- /**
1193
- * setMarket
1194
- * nonpayable
1195
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1196
- */
1197
- async setMarket(market_, options) {
1198
- if (!this.contract.write) {
1199
- throw new Error('Wallet client is required for write operations');
1200
- }
1201
- return this.contract.write.setMarket([market_], options);
1202
- }
1203
586
  /**
1204
587
  * transfer
1205
588
  * nonpayable
@@ -1244,46 +627,6 @@ class LaunchToken_json {
1244
627
  async approve(spender, value, options) {
1245
628
  return contract.simulate.approve([spender, value], options);
1246
629
  },
1247
- /**
1248
- * Simulate claim
1249
- * Returns gas estimate and result without sending transaction
1250
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1251
- */
1252
- async claim(options) {
1253
- return contract.simulate.claim(options);
1254
- },
1255
- /**
1256
- * Simulate enableHolderFees
1257
- * Returns gas estimate and result without sending transaction
1258
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1259
- */
1260
- async enableHolderFees(rewardToken_, rewardSource_, options) {
1261
- return contract.simulate.enableHolderFees([rewardToken_, rewardSource_], options);
1262
- },
1263
- /**
1264
- * Simulate initialize
1265
- * Returns gas estimate and result without sending transaction
1266
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1267
- */
1268
- async initialize(name_, symbol_, metadataURI_, creator_, options) {
1269
- return contract.simulate.initialize([name_, symbol_, metadataURI_, creator_], options);
1270
- },
1271
- /**
1272
- * Simulate notifyReward
1273
- * Returns gas estimate and result without sending transaction
1274
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1275
- */
1276
- async notifyReward(amount, options) {
1277
- return contract.simulate.notifyReward([amount], options);
1278
- },
1279
- /**
1280
- * Simulate setMarket
1281
- * Returns gas estimate and result without sending transaction
1282
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1283
- */
1284
- async setMarket(market_, options) {
1285
- return contract.simulate.setMarket([market_], options);
1286
- },
1287
630
  /**
1288
631
  * Simulate transfer
1289
632
  * Returns gas estimate and result without sending transaction
@@ -1335,80 +678,6 @@ class LaunchToken_json {
1335
678
  },
1336
679
  });
1337
680
  },
1338
- /**
1339
- * Watch HolderFeesEnabled events
1340
- * @param callback Function to call when event is emitted
1341
- * @param filter Optional filter for indexed parameters
1342
- * @returns Unwatch function to stop listening
1343
- */
1344
- HolderFeesEnabled: (callback, filter) => {
1345
- return this.publicClient.watchContractEvent({
1346
- address: this.contractAddress,
1347
- abi: exports.LaunchToken_jsonAbi,
1348
- eventName: 'HolderFeesEnabled',
1349
- args: filter,
1350
- onLogs: (logs) => {
1351
- logs.forEach((log) => {
1352
- callback(log.args);
1353
- });
1354
- },
1355
- });
1356
- },
1357
- /**
1358
- * Watch RewardAdded events
1359
- * @param callback Function to call when event is emitted
1360
- * @param filter Optional filter for indexed parameters
1361
- * @returns Unwatch function to stop listening
1362
- */
1363
- RewardAdded: (callback) => {
1364
- return this.publicClient.watchContractEvent({
1365
- address: this.contractAddress,
1366
- abi: exports.LaunchToken_jsonAbi,
1367
- eventName: 'RewardAdded',
1368
- onLogs: (logs) => {
1369
- logs.forEach((log) => {
1370
- callback(log.args);
1371
- });
1372
- },
1373
- });
1374
- },
1375
- /**
1376
- * Watch RewardCarried events
1377
- * @param callback Function to call when event is emitted
1378
- * @param filter Optional filter for indexed parameters
1379
- * @returns Unwatch function to stop listening
1380
- */
1381
- RewardCarried: (callback) => {
1382
- return this.publicClient.watchContractEvent({
1383
- address: this.contractAddress,
1384
- abi: exports.LaunchToken_jsonAbi,
1385
- eventName: 'RewardCarried',
1386
- onLogs: (logs) => {
1387
- logs.forEach((log) => {
1388
- callback(log.args);
1389
- });
1390
- },
1391
- });
1392
- },
1393
- /**
1394
- * Watch RewardClaimed events
1395
- * @param callback Function to call when event is emitted
1396
- * @param filter Optional filter for indexed parameters
1397
- * @returns Unwatch function to stop listening
1398
- */
1399
- RewardClaimed: (callback, filter) => {
1400
- return this.publicClient.watchContractEvent({
1401
- address: this.contractAddress,
1402
- abi: exports.LaunchToken_jsonAbi,
1403
- eventName: 'RewardClaimed',
1404
- args: filter,
1405
- onLogs: (logs) => {
1406
- logs.forEach((log) => {
1407
- callback(log.args);
1408
- });
1409
- },
1410
- });
1411
- },
1412
681
  /**
1413
682
  * Watch Transfer events
1414
683
  * @param callback Function to call when event is emitted