@gitmyabi/usdt 1.0.21 → 1.0.22
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.
- package/README.md +3 -3
- package/contracts/{TetherUSDEdu_json.d.ts → TetherUSD_json.d.ts} +678 -335
- package/contracts/{TetherUSDEdu_json.js → TetherUSD_json.js} +658 -408
- package/contracts/{TetherUSDEdu_json.ts → TetherUSD_json.ts} +844 -420
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
|
@@ -1,147 +1,122 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* TetherUSD_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
|
|
7
|
+
export declare const TetherUSD_jsonAbi: readonly [{
|
|
8
8
|
readonly inputs: readonly [];
|
|
9
9
|
readonly stateMutability: "nonpayable";
|
|
10
10
|
readonly type: "constructor";
|
|
11
11
|
}, {
|
|
12
|
+
readonly anonymous: false;
|
|
12
13
|
readonly inputs: readonly [{
|
|
14
|
+
readonly indexed: true;
|
|
13
15
|
readonly internalType: "address";
|
|
14
|
-
readonly name: "
|
|
16
|
+
readonly name: "owner";
|
|
15
17
|
readonly type: "address";
|
|
16
18
|
}, {
|
|
17
|
-
readonly
|
|
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 [{
|
|
19
|
+
readonly indexed: true;
|
|
29
20
|
readonly internalType: "address";
|
|
30
|
-
readonly name: "
|
|
21
|
+
readonly name: "spender";
|
|
31
22
|
readonly type: "address";
|
|
32
23
|
}, {
|
|
24
|
+
readonly indexed: false;
|
|
33
25
|
readonly internalType: "uint256";
|
|
34
|
-
readonly name: "
|
|
35
|
-
readonly type: "uint256";
|
|
36
|
-
}, {
|
|
37
|
-
readonly internalType: "uint256";
|
|
38
|
-
readonly name: "needed";
|
|
26
|
+
readonly name: "value";
|
|
39
27
|
readonly type: "uint256";
|
|
40
28
|
}];
|
|
41
|
-
readonly name: "
|
|
42
|
-
readonly type: "
|
|
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";
|
|
29
|
+
readonly name: "Approval";
|
|
30
|
+
readonly type: "event";
|
|
75
31
|
}, {
|
|
32
|
+
readonly anonymous: false;
|
|
76
33
|
readonly inputs: readonly [{
|
|
34
|
+
readonly indexed: true;
|
|
77
35
|
readonly internalType: "address";
|
|
78
|
-
readonly name: "
|
|
36
|
+
readonly name: "account";
|
|
79
37
|
readonly type: "address";
|
|
38
|
+
}, {
|
|
39
|
+
readonly indexed: false;
|
|
40
|
+
readonly internalType: "bool";
|
|
41
|
+
readonly name: "status";
|
|
42
|
+
readonly type: "bool";
|
|
80
43
|
}];
|
|
81
|
-
readonly name: "
|
|
82
|
-
readonly type: "
|
|
44
|
+
readonly name: "Blacklisted";
|
|
45
|
+
readonly type: "event";
|
|
83
46
|
}, {
|
|
47
|
+
readonly anonymous: false;
|
|
84
48
|
readonly inputs: readonly [{
|
|
49
|
+
readonly indexed: true;
|
|
85
50
|
readonly internalType: "address";
|
|
86
|
-
readonly name: "
|
|
51
|
+
readonly name: "from";
|
|
87
52
|
readonly type: "address";
|
|
53
|
+
}, {
|
|
54
|
+
readonly indexed: false;
|
|
55
|
+
readonly internalType: "uint256";
|
|
56
|
+
readonly name: "amount";
|
|
57
|
+
readonly type: "uint256";
|
|
88
58
|
}];
|
|
89
|
-
readonly name: "
|
|
90
|
-
readonly type: "
|
|
59
|
+
readonly name: "Burned";
|
|
60
|
+
readonly type: "event";
|
|
91
61
|
}, {
|
|
92
62
|
readonly anonymous: false;
|
|
93
63
|
readonly inputs: readonly [{
|
|
94
64
|
readonly indexed: true;
|
|
95
65
|
readonly internalType: "address";
|
|
96
|
-
readonly name: "
|
|
66
|
+
readonly name: "oldCollector";
|
|
97
67
|
readonly type: "address";
|
|
98
68
|
}, {
|
|
99
69
|
readonly indexed: true;
|
|
100
70
|
readonly internalType: "address";
|
|
101
|
-
readonly name: "
|
|
71
|
+
readonly name: "newCollector";
|
|
102
72
|
readonly type: "address";
|
|
103
|
-
}, {
|
|
104
|
-
readonly indexed: false;
|
|
105
|
-
readonly internalType: "uint256";
|
|
106
|
-
readonly name: "value";
|
|
107
|
-
readonly type: "uint256";
|
|
108
73
|
}];
|
|
109
|
-
readonly name: "
|
|
74
|
+
readonly name: "FeeCollectorUpdated";
|
|
110
75
|
readonly type: "event";
|
|
111
76
|
}, {
|
|
112
77
|
readonly anonymous: false;
|
|
113
78
|
readonly inputs: readonly [{
|
|
114
79
|
readonly indexed: false;
|
|
115
80
|
readonly internalType: "uint256";
|
|
116
|
-
readonly name: "
|
|
81
|
+
readonly name: "oldFee";
|
|
117
82
|
readonly type: "uint256";
|
|
118
83
|
}, {
|
|
119
84
|
readonly indexed: false;
|
|
120
|
-
readonly internalType: "
|
|
121
|
-
readonly name: "
|
|
122
|
-
readonly type: "
|
|
85
|
+
readonly internalType: "uint256";
|
|
86
|
+
readonly name: "newFee";
|
|
87
|
+
readonly type: "uint256";
|
|
123
88
|
}];
|
|
124
|
-
readonly name: "
|
|
89
|
+
readonly name: "FeeUpdated";
|
|
125
90
|
readonly type: "event";
|
|
126
91
|
}, {
|
|
127
92
|
readonly anonymous: false;
|
|
128
93
|
readonly inputs: readonly [{
|
|
129
94
|
readonly indexed: false;
|
|
130
95
|
readonly internalType: "uint256";
|
|
131
|
-
readonly name: "
|
|
96
|
+
readonly name: "oldMax";
|
|
97
|
+
readonly type: "uint256";
|
|
98
|
+
}, {
|
|
99
|
+
readonly indexed: false;
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
readonly name: "newMax";
|
|
132
102
|
readonly type: "uint256";
|
|
133
103
|
}];
|
|
134
|
-
readonly name: "
|
|
104
|
+
readonly name: "MaxTransferUpdated";
|
|
135
105
|
readonly type: "event";
|
|
136
106
|
}, {
|
|
137
107
|
readonly anonymous: false;
|
|
138
108
|
readonly inputs: readonly [{
|
|
109
|
+
readonly indexed: true;
|
|
110
|
+
readonly internalType: "address";
|
|
111
|
+
readonly name: "to";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
}, {
|
|
139
114
|
readonly indexed: false;
|
|
140
115
|
readonly internalType: "uint256";
|
|
141
|
-
readonly name: "
|
|
116
|
+
readonly name: "amount";
|
|
142
117
|
readonly type: "uint256";
|
|
143
118
|
}];
|
|
144
|
-
readonly name: "
|
|
119
|
+
readonly name: "Minted";
|
|
145
120
|
readonly type: "event";
|
|
146
121
|
}, {
|
|
147
122
|
readonly anonymous: false;
|
|
@@ -158,6 +133,16 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
158
133
|
}];
|
|
159
134
|
readonly name: "OwnershipTransferred";
|
|
160
135
|
readonly type: "event";
|
|
136
|
+
}, {
|
|
137
|
+
readonly anonymous: false;
|
|
138
|
+
readonly inputs: readonly [{
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "by";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}];
|
|
144
|
+
readonly name: "Paused";
|
|
145
|
+
readonly type: "event";
|
|
161
146
|
}, {
|
|
162
147
|
readonly anonymous: false;
|
|
163
148
|
readonly inputs: readonly [{
|
|
@@ -181,57 +166,53 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
181
166
|
}, {
|
|
182
167
|
readonly anonymous: false;
|
|
183
168
|
readonly inputs: readonly [{
|
|
184
|
-
readonly indexed:
|
|
185
|
-
readonly internalType: "
|
|
186
|
-
readonly name: "
|
|
187
|
-
readonly type: "
|
|
169
|
+
readonly indexed: true;
|
|
170
|
+
readonly internalType: "address";
|
|
171
|
+
readonly name: "by";
|
|
172
|
+
readonly type: "address";
|
|
188
173
|
}];
|
|
189
|
-
readonly name: "
|
|
174
|
+
readonly name: "Unpaused";
|
|
190
175
|
readonly type: "event";
|
|
191
176
|
}, {
|
|
192
177
|
readonly inputs: readonly [];
|
|
193
|
-
readonly name: "
|
|
178
|
+
readonly name: "VERSION";
|
|
194
179
|
readonly outputs: readonly [{
|
|
195
|
-
readonly internalType: "
|
|
180
|
+
readonly internalType: "bytes32";
|
|
196
181
|
readonly name: "";
|
|
197
|
-
readonly type: "
|
|
182
|
+
readonly type: "bytes32";
|
|
198
183
|
}];
|
|
199
184
|
readonly stateMutability: "view";
|
|
200
185
|
readonly type: "function";
|
|
201
186
|
}, {
|
|
202
187
|
readonly inputs: readonly [];
|
|
203
|
-
readonly name: "
|
|
204
|
-
readonly outputs: readonly [
|
|
205
|
-
|
|
206
|
-
readonly name: "";
|
|
207
|
-
readonly type: "uint256";
|
|
208
|
-
}];
|
|
209
|
-
readonly stateMutability: "view";
|
|
188
|
+
readonly name: "acceptOwnership";
|
|
189
|
+
readonly outputs: readonly [];
|
|
190
|
+
readonly stateMutability: "nonpayable";
|
|
210
191
|
readonly type: "function";
|
|
211
192
|
}, {
|
|
212
|
-
readonly inputs: readonly [
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
readonly
|
|
216
|
-
readonly name: "";
|
|
217
|
-
readonly type: "uint256";
|
|
193
|
+
readonly inputs: readonly [{
|
|
194
|
+
readonly internalType: "address";
|
|
195
|
+
readonly name: "account";
|
|
196
|
+
readonly type: "address";
|
|
218
197
|
}];
|
|
219
|
-
readonly
|
|
198
|
+
readonly name: "addMinter";
|
|
199
|
+
readonly outputs: readonly [];
|
|
200
|
+
readonly stateMutability: "nonpayable";
|
|
220
201
|
readonly type: "function";
|
|
221
202
|
}, {
|
|
222
|
-
readonly inputs: readonly [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
readonly
|
|
226
|
-
readonly name: "";
|
|
227
|
-
readonly type: "uint256";
|
|
203
|
+
readonly inputs: readonly [{
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly name: "account";
|
|
206
|
+
readonly type: "address";
|
|
228
207
|
}];
|
|
229
|
-
readonly
|
|
208
|
+
readonly name: "addPauser";
|
|
209
|
+
readonly outputs: readonly [];
|
|
210
|
+
readonly stateMutability: "nonpayable";
|
|
230
211
|
readonly type: "function";
|
|
231
212
|
}, {
|
|
232
213
|
readonly inputs: readonly [{
|
|
233
214
|
readonly internalType: "address";
|
|
234
|
-
readonly name: "
|
|
215
|
+
readonly name: "_owner";
|
|
235
216
|
readonly type: "address";
|
|
236
217
|
}, {
|
|
237
218
|
readonly internalType: "address";
|
|
@@ -279,104 +260,112 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
279
260
|
readonly stateMutability: "view";
|
|
280
261
|
readonly type: "function";
|
|
281
262
|
}, {
|
|
282
|
-
readonly inputs: readonly [
|
|
283
|
-
|
|
263
|
+
readonly inputs: readonly [{
|
|
264
|
+
readonly internalType: "address";
|
|
265
|
+
readonly name: "account";
|
|
266
|
+
readonly type: "address";
|
|
267
|
+
}, {
|
|
268
|
+
readonly internalType: "bool";
|
|
269
|
+
readonly name: "status";
|
|
270
|
+
readonly type: "bool";
|
|
271
|
+
}];
|
|
272
|
+
readonly name: "blacklist";
|
|
284
273
|
readonly outputs: readonly [];
|
|
285
|
-
readonly stateMutability: "
|
|
274
|
+
readonly stateMutability: "nonpayable";
|
|
286
275
|
readonly type: "function";
|
|
287
276
|
}, {
|
|
288
|
-
readonly inputs: readonly [
|
|
289
|
-
|
|
290
|
-
readonly outputs: readonly [{
|
|
291
|
-
readonly internalType: "uint256";
|
|
277
|
+
readonly inputs: readonly [{
|
|
278
|
+
readonly internalType: "address";
|
|
292
279
|
readonly name: "";
|
|
293
|
-
readonly type: "
|
|
280
|
+
readonly type: "address";
|
|
294
281
|
}];
|
|
295
|
-
readonly
|
|
296
|
-
readonly type: "function";
|
|
297
|
-
}, {
|
|
298
|
-
readonly inputs: readonly [];
|
|
299
|
-
readonly name: "decimals";
|
|
282
|
+
readonly name: "blacklisted";
|
|
300
283
|
readonly outputs: readonly [{
|
|
301
|
-
readonly internalType: "
|
|
284
|
+
readonly internalType: "bool";
|
|
302
285
|
readonly name: "";
|
|
303
|
-
readonly type: "
|
|
286
|
+
readonly type: "bool";
|
|
304
287
|
}];
|
|
305
288
|
readonly stateMutability: "view";
|
|
306
289
|
readonly type: "function";
|
|
307
290
|
}, {
|
|
308
|
-
readonly inputs: readonly [
|
|
309
|
-
readonly name: "getDailyApprovalRemaining";
|
|
310
|
-
readonly outputs: readonly [{
|
|
291
|
+
readonly inputs: readonly [{
|
|
311
292
|
readonly internalType: "uint256";
|
|
312
|
-
readonly name: "";
|
|
293
|
+
readonly name: "amount";
|
|
313
294
|
readonly type: "uint256";
|
|
314
295
|
}];
|
|
315
|
-
readonly
|
|
296
|
+
readonly name: "burn";
|
|
297
|
+
readonly outputs: readonly [];
|
|
298
|
+
readonly stateMutability: "nonpayable";
|
|
316
299
|
readonly type: "function";
|
|
317
300
|
}, {
|
|
318
|
-
readonly inputs: readonly [
|
|
319
|
-
|
|
320
|
-
|
|
301
|
+
readonly inputs: readonly [{
|
|
302
|
+
readonly internalType: "address";
|
|
303
|
+
readonly name: "from";
|
|
304
|
+
readonly type: "address";
|
|
305
|
+
}, {
|
|
321
306
|
readonly internalType: "uint256";
|
|
322
|
-
readonly name: "";
|
|
307
|
+
readonly name: "amount";
|
|
323
308
|
readonly type: "uint256";
|
|
324
309
|
}];
|
|
325
|
-
readonly
|
|
310
|
+
readonly name: "burnFrom";
|
|
311
|
+
readonly outputs: readonly [];
|
|
312
|
+
readonly stateMutability: "nonpayable";
|
|
326
313
|
readonly type: "function";
|
|
327
314
|
}, {
|
|
328
315
|
readonly inputs: readonly [];
|
|
329
|
-
readonly name: "
|
|
316
|
+
readonly name: "contractOwner";
|
|
330
317
|
readonly outputs: readonly [{
|
|
331
|
-
readonly internalType: "
|
|
318
|
+
readonly internalType: "address";
|
|
332
319
|
readonly name: "";
|
|
333
|
-
readonly type: "
|
|
320
|
+
readonly type: "address";
|
|
334
321
|
}];
|
|
335
322
|
readonly stateMutability: "view";
|
|
336
323
|
readonly type: "function";
|
|
337
324
|
}, {
|
|
338
325
|
readonly inputs: readonly [];
|
|
339
|
-
readonly name: "
|
|
326
|
+
readonly name: "decimals";
|
|
340
327
|
readonly outputs: readonly [{
|
|
341
|
-
readonly internalType: "
|
|
328
|
+
readonly internalType: "uint8";
|
|
342
329
|
readonly name: "";
|
|
343
|
-
readonly type: "
|
|
330
|
+
readonly type: "uint8";
|
|
344
331
|
}];
|
|
345
332
|
readonly stateMutability: "view";
|
|
346
333
|
readonly type: "function";
|
|
347
334
|
}, {
|
|
348
|
-
readonly inputs: readonly [
|
|
349
|
-
|
|
350
|
-
|
|
335
|
+
readonly inputs: readonly [{
|
|
336
|
+
readonly internalType: "address[]";
|
|
337
|
+
readonly name: "recipients";
|
|
338
|
+
readonly type: "address[]";
|
|
339
|
+
}, {
|
|
351
340
|
readonly internalType: "uint256";
|
|
352
|
-
readonly name: "";
|
|
341
|
+
readonly name: "value";
|
|
353
342
|
readonly type: "uint256";
|
|
354
343
|
}];
|
|
355
|
-
readonly
|
|
356
|
-
readonly type: "function";
|
|
357
|
-
}, {
|
|
358
|
-
readonly inputs: readonly [];
|
|
359
|
-
readonly name: "getTimeUntilReset";
|
|
344
|
+
readonly name: "distributeTokens";
|
|
360
345
|
readonly outputs: readonly [{
|
|
361
|
-
readonly internalType: "
|
|
346
|
+
readonly internalType: "bool";
|
|
362
347
|
readonly name: "";
|
|
363
|
-
readonly type: "
|
|
348
|
+
readonly type: "bool";
|
|
364
349
|
}];
|
|
365
|
-
readonly stateMutability: "
|
|
350
|
+
readonly stateMutability: "nonpayable";
|
|
366
351
|
readonly type: "function";
|
|
367
352
|
}, {
|
|
368
353
|
readonly inputs: readonly [];
|
|
369
|
-
readonly name: "
|
|
354
|
+
readonly name: "feeCollector";
|
|
370
355
|
readonly outputs: readonly [{
|
|
371
|
-
readonly internalType: "
|
|
356
|
+
readonly internalType: "address";
|
|
372
357
|
readonly name: "";
|
|
373
|
-
readonly type: "
|
|
358
|
+
readonly type: "address";
|
|
374
359
|
}];
|
|
375
360
|
readonly stateMutability: "view";
|
|
376
361
|
readonly type: "function";
|
|
377
362
|
}, {
|
|
378
|
-
readonly inputs: readonly [
|
|
379
|
-
|
|
363
|
+
readonly inputs: readonly [{
|
|
364
|
+
readonly internalType: "uint256";
|
|
365
|
+
readonly name: "amount";
|
|
366
|
+
readonly type: "uint256";
|
|
367
|
+
}];
|
|
368
|
+
readonly name: "getFeeForAmount";
|
|
380
369
|
readonly outputs: readonly [{
|
|
381
370
|
readonly internalType: "uint256";
|
|
382
371
|
readonly name: "";
|
|
@@ -385,18 +374,26 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
385
374
|
readonly stateMutability: "view";
|
|
386
375
|
readonly type: "function";
|
|
387
376
|
}, {
|
|
388
|
-
readonly inputs: readonly [
|
|
389
|
-
|
|
377
|
+
readonly inputs: readonly [{
|
|
378
|
+
readonly internalType: "address";
|
|
379
|
+
readonly name: "account";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
}];
|
|
382
|
+
readonly name: "isMinter";
|
|
390
383
|
readonly outputs: readonly [{
|
|
391
|
-
readonly internalType: "
|
|
384
|
+
readonly internalType: "bool";
|
|
392
385
|
readonly name: "";
|
|
393
|
-
readonly type: "
|
|
386
|
+
readonly type: "bool";
|
|
394
387
|
}];
|
|
395
388
|
readonly stateMutability: "view";
|
|
396
389
|
readonly type: "function";
|
|
397
390
|
}, {
|
|
398
|
-
readonly inputs: readonly [
|
|
399
|
-
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly internalType: "address";
|
|
393
|
+
readonly name: "account";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}];
|
|
396
|
+
readonly name: "isPauser";
|
|
400
397
|
readonly outputs: readonly [{
|
|
401
398
|
readonly internalType: "bool";
|
|
402
399
|
readonly name: "";
|
|
@@ -406,7 +403,7 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
406
403
|
readonly type: "function";
|
|
407
404
|
}, {
|
|
408
405
|
readonly inputs: readonly [];
|
|
409
|
-
readonly name: "
|
|
406
|
+
readonly name: "maxTransferAmount";
|
|
410
407
|
readonly outputs: readonly [{
|
|
411
408
|
readonly internalType: "uint256";
|
|
412
409
|
readonly name: "";
|
|
@@ -415,34 +412,50 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
415
412
|
readonly stateMutability: "view";
|
|
416
413
|
readonly type: "function";
|
|
417
414
|
}, {
|
|
418
|
-
readonly inputs: readonly [
|
|
419
|
-
|
|
420
|
-
|
|
415
|
+
readonly inputs: readonly [{
|
|
416
|
+
readonly internalType: "address";
|
|
417
|
+
readonly name: "to";
|
|
418
|
+
readonly type: "address";
|
|
419
|
+
}, {
|
|
421
420
|
readonly internalType: "uint256";
|
|
422
|
-
readonly name: "";
|
|
421
|
+
readonly name: "amount";
|
|
423
422
|
readonly type: "uint256";
|
|
424
423
|
}];
|
|
425
|
-
readonly
|
|
424
|
+
readonly name: "mint";
|
|
425
|
+
readonly outputs: readonly [];
|
|
426
|
+
readonly stateMutability: "nonpayable";
|
|
426
427
|
readonly type: "function";
|
|
427
428
|
}, {
|
|
428
|
-
readonly inputs: readonly [
|
|
429
|
-
|
|
429
|
+
readonly inputs: readonly [{
|
|
430
|
+
readonly internalType: "address";
|
|
431
|
+
readonly name: "";
|
|
432
|
+
readonly type: "address";
|
|
433
|
+
}];
|
|
434
|
+
readonly name: "minters";
|
|
430
435
|
readonly outputs: readonly [{
|
|
431
|
-
readonly internalType: "
|
|
436
|
+
readonly internalType: "bool";
|
|
432
437
|
readonly name: "";
|
|
433
|
-
readonly type: "
|
|
438
|
+
readonly type: "bool";
|
|
434
439
|
}];
|
|
435
440
|
readonly stateMutability: "view";
|
|
436
441
|
readonly type: "function";
|
|
437
442
|
}, {
|
|
438
|
-
readonly inputs: readonly [
|
|
439
|
-
|
|
443
|
+
readonly inputs: readonly [{
|
|
444
|
+
readonly internalType: "address[]";
|
|
445
|
+
readonly name: "recipients";
|
|
446
|
+
readonly type: "address[]";
|
|
447
|
+
}, {
|
|
448
|
+
readonly internalType: "uint256[]";
|
|
449
|
+
readonly name: "values";
|
|
450
|
+
readonly type: "uint256[]";
|
|
451
|
+
}];
|
|
452
|
+
readonly name: "multiTransfer";
|
|
440
453
|
readonly outputs: readonly [{
|
|
441
|
-
readonly internalType: "
|
|
454
|
+
readonly internalType: "bool";
|
|
442
455
|
readonly name: "";
|
|
443
|
-
readonly type: "
|
|
456
|
+
readonly type: "bool";
|
|
444
457
|
}];
|
|
445
|
-
readonly stateMutability: "
|
|
458
|
+
readonly stateMutability: "nonpayable";
|
|
446
459
|
readonly type: "function";
|
|
447
460
|
}, {
|
|
448
461
|
readonly inputs: readonly [];
|
|
@@ -466,61 +479,105 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
466
479
|
readonly type: "function";
|
|
467
480
|
}, {
|
|
468
481
|
readonly inputs: readonly [];
|
|
469
|
-
readonly name: "
|
|
482
|
+
readonly name: "pause";
|
|
470
483
|
readonly outputs: readonly [];
|
|
471
484
|
readonly stateMutability: "nonpayable";
|
|
472
485
|
readonly type: "function";
|
|
473
486
|
}, {
|
|
474
487
|
readonly inputs: readonly [];
|
|
475
|
-
readonly name: "
|
|
476
|
-
readonly outputs: readonly [
|
|
477
|
-
|
|
488
|
+
readonly name: "paused";
|
|
489
|
+
readonly outputs: readonly [{
|
|
490
|
+
readonly internalType: "bool";
|
|
491
|
+
readonly name: "";
|
|
492
|
+
readonly type: "bool";
|
|
493
|
+
}];
|
|
494
|
+
readonly stateMutability: "view";
|
|
478
495
|
readonly type: "function";
|
|
479
496
|
}, {
|
|
480
|
-
readonly inputs: readonly [
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
497
|
+
readonly inputs: readonly [{
|
|
498
|
+
readonly internalType: "address";
|
|
499
|
+
readonly name: "";
|
|
500
|
+
readonly type: "address";
|
|
501
|
+
}];
|
|
502
|
+
readonly name: "pausers";
|
|
503
|
+
readonly outputs: readonly [{
|
|
504
|
+
readonly internalType: "bool";
|
|
505
|
+
readonly name: "";
|
|
506
|
+
readonly type: "bool";
|
|
507
|
+
}];
|
|
508
|
+
readonly stateMutability: "view";
|
|
484
509
|
readonly type: "function";
|
|
485
510
|
}, {
|
|
486
511
|
readonly inputs: readonly [];
|
|
487
|
-
readonly name: "
|
|
512
|
+
readonly name: "pendingOwner";
|
|
513
|
+
readonly outputs: readonly [{
|
|
514
|
+
readonly internalType: "address";
|
|
515
|
+
readonly name: "";
|
|
516
|
+
readonly type: "address";
|
|
517
|
+
}];
|
|
518
|
+
readonly stateMutability: "view";
|
|
519
|
+
readonly type: "function";
|
|
520
|
+
}, {
|
|
521
|
+
readonly inputs: readonly [{
|
|
522
|
+
readonly internalType: "address";
|
|
523
|
+
readonly name: "account";
|
|
524
|
+
readonly type: "address";
|
|
525
|
+
}];
|
|
526
|
+
readonly name: "removeMinter";
|
|
488
527
|
readonly outputs: readonly [];
|
|
489
528
|
readonly stateMutability: "nonpayable";
|
|
490
529
|
readonly type: "function";
|
|
491
530
|
}, {
|
|
492
|
-
readonly inputs: readonly [
|
|
493
|
-
|
|
531
|
+
readonly inputs: readonly [{
|
|
532
|
+
readonly internalType: "address";
|
|
533
|
+
readonly name: "account";
|
|
534
|
+
readonly type: "address";
|
|
535
|
+
}];
|
|
536
|
+
readonly name: "removePauser";
|
|
494
537
|
readonly outputs: readonly [];
|
|
495
538
|
readonly stateMutability: "nonpayable";
|
|
496
539
|
readonly type: "function";
|
|
497
540
|
}, {
|
|
498
541
|
readonly inputs: readonly [{
|
|
542
|
+
readonly internalType: "address";
|
|
543
|
+
readonly name: "tokenAddress";
|
|
544
|
+
readonly type: "address";
|
|
545
|
+
}, {
|
|
499
546
|
readonly internalType: "uint256";
|
|
500
|
-
readonly name: "
|
|
547
|
+
readonly name: "amount";
|
|
501
548
|
readonly type: "uint256";
|
|
502
549
|
}];
|
|
503
|
-
readonly name: "
|
|
550
|
+
readonly name: "rescueERC20";
|
|
551
|
+
readonly outputs: readonly [];
|
|
552
|
+
readonly stateMutability: "nonpayable";
|
|
553
|
+
readonly type: "function";
|
|
554
|
+
}, {
|
|
555
|
+
readonly inputs: readonly [{
|
|
556
|
+
readonly internalType: "address";
|
|
557
|
+
readonly name: "newCollector";
|
|
558
|
+
readonly type: "address";
|
|
559
|
+
}];
|
|
560
|
+
readonly name: "setFeeCollector";
|
|
504
561
|
readonly outputs: readonly [];
|
|
505
562
|
readonly stateMutability: "nonpayable";
|
|
506
563
|
readonly type: "function";
|
|
507
564
|
}, {
|
|
508
565
|
readonly inputs: readonly [{
|
|
509
566
|
readonly internalType: "uint256";
|
|
510
|
-
readonly name: "
|
|
567
|
+
readonly name: "newMax";
|
|
511
568
|
readonly type: "uint256";
|
|
512
569
|
}];
|
|
513
|
-
readonly name: "
|
|
570
|
+
readonly name: "setMaxTransferAmount";
|
|
514
571
|
readonly outputs: readonly [];
|
|
515
572
|
readonly stateMutability: "nonpayable";
|
|
516
573
|
readonly type: "function";
|
|
517
574
|
}, {
|
|
518
575
|
readonly inputs: readonly [{
|
|
519
576
|
readonly internalType: "uint256";
|
|
520
|
-
readonly name: "
|
|
577
|
+
readonly name: "newFee";
|
|
521
578
|
readonly type: "uint256";
|
|
522
579
|
}];
|
|
523
|
-
readonly name: "
|
|
580
|
+
readonly name: "setTransferFee";
|
|
524
581
|
readonly outputs: readonly [];
|
|
525
582
|
readonly stateMutability: "nonpayable";
|
|
526
583
|
readonly type: "function";
|
|
@@ -534,12 +591,6 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
534
591
|
}];
|
|
535
592
|
readonly stateMutability: "view";
|
|
536
593
|
readonly type: "function";
|
|
537
|
-
}, {
|
|
538
|
-
readonly inputs: readonly [];
|
|
539
|
-
readonly name: "toggleApprovalLimit";
|
|
540
|
-
readonly outputs: readonly [];
|
|
541
|
-
readonly stateMutability: "nonpayable";
|
|
542
|
-
readonly type: "function";
|
|
543
594
|
}, {
|
|
544
595
|
readonly inputs: readonly [];
|
|
545
596
|
readonly name: "totalSupply";
|
|
@@ -568,6 +619,16 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
568
619
|
}];
|
|
569
620
|
readonly stateMutability: "nonpayable";
|
|
570
621
|
readonly type: "function";
|
|
622
|
+
}, {
|
|
623
|
+
readonly inputs: readonly [];
|
|
624
|
+
readonly name: "transferFee";
|
|
625
|
+
readonly outputs: readonly [{
|
|
626
|
+
readonly internalType: "uint256";
|
|
627
|
+
readonly name: "";
|
|
628
|
+
readonly type: "uint256";
|
|
629
|
+
}];
|
|
630
|
+
readonly stateMutability: "view";
|
|
631
|
+
readonly type: "function";
|
|
571
632
|
}, {
|
|
572
633
|
readonly inputs: readonly [{
|
|
573
634
|
readonly internalType: "address";
|
|
@@ -602,25 +663,21 @@ export declare const TetherUSDEdu_jsonAbi: readonly [{
|
|
|
602
663
|
readonly type: "function";
|
|
603
664
|
}, {
|
|
604
665
|
readonly inputs: readonly [];
|
|
605
|
-
readonly name: "
|
|
606
|
-
readonly outputs: readonly [
|
|
607
|
-
|
|
608
|
-
readonly name: "";
|
|
609
|
-
readonly type: "uint256";
|
|
610
|
-
}];
|
|
611
|
-
readonly stateMutability: "view";
|
|
666
|
+
readonly name: "unpause";
|
|
667
|
+
readonly outputs: readonly [];
|
|
668
|
+
readonly stateMutability: "nonpayable";
|
|
612
669
|
readonly type: "function";
|
|
613
670
|
}];
|
|
614
671
|
/**
|
|
615
|
-
* Type-safe ABI for
|
|
672
|
+
* Type-safe ABI for TetherUSD_json
|
|
616
673
|
*/
|
|
617
|
-
export type
|
|
674
|
+
export type TetherUSD_jsonAbi = typeof TetherUSD_jsonAbi;
|
|
618
675
|
/**
|
|
619
|
-
* Contract instance type for
|
|
676
|
+
* Contract instance type for TetherUSD_json
|
|
620
677
|
*/
|
|
621
|
-
export type
|
|
678
|
+
export type TetherUSD_jsonContract = any;
|
|
622
679
|
/**
|
|
623
|
-
*
|
|
680
|
+
* TetherUSD_json Contract Class
|
|
624
681
|
*
|
|
625
682
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
626
683
|
*
|
|
@@ -628,12 +685,12 @@ export type TetherUSDEdu_jsonContract = any;
|
|
|
628
685
|
* ```typescript
|
|
629
686
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
630
687
|
* import { mainnet } from 'viem/chains';
|
|
631
|
-
* import {
|
|
688
|
+
* import { TetherUSD_json } from 'TetherUSD_json';
|
|
632
689
|
*
|
|
633
690
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
634
691
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
635
692
|
*
|
|
636
|
-
* const contract = new
|
|
693
|
+
* const contract = new TetherUSD_json('0x...', { publicClient, walletClient });
|
|
637
694
|
*
|
|
638
695
|
* // Read functions
|
|
639
696
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -651,7 +708,7 @@ export type TetherUSDEdu_jsonContract = any;
|
|
|
651
708
|
* });
|
|
652
709
|
* ```
|
|
653
710
|
*/
|
|
654
|
-
export declare class
|
|
711
|
+
export declare class TetherUSD_json {
|
|
655
712
|
private contract;
|
|
656
713
|
private contractAddress;
|
|
657
714
|
private publicClient;
|
|
@@ -666,153 +723,232 @@ export declare class TetherUSDEdu_json {
|
|
|
666
723
|
/**
|
|
667
724
|
* Get the underlying viem contract instance
|
|
668
725
|
*/
|
|
669
|
-
getContract():
|
|
726
|
+
getContract(): TetherUSD_jsonContract;
|
|
670
727
|
/**
|
|
671
|
-
*
|
|
728
|
+
* VERSION
|
|
672
729
|
* view
|
|
673
730
|
*/
|
|
674
|
-
|
|
675
|
-
/**
|
|
676
|
-
* INITIAL_SUPPLY
|
|
677
|
-
* view
|
|
678
|
-
*/
|
|
679
|
-
INITIAL_SUPPLY(): Promise<bigint>;
|
|
680
|
-
/**
|
|
681
|
-
* MONTHLY_APPROVAL_LIMIT
|
|
682
|
-
* view
|
|
683
|
-
*/
|
|
684
|
-
MONTHLY_APPROVAL_LIMIT(): Promise<bigint>;
|
|
685
|
-
/**
|
|
686
|
-
* WEEKLY_APPROVAL_LIMIT
|
|
687
|
-
* view
|
|
688
|
-
*/
|
|
689
|
-
WEEKLY_APPROVAL_LIMIT(): Promise<bigint>;
|
|
731
|
+
VERSION(): Promise<`0x${string}`>;
|
|
690
732
|
/**
|
|
691
733
|
* allowance
|
|
692
734
|
* view
|
|
693
735
|
*/
|
|
694
|
-
allowance(
|
|
736
|
+
allowance(_owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
695
737
|
/**
|
|
696
738
|
* balanceOf
|
|
697
739
|
* view
|
|
698
740
|
*/
|
|
699
741
|
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
700
742
|
/**
|
|
701
|
-
*
|
|
702
|
-
*
|
|
743
|
+
* blacklisted
|
|
744
|
+
* view
|
|
703
745
|
*/
|
|
704
|
-
|
|
746
|
+
blacklisted(arg0: `0x${string}`): Promise<boolean>;
|
|
705
747
|
/**
|
|
706
|
-
*
|
|
748
|
+
* contractOwner
|
|
707
749
|
* view
|
|
708
750
|
*/
|
|
709
|
-
|
|
751
|
+
contractOwner(): Promise<`0x${string}`>;
|
|
710
752
|
/**
|
|
711
753
|
* decimals
|
|
712
754
|
* view
|
|
713
755
|
*/
|
|
714
756
|
decimals(): Promise<bigint>;
|
|
715
757
|
/**
|
|
716
|
-
*
|
|
758
|
+
* feeCollector
|
|
717
759
|
* view
|
|
718
760
|
*/
|
|
719
|
-
|
|
761
|
+
feeCollector(): Promise<`0x${string}`>;
|
|
720
762
|
/**
|
|
721
|
-
*
|
|
763
|
+
* getFeeForAmount
|
|
722
764
|
* view
|
|
723
765
|
*/
|
|
724
|
-
|
|
766
|
+
getFeeForAmount(amount: bigint): Promise<bigint>;
|
|
725
767
|
/**
|
|
726
|
-
*
|
|
768
|
+
* isMinter
|
|
727
769
|
* view
|
|
728
770
|
*/
|
|
729
|
-
|
|
771
|
+
isMinter(account: `0x${string}`): Promise<boolean>;
|
|
730
772
|
/**
|
|
731
|
-
*
|
|
773
|
+
* isPauser
|
|
732
774
|
* view
|
|
733
775
|
*/
|
|
734
|
-
|
|
776
|
+
isPauser(account: `0x${string}`): Promise<boolean>;
|
|
735
777
|
/**
|
|
736
|
-
*
|
|
778
|
+
* maxTransferAmount
|
|
737
779
|
* view
|
|
738
780
|
*/
|
|
739
|
-
|
|
781
|
+
maxTransferAmount(): Promise<bigint>;
|
|
740
782
|
/**
|
|
741
|
-
*
|
|
783
|
+
* minters
|
|
742
784
|
* view
|
|
743
785
|
*/
|
|
744
|
-
|
|
786
|
+
minters(arg0: `0x${string}`): Promise<boolean>;
|
|
745
787
|
/**
|
|
746
|
-
*
|
|
788
|
+
* name
|
|
747
789
|
* view
|
|
748
790
|
*/
|
|
749
|
-
|
|
791
|
+
name(): Promise<string>;
|
|
750
792
|
/**
|
|
751
|
-
*
|
|
793
|
+
* owner
|
|
752
794
|
* view
|
|
753
795
|
*/
|
|
754
|
-
|
|
796
|
+
owner(): Promise<`0x${string}`>;
|
|
755
797
|
/**
|
|
756
|
-
*
|
|
798
|
+
* paused
|
|
757
799
|
* view
|
|
758
800
|
*/
|
|
759
|
-
|
|
801
|
+
paused(): Promise<boolean>;
|
|
760
802
|
/**
|
|
761
|
-
*
|
|
803
|
+
* pausers
|
|
762
804
|
* view
|
|
763
805
|
*/
|
|
764
|
-
|
|
806
|
+
pausers(arg0: `0x${string}`): Promise<boolean>;
|
|
765
807
|
/**
|
|
766
|
-
*
|
|
808
|
+
* pendingOwner
|
|
767
809
|
* view
|
|
768
810
|
*/
|
|
769
|
-
|
|
811
|
+
pendingOwner(): Promise<`0x${string}`>;
|
|
770
812
|
/**
|
|
771
|
-
*
|
|
813
|
+
* symbol
|
|
772
814
|
* view
|
|
773
815
|
*/
|
|
774
|
-
|
|
816
|
+
symbol(): Promise<string>;
|
|
775
817
|
/**
|
|
776
|
-
*
|
|
818
|
+
* totalSupply
|
|
777
819
|
* view
|
|
778
820
|
*/
|
|
779
|
-
|
|
821
|
+
totalSupply(): Promise<bigint>;
|
|
780
822
|
/**
|
|
781
|
-
*
|
|
823
|
+
* transferFee
|
|
782
824
|
* view
|
|
783
825
|
*/
|
|
784
|
-
|
|
826
|
+
transferFee(): Promise<bigint>;
|
|
827
|
+
/**
|
|
828
|
+
* acceptOwnership
|
|
829
|
+
* nonpayable
|
|
830
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
831
|
+
*/
|
|
832
|
+
acceptOwnership(options?: {
|
|
833
|
+
accessList?: import('viem').AccessList;
|
|
834
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
835
|
+
chain?: import('viem').Chain | null;
|
|
836
|
+
dataSuffix?: `0x${string}`;
|
|
837
|
+
gas?: bigint;
|
|
838
|
+
gasPrice?: bigint;
|
|
839
|
+
maxFeePerGas?: bigint;
|
|
840
|
+
maxPriorityFeePerGas?: bigint;
|
|
841
|
+
nonce?: number;
|
|
842
|
+
value?: bigint;
|
|
843
|
+
}): Promise<`0x${string}`>;
|
|
844
|
+
/**
|
|
845
|
+
* addMinter
|
|
846
|
+
* nonpayable
|
|
847
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
848
|
+
*/
|
|
849
|
+
addMinter(account: `0x${string}`, options?: {
|
|
850
|
+
accessList?: import('viem').AccessList;
|
|
851
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
852
|
+
chain?: import('viem').Chain | null;
|
|
853
|
+
dataSuffix?: `0x${string}`;
|
|
854
|
+
gas?: bigint;
|
|
855
|
+
gasPrice?: bigint;
|
|
856
|
+
maxFeePerGas?: bigint;
|
|
857
|
+
maxPriorityFeePerGas?: bigint;
|
|
858
|
+
nonce?: number;
|
|
859
|
+
value?: bigint;
|
|
860
|
+
}): Promise<`0x${string}`>;
|
|
785
861
|
/**
|
|
786
|
-
*
|
|
787
|
-
*
|
|
862
|
+
* addPauser
|
|
863
|
+
* nonpayable
|
|
864
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
788
865
|
*/
|
|
789
|
-
|
|
866
|
+
addPauser(account: `0x${string}`, options?: {
|
|
867
|
+
accessList?: import('viem').AccessList;
|
|
868
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
869
|
+
chain?: import('viem').Chain | null;
|
|
870
|
+
dataSuffix?: `0x${string}`;
|
|
871
|
+
gas?: bigint;
|
|
872
|
+
gasPrice?: bigint;
|
|
873
|
+
maxFeePerGas?: bigint;
|
|
874
|
+
maxPriorityFeePerGas?: bigint;
|
|
875
|
+
nonce?: number;
|
|
876
|
+
value?: bigint;
|
|
877
|
+
}): Promise<`0x${string}`>;
|
|
790
878
|
/**
|
|
791
|
-
*
|
|
792
|
-
*
|
|
879
|
+
* approve
|
|
880
|
+
* nonpayable
|
|
881
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
793
882
|
*/
|
|
794
|
-
|
|
883
|
+
approve(spender: `0x${string}`, value: bigint, options?: {
|
|
884
|
+
accessList?: import('viem').AccessList;
|
|
885
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
886
|
+
chain?: import('viem').Chain | null;
|
|
887
|
+
dataSuffix?: `0x${string}`;
|
|
888
|
+
gas?: bigint;
|
|
889
|
+
gasPrice?: bigint;
|
|
890
|
+
maxFeePerGas?: bigint;
|
|
891
|
+
maxPriorityFeePerGas?: bigint;
|
|
892
|
+
nonce?: number;
|
|
893
|
+
value?: bigint;
|
|
894
|
+
}): Promise<`0x${string}`>;
|
|
795
895
|
/**
|
|
796
|
-
*
|
|
797
|
-
*
|
|
896
|
+
* blacklist
|
|
897
|
+
* nonpayable
|
|
898
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
798
899
|
*/
|
|
799
|
-
|
|
900
|
+
blacklist(account: `0x${string}`, status: boolean, options?: {
|
|
901
|
+
accessList?: import('viem').AccessList;
|
|
902
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
903
|
+
chain?: import('viem').Chain | null;
|
|
904
|
+
dataSuffix?: `0x${string}`;
|
|
905
|
+
gas?: bigint;
|
|
906
|
+
gasPrice?: bigint;
|
|
907
|
+
maxFeePerGas?: bigint;
|
|
908
|
+
maxPriorityFeePerGas?: bigint;
|
|
909
|
+
nonce?: number;
|
|
910
|
+
value?: bigint;
|
|
911
|
+
}): Promise<`0x${string}`>;
|
|
800
912
|
/**
|
|
801
|
-
*
|
|
802
|
-
*
|
|
913
|
+
* burn
|
|
914
|
+
* nonpayable
|
|
915
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
803
916
|
*/
|
|
804
|
-
|
|
917
|
+
burn(amount: bigint, options?: {
|
|
918
|
+
accessList?: import('viem').AccessList;
|
|
919
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
920
|
+
chain?: import('viem').Chain | null;
|
|
921
|
+
dataSuffix?: `0x${string}`;
|
|
922
|
+
gas?: bigint;
|
|
923
|
+
gasPrice?: bigint;
|
|
924
|
+
maxFeePerGas?: bigint;
|
|
925
|
+
maxPriorityFeePerGas?: bigint;
|
|
926
|
+
nonce?: number;
|
|
927
|
+
value?: bigint;
|
|
928
|
+
}): Promise<`0x${string}`>;
|
|
805
929
|
/**
|
|
806
|
-
*
|
|
807
|
-
*
|
|
930
|
+
* burnFrom
|
|
931
|
+
* nonpayable
|
|
932
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
808
933
|
*/
|
|
809
|
-
|
|
934
|
+
burnFrom(from: `0x${string}`, amount: bigint, options?: {
|
|
935
|
+
accessList?: import('viem').AccessList;
|
|
936
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
937
|
+
chain?: import('viem').Chain | null;
|
|
938
|
+
dataSuffix?: `0x${string}`;
|
|
939
|
+
gas?: bigint;
|
|
940
|
+
gasPrice?: bigint;
|
|
941
|
+
maxFeePerGas?: bigint;
|
|
942
|
+
maxPriorityFeePerGas?: bigint;
|
|
943
|
+
nonce?: number;
|
|
944
|
+
value?: bigint;
|
|
945
|
+
}): Promise<`0x${string}`>;
|
|
810
946
|
/**
|
|
811
|
-
*
|
|
947
|
+
* distributeTokens
|
|
812
948
|
* nonpayable
|
|
813
949
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
814
950
|
*/
|
|
815
|
-
|
|
951
|
+
distributeTokens(recipients: `0x${string}`[], value: bigint, options?: {
|
|
816
952
|
accessList?: import('viem').AccessList;
|
|
817
953
|
authorizationList?: import('viem').AuthorizationList;
|
|
818
954
|
chain?: import('viem').Chain | null;
|
|
@@ -825,11 +961,11 @@ export declare class TetherUSDEdu_json {
|
|
|
825
961
|
value?: bigint;
|
|
826
962
|
}): Promise<`0x${string}`>;
|
|
827
963
|
/**
|
|
828
|
-
*
|
|
964
|
+
* mint
|
|
829
965
|
* nonpayable
|
|
830
966
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
831
967
|
*/
|
|
832
|
-
|
|
968
|
+
mint(to: `0x${string}`, amount: bigint, options?: {
|
|
833
969
|
accessList?: import('viem').AccessList;
|
|
834
970
|
authorizationList?: import('viem').AuthorizationList;
|
|
835
971
|
chain?: import('viem').Chain | null;
|
|
@@ -842,11 +978,11 @@ export declare class TetherUSDEdu_json {
|
|
|
842
978
|
value?: bigint;
|
|
843
979
|
}): Promise<`0x${string}`>;
|
|
844
980
|
/**
|
|
845
|
-
*
|
|
981
|
+
* multiTransfer
|
|
846
982
|
* nonpayable
|
|
847
983
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
848
984
|
*/
|
|
849
|
-
|
|
985
|
+
multiTransfer(recipients: `0x${string}`[], values: bigint[], options?: {
|
|
850
986
|
accessList?: import('viem').AccessList;
|
|
851
987
|
authorizationList?: import('viem').AuthorizationList;
|
|
852
988
|
chain?: import('viem').Chain | null;
|
|
@@ -859,11 +995,11 @@ export declare class TetherUSDEdu_json {
|
|
|
859
995
|
value?: bigint;
|
|
860
996
|
}): Promise<`0x${string}`>;
|
|
861
997
|
/**
|
|
862
|
-
*
|
|
998
|
+
* pause
|
|
863
999
|
* nonpayable
|
|
864
1000
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
865
1001
|
*/
|
|
866
|
-
|
|
1002
|
+
pause(options?: {
|
|
867
1003
|
accessList?: import('viem').AccessList;
|
|
868
1004
|
authorizationList?: import('viem').AuthorizationList;
|
|
869
1005
|
chain?: import('viem').Chain | null;
|
|
@@ -876,11 +1012,11 @@ export declare class TetherUSDEdu_json {
|
|
|
876
1012
|
value?: bigint;
|
|
877
1013
|
}): Promise<`0x${string}`>;
|
|
878
1014
|
/**
|
|
879
|
-
*
|
|
1015
|
+
* removeMinter
|
|
880
1016
|
* nonpayable
|
|
881
1017
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
882
1018
|
*/
|
|
883
|
-
|
|
1019
|
+
removeMinter(account: `0x${string}`, options?: {
|
|
884
1020
|
accessList?: import('viem').AccessList;
|
|
885
1021
|
authorizationList?: import('viem').AuthorizationList;
|
|
886
1022
|
chain?: import('viem').Chain | null;
|
|
@@ -893,11 +1029,11 @@ export declare class TetherUSDEdu_json {
|
|
|
893
1029
|
value?: bigint;
|
|
894
1030
|
}): Promise<`0x${string}`>;
|
|
895
1031
|
/**
|
|
896
|
-
*
|
|
1032
|
+
* removePauser
|
|
897
1033
|
* nonpayable
|
|
898
1034
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
899
1035
|
*/
|
|
900
|
-
|
|
1036
|
+
removePauser(account: `0x${string}`, options?: {
|
|
901
1037
|
accessList?: import('viem').AccessList;
|
|
902
1038
|
authorizationList?: import('viem').AuthorizationList;
|
|
903
1039
|
chain?: import('viem').Chain | null;
|
|
@@ -910,11 +1046,11 @@ export declare class TetherUSDEdu_json {
|
|
|
910
1046
|
value?: bigint;
|
|
911
1047
|
}): Promise<`0x${string}`>;
|
|
912
1048
|
/**
|
|
913
|
-
*
|
|
1049
|
+
* rescueERC20
|
|
914
1050
|
* nonpayable
|
|
915
1051
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
916
1052
|
*/
|
|
917
|
-
|
|
1053
|
+
rescueERC20(tokenAddress: `0x${string}`, amount: bigint, options?: {
|
|
918
1054
|
accessList?: import('viem').AccessList;
|
|
919
1055
|
authorizationList?: import('viem').AuthorizationList;
|
|
920
1056
|
chain?: import('viem').Chain | null;
|
|
@@ -927,11 +1063,11 @@ export declare class TetherUSDEdu_json {
|
|
|
927
1063
|
value?: bigint;
|
|
928
1064
|
}): Promise<`0x${string}`>;
|
|
929
1065
|
/**
|
|
930
|
-
*
|
|
1066
|
+
* setFeeCollector
|
|
931
1067
|
* nonpayable
|
|
932
1068
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
933
1069
|
*/
|
|
934
|
-
|
|
1070
|
+
setFeeCollector(newCollector: `0x${string}`, options?: {
|
|
935
1071
|
accessList?: import('viem').AccessList;
|
|
936
1072
|
authorizationList?: import('viem').AuthorizationList;
|
|
937
1073
|
chain?: import('viem').Chain | null;
|
|
@@ -944,11 +1080,11 @@ export declare class TetherUSDEdu_json {
|
|
|
944
1080
|
value?: bigint;
|
|
945
1081
|
}): Promise<`0x${string}`>;
|
|
946
1082
|
/**
|
|
947
|
-
*
|
|
1083
|
+
* setMaxTransferAmount
|
|
948
1084
|
* nonpayable
|
|
949
1085
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
950
1086
|
*/
|
|
951
|
-
|
|
1087
|
+
setMaxTransferAmount(newMax: bigint, options?: {
|
|
952
1088
|
accessList?: import('viem').AccessList;
|
|
953
1089
|
authorizationList?: import('viem').AuthorizationList;
|
|
954
1090
|
chain?: import('viem').Chain | null;
|
|
@@ -961,11 +1097,11 @@ export declare class TetherUSDEdu_json {
|
|
|
961
1097
|
value?: bigint;
|
|
962
1098
|
}): Promise<`0x${string}`>;
|
|
963
1099
|
/**
|
|
964
|
-
*
|
|
1100
|
+
* setTransferFee
|
|
965
1101
|
* nonpayable
|
|
966
1102
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
967
1103
|
*/
|
|
968
|
-
|
|
1104
|
+
setTransferFee(newFee: bigint, options?: {
|
|
969
1105
|
accessList?: import('viem').AccessList;
|
|
970
1106
|
authorizationList?: import('viem').AuthorizationList;
|
|
971
1107
|
chain?: import('viem').Chain | null;
|
|
@@ -1028,6 +1164,23 @@ export declare class TetherUSDEdu_json {
|
|
|
1028
1164
|
nonce?: number;
|
|
1029
1165
|
value?: bigint;
|
|
1030
1166
|
}): Promise<`0x${string}`>;
|
|
1167
|
+
/**
|
|
1168
|
+
* unpause
|
|
1169
|
+
* nonpayable
|
|
1170
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1171
|
+
*/
|
|
1172
|
+
unpause(options?: {
|
|
1173
|
+
accessList?: import('viem').AccessList;
|
|
1174
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1175
|
+
chain?: import('viem').Chain | null;
|
|
1176
|
+
dataSuffix?: `0x${string}`;
|
|
1177
|
+
gas?: bigint;
|
|
1178
|
+
gasPrice?: bigint;
|
|
1179
|
+
maxFeePerGas?: bigint;
|
|
1180
|
+
maxPriorityFeePerGas?: bigint;
|
|
1181
|
+
nonce?: number;
|
|
1182
|
+
value?: bigint;
|
|
1183
|
+
}): Promise<`0x${string}`>;
|
|
1031
1184
|
/**
|
|
1032
1185
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
1033
1186
|
*
|
|
@@ -1037,6 +1190,57 @@ export declare class TetherUSDEdu_json {
|
|
|
1037
1190
|
* console.log('Would succeed:', result.result);
|
|
1038
1191
|
*/
|
|
1039
1192
|
get simulate(): {
|
|
1193
|
+
/**
|
|
1194
|
+
* Simulate acceptOwnership
|
|
1195
|
+
* Returns gas estimate and result without sending transaction
|
|
1196
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1197
|
+
*/
|
|
1198
|
+
acceptOwnership(options?: {
|
|
1199
|
+
accessList?: import("viem").AccessList;
|
|
1200
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1201
|
+
chain?: import("viem").Chain | null;
|
|
1202
|
+
dataSuffix?: `0x${string}`;
|
|
1203
|
+
gas?: bigint;
|
|
1204
|
+
gasPrice?: bigint;
|
|
1205
|
+
maxFeePerGas?: bigint;
|
|
1206
|
+
maxPriorityFeePerGas?: bigint;
|
|
1207
|
+
nonce?: number;
|
|
1208
|
+
value?: bigint;
|
|
1209
|
+
}): Promise<void>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Simulate addMinter
|
|
1212
|
+
* Returns gas estimate and result without sending transaction
|
|
1213
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1214
|
+
*/
|
|
1215
|
+
addMinter(account: `0x${string}`, options?: {
|
|
1216
|
+
accessList?: import("viem").AccessList;
|
|
1217
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1218
|
+
chain?: import("viem").Chain | null;
|
|
1219
|
+
dataSuffix?: `0x${string}`;
|
|
1220
|
+
gas?: bigint;
|
|
1221
|
+
gasPrice?: bigint;
|
|
1222
|
+
maxFeePerGas?: bigint;
|
|
1223
|
+
maxPriorityFeePerGas?: bigint;
|
|
1224
|
+
nonce?: number;
|
|
1225
|
+
value?: bigint;
|
|
1226
|
+
}): Promise<void>;
|
|
1227
|
+
/**
|
|
1228
|
+
* Simulate addPauser
|
|
1229
|
+
* Returns gas estimate and result without sending transaction
|
|
1230
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1231
|
+
*/
|
|
1232
|
+
addPauser(account: `0x${string}`, options?: {
|
|
1233
|
+
accessList?: import("viem").AccessList;
|
|
1234
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1235
|
+
chain?: import("viem").Chain | null;
|
|
1236
|
+
dataSuffix?: `0x${string}`;
|
|
1237
|
+
gas?: bigint;
|
|
1238
|
+
gasPrice?: bigint;
|
|
1239
|
+
maxFeePerGas?: bigint;
|
|
1240
|
+
maxPriorityFeePerGas?: bigint;
|
|
1241
|
+
nonce?: number;
|
|
1242
|
+
value?: bigint;
|
|
1243
|
+
}): Promise<void>;
|
|
1040
1244
|
/**
|
|
1041
1245
|
* Simulate approve
|
|
1042
1246
|
* Returns gas estimate and result without sending transaction
|
|
@@ -1055,11 +1259,45 @@ export declare class TetherUSDEdu_json {
|
|
|
1055
1259
|
value?: bigint;
|
|
1056
1260
|
}): Promise<boolean>;
|
|
1057
1261
|
/**
|
|
1058
|
-
* Simulate
|
|
1262
|
+
* Simulate blacklist
|
|
1263
|
+
* Returns gas estimate and result without sending transaction
|
|
1264
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1265
|
+
*/
|
|
1266
|
+
blacklist(account: `0x${string}`, status: boolean, options?: {
|
|
1267
|
+
accessList?: import("viem").AccessList;
|
|
1268
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1269
|
+
chain?: import("viem").Chain | null;
|
|
1270
|
+
dataSuffix?: `0x${string}`;
|
|
1271
|
+
gas?: bigint;
|
|
1272
|
+
gasPrice?: bigint;
|
|
1273
|
+
maxFeePerGas?: bigint;
|
|
1274
|
+
maxPriorityFeePerGas?: bigint;
|
|
1275
|
+
nonce?: number;
|
|
1276
|
+
value?: bigint;
|
|
1277
|
+
}): Promise<void>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Simulate burn
|
|
1280
|
+
* Returns gas estimate and result without sending transaction
|
|
1281
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1282
|
+
*/
|
|
1283
|
+
burn(amount: bigint, options?: {
|
|
1284
|
+
accessList?: import("viem").AccessList;
|
|
1285
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1286
|
+
chain?: import("viem").Chain | null;
|
|
1287
|
+
dataSuffix?: `0x${string}`;
|
|
1288
|
+
gas?: bigint;
|
|
1289
|
+
gasPrice?: bigint;
|
|
1290
|
+
maxFeePerGas?: bigint;
|
|
1291
|
+
maxPriorityFeePerGas?: bigint;
|
|
1292
|
+
nonce?: number;
|
|
1293
|
+
value?: bigint;
|
|
1294
|
+
}): Promise<void>;
|
|
1295
|
+
/**
|
|
1296
|
+
* Simulate burnFrom
|
|
1059
1297
|
* Returns gas estimate and result without sending transaction
|
|
1060
1298
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1061
1299
|
*/
|
|
1062
|
-
|
|
1300
|
+
burnFrom(from: `0x${string}`, amount: bigint, options?: {
|
|
1063
1301
|
accessList?: import("viem").AccessList;
|
|
1064
1302
|
authorizationList?: import("viem").AuthorizationList;
|
|
1065
1303
|
chain?: import("viem").Chain | null;
|
|
@@ -1072,11 +1310,28 @@ export declare class TetherUSDEdu_json {
|
|
|
1072
1310
|
value?: bigint;
|
|
1073
1311
|
}): Promise<void>;
|
|
1074
1312
|
/**
|
|
1075
|
-
* Simulate
|
|
1313
|
+
* Simulate distributeTokens
|
|
1314
|
+
* Returns gas estimate and result without sending transaction
|
|
1315
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1316
|
+
*/
|
|
1317
|
+
distributeTokens(recipients: `0x${string}`[], value: bigint, options?: {
|
|
1318
|
+
accessList?: import("viem").AccessList;
|
|
1319
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1320
|
+
chain?: import("viem").Chain | null;
|
|
1321
|
+
dataSuffix?: `0x${string}`;
|
|
1322
|
+
gas?: bigint;
|
|
1323
|
+
gasPrice?: bigint;
|
|
1324
|
+
maxFeePerGas?: bigint;
|
|
1325
|
+
maxPriorityFeePerGas?: bigint;
|
|
1326
|
+
nonce?: number;
|
|
1327
|
+
value?: bigint;
|
|
1328
|
+
}): Promise<boolean>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Simulate mint
|
|
1076
1331
|
* Returns gas estimate and result without sending transaction
|
|
1077
1332
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1078
1333
|
*/
|
|
1079
|
-
|
|
1334
|
+
mint(to: `0x${string}`, amount: bigint, options?: {
|
|
1080
1335
|
accessList?: import("viem").AccessList;
|
|
1081
1336
|
authorizationList?: import("viem").AuthorizationList;
|
|
1082
1337
|
chain?: import("viem").Chain | null;
|
|
@@ -1089,11 +1344,28 @@ export declare class TetherUSDEdu_json {
|
|
|
1089
1344
|
value?: bigint;
|
|
1090
1345
|
}): Promise<void>;
|
|
1091
1346
|
/**
|
|
1092
|
-
* Simulate
|
|
1347
|
+
* Simulate multiTransfer
|
|
1348
|
+
* Returns gas estimate and result without sending transaction
|
|
1349
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1350
|
+
*/
|
|
1351
|
+
multiTransfer(recipients: `0x${string}`[], values: bigint[], options?: {
|
|
1352
|
+
accessList?: import("viem").AccessList;
|
|
1353
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1354
|
+
chain?: import("viem").Chain | null;
|
|
1355
|
+
dataSuffix?: `0x${string}`;
|
|
1356
|
+
gas?: bigint;
|
|
1357
|
+
gasPrice?: bigint;
|
|
1358
|
+
maxFeePerGas?: bigint;
|
|
1359
|
+
maxPriorityFeePerGas?: bigint;
|
|
1360
|
+
nonce?: number;
|
|
1361
|
+
value?: bigint;
|
|
1362
|
+
}): Promise<boolean>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Simulate pause
|
|
1093
1365
|
* Returns gas estimate and result without sending transaction
|
|
1094
1366
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1095
1367
|
*/
|
|
1096
|
-
|
|
1368
|
+
pause(options?: {
|
|
1097
1369
|
accessList?: import("viem").AccessList;
|
|
1098
1370
|
authorizationList?: import("viem").AuthorizationList;
|
|
1099
1371
|
chain?: import("viem").Chain | null;
|
|
@@ -1106,11 +1378,11 @@ export declare class TetherUSDEdu_json {
|
|
|
1106
1378
|
value?: bigint;
|
|
1107
1379
|
}): Promise<void>;
|
|
1108
1380
|
/**
|
|
1109
|
-
* Simulate
|
|
1381
|
+
* Simulate removeMinter
|
|
1110
1382
|
* Returns gas estimate and result without sending transaction
|
|
1111
1383
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1112
1384
|
*/
|
|
1113
|
-
|
|
1385
|
+
removeMinter(account: `0x${string}`, options?: {
|
|
1114
1386
|
accessList?: import("viem").AccessList;
|
|
1115
1387
|
authorizationList?: import("viem").AuthorizationList;
|
|
1116
1388
|
chain?: import("viem").Chain | null;
|
|
@@ -1123,11 +1395,11 @@ export declare class TetherUSDEdu_json {
|
|
|
1123
1395
|
value?: bigint;
|
|
1124
1396
|
}): Promise<void>;
|
|
1125
1397
|
/**
|
|
1126
|
-
* Simulate
|
|
1398
|
+
* Simulate removePauser
|
|
1127
1399
|
* Returns gas estimate and result without sending transaction
|
|
1128
1400
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1129
1401
|
*/
|
|
1130
|
-
|
|
1402
|
+
removePauser(account: `0x${string}`, options?: {
|
|
1131
1403
|
accessList?: import("viem").AccessList;
|
|
1132
1404
|
authorizationList?: import("viem").AuthorizationList;
|
|
1133
1405
|
chain?: import("viem").Chain | null;
|
|
@@ -1140,11 +1412,11 @@ export declare class TetherUSDEdu_json {
|
|
|
1140
1412
|
value?: bigint;
|
|
1141
1413
|
}): Promise<void>;
|
|
1142
1414
|
/**
|
|
1143
|
-
* Simulate
|
|
1415
|
+
* Simulate rescueERC20
|
|
1144
1416
|
* Returns gas estimate and result without sending transaction
|
|
1145
1417
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1146
1418
|
*/
|
|
1147
|
-
|
|
1419
|
+
rescueERC20(tokenAddress: `0x${string}`, amount: bigint, options?: {
|
|
1148
1420
|
accessList?: import("viem").AccessList;
|
|
1149
1421
|
authorizationList?: import("viem").AuthorizationList;
|
|
1150
1422
|
chain?: import("viem").Chain | null;
|
|
@@ -1157,11 +1429,11 @@ export declare class TetherUSDEdu_json {
|
|
|
1157
1429
|
value?: bigint;
|
|
1158
1430
|
}): Promise<void>;
|
|
1159
1431
|
/**
|
|
1160
|
-
* Simulate
|
|
1432
|
+
* Simulate setFeeCollector
|
|
1161
1433
|
* Returns gas estimate and result without sending transaction
|
|
1162
1434
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1163
1435
|
*/
|
|
1164
|
-
|
|
1436
|
+
setFeeCollector(newCollector: `0x${string}`, options?: {
|
|
1165
1437
|
accessList?: import("viem").AccessList;
|
|
1166
1438
|
authorizationList?: import("viem").AuthorizationList;
|
|
1167
1439
|
chain?: import("viem").Chain | null;
|
|
@@ -1174,11 +1446,11 @@ export declare class TetherUSDEdu_json {
|
|
|
1174
1446
|
value?: bigint;
|
|
1175
1447
|
}): Promise<void>;
|
|
1176
1448
|
/**
|
|
1177
|
-
* Simulate
|
|
1449
|
+
* Simulate setMaxTransferAmount
|
|
1178
1450
|
* Returns gas estimate and result without sending transaction
|
|
1179
1451
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1180
1452
|
*/
|
|
1181
|
-
|
|
1453
|
+
setMaxTransferAmount(newMax: bigint, options?: {
|
|
1182
1454
|
accessList?: import("viem").AccessList;
|
|
1183
1455
|
authorizationList?: import("viem").AuthorizationList;
|
|
1184
1456
|
chain?: import("viem").Chain | null;
|
|
@@ -1191,11 +1463,11 @@ export declare class TetherUSDEdu_json {
|
|
|
1191
1463
|
value?: bigint;
|
|
1192
1464
|
}): Promise<void>;
|
|
1193
1465
|
/**
|
|
1194
|
-
* Simulate
|
|
1466
|
+
* Simulate setTransferFee
|
|
1195
1467
|
* Returns gas estimate and result without sending transaction
|
|
1196
1468
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1197
1469
|
*/
|
|
1198
|
-
|
|
1470
|
+
setTransferFee(newFee: bigint, options?: {
|
|
1199
1471
|
accessList?: import("viem").AccessList;
|
|
1200
1472
|
authorizationList?: import("viem").AuthorizationList;
|
|
1201
1473
|
chain?: import("viem").Chain | null;
|
|
@@ -1258,6 +1530,23 @@ export declare class TetherUSDEdu_json {
|
|
|
1258
1530
|
nonce?: number;
|
|
1259
1531
|
value?: bigint;
|
|
1260
1532
|
}): Promise<void>;
|
|
1533
|
+
/**
|
|
1534
|
+
* Simulate unpause
|
|
1535
|
+
* Returns gas estimate and result without sending transaction
|
|
1536
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1537
|
+
*/
|
|
1538
|
+
unpause(options?: {
|
|
1539
|
+
accessList?: import("viem").AccessList;
|
|
1540
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1541
|
+
chain?: import("viem").Chain | null;
|
|
1542
|
+
dataSuffix?: `0x${string}`;
|
|
1543
|
+
gas?: bigint;
|
|
1544
|
+
gasPrice?: bigint;
|
|
1545
|
+
maxFeePerGas?: bigint;
|
|
1546
|
+
maxPriorityFeePerGas?: bigint;
|
|
1547
|
+
nonce?: number;
|
|
1548
|
+
value?: bigint;
|
|
1549
|
+
}): Promise<void>;
|
|
1261
1550
|
};
|
|
1262
1551
|
/**
|
|
1263
1552
|
* Watch contract events
|
|
@@ -1287,33 +1576,74 @@ export declare class TetherUSDEdu_json {
|
|
|
1287
1576
|
spender: `0x${string}`;
|
|
1288
1577
|
}) => () => void;
|
|
1289
1578
|
/**
|
|
1290
|
-
* Watch
|
|
1579
|
+
* Watch Blacklisted events
|
|
1291
1580
|
* @param callback Function to call when event is emitted
|
|
1292
1581
|
* @param filter Optional filter for indexed parameters
|
|
1293
1582
|
* @returns Unwatch function to stop listening
|
|
1294
1583
|
*/
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
}) => void
|
|
1584
|
+
Blacklisted: (callback: (event: {
|
|
1585
|
+
account: `0x${string}`;
|
|
1586
|
+
status: boolean;
|
|
1587
|
+
}) => void, filter?: {
|
|
1588
|
+
account: `0x${string}`;
|
|
1589
|
+
}) => () => void;
|
|
1590
|
+
/**
|
|
1591
|
+
* Watch Burned events
|
|
1592
|
+
* @param callback Function to call when event is emitted
|
|
1593
|
+
* @param filter Optional filter for indexed parameters
|
|
1594
|
+
* @returns Unwatch function to stop listening
|
|
1595
|
+
*/
|
|
1596
|
+
Burned: (callback: (event: {
|
|
1597
|
+
from: `0x${string}`;
|
|
1598
|
+
amount: bigint;
|
|
1599
|
+
}) => void, filter?: {
|
|
1600
|
+
from: `0x${string}`;
|
|
1601
|
+
}) => () => void;
|
|
1602
|
+
/**
|
|
1603
|
+
* Watch FeeCollectorUpdated events
|
|
1604
|
+
* @param callback Function to call when event is emitted
|
|
1605
|
+
* @param filter Optional filter for indexed parameters
|
|
1606
|
+
* @returns Unwatch function to stop listening
|
|
1607
|
+
*/
|
|
1608
|
+
FeeCollectorUpdated: (callback: (event: {
|
|
1609
|
+
oldCollector: `0x${string}`;
|
|
1610
|
+
newCollector: `0x${string}`;
|
|
1611
|
+
}) => void, filter?: {
|
|
1612
|
+
oldCollector: `0x${string}`;
|
|
1613
|
+
newCollector: `0x${string}`;
|
|
1614
|
+
}) => () => void;
|
|
1299
1615
|
/**
|
|
1300
|
-
* Watch
|
|
1616
|
+
* Watch FeeUpdated events
|
|
1301
1617
|
* @param callback Function to call when event is emitted
|
|
1302
1618
|
* @param filter Optional filter for indexed parameters
|
|
1303
1619
|
* @returns Unwatch function to stop listening
|
|
1304
1620
|
*/
|
|
1305
|
-
|
|
1306
|
-
|
|
1621
|
+
FeeUpdated: (callback: (event: {
|
|
1622
|
+
oldFee: bigint;
|
|
1623
|
+
newFee: bigint;
|
|
1307
1624
|
}) => void) => () => void;
|
|
1308
1625
|
/**
|
|
1309
|
-
* Watch
|
|
1626
|
+
* Watch MaxTransferUpdated events
|
|
1310
1627
|
* @param callback Function to call when event is emitted
|
|
1311
1628
|
* @param filter Optional filter for indexed parameters
|
|
1312
1629
|
* @returns Unwatch function to stop listening
|
|
1313
1630
|
*/
|
|
1314
|
-
|
|
1315
|
-
|
|
1631
|
+
MaxTransferUpdated: (callback: (event: {
|
|
1632
|
+
oldMax: bigint;
|
|
1633
|
+
newMax: bigint;
|
|
1316
1634
|
}) => void) => () => void;
|
|
1635
|
+
/**
|
|
1636
|
+
* Watch Minted events
|
|
1637
|
+
* @param callback Function to call when event is emitted
|
|
1638
|
+
* @param filter Optional filter for indexed parameters
|
|
1639
|
+
* @returns Unwatch function to stop listening
|
|
1640
|
+
*/
|
|
1641
|
+
Minted: (callback: (event: {
|
|
1642
|
+
to: `0x${string}`;
|
|
1643
|
+
amount: bigint;
|
|
1644
|
+
}) => void, filter?: {
|
|
1645
|
+
to: `0x${string}`;
|
|
1646
|
+
}) => () => void;
|
|
1317
1647
|
/**
|
|
1318
1648
|
* Watch OwnershipTransferred events
|
|
1319
1649
|
* @param callback Function to call when event is emitted
|
|
@@ -1327,6 +1657,17 @@ export declare class TetherUSDEdu_json {
|
|
|
1327
1657
|
previousOwner: `0x${string}`;
|
|
1328
1658
|
newOwner: `0x${string}`;
|
|
1329
1659
|
}) => () => void;
|
|
1660
|
+
/**
|
|
1661
|
+
* Watch Paused events
|
|
1662
|
+
* @param callback Function to call when event is emitted
|
|
1663
|
+
* @param filter Optional filter for indexed parameters
|
|
1664
|
+
* @returns Unwatch function to stop listening
|
|
1665
|
+
*/
|
|
1666
|
+
Paused: (callback: (event: {
|
|
1667
|
+
by: `0x${string}`;
|
|
1668
|
+
}) => void, filter?: {
|
|
1669
|
+
by: `0x${string}`;
|
|
1670
|
+
}) => () => void;
|
|
1330
1671
|
/**
|
|
1331
1672
|
* Watch Transfer events
|
|
1332
1673
|
* @param callback Function to call when event is emitted
|
|
@@ -1342,13 +1683,15 @@ export declare class TetherUSDEdu_json {
|
|
|
1342
1683
|
to: `0x${string}`;
|
|
1343
1684
|
}) => () => void;
|
|
1344
1685
|
/**
|
|
1345
|
-
* Watch
|
|
1686
|
+
* Watch Unpaused events
|
|
1346
1687
|
* @param callback Function to call when event is emitted
|
|
1347
1688
|
* @param filter Optional filter for indexed parameters
|
|
1348
1689
|
* @returns Unwatch function to stop listening
|
|
1349
1690
|
*/
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
}) => void
|
|
1691
|
+
Unpaused: (callback: (event: {
|
|
1692
|
+
by: `0x${string}`;
|
|
1693
|
+
}) => void, filter?: {
|
|
1694
|
+
by: `0x${string}`;
|
|
1695
|
+
}) => () => void;
|
|
1353
1696
|
};
|
|
1354
1697
|
}
|