@gitmyabi/presale 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.
@@ -0,0 +1,2755 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * PresaleV2_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const PresaleV2_jsonAbi: readonly [{
8
+ readonly inputs: readonly [];
9
+ readonly stateMutability: "nonpayable";
10
+ readonly type: "constructor";
11
+ }, {
12
+ readonly anonymous: false;
13
+ readonly inputs: readonly [{
14
+ readonly indexed: false;
15
+ readonly internalType: "uint256";
16
+ readonly name: "prevValue";
17
+ readonly type: "uint256";
18
+ }, {
19
+ readonly indexed: false;
20
+ readonly internalType: "uint256";
21
+ readonly name: "newValue";
22
+ readonly type: "uint256";
23
+ }, {
24
+ readonly indexed: false;
25
+ readonly internalType: "uint256";
26
+ readonly name: "timestamp";
27
+ readonly type: "uint256";
28
+ }];
29
+ readonly name: "ClaimStartUpdated";
30
+ readonly type: "event";
31
+ }, {
32
+ readonly anonymous: false;
33
+ readonly inputs: readonly [{
34
+ readonly indexed: false;
35
+ readonly internalType: "uint8";
36
+ readonly name: "version";
37
+ readonly type: "uint8";
38
+ }];
39
+ readonly name: "Initialized";
40
+ readonly type: "event";
41
+ }, {
42
+ readonly anonymous: false;
43
+ readonly inputs: readonly [{
44
+ readonly indexed: false;
45
+ readonly internalType: "uint256";
46
+ readonly name: "prevValue";
47
+ readonly type: "uint256";
48
+ }, {
49
+ readonly indexed: false;
50
+ readonly internalType: "uint256";
51
+ readonly name: "newValue";
52
+ readonly type: "uint256";
53
+ }, {
54
+ readonly indexed: false;
55
+ readonly internalType: "uint256";
56
+ readonly name: "timestamp";
57
+ readonly type: "uint256";
58
+ }];
59
+ readonly name: "MaxTokensUpdated";
60
+ readonly type: "event";
61
+ }, {
62
+ readonly anonymous: false;
63
+ readonly inputs: readonly [{
64
+ readonly indexed: true;
65
+ readonly internalType: "address";
66
+ readonly name: "previousOwner";
67
+ readonly type: "address";
68
+ }, {
69
+ readonly indexed: true;
70
+ readonly internalType: "address";
71
+ readonly name: "newOwner";
72
+ readonly type: "address";
73
+ }];
74
+ readonly name: "OwnershipTransferred";
75
+ readonly type: "event";
76
+ }, {
77
+ readonly anonymous: false;
78
+ readonly inputs: readonly [{
79
+ readonly indexed: false;
80
+ readonly internalType: "address";
81
+ readonly name: "account";
82
+ readonly type: "address";
83
+ }];
84
+ readonly name: "Paused";
85
+ readonly type: "event";
86
+ }, {
87
+ readonly anonymous: false;
88
+ readonly inputs: readonly [{
89
+ readonly indexed: false;
90
+ readonly internalType: "uint256";
91
+ readonly name: "_start";
92
+ readonly type: "uint256";
93
+ }, {
94
+ readonly indexed: false;
95
+ readonly internalType: "uint256";
96
+ readonly name: "_end";
97
+ readonly type: "uint256";
98
+ }, {
99
+ readonly indexed: false;
100
+ readonly internalType: "uint256";
101
+ readonly name: "timestamp";
102
+ readonly type: "uint256";
103
+ }];
104
+ readonly name: "SaleTimeSet";
105
+ readonly type: "event";
106
+ }, {
107
+ readonly anonymous: false;
108
+ readonly inputs: readonly [{
109
+ readonly indexed: true;
110
+ readonly internalType: "bytes32";
111
+ readonly name: "key";
112
+ readonly type: "bytes32";
113
+ }, {
114
+ readonly indexed: false;
115
+ readonly internalType: "uint256";
116
+ readonly name: "prevValue";
117
+ readonly type: "uint256";
118
+ }, {
119
+ readonly indexed: false;
120
+ readonly internalType: "uint256";
121
+ readonly name: "newValue";
122
+ readonly type: "uint256";
123
+ }, {
124
+ readonly indexed: false;
125
+ readonly internalType: "uint256";
126
+ readonly name: "timestamp";
127
+ readonly type: "uint256";
128
+ }];
129
+ readonly name: "SaleTimeUpdated";
130
+ readonly type: "event";
131
+ }, {
132
+ readonly anonymous: false;
133
+ readonly inputs: readonly [{
134
+ readonly indexed: true;
135
+ readonly internalType: "address";
136
+ readonly name: "token";
137
+ readonly type: "address";
138
+ }, {
139
+ readonly indexed: false;
140
+ readonly internalType: "uint256";
141
+ readonly name: "noOfTokens";
142
+ readonly type: "uint256";
143
+ }, {
144
+ readonly indexed: false;
145
+ readonly internalType: "uint256";
146
+ readonly name: "timestamp";
147
+ readonly type: "uint256";
148
+ }];
149
+ readonly name: "TokensAdded";
150
+ readonly type: "event";
151
+ }, {
152
+ readonly anonymous: false;
153
+ readonly inputs: readonly [{
154
+ readonly indexed: true;
155
+ readonly internalType: "address";
156
+ readonly name: "user";
157
+ readonly type: "address";
158
+ }, {
159
+ readonly indexed: true;
160
+ readonly internalType: "uint256";
161
+ readonly name: "tokensBought";
162
+ readonly type: "uint256";
163
+ }, {
164
+ readonly indexed: true;
165
+ readonly internalType: "address";
166
+ readonly name: "purchaseToken";
167
+ readonly type: "address";
168
+ }, {
169
+ readonly indexed: false;
170
+ readonly internalType: "uint256";
171
+ readonly name: "amountPaid";
172
+ readonly type: "uint256";
173
+ }, {
174
+ readonly indexed: false;
175
+ readonly internalType: "uint256";
176
+ readonly name: "usdEq";
177
+ readonly type: "uint256";
178
+ }, {
179
+ readonly indexed: false;
180
+ readonly internalType: "uint256";
181
+ readonly name: "timestamp";
182
+ readonly type: "uint256";
183
+ }];
184
+ readonly name: "TokensBought";
185
+ readonly type: "event";
186
+ }, {
187
+ readonly anonymous: false;
188
+ readonly inputs: readonly [{
189
+ readonly indexed: true;
190
+ readonly internalType: "address";
191
+ readonly name: "user";
192
+ readonly type: "address";
193
+ }, {
194
+ readonly indexed: true;
195
+ readonly internalType: "uint256";
196
+ readonly name: "tokensBought";
197
+ readonly type: "uint256";
198
+ }, {
199
+ readonly indexed: true;
200
+ readonly internalType: "address";
201
+ readonly name: "purchaseToken";
202
+ readonly type: "address";
203
+ }, {
204
+ readonly indexed: false;
205
+ readonly internalType: "uint256";
206
+ readonly name: "amountPaid";
207
+ readonly type: "uint256";
208
+ }, {
209
+ readonly indexed: false;
210
+ readonly internalType: "uint256";
211
+ readonly name: "usdEq";
212
+ readonly type: "uint256";
213
+ }, {
214
+ readonly indexed: false;
215
+ readonly internalType: "uint256";
216
+ readonly name: "timestamp";
217
+ readonly type: "uint256";
218
+ }];
219
+ readonly name: "TokensBoughtAndStaked";
220
+ readonly type: "event";
221
+ }, {
222
+ readonly anonymous: false;
223
+ readonly inputs: readonly [{
224
+ readonly indexed: true;
225
+ readonly internalType: "address";
226
+ readonly name: "user";
227
+ readonly type: "address";
228
+ }, {
229
+ readonly indexed: false;
230
+ readonly internalType: "uint256";
231
+ readonly name: "amount";
232
+ readonly type: "uint256";
233
+ }, {
234
+ readonly indexed: false;
235
+ readonly internalType: "uint256";
236
+ readonly name: "timestamp";
237
+ readonly type: "uint256";
238
+ }];
239
+ readonly name: "TokensClaimed";
240
+ readonly type: "event";
241
+ }, {
242
+ readonly anonymous: false;
243
+ readonly inputs: readonly [{
244
+ readonly indexed: true;
245
+ readonly internalType: "address";
246
+ readonly name: "user";
247
+ readonly type: "address";
248
+ }, {
249
+ readonly indexed: false;
250
+ readonly internalType: "uint256";
251
+ readonly name: "amount";
252
+ readonly type: "uint256";
253
+ }, {
254
+ readonly indexed: false;
255
+ readonly internalType: "uint256";
256
+ readonly name: "timestamp";
257
+ readonly type: "uint256";
258
+ }];
259
+ readonly name: "TokensClaimedAndStaked";
260
+ readonly type: "event";
261
+ }, {
262
+ readonly anonymous: false;
263
+ readonly inputs: readonly [{
264
+ readonly indexed: false;
265
+ readonly internalType: "address";
266
+ readonly name: "account";
267
+ readonly type: "address";
268
+ }];
269
+ readonly name: "Unpaused";
270
+ readonly type: "event";
271
+ }, {
272
+ readonly inputs: readonly [];
273
+ readonly name: "USDCInterface";
274
+ readonly outputs: readonly [{
275
+ readonly internalType: "contract IERC20Upgradeable";
276
+ readonly name: "";
277
+ readonly type: "address";
278
+ }];
279
+ readonly stateMutability: "view";
280
+ readonly type: "function";
281
+ }, {
282
+ readonly inputs: readonly [];
283
+ readonly name: "USDTInterface";
284
+ readonly outputs: readonly [{
285
+ readonly internalType: "contract IERC20Upgradeable";
286
+ readonly name: "";
287
+ readonly type: "address";
288
+ }];
289
+ readonly stateMutability: "view";
290
+ readonly type: "function";
291
+ }, {
292
+ readonly inputs: readonly [];
293
+ readonly name: "admin";
294
+ readonly outputs: readonly [{
295
+ readonly internalType: "address";
296
+ readonly name: "";
297
+ readonly type: "address";
298
+ }];
299
+ readonly stateMutability: "view";
300
+ readonly type: "function";
301
+ }, {
302
+ readonly inputs: readonly [];
303
+ readonly name: "aggregatorInterface";
304
+ readonly outputs: readonly [{
305
+ readonly internalType: "contract Aggregator";
306
+ readonly name: "";
307
+ readonly type: "address";
308
+ }];
309
+ readonly stateMutability: "view";
310
+ readonly type: "function";
311
+ }, {
312
+ readonly inputs: readonly [];
313
+ readonly name: "baseDecimals";
314
+ readonly outputs: readonly [{
315
+ readonly internalType: "uint256";
316
+ readonly name: "";
317
+ readonly type: "uint256";
318
+ }];
319
+ readonly stateMutability: "view";
320
+ readonly type: "function";
321
+ }, {
322
+ readonly inputs: readonly [{
323
+ readonly internalType: "address[]";
324
+ readonly name: "_usersToBlacklist";
325
+ readonly type: "address[]";
326
+ }];
327
+ readonly name: "blacklistUsers";
328
+ readonly outputs: readonly [];
329
+ readonly stateMutability: "nonpayable";
330
+ readonly type: "function";
331
+ }, {
332
+ readonly inputs: readonly [{
333
+ readonly internalType: "address";
334
+ readonly name: "_user";
335
+ readonly type: "address";
336
+ }, {
337
+ readonly internalType: "uint256";
338
+ readonly name: "_amount";
339
+ readonly type: "uint256";
340
+ }, {
341
+ readonly internalType: "bool";
342
+ readonly name: "stake";
343
+ readonly type: "bool";
344
+ }];
345
+ readonly name: "buyWithETHWert";
346
+ readonly outputs: readonly [{
347
+ readonly internalType: "bool";
348
+ readonly name: "";
349
+ readonly type: "bool";
350
+ }];
351
+ readonly stateMutability: "payable";
352
+ readonly type: "function";
353
+ }, {
354
+ readonly inputs: readonly [{
355
+ readonly internalType: "uint256";
356
+ readonly name: "amount";
357
+ readonly type: "uint256";
358
+ }, {
359
+ readonly internalType: "bool";
360
+ readonly name: "stake";
361
+ readonly type: "bool";
362
+ }];
363
+ readonly name: "buyWithEth";
364
+ readonly outputs: readonly [{
365
+ readonly internalType: "bool";
366
+ readonly name: "";
367
+ readonly type: "bool";
368
+ }];
369
+ readonly stateMutability: "payable";
370
+ readonly type: "function";
371
+ }, {
372
+ readonly inputs: readonly [{
373
+ readonly internalType: "uint256";
374
+ readonly name: "amount";
375
+ readonly type: "uint256";
376
+ }, {
377
+ readonly internalType: "bool";
378
+ readonly name: "stake";
379
+ readonly type: "bool";
380
+ }];
381
+ readonly name: "buyWithUSDC";
382
+ readonly outputs: readonly [{
383
+ readonly internalType: "bool";
384
+ readonly name: "";
385
+ readonly type: "bool";
386
+ }];
387
+ readonly stateMutability: "nonpayable";
388
+ readonly type: "function";
389
+ }, {
390
+ readonly inputs: readonly [{
391
+ readonly internalType: "uint256";
392
+ readonly name: "amount";
393
+ readonly type: "uint256";
394
+ }, {
395
+ readonly internalType: "bool";
396
+ readonly name: "stake";
397
+ readonly type: "bool";
398
+ }];
399
+ readonly name: "buyWithUSDT";
400
+ readonly outputs: readonly [{
401
+ readonly internalType: "bool";
402
+ readonly name: "";
403
+ readonly type: "bool";
404
+ }];
405
+ readonly stateMutability: "nonpayable";
406
+ readonly type: "function";
407
+ }, {
408
+ readonly inputs: readonly [{
409
+ readonly internalType: "uint256";
410
+ readonly name: "_amount";
411
+ readonly type: "uint256";
412
+ }];
413
+ readonly name: "calculatePrice";
414
+ readonly outputs: readonly [{
415
+ readonly internalType: "uint256";
416
+ readonly name: "";
417
+ readonly type: "uint256";
418
+ }];
419
+ readonly stateMutability: "view";
420
+ readonly type: "function";
421
+ }, {
422
+ readonly inputs: readonly [{
423
+ readonly internalType: "uint256";
424
+ readonly name: "_claimStart";
425
+ readonly type: "uint256";
426
+ }];
427
+ readonly name: "changeClaimStart";
428
+ readonly outputs: readonly [{
429
+ readonly internalType: "bool";
430
+ readonly name: "";
431
+ readonly type: "bool";
432
+ }];
433
+ readonly stateMutability: "nonpayable";
434
+ readonly type: "function";
435
+ }, {
436
+ readonly inputs: readonly [{
437
+ readonly internalType: "uint256";
438
+ readonly name: "_maxTokensToBuy";
439
+ readonly type: "uint256";
440
+ }];
441
+ readonly name: "changeMaxTokensToBuy";
442
+ readonly outputs: readonly [];
443
+ readonly stateMutability: "nonpayable";
444
+ readonly type: "function";
445
+ }, {
446
+ readonly inputs: readonly [{
447
+ readonly internalType: "address";
448
+ readonly name: "_newPaymentWallet";
449
+ readonly type: "address";
450
+ }];
451
+ readonly name: "changePaymentWallet";
452
+ readonly outputs: readonly [];
453
+ readonly stateMutability: "nonpayable";
454
+ readonly type: "function";
455
+ }, {
456
+ readonly inputs: readonly [{
457
+ readonly internalType: "uint256[][3]";
458
+ readonly name: "_rounds";
459
+ readonly type: "uint256[][3]";
460
+ }];
461
+ readonly name: "changeRoundsData";
462
+ readonly outputs: readonly [];
463
+ readonly stateMutability: "nonpayable";
464
+ readonly type: "function";
465
+ }, {
466
+ readonly inputs: readonly [{
467
+ readonly internalType: "uint256";
468
+ readonly name: "_startTime";
469
+ readonly type: "uint256";
470
+ }, {
471
+ readonly internalType: "uint256";
472
+ readonly name: "_endTime";
473
+ readonly type: "uint256";
474
+ }];
475
+ readonly name: "changeSaleTimes";
476
+ readonly outputs: readonly [];
477
+ readonly stateMutability: "nonpayable";
478
+ readonly type: "function";
479
+ }, {
480
+ readonly inputs: readonly [];
481
+ readonly name: "checkPoint";
482
+ readonly outputs: readonly [{
483
+ readonly internalType: "uint256";
484
+ readonly name: "";
485
+ readonly type: "uint256";
486
+ }];
487
+ readonly stateMutability: "view";
488
+ readonly type: "function";
489
+ }, {
490
+ readonly inputs: readonly [];
491
+ readonly name: "claim";
492
+ readonly outputs: readonly [{
493
+ readonly internalType: "bool";
494
+ readonly name: "";
495
+ readonly type: "bool";
496
+ }];
497
+ readonly stateMutability: "nonpayable";
498
+ readonly type: "function";
499
+ }, {
500
+ readonly inputs: readonly [];
501
+ readonly name: "claimAndStake";
502
+ readonly outputs: readonly [{
503
+ readonly internalType: "bool";
504
+ readonly name: "";
505
+ readonly type: "bool";
506
+ }];
507
+ readonly stateMutability: "nonpayable";
508
+ readonly type: "function";
509
+ }, {
510
+ readonly inputs: readonly [];
511
+ readonly name: "claimStart";
512
+ readonly outputs: readonly [{
513
+ readonly internalType: "uint256";
514
+ readonly name: "";
515
+ readonly type: "uint256";
516
+ }];
517
+ readonly stateMutability: "view";
518
+ readonly type: "function";
519
+ }, {
520
+ readonly inputs: readonly [];
521
+ readonly name: "currentStep";
522
+ readonly outputs: readonly [{
523
+ readonly internalType: "uint256";
524
+ readonly name: "";
525
+ readonly type: "uint256";
526
+ }];
527
+ readonly stateMutability: "view";
528
+ readonly type: "function";
529
+ }, {
530
+ readonly inputs: readonly [];
531
+ readonly name: "dynamicTimeFlag";
532
+ readonly outputs: readonly [{
533
+ readonly internalType: "bool";
534
+ readonly name: "";
535
+ readonly type: "bool";
536
+ }];
537
+ readonly stateMutability: "view";
538
+ readonly type: "function";
539
+ }, {
540
+ readonly inputs: readonly [];
541
+ readonly name: "endTime";
542
+ readonly outputs: readonly [{
543
+ readonly internalType: "uint256";
544
+ readonly name: "";
545
+ readonly type: "uint256";
546
+ }];
547
+ readonly stateMutability: "view";
548
+ readonly type: "function";
549
+ }, {
550
+ readonly inputs: readonly [{
551
+ readonly internalType: "uint256";
552
+ readonly name: "amount";
553
+ readonly type: "uint256";
554
+ }];
555
+ readonly name: "ethBuyHelper";
556
+ readonly outputs: readonly [{
557
+ readonly internalType: "uint256";
558
+ readonly name: "ethAmount";
559
+ readonly type: "uint256";
560
+ }];
561
+ readonly stateMutability: "view";
562
+ readonly type: "function";
563
+ }, {
564
+ readonly inputs: readonly [];
565
+ readonly name: "getLatestPrice";
566
+ readonly outputs: readonly [{
567
+ readonly internalType: "uint256";
568
+ readonly name: "";
569
+ readonly type: "uint256";
570
+ }];
571
+ readonly stateMutability: "view";
572
+ readonly type: "function";
573
+ }, {
574
+ readonly inputs: readonly [{
575
+ readonly internalType: "address";
576
+ readonly name: "";
577
+ readonly type: "address";
578
+ }];
579
+ readonly name: "hasClaimed";
580
+ readonly outputs: readonly [{
581
+ readonly internalType: "bool";
582
+ readonly name: "";
583
+ readonly type: "bool";
584
+ }];
585
+ readonly stateMutability: "view";
586
+ readonly type: "function";
587
+ }, {
588
+ readonly inputs: readonly [];
589
+ readonly name: "incrementCurrentStep";
590
+ readonly outputs: readonly [];
591
+ readonly stateMutability: "nonpayable";
592
+ readonly type: "function";
593
+ }, {
594
+ readonly inputs: readonly [{
595
+ readonly internalType: "address";
596
+ readonly name: "";
597
+ readonly type: "address";
598
+ }];
599
+ readonly name: "isBlacklisted";
600
+ readonly outputs: readonly [{
601
+ readonly internalType: "bool";
602
+ readonly name: "";
603
+ readonly type: "bool";
604
+ }];
605
+ readonly stateMutability: "view";
606
+ readonly type: "function";
607
+ }, {
608
+ readonly inputs: readonly [{
609
+ readonly internalType: "address";
610
+ readonly name: "";
611
+ readonly type: "address";
612
+ }];
613
+ readonly name: "isWhitelisted";
614
+ readonly outputs: readonly [{
615
+ readonly internalType: "bool";
616
+ readonly name: "";
617
+ readonly type: "bool";
618
+ }];
619
+ readonly stateMutability: "view";
620
+ readonly type: "function";
621
+ }, {
622
+ readonly inputs: readonly [];
623
+ readonly name: "maxTokensToBuy";
624
+ readonly outputs: readonly [{
625
+ readonly internalType: "uint256";
626
+ readonly name: "";
627
+ readonly type: "uint256";
628
+ }];
629
+ readonly stateMutability: "view";
630
+ readonly type: "function";
631
+ }, {
632
+ readonly inputs: readonly [];
633
+ readonly name: "owner";
634
+ readonly outputs: readonly [{
635
+ readonly internalType: "address";
636
+ readonly name: "";
637
+ readonly type: "address";
638
+ }];
639
+ readonly stateMutability: "view";
640
+ readonly type: "function";
641
+ }, {
642
+ readonly inputs: readonly [];
643
+ readonly name: "pause";
644
+ readonly outputs: readonly [];
645
+ readonly stateMutability: "nonpayable";
646
+ readonly type: "function";
647
+ }, {
648
+ readonly inputs: readonly [];
649
+ readonly name: "paused";
650
+ readonly outputs: readonly [{
651
+ readonly internalType: "bool";
652
+ readonly name: "";
653
+ readonly type: "bool";
654
+ }];
655
+ readonly stateMutability: "view";
656
+ readonly type: "function";
657
+ }, {
658
+ readonly inputs: readonly [];
659
+ readonly name: "paymentWallet";
660
+ readonly outputs: readonly [{
661
+ readonly internalType: "address";
662
+ readonly name: "";
663
+ readonly type: "address";
664
+ }];
665
+ readonly stateMutability: "view";
666
+ readonly type: "function";
667
+ }, {
668
+ readonly inputs: readonly [{
669
+ readonly internalType: "uint256";
670
+ readonly name: "";
671
+ readonly type: "uint256";
672
+ }];
673
+ readonly name: "percentages";
674
+ readonly outputs: readonly [{
675
+ readonly internalType: "uint256";
676
+ readonly name: "";
677
+ readonly type: "uint256";
678
+ }];
679
+ readonly stateMutability: "view";
680
+ readonly type: "function";
681
+ }, {
682
+ readonly inputs: readonly [{
683
+ readonly internalType: "uint256";
684
+ readonly name: "";
685
+ readonly type: "uint256";
686
+ }];
687
+ readonly name: "prevCheckpoints";
688
+ readonly outputs: readonly [{
689
+ readonly internalType: "uint256";
690
+ readonly name: "";
691
+ readonly type: "uint256";
692
+ }];
693
+ readonly stateMutability: "view";
694
+ readonly type: "function";
695
+ }, {
696
+ readonly inputs: readonly [{
697
+ readonly internalType: "uint256";
698
+ readonly name: "";
699
+ readonly type: "uint256";
700
+ }];
701
+ readonly name: "remainingTokensTracker";
702
+ readonly outputs: readonly [{
703
+ readonly internalType: "uint256";
704
+ readonly name: "";
705
+ readonly type: "uint256";
706
+ }];
707
+ readonly stateMutability: "view";
708
+ readonly type: "function";
709
+ }, {
710
+ readonly inputs: readonly [{
711
+ readonly internalType: "address[]";
712
+ readonly name: "_userToRemoveFromBlacklist";
713
+ readonly type: "address[]";
714
+ }];
715
+ readonly name: "removeFromBlacklist";
716
+ readonly outputs: readonly [];
717
+ readonly stateMutability: "nonpayable";
718
+ readonly type: "function";
719
+ }, {
720
+ readonly inputs: readonly [{
721
+ readonly internalType: "address[]";
722
+ readonly name: "_userToRemoveFromWhitelist";
723
+ readonly type: "address[]";
724
+ }];
725
+ readonly name: "removeFromWhitelist";
726
+ readonly outputs: readonly [];
727
+ readonly stateMutability: "nonpayable";
728
+ readonly type: "function";
729
+ }, {
730
+ readonly inputs: readonly [{
731
+ readonly internalType: "address[]";
732
+ readonly name: "_addressesToRemoveFromWhitelist";
733
+ readonly type: "address[]";
734
+ }];
735
+ readonly name: "removeFromWhitelistForWERT";
736
+ readonly outputs: readonly [];
737
+ readonly stateMutability: "nonpayable";
738
+ readonly type: "function";
739
+ }, {
740
+ readonly inputs: readonly [];
741
+ readonly name: "renounceOwnership";
742
+ readonly outputs: readonly [];
743
+ readonly stateMutability: "nonpayable";
744
+ readonly type: "function";
745
+ }, {
746
+ readonly inputs: readonly [{
747
+ readonly internalType: "uint256";
748
+ readonly name: "_no";
749
+ readonly type: "uint256";
750
+ }];
751
+ readonly name: "roundDetails";
752
+ readonly outputs: readonly [{
753
+ readonly internalType: "uint256[]";
754
+ readonly name: "";
755
+ readonly type: "uint256[]";
756
+ }];
757
+ readonly stateMutability: "view";
758
+ readonly type: "function";
759
+ }, {
760
+ readonly inputs: readonly [{
761
+ readonly internalType: "uint256";
762
+ readonly name: "";
763
+ readonly type: "uint256";
764
+ }, {
765
+ readonly internalType: "uint256";
766
+ readonly name: "";
767
+ readonly type: "uint256";
768
+ }];
769
+ readonly name: "rounds";
770
+ readonly outputs: readonly [{
771
+ readonly internalType: "uint256";
772
+ readonly name: "";
773
+ readonly type: "uint256";
774
+ }];
775
+ readonly stateMutability: "view";
776
+ readonly type: "function";
777
+ }, {
778
+ readonly inputs: readonly [];
779
+ readonly name: "saleToken";
780
+ readonly outputs: readonly [{
781
+ readonly internalType: "address";
782
+ readonly name: "";
783
+ readonly type: "address";
784
+ }];
785
+ readonly stateMutability: "view";
786
+ readonly type: "function";
787
+ }, {
788
+ readonly inputs: readonly [{
789
+ readonly internalType: "address";
790
+ readonly name: "_admin";
791
+ readonly type: "address";
792
+ }];
793
+ readonly name: "setAdmin";
794
+ readonly outputs: readonly [];
795
+ readonly stateMutability: "nonpayable";
796
+ readonly type: "function";
797
+ }, {
798
+ readonly inputs: readonly [{
799
+ readonly internalType: "bool";
800
+ readonly name: "_status";
801
+ readonly type: "bool";
802
+ }];
803
+ readonly name: "setClaimWhitelistStatus";
804
+ readonly outputs: readonly [];
805
+ readonly stateMutability: "nonpayable";
806
+ readonly type: "function";
807
+ }, {
808
+ readonly inputs: readonly [{
809
+ readonly internalType: "uint256";
810
+ readonly name: "_step";
811
+ readonly type: "uint256";
812
+ }, {
813
+ readonly internalType: "uint256";
814
+ readonly name: "_checkpoint";
815
+ readonly type: "uint256";
816
+ }];
817
+ readonly name: "setCurrentStep";
818
+ readonly outputs: readonly [];
819
+ readonly stateMutability: "nonpayable";
820
+ readonly type: "function";
821
+ }, {
822
+ readonly inputs: readonly [{
823
+ readonly internalType: "bool";
824
+ readonly name: "_dynamicTimeFlag";
825
+ readonly type: "bool";
826
+ }];
827
+ readonly name: "setDynamicTimeFlag";
828
+ readonly outputs: readonly [];
829
+ readonly stateMutability: "nonpayable";
830
+ readonly type: "function";
831
+ }, {
832
+ readonly inputs: readonly [{
833
+ readonly internalType: "uint256[]";
834
+ readonly name: "_unsoldTokens";
835
+ readonly type: "uint256[]";
836
+ }];
837
+ readonly name: "setRemainingTokensArray";
838
+ readonly outputs: readonly [];
839
+ readonly stateMutability: "nonpayable";
840
+ readonly type: "function";
841
+ }, {
842
+ readonly inputs: readonly [{
843
+ readonly internalType: "address[]";
844
+ readonly name: "_wallets";
845
+ readonly type: "address[]";
846
+ }, {
847
+ readonly internalType: "uint256[]";
848
+ readonly name: "_percentages";
849
+ readonly type: "uint256[]";
850
+ }];
851
+ readonly name: "setSplits";
852
+ readonly outputs: readonly [];
853
+ readonly stateMutability: "nonpayable";
854
+ readonly type: "function";
855
+ }, {
856
+ readonly inputs: readonly [{
857
+ readonly internalType: "bool";
858
+ readonly name: "_status";
859
+ readonly type: "bool";
860
+ }];
861
+ readonly name: "setStakeingWhitelistStatus";
862
+ readonly outputs: readonly [];
863
+ readonly stateMutability: "nonpayable";
864
+ readonly type: "function";
865
+ }, {
866
+ readonly inputs: readonly [{
867
+ readonly internalType: "address";
868
+ readonly name: "_stakingManagerAddress";
869
+ readonly type: "address";
870
+ }];
871
+ readonly name: "setStakingManager";
872
+ readonly outputs: readonly [];
873
+ readonly stateMutability: "nonpayable";
874
+ readonly type: "function";
875
+ }, {
876
+ readonly inputs: readonly [{
877
+ readonly internalType: "uint256";
878
+ readonly name: "_timeConstant";
879
+ readonly type: "uint256";
880
+ }];
881
+ readonly name: "setTimeConstant";
882
+ readonly outputs: readonly [];
883
+ readonly stateMutability: "nonpayable";
884
+ readonly type: "function";
885
+ }, {
886
+ readonly inputs: readonly [{
887
+ readonly internalType: "address";
888
+ readonly name: "_usdc";
889
+ readonly type: "address";
890
+ }];
891
+ readonly name: "setUSDCInterface";
892
+ readonly outputs: readonly [];
893
+ readonly stateMutability: "nonpayable";
894
+ readonly type: "function";
895
+ }, {
896
+ readonly inputs: readonly [];
897
+ readonly name: "stakeingWhitelistStatus";
898
+ readonly outputs: readonly [{
899
+ readonly internalType: "bool";
900
+ readonly name: "";
901
+ readonly type: "bool";
902
+ }];
903
+ readonly stateMutability: "view";
904
+ readonly type: "function";
905
+ }, {
906
+ readonly inputs: readonly [];
907
+ readonly name: "stakingManagerInterface";
908
+ readonly outputs: readonly [{
909
+ readonly internalType: "contract StakingManager";
910
+ readonly name: "";
911
+ readonly type: "address";
912
+ }];
913
+ readonly stateMutability: "view";
914
+ readonly type: "function";
915
+ }, {
916
+ readonly inputs: readonly [{
917
+ readonly internalType: "uint256";
918
+ readonly name: "_claimStart";
919
+ readonly type: "uint256";
920
+ }, {
921
+ readonly internalType: "uint256";
922
+ readonly name: "noOfTokens";
923
+ readonly type: "uint256";
924
+ }, {
925
+ readonly internalType: "address";
926
+ readonly name: "_saleToken";
927
+ readonly type: "address";
928
+ }, {
929
+ readonly internalType: "address";
930
+ readonly name: "_stakingManagerAddress";
931
+ readonly type: "address";
932
+ }];
933
+ readonly name: "startClaim";
934
+ readonly outputs: readonly [{
935
+ readonly internalType: "bool";
936
+ readonly name: "";
937
+ readonly type: "bool";
938
+ }];
939
+ readonly stateMutability: "nonpayable";
940
+ readonly type: "function";
941
+ }, {
942
+ readonly inputs: readonly [];
943
+ readonly name: "startTime";
944
+ readonly outputs: readonly [{
945
+ readonly internalType: "uint256";
946
+ readonly name: "";
947
+ readonly type: "uint256";
948
+ }];
949
+ readonly stateMutability: "view";
950
+ readonly type: "function";
951
+ }, {
952
+ readonly inputs: readonly [];
953
+ readonly name: "timeConstant";
954
+ readonly outputs: readonly [{
955
+ readonly internalType: "uint256";
956
+ readonly name: "";
957
+ readonly type: "uint256";
958
+ }];
959
+ readonly stateMutability: "view";
960
+ readonly type: "function";
961
+ }, {
962
+ readonly inputs: readonly [{
963
+ readonly internalType: "uint256";
964
+ readonly name: "amount";
965
+ readonly type: "uint256";
966
+ }];
967
+ readonly name: "tokenTransfer";
968
+ readonly outputs: readonly [];
969
+ readonly stateMutability: "nonpayable";
970
+ readonly type: "function";
971
+ }, {
972
+ readonly inputs: readonly [];
973
+ readonly name: "totalBoughtAndStaked";
974
+ readonly outputs: readonly [{
975
+ readonly internalType: "uint256";
976
+ readonly name: "";
977
+ readonly type: "uint256";
978
+ }];
979
+ readonly stateMutability: "view";
980
+ readonly type: "function";
981
+ }, {
982
+ readonly inputs: readonly [];
983
+ readonly name: "totalTokensSold";
984
+ readonly outputs: readonly [{
985
+ readonly internalType: "uint256";
986
+ readonly name: "";
987
+ readonly type: "uint256";
988
+ }];
989
+ readonly stateMutability: "view";
990
+ readonly type: "function";
991
+ }, {
992
+ readonly inputs: readonly [];
993
+ readonly name: "trackRemainingTokens";
994
+ readonly outputs: readonly [{
995
+ readonly internalType: "uint256[]";
996
+ readonly name: "";
997
+ readonly type: "uint256[]";
998
+ }];
999
+ readonly stateMutability: "view";
1000
+ readonly type: "function";
1001
+ }, {
1002
+ readonly inputs: readonly [{
1003
+ readonly internalType: "address";
1004
+ readonly name: "newOwner";
1005
+ readonly type: "address";
1006
+ }];
1007
+ readonly name: "transferOwnership";
1008
+ readonly outputs: readonly [];
1009
+ readonly stateMutability: "nonpayable";
1010
+ readonly type: "function";
1011
+ }, {
1012
+ readonly inputs: readonly [];
1013
+ readonly name: "unpause";
1014
+ readonly outputs: readonly [];
1015
+ readonly stateMutability: "nonpayable";
1016
+ readonly type: "function";
1017
+ }, {
1018
+ readonly inputs: readonly [{
1019
+ readonly internalType: "address[]";
1020
+ readonly name: "_users";
1021
+ readonly type: "address[]";
1022
+ }, {
1023
+ readonly internalType: "uint256[]";
1024
+ readonly name: "_userDeposits";
1025
+ readonly type: "uint256[]";
1026
+ }];
1027
+ readonly name: "updateFromBSC";
1028
+ readonly outputs: readonly [];
1029
+ readonly stateMutability: "nonpayable";
1030
+ readonly type: "function";
1031
+ }, {
1032
+ readonly inputs: readonly [];
1033
+ readonly name: "usdRaised";
1034
+ readonly outputs: readonly [{
1035
+ readonly internalType: "uint256";
1036
+ readonly name: "";
1037
+ readonly type: "uint256";
1038
+ }];
1039
+ readonly stateMutability: "view";
1040
+ readonly type: "function";
1041
+ }, {
1042
+ readonly inputs: readonly [{
1043
+ readonly internalType: "uint256";
1044
+ readonly name: "amount";
1045
+ readonly type: "uint256";
1046
+ }];
1047
+ readonly name: "usdtBuyHelper";
1048
+ readonly outputs: readonly [{
1049
+ readonly internalType: "uint256";
1050
+ readonly name: "usdPrice";
1051
+ readonly type: "uint256";
1052
+ }];
1053
+ readonly stateMutability: "view";
1054
+ readonly type: "function";
1055
+ }, {
1056
+ readonly inputs: readonly [{
1057
+ readonly internalType: "address";
1058
+ readonly name: "";
1059
+ readonly type: "address";
1060
+ }];
1061
+ readonly name: "userDeposits";
1062
+ readonly outputs: readonly [{
1063
+ readonly internalType: "uint256";
1064
+ readonly name: "";
1065
+ readonly type: "uint256";
1066
+ }];
1067
+ readonly stateMutability: "view";
1068
+ readonly type: "function";
1069
+ }, {
1070
+ readonly inputs: readonly [{
1071
+ readonly internalType: "uint256";
1072
+ readonly name: "";
1073
+ readonly type: "uint256";
1074
+ }];
1075
+ readonly name: "wallets";
1076
+ readonly outputs: readonly [{
1077
+ readonly internalType: "address";
1078
+ readonly name: "";
1079
+ readonly type: "address";
1080
+ }];
1081
+ readonly stateMutability: "view";
1082
+ readonly type: "function";
1083
+ }, {
1084
+ readonly inputs: readonly [{
1085
+ readonly internalType: "address";
1086
+ readonly name: "";
1087
+ readonly type: "address";
1088
+ }];
1089
+ readonly name: "wertWhitelisted";
1090
+ readonly outputs: readonly [{
1091
+ readonly internalType: "bool";
1092
+ readonly name: "";
1093
+ readonly type: "bool";
1094
+ }];
1095
+ readonly stateMutability: "view";
1096
+ readonly type: "function";
1097
+ }, {
1098
+ readonly inputs: readonly [];
1099
+ readonly name: "whitelistClaimOnly";
1100
+ readonly outputs: readonly [{
1101
+ readonly internalType: "bool";
1102
+ readonly name: "";
1103
+ readonly type: "bool";
1104
+ }];
1105
+ readonly stateMutability: "view";
1106
+ readonly type: "function";
1107
+ }, {
1108
+ readonly inputs: readonly [{
1109
+ readonly internalType: "address[]";
1110
+ readonly name: "_usersToWhitelist";
1111
+ readonly type: "address[]";
1112
+ }];
1113
+ readonly name: "whitelistUsers";
1114
+ readonly outputs: readonly [];
1115
+ readonly stateMutability: "nonpayable";
1116
+ readonly type: "function";
1117
+ }, {
1118
+ readonly inputs: readonly [{
1119
+ readonly internalType: "address[]";
1120
+ readonly name: "_addressesToWhitelist";
1121
+ readonly type: "address[]";
1122
+ }];
1123
+ readonly name: "whitelistUsersForWERT";
1124
+ readonly outputs: readonly [];
1125
+ readonly stateMutability: "nonpayable";
1126
+ readonly type: "function";
1127
+ }];
1128
+ /**
1129
+ * Type-safe ABI for PresaleV2_json
1130
+ */
1131
+ export type PresaleV2_jsonAbi = typeof PresaleV2_jsonAbi;
1132
+ /**
1133
+ * Contract instance type for PresaleV2_json
1134
+ */
1135
+ export type PresaleV2_jsonContract = any;
1136
+ /**
1137
+ * PresaleV2_json Contract Class
1138
+ *
1139
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
1140
+ *
1141
+ * @example
1142
+ * ```typescript
1143
+ * import { createPublicClient, createWalletClient, http } from 'viem';
1144
+ * import { mainnet } from 'viem/chains';
1145
+ * import { PresaleV2_json } from 'PresaleV2_json';
1146
+ *
1147
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1148
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1149
+ *
1150
+ * const contract = new PresaleV2_json('0x...', { publicClient, walletClient });
1151
+ *
1152
+ * // Read functions
1153
+ * const result = await contract.balanceOf('0x...');
1154
+ *
1155
+ * // Write functions
1156
+ * const hash = await contract.transfer('0x...', 1000n);
1157
+ *
1158
+ * // Simulate transactions (dry-run)
1159
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
1160
+ * console.log('Gas estimate:', simulation.request.gas);
1161
+ *
1162
+ * // Watch events
1163
+ * const unwatch = contract.watch.Transfer((event) => {
1164
+ * console.log('Transfer event:', event);
1165
+ * });
1166
+ * ```
1167
+ */
1168
+ export declare class PresaleV2_json {
1169
+ private contract;
1170
+ private contractAddress;
1171
+ private publicClient;
1172
+ constructor(address: Address, clients: {
1173
+ publicClient: PublicClient;
1174
+ walletClient?: WalletClient;
1175
+ });
1176
+ /**
1177
+ * Get the contract address
1178
+ */
1179
+ get address(): Address;
1180
+ /**
1181
+ * Get the underlying viem contract instance
1182
+ */
1183
+ getContract(): PresaleV2_jsonContract;
1184
+ /**
1185
+ * USDCInterface
1186
+ * view
1187
+ */
1188
+ USDCInterface(): Promise<`0x${string}`>;
1189
+ /**
1190
+ * USDTInterface
1191
+ * view
1192
+ */
1193
+ USDTInterface(): Promise<`0x${string}`>;
1194
+ /**
1195
+ * admin
1196
+ * view
1197
+ */
1198
+ admin(): Promise<`0x${string}`>;
1199
+ /**
1200
+ * aggregatorInterface
1201
+ * view
1202
+ */
1203
+ aggregatorInterface(): Promise<`0x${string}`>;
1204
+ /**
1205
+ * baseDecimals
1206
+ * view
1207
+ */
1208
+ baseDecimals(): Promise<bigint>;
1209
+ /**
1210
+ * calculatePrice
1211
+ * view
1212
+ */
1213
+ calculatePrice(_amount: bigint): Promise<bigint>;
1214
+ /**
1215
+ * checkPoint
1216
+ * view
1217
+ */
1218
+ checkPoint(): Promise<bigint>;
1219
+ /**
1220
+ * claimStart
1221
+ * view
1222
+ */
1223
+ claimStart(): Promise<bigint>;
1224
+ /**
1225
+ * currentStep
1226
+ * view
1227
+ */
1228
+ currentStep(): Promise<bigint>;
1229
+ /**
1230
+ * dynamicTimeFlag
1231
+ * view
1232
+ */
1233
+ dynamicTimeFlag(): Promise<boolean>;
1234
+ /**
1235
+ * endTime
1236
+ * view
1237
+ */
1238
+ endTime(): Promise<bigint>;
1239
+ /**
1240
+ * ethBuyHelper
1241
+ * view
1242
+ */
1243
+ ethBuyHelper(amount: bigint): Promise<bigint>;
1244
+ /**
1245
+ * getLatestPrice
1246
+ * view
1247
+ */
1248
+ getLatestPrice(): Promise<bigint>;
1249
+ /**
1250
+ * hasClaimed
1251
+ * view
1252
+ */
1253
+ hasClaimed(arg0: `0x${string}`): Promise<boolean>;
1254
+ /**
1255
+ * isBlacklisted
1256
+ * view
1257
+ */
1258
+ isBlacklisted(arg0: `0x${string}`): Promise<boolean>;
1259
+ /**
1260
+ * isWhitelisted
1261
+ * view
1262
+ */
1263
+ isWhitelisted(arg0: `0x${string}`): Promise<boolean>;
1264
+ /**
1265
+ * maxTokensToBuy
1266
+ * view
1267
+ */
1268
+ maxTokensToBuy(): Promise<bigint>;
1269
+ /**
1270
+ * owner
1271
+ * view
1272
+ */
1273
+ owner(): Promise<`0x${string}`>;
1274
+ /**
1275
+ * paused
1276
+ * view
1277
+ */
1278
+ paused(): Promise<boolean>;
1279
+ /**
1280
+ * paymentWallet
1281
+ * view
1282
+ */
1283
+ paymentWallet(): Promise<`0x${string}`>;
1284
+ /**
1285
+ * percentages
1286
+ * view
1287
+ */
1288
+ percentages(arg0: bigint): Promise<bigint>;
1289
+ /**
1290
+ * prevCheckpoints
1291
+ * view
1292
+ */
1293
+ prevCheckpoints(arg0: bigint): Promise<bigint>;
1294
+ /**
1295
+ * remainingTokensTracker
1296
+ * view
1297
+ */
1298
+ remainingTokensTracker(arg0: bigint): Promise<bigint>;
1299
+ /**
1300
+ * roundDetails
1301
+ * view
1302
+ */
1303
+ roundDetails(_no: bigint): Promise<bigint[]>;
1304
+ /**
1305
+ * rounds
1306
+ * view
1307
+ */
1308
+ rounds(arg0: bigint, arg1: bigint): Promise<bigint>;
1309
+ /**
1310
+ * saleToken
1311
+ * view
1312
+ */
1313
+ saleToken(): Promise<`0x${string}`>;
1314
+ /**
1315
+ * stakeingWhitelistStatus
1316
+ * view
1317
+ */
1318
+ stakeingWhitelistStatus(): Promise<boolean>;
1319
+ /**
1320
+ * stakingManagerInterface
1321
+ * view
1322
+ */
1323
+ stakingManagerInterface(): Promise<`0x${string}`>;
1324
+ /**
1325
+ * startTime
1326
+ * view
1327
+ */
1328
+ startTime(): Promise<bigint>;
1329
+ /**
1330
+ * timeConstant
1331
+ * view
1332
+ */
1333
+ timeConstant(): Promise<bigint>;
1334
+ /**
1335
+ * totalBoughtAndStaked
1336
+ * view
1337
+ */
1338
+ totalBoughtAndStaked(): Promise<bigint>;
1339
+ /**
1340
+ * totalTokensSold
1341
+ * view
1342
+ */
1343
+ totalTokensSold(): Promise<bigint>;
1344
+ /**
1345
+ * trackRemainingTokens
1346
+ * view
1347
+ */
1348
+ trackRemainingTokens(): Promise<bigint[]>;
1349
+ /**
1350
+ * usdRaised
1351
+ * view
1352
+ */
1353
+ usdRaised(): Promise<bigint>;
1354
+ /**
1355
+ * usdtBuyHelper
1356
+ * view
1357
+ */
1358
+ usdtBuyHelper(amount: bigint): Promise<bigint>;
1359
+ /**
1360
+ * userDeposits
1361
+ * view
1362
+ */
1363
+ userDeposits(arg0: `0x${string}`): Promise<bigint>;
1364
+ /**
1365
+ * wallets
1366
+ * view
1367
+ */
1368
+ wallets(arg0: bigint): Promise<`0x${string}`>;
1369
+ /**
1370
+ * wertWhitelisted
1371
+ * view
1372
+ */
1373
+ wertWhitelisted(arg0: `0x${string}`): Promise<boolean>;
1374
+ /**
1375
+ * whitelistClaimOnly
1376
+ * view
1377
+ */
1378
+ whitelistClaimOnly(): Promise<boolean>;
1379
+ /**
1380
+ * blacklistUsers
1381
+ * nonpayable
1382
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1383
+ */
1384
+ blacklistUsers(_usersToBlacklist: `0x${string}`[], options?: {
1385
+ accessList?: import('viem').AccessList;
1386
+ authorizationList?: import('viem').AuthorizationList;
1387
+ chain?: import('viem').Chain | null;
1388
+ dataSuffix?: `0x${string}`;
1389
+ gas?: bigint;
1390
+ gasPrice?: bigint;
1391
+ maxFeePerGas?: bigint;
1392
+ maxPriorityFeePerGas?: bigint;
1393
+ nonce?: number;
1394
+ value?: bigint;
1395
+ }): Promise<`0x${string}`>;
1396
+ /**
1397
+ * buyWithETHWert
1398
+ * payable
1399
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1400
+ */
1401
+ buyWithETHWert(_user: `0x${string}`, _amount: bigint, stake: boolean, options?: {
1402
+ accessList?: import('viem').AccessList;
1403
+ authorizationList?: import('viem').AuthorizationList;
1404
+ chain?: import('viem').Chain | null;
1405
+ dataSuffix?: `0x${string}`;
1406
+ gas?: bigint;
1407
+ gasPrice?: bigint;
1408
+ maxFeePerGas?: bigint;
1409
+ maxPriorityFeePerGas?: bigint;
1410
+ nonce?: number;
1411
+ value?: bigint;
1412
+ }): Promise<`0x${string}`>;
1413
+ /**
1414
+ * buyWithEth
1415
+ * payable
1416
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1417
+ */
1418
+ buyWithEth(amount: bigint, stake: boolean, options?: {
1419
+ accessList?: import('viem').AccessList;
1420
+ authorizationList?: import('viem').AuthorizationList;
1421
+ chain?: import('viem').Chain | null;
1422
+ dataSuffix?: `0x${string}`;
1423
+ gas?: bigint;
1424
+ gasPrice?: bigint;
1425
+ maxFeePerGas?: bigint;
1426
+ maxPriorityFeePerGas?: bigint;
1427
+ nonce?: number;
1428
+ value?: bigint;
1429
+ }): Promise<`0x${string}`>;
1430
+ /**
1431
+ * buyWithUSDC
1432
+ * nonpayable
1433
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1434
+ */
1435
+ buyWithUSDC(amount: bigint, stake: boolean, options?: {
1436
+ accessList?: import('viem').AccessList;
1437
+ authorizationList?: import('viem').AuthorizationList;
1438
+ chain?: import('viem').Chain | null;
1439
+ dataSuffix?: `0x${string}`;
1440
+ gas?: bigint;
1441
+ gasPrice?: bigint;
1442
+ maxFeePerGas?: bigint;
1443
+ maxPriorityFeePerGas?: bigint;
1444
+ nonce?: number;
1445
+ value?: bigint;
1446
+ }): Promise<`0x${string}`>;
1447
+ /**
1448
+ * buyWithUSDT
1449
+ * nonpayable
1450
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1451
+ */
1452
+ buyWithUSDT(amount: bigint, stake: boolean, options?: {
1453
+ accessList?: import('viem').AccessList;
1454
+ authorizationList?: import('viem').AuthorizationList;
1455
+ chain?: import('viem').Chain | null;
1456
+ dataSuffix?: `0x${string}`;
1457
+ gas?: bigint;
1458
+ gasPrice?: bigint;
1459
+ maxFeePerGas?: bigint;
1460
+ maxPriorityFeePerGas?: bigint;
1461
+ nonce?: number;
1462
+ value?: bigint;
1463
+ }): Promise<`0x${string}`>;
1464
+ /**
1465
+ * changeClaimStart
1466
+ * nonpayable
1467
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1468
+ */
1469
+ changeClaimStart(_claimStart: bigint, options?: {
1470
+ accessList?: import('viem').AccessList;
1471
+ authorizationList?: import('viem').AuthorizationList;
1472
+ chain?: import('viem').Chain | null;
1473
+ dataSuffix?: `0x${string}`;
1474
+ gas?: bigint;
1475
+ gasPrice?: bigint;
1476
+ maxFeePerGas?: bigint;
1477
+ maxPriorityFeePerGas?: bigint;
1478
+ nonce?: number;
1479
+ value?: bigint;
1480
+ }): Promise<`0x${string}`>;
1481
+ /**
1482
+ * changeMaxTokensToBuy
1483
+ * nonpayable
1484
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1485
+ */
1486
+ changeMaxTokensToBuy(_maxTokensToBuy: bigint, options?: {
1487
+ accessList?: import('viem').AccessList;
1488
+ authorizationList?: import('viem').AuthorizationList;
1489
+ chain?: import('viem').Chain | null;
1490
+ dataSuffix?: `0x${string}`;
1491
+ gas?: bigint;
1492
+ gasPrice?: bigint;
1493
+ maxFeePerGas?: bigint;
1494
+ maxPriorityFeePerGas?: bigint;
1495
+ nonce?: number;
1496
+ value?: bigint;
1497
+ }): Promise<`0x${string}`>;
1498
+ /**
1499
+ * changePaymentWallet
1500
+ * nonpayable
1501
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1502
+ */
1503
+ changePaymentWallet(_newPaymentWallet: `0x${string}`, options?: {
1504
+ accessList?: import('viem').AccessList;
1505
+ authorizationList?: import('viem').AuthorizationList;
1506
+ chain?: import('viem').Chain | null;
1507
+ dataSuffix?: `0x${string}`;
1508
+ gas?: bigint;
1509
+ gasPrice?: bigint;
1510
+ maxFeePerGas?: bigint;
1511
+ maxPriorityFeePerGas?: bigint;
1512
+ nonce?: number;
1513
+ value?: bigint;
1514
+ }): Promise<`0x${string}`>;
1515
+ /**
1516
+ * changeRoundsData
1517
+ * nonpayable
1518
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1519
+ */
1520
+ changeRoundsData(_rounds: bigint[][], options?: {
1521
+ accessList?: import('viem').AccessList;
1522
+ authorizationList?: import('viem').AuthorizationList;
1523
+ chain?: import('viem').Chain | null;
1524
+ dataSuffix?: `0x${string}`;
1525
+ gas?: bigint;
1526
+ gasPrice?: bigint;
1527
+ maxFeePerGas?: bigint;
1528
+ maxPriorityFeePerGas?: bigint;
1529
+ nonce?: number;
1530
+ value?: bigint;
1531
+ }): Promise<`0x${string}`>;
1532
+ /**
1533
+ * changeSaleTimes
1534
+ * nonpayable
1535
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1536
+ */
1537
+ changeSaleTimes(_startTime: bigint, _endTime: bigint, options?: {
1538
+ accessList?: import('viem').AccessList;
1539
+ authorizationList?: import('viem').AuthorizationList;
1540
+ chain?: import('viem').Chain | null;
1541
+ dataSuffix?: `0x${string}`;
1542
+ gas?: bigint;
1543
+ gasPrice?: bigint;
1544
+ maxFeePerGas?: bigint;
1545
+ maxPriorityFeePerGas?: bigint;
1546
+ nonce?: number;
1547
+ value?: bigint;
1548
+ }): Promise<`0x${string}`>;
1549
+ /**
1550
+ * claim
1551
+ * nonpayable
1552
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1553
+ */
1554
+ claim(options?: {
1555
+ accessList?: import('viem').AccessList;
1556
+ authorizationList?: import('viem').AuthorizationList;
1557
+ chain?: import('viem').Chain | null;
1558
+ dataSuffix?: `0x${string}`;
1559
+ gas?: bigint;
1560
+ gasPrice?: bigint;
1561
+ maxFeePerGas?: bigint;
1562
+ maxPriorityFeePerGas?: bigint;
1563
+ nonce?: number;
1564
+ value?: bigint;
1565
+ }): Promise<`0x${string}`>;
1566
+ /**
1567
+ * claimAndStake
1568
+ * nonpayable
1569
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1570
+ */
1571
+ claimAndStake(options?: {
1572
+ accessList?: import('viem').AccessList;
1573
+ authorizationList?: import('viem').AuthorizationList;
1574
+ chain?: import('viem').Chain | null;
1575
+ dataSuffix?: `0x${string}`;
1576
+ gas?: bigint;
1577
+ gasPrice?: bigint;
1578
+ maxFeePerGas?: bigint;
1579
+ maxPriorityFeePerGas?: bigint;
1580
+ nonce?: number;
1581
+ value?: bigint;
1582
+ }): Promise<`0x${string}`>;
1583
+ /**
1584
+ * incrementCurrentStep
1585
+ * nonpayable
1586
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1587
+ */
1588
+ incrementCurrentStep(options?: {
1589
+ accessList?: import('viem').AccessList;
1590
+ authorizationList?: import('viem').AuthorizationList;
1591
+ chain?: import('viem').Chain | null;
1592
+ dataSuffix?: `0x${string}`;
1593
+ gas?: bigint;
1594
+ gasPrice?: bigint;
1595
+ maxFeePerGas?: bigint;
1596
+ maxPriorityFeePerGas?: bigint;
1597
+ nonce?: number;
1598
+ value?: bigint;
1599
+ }): Promise<`0x${string}`>;
1600
+ /**
1601
+ * pause
1602
+ * nonpayable
1603
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1604
+ */
1605
+ pause(options?: {
1606
+ accessList?: import('viem').AccessList;
1607
+ authorizationList?: import('viem').AuthorizationList;
1608
+ chain?: import('viem').Chain | null;
1609
+ dataSuffix?: `0x${string}`;
1610
+ gas?: bigint;
1611
+ gasPrice?: bigint;
1612
+ maxFeePerGas?: bigint;
1613
+ maxPriorityFeePerGas?: bigint;
1614
+ nonce?: number;
1615
+ value?: bigint;
1616
+ }): Promise<`0x${string}`>;
1617
+ /**
1618
+ * removeFromBlacklist
1619
+ * nonpayable
1620
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1621
+ */
1622
+ removeFromBlacklist(_userToRemoveFromBlacklist: `0x${string}`[], options?: {
1623
+ accessList?: import('viem').AccessList;
1624
+ authorizationList?: import('viem').AuthorizationList;
1625
+ chain?: import('viem').Chain | null;
1626
+ dataSuffix?: `0x${string}`;
1627
+ gas?: bigint;
1628
+ gasPrice?: bigint;
1629
+ maxFeePerGas?: bigint;
1630
+ maxPriorityFeePerGas?: bigint;
1631
+ nonce?: number;
1632
+ value?: bigint;
1633
+ }): Promise<`0x${string}`>;
1634
+ /**
1635
+ * removeFromWhitelist
1636
+ * nonpayable
1637
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1638
+ */
1639
+ removeFromWhitelist(_userToRemoveFromWhitelist: `0x${string}`[], options?: {
1640
+ accessList?: import('viem').AccessList;
1641
+ authorizationList?: import('viem').AuthorizationList;
1642
+ chain?: import('viem').Chain | null;
1643
+ dataSuffix?: `0x${string}`;
1644
+ gas?: bigint;
1645
+ gasPrice?: bigint;
1646
+ maxFeePerGas?: bigint;
1647
+ maxPriorityFeePerGas?: bigint;
1648
+ nonce?: number;
1649
+ value?: bigint;
1650
+ }): Promise<`0x${string}`>;
1651
+ /**
1652
+ * removeFromWhitelistForWERT
1653
+ * nonpayable
1654
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1655
+ */
1656
+ removeFromWhitelistForWERT(_addressesToRemoveFromWhitelist: `0x${string}`[], options?: {
1657
+ accessList?: import('viem').AccessList;
1658
+ authorizationList?: import('viem').AuthorizationList;
1659
+ chain?: import('viem').Chain | null;
1660
+ dataSuffix?: `0x${string}`;
1661
+ gas?: bigint;
1662
+ gasPrice?: bigint;
1663
+ maxFeePerGas?: bigint;
1664
+ maxPriorityFeePerGas?: bigint;
1665
+ nonce?: number;
1666
+ value?: bigint;
1667
+ }): Promise<`0x${string}`>;
1668
+ /**
1669
+ * renounceOwnership
1670
+ * nonpayable
1671
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1672
+ */
1673
+ renounceOwnership(options?: {
1674
+ accessList?: import('viem').AccessList;
1675
+ authorizationList?: import('viem').AuthorizationList;
1676
+ chain?: import('viem').Chain | null;
1677
+ dataSuffix?: `0x${string}`;
1678
+ gas?: bigint;
1679
+ gasPrice?: bigint;
1680
+ maxFeePerGas?: bigint;
1681
+ maxPriorityFeePerGas?: bigint;
1682
+ nonce?: number;
1683
+ value?: bigint;
1684
+ }): Promise<`0x${string}`>;
1685
+ /**
1686
+ * setAdmin
1687
+ * nonpayable
1688
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1689
+ */
1690
+ setAdmin(_admin: `0x${string}`, options?: {
1691
+ accessList?: import('viem').AccessList;
1692
+ authorizationList?: import('viem').AuthorizationList;
1693
+ chain?: import('viem').Chain | null;
1694
+ dataSuffix?: `0x${string}`;
1695
+ gas?: bigint;
1696
+ gasPrice?: bigint;
1697
+ maxFeePerGas?: bigint;
1698
+ maxPriorityFeePerGas?: bigint;
1699
+ nonce?: number;
1700
+ value?: bigint;
1701
+ }): Promise<`0x${string}`>;
1702
+ /**
1703
+ * setClaimWhitelistStatus
1704
+ * nonpayable
1705
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1706
+ */
1707
+ setClaimWhitelistStatus(_status: boolean, options?: {
1708
+ accessList?: import('viem').AccessList;
1709
+ authorizationList?: import('viem').AuthorizationList;
1710
+ chain?: import('viem').Chain | null;
1711
+ dataSuffix?: `0x${string}`;
1712
+ gas?: bigint;
1713
+ gasPrice?: bigint;
1714
+ maxFeePerGas?: bigint;
1715
+ maxPriorityFeePerGas?: bigint;
1716
+ nonce?: number;
1717
+ value?: bigint;
1718
+ }): Promise<`0x${string}`>;
1719
+ /**
1720
+ * setCurrentStep
1721
+ * nonpayable
1722
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1723
+ */
1724
+ setCurrentStep(_step: bigint, _checkpoint: bigint, options?: {
1725
+ accessList?: import('viem').AccessList;
1726
+ authorizationList?: import('viem').AuthorizationList;
1727
+ chain?: import('viem').Chain | null;
1728
+ dataSuffix?: `0x${string}`;
1729
+ gas?: bigint;
1730
+ gasPrice?: bigint;
1731
+ maxFeePerGas?: bigint;
1732
+ maxPriorityFeePerGas?: bigint;
1733
+ nonce?: number;
1734
+ value?: bigint;
1735
+ }): Promise<`0x${string}`>;
1736
+ /**
1737
+ * setDynamicTimeFlag
1738
+ * nonpayable
1739
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1740
+ */
1741
+ setDynamicTimeFlag(_dynamicTimeFlag: boolean, options?: {
1742
+ accessList?: import('viem').AccessList;
1743
+ authorizationList?: import('viem').AuthorizationList;
1744
+ chain?: import('viem').Chain | null;
1745
+ dataSuffix?: `0x${string}`;
1746
+ gas?: bigint;
1747
+ gasPrice?: bigint;
1748
+ maxFeePerGas?: bigint;
1749
+ maxPriorityFeePerGas?: bigint;
1750
+ nonce?: number;
1751
+ value?: bigint;
1752
+ }): Promise<`0x${string}`>;
1753
+ /**
1754
+ * setRemainingTokensArray
1755
+ * nonpayable
1756
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1757
+ */
1758
+ setRemainingTokensArray(_unsoldTokens: bigint[], options?: {
1759
+ accessList?: import('viem').AccessList;
1760
+ authorizationList?: import('viem').AuthorizationList;
1761
+ chain?: import('viem').Chain | null;
1762
+ dataSuffix?: `0x${string}`;
1763
+ gas?: bigint;
1764
+ gasPrice?: bigint;
1765
+ maxFeePerGas?: bigint;
1766
+ maxPriorityFeePerGas?: bigint;
1767
+ nonce?: number;
1768
+ value?: bigint;
1769
+ }): Promise<`0x${string}`>;
1770
+ /**
1771
+ * setSplits
1772
+ * nonpayable
1773
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1774
+ */
1775
+ setSplits(_wallets: `0x${string}`[], _percentages: bigint[], options?: {
1776
+ accessList?: import('viem').AccessList;
1777
+ authorizationList?: import('viem').AuthorizationList;
1778
+ chain?: import('viem').Chain | null;
1779
+ dataSuffix?: `0x${string}`;
1780
+ gas?: bigint;
1781
+ gasPrice?: bigint;
1782
+ maxFeePerGas?: bigint;
1783
+ maxPriorityFeePerGas?: bigint;
1784
+ nonce?: number;
1785
+ value?: bigint;
1786
+ }): Promise<`0x${string}`>;
1787
+ /**
1788
+ * setStakeingWhitelistStatus
1789
+ * nonpayable
1790
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1791
+ */
1792
+ setStakeingWhitelistStatus(_status: boolean, options?: {
1793
+ accessList?: import('viem').AccessList;
1794
+ authorizationList?: import('viem').AuthorizationList;
1795
+ chain?: import('viem').Chain | null;
1796
+ dataSuffix?: `0x${string}`;
1797
+ gas?: bigint;
1798
+ gasPrice?: bigint;
1799
+ maxFeePerGas?: bigint;
1800
+ maxPriorityFeePerGas?: bigint;
1801
+ nonce?: number;
1802
+ value?: bigint;
1803
+ }): Promise<`0x${string}`>;
1804
+ /**
1805
+ * setStakingManager
1806
+ * nonpayable
1807
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1808
+ */
1809
+ setStakingManager(_stakingManagerAddress: `0x${string}`, options?: {
1810
+ accessList?: import('viem').AccessList;
1811
+ authorizationList?: import('viem').AuthorizationList;
1812
+ chain?: import('viem').Chain | null;
1813
+ dataSuffix?: `0x${string}`;
1814
+ gas?: bigint;
1815
+ gasPrice?: bigint;
1816
+ maxFeePerGas?: bigint;
1817
+ maxPriorityFeePerGas?: bigint;
1818
+ nonce?: number;
1819
+ value?: bigint;
1820
+ }): Promise<`0x${string}`>;
1821
+ /**
1822
+ * setTimeConstant
1823
+ * nonpayable
1824
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1825
+ */
1826
+ setTimeConstant(_timeConstant: bigint, options?: {
1827
+ accessList?: import('viem').AccessList;
1828
+ authorizationList?: import('viem').AuthorizationList;
1829
+ chain?: import('viem').Chain | null;
1830
+ dataSuffix?: `0x${string}`;
1831
+ gas?: bigint;
1832
+ gasPrice?: bigint;
1833
+ maxFeePerGas?: bigint;
1834
+ maxPriorityFeePerGas?: bigint;
1835
+ nonce?: number;
1836
+ value?: bigint;
1837
+ }): Promise<`0x${string}`>;
1838
+ /**
1839
+ * setUSDCInterface
1840
+ * nonpayable
1841
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1842
+ */
1843
+ setUSDCInterface(_usdc: `0x${string}`, options?: {
1844
+ accessList?: import('viem').AccessList;
1845
+ authorizationList?: import('viem').AuthorizationList;
1846
+ chain?: import('viem').Chain | null;
1847
+ dataSuffix?: `0x${string}`;
1848
+ gas?: bigint;
1849
+ gasPrice?: bigint;
1850
+ maxFeePerGas?: bigint;
1851
+ maxPriorityFeePerGas?: bigint;
1852
+ nonce?: number;
1853
+ value?: bigint;
1854
+ }): Promise<`0x${string}`>;
1855
+ /**
1856
+ * startClaim
1857
+ * nonpayable
1858
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1859
+ */
1860
+ startClaim(_claimStart: bigint, noOfTokens: bigint, _saleToken: `0x${string}`, _stakingManagerAddress: `0x${string}`, options?: {
1861
+ accessList?: import('viem').AccessList;
1862
+ authorizationList?: import('viem').AuthorizationList;
1863
+ chain?: import('viem').Chain | null;
1864
+ dataSuffix?: `0x${string}`;
1865
+ gas?: bigint;
1866
+ gasPrice?: bigint;
1867
+ maxFeePerGas?: bigint;
1868
+ maxPriorityFeePerGas?: bigint;
1869
+ nonce?: number;
1870
+ value?: bigint;
1871
+ }): Promise<`0x${string}`>;
1872
+ /**
1873
+ * tokenTransfer
1874
+ * nonpayable
1875
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1876
+ */
1877
+ tokenTransfer(amount: bigint, options?: {
1878
+ accessList?: import('viem').AccessList;
1879
+ authorizationList?: import('viem').AuthorizationList;
1880
+ chain?: import('viem').Chain | null;
1881
+ dataSuffix?: `0x${string}`;
1882
+ gas?: bigint;
1883
+ gasPrice?: bigint;
1884
+ maxFeePerGas?: bigint;
1885
+ maxPriorityFeePerGas?: bigint;
1886
+ nonce?: number;
1887
+ value?: bigint;
1888
+ }): Promise<`0x${string}`>;
1889
+ /**
1890
+ * transferOwnership
1891
+ * nonpayable
1892
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1893
+ */
1894
+ transferOwnership(newOwner: `0x${string}`, options?: {
1895
+ accessList?: import('viem').AccessList;
1896
+ authorizationList?: import('viem').AuthorizationList;
1897
+ chain?: import('viem').Chain | null;
1898
+ dataSuffix?: `0x${string}`;
1899
+ gas?: bigint;
1900
+ gasPrice?: bigint;
1901
+ maxFeePerGas?: bigint;
1902
+ maxPriorityFeePerGas?: bigint;
1903
+ nonce?: number;
1904
+ value?: bigint;
1905
+ }): Promise<`0x${string}`>;
1906
+ /**
1907
+ * unpause
1908
+ * nonpayable
1909
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1910
+ */
1911
+ unpause(options?: {
1912
+ accessList?: import('viem').AccessList;
1913
+ authorizationList?: import('viem').AuthorizationList;
1914
+ chain?: import('viem').Chain | null;
1915
+ dataSuffix?: `0x${string}`;
1916
+ gas?: bigint;
1917
+ gasPrice?: bigint;
1918
+ maxFeePerGas?: bigint;
1919
+ maxPriorityFeePerGas?: bigint;
1920
+ nonce?: number;
1921
+ value?: bigint;
1922
+ }): Promise<`0x${string}`>;
1923
+ /**
1924
+ * updateFromBSC
1925
+ * nonpayable
1926
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1927
+ */
1928
+ updateFromBSC(_users: `0x${string}`[], _userDeposits: bigint[], options?: {
1929
+ accessList?: import('viem').AccessList;
1930
+ authorizationList?: import('viem').AuthorizationList;
1931
+ chain?: import('viem').Chain | null;
1932
+ dataSuffix?: `0x${string}`;
1933
+ gas?: bigint;
1934
+ gasPrice?: bigint;
1935
+ maxFeePerGas?: bigint;
1936
+ maxPriorityFeePerGas?: bigint;
1937
+ nonce?: number;
1938
+ value?: bigint;
1939
+ }): Promise<`0x${string}`>;
1940
+ /**
1941
+ * whitelistUsers
1942
+ * nonpayable
1943
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1944
+ */
1945
+ whitelistUsers(_usersToWhitelist: `0x${string}`[], options?: {
1946
+ accessList?: import('viem').AccessList;
1947
+ authorizationList?: import('viem').AuthorizationList;
1948
+ chain?: import('viem').Chain | null;
1949
+ dataSuffix?: `0x${string}`;
1950
+ gas?: bigint;
1951
+ gasPrice?: bigint;
1952
+ maxFeePerGas?: bigint;
1953
+ maxPriorityFeePerGas?: bigint;
1954
+ nonce?: number;
1955
+ value?: bigint;
1956
+ }): Promise<`0x${string}`>;
1957
+ /**
1958
+ * whitelistUsersForWERT
1959
+ * nonpayable
1960
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1961
+ */
1962
+ whitelistUsersForWERT(_addressesToWhitelist: `0x${string}`[], options?: {
1963
+ accessList?: import('viem').AccessList;
1964
+ authorizationList?: import('viem').AuthorizationList;
1965
+ chain?: import('viem').Chain | null;
1966
+ dataSuffix?: `0x${string}`;
1967
+ gas?: bigint;
1968
+ gasPrice?: bigint;
1969
+ maxFeePerGas?: bigint;
1970
+ maxPriorityFeePerGas?: bigint;
1971
+ nonce?: number;
1972
+ value?: bigint;
1973
+ }): Promise<`0x${string}`>;
1974
+ /**
1975
+ * Simulate contract write operations (dry-run without sending transaction)
1976
+ *
1977
+ * @example
1978
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1979
+ * console.log('Gas estimate:', result.request.gas);
1980
+ * console.log('Would succeed:', result.result);
1981
+ */
1982
+ get simulate(): {
1983
+ /**
1984
+ * Simulate blacklistUsers
1985
+ * Returns gas estimate and result without sending transaction
1986
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1987
+ */
1988
+ blacklistUsers(_usersToBlacklist: `0x${string}`[], options?: {
1989
+ accessList?: import("viem").AccessList;
1990
+ authorizationList?: import("viem").AuthorizationList;
1991
+ chain?: import("viem").Chain | null;
1992
+ dataSuffix?: `0x${string}`;
1993
+ gas?: bigint;
1994
+ gasPrice?: bigint;
1995
+ maxFeePerGas?: bigint;
1996
+ maxPriorityFeePerGas?: bigint;
1997
+ nonce?: number;
1998
+ value?: bigint;
1999
+ }): Promise<void>;
2000
+ /**
2001
+ * Simulate buyWithETHWert
2002
+ * Returns gas estimate and result without sending transaction
2003
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2004
+ */
2005
+ buyWithETHWert(_user: `0x${string}`, _amount: bigint, stake: boolean, options?: {
2006
+ accessList?: import("viem").AccessList;
2007
+ authorizationList?: import("viem").AuthorizationList;
2008
+ chain?: import("viem").Chain | null;
2009
+ dataSuffix?: `0x${string}`;
2010
+ gas?: bigint;
2011
+ gasPrice?: bigint;
2012
+ maxFeePerGas?: bigint;
2013
+ maxPriorityFeePerGas?: bigint;
2014
+ nonce?: number;
2015
+ value?: bigint;
2016
+ }): Promise<boolean>;
2017
+ /**
2018
+ * Simulate buyWithEth
2019
+ * Returns gas estimate and result without sending transaction
2020
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2021
+ */
2022
+ buyWithEth(amount: bigint, stake: boolean, options?: {
2023
+ accessList?: import("viem").AccessList;
2024
+ authorizationList?: import("viem").AuthorizationList;
2025
+ chain?: import("viem").Chain | null;
2026
+ dataSuffix?: `0x${string}`;
2027
+ gas?: bigint;
2028
+ gasPrice?: bigint;
2029
+ maxFeePerGas?: bigint;
2030
+ maxPriorityFeePerGas?: bigint;
2031
+ nonce?: number;
2032
+ value?: bigint;
2033
+ }): Promise<boolean>;
2034
+ /**
2035
+ * Simulate buyWithUSDC
2036
+ * Returns gas estimate and result without sending transaction
2037
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2038
+ */
2039
+ buyWithUSDC(amount: bigint, stake: boolean, options?: {
2040
+ accessList?: import("viem").AccessList;
2041
+ authorizationList?: import("viem").AuthorizationList;
2042
+ chain?: import("viem").Chain | null;
2043
+ dataSuffix?: `0x${string}`;
2044
+ gas?: bigint;
2045
+ gasPrice?: bigint;
2046
+ maxFeePerGas?: bigint;
2047
+ maxPriorityFeePerGas?: bigint;
2048
+ nonce?: number;
2049
+ value?: bigint;
2050
+ }): Promise<boolean>;
2051
+ /**
2052
+ * Simulate buyWithUSDT
2053
+ * Returns gas estimate and result without sending transaction
2054
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2055
+ */
2056
+ buyWithUSDT(amount: bigint, stake: boolean, options?: {
2057
+ accessList?: import("viem").AccessList;
2058
+ authorizationList?: import("viem").AuthorizationList;
2059
+ chain?: import("viem").Chain | null;
2060
+ dataSuffix?: `0x${string}`;
2061
+ gas?: bigint;
2062
+ gasPrice?: bigint;
2063
+ maxFeePerGas?: bigint;
2064
+ maxPriorityFeePerGas?: bigint;
2065
+ nonce?: number;
2066
+ value?: bigint;
2067
+ }): Promise<boolean>;
2068
+ /**
2069
+ * Simulate changeClaimStart
2070
+ * Returns gas estimate and result without sending transaction
2071
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2072
+ */
2073
+ changeClaimStart(_claimStart: bigint, options?: {
2074
+ accessList?: import("viem").AccessList;
2075
+ authorizationList?: import("viem").AuthorizationList;
2076
+ chain?: import("viem").Chain | null;
2077
+ dataSuffix?: `0x${string}`;
2078
+ gas?: bigint;
2079
+ gasPrice?: bigint;
2080
+ maxFeePerGas?: bigint;
2081
+ maxPriorityFeePerGas?: bigint;
2082
+ nonce?: number;
2083
+ value?: bigint;
2084
+ }): Promise<boolean>;
2085
+ /**
2086
+ * Simulate changeMaxTokensToBuy
2087
+ * Returns gas estimate and result without sending transaction
2088
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2089
+ */
2090
+ changeMaxTokensToBuy(_maxTokensToBuy: bigint, options?: {
2091
+ accessList?: import("viem").AccessList;
2092
+ authorizationList?: import("viem").AuthorizationList;
2093
+ chain?: import("viem").Chain | null;
2094
+ dataSuffix?: `0x${string}`;
2095
+ gas?: bigint;
2096
+ gasPrice?: bigint;
2097
+ maxFeePerGas?: bigint;
2098
+ maxPriorityFeePerGas?: bigint;
2099
+ nonce?: number;
2100
+ value?: bigint;
2101
+ }): Promise<void>;
2102
+ /**
2103
+ * Simulate changePaymentWallet
2104
+ * Returns gas estimate and result without sending transaction
2105
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2106
+ */
2107
+ changePaymentWallet(_newPaymentWallet: `0x${string}`, options?: {
2108
+ accessList?: import("viem").AccessList;
2109
+ authorizationList?: import("viem").AuthorizationList;
2110
+ chain?: import("viem").Chain | null;
2111
+ dataSuffix?: `0x${string}`;
2112
+ gas?: bigint;
2113
+ gasPrice?: bigint;
2114
+ maxFeePerGas?: bigint;
2115
+ maxPriorityFeePerGas?: bigint;
2116
+ nonce?: number;
2117
+ value?: bigint;
2118
+ }): Promise<void>;
2119
+ /**
2120
+ * Simulate changeRoundsData
2121
+ * Returns gas estimate and result without sending transaction
2122
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2123
+ */
2124
+ changeRoundsData(_rounds: bigint[][], options?: {
2125
+ accessList?: import("viem").AccessList;
2126
+ authorizationList?: import("viem").AuthorizationList;
2127
+ chain?: import("viem").Chain | null;
2128
+ dataSuffix?: `0x${string}`;
2129
+ gas?: bigint;
2130
+ gasPrice?: bigint;
2131
+ maxFeePerGas?: bigint;
2132
+ maxPriorityFeePerGas?: bigint;
2133
+ nonce?: number;
2134
+ value?: bigint;
2135
+ }): Promise<void>;
2136
+ /**
2137
+ * Simulate changeSaleTimes
2138
+ * Returns gas estimate and result without sending transaction
2139
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2140
+ */
2141
+ changeSaleTimes(_startTime: bigint, _endTime: bigint, options?: {
2142
+ accessList?: import("viem").AccessList;
2143
+ authorizationList?: import("viem").AuthorizationList;
2144
+ chain?: import("viem").Chain | null;
2145
+ dataSuffix?: `0x${string}`;
2146
+ gas?: bigint;
2147
+ gasPrice?: bigint;
2148
+ maxFeePerGas?: bigint;
2149
+ maxPriorityFeePerGas?: bigint;
2150
+ nonce?: number;
2151
+ value?: bigint;
2152
+ }): Promise<void>;
2153
+ /**
2154
+ * Simulate claim
2155
+ * Returns gas estimate and result without sending transaction
2156
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2157
+ */
2158
+ claim(options?: {
2159
+ accessList?: import("viem").AccessList;
2160
+ authorizationList?: import("viem").AuthorizationList;
2161
+ chain?: import("viem").Chain | null;
2162
+ dataSuffix?: `0x${string}`;
2163
+ gas?: bigint;
2164
+ gasPrice?: bigint;
2165
+ maxFeePerGas?: bigint;
2166
+ maxPriorityFeePerGas?: bigint;
2167
+ nonce?: number;
2168
+ value?: bigint;
2169
+ }): Promise<boolean>;
2170
+ /**
2171
+ * Simulate claimAndStake
2172
+ * Returns gas estimate and result without sending transaction
2173
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2174
+ */
2175
+ claimAndStake(options?: {
2176
+ accessList?: import("viem").AccessList;
2177
+ authorizationList?: import("viem").AuthorizationList;
2178
+ chain?: import("viem").Chain | null;
2179
+ dataSuffix?: `0x${string}`;
2180
+ gas?: bigint;
2181
+ gasPrice?: bigint;
2182
+ maxFeePerGas?: bigint;
2183
+ maxPriorityFeePerGas?: bigint;
2184
+ nonce?: number;
2185
+ value?: bigint;
2186
+ }): Promise<boolean>;
2187
+ /**
2188
+ * Simulate incrementCurrentStep
2189
+ * Returns gas estimate and result without sending transaction
2190
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2191
+ */
2192
+ incrementCurrentStep(options?: {
2193
+ accessList?: import("viem").AccessList;
2194
+ authorizationList?: import("viem").AuthorizationList;
2195
+ chain?: import("viem").Chain | null;
2196
+ dataSuffix?: `0x${string}`;
2197
+ gas?: bigint;
2198
+ gasPrice?: bigint;
2199
+ maxFeePerGas?: bigint;
2200
+ maxPriorityFeePerGas?: bigint;
2201
+ nonce?: number;
2202
+ value?: bigint;
2203
+ }): Promise<void>;
2204
+ /**
2205
+ * Simulate pause
2206
+ * Returns gas estimate and result without sending transaction
2207
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2208
+ */
2209
+ pause(options?: {
2210
+ accessList?: import("viem").AccessList;
2211
+ authorizationList?: import("viem").AuthorizationList;
2212
+ chain?: import("viem").Chain | null;
2213
+ dataSuffix?: `0x${string}`;
2214
+ gas?: bigint;
2215
+ gasPrice?: bigint;
2216
+ maxFeePerGas?: bigint;
2217
+ maxPriorityFeePerGas?: bigint;
2218
+ nonce?: number;
2219
+ value?: bigint;
2220
+ }): Promise<void>;
2221
+ /**
2222
+ * Simulate removeFromBlacklist
2223
+ * Returns gas estimate and result without sending transaction
2224
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2225
+ */
2226
+ removeFromBlacklist(_userToRemoveFromBlacklist: `0x${string}`[], options?: {
2227
+ accessList?: import("viem").AccessList;
2228
+ authorizationList?: import("viem").AuthorizationList;
2229
+ chain?: import("viem").Chain | null;
2230
+ dataSuffix?: `0x${string}`;
2231
+ gas?: bigint;
2232
+ gasPrice?: bigint;
2233
+ maxFeePerGas?: bigint;
2234
+ maxPriorityFeePerGas?: bigint;
2235
+ nonce?: number;
2236
+ value?: bigint;
2237
+ }): Promise<void>;
2238
+ /**
2239
+ * Simulate removeFromWhitelist
2240
+ * Returns gas estimate and result without sending transaction
2241
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2242
+ */
2243
+ removeFromWhitelist(_userToRemoveFromWhitelist: `0x${string}`[], options?: {
2244
+ accessList?: import("viem").AccessList;
2245
+ authorizationList?: import("viem").AuthorizationList;
2246
+ chain?: import("viem").Chain | null;
2247
+ dataSuffix?: `0x${string}`;
2248
+ gas?: bigint;
2249
+ gasPrice?: bigint;
2250
+ maxFeePerGas?: bigint;
2251
+ maxPriorityFeePerGas?: bigint;
2252
+ nonce?: number;
2253
+ value?: bigint;
2254
+ }): Promise<void>;
2255
+ /**
2256
+ * Simulate removeFromWhitelistForWERT
2257
+ * Returns gas estimate and result without sending transaction
2258
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2259
+ */
2260
+ removeFromWhitelistForWERT(_addressesToRemoveFromWhitelist: `0x${string}`[], options?: {
2261
+ accessList?: import("viem").AccessList;
2262
+ authorizationList?: import("viem").AuthorizationList;
2263
+ chain?: import("viem").Chain | null;
2264
+ dataSuffix?: `0x${string}`;
2265
+ gas?: bigint;
2266
+ gasPrice?: bigint;
2267
+ maxFeePerGas?: bigint;
2268
+ maxPriorityFeePerGas?: bigint;
2269
+ nonce?: number;
2270
+ value?: bigint;
2271
+ }): Promise<void>;
2272
+ /**
2273
+ * Simulate renounceOwnership
2274
+ * Returns gas estimate and result without sending transaction
2275
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2276
+ */
2277
+ renounceOwnership(options?: {
2278
+ accessList?: import("viem").AccessList;
2279
+ authorizationList?: import("viem").AuthorizationList;
2280
+ chain?: import("viem").Chain | null;
2281
+ dataSuffix?: `0x${string}`;
2282
+ gas?: bigint;
2283
+ gasPrice?: bigint;
2284
+ maxFeePerGas?: bigint;
2285
+ maxPriorityFeePerGas?: bigint;
2286
+ nonce?: number;
2287
+ value?: bigint;
2288
+ }): Promise<void>;
2289
+ /**
2290
+ * Simulate setAdmin
2291
+ * Returns gas estimate and result without sending transaction
2292
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2293
+ */
2294
+ setAdmin(_admin: `0x${string}`, options?: {
2295
+ accessList?: import("viem").AccessList;
2296
+ authorizationList?: import("viem").AuthorizationList;
2297
+ chain?: import("viem").Chain | null;
2298
+ dataSuffix?: `0x${string}`;
2299
+ gas?: bigint;
2300
+ gasPrice?: bigint;
2301
+ maxFeePerGas?: bigint;
2302
+ maxPriorityFeePerGas?: bigint;
2303
+ nonce?: number;
2304
+ value?: bigint;
2305
+ }): Promise<void>;
2306
+ /**
2307
+ * Simulate setClaimWhitelistStatus
2308
+ * Returns gas estimate and result without sending transaction
2309
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2310
+ */
2311
+ setClaimWhitelistStatus(_status: boolean, options?: {
2312
+ accessList?: import("viem").AccessList;
2313
+ authorizationList?: import("viem").AuthorizationList;
2314
+ chain?: import("viem").Chain | null;
2315
+ dataSuffix?: `0x${string}`;
2316
+ gas?: bigint;
2317
+ gasPrice?: bigint;
2318
+ maxFeePerGas?: bigint;
2319
+ maxPriorityFeePerGas?: bigint;
2320
+ nonce?: number;
2321
+ value?: bigint;
2322
+ }): Promise<void>;
2323
+ /**
2324
+ * Simulate setCurrentStep
2325
+ * Returns gas estimate and result without sending transaction
2326
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2327
+ */
2328
+ setCurrentStep(_step: bigint, _checkpoint: bigint, options?: {
2329
+ accessList?: import("viem").AccessList;
2330
+ authorizationList?: import("viem").AuthorizationList;
2331
+ chain?: import("viem").Chain | null;
2332
+ dataSuffix?: `0x${string}`;
2333
+ gas?: bigint;
2334
+ gasPrice?: bigint;
2335
+ maxFeePerGas?: bigint;
2336
+ maxPriorityFeePerGas?: bigint;
2337
+ nonce?: number;
2338
+ value?: bigint;
2339
+ }): Promise<void>;
2340
+ /**
2341
+ * Simulate setDynamicTimeFlag
2342
+ * Returns gas estimate and result without sending transaction
2343
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2344
+ */
2345
+ setDynamicTimeFlag(_dynamicTimeFlag: boolean, options?: {
2346
+ accessList?: import("viem").AccessList;
2347
+ authorizationList?: import("viem").AuthorizationList;
2348
+ chain?: import("viem").Chain | null;
2349
+ dataSuffix?: `0x${string}`;
2350
+ gas?: bigint;
2351
+ gasPrice?: bigint;
2352
+ maxFeePerGas?: bigint;
2353
+ maxPriorityFeePerGas?: bigint;
2354
+ nonce?: number;
2355
+ value?: bigint;
2356
+ }): Promise<void>;
2357
+ /**
2358
+ * Simulate setRemainingTokensArray
2359
+ * Returns gas estimate and result without sending transaction
2360
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2361
+ */
2362
+ setRemainingTokensArray(_unsoldTokens: bigint[], options?: {
2363
+ accessList?: import("viem").AccessList;
2364
+ authorizationList?: import("viem").AuthorizationList;
2365
+ chain?: import("viem").Chain | null;
2366
+ dataSuffix?: `0x${string}`;
2367
+ gas?: bigint;
2368
+ gasPrice?: bigint;
2369
+ maxFeePerGas?: bigint;
2370
+ maxPriorityFeePerGas?: bigint;
2371
+ nonce?: number;
2372
+ value?: bigint;
2373
+ }): Promise<void>;
2374
+ /**
2375
+ * Simulate setSplits
2376
+ * Returns gas estimate and result without sending transaction
2377
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2378
+ */
2379
+ setSplits(_wallets: `0x${string}`[], _percentages: bigint[], options?: {
2380
+ accessList?: import("viem").AccessList;
2381
+ authorizationList?: import("viem").AuthorizationList;
2382
+ chain?: import("viem").Chain | null;
2383
+ dataSuffix?: `0x${string}`;
2384
+ gas?: bigint;
2385
+ gasPrice?: bigint;
2386
+ maxFeePerGas?: bigint;
2387
+ maxPriorityFeePerGas?: bigint;
2388
+ nonce?: number;
2389
+ value?: bigint;
2390
+ }): Promise<void>;
2391
+ /**
2392
+ * Simulate setStakeingWhitelistStatus
2393
+ * Returns gas estimate and result without sending transaction
2394
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2395
+ */
2396
+ setStakeingWhitelistStatus(_status: boolean, options?: {
2397
+ accessList?: import("viem").AccessList;
2398
+ authorizationList?: import("viem").AuthorizationList;
2399
+ chain?: import("viem").Chain | null;
2400
+ dataSuffix?: `0x${string}`;
2401
+ gas?: bigint;
2402
+ gasPrice?: bigint;
2403
+ maxFeePerGas?: bigint;
2404
+ maxPriorityFeePerGas?: bigint;
2405
+ nonce?: number;
2406
+ value?: bigint;
2407
+ }): Promise<void>;
2408
+ /**
2409
+ * Simulate setStakingManager
2410
+ * Returns gas estimate and result without sending transaction
2411
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2412
+ */
2413
+ setStakingManager(_stakingManagerAddress: `0x${string}`, options?: {
2414
+ accessList?: import("viem").AccessList;
2415
+ authorizationList?: import("viem").AuthorizationList;
2416
+ chain?: import("viem").Chain | null;
2417
+ dataSuffix?: `0x${string}`;
2418
+ gas?: bigint;
2419
+ gasPrice?: bigint;
2420
+ maxFeePerGas?: bigint;
2421
+ maxPriorityFeePerGas?: bigint;
2422
+ nonce?: number;
2423
+ value?: bigint;
2424
+ }): Promise<void>;
2425
+ /**
2426
+ * Simulate setTimeConstant
2427
+ * Returns gas estimate and result without sending transaction
2428
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2429
+ */
2430
+ setTimeConstant(_timeConstant: bigint, options?: {
2431
+ accessList?: import("viem").AccessList;
2432
+ authorizationList?: import("viem").AuthorizationList;
2433
+ chain?: import("viem").Chain | null;
2434
+ dataSuffix?: `0x${string}`;
2435
+ gas?: bigint;
2436
+ gasPrice?: bigint;
2437
+ maxFeePerGas?: bigint;
2438
+ maxPriorityFeePerGas?: bigint;
2439
+ nonce?: number;
2440
+ value?: bigint;
2441
+ }): Promise<void>;
2442
+ /**
2443
+ * Simulate setUSDCInterface
2444
+ * Returns gas estimate and result without sending transaction
2445
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2446
+ */
2447
+ setUSDCInterface(_usdc: `0x${string}`, options?: {
2448
+ accessList?: import("viem").AccessList;
2449
+ authorizationList?: import("viem").AuthorizationList;
2450
+ chain?: import("viem").Chain | null;
2451
+ dataSuffix?: `0x${string}`;
2452
+ gas?: bigint;
2453
+ gasPrice?: bigint;
2454
+ maxFeePerGas?: bigint;
2455
+ maxPriorityFeePerGas?: bigint;
2456
+ nonce?: number;
2457
+ value?: bigint;
2458
+ }): Promise<void>;
2459
+ /**
2460
+ * Simulate startClaim
2461
+ * Returns gas estimate and result without sending transaction
2462
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2463
+ */
2464
+ startClaim(_claimStart: bigint, noOfTokens: bigint, _saleToken: `0x${string}`, _stakingManagerAddress: `0x${string}`, options?: {
2465
+ accessList?: import("viem").AccessList;
2466
+ authorizationList?: import("viem").AuthorizationList;
2467
+ chain?: import("viem").Chain | null;
2468
+ dataSuffix?: `0x${string}`;
2469
+ gas?: bigint;
2470
+ gasPrice?: bigint;
2471
+ maxFeePerGas?: bigint;
2472
+ maxPriorityFeePerGas?: bigint;
2473
+ nonce?: number;
2474
+ value?: bigint;
2475
+ }): Promise<boolean>;
2476
+ /**
2477
+ * Simulate tokenTransfer
2478
+ * Returns gas estimate and result without sending transaction
2479
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2480
+ */
2481
+ tokenTransfer(amount: bigint, options?: {
2482
+ accessList?: import("viem").AccessList;
2483
+ authorizationList?: import("viem").AuthorizationList;
2484
+ chain?: import("viem").Chain | null;
2485
+ dataSuffix?: `0x${string}`;
2486
+ gas?: bigint;
2487
+ gasPrice?: bigint;
2488
+ maxFeePerGas?: bigint;
2489
+ maxPriorityFeePerGas?: bigint;
2490
+ nonce?: number;
2491
+ value?: bigint;
2492
+ }): Promise<void>;
2493
+ /**
2494
+ * Simulate transferOwnership
2495
+ * Returns gas estimate and result without sending transaction
2496
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2497
+ */
2498
+ transferOwnership(newOwner: `0x${string}`, options?: {
2499
+ accessList?: import("viem").AccessList;
2500
+ authorizationList?: import("viem").AuthorizationList;
2501
+ chain?: import("viem").Chain | null;
2502
+ dataSuffix?: `0x${string}`;
2503
+ gas?: bigint;
2504
+ gasPrice?: bigint;
2505
+ maxFeePerGas?: bigint;
2506
+ maxPriorityFeePerGas?: bigint;
2507
+ nonce?: number;
2508
+ value?: bigint;
2509
+ }): Promise<void>;
2510
+ /**
2511
+ * Simulate unpause
2512
+ * Returns gas estimate and result without sending transaction
2513
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2514
+ */
2515
+ unpause(options?: {
2516
+ accessList?: import("viem").AccessList;
2517
+ authorizationList?: import("viem").AuthorizationList;
2518
+ chain?: import("viem").Chain | null;
2519
+ dataSuffix?: `0x${string}`;
2520
+ gas?: bigint;
2521
+ gasPrice?: bigint;
2522
+ maxFeePerGas?: bigint;
2523
+ maxPriorityFeePerGas?: bigint;
2524
+ nonce?: number;
2525
+ value?: bigint;
2526
+ }): Promise<void>;
2527
+ /**
2528
+ * Simulate updateFromBSC
2529
+ * Returns gas estimate and result without sending transaction
2530
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2531
+ */
2532
+ updateFromBSC(_users: `0x${string}`[], _userDeposits: bigint[], options?: {
2533
+ accessList?: import("viem").AccessList;
2534
+ authorizationList?: import("viem").AuthorizationList;
2535
+ chain?: import("viem").Chain | null;
2536
+ dataSuffix?: `0x${string}`;
2537
+ gas?: bigint;
2538
+ gasPrice?: bigint;
2539
+ maxFeePerGas?: bigint;
2540
+ maxPriorityFeePerGas?: bigint;
2541
+ nonce?: number;
2542
+ value?: bigint;
2543
+ }): Promise<void>;
2544
+ /**
2545
+ * Simulate whitelistUsers
2546
+ * Returns gas estimate and result without sending transaction
2547
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2548
+ */
2549
+ whitelistUsers(_usersToWhitelist: `0x${string}`[], options?: {
2550
+ accessList?: import("viem").AccessList;
2551
+ authorizationList?: import("viem").AuthorizationList;
2552
+ chain?: import("viem").Chain | null;
2553
+ dataSuffix?: `0x${string}`;
2554
+ gas?: bigint;
2555
+ gasPrice?: bigint;
2556
+ maxFeePerGas?: bigint;
2557
+ maxPriorityFeePerGas?: bigint;
2558
+ nonce?: number;
2559
+ value?: bigint;
2560
+ }): Promise<void>;
2561
+ /**
2562
+ * Simulate whitelistUsersForWERT
2563
+ * Returns gas estimate and result without sending transaction
2564
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2565
+ */
2566
+ whitelistUsersForWERT(_addressesToWhitelist: `0x${string}`[], options?: {
2567
+ accessList?: import("viem").AccessList;
2568
+ authorizationList?: import("viem").AuthorizationList;
2569
+ chain?: import("viem").Chain | null;
2570
+ dataSuffix?: `0x${string}`;
2571
+ gas?: bigint;
2572
+ gasPrice?: bigint;
2573
+ maxFeePerGas?: bigint;
2574
+ maxPriorityFeePerGas?: bigint;
2575
+ nonce?: number;
2576
+ value?: bigint;
2577
+ }): Promise<void>;
2578
+ };
2579
+ /**
2580
+ * Watch contract events
2581
+ *
2582
+ * @example
2583
+ * // Watch all Transfer events
2584
+ * const unwatch = contract.watch.Transfer((event) => {
2585
+ * console.log('Transfer:', event);
2586
+ * });
2587
+ *
2588
+ * // Stop watching
2589
+ * unwatch();
2590
+ */
2591
+ get watch(): {
2592
+ /**
2593
+ * Watch ClaimStartUpdated events
2594
+ * @param callback Function to call when event is emitted
2595
+ * @param filter Optional filter for indexed parameters
2596
+ * @returns Unwatch function to stop listening
2597
+ */
2598
+ ClaimStartUpdated: (callback: (event: {
2599
+ prevValue: bigint;
2600
+ newValue: bigint;
2601
+ timestamp: bigint;
2602
+ }) => void) => () => void;
2603
+ /**
2604
+ * Watch Initialized events
2605
+ * @param callback Function to call when event is emitted
2606
+ * @param filter Optional filter for indexed parameters
2607
+ * @returns Unwatch function to stop listening
2608
+ */
2609
+ Initialized: (callback: (event: {
2610
+ version: bigint;
2611
+ }) => void) => () => void;
2612
+ /**
2613
+ * Watch MaxTokensUpdated events
2614
+ * @param callback Function to call when event is emitted
2615
+ * @param filter Optional filter for indexed parameters
2616
+ * @returns Unwatch function to stop listening
2617
+ */
2618
+ MaxTokensUpdated: (callback: (event: {
2619
+ prevValue: bigint;
2620
+ newValue: bigint;
2621
+ timestamp: bigint;
2622
+ }) => void) => () => void;
2623
+ /**
2624
+ * Watch OwnershipTransferred events
2625
+ * @param callback Function to call when event is emitted
2626
+ * @param filter Optional filter for indexed parameters
2627
+ * @returns Unwatch function to stop listening
2628
+ */
2629
+ OwnershipTransferred: (callback: (event: {
2630
+ previousOwner: `0x${string}`;
2631
+ newOwner: `0x${string}`;
2632
+ }) => void, filter?: {
2633
+ previousOwner: `0x${string}`;
2634
+ newOwner: `0x${string}`;
2635
+ }) => () => void;
2636
+ /**
2637
+ * Watch Paused events
2638
+ * @param callback Function to call when event is emitted
2639
+ * @param filter Optional filter for indexed parameters
2640
+ * @returns Unwatch function to stop listening
2641
+ */
2642
+ Paused: (callback: (event: {
2643
+ account: `0x${string}`;
2644
+ }) => void) => () => void;
2645
+ /**
2646
+ * Watch SaleTimeSet events
2647
+ * @param callback Function to call when event is emitted
2648
+ * @param filter Optional filter for indexed parameters
2649
+ * @returns Unwatch function to stop listening
2650
+ */
2651
+ SaleTimeSet: (callback: (event: {
2652
+ _start: bigint;
2653
+ _end: bigint;
2654
+ timestamp: bigint;
2655
+ }) => void) => () => void;
2656
+ /**
2657
+ * Watch SaleTimeUpdated events
2658
+ * @param callback Function to call when event is emitted
2659
+ * @param filter Optional filter for indexed parameters
2660
+ * @returns Unwatch function to stop listening
2661
+ */
2662
+ SaleTimeUpdated: (callback: (event: {
2663
+ key: `0x${string}`;
2664
+ prevValue: bigint;
2665
+ newValue: bigint;
2666
+ timestamp: bigint;
2667
+ }) => void, filter?: {
2668
+ key: `0x${string}`;
2669
+ }) => () => void;
2670
+ /**
2671
+ * Watch TokensAdded events
2672
+ * @param callback Function to call when event is emitted
2673
+ * @param filter Optional filter for indexed parameters
2674
+ * @returns Unwatch function to stop listening
2675
+ */
2676
+ TokensAdded: (callback: (event: {
2677
+ token: `0x${string}`;
2678
+ noOfTokens: bigint;
2679
+ timestamp: bigint;
2680
+ }) => void, filter?: {
2681
+ token: `0x${string}`;
2682
+ }) => () => void;
2683
+ /**
2684
+ * Watch TokensBought events
2685
+ * @param callback Function to call when event is emitted
2686
+ * @param filter Optional filter for indexed parameters
2687
+ * @returns Unwatch function to stop listening
2688
+ */
2689
+ TokensBought: (callback: (event: {
2690
+ user: `0x${string}`;
2691
+ tokensBought: bigint;
2692
+ purchaseToken: `0x${string}`;
2693
+ amountPaid: bigint;
2694
+ usdEq: bigint;
2695
+ timestamp: bigint;
2696
+ }) => void, filter?: {
2697
+ user: `0x${string}`;
2698
+ tokensBought: bigint;
2699
+ purchaseToken: `0x${string}`;
2700
+ }) => () => void;
2701
+ /**
2702
+ * Watch TokensBoughtAndStaked events
2703
+ * @param callback Function to call when event is emitted
2704
+ * @param filter Optional filter for indexed parameters
2705
+ * @returns Unwatch function to stop listening
2706
+ */
2707
+ TokensBoughtAndStaked: (callback: (event: {
2708
+ user: `0x${string}`;
2709
+ tokensBought: bigint;
2710
+ purchaseToken: `0x${string}`;
2711
+ amountPaid: bigint;
2712
+ usdEq: bigint;
2713
+ timestamp: bigint;
2714
+ }) => void, filter?: {
2715
+ user: `0x${string}`;
2716
+ tokensBought: bigint;
2717
+ purchaseToken: `0x${string}`;
2718
+ }) => () => void;
2719
+ /**
2720
+ * Watch TokensClaimed events
2721
+ * @param callback Function to call when event is emitted
2722
+ * @param filter Optional filter for indexed parameters
2723
+ * @returns Unwatch function to stop listening
2724
+ */
2725
+ TokensClaimed: (callback: (event: {
2726
+ user: `0x${string}`;
2727
+ amount: bigint;
2728
+ timestamp: bigint;
2729
+ }) => void, filter?: {
2730
+ user: `0x${string}`;
2731
+ }) => () => void;
2732
+ /**
2733
+ * Watch TokensClaimedAndStaked events
2734
+ * @param callback Function to call when event is emitted
2735
+ * @param filter Optional filter for indexed parameters
2736
+ * @returns Unwatch function to stop listening
2737
+ */
2738
+ TokensClaimedAndStaked: (callback: (event: {
2739
+ user: `0x${string}`;
2740
+ amount: bigint;
2741
+ timestamp: bigint;
2742
+ }) => void, filter?: {
2743
+ user: `0x${string}`;
2744
+ }) => () => void;
2745
+ /**
2746
+ * Watch Unpaused events
2747
+ * @param callback Function to call when event is emitted
2748
+ * @param filter Optional filter for indexed parameters
2749
+ * @returns Unwatch function to stop listening
2750
+ */
2751
+ Unpaused: (callback: (event: {
2752
+ account: `0x${string}`;
2753
+ }) => void) => () => void;
2754
+ };
2755
+ }