@gitmyabi/usdt 1.0.12 → 1.0.14

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