@gitmyabi/usdt 1.0.6 → 1.0.7

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.
@@ -2,101 +2,66 @@ import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType }
2
2
  import { getContract } from 'viem';
3
3
 
4
4
  /**
5
- * TetherUSDT_json ABI
5
+ * MyToken_json ABI
6
6
  *
7
7
  * This ABI is typed using viem's type system for full type safety.
8
8
  */
9
- export const TetherUSDT_jsonAbi = [
10
- {
11
- "inputs": [],
12
- "stateMutability": "nonpayable",
13
- "type": "constructor"
14
- },
9
+ export const MyToken_jsonAbi = [
15
10
  {
16
11
  "inputs": [
17
12
  {
18
- "internalType": "address",
19
- "name": "spender",
20
- "type": "address"
13
+ "internalType": "string",
14
+ "name": "_name",
15
+ "type": "string"
21
16
  },
22
17
  {
23
- "internalType": "uint256",
24
- "name": "allowance",
25
- "type": "uint256"
18
+ "internalType": "string",
19
+ "name": "_symbol",
20
+ "type": "string"
26
21
  },
27
22
  {
28
23
  "internalType": "uint256",
29
- "name": "needed",
24
+ "name": "_cap",
30
25
  "type": "uint256"
31
- }
32
- ],
33
- "name": "ERC20InsufficientAllowance",
34
- "type": "error"
35
- },
36
- {
37
- "inputs": [
38
- {
39
- "internalType": "address",
40
- "name": "sender",
41
- "type": "address"
42
26
  },
43
27
  {
44
28
  "internalType": "uint256",
45
- "name": "balance",
29
+ "name": "_initialSupply",
46
30
  "type": "uint256"
47
31
  },
48
32
  {
49
- "internalType": "uint256",
50
- "name": "needed",
51
- "type": "uint256"
52
- }
53
- ],
54
- "name": "ERC20InsufficientBalance",
55
- "type": "error"
56
- },
57
- {
58
- "inputs": [
59
- {
60
- "internalType": "address",
61
- "name": "approver",
62
- "type": "address"
63
- }
64
- ],
65
- "name": "ERC20InvalidApprover",
66
- "type": "error"
67
- },
68
- {
69
- "inputs": [
70
- {
71
- "internalType": "address",
72
- "name": "receiver",
73
- "type": "address"
33
+ "internalType": "string",
34
+ "name": "_logoURI",
35
+ "type": "string"
74
36
  }
75
37
  ],
76
- "name": "ERC20InvalidReceiver",
77
- "type": "error"
38
+ "stateMutability": "nonpayable",
39
+ "type": "constructor"
78
40
  },
79
41
  {
42
+ "anonymous": false,
80
43
  "inputs": [
81
44
  {
45
+ "indexed": true,
82
46
  "internalType": "address",
83
- "name": "sender",
47
+ "name": "owner",
84
48
  "type": "address"
85
- }
86
- ],
87
- "name": "ERC20InvalidSender",
88
- "type": "error"
89
- },
90
- {
91
- "inputs": [
49
+ },
92
50
  {
51
+ "indexed": true,
93
52
  "internalType": "address",
94
53
  "name": "spender",
95
54
  "type": "address"
55
+ },
56
+ {
57
+ "indexed": false,
58
+ "internalType": "uint256",
59
+ "name": "value",
60
+ "type": "uint256"
96
61
  }
97
62
  ],
98
- "name": "ERC20InvalidSpender",
99
- "type": "error"
63
+ "name": "Approval",
64
+ "type": "event"
100
65
  },
101
66
  {
102
67
  "anonymous": false,
@@ -104,23 +69,17 @@ export const TetherUSDT_jsonAbi = [
104
69
  {
105
70
  "indexed": true,
106
71
  "internalType": "address",
107
- "name": "owner",
72
+ "name": "previousOwner",
108
73
  "type": "address"
109
74
  },
110
75
  {
111
76
  "indexed": true,
112
77
  "internalType": "address",
113
- "name": "spender",
78
+ "name": "newOwner",
114
79
  "type": "address"
115
- },
116
- {
117
- "indexed": false,
118
- "internalType": "uint256",
119
- "name": "value",
120
- "type": "uint256"
121
80
  }
122
81
  ],
123
- "name": "Approval",
82
+ "name": "OwnershipTransferred",
124
83
  "type": "event"
125
84
  },
126
85
  {
@@ -152,12 +111,12 @@ export const TetherUSDT_jsonAbi = [
152
111
  "inputs": [
153
112
  {
154
113
  "internalType": "address",
155
- "name": "owner",
114
+ "name": "",
156
115
  "type": "address"
157
116
  },
158
117
  {
159
118
  "internalType": "address",
160
- "name": "spender",
119
+ "name": "",
161
120
  "type": "address"
162
121
  }
163
122
  ],
@@ -200,7 +159,7 @@ export const TetherUSDT_jsonAbi = [
200
159
  "inputs": [
201
160
  {
202
161
  "internalType": "address",
203
- "name": "account",
162
+ "name": "",
204
163
  "type": "address"
205
164
  }
206
165
  ],
@@ -215,6 +174,19 @@ export const TetherUSDT_jsonAbi = [
215
174
  "stateMutability": "view",
216
175
  "type": "function"
217
176
  },
177
+ {
178
+ "inputs": [],
179
+ "name": "cap",
180
+ "outputs": [
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "stateMutability": "view",
188
+ "type": "function"
189
+ },
218
190
  {
219
191
  "inputs": [],
220
192
  "name": "decimals",
@@ -228,6 +200,37 @@ export const TetherUSDT_jsonAbi = [
228
200
  "stateMutability": "view",
229
201
  "type": "function"
230
202
  },
203
+ {
204
+ "inputs": [],
205
+ "name": "logoURI",
206
+ "outputs": [
207
+ {
208
+ "internalType": "string",
209
+ "name": "",
210
+ "type": "string"
211
+ }
212
+ ],
213
+ "stateMutability": "view",
214
+ "type": "function"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "address",
220
+ "name": "to",
221
+ "type": "address"
222
+ },
223
+ {
224
+ "internalType": "uint256",
225
+ "name": "amount",
226
+ "type": "uint256"
227
+ }
228
+ ],
229
+ "name": "mint",
230
+ "outputs": [],
231
+ "stateMutability": "nonpayable",
232
+ "type": "function"
233
+ },
231
234
  {
232
235
  "inputs": [],
233
236
  "name": "name",
@@ -241,6 +244,39 @@ export const TetherUSDT_jsonAbi = [
241
244
  "stateMutability": "view",
242
245
  "type": "function"
243
246
  },
247
+ {
248
+ "inputs": [],
249
+ "name": "owner",
250
+ "outputs": [
251
+ {
252
+ "internalType": "address",
253
+ "name": "",
254
+ "type": "address"
255
+ }
256
+ ],
257
+ "stateMutability": "view",
258
+ "type": "function"
259
+ },
260
+ {
261
+ "inputs": [],
262
+ "name": "renounceOwnership",
263
+ "outputs": [],
264
+ "stateMutability": "nonpayable",
265
+ "type": "function"
266
+ },
267
+ {
268
+ "inputs": [
269
+ {
270
+ "internalType": "string",
271
+ "name": "_logoURI",
272
+ "type": "string"
273
+ }
274
+ ],
275
+ "name": "setLogoURI",
276
+ "outputs": [],
277
+ "stateMutability": "nonpayable",
278
+ "type": "function"
279
+ },
244
280
  {
245
281
  "inputs": [],
246
282
  "name": "symbol",
@@ -319,23 +355,36 @@ export const TetherUSDT_jsonAbi = [
319
355
  ],
320
356
  "stateMutability": "nonpayable",
321
357
  "type": "function"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "address",
363
+ "name": "newOwner",
364
+ "type": "address"
365
+ }
366
+ ],
367
+ "name": "transferOwnership",
368
+ "outputs": [],
369
+ "stateMutability": "nonpayable",
370
+ "type": "function"
322
371
  }
323
372
  ] as const satisfies Abi;
324
373
 
325
374
  /**
326
- * Type-safe ABI for TetherUSDT_json
375
+ * Type-safe ABI for MyToken_json
327
376
  */
328
- export type TetherUSDT_jsonAbi = typeof TetherUSDT_jsonAbi;
377
+ export type MyToken_jsonAbi = typeof MyToken_jsonAbi;
329
378
 
330
379
  /**
331
- * Contract instance type for TetherUSDT_json
380
+ * Contract instance type for MyToken_json
332
381
  */
333
382
  // Use any for contract type to avoid complex viem type issues
334
383
  // The runtime behavior is type-safe through viem's ABI typing
335
- export type TetherUSDT_jsonContract = any;
384
+ export type MyToken_jsonContract = any;
336
385
 
337
386
  /**
338
- * TetherUSDT_json Contract Class
387
+ * MyToken_json Contract Class
339
388
  *
340
389
  * Provides a class-based API similar to TypeChain for interacting with the contract.
341
390
  *
@@ -343,12 +392,12 @@ export type TetherUSDT_jsonContract = any;
343
392
  * ```typescript
344
393
  * import { createPublicClient, createWalletClient, http } from 'viem';
345
394
  * import { mainnet } from 'viem/chains';
346
- * import { TetherUSDT_json } from 'TetherUSDT_json';
395
+ * import { MyToken_json } from 'MyToken_json';
347
396
  *
348
397
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
349
398
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
350
399
  *
351
- * const contract = new TetherUSDT_json('0x...', { publicClient, walletClient });
400
+ * const contract = new MyToken_json('0x...', { publicClient, walletClient });
352
401
  *
353
402
  * // Read functions
354
403
  * const result = await contract.balanceOf('0x...');
@@ -366,8 +415,8 @@ export type TetherUSDT_jsonContract = any;
366
415
  * });
367
416
  * ```
368
417
  */
369
- export class TetherUSDT_json {
370
- private contract: TetherUSDT_jsonContract;
418
+ export class MyToken_json {
419
+ private contract: MyToken_jsonContract;
371
420
  private contractAddress: Address;
372
421
  private publicClient: PublicClient;
373
422
 
@@ -382,7 +431,7 @@ export class TetherUSDT_json {
382
431
  this.publicClient = clients.publicClient;
383
432
  this.contract = getContract({
384
433
  address,
385
- abi: TetherUSDT_jsonAbi,
434
+ abi: MyToken_jsonAbi,
386
435
  client: {
387
436
  public: clients.publicClient,
388
437
  wallet: clients.walletClient,
@@ -400,7 +449,7 @@ export class TetherUSDT_json {
400
449
  /**
401
450
  * Get the underlying viem contract instance
402
451
  */
403
- getContract(): TetherUSDT_jsonContract {
452
+ getContract(): MyToken_jsonContract {
404
453
  return this.contract;
405
454
  }
406
455
 
@@ -408,16 +457,24 @@ export class TetherUSDT_json {
408
457
  * allowance
409
458
  * view
410
459
  */
411
- async allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint> {
412
- return this.contract.read.allowance([owner, spender] as const) as Promise<bigint>;
460
+ async allowance(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint> {
461
+ return this.contract.read.allowance([arg0, arg1] as const) as Promise<bigint>;
413
462
  }
414
463
 
415
464
  /**
416
465
  * balanceOf
417
466
  * view
418
467
  */
419
- async balanceOf(account: `0x${string}`): Promise<bigint> {
420
- return this.contract.read.balanceOf([account] as const) as Promise<bigint>;
468
+ async balanceOf(arg0: `0x${string}`): Promise<bigint> {
469
+ return this.contract.read.balanceOf([arg0] as const) as Promise<bigint>;
470
+ }
471
+
472
+ /**
473
+ * cap
474
+ * view
475
+ */
476
+ async cap(): Promise<bigint> {
477
+ return this.contract.read.cap() as Promise<bigint>;
421
478
  }
422
479
 
423
480
  /**
@@ -428,6 +485,14 @@ export class TetherUSDT_json {
428
485
  return this.contract.read.decimals() as Promise<bigint>;
429
486
  }
430
487
 
488
+ /**
489
+ * logoURI
490
+ * view
491
+ */
492
+ async logoURI(): Promise<string> {
493
+ return this.contract.read.logoURI() as Promise<string>;
494
+ }
495
+
431
496
  /**
432
497
  * name
433
498
  * view
@@ -436,6 +501,14 @@ export class TetherUSDT_json {
436
501
  return this.contract.read.name() as Promise<string>;
437
502
  }
438
503
 
504
+ /**
505
+ * owner
506
+ * view
507
+ */
508
+ async owner(): Promise<`0x${string}`> {
509
+ return this.contract.read.owner() as Promise<`0x${string}`>;
510
+ }
511
+
439
512
  /**
440
513
  * symbol
441
514
  * view
@@ -475,6 +548,75 @@ export class TetherUSDT_json {
475
548
  return this.contract.write.approve([spender, value] as const, options) as Promise<`0x${string}`>;
476
549
  }
477
550
 
551
+ /**
552
+ * mint
553
+ * nonpayable
554
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
555
+ */
556
+ async mint(to: `0x${string}`, amount: bigint, options?: {
557
+ accessList?: import('viem').AccessList;
558
+ authorizationList?: import('viem').AuthorizationList;
559
+ chain?: import('viem').Chain | null;
560
+ dataSuffix?: `0x${string}`;
561
+ gas?: bigint;
562
+ gasPrice?: bigint;
563
+ maxFeePerGas?: bigint;
564
+ maxPriorityFeePerGas?: bigint;
565
+ nonce?: number;
566
+ value?: bigint;
567
+ }): Promise<`0x${string}`> {
568
+ if (!this.contract.write) {
569
+ throw new Error('Wallet client is required for write operations');
570
+ }
571
+ return this.contract.write.mint([to, amount] as const, options) as Promise<`0x${string}`>;
572
+ }
573
+
574
+ /**
575
+ * renounceOwnership
576
+ * nonpayable
577
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
578
+ */
579
+ async renounceOwnership(options?: {
580
+ accessList?: import('viem').AccessList;
581
+ authorizationList?: import('viem').AuthorizationList;
582
+ chain?: import('viem').Chain | null;
583
+ dataSuffix?: `0x${string}`;
584
+ gas?: bigint;
585
+ gasPrice?: bigint;
586
+ maxFeePerGas?: bigint;
587
+ maxPriorityFeePerGas?: bigint;
588
+ nonce?: number;
589
+ value?: bigint;
590
+ }): Promise<`0x${string}`> {
591
+ if (!this.contract.write) {
592
+ throw new Error('Wallet client is required for write operations');
593
+ }
594
+ return this.contract.write.renounceOwnership(options) as Promise<`0x${string}`>;
595
+ }
596
+
597
+ /**
598
+ * setLogoURI
599
+ * nonpayable
600
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
601
+ */
602
+ async setLogoURI(_logoURI: string, options?: {
603
+ accessList?: import('viem').AccessList;
604
+ authorizationList?: import('viem').AuthorizationList;
605
+ chain?: import('viem').Chain | null;
606
+ dataSuffix?: `0x${string}`;
607
+ gas?: bigint;
608
+ gasPrice?: bigint;
609
+ maxFeePerGas?: bigint;
610
+ maxPriorityFeePerGas?: bigint;
611
+ nonce?: number;
612
+ value?: bigint;
613
+ }): Promise<`0x${string}`> {
614
+ if (!this.contract.write) {
615
+ throw new Error('Wallet client is required for write operations');
616
+ }
617
+ return this.contract.write.setLogoURI([_logoURI] as const, options) as Promise<`0x${string}`>;
618
+ }
619
+
478
620
  /**
479
621
  * transfer
480
622
  * nonpayable
@@ -521,6 +663,29 @@ export class TetherUSDT_json {
521
663
  return this.contract.write.transferFrom([from, to, value] as const, options) as Promise<`0x${string}`>;
522
664
  }
523
665
 
666
+ /**
667
+ * transferOwnership
668
+ * nonpayable
669
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
670
+ */
671
+ async transferOwnership(newOwner: `0x${string}`, options?: {
672
+ accessList?: import('viem').AccessList;
673
+ authorizationList?: import('viem').AuthorizationList;
674
+ chain?: import('viem').Chain | null;
675
+ dataSuffix?: `0x${string}`;
676
+ gas?: bigint;
677
+ gasPrice?: bigint;
678
+ maxFeePerGas?: bigint;
679
+ maxPriorityFeePerGas?: bigint;
680
+ nonce?: number;
681
+ value?: bigint;
682
+ }): Promise<`0x${string}`> {
683
+ if (!this.contract.write) {
684
+ throw new Error('Wallet client is required for write operations');
685
+ }
686
+ return this.contract.write.transferOwnership([newOwner] as const, options) as Promise<`0x${string}`>;
687
+ }
688
+
524
689
 
525
690
 
526
691
  /**
@@ -556,6 +721,63 @@ export class TetherUSDT_json {
556
721
  }): Promise<boolean> {
557
722
  return contract.simulate.approve([spender, value] as const, options) as Promise<boolean>;
558
723
  },
724
+ /**
725
+ * Simulate mint
726
+ * Returns gas estimate and result without sending transaction
727
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
728
+ */
729
+ async mint(to: `0x${string}`, amount: bigint, options?: {
730
+ accessList?: import('viem').AccessList;
731
+ authorizationList?: import('viem').AuthorizationList;
732
+ chain?: import('viem').Chain | null;
733
+ dataSuffix?: `0x${string}`;
734
+ gas?: bigint;
735
+ gasPrice?: bigint;
736
+ maxFeePerGas?: bigint;
737
+ maxPriorityFeePerGas?: bigint;
738
+ nonce?: number;
739
+ value?: bigint;
740
+ }): Promise<void> {
741
+ return contract.simulate.mint([to, amount] as const, options) as Promise<void>;
742
+ },
743
+ /**
744
+ * Simulate renounceOwnership
745
+ * Returns gas estimate and result without sending transaction
746
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
747
+ */
748
+ async renounceOwnership(options?: {
749
+ accessList?: import('viem').AccessList;
750
+ authorizationList?: import('viem').AuthorizationList;
751
+ chain?: import('viem').Chain | null;
752
+ dataSuffix?: `0x${string}`;
753
+ gas?: bigint;
754
+ gasPrice?: bigint;
755
+ maxFeePerGas?: bigint;
756
+ maxPriorityFeePerGas?: bigint;
757
+ nonce?: number;
758
+ value?: bigint;
759
+ }): Promise<void> {
760
+ return contract.simulate.renounceOwnership(options) as Promise<void>;
761
+ },
762
+ /**
763
+ * Simulate setLogoURI
764
+ * Returns gas estimate and result without sending transaction
765
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
766
+ */
767
+ async setLogoURI(_logoURI: string, options?: {
768
+ accessList?: import('viem').AccessList;
769
+ authorizationList?: import('viem').AuthorizationList;
770
+ chain?: import('viem').Chain | null;
771
+ dataSuffix?: `0x${string}`;
772
+ gas?: bigint;
773
+ gasPrice?: bigint;
774
+ maxFeePerGas?: bigint;
775
+ maxPriorityFeePerGas?: bigint;
776
+ nonce?: number;
777
+ value?: bigint;
778
+ }): Promise<void> {
779
+ return contract.simulate.setLogoURI([_logoURI] as const, options) as Promise<void>;
780
+ },
559
781
  /**
560
782
  * Simulate transfer
561
783
  * Returns gas estimate and result without sending transaction
@@ -593,6 +815,25 @@ export class TetherUSDT_json {
593
815
  value?: bigint;
594
816
  }): Promise<boolean> {
595
817
  return contract.simulate.transferFrom([from, to, value] as const, options) as Promise<boolean>;
818
+ },
819
+ /**
820
+ * Simulate transferOwnership
821
+ * Returns gas estimate and result without sending transaction
822
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
823
+ */
824
+ async transferOwnership(newOwner: `0x${string}`, options?: {
825
+ accessList?: import('viem').AccessList;
826
+ authorizationList?: import('viem').AuthorizationList;
827
+ chain?: import('viem').Chain | null;
828
+ dataSuffix?: `0x${string}`;
829
+ gas?: bigint;
830
+ gasPrice?: bigint;
831
+ maxFeePerGas?: bigint;
832
+ maxPriorityFeePerGas?: bigint;
833
+ nonce?: number;
834
+ value?: bigint;
835
+ }): Promise<void> {
836
+ return contract.simulate.transferOwnership([newOwner] as const, options) as Promise<void>;
596
837
  }
597
838
  };
598
839
  }
@@ -620,7 +861,7 @@ export class TetherUSDT_json {
620
861
  Approval: (callback: (event: { owner: `0x${string}`; spender: `0x${string}`; value: bigint }) => void, filter?: { owner: `0x${string}`; spender: `0x${string}` }) => {
621
862
  return this.publicClient.watchContractEvent({
622
863
  address: this.contractAddress,
623
- abi: TetherUSDT_jsonAbi,
864
+ abi: MyToken_jsonAbi,
624
865
  eventName: 'Approval',
625
866
  args: filter,
626
867
  onLogs: (logs: any[]) => {
@@ -630,6 +871,25 @@ export class TetherUSDT_json {
630
871
  },
631
872
  }) as () => void;
632
873
  },
874
+ /**
875
+ * Watch OwnershipTransferred events
876
+ * @param callback Function to call when event is emitted
877
+ * @param filter Optional filter for indexed parameters
878
+ * @returns Unwatch function to stop listening
879
+ */
880
+ OwnershipTransferred: (callback: (event: { previousOwner: `0x${string}`; newOwner: `0x${string}` }) => void, filter?: { previousOwner: `0x${string}`; newOwner: `0x${string}` }) => {
881
+ return this.publicClient.watchContractEvent({
882
+ address: this.contractAddress,
883
+ abi: MyToken_jsonAbi,
884
+ eventName: 'OwnershipTransferred',
885
+ args: filter,
886
+ onLogs: (logs: any[]) => {
887
+ logs.forEach((log: any) => {
888
+ callback(log.args as any);
889
+ });
890
+ },
891
+ }) as () => void;
892
+ },
633
893
  /**
634
894
  * Watch Transfer events
635
895
  * @param callback Function to call when event is emitted
@@ -639,7 +899,7 @@ export class TetherUSDT_json {
639
899
  Transfer: (callback: (event: { from: `0x${string}`; to: `0x${string}`; value: bigint }) => void, filter?: { from: `0x${string}`; to: `0x${string}` }) => {
640
900
  return this.publicClient.watchContractEvent({
641
901
  address: this.contractAddress,
642
- abi: TetherUSDT_jsonAbi,
902
+ abi: MyToken_jsonAbi,
643
903
  eventName: 'Transfer',
644
904
  args: filter,
645
905
  onLogs: (logs: any[]) => {
@@ -1,2 +1,2 @@
1
- export { TetherUSDT_jsonAbi, TetherUSDT_json } from './TetherUSDT_json';
2
- export type { TetherUSDT_jsonAbi as TetherUSDT_jsonAbiType, TetherUSDT_jsonContract } from './TetherUSDT_json';
1
+ export { MyToken_jsonAbi, MyToken_json } from './MyToken_json';
2
+ export type { MyToken_jsonAbi as MyToken_jsonAbiType, MyToken_jsonContract } from './MyToken_json';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TetherUSDT_json = exports.TetherUSDT_jsonAbi = void 0;
3
+ exports.MyToken_json = exports.MyToken_jsonAbi = void 0;
4
4
  // Auto-generated exports for all contracts
5
- var TetherUSDT_json_1 = require("./TetherUSDT_json");
6
- Object.defineProperty(exports, "TetherUSDT_jsonAbi", { enumerable: true, get: function () { return TetherUSDT_json_1.TetherUSDT_jsonAbi; } });
7
- Object.defineProperty(exports, "TetherUSDT_json", { enumerable: true, get: function () { return TetherUSDT_json_1.TetherUSDT_json; } });
5
+ var MyToken_json_1 = require("./MyToken_json");
6
+ Object.defineProperty(exports, "MyToken_jsonAbi", { enumerable: true, get: function () { return MyToken_json_1.MyToken_jsonAbi; } });
7
+ Object.defineProperty(exports, "MyToken_json", { enumerable: true, get: function () { return MyToken_json_1.MyToken_json; } });
@@ -1,3 +1,3 @@
1
1
  // Auto-generated exports for all contracts
2
- export { TetherUSDT_jsonAbi, TetherUSDT_json } from './TetherUSDT_json';
3
- export type { TetherUSDT_jsonAbi as TetherUSDT_jsonAbiType, TetherUSDT_jsonContract } from './TetherUSDT_json';
2
+ export { MyToken_jsonAbi, MyToken_json } from './MyToken_json';
3
+ export type { MyToken_jsonAbi as MyToken_jsonAbiType, MyToken_jsonContract } from './MyToken_json';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gitmyabi/usdt",
3
- "version": "1.0.6",
4
- "description": "Auto-generated TypeScript type bindings for USDT (build etherscan-usdt-e7f88c1b-1785415611783, commit c53c47b, branch etherscan)",
3
+ "version": "1.0.7",
4
+ "description": "Auto-generated TypeScript type bindings for USDT (build etherscan-usdt-6c3e6234-1785416087055, commit 38b8a46, branch etherscan)",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
7
7
  "exports": {
@@ -39,5 +39,5 @@
39
39
  "url": "https://github.com/etherscan/usdt"
40
40
  },
41
41
  "branch": "etherscan",
42
- "shortHash": "c53c47b"
42
+ "shortHash": "38b8a46"
43
43
  }