@gitmyabi/usdt 1.0.27 → 1.0.29
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 +6 -6
- package/contracts/{PermittableToken_json.d.ts → TetherToken_json.d.ts} +320 -641
- package/contracts/{PermittableToken_json.js → TetherToken_json.js} +410 -647
- package/contracts/{PermittableToken_json.ts → TetherToken_json.ts} +425 -792
- package/contracts/index.d.ts +2 -4
- package/contracts/index.js +4 -7
- package/contracts/index.ts +2 -4
- package/package.json +3 -3
- package/contracts/TokenProxy_json.d.ts +0 -145
- package/contracts/TokenProxy_json.js +0 -177
- package/contracts/TokenProxy_json.ts +0 -207
|
@@ -1,55 +1,63 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* TetherToken_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 TetherToken_jsonAbi: readonly [{
|
|
8
8
|
readonly constant: true;
|
|
9
9
|
readonly inputs: readonly [];
|
|
10
|
-
readonly name: "
|
|
10
|
+
readonly name: "name";
|
|
11
11
|
readonly outputs: readonly [{
|
|
12
12
|
readonly name: "";
|
|
13
|
-
readonly type: "
|
|
13
|
+
readonly type: "string";
|
|
14
14
|
}];
|
|
15
15
|
readonly payable: false;
|
|
16
16
|
readonly stateMutability: "view";
|
|
17
17
|
readonly type: "function";
|
|
18
18
|
}, {
|
|
19
|
-
readonly constant:
|
|
20
|
-
readonly inputs: readonly [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
readonly name: "";
|
|
24
|
-
readonly type: "string";
|
|
19
|
+
readonly constant: false;
|
|
20
|
+
readonly inputs: readonly [{
|
|
21
|
+
readonly name: "_upgradedAddress";
|
|
22
|
+
readonly type: "address";
|
|
25
23
|
}];
|
|
24
|
+
readonly name: "deprecate";
|
|
25
|
+
readonly outputs: readonly [];
|
|
26
26
|
readonly payable: false;
|
|
27
|
-
readonly stateMutability: "
|
|
27
|
+
readonly stateMutability: "nonpayable";
|
|
28
28
|
readonly type: "function";
|
|
29
29
|
}, {
|
|
30
30
|
readonly constant: false;
|
|
31
31
|
readonly inputs: readonly [{
|
|
32
|
-
readonly name: "
|
|
32
|
+
readonly name: "_spender";
|
|
33
33
|
readonly type: "address";
|
|
34
34
|
}, {
|
|
35
35
|
readonly name: "_value";
|
|
36
36
|
readonly type: "uint256";
|
|
37
37
|
}];
|
|
38
38
|
readonly name: "approve";
|
|
39
|
+
readonly outputs: readonly [];
|
|
40
|
+
readonly payable: false;
|
|
41
|
+
readonly stateMutability: "nonpayable";
|
|
42
|
+
readonly type: "function";
|
|
43
|
+
}, {
|
|
44
|
+
readonly constant: true;
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "deprecated";
|
|
39
47
|
readonly outputs: readonly [{
|
|
40
|
-
readonly name: "
|
|
48
|
+
readonly name: "";
|
|
41
49
|
readonly type: "bool";
|
|
42
50
|
}];
|
|
43
51
|
readonly payable: false;
|
|
44
|
-
readonly stateMutability: "
|
|
52
|
+
readonly stateMutability: "view";
|
|
45
53
|
readonly type: "function";
|
|
46
54
|
}, {
|
|
47
55
|
readonly constant: false;
|
|
48
56
|
readonly inputs: readonly [{
|
|
49
|
-
readonly name: "
|
|
57
|
+
readonly name: "_evilUser";
|
|
50
58
|
readonly type: "address";
|
|
51
59
|
}];
|
|
52
|
-
readonly name: "
|
|
60
|
+
readonly name: "addBlackList";
|
|
53
61
|
readonly outputs: readonly [];
|
|
54
62
|
readonly payable: false;
|
|
55
63
|
readonly stateMutability: "nonpayable";
|
|
@@ -68,41 +76,41 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
68
76
|
}, {
|
|
69
77
|
readonly constant: false;
|
|
70
78
|
readonly inputs: readonly [{
|
|
71
|
-
readonly name: "
|
|
79
|
+
readonly name: "_from";
|
|
72
80
|
readonly type: "address";
|
|
73
81
|
}, {
|
|
74
|
-
readonly name: "
|
|
82
|
+
readonly name: "_to";
|
|
75
83
|
readonly type: "address";
|
|
76
84
|
}, {
|
|
77
|
-
readonly name: "
|
|
85
|
+
readonly name: "_value";
|
|
78
86
|
readonly type: "uint256";
|
|
79
87
|
}];
|
|
80
88
|
readonly name: "transferFrom";
|
|
81
|
-
readonly outputs: readonly [
|
|
82
|
-
readonly name: "";
|
|
83
|
-
readonly type: "bool";
|
|
84
|
-
}];
|
|
89
|
+
readonly outputs: readonly [];
|
|
85
90
|
readonly payable: false;
|
|
86
91
|
readonly stateMutability: "nonpayable";
|
|
87
92
|
readonly type: "function";
|
|
88
93
|
}, {
|
|
89
94
|
readonly constant: true;
|
|
90
95
|
readonly inputs: readonly [];
|
|
91
|
-
readonly name: "
|
|
96
|
+
readonly name: "upgradedAddress";
|
|
92
97
|
readonly outputs: readonly [{
|
|
93
98
|
readonly name: "";
|
|
94
|
-
readonly type: "
|
|
99
|
+
readonly type: "address";
|
|
95
100
|
}];
|
|
96
101
|
readonly payable: false;
|
|
97
102
|
readonly stateMutability: "view";
|
|
98
103
|
readonly type: "function";
|
|
99
104
|
}, {
|
|
100
105
|
readonly constant: true;
|
|
101
|
-
readonly inputs: readonly [
|
|
102
|
-
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly name: "";
|
|
108
|
+
readonly type: "address";
|
|
109
|
+
}];
|
|
110
|
+
readonly name: "balances";
|
|
103
111
|
readonly outputs: readonly [{
|
|
104
112
|
readonly name: "";
|
|
105
|
-
readonly type: "
|
|
113
|
+
readonly type: "uint256";
|
|
106
114
|
}];
|
|
107
115
|
readonly payable: false;
|
|
108
116
|
readonly stateMutability: "view";
|
|
@@ -110,117 +118,40 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
110
118
|
}, {
|
|
111
119
|
readonly constant: true;
|
|
112
120
|
readonly inputs: readonly [];
|
|
113
|
-
readonly name: "
|
|
121
|
+
readonly name: "decimals";
|
|
114
122
|
readonly outputs: readonly [{
|
|
115
123
|
readonly name: "";
|
|
116
|
-
readonly type: "bytes32";
|
|
117
|
-
}];
|
|
118
|
-
readonly payable: false;
|
|
119
|
-
readonly stateMutability: "view";
|
|
120
|
-
readonly type: "function";
|
|
121
|
-
}, {
|
|
122
|
-
readonly constant: false;
|
|
123
|
-
readonly inputs: readonly [{
|
|
124
|
-
readonly name: "_to";
|
|
125
|
-
readonly type: "address";
|
|
126
|
-
}, {
|
|
127
|
-
readonly name: "_addedValue";
|
|
128
|
-
readonly type: "uint256";
|
|
129
|
-
}];
|
|
130
|
-
readonly name: "increaseAllowance";
|
|
131
|
-
readonly outputs: readonly [{
|
|
132
|
-
readonly name: "result";
|
|
133
|
-
readonly type: "bool";
|
|
134
|
-
}];
|
|
135
|
-
readonly payable: false;
|
|
136
|
-
readonly stateMutability: "nonpayable";
|
|
137
|
-
readonly type: "function";
|
|
138
|
-
}, {
|
|
139
|
-
readonly constant: false;
|
|
140
|
-
readonly inputs: readonly [{
|
|
141
|
-
readonly name: "_to";
|
|
142
|
-
readonly type: "address";
|
|
143
|
-
}, {
|
|
144
|
-
readonly name: "_value";
|
|
145
124
|
readonly type: "uint256";
|
|
146
|
-
}, {
|
|
147
|
-
readonly name: "_data";
|
|
148
|
-
readonly type: "bytes";
|
|
149
|
-
}];
|
|
150
|
-
readonly name: "transferAndCall";
|
|
151
|
-
readonly outputs: readonly [{
|
|
152
|
-
readonly name: "";
|
|
153
|
-
readonly type: "bool";
|
|
154
125
|
}];
|
|
155
126
|
readonly payable: false;
|
|
156
|
-
readonly stateMutability: "
|
|
127
|
+
readonly stateMutability: "view";
|
|
157
128
|
readonly type: "function";
|
|
158
129
|
}, {
|
|
159
|
-
readonly constant:
|
|
160
|
-
readonly inputs: readonly [
|
|
161
|
-
|
|
162
|
-
readonly type: "address";
|
|
163
|
-
}, {
|
|
164
|
-
readonly name: "_amount";
|
|
165
|
-
readonly type: "uint256";
|
|
166
|
-
}];
|
|
167
|
-
readonly name: "mint";
|
|
130
|
+
readonly constant: true;
|
|
131
|
+
readonly inputs: readonly [];
|
|
132
|
+
readonly name: "maximumFee";
|
|
168
133
|
readonly outputs: readonly [{
|
|
169
134
|
readonly name: "";
|
|
170
|
-
readonly type: "bool";
|
|
171
|
-
}];
|
|
172
|
-
readonly payable: false;
|
|
173
|
-
readonly stateMutability: "nonpayable";
|
|
174
|
-
readonly type: "function";
|
|
175
|
-
}, {
|
|
176
|
-
readonly constant: false;
|
|
177
|
-
readonly inputs: readonly [{
|
|
178
|
-
readonly name: "_value";
|
|
179
135
|
readonly type: "uint256";
|
|
180
136
|
}];
|
|
181
|
-
readonly name: "burn";
|
|
182
|
-
readonly outputs: readonly [];
|
|
183
137
|
readonly payable: false;
|
|
184
|
-
readonly stateMutability: "
|
|
138
|
+
readonly stateMutability: "view";
|
|
185
139
|
readonly type: "function";
|
|
186
140
|
}, {
|
|
187
141
|
readonly constant: true;
|
|
188
142
|
readonly inputs: readonly [];
|
|
189
|
-
readonly name: "
|
|
143
|
+
readonly name: "_totalSupply";
|
|
190
144
|
readonly outputs: readonly [{
|
|
191
145
|
readonly name: "";
|
|
192
|
-
readonly type: "string";
|
|
193
|
-
}];
|
|
194
|
-
readonly payable: false;
|
|
195
|
-
readonly stateMutability: "view";
|
|
196
|
-
readonly type: "function";
|
|
197
|
-
}, {
|
|
198
|
-
readonly constant: false;
|
|
199
|
-
readonly inputs: readonly [{
|
|
200
|
-
readonly name: "_spender";
|
|
201
|
-
readonly type: "address";
|
|
202
|
-
}, {
|
|
203
|
-
readonly name: "_subtractedValue";
|
|
204
146
|
readonly type: "uint256";
|
|
205
147
|
}];
|
|
206
|
-
readonly name: "decreaseApproval";
|
|
207
|
-
readonly outputs: readonly [{
|
|
208
|
-
readonly name: "";
|
|
209
|
-
readonly type: "bool";
|
|
210
|
-
}];
|
|
211
148
|
readonly payable: false;
|
|
212
|
-
readonly stateMutability: "
|
|
149
|
+
readonly stateMutability: "view";
|
|
213
150
|
readonly type: "function";
|
|
214
151
|
}, {
|
|
215
152
|
readonly constant: false;
|
|
216
|
-
readonly inputs: readonly [
|
|
217
|
-
|
|
218
|
-
readonly type: "address";
|
|
219
|
-
}, {
|
|
220
|
-
readonly name: "_to";
|
|
221
|
-
readonly type: "address";
|
|
222
|
-
}];
|
|
223
|
-
readonly name: "claimTokens";
|
|
153
|
+
readonly inputs: readonly [];
|
|
154
|
+
readonly name: "unpause";
|
|
224
155
|
readonly outputs: readonly [];
|
|
225
156
|
readonly payable: false;
|
|
226
157
|
readonly stateMutability: "nonpayable";
|
|
@@ -228,57 +159,52 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
228
159
|
}, {
|
|
229
160
|
readonly constant: true;
|
|
230
161
|
readonly inputs: readonly [{
|
|
231
|
-
readonly name: "
|
|
162
|
+
readonly name: "_maker";
|
|
232
163
|
readonly type: "address";
|
|
233
164
|
}];
|
|
234
|
-
readonly name: "
|
|
165
|
+
readonly name: "getBlackListStatus";
|
|
235
166
|
readonly outputs: readonly [{
|
|
236
167
|
readonly name: "";
|
|
237
|
-
readonly type: "
|
|
168
|
+
readonly type: "bool";
|
|
238
169
|
}];
|
|
239
170
|
readonly payable: false;
|
|
240
171
|
readonly stateMutability: "view";
|
|
241
172
|
readonly type: "function";
|
|
242
|
-
}, {
|
|
243
|
-
readonly constant: false;
|
|
244
|
-
readonly inputs: readonly [];
|
|
245
|
-
readonly name: "renounceOwnership";
|
|
246
|
-
readonly outputs: readonly [];
|
|
247
|
-
readonly payable: false;
|
|
248
|
-
readonly stateMutability: "nonpayable";
|
|
249
|
-
readonly type: "function";
|
|
250
173
|
}, {
|
|
251
174
|
readonly constant: true;
|
|
252
175
|
readonly inputs: readonly [{
|
|
253
|
-
readonly name: "
|
|
176
|
+
readonly name: "";
|
|
177
|
+
readonly type: "address";
|
|
178
|
+
}, {
|
|
179
|
+
readonly name: "";
|
|
254
180
|
readonly type: "address";
|
|
255
181
|
}];
|
|
256
|
-
readonly name: "
|
|
182
|
+
readonly name: "allowed";
|
|
257
183
|
readonly outputs: readonly [{
|
|
258
184
|
readonly name: "";
|
|
259
|
-
readonly type: "
|
|
185
|
+
readonly type: "uint256";
|
|
260
186
|
}];
|
|
261
187
|
readonly payable: false;
|
|
262
188
|
readonly stateMutability: "view";
|
|
263
189
|
readonly type: "function";
|
|
264
190
|
}, {
|
|
265
|
-
readonly constant:
|
|
191
|
+
readonly constant: true;
|
|
266
192
|
readonly inputs: readonly [];
|
|
267
|
-
readonly name: "
|
|
193
|
+
readonly name: "paused";
|
|
268
194
|
readonly outputs: readonly [{
|
|
269
195
|
readonly name: "";
|
|
270
196
|
readonly type: "bool";
|
|
271
197
|
}];
|
|
272
198
|
readonly payable: false;
|
|
273
|
-
readonly stateMutability: "
|
|
199
|
+
readonly stateMutability: "view";
|
|
274
200
|
readonly type: "function";
|
|
275
201
|
}, {
|
|
276
202
|
readonly constant: true;
|
|
277
203
|
readonly inputs: readonly [{
|
|
278
|
-
readonly name: "";
|
|
204
|
+
readonly name: "who";
|
|
279
205
|
readonly type: "address";
|
|
280
206
|
}];
|
|
281
|
-
readonly name: "
|
|
207
|
+
readonly name: "balanceOf";
|
|
282
208
|
readonly outputs: readonly [{
|
|
283
209
|
readonly name: "";
|
|
284
210
|
readonly type: "uint256";
|
|
@@ -287,26 +213,17 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
287
213
|
readonly stateMutability: "view";
|
|
288
214
|
readonly type: "function";
|
|
289
215
|
}, {
|
|
290
|
-
readonly constant:
|
|
216
|
+
readonly constant: false;
|
|
291
217
|
readonly inputs: readonly [];
|
|
292
|
-
readonly name: "
|
|
293
|
-
readonly outputs: readonly [
|
|
294
|
-
readonly name: "major";
|
|
295
|
-
readonly type: "uint64";
|
|
296
|
-
}, {
|
|
297
|
-
readonly name: "minor";
|
|
298
|
-
readonly type: "uint64";
|
|
299
|
-
}, {
|
|
300
|
-
readonly name: "patch";
|
|
301
|
-
readonly type: "uint64";
|
|
302
|
-
}];
|
|
218
|
+
readonly name: "pause";
|
|
219
|
+
readonly outputs: readonly [];
|
|
303
220
|
readonly payable: false;
|
|
304
|
-
readonly stateMutability: "
|
|
221
|
+
readonly stateMutability: "nonpayable";
|
|
305
222
|
readonly type: "function";
|
|
306
223
|
}, {
|
|
307
224
|
readonly constant: true;
|
|
308
225
|
readonly inputs: readonly [];
|
|
309
|
-
readonly name: "
|
|
226
|
+
readonly name: "getOwner";
|
|
310
227
|
readonly outputs: readonly [{
|
|
311
228
|
readonly name: "";
|
|
312
229
|
readonly type: "address";
|
|
@@ -315,36 +232,15 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
315
232
|
readonly stateMutability: "view";
|
|
316
233
|
readonly type: "function";
|
|
317
234
|
}, {
|
|
318
|
-
readonly constant:
|
|
319
|
-
readonly inputs: readonly [
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
readonly name: "_spender";
|
|
235
|
+
readonly constant: true;
|
|
236
|
+
readonly inputs: readonly [];
|
|
237
|
+
readonly name: "owner";
|
|
238
|
+
readonly outputs: readonly [{
|
|
239
|
+
readonly name: "";
|
|
324
240
|
readonly type: "address";
|
|
325
|
-
}, {
|
|
326
|
-
readonly name: "_nonce";
|
|
327
|
-
readonly type: "uint256";
|
|
328
|
-
}, {
|
|
329
|
-
readonly name: "_expiry";
|
|
330
|
-
readonly type: "uint256";
|
|
331
|
-
}, {
|
|
332
|
-
readonly name: "_allowed";
|
|
333
|
-
readonly type: "bool";
|
|
334
|
-
}, {
|
|
335
|
-
readonly name: "_v";
|
|
336
|
-
readonly type: "uint8";
|
|
337
|
-
}, {
|
|
338
|
-
readonly name: "_r";
|
|
339
|
-
readonly type: "bytes32";
|
|
340
|
-
}, {
|
|
341
|
-
readonly name: "_s";
|
|
342
|
-
readonly type: "bytes32";
|
|
343
241
|
}];
|
|
344
|
-
readonly name: "permit";
|
|
345
|
-
readonly outputs: readonly [];
|
|
346
242
|
readonly payable: false;
|
|
347
|
-
readonly stateMutability: "
|
|
243
|
+
readonly stateMutability: "view";
|
|
348
244
|
readonly type: "function";
|
|
349
245
|
}, {
|
|
350
246
|
readonly constant: true;
|
|
@@ -360,47 +256,38 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
360
256
|
}, {
|
|
361
257
|
readonly constant: false;
|
|
362
258
|
readonly inputs: readonly [{
|
|
363
|
-
readonly name: "
|
|
259
|
+
readonly name: "_to";
|
|
364
260
|
readonly type: "address";
|
|
365
261
|
}, {
|
|
366
|
-
readonly name: "
|
|
262
|
+
readonly name: "_value";
|
|
367
263
|
readonly type: "uint256";
|
|
368
264
|
}];
|
|
369
|
-
readonly name: "
|
|
370
|
-
readonly outputs: readonly [
|
|
371
|
-
readonly name: "";
|
|
372
|
-
readonly type: "bool";
|
|
373
|
-
}];
|
|
265
|
+
readonly name: "transfer";
|
|
266
|
+
readonly outputs: readonly [];
|
|
374
267
|
readonly payable: false;
|
|
375
268
|
readonly stateMutability: "nonpayable";
|
|
376
269
|
readonly type: "function";
|
|
377
270
|
}, {
|
|
378
271
|
readonly constant: false;
|
|
379
272
|
readonly inputs: readonly [{
|
|
380
|
-
readonly name: "
|
|
381
|
-
readonly type: "
|
|
273
|
+
readonly name: "newBasisPoints";
|
|
274
|
+
readonly type: "uint256";
|
|
382
275
|
}, {
|
|
383
|
-
readonly name: "
|
|
276
|
+
readonly name: "newMaxFee";
|
|
384
277
|
readonly type: "uint256";
|
|
385
278
|
}];
|
|
386
|
-
readonly name: "
|
|
387
|
-
readonly outputs: readonly [
|
|
388
|
-
readonly name: "";
|
|
389
|
-
readonly type: "bool";
|
|
390
|
-
}];
|
|
279
|
+
readonly name: "setParams";
|
|
280
|
+
readonly outputs: readonly [];
|
|
391
281
|
readonly payable: false;
|
|
392
282
|
readonly stateMutability: "nonpayable";
|
|
393
283
|
readonly type: "function";
|
|
394
284
|
}, {
|
|
395
285
|
readonly constant: false;
|
|
396
286
|
readonly inputs: readonly [{
|
|
397
|
-
readonly name: "
|
|
398
|
-
readonly type: "address";
|
|
399
|
-
}, {
|
|
400
|
-
readonly name: "_amount";
|
|
287
|
+
readonly name: "amount";
|
|
401
288
|
readonly type: "uint256";
|
|
402
289
|
}];
|
|
403
|
-
readonly name: "
|
|
290
|
+
readonly name: "issue";
|
|
404
291
|
readonly outputs: readonly [];
|
|
405
292
|
readonly payable: false;
|
|
406
293
|
readonly stateMutability: "nonpayable";
|
|
@@ -408,27 +295,27 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
408
295
|
}, {
|
|
409
296
|
readonly constant: false;
|
|
410
297
|
readonly inputs: readonly [{
|
|
411
|
-
readonly name: "
|
|
412
|
-
readonly type: "address";
|
|
413
|
-
}, {
|
|
414
|
-
readonly name: "_to";
|
|
415
|
-
readonly type: "address";
|
|
416
|
-
}, {
|
|
417
|
-
readonly name: "_amount";
|
|
298
|
+
readonly name: "amount";
|
|
418
299
|
readonly type: "uint256";
|
|
419
300
|
}];
|
|
420
|
-
readonly name: "
|
|
301
|
+
readonly name: "redeem";
|
|
421
302
|
readonly outputs: readonly [];
|
|
422
303
|
readonly payable: false;
|
|
423
304
|
readonly stateMutability: "nonpayable";
|
|
424
305
|
readonly type: "function";
|
|
425
306
|
}, {
|
|
426
307
|
readonly constant: true;
|
|
427
|
-
readonly inputs: readonly [
|
|
428
|
-
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly name: "_owner";
|
|
310
|
+
readonly type: "address";
|
|
311
|
+
}, {
|
|
312
|
+
readonly name: "_spender";
|
|
313
|
+
readonly type: "address";
|
|
314
|
+
}];
|
|
315
|
+
readonly name: "allowance";
|
|
429
316
|
readonly outputs: readonly [{
|
|
430
|
-
readonly name: "";
|
|
431
|
-
readonly type: "
|
|
317
|
+
readonly name: "remaining";
|
|
318
|
+
readonly type: "uint256";
|
|
432
319
|
}];
|
|
433
320
|
readonly payable: false;
|
|
434
321
|
readonly stateMutability: "view";
|
|
@@ -436,70 +323,43 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
436
323
|
}, {
|
|
437
324
|
readonly constant: true;
|
|
438
325
|
readonly inputs: readonly [];
|
|
439
|
-
readonly name: "
|
|
326
|
+
readonly name: "basisPointsRate";
|
|
440
327
|
readonly outputs: readonly [{
|
|
441
328
|
readonly name: "";
|
|
442
|
-
readonly type: "
|
|
329
|
+
readonly type: "uint256";
|
|
443
330
|
}];
|
|
444
331
|
readonly payable: false;
|
|
445
332
|
readonly stateMutability: "view";
|
|
446
333
|
readonly type: "function";
|
|
447
334
|
}, {
|
|
448
|
-
readonly constant:
|
|
335
|
+
readonly constant: true;
|
|
449
336
|
readonly inputs: readonly [{
|
|
450
|
-
readonly name: "
|
|
451
|
-
readonly type: "address";
|
|
452
|
-
}, {
|
|
453
|
-
readonly name: "_spender";
|
|
337
|
+
readonly name: "";
|
|
454
338
|
readonly type: "address";
|
|
455
|
-
}, {
|
|
456
|
-
readonly name: "_value";
|
|
457
|
-
readonly type: "uint256";
|
|
458
|
-
}, {
|
|
459
|
-
readonly name: "_deadline";
|
|
460
|
-
readonly type: "uint256";
|
|
461
|
-
}, {
|
|
462
|
-
readonly name: "_v";
|
|
463
|
-
readonly type: "uint8";
|
|
464
|
-
}, {
|
|
465
|
-
readonly name: "_r";
|
|
466
|
-
readonly type: "bytes32";
|
|
467
|
-
}, {
|
|
468
|
-
readonly name: "_s";
|
|
469
|
-
readonly type: "bytes32";
|
|
470
339
|
}];
|
|
471
|
-
readonly name: "
|
|
472
|
-
readonly outputs: readonly [
|
|
340
|
+
readonly name: "isBlackListed";
|
|
341
|
+
readonly outputs: readonly [{
|
|
342
|
+
readonly name: "";
|
|
343
|
+
readonly type: "bool";
|
|
344
|
+
}];
|
|
473
345
|
readonly payable: false;
|
|
474
|
-
readonly stateMutability: "
|
|
346
|
+
readonly stateMutability: "view";
|
|
475
347
|
readonly type: "function";
|
|
476
348
|
}, {
|
|
477
349
|
readonly constant: false;
|
|
478
350
|
readonly inputs: readonly [{
|
|
479
|
-
readonly name: "
|
|
351
|
+
readonly name: "_clearedUser";
|
|
480
352
|
readonly type: "address";
|
|
481
|
-
}, {
|
|
482
|
-
readonly name: "_addedValue";
|
|
483
|
-
readonly type: "uint256";
|
|
484
|
-
}];
|
|
485
|
-
readonly name: "increaseApproval";
|
|
486
|
-
readonly outputs: readonly [{
|
|
487
|
-
readonly name: "";
|
|
488
|
-
readonly type: "bool";
|
|
489
353
|
}];
|
|
354
|
+
readonly name: "removeBlackList";
|
|
355
|
+
readonly outputs: readonly [];
|
|
490
356
|
readonly payable: false;
|
|
491
357
|
readonly stateMutability: "nonpayable";
|
|
492
358
|
readonly type: "function";
|
|
493
359
|
}, {
|
|
494
360
|
readonly constant: true;
|
|
495
|
-
readonly inputs: readonly [
|
|
496
|
-
|
|
497
|
-
readonly type: "address";
|
|
498
|
-
}, {
|
|
499
|
-
readonly name: "_spender";
|
|
500
|
-
readonly type: "address";
|
|
501
|
-
}];
|
|
502
|
-
readonly name: "allowance";
|
|
361
|
+
readonly inputs: readonly [];
|
|
362
|
+
readonly name: "MAX_UINT";
|
|
503
363
|
readonly outputs: readonly [{
|
|
504
364
|
readonly name: "";
|
|
505
365
|
readonly type: "uint256";
|
|
@@ -510,13 +370,10 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
510
370
|
}, {
|
|
511
371
|
readonly constant: false;
|
|
512
372
|
readonly inputs: readonly [{
|
|
513
|
-
readonly name: "
|
|
373
|
+
readonly name: "newOwner";
|
|
514
374
|
readonly type: "address";
|
|
515
|
-
}, {
|
|
516
|
-
readonly name: "_amount";
|
|
517
|
-
readonly type: "uint256";
|
|
518
375
|
}];
|
|
519
|
-
readonly name: "
|
|
376
|
+
readonly name: "transferOwnership";
|
|
520
377
|
readonly outputs: readonly [];
|
|
521
378
|
readonly payable: false;
|
|
522
379
|
readonly stateMutability: "nonpayable";
|
|
@@ -524,33 +381,19 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
524
381
|
}, {
|
|
525
382
|
readonly constant: false;
|
|
526
383
|
readonly inputs: readonly [{
|
|
527
|
-
readonly name: "
|
|
384
|
+
readonly name: "_blackListedUser";
|
|
528
385
|
readonly type: "address";
|
|
529
386
|
}];
|
|
530
|
-
readonly name: "
|
|
387
|
+
readonly name: "destroyBlackFunds";
|
|
531
388
|
readonly outputs: readonly [];
|
|
532
389
|
readonly payable: false;
|
|
533
390
|
readonly stateMutability: "nonpayable";
|
|
534
391
|
readonly type: "function";
|
|
535
392
|
}, {
|
|
536
|
-
readonly constant: true;
|
|
537
393
|
readonly inputs: readonly [{
|
|
538
|
-
readonly name: "";
|
|
539
|
-
readonly type: "address";
|
|
540
|
-
}, {
|
|
541
|
-
readonly name: "";
|
|
542
|
-
readonly type: "address";
|
|
543
|
-
}];
|
|
544
|
-
readonly name: "expirations";
|
|
545
|
-
readonly outputs: readonly [{
|
|
546
|
-
readonly name: "";
|
|
394
|
+
readonly name: "_initialSupply";
|
|
547
395
|
readonly type: "uint256";
|
|
548
|
-
}
|
|
549
|
-
readonly payable: false;
|
|
550
|
-
readonly stateMutability: "view";
|
|
551
|
-
readonly type: "function";
|
|
552
|
-
}, {
|
|
553
|
-
readonly inputs: readonly [{
|
|
396
|
+
}, {
|
|
554
397
|
readonly name: "_name";
|
|
555
398
|
readonly type: "string";
|
|
556
399
|
}, {
|
|
@@ -558,9 +401,6 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
558
401
|
readonly type: "string";
|
|
559
402
|
}, {
|
|
560
403
|
readonly name: "_decimals";
|
|
561
|
-
readonly type: "uint8";
|
|
562
|
-
}, {
|
|
563
|
-
readonly name: "_chainId";
|
|
564
404
|
readonly type: "uint256";
|
|
565
405
|
}];
|
|
566
406
|
readonly payable: false;
|
|
@@ -569,76 +409,73 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
569
409
|
}, {
|
|
570
410
|
readonly anonymous: false;
|
|
571
411
|
readonly inputs: readonly [{
|
|
572
|
-
readonly indexed: true;
|
|
573
|
-
readonly name: "to";
|
|
574
|
-
readonly type: "address";
|
|
575
|
-
}, {
|
|
576
412
|
readonly indexed: false;
|
|
577
413
|
readonly name: "amount";
|
|
578
414
|
readonly type: "uint256";
|
|
579
415
|
}];
|
|
580
|
-
readonly name: "
|
|
416
|
+
readonly name: "Issue";
|
|
581
417
|
readonly type: "event";
|
|
582
418
|
}, {
|
|
583
419
|
readonly anonymous: false;
|
|
584
|
-
readonly inputs: readonly [
|
|
585
|
-
|
|
420
|
+
readonly inputs: readonly [{
|
|
421
|
+
readonly indexed: false;
|
|
422
|
+
readonly name: "amount";
|
|
423
|
+
readonly type: "uint256";
|
|
424
|
+
}];
|
|
425
|
+
readonly name: "Redeem";
|
|
586
426
|
readonly type: "event";
|
|
587
427
|
}, {
|
|
588
428
|
readonly anonymous: false;
|
|
589
429
|
readonly inputs: readonly [{
|
|
590
|
-
readonly indexed:
|
|
591
|
-
readonly name: "
|
|
430
|
+
readonly indexed: false;
|
|
431
|
+
readonly name: "newAddress";
|
|
592
432
|
readonly type: "address";
|
|
593
433
|
}];
|
|
594
|
-
readonly name: "
|
|
434
|
+
readonly name: "Deprecate";
|
|
595
435
|
readonly type: "event";
|
|
596
436
|
}, {
|
|
597
437
|
readonly anonymous: false;
|
|
598
438
|
readonly inputs: readonly [{
|
|
599
|
-
readonly indexed:
|
|
600
|
-
readonly name: "
|
|
601
|
-
readonly type: "
|
|
439
|
+
readonly indexed: false;
|
|
440
|
+
readonly name: "feeBasisPoints";
|
|
441
|
+
readonly type: "uint256";
|
|
602
442
|
}, {
|
|
603
|
-
readonly indexed:
|
|
604
|
-
readonly name: "
|
|
605
|
-
readonly type: "
|
|
443
|
+
readonly indexed: false;
|
|
444
|
+
readonly name: "maxFee";
|
|
445
|
+
readonly type: "uint256";
|
|
606
446
|
}];
|
|
607
|
-
readonly name: "
|
|
447
|
+
readonly name: "Params";
|
|
608
448
|
readonly type: "event";
|
|
609
449
|
}, {
|
|
610
450
|
readonly anonymous: false;
|
|
611
451
|
readonly inputs: readonly [{
|
|
612
|
-
readonly indexed:
|
|
613
|
-
readonly name: "
|
|
452
|
+
readonly indexed: false;
|
|
453
|
+
readonly name: "_blackListedUser";
|
|
614
454
|
readonly type: "address";
|
|
615
455
|
}, {
|
|
616
456
|
readonly indexed: false;
|
|
617
|
-
readonly name: "
|
|
457
|
+
readonly name: "_balance";
|
|
618
458
|
readonly type: "uint256";
|
|
619
459
|
}];
|
|
620
|
-
readonly name: "
|
|
460
|
+
readonly name: "DestroyedBlackFunds";
|
|
621
461
|
readonly type: "event";
|
|
622
462
|
}, {
|
|
623
463
|
readonly anonymous: false;
|
|
624
464
|
readonly inputs: readonly [{
|
|
625
|
-
readonly indexed: true;
|
|
626
|
-
readonly name: "from";
|
|
627
|
-
readonly type: "address";
|
|
628
|
-
}, {
|
|
629
|
-
readonly indexed: true;
|
|
630
|
-
readonly name: "to";
|
|
631
|
-
readonly type: "address";
|
|
632
|
-
}, {
|
|
633
465
|
readonly indexed: false;
|
|
634
|
-
readonly name: "
|
|
635
|
-
readonly type: "
|
|
636
|
-
}
|
|
466
|
+
readonly name: "_user";
|
|
467
|
+
readonly type: "address";
|
|
468
|
+
}];
|
|
469
|
+
readonly name: "AddedBlackList";
|
|
470
|
+
readonly type: "event";
|
|
471
|
+
}, {
|
|
472
|
+
readonly anonymous: false;
|
|
473
|
+
readonly inputs: readonly [{
|
|
637
474
|
readonly indexed: false;
|
|
638
|
-
readonly name: "
|
|
639
|
-
readonly type: "
|
|
475
|
+
readonly name: "_user";
|
|
476
|
+
readonly type: "address";
|
|
640
477
|
}];
|
|
641
|
-
readonly name: "
|
|
478
|
+
readonly name: "RemovedBlackList";
|
|
642
479
|
readonly type: "event";
|
|
643
480
|
}, {
|
|
644
481
|
readonly anonymous: false;
|
|
@@ -674,17 +511,27 @@ export declare const PermittableToken_jsonAbi: readonly [{
|
|
|
674
511
|
}];
|
|
675
512
|
readonly name: "Transfer";
|
|
676
513
|
readonly type: "event";
|
|
514
|
+
}, {
|
|
515
|
+
readonly anonymous: false;
|
|
516
|
+
readonly inputs: readonly [];
|
|
517
|
+
readonly name: "Pause";
|
|
518
|
+
readonly type: "event";
|
|
519
|
+
}, {
|
|
520
|
+
readonly anonymous: false;
|
|
521
|
+
readonly inputs: readonly [];
|
|
522
|
+
readonly name: "Unpause";
|
|
523
|
+
readonly type: "event";
|
|
677
524
|
}];
|
|
678
525
|
/**
|
|
679
|
-
* Type-safe ABI for
|
|
526
|
+
* Type-safe ABI for TetherToken_json
|
|
680
527
|
*/
|
|
681
|
-
export type
|
|
528
|
+
export type TetherToken_jsonAbi = typeof TetherToken_jsonAbi;
|
|
682
529
|
/**
|
|
683
|
-
* Contract instance type for
|
|
530
|
+
* Contract instance type for TetherToken_json
|
|
684
531
|
*/
|
|
685
|
-
export type
|
|
532
|
+
export type TetherToken_jsonContract = any;
|
|
686
533
|
/**
|
|
687
|
-
*
|
|
534
|
+
* TetherToken_json Contract Class
|
|
688
535
|
*
|
|
689
536
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
690
537
|
*
|
|
@@ -692,12 +539,12 @@ export type PermittableToken_jsonContract = any;
|
|
|
692
539
|
* ```typescript
|
|
693
540
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
694
541
|
* import { mainnet } from 'viem/chains';
|
|
695
|
-
* import {
|
|
542
|
+
* import { TetherToken_json } from 'TetherToken_json';
|
|
696
543
|
*
|
|
697
544
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
698
545
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
699
546
|
*
|
|
700
|
-
* const contract = new
|
|
547
|
+
* const contract = new TetherToken_json('0x...', { publicClient, walletClient });
|
|
701
548
|
*
|
|
702
549
|
* // Read functions
|
|
703
550
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -715,7 +562,7 @@ export type PermittableToken_jsonContract = any;
|
|
|
715
562
|
* });
|
|
716
563
|
* ```
|
|
717
564
|
*/
|
|
718
|
-
export declare class
|
|
565
|
+
export declare class TetherToken_json {
|
|
719
566
|
private contract;
|
|
720
567
|
private contractAddress;
|
|
721
568
|
private publicClient;
|
|
@@ -730,183 +577,108 @@ export declare class PermittableToken_json {
|
|
|
730
577
|
/**
|
|
731
578
|
* Get the underlying viem contract instance
|
|
732
579
|
*/
|
|
733
|
-
getContract():
|
|
734
|
-
/**
|
|
735
|
-
* mintingFinished
|
|
736
|
-
* view
|
|
737
|
-
*/
|
|
738
|
-
mintingFinished(): Promise<boolean>;
|
|
580
|
+
getContract(): TetherToken_jsonContract;
|
|
739
581
|
/**
|
|
740
582
|
* name
|
|
741
583
|
* view
|
|
742
584
|
*/
|
|
743
585
|
name(): Promise<string>;
|
|
586
|
+
/**
|
|
587
|
+
* deprecated
|
|
588
|
+
* view
|
|
589
|
+
*/
|
|
590
|
+
deprecated(): Promise<boolean>;
|
|
744
591
|
/**
|
|
745
592
|
* totalSupply
|
|
746
593
|
* view
|
|
747
594
|
*/
|
|
748
595
|
totalSupply(): Promise<bigint>;
|
|
749
596
|
/**
|
|
750
|
-
*
|
|
597
|
+
* upgradedAddress
|
|
751
598
|
* view
|
|
752
599
|
*/
|
|
753
|
-
|
|
600
|
+
upgradedAddress(): Promise<`0x${string}`>;
|
|
754
601
|
/**
|
|
755
|
-
*
|
|
602
|
+
* balances
|
|
756
603
|
* view
|
|
757
604
|
*/
|
|
758
|
-
|
|
605
|
+
balances(arg0: `0x${string}`): Promise<bigint>;
|
|
759
606
|
/**
|
|
760
|
-
*
|
|
607
|
+
* decimals
|
|
761
608
|
* view
|
|
762
609
|
*/
|
|
763
|
-
|
|
610
|
+
decimals(): Promise<bigint>;
|
|
764
611
|
/**
|
|
765
|
-
*
|
|
612
|
+
* maximumFee
|
|
766
613
|
* view
|
|
767
614
|
*/
|
|
768
|
-
|
|
615
|
+
maximumFee(): Promise<bigint>;
|
|
769
616
|
/**
|
|
770
|
-
*
|
|
617
|
+
* _totalSupply
|
|
771
618
|
* view
|
|
772
619
|
*/
|
|
773
|
-
|
|
620
|
+
_totalSupply(): Promise<bigint>;
|
|
774
621
|
/**
|
|
775
|
-
*
|
|
622
|
+
* getBlackListStatus
|
|
776
623
|
* view
|
|
777
624
|
*/
|
|
778
|
-
|
|
625
|
+
getBlackListStatus(_maker: `0x${string}`): Promise<boolean>;
|
|
779
626
|
/**
|
|
780
|
-
*
|
|
627
|
+
* allowed
|
|
781
628
|
* view
|
|
782
629
|
*/
|
|
783
|
-
|
|
630
|
+
allowed(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
|
|
784
631
|
/**
|
|
785
|
-
*
|
|
786
|
-
*
|
|
632
|
+
* paused
|
|
633
|
+
* view
|
|
787
634
|
*/
|
|
788
|
-
|
|
635
|
+
paused(): Promise<boolean>;
|
|
789
636
|
/**
|
|
790
|
-
*
|
|
637
|
+
* balanceOf
|
|
791
638
|
* view
|
|
792
639
|
*/
|
|
793
|
-
|
|
640
|
+
balanceOf(who: `0x${string}`): Promise<bigint>;
|
|
794
641
|
/**
|
|
795
|
-
*
|
|
642
|
+
* getOwner
|
|
796
643
|
* view
|
|
797
644
|
*/
|
|
798
|
-
|
|
645
|
+
getOwner(): Promise<`0x${string}`>;
|
|
799
646
|
/**
|
|
800
|
-
*
|
|
647
|
+
* owner
|
|
801
648
|
* view
|
|
802
649
|
*/
|
|
803
|
-
|
|
650
|
+
owner(): Promise<`0x${string}`>;
|
|
804
651
|
/**
|
|
805
|
-
*
|
|
652
|
+
* symbol
|
|
806
653
|
* view
|
|
807
654
|
*/
|
|
808
|
-
|
|
655
|
+
symbol(): Promise<string>;
|
|
809
656
|
/**
|
|
810
657
|
* allowance
|
|
811
658
|
* view
|
|
812
659
|
*/
|
|
813
660
|
allowance(_owner: `0x${string}`, _spender: `0x${string}`): Promise<bigint>;
|
|
814
661
|
/**
|
|
815
|
-
*
|
|
662
|
+
* basisPointsRate
|
|
816
663
|
* view
|
|
817
664
|
*/
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* approve
|
|
821
|
-
* nonpayable
|
|
822
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
823
|
-
*/
|
|
824
|
-
approve(_to: `0x${string}`, _value: bigint, options?: {
|
|
825
|
-
accessList?: import('viem').AccessList;
|
|
826
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
827
|
-
chain?: import('viem').Chain | null;
|
|
828
|
-
dataSuffix?: `0x${string}`;
|
|
829
|
-
gas?: bigint;
|
|
830
|
-
gasPrice?: bigint;
|
|
831
|
-
maxFeePerGas?: bigint;
|
|
832
|
-
maxPriorityFeePerGas?: bigint;
|
|
833
|
-
nonce?: number;
|
|
834
|
-
value?: bigint;
|
|
835
|
-
}): Promise<`0x${string}`>;
|
|
836
|
-
/**
|
|
837
|
-
* setBridgeContract
|
|
838
|
-
* nonpayable
|
|
839
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
840
|
-
*/
|
|
841
|
-
setBridgeContract(_bridgeContract: `0x${string}`, options?: {
|
|
842
|
-
accessList?: import('viem').AccessList;
|
|
843
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
844
|
-
chain?: import('viem').Chain | null;
|
|
845
|
-
dataSuffix?: `0x${string}`;
|
|
846
|
-
gas?: bigint;
|
|
847
|
-
gasPrice?: bigint;
|
|
848
|
-
maxFeePerGas?: bigint;
|
|
849
|
-
maxPriorityFeePerGas?: bigint;
|
|
850
|
-
nonce?: number;
|
|
851
|
-
value?: bigint;
|
|
852
|
-
}): Promise<`0x${string}`>;
|
|
853
|
-
/**
|
|
854
|
-
* transferFrom
|
|
855
|
-
* nonpayable
|
|
856
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
857
|
-
*/
|
|
858
|
-
transferFrom(_sender: `0x${string}`, _recipient: `0x${string}`, _amount: bigint, options?: {
|
|
859
|
-
accessList?: import('viem').AccessList;
|
|
860
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
861
|
-
chain?: import('viem').Chain | null;
|
|
862
|
-
dataSuffix?: `0x${string}`;
|
|
863
|
-
gas?: bigint;
|
|
864
|
-
gasPrice?: bigint;
|
|
865
|
-
maxFeePerGas?: bigint;
|
|
866
|
-
maxPriorityFeePerGas?: bigint;
|
|
867
|
-
nonce?: number;
|
|
868
|
-
value?: bigint;
|
|
869
|
-
}): Promise<`0x${string}`>;
|
|
665
|
+
basisPointsRate(): Promise<bigint>;
|
|
870
666
|
/**
|
|
871
|
-
*
|
|
872
|
-
*
|
|
873
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
667
|
+
* isBlackListed
|
|
668
|
+
* view
|
|
874
669
|
*/
|
|
875
|
-
|
|
876
|
-
accessList?: import('viem').AccessList;
|
|
877
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
878
|
-
chain?: import('viem').Chain | null;
|
|
879
|
-
dataSuffix?: `0x${string}`;
|
|
880
|
-
gas?: bigint;
|
|
881
|
-
gasPrice?: bigint;
|
|
882
|
-
maxFeePerGas?: bigint;
|
|
883
|
-
maxPriorityFeePerGas?: bigint;
|
|
884
|
-
nonce?: number;
|
|
885
|
-
value?: bigint;
|
|
886
|
-
}): Promise<`0x${string}`>;
|
|
670
|
+
isBlackListed(arg0: `0x${string}`): Promise<boolean>;
|
|
887
671
|
/**
|
|
888
|
-
*
|
|
889
|
-
*
|
|
890
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
672
|
+
* MAX_UINT
|
|
673
|
+
* view
|
|
891
674
|
*/
|
|
892
|
-
|
|
893
|
-
accessList?: import('viem').AccessList;
|
|
894
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
895
|
-
chain?: import('viem').Chain | null;
|
|
896
|
-
dataSuffix?: `0x${string}`;
|
|
897
|
-
gas?: bigint;
|
|
898
|
-
gasPrice?: bigint;
|
|
899
|
-
maxFeePerGas?: bigint;
|
|
900
|
-
maxPriorityFeePerGas?: bigint;
|
|
901
|
-
nonce?: number;
|
|
902
|
-
value?: bigint;
|
|
903
|
-
}): Promise<`0x${string}`>;
|
|
675
|
+
MAX_UINT(): Promise<bigint>;
|
|
904
676
|
/**
|
|
905
|
-
*
|
|
677
|
+
* deprecate
|
|
906
678
|
* nonpayable
|
|
907
679
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
908
680
|
*/
|
|
909
|
-
|
|
681
|
+
deprecate(_upgradedAddress: `0x${string}`, options?: {
|
|
910
682
|
accessList?: import('viem').AccessList;
|
|
911
683
|
authorizationList?: import('viem').AuthorizationList;
|
|
912
684
|
chain?: import('viem').Chain | null;
|
|
@@ -919,11 +691,11 @@ export declare class PermittableToken_json {
|
|
|
919
691
|
value?: bigint;
|
|
920
692
|
}): Promise<`0x${string}`>;
|
|
921
693
|
/**
|
|
922
|
-
*
|
|
694
|
+
* approve
|
|
923
695
|
* nonpayable
|
|
924
696
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
925
697
|
*/
|
|
926
|
-
|
|
698
|
+
approve(_spender: `0x${string}`, _value: bigint, options?: {
|
|
927
699
|
accessList?: import('viem').AccessList;
|
|
928
700
|
authorizationList?: import('viem').AuthorizationList;
|
|
929
701
|
chain?: import('viem').Chain | null;
|
|
@@ -936,11 +708,11 @@ export declare class PermittableToken_json {
|
|
|
936
708
|
value?: bigint;
|
|
937
709
|
}): Promise<`0x${string}`>;
|
|
938
710
|
/**
|
|
939
|
-
*
|
|
711
|
+
* addBlackList
|
|
940
712
|
* nonpayable
|
|
941
713
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
942
714
|
*/
|
|
943
|
-
|
|
715
|
+
addBlackList(_evilUser: `0x${string}`, options?: {
|
|
944
716
|
accessList?: import('viem').AccessList;
|
|
945
717
|
authorizationList?: import('viem').AuthorizationList;
|
|
946
718
|
chain?: import('viem').Chain | null;
|
|
@@ -953,11 +725,11 @@ export declare class PermittableToken_json {
|
|
|
953
725
|
value?: bigint;
|
|
954
726
|
}): Promise<`0x${string}`>;
|
|
955
727
|
/**
|
|
956
|
-
*
|
|
728
|
+
* transferFrom
|
|
957
729
|
* nonpayable
|
|
958
730
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
959
731
|
*/
|
|
960
|
-
|
|
732
|
+
transferFrom(_from: `0x${string}`, _to: `0x${string}`, _value: bigint, options?: {
|
|
961
733
|
accessList?: import('viem').AccessList;
|
|
962
734
|
authorizationList?: import('viem').AuthorizationList;
|
|
963
735
|
chain?: import('viem').Chain | null;
|
|
@@ -970,11 +742,11 @@ export declare class PermittableToken_json {
|
|
|
970
742
|
value?: bigint;
|
|
971
743
|
}): Promise<`0x${string}`>;
|
|
972
744
|
/**
|
|
973
|
-
*
|
|
745
|
+
* unpause
|
|
974
746
|
* nonpayable
|
|
975
747
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
976
748
|
*/
|
|
977
|
-
|
|
749
|
+
unpause(options?: {
|
|
978
750
|
accessList?: import('viem').AccessList;
|
|
979
751
|
authorizationList?: import('viem').AuthorizationList;
|
|
980
752
|
chain?: import('viem').Chain | null;
|
|
@@ -987,35 +759,11 @@ export declare class PermittableToken_json {
|
|
|
987
759
|
value?: bigint;
|
|
988
760
|
}): Promise<`0x${string}`>;
|
|
989
761
|
/**
|
|
990
|
-
*
|
|
762
|
+
* pause
|
|
991
763
|
* nonpayable
|
|
992
764
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
993
765
|
*/
|
|
994
|
-
|
|
995
|
-
accessList?: import('viem').AccessList;
|
|
996
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
997
|
-
chain?: import('viem').Chain | null;
|
|
998
|
-
dataSuffix?: `0x${string}`;
|
|
999
|
-
gas?: bigint;
|
|
1000
|
-
gasPrice?: bigint;
|
|
1001
|
-
maxFeePerGas?: bigint;
|
|
1002
|
-
maxPriorityFeePerGas?: bigint;
|
|
1003
|
-
nonce?: number;
|
|
1004
|
-
value?: bigint;
|
|
1005
|
-
}): Promise<`0x${string}`>;
|
|
1006
|
-
permit(_holder: `0x${string}`, _spender: `0x${string}`, _nonce: bigint, _expiry: bigint, _allowed: boolean, _v: bigint, _r: `0x${string}`, _s: `0x${string}`, options?: {
|
|
1007
|
-
accessList?: import('viem').AccessList;
|
|
1008
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1009
|
-
chain?: import('viem').Chain | null;
|
|
1010
|
-
dataSuffix?: `0x${string}`;
|
|
1011
|
-
gas?: bigint;
|
|
1012
|
-
gasPrice?: bigint;
|
|
1013
|
-
maxFeePerGas?: bigint;
|
|
1014
|
-
maxPriorityFeePerGas?: bigint;
|
|
1015
|
-
nonce?: number;
|
|
1016
|
-
value?: bigint;
|
|
1017
|
-
}): Promise<`0x${string}`>;
|
|
1018
|
-
permit(_holder: `0x${string}`, _spender: `0x${string}`, _value: bigint, _deadline: bigint, _v: bigint, _r: `0x${string}`, _s: `0x${string}`, options?: {
|
|
766
|
+
pause(options?: {
|
|
1019
767
|
accessList?: import('viem').AccessList;
|
|
1020
768
|
authorizationList?: import('viem').AuthorizationList;
|
|
1021
769
|
chain?: import('viem').Chain | null;
|
|
@@ -1028,11 +776,11 @@ export declare class PermittableToken_json {
|
|
|
1028
776
|
value?: bigint;
|
|
1029
777
|
}): Promise<`0x${string}`>;
|
|
1030
778
|
/**
|
|
1031
|
-
*
|
|
779
|
+
* transfer
|
|
1032
780
|
* nonpayable
|
|
1033
781
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1034
782
|
*/
|
|
1035
|
-
|
|
783
|
+
transfer(_to: `0x${string}`, _value: bigint, options?: {
|
|
1036
784
|
accessList?: import('viem').AccessList;
|
|
1037
785
|
authorizationList?: import('viem').AuthorizationList;
|
|
1038
786
|
chain?: import('viem').Chain | null;
|
|
@@ -1045,11 +793,11 @@ export declare class PermittableToken_json {
|
|
|
1045
793
|
value?: bigint;
|
|
1046
794
|
}): Promise<`0x${string}`>;
|
|
1047
795
|
/**
|
|
1048
|
-
*
|
|
796
|
+
* setParams
|
|
1049
797
|
* nonpayable
|
|
1050
798
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1051
799
|
*/
|
|
1052
|
-
|
|
800
|
+
setParams(newBasisPoints: bigint, newMaxFee: bigint, options?: {
|
|
1053
801
|
accessList?: import('viem').AccessList;
|
|
1054
802
|
authorizationList?: import('viem').AuthorizationList;
|
|
1055
803
|
chain?: import('viem').Chain | null;
|
|
@@ -1062,11 +810,11 @@ export declare class PermittableToken_json {
|
|
|
1062
810
|
value?: bigint;
|
|
1063
811
|
}): Promise<`0x${string}`>;
|
|
1064
812
|
/**
|
|
1065
|
-
*
|
|
813
|
+
* issue
|
|
1066
814
|
* nonpayable
|
|
1067
815
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1068
816
|
*/
|
|
1069
|
-
|
|
817
|
+
issue(amount: bigint, options?: {
|
|
1070
818
|
accessList?: import('viem').AccessList;
|
|
1071
819
|
authorizationList?: import('viem').AuthorizationList;
|
|
1072
820
|
chain?: import('viem').Chain | null;
|
|
@@ -1079,11 +827,11 @@ export declare class PermittableToken_json {
|
|
|
1079
827
|
value?: bigint;
|
|
1080
828
|
}): Promise<`0x${string}`>;
|
|
1081
829
|
/**
|
|
1082
|
-
*
|
|
830
|
+
* redeem
|
|
1083
831
|
* nonpayable
|
|
1084
832
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1085
833
|
*/
|
|
1086
|
-
|
|
834
|
+
redeem(amount: bigint, options?: {
|
|
1087
835
|
accessList?: import('viem').AccessList;
|
|
1088
836
|
authorizationList?: import('viem').AuthorizationList;
|
|
1089
837
|
chain?: import('viem').Chain | null;
|
|
@@ -1096,11 +844,11 @@ export declare class PermittableToken_json {
|
|
|
1096
844
|
value?: bigint;
|
|
1097
845
|
}): Promise<`0x${string}`>;
|
|
1098
846
|
/**
|
|
1099
|
-
*
|
|
847
|
+
* removeBlackList
|
|
1100
848
|
* nonpayable
|
|
1101
849
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1102
850
|
*/
|
|
1103
|
-
|
|
851
|
+
removeBlackList(_clearedUser: `0x${string}`, options?: {
|
|
1104
852
|
accessList?: import('viem').AccessList;
|
|
1105
853
|
authorizationList?: import('viem').AuthorizationList;
|
|
1106
854
|
chain?: import('viem').Chain | null;
|
|
@@ -1113,11 +861,11 @@ export declare class PermittableToken_json {
|
|
|
1113
861
|
value?: bigint;
|
|
1114
862
|
}): Promise<`0x${string}`>;
|
|
1115
863
|
/**
|
|
1116
|
-
*
|
|
864
|
+
* transferOwnership
|
|
1117
865
|
* nonpayable
|
|
1118
866
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1119
867
|
*/
|
|
1120
|
-
|
|
868
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1121
869
|
accessList?: import('viem').AccessList;
|
|
1122
870
|
authorizationList?: import('viem').AuthorizationList;
|
|
1123
871
|
chain?: import('viem').Chain | null;
|
|
@@ -1130,11 +878,11 @@ export declare class PermittableToken_json {
|
|
|
1130
878
|
value?: bigint;
|
|
1131
879
|
}): Promise<`0x${string}`>;
|
|
1132
880
|
/**
|
|
1133
|
-
*
|
|
881
|
+
* destroyBlackFunds
|
|
1134
882
|
* nonpayable
|
|
1135
883
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1136
884
|
*/
|
|
1137
|
-
|
|
885
|
+
destroyBlackFunds(_blackListedUser: `0x${string}`, options?: {
|
|
1138
886
|
accessList?: import('viem').AccessList;
|
|
1139
887
|
authorizationList?: import('viem').AuthorizationList;
|
|
1140
888
|
chain?: import('viem').Chain | null;
|
|
@@ -1156,28 +904,11 @@ export declare class PermittableToken_json {
|
|
|
1156
904
|
*/
|
|
1157
905
|
get simulate(): {
|
|
1158
906
|
/**
|
|
1159
|
-
* Simulate
|
|
1160
|
-
* Returns gas estimate and result without sending transaction
|
|
1161
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1162
|
-
*/
|
|
1163
|
-
approve(_to: `0x${string}`, _value: bigint, options?: {
|
|
1164
|
-
accessList?: import("viem").AccessList;
|
|
1165
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1166
|
-
chain?: import("viem").Chain | null;
|
|
1167
|
-
dataSuffix?: `0x${string}`;
|
|
1168
|
-
gas?: bigint;
|
|
1169
|
-
gasPrice?: bigint;
|
|
1170
|
-
maxFeePerGas?: bigint;
|
|
1171
|
-
maxPriorityFeePerGas?: bigint;
|
|
1172
|
-
nonce?: number;
|
|
1173
|
-
value?: bigint;
|
|
1174
|
-
}): Promise<boolean>;
|
|
1175
|
-
/**
|
|
1176
|
-
* Simulate setBridgeContract
|
|
907
|
+
* Simulate deprecate
|
|
1177
908
|
* Returns gas estimate and result without sending transaction
|
|
1178
909
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1179
910
|
*/
|
|
1180
|
-
|
|
911
|
+
deprecate(_upgradedAddress: `0x${string}`, options?: {
|
|
1181
912
|
accessList?: import("viem").AccessList;
|
|
1182
913
|
authorizationList?: import("viem").AuthorizationList;
|
|
1183
914
|
chain?: import("viem").Chain | null;
|
|
@@ -1190,79 +921,11 @@ export declare class PermittableToken_json {
|
|
|
1190
921
|
value?: bigint;
|
|
1191
922
|
}): Promise<void>;
|
|
1192
923
|
/**
|
|
1193
|
-
* Simulate
|
|
1194
|
-
* Returns gas estimate and result without sending transaction
|
|
1195
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1196
|
-
*/
|
|
1197
|
-
transferFrom(_sender: `0x${string}`, _recipient: `0x${string}`, _amount: bigint, options?: {
|
|
1198
|
-
accessList?: import("viem").AccessList;
|
|
1199
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1200
|
-
chain?: import("viem").Chain | null;
|
|
1201
|
-
dataSuffix?: `0x${string}`;
|
|
1202
|
-
gas?: bigint;
|
|
1203
|
-
gasPrice?: bigint;
|
|
1204
|
-
maxFeePerGas?: bigint;
|
|
1205
|
-
maxPriorityFeePerGas?: bigint;
|
|
1206
|
-
nonce?: number;
|
|
1207
|
-
value?: bigint;
|
|
1208
|
-
}): Promise<boolean>;
|
|
1209
|
-
/**
|
|
1210
|
-
* Simulate increaseAllowance
|
|
1211
|
-
* Returns gas estimate and result without sending transaction
|
|
1212
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1213
|
-
*/
|
|
1214
|
-
increaseAllowance(_to: `0x${string}`, _addedValue: bigint, options?: {
|
|
1215
|
-
accessList?: import("viem").AccessList;
|
|
1216
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1217
|
-
chain?: import("viem").Chain | null;
|
|
1218
|
-
dataSuffix?: `0x${string}`;
|
|
1219
|
-
gas?: bigint;
|
|
1220
|
-
gasPrice?: bigint;
|
|
1221
|
-
maxFeePerGas?: bigint;
|
|
1222
|
-
maxPriorityFeePerGas?: bigint;
|
|
1223
|
-
nonce?: number;
|
|
1224
|
-
value?: bigint;
|
|
1225
|
-
}): Promise<boolean>;
|
|
1226
|
-
/**
|
|
1227
|
-
* Simulate transferAndCall
|
|
1228
|
-
* Returns gas estimate and result without sending transaction
|
|
1229
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1230
|
-
*/
|
|
1231
|
-
transferAndCall(_to: `0x${string}`, _value: bigint, _data: `0x${string}`, options?: {
|
|
1232
|
-
accessList?: import("viem").AccessList;
|
|
1233
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1234
|
-
chain?: import("viem").Chain | null;
|
|
1235
|
-
dataSuffix?: `0x${string}`;
|
|
1236
|
-
gas?: bigint;
|
|
1237
|
-
gasPrice?: bigint;
|
|
1238
|
-
maxFeePerGas?: bigint;
|
|
1239
|
-
maxPriorityFeePerGas?: bigint;
|
|
1240
|
-
nonce?: number;
|
|
1241
|
-
value?: bigint;
|
|
1242
|
-
}): Promise<boolean>;
|
|
1243
|
-
/**
|
|
1244
|
-
* Simulate mint
|
|
1245
|
-
* Returns gas estimate and result without sending transaction
|
|
1246
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1247
|
-
*/
|
|
1248
|
-
mint(_to: `0x${string}`, _amount: bigint, options?: {
|
|
1249
|
-
accessList?: import("viem").AccessList;
|
|
1250
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1251
|
-
chain?: import("viem").Chain | null;
|
|
1252
|
-
dataSuffix?: `0x${string}`;
|
|
1253
|
-
gas?: bigint;
|
|
1254
|
-
gasPrice?: bigint;
|
|
1255
|
-
maxFeePerGas?: bigint;
|
|
1256
|
-
maxPriorityFeePerGas?: bigint;
|
|
1257
|
-
nonce?: number;
|
|
1258
|
-
value?: bigint;
|
|
1259
|
-
}): Promise<boolean>;
|
|
1260
|
-
/**
|
|
1261
|
-
* Simulate burn
|
|
924
|
+
* Simulate approve
|
|
1262
925
|
* Returns gas estimate and result without sending transaction
|
|
1263
926
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1264
927
|
*/
|
|
1265
|
-
|
|
928
|
+
approve(_spender: `0x${string}`, _value: bigint, options?: {
|
|
1266
929
|
accessList?: import("viem").AccessList;
|
|
1267
930
|
authorizationList?: import("viem").AuthorizationList;
|
|
1268
931
|
chain?: import("viem").Chain | null;
|
|
@@ -1275,11 +938,11 @@ export declare class PermittableToken_json {
|
|
|
1275
938
|
value?: bigint;
|
|
1276
939
|
}): Promise<void>;
|
|
1277
940
|
/**
|
|
1278
|
-
* Simulate
|
|
941
|
+
* Simulate addBlackList
|
|
1279
942
|
* Returns gas estimate and result without sending transaction
|
|
1280
943
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1281
944
|
*/
|
|
1282
|
-
|
|
945
|
+
addBlackList(_evilUser: `0x${string}`, options?: {
|
|
1283
946
|
accessList?: import("viem").AccessList;
|
|
1284
947
|
authorizationList?: import("viem").AuthorizationList;
|
|
1285
948
|
chain?: import("viem").Chain | null;
|
|
@@ -1290,13 +953,13 @@ export declare class PermittableToken_json {
|
|
|
1290
953
|
maxPriorityFeePerGas?: bigint;
|
|
1291
954
|
nonce?: number;
|
|
1292
955
|
value?: bigint;
|
|
1293
|
-
}): Promise<
|
|
956
|
+
}): Promise<void>;
|
|
1294
957
|
/**
|
|
1295
|
-
* Simulate
|
|
958
|
+
* Simulate transferFrom
|
|
1296
959
|
* Returns gas estimate and result without sending transaction
|
|
1297
960
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1298
961
|
*/
|
|
1299
|
-
|
|
962
|
+
transferFrom(_from: `0x${string}`, _to: `0x${string}`, _value: bigint, options?: {
|
|
1300
963
|
accessList?: import("viem").AccessList;
|
|
1301
964
|
authorizationList?: import("viem").AuthorizationList;
|
|
1302
965
|
chain?: import("viem").Chain | null;
|
|
@@ -1309,11 +972,11 @@ export declare class PermittableToken_json {
|
|
|
1309
972
|
value?: bigint;
|
|
1310
973
|
}): Promise<void>;
|
|
1311
974
|
/**
|
|
1312
|
-
* Simulate
|
|
975
|
+
* Simulate unpause
|
|
1313
976
|
* Returns gas estimate and result without sending transaction
|
|
1314
977
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1315
978
|
*/
|
|
1316
|
-
|
|
979
|
+
unpause(options?: {
|
|
1317
980
|
accessList?: import("viem").AccessList;
|
|
1318
981
|
authorizationList?: import("viem").AuthorizationList;
|
|
1319
982
|
chain?: import("viem").Chain | null;
|
|
@@ -1326,11 +989,11 @@ export declare class PermittableToken_json {
|
|
|
1326
989
|
value?: bigint;
|
|
1327
990
|
}): Promise<void>;
|
|
1328
991
|
/**
|
|
1329
|
-
* Simulate
|
|
992
|
+
* Simulate pause
|
|
1330
993
|
* Returns gas estimate and result without sending transaction
|
|
1331
994
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1332
995
|
*/
|
|
1333
|
-
|
|
996
|
+
pause(options?: {
|
|
1334
997
|
accessList?: import("viem").AccessList;
|
|
1335
998
|
authorizationList?: import("viem").AuthorizationList;
|
|
1336
999
|
chain?: import("viem").Chain | null;
|
|
@@ -1341,20 +1004,13 @@ export declare class PermittableToken_json {
|
|
|
1341
1004
|
maxPriorityFeePerGas?: bigint;
|
|
1342
1005
|
nonce?: number;
|
|
1343
1006
|
value?: bigint;
|
|
1344
|
-
}): Promise<
|
|
1345
|
-
/**
|
|
1346
|
-
* Simulate permit
|
|
1347
|
-
* Returns gas estimate and result without sending transaction
|
|
1348
|
-
* Supports multiple overloads: (address, address, uint256, uint256, bool, uint8, bytes32, bytes32), (address, address, uint256, uint256, uint8, bytes32, bytes32)
|
|
1349
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1350
|
-
*/
|
|
1351
|
-
permit(...args: any[]): Promise<any>;
|
|
1007
|
+
}): Promise<void>;
|
|
1352
1008
|
/**
|
|
1353
|
-
* Simulate
|
|
1009
|
+
* Simulate transfer
|
|
1354
1010
|
* Returns gas estimate and result without sending transaction
|
|
1355
1011
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1356
1012
|
*/
|
|
1357
|
-
|
|
1013
|
+
transfer(_to: `0x${string}`, _value: bigint, options?: {
|
|
1358
1014
|
accessList?: import("viem").AccessList;
|
|
1359
1015
|
authorizationList?: import("viem").AuthorizationList;
|
|
1360
1016
|
chain?: import("viem").Chain | null;
|
|
@@ -1365,13 +1021,13 @@ export declare class PermittableToken_json {
|
|
|
1365
1021
|
maxPriorityFeePerGas?: bigint;
|
|
1366
1022
|
nonce?: number;
|
|
1367
1023
|
value?: bigint;
|
|
1368
|
-
}): Promise<
|
|
1024
|
+
}): Promise<void>;
|
|
1369
1025
|
/**
|
|
1370
|
-
* Simulate
|
|
1026
|
+
* Simulate setParams
|
|
1371
1027
|
* Returns gas estimate and result without sending transaction
|
|
1372
1028
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1373
1029
|
*/
|
|
1374
|
-
|
|
1030
|
+
setParams(newBasisPoints: bigint, newMaxFee: bigint, options?: {
|
|
1375
1031
|
accessList?: import("viem").AccessList;
|
|
1376
1032
|
authorizationList?: import("viem").AuthorizationList;
|
|
1377
1033
|
chain?: import("viem").Chain | null;
|
|
@@ -1382,13 +1038,13 @@ export declare class PermittableToken_json {
|
|
|
1382
1038
|
maxPriorityFeePerGas?: bigint;
|
|
1383
1039
|
nonce?: number;
|
|
1384
1040
|
value?: bigint;
|
|
1385
|
-
}): Promise<
|
|
1041
|
+
}): Promise<void>;
|
|
1386
1042
|
/**
|
|
1387
|
-
* Simulate
|
|
1043
|
+
* Simulate issue
|
|
1388
1044
|
* Returns gas estimate and result without sending transaction
|
|
1389
1045
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1390
1046
|
*/
|
|
1391
|
-
|
|
1047
|
+
issue(amount: bigint, options?: {
|
|
1392
1048
|
accessList?: import("viem").AccessList;
|
|
1393
1049
|
authorizationList?: import("viem").AuthorizationList;
|
|
1394
1050
|
chain?: import("viem").Chain | null;
|
|
@@ -1401,11 +1057,11 @@ export declare class PermittableToken_json {
|
|
|
1401
1057
|
value?: bigint;
|
|
1402
1058
|
}): Promise<void>;
|
|
1403
1059
|
/**
|
|
1404
|
-
* Simulate
|
|
1060
|
+
* Simulate redeem
|
|
1405
1061
|
* Returns gas estimate and result without sending transaction
|
|
1406
1062
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1407
1063
|
*/
|
|
1408
|
-
|
|
1064
|
+
redeem(amount: bigint, options?: {
|
|
1409
1065
|
accessList?: import("viem").AccessList;
|
|
1410
1066
|
authorizationList?: import("viem").AuthorizationList;
|
|
1411
1067
|
chain?: import("viem").Chain | null;
|
|
@@ -1418,11 +1074,11 @@ export declare class PermittableToken_json {
|
|
|
1418
1074
|
value?: bigint;
|
|
1419
1075
|
}): Promise<void>;
|
|
1420
1076
|
/**
|
|
1421
|
-
* Simulate
|
|
1077
|
+
* Simulate removeBlackList
|
|
1422
1078
|
* Returns gas estimate and result without sending transaction
|
|
1423
1079
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1424
1080
|
*/
|
|
1425
|
-
|
|
1081
|
+
removeBlackList(_clearedUser: `0x${string}`, options?: {
|
|
1426
1082
|
accessList?: import("viem").AccessList;
|
|
1427
1083
|
authorizationList?: import("viem").AuthorizationList;
|
|
1428
1084
|
chain?: import("viem").Chain | null;
|
|
@@ -1433,13 +1089,13 @@ export declare class PermittableToken_json {
|
|
|
1433
1089
|
maxPriorityFeePerGas?: bigint;
|
|
1434
1090
|
nonce?: number;
|
|
1435
1091
|
value?: bigint;
|
|
1436
|
-
}): Promise<
|
|
1092
|
+
}): Promise<void>;
|
|
1437
1093
|
/**
|
|
1438
|
-
* Simulate
|
|
1094
|
+
* Simulate transferOwnership
|
|
1439
1095
|
* Returns gas estimate and result without sending transaction
|
|
1440
1096
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1441
1097
|
*/
|
|
1442
|
-
|
|
1098
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1443
1099
|
accessList?: import("viem").AccessList;
|
|
1444
1100
|
authorizationList?: import("viem").AuthorizationList;
|
|
1445
1101
|
chain?: import("viem").Chain | null;
|
|
@@ -1452,11 +1108,11 @@ export declare class PermittableToken_json {
|
|
|
1452
1108
|
value?: bigint;
|
|
1453
1109
|
}): Promise<void>;
|
|
1454
1110
|
/**
|
|
1455
|
-
* Simulate
|
|
1111
|
+
* Simulate destroyBlackFunds
|
|
1456
1112
|
* Returns gas estimate and result without sending transaction
|
|
1457
1113
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1458
1114
|
*/
|
|
1459
|
-
|
|
1115
|
+
destroyBlackFunds(_blackListedUser: `0x${string}`, options?: {
|
|
1460
1116
|
accessList?: import("viem").AccessList;
|
|
1461
1117
|
authorizationList?: import("viem").AuthorizationList;
|
|
1462
1118
|
chain?: import("viem").Chain | null;
|
|
@@ -1483,59 +1139,83 @@ export declare class PermittableToken_json {
|
|
|
1483
1139
|
*/
|
|
1484
1140
|
get watch(): {
|
|
1485
1141
|
/**
|
|
1486
|
-
* Watch
|
|
1142
|
+
* Watch Issue events
|
|
1487
1143
|
* @param callback Function to call when event is emitted
|
|
1488
1144
|
* @param filter Optional filter for indexed parameters
|
|
1489
1145
|
* @returns Unwatch function to stop listening
|
|
1490
1146
|
*/
|
|
1491
|
-
|
|
1492
|
-
to: `0x${string}`;
|
|
1147
|
+
Issue: (callback: (event: {
|
|
1493
1148
|
amount: bigint;
|
|
1494
|
-
}) => void
|
|
1495
|
-
to: `0x${string}`;
|
|
1496
|
-
}) => () => void;
|
|
1149
|
+
}) => void) => () => void;
|
|
1497
1150
|
/**
|
|
1498
|
-
* Watch
|
|
1151
|
+
* Watch Redeem events
|
|
1499
1152
|
* @param callback Function to call when event is emitted
|
|
1500
1153
|
* @param filter Optional filter for indexed parameters
|
|
1501
1154
|
* @returns Unwatch function to stop listening
|
|
1502
1155
|
*/
|
|
1503
|
-
|
|
1156
|
+
Redeem: (callback: (event: {
|
|
1157
|
+
amount: bigint;
|
|
1158
|
+
}) => void) => () => void;
|
|
1504
1159
|
/**
|
|
1505
|
-
* Watch
|
|
1160
|
+
* Watch Deprecate events
|
|
1506
1161
|
* @param callback Function to call when event is emitted
|
|
1507
1162
|
* @param filter Optional filter for indexed parameters
|
|
1508
1163
|
* @returns Unwatch function to stop listening
|
|
1509
1164
|
*/
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
}) => void
|
|
1513
|
-
previousOwner: `0x${string}`;
|
|
1514
|
-
}) => () => void;
|
|
1165
|
+
Deprecate: (callback: (event: {
|
|
1166
|
+
newAddress: `0x${string}`;
|
|
1167
|
+
}) => void) => () => void;
|
|
1515
1168
|
/**
|
|
1516
|
-
* Watch
|
|
1169
|
+
* Watch Params events
|
|
1517
1170
|
* @param callback Function to call when event is emitted
|
|
1518
1171
|
* @param filter Optional filter for indexed parameters
|
|
1519
1172
|
* @returns Unwatch function to stop listening
|
|
1520
1173
|
*/
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
}) => void
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1174
|
+
Params: (callback: (event: {
|
|
1175
|
+
feeBasisPoints: bigint;
|
|
1176
|
+
maxFee: bigint;
|
|
1177
|
+
}) => void) => () => void;
|
|
1178
|
+
/**
|
|
1179
|
+
* Watch DestroyedBlackFunds events
|
|
1180
|
+
* @param callback Function to call when event is emitted
|
|
1181
|
+
* @param filter Optional filter for indexed parameters
|
|
1182
|
+
* @returns Unwatch function to stop listening
|
|
1183
|
+
*/
|
|
1184
|
+
DestroyedBlackFunds: (callback: (event: {
|
|
1185
|
+
_blackListedUser: `0x${string}`;
|
|
1186
|
+
_balance: bigint;
|
|
1187
|
+
}) => void) => () => void;
|
|
1188
|
+
/**
|
|
1189
|
+
* Watch AddedBlackList events
|
|
1190
|
+
* @param callback Function to call when event is emitted
|
|
1191
|
+
* @param filter Optional filter for indexed parameters
|
|
1192
|
+
* @returns Unwatch function to stop listening
|
|
1193
|
+
*/
|
|
1194
|
+
AddedBlackList: (callback: (event: {
|
|
1195
|
+
_user: `0x${string}`;
|
|
1196
|
+
}) => void) => () => void;
|
|
1197
|
+
/**
|
|
1198
|
+
* Watch RemovedBlackList events
|
|
1199
|
+
* @param callback Function to call when event is emitted
|
|
1200
|
+
* @param filter Optional filter for indexed parameters
|
|
1201
|
+
* @returns Unwatch function to stop listening
|
|
1202
|
+
*/
|
|
1203
|
+
RemovedBlackList: (callback: (event: {
|
|
1204
|
+
_user: `0x${string}`;
|
|
1205
|
+
}) => void) => () => void;
|
|
1528
1206
|
/**
|
|
1529
|
-
* Watch
|
|
1207
|
+
* Watch Approval events
|
|
1530
1208
|
* @param callback Function to call when event is emitted
|
|
1531
1209
|
* @param filter Optional filter for indexed parameters
|
|
1532
1210
|
* @returns Unwatch function to stop listening
|
|
1533
1211
|
*/
|
|
1534
|
-
|
|
1535
|
-
|
|
1212
|
+
Approval: (callback: (event: {
|
|
1213
|
+
owner: `0x${string}`;
|
|
1214
|
+
spender: `0x${string}`;
|
|
1536
1215
|
value: bigint;
|
|
1537
1216
|
}) => void, filter?: {
|
|
1538
|
-
|
|
1217
|
+
owner: `0x${string}`;
|
|
1218
|
+
spender: `0x${string}`;
|
|
1539
1219
|
}) => () => void;
|
|
1540
1220
|
/**
|
|
1541
1221
|
* Watch Transfer events
|
|
@@ -1547,24 +1227,23 @@ export declare class PermittableToken_json {
|
|
|
1547
1227
|
from: `0x${string}`;
|
|
1548
1228
|
to: `0x${string}`;
|
|
1549
1229
|
value: bigint;
|
|
1550
|
-
data: `0x${string}`;
|
|
1551
1230
|
}) => void, filter?: {
|
|
1552
1231
|
from: `0x${string}`;
|
|
1553
1232
|
to: `0x${string}`;
|
|
1554
1233
|
}) => () => void;
|
|
1555
1234
|
/**
|
|
1556
|
-
* Watch
|
|
1235
|
+
* Watch Pause events
|
|
1557
1236
|
* @param callback Function to call when event is emitted
|
|
1558
1237
|
* @param filter Optional filter for indexed parameters
|
|
1559
1238
|
* @returns Unwatch function to stop listening
|
|
1560
1239
|
*/
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
}) => () => void;
|
|
1240
|
+
Pause: (callback: (event: {}) => void) => () => void;
|
|
1241
|
+
/**
|
|
1242
|
+
* Watch Unpause events
|
|
1243
|
+
* @param callback Function to call when event is emitted
|
|
1244
|
+
* @param filter Optional filter for indexed parameters
|
|
1245
|
+
* @returns Unwatch function to stop listening
|
|
1246
|
+
*/
|
|
1247
|
+
Unpause: (callback: (event: {}) => void) => () => void;
|
|
1569
1248
|
};
|
|
1570
1249
|
}
|