@gitmyabi/zc 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,1239 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * LaunchToken_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const LaunchToken_jsonAbi: readonly [{
8
+ readonly inputs: readonly [];
9
+ readonly stateMutability: "nonpayable";
10
+ readonly type: "constructor";
11
+ }, {
12
+ readonly inputs: readonly [];
13
+ readonly name: "AlreadyInitialised";
14
+ readonly type: "error";
15
+ }, {
16
+ readonly inputs: readonly [];
17
+ readonly name: "BuyCapExceeded";
18
+ readonly type: "error";
19
+ }, {
20
+ readonly inputs: readonly [];
21
+ readonly name: "CreatorOnlyBlock";
22
+ readonly type: "error";
23
+ }, {
24
+ readonly inputs: readonly [{
25
+ readonly internalType: "address";
26
+ readonly name: "spender";
27
+ readonly type: "address";
28
+ }, {
29
+ readonly internalType: "uint256";
30
+ readonly name: "allowance";
31
+ readonly type: "uint256";
32
+ }, {
33
+ readonly internalType: "uint256";
34
+ readonly name: "needed";
35
+ readonly type: "uint256";
36
+ }];
37
+ readonly name: "ERC20InsufficientAllowance";
38
+ readonly type: "error";
39
+ }, {
40
+ readonly inputs: readonly [{
41
+ readonly internalType: "address";
42
+ readonly name: "sender";
43
+ readonly type: "address";
44
+ }, {
45
+ readonly internalType: "uint256";
46
+ readonly name: "balance";
47
+ readonly type: "uint256";
48
+ }, {
49
+ readonly internalType: "uint256";
50
+ readonly name: "needed";
51
+ readonly type: "uint256";
52
+ }];
53
+ readonly name: "ERC20InsufficientBalance";
54
+ readonly type: "error";
55
+ }, {
56
+ readonly inputs: readonly [{
57
+ readonly internalType: "address";
58
+ readonly name: "approver";
59
+ readonly type: "address";
60
+ }];
61
+ readonly name: "ERC20InvalidApprover";
62
+ readonly type: "error";
63
+ }, {
64
+ readonly inputs: readonly [{
65
+ readonly internalType: "address";
66
+ readonly name: "receiver";
67
+ readonly type: "address";
68
+ }];
69
+ readonly name: "ERC20InvalidReceiver";
70
+ readonly type: "error";
71
+ }, {
72
+ readonly inputs: readonly [{
73
+ readonly internalType: "address";
74
+ readonly name: "sender";
75
+ readonly type: "address";
76
+ }];
77
+ readonly name: "ERC20InvalidSender";
78
+ readonly type: "error";
79
+ }, {
80
+ readonly inputs: readonly [{
81
+ readonly internalType: "address";
82
+ readonly name: "spender";
83
+ readonly type: "address";
84
+ }];
85
+ readonly name: "ERC20InvalidSpender";
86
+ readonly type: "error";
87
+ }, {
88
+ readonly inputs: readonly [];
89
+ readonly name: "HoldCapExceeded";
90
+ readonly type: "error";
91
+ }, {
92
+ readonly inputs: readonly [];
93
+ readonly name: "MarketAlreadySet";
94
+ readonly type: "error";
95
+ }, {
96
+ readonly inputs: readonly [];
97
+ readonly name: "NoEligibleSupply";
98
+ readonly type: "error";
99
+ }, {
100
+ readonly inputs: readonly [];
101
+ readonly name: "NothingToClaim";
102
+ readonly type: "error";
103
+ }, {
104
+ readonly inputs: readonly [];
105
+ readonly name: "OnlyFactory";
106
+ readonly type: "error";
107
+ }, {
108
+ readonly inputs: readonly [];
109
+ readonly name: "RewardTransferFailed";
110
+ readonly type: "error";
111
+ }, {
112
+ readonly inputs: readonly [{
113
+ readonly internalType: "address";
114
+ readonly name: "token";
115
+ readonly type: "address";
116
+ }];
117
+ readonly name: "SafeERC20FailedOperation";
118
+ readonly type: "error";
119
+ }, {
120
+ readonly anonymous: false;
121
+ readonly inputs: readonly [{
122
+ readonly indexed: true;
123
+ readonly internalType: "address";
124
+ readonly name: "owner";
125
+ readonly type: "address";
126
+ }, {
127
+ readonly indexed: true;
128
+ readonly internalType: "address";
129
+ readonly name: "spender";
130
+ readonly type: "address";
131
+ }, {
132
+ readonly indexed: false;
133
+ readonly internalType: "uint256";
134
+ readonly name: "value";
135
+ readonly type: "uint256";
136
+ }];
137
+ readonly name: "Approval";
138
+ readonly type: "event";
139
+ }, {
140
+ readonly anonymous: false;
141
+ readonly inputs: readonly [{
142
+ readonly indexed: true;
143
+ readonly internalType: "address";
144
+ readonly name: "rewardToken";
145
+ readonly type: "address";
146
+ }];
147
+ readonly name: "HolderFeesEnabled";
148
+ readonly type: "event";
149
+ }, {
150
+ readonly anonymous: false;
151
+ readonly inputs: readonly [{
152
+ readonly indexed: false;
153
+ readonly internalType: "uint256";
154
+ readonly name: "amount";
155
+ readonly type: "uint256";
156
+ }, {
157
+ readonly indexed: false;
158
+ readonly internalType: "uint256";
159
+ readonly name: "accRewardPerToken";
160
+ readonly type: "uint256";
161
+ }];
162
+ readonly name: "RewardAdded";
163
+ readonly type: "event";
164
+ }, {
165
+ readonly anonymous: false;
166
+ readonly inputs: readonly [{
167
+ readonly indexed: false;
168
+ readonly internalType: "uint256";
169
+ readonly name: "amount";
170
+ readonly type: "uint256";
171
+ }, {
172
+ readonly indexed: false;
173
+ readonly internalType: "uint256";
174
+ readonly name: "totalCarried";
175
+ readonly type: "uint256";
176
+ }];
177
+ readonly name: "RewardCarried";
178
+ readonly type: "event";
179
+ }, {
180
+ readonly anonymous: false;
181
+ readonly inputs: readonly [{
182
+ readonly indexed: true;
183
+ readonly internalType: "address";
184
+ readonly name: "holder";
185
+ readonly type: "address";
186
+ }, {
187
+ readonly indexed: false;
188
+ readonly internalType: "uint256";
189
+ readonly name: "amount";
190
+ readonly type: "uint256";
191
+ }];
192
+ readonly name: "RewardClaimed";
193
+ readonly type: "event";
194
+ }, {
195
+ readonly anonymous: false;
196
+ readonly inputs: readonly [{
197
+ readonly indexed: true;
198
+ readonly internalType: "address";
199
+ readonly name: "from";
200
+ readonly type: "address";
201
+ }, {
202
+ readonly indexed: true;
203
+ readonly internalType: "address";
204
+ readonly name: "to";
205
+ readonly type: "address";
206
+ }, {
207
+ readonly indexed: false;
208
+ readonly internalType: "uint256";
209
+ readonly name: "value";
210
+ readonly type: "uint256";
211
+ }];
212
+ readonly name: "Transfer";
213
+ readonly type: "event";
214
+ }, {
215
+ readonly inputs: readonly [];
216
+ readonly name: "GUARD_BLOCKS";
217
+ readonly outputs: readonly [{
218
+ readonly internalType: "uint256";
219
+ readonly name: "";
220
+ readonly type: "uint256";
221
+ }];
222
+ readonly stateMutability: "view";
223
+ readonly type: "function";
224
+ }, {
225
+ readonly inputs: readonly [];
226
+ readonly name: "MAX_BUY";
227
+ readonly outputs: readonly [{
228
+ readonly internalType: "uint256";
229
+ readonly name: "";
230
+ readonly type: "uint256";
231
+ }];
232
+ readonly stateMutability: "view";
233
+ readonly type: "function";
234
+ }, {
235
+ readonly inputs: readonly [];
236
+ readonly name: "MAX_HOLD";
237
+ readonly outputs: readonly [{
238
+ readonly internalType: "uint256";
239
+ readonly name: "";
240
+ readonly type: "uint256";
241
+ }];
242
+ readonly stateMutability: "view";
243
+ readonly type: "function";
244
+ }, {
245
+ readonly inputs: readonly [];
246
+ readonly name: "RAMP_BLOCKS";
247
+ readonly outputs: readonly [{
248
+ readonly internalType: "uint256";
249
+ readonly name: "";
250
+ readonly type: "uint256";
251
+ }];
252
+ readonly stateMutability: "view";
253
+ readonly type: "function";
254
+ }, {
255
+ readonly inputs: readonly [];
256
+ readonly name: "RAMP_START";
257
+ readonly outputs: readonly [{
258
+ readonly internalType: "uint256";
259
+ readonly name: "";
260
+ readonly type: "uint256";
261
+ }];
262
+ readonly stateMutability: "view";
263
+ readonly type: "function";
264
+ }, {
265
+ readonly inputs: readonly [];
266
+ readonly name: "TOTAL_SUPPLY";
267
+ readonly outputs: readonly [{
268
+ readonly internalType: "uint256";
269
+ readonly name: "";
270
+ readonly type: "uint256";
271
+ }];
272
+ readonly stateMutability: "view";
273
+ readonly type: "function";
274
+ }, {
275
+ readonly inputs: readonly [];
276
+ readonly name: "accRewardPerToken";
277
+ readonly outputs: readonly [{
278
+ readonly internalType: "uint256";
279
+ readonly name: "";
280
+ readonly type: "uint256";
281
+ }];
282
+ readonly stateMutability: "view";
283
+ readonly type: "function";
284
+ }, {
285
+ readonly inputs: readonly [{
286
+ readonly internalType: "address";
287
+ readonly name: "owner";
288
+ readonly type: "address";
289
+ }, {
290
+ readonly internalType: "address";
291
+ readonly name: "spender";
292
+ readonly type: "address";
293
+ }];
294
+ readonly name: "allowance";
295
+ readonly outputs: readonly [{
296
+ readonly internalType: "uint256";
297
+ readonly name: "";
298
+ readonly type: "uint256";
299
+ }];
300
+ readonly stateMutability: "view";
301
+ readonly type: "function";
302
+ }, {
303
+ readonly inputs: readonly [{
304
+ readonly internalType: "address";
305
+ readonly name: "spender";
306
+ readonly type: "address";
307
+ }, {
308
+ readonly internalType: "uint256";
309
+ readonly name: "value";
310
+ readonly type: "uint256";
311
+ }];
312
+ readonly name: "approve";
313
+ readonly outputs: readonly [{
314
+ readonly internalType: "bool";
315
+ readonly name: "";
316
+ readonly type: "bool";
317
+ }];
318
+ readonly stateMutability: "nonpayable";
319
+ readonly type: "function";
320
+ }, {
321
+ readonly inputs: readonly [{
322
+ readonly internalType: "address";
323
+ readonly name: "account";
324
+ readonly type: "address";
325
+ }];
326
+ readonly name: "balanceOf";
327
+ readonly outputs: readonly [{
328
+ readonly internalType: "uint256";
329
+ readonly name: "";
330
+ readonly type: "uint256";
331
+ }];
332
+ readonly stateMutability: "view";
333
+ readonly type: "function";
334
+ }, {
335
+ readonly inputs: readonly [];
336
+ readonly name: "carriedReward";
337
+ readonly outputs: readonly [{
338
+ readonly internalType: "uint256";
339
+ readonly name: "";
340
+ readonly type: "uint256";
341
+ }];
342
+ readonly stateMutability: "view";
343
+ readonly type: "function";
344
+ }, {
345
+ readonly inputs: readonly [];
346
+ readonly name: "claim";
347
+ readonly outputs: readonly [{
348
+ readonly internalType: "uint256";
349
+ readonly name: "amount";
350
+ readonly type: "uint256";
351
+ }];
352
+ readonly stateMutability: "nonpayable";
353
+ readonly type: "function";
354
+ }, {
355
+ readonly inputs: readonly [];
356
+ readonly name: "creator";
357
+ readonly outputs: readonly [{
358
+ readonly internalType: "address";
359
+ readonly name: "";
360
+ readonly type: "address";
361
+ }];
362
+ readonly stateMutability: "view";
363
+ readonly type: "function";
364
+ }, {
365
+ readonly inputs: readonly [];
366
+ readonly name: "currentBuyCap";
367
+ readonly outputs: readonly [{
368
+ readonly internalType: "uint256";
369
+ readonly name: "";
370
+ readonly type: "uint256";
371
+ }];
372
+ readonly stateMutability: "view";
373
+ readonly type: "function";
374
+ }, {
375
+ readonly inputs: readonly [];
376
+ readonly name: "decimals";
377
+ readonly outputs: readonly [{
378
+ readonly internalType: "uint8";
379
+ readonly name: "";
380
+ readonly type: "uint8";
381
+ }];
382
+ readonly stateMutability: "view";
383
+ readonly type: "function";
384
+ }, {
385
+ readonly inputs: readonly [];
386
+ readonly name: "eligibleSupply";
387
+ readonly outputs: readonly [{
388
+ readonly internalType: "uint256";
389
+ readonly name: "";
390
+ readonly type: "uint256";
391
+ }];
392
+ readonly stateMutability: "view";
393
+ readonly type: "function";
394
+ }, {
395
+ readonly inputs: readonly [{
396
+ readonly internalType: "address";
397
+ readonly name: "rewardToken_";
398
+ readonly type: "address";
399
+ }, {
400
+ readonly internalType: "address";
401
+ readonly name: "rewardSource_";
402
+ readonly type: "address";
403
+ }];
404
+ readonly name: "enableHolderFees";
405
+ readonly outputs: readonly [];
406
+ readonly stateMutability: "nonpayable";
407
+ readonly type: "function";
408
+ }, {
409
+ readonly inputs: readonly [];
410
+ readonly name: "factory";
411
+ readonly outputs: readonly [{
412
+ readonly internalType: "address";
413
+ readonly name: "";
414
+ readonly type: "address";
415
+ }];
416
+ readonly stateMutability: "view";
417
+ readonly type: "function";
418
+ }, {
419
+ readonly inputs: readonly [];
420
+ readonly name: "guardActive";
421
+ readonly outputs: readonly [{
422
+ readonly internalType: "bool";
423
+ readonly name: "";
424
+ readonly type: "bool";
425
+ }];
426
+ readonly stateMutability: "view";
427
+ readonly type: "function";
428
+ }, {
429
+ readonly inputs: readonly [];
430
+ readonly name: "guardEndsAtBlock";
431
+ readonly outputs: readonly [{
432
+ readonly internalType: "uint256";
433
+ readonly name: "";
434
+ readonly type: "uint256";
435
+ }];
436
+ readonly stateMutability: "view";
437
+ readonly type: "function";
438
+ }, {
439
+ readonly inputs: readonly [];
440
+ readonly name: "holderFeesEnabled";
441
+ readonly outputs: readonly [{
442
+ readonly internalType: "bool";
443
+ readonly name: "";
444
+ readonly type: "bool";
445
+ }];
446
+ readonly stateMutability: "view";
447
+ readonly type: "function";
448
+ }, {
449
+ readonly inputs: readonly [{
450
+ readonly internalType: "string";
451
+ readonly name: "name_";
452
+ readonly type: "string";
453
+ }, {
454
+ readonly internalType: "string";
455
+ readonly name: "symbol_";
456
+ readonly type: "string";
457
+ }, {
458
+ readonly internalType: "string";
459
+ readonly name: "metadataURI_";
460
+ readonly type: "string";
461
+ }, {
462
+ readonly internalType: "address";
463
+ readonly name: "creator_";
464
+ readonly type: "address";
465
+ }];
466
+ readonly name: "initialize";
467
+ readonly outputs: readonly [];
468
+ readonly stateMutability: "nonpayable";
469
+ readonly type: "function";
470
+ }, {
471
+ readonly inputs: readonly [];
472
+ readonly name: "launchBlock";
473
+ readonly outputs: readonly [{
474
+ readonly internalType: "uint256";
475
+ readonly name: "";
476
+ readonly type: "uint256";
477
+ }];
478
+ readonly stateMutability: "view";
479
+ readonly type: "function";
480
+ }, {
481
+ readonly inputs: readonly [];
482
+ readonly name: "market";
483
+ readonly outputs: readonly [{
484
+ readonly internalType: "address";
485
+ readonly name: "";
486
+ readonly type: "address";
487
+ }];
488
+ readonly stateMutability: "view";
489
+ readonly type: "function";
490
+ }, {
491
+ readonly inputs: readonly [];
492
+ readonly name: "metadataURI";
493
+ readonly outputs: readonly [{
494
+ readonly internalType: "string";
495
+ readonly name: "";
496
+ readonly type: "string";
497
+ }];
498
+ readonly stateMutability: "view";
499
+ readonly type: "function";
500
+ }, {
501
+ readonly inputs: readonly [];
502
+ readonly name: "name";
503
+ readonly outputs: readonly [{
504
+ readonly internalType: "string";
505
+ readonly name: "";
506
+ readonly type: "string";
507
+ }];
508
+ readonly stateMutability: "view";
509
+ readonly type: "function";
510
+ }, {
511
+ readonly inputs: readonly [{
512
+ readonly internalType: "uint256";
513
+ readonly name: "amount";
514
+ readonly type: "uint256";
515
+ }];
516
+ readonly name: "notifyReward";
517
+ readonly outputs: readonly [];
518
+ readonly stateMutability: "payable";
519
+ readonly type: "function";
520
+ }, {
521
+ readonly inputs: readonly [{
522
+ readonly internalType: "address";
523
+ readonly name: "holder";
524
+ readonly type: "address";
525
+ }];
526
+ readonly name: "pendingReward";
527
+ readonly outputs: readonly [{
528
+ readonly internalType: "uint256";
529
+ readonly name: "";
530
+ readonly type: "uint256";
531
+ }];
532
+ readonly stateMutability: "view";
533
+ readonly type: "function";
534
+ }, {
535
+ readonly inputs: readonly [];
536
+ readonly name: "rampEndsAtBlock";
537
+ readonly outputs: readonly [{
538
+ readonly internalType: "uint256";
539
+ readonly name: "";
540
+ readonly type: "uint256";
541
+ }];
542
+ readonly stateMutability: "view";
543
+ readonly type: "function";
544
+ }, {
545
+ readonly inputs: readonly [{
546
+ readonly internalType: "address";
547
+ readonly name: "";
548
+ readonly type: "address";
549
+ }];
550
+ readonly name: "rewardExcluded";
551
+ readonly outputs: readonly [{
552
+ readonly internalType: "bool";
553
+ readonly name: "";
554
+ readonly type: "bool";
555
+ }];
556
+ readonly stateMutability: "view";
557
+ readonly type: "function";
558
+ }, {
559
+ readonly inputs: readonly [];
560
+ readonly name: "rewardSource";
561
+ readonly outputs: readonly [{
562
+ readonly internalType: "address";
563
+ readonly name: "";
564
+ readonly type: "address";
565
+ }];
566
+ readonly stateMutability: "view";
567
+ readonly type: "function";
568
+ }, {
569
+ readonly inputs: readonly [];
570
+ readonly name: "rewardToken";
571
+ readonly outputs: readonly [{
572
+ readonly internalType: "address";
573
+ readonly name: "";
574
+ readonly type: "address";
575
+ }];
576
+ readonly stateMutability: "view";
577
+ readonly type: "function";
578
+ }, {
579
+ readonly inputs: readonly [{
580
+ readonly internalType: "address";
581
+ readonly name: "market_";
582
+ readonly type: "address";
583
+ }];
584
+ readonly name: "setMarket";
585
+ readonly outputs: readonly [];
586
+ readonly stateMutability: "nonpayable";
587
+ readonly type: "function";
588
+ }, {
589
+ readonly inputs: readonly [];
590
+ readonly name: "symbol";
591
+ readonly outputs: readonly [{
592
+ readonly internalType: "string";
593
+ readonly name: "";
594
+ readonly type: "string";
595
+ }];
596
+ readonly stateMutability: "view";
597
+ readonly type: "function";
598
+ }, {
599
+ readonly inputs: readonly [];
600
+ readonly name: "totalSupply";
601
+ readonly outputs: readonly [{
602
+ readonly internalType: "uint256";
603
+ readonly name: "";
604
+ readonly type: "uint256";
605
+ }];
606
+ readonly stateMutability: "view";
607
+ readonly type: "function";
608
+ }, {
609
+ readonly inputs: readonly [{
610
+ readonly internalType: "address";
611
+ readonly name: "to";
612
+ readonly type: "address";
613
+ }, {
614
+ readonly internalType: "uint256";
615
+ readonly name: "value";
616
+ readonly type: "uint256";
617
+ }];
618
+ readonly name: "transfer";
619
+ readonly outputs: readonly [{
620
+ readonly internalType: "bool";
621
+ readonly name: "";
622
+ readonly type: "bool";
623
+ }];
624
+ readonly stateMutability: "nonpayable";
625
+ readonly type: "function";
626
+ }, {
627
+ readonly inputs: readonly [{
628
+ readonly internalType: "address";
629
+ readonly name: "from";
630
+ readonly type: "address";
631
+ }, {
632
+ readonly internalType: "address";
633
+ readonly name: "to";
634
+ readonly type: "address";
635
+ }, {
636
+ readonly internalType: "uint256";
637
+ readonly name: "value";
638
+ readonly type: "uint256";
639
+ }];
640
+ readonly name: "transferFrom";
641
+ readonly outputs: readonly [{
642
+ readonly internalType: "bool";
643
+ readonly name: "";
644
+ readonly type: "bool";
645
+ }];
646
+ readonly stateMutability: "nonpayable";
647
+ readonly type: "function";
648
+ }, {
649
+ readonly inputs: readonly [{
650
+ readonly internalType: "address";
651
+ readonly name: "";
652
+ readonly type: "address";
653
+ }];
654
+ readonly name: "unclaimed";
655
+ readonly outputs: readonly [{
656
+ readonly internalType: "uint256";
657
+ readonly name: "";
658
+ readonly type: "uint256";
659
+ }];
660
+ readonly stateMutability: "view";
661
+ readonly type: "function";
662
+ }, {
663
+ readonly stateMutability: "payable";
664
+ readonly type: "receive";
665
+ }];
666
+ /**
667
+ * Type-safe ABI for LaunchToken_json
668
+ */
669
+ export type LaunchToken_jsonAbi = typeof LaunchToken_jsonAbi;
670
+ /**
671
+ * Contract instance type for LaunchToken_json
672
+ */
673
+ export type LaunchToken_jsonContract = any;
674
+ /**
675
+ * LaunchToken_json Contract Class
676
+ *
677
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
678
+ *
679
+ * @example
680
+ * ```typescript
681
+ * import { createPublicClient, createWalletClient, http } from 'viem';
682
+ * import { mainnet } from 'viem/chains';
683
+ * import { LaunchToken_json } from 'LaunchToken_json';
684
+ *
685
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
686
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
687
+ *
688
+ * const contract = new LaunchToken_json('0x...', { publicClient, walletClient });
689
+ *
690
+ * // Read functions
691
+ * const result = await contract.balanceOf('0x...');
692
+ *
693
+ * // Write functions
694
+ * const hash = await contract.transfer('0x...', 1000n);
695
+ *
696
+ * // Simulate transactions (dry-run)
697
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
698
+ * console.log('Gas estimate:', simulation.request.gas);
699
+ *
700
+ * // Watch events
701
+ * const unwatch = contract.watch.Transfer((event) => {
702
+ * console.log('Transfer event:', event);
703
+ * });
704
+ * ```
705
+ */
706
+ export declare class LaunchToken_json {
707
+ private contract;
708
+ private contractAddress;
709
+ private publicClient;
710
+ constructor(address: Address, clients: {
711
+ publicClient: PublicClient;
712
+ walletClient?: WalletClient;
713
+ });
714
+ /**
715
+ * Get the contract address
716
+ */
717
+ get address(): Address;
718
+ /**
719
+ * Get the underlying viem contract instance
720
+ */
721
+ getContract(): LaunchToken_jsonContract;
722
+ /**
723
+ * GUARD_BLOCKS
724
+ * view
725
+ */
726
+ GUARD_BLOCKS(): Promise<bigint>;
727
+ /**
728
+ * MAX_BUY
729
+ * view
730
+ */
731
+ MAX_BUY(): Promise<bigint>;
732
+ /**
733
+ * MAX_HOLD
734
+ * view
735
+ */
736
+ MAX_HOLD(): Promise<bigint>;
737
+ /**
738
+ * RAMP_BLOCKS
739
+ * view
740
+ */
741
+ RAMP_BLOCKS(): Promise<bigint>;
742
+ /**
743
+ * RAMP_START
744
+ * view
745
+ */
746
+ RAMP_START(): Promise<bigint>;
747
+ /**
748
+ * TOTAL_SUPPLY
749
+ * view
750
+ */
751
+ TOTAL_SUPPLY(): Promise<bigint>;
752
+ /**
753
+ * accRewardPerToken
754
+ * view
755
+ */
756
+ accRewardPerToken(): Promise<bigint>;
757
+ /**
758
+ * allowance
759
+ * view
760
+ */
761
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
762
+ /**
763
+ * balanceOf
764
+ * view
765
+ */
766
+ balanceOf(account: `0x${string}`): Promise<bigint>;
767
+ /**
768
+ * carriedReward
769
+ * view
770
+ */
771
+ carriedReward(): Promise<bigint>;
772
+ /**
773
+ * creator
774
+ * view
775
+ */
776
+ creator(): Promise<`0x${string}`>;
777
+ /**
778
+ * currentBuyCap
779
+ * view
780
+ */
781
+ currentBuyCap(): Promise<bigint>;
782
+ /**
783
+ * decimals
784
+ * view
785
+ */
786
+ decimals(): Promise<bigint>;
787
+ /**
788
+ * eligibleSupply
789
+ * view
790
+ */
791
+ eligibleSupply(): Promise<bigint>;
792
+ /**
793
+ * factory
794
+ * view
795
+ */
796
+ factory(): Promise<`0x${string}`>;
797
+ /**
798
+ * guardActive
799
+ * view
800
+ */
801
+ guardActive(): Promise<boolean>;
802
+ /**
803
+ * guardEndsAtBlock
804
+ * view
805
+ */
806
+ guardEndsAtBlock(): Promise<bigint>;
807
+ /**
808
+ * holderFeesEnabled
809
+ * view
810
+ */
811
+ holderFeesEnabled(): Promise<boolean>;
812
+ /**
813
+ * launchBlock
814
+ * view
815
+ */
816
+ launchBlock(): Promise<bigint>;
817
+ /**
818
+ * market
819
+ * view
820
+ */
821
+ market(): Promise<`0x${string}`>;
822
+ /**
823
+ * metadataURI
824
+ * view
825
+ */
826
+ metadataURI(): Promise<string>;
827
+ /**
828
+ * name
829
+ * view
830
+ */
831
+ name(): Promise<string>;
832
+ /**
833
+ * pendingReward
834
+ * view
835
+ */
836
+ pendingReward(holder: `0x${string}`): Promise<bigint>;
837
+ /**
838
+ * rampEndsAtBlock
839
+ * view
840
+ */
841
+ rampEndsAtBlock(): Promise<bigint>;
842
+ /**
843
+ * rewardExcluded
844
+ * view
845
+ */
846
+ rewardExcluded(arg0: `0x${string}`): Promise<boolean>;
847
+ /**
848
+ * rewardSource
849
+ * view
850
+ */
851
+ rewardSource(): Promise<`0x${string}`>;
852
+ /**
853
+ * rewardToken
854
+ * view
855
+ */
856
+ rewardToken(): Promise<`0x${string}`>;
857
+ /**
858
+ * symbol
859
+ * view
860
+ */
861
+ symbol(): Promise<string>;
862
+ /**
863
+ * totalSupply
864
+ * view
865
+ */
866
+ totalSupply(): Promise<bigint>;
867
+ /**
868
+ * unclaimed
869
+ * view
870
+ */
871
+ unclaimed(arg0: `0x${string}`): Promise<bigint>;
872
+ /**
873
+ * approve
874
+ * nonpayable
875
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
876
+ */
877
+ approve(spender: `0x${string}`, value: bigint, options?: {
878
+ accessList?: import('viem').AccessList;
879
+ authorizationList?: import('viem').AuthorizationList;
880
+ chain?: import('viem').Chain | null;
881
+ dataSuffix?: `0x${string}`;
882
+ gas?: bigint;
883
+ gasPrice?: bigint;
884
+ maxFeePerGas?: bigint;
885
+ maxPriorityFeePerGas?: bigint;
886
+ nonce?: number;
887
+ value?: bigint;
888
+ }): Promise<`0x${string}`>;
889
+ /**
890
+ * claim
891
+ * nonpayable
892
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
893
+ */
894
+ claim(options?: {
895
+ accessList?: import('viem').AccessList;
896
+ authorizationList?: import('viem').AuthorizationList;
897
+ chain?: import('viem').Chain | null;
898
+ dataSuffix?: `0x${string}`;
899
+ gas?: bigint;
900
+ gasPrice?: bigint;
901
+ maxFeePerGas?: bigint;
902
+ maxPriorityFeePerGas?: bigint;
903
+ nonce?: number;
904
+ value?: bigint;
905
+ }): Promise<`0x${string}`>;
906
+ /**
907
+ * enableHolderFees
908
+ * nonpayable
909
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
910
+ */
911
+ enableHolderFees(rewardToken_: `0x${string}`, rewardSource_: `0x${string}`, options?: {
912
+ accessList?: import('viem').AccessList;
913
+ authorizationList?: import('viem').AuthorizationList;
914
+ chain?: import('viem').Chain | null;
915
+ dataSuffix?: `0x${string}`;
916
+ gas?: bigint;
917
+ gasPrice?: bigint;
918
+ maxFeePerGas?: bigint;
919
+ maxPriorityFeePerGas?: bigint;
920
+ nonce?: number;
921
+ value?: bigint;
922
+ }): Promise<`0x${string}`>;
923
+ /**
924
+ * initialize
925
+ * nonpayable
926
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
927
+ */
928
+ initialize(name_: string, symbol_: string, metadataURI_: string, creator_: `0x${string}`, options?: {
929
+ accessList?: import('viem').AccessList;
930
+ authorizationList?: import('viem').AuthorizationList;
931
+ chain?: import('viem').Chain | null;
932
+ dataSuffix?: `0x${string}`;
933
+ gas?: bigint;
934
+ gasPrice?: bigint;
935
+ maxFeePerGas?: bigint;
936
+ maxPriorityFeePerGas?: bigint;
937
+ nonce?: number;
938
+ value?: bigint;
939
+ }): Promise<`0x${string}`>;
940
+ /**
941
+ * notifyReward
942
+ * payable
943
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
944
+ */
945
+ notifyReward(amount: bigint, options?: {
946
+ accessList?: import('viem').AccessList;
947
+ authorizationList?: import('viem').AuthorizationList;
948
+ chain?: import('viem').Chain | null;
949
+ dataSuffix?: `0x${string}`;
950
+ gas?: bigint;
951
+ gasPrice?: bigint;
952
+ maxFeePerGas?: bigint;
953
+ maxPriorityFeePerGas?: bigint;
954
+ nonce?: number;
955
+ value?: bigint;
956
+ }): Promise<`0x${string}`>;
957
+ /**
958
+ * setMarket
959
+ * nonpayable
960
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
961
+ */
962
+ setMarket(market_: `0x${string}`, options?: {
963
+ accessList?: import('viem').AccessList;
964
+ authorizationList?: import('viem').AuthorizationList;
965
+ chain?: import('viem').Chain | null;
966
+ dataSuffix?: `0x${string}`;
967
+ gas?: bigint;
968
+ gasPrice?: bigint;
969
+ maxFeePerGas?: bigint;
970
+ maxPriorityFeePerGas?: bigint;
971
+ nonce?: number;
972
+ value?: bigint;
973
+ }): Promise<`0x${string}`>;
974
+ /**
975
+ * transfer
976
+ * nonpayable
977
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
978
+ */
979
+ transfer(to: `0x${string}`, value: bigint, options?: {
980
+ accessList?: import('viem').AccessList;
981
+ authorizationList?: import('viem').AuthorizationList;
982
+ chain?: import('viem').Chain | null;
983
+ dataSuffix?: `0x${string}`;
984
+ gas?: bigint;
985
+ gasPrice?: bigint;
986
+ maxFeePerGas?: bigint;
987
+ maxPriorityFeePerGas?: bigint;
988
+ nonce?: number;
989
+ value?: bigint;
990
+ }): Promise<`0x${string}`>;
991
+ /**
992
+ * transferFrom
993
+ * nonpayable
994
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
995
+ */
996
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
997
+ accessList?: import('viem').AccessList;
998
+ authorizationList?: import('viem').AuthorizationList;
999
+ chain?: import('viem').Chain | null;
1000
+ dataSuffix?: `0x${string}`;
1001
+ gas?: bigint;
1002
+ gasPrice?: bigint;
1003
+ maxFeePerGas?: bigint;
1004
+ maxPriorityFeePerGas?: bigint;
1005
+ nonce?: number;
1006
+ value?: bigint;
1007
+ }): Promise<`0x${string}`>;
1008
+ /**
1009
+ * Simulate contract write operations (dry-run without sending transaction)
1010
+ *
1011
+ * @example
1012
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1013
+ * console.log('Gas estimate:', result.request.gas);
1014
+ * console.log('Would succeed:', result.result);
1015
+ */
1016
+ get simulate(): {
1017
+ /**
1018
+ * Simulate approve
1019
+ * Returns gas estimate and result without sending transaction
1020
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1021
+ */
1022
+ approve(spender: `0x${string}`, value: bigint, options?: {
1023
+ accessList?: import("viem").AccessList;
1024
+ authorizationList?: import("viem").AuthorizationList;
1025
+ chain?: import("viem").Chain | null;
1026
+ dataSuffix?: `0x${string}`;
1027
+ gas?: bigint;
1028
+ gasPrice?: bigint;
1029
+ maxFeePerGas?: bigint;
1030
+ maxPriorityFeePerGas?: bigint;
1031
+ nonce?: number;
1032
+ value?: bigint;
1033
+ }): Promise<boolean>;
1034
+ /**
1035
+ * Simulate claim
1036
+ * Returns gas estimate and result without sending transaction
1037
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1038
+ */
1039
+ claim(options?: {
1040
+ accessList?: import("viem").AccessList;
1041
+ authorizationList?: import("viem").AuthorizationList;
1042
+ chain?: import("viem").Chain | null;
1043
+ dataSuffix?: `0x${string}`;
1044
+ gas?: bigint;
1045
+ gasPrice?: bigint;
1046
+ maxFeePerGas?: bigint;
1047
+ maxPriorityFeePerGas?: bigint;
1048
+ nonce?: number;
1049
+ value?: bigint;
1050
+ }): Promise<bigint>;
1051
+ /**
1052
+ * Simulate enableHolderFees
1053
+ * Returns gas estimate and result without sending transaction
1054
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1055
+ */
1056
+ enableHolderFees(rewardToken_: `0x${string}`, rewardSource_: `0x${string}`, options?: {
1057
+ accessList?: import("viem").AccessList;
1058
+ authorizationList?: import("viem").AuthorizationList;
1059
+ chain?: import("viem").Chain | null;
1060
+ dataSuffix?: `0x${string}`;
1061
+ gas?: bigint;
1062
+ gasPrice?: bigint;
1063
+ maxFeePerGas?: bigint;
1064
+ maxPriorityFeePerGas?: bigint;
1065
+ nonce?: number;
1066
+ value?: bigint;
1067
+ }): Promise<void>;
1068
+ /**
1069
+ * Simulate initialize
1070
+ * Returns gas estimate and result without sending transaction
1071
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1072
+ */
1073
+ initialize(name_: string, symbol_: string, metadataURI_: string, creator_: `0x${string}`, options?: {
1074
+ accessList?: import("viem").AccessList;
1075
+ authorizationList?: import("viem").AuthorizationList;
1076
+ chain?: import("viem").Chain | null;
1077
+ dataSuffix?: `0x${string}`;
1078
+ gas?: bigint;
1079
+ gasPrice?: bigint;
1080
+ maxFeePerGas?: bigint;
1081
+ maxPriorityFeePerGas?: bigint;
1082
+ nonce?: number;
1083
+ value?: bigint;
1084
+ }): Promise<void>;
1085
+ /**
1086
+ * Simulate notifyReward
1087
+ * Returns gas estimate and result without sending transaction
1088
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1089
+ */
1090
+ notifyReward(amount: bigint, options?: {
1091
+ accessList?: import("viem").AccessList;
1092
+ authorizationList?: import("viem").AuthorizationList;
1093
+ chain?: import("viem").Chain | null;
1094
+ dataSuffix?: `0x${string}`;
1095
+ gas?: bigint;
1096
+ gasPrice?: bigint;
1097
+ maxFeePerGas?: bigint;
1098
+ maxPriorityFeePerGas?: bigint;
1099
+ nonce?: number;
1100
+ value?: bigint;
1101
+ }): Promise<void>;
1102
+ /**
1103
+ * Simulate setMarket
1104
+ * Returns gas estimate and result without sending transaction
1105
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1106
+ */
1107
+ setMarket(market_: `0x${string}`, options?: {
1108
+ accessList?: import("viem").AccessList;
1109
+ authorizationList?: import("viem").AuthorizationList;
1110
+ chain?: import("viem").Chain | null;
1111
+ dataSuffix?: `0x${string}`;
1112
+ gas?: bigint;
1113
+ gasPrice?: bigint;
1114
+ maxFeePerGas?: bigint;
1115
+ maxPriorityFeePerGas?: bigint;
1116
+ nonce?: number;
1117
+ value?: bigint;
1118
+ }): Promise<void>;
1119
+ /**
1120
+ * Simulate transfer
1121
+ * Returns gas estimate and result without sending transaction
1122
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1123
+ */
1124
+ transfer(to: `0x${string}`, value: bigint, options?: {
1125
+ accessList?: import("viem").AccessList;
1126
+ authorizationList?: import("viem").AuthorizationList;
1127
+ chain?: import("viem").Chain | null;
1128
+ dataSuffix?: `0x${string}`;
1129
+ gas?: bigint;
1130
+ gasPrice?: bigint;
1131
+ maxFeePerGas?: bigint;
1132
+ maxPriorityFeePerGas?: bigint;
1133
+ nonce?: number;
1134
+ value?: bigint;
1135
+ }): Promise<boolean>;
1136
+ /**
1137
+ * Simulate transferFrom
1138
+ * Returns gas estimate and result without sending transaction
1139
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1140
+ */
1141
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1142
+ accessList?: import("viem").AccessList;
1143
+ authorizationList?: import("viem").AuthorizationList;
1144
+ chain?: import("viem").Chain | null;
1145
+ dataSuffix?: `0x${string}`;
1146
+ gas?: bigint;
1147
+ gasPrice?: bigint;
1148
+ maxFeePerGas?: bigint;
1149
+ maxPriorityFeePerGas?: bigint;
1150
+ nonce?: number;
1151
+ value?: bigint;
1152
+ }): Promise<boolean>;
1153
+ };
1154
+ /**
1155
+ * Watch contract events
1156
+ *
1157
+ * @example
1158
+ * // Watch all Transfer events
1159
+ * const unwatch = contract.watch.Transfer((event) => {
1160
+ * console.log('Transfer:', event);
1161
+ * });
1162
+ *
1163
+ * // Stop watching
1164
+ * unwatch();
1165
+ */
1166
+ get watch(): {
1167
+ /**
1168
+ * Watch Approval events
1169
+ * @param callback Function to call when event is emitted
1170
+ * @param filter Optional filter for indexed parameters
1171
+ * @returns Unwatch function to stop listening
1172
+ */
1173
+ Approval: (callback: (event: {
1174
+ owner: `0x${string}`;
1175
+ spender: `0x${string}`;
1176
+ value: bigint;
1177
+ }) => void, filter?: {
1178
+ owner: `0x${string}`;
1179
+ spender: `0x${string}`;
1180
+ }) => () => void;
1181
+ /**
1182
+ * Watch HolderFeesEnabled events
1183
+ * @param callback Function to call when event is emitted
1184
+ * @param filter Optional filter for indexed parameters
1185
+ * @returns Unwatch function to stop listening
1186
+ */
1187
+ HolderFeesEnabled: (callback: (event: {
1188
+ rewardToken: `0x${string}`;
1189
+ }) => void, filter?: {
1190
+ rewardToken: `0x${string}`;
1191
+ }) => () => void;
1192
+ /**
1193
+ * Watch RewardAdded events
1194
+ * @param callback Function to call when event is emitted
1195
+ * @param filter Optional filter for indexed parameters
1196
+ * @returns Unwatch function to stop listening
1197
+ */
1198
+ RewardAdded: (callback: (event: {
1199
+ amount: bigint;
1200
+ accRewardPerToken: bigint;
1201
+ }) => void) => () => void;
1202
+ /**
1203
+ * Watch RewardCarried events
1204
+ * @param callback Function to call when event is emitted
1205
+ * @param filter Optional filter for indexed parameters
1206
+ * @returns Unwatch function to stop listening
1207
+ */
1208
+ RewardCarried: (callback: (event: {
1209
+ amount: bigint;
1210
+ totalCarried: bigint;
1211
+ }) => void) => () => void;
1212
+ /**
1213
+ * Watch RewardClaimed events
1214
+ * @param callback Function to call when event is emitted
1215
+ * @param filter Optional filter for indexed parameters
1216
+ * @returns Unwatch function to stop listening
1217
+ */
1218
+ RewardClaimed: (callback: (event: {
1219
+ holder: `0x${string}`;
1220
+ amount: bigint;
1221
+ }) => void, filter?: {
1222
+ holder: `0x${string}`;
1223
+ }) => () => void;
1224
+ /**
1225
+ * Watch Transfer events
1226
+ * @param callback Function to call when event is emitted
1227
+ * @param filter Optional filter for indexed parameters
1228
+ * @returns Unwatch function to stop listening
1229
+ */
1230
+ Transfer: (callback: (event: {
1231
+ from: `0x${string}`;
1232
+ to: `0x${string}`;
1233
+ value: bigint;
1234
+ }) => void, filter?: {
1235
+ from: `0x${string}`;
1236
+ to: `0x${string}`;
1237
+ }) => () => void;
1238
+ };
1239
+ }