@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,18 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EssentialToken_json = exports.EssentialToken_jsonAbi = void 0;
3
+ exports.USDTProxy_json = exports.USDTProxy_jsonAbi = void 0;
4
4
  const viem_1 = require("viem");
5
5
  /**
6
- * EssentialToken_json ABI
6
+ * USDTProxy_json ABI
7
7
  *
8
8
  * This ABI is typed using viem's type system for full type safety.
9
9
  */
10
- exports.EssentialToken_jsonAbi = [
10
+ exports.USDTProxy_jsonAbi = [
11
11
  {
12
12
  "inputs": [],
13
13
  "stateMutability": "nonpayable",
14
14
  "type": "constructor"
15
15
  },
16
+ {
17
+ "anonymous": false,
18
+ "inputs": [
19
+ {
20
+ "indexed": false,
21
+ "internalType": "address",
22
+ "name": "previousAdmin",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "indexed": false,
27
+ "internalType": "address",
28
+ "name": "newAdmin",
29
+ "type": "address"
30
+ }
31
+ ],
32
+ "name": "AdminChanged",
33
+ "type": "event"
34
+ },
16
35
  {
17
36
  "anonymous": false,
18
37
  "inputs": [
@@ -44,11 +63,49 @@ exports.EssentialToken_jsonAbi = [
44
63
  {
45
64
  "indexed": true,
46
65
  "internalType": "address",
47
- "name": "_account",
66
+ "name": "beacon",
67
+ "type": "address"
68
+ }
69
+ ],
70
+ "name": "BeaconUpgraded",
71
+ "type": "event"
72
+ },
73
+ {
74
+ "anonymous": false,
75
+ "inputs": [
76
+ {
77
+ "indexed": true,
78
+ "internalType": "address",
79
+ "name": "account",
80
+ "type": "address"
81
+ },
82
+ {
83
+ "indexed": false,
84
+ "internalType": "bool",
85
+ "name": "status",
86
+ "type": "bool"
87
+ }
88
+ ],
89
+ "name": "Blacklisted",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": true,
97
+ "internalType": "address",
98
+ "name": "from",
48
99
  "type": "address"
100
+ },
101
+ {
102
+ "indexed": false,
103
+ "internalType": "uint256",
104
+ "name": "amount",
105
+ "type": "uint256"
49
106
  }
50
107
  ],
51
- "name": "BlockedAccount",
108
+ "name": "Burned",
52
109
  "type": "event"
53
110
  },
54
111
  {
@@ -64,6 +121,25 @@ exports.EssentialToken_jsonAbi = [
64
121
  "name": "Initialized",
65
122
  "type": "event"
66
123
  },
124
+ {
125
+ "anonymous": false,
126
+ "inputs": [
127
+ {
128
+ "indexed": true,
129
+ "internalType": "address",
130
+ "name": "to",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "indexed": false,
135
+ "internalType": "uint256",
136
+ "name": "amount",
137
+ "type": "uint256"
138
+ }
139
+ ],
140
+ "name": "Minted",
141
+ "type": "event"
142
+ },
67
143
  {
68
144
  "anonymous": false,
69
145
  "inputs": [
@@ -87,7 +163,7 @@ exports.EssentialToken_jsonAbi = [
87
163
  "anonymous": false,
88
164
  "inputs": [
89
165
  {
90
- "indexed": false,
166
+ "indexed": true,
91
167
  "internalType": "address",
92
168
  "name": "account",
93
169
  "type": "address"
@@ -127,24 +203,24 @@ exports.EssentialToken_jsonAbi = [
127
203
  {
128
204
  "indexed": true,
129
205
  "internalType": "address",
130
- "name": "_account",
206
+ "name": "account",
131
207
  "type": "address"
132
208
  }
133
209
  ],
134
- "name": "UnblockedAccount",
210
+ "name": "Unpaused",
135
211
  "type": "event"
136
212
  },
137
213
  {
138
214
  "anonymous": false,
139
215
  "inputs": [
140
216
  {
141
- "indexed": false,
217
+ "indexed": true,
142
218
  "internalType": "address",
143
- "name": "account",
219
+ "name": "implementation",
144
220
  "type": "address"
145
221
  }
146
222
  ],
147
- "name": "Unpaused",
223
+ "name": "Upgraded",
148
224
  "type": "event"
149
225
  },
150
226
  {
@@ -218,33 +294,7 @@ exports.EssentialToken_jsonAbi = [
218
294
  "inputs": [
219
295
  {
220
296
  "internalType": "address",
221
- "name": "_account",
222
- "type": "address"
223
- }
224
- ],
225
- "name": "blockAccount",
226
- "outputs": [],
227
- "stateMutability": "nonpayable",
228
- "type": "function"
229
- },
230
- {
231
- "inputs": [
232
- {
233
- "internalType": "uint256",
234
- "name": "amount",
235
- "type": "uint256"
236
- }
237
- ],
238
- "name": "burn",
239
- "outputs": [],
240
- "stateMutability": "nonpayable",
241
- "type": "function"
242
- },
243
- {
244
- "inputs": [
245
- {
246
- "internalType": "address",
247
- "name": "account",
297
+ "name": "from",
248
298
  "type": "address"
249
299
  },
250
300
  {
@@ -253,7 +303,7 @@ exports.EssentialToken_jsonAbi = [
253
303
  "type": "uint256"
254
304
  }
255
305
  ],
256
- "name": "burnFrom",
306
+ "name": "burn",
257
307
  "outputs": [],
258
308
  "stateMutability": "nonpayable",
259
309
  "type": "function"
@@ -268,7 +318,7 @@ exports.EssentialToken_jsonAbi = [
268
318
  "type": "uint8"
269
319
  }
270
320
  ],
271
- "stateMutability": "view",
321
+ "stateMutability": "pure",
272
322
  "type": "function"
273
323
  },
274
324
  {
@@ -321,35 +371,25 @@ exports.EssentialToken_jsonAbi = [
321
371
  },
322
372
  {
323
373
  "inputs": [
324
- {
325
- "internalType": "address",
326
- "name": "_owner",
327
- "type": "address"
328
- },
329
374
  {
330
375
  "internalType": "string",
331
- "name": "_name",
376
+ "name": "name",
332
377
  "type": "string"
333
378
  },
334
379
  {
335
380
  "internalType": "string",
336
- "name": "_symbol",
381
+ "name": "symbol",
337
382
  "type": "string"
338
383
  },
339
- {
340
- "internalType": "uint8",
341
- "name": "_decimals",
342
- "type": "uint8"
343
- },
344
384
  {
345
385
  "internalType": "uint256",
346
- "name": "_initialSupply",
386
+ "name": "initialSupply",
347
387
  "type": "uint256"
348
388
  },
349
389
  {
350
- "internalType": "uint256",
351
- "name": "_maxSupply",
352
- "type": "uint256"
390
+ "internalType": "address",
391
+ "name": "owner",
392
+ "type": "address"
353
393
  }
354
394
  ],
355
395
  "name": "initialize",
@@ -361,11 +401,11 @@ exports.EssentialToken_jsonAbi = [
361
401
  "inputs": [
362
402
  {
363
403
  "internalType": "address",
364
- "name": "_account",
404
+ "name": "",
365
405
  "type": "address"
366
406
  }
367
407
  ],
368
- "name": "isAccountBlocked",
408
+ "name": "isBlacklisted",
369
409
  "outputs": [
370
410
  {
371
411
  "internalType": "bool",
@@ -376,19 +416,6 @@ exports.EssentialToken_jsonAbi = [
376
416
  "stateMutability": "view",
377
417
  "type": "function"
378
418
  },
379
- {
380
- "inputs": [],
381
- "name": "maxSupply",
382
- "outputs": [
383
- {
384
- "internalType": "uint256",
385
- "name": "",
386
- "type": "uint256"
387
- }
388
- ],
389
- "stateMutability": "view",
390
- "type": "function"
391
- },
392
419
  {
393
420
  "inputs": [
394
421
  {
@@ -453,6 +480,19 @@ exports.EssentialToken_jsonAbi = [
453
480
  "stateMutability": "view",
454
481
  "type": "function"
455
482
  },
483
+ {
484
+ "inputs": [],
485
+ "name": "proxiableUUID",
486
+ "outputs": [
487
+ {
488
+ "internalType": "bytes32",
489
+ "name": "",
490
+ "type": "bytes32"
491
+ }
492
+ ],
493
+ "stateMutability": "view",
494
+ "type": "function"
495
+ },
456
496
  {
457
497
  "inputs": [],
458
498
  "name": "renounceOwnership",
@@ -460,6 +500,24 @@ exports.EssentialToken_jsonAbi = [
460
500
  "stateMutability": "nonpayable",
461
501
  "type": "function"
462
502
  },
503
+ {
504
+ "inputs": [
505
+ {
506
+ "internalType": "address",
507
+ "name": "account",
508
+ "type": "address"
509
+ },
510
+ {
511
+ "internalType": "bool",
512
+ "name": "status",
513
+ "type": "bool"
514
+ }
515
+ ],
516
+ "name": "setBlacklisted",
517
+ "outputs": [],
518
+ "stateMutability": "nonpayable",
519
+ "type": "function"
520
+ },
463
521
  {
464
522
  "inputs": [],
465
523
  "name": "symbol",
@@ -552,29 +610,60 @@ exports.EssentialToken_jsonAbi = [
552
610
  "stateMutability": "nonpayable",
553
611
  "type": "function"
554
612
  },
613
+ {
614
+ "inputs": [],
615
+ "name": "unpause",
616
+ "outputs": [],
617
+ "stateMutability": "nonpayable",
618
+ "type": "function"
619
+ },
555
620
  {
556
621
  "inputs": [
557
622
  {
558
623
  "internalType": "address",
559
- "name": "_account",
624
+ "name": "newImplementation",
560
625
  "type": "address"
561
626
  }
562
627
  ],
563
- "name": "unblockAccount",
628
+ "name": "upgradeTo",
564
629
  "outputs": [],
565
630
  "stateMutability": "nonpayable",
566
631
  "type": "function"
567
632
  },
568
633
  {
569
- "inputs": [],
570
- "name": "unpause",
634
+ "inputs": [
635
+ {
636
+ "internalType": "address",
637
+ "name": "newImplementation",
638
+ "type": "address"
639
+ },
640
+ {
641
+ "internalType": "bytes",
642
+ "name": "data",
643
+ "type": "bytes"
644
+ }
645
+ ],
646
+ "name": "upgradeToAndCall",
571
647
  "outputs": [],
572
- "stateMutability": "nonpayable",
648
+ "stateMutability": "payable",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [],
653
+ "name": "version",
654
+ "outputs": [
655
+ {
656
+ "internalType": "string",
657
+ "name": "",
658
+ "type": "string"
659
+ }
660
+ ],
661
+ "stateMutability": "pure",
573
662
  "type": "function"
574
663
  }
575
664
  ];
576
665
  /**
577
- * EssentialToken_json Contract Class
666
+ * USDTProxy_json Contract Class
578
667
  *
579
668
  * Provides a class-based API similar to TypeChain for interacting with the contract.
580
669
  *
@@ -582,12 +671,12 @@ exports.EssentialToken_jsonAbi = [
582
671
  * ```typescript
583
672
  * import { createPublicClient, createWalletClient, http } from 'viem';
584
673
  * import { mainnet } from 'viem/chains';
585
- * import { EssentialToken_json } from 'EssentialToken_json';
674
+ * import { USDTProxy_json } from 'USDTProxy_json';
586
675
  *
587
676
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
588
677
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
589
678
  *
590
- * const contract = new EssentialToken_json('0x...', { publicClient, walletClient });
679
+ * const contract = new USDTProxy_json('0x...', { publicClient, walletClient });
591
680
  *
592
681
  * // Read functions
593
682
  * const result = await contract.balanceOf('0x...');
@@ -605,13 +694,13 @@ exports.EssentialToken_jsonAbi = [
605
694
  * });
606
695
  * ```
607
696
  */
608
- class EssentialToken_json {
697
+ class USDTProxy_json {
609
698
  constructor(address, clients) {
610
699
  this.contractAddress = address;
611
700
  this.publicClient = clients.publicClient;
612
701
  this.contract = (0, viem_1.getContract)({
613
702
  address,
614
- abi: exports.EssentialToken_jsonAbi,
703
+ abi: exports.USDTProxy_jsonAbi,
615
704
  client: {
616
705
  public: clients.publicClient,
617
706
  wallet: clients.walletClient,
@@ -646,24 +735,17 @@ class EssentialToken_json {
646
735
  }
647
736
  /**
648
737
  * decimals
649
- * view
738
+ * pure
650
739
  */
651
740
  async decimals() {
652
741
  return this.contract.read.decimals();
653
742
  }
654
743
  /**
655
- * isAccountBlocked
656
- * view
657
- */
658
- async isAccountBlocked(_account) {
659
- return this.contract.read.isAccountBlocked([_account]);
660
- }
661
- /**
662
- * maxSupply
744
+ * isBlacklisted
663
745
  * view
664
746
  */
665
- async maxSupply() {
666
- return this.contract.read.maxSupply();
747
+ async isBlacklisted(arg0) {
748
+ return this.contract.read.isBlacklisted([arg0]);
667
749
  }
668
750
  /**
669
751
  * name
@@ -686,6 +768,13 @@ class EssentialToken_json {
686
768
  async paused() {
687
769
  return this.contract.read.paused();
688
770
  }
771
+ /**
772
+ * proxiableUUID
773
+ * view
774
+ */
775
+ async proxiableUUID() {
776
+ return this.contract.read.proxiableUUID();
777
+ }
689
778
  /**
690
779
  * symbol
691
780
  * view
@@ -701,48 +790,33 @@ class EssentialToken_json {
701
790
  return this.contract.read.totalSupply();
702
791
  }
703
792
  /**
704
- * approve
705
- * nonpayable
706
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
793
+ * version
794
+ * pure
707
795
  */
708
- async approve(spender, amount, options) {
709
- if (!this.contract.write) {
710
- throw new Error('Wallet client is required for write operations');
711
- }
712
- return this.contract.write.approve([spender, amount], options);
796
+ async version() {
797
+ return this.contract.read.version();
713
798
  }
714
799
  /**
715
- * blockAccount
800
+ * approve
716
801
  * nonpayable
717
802
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
718
803
  */
719
- async blockAccount(_account, options) {
804
+ async approve(spender, amount, options) {
720
805
  if (!this.contract.write) {
721
806
  throw new Error('Wallet client is required for write operations');
722
807
  }
723
- return this.contract.write.blockAccount([_account], options);
808
+ return this.contract.write.approve([spender, amount], options);
724
809
  }
725
810
  /**
726
811
  * burn
727
812
  * nonpayable
728
813
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
729
814
  */
730
- async burn(amount, options) {
815
+ async burn(from, amount, options) {
731
816
  if (!this.contract.write) {
732
817
  throw new Error('Wallet client is required for write operations');
733
818
  }
734
- return this.contract.write.burn([amount], options);
735
- }
736
- /**
737
- * burnFrom
738
- * nonpayable
739
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
740
- */
741
- async burnFrom(account, amount, options) {
742
- if (!this.contract.write) {
743
- throw new Error('Wallet client is required for write operations');
744
- }
745
- return this.contract.write.burnFrom([account, amount], options);
819
+ return this.contract.write.burn([from, amount], options);
746
820
  }
747
821
  /**
748
822
  * decreaseAllowance
@@ -771,11 +845,11 @@ class EssentialToken_json {
771
845
  * nonpayable
772
846
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
773
847
  */
774
- async initialize(_owner, _name, _symbol, _decimals, _initialSupply, _maxSupply, options) {
848
+ async initialize(name, symbol, initialSupply, owner, options) {
775
849
  if (!this.contract.write) {
776
850
  throw new Error('Wallet client is required for write operations');
777
851
  }
778
- return this.contract.write.initialize([_owner, _name, _symbol, _decimals, _initialSupply, _maxSupply], options);
852
+ return this.contract.write.initialize([name, symbol, initialSupply, owner], options);
779
853
  }
780
854
  /**
781
855
  * mint
@@ -810,6 +884,17 @@ class EssentialToken_json {
810
884
  }
811
885
  return this.contract.write.renounceOwnership(options);
812
886
  }
887
+ /**
888
+ * setBlacklisted
889
+ * nonpayable
890
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
891
+ */
892
+ async setBlacklisted(account, status, options) {
893
+ if (!this.contract.write) {
894
+ throw new Error('Wallet client is required for write operations');
895
+ }
896
+ return this.contract.write.setBlacklisted([account, status], options);
897
+ }
813
898
  /**
814
899
  * transfer
815
900
  * nonpayable
@@ -844,26 +929,37 @@ class EssentialToken_json {
844
929
  return this.contract.write.transferOwnership([newOwner], options);
845
930
  }
846
931
  /**
847
- * unblockAccount
932
+ * unpause
848
933
  * nonpayable
849
934
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
850
935
  */
851
- async unblockAccount(_account, options) {
936
+ async unpause(options) {
852
937
  if (!this.contract.write) {
853
938
  throw new Error('Wallet client is required for write operations');
854
939
  }
855
- return this.contract.write.unblockAccount([_account], options);
940
+ return this.contract.write.unpause(options);
856
941
  }
857
942
  /**
858
- * unpause
943
+ * upgradeTo
859
944
  * nonpayable
860
945
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
861
946
  */
862
- async unpause(options) {
947
+ async upgradeTo(newImplementation, options) {
863
948
  if (!this.contract.write) {
864
949
  throw new Error('Wallet client is required for write operations');
865
950
  }
866
- return this.contract.write.unpause(options);
951
+ return this.contract.write.upgradeTo([newImplementation], options);
952
+ }
953
+ /**
954
+ * upgradeToAndCall
955
+ * payable
956
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
957
+ */
958
+ async upgradeToAndCall(newImplementation, data, options) {
959
+ if (!this.contract.write) {
960
+ throw new Error('Wallet client is required for write operations');
961
+ }
962
+ return this.contract.write.upgradeToAndCall([newImplementation, data], options);
867
963
  }
868
964
  /**
869
965
  * Simulate contract write operations (dry-run without sending transaction)
@@ -887,29 +983,13 @@ class EssentialToken_json {
887
983
  async approve(spender, amount, options) {
888
984
  return contract.simulate.approve([spender, amount], options);
889
985
  },
890
- /**
891
- * Simulate blockAccount
892
- * Returns gas estimate and result without sending transaction
893
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
894
- */
895
- async blockAccount(_account, options) {
896
- return contract.simulate.blockAccount([_account], options);
897
- },
898
986
  /**
899
987
  * Simulate burn
900
988
  * Returns gas estimate and result without sending transaction
901
989
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
902
990
  */
903
- async burn(amount, options) {
904
- return contract.simulate.burn([amount], options);
905
- },
906
- /**
907
- * Simulate burnFrom
908
- * Returns gas estimate and result without sending transaction
909
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
910
- */
911
- async burnFrom(account, amount, options) {
912
- return contract.simulate.burnFrom([account, amount], options);
991
+ async burn(from, amount, options) {
992
+ return contract.simulate.burn([from, amount], options);
913
993
  },
914
994
  /**
915
995
  * Simulate decreaseAllowance
@@ -932,8 +1012,8 @@ class EssentialToken_json {
932
1012
  * Returns gas estimate and result without sending transaction
933
1013
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
934
1014
  */
935
- async initialize(_owner, _name, _symbol, _decimals, _initialSupply, _maxSupply, options) {
936
- return contract.simulate.initialize([_owner, _name, _symbol, _decimals, _initialSupply, _maxSupply], options);
1015
+ async initialize(name, symbol, initialSupply, owner, options) {
1016
+ return contract.simulate.initialize([name, symbol, initialSupply, owner], options);
937
1017
  },
938
1018
  /**
939
1019
  * Simulate mint
@@ -959,6 +1039,14 @@ class EssentialToken_json {
959
1039
  async renounceOwnership(options) {
960
1040
  return contract.simulate.renounceOwnership(options);
961
1041
  },
1042
+ /**
1043
+ * Simulate setBlacklisted
1044
+ * Returns gas estimate and result without sending transaction
1045
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1046
+ */
1047
+ async setBlacklisted(account, status, options) {
1048
+ return contract.simulate.setBlacklisted([account, status], options);
1049
+ },
962
1050
  /**
963
1051
  * Simulate transfer
964
1052
  * Returns gas estimate and result without sending transaction
@@ -984,20 +1072,28 @@ class EssentialToken_json {
984
1072
  return contract.simulate.transferOwnership([newOwner], options);
985
1073
  },
986
1074
  /**
987
- * Simulate unblockAccount
1075
+ * Simulate unpause
988
1076
  * Returns gas estimate and result without sending transaction
989
1077
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
990
1078
  */
991
- async unblockAccount(_account, options) {
992
- return contract.simulate.unblockAccount([_account], options);
1079
+ async unpause(options) {
1080
+ return contract.simulate.unpause(options);
993
1081
  },
994
1082
  /**
995
- * Simulate unpause
1083
+ * Simulate upgradeTo
996
1084
  * Returns gas estimate and result without sending transaction
997
1085
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
998
1086
  */
999
- async unpause(options) {
1000
- return contract.simulate.unpause(options);
1087
+ async upgradeTo(newImplementation, options) {
1088
+ return contract.simulate.upgradeTo([newImplementation], options);
1089
+ },
1090
+ /**
1091
+ * Simulate upgradeToAndCall
1092
+ * Returns gas estimate and result without sending transaction
1093
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1094
+ */
1095
+ async upgradeToAndCall(newImplementation, data, options) {
1096
+ return contract.simulate.upgradeToAndCall([newImplementation, data], options);
1001
1097
  }
1002
1098
  };
1003
1099
  }
@@ -1015,6 +1111,24 @@ class EssentialToken_json {
1015
1111
  */
1016
1112
  get watch() {
1017
1113
  return {
1114
+ /**
1115
+ * Watch AdminChanged events
1116
+ * @param callback Function to call when event is emitted
1117
+ * @param filter Optional filter for indexed parameters
1118
+ * @returns Unwatch function to stop listening
1119
+ */
1120
+ AdminChanged: (callback) => {
1121
+ return this.publicClient.watchContractEvent({
1122
+ address: this.contractAddress,
1123
+ abi: exports.USDTProxy_jsonAbi,
1124
+ eventName: 'AdminChanged',
1125
+ onLogs: (logs) => {
1126
+ logs.forEach((log) => {
1127
+ callback(log.args);
1128
+ });
1129
+ },
1130
+ });
1131
+ },
1018
1132
  /**
1019
1133
  * Watch Approval events
1020
1134
  * @param callback Function to call when event is emitted
@@ -1024,7 +1138,7 @@ class EssentialToken_json {
1024
1138
  Approval: (callback, filter) => {
1025
1139
  return this.publicClient.watchContractEvent({
1026
1140
  address: this.contractAddress,
1027
- abi: exports.EssentialToken_jsonAbi,
1141
+ abi: exports.USDTProxy_jsonAbi,
1028
1142
  eventName: 'Approval',
1029
1143
  args: filter,
1030
1144
  onLogs: (logs) => {
@@ -1035,16 +1149,54 @@ class EssentialToken_json {
1035
1149
  });
1036
1150
  },
1037
1151
  /**
1038
- * Watch BlockedAccount events
1152
+ * Watch BeaconUpgraded events
1039
1153
  * @param callback Function to call when event is emitted
1040
1154
  * @param filter Optional filter for indexed parameters
1041
1155
  * @returns Unwatch function to stop listening
1042
1156
  */
1043
- BlockedAccount: (callback, filter) => {
1157
+ BeaconUpgraded: (callback, filter) => {
1044
1158
  return this.publicClient.watchContractEvent({
1045
1159
  address: this.contractAddress,
1046
- abi: exports.EssentialToken_jsonAbi,
1047
- eventName: 'BlockedAccount',
1160
+ abi: exports.USDTProxy_jsonAbi,
1161
+ eventName: 'BeaconUpgraded',
1162
+ args: filter,
1163
+ onLogs: (logs) => {
1164
+ logs.forEach((log) => {
1165
+ callback(log.args);
1166
+ });
1167
+ },
1168
+ });
1169
+ },
1170
+ /**
1171
+ * Watch Blacklisted events
1172
+ * @param callback Function to call when event is emitted
1173
+ * @param filter Optional filter for indexed parameters
1174
+ * @returns Unwatch function to stop listening
1175
+ */
1176
+ Blacklisted: (callback, filter) => {
1177
+ return this.publicClient.watchContractEvent({
1178
+ address: this.contractAddress,
1179
+ abi: exports.USDTProxy_jsonAbi,
1180
+ eventName: 'Blacklisted',
1181
+ args: filter,
1182
+ onLogs: (logs) => {
1183
+ logs.forEach((log) => {
1184
+ callback(log.args);
1185
+ });
1186
+ },
1187
+ });
1188
+ },
1189
+ /**
1190
+ * Watch Burned events
1191
+ * @param callback Function to call when event is emitted
1192
+ * @param filter Optional filter for indexed parameters
1193
+ * @returns Unwatch function to stop listening
1194
+ */
1195
+ Burned: (callback, filter) => {
1196
+ return this.publicClient.watchContractEvent({
1197
+ address: this.contractAddress,
1198
+ abi: exports.USDTProxy_jsonAbi,
1199
+ eventName: 'Burned',
1048
1200
  args: filter,
1049
1201
  onLogs: (logs) => {
1050
1202
  logs.forEach((log) => {
@@ -1062,7 +1214,7 @@ class EssentialToken_json {
1062
1214
  Initialized: (callback) => {
1063
1215
  return this.publicClient.watchContractEvent({
1064
1216
  address: this.contractAddress,
1065
- abi: exports.EssentialToken_jsonAbi,
1217
+ abi: exports.USDTProxy_jsonAbi,
1066
1218
  eventName: 'Initialized',
1067
1219
  onLogs: (logs) => {
1068
1220
  logs.forEach((log) => {
@@ -1071,6 +1223,25 @@ class EssentialToken_json {
1071
1223
  },
1072
1224
  });
1073
1225
  },
1226
+ /**
1227
+ * Watch Minted events
1228
+ * @param callback Function to call when event is emitted
1229
+ * @param filter Optional filter for indexed parameters
1230
+ * @returns Unwatch function to stop listening
1231
+ */
1232
+ Minted: (callback, filter) => {
1233
+ return this.publicClient.watchContractEvent({
1234
+ address: this.contractAddress,
1235
+ abi: exports.USDTProxy_jsonAbi,
1236
+ eventName: 'Minted',
1237
+ args: filter,
1238
+ onLogs: (logs) => {
1239
+ logs.forEach((log) => {
1240
+ callback(log.args);
1241
+ });
1242
+ },
1243
+ });
1244
+ },
1074
1245
  /**
1075
1246
  * Watch OwnershipTransferred events
1076
1247
  * @param callback Function to call when event is emitted
@@ -1080,7 +1251,7 @@ class EssentialToken_json {
1080
1251
  OwnershipTransferred: (callback, filter) => {
1081
1252
  return this.publicClient.watchContractEvent({
1082
1253
  address: this.contractAddress,
1083
- abi: exports.EssentialToken_jsonAbi,
1254
+ abi: exports.USDTProxy_jsonAbi,
1084
1255
  eventName: 'OwnershipTransferred',
1085
1256
  args: filter,
1086
1257
  onLogs: (logs) => {
@@ -1096,11 +1267,12 @@ class EssentialToken_json {
1096
1267
  * @param filter Optional filter for indexed parameters
1097
1268
  * @returns Unwatch function to stop listening
1098
1269
  */
1099
- Paused: (callback) => {
1270
+ Paused: (callback, filter) => {
1100
1271
  return this.publicClient.watchContractEvent({
1101
1272
  address: this.contractAddress,
1102
- abi: exports.EssentialToken_jsonAbi,
1273
+ abi: exports.USDTProxy_jsonAbi,
1103
1274
  eventName: 'Paused',
1275
+ args: filter,
1104
1276
  onLogs: (logs) => {
1105
1277
  logs.forEach((log) => {
1106
1278
  callback(log.args);
@@ -1117,7 +1289,7 @@ class EssentialToken_json {
1117
1289
  Transfer: (callback, filter) => {
1118
1290
  return this.publicClient.watchContractEvent({
1119
1291
  address: this.contractAddress,
1120
- abi: exports.EssentialToken_jsonAbi,
1292
+ abi: exports.USDTProxy_jsonAbi,
1121
1293
  eventName: 'Transfer',
1122
1294
  args: filter,
1123
1295
  onLogs: (logs) => {
@@ -1128,16 +1300,16 @@ class EssentialToken_json {
1128
1300
  });
1129
1301
  },
1130
1302
  /**
1131
- * Watch UnblockedAccount events
1303
+ * Watch Unpaused events
1132
1304
  * @param callback Function to call when event is emitted
1133
1305
  * @param filter Optional filter for indexed parameters
1134
1306
  * @returns Unwatch function to stop listening
1135
1307
  */
1136
- UnblockedAccount: (callback, filter) => {
1308
+ Unpaused: (callback, filter) => {
1137
1309
  return this.publicClient.watchContractEvent({
1138
1310
  address: this.contractAddress,
1139
- abi: exports.EssentialToken_jsonAbi,
1140
- eventName: 'UnblockedAccount',
1311
+ abi: exports.USDTProxy_jsonAbi,
1312
+ eventName: 'Unpaused',
1141
1313
  args: filter,
1142
1314
  onLogs: (logs) => {
1143
1315
  logs.forEach((log) => {
@@ -1147,16 +1319,17 @@ class EssentialToken_json {
1147
1319
  });
1148
1320
  },
1149
1321
  /**
1150
- * Watch Unpaused events
1322
+ * Watch Upgraded events
1151
1323
  * @param callback Function to call when event is emitted
1152
1324
  * @param filter Optional filter for indexed parameters
1153
1325
  * @returns Unwatch function to stop listening
1154
1326
  */
1155
- Unpaused: (callback) => {
1327
+ Upgraded: (callback, filter) => {
1156
1328
  return this.publicClient.watchContractEvent({
1157
1329
  address: this.contractAddress,
1158
- abi: exports.EssentialToken_jsonAbi,
1159
- eventName: 'Unpaused',
1330
+ abi: exports.USDTProxy_jsonAbi,
1331
+ eventName: 'Upgraded',
1332
+ args: filter,
1160
1333
  onLogs: (logs) => {
1161
1334
  logs.forEach((log) => {
1162
1335
  callback(log.args);
@@ -1167,4 +1340,4 @@ class EssentialToken_json {
1167
1340
  };
1168
1341
  }
1169
1342
  }
1170
- exports.EssentialToken_json = EssentialToken_json;
1343
+ exports.USDTProxy_json = USDTProxy_json;