@gitmyabi/usdt 1.0.13 → 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.
@@ -1,13 +1,28 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * EssentialToken_json ABI
3
+ * USDTProxy_json ABI
4
4
  *
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
- export declare const EssentialToken_jsonAbi: readonly [{
7
+ export declare const USDTProxy_jsonAbi: readonly [{
8
8
  readonly inputs: readonly [];
9
9
  readonly stateMutability: "nonpayable";
10
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";
11
26
  }, {
12
27
  readonly anonymous: false;
13
28
  readonly inputs: readonly [{
@@ -33,10 +48,40 @@ export declare const EssentialToken_jsonAbi: readonly [{
33
48
  readonly inputs: readonly [{
34
49
  readonly indexed: true;
35
50
  readonly internalType: "address";
36
- readonly name: "_account";
51
+ readonly name: "beacon";
37
52
  readonly type: "address";
38
53
  }];
39
- readonly name: "BlockedAccount";
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";
40
85
  readonly type: "event";
41
86
  }, {
42
87
  readonly anonymous: false;
@@ -48,6 +93,21 @@ export declare const EssentialToken_jsonAbi: readonly [{
48
93
  }];
49
94
  readonly name: "Initialized";
50
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";
51
111
  }, {
52
112
  readonly anonymous: false;
53
113
  readonly inputs: readonly [{
@@ -66,7 +126,7 @@ export declare const EssentialToken_jsonAbi: readonly [{
66
126
  }, {
67
127
  readonly anonymous: false;
68
128
  readonly inputs: readonly [{
69
- readonly indexed: false;
129
+ readonly indexed: true;
70
130
  readonly internalType: "address";
71
131
  readonly name: "account";
72
132
  readonly type: "address";
@@ -98,20 +158,20 @@ export declare const EssentialToken_jsonAbi: readonly [{
98
158
  readonly inputs: readonly [{
99
159
  readonly indexed: true;
100
160
  readonly internalType: "address";
101
- readonly name: "_account";
161
+ readonly name: "account";
102
162
  readonly type: "address";
103
163
  }];
104
- readonly name: "UnblockedAccount";
164
+ readonly name: "Unpaused";
105
165
  readonly type: "event";
106
166
  }, {
107
167
  readonly anonymous: false;
108
168
  readonly inputs: readonly [{
109
- readonly indexed: false;
169
+ readonly indexed: true;
110
170
  readonly internalType: "address";
111
- readonly name: "account";
171
+ readonly name: "implementation";
112
172
  readonly type: "address";
113
173
  }];
114
- readonly name: "Unpaused";
174
+ readonly name: "Upgraded";
115
175
  readonly type: "event";
116
176
  }, {
117
177
  readonly inputs: readonly [{
@@ -166,34 +226,14 @@ export declare const EssentialToken_jsonAbi: readonly [{
166
226
  }, {
167
227
  readonly inputs: readonly [{
168
228
  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";
229
+ readonly name: "from";
190
230
  readonly type: "address";
191
231
  }, {
192
232
  readonly internalType: "uint256";
193
233
  readonly name: "amount";
194
234
  readonly type: "uint256";
195
235
  }];
196
- readonly name: "burnFrom";
236
+ readonly name: "burn";
197
237
  readonly outputs: readonly [];
198
238
  readonly stateMutability: "nonpayable";
199
239
  readonly type: "function";
@@ -205,7 +245,7 @@ export declare const EssentialToken_jsonAbi: readonly [{
205
245
  readonly name: "";
206
246
  readonly type: "uint8";
207
247
  }];
208
- readonly stateMutability: "view";
248
+ readonly stateMutability: "pure";
209
249
  readonly type: "function";
210
250
  }, {
211
251
  readonly inputs: readonly [{
@@ -245,29 +285,21 @@ export declare const EssentialToken_jsonAbi: readonly [{
245
285
  readonly type: "function";
246
286
  }, {
247
287
  readonly inputs: readonly [{
248
- readonly internalType: "address";
249
- readonly name: "_owner";
250
- readonly type: "address";
251
- }, {
252
288
  readonly internalType: "string";
253
- readonly name: "_name";
289
+ readonly name: "name";
254
290
  readonly type: "string";
255
291
  }, {
256
292
  readonly internalType: "string";
257
- readonly name: "_symbol";
293
+ readonly name: "symbol";
258
294
  readonly type: "string";
259
- }, {
260
- readonly internalType: "uint8";
261
- readonly name: "_decimals";
262
- readonly type: "uint8";
263
295
  }, {
264
296
  readonly internalType: "uint256";
265
- readonly name: "_initialSupply";
297
+ readonly name: "initialSupply";
266
298
  readonly type: "uint256";
267
299
  }, {
268
- readonly internalType: "uint256";
269
- readonly name: "_maxSupply";
270
- readonly type: "uint256";
300
+ readonly internalType: "address";
301
+ readonly name: "owner";
302
+ readonly type: "address";
271
303
  }];
272
304
  readonly name: "initialize";
273
305
  readonly outputs: readonly [];
@@ -276,10 +308,10 @@ export declare const EssentialToken_jsonAbi: readonly [{
276
308
  }, {
277
309
  readonly inputs: readonly [{
278
310
  readonly internalType: "address";
279
- readonly name: "_account";
311
+ readonly name: "";
280
312
  readonly type: "address";
281
313
  }];
282
- readonly name: "isAccountBlocked";
314
+ readonly name: "isBlacklisted";
283
315
  readonly outputs: readonly [{
284
316
  readonly internalType: "bool";
285
317
  readonly name: "";
@@ -287,16 +319,6 @@ export declare const EssentialToken_jsonAbi: readonly [{
287
319
  }];
288
320
  readonly stateMutability: "view";
289
321
  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
322
  }, {
301
323
  readonly inputs: readonly [{
302
324
  readonly internalType: "address";
@@ -347,12 +369,36 @@ export declare const EssentialToken_jsonAbi: readonly [{
347
369
  }];
348
370
  readonly stateMutability: "view";
349
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";
350
382
  }, {
351
383
  readonly inputs: readonly [];
352
384
  readonly name: "renounceOwnership";
353
385
  readonly outputs: readonly [];
354
386
  readonly stateMutability: "nonpayable";
355
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";
356
402
  }, {
357
403
  readonly inputs: readonly [];
358
404
  readonly name: "symbol";
@@ -423,33 +469,57 @@ export declare const EssentialToken_jsonAbi: readonly [{
423
469
  readonly outputs: readonly [];
424
470
  readonly stateMutability: "nonpayable";
425
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";
426
478
  }, {
427
479
  readonly inputs: readonly [{
428
480
  readonly internalType: "address";
429
- readonly name: "_account";
481
+ readonly name: "newImplementation";
430
482
  readonly type: "address";
431
483
  }];
432
- readonly name: "unblockAccount";
484
+ readonly name: "upgradeTo";
433
485
  readonly outputs: readonly [];
434
486
  readonly stateMutability: "nonpayable";
435
487
  readonly type: "function";
436
488
  }, {
437
- readonly inputs: readonly [];
438
- readonly name: "unpause";
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";
439
499
  readonly outputs: readonly [];
440
- readonly stateMutability: "nonpayable";
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";
441
511
  readonly type: "function";
442
512
  }];
443
513
  /**
444
- * Type-safe ABI for EssentialToken_json
514
+ * Type-safe ABI for USDTProxy_json
445
515
  */
446
- export type EssentialToken_jsonAbi = typeof EssentialToken_jsonAbi;
516
+ export type USDTProxy_jsonAbi = typeof USDTProxy_jsonAbi;
447
517
  /**
448
- * Contract instance type for EssentialToken_json
518
+ * Contract instance type for USDTProxy_json
449
519
  */
450
- export type EssentialToken_jsonContract = any;
520
+ export type USDTProxy_jsonContract = any;
451
521
  /**
452
- * EssentialToken_json Contract Class
522
+ * USDTProxy_json Contract Class
453
523
  *
454
524
  * Provides a class-based API similar to TypeChain for interacting with the contract.
455
525
  *
@@ -457,12 +527,12 @@ export type EssentialToken_jsonContract = any;
457
527
  * ```typescript
458
528
  * import { createPublicClient, createWalletClient, http } from 'viem';
459
529
  * import { mainnet } from 'viem/chains';
460
- * import { EssentialToken_json } from 'EssentialToken_json';
530
+ * import { USDTProxy_json } from 'USDTProxy_json';
461
531
  *
462
532
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
463
533
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
464
534
  *
465
- * const contract = new EssentialToken_json('0x...', { publicClient, walletClient });
535
+ * const contract = new USDTProxy_json('0x...', { publicClient, walletClient });
466
536
  *
467
537
  * // Read functions
468
538
  * const result = await contract.balanceOf('0x...');
@@ -480,7 +550,7 @@ export type EssentialToken_jsonContract = any;
480
550
  * });
481
551
  * ```
482
552
  */
483
- export declare class EssentialToken_json {
553
+ export declare class USDTProxy_json {
484
554
  private contract;
485
555
  private contractAddress;
486
556
  private publicClient;
@@ -495,7 +565,7 @@ export declare class EssentialToken_json {
495
565
  /**
496
566
  * Get the underlying viem contract instance
497
567
  */
498
- getContract(): EssentialToken_jsonContract;
568
+ getContract(): USDTProxy_jsonContract;
499
569
  /**
500
570
  * allowance
501
571
  * view
@@ -508,19 +578,14 @@ export declare class EssentialToken_json {
508
578
  balanceOf(account: `0x${string}`): Promise<bigint>;
509
579
  /**
510
580
  * decimals
511
- * view
581
+ * pure
512
582
  */
513
583
  decimals(): Promise<bigint>;
514
584
  /**
515
- * isAccountBlocked
516
- * view
517
- */
518
- isAccountBlocked(_account: `0x${string}`): Promise<boolean>;
519
- /**
520
- * maxSupply
585
+ * isBlacklisted
521
586
  * view
522
587
  */
523
- maxSupply(): Promise<bigint>;
588
+ isBlacklisted(arg0: `0x${string}`): Promise<boolean>;
524
589
  /**
525
590
  * name
526
591
  * view
@@ -536,6 +601,11 @@ export declare class EssentialToken_json {
536
601
  * view
537
602
  */
538
603
  paused(): Promise<boolean>;
604
+ /**
605
+ * proxiableUUID
606
+ * view
607
+ */
608
+ proxiableUUID(): Promise<`0x${string}`>;
539
609
  /**
540
610
  * symbol
541
611
  * view
@@ -546,6 +616,11 @@ export declare class EssentialToken_json {
546
616
  * view
547
617
  */
548
618
  totalSupply(): Promise<bigint>;
619
+ /**
620
+ * version
621
+ * pure
622
+ */
623
+ version(): Promise<string>;
549
624
  /**
550
625
  * approve
551
626
  * nonpayable
@@ -564,11 +639,11 @@ export declare class EssentialToken_json {
564
639
  value?: bigint;
565
640
  }): Promise<`0x${string}`>;
566
641
  /**
567
- * blockAccount
642
+ * burn
568
643
  * nonpayable
569
644
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
570
645
  */
571
- blockAccount(_account: `0x${string}`, options?: {
646
+ burn(from: `0x${string}`, amount: bigint, options?: {
572
647
  accessList?: import('viem').AccessList;
573
648
  authorizationList?: import('viem').AuthorizationList;
574
649
  chain?: import('viem').Chain | null;
@@ -581,11 +656,11 @@ export declare class EssentialToken_json {
581
656
  value?: bigint;
582
657
  }): Promise<`0x${string}`>;
583
658
  /**
584
- * burn
659
+ * decreaseAllowance
585
660
  * nonpayable
586
661
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
587
662
  */
588
- burn(amount: bigint, options?: {
663
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
589
664
  accessList?: import('viem').AccessList;
590
665
  authorizationList?: import('viem').AuthorizationList;
591
666
  chain?: import('viem').Chain | null;
@@ -598,11 +673,11 @@ export declare class EssentialToken_json {
598
673
  value?: bigint;
599
674
  }): Promise<`0x${string}`>;
600
675
  /**
601
- * burnFrom
676
+ * increaseAllowance
602
677
  * nonpayable
603
678
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
604
679
  */
605
- burnFrom(account: `0x${string}`, amount: bigint, options?: {
680
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
606
681
  accessList?: import('viem').AccessList;
607
682
  authorizationList?: import('viem').AuthorizationList;
608
683
  chain?: import('viem').Chain | null;
@@ -615,11 +690,11 @@ export declare class EssentialToken_json {
615
690
  value?: bigint;
616
691
  }): Promise<`0x${string}`>;
617
692
  /**
618
- * decreaseAllowance
693
+ * initialize
619
694
  * nonpayable
620
695
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
621
696
  */
622
- decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
697
+ initialize(name: string, symbol: string, initialSupply: bigint, owner: `0x${string}`, options?: {
623
698
  accessList?: import('viem').AccessList;
624
699
  authorizationList?: import('viem').AuthorizationList;
625
700
  chain?: import('viem').Chain | null;
@@ -632,11 +707,11 @@ export declare class EssentialToken_json {
632
707
  value?: bigint;
633
708
  }): Promise<`0x${string}`>;
634
709
  /**
635
- * increaseAllowance
710
+ * mint
636
711
  * nonpayable
637
712
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
638
713
  */
639
- increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
714
+ mint(to: `0x${string}`, amount: bigint, options?: {
640
715
  accessList?: import('viem').AccessList;
641
716
  authorizationList?: import('viem').AuthorizationList;
642
717
  chain?: import('viem').Chain | null;
@@ -649,11 +724,11 @@ export declare class EssentialToken_json {
649
724
  value?: bigint;
650
725
  }): Promise<`0x${string}`>;
651
726
  /**
652
- * initialize
727
+ * pause
653
728
  * nonpayable
654
729
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
655
730
  */
656
- initialize(_owner: `0x${string}`, _name: string, _symbol: string, _decimals: bigint, _initialSupply: bigint, _maxSupply: bigint, options?: {
731
+ pause(options?: {
657
732
  accessList?: import('viem').AccessList;
658
733
  authorizationList?: import('viem').AuthorizationList;
659
734
  chain?: import('viem').Chain | null;
@@ -666,11 +741,11 @@ export declare class EssentialToken_json {
666
741
  value?: bigint;
667
742
  }): Promise<`0x${string}`>;
668
743
  /**
669
- * mint
744
+ * renounceOwnership
670
745
  * nonpayable
671
746
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
672
747
  */
673
- mint(to: `0x${string}`, amount: bigint, options?: {
748
+ renounceOwnership(options?: {
674
749
  accessList?: import('viem').AccessList;
675
750
  authorizationList?: import('viem').AuthorizationList;
676
751
  chain?: import('viem').Chain | null;
@@ -683,11 +758,11 @@ export declare class EssentialToken_json {
683
758
  value?: bigint;
684
759
  }): Promise<`0x${string}`>;
685
760
  /**
686
- * pause
761
+ * setBlacklisted
687
762
  * nonpayable
688
763
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
689
764
  */
690
- pause(options?: {
765
+ setBlacklisted(account: `0x${string}`, status: boolean, options?: {
691
766
  accessList?: import('viem').AccessList;
692
767
  authorizationList?: import('viem').AuthorizationList;
693
768
  chain?: import('viem').Chain | null;
@@ -700,11 +775,11 @@ export declare class EssentialToken_json {
700
775
  value?: bigint;
701
776
  }): Promise<`0x${string}`>;
702
777
  /**
703
- * renounceOwnership
778
+ * transfer
704
779
  * nonpayable
705
780
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
706
781
  */
707
- renounceOwnership(options?: {
782
+ transfer(to: `0x${string}`, amount: bigint, options?: {
708
783
  accessList?: import('viem').AccessList;
709
784
  authorizationList?: import('viem').AuthorizationList;
710
785
  chain?: import('viem').Chain | null;
@@ -717,11 +792,11 @@ export declare class EssentialToken_json {
717
792
  value?: bigint;
718
793
  }): Promise<`0x${string}`>;
719
794
  /**
720
- * transfer
795
+ * transferFrom
721
796
  * nonpayable
722
797
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
723
798
  */
724
- transfer(to: `0x${string}`, amount: bigint, options?: {
799
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
725
800
  accessList?: import('viem').AccessList;
726
801
  authorizationList?: import('viem').AuthorizationList;
727
802
  chain?: import('viem').Chain | null;
@@ -734,11 +809,11 @@ export declare class EssentialToken_json {
734
809
  value?: bigint;
735
810
  }): Promise<`0x${string}`>;
736
811
  /**
737
- * transferFrom
812
+ * transferOwnership
738
813
  * nonpayable
739
814
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
740
815
  */
741
- transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
816
+ transferOwnership(newOwner: `0x${string}`, options?: {
742
817
  accessList?: import('viem').AccessList;
743
818
  authorizationList?: import('viem').AuthorizationList;
744
819
  chain?: import('viem').Chain | null;
@@ -751,11 +826,11 @@ export declare class EssentialToken_json {
751
826
  value?: bigint;
752
827
  }): Promise<`0x${string}`>;
753
828
  /**
754
- * transferOwnership
829
+ * unpause
755
830
  * nonpayable
756
831
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
757
832
  */
758
- transferOwnership(newOwner: `0x${string}`, options?: {
833
+ unpause(options?: {
759
834
  accessList?: import('viem').AccessList;
760
835
  authorizationList?: import('viem').AuthorizationList;
761
836
  chain?: import('viem').Chain | null;
@@ -768,11 +843,11 @@ export declare class EssentialToken_json {
768
843
  value?: bigint;
769
844
  }): Promise<`0x${string}`>;
770
845
  /**
771
- * unblockAccount
846
+ * upgradeTo
772
847
  * nonpayable
773
848
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
774
849
  */
775
- unblockAccount(_account: `0x${string}`, options?: {
850
+ upgradeTo(newImplementation: `0x${string}`, options?: {
776
851
  accessList?: import('viem').AccessList;
777
852
  authorizationList?: import('viem').AuthorizationList;
778
853
  chain?: import('viem').Chain | null;
@@ -785,11 +860,11 @@ export declare class EssentialToken_json {
785
860
  value?: bigint;
786
861
  }): Promise<`0x${string}`>;
787
862
  /**
788
- * unpause
789
- * nonpayable
863
+ * upgradeToAndCall
864
+ * payable
790
865
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
791
866
  */
792
- unpause(options?: {
867
+ upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
793
868
  accessList?: import('viem').AccessList;
794
869
  authorizationList?: import('viem').AuthorizationList;
795
870
  chain?: import('viem').Chain | null;
@@ -828,11 +903,11 @@ export declare class EssentialToken_json {
828
903
  value?: bigint;
829
904
  }): Promise<boolean>;
830
905
  /**
831
- * Simulate blockAccount
906
+ * Simulate burn
832
907
  * Returns gas estimate and result without sending transaction
833
908
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
834
909
  */
835
- blockAccount(_account: `0x${string}`, options?: {
910
+ burn(from: `0x${string}`, amount: bigint, options?: {
836
911
  accessList?: import("viem").AccessList;
837
912
  authorizationList?: import("viem").AuthorizationList;
838
913
  chain?: import("viem").Chain | null;
@@ -845,11 +920,11 @@ export declare class EssentialToken_json {
845
920
  value?: bigint;
846
921
  }): Promise<void>;
847
922
  /**
848
- * Simulate burn
923
+ * Simulate decreaseAllowance
849
924
  * Returns gas estimate and result without sending transaction
850
925
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
851
926
  */
852
- burn(amount: bigint, options?: {
927
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
853
928
  accessList?: import("viem").AccessList;
854
929
  authorizationList?: import("viem").AuthorizationList;
855
930
  chain?: import("viem").Chain | null;
@@ -860,13 +935,13 @@ export declare class EssentialToken_json {
860
935
  maxPriorityFeePerGas?: bigint;
861
936
  nonce?: number;
862
937
  value?: bigint;
863
- }): Promise<void>;
938
+ }): Promise<boolean>;
864
939
  /**
865
- * Simulate burnFrom
940
+ * Simulate increaseAllowance
866
941
  * Returns gas estimate and result without sending transaction
867
942
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
868
943
  */
869
- burnFrom(account: `0x${string}`, amount: bigint, options?: {
944
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
870
945
  accessList?: import("viem").AccessList;
871
946
  authorizationList?: import("viem").AuthorizationList;
872
947
  chain?: import("viem").Chain | null;
@@ -877,13 +952,13 @@ export declare class EssentialToken_json {
877
952
  maxPriorityFeePerGas?: bigint;
878
953
  nonce?: number;
879
954
  value?: bigint;
880
- }): Promise<void>;
955
+ }): Promise<boolean>;
881
956
  /**
882
- * Simulate decreaseAllowance
957
+ * Simulate initialize
883
958
  * Returns gas estimate and result without sending transaction
884
959
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
885
960
  */
886
- decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
961
+ initialize(name: string, symbol: string, initialSupply: bigint, owner: `0x${string}`, options?: {
887
962
  accessList?: import("viem").AccessList;
888
963
  authorizationList?: import("viem").AuthorizationList;
889
964
  chain?: import("viem").Chain | null;
@@ -894,13 +969,13 @@ export declare class EssentialToken_json {
894
969
  maxPriorityFeePerGas?: bigint;
895
970
  nonce?: number;
896
971
  value?: bigint;
897
- }): Promise<boolean>;
972
+ }): Promise<void>;
898
973
  /**
899
- * Simulate increaseAllowance
974
+ * Simulate mint
900
975
  * Returns gas estimate and result without sending transaction
901
976
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
902
977
  */
903
- increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
978
+ mint(to: `0x${string}`, amount: bigint, options?: {
904
979
  accessList?: import("viem").AccessList;
905
980
  authorizationList?: import("viem").AuthorizationList;
906
981
  chain?: import("viem").Chain | null;
@@ -911,13 +986,13 @@ export declare class EssentialToken_json {
911
986
  maxPriorityFeePerGas?: bigint;
912
987
  nonce?: number;
913
988
  value?: bigint;
914
- }): Promise<boolean>;
989
+ }): Promise<void>;
915
990
  /**
916
- * Simulate initialize
991
+ * Simulate pause
917
992
  * Returns gas estimate and result without sending transaction
918
993
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
919
994
  */
920
- initialize(_owner: `0x${string}`, _name: string, _symbol: string, _decimals: bigint, _initialSupply: bigint, _maxSupply: bigint, options?: {
995
+ pause(options?: {
921
996
  accessList?: import("viem").AccessList;
922
997
  authorizationList?: import("viem").AuthorizationList;
923
998
  chain?: import("viem").Chain | null;
@@ -930,11 +1005,11 @@ export declare class EssentialToken_json {
930
1005
  value?: bigint;
931
1006
  }): Promise<void>;
932
1007
  /**
933
- * Simulate mint
1008
+ * Simulate renounceOwnership
934
1009
  * Returns gas estimate and result without sending transaction
935
1010
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
936
1011
  */
937
- mint(to: `0x${string}`, amount: bigint, options?: {
1012
+ renounceOwnership(options?: {
938
1013
  accessList?: import("viem").AccessList;
939
1014
  authorizationList?: import("viem").AuthorizationList;
940
1015
  chain?: import("viem").Chain | null;
@@ -947,11 +1022,11 @@ export declare class EssentialToken_json {
947
1022
  value?: bigint;
948
1023
  }): Promise<void>;
949
1024
  /**
950
- * Simulate pause
1025
+ * Simulate setBlacklisted
951
1026
  * Returns gas estimate and result without sending transaction
952
1027
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
953
1028
  */
954
- pause(options?: {
1029
+ setBlacklisted(account: `0x${string}`, status: boolean, options?: {
955
1030
  accessList?: import("viem").AccessList;
956
1031
  authorizationList?: import("viem").AuthorizationList;
957
1032
  chain?: import("viem").Chain | null;
@@ -964,11 +1039,11 @@ export declare class EssentialToken_json {
964
1039
  value?: bigint;
965
1040
  }): Promise<void>;
966
1041
  /**
967
- * Simulate renounceOwnership
1042
+ * Simulate transfer
968
1043
  * Returns gas estimate and result without sending transaction
969
1044
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
970
1045
  */
971
- renounceOwnership(options?: {
1046
+ transfer(to: `0x${string}`, amount: bigint, options?: {
972
1047
  accessList?: import("viem").AccessList;
973
1048
  authorizationList?: import("viem").AuthorizationList;
974
1049
  chain?: import("viem").Chain | null;
@@ -979,13 +1054,13 @@ export declare class EssentialToken_json {
979
1054
  maxPriorityFeePerGas?: bigint;
980
1055
  nonce?: number;
981
1056
  value?: bigint;
982
- }): Promise<void>;
1057
+ }): Promise<boolean>;
983
1058
  /**
984
- * Simulate transfer
1059
+ * Simulate transferFrom
985
1060
  * Returns gas estimate and result without sending transaction
986
1061
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
987
1062
  */
988
- transfer(to: `0x${string}`, amount: bigint, options?: {
1063
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
989
1064
  accessList?: import("viem").AccessList;
990
1065
  authorizationList?: import("viem").AuthorizationList;
991
1066
  chain?: import("viem").Chain | null;
@@ -998,11 +1073,11 @@ export declare class EssentialToken_json {
998
1073
  value?: bigint;
999
1074
  }): Promise<boolean>;
1000
1075
  /**
1001
- * Simulate transferFrom
1076
+ * Simulate transferOwnership
1002
1077
  * Returns gas estimate and result without sending transaction
1003
1078
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1004
1079
  */
1005
- transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
1080
+ transferOwnership(newOwner: `0x${string}`, options?: {
1006
1081
  accessList?: import("viem").AccessList;
1007
1082
  authorizationList?: import("viem").AuthorizationList;
1008
1083
  chain?: import("viem").Chain | null;
@@ -1013,13 +1088,13 @@ export declare class EssentialToken_json {
1013
1088
  maxPriorityFeePerGas?: bigint;
1014
1089
  nonce?: number;
1015
1090
  value?: bigint;
1016
- }): Promise<boolean>;
1091
+ }): Promise<void>;
1017
1092
  /**
1018
- * Simulate transferOwnership
1093
+ * Simulate unpause
1019
1094
  * Returns gas estimate and result without sending transaction
1020
1095
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1021
1096
  */
1022
- transferOwnership(newOwner: `0x${string}`, options?: {
1097
+ unpause(options?: {
1023
1098
  accessList?: import("viem").AccessList;
1024
1099
  authorizationList?: import("viem").AuthorizationList;
1025
1100
  chain?: import("viem").Chain | null;
@@ -1032,11 +1107,11 @@ export declare class EssentialToken_json {
1032
1107
  value?: bigint;
1033
1108
  }): Promise<void>;
1034
1109
  /**
1035
- * Simulate unblockAccount
1110
+ * Simulate upgradeTo
1036
1111
  * Returns gas estimate and result without sending transaction
1037
1112
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1038
1113
  */
1039
- unblockAccount(_account: `0x${string}`, options?: {
1114
+ upgradeTo(newImplementation: `0x${string}`, options?: {
1040
1115
  accessList?: import("viem").AccessList;
1041
1116
  authorizationList?: import("viem").AuthorizationList;
1042
1117
  chain?: import("viem").Chain | null;
@@ -1049,11 +1124,11 @@ export declare class EssentialToken_json {
1049
1124
  value?: bigint;
1050
1125
  }): Promise<void>;
1051
1126
  /**
1052
- * Simulate unpause
1127
+ * Simulate upgradeToAndCall
1053
1128
  * Returns gas estimate and result without sending transaction
1054
1129
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1055
1130
  */
1056
- unpause(options?: {
1131
+ upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
1057
1132
  accessList?: import("viem").AccessList;
1058
1133
  authorizationList?: import("viem").AuthorizationList;
1059
1134
  chain?: import("viem").Chain | null;
@@ -1079,6 +1154,16 @@ export declare class EssentialToken_json {
1079
1154
  * unwatch();
1080
1155
  */
1081
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;
1082
1167
  /**
1083
1168
  * Watch Approval events
1084
1169
  * @param callback Function to call when event is emitted
@@ -1094,15 +1179,39 @@ export declare class EssentialToken_json {
1094
1179
  spender: `0x${string}`;
1095
1180
  }) => () => void;
1096
1181
  /**
1097
- * Watch BlockedAccount events
1182
+ * Watch BeaconUpgraded events
1098
1183
  * @param callback Function to call when event is emitted
1099
1184
  * @param filter Optional filter for indexed parameters
1100
1185
  * @returns Unwatch function to stop listening
1101
1186
  */
1102
- BlockedAccount: (callback: (event: {
1103
- _account: `0x${string}`;
1187
+ BeaconUpgraded: (callback: (event: {
1188
+ beacon: `0x${string}`;
1104
1189
  }) => void, filter?: {
1105
- _account: `0x${string}`;
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}`;
1106
1215
  }) => () => void;
1107
1216
  /**
1108
1217
  * Watch Initialized events
@@ -1113,6 +1222,18 @@ export declare class EssentialToken_json {
1113
1222
  Initialized: (callback: (event: {
1114
1223
  version: bigint;
1115
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;
1116
1237
  /**
1117
1238
  * Watch OwnershipTransferred events
1118
1239
  * @param callback Function to call when event is emitted
@@ -1134,7 +1255,9 @@ export declare class EssentialToken_json {
1134
1255
  */
1135
1256
  Paused: (callback: (event: {
1136
1257
  account: `0x${string}`;
1137
- }) => void) => () => void;
1258
+ }) => void, filter?: {
1259
+ account: `0x${string}`;
1260
+ }) => () => void;
1138
1261
  /**
1139
1262
  * Watch Transfer events
1140
1263
  * @param callback Function to call when event is emitted
@@ -1150,24 +1273,26 @@ export declare class EssentialToken_json {
1150
1273
  to: `0x${string}`;
1151
1274
  }) => () => void;
1152
1275
  /**
1153
- * Watch UnblockedAccount events
1276
+ * Watch Unpaused events
1154
1277
  * @param callback Function to call when event is emitted
1155
1278
  * @param filter Optional filter for indexed parameters
1156
1279
  * @returns Unwatch function to stop listening
1157
1280
  */
1158
- UnblockedAccount: (callback: (event: {
1159
- _account: `0x${string}`;
1281
+ Unpaused: (callback: (event: {
1282
+ account: `0x${string}`;
1160
1283
  }) => void, filter?: {
1161
- _account: `0x${string}`;
1284
+ account: `0x${string}`;
1162
1285
  }) => () => void;
1163
1286
  /**
1164
- * Watch Unpaused events
1287
+ * Watch Upgraded events
1165
1288
  * @param callback Function to call when event is emitted
1166
1289
  * @param filter Optional filter for indexed parameters
1167
1290
  * @returns Unwatch function to stop listening
1168
1291
  */
1169
- Unpaused: (callback: (event: {
1170
- account: `0x${string}`;
1171
- }) => void) => () => void;
1292
+ Upgraded: (callback: (event: {
1293
+ implementation: `0x${string}`;
1294
+ }) => void, filter?: {
1295
+ implementation: `0x${string}`;
1296
+ }) => () => void;
1172
1297
  };
1173
1298
  }