@gitmyabi/usdc 1.0.0
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 +108 -0
- package/contracts/FiatTokenProxy_json.d.ts +311 -0
- package/contracts/FiatTokenProxy_json.js +328 -0
- package/contracts/FiatTokenProxy_json.ts +428 -0
- package/contracts/FiatTokenV2_2_json.d.ts +2380 -0
- package/contracts/FiatTokenV2_2_json.js +2473 -0
- package/contracts/FiatTokenV2_2_json.ts +3156 -0
- package/contracts/index.d.ts +4 -0
- package/contracts/index.js +10 -0
- package/contracts/index.ts +5 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +43 -0
|
@@ -0,0 +1,2380 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* FiatTokenV2_2_json ABI
|
|
4
|
+
*
|
|
5
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
6
|
+
*/
|
|
7
|
+
export declare const FiatTokenV2_2_jsonAbi: readonly [{
|
|
8
|
+
readonly anonymous: false;
|
|
9
|
+
readonly inputs: readonly [{
|
|
10
|
+
readonly indexed: true;
|
|
11
|
+
readonly internalType: "address";
|
|
12
|
+
readonly name: "owner";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}, {
|
|
15
|
+
readonly indexed: true;
|
|
16
|
+
readonly internalType: "address";
|
|
17
|
+
readonly name: "spender";
|
|
18
|
+
readonly type: "address";
|
|
19
|
+
}, {
|
|
20
|
+
readonly indexed: false;
|
|
21
|
+
readonly internalType: "uint256";
|
|
22
|
+
readonly name: "value";
|
|
23
|
+
readonly type: "uint256";
|
|
24
|
+
}];
|
|
25
|
+
readonly name: "Approval";
|
|
26
|
+
readonly type: "event";
|
|
27
|
+
}, {
|
|
28
|
+
readonly anonymous: false;
|
|
29
|
+
readonly inputs: readonly [{
|
|
30
|
+
readonly indexed: true;
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
readonly name: "authorizer";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
}, {
|
|
35
|
+
readonly indexed: true;
|
|
36
|
+
readonly internalType: "bytes32";
|
|
37
|
+
readonly name: "nonce";
|
|
38
|
+
readonly type: "bytes32";
|
|
39
|
+
}];
|
|
40
|
+
readonly name: "AuthorizationCanceled";
|
|
41
|
+
readonly type: "event";
|
|
42
|
+
}, {
|
|
43
|
+
readonly anonymous: false;
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly indexed: true;
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
readonly name: "authorizer";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
}, {
|
|
50
|
+
readonly indexed: true;
|
|
51
|
+
readonly internalType: "bytes32";
|
|
52
|
+
readonly name: "nonce";
|
|
53
|
+
readonly type: "bytes32";
|
|
54
|
+
}];
|
|
55
|
+
readonly name: "AuthorizationUsed";
|
|
56
|
+
readonly type: "event";
|
|
57
|
+
}, {
|
|
58
|
+
readonly anonymous: false;
|
|
59
|
+
readonly inputs: readonly [{
|
|
60
|
+
readonly indexed: true;
|
|
61
|
+
readonly internalType: "address";
|
|
62
|
+
readonly name: "_account";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
}];
|
|
65
|
+
readonly name: "Blacklisted";
|
|
66
|
+
readonly type: "event";
|
|
67
|
+
}, {
|
|
68
|
+
readonly anonymous: false;
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly indexed: true;
|
|
71
|
+
readonly internalType: "address";
|
|
72
|
+
readonly name: "newBlacklister";
|
|
73
|
+
readonly type: "address";
|
|
74
|
+
}];
|
|
75
|
+
readonly name: "BlacklisterChanged";
|
|
76
|
+
readonly type: "event";
|
|
77
|
+
}, {
|
|
78
|
+
readonly anonymous: false;
|
|
79
|
+
readonly inputs: readonly [{
|
|
80
|
+
readonly indexed: true;
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
readonly name: "burner";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}, {
|
|
85
|
+
readonly indexed: false;
|
|
86
|
+
readonly internalType: "uint256";
|
|
87
|
+
readonly name: "amount";
|
|
88
|
+
readonly type: "uint256";
|
|
89
|
+
}];
|
|
90
|
+
readonly name: "Burn";
|
|
91
|
+
readonly type: "event";
|
|
92
|
+
}, {
|
|
93
|
+
readonly anonymous: false;
|
|
94
|
+
readonly inputs: readonly [{
|
|
95
|
+
readonly indexed: true;
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "newMasterMinter";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}];
|
|
100
|
+
readonly name: "MasterMinterChanged";
|
|
101
|
+
readonly type: "event";
|
|
102
|
+
}, {
|
|
103
|
+
readonly anonymous: false;
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly indexed: true;
|
|
106
|
+
readonly internalType: "address";
|
|
107
|
+
readonly name: "minter";
|
|
108
|
+
readonly type: "address";
|
|
109
|
+
}, {
|
|
110
|
+
readonly indexed: true;
|
|
111
|
+
readonly internalType: "address";
|
|
112
|
+
readonly name: "to";
|
|
113
|
+
readonly type: "address";
|
|
114
|
+
}, {
|
|
115
|
+
readonly indexed: false;
|
|
116
|
+
readonly internalType: "uint256";
|
|
117
|
+
readonly name: "amount";
|
|
118
|
+
readonly type: "uint256";
|
|
119
|
+
}];
|
|
120
|
+
readonly name: "Mint";
|
|
121
|
+
readonly type: "event";
|
|
122
|
+
}, {
|
|
123
|
+
readonly anonymous: false;
|
|
124
|
+
readonly inputs: readonly [{
|
|
125
|
+
readonly indexed: true;
|
|
126
|
+
readonly internalType: "address";
|
|
127
|
+
readonly name: "minter";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
}, {
|
|
130
|
+
readonly indexed: false;
|
|
131
|
+
readonly internalType: "uint256";
|
|
132
|
+
readonly name: "minterAllowedAmount";
|
|
133
|
+
readonly type: "uint256";
|
|
134
|
+
}];
|
|
135
|
+
readonly name: "MinterConfigured";
|
|
136
|
+
readonly type: "event";
|
|
137
|
+
}, {
|
|
138
|
+
readonly anonymous: false;
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly indexed: true;
|
|
141
|
+
readonly internalType: "address";
|
|
142
|
+
readonly name: "oldMinter";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
}];
|
|
145
|
+
readonly name: "MinterRemoved";
|
|
146
|
+
readonly type: "event";
|
|
147
|
+
}, {
|
|
148
|
+
readonly anonymous: false;
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly indexed: false;
|
|
151
|
+
readonly internalType: "address";
|
|
152
|
+
readonly name: "previousOwner";
|
|
153
|
+
readonly type: "address";
|
|
154
|
+
}, {
|
|
155
|
+
readonly indexed: false;
|
|
156
|
+
readonly internalType: "address";
|
|
157
|
+
readonly name: "newOwner";
|
|
158
|
+
readonly type: "address";
|
|
159
|
+
}];
|
|
160
|
+
readonly name: "OwnershipTransferred";
|
|
161
|
+
readonly type: "event";
|
|
162
|
+
}, {
|
|
163
|
+
readonly anonymous: false;
|
|
164
|
+
readonly inputs: readonly [];
|
|
165
|
+
readonly name: "Pause";
|
|
166
|
+
readonly type: "event";
|
|
167
|
+
}, {
|
|
168
|
+
readonly anonymous: false;
|
|
169
|
+
readonly inputs: readonly [{
|
|
170
|
+
readonly indexed: true;
|
|
171
|
+
readonly internalType: "address";
|
|
172
|
+
readonly name: "newAddress";
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
}];
|
|
175
|
+
readonly name: "PauserChanged";
|
|
176
|
+
readonly type: "event";
|
|
177
|
+
}, {
|
|
178
|
+
readonly anonymous: false;
|
|
179
|
+
readonly inputs: readonly [{
|
|
180
|
+
readonly indexed: true;
|
|
181
|
+
readonly internalType: "address";
|
|
182
|
+
readonly name: "newRescuer";
|
|
183
|
+
readonly type: "address";
|
|
184
|
+
}];
|
|
185
|
+
readonly name: "RescuerChanged";
|
|
186
|
+
readonly type: "event";
|
|
187
|
+
}, {
|
|
188
|
+
readonly anonymous: false;
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly indexed: true;
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
readonly name: "from";
|
|
193
|
+
readonly type: "address";
|
|
194
|
+
}, {
|
|
195
|
+
readonly indexed: true;
|
|
196
|
+
readonly internalType: "address";
|
|
197
|
+
readonly name: "to";
|
|
198
|
+
readonly type: "address";
|
|
199
|
+
}, {
|
|
200
|
+
readonly indexed: false;
|
|
201
|
+
readonly internalType: "uint256";
|
|
202
|
+
readonly name: "value";
|
|
203
|
+
readonly type: "uint256";
|
|
204
|
+
}];
|
|
205
|
+
readonly name: "Transfer";
|
|
206
|
+
readonly type: "event";
|
|
207
|
+
}, {
|
|
208
|
+
readonly anonymous: false;
|
|
209
|
+
readonly inputs: readonly [{
|
|
210
|
+
readonly indexed: true;
|
|
211
|
+
readonly internalType: "address";
|
|
212
|
+
readonly name: "_account";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
}];
|
|
215
|
+
readonly name: "UnBlacklisted";
|
|
216
|
+
readonly type: "event";
|
|
217
|
+
}, {
|
|
218
|
+
readonly anonymous: false;
|
|
219
|
+
readonly inputs: readonly [];
|
|
220
|
+
readonly name: "Unpause";
|
|
221
|
+
readonly type: "event";
|
|
222
|
+
}, {
|
|
223
|
+
readonly inputs: readonly [];
|
|
224
|
+
readonly name: "CANCEL_AUTHORIZATION_TYPEHASH";
|
|
225
|
+
readonly outputs: readonly [{
|
|
226
|
+
readonly internalType: "bytes32";
|
|
227
|
+
readonly name: "";
|
|
228
|
+
readonly type: "bytes32";
|
|
229
|
+
}];
|
|
230
|
+
readonly stateMutability: "view";
|
|
231
|
+
readonly type: "function";
|
|
232
|
+
}, {
|
|
233
|
+
readonly inputs: readonly [];
|
|
234
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
235
|
+
readonly outputs: readonly [{
|
|
236
|
+
readonly internalType: "bytes32";
|
|
237
|
+
readonly name: "";
|
|
238
|
+
readonly type: "bytes32";
|
|
239
|
+
}];
|
|
240
|
+
readonly stateMutability: "view";
|
|
241
|
+
readonly type: "function";
|
|
242
|
+
}, {
|
|
243
|
+
readonly inputs: readonly [];
|
|
244
|
+
readonly name: "PERMIT_TYPEHASH";
|
|
245
|
+
readonly outputs: readonly [{
|
|
246
|
+
readonly internalType: "bytes32";
|
|
247
|
+
readonly name: "";
|
|
248
|
+
readonly type: "bytes32";
|
|
249
|
+
}];
|
|
250
|
+
readonly stateMutability: "view";
|
|
251
|
+
readonly type: "function";
|
|
252
|
+
}, {
|
|
253
|
+
readonly inputs: readonly [];
|
|
254
|
+
readonly name: "RECEIVE_WITH_AUTHORIZATION_TYPEHASH";
|
|
255
|
+
readonly outputs: readonly [{
|
|
256
|
+
readonly internalType: "bytes32";
|
|
257
|
+
readonly name: "";
|
|
258
|
+
readonly type: "bytes32";
|
|
259
|
+
}];
|
|
260
|
+
readonly stateMutability: "view";
|
|
261
|
+
readonly type: "function";
|
|
262
|
+
}, {
|
|
263
|
+
readonly inputs: readonly [];
|
|
264
|
+
readonly name: "TRANSFER_WITH_AUTHORIZATION_TYPEHASH";
|
|
265
|
+
readonly outputs: readonly [{
|
|
266
|
+
readonly internalType: "bytes32";
|
|
267
|
+
readonly name: "";
|
|
268
|
+
readonly type: "bytes32";
|
|
269
|
+
}];
|
|
270
|
+
readonly stateMutability: "view";
|
|
271
|
+
readonly type: "function";
|
|
272
|
+
}, {
|
|
273
|
+
readonly inputs: readonly [{
|
|
274
|
+
readonly internalType: "address";
|
|
275
|
+
readonly name: "owner";
|
|
276
|
+
readonly type: "address";
|
|
277
|
+
}, {
|
|
278
|
+
readonly internalType: "address";
|
|
279
|
+
readonly name: "spender";
|
|
280
|
+
readonly type: "address";
|
|
281
|
+
}];
|
|
282
|
+
readonly name: "allowance";
|
|
283
|
+
readonly outputs: readonly [{
|
|
284
|
+
readonly internalType: "uint256";
|
|
285
|
+
readonly name: "";
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
}];
|
|
288
|
+
readonly stateMutability: "view";
|
|
289
|
+
readonly type: "function";
|
|
290
|
+
}, {
|
|
291
|
+
readonly inputs: readonly [{
|
|
292
|
+
readonly internalType: "address";
|
|
293
|
+
readonly name: "spender";
|
|
294
|
+
readonly type: "address";
|
|
295
|
+
}, {
|
|
296
|
+
readonly internalType: "uint256";
|
|
297
|
+
readonly name: "value";
|
|
298
|
+
readonly type: "uint256";
|
|
299
|
+
}];
|
|
300
|
+
readonly name: "approve";
|
|
301
|
+
readonly outputs: readonly [{
|
|
302
|
+
readonly internalType: "bool";
|
|
303
|
+
readonly name: "";
|
|
304
|
+
readonly type: "bool";
|
|
305
|
+
}];
|
|
306
|
+
readonly stateMutability: "nonpayable";
|
|
307
|
+
readonly type: "function";
|
|
308
|
+
}, {
|
|
309
|
+
readonly inputs: readonly [{
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
readonly name: "authorizer";
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
}, {
|
|
314
|
+
readonly internalType: "bytes32";
|
|
315
|
+
readonly name: "nonce";
|
|
316
|
+
readonly type: "bytes32";
|
|
317
|
+
}];
|
|
318
|
+
readonly name: "authorizationState";
|
|
319
|
+
readonly outputs: readonly [{
|
|
320
|
+
readonly internalType: "bool";
|
|
321
|
+
readonly name: "";
|
|
322
|
+
readonly type: "bool";
|
|
323
|
+
}];
|
|
324
|
+
readonly stateMutability: "view";
|
|
325
|
+
readonly type: "function";
|
|
326
|
+
}, {
|
|
327
|
+
readonly inputs: readonly [{
|
|
328
|
+
readonly internalType: "address";
|
|
329
|
+
readonly name: "account";
|
|
330
|
+
readonly type: "address";
|
|
331
|
+
}];
|
|
332
|
+
readonly name: "balanceOf";
|
|
333
|
+
readonly outputs: readonly [{
|
|
334
|
+
readonly internalType: "uint256";
|
|
335
|
+
readonly name: "";
|
|
336
|
+
readonly type: "uint256";
|
|
337
|
+
}];
|
|
338
|
+
readonly stateMutability: "view";
|
|
339
|
+
readonly type: "function";
|
|
340
|
+
}, {
|
|
341
|
+
readonly inputs: readonly [{
|
|
342
|
+
readonly internalType: "address";
|
|
343
|
+
readonly name: "_account";
|
|
344
|
+
readonly type: "address";
|
|
345
|
+
}];
|
|
346
|
+
readonly name: "blacklist";
|
|
347
|
+
readonly outputs: readonly [];
|
|
348
|
+
readonly stateMutability: "nonpayable";
|
|
349
|
+
readonly type: "function";
|
|
350
|
+
}, {
|
|
351
|
+
readonly inputs: readonly [];
|
|
352
|
+
readonly name: "blacklister";
|
|
353
|
+
readonly outputs: readonly [{
|
|
354
|
+
readonly internalType: "address";
|
|
355
|
+
readonly name: "";
|
|
356
|
+
readonly type: "address";
|
|
357
|
+
}];
|
|
358
|
+
readonly stateMutability: "view";
|
|
359
|
+
readonly type: "function";
|
|
360
|
+
}, {
|
|
361
|
+
readonly inputs: readonly [{
|
|
362
|
+
readonly internalType: "uint256";
|
|
363
|
+
readonly name: "_amount";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
}];
|
|
366
|
+
readonly name: "burn";
|
|
367
|
+
readonly outputs: readonly [];
|
|
368
|
+
readonly stateMutability: "nonpayable";
|
|
369
|
+
readonly type: "function";
|
|
370
|
+
}, {
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly name: "authorizer";
|
|
374
|
+
readonly type: "address";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "bytes32";
|
|
377
|
+
readonly name: "nonce";
|
|
378
|
+
readonly type: "bytes32";
|
|
379
|
+
}, {
|
|
380
|
+
readonly internalType: "uint8";
|
|
381
|
+
readonly name: "v";
|
|
382
|
+
readonly type: "uint8";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "bytes32";
|
|
385
|
+
readonly name: "r";
|
|
386
|
+
readonly type: "bytes32";
|
|
387
|
+
}, {
|
|
388
|
+
readonly internalType: "bytes32";
|
|
389
|
+
readonly name: "s";
|
|
390
|
+
readonly type: "bytes32";
|
|
391
|
+
}];
|
|
392
|
+
readonly name: "cancelAuthorization";
|
|
393
|
+
readonly outputs: readonly [];
|
|
394
|
+
readonly stateMutability: "nonpayable";
|
|
395
|
+
readonly type: "function";
|
|
396
|
+
}, {
|
|
397
|
+
readonly inputs: readonly [{
|
|
398
|
+
readonly internalType: "address";
|
|
399
|
+
readonly name: "authorizer";
|
|
400
|
+
readonly type: "address";
|
|
401
|
+
}, {
|
|
402
|
+
readonly internalType: "bytes32";
|
|
403
|
+
readonly name: "nonce";
|
|
404
|
+
readonly type: "bytes32";
|
|
405
|
+
}, {
|
|
406
|
+
readonly internalType: "bytes";
|
|
407
|
+
readonly name: "signature";
|
|
408
|
+
readonly type: "bytes";
|
|
409
|
+
}];
|
|
410
|
+
readonly name: "cancelAuthorization";
|
|
411
|
+
readonly outputs: readonly [];
|
|
412
|
+
readonly stateMutability: "nonpayable";
|
|
413
|
+
readonly type: "function";
|
|
414
|
+
}, {
|
|
415
|
+
readonly inputs: readonly [{
|
|
416
|
+
readonly internalType: "address";
|
|
417
|
+
readonly name: "minter";
|
|
418
|
+
readonly type: "address";
|
|
419
|
+
}, {
|
|
420
|
+
readonly internalType: "uint256";
|
|
421
|
+
readonly name: "minterAllowedAmount";
|
|
422
|
+
readonly type: "uint256";
|
|
423
|
+
}];
|
|
424
|
+
readonly name: "configureMinter";
|
|
425
|
+
readonly outputs: readonly [{
|
|
426
|
+
readonly internalType: "bool";
|
|
427
|
+
readonly name: "";
|
|
428
|
+
readonly type: "bool";
|
|
429
|
+
}];
|
|
430
|
+
readonly stateMutability: "nonpayable";
|
|
431
|
+
readonly type: "function";
|
|
432
|
+
}, {
|
|
433
|
+
readonly inputs: readonly [];
|
|
434
|
+
readonly name: "currency";
|
|
435
|
+
readonly outputs: readonly [{
|
|
436
|
+
readonly internalType: "string";
|
|
437
|
+
readonly name: "";
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
}];
|
|
440
|
+
readonly stateMutability: "view";
|
|
441
|
+
readonly type: "function";
|
|
442
|
+
}, {
|
|
443
|
+
readonly inputs: readonly [];
|
|
444
|
+
readonly name: "decimals";
|
|
445
|
+
readonly outputs: readonly [{
|
|
446
|
+
readonly internalType: "uint8";
|
|
447
|
+
readonly name: "";
|
|
448
|
+
readonly type: "uint8";
|
|
449
|
+
}];
|
|
450
|
+
readonly stateMutability: "view";
|
|
451
|
+
readonly type: "function";
|
|
452
|
+
}, {
|
|
453
|
+
readonly inputs: readonly [{
|
|
454
|
+
readonly internalType: "address";
|
|
455
|
+
readonly name: "spender";
|
|
456
|
+
readonly type: "address";
|
|
457
|
+
}, {
|
|
458
|
+
readonly internalType: "uint256";
|
|
459
|
+
readonly name: "decrement";
|
|
460
|
+
readonly type: "uint256";
|
|
461
|
+
}];
|
|
462
|
+
readonly name: "decreaseAllowance";
|
|
463
|
+
readonly outputs: readonly [{
|
|
464
|
+
readonly internalType: "bool";
|
|
465
|
+
readonly name: "";
|
|
466
|
+
readonly type: "bool";
|
|
467
|
+
}];
|
|
468
|
+
readonly stateMutability: "nonpayable";
|
|
469
|
+
readonly type: "function";
|
|
470
|
+
}, {
|
|
471
|
+
readonly inputs: readonly [{
|
|
472
|
+
readonly internalType: "address";
|
|
473
|
+
readonly name: "spender";
|
|
474
|
+
readonly type: "address";
|
|
475
|
+
}, {
|
|
476
|
+
readonly internalType: "uint256";
|
|
477
|
+
readonly name: "increment";
|
|
478
|
+
readonly type: "uint256";
|
|
479
|
+
}];
|
|
480
|
+
readonly name: "increaseAllowance";
|
|
481
|
+
readonly outputs: readonly [{
|
|
482
|
+
readonly internalType: "bool";
|
|
483
|
+
readonly name: "";
|
|
484
|
+
readonly type: "bool";
|
|
485
|
+
}];
|
|
486
|
+
readonly stateMutability: "nonpayable";
|
|
487
|
+
readonly type: "function";
|
|
488
|
+
}, {
|
|
489
|
+
readonly inputs: readonly [{
|
|
490
|
+
readonly internalType: "string";
|
|
491
|
+
readonly name: "tokenName";
|
|
492
|
+
readonly type: "string";
|
|
493
|
+
}, {
|
|
494
|
+
readonly internalType: "string";
|
|
495
|
+
readonly name: "tokenSymbol";
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
}, {
|
|
498
|
+
readonly internalType: "string";
|
|
499
|
+
readonly name: "tokenCurrency";
|
|
500
|
+
readonly type: "string";
|
|
501
|
+
}, {
|
|
502
|
+
readonly internalType: "uint8";
|
|
503
|
+
readonly name: "tokenDecimals";
|
|
504
|
+
readonly type: "uint8";
|
|
505
|
+
}, {
|
|
506
|
+
readonly internalType: "address";
|
|
507
|
+
readonly name: "newMasterMinter";
|
|
508
|
+
readonly type: "address";
|
|
509
|
+
}, {
|
|
510
|
+
readonly internalType: "address";
|
|
511
|
+
readonly name: "newPauser";
|
|
512
|
+
readonly type: "address";
|
|
513
|
+
}, {
|
|
514
|
+
readonly internalType: "address";
|
|
515
|
+
readonly name: "newBlacklister";
|
|
516
|
+
readonly type: "address";
|
|
517
|
+
}, {
|
|
518
|
+
readonly internalType: "address";
|
|
519
|
+
readonly name: "newOwner";
|
|
520
|
+
readonly type: "address";
|
|
521
|
+
}];
|
|
522
|
+
readonly name: "initialize";
|
|
523
|
+
readonly outputs: readonly [];
|
|
524
|
+
readonly stateMutability: "nonpayable";
|
|
525
|
+
readonly type: "function";
|
|
526
|
+
}, {
|
|
527
|
+
readonly inputs: readonly [{
|
|
528
|
+
readonly internalType: "string";
|
|
529
|
+
readonly name: "newName";
|
|
530
|
+
readonly type: "string";
|
|
531
|
+
}];
|
|
532
|
+
readonly name: "initializeV2";
|
|
533
|
+
readonly outputs: readonly [];
|
|
534
|
+
readonly stateMutability: "nonpayable";
|
|
535
|
+
readonly type: "function";
|
|
536
|
+
}, {
|
|
537
|
+
readonly inputs: readonly [{
|
|
538
|
+
readonly internalType: "address";
|
|
539
|
+
readonly name: "lostAndFound";
|
|
540
|
+
readonly type: "address";
|
|
541
|
+
}];
|
|
542
|
+
readonly name: "initializeV2_1";
|
|
543
|
+
readonly outputs: readonly [];
|
|
544
|
+
readonly stateMutability: "nonpayable";
|
|
545
|
+
readonly type: "function";
|
|
546
|
+
}, {
|
|
547
|
+
readonly inputs: readonly [{
|
|
548
|
+
readonly internalType: "address[]";
|
|
549
|
+
readonly name: "accountsToBlacklist";
|
|
550
|
+
readonly type: "address[]";
|
|
551
|
+
}, {
|
|
552
|
+
readonly internalType: "string";
|
|
553
|
+
readonly name: "newSymbol";
|
|
554
|
+
readonly type: "string";
|
|
555
|
+
}];
|
|
556
|
+
readonly name: "initializeV2_2";
|
|
557
|
+
readonly outputs: readonly [];
|
|
558
|
+
readonly stateMutability: "nonpayable";
|
|
559
|
+
readonly type: "function";
|
|
560
|
+
}, {
|
|
561
|
+
readonly inputs: readonly [{
|
|
562
|
+
readonly internalType: "address";
|
|
563
|
+
readonly name: "_account";
|
|
564
|
+
readonly type: "address";
|
|
565
|
+
}];
|
|
566
|
+
readonly name: "isBlacklisted";
|
|
567
|
+
readonly outputs: readonly [{
|
|
568
|
+
readonly internalType: "bool";
|
|
569
|
+
readonly name: "";
|
|
570
|
+
readonly type: "bool";
|
|
571
|
+
}];
|
|
572
|
+
readonly stateMutability: "view";
|
|
573
|
+
readonly type: "function";
|
|
574
|
+
}, {
|
|
575
|
+
readonly inputs: readonly [{
|
|
576
|
+
readonly internalType: "address";
|
|
577
|
+
readonly name: "account";
|
|
578
|
+
readonly type: "address";
|
|
579
|
+
}];
|
|
580
|
+
readonly name: "isMinter";
|
|
581
|
+
readonly outputs: readonly [{
|
|
582
|
+
readonly internalType: "bool";
|
|
583
|
+
readonly name: "";
|
|
584
|
+
readonly type: "bool";
|
|
585
|
+
}];
|
|
586
|
+
readonly stateMutability: "view";
|
|
587
|
+
readonly type: "function";
|
|
588
|
+
}, {
|
|
589
|
+
readonly inputs: readonly [];
|
|
590
|
+
readonly name: "masterMinter";
|
|
591
|
+
readonly outputs: readonly [{
|
|
592
|
+
readonly internalType: "address";
|
|
593
|
+
readonly name: "";
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
}];
|
|
596
|
+
readonly stateMutability: "view";
|
|
597
|
+
readonly type: "function";
|
|
598
|
+
}, {
|
|
599
|
+
readonly inputs: readonly [{
|
|
600
|
+
readonly internalType: "address";
|
|
601
|
+
readonly name: "_to";
|
|
602
|
+
readonly type: "address";
|
|
603
|
+
}, {
|
|
604
|
+
readonly internalType: "uint256";
|
|
605
|
+
readonly name: "_amount";
|
|
606
|
+
readonly type: "uint256";
|
|
607
|
+
}];
|
|
608
|
+
readonly name: "mint";
|
|
609
|
+
readonly outputs: readonly [{
|
|
610
|
+
readonly internalType: "bool";
|
|
611
|
+
readonly name: "";
|
|
612
|
+
readonly type: "bool";
|
|
613
|
+
}];
|
|
614
|
+
readonly stateMutability: "nonpayable";
|
|
615
|
+
readonly type: "function";
|
|
616
|
+
}, {
|
|
617
|
+
readonly inputs: readonly [{
|
|
618
|
+
readonly internalType: "address";
|
|
619
|
+
readonly name: "minter";
|
|
620
|
+
readonly type: "address";
|
|
621
|
+
}];
|
|
622
|
+
readonly name: "minterAllowance";
|
|
623
|
+
readonly outputs: readonly [{
|
|
624
|
+
readonly internalType: "uint256";
|
|
625
|
+
readonly name: "";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
}];
|
|
628
|
+
readonly stateMutability: "view";
|
|
629
|
+
readonly type: "function";
|
|
630
|
+
}, {
|
|
631
|
+
readonly inputs: readonly [];
|
|
632
|
+
readonly name: "name";
|
|
633
|
+
readonly outputs: readonly [{
|
|
634
|
+
readonly internalType: "string";
|
|
635
|
+
readonly name: "";
|
|
636
|
+
readonly type: "string";
|
|
637
|
+
}];
|
|
638
|
+
readonly stateMutability: "view";
|
|
639
|
+
readonly type: "function";
|
|
640
|
+
}, {
|
|
641
|
+
readonly inputs: readonly [{
|
|
642
|
+
readonly internalType: "address";
|
|
643
|
+
readonly name: "owner";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
}];
|
|
646
|
+
readonly name: "nonces";
|
|
647
|
+
readonly outputs: readonly [{
|
|
648
|
+
readonly internalType: "uint256";
|
|
649
|
+
readonly name: "";
|
|
650
|
+
readonly type: "uint256";
|
|
651
|
+
}];
|
|
652
|
+
readonly stateMutability: "view";
|
|
653
|
+
readonly type: "function";
|
|
654
|
+
}, {
|
|
655
|
+
readonly inputs: readonly [];
|
|
656
|
+
readonly name: "owner";
|
|
657
|
+
readonly outputs: readonly [{
|
|
658
|
+
readonly internalType: "address";
|
|
659
|
+
readonly name: "";
|
|
660
|
+
readonly type: "address";
|
|
661
|
+
}];
|
|
662
|
+
readonly stateMutability: "view";
|
|
663
|
+
readonly type: "function";
|
|
664
|
+
}, {
|
|
665
|
+
readonly inputs: readonly [];
|
|
666
|
+
readonly name: "pause";
|
|
667
|
+
readonly outputs: readonly [];
|
|
668
|
+
readonly stateMutability: "nonpayable";
|
|
669
|
+
readonly type: "function";
|
|
670
|
+
}, {
|
|
671
|
+
readonly inputs: readonly [];
|
|
672
|
+
readonly name: "paused";
|
|
673
|
+
readonly outputs: readonly [{
|
|
674
|
+
readonly internalType: "bool";
|
|
675
|
+
readonly name: "";
|
|
676
|
+
readonly type: "bool";
|
|
677
|
+
}];
|
|
678
|
+
readonly stateMutability: "view";
|
|
679
|
+
readonly type: "function";
|
|
680
|
+
}, {
|
|
681
|
+
readonly inputs: readonly [];
|
|
682
|
+
readonly name: "pauser";
|
|
683
|
+
readonly outputs: readonly [{
|
|
684
|
+
readonly internalType: "address";
|
|
685
|
+
readonly name: "";
|
|
686
|
+
readonly type: "address";
|
|
687
|
+
}];
|
|
688
|
+
readonly stateMutability: "view";
|
|
689
|
+
readonly type: "function";
|
|
690
|
+
}, {
|
|
691
|
+
readonly inputs: readonly [{
|
|
692
|
+
readonly internalType: "address";
|
|
693
|
+
readonly name: "owner";
|
|
694
|
+
readonly type: "address";
|
|
695
|
+
}, {
|
|
696
|
+
readonly internalType: "address";
|
|
697
|
+
readonly name: "spender";
|
|
698
|
+
readonly type: "address";
|
|
699
|
+
}, {
|
|
700
|
+
readonly internalType: "uint256";
|
|
701
|
+
readonly name: "value";
|
|
702
|
+
readonly type: "uint256";
|
|
703
|
+
}, {
|
|
704
|
+
readonly internalType: "uint256";
|
|
705
|
+
readonly name: "deadline";
|
|
706
|
+
readonly type: "uint256";
|
|
707
|
+
}, {
|
|
708
|
+
readonly internalType: "bytes";
|
|
709
|
+
readonly name: "signature";
|
|
710
|
+
readonly type: "bytes";
|
|
711
|
+
}];
|
|
712
|
+
readonly name: "permit";
|
|
713
|
+
readonly outputs: readonly [];
|
|
714
|
+
readonly stateMutability: "nonpayable";
|
|
715
|
+
readonly type: "function";
|
|
716
|
+
}, {
|
|
717
|
+
readonly inputs: readonly [{
|
|
718
|
+
readonly internalType: "address";
|
|
719
|
+
readonly name: "owner";
|
|
720
|
+
readonly type: "address";
|
|
721
|
+
}, {
|
|
722
|
+
readonly internalType: "address";
|
|
723
|
+
readonly name: "spender";
|
|
724
|
+
readonly type: "address";
|
|
725
|
+
}, {
|
|
726
|
+
readonly internalType: "uint256";
|
|
727
|
+
readonly name: "value";
|
|
728
|
+
readonly type: "uint256";
|
|
729
|
+
}, {
|
|
730
|
+
readonly internalType: "uint256";
|
|
731
|
+
readonly name: "deadline";
|
|
732
|
+
readonly type: "uint256";
|
|
733
|
+
}, {
|
|
734
|
+
readonly internalType: "uint8";
|
|
735
|
+
readonly name: "v";
|
|
736
|
+
readonly type: "uint8";
|
|
737
|
+
}, {
|
|
738
|
+
readonly internalType: "bytes32";
|
|
739
|
+
readonly name: "r";
|
|
740
|
+
readonly type: "bytes32";
|
|
741
|
+
}, {
|
|
742
|
+
readonly internalType: "bytes32";
|
|
743
|
+
readonly name: "s";
|
|
744
|
+
readonly type: "bytes32";
|
|
745
|
+
}];
|
|
746
|
+
readonly name: "permit";
|
|
747
|
+
readonly outputs: readonly [];
|
|
748
|
+
readonly stateMutability: "nonpayable";
|
|
749
|
+
readonly type: "function";
|
|
750
|
+
}, {
|
|
751
|
+
readonly inputs: readonly [{
|
|
752
|
+
readonly internalType: "address";
|
|
753
|
+
readonly name: "from";
|
|
754
|
+
readonly type: "address";
|
|
755
|
+
}, {
|
|
756
|
+
readonly internalType: "address";
|
|
757
|
+
readonly name: "to";
|
|
758
|
+
readonly type: "address";
|
|
759
|
+
}, {
|
|
760
|
+
readonly internalType: "uint256";
|
|
761
|
+
readonly name: "value";
|
|
762
|
+
readonly type: "uint256";
|
|
763
|
+
}, {
|
|
764
|
+
readonly internalType: "uint256";
|
|
765
|
+
readonly name: "validAfter";
|
|
766
|
+
readonly type: "uint256";
|
|
767
|
+
}, {
|
|
768
|
+
readonly internalType: "uint256";
|
|
769
|
+
readonly name: "validBefore";
|
|
770
|
+
readonly type: "uint256";
|
|
771
|
+
}, {
|
|
772
|
+
readonly internalType: "bytes32";
|
|
773
|
+
readonly name: "nonce";
|
|
774
|
+
readonly type: "bytes32";
|
|
775
|
+
}, {
|
|
776
|
+
readonly internalType: "bytes";
|
|
777
|
+
readonly name: "signature";
|
|
778
|
+
readonly type: "bytes";
|
|
779
|
+
}];
|
|
780
|
+
readonly name: "receiveWithAuthorization";
|
|
781
|
+
readonly outputs: readonly [];
|
|
782
|
+
readonly stateMutability: "nonpayable";
|
|
783
|
+
readonly type: "function";
|
|
784
|
+
}, {
|
|
785
|
+
readonly inputs: readonly [{
|
|
786
|
+
readonly internalType: "address";
|
|
787
|
+
readonly name: "from";
|
|
788
|
+
readonly type: "address";
|
|
789
|
+
}, {
|
|
790
|
+
readonly internalType: "address";
|
|
791
|
+
readonly name: "to";
|
|
792
|
+
readonly type: "address";
|
|
793
|
+
}, {
|
|
794
|
+
readonly internalType: "uint256";
|
|
795
|
+
readonly name: "value";
|
|
796
|
+
readonly type: "uint256";
|
|
797
|
+
}, {
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
readonly name: "validAfter";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}, {
|
|
802
|
+
readonly internalType: "uint256";
|
|
803
|
+
readonly name: "validBefore";
|
|
804
|
+
readonly type: "uint256";
|
|
805
|
+
}, {
|
|
806
|
+
readonly internalType: "bytes32";
|
|
807
|
+
readonly name: "nonce";
|
|
808
|
+
readonly type: "bytes32";
|
|
809
|
+
}, {
|
|
810
|
+
readonly internalType: "uint8";
|
|
811
|
+
readonly name: "v";
|
|
812
|
+
readonly type: "uint8";
|
|
813
|
+
}, {
|
|
814
|
+
readonly internalType: "bytes32";
|
|
815
|
+
readonly name: "r";
|
|
816
|
+
readonly type: "bytes32";
|
|
817
|
+
}, {
|
|
818
|
+
readonly internalType: "bytes32";
|
|
819
|
+
readonly name: "s";
|
|
820
|
+
readonly type: "bytes32";
|
|
821
|
+
}];
|
|
822
|
+
readonly name: "receiveWithAuthorization";
|
|
823
|
+
readonly outputs: readonly [];
|
|
824
|
+
readonly stateMutability: "nonpayable";
|
|
825
|
+
readonly type: "function";
|
|
826
|
+
}, {
|
|
827
|
+
readonly inputs: readonly [{
|
|
828
|
+
readonly internalType: "address";
|
|
829
|
+
readonly name: "minter";
|
|
830
|
+
readonly type: "address";
|
|
831
|
+
}];
|
|
832
|
+
readonly name: "removeMinter";
|
|
833
|
+
readonly outputs: readonly [{
|
|
834
|
+
readonly internalType: "bool";
|
|
835
|
+
readonly name: "";
|
|
836
|
+
readonly type: "bool";
|
|
837
|
+
}];
|
|
838
|
+
readonly stateMutability: "nonpayable";
|
|
839
|
+
readonly type: "function";
|
|
840
|
+
}, {
|
|
841
|
+
readonly inputs: readonly [{
|
|
842
|
+
readonly internalType: "contract IERC20";
|
|
843
|
+
readonly name: "tokenContract";
|
|
844
|
+
readonly type: "address";
|
|
845
|
+
}, {
|
|
846
|
+
readonly internalType: "address";
|
|
847
|
+
readonly name: "to";
|
|
848
|
+
readonly type: "address";
|
|
849
|
+
}, {
|
|
850
|
+
readonly internalType: "uint256";
|
|
851
|
+
readonly name: "amount";
|
|
852
|
+
readonly type: "uint256";
|
|
853
|
+
}];
|
|
854
|
+
readonly name: "rescueERC20";
|
|
855
|
+
readonly outputs: readonly [];
|
|
856
|
+
readonly stateMutability: "nonpayable";
|
|
857
|
+
readonly type: "function";
|
|
858
|
+
}, {
|
|
859
|
+
readonly inputs: readonly [];
|
|
860
|
+
readonly name: "rescuer";
|
|
861
|
+
readonly outputs: readonly [{
|
|
862
|
+
readonly internalType: "address";
|
|
863
|
+
readonly name: "";
|
|
864
|
+
readonly type: "address";
|
|
865
|
+
}];
|
|
866
|
+
readonly stateMutability: "view";
|
|
867
|
+
readonly type: "function";
|
|
868
|
+
}, {
|
|
869
|
+
readonly inputs: readonly [];
|
|
870
|
+
readonly name: "symbol";
|
|
871
|
+
readonly outputs: readonly [{
|
|
872
|
+
readonly internalType: "string";
|
|
873
|
+
readonly name: "";
|
|
874
|
+
readonly type: "string";
|
|
875
|
+
}];
|
|
876
|
+
readonly stateMutability: "view";
|
|
877
|
+
readonly type: "function";
|
|
878
|
+
}, {
|
|
879
|
+
readonly inputs: readonly [];
|
|
880
|
+
readonly name: "totalSupply";
|
|
881
|
+
readonly outputs: readonly [{
|
|
882
|
+
readonly internalType: "uint256";
|
|
883
|
+
readonly name: "";
|
|
884
|
+
readonly type: "uint256";
|
|
885
|
+
}];
|
|
886
|
+
readonly stateMutability: "view";
|
|
887
|
+
readonly type: "function";
|
|
888
|
+
}, {
|
|
889
|
+
readonly inputs: readonly [{
|
|
890
|
+
readonly internalType: "address";
|
|
891
|
+
readonly name: "to";
|
|
892
|
+
readonly type: "address";
|
|
893
|
+
}, {
|
|
894
|
+
readonly internalType: "uint256";
|
|
895
|
+
readonly name: "value";
|
|
896
|
+
readonly type: "uint256";
|
|
897
|
+
}];
|
|
898
|
+
readonly name: "transfer";
|
|
899
|
+
readonly outputs: readonly [{
|
|
900
|
+
readonly internalType: "bool";
|
|
901
|
+
readonly name: "";
|
|
902
|
+
readonly type: "bool";
|
|
903
|
+
}];
|
|
904
|
+
readonly stateMutability: "nonpayable";
|
|
905
|
+
readonly type: "function";
|
|
906
|
+
}, {
|
|
907
|
+
readonly inputs: readonly [{
|
|
908
|
+
readonly internalType: "address";
|
|
909
|
+
readonly name: "from";
|
|
910
|
+
readonly type: "address";
|
|
911
|
+
}, {
|
|
912
|
+
readonly internalType: "address";
|
|
913
|
+
readonly name: "to";
|
|
914
|
+
readonly type: "address";
|
|
915
|
+
}, {
|
|
916
|
+
readonly internalType: "uint256";
|
|
917
|
+
readonly name: "value";
|
|
918
|
+
readonly type: "uint256";
|
|
919
|
+
}];
|
|
920
|
+
readonly name: "transferFrom";
|
|
921
|
+
readonly outputs: readonly [{
|
|
922
|
+
readonly internalType: "bool";
|
|
923
|
+
readonly name: "";
|
|
924
|
+
readonly type: "bool";
|
|
925
|
+
}];
|
|
926
|
+
readonly stateMutability: "nonpayable";
|
|
927
|
+
readonly type: "function";
|
|
928
|
+
}, {
|
|
929
|
+
readonly inputs: readonly [{
|
|
930
|
+
readonly internalType: "address";
|
|
931
|
+
readonly name: "newOwner";
|
|
932
|
+
readonly type: "address";
|
|
933
|
+
}];
|
|
934
|
+
readonly name: "transferOwnership";
|
|
935
|
+
readonly outputs: readonly [];
|
|
936
|
+
readonly stateMutability: "nonpayable";
|
|
937
|
+
readonly type: "function";
|
|
938
|
+
}, {
|
|
939
|
+
readonly inputs: readonly [{
|
|
940
|
+
readonly internalType: "address";
|
|
941
|
+
readonly name: "from";
|
|
942
|
+
readonly type: "address";
|
|
943
|
+
}, {
|
|
944
|
+
readonly internalType: "address";
|
|
945
|
+
readonly name: "to";
|
|
946
|
+
readonly type: "address";
|
|
947
|
+
}, {
|
|
948
|
+
readonly internalType: "uint256";
|
|
949
|
+
readonly name: "value";
|
|
950
|
+
readonly type: "uint256";
|
|
951
|
+
}, {
|
|
952
|
+
readonly internalType: "uint256";
|
|
953
|
+
readonly name: "validAfter";
|
|
954
|
+
readonly type: "uint256";
|
|
955
|
+
}, {
|
|
956
|
+
readonly internalType: "uint256";
|
|
957
|
+
readonly name: "validBefore";
|
|
958
|
+
readonly type: "uint256";
|
|
959
|
+
}, {
|
|
960
|
+
readonly internalType: "bytes32";
|
|
961
|
+
readonly name: "nonce";
|
|
962
|
+
readonly type: "bytes32";
|
|
963
|
+
}, {
|
|
964
|
+
readonly internalType: "bytes";
|
|
965
|
+
readonly name: "signature";
|
|
966
|
+
readonly type: "bytes";
|
|
967
|
+
}];
|
|
968
|
+
readonly name: "transferWithAuthorization";
|
|
969
|
+
readonly outputs: readonly [];
|
|
970
|
+
readonly stateMutability: "nonpayable";
|
|
971
|
+
readonly type: "function";
|
|
972
|
+
}, {
|
|
973
|
+
readonly inputs: readonly [{
|
|
974
|
+
readonly internalType: "address";
|
|
975
|
+
readonly name: "from";
|
|
976
|
+
readonly type: "address";
|
|
977
|
+
}, {
|
|
978
|
+
readonly internalType: "address";
|
|
979
|
+
readonly name: "to";
|
|
980
|
+
readonly type: "address";
|
|
981
|
+
}, {
|
|
982
|
+
readonly internalType: "uint256";
|
|
983
|
+
readonly name: "value";
|
|
984
|
+
readonly type: "uint256";
|
|
985
|
+
}, {
|
|
986
|
+
readonly internalType: "uint256";
|
|
987
|
+
readonly name: "validAfter";
|
|
988
|
+
readonly type: "uint256";
|
|
989
|
+
}, {
|
|
990
|
+
readonly internalType: "uint256";
|
|
991
|
+
readonly name: "validBefore";
|
|
992
|
+
readonly type: "uint256";
|
|
993
|
+
}, {
|
|
994
|
+
readonly internalType: "bytes32";
|
|
995
|
+
readonly name: "nonce";
|
|
996
|
+
readonly type: "bytes32";
|
|
997
|
+
}, {
|
|
998
|
+
readonly internalType: "uint8";
|
|
999
|
+
readonly name: "v";
|
|
1000
|
+
readonly type: "uint8";
|
|
1001
|
+
}, {
|
|
1002
|
+
readonly internalType: "bytes32";
|
|
1003
|
+
readonly name: "r";
|
|
1004
|
+
readonly type: "bytes32";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly internalType: "bytes32";
|
|
1007
|
+
readonly name: "s";
|
|
1008
|
+
readonly type: "bytes32";
|
|
1009
|
+
}];
|
|
1010
|
+
readonly name: "transferWithAuthorization";
|
|
1011
|
+
readonly outputs: readonly [];
|
|
1012
|
+
readonly stateMutability: "nonpayable";
|
|
1013
|
+
readonly type: "function";
|
|
1014
|
+
}, {
|
|
1015
|
+
readonly inputs: readonly [{
|
|
1016
|
+
readonly internalType: "address";
|
|
1017
|
+
readonly name: "_account";
|
|
1018
|
+
readonly type: "address";
|
|
1019
|
+
}];
|
|
1020
|
+
readonly name: "unBlacklist";
|
|
1021
|
+
readonly outputs: readonly [];
|
|
1022
|
+
readonly stateMutability: "nonpayable";
|
|
1023
|
+
readonly type: "function";
|
|
1024
|
+
}, {
|
|
1025
|
+
readonly inputs: readonly [];
|
|
1026
|
+
readonly name: "unpause";
|
|
1027
|
+
readonly outputs: readonly [];
|
|
1028
|
+
readonly stateMutability: "nonpayable";
|
|
1029
|
+
readonly type: "function";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly inputs: readonly [{
|
|
1032
|
+
readonly internalType: "address";
|
|
1033
|
+
readonly name: "_newBlacklister";
|
|
1034
|
+
readonly type: "address";
|
|
1035
|
+
}];
|
|
1036
|
+
readonly name: "updateBlacklister";
|
|
1037
|
+
readonly outputs: readonly [];
|
|
1038
|
+
readonly stateMutability: "nonpayable";
|
|
1039
|
+
readonly type: "function";
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly inputs: readonly [{
|
|
1042
|
+
readonly internalType: "address";
|
|
1043
|
+
readonly name: "_newMasterMinter";
|
|
1044
|
+
readonly type: "address";
|
|
1045
|
+
}];
|
|
1046
|
+
readonly name: "updateMasterMinter";
|
|
1047
|
+
readonly outputs: readonly [];
|
|
1048
|
+
readonly stateMutability: "nonpayable";
|
|
1049
|
+
readonly type: "function";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly inputs: readonly [{
|
|
1052
|
+
readonly internalType: "address";
|
|
1053
|
+
readonly name: "_newPauser";
|
|
1054
|
+
readonly type: "address";
|
|
1055
|
+
}];
|
|
1056
|
+
readonly name: "updatePauser";
|
|
1057
|
+
readonly outputs: readonly [];
|
|
1058
|
+
readonly stateMutability: "nonpayable";
|
|
1059
|
+
readonly type: "function";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly inputs: readonly [{
|
|
1062
|
+
readonly internalType: "address";
|
|
1063
|
+
readonly name: "newRescuer";
|
|
1064
|
+
readonly type: "address";
|
|
1065
|
+
}];
|
|
1066
|
+
readonly name: "updateRescuer";
|
|
1067
|
+
readonly outputs: readonly [];
|
|
1068
|
+
readonly stateMutability: "nonpayable";
|
|
1069
|
+
readonly type: "function";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly inputs: readonly [];
|
|
1072
|
+
readonly name: "version";
|
|
1073
|
+
readonly outputs: readonly [{
|
|
1074
|
+
readonly internalType: "string";
|
|
1075
|
+
readonly name: "";
|
|
1076
|
+
readonly type: "string";
|
|
1077
|
+
}];
|
|
1078
|
+
readonly stateMutability: "pure";
|
|
1079
|
+
readonly type: "function";
|
|
1080
|
+
}];
|
|
1081
|
+
/**
|
|
1082
|
+
* Type-safe ABI for FiatTokenV2_2_json
|
|
1083
|
+
*/
|
|
1084
|
+
export type FiatTokenV2_2_jsonAbi = typeof FiatTokenV2_2_jsonAbi;
|
|
1085
|
+
/**
|
|
1086
|
+
* Contract instance type for FiatTokenV2_2_json
|
|
1087
|
+
*/
|
|
1088
|
+
export type FiatTokenV2_2_jsonContract = any;
|
|
1089
|
+
/**
|
|
1090
|
+
* FiatTokenV2_2_json Contract Class
|
|
1091
|
+
*
|
|
1092
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1093
|
+
*
|
|
1094
|
+
* @example
|
|
1095
|
+
* ```typescript
|
|
1096
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1097
|
+
* import { mainnet } from 'viem/chains';
|
|
1098
|
+
* import { FiatTokenV2_2_json } from 'FiatTokenV2_2_json';
|
|
1099
|
+
*
|
|
1100
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1101
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1102
|
+
*
|
|
1103
|
+
* const contract = new FiatTokenV2_2_json('0x...', { publicClient, walletClient });
|
|
1104
|
+
*
|
|
1105
|
+
* // Read functions
|
|
1106
|
+
* const result = await contract.balanceOf('0x...');
|
|
1107
|
+
*
|
|
1108
|
+
* // Write functions
|
|
1109
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1110
|
+
*
|
|
1111
|
+
* // Simulate transactions (dry-run)
|
|
1112
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1113
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1114
|
+
*
|
|
1115
|
+
* // Watch events
|
|
1116
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1117
|
+
* console.log('Transfer event:', event);
|
|
1118
|
+
* });
|
|
1119
|
+
* ```
|
|
1120
|
+
*/
|
|
1121
|
+
export declare class FiatTokenV2_2_json {
|
|
1122
|
+
private contract;
|
|
1123
|
+
private contractAddress;
|
|
1124
|
+
private publicClient;
|
|
1125
|
+
constructor(address: Address, clients: {
|
|
1126
|
+
publicClient: PublicClient;
|
|
1127
|
+
walletClient?: WalletClient;
|
|
1128
|
+
});
|
|
1129
|
+
/**
|
|
1130
|
+
* Get the contract address
|
|
1131
|
+
*/
|
|
1132
|
+
get address(): Address;
|
|
1133
|
+
/**
|
|
1134
|
+
* Get the underlying viem contract instance
|
|
1135
|
+
*/
|
|
1136
|
+
getContract(): FiatTokenV2_2_jsonContract;
|
|
1137
|
+
/**
|
|
1138
|
+
* CANCEL_AUTHORIZATION_TYPEHASH
|
|
1139
|
+
* view
|
|
1140
|
+
*/
|
|
1141
|
+
CANCEL_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
|
|
1142
|
+
/**
|
|
1143
|
+
* DOMAIN_SEPARATOR
|
|
1144
|
+
* view
|
|
1145
|
+
*/
|
|
1146
|
+
DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
|
|
1147
|
+
/**
|
|
1148
|
+
* PERMIT_TYPEHASH
|
|
1149
|
+
* view
|
|
1150
|
+
*/
|
|
1151
|
+
PERMIT_TYPEHASH(): Promise<`0x${string}`>;
|
|
1152
|
+
/**
|
|
1153
|
+
* RECEIVE_WITH_AUTHORIZATION_TYPEHASH
|
|
1154
|
+
* view
|
|
1155
|
+
*/
|
|
1156
|
+
RECEIVE_WITH_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
|
|
1157
|
+
/**
|
|
1158
|
+
* TRANSFER_WITH_AUTHORIZATION_TYPEHASH
|
|
1159
|
+
* view
|
|
1160
|
+
*/
|
|
1161
|
+
TRANSFER_WITH_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
|
|
1162
|
+
/**
|
|
1163
|
+
* allowance
|
|
1164
|
+
* view
|
|
1165
|
+
*/
|
|
1166
|
+
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
1167
|
+
/**
|
|
1168
|
+
* authorizationState
|
|
1169
|
+
* view
|
|
1170
|
+
*/
|
|
1171
|
+
authorizationState(authorizer: `0x${string}`, nonce: `0x${string}`): Promise<boolean>;
|
|
1172
|
+
/**
|
|
1173
|
+
* balanceOf
|
|
1174
|
+
* view
|
|
1175
|
+
*/
|
|
1176
|
+
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
1177
|
+
/**
|
|
1178
|
+
* blacklister
|
|
1179
|
+
* view
|
|
1180
|
+
*/
|
|
1181
|
+
blacklister(): Promise<`0x${string}`>;
|
|
1182
|
+
/**
|
|
1183
|
+
* currency
|
|
1184
|
+
* view
|
|
1185
|
+
*/
|
|
1186
|
+
currency(): Promise<string>;
|
|
1187
|
+
/**
|
|
1188
|
+
* decimals
|
|
1189
|
+
* view
|
|
1190
|
+
*/
|
|
1191
|
+
decimals(): Promise<bigint>;
|
|
1192
|
+
/**
|
|
1193
|
+
* isBlacklisted
|
|
1194
|
+
* view
|
|
1195
|
+
*/
|
|
1196
|
+
isBlacklisted(_account: `0x${string}`): Promise<boolean>;
|
|
1197
|
+
/**
|
|
1198
|
+
* isMinter
|
|
1199
|
+
* view
|
|
1200
|
+
*/
|
|
1201
|
+
isMinter(account: `0x${string}`): Promise<boolean>;
|
|
1202
|
+
/**
|
|
1203
|
+
* masterMinter
|
|
1204
|
+
* view
|
|
1205
|
+
*/
|
|
1206
|
+
masterMinter(): Promise<`0x${string}`>;
|
|
1207
|
+
/**
|
|
1208
|
+
* minterAllowance
|
|
1209
|
+
* view
|
|
1210
|
+
*/
|
|
1211
|
+
minterAllowance(minter: `0x${string}`): Promise<bigint>;
|
|
1212
|
+
/**
|
|
1213
|
+
* name
|
|
1214
|
+
* view
|
|
1215
|
+
*/
|
|
1216
|
+
name(): Promise<string>;
|
|
1217
|
+
/**
|
|
1218
|
+
* nonces
|
|
1219
|
+
* view
|
|
1220
|
+
*/
|
|
1221
|
+
nonces(owner: `0x${string}`): Promise<bigint>;
|
|
1222
|
+
/**
|
|
1223
|
+
* owner
|
|
1224
|
+
* view
|
|
1225
|
+
*/
|
|
1226
|
+
owner(): Promise<`0x${string}`>;
|
|
1227
|
+
/**
|
|
1228
|
+
* paused
|
|
1229
|
+
* view
|
|
1230
|
+
*/
|
|
1231
|
+
paused(): Promise<boolean>;
|
|
1232
|
+
/**
|
|
1233
|
+
* pauser
|
|
1234
|
+
* view
|
|
1235
|
+
*/
|
|
1236
|
+
pauser(): Promise<`0x${string}`>;
|
|
1237
|
+
/**
|
|
1238
|
+
* rescuer
|
|
1239
|
+
* view
|
|
1240
|
+
*/
|
|
1241
|
+
rescuer(): Promise<`0x${string}`>;
|
|
1242
|
+
/**
|
|
1243
|
+
* symbol
|
|
1244
|
+
* view
|
|
1245
|
+
*/
|
|
1246
|
+
symbol(): Promise<string>;
|
|
1247
|
+
/**
|
|
1248
|
+
* totalSupply
|
|
1249
|
+
* view
|
|
1250
|
+
*/
|
|
1251
|
+
totalSupply(): Promise<bigint>;
|
|
1252
|
+
/**
|
|
1253
|
+
* version
|
|
1254
|
+
* pure
|
|
1255
|
+
*/
|
|
1256
|
+
version(): Promise<string>;
|
|
1257
|
+
/**
|
|
1258
|
+
* approve
|
|
1259
|
+
* nonpayable
|
|
1260
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1261
|
+
*/
|
|
1262
|
+
approve(spender: `0x${string}`, value: bigint, options?: {
|
|
1263
|
+
accessList?: import('viem').AccessList;
|
|
1264
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1265
|
+
chain?: import('viem').Chain | null;
|
|
1266
|
+
dataSuffix?: `0x${string}`;
|
|
1267
|
+
gas?: bigint;
|
|
1268
|
+
gasPrice?: bigint;
|
|
1269
|
+
maxFeePerGas?: bigint;
|
|
1270
|
+
maxPriorityFeePerGas?: bigint;
|
|
1271
|
+
nonce?: number;
|
|
1272
|
+
value?: bigint;
|
|
1273
|
+
}): Promise<`0x${string}`>;
|
|
1274
|
+
/**
|
|
1275
|
+
* blacklist
|
|
1276
|
+
* nonpayable
|
|
1277
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1278
|
+
*/
|
|
1279
|
+
blacklist(_account: `0x${string}`, options?: {
|
|
1280
|
+
accessList?: import('viem').AccessList;
|
|
1281
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1282
|
+
chain?: import('viem').Chain | null;
|
|
1283
|
+
dataSuffix?: `0x${string}`;
|
|
1284
|
+
gas?: bigint;
|
|
1285
|
+
gasPrice?: bigint;
|
|
1286
|
+
maxFeePerGas?: bigint;
|
|
1287
|
+
maxPriorityFeePerGas?: bigint;
|
|
1288
|
+
nonce?: number;
|
|
1289
|
+
value?: bigint;
|
|
1290
|
+
}): Promise<`0x${string}`>;
|
|
1291
|
+
/**
|
|
1292
|
+
* burn
|
|
1293
|
+
* nonpayable
|
|
1294
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1295
|
+
*/
|
|
1296
|
+
burn(_amount: bigint, options?: {
|
|
1297
|
+
accessList?: import('viem').AccessList;
|
|
1298
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1299
|
+
chain?: import('viem').Chain | null;
|
|
1300
|
+
dataSuffix?: `0x${string}`;
|
|
1301
|
+
gas?: bigint;
|
|
1302
|
+
gasPrice?: bigint;
|
|
1303
|
+
maxFeePerGas?: bigint;
|
|
1304
|
+
maxPriorityFeePerGas?: bigint;
|
|
1305
|
+
nonce?: number;
|
|
1306
|
+
value?: bigint;
|
|
1307
|
+
}): Promise<`0x${string}`>;
|
|
1308
|
+
cancelAuthorization(authorizer: `0x${string}`, nonce: `0x${string}`, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1309
|
+
accessList?: import('viem').AccessList;
|
|
1310
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1311
|
+
chain?: import('viem').Chain | null;
|
|
1312
|
+
dataSuffix?: `0x${string}`;
|
|
1313
|
+
gas?: bigint;
|
|
1314
|
+
gasPrice?: bigint;
|
|
1315
|
+
maxFeePerGas?: bigint;
|
|
1316
|
+
maxPriorityFeePerGas?: bigint;
|
|
1317
|
+
nonce?: number;
|
|
1318
|
+
value?: bigint;
|
|
1319
|
+
}): Promise<`0x${string}`>;
|
|
1320
|
+
cancelAuthorization(authorizer: `0x${string}`, nonce: `0x${string}`, signature: `0x${string}`, options?: {
|
|
1321
|
+
accessList?: import('viem').AccessList;
|
|
1322
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1323
|
+
chain?: import('viem').Chain | null;
|
|
1324
|
+
dataSuffix?: `0x${string}`;
|
|
1325
|
+
gas?: bigint;
|
|
1326
|
+
gasPrice?: bigint;
|
|
1327
|
+
maxFeePerGas?: bigint;
|
|
1328
|
+
maxPriorityFeePerGas?: bigint;
|
|
1329
|
+
nonce?: number;
|
|
1330
|
+
value?: bigint;
|
|
1331
|
+
}): Promise<`0x${string}`>;
|
|
1332
|
+
/**
|
|
1333
|
+
* configureMinter
|
|
1334
|
+
* nonpayable
|
|
1335
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1336
|
+
*/
|
|
1337
|
+
configureMinter(minter: `0x${string}`, minterAllowedAmount: bigint, options?: {
|
|
1338
|
+
accessList?: import('viem').AccessList;
|
|
1339
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1340
|
+
chain?: import('viem').Chain | null;
|
|
1341
|
+
dataSuffix?: `0x${string}`;
|
|
1342
|
+
gas?: bigint;
|
|
1343
|
+
gasPrice?: bigint;
|
|
1344
|
+
maxFeePerGas?: bigint;
|
|
1345
|
+
maxPriorityFeePerGas?: bigint;
|
|
1346
|
+
nonce?: number;
|
|
1347
|
+
value?: bigint;
|
|
1348
|
+
}): Promise<`0x${string}`>;
|
|
1349
|
+
/**
|
|
1350
|
+
* decreaseAllowance
|
|
1351
|
+
* nonpayable
|
|
1352
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1353
|
+
*/
|
|
1354
|
+
decreaseAllowance(spender: `0x${string}`, decrement: bigint, options?: {
|
|
1355
|
+
accessList?: import('viem').AccessList;
|
|
1356
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1357
|
+
chain?: import('viem').Chain | null;
|
|
1358
|
+
dataSuffix?: `0x${string}`;
|
|
1359
|
+
gas?: bigint;
|
|
1360
|
+
gasPrice?: bigint;
|
|
1361
|
+
maxFeePerGas?: bigint;
|
|
1362
|
+
maxPriorityFeePerGas?: bigint;
|
|
1363
|
+
nonce?: number;
|
|
1364
|
+
value?: bigint;
|
|
1365
|
+
}): Promise<`0x${string}`>;
|
|
1366
|
+
/**
|
|
1367
|
+
* increaseAllowance
|
|
1368
|
+
* nonpayable
|
|
1369
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1370
|
+
*/
|
|
1371
|
+
increaseAllowance(spender: `0x${string}`, increment: bigint, options?: {
|
|
1372
|
+
accessList?: import('viem').AccessList;
|
|
1373
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1374
|
+
chain?: import('viem').Chain | null;
|
|
1375
|
+
dataSuffix?: `0x${string}`;
|
|
1376
|
+
gas?: bigint;
|
|
1377
|
+
gasPrice?: bigint;
|
|
1378
|
+
maxFeePerGas?: bigint;
|
|
1379
|
+
maxPriorityFeePerGas?: bigint;
|
|
1380
|
+
nonce?: number;
|
|
1381
|
+
value?: bigint;
|
|
1382
|
+
}): Promise<`0x${string}`>;
|
|
1383
|
+
/**
|
|
1384
|
+
* initialize
|
|
1385
|
+
* nonpayable
|
|
1386
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1387
|
+
*/
|
|
1388
|
+
initialize(tokenName: string, tokenSymbol: string, tokenCurrency: string, tokenDecimals: bigint, newMasterMinter: `0x${string}`, newPauser: `0x${string}`, newBlacklister: `0x${string}`, newOwner: `0x${string}`, options?: {
|
|
1389
|
+
accessList?: import('viem').AccessList;
|
|
1390
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1391
|
+
chain?: import('viem').Chain | null;
|
|
1392
|
+
dataSuffix?: `0x${string}`;
|
|
1393
|
+
gas?: bigint;
|
|
1394
|
+
gasPrice?: bigint;
|
|
1395
|
+
maxFeePerGas?: bigint;
|
|
1396
|
+
maxPriorityFeePerGas?: bigint;
|
|
1397
|
+
nonce?: number;
|
|
1398
|
+
value?: bigint;
|
|
1399
|
+
}): Promise<`0x${string}`>;
|
|
1400
|
+
/**
|
|
1401
|
+
* initializeV2
|
|
1402
|
+
* nonpayable
|
|
1403
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1404
|
+
*/
|
|
1405
|
+
initializeV2(newName: string, options?: {
|
|
1406
|
+
accessList?: import('viem').AccessList;
|
|
1407
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1408
|
+
chain?: import('viem').Chain | null;
|
|
1409
|
+
dataSuffix?: `0x${string}`;
|
|
1410
|
+
gas?: bigint;
|
|
1411
|
+
gasPrice?: bigint;
|
|
1412
|
+
maxFeePerGas?: bigint;
|
|
1413
|
+
maxPriorityFeePerGas?: bigint;
|
|
1414
|
+
nonce?: number;
|
|
1415
|
+
value?: bigint;
|
|
1416
|
+
}): Promise<`0x${string}`>;
|
|
1417
|
+
/**
|
|
1418
|
+
* initializeV2_1
|
|
1419
|
+
* nonpayable
|
|
1420
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1421
|
+
*/
|
|
1422
|
+
initializeV2_1(lostAndFound: `0x${string}`, options?: {
|
|
1423
|
+
accessList?: import('viem').AccessList;
|
|
1424
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1425
|
+
chain?: import('viem').Chain | null;
|
|
1426
|
+
dataSuffix?: `0x${string}`;
|
|
1427
|
+
gas?: bigint;
|
|
1428
|
+
gasPrice?: bigint;
|
|
1429
|
+
maxFeePerGas?: bigint;
|
|
1430
|
+
maxPriorityFeePerGas?: bigint;
|
|
1431
|
+
nonce?: number;
|
|
1432
|
+
value?: bigint;
|
|
1433
|
+
}): Promise<`0x${string}`>;
|
|
1434
|
+
/**
|
|
1435
|
+
* initializeV2_2
|
|
1436
|
+
* nonpayable
|
|
1437
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1438
|
+
*/
|
|
1439
|
+
initializeV2_2(accountsToBlacklist: `0x${string}`[], newSymbol: string, options?: {
|
|
1440
|
+
accessList?: import('viem').AccessList;
|
|
1441
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1442
|
+
chain?: import('viem').Chain | null;
|
|
1443
|
+
dataSuffix?: `0x${string}`;
|
|
1444
|
+
gas?: bigint;
|
|
1445
|
+
gasPrice?: bigint;
|
|
1446
|
+
maxFeePerGas?: bigint;
|
|
1447
|
+
maxPriorityFeePerGas?: bigint;
|
|
1448
|
+
nonce?: number;
|
|
1449
|
+
value?: bigint;
|
|
1450
|
+
}): Promise<`0x${string}`>;
|
|
1451
|
+
/**
|
|
1452
|
+
* mint
|
|
1453
|
+
* nonpayable
|
|
1454
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1455
|
+
*/
|
|
1456
|
+
mint(_to: `0x${string}`, _amount: bigint, options?: {
|
|
1457
|
+
accessList?: import('viem').AccessList;
|
|
1458
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1459
|
+
chain?: import('viem').Chain | null;
|
|
1460
|
+
dataSuffix?: `0x${string}`;
|
|
1461
|
+
gas?: bigint;
|
|
1462
|
+
gasPrice?: bigint;
|
|
1463
|
+
maxFeePerGas?: bigint;
|
|
1464
|
+
maxPriorityFeePerGas?: bigint;
|
|
1465
|
+
nonce?: number;
|
|
1466
|
+
value?: bigint;
|
|
1467
|
+
}): Promise<`0x${string}`>;
|
|
1468
|
+
/**
|
|
1469
|
+
* pause
|
|
1470
|
+
* nonpayable
|
|
1471
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1472
|
+
*/
|
|
1473
|
+
pause(options?: {
|
|
1474
|
+
accessList?: import('viem').AccessList;
|
|
1475
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1476
|
+
chain?: import('viem').Chain | null;
|
|
1477
|
+
dataSuffix?: `0x${string}`;
|
|
1478
|
+
gas?: bigint;
|
|
1479
|
+
gasPrice?: bigint;
|
|
1480
|
+
maxFeePerGas?: bigint;
|
|
1481
|
+
maxPriorityFeePerGas?: bigint;
|
|
1482
|
+
nonce?: number;
|
|
1483
|
+
value?: bigint;
|
|
1484
|
+
}): Promise<`0x${string}`>;
|
|
1485
|
+
permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, signature: `0x${string}`, options?: {
|
|
1486
|
+
accessList?: import('viem').AccessList;
|
|
1487
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1488
|
+
chain?: import('viem').Chain | null;
|
|
1489
|
+
dataSuffix?: `0x${string}`;
|
|
1490
|
+
gas?: bigint;
|
|
1491
|
+
gasPrice?: bigint;
|
|
1492
|
+
maxFeePerGas?: bigint;
|
|
1493
|
+
maxPriorityFeePerGas?: bigint;
|
|
1494
|
+
nonce?: number;
|
|
1495
|
+
value?: bigint;
|
|
1496
|
+
}): Promise<`0x${string}`>;
|
|
1497
|
+
permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1498
|
+
accessList?: import('viem').AccessList;
|
|
1499
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1500
|
+
chain?: import('viem').Chain | null;
|
|
1501
|
+
dataSuffix?: `0x${string}`;
|
|
1502
|
+
gas?: bigint;
|
|
1503
|
+
gasPrice?: bigint;
|
|
1504
|
+
maxFeePerGas?: bigint;
|
|
1505
|
+
maxPriorityFeePerGas?: bigint;
|
|
1506
|
+
nonce?: number;
|
|
1507
|
+
value?: bigint;
|
|
1508
|
+
}): Promise<`0x${string}`>;
|
|
1509
|
+
receiveWithAuthorization(from: `0x${string}`, to: `0x${string}`, value: bigint, validAfter: bigint, validBefore: bigint, nonce: `0x${string}`, signature: `0x${string}`, options?: {
|
|
1510
|
+
accessList?: import('viem').AccessList;
|
|
1511
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1512
|
+
chain?: import('viem').Chain | null;
|
|
1513
|
+
dataSuffix?: `0x${string}`;
|
|
1514
|
+
gas?: bigint;
|
|
1515
|
+
gasPrice?: bigint;
|
|
1516
|
+
maxFeePerGas?: bigint;
|
|
1517
|
+
maxPriorityFeePerGas?: bigint;
|
|
1518
|
+
nonce?: number;
|
|
1519
|
+
value?: bigint;
|
|
1520
|
+
}): Promise<`0x${string}`>;
|
|
1521
|
+
receiveWithAuthorization(from: `0x${string}`, to: `0x${string}`, value: bigint, validAfter: bigint, validBefore: bigint, nonce: `0x${string}`, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1522
|
+
accessList?: import('viem').AccessList;
|
|
1523
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1524
|
+
chain?: import('viem').Chain | null;
|
|
1525
|
+
dataSuffix?: `0x${string}`;
|
|
1526
|
+
gas?: bigint;
|
|
1527
|
+
gasPrice?: bigint;
|
|
1528
|
+
maxFeePerGas?: bigint;
|
|
1529
|
+
maxPriorityFeePerGas?: bigint;
|
|
1530
|
+
nonce?: number;
|
|
1531
|
+
value?: bigint;
|
|
1532
|
+
}): Promise<`0x${string}`>;
|
|
1533
|
+
/**
|
|
1534
|
+
* removeMinter
|
|
1535
|
+
* nonpayable
|
|
1536
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1537
|
+
*/
|
|
1538
|
+
removeMinter(minter: `0x${string}`, 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<`0x${string}`>;
|
|
1550
|
+
/**
|
|
1551
|
+
* rescueERC20
|
|
1552
|
+
* nonpayable
|
|
1553
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1554
|
+
*/
|
|
1555
|
+
rescueERC20(tokenContract: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1556
|
+
accessList?: import('viem').AccessList;
|
|
1557
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1558
|
+
chain?: import('viem').Chain | null;
|
|
1559
|
+
dataSuffix?: `0x${string}`;
|
|
1560
|
+
gas?: bigint;
|
|
1561
|
+
gasPrice?: bigint;
|
|
1562
|
+
maxFeePerGas?: bigint;
|
|
1563
|
+
maxPriorityFeePerGas?: bigint;
|
|
1564
|
+
nonce?: number;
|
|
1565
|
+
value?: bigint;
|
|
1566
|
+
}): Promise<`0x${string}`>;
|
|
1567
|
+
/**
|
|
1568
|
+
* transfer
|
|
1569
|
+
* nonpayable
|
|
1570
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1571
|
+
*/
|
|
1572
|
+
transfer(to: `0x${string}`, value: bigint, options?: {
|
|
1573
|
+
accessList?: import('viem').AccessList;
|
|
1574
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1575
|
+
chain?: import('viem').Chain | null;
|
|
1576
|
+
dataSuffix?: `0x${string}`;
|
|
1577
|
+
gas?: bigint;
|
|
1578
|
+
gasPrice?: bigint;
|
|
1579
|
+
maxFeePerGas?: bigint;
|
|
1580
|
+
maxPriorityFeePerGas?: bigint;
|
|
1581
|
+
nonce?: number;
|
|
1582
|
+
value?: bigint;
|
|
1583
|
+
}): Promise<`0x${string}`>;
|
|
1584
|
+
/**
|
|
1585
|
+
* transferFrom
|
|
1586
|
+
* nonpayable
|
|
1587
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1588
|
+
*/
|
|
1589
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
|
|
1590
|
+
accessList?: import('viem').AccessList;
|
|
1591
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1592
|
+
chain?: import('viem').Chain | null;
|
|
1593
|
+
dataSuffix?: `0x${string}`;
|
|
1594
|
+
gas?: bigint;
|
|
1595
|
+
gasPrice?: bigint;
|
|
1596
|
+
maxFeePerGas?: bigint;
|
|
1597
|
+
maxPriorityFeePerGas?: bigint;
|
|
1598
|
+
nonce?: number;
|
|
1599
|
+
value?: bigint;
|
|
1600
|
+
}): Promise<`0x${string}`>;
|
|
1601
|
+
/**
|
|
1602
|
+
* transferOwnership
|
|
1603
|
+
* nonpayable
|
|
1604
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1605
|
+
*/
|
|
1606
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1607
|
+
accessList?: import('viem').AccessList;
|
|
1608
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1609
|
+
chain?: import('viem').Chain | null;
|
|
1610
|
+
dataSuffix?: `0x${string}`;
|
|
1611
|
+
gas?: bigint;
|
|
1612
|
+
gasPrice?: bigint;
|
|
1613
|
+
maxFeePerGas?: bigint;
|
|
1614
|
+
maxPriorityFeePerGas?: bigint;
|
|
1615
|
+
nonce?: number;
|
|
1616
|
+
value?: bigint;
|
|
1617
|
+
}): Promise<`0x${string}`>;
|
|
1618
|
+
transferWithAuthorization(from: `0x${string}`, to: `0x${string}`, value: bigint, validAfter: bigint, validBefore: bigint, nonce: `0x${string}`, signature: `0x${string}`, options?: {
|
|
1619
|
+
accessList?: import('viem').AccessList;
|
|
1620
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1621
|
+
chain?: import('viem').Chain | null;
|
|
1622
|
+
dataSuffix?: `0x${string}`;
|
|
1623
|
+
gas?: bigint;
|
|
1624
|
+
gasPrice?: bigint;
|
|
1625
|
+
maxFeePerGas?: bigint;
|
|
1626
|
+
maxPriorityFeePerGas?: bigint;
|
|
1627
|
+
nonce?: number;
|
|
1628
|
+
value?: bigint;
|
|
1629
|
+
}): Promise<`0x${string}`>;
|
|
1630
|
+
transferWithAuthorization(from: `0x${string}`, to: `0x${string}`, value: bigint, validAfter: bigint, validBefore: bigint, nonce: `0x${string}`, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1631
|
+
accessList?: import('viem').AccessList;
|
|
1632
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1633
|
+
chain?: import('viem').Chain | null;
|
|
1634
|
+
dataSuffix?: `0x${string}`;
|
|
1635
|
+
gas?: bigint;
|
|
1636
|
+
gasPrice?: bigint;
|
|
1637
|
+
maxFeePerGas?: bigint;
|
|
1638
|
+
maxPriorityFeePerGas?: bigint;
|
|
1639
|
+
nonce?: number;
|
|
1640
|
+
value?: bigint;
|
|
1641
|
+
}): Promise<`0x${string}`>;
|
|
1642
|
+
/**
|
|
1643
|
+
* unBlacklist
|
|
1644
|
+
* nonpayable
|
|
1645
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1646
|
+
*/
|
|
1647
|
+
unBlacklist(_account: `0x${string}`, options?: {
|
|
1648
|
+
accessList?: import('viem').AccessList;
|
|
1649
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1650
|
+
chain?: import('viem').Chain | null;
|
|
1651
|
+
dataSuffix?: `0x${string}`;
|
|
1652
|
+
gas?: bigint;
|
|
1653
|
+
gasPrice?: bigint;
|
|
1654
|
+
maxFeePerGas?: bigint;
|
|
1655
|
+
maxPriorityFeePerGas?: bigint;
|
|
1656
|
+
nonce?: number;
|
|
1657
|
+
value?: bigint;
|
|
1658
|
+
}): Promise<`0x${string}`>;
|
|
1659
|
+
/**
|
|
1660
|
+
* unpause
|
|
1661
|
+
* nonpayable
|
|
1662
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1663
|
+
*/
|
|
1664
|
+
unpause(options?: {
|
|
1665
|
+
accessList?: import('viem').AccessList;
|
|
1666
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1667
|
+
chain?: import('viem').Chain | null;
|
|
1668
|
+
dataSuffix?: `0x${string}`;
|
|
1669
|
+
gas?: bigint;
|
|
1670
|
+
gasPrice?: bigint;
|
|
1671
|
+
maxFeePerGas?: bigint;
|
|
1672
|
+
maxPriorityFeePerGas?: bigint;
|
|
1673
|
+
nonce?: number;
|
|
1674
|
+
value?: bigint;
|
|
1675
|
+
}): Promise<`0x${string}`>;
|
|
1676
|
+
/**
|
|
1677
|
+
* updateBlacklister
|
|
1678
|
+
* nonpayable
|
|
1679
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1680
|
+
*/
|
|
1681
|
+
updateBlacklister(_newBlacklister: `0x${string}`, options?: {
|
|
1682
|
+
accessList?: import('viem').AccessList;
|
|
1683
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1684
|
+
chain?: import('viem').Chain | null;
|
|
1685
|
+
dataSuffix?: `0x${string}`;
|
|
1686
|
+
gas?: bigint;
|
|
1687
|
+
gasPrice?: bigint;
|
|
1688
|
+
maxFeePerGas?: bigint;
|
|
1689
|
+
maxPriorityFeePerGas?: bigint;
|
|
1690
|
+
nonce?: number;
|
|
1691
|
+
value?: bigint;
|
|
1692
|
+
}): Promise<`0x${string}`>;
|
|
1693
|
+
/**
|
|
1694
|
+
* updateMasterMinter
|
|
1695
|
+
* nonpayable
|
|
1696
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1697
|
+
*/
|
|
1698
|
+
updateMasterMinter(_newMasterMinter: `0x${string}`, options?: {
|
|
1699
|
+
accessList?: import('viem').AccessList;
|
|
1700
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1701
|
+
chain?: import('viem').Chain | null;
|
|
1702
|
+
dataSuffix?: `0x${string}`;
|
|
1703
|
+
gas?: bigint;
|
|
1704
|
+
gasPrice?: bigint;
|
|
1705
|
+
maxFeePerGas?: bigint;
|
|
1706
|
+
maxPriorityFeePerGas?: bigint;
|
|
1707
|
+
nonce?: number;
|
|
1708
|
+
value?: bigint;
|
|
1709
|
+
}): Promise<`0x${string}`>;
|
|
1710
|
+
/**
|
|
1711
|
+
* updatePauser
|
|
1712
|
+
* nonpayable
|
|
1713
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1714
|
+
*/
|
|
1715
|
+
updatePauser(_newPauser: `0x${string}`, options?: {
|
|
1716
|
+
accessList?: import('viem').AccessList;
|
|
1717
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1718
|
+
chain?: import('viem').Chain | null;
|
|
1719
|
+
dataSuffix?: `0x${string}`;
|
|
1720
|
+
gas?: bigint;
|
|
1721
|
+
gasPrice?: bigint;
|
|
1722
|
+
maxFeePerGas?: bigint;
|
|
1723
|
+
maxPriorityFeePerGas?: bigint;
|
|
1724
|
+
nonce?: number;
|
|
1725
|
+
value?: bigint;
|
|
1726
|
+
}): Promise<`0x${string}`>;
|
|
1727
|
+
/**
|
|
1728
|
+
* updateRescuer
|
|
1729
|
+
* nonpayable
|
|
1730
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1731
|
+
*/
|
|
1732
|
+
updateRescuer(newRescuer: `0x${string}`, options?: {
|
|
1733
|
+
accessList?: import('viem').AccessList;
|
|
1734
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1735
|
+
chain?: import('viem').Chain | null;
|
|
1736
|
+
dataSuffix?: `0x${string}`;
|
|
1737
|
+
gas?: bigint;
|
|
1738
|
+
gasPrice?: bigint;
|
|
1739
|
+
maxFeePerGas?: bigint;
|
|
1740
|
+
maxPriorityFeePerGas?: bigint;
|
|
1741
|
+
nonce?: number;
|
|
1742
|
+
value?: bigint;
|
|
1743
|
+
}): Promise<`0x${string}`>;
|
|
1744
|
+
/**
|
|
1745
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
1746
|
+
*
|
|
1747
|
+
* @example
|
|
1748
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
1749
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
1750
|
+
* console.log('Would succeed:', result.result);
|
|
1751
|
+
*/
|
|
1752
|
+
get simulate(): {
|
|
1753
|
+
/**
|
|
1754
|
+
* Simulate approve
|
|
1755
|
+
* Returns gas estimate and result without sending transaction
|
|
1756
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1757
|
+
*/
|
|
1758
|
+
approve(spender: `0x${string}`, value: bigint, options?: {
|
|
1759
|
+
accessList?: import("viem").AccessList;
|
|
1760
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1761
|
+
chain?: import("viem").Chain | null;
|
|
1762
|
+
dataSuffix?: `0x${string}`;
|
|
1763
|
+
gas?: bigint;
|
|
1764
|
+
gasPrice?: bigint;
|
|
1765
|
+
maxFeePerGas?: bigint;
|
|
1766
|
+
maxPriorityFeePerGas?: bigint;
|
|
1767
|
+
nonce?: number;
|
|
1768
|
+
value?: bigint;
|
|
1769
|
+
}): Promise<boolean>;
|
|
1770
|
+
/**
|
|
1771
|
+
* Simulate blacklist
|
|
1772
|
+
* Returns gas estimate and result without sending transaction
|
|
1773
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1774
|
+
*/
|
|
1775
|
+
blacklist(_account: `0x${string}`, options?: {
|
|
1776
|
+
accessList?: import("viem").AccessList;
|
|
1777
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1778
|
+
chain?: import("viem").Chain | null;
|
|
1779
|
+
dataSuffix?: `0x${string}`;
|
|
1780
|
+
gas?: bigint;
|
|
1781
|
+
gasPrice?: bigint;
|
|
1782
|
+
maxFeePerGas?: bigint;
|
|
1783
|
+
maxPriorityFeePerGas?: bigint;
|
|
1784
|
+
nonce?: number;
|
|
1785
|
+
value?: bigint;
|
|
1786
|
+
}): Promise<void>;
|
|
1787
|
+
/**
|
|
1788
|
+
* Simulate burn
|
|
1789
|
+
* Returns gas estimate and result without sending transaction
|
|
1790
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1791
|
+
*/
|
|
1792
|
+
burn(_amount: bigint, options?: {
|
|
1793
|
+
accessList?: import("viem").AccessList;
|
|
1794
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1795
|
+
chain?: import("viem").Chain | null;
|
|
1796
|
+
dataSuffix?: `0x${string}`;
|
|
1797
|
+
gas?: bigint;
|
|
1798
|
+
gasPrice?: bigint;
|
|
1799
|
+
maxFeePerGas?: bigint;
|
|
1800
|
+
maxPriorityFeePerGas?: bigint;
|
|
1801
|
+
nonce?: number;
|
|
1802
|
+
value?: bigint;
|
|
1803
|
+
}): Promise<void>;
|
|
1804
|
+
/**
|
|
1805
|
+
* Simulate cancelAuthorization
|
|
1806
|
+
* Returns gas estimate and result without sending transaction
|
|
1807
|
+
* Supports multiple overloads: (address, bytes32, uint8, bytes32, bytes32), (address, bytes32, bytes)
|
|
1808
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1809
|
+
*/
|
|
1810
|
+
cancelAuthorization(...args: any[]): Promise<any>;
|
|
1811
|
+
/**
|
|
1812
|
+
* Simulate configureMinter
|
|
1813
|
+
* Returns gas estimate and result without sending transaction
|
|
1814
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1815
|
+
*/
|
|
1816
|
+
configureMinter(minter: `0x${string}`, minterAllowedAmount: bigint, options?: {
|
|
1817
|
+
accessList?: import("viem").AccessList;
|
|
1818
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1819
|
+
chain?: import("viem").Chain | null;
|
|
1820
|
+
dataSuffix?: `0x${string}`;
|
|
1821
|
+
gas?: bigint;
|
|
1822
|
+
gasPrice?: bigint;
|
|
1823
|
+
maxFeePerGas?: bigint;
|
|
1824
|
+
maxPriorityFeePerGas?: bigint;
|
|
1825
|
+
nonce?: number;
|
|
1826
|
+
value?: bigint;
|
|
1827
|
+
}): Promise<boolean>;
|
|
1828
|
+
/**
|
|
1829
|
+
* Simulate decreaseAllowance
|
|
1830
|
+
* Returns gas estimate and result without sending transaction
|
|
1831
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1832
|
+
*/
|
|
1833
|
+
decreaseAllowance(spender: `0x${string}`, decrement: bigint, options?: {
|
|
1834
|
+
accessList?: import("viem").AccessList;
|
|
1835
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1836
|
+
chain?: import("viem").Chain | null;
|
|
1837
|
+
dataSuffix?: `0x${string}`;
|
|
1838
|
+
gas?: bigint;
|
|
1839
|
+
gasPrice?: bigint;
|
|
1840
|
+
maxFeePerGas?: bigint;
|
|
1841
|
+
maxPriorityFeePerGas?: bigint;
|
|
1842
|
+
nonce?: number;
|
|
1843
|
+
value?: bigint;
|
|
1844
|
+
}): Promise<boolean>;
|
|
1845
|
+
/**
|
|
1846
|
+
* Simulate increaseAllowance
|
|
1847
|
+
* Returns gas estimate and result without sending transaction
|
|
1848
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1849
|
+
*/
|
|
1850
|
+
increaseAllowance(spender: `0x${string}`, increment: bigint, options?: {
|
|
1851
|
+
accessList?: import("viem").AccessList;
|
|
1852
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1853
|
+
chain?: import("viem").Chain | null;
|
|
1854
|
+
dataSuffix?: `0x${string}`;
|
|
1855
|
+
gas?: bigint;
|
|
1856
|
+
gasPrice?: bigint;
|
|
1857
|
+
maxFeePerGas?: bigint;
|
|
1858
|
+
maxPriorityFeePerGas?: bigint;
|
|
1859
|
+
nonce?: number;
|
|
1860
|
+
value?: bigint;
|
|
1861
|
+
}): Promise<boolean>;
|
|
1862
|
+
/**
|
|
1863
|
+
* Simulate initialize
|
|
1864
|
+
* Returns gas estimate and result without sending transaction
|
|
1865
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1866
|
+
*/
|
|
1867
|
+
initialize(tokenName: string, tokenSymbol: string, tokenCurrency: string, tokenDecimals: bigint, newMasterMinter: `0x${string}`, newPauser: `0x${string}`, newBlacklister: `0x${string}`, newOwner: `0x${string}`, options?: {
|
|
1868
|
+
accessList?: import("viem").AccessList;
|
|
1869
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1870
|
+
chain?: import("viem").Chain | null;
|
|
1871
|
+
dataSuffix?: `0x${string}`;
|
|
1872
|
+
gas?: bigint;
|
|
1873
|
+
gasPrice?: bigint;
|
|
1874
|
+
maxFeePerGas?: bigint;
|
|
1875
|
+
maxPriorityFeePerGas?: bigint;
|
|
1876
|
+
nonce?: number;
|
|
1877
|
+
value?: bigint;
|
|
1878
|
+
}): Promise<void>;
|
|
1879
|
+
/**
|
|
1880
|
+
* Simulate initializeV2
|
|
1881
|
+
* Returns gas estimate and result without sending transaction
|
|
1882
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1883
|
+
*/
|
|
1884
|
+
initializeV2(newName: string, options?: {
|
|
1885
|
+
accessList?: import("viem").AccessList;
|
|
1886
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1887
|
+
chain?: import("viem").Chain | null;
|
|
1888
|
+
dataSuffix?: `0x${string}`;
|
|
1889
|
+
gas?: bigint;
|
|
1890
|
+
gasPrice?: bigint;
|
|
1891
|
+
maxFeePerGas?: bigint;
|
|
1892
|
+
maxPriorityFeePerGas?: bigint;
|
|
1893
|
+
nonce?: number;
|
|
1894
|
+
value?: bigint;
|
|
1895
|
+
}): Promise<void>;
|
|
1896
|
+
/**
|
|
1897
|
+
* Simulate initializeV2_1
|
|
1898
|
+
* Returns gas estimate and result without sending transaction
|
|
1899
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1900
|
+
*/
|
|
1901
|
+
initializeV2_1(lostAndFound: `0x${string}`, options?: {
|
|
1902
|
+
accessList?: import("viem").AccessList;
|
|
1903
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1904
|
+
chain?: import("viem").Chain | null;
|
|
1905
|
+
dataSuffix?: `0x${string}`;
|
|
1906
|
+
gas?: bigint;
|
|
1907
|
+
gasPrice?: bigint;
|
|
1908
|
+
maxFeePerGas?: bigint;
|
|
1909
|
+
maxPriorityFeePerGas?: bigint;
|
|
1910
|
+
nonce?: number;
|
|
1911
|
+
value?: bigint;
|
|
1912
|
+
}): Promise<void>;
|
|
1913
|
+
/**
|
|
1914
|
+
* Simulate initializeV2_2
|
|
1915
|
+
* Returns gas estimate and result without sending transaction
|
|
1916
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1917
|
+
*/
|
|
1918
|
+
initializeV2_2(accountsToBlacklist: `0x${string}`[], newSymbol: string, options?: {
|
|
1919
|
+
accessList?: import("viem").AccessList;
|
|
1920
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1921
|
+
chain?: import("viem").Chain | null;
|
|
1922
|
+
dataSuffix?: `0x${string}`;
|
|
1923
|
+
gas?: bigint;
|
|
1924
|
+
gasPrice?: bigint;
|
|
1925
|
+
maxFeePerGas?: bigint;
|
|
1926
|
+
maxPriorityFeePerGas?: bigint;
|
|
1927
|
+
nonce?: number;
|
|
1928
|
+
value?: bigint;
|
|
1929
|
+
}): Promise<void>;
|
|
1930
|
+
/**
|
|
1931
|
+
* Simulate mint
|
|
1932
|
+
* Returns gas estimate and result without sending transaction
|
|
1933
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1934
|
+
*/
|
|
1935
|
+
mint(_to: `0x${string}`, _amount: bigint, options?: {
|
|
1936
|
+
accessList?: import("viem").AccessList;
|
|
1937
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1938
|
+
chain?: import("viem").Chain | null;
|
|
1939
|
+
dataSuffix?: `0x${string}`;
|
|
1940
|
+
gas?: bigint;
|
|
1941
|
+
gasPrice?: bigint;
|
|
1942
|
+
maxFeePerGas?: bigint;
|
|
1943
|
+
maxPriorityFeePerGas?: bigint;
|
|
1944
|
+
nonce?: number;
|
|
1945
|
+
value?: bigint;
|
|
1946
|
+
}): Promise<boolean>;
|
|
1947
|
+
/**
|
|
1948
|
+
* Simulate pause
|
|
1949
|
+
* Returns gas estimate and result without sending transaction
|
|
1950
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1951
|
+
*/
|
|
1952
|
+
pause(options?: {
|
|
1953
|
+
accessList?: import("viem").AccessList;
|
|
1954
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1955
|
+
chain?: import("viem").Chain | null;
|
|
1956
|
+
dataSuffix?: `0x${string}`;
|
|
1957
|
+
gas?: bigint;
|
|
1958
|
+
gasPrice?: bigint;
|
|
1959
|
+
maxFeePerGas?: bigint;
|
|
1960
|
+
maxPriorityFeePerGas?: bigint;
|
|
1961
|
+
nonce?: number;
|
|
1962
|
+
value?: bigint;
|
|
1963
|
+
}): Promise<void>;
|
|
1964
|
+
/**
|
|
1965
|
+
* Simulate permit
|
|
1966
|
+
* Returns gas estimate and result without sending transaction
|
|
1967
|
+
* Supports multiple overloads: (address, address, uint256, uint256, bytes), (address, address, uint256, uint256, uint8, bytes32, bytes32)
|
|
1968
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1969
|
+
*/
|
|
1970
|
+
permit(...args: any[]): Promise<any>;
|
|
1971
|
+
/**
|
|
1972
|
+
* Simulate receiveWithAuthorization
|
|
1973
|
+
* Returns gas estimate and result without sending transaction
|
|
1974
|
+
* Supports multiple overloads: (address, address, uint256, uint256, uint256, bytes32, bytes), (address, address, uint256, uint256, uint256, bytes32, uint8, bytes32, bytes32)
|
|
1975
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1976
|
+
*/
|
|
1977
|
+
receiveWithAuthorization(...args: any[]): Promise<any>;
|
|
1978
|
+
/**
|
|
1979
|
+
* Simulate removeMinter
|
|
1980
|
+
* Returns gas estimate and result without sending transaction
|
|
1981
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1982
|
+
*/
|
|
1983
|
+
removeMinter(minter: `0x${string}`, options?: {
|
|
1984
|
+
accessList?: import("viem").AccessList;
|
|
1985
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1986
|
+
chain?: import("viem").Chain | null;
|
|
1987
|
+
dataSuffix?: `0x${string}`;
|
|
1988
|
+
gas?: bigint;
|
|
1989
|
+
gasPrice?: bigint;
|
|
1990
|
+
maxFeePerGas?: bigint;
|
|
1991
|
+
maxPriorityFeePerGas?: bigint;
|
|
1992
|
+
nonce?: number;
|
|
1993
|
+
value?: bigint;
|
|
1994
|
+
}): Promise<boolean>;
|
|
1995
|
+
/**
|
|
1996
|
+
* Simulate rescueERC20
|
|
1997
|
+
* Returns gas estimate and result without sending transaction
|
|
1998
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1999
|
+
*/
|
|
2000
|
+
rescueERC20(tokenContract: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
2001
|
+
accessList?: import("viem").AccessList;
|
|
2002
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2003
|
+
chain?: import("viem").Chain | null;
|
|
2004
|
+
dataSuffix?: `0x${string}`;
|
|
2005
|
+
gas?: bigint;
|
|
2006
|
+
gasPrice?: bigint;
|
|
2007
|
+
maxFeePerGas?: bigint;
|
|
2008
|
+
maxPriorityFeePerGas?: bigint;
|
|
2009
|
+
nonce?: number;
|
|
2010
|
+
value?: bigint;
|
|
2011
|
+
}): Promise<void>;
|
|
2012
|
+
/**
|
|
2013
|
+
* Simulate transfer
|
|
2014
|
+
* Returns gas estimate and result without sending transaction
|
|
2015
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2016
|
+
*/
|
|
2017
|
+
transfer(to: `0x${string}`, value: bigint, options?: {
|
|
2018
|
+
accessList?: import("viem").AccessList;
|
|
2019
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2020
|
+
chain?: import("viem").Chain | null;
|
|
2021
|
+
dataSuffix?: `0x${string}`;
|
|
2022
|
+
gas?: bigint;
|
|
2023
|
+
gasPrice?: bigint;
|
|
2024
|
+
maxFeePerGas?: bigint;
|
|
2025
|
+
maxPriorityFeePerGas?: bigint;
|
|
2026
|
+
nonce?: number;
|
|
2027
|
+
value?: bigint;
|
|
2028
|
+
}): Promise<boolean>;
|
|
2029
|
+
/**
|
|
2030
|
+
* Simulate transferFrom
|
|
2031
|
+
* Returns gas estimate and result without sending transaction
|
|
2032
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2033
|
+
*/
|
|
2034
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
|
|
2035
|
+
accessList?: import("viem").AccessList;
|
|
2036
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2037
|
+
chain?: import("viem").Chain | null;
|
|
2038
|
+
dataSuffix?: `0x${string}`;
|
|
2039
|
+
gas?: bigint;
|
|
2040
|
+
gasPrice?: bigint;
|
|
2041
|
+
maxFeePerGas?: bigint;
|
|
2042
|
+
maxPriorityFeePerGas?: bigint;
|
|
2043
|
+
nonce?: number;
|
|
2044
|
+
value?: bigint;
|
|
2045
|
+
}): Promise<boolean>;
|
|
2046
|
+
/**
|
|
2047
|
+
* Simulate transferOwnership
|
|
2048
|
+
* Returns gas estimate and result without sending transaction
|
|
2049
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2050
|
+
*/
|
|
2051
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
2052
|
+
accessList?: import("viem").AccessList;
|
|
2053
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2054
|
+
chain?: import("viem").Chain | null;
|
|
2055
|
+
dataSuffix?: `0x${string}`;
|
|
2056
|
+
gas?: bigint;
|
|
2057
|
+
gasPrice?: bigint;
|
|
2058
|
+
maxFeePerGas?: bigint;
|
|
2059
|
+
maxPriorityFeePerGas?: bigint;
|
|
2060
|
+
nonce?: number;
|
|
2061
|
+
value?: bigint;
|
|
2062
|
+
}): Promise<void>;
|
|
2063
|
+
/**
|
|
2064
|
+
* Simulate transferWithAuthorization
|
|
2065
|
+
* Returns gas estimate and result without sending transaction
|
|
2066
|
+
* Supports multiple overloads: (address, address, uint256, uint256, uint256, bytes32, bytes), (address, address, uint256, uint256, uint256, bytes32, uint8, bytes32, bytes32)
|
|
2067
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2068
|
+
*/
|
|
2069
|
+
transferWithAuthorization(...args: any[]): Promise<any>;
|
|
2070
|
+
/**
|
|
2071
|
+
* Simulate unBlacklist
|
|
2072
|
+
* Returns gas estimate and result without sending transaction
|
|
2073
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2074
|
+
*/
|
|
2075
|
+
unBlacklist(_account: `0x${string}`, options?: {
|
|
2076
|
+
accessList?: import("viem").AccessList;
|
|
2077
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2078
|
+
chain?: import("viem").Chain | null;
|
|
2079
|
+
dataSuffix?: `0x${string}`;
|
|
2080
|
+
gas?: bigint;
|
|
2081
|
+
gasPrice?: bigint;
|
|
2082
|
+
maxFeePerGas?: bigint;
|
|
2083
|
+
maxPriorityFeePerGas?: bigint;
|
|
2084
|
+
nonce?: number;
|
|
2085
|
+
value?: bigint;
|
|
2086
|
+
}): Promise<void>;
|
|
2087
|
+
/**
|
|
2088
|
+
* Simulate unpause
|
|
2089
|
+
* Returns gas estimate and result without sending transaction
|
|
2090
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2091
|
+
*/
|
|
2092
|
+
unpause(options?: {
|
|
2093
|
+
accessList?: import("viem").AccessList;
|
|
2094
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2095
|
+
chain?: import("viem").Chain | null;
|
|
2096
|
+
dataSuffix?: `0x${string}`;
|
|
2097
|
+
gas?: bigint;
|
|
2098
|
+
gasPrice?: bigint;
|
|
2099
|
+
maxFeePerGas?: bigint;
|
|
2100
|
+
maxPriorityFeePerGas?: bigint;
|
|
2101
|
+
nonce?: number;
|
|
2102
|
+
value?: bigint;
|
|
2103
|
+
}): Promise<void>;
|
|
2104
|
+
/**
|
|
2105
|
+
* Simulate updateBlacklister
|
|
2106
|
+
* Returns gas estimate and result without sending transaction
|
|
2107
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2108
|
+
*/
|
|
2109
|
+
updateBlacklister(_newBlacklister: `0x${string}`, options?: {
|
|
2110
|
+
accessList?: import("viem").AccessList;
|
|
2111
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2112
|
+
chain?: import("viem").Chain | null;
|
|
2113
|
+
dataSuffix?: `0x${string}`;
|
|
2114
|
+
gas?: bigint;
|
|
2115
|
+
gasPrice?: bigint;
|
|
2116
|
+
maxFeePerGas?: bigint;
|
|
2117
|
+
maxPriorityFeePerGas?: bigint;
|
|
2118
|
+
nonce?: number;
|
|
2119
|
+
value?: bigint;
|
|
2120
|
+
}): Promise<void>;
|
|
2121
|
+
/**
|
|
2122
|
+
* Simulate updateMasterMinter
|
|
2123
|
+
* Returns gas estimate and result without sending transaction
|
|
2124
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2125
|
+
*/
|
|
2126
|
+
updateMasterMinter(_newMasterMinter: `0x${string}`, options?: {
|
|
2127
|
+
accessList?: import("viem").AccessList;
|
|
2128
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2129
|
+
chain?: import("viem").Chain | null;
|
|
2130
|
+
dataSuffix?: `0x${string}`;
|
|
2131
|
+
gas?: bigint;
|
|
2132
|
+
gasPrice?: bigint;
|
|
2133
|
+
maxFeePerGas?: bigint;
|
|
2134
|
+
maxPriorityFeePerGas?: bigint;
|
|
2135
|
+
nonce?: number;
|
|
2136
|
+
value?: bigint;
|
|
2137
|
+
}): Promise<void>;
|
|
2138
|
+
/**
|
|
2139
|
+
* Simulate updatePauser
|
|
2140
|
+
* Returns gas estimate and result without sending transaction
|
|
2141
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2142
|
+
*/
|
|
2143
|
+
updatePauser(_newPauser: `0x${string}`, options?: {
|
|
2144
|
+
accessList?: import("viem").AccessList;
|
|
2145
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2146
|
+
chain?: import("viem").Chain | null;
|
|
2147
|
+
dataSuffix?: `0x${string}`;
|
|
2148
|
+
gas?: bigint;
|
|
2149
|
+
gasPrice?: bigint;
|
|
2150
|
+
maxFeePerGas?: bigint;
|
|
2151
|
+
maxPriorityFeePerGas?: bigint;
|
|
2152
|
+
nonce?: number;
|
|
2153
|
+
value?: bigint;
|
|
2154
|
+
}): Promise<void>;
|
|
2155
|
+
/**
|
|
2156
|
+
* Simulate updateRescuer
|
|
2157
|
+
* Returns gas estimate and result without sending transaction
|
|
2158
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2159
|
+
*/
|
|
2160
|
+
updateRescuer(newRescuer: `0x${string}`, options?: {
|
|
2161
|
+
accessList?: import("viem").AccessList;
|
|
2162
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2163
|
+
chain?: import("viem").Chain | null;
|
|
2164
|
+
dataSuffix?: `0x${string}`;
|
|
2165
|
+
gas?: bigint;
|
|
2166
|
+
gasPrice?: bigint;
|
|
2167
|
+
maxFeePerGas?: bigint;
|
|
2168
|
+
maxPriorityFeePerGas?: bigint;
|
|
2169
|
+
nonce?: number;
|
|
2170
|
+
value?: bigint;
|
|
2171
|
+
}): Promise<void>;
|
|
2172
|
+
};
|
|
2173
|
+
/**
|
|
2174
|
+
* Watch contract events
|
|
2175
|
+
*
|
|
2176
|
+
* @example
|
|
2177
|
+
* // Watch all Transfer events
|
|
2178
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2179
|
+
* console.log('Transfer:', event);
|
|
2180
|
+
* });
|
|
2181
|
+
*
|
|
2182
|
+
* // Stop watching
|
|
2183
|
+
* unwatch();
|
|
2184
|
+
*/
|
|
2185
|
+
get watch(): {
|
|
2186
|
+
/**
|
|
2187
|
+
* Watch Approval events
|
|
2188
|
+
* @param callback Function to call when event is emitted
|
|
2189
|
+
* @param filter Optional filter for indexed parameters
|
|
2190
|
+
* @returns Unwatch function to stop listening
|
|
2191
|
+
*/
|
|
2192
|
+
Approval: (callback: (event: {
|
|
2193
|
+
owner: `0x${string}`;
|
|
2194
|
+
spender: `0x${string}`;
|
|
2195
|
+
value: bigint;
|
|
2196
|
+
}) => void, filter?: {
|
|
2197
|
+
owner: `0x${string}`;
|
|
2198
|
+
spender: `0x${string}`;
|
|
2199
|
+
}) => () => void;
|
|
2200
|
+
/**
|
|
2201
|
+
* Watch AuthorizationCanceled events
|
|
2202
|
+
* @param callback Function to call when event is emitted
|
|
2203
|
+
* @param filter Optional filter for indexed parameters
|
|
2204
|
+
* @returns Unwatch function to stop listening
|
|
2205
|
+
*/
|
|
2206
|
+
AuthorizationCanceled: (callback: (event: {
|
|
2207
|
+
authorizer: `0x${string}`;
|
|
2208
|
+
nonce: `0x${string}`;
|
|
2209
|
+
}) => void, filter?: {
|
|
2210
|
+
authorizer: `0x${string}`;
|
|
2211
|
+
nonce: `0x${string}`;
|
|
2212
|
+
}) => () => void;
|
|
2213
|
+
/**
|
|
2214
|
+
* Watch AuthorizationUsed events
|
|
2215
|
+
* @param callback Function to call when event is emitted
|
|
2216
|
+
* @param filter Optional filter for indexed parameters
|
|
2217
|
+
* @returns Unwatch function to stop listening
|
|
2218
|
+
*/
|
|
2219
|
+
AuthorizationUsed: (callback: (event: {
|
|
2220
|
+
authorizer: `0x${string}`;
|
|
2221
|
+
nonce: `0x${string}`;
|
|
2222
|
+
}) => void, filter?: {
|
|
2223
|
+
authorizer: `0x${string}`;
|
|
2224
|
+
nonce: `0x${string}`;
|
|
2225
|
+
}) => () => void;
|
|
2226
|
+
/**
|
|
2227
|
+
* Watch Blacklisted events
|
|
2228
|
+
* @param callback Function to call when event is emitted
|
|
2229
|
+
* @param filter Optional filter for indexed parameters
|
|
2230
|
+
* @returns Unwatch function to stop listening
|
|
2231
|
+
*/
|
|
2232
|
+
Blacklisted: (callback: (event: {
|
|
2233
|
+
_account: `0x${string}`;
|
|
2234
|
+
}) => void, filter?: {
|
|
2235
|
+
_account: `0x${string}`;
|
|
2236
|
+
}) => () => void;
|
|
2237
|
+
/**
|
|
2238
|
+
* Watch BlacklisterChanged events
|
|
2239
|
+
* @param callback Function to call when event is emitted
|
|
2240
|
+
* @param filter Optional filter for indexed parameters
|
|
2241
|
+
* @returns Unwatch function to stop listening
|
|
2242
|
+
*/
|
|
2243
|
+
BlacklisterChanged: (callback: (event: {
|
|
2244
|
+
newBlacklister: `0x${string}`;
|
|
2245
|
+
}) => void, filter?: {
|
|
2246
|
+
newBlacklister: `0x${string}`;
|
|
2247
|
+
}) => () => void;
|
|
2248
|
+
/**
|
|
2249
|
+
* Watch Burn events
|
|
2250
|
+
* @param callback Function to call when event is emitted
|
|
2251
|
+
* @param filter Optional filter for indexed parameters
|
|
2252
|
+
* @returns Unwatch function to stop listening
|
|
2253
|
+
*/
|
|
2254
|
+
Burn: (callback: (event: {
|
|
2255
|
+
burner: `0x${string}`;
|
|
2256
|
+
amount: bigint;
|
|
2257
|
+
}) => void, filter?: {
|
|
2258
|
+
burner: `0x${string}`;
|
|
2259
|
+
}) => () => void;
|
|
2260
|
+
/**
|
|
2261
|
+
* Watch MasterMinterChanged events
|
|
2262
|
+
* @param callback Function to call when event is emitted
|
|
2263
|
+
* @param filter Optional filter for indexed parameters
|
|
2264
|
+
* @returns Unwatch function to stop listening
|
|
2265
|
+
*/
|
|
2266
|
+
MasterMinterChanged: (callback: (event: {
|
|
2267
|
+
newMasterMinter: `0x${string}`;
|
|
2268
|
+
}) => void, filter?: {
|
|
2269
|
+
newMasterMinter: `0x${string}`;
|
|
2270
|
+
}) => () => void;
|
|
2271
|
+
/**
|
|
2272
|
+
* Watch Mint events
|
|
2273
|
+
* @param callback Function to call when event is emitted
|
|
2274
|
+
* @param filter Optional filter for indexed parameters
|
|
2275
|
+
* @returns Unwatch function to stop listening
|
|
2276
|
+
*/
|
|
2277
|
+
Mint: (callback: (event: {
|
|
2278
|
+
minter: `0x${string}`;
|
|
2279
|
+
to: `0x${string}`;
|
|
2280
|
+
amount: bigint;
|
|
2281
|
+
}) => void, filter?: {
|
|
2282
|
+
minter: `0x${string}`;
|
|
2283
|
+
to: `0x${string}`;
|
|
2284
|
+
}) => () => void;
|
|
2285
|
+
/**
|
|
2286
|
+
* Watch MinterConfigured events
|
|
2287
|
+
* @param callback Function to call when event is emitted
|
|
2288
|
+
* @param filter Optional filter for indexed parameters
|
|
2289
|
+
* @returns Unwatch function to stop listening
|
|
2290
|
+
*/
|
|
2291
|
+
MinterConfigured: (callback: (event: {
|
|
2292
|
+
minter: `0x${string}`;
|
|
2293
|
+
minterAllowedAmount: bigint;
|
|
2294
|
+
}) => void, filter?: {
|
|
2295
|
+
minter: `0x${string}`;
|
|
2296
|
+
}) => () => void;
|
|
2297
|
+
/**
|
|
2298
|
+
* Watch MinterRemoved events
|
|
2299
|
+
* @param callback Function to call when event is emitted
|
|
2300
|
+
* @param filter Optional filter for indexed parameters
|
|
2301
|
+
* @returns Unwatch function to stop listening
|
|
2302
|
+
*/
|
|
2303
|
+
MinterRemoved: (callback: (event: {
|
|
2304
|
+
oldMinter: `0x${string}`;
|
|
2305
|
+
}) => void, filter?: {
|
|
2306
|
+
oldMinter: `0x${string}`;
|
|
2307
|
+
}) => () => void;
|
|
2308
|
+
/**
|
|
2309
|
+
* Watch OwnershipTransferred events
|
|
2310
|
+
* @param callback Function to call when event is emitted
|
|
2311
|
+
* @param filter Optional filter for indexed parameters
|
|
2312
|
+
* @returns Unwatch function to stop listening
|
|
2313
|
+
*/
|
|
2314
|
+
OwnershipTransferred: (callback: (event: {
|
|
2315
|
+
previousOwner: `0x${string}`;
|
|
2316
|
+
newOwner: `0x${string}`;
|
|
2317
|
+
}) => void) => () => void;
|
|
2318
|
+
/**
|
|
2319
|
+
* Watch Pause events
|
|
2320
|
+
* @param callback Function to call when event is emitted
|
|
2321
|
+
* @param filter Optional filter for indexed parameters
|
|
2322
|
+
* @returns Unwatch function to stop listening
|
|
2323
|
+
*/
|
|
2324
|
+
Pause: (callback: (event: {}) => void) => () => void;
|
|
2325
|
+
/**
|
|
2326
|
+
* Watch PauserChanged events
|
|
2327
|
+
* @param callback Function to call when event is emitted
|
|
2328
|
+
* @param filter Optional filter for indexed parameters
|
|
2329
|
+
* @returns Unwatch function to stop listening
|
|
2330
|
+
*/
|
|
2331
|
+
PauserChanged: (callback: (event: {
|
|
2332
|
+
newAddress: `0x${string}`;
|
|
2333
|
+
}) => void, filter?: {
|
|
2334
|
+
newAddress: `0x${string}`;
|
|
2335
|
+
}) => () => void;
|
|
2336
|
+
/**
|
|
2337
|
+
* Watch RescuerChanged events
|
|
2338
|
+
* @param callback Function to call when event is emitted
|
|
2339
|
+
* @param filter Optional filter for indexed parameters
|
|
2340
|
+
* @returns Unwatch function to stop listening
|
|
2341
|
+
*/
|
|
2342
|
+
RescuerChanged: (callback: (event: {
|
|
2343
|
+
newRescuer: `0x${string}`;
|
|
2344
|
+
}) => void, filter?: {
|
|
2345
|
+
newRescuer: `0x${string}`;
|
|
2346
|
+
}) => () => void;
|
|
2347
|
+
/**
|
|
2348
|
+
* Watch Transfer events
|
|
2349
|
+
* @param callback Function to call when event is emitted
|
|
2350
|
+
* @param filter Optional filter for indexed parameters
|
|
2351
|
+
* @returns Unwatch function to stop listening
|
|
2352
|
+
*/
|
|
2353
|
+
Transfer: (callback: (event: {
|
|
2354
|
+
from: `0x${string}`;
|
|
2355
|
+
to: `0x${string}`;
|
|
2356
|
+
value: bigint;
|
|
2357
|
+
}) => void, filter?: {
|
|
2358
|
+
from: `0x${string}`;
|
|
2359
|
+
to: `0x${string}`;
|
|
2360
|
+
}) => () => void;
|
|
2361
|
+
/**
|
|
2362
|
+
* Watch UnBlacklisted events
|
|
2363
|
+
* @param callback Function to call when event is emitted
|
|
2364
|
+
* @param filter Optional filter for indexed parameters
|
|
2365
|
+
* @returns Unwatch function to stop listening
|
|
2366
|
+
*/
|
|
2367
|
+
UnBlacklisted: (callback: (event: {
|
|
2368
|
+
_account: `0x${string}`;
|
|
2369
|
+
}) => void, filter?: {
|
|
2370
|
+
_account: `0x${string}`;
|
|
2371
|
+
}) => () => void;
|
|
2372
|
+
/**
|
|
2373
|
+
* Watch Unpause events
|
|
2374
|
+
* @param callback Function to call when event is emitted
|
|
2375
|
+
* @param filter Optional filter for indexed parameters
|
|
2376
|
+
* @returns Unwatch function to stop listening
|
|
2377
|
+
*/
|
|
2378
|
+
Unpause: (callback: (event: {}) => void) => () => void;
|
|
2379
|
+
};
|
|
2380
|
+
}
|