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