@gitmyabi/usdt 1.0.7 → 1.0.9

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,39 +2,13 @@ import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType }
2
2
  import { getContract } from 'viem';
3
3
 
4
4
  /**
5
- * MyToken_json ABI
5
+ * TetherUSD_json ABI
6
6
  *
7
7
  * This ABI is typed using viem's type system for full type safety.
8
8
  */
9
- export const MyToken_jsonAbi = [
9
+ export const TetherUSD_jsonAbi = [
10
10
  {
11
- "inputs": [
12
- {
13
- "internalType": "string",
14
- "name": "_name",
15
- "type": "string"
16
- },
17
- {
18
- "internalType": "string",
19
- "name": "_symbol",
20
- "type": "string"
21
- },
22
- {
23
- "internalType": "uint256",
24
- "name": "_cap",
25
- "type": "uint256"
26
- },
27
- {
28
- "internalType": "uint256",
29
- "name": "_initialSupply",
30
- "type": "uint256"
31
- },
32
- {
33
- "internalType": "string",
34
- "name": "_logoURI",
35
- "type": "string"
36
- }
37
- ],
11
+ "inputs": [],
38
12
  "stateMutability": "nonpayable",
39
13
  "type": "constructor"
40
14
  },
@@ -63,25 +37,6 @@ export const MyToken_jsonAbi = [
63
37
  "name": "Approval",
64
38
  "type": "event"
65
39
  },
66
- {
67
- "anonymous": false,
68
- "inputs": [
69
- {
70
- "indexed": true,
71
- "internalType": "address",
72
- "name": "previousOwner",
73
- "type": "address"
74
- },
75
- {
76
- "indexed": true,
77
- "internalType": "address",
78
- "name": "newOwner",
79
- "type": "address"
80
- }
81
- ],
82
- "name": "OwnershipTransferred",
83
- "type": "event"
84
- },
85
40
  {
86
41
  "anonymous": false,
87
42
  "inputs": [
@@ -135,12 +90,12 @@ export const MyToken_jsonAbi = [
135
90
  "inputs": [
136
91
  {
137
92
  "internalType": "address",
138
- "name": "spender",
93
+ "name": "s",
139
94
  "type": "address"
140
95
  },
141
96
  {
142
97
  "internalType": "uint256",
143
- "name": "value",
98
+ "name": "v",
144
99
  "type": "uint256"
145
100
  }
146
101
  ],
@@ -174,19 +129,6 @@ export const MyToken_jsonAbi = [
174
129
  "stateMutability": "view",
175
130
  "type": "function"
176
131
  },
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
- },
190
132
  {
191
133
  "inputs": [],
192
134
  "name": "decimals",
@@ -200,37 +142,6 @@ export const MyToken_jsonAbi = [
200
142
  "stateMutability": "view",
201
143
  "type": "function"
202
144
  },
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
- },
234
145
  {
235
146
  "inputs": [],
236
147
  "name": "name",
@@ -244,39 +155,6 @@ export const MyToken_jsonAbi = [
244
155
  "stateMutability": "view",
245
156
  "type": "function"
246
157
  },
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
- },
280
158
  {
281
159
  "inputs": [],
282
160
  "name": "symbol",
@@ -312,7 +190,7 @@ export const MyToken_jsonAbi = [
312
190
  },
313
191
  {
314
192
  "internalType": "uint256",
315
- "name": "value",
193
+ "name": "v",
316
194
  "type": "uint256"
317
195
  }
318
196
  ],
@@ -331,17 +209,17 @@ export const MyToken_jsonAbi = [
331
209
  "inputs": [
332
210
  {
333
211
  "internalType": "address",
334
- "name": "from",
212
+ "name": "f",
335
213
  "type": "address"
336
214
  },
337
215
  {
338
216
  "internalType": "address",
339
- "name": "to",
217
+ "name": "t",
340
218
  "type": "address"
341
219
  },
342
220
  {
343
221
  "internalType": "uint256",
344
- "name": "value",
222
+ "name": "v",
345
223
  "type": "uint256"
346
224
  }
347
225
  ],
@@ -355,36 +233,23 @@ export const MyToken_jsonAbi = [
355
233
  ],
356
234
  "stateMutability": "nonpayable",
357
235
  "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"
371
236
  }
372
237
  ] as const satisfies Abi;
373
238
 
374
239
  /**
375
- * Type-safe ABI for MyToken_json
240
+ * Type-safe ABI for TetherUSD_json
376
241
  */
377
- export type MyToken_jsonAbi = typeof MyToken_jsonAbi;
242
+ export type TetherUSD_jsonAbi = typeof TetherUSD_jsonAbi;
378
243
 
379
244
  /**
380
- * Contract instance type for MyToken_json
245
+ * Contract instance type for TetherUSD_json
381
246
  */
382
247
  // Use any for contract type to avoid complex viem type issues
383
248
  // The runtime behavior is type-safe through viem's ABI typing
384
- export type MyToken_jsonContract = any;
249
+ export type TetherUSD_jsonContract = any;
385
250
 
386
251
  /**
387
- * MyToken_json Contract Class
252
+ * TetherUSD_json Contract Class
388
253
  *
389
254
  * Provides a class-based API similar to TypeChain for interacting with the contract.
390
255
  *
@@ -392,12 +257,12 @@ export type MyToken_jsonContract = any;
392
257
  * ```typescript
393
258
  * import { createPublicClient, createWalletClient, http } from 'viem';
394
259
  * import { mainnet } from 'viem/chains';
395
- * import { MyToken_json } from 'MyToken_json';
260
+ * import { TetherUSD_json } from 'TetherUSD_json';
396
261
  *
397
262
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
398
263
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
399
264
  *
400
- * const contract = new MyToken_json('0x...', { publicClient, walletClient });
265
+ * const contract = new TetherUSD_json('0x...', { publicClient, walletClient });
401
266
  *
402
267
  * // Read functions
403
268
  * const result = await contract.balanceOf('0x...');
@@ -415,8 +280,8 @@ export type MyToken_jsonContract = any;
415
280
  * });
416
281
  * ```
417
282
  */
418
- export class MyToken_json {
419
- private contract: MyToken_jsonContract;
283
+ export class TetherUSD_json {
284
+ private contract: TetherUSD_jsonContract;
420
285
  private contractAddress: Address;
421
286
  private publicClient: PublicClient;
422
287
 
@@ -431,7 +296,7 @@ export class MyToken_json {
431
296
  this.publicClient = clients.publicClient;
432
297
  this.contract = getContract({
433
298
  address,
434
- abi: MyToken_jsonAbi,
299
+ abi: TetherUSD_jsonAbi,
435
300
  client: {
436
301
  public: clients.publicClient,
437
302
  wallet: clients.walletClient,
@@ -449,7 +314,7 @@ export class MyToken_json {
449
314
  /**
450
315
  * Get the underlying viem contract instance
451
316
  */
452
- getContract(): MyToken_jsonContract {
317
+ getContract(): TetherUSD_jsonContract {
453
318
  return this.contract;
454
319
  }
455
320
 
@@ -469,14 +334,6 @@ export class MyToken_json {
469
334
  return this.contract.read.balanceOf([arg0] as const) as Promise<bigint>;
470
335
  }
471
336
 
472
- /**
473
- * cap
474
- * view
475
- */
476
- async cap(): Promise<bigint> {
477
- return this.contract.read.cap() as Promise<bigint>;
478
- }
479
-
480
337
  /**
481
338
  * decimals
482
339
  * view
@@ -485,14 +342,6 @@ export class MyToken_json {
485
342
  return this.contract.read.decimals() as Promise<bigint>;
486
343
  }
487
344
 
488
- /**
489
- * logoURI
490
- * view
491
- */
492
- async logoURI(): Promise<string> {
493
- return this.contract.read.logoURI() as Promise<string>;
494
- }
495
-
496
345
  /**
497
346
  * name
498
347
  * view
@@ -501,14 +350,6 @@ export class MyToken_json {
501
350
  return this.contract.read.name() as Promise<string>;
502
351
  }
503
352
 
504
- /**
505
- * owner
506
- * view
507
- */
508
- async owner(): Promise<`0x${string}`> {
509
- return this.contract.read.owner() as Promise<`0x${string}`>;
510
- }
511
-
512
353
  /**
513
354
  * symbol
514
355
  * view
@@ -530,7 +371,7 @@ export class MyToken_json {
530
371
  * nonpayable
531
372
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
532
373
  */
533
- async approve(spender: `0x${string}`, value: bigint, options?: {
374
+ async approve(s: `0x${string}`, v: bigint, options?: {
534
375
  accessList?: import('viem').AccessList;
535
376
  authorizationList?: import('viem').AuthorizationList;
536
377
  chain?: import('viem').Chain | null;
@@ -545,76 +386,7 @@ export class MyToken_json {
545
386
  if (!this.contract.write) {
546
387
  throw new Error('Wallet client is required for write operations');
547
388
  }
548
- return this.contract.write.approve([spender, value] as const, options) as Promise<`0x${string}`>;
549
- }
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}`>;
389
+ return this.contract.write.approve([s, v] as const, options) as Promise<`0x${string}`>;
618
390
  }
619
391
 
620
392
  /**
@@ -622,7 +394,7 @@ export class MyToken_json {
622
394
  * nonpayable
623
395
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
624
396
  */
625
- async transfer(to: `0x${string}`, value: bigint, options?: {
397
+ async transfer(to: `0x${string}`, v: bigint, options?: {
626
398
  accessList?: import('viem').AccessList;
627
399
  authorizationList?: import('viem').AuthorizationList;
628
400
  chain?: import('viem').Chain | null;
@@ -637,7 +409,7 @@ export class MyToken_json {
637
409
  if (!this.contract.write) {
638
410
  throw new Error('Wallet client is required for write operations');
639
411
  }
640
- return this.contract.write.transfer([to, value] as const, options) as Promise<`0x${string}`>;
412
+ return this.contract.write.transfer([to, v] as const, options) as Promise<`0x${string}`>;
641
413
  }
642
414
 
643
415
  /**
@@ -645,30 +417,7 @@ export class MyToken_json {
645
417
  * nonpayable
646
418
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
647
419
  */
648
- async transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
649
- accessList?: import('viem').AccessList;
650
- authorizationList?: import('viem').AuthorizationList;
651
- chain?: import('viem').Chain | null;
652
- dataSuffix?: `0x${string}`;
653
- gas?: bigint;
654
- gasPrice?: bigint;
655
- maxFeePerGas?: bigint;
656
- maxPriorityFeePerGas?: bigint;
657
- nonce?: number;
658
- value?: bigint;
659
- }): Promise<`0x${string}`> {
660
- if (!this.contract.write) {
661
- throw new Error('Wallet client is required for write operations');
662
- }
663
- return this.contract.write.transferFrom([from, to, value] as const, options) as Promise<`0x${string}`>;
664
- }
665
-
666
- /**
667
- * transferOwnership
668
- * nonpayable
669
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
670
- */
671
- async transferOwnership(newOwner: `0x${string}`, options?: {
420
+ async transferFrom(f: `0x${string}`, t: `0x${string}`, v: bigint, options?: {
672
421
  accessList?: import('viem').AccessList;
673
422
  authorizationList?: import('viem').AuthorizationList;
674
423
  chain?: import('viem').Chain | null;
@@ -683,7 +432,7 @@ export class MyToken_json {
683
432
  if (!this.contract.write) {
684
433
  throw new Error('Wallet client is required for write operations');
685
434
  }
686
- return this.contract.write.transferOwnership([newOwner] as const, options) as Promise<`0x${string}`>;
435
+ return this.contract.write.transferFrom([f, t, v] as const, options) as Promise<`0x${string}`>;
687
436
  }
688
437
 
689
438
 
@@ -707,7 +456,7 @@ export class MyToken_json {
707
456
  * Returns gas estimate and result without sending transaction
708
457
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
709
458
  */
710
- async approve(spender: `0x${string}`, value: bigint, options?: {
459
+ async approve(s: `0x${string}`, v: bigint, options?: {
711
460
  accessList?: import('viem').AccessList;
712
461
  authorizationList?: import('viem').AuthorizationList;
713
462
  chain?: import('viem').Chain | null;
@@ -719,71 +468,14 @@ export class MyToken_json {
719
468
  nonce?: number;
720
469
  value?: bigint;
721
470
  }): Promise<boolean> {
722
- return contract.simulate.approve([spender, value] as const, options) as Promise<boolean>;
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>;
471
+ return contract.simulate.approve([s, v] as const, options) as Promise<boolean>;
780
472
  },
781
473
  /**
782
474
  * Simulate transfer
783
475
  * Returns gas estimate and result without sending transaction
784
476
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
785
477
  */
786
- async transfer(to: `0x${string}`, value: bigint, options?: {
478
+ async transfer(to: `0x${string}`, v: bigint, options?: {
787
479
  accessList?: import('viem').AccessList;
788
480
  authorizationList?: import('viem').AuthorizationList;
789
481
  chain?: import('viem').Chain | null;
@@ -795,14 +487,14 @@ export class MyToken_json {
795
487
  nonce?: number;
796
488
  value?: bigint;
797
489
  }): Promise<boolean> {
798
- return contract.simulate.transfer([to, value] as const, options) as Promise<boolean>;
490
+ return contract.simulate.transfer([to, v] as const, options) as Promise<boolean>;
799
491
  },
800
492
  /**
801
493
  * Simulate transferFrom
802
494
  * Returns gas estimate and result without sending transaction
803
495
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
804
496
  */
805
- async transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
497
+ async transferFrom(f: `0x${string}`, t: `0x${string}`, v: bigint, options?: {
806
498
  accessList?: import('viem').AccessList;
807
499
  authorizationList?: import('viem').AuthorizationList;
808
500
  chain?: import('viem').Chain | null;
@@ -814,26 +506,7 @@ export class MyToken_json {
814
506
  nonce?: number;
815
507
  value?: bigint;
816
508
  }): Promise<boolean> {
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>;
509
+ return contract.simulate.transferFrom([f, t, v] as const, options) as Promise<boolean>;
837
510
  }
838
511
  };
839
512
  }
@@ -861,7 +534,7 @@ export class MyToken_json {
861
534
  Approval: (callback: (event: { owner: `0x${string}`; spender: `0x${string}`; value: bigint }) => void, filter?: { owner: `0x${string}`; spender: `0x${string}` }) => {
862
535
  return this.publicClient.watchContractEvent({
863
536
  address: this.contractAddress,
864
- abi: MyToken_jsonAbi,
537
+ abi: TetherUSD_jsonAbi,
865
538
  eventName: 'Approval',
866
539
  args: filter,
867
540
  onLogs: (logs: any[]) => {
@@ -871,25 +544,6 @@ export class MyToken_json {
871
544
  },
872
545
  }) as () => void;
873
546
  },
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
- },
893
547
  /**
894
548
  * Watch Transfer events
895
549
  * @param callback Function to call when event is emitted
@@ -899,7 +553,7 @@ export class MyToken_json {
899
553
  Transfer: (callback: (event: { from: `0x${string}`; to: `0x${string}`; value: bigint }) => void, filter?: { from: `0x${string}`; to: `0x${string}` }) => {
900
554
  return this.publicClient.watchContractEvent({
901
555
  address: this.contractAddress,
902
- abi: MyToken_jsonAbi,
556
+ abi: TetherUSD_jsonAbi,
903
557
  eventName: 'Transfer',
904
558
  args: filter,
905
559
  onLogs: (logs: any[]) => {
@@ -1,2 +1,2 @@
1
- export { MyToken_jsonAbi, MyToken_json } from './MyToken_json';
2
- export type { MyToken_jsonAbi as MyToken_jsonAbiType, MyToken_jsonContract } from './MyToken_json';
1
+ export { TetherUSD_jsonAbi, TetherUSD_json } from './TetherUSD_json';
2
+ export type { TetherUSD_jsonAbi as TetherUSD_jsonAbiType, TetherUSD_jsonContract } from './TetherUSD_json';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MyToken_json = exports.MyToken_jsonAbi = void 0;
3
+ exports.TetherUSD_json = exports.TetherUSD_jsonAbi = void 0;
4
4
  // Auto-generated exports for all contracts
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; } });
5
+ var TetherUSD_json_1 = require("./TetherUSD_json");
6
+ Object.defineProperty(exports, "TetherUSD_jsonAbi", { enumerable: true, get: function () { return TetherUSD_json_1.TetherUSD_jsonAbi; } });
7
+ Object.defineProperty(exports, "TetherUSD_json", { enumerable: true, get: function () { return TetherUSD_json_1.TetherUSD_json; } });
@@ -1,3 +1,3 @@
1
1
  // Auto-generated exports for all contracts
2
- export { MyToken_jsonAbi, MyToken_json } from './MyToken_json';
3
- export type { MyToken_jsonAbi as MyToken_jsonAbiType, MyToken_jsonContract } from './MyToken_json';
2
+ export { TetherUSD_jsonAbi, TetherUSD_json } from './TetherUSD_json';
3
+ export type { TetherUSD_jsonAbi as TetherUSD_jsonAbiType, TetherUSD_jsonContract } from './TetherUSD_json';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gitmyabi/usdt",
3
- "version": "1.0.7",
4
- "description": "Auto-generated TypeScript type bindings for USDT (build etherscan-usdt-6c3e6234-1785416087055, commit 38b8a46, branch etherscan)",
3
+ "version": "1.0.9",
4
+ "description": "Auto-generated TypeScript type bindings for USDT (build etherscan-usdt-13793556-1785610315537, commit b398b69, 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": "38b8a46"
42
+ "shortHash": "b398b69"
43
43
  }