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