@gitmyabi/usdt 1.0.18 → 1.0.19

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,103 +1,13 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * TetherToken_json ABI
3
+ * USDToken_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 TetherToken_jsonAbi: readonly [{
7
+ export declare const USDToken_jsonAbi: readonly [{
8
8
  readonly inputs: readonly [];
9
9
  readonly stateMutability: "nonpayable";
10
10
  readonly type: "constructor";
11
- }, {
12
- readonly inputs: readonly [{
13
- readonly internalType: "address";
14
- readonly name: "spender";
15
- readonly type: "address";
16
- }, {
17
- readonly internalType: "uint256";
18
- readonly name: "allowance";
19
- readonly type: "uint256";
20
- }, {
21
- readonly internalType: "uint256";
22
- readonly name: "needed";
23
- readonly type: "uint256";
24
- }];
25
- readonly name: "ERC20InsufficientAllowance";
26
- readonly type: "error";
27
- }, {
28
- readonly inputs: readonly [{
29
- readonly internalType: "address";
30
- readonly name: "sender";
31
- readonly type: "address";
32
- }, {
33
- readonly internalType: "uint256";
34
- readonly name: "balance";
35
- readonly type: "uint256";
36
- }, {
37
- readonly internalType: "uint256";
38
- readonly name: "needed";
39
- readonly type: "uint256";
40
- }];
41
- readonly name: "ERC20InsufficientBalance";
42
- readonly type: "error";
43
- }, {
44
- readonly inputs: readonly [{
45
- readonly internalType: "address";
46
- readonly name: "approver";
47
- readonly type: "address";
48
- }];
49
- readonly name: "ERC20InvalidApprover";
50
- readonly type: "error";
51
- }, {
52
- readonly inputs: readonly [{
53
- readonly internalType: "address";
54
- readonly name: "receiver";
55
- readonly type: "address";
56
- }];
57
- readonly name: "ERC20InvalidReceiver";
58
- readonly type: "error";
59
- }, {
60
- readonly inputs: readonly [{
61
- readonly internalType: "address";
62
- readonly name: "sender";
63
- readonly type: "address";
64
- }];
65
- readonly name: "ERC20InvalidSender";
66
- readonly type: "error";
67
- }, {
68
- readonly inputs: readonly [{
69
- readonly internalType: "address";
70
- readonly name: "spender";
71
- readonly type: "address";
72
- }];
73
- readonly name: "ERC20InvalidSpender";
74
- readonly type: "error";
75
- }, {
76
- readonly inputs: readonly [{
77
- readonly internalType: "address";
78
- readonly name: "owner";
79
- readonly type: "address";
80
- }];
81
- readonly name: "OwnableInvalidOwner";
82
- readonly type: "error";
83
- }, {
84
- readonly inputs: readonly [{
85
- readonly internalType: "address";
86
- readonly name: "account";
87
- readonly type: "address";
88
- }];
89
- readonly name: "OwnableUnauthorizedAccount";
90
- readonly type: "error";
91
- }, {
92
- readonly anonymous: false;
93
- readonly inputs: readonly [{
94
- readonly indexed: true;
95
- readonly internalType: "address";
96
- readonly name: "_user";
97
- readonly type: "address";
98
- }];
99
- readonly name: "AddedBlackList";
100
- readonly type: "event";
101
11
  }, {
102
12
  readonly anonymous: false;
103
13
  readonly inputs: readonly [{
@@ -122,36 +32,11 @@ export declare const TetherToken_jsonAbi: readonly [{
122
32
  readonly anonymous: false;
123
33
  readonly inputs: readonly [{
124
34
  readonly indexed: false;
125
- readonly internalType: "address";
126
- readonly name: "newAddress";
127
- readonly type: "address";
128
- }];
129
- readonly name: "Deprecate";
130
- readonly type: "event";
131
- }, {
132
- readonly anonymous: false;
133
- readonly inputs: readonly [{
134
- readonly indexed: true;
135
- readonly internalType: "address";
136
- readonly name: "_blackListedUser";
137
- readonly type: "address";
138
- }, {
139
- readonly indexed: false;
140
- readonly internalType: "uint256";
141
- readonly name: "_balance";
142
- readonly type: "uint256";
143
- }];
144
- readonly name: "DestroyedBlackFunds";
145
- readonly type: "event";
146
- }, {
147
- readonly anonymous: false;
148
- readonly inputs: readonly [{
149
- readonly indexed: false;
150
- readonly internalType: "uint256";
151
- readonly name: "amount";
152
- readonly type: "uint256";
35
+ readonly internalType: "string";
36
+ readonly name: "newName";
37
+ readonly type: "string";
153
38
  }];
154
- readonly name: "Issue";
39
+ readonly name: "NameChanged";
155
40
  readonly type: "event";
156
41
  }, {
157
42
  readonly anonymous: false;
@@ -160,58 +45,18 @@ export declare const TetherToken_jsonAbi: readonly [{
160
45
  readonly internalType: "address";
161
46
  readonly name: "previousOwner";
162
47
  readonly type: "address";
163
- }, {
164
- readonly indexed: true;
165
- readonly internalType: "address";
166
- readonly name: "newOwner";
167
- readonly type: "address";
168
- }];
169
- readonly name: "OwnershipTransferred";
170
- readonly type: "event";
171
- }, {
172
- readonly anonymous: false;
173
- readonly inputs: readonly [{
174
- readonly indexed: false;
175
- readonly internalType: "uint256";
176
- readonly name: "feeBasisPoints";
177
- readonly type: "uint256";
178
- }, {
179
- readonly indexed: false;
180
- readonly internalType: "uint256";
181
- readonly name: "maxFee";
182
- readonly type: "uint256";
183
- }];
184
- readonly name: "Params";
185
- readonly type: "event";
186
- }, {
187
- readonly anonymous: false;
188
- readonly inputs: readonly [{
189
- readonly indexed: false;
190
- readonly internalType: "address";
191
- readonly name: "account";
192
- readonly type: "address";
193
48
  }];
194
- readonly name: "Paused";
49
+ readonly name: "OwnershipRenounced";
195
50
  readonly type: "event";
196
51
  }, {
197
52
  readonly anonymous: false;
198
53
  readonly inputs: readonly [{
199
54
  readonly indexed: false;
200
- readonly internalType: "uint256";
201
- readonly name: "amount";
202
- readonly type: "uint256";
203
- }];
204
- readonly name: "Redeem";
205
- readonly type: "event";
206
- }, {
207
- readonly anonymous: false;
208
- readonly inputs: readonly [{
209
- readonly indexed: true;
210
- readonly internalType: "address";
211
- readonly name: "_user";
212
- readonly type: "address";
55
+ readonly internalType: "string";
56
+ readonly name: "newSymbol";
57
+ readonly type: "string";
213
58
  }];
214
- readonly name: "RemovedBlackList";
59
+ readonly name: "SymbolChanged";
215
60
  readonly type: "event";
216
61
  }, {
217
62
  readonly anonymous: false;
@@ -233,34 +78,14 @@ export declare const TetherToken_jsonAbi: readonly [{
233
78
  }];
234
79
  readonly name: "Transfer";
235
80
  readonly type: "event";
236
- }, {
237
- readonly anonymous: false;
238
- readonly inputs: readonly [{
239
- readonly indexed: false;
240
- readonly internalType: "address";
241
- readonly name: "account";
242
- readonly type: "address";
243
- }];
244
- readonly name: "Unpaused";
245
- readonly type: "event";
246
- }, {
247
- readonly inputs: readonly [{
248
- readonly internalType: "address";
249
- readonly name: "_evilUser";
250
- readonly type: "address";
251
- }];
252
- readonly name: "addBlackList";
253
- readonly outputs: readonly [];
254
- readonly stateMutability: "nonpayable";
255
- readonly type: "function";
256
81
  }, {
257
82
  readonly inputs: readonly [{
258
83
  readonly internalType: "address";
259
- readonly name: "owner";
84
+ readonly name: "";
260
85
  readonly type: "address";
261
86
  }, {
262
87
  readonly internalType: "address";
263
- readonly name: "spender";
88
+ readonly name: "";
264
89
  readonly type: "address";
265
90
  }];
266
91
  readonly name: "allowance";
@@ -278,7 +103,7 @@ export declare const TetherToken_jsonAbi: readonly [{
278
103
  readonly type: "address";
279
104
  }, {
280
105
  readonly internalType: "uint256";
281
- readonly name: "value";
106
+ readonly name: "amount";
282
107
  readonly type: "uint256";
283
108
  }];
284
109
  readonly name: "approve";
@@ -292,7 +117,7 @@ export declare const TetherToken_jsonAbi: readonly [{
292
117
  }, {
293
118
  readonly inputs: readonly [{
294
119
  readonly internalType: "address";
295
- readonly name: "account";
120
+ readonly name: "";
296
121
  readonly type: "address";
297
122
  }];
298
123
  readonly name: "balanceOf";
@@ -303,16 +128,6 @@ export declare const TetherToken_jsonAbi: readonly [{
303
128
  }];
304
129
  readonly stateMutability: "view";
305
130
  readonly type: "function";
306
- }, {
307
- readonly inputs: readonly [];
308
- readonly name: "basisPointsRate";
309
- readonly outputs: readonly [{
310
- readonly internalType: "uint256";
311
- readonly name: "";
312
- readonly type: "uint256";
313
- }];
314
- readonly stateMutability: "view";
315
- readonly type: "function";
316
131
  }, {
317
132
  readonly inputs: readonly [];
318
133
  readonly name: "decimals";
@@ -321,69 +136,51 @@ export declare const TetherToken_jsonAbi: readonly [{
321
136
  readonly name: "";
322
137
  readonly type: "uint8";
323
138
  }];
324
- readonly stateMutability: "pure";
139
+ readonly stateMutability: "view";
325
140
  readonly type: "function";
326
141
  }, {
327
142
  readonly inputs: readonly [{
328
143
  readonly internalType: "address";
329
- readonly name: "_upgradedAddress";
144
+ readonly name: "spender";
330
145
  readonly type: "address";
146
+ }, {
147
+ readonly internalType: "uint256";
148
+ readonly name: "subtractedValue";
149
+ readonly type: "uint256";
331
150
  }];
332
- readonly name: "deprecate";
333
- readonly outputs: readonly [];
334
- readonly stateMutability: "nonpayable";
335
- readonly type: "function";
336
- }, {
337
- readonly inputs: readonly [];
338
- readonly name: "deprecated";
151
+ readonly name: "decreaseAllowance";
339
152
  readonly outputs: readonly [{
340
153
  readonly internalType: "bool";
341
154
  readonly name: "";
342
155
  readonly type: "bool";
343
156
  }];
344
- readonly stateMutability: "view";
345
- readonly type: "function";
346
- }, {
347
- readonly inputs: readonly [{
348
- readonly internalType: "address";
349
- readonly name: "_blackListedUser";
350
- readonly type: "address";
351
- }];
352
- readonly name: "destroyBlackFunds";
353
- readonly outputs: readonly [];
354
157
  readonly stateMutability: "nonpayable";
355
158
  readonly type: "function";
356
159
  }, {
357
160
  readonly inputs: readonly [{
358
161
  readonly internalType: "address";
359
- readonly name: "";
162
+ readonly name: "spender";
360
163
  readonly type: "address";
164
+ }, {
165
+ readonly internalType: "uint256";
166
+ readonly name: "addedValue";
167
+ readonly type: "uint256";
361
168
  }];
362
- readonly name: "isBlackListed";
169
+ readonly name: "increaseAllowance";
363
170
  readonly outputs: readonly [{
364
171
  readonly internalType: "bool";
365
172
  readonly name: "";
366
173
  readonly type: "bool";
367
174
  }];
368
- readonly stateMutability: "view";
369
- readonly type: "function";
370
- }, {
371
- readonly inputs: readonly [{
372
- readonly internalType: "uint256";
373
- readonly name: "amount";
374
- readonly type: "uint256";
375
- }];
376
- readonly name: "issue";
377
- readonly outputs: readonly [];
378
175
  readonly stateMutability: "nonpayable";
379
176
  readonly type: "function";
380
177
  }, {
381
178
  readonly inputs: readonly [];
382
- readonly name: "maximumFee";
179
+ readonly name: "isRenounced";
383
180
  readonly outputs: readonly [{
384
- readonly internalType: "uint256";
181
+ readonly internalType: "bool";
385
182
  readonly name: "";
386
- readonly type: "uint256";
183
+ readonly type: "bool";
387
184
  }];
388
185
  readonly stateMutability: "view";
389
186
  readonly type: "function";
@@ -409,7 +206,13 @@ export declare const TetherToken_jsonAbi: readonly [{
409
206
  readonly type: "function";
410
207
  }, {
411
208
  readonly inputs: readonly [];
412
- readonly name: "paused";
209
+ readonly name: "renounceOwnership";
210
+ readonly outputs: readonly [];
211
+ readonly stateMutability: "nonpayable";
212
+ readonly type: "function";
213
+ }, {
214
+ readonly inputs: readonly [];
215
+ readonly name: "renounced";
413
216
  readonly outputs: readonly [{
414
217
  readonly internalType: "bool";
415
218
  readonly name: "";
@@ -419,53 +222,43 @@ export declare const TetherToken_jsonAbi: readonly [{
419
222
  readonly type: "function";
420
223
  }, {
421
224
  readonly inputs: readonly [{
422
- readonly internalType: "uint256";
423
- readonly name: "amount";
424
- readonly type: "uint256";
225
+ readonly internalType: "string";
226
+ readonly name: "newName";
227
+ readonly type: "string";
425
228
  }];
426
- readonly name: "redeem";
229
+ readonly name: "setName";
427
230
  readonly outputs: readonly [];
428
231
  readonly stateMutability: "nonpayable";
429
232
  readonly type: "function";
430
233
  }, {
431
234
  readonly inputs: readonly [{
432
- readonly internalType: "address";
433
- readonly name: "_clearedUser";
434
- readonly type: "address";
235
+ readonly internalType: "string";
236
+ readonly name: "newSymbol";
237
+ readonly type: "string";
435
238
  }];
436
- readonly name: "removeBlackList";
239
+ readonly name: "setSymbol";
437
240
  readonly outputs: readonly [];
438
241
  readonly stateMutability: "nonpayable";
439
242
  readonly type: "function";
440
243
  }, {
441
244
  readonly inputs: readonly [];
442
- readonly name: "renounceOwnership";
443
- readonly outputs: readonly [];
444
- readonly stateMutability: "nonpayable";
445
- readonly type: "function";
446
- }, {
447
- readonly inputs: readonly [{
448
- readonly internalType: "uint256";
449
- readonly name: "newBasisPoints";
450
- readonly type: "uint256";
451
- }, {
452
- readonly internalType: "uint256";
453
- readonly name: "newMaxFee";
454
- readonly type: "uint256";
245
+ readonly name: "symbol";
246
+ readonly outputs: readonly [{
247
+ readonly internalType: "string";
248
+ readonly name: "";
249
+ readonly type: "string";
455
250
  }];
456
- readonly name: "setParams";
457
- readonly outputs: readonly [];
458
- readonly stateMutability: "nonpayable";
251
+ readonly stateMutability: "view";
459
252
  readonly type: "function";
460
253
  }, {
461
254
  readonly inputs: readonly [];
462
- readonly name: "symbol";
255
+ readonly name: "tokenImage";
463
256
  readonly outputs: readonly [{
464
257
  readonly internalType: "string";
465
258
  readonly name: "";
466
259
  readonly type: "string";
467
260
  }];
468
- readonly stateMutability: "view";
261
+ readonly stateMutability: "pure";
469
262
  readonly type: "function";
470
263
  }, {
471
264
  readonly inputs: readonly [];
@@ -480,11 +273,11 @@ export declare const TetherToken_jsonAbi: readonly [{
480
273
  }, {
481
274
  readonly inputs: readonly [{
482
275
  readonly internalType: "address";
483
- readonly name: "_to";
276
+ readonly name: "to";
484
277
  readonly type: "address";
485
278
  }, {
486
279
  readonly internalType: "uint256";
487
- readonly name: "_value";
280
+ readonly name: "amount";
488
281
  readonly type: "uint256";
489
282
  }];
490
283
  readonly name: "transfer";
@@ -498,15 +291,15 @@ export declare const TetherToken_jsonAbi: readonly [{
498
291
  }, {
499
292
  readonly inputs: readonly [{
500
293
  readonly internalType: "address";
501
- readonly name: "_from";
294
+ readonly name: "from";
502
295
  readonly type: "address";
503
296
  }, {
504
297
  readonly internalType: "address";
505
- readonly name: "_to";
298
+ readonly name: "to";
506
299
  readonly type: "address";
507
300
  }, {
508
301
  readonly internalType: "uint256";
509
- readonly name: "_value";
302
+ readonly name: "amount";
510
303
  readonly type: "uint256";
511
304
  }];
512
305
  readonly name: "transferFrom";
@@ -517,37 +310,17 @@ export declare const TetherToken_jsonAbi: readonly [{
517
310
  }];
518
311
  readonly stateMutability: "nonpayable";
519
312
  readonly type: "function";
520
- }, {
521
- readonly inputs: readonly [{
522
- readonly internalType: "address";
523
- readonly name: "newOwner";
524
- readonly type: "address";
525
- }];
526
- readonly name: "transferOwnership";
527
- readonly outputs: readonly [];
528
- readonly stateMutability: "nonpayable";
529
- readonly type: "function";
530
- }, {
531
- readonly inputs: readonly [];
532
- readonly name: "upgradedAddress";
533
- readonly outputs: readonly [{
534
- readonly internalType: "address";
535
- readonly name: "";
536
- readonly type: "address";
537
- }];
538
- readonly stateMutability: "view";
539
- readonly type: "function";
540
313
  }];
541
314
  /**
542
- * Type-safe ABI for TetherToken_json
315
+ * Type-safe ABI for USDToken_json
543
316
  */
544
- export type TetherToken_jsonAbi = typeof TetherToken_jsonAbi;
317
+ export type USDToken_jsonAbi = typeof USDToken_jsonAbi;
545
318
  /**
546
- * Contract instance type for TetherToken_json
319
+ * Contract instance type for USDToken_json
547
320
  */
548
- export type TetherToken_jsonContract = any;
321
+ export type USDToken_jsonContract = any;
549
322
  /**
550
- * TetherToken_json Contract Class
323
+ * USDToken_json Contract Class
551
324
  *
552
325
  * Provides a class-based API similar to TypeChain for interacting with the contract.
553
326
  *
@@ -555,12 +328,12 @@ export type TetherToken_jsonContract = any;
555
328
  * ```typescript
556
329
  * import { createPublicClient, createWalletClient, http } from 'viem';
557
330
  * import { mainnet } from 'viem/chains';
558
- * import { TetherToken_json } from 'TetherToken_json';
331
+ * import { USDToken_json } from 'USDToken_json';
559
332
  *
560
333
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
561
334
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
562
335
  *
563
- * const contract = new TetherToken_json('0x...', { publicClient, walletClient });
336
+ * const contract = new USDToken_json('0x...', { publicClient, walletClient });
564
337
  *
565
338
  * // Read functions
566
339
  * const result = await contract.balanceOf('0x...');
@@ -578,7 +351,7 @@ export type TetherToken_jsonContract = any;
578
351
  * });
579
352
  * ```
580
353
  */
581
- export declare class TetherToken_json {
354
+ export declare class USDToken_json {
582
355
  private contract;
583
356
  private contractAddress;
584
357
  private publicClient;
@@ -593,42 +366,27 @@ export declare class TetherToken_json {
593
366
  /**
594
367
  * Get the underlying viem contract instance
595
368
  */
596
- getContract(): TetherToken_jsonContract;
369
+ getContract(): USDToken_jsonContract;
597
370
  /**
598
371
  * allowance
599
372
  * view
600
373
  */
601
- allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
374
+ allowance(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
602
375
  /**
603
376
  * balanceOf
604
377
  * view
605
378
  */
606
- balanceOf(account: `0x${string}`): Promise<bigint>;
607
- /**
608
- * basisPointsRate
609
- * view
610
- */
611
- basisPointsRate(): Promise<bigint>;
379
+ balanceOf(arg0: `0x${string}`): Promise<bigint>;
612
380
  /**
613
381
  * decimals
614
- * pure
615
- */
616
- decimals(): Promise<bigint>;
617
- /**
618
- * deprecated
619
- * view
620
- */
621
- deprecated(): Promise<boolean>;
622
- /**
623
- * isBlackListed
624
382
  * view
625
383
  */
626
- isBlackListed(arg0: `0x${string}`): Promise<boolean>;
384
+ decimals(): Promise<bigint>;
627
385
  /**
628
- * maximumFee
386
+ * isRenounced
629
387
  * view
630
388
  */
631
- maximumFee(): Promise<bigint>;
389
+ isRenounced(): Promise<boolean>;
632
390
  /**
633
391
  * name
634
392
  * view
@@ -640,99 +398,31 @@ export declare class TetherToken_json {
640
398
  */
641
399
  owner(): Promise<`0x${string}`>;
642
400
  /**
643
- * paused
401
+ * renounced
644
402
  * view
645
403
  */
646
- paused(): Promise<boolean>;
404
+ renounced(): Promise<boolean>;
647
405
  /**
648
406
  * symbol
649
407
  * view
650
408
  */
651
409
  symbol(): Promise<string>;
652
410
  /**
653
- * totalSupply
654
- * view
411
+ * tokenImage
412
+ * pure
655
413
  */
656
- totalSupply(): Promise<bigint>;
414
+ tokenImage(): Promise<string>;
657
415
  /**
658
- * upgradedAddress
416
+ * totalSupply
659
417
  * view
660
418
  */
661
- upgradedAddress(): Promise<`0x${string}`>;
662
- /**
663
- * addBlackList
664
- * nonpayable
665
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
666
- */
667
- addBlackList(_evilUser: `0x${string}`, options?: {
668
- accessList?: import('viem').AccessList;
669
- authorizationList?: import('viem').AuthorizationList;
670
- chain?: import('viem').Chain | null;
671
- dataSuffix?: `0x${string}`;
672
- gas?: bigint;
673
- gasPrice?: bigint;
674
- maxFeePerGas?: bigint;
675
- maxPriorityFeePerGas?: bigint;
676
- nonce?: number;
677
- value?: bigint;
678
- }): Promise<`0x${string}`>;
419
+ totalSupply(): Promise<bigint>;
679
420
  /**
680
421
  * approve
681
422
  * nonpayable
682
423
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
683
424
  */
684
- approve(spender: `0x${string}`, value: bigint, options?: {
685
- accessList?: import('viem').AccessList;
686
- authorizationList?: import('viem').AuthorizationList;
687
- chain?: import('viem').Chain | null;
688
- dataSuffix?: `0x${string}`;
689
- gas?: bigint;
690
- gasPrice?: bigint;
691
- maxFeePerGas?: bigint;
692
- maxPriorityFeePerGas?: bigint;
693
- nonce?: number;
694
- value?: bigint;
695
- }): Promise<`0x${string}`>;
696
- /**
697
- * deprecate
698
- * nonpayable
699
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
700
- */
701
- deprecate(_upgradedAddress: `0x${string}`, options?: {
702
- accessList?: import('viem').AccessList;
703
- authorizationList?: import('viem').AuthorizationList;
704
- chain?: import('viem').Chain | null;
705
- dataSuffix?: `0x${string}`;
706
- gas?: bigint;
707
- gasPrice?: bigint;
708
- maxFeePerGas?: bigint;
709
- maxPriorityFeePerGas?: bigint;
710
- nonce?: number;
711
- value?: bigint;
712
- }): Promise<`0x${string}`>;
713
- /**
714
- * destroyBlackFunds
715
- * nonpayable
716
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
717
- */
718
- destroyBlackFunds(_blackListedUser: `0x${string}`, options?: {
719
- accessList?: import('viem').AccessList;
720
- authorizationList?: import('viem').AuthorizationList;
721
- chain?: import('viem').Chain | null;
722
- dataSuffix?: `0x${string}`;
723
- gas?: bigint;
724
- gasPrice?: bigint;
725
- maxFeePerGas?: bigint;
726
- maxPriorityFeePerGas?: bigint;
727
- nonce?: number;
728
- value?: bigint;
729
- }): Promise<`0x${string}`>;
730
- /**
731
- * issue
732
- * nonpayable
733
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
734
- */
735
- issue(amount: bigint, options?: {
425
+ approve(spender: `0x${string}`, amount: bigint, options?: {
736
426
  accessList?: import('viem').AccessList;
737
427
  authorizationList?: import('viem').AuthorizationList;
738
428
  chain?: import('viem').Chain | null;
@@ -745,11 +435,11 @@ export declare class TetherToken_json {
745
435
  value?: bigint;
746
436
  }): Promise<`0x${string}`>;
747
437
  /**
748
- * redeem
438
+ * decreaseAllowance
749
439
  * nonpayable
750
440
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
751
441
  */
752
- redeem(amount: bigint, options?: {
442
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
753
443
  accessList?: import('viem').AccessList;
754
444
  authorizationList?: import('viem').AuthorizationList;
755
445
  chain?: import('viem').Chain | null;
@@ -762,11 +452,11 @@ export declare class TetherToken_json {
762
452
  value?: bigint;
763
453
  }): Promise<`0x${string}`>;
764
454
  /**
765
- * removeBlackList
455
+ * increaseAllowance
766
456
  * nonpayable
767
457
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
768
458
  */
769
- removeBlackList(_clearedUser: `0x${string}`, options?: {
459
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
770
460
  accessList?: import('viem').AccessList;
771
461
  authorizationList?: import('viem').AuthorizationList;
772
462
  chain?: import('viem').Chain | null;
@@ -796,11 +486,11 @@ export declare class TetherToken_json {
796
486
  value?: bigint;
797
487
  }): Promise<`0x${string}`>;
798
488
  /**
799
- * setParams
489
+ * setName
800
490
  * nonpayable
801
491
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
802
492
  */
803
- setParams(newBasisPoints: bigint, newMaxFee: bigint, options?: {
493
+ setName(newName: string, options?: {
804
494
  accessList?: import('viem').AccessList;
805
495
  authorizationList?: import('viem').AuthorizationList;
806
496
  chain?: import('viem').Chain | null;
@@ -813,11 +503,11 @@ export declare class TetherToken_json {
813
503
  value?: bigint;
814
504
  }): Promise<`0x${string}`>;
815
505
  /**
816
- * transfer
506
+ * setSymbol
817
507
  * nonpayable
818
508
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
819
509
  */
820
- transfer(_to: `0x${string}`, _value: bigint, options?: {
510
+ setSymbol(newSymbol: string, options?: {
821
511
  accessList?: import('viem').AccessList;
822
512
  authorizationList?: import('viem').AuthorizationList;
823
513
  chain?: import('viem').Chain | null;
@@ -830,11 +520,11 @@ export declare class TetherToken_json {
830
520
  value?: bigint;
831
521
  }): Promise<`0x${string}`>;
832
522
  /**
833
- * transferFrom
523
+ * transfer
834
524
  * nonpayable
835
525
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
836
526
  */
837
- transferFrom(_from: `0x${string}`, _to: `0x${string}`, _value: bigint, options?: {
527
+ transfer(to: `0x${string}`, amount: bigint, options?: {
838
528
  accessList?: import('viem').AccessList;
839
529
  authorizationList?: import('viem').AuthorizationList;
840
530
  chain?: import('viem').Chain | null;
@@ -847,11 +537,11 @@ export declare class TetherToken_json {
847
537
  value?: bigint;
848
538
  }): Promise<`0x${string}`>;
849
539
  /**
850
- * transferOwnership
540
+ * transferFrom
851
541
  * nonpayable
852
542
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
853
543
  */
854
- transferOwnership(newOwner: `0x${string}`, options?: {
544
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
855
545
  accessList?: import('viem').AccessList;
856
546
  authorizationList?: import('viem').AuthorizationList;
857
547
  chain?: import('viem').Chain | null;
@@ -872,29 +562,12 @@ export declare class TetherToken_json {
872
562
  * console.log('Would succeed:', result.result);
873
563
  */
874
564
  get simulate(): {
875
- /**
876
- * Simulate addBlackList
877
- * Returns gas estimate and result without sending transaction
878
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
879
- */
880
- addBlackList(_evilUser: `0x${string}`, options?: {
881
- accessList?: import("viem").AccessList;
882
- authorizationList?: import("viem").AuthorizationList;
883
- chain?: import("viem").Chain | null;
884
- dataSuffix?: `0x${string}`;
885
- gas?: bigint;
886
- gasPrice?: bigint;
887
- maxFeePerGas?: bigint;
888
- maxPriorityFeePerGas?: bigint;
889
- nonce?: number;
890
- value?: bigint;
891
- }): Promise<void>;
892
565
  /**
893
566
  * Simulate approve
894
567
  * Returns gas estimate and result without sending transaction
895
568
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
896
569
  */
897
- approve(spender: `0x${string}`, value: bigint, options?: {
570
+ approve(spender: `0x${string}`, amount: bigint, options?: {
898
571
  accessList?: import("viem").AccessList;
899
572
  authorizationList?: import("viem").AuthorizationList;
900
573
  chain?: import("viem").Chain | null;
@@ -907,28 +580,11 @@ export declare class TetherToken_json {
907
580
  value?: bigint;
908
581
  }): Promise<boolean>;
909
582
  /**
910
- * Simulate deprecate
911
- * Returns gas estimate and result without sending transaction
912
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
913
- */
914
- deprecate(_upgradedAddress: `0x${string}`, options?: {
915
- accessList?: import("viem").AccessList;
916
- authorizationList?: import("viem").AuthorizationList;
917
- chain?: import("viem").Chain | null;
918
- dataSuffix?: `0x${string}`;
919
- gas?: bigint;
920
- gasPrice?: bigint;
921
- maxFeePerGas?: bigint;
922
- maxPriorityFeePerGas?: bigint;
923
- nonce?: number;
924
- value?: bigint;
925
- }): Promise<void>;
926
- /**
927
- * Simulate destroyBlackFunds
583
+ * Simulate decreaseAllowance
928
584
  * Returns gas estimate and result without sending transaction
929
585
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
930
586
  */
931
- destroyBlackFunds(_blackListedUser: `0x${string}`, options?: {
587
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
932
588
  accessList?: import("viem").AccessList;
933
589
  authorizationList?: import("viem").AuthorizationList;
934
590
  chain?: import("viem").Chain | null;
@@ -939,30 +595,13 @@ export declare class TetherToken_json {
939
595
  maxPriorityFeePerGas?: bigint;
940
596
  nonce?: number;
941
597
  value?: bigint;
942
- }): Promise<void>;
943
- /**
944
- * Simulate issue
945
- * Returns gas estimate and result without sending transaction
946
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
947
- */
948
- issue(amount: bigint, options?: {
949
- accessList?: import("viem").AccessList;
950
- authorizationList?: import("viem").AuthorizationList;
951
- chain?: import("viem").Chain | null;
952
- dataSuffix?: `0x${string}`;
953
- gas?: bigint;
954
- gasPrice?: bigint;
955
- maxFeePerGas?: bigint;
956
- maxPriorityFeePerGas?: bigint;
957
- nonce?: number;
958
- value?: bigint;
959
- }): Promise<void>;
598
+ }): Promise<boolean>;
960
599
  /**
961
- * Simulate redeem
600
+ * Simulate increaseAllowance
962
601
  * Returns gas estimate and result without sending transaction
963
602
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
964
603
  */
965
- redeem(amount: bigint, options?: {
604
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
966
605
  accessList?: import("viem").AccessList;
967
606
  authorizationList?: import("viem").AuthorizationList;
968
607
  chain?: import("viem").Chain | null;
@@ -973,13 +612,13 @@ export declare class TetherToken_json {
973
612
  maxPriorityFeePerGas?: bigint;
974
613
  nonce?: number;
975
614
  value?: bigint;
976
- }): Promise<void>;
615
+ }): Promise<boolean>;
977
616
  /**
978
- * Simulate removeBlackList
617
+ * Simulate renounceOwnership
979
618
  * Returns gas estimate and result without sending transaction
980
619
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
981
620
  */
982
- removeBlackList(_clearedUser: `0x${string}`, options?: {
621
+ renounceOwnership(options?: {
983
622
  accessList?: import("viem").AccessList;
984
623
  authorizationList?: import("viem").AuthorizationList;
985
624
  chain?: import("viem").Chain | null;
@@ -992,11 +631,11 @@ export declare class TetherToken_json {
992
631
  value?: bigint;
993
632
  }): Promise<void>;
994
633
  /**
995
- * Simulate renounceOwnership
634
+ * Simulate setName
996
635
  * Returns gas estimate and result without sending transaction
997
636
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
998
637
  */
999
- renounceOwnership(options?: {
638
+ setName(newName: string, options?: {
1000
639
  accessList?: import("viem").AccessList;
1001
640
  authorizationList?: import("viem").AuthorizationList;
1002
641
  chain?: import("viem").Chain | null;
@@ -1009,11 +648,11 @@ export declare class TetherToken_json {
1009
648
  value?: bigint;
1010
649
  }): Promise<void>;
1011
650
  /**
1012
- * Simulate setParams
651
+ * Simulate setSymbol
1013
652
  * Returns gas estimate and result without sending transaction
1014
653
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1015
654
  */
1016
- setParams(newBasisPoints: bigint, newMaxFee: bigint, options?: {
655
+ setSymbol(newSymbol: string, options?: {
1017
656
  accessList?: import("viem").AccessList;
1018
657
  authorizationList?: import("viem").AuthorizationList;
1019
658
  chain?: import("viem").Chain | null;
@@ -1030,7 +669,7 @@ export declare class TetherToken_json {
1030
669
  * Returns gas estimate and result without sending transaction
1031
670
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1032
671
  */
1033
- transfer(_to: `0x${string}`, _value: bigint, options?: {
672
+ transfer(to: `0x${string}`, amount: bigint, options?: {
1034
673
  accessList?: import("viem").AccessList;
1035
674
  authorizationList?: import("viem").AuthorizationList;
1036
675
  chain?: import("viem").Chain | null;
@@ -1047,7 +686,7 @@ export declare class TetherToken_json {
1047
686
  * Returns gas estimate and result without sending transaction
1048
687
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1049
688
  */
1050
- transferFrom(_from: `0x${string}`, _to: `0x${string}`, _value: bigint, options?: {
689
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
1051
690
  accessList?: import("viem").AccessList;
1052
691
  authorizationList?: import("viem").AuthorizationList;
1053
692
  chain?: import("viem").Chain | null;
@@ -1059,23 +698,6 @@ export declare class TetherToken_json {
1059
698
  nonce?: number;
1060
699
  value?: bigint;
1061
700
  }): Promise<boolean>;
1062
- /**
1063
- * Simulate transferOwnership
1064
- * Returns gas estimate and result without sending transaction
1065
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1066
- */
1067
- transferOwnership(newOwner: `0x${string}`, options?: {
1068
- accessList?: import("viem").AccessList;
1069
- authorizationList?: import("viem").AuthorizationList;
1070
- chain?: import("viem").Chain | null;
1071
- dataSuffix?: `0x${string}`;
1072
- gas?: bigint;
1073
- gasPrice?: bigint;
1074
- maxFeePerGas?: bigint;
1075
- maxPriorityFeePerGas?: bigint;
1076
- nonce?: number;
1077
- value?: bigint;
1078
- }): Promise<void>;
1079
701
  };
1080
702
  /**
1081
703
  * Watch contract events
@@ -1090,17 +712,6 @@ export declare class TetherToken_json {
1090
712
  * unwatch();
1091
713
  */
1092
714
  get watch(): {
1093
- /**
1094
- * Watch AddedBlackList events
1095
- * @param callback Function to call when event is emitted
1096
- * @param filter Optional filter for indexed parameters
1097
- * @returns Unwatch function to stop listening
1098
- */
1099
- AddedBlackList: (callback: (event: {
1100
- _user: `0x${string}`;
1101
- }) => void, filter?: {
1102
- _user: `0x${string}`;
1103
- }) => () => void;
1104
715
  /**
1105
716
  * Watch Approval events
1106
717
  * @param callback Function to call when event is emitted
@@ -1116,87 +727,34 @@ export declare class TetherToken_json {
1116
727
  spender: `0x${string}`;
1117
728
  }) => () => void;
1118
729
  /**
1119
- * Watch Deprecate events
730
+ * Watch NameChanged events
1120
731
  * @param callback Function to call when event is emitted
1121
732
  * @param filter Optional filter for indexed parameters
1122
733
  * @returns Unwatch function to stop listening
1123
734
  */
1124
- Deprecate: (callback: (event: {
1125
- newAddress: `0x${string}`;
735
+ NameChanged: (callback: (event: {
736
+ newName: string;
1126
737
  }) => void) => () => void;
1127
738
  /**
1128
- * Watch DestroyedBlackFunds events
1129
- * @param callback Function to call when event is emitted
1130
- * @param filter Optional filter for indexed parameters
1131
- * @returns Unwatch function to stop listening
1132
- */
1133
- DestroyedBlackFunds: (callback: (event: {
1134
- _blackListedUser: `0x${string}`;
1135
- _balance: bigint;
1136
- }) => void, filter?: {
1137
- _blackListedUser: `0x${string}`;
1138
- }) => () => void;
1139
- /**
1140
- * Watch Issue events
739
+ * Watch OwnershipRenounced events
1141
740
  * @param callback Function to call when event is emitted
1142
741
  * @param filter Optional filter for indexed parameters
1143
742
  * @returns Unwatch function to stop listening
1144
743
  */
1145
- Issue: (callback: (event: {
1146
- amount: bigint;
1147
- }) => void) => () => void;
1148
- /**
1149
- * Watch OwnershipTransferred events
1150
- * @param callback Function to call when event is emitted
1151
- * @param filter Optional filter for indexed parameters
1152
- * @returns Unwatch function to stop listening
1153
- */
1154
- OwnershipTransferred: (callback: (event: {
744
+ OwnershipRenounced: (callback: (event: {
1155
745
  previousOwner: `0x${string}`;
1156
- newOwner: `0x${string}`;
1157
746
  }) => void, filter?: {
1158
747
  previousOwner: `0x${string}`;
1159
- newOwner: `0x${string}`;
1160
748
  }) => () => void;
1161
749
  /**
1162
- * Watch Params events
1163
- * @param callback Function to call when event is emitted
1164
- * @param filter Optional filter for indexed parameters
1165
- * @returns Unwatch function to stop listening
1166
- */
1167
- Params: (callback: (event: {
1168
- feeBasisPoints: bigint;
1169
- maxFee: bigint;
1170
- }) => void) => () => void;
1171
- /**
1172
- * Watch Paused events
1173
- * @param callback Function to call when event is emitted
1174
- * @param filter Optional filter for indexed parameters
1175
- * @returns Unwatch function to stop listening
1176
- */
1177
- Paused: (callback: (event: {
1178
- account: `0x${string}`;
1179
- }) => void) => () => void;
1180
- /**
1181
- * Watch Redeem events
750
+ * Watch SymbolChanged events
1182
751
  * @param callback Function to call when event is emitted
1183
752
  * @param filter Optional filter for indexed parameters
1184
753
  * @returns Unwatch function to stop listening
1185
754
  */
1186
- Redeem: (callback: (event: {
1187
- amount: bigint;
755
+ SymbolChanged: (callback: (event: {
756
+ newSymbol: string;
1188
757
  }) => void) => () => void;
1189
- /**
1190
- * Watch RemovedBlackList 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
- RemovedBlackList: (callback: (event: {
1196
- _user: `0x${string}`;
1197
- }) => void, filter?: {
1198
- _user: `0x${string}`;
1199
- }) => () => void;
1200
758
  /**
1201
759
  * Watch Transfer events
1202
760
  * @param callback Function to call when event is emitted
@@ -1211,14 +769,5 @@ export declare class TetherToken_json {
1211
769
  from: `0x${string}`;
1212
770
  to: `0x${string}`;
1213
771
  }) => () => void;
1214
- /**
1215
- * Watch Unpaused events
1216
- * @param callback Function to call when event is emitted
1217
- * @param filter Optional filter for indexed parameters
1218
- * @returns Unwatch function to stop listening
1219
- */
1220
- Unpaused: (callback: (event: {
1221
- account: `0x${string}`;
1222
- }) => void) => () => void;
1223
772
  };
1224
773
  }