@gitmyabi/usdt 1.0.12 → 1.0.13

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,1173 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * EssentialToken_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const EssentialToken_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: true;
35
+ readonly internalType: "address";
36
+ readonly name: "_account";
37
+ readonly type: "address";
38
+ }];
39
+ readonly name: "BlockedAccount";
40
+ readonly type: "event";
41
+ }, {
42
+ readonly anonymous: false;
43
+ readonly inputs: readonly [{
44
+ readonly indexed: false;
45
+ readonly internalType: "uint8";
46
+ readonly name: "version";
47
+ readonly type: "uint8";
48
+ }];
49
+ readonly name: "Initialized";
50
+ readonly type: "event";
51
+ }, {
52
+ readonly anonymous: false;
53
+ readonly inputs: readonly [{
54
+ readonly indexed: true;
55
+ readonly internalType: "address";
56
+ readonly name: "previousOwner";
57
+ readonly type: "address";
58
+ }, {
59
+ readonly indexed: true;
60
+ readonly internalType: "address";
61
+ readonly name: "newOwner";
62
+ readonly type: "address";
63
+ }];
64
+ readonly name: "OwnershipTransferred";
65
+ readonly type: "event";
66
+ }, {
67
+ readonly anonymous: false;
68
+ readonly inputs: readonly [{
69
+ readonly indexed: false;
70
+ readonly internalType: "address";
71
+ readonly name: "account";
72
+ readonly type: "address";
73
+ }];
74
+ readonly name: "Paused";
75
+ readonly type: "event";
76
+ }, {
77
+ readonly anonymous: false;
78
+ readonly inputs: readonly [{
79
+ readonly indexed: true;
80
+ readonly internalType: "address";
81
+ readonly name: "from";
82
+ readonly type: "address";
83
+ }, {
84
+ readonly indexed: true;
85
+ readonly internalType: "address";
86
+ readonly name: "to";
87
+ readonly type: "address";
88
+ }, {
89
+ readonly indexed: false;
90
+ readonly internalType: "uint256";
91
+ readonly name: "value";
92
+ readonly type: "uint256";
93
+ }];
94
+ readonly name: "Transfer";
95
+ readonly type: "event";
96
+ }, {
97
+ readonly anonymous: false;
98
+ readonly inputs: readonly [{
99
+ readonly indexed: true;
100
+ readonly internalType: "address";
101
+ readonly name: "_account";
102
+ readonly type: "address";
103
+ }];
104
+ readonly name: "UnblockedAccount";
105
+ readonly type: "event";
106
+ }, {
107
+ readonly anonymous: false;
108
+ readonly inputs: readonly [{
109
+ readonly indexed: false;
110
+ readonly internalType: "address";
111
+ readonly name: "account";
112
+ readonly type: "address";
113
+ }];
114
+ readonly name: "Unpaused";
115
+ readonly type: "event";
116
+ }, {
117
+ readonly inputs: readonly [{
118
+ readonly internalType: "address";
119
+ readonly name: "owner";
120
+ readonly type: "address";
121
+ }, {
122
+ readonly internalType: "address";
123
+ readonly name: "spender";
124
+ readonly type: "address";
125
+ }];
126
+ readonly name: "allowance";
127
+ readonly outputs: readonly [{
128
+ readonly internalType: "uint256";
129
+ readonly name: "";
130
+ readonly type: "uint256";
131
+ }];
132
+ readonly stateMutability: "view";
133
+ readonly type: "function";
134
+ }, {
135
+ readonly inputs: readonly [{
136
+ readonly internalType: "address";
137
+ readonly name: "spender";
138
+ readonly type: "address";
139
+ }, {
140
+ readonly internalType: "uint256";
141
+ readonly name: "amount";
142
+ readonly type: "uint256";
143
+ }];
144
+ readonly name: "approve";
145
+ readonly outputs: readonly [{
146
+ readonly internalType: "bool";
147
+ readonly name: "";
148
+ readonly type: "bool";
149
+ }];
150
+ readonly stateMutability: "nonpayable";
151
+ readonly type: "function";
152
+ }, {
153
+ readonly inputs: readonly [{
154
+ readonly internalType: "address";
155
+ readonly name: "account";
156
+ readonly type: "address";
157
+ }];
158
+ readonly name: "balanceOf";
159
+ readonly outputs: readonly [{
160
+ readonly internalType: "uint256";
161
+ readonly name: "";
162
+ readonly type: "uint256";
163
+ }];
164
+ readonly stateMutability: "view";
165
+ readonly type: "function";
166
+ }, {
167
+ readonly inputs: readonly [{
168
+ readonly internalType: "address";
169
+ readonly name: "_account";
170
+ readonly type: "address";
171
+ }];
172
+ readonly name: "blockAccount";
173
+ readonly outputs: readonly [];
174
+ readonly stateMutability: "nonpayable";
175
+ readonly type: "function";
176
+ }, {
177
+ readonly inputs: readonly [{
178
+ readonly internalType: "uint256";
179
+ readonly name: "amount";
180
+ readonly type: "uint256";
181
+ }];
182
+ readonly name: "burn";
183
+ readonly outputs: readonly [];
184
+ readonly stateMutability: "nonpayable";
185
+ readonly type: "function";
186
+ }, {
187
+ readonly inputs: readonly [{
188
+ readonly internalType: "address";
189
+ readonly name: "account";
190
+ readonly type: "address";
191
+ }, {
192
+ readonly internalType: "uint256";
193
+ readonly name: "amount";
194
+ readonly type: "uint256";
195
+ }];
196
+ readonly name: "burnFrom";
197
+ readonly outputs: readonly [];
198
+ readonly stateMutability: "nonpayable";
199
+ readonly type: "function";
200
+ }, {
201
+ readonly inputs: readonly [];
202
+ readonly name: "decimals";
203
+ readonly outputs: readonly [{
204
+ readonly internalType: "uint8";
205
+ readonly name: "";
206
+ readonly type: "uint8";
207
+ }];
208
+ readonly stateMutability: "view";
209
+ readonly type: "function";
210
+ }, {
211
+ readonly inputs: readonly [{
212
+ readonly internalType: "address";
213
+ readonly name: "spender";
214
+ readonly type: "address";
215
+ }, {
216
+ readonly internalType: "uint256";
217
+ readonly name: "subtractedValue";
218
+ readonly type: "uint256";
219
+ }];
220
+ readonly name: "decreaseAllowance";
221
+ readonly outputs: readonly [{
222
+ readonly internalType: "bool";
223
+ readonly name: "";
224
+ readonly type: "bool";
225
+ }];
226
+ readonly stateMutability: "nonpayable";
227
+ readonly type: "function";
228
+ }, {
229
+ readonly inputs: readonly [{
230
+ readonly internalType: "address";
231
+ readonly name: "spender";
232
+ readonly type: "address";
233
+ }, {
234
+ readonly internalType: "uint256";
235
+ readonly name: "addedValue";
236
+ readonly type: "uint256";
237
+ }];
238
+ readonly name: "increaseAllowance";
239
+ readonly outputs: readonly [{
240
+ readonly internalType: "bool";
241
+ readonly name: "";
242
+ readonly type: "bool";
243
+ }];
244
+ readonly stateMutability: "nonpayable";
245
+ readonly type: "function";
246
+ }, {
247
+ readonly inputs: readonly [{
248
+ readonly internalType: "address";
249
+ readonly name: "_owner";
250
+ readonly type: "address";
251
+ }, {
252
+ readonly internalType: "string";
253
+ readonly name: "_name";
254
+ readonly type: "string";
255
+ }, {
256
+ readonly internalType: "string";
257
+ readonly name: "_symbol";
258
+ readonly type: "string";
259
+ }, {
260
+ readonly internalType: "uint8";
261
+ readonly name: "_decimals";
262
+ readonly type: "uint8";
263
+ }, {
264
+ readonly internalType: "uint256";
265
+ readonly name: "_initialSupply";
266
+ readonly type: "uint256";
267
+ }, {
268
+ readonly internalType: "uint256";
269
+ readonly name: "_maxSupply";
270
+ readonly type: "uint256";
271
+ }];
272
+ readonly name: "initialize";
273
+ readonly outputs: readonly [];
274
+ readonly stateMutability: "nonpayable";
275
+ readonly type: "function";
276
+ }, {
277
+ readonly inputs: readonly [{
278
+ readonly internalType: "address";
279
+ readonly name: "_account";
280
+ readonly type: "address";
281
+ }];
282
+ readonly name: "isAccountBlocked";
283
+ readonly outputs: readonly [{
284
+ readonly internalType: "bool";
285
+ readonly name: "";
286
+ readonly type: "bool";
287
+ }];
288
+ readonly stateMutability: "view";
289
+ readonly type: "function";
290
+ }, {
291
+ readonly inputs: readonly [];
292
+ readonly name: "maxSupply";
293
+ readonly outputs: readonly [{
294
+ readonly internalType: "uint256";
295
+ readonly name: "";
296
+ readonly type: "uint256";
297
+ }];
298
+ readonly stateMutability: "view";
299
+ readonly type: "function";
300
+ }, {
301
+ readonly inputs: readonly [{
302
+ readonly internalType: "address";
303
+ readonly name: "to";
304
+ readonly type: "address";
305
+ }, {
306
+ readonly internalType: "uint256";
307
+ readonly name: "amount";
308
+ readonly type: "uint256";
309
+ }];
310
+ readonly name: "mint";
311
+ readonly outputs: readonly [];
312
+ readonly stateMutability: "nonpayable";
313
+ readonly type: "function";
314
+ }, {
315
+ readonly inputs: readonly [];
316
+ readonly name: "name";
317
+ readonly outputs: readonly [{
318
+ readonly internalType: "string";
319
+ readonly name: "";
320
+ readonly type: "string";
321
+ }];
322
+ readonly stateMutability: "view";
323
+ readonly type: "function";
324
+ }, {
325
+ readonly inputs: readonly [];
326
+ readonly name: "owner";
327
+ readonly outputs: readonly [{
328
+ readonly internalType: "address";
329
+ readonly name: "";
330
+ readonly type: "address";
331
+ }];
332
+ readonly stateMutability: "view";
333
+ readonly type: "function";
334
+ }, {
335
+ readonly inputs: readonly [];
336
+ readonly name: "pause";
337
+ readonly outputs: readonly [];
338
+ readonly stateMutability: "nonpayable";
339
+ readonly type: "function";
340
+ }, {
341
+ readonly inputs: readonly [];
342
+ readonly name: "paused";
343
+ readonly outputs: readonly [{
344
+ readonly internalType: "bool";
345
+ readonly name: "";
346
+ readonly type: "bool";
347
+ }];
348
+ readonly stateMutability: "view";
349
+ readonly type: "function";
350
+ }, {
351
+ readonly inputs: readonly [];
352
+ readonly name: "renounceOwnership";
353
+ readonly outputs: readonly [];
354
+ readonly stateMutability: "nonpayable";
355
+ readonly type: "function";
356
+ }, {
357
+ readonly inputs: readonly [];
358
+ readonly name: "symbol";
359
+ readonly outputs: readonly [{
360
+ readonly internalType: "string";
361
+ readonly name: "";
362
+ readonly type: "string";
363
+ }];
364
+ readonly stateMutability: "view";
365
+ readonly type: "function";
366
+ }, {
367
+ readonly inputs: readonly [];
368
+ readonly name: "totalSupply";
369
+ readonly outputs: readonly [{
370
+ readonly internalType: "uint256";
371
+ readonly name: "";
372
+ readonly type: "uint256";
373
+ }];
374
+ readonly stateMutability: "view";
375
+ readonly type: "function";
376
+ }, {
377
+ readonly inputs: readonly [{
378
+ readonly internalType: "address";
379
+ readonly name: "to";
380
+ readonly type: "address";
381
+ }, {
382
+ readonly internalType: "uint256";
383
+ readonly name: "amount";
384
+ readonly type: "uint256";
385
+ }];
386
+ readonly name: "transfer";
387
+ readonly outputs: readonly [{
388
+ readonly internalType: "bool";
389
+ readonly name: "";
390
+ readonly type: "bool";
391
+ }];
392
+ readonly stateMutability: "nonpayable";
393
+ readonly type: "function";
394
+ }, {
395
+ readonly inputs: readonly [{
396
+ readonly internalType: "address";
397
+ readonly name: "from";
398
+ readonly type: "address";
399
+ }, {
400
+ readonly internalType: "address";
401
+ readonly name: "to";
402
+ readonly type: "address";
403
+ }, {
404
+ readonly internalType: "uint256";
405
+ readonly name: "amount";
406
+ readonly type: "uint256";
407
+ }];
408
+ readonly name: "transferFrom";
409
+ readonly outputs: readonly [{
410
+ readonly internalType: "bool";
411
+ readonly name: "";
412
+ readonly type: "bool";
413
+ }];
414
+ readonly stateMutability: "nonpayable";
415
+ readonly type: "function";
416
+ }, {
417
+ readonly inputs: readonly [{
418
+ readonly internalType: "address";
419
+ readonly name: "newOwner";
420
+ readonly type: "address";
421
+ }];
422
+ readonly name: "transferOwnership";
423
+ readonly outputs: readonly [];
424
+ readonly stateMutability: "nonpayable";
425
+ readonly type: "function";
426
+ }, {
427
+ readonly inputs: readonly [{
428
+ readonly internalType: "address";
429
+ readonly name: "_account";
430
+ readonly type: "address";
431
+ }];
432
+ readonly name: "unblockAccount";
433
+ readonly outputs: readonly [];
434
+ readonly stateMutability: "nonpayable";
435
+ readonly type: "function";
436
+ }, {
437
+ readonly inputs: readonly [];
438
+ readonly name: "unpause";
439
+ readonly outputs: readonly [];
440
+ readonly stateMutability: "nonpayable";
441
+ readonly type: "function";
442
+ }];
443
+ /**
444
+ * Type-safe ABI for EssentialToken_json
445
+ */
446
+ export type EssentialToken_jsonAbi = typeof EssentialToken_jsonAbi;
447
+ /**
448
+ * Contract instance type for EssentialToken_json
449
+ */
450
+ export type EssentialToken_jsonContract = any;
451
+ /**
452
+ * EssentialToken_json Contract Class
453
+ *
454
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
455
+ *
456
+ * @example
457
+ * ```typescript
458
+ * import { createPublicClient, createWalletClient, http } from 'viem';
459
+ * import { mainnet } from 'viem/chains';
460
+ * import { EssentialToken_json } from 'EssentialToken_json';
461
+ *
462
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
463
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
464
+ *
465
+ * const contract = new EssentialToken_json('0x...', { publicClient, walletClient });
466
+ *
467
+ * // Read functions
468
+ * const result = await contract.balanceOf('0x...');
469
+ *
470
+ * // Write functions
471
+ * const hash = await contract.transfer('0x...', 1000n);
472
+ *
473
+ * // Simulate transactions (dry-run)
474
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
475
+ * console.log('Gas estimate:', simulation.request.gas);
476
+ *
477
+ * // Watch events
478
+ * const unwatch = contract.watch.Transfer((event) => {
479
+ * console.log('Transfer event:', event);
480
+ * });
481
+ * ```
482
+ */
483
+ export declare class EssentialToken_json {
484
+ private contract;
485
+ private contractAddress;
486
+ private publicClient;
487
+ constructor(address: Address, clients: {
488
+ publicClient: PublicClient;
489
+ walletClient?: WalletClient;
490
+ });
491
+ /**
492
+ * Get the contract address
493
+ */
494
+ get address(): Address;
495
+ /**
496
+ * Get the underlying viem contract instance
497
+ */
498
+ getContract(): EssentialToken_jsonContract;
499
+ /**
500
+ * allowance
501
+ * view
502
+ */
503
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
504
+ /**
505
+ * balanceOf
506
+ * view
507
+ */
508
+ balanceOf(account: `0x${string}`): Promise<bigint>;
509
+ /**
510
+ * decimals
511
+ * view
512
+ */
513
+ decimals(): Promise<bigint>;
514
+ /**
515
+ * isAccountBlocked
516
+ * view
517
+ */
518
+ isAccountBlocked(_account: `0x${string}`): Promise<boolean>;
519
+ /**
520
+ * maxSupply
521
+ * view
522
+ */
523
+ maxSupply(): Promise<bigint>;
524
+ /**
525
+ * name
526
+ * view
527
+ */
528
+ name(): Promise<string>;
529
+ /**
530
+ * owner
531
+ * view
532
+ */
533
+ owner(): Promise<`0x${string}`>;
534
+ /**
535
+ * paused
536
+ * view
537
+ */
538
+ paused(): Promise<boolean>;
539
+ /**
540
+ * symbol
541
+ * view
542
+ */
543
+ symbol(): Promise<string>;
544
+ /**
545
+ * totalSupply
546
+ * view
547
+ */
548
+ totalSupply(): Promise<bigint>;
549
+ /**
550
+ * approve
551
+ * nonpayable
552
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
553
+ */
554
+ approve(spender: `0x${string}`, amount: 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
+ * blockAccount
568
+ * nonpayable
569
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
570
+ */
571
+ blockAccount(_account: `0x${string}`, 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
+ * burn
585
+ * nonpayable
586
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
587
+ */
588
+ burn(amount: bigint, 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
+ * burnFrom
602
+ * nonpayable
603
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
604
+ */
605
+ burnFrom(account: `0x${string}`, amount: bigint, 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
+ * decreaseAllowance
619
+ * nonpayable
620
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
621
+ */
622
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: 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
+ * increaseAllowance
636
+ * nonpayable
637
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
638
+ */
639
+ increaseAllowance(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
+ * initialize
653
+ * nonpayable
654
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
655
+ */
656
+ initialize(_owner: `0x${string}`, _name: string, _symbol: string, _decimals: bigint, _initialSupply: bigint, _maxSupply: bigint, 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
+ * mint
670
+ * nonpayable
671
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
672
+ */
673
+ mint(to: `0x${string}`, amount: bigint, options?: {
674
+ accessList?: import('viem').AccessList;
675
+ authorizationList?: import('viem').AuthorizationList;
676
+ chain?: import('viem').Chain | null;
677
+ dataSuffix?: `0x${string}`;
678
+ gas?: bigint;
679
+ gasPrice?: bigint;
680
+ maxFeePerGas?: bigint;
681
+ maxPriorityFeePerGas?: bigint;
682
+ nonce?: number;
683
+ value?: bigint;
684
+ }): Promise<`0x${string}`>;
685
+ /**
686
+ * pause
687
+ * nonpayable
688
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
689
+ */
690
+ pause(options?: {
691
+ accessList?: import('viem').AccessList;
692
+ authorizationList?: import('viem').AuthorizationList;
693
+ chain?: import('viem').Chain | null;
694
+ dataSuffix?: `0x${string}`;
695
+ gas?: bigint;
696
+ gasPrice?: bigint;
697
+ maxFeePerGas?: bigint;
698
+ maxPriorityFeePerGas?: bigint;
699
+ nonce?: number;
700
+ value?: bigint;
701
+ }): Promise<`0x${string}`>;
702
+ /**
703
+ * renounceOwnership
704
+ * nonpayable
705
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
706
+ */
707
+ renounceOwnership(options?: {
708
+ accessList?: import('viem').AccessList;
709
+ authorizationList?: import('viem').AuthorizationList;
710
+ chain?: import('viem').Chain | null;
711
+ dataSuffix?: `0x${string}`;
712
+ gas?: bigint;
713
+ gasPrice?: bigint;
714
+ maxFeePerGas?: bigint;
715
+ maxPriorityFeePerGas?: bigint;
716
+ nonce?: number;
717
+ value?: bigint;
718
+ }): Promise<`0x${string}`>;
719
+ /**
720
+ * transfer
721
+ * nonpayable
722
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
723
+ */
724
+ transfer(to: `0x${string}`, amount: bigint, options?: {
725
+ accessList?: import('viem').AccessList;
726
+ authorizationList?: import('viem').AuthorizationList;
727
+ chain?: import('viem').Chain | null;
728
+ dataSuffix?: `0x${string}`;
729
+ gas?: bigint;
730
+ gasPrice?: bigint;
731
+ maxFeePerGas?: bigint;
732
+ maxPriorityFeePerGas?: bigint;
733
+ nonce?: number;
734
+ value?: bigint;
735
+ }): Promise<`0x${string}`>;
736
+ /**
737
+ * transferFrom
738
+ * nonpayable
739
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
740
+ */
741
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
742
+ accessList?: import('viem').AccessList;
743
+ authorizationList?: import('viem').AuthorizationList;
744
+ chain?: import('viem').Chain | null;
745
+ dataSuffix?: `0x${string}`;
746
+ gas?: bigint;
747
+ gasPrice?: bigint;
748
+ maxFeePerGas?: bigint;
749
+ maxPriorityFeePerGas?: bigint;
750
+ nonce?: number;
751
+ value?: bigint;
752
+ }): Promise<`0x${string}`>;
753
+ /**
754
+ * transferOwnership
755
+ * nonpayable
756
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
757
+ */
758
+ transferOwnership(newOwner: `0x${string}`, options?: {
759
+ accessList?: import('viem').AccessList;
760
+ authorizationList?: import('viem').AuthorizationList;
761
+ chain?: import('viem').Chain | null;
762
+ dataSuffix?: `0x${string}`;
763
+ gas?: bigint;
764
+ gasPrice?: bigint;
765
+ maxFeePerGas?: bigint;
766
+ maxPriorityFeePerGas?: bigint;
767
+ nonce?: number;
768
+ value?: bigint;
769
+ }): Promise<`0x${string}`>;
770
+ /**
771
+ * unblockAccount
772
+ * nonpayable
773
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
774
+ */
775
+ unblockAccount(_account: `0x${string}`, options?: {
776
+ accessList?: import('viem').AccessList;
777
+ authorizationList?: import('viem').AuthorizationList;
778
+ chain?: import('viem').Chain | null;
779
+ dataSuffix?: `0x${string}`;
780
+ gas?: bigint;
781
+ gasPrice?: bigint;
782
+ maxFeePerGas?: bigint;
783
+ maxPriorityFeePerGas?: bigint;
784
+ nonce?: number;
785
+ value?: bigint;
786
+ }): Promise<`0x${string}`>;
787
+ /**
788
+ * unpause
789
+ * nonpayable
790
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
791
+ */
792
+ unpause(options?: {
793
+ accessList?: import('viem').AccessList;
794
+ authorizationList?: import('viem').AuthorizationList;
795
+ chain?: import('viem').Chain | null;
796
+ dataSuffix?: `0x${string}`;
797
+ gas?: bigint;
798
+ gasPrice?: bigint;
799
+ maxFeePerGas?: bigint;
800
+ maxPriorityFeePerGas?: bigint;
801
+ nonce?: number;
802
+ value?: bigint;
803
+ }): Promise<`0x${string}`>;
804
+ /**
805
+ * Simulate contract write operations (dry-run without sending transaction)
806
+ *
807
+ * @example
808
+ * const result = await contract.simulate.transfer('0x...', 1000n);
809
+ * console.log('Gas estimate:', result.request.gas);
810
+ * console.log('Would succeed:', result.result);
811
+ */
812
+ get simulate(): {
813
+ /**
814
+ * Simulate approve
815
+ * Returns gas estimate and result without sending transaction
816
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
817
+ */
818
+ approve(spender: `0x${string}`, amount: 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 blockAccount
832
+ * Returns gas estimate and result without sending transaction
833
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
834
+ */
835
+ blockAccount(_account: `0x${string}`, 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<void>;
847
+ /**
848
+ * Simulate burn
849
+ * Returns gas estimate and result without sending transaction
850
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
851
+ */
852
+ burn(amount: bigint, 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
+ * Simulate burnFrom
866
+ * Returns gas estimate and result without sending transaction
867
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
868
+ */
869
+ burnFrom(account: `0x${string}`, amount: bigint, options?: {
870
+ accessList?: import("viem").AccessList;
871
+ authorizationList?: import("viem").AuthorizationList;
872
+ chain?: import("viem").Chain | null;
873
+ dataSuffix?: `0x${string}`;
874
+ gas?: bigint;
875
+ gasPrice?: bigint;
876
+ maxFeePerGas?: bigint;
877
+ maxPriorityFeePerGas?: bigint;
878
+ nonce?: number;
879
+ value?: bigint;
880
+ }): Promise<void>;
881
+ /**
882
+ * Simulate decreaseAllowance
883
+ * Returns gas estimate and result without sending transaction
884
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
885
+ */
886
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
887
+ accessList?: import("viem").AccessList;
888
+ authorizationList?: import("viem").AuthorizationList;
889
+ chain?: import("viem").Chain | null;
890
+ dataSuffix?: `0x${string}`;
891
+ gas?: bigint;
892
+ gasPrice?: bigint;
893
+ maxFeePerGas?: bigint;
894
+ maxPriorityFeePerGas?: bigint;
895
+ nonce?: number;
896
+ value?: bigint;
897
+ }): Promise<boolean>;
898
+ /**
899
+ * Simulate increaseAllowance
900
+ * Returns gas estimate and result without sending transaction
901
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
902
+ */
903
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
904
+ accessList?: import("viem").AccessList;
905
+ authorizationList?: import("viem").AuthorizationList;
906
+ chain?: import("viem").Chain | null;
907
+ dataSuffix?: `0x${string}`;
908
+ gas?: bigint;
909
+ gasPrice?: bigint;
910
+ maxFeePerGas?: bigint;
911
+ maxPriorityFeePerGas?: bigint;
912
+ nonce?: number;
913
+ value?: bigint;
914
+ }): Promise<boolean>;
915
+ /**
916
+ * Simulate initialize
917
+ * Returns gas estimate and result without sending transaction
918
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
919
+ */
920
+ initialize(_owner: `0x${string}`, _name: string, _symbol: string, _decimals: bigint, _initialSupply: bigint, _maxSupply: bigint, options?: {
921
+ accessList?: import("viem").AccessList;
922
+ authorizationList?: import("viem").AuthorizationList;
923
+ chain?: import("viem").Chain | null;
924
+ dataSuffix?: `0x${string}`;
925
+ gas?: bigint;
926
+ gasPrice?: bigint;
927
+ maxFeePerGas?: bigint;
928
+ maxPriorityFeePerGas?: bigint;
929
+ nonce?: number;
930
+ value?: bigint;
931
+ }): Promise<void>;
932
+ /**
933
+ * Simulate mint
934
+ * Returns gas estimate and result without sending transaction
935
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
936
+ */
937
+ mint(to: `0x${string}`, amount: bigint, options?: {
938
+ accessList?: import("viem").AccessList;
939
+ authorizationList?: import("viem").AuthorizationList;
940
+ chain?: import("viem").Chain | null;
941
+ dataSuffix?: `0x${string}`;
942
+ gas?: bigint;
943
+ gasPrice?: bigint;
944
+ maxFeePerGas?: bigint;
945
+ maxPriorityFeePerGas?: bigint;
946
+ nonce?: number;
947
+ value?: bigint;
948
+ }): Promise<void>;
949
+ /**
950
+ * Simulate pause
951
+ * Returns gas estimate and result without sending transaction
952
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
953
+ */
954
+ pause(options?: {
955
+ accessList?: import("viem").AccessList;
956
+ authorizationList?: import("viem").AuthorizationList;
957
+ chain?: import("viem").Chain | null;
958
+ dataSuffix?: `0x${string}`;
959
+ gas?: bigint;
960
+ gasPrice?: bigint;
961
+ maxFeePerGas?: bigint;
962
+ maxPriorityFeePerGas?: bigint;
963
+ nonce?: number;
964
+ value?: bigint;
965
+ }): Promise<void>;
966
+ /**
967
+ * Simulate renounceOwnership
968
+ * Returns gas estimate and result without sending transaction
969
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
970
+ */
971
+ renounceOwnership(options?: {
972
+ accessList?: import("viem").AccessList;
973
+ authorizationList?: import("viem").AuthorizationList;
974
+ chain?: import("viem").Chain | null;
975
+ dataSuffix?: `0x${string}`;
976
+ gas?: bigint;
977
+ gasPrice?: bigint;
978
+ maxFeePerGas?: bigint;
979
+ maxPriorityFeePerGas?: bigint;
980
+ nonce?: number;
981
+ value?: bigint;
982
+ }): Promise<void>;
983
+ /**
984
+ * Simulate transfer
985
+ * Returns gas estimate and result without sending transaction
986
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
987
+ */
988
+ transfer(to: `0x${string}`, amount: bigint, options?: {
989
+ accessList?: import("viem").AccessList;
990
+ authorizationList?: import("viem").AuthorizationList;
991
+ chain?: import("viem").Chain | null;
992
+ dataSuffix?: `0x${string}`;
993
+ gas?: bigint;
994
+ gasPrice?: bigint;
995
+ maxFeePerGas?: bigint;
996
+ maxPriorityFeePerGas?: bigint;
997
+ nonce?: number;
998
+ value?: bigint;
999
+ }): Promise<boolean>;
1000
+ /**
1001
+ * Simulate transferFrom
1002
+ * Returns gas estimate and result without sending transaction
1003
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1004
+ */
1005
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
1006
+ accessList?: import("viem").AccessList;
1007
+ authorizationList?: import("viem").AuthorizationList;
1008
+ chain?: import("viem").Chain | null;
1009
+ dataSuffix?: `0x${string}`;
1010
+ gas?: bigint;
1011
+ gasPrice?: bigint;
1012
+ maxFeePerGas?: bigint;
1013
+ maxPriorityFeePerGas?: bigint;
1014
+ nonce?: number;
1015
+ value?: bigint;
1016
+ }): Promise<boolean>;
1017
+ /**
1018
+ * Simulate transferOwnership
1019
+ * Returns gas estimate and result without sending transaction
1020
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1021
+ */
1022
+ transferOwnership(newOwner: `0x${string}`, options?: {
1023
+ accessList?: import("viem").AccessList;
1024
+ authorizationList?: import("viem").AuthorizationList;
1025
+ chain?: import("viem").Chain | null;
1026
+ dataSuffix?: `0x${string}`;
1027
+ gas?: bigint;
1028
+ gasPrice?: bigint;
1029
+ maxFeePerGas?: bigint;
1030
+ maxPriorityFeePerGas?: bigint;
1031
+ nonce?: number;
1032
+ value?: bigint;
1033
+ }): Promise<void>;
1034
+ /**
1035
+ * Simulate unblockAccount
1036
+ * Returns gas estimate and result without sending transaction
1037
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1038
+ */
1039
+ unblockAccount(_account: `0x${string}`, options?: {
1040
+ accessList?: import("viem").AccessList;
1041
+ authorizationList?: import("viem").AuthorizationList;
1042
+ chain?: import("viem").Chain | null;
1043
+ dataSuffix?: `0x${string}`;
1044
+ gas?: bigint;
1045
+ gasPrice?: bigint;
1046
+ maxFeePerGas?: bigint;
1047
+ maxPriorityFeePerGas?: bigint;
1048
+ nonce?: number;
1049
+ value?: bigint;
1050
+ }): Promise<void>;
1051
+ /**
1052
+ * Simulate unpause
1053
+ * Returns gas estimate and result without sending transaction
1054
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1055
+ */
1056
+ unpause(options?: {
1057
+ accessList?: import("viem").AccessList;
1058
+ authorizationList?: import("viem").AuthorizationList;
1059
+ chain?: import("viem").Chain | null;
1060
+ dataSuffix?: `0x${string}`;
1061
+ gas?: bigint;
1062
+ gasPrice?: bigint;
1063
+ maxFeePerGas?: bigint;
1064
+ maxPriorityFeePerGas?: bigint;
1065
+ nonce?: number;
1066
+ value?: bigint;
1067
+ }): Promise<void>;
1068
+ };
1069
+ /**
1070
+ * Watch contract events
1071
+ *
1072
+ * @example
1073
+ * // Watch all Transfer events
1074
+ * const unwatch = contract.watch.Transfer((event) => {
1075
+ * console.log('Transfer:', event);
1076
+ * });
1077
+ *
1078
+ * // Stop watching
1079
+ * unwatch();
1080
+ */
1081
+ get watch(): {
1082
+ /**
1083
+ * Watch Approval events
1084
+ * @param callback Function to call when event is emitted
1085
+ * @param filter Optional filter for indexed parameters
1086
+ * @returns Unwatch function to stop listening
1087
+ */
1088
+ Approval: (callback: (event: {
1089
+ owner: `0x${string}`;
1090
+ spender: `0x${string}`;
1091
+ value: bigint;
1092
+ }) => void, filter?: {
1093
+ owner: `0x${string}`;
1094
+ spender: `0x${string}`;
1095
+ }) => () => void;
1096
+ /**
1097
+ * Watch BlockedAccount events
1098
+ * @param callback Function to call when event is emitted
1099
+ * @param filter Optional filter for indexed parameters
1100
+ * @returns Unwatch function to stop listening
1101
+ */
1102
+ BlockedAccount: (callback: (event: {
1103
+ _account: `0x${string}`;
1104
+ }) => void, filter?: {
1105
+ _account: `0x${string}`;
1106
+ }) => () => void;
1107
+ /**
1108
+ * Watch Initialized events
1109
+ * @param callback Function to call when event is emitted
1110
+ * @param filter Optional filter for indexed parameters
1111
+ * @returns Unwatch function to stop listening
1112
+ */
1113
+ Initialized: (callback: (event: {
1114
+ version: bigint;
1115
+ }) => void) => () => void;
1116
+ /**
1117
+ * Watch OwnershipTransferred events
1118
+ * @param callback Function to call when event is emitted
1119
+ * @param filter Optional filter for indexed parameters
1120
+ * @returns Unwatch function to stop listening
1121
+ */
1122
+ OwnershipTransferred: (callback: (event: {
1123
+ previousOwner: `0x${string}`;
1124
+ newOwner: `0x${string}`;
1125
+ }) => void, filter?: {
1126
+ previousOwner: `0x${string}`;
1127
+ newOwner: `0x${string}`;
1128
+ }) => () => void;
1129
+ /**
1130
+ * Watch Paused events
1131
+ * @param callback Function to call when event is emitted
1132
+ * @param filter Optional filter for indexed parameters
1133
+ * @returns Unwatch function to stop listening
1134
+ */
1135
+ Paused: (callback: (event: {
1136
+ account: `0x${string}`;
1137
+ }) => void) => () => void;
1138
+ /**
1139
+ * Watch Transfer events
1140
+ * @param callback Function to call when event is emitted
1141
+ * @param filter Optional filter for indexed parameters
1142
+ * @returns Unwatch function to stop listening
1143
+ */
1144
+ Transfer: (callback: (event: {
1145
+ from: `0x${string}`;
1146
+ to: `0x${string}`;
1147
+ value: bigint;
1148
+ }) => void, filter?: {
1149
+ from: `0x${string}`;
1150
+ to: `0x${string}`;
1151
+ }) => () => void;
1152
+ /**
1153
+ * Watch UnblockedAccount events
1154
+ * @param callback Function to call when event is emitted
1155
+ * @param filter Optional filter for indexed parameters
1156
+ * @returns Unwatch function to stop listening
1157
+ */
1158
+ UnblockedAccount: (callback: (event: {
1159
+ _account: `0x${string}`;
1160
+ }) => void, filter?: {
1161
+ _account: `0x${string}`;
1162
+ }) => () => void;
1163
+ /**
1164
+ * Watch Unpaused events
1165
+ * @param callback Function to call when event is emitted
1166
+ * @param filter Optional filter for indexed parameters
1167
+ * @returns Unwatch function to stop listening
1168
+ */
1169
+ Unpaused: (callback: (event: {
1170
+ account: `0x${string}`;
1171
+ }) => void) => () => void;
1172
+ };
1173
+ }