@gitmyabi/chillguy 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,977 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * JustAChillGuy_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const JustAChillGuy_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: true;
15
+ readonly internalType: "address";
16
+ readonly name: "owner";
17
+ readonly type: "address";
18
+ }, {
19
+ readonly indexed: true;
20
+ readonly internalType: "address";
21
+ readonly name: "spender";
22
+ readonly type: "address";
23
+ }, {
24
+ readonly indexed: false;
25
+ readonly internalType: "uint256";
26
+ readonly name: "value";
27
+ readonly type: "uint256";
28
+ }];
29
+ readonly name: "Approval";
30
+ readonly type: "event";
31
+ }, {
32
+ readonly anonymous: false;
33
+ readonly inputs: readonly [{
34
+ readonly indexed: false;
35
+ readonly internalType: "uint256";
36
+ readonly name: "_maxTxAmount";
37
+ readonly type: "uint256";
38
+ }];
39
+ readonly name: "MaxTxAmountUpdated";
40
+ readonly type: "event";
41
+ }, {
42
+ readonly anonymous: false;
43
+ readonly inputs: readonly [{
44
+ readonly indexed: true;
45
+ readonly internalType: "address";
46
+ readonly name: "previousOwner";
47
+ readonly type: "address";
48
+ }, {
49
+ readonly indexed: true;
50
+ readonly internalType: "address";
51
+ readonly name: "newOwner";
52
+ readonly type: "address";
53
+ }];
54
+ readonly name: "OwnershipTransferred";
55
+ readonly type: "event";
56
+ }, {
57
+ readonly anonymous: false;
58
+ readonly inputs: readonly [{
59
+ readonly indexed: true;
60
+ readonly internalType: "address";
61
+ readonly name: "from";
62
+ readonly type: "address";
63
+ }, {
64
+ readonly indexed: true;
65
+ readonly internalType: "address";
66
+ readonly name: "to";
67
+ readonly type: "address";
68
+ }, {
69
+ readonly indexed: false;
70
+ readonly internalType: "uint256";
71
+ readonly name: "value";
72
+ readonly type: "uint256";
73
+ }];
74
+ readonly name: "Transfer";
75
+ readonly type: "event";
76
+ }, {
77
+ readonly anonymous: false;
78
+ readonly inputs: readonly [{
79
+ readonly indexed: false;
80
+ readonly internalType: "uint256";
81
+ readonly name: "_tax";
82
+ readonly type: "uint256";
83
+ }];
84
+ readonly name: "TransferTaxUpdated";
85
+ readonly type: "event";
86
+ }, {
87
+ readonly inputs: readonly [];
88
+ readonly name: "_buyCount";
89
+ readonly outputs: readonly [{
90
+ readonly internalType: "uint256";
91
+ readonly name: "";
92
+ readonly type: "uint256";
93
+ }];
94
+ readonly stateMutability: "view";
95
+ readonly type: "function";
96
+ }, {
97
+ readonly inputs: readonly [];
98
+ readonly name: "_finalBuyTax";
99
+ readonly outputs: readonly [{
100
+ readonly internalType: "uint256";
101
+ readonly name: "";
102
+ readonly type: "uint256";
103
+ }];
104
+ readonly stateMutability: "view";
105
+ readonly type: "function";
106
+ }, {
107
+ readonly inputs: readonly [];
108
+ readonly name: "_finalSellTax";
109
+ readonly outputs: readonly [{
110
+ readonly internalType: "uint256";
111
+ readonly name: "";
112
+ readonly type: "uint256";
113
+ }];
114
+ readonly stateMutability: "view";
115
+ readonly type: "function";
116
+ }, {
117
+ readonly inputs: readonly [];
118
+ readonly name: "_maxTaxSwap";
119
+ readonly outputs: readonly [{
120
+ readonly internalType: "uint256";
121
+ readonly name: "";
122
+ readonly type: "uint256";
123
+ }];
124
+ readonly stateMutability: "view";
125
+ readonly type: "function";
126
+ }, {
127
+ readonly inputs: readonly [];
128
+ readonly name: "_maxTxAmount";
129
+ readonly outputs: readonly [{
130
+ readonly internalType: "uint256";
131
+ readonly name: "";
132
+ readonly type: "uint256";
133
+ }];
134
+ readonly stateMutability: "view";
135
+ readonly type: "function";
136
+ }, {
137
+ readonly inputs: readonly [];
138
+ readonly name: "_maxWalletSize";
139
+ readonly outputs: readonly [{
140
+ readonly internalType: "uint256";
141
+ readonly name: "";
142
+ readonly type: "uint256";
143
+ }];
144
+ readonly stateMutability: "view";
145
+ readonly type: "function";
146
+ }, {
147
+ readonly inputs: readonly [];
148
+ readonly name: "_taxSwapThreshold";
149
+ readonly outputs: readonly [{
150
+ readonly internalType: "uint256";
151
+ readonly name: "";
152
+ readonly type: "uint256";
153
+ }];
154
+ readonly stateMutability: "view";
155
+ readonly type: "function";
156
+ }, {
157
+ readonly inputs: readonly [];
158
+ readonly name: "_transferTax";
159
+ readonly outputs: readonly [{
160
+ readonly internalType: "uint256";
161
+ readonly name: "";
162
+ readonly type: "uint256";
163
+ }];
164
+ readonly stateMutability: "view";
165
+ readonly type: "function";
166
+ }, {
167
+ readonly inputs: readonly [{
168
+ readonly internalType: "address[]";
169
+ readonly name: "bots_";
170
+ readonly type: "address[]";
171
+ }];
172
+ readonly name: "addBots";
173
+ readonly outputs: readonly [];
174
+ readonly stateMutability: "nonpayable";
175
+ readonly type: "function";
176
+ }, {
177
+ readonly inputs: readonly [{
178
+ readonly internalType: "address";
179
+ readonly name: "owner";
180
+ readonly type: "address";
181
+ }, {
182
+ readonly internalType: "address";
183
+ readonly name: "spender";
184
+ readonly type: "address";
185
+ }];
186
+ readonly name: "allowance";
187
+ readonly outputs: readonly [{
188
+ readonly internalType: "uint256";
189
+ readonly name: "";
190
+ readonly type: "uint256";
191
+ }];
192
+ readonly stateMutability: "view";
193
+ readonly type: "function";
194
+ }, {
195
+ readonly inputs: readonly [{
196
+ readonly internalType: "address";
197
+ readonly name: "spender";
198
+ readonly type: "address";
199
+ }, {
200
+ readonly internalType: "uint256";
201
+ readonly name: "amount";
202
+ readonly type: "uint256";
203
+ }];
204
+ readonly name: "approve";
205
+ readonly outputs: readonly [{
206
+ readonly internalType: "bool";
207
+ readonly name: "";
208
+ readonly type: "bool";
209
+ }];
210
+ readonly stateMutability: "nonpayable";
211
+ readonly type: "function";
212
+ }, {
213
+ readonly inputs: readonly [{
214
+ readonly internalType: "address";
215
+ readonly name: "account";
216
+ readonly type: "address";
217
+ }];
218
+ readonly name: "balanceOf";
219
+ readonly outputs: readonly [{
220
+ readonly internalType: "uint256";
221
+ readonly name: "";
222
+ readonly type: "uint256";
223
+ }];
224
+ readonly stateMutability: "view";
225
+ readonly type: "function";
226
+ }, {
227
+ readonly inputs: readonly [];
228
+ readonly name: "decimals";
229
+ readonly outputs: readonly [{
230
+ readonly internalType: "uint8";
231
+ readonly name: "";
232
+ readonly type: "uint8";
233
+ }];
234
+ readonly stateMutability: "pure";
235
+ readonly type: "function";
236
+ }, {
237
+ readonly inputs: readonly [{
238
+ readonly internalType: "address[]";
239
+ readonly name: "notbot";
240
+ readonly type: "address[]";
241
+ }];
242
+ readonly name: "delBots";
243
+ readonly outputs: readonly [];
244
+ readonly stateMutability: "nonpayable";
245
+ readonly type: "function";
246
+ }, {
247
+ readonly inputs: readonly [{
248
+ readonly internalType: "address";
249
+ readonly name: "a";
250
+ readonly type: "address";
251
+ }];
252
+ readonly name: "isBot";
253
+ readonly outputs: readonly [{
254
+ readonly internalType: "bool";
255
+ readonly name: "";
256
+ readonly type: "bool";
257
+ }];
258
+ readonly stateMutability: "view";
259
+ readonly type: "function";
260
+ }, {
261
+ readonly inputs: readonly [];
262
+ readonly name: "manualSwap";
263
+ readonly outputs: readonly [];
264
+ readonly stateMutability: "nonpayable";
265
+ readonly type: "function";
266
+ }, {
267
+ readonly inputs: readonly [];
268
+ readonly name: "name";
269
+ readonly outputs: readonly [{
270
+ readonly internalType: "string";
271
+ readonly name: "";
272
+ readonly type: "string";
273
+ }];
274
+ readonly stateMutability: "pure";
275
+ readonly type: "function";
276
+ }, {
277
+ readonly inputs: readonly [];
278
+ readonly name: "openTrading";
279
+ readonly outputs: readonly [];
280
+ readonly stateMutability: "nonpayable";
281
+ readonly type: "function";
282
+ }, {
283
+ readonly inputs: readonly [];
284
+ readonly name: "owner";
285
+ readonly outputs: readonly [{
286
+ readonly internalType: "address";
287
+ readonly name: "";
288
+ readonly type: "address";
289
+ }];
290
+ readonly stateMutability: "view";
291
+ readonly type: "function";
292
+ }, {
293
+ readonly inputs: readonly [{
294
+ readonly internalType: "uint256";
295
+ readonly name: "_newFee";
296
+ readonly type: "uint256";
297
+ }];
298
+ readonly name: "reduceFee";
299
+ readonly outputs: readonly [];
300
+ readonly stateMutability: "nonpayable";
301
+ readonly type: "function";
302
+ }, {
303
+ readonly inputs: readonly [];
304
+ readonly name: "removeLimits";
305
+ readonly outputs: readonly [];
306
+ readonly stateMutability: "nonpayable";
307
+ readonly type: "function";
308
+ }, {
309
+ readonly inputs: readonly [];
310
+ readonly name: "removeTransferTax";
311
+ readonly outputs: readonly [];
312
+ readonly stateMutability: "nonpayable";
313
+ readonly type: "function";
314
+ }, {
315
+ readonly inputs: readonly [];
316
+ readonly name: "renounceOwnership";
317
+ readonly outputs: readonly [];
318
+ readonly stateMutability: "nonpayable";
319
+ readonly type: "function";
320
+ }, {
321
+ readonly inputs: readonly [];
322
+ readonly name: "symbol";
323
+ readonly outputs: readonly [{
324
+ readonly internalType: "string";
325
+ readonly name: "";
326
+ readonly type: "string";
327
+ }];
328
+ readonly stateMutability: "pure";
329
+ readonly type: "function";
330
+ }, {
331
+ readonly inputs: readonly [];
332
+ readonly name: "totalSupply";
333
+ readonly outputs: readonly [{
334
+ readonly internalType: "uint256";
335
+ readonly name: "";
336
+ readonly type: "uint256";
337
+ }];
338
+ readonly stateMutability: "pure";
339
+ readonly type: "function";
340
+ }, {
341
+ readonly inputs: readonly [{
342
+ readonly internalType: "address";
343
+ readonly name: "recipient";
344
+ readonly type: "address";
345
+ }, {
346
+ readonly internalType: "uint256";
347
+ readonly name: "amount";
348
+ readonly type: "uint256";
349
+ }];
350
+ readonly name: "transfer";
351
+ readonly outputs: readonly [{
352
+ readonly internalType: "bool";
353
+ readonly name: "";
354
+ readonly type: "bool";
355
+ }];
356
+ readonly stateMutability: "nonpayable";
357
+ readonly type: "function";
358
+ }, {
359
+ readonly inputs: readonly [{
360
+ readonly internalType: "address";
361
+ readonly name: "sender";
362
+ readonly type: "address";
363
+ }, {
364
+ readonly internalType: "address";
365
+ readonly name: "recipient";
366
+ readonly type: "address";
367
+ }, {
368
+ readonly internalType: "uint256";
369
+ readonly name: "amount";
370
+ readonly type: "uint256";
371
+ }];
372
+ readonly name: "transferFrom";
373
+ readonly outputs: readonly [{
374
+ readonly internalType: "bool";
375
+ readonly name: "";
376
+ readonly type: "bool";
377
+ }];
378
+ readonly stateMutability: "nonpayable";
379
+ readonly type: "function";
380
+ }, {
381
+ readonly stateMutability: "payable";
382
+ readonly type: "receive";
383
+ }];
384
+ /**
385
+ * Type-safe ABI for JustAChillGuy_json
386
+ */
387
+ export type JustAChillGuy_jsonAbi = typeof JustAChillGuy_jsonAbi;
388
+ /**
389
+ * Contract instance type for JustAChillGuy_json
390
+ */
391
+ export type JustAChillGuy_jsonContract = any;
392
+ /**
393
+ * JustAChillGuy_json Contract Class
394
+ *
395
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
396
+ *
397
+ * @example
398
+ * ```typescript
399
+ * import { createPublicClient, createWalletClient, http } from 'viem';
400
+ * import { mainnet } from 'viem/chains';
401
+ * import { JustAChillGuy_json } from 'JustAChillGuy_json';
402
+ *
403
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
404
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
405
+ *
406
+ * const contract = new JustAChillGuy_json('0x...', { publicClient, walletClient });
407
+ *
408
+ * // Read functions
409
+ * const result = await contract.balanceOf('0x...');
410
+ *
411
+ * // Write functions
412
+ * const hash = await contract.transfer('0x...', 1000n);
413
+ *
414
+ * // Simulate transactions (dry-run)
415
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
416
+ * console.log('Gas estimate:', simulation.request.gas);
417
+ *
418
+ * // Watch events
419
+ * const unwatch = contract.watch.Transfer((event) => {
420
+ * console.log('Transfer event:', event);
421
+ * });
422
+ * ```
423
+ */
424
+ export declare class JustAChillGuy_json {
425
+ private contract;
426
+ private contractAddress;
427
+ private publicClient;
428
+ constructor(address: Address, clients: {
429
+ publicClient: PublicClient;
430
+ walletClient?: WalletClient;
431
+ });
432
+ /**
433
+ * Get the contract address
434
+ */
435
+ get address(): Address;
436
+ /**
437
+ * Get the underlying viem contract instance
438
+ */
439
+ getContract(): JustAChillGuy_jsonContract;
440
+ /**
441
+ * _buyCount
442
+ * view
443
+ */
444
+ _buyCount(): Promise<bigint>;
445
+ /**
446
+ * _finalBuyTax
447
+ * view
448
+ */
449
+ _finalBuyTax(): Promise<bigint>;
450
+ /**
451
+ * _finalSellTax
452
+ * view
453
+ */
454
+ _finalSellTax(): Promise<bigint>;
455
+ /**
456
+ * _maxTaxSwap
457
+ * view
458
+ */
459
+ _maxTaxSwap(): Promise<bigint>;
460
+ /**
461
+ * _maxTxAmount
462
+ * view
463
+ */
464
+ _maxTxAmount(): Promise<bigint>;
465
+ /**
466
+ * _maxWalletSize
467
+ * view
468
+ */
469
+ _maxWalletSize(): Promise<bigint>;
470
+ /**
471
+ * _taxSwapThreshold
472
+ * view
473
+ */
474
+ _taxSwapThreshold(): Promise<bigint>;
475
+ /**
476
+ * _transferTax
477
+ * view
478
+ */
479
+ _transferTax(): Promise<bigint>;
480
+ /**
481
+ * allowance
482
+ * view
483
+ */
484
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
485
+ /**
486
+ * balanceOf
487
+ * view
488
+ */
489
+ balanceOf(account: `0x${string}`): Promise<bigint>;
490
+ /**
491
+ * decimals
492
+ * pure
493
+ */
494
+ decimals(): Promise<bigint>;
495
+ /**
496
+ * isBot
497
+ * view
498
+ */
499
+ isBot(a: `0x${string}`): Promise<boolean>;
500
+ /**
501
+ * name
502
+ * pure
503
+ */
504
+ name(): Promise<string>;
505
+ /**
506
+ * owner
507
+ * view
508
+ */
509
+ owner(): Promise<`0x${string}`>;
510
+ /**
511
+ * symbol
512
+ * pure
513
+ */
514
+ symbol(): Promise<string>;
515
+ /**
516
+ * totalSupply
517
+ * pure
518
+ */
519
+ totalSupply(): Promise<bigint>;
520
+ /**
521
+ * addBots
522
+ * nonpayable
523
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
524
+ */
525
+ addBots(bots_: `0x${string}`[], options?: {
526
+ accessList?: import('viem').AccessList;
527
+ authorizationList?: import('viem').AuthorizationList;
528
+ chain?: import('viem').Chain | null;
529
+ dataSuffix?: `0x${string}`;
530
+ gas?: bigint;
531
+ gasPrice?: bigint;
532
+ maxFeePerGas?: bigint;
533
+ maxPriorityFeePerGas?: bigint;
534
+ nonce?: number;
535
+ value?: bigint;
536
+ }): Promise<`0x${string}`>;
537
+ /**
538
+ * approve
539
+ * nonpayable
540
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
541
+ */
542
+ approve(spender: `0x${string}`, amount: bigint, options?: {
543
+ accessList?: import('viem').AccessList;
544
+ authorizationList?: import('viem').AuthorizationList;
545
+ chain?: import('viem').Chain | null;
546
+ dataSuffix?: `0x${string}`;
547
+ gas?: bigint;
548
+ gasPrice?: bigint;
549
+ maxFeePerGas?: bigint;
550
+ maxPriorityFeePerGas?: bigint;
551
+ nonce?: number;
552
+ value?: bigint;
553
+ }): Promise<`0x${string}`>;
554
+ /**
555
+ * delBots
556
+ * nonpayable
557
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
558
+ */
559
+ delBots(notbot: `0x${string}`[], options?: {
560
+ accessList?: import('viem').AccessList;
561
+ authorizationList?: import('viem').AuthorizationList;
562
+ chain?: import('viem').Chain | null;
563
+ dataSuffix?: `0x${string}`;
564
+ gas?: bigint;
565
+ gasPrice?: bigint;
566
+ maxFeePerGas?: bigint;
567
+ maxPriorityFeePerGas?: bigint;
568
+ nonce?: number;
569
+ value?: bigint;
570
+ }): Promise<`0x${string}`>;
571
+ /**
572
+ * manualSwap
573
+ * nonpayable
574
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
575
+ */
576
+ manualSwap(options?: {
577
+ accessList?: import('viem').AccessList;
578
+ authorizationList?: import('viem').AuthorizationList;
579
+ chain?: import('viem').Chain | null;
580
+ dataSuffix?: `0x${string}`;
581
+ gas?: bigint;
582
+ gasPrice?: bigint;
583
+ maxFeePerGas?: bigint;
584
+ maxPriorityFeePerGas?: bigint;
585
+ nonce?: number;
586
+ value?: bigint;
587
+ }): Promise<`0x${string}`>;
588
+ /**
589
+ * openTrading
590
+ * nonpayable
591
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
592
+ */
593
+ openTrading(options?: {
594
+ accessList?: import('viem').AccessList;
595
+ authorizationList?: import('viem').AuthorizationList;
596
+ chain?: import('viem').Chain | null;
597
+ dataSuffix?: `0x${string}`;
598
+ gas?: bigint;
599
+ gasPrice?: bigint;
600
+ maxFeePerGas?: bigint;
601
+ maxPriorityFeePerGas?: bigint;
602
+ nonce?: number;
603
+ value?: bigint;
604
+ }): Promise<`0x${string}`>;
605
+ /**
606
+ * reduceFee
607
+ * nonpayable
608
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
609
+ */
610
+ reduceFee(_newFee: bigint, options?: {
611
+ accessList?: import('viem').AccessList;
612
+ authorizationList?: import('viem').AuthorizationList;
613
+ chain?: import('viem').Chain | null;
614
+ dataSuffix?: `0x${string}`;
615
+ gas?: bigint;
616
+ gasPrice?: bigint;
617
+ maxFeePerGas?: bigint;
618
+ maxPriorityFeePerGas?: bigint;
619
+ nonce?: number;
620
+ value?: bigint;
621
+ }): Promise<`0x${string}`>;
622
+ /**
623
+ * removeLimits
624
+ * nonpayable
625
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
626
+ */
627
+ removeLimits(options?: {
628
+ accessList?: import('viem').AccessList;
629
+ authorizationList?: import('viem').AuthorizationList;
630
+ chain?: import('viem').Chain | null;
631
+ dataSuffix?: `0x${string}`;
632
+ gas?: bigint;
633
+ gasPrice?: bigint;
634
+ maxFeePerGas?: bigint;
635
+ maxPriorityFeePerGas?: bigint;
636
+ nonce?: number;
637
+ value?: bigint;
638
+ }): Promise<`0x${string}`>;
639
+ /**
640
+ * removeTransferTax
641
+ * nonpayable
642
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
643
+ */
644
+ removeTransferTax(options?: {
645
+ accessList?: import('viem').AccessList;
646
+ authorizationList?: import('viem').AuthorizationList;
647
+ chain?: import('viem').Chain | null;
648
+ dataSuffix?: `0x${string}`;
649
+ gas?: bigint;
650
+ gasPrice?: bigint;
651
+ maxFeePerGas?: bigint;
652
+ maxPriorityFeePerGas?: bigint;
653
+ nonce?: number;
654
+ value?: bigint;
655
+ }): Promise<`0x${string}`>;
656
+ /**
657
+ * renounceOwnership
658
+ * nonpayable
659
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
660
+ */
661
+ renounceOwnership(options?: {
662
+ accessList?: import('viem').AccessList;
663
+ authorizationList?: import('viem').AuthorizationList;
664
+ chain?: import('viem').Chain | null;
665
+ dataSuffix?: `0x${string}`;
666
+ gas?: bigint;
667
+ gasPrice?: bigint;
668
+ maxFeePerGas?: bigint;
669
+ maxPriorityFeePerGas?: bigint;
670
+ nonce?: number;
671
+ value?: bigint;
672
+ }): Promise<`0x${string}`>;
673
+ /**
674
+ * transfer
675
+ * nonpayable
676
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
677
+ */
678
+ transfer(recipient: `0x${string}`, amount: bigint, options?: {
679
+ accessList?: import('viem').AccessList;
680
+ authorizationList?: import('viem').AuthorizationList;
681
+ chain?: import('viem').Chain | null;
682
+ dataSuffix?: `0x${string}`;
683
+ gas?: bigint;
684
+ gasPrice?: bigint;
685
+ maxFeePerGas?: bigint;
686
+ maxPriorityFeePerGas?: bigint;
687
+ nonce?: number;
688
+ value?: bigint;
689
+ }): Promise<`0x${string}`>;
690
+ /**
691
+ * transferFrom
692
+ * nonpayable
693
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
694
+ */
695
+ transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
696
+ accessList?: import('viem').AccessList;
697
+ authorizationList?: import('viem').AuthorizationList;
698
+ chain?: import('viem').Chain | null;
699
+ dataSuffix?: `0x${string}`;
700
+ gas?: bigint;
701
+ gasPrice?: bigint;
702
+ maxFeePerGas?: bigint;
703
+ maxPriorityFeePerGas?: bigint;
704
+ nonce?: number;
705
+ value?: bigint;
706
+ }): Promise<`0x${string}`>;
707
+ /**
708
+ * Simulate contract write operations (dry-run without sending transaction)
709
+ *
710
+ * @example
711
+ * const result = await contract.simulate.transfer('0x...', 1000n);
712
+ * console.log('Gas estimate:', result.request.gas);
713
+ * console.log('Would succeed:', result.result);
714
+ */
715
+ get simulate(): {
716
+ /**
717
+ * Simulate addBots
718
+ * Returns gas estimate and result without sending transaction
719
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
720
+ */
721
+ addBots(bots_: `0x${string}`[], options?: {
722
+ accessList?: import("viem").AccessList;
723
+ authorizationList?: import("viem").AuthorizationList;
724
+ chain?: import("viem").Chain | null;
725
+ dataSuffix?: `0x${string}`;
726
+ gas?: bigint;
727
+ gasPrice?: bigint;
728
+ maxFeePerGas?: bigint;
729
+ maxPriorityFeePerGas?: bigint;
730
+ nonce?: number;
731
+ value?: bigint;
732
+ }): Promise<void>;
733
+ /**
734
+ * Simulate approve
735
+ * Returns gas estimate and result without sending transaction
736
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
737
+ */
738
+ approve(spender: `0x${string}`, amount: bigint, options?: {
739
+ accessList?: import("viem").AccessList;
740
+ authorizationList?: import("viem").AuthorizationList;
741
+ chain?: import("viem").Chain | null;
742
+ dataSuffix?: `0x${string}`;
743
+ gas?: bigint;
744
+ gasPrice?: bigint;
745
+ maxFeePerGas?: bigint;
746
+ maxPriorityFeePerGas?: bigint;
747
+ nonce?: number;
748
+ value?: bigint;
749
+ }): Promise<boolean>;
750
+ /**
751
+ * Simulate delBots
752
+ * Returns gas estimate and result without sending transaction
753
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
754
+ */
755
+ delBots(notbot: `0x${string}`[], options?: {
756
+ accessList?: import("viem").AccessList;
757
+ authorizationList?: import("viem").AuthorizationList;
758
+ chain?: import("viem").Chain | null;
759
+ dataSuffix?: `0x${string}`;
760
+ gas?: bigint;
761
+ gasPrice?: bigint;
762
+ maxFeePerGas?: bigint;
763
+ maxPriorityFeePerGas?: bigint;
764
+ nonce?: number;
765
+ value?: bigint;
766
+ }): Promise<void>;
767
+ /**
768
+ * Simulate manualSwap
769
+ * Returns gas estimate and result without sending transaction
770
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
771
+ */
772
+ manualSwap(options?: {
773
+ accessList?: import("viem").AccessList;
774
+ authorizationList?: import("viem").AuthorizationList;
775
+ chain?: import("viem").Chain | null;
776
+ dataSuffix?: `0x${string}`;
777
+ gas?: bigint;
778
+ gasPrice?: bigint;
779
+ maxFeePerGas?: bigint;
780
+ maxPriorityFeePerGas?: bigint;
781
+ nonce?: number;
782
+ value?: bigint;
783
+ }): Promise<void>;
784
+ /**
785
+ * Simulate openTrading
786
+ * Returns gas estimate and result without sending transaction
787
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
788
+ */
789
+ openTrading(options?: {
790
+ accessList?: import("viem").AccessList;
791
+ authorizationList?: import("viem").AuthorizationList;
792
+ chain?: import("viem").Chain | null;
793
+ dataSuffix?: `0x${string}`;
794
+ gas?: bigint;
795
+ gasPrice?: bigint;
796
+ maxFeePerGas?: bigint;
797
+ maxPriorityFeePerGas?: bigint;
798
+ nonce?: number;
799
+ value?: bigint;
800
+ }): Promise<void>;
801
+ /**
802
+ * Simulate reduceFee
803
+ * Returns gas estimate and result without sending transaction
804
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
805
+ */
806
+ reduceFee(_newFee: bigint, options?: {
807
+ accessList?: import("viem").AccessList;
808
+ authorizationList?: import("viem").AuthorizationList;
809
+ chain?: import("viem").Chain | null;
810
+ dataSuffix?: `0x${string}`;
811
+ gas?: bigint;
812
+ gasPrice?: bigint;
813
+ maxFeePerGas?: bigint;
814
+ maxPriorityFeePerGas?: bigint;
815
+ nonce?: number;
816
+ value?: bigint;
817
+ }): Promise<void>;
818
+ /**
819
+ * Simulate removeLimits
820
+ * Returns gas estimate and result without sending transaction
821
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
822
+ */
823
+ removeLimits(options?: {
824
+ accessList?: import("viem").AccessList;
825
+ authorizationList?: import("viem").AuthorizationList;
826
+ chain?: import("viem").Chain | null;
827
+ dataSuffix?: `0x${string}`;
828
+ gas?: bigint;
829
+ gasPrice?: bigint;
830
+ maxFeePerGas?: bigint;
831
+ maxPriorityFeePerGas?: bigint;
832
+ nonce?: number;
833
+ value?: bigint;
834
+ }): Promise<void>;
835
+ /**
836
+ * Simulate removeTransferTax
837
+ * Returns gas estimate and result without sending transaction
838
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
839
+ */
840
+ removeTransferTax(options?: {
841
+ accessList?: import("viem").AccessList;
842
+ authorizationList?: import("viem").AuthorizationList;
843
+ chain?: import("viem").Chain | null;
844
+ dataSuffix?: `0x${string}`;
845
+ gas?: bigint;
846
+ gasPrice?: bigint;
847
+ maxFeePerGas?: bigint;
848
+ maxPriorityFeePerGas?: bigint;
849
+ nonce?: number;
850
+ value?: bigint;
851
+ }): Promise<void>;
852
+ /**
853
+ * Simulate renounceOwnership
854
+ * Returns gas estimate and result without sending transaction
855
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
856
+ */
857
+ renounceOwnership(options?: {
858
+ accessList?: import("viem").AccessList;
859
+ authorizationList?: import("viem").AuthorizationList;
860
+ chain?: import("viem").Chain | null;
861
+ dataSuffix?: `0x${string}`;
862
+ gas?: bigint;
863
+ gasPrice?: bigint;
864
+ maxFeePerGas?: bigint;
865
+ maxPriorityFeePerGas?: bigint;
866
+ nonce?: number;
867
+ value?: bigint;
868
+ }): Promise<void>;
869
+ /**
870
+ * Simulate transfer
871
+ * Returns gas estimate and result without sending transaction
872
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
873
+ */
874
+ transfer(recipient: `0x${string}`, amount: bigint, options?: {
875
+ accessList?: import("viem").AccessList;
876
+ authorizationList?: import("viem").AuthorizationList;
877
+ chain?: import("viem").Chain | null;
878
+ dataSuffix?: `0x${string}`;
879
+ gas?: bigint;
880
+ gasPrice?: bigint;
881
+ maxFeePerGas?: bigint;
882
+ maxPriorityFeePerGas?: bigint;
883
+ nonce?: number;
884
+ value?: bigint;
885
+ }): Promise<boolean>;
886
+ /**
887
+ * Simulate transferFrom
888
+ * Returns gas estimate and result without sending transaction
889
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
890
+ */
891
+ transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
892
+ accessList?: import("viem").AccessList;
893
+ authorizationList?: import("viem").AuthorizationList;
894
+ chain?: import("viem").Chain | null;
895
+ dataSuffix?: `0x${string}`;
896
+ gas?: bigint;
897
+ gasPrice?: bigint;
898
+ maxFeePerGas?: bigint;
899
+ maxPriorityFeePerGas?: bigint;
900
+ nonce?: number;
901
+ value?: bigint;
902
+ }): Promise<boolean>;
903
+ };
904
+ /**
905
+ * Watch contract events
906
+ *
907
+ * @example
908
+ * // Watch all Transfer events
909
+ * const unwatch = contract.watch.Transfer((event) => {
910
+ * console.log('Transfer:', event);
911
+ * });
912
+ *
913
+ * // Stop watching
914
+ * unwatch();
915
+ */
916
+ get watch(): {
917
+ /**
918
+ * Watch Approval events
919
+ * @param callback Function to call when event is emitted
920
+ * @param filter Optional filter for indexed parameters
921
+ * @returns Unwatch function to stop listening
922
+ */
923
+ Approval: (callback: (event: {
924
+ owner: `0x${string}`;
925
+ spender: `0x${string}`;
926
+ value: bigint;
927
+ }) => void, filter?: {
928
+ owner: `0x${string}`;
929
+ spender: `0x${string}`;
930
+ }) => () => void;
931
+ /**
932
+ * Watch MaxTxAmountUpdated events
933
+ * @param callback Function to call when event is emitted
934
+ * @param filter Optional filter for indexed parameters
935
+ * @returns Unwatch function to stop listening
936
+ */
937
+ MaxTxAmountUpdated: (callback: (event: {
938
+ _maxTxAmount: bigint;
939
+ }) => void) => () => void;
940
+ /**
941
+ * Watch OwnershipTransferred events
942
+ * @param callback Function to call when event is emitted
943
+ * @param filter Optional filter for indexed parameters
944
+ * @returns Unwatch function to stop listening
945
+ */
946
+ OwnershipTransferred: (callback: (event: {
947
+ previousOwner: `0x${string}`;
948
+ newOwner: `0x${string}`;
949
+ }) => void, filter?: {
950
+ previousOwner: `0x${string}`;
951
+ newOwner: `0x${string}`;
952
+ }) => () => void;
953
+ /**
954
+ * Watch Transfer events
955
+ * @param callback Function to call when event is emitted
956
+ * @param filter Optional filter for indexed parameters
957
+ * @returns Unwatch function to stop listening
958
+ */
959
+ Transfer: (callback: (event: {
960
+ from: `0x${string}`;
961
+ to: `0x${string}`;
962
+ value: bigint;
963
+ }) => void, filter?: {
964
+ from: `0x${string}`;
965
+ to: `0x${string}`;
966
+ }) => () => void;
967
+ /**
968
+ * Watch TransferTaxUpdated events
969
+ * @param callback Function to call when event is emitted
970
+ * @param filter Optional filter for indexed parameters
971
+ * @returns Unwatch function to stop listening
972
+ */
973
+ TransferTaxUpdated: (callback: (event: {
974
+ _tax: bigint;
975
+ }) => void) => () => void;
976
+ };
977
+ }