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