@gitmyabi/fet 1.0.0 → 1.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.
@@ -1,498 +1,656 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * FetchToken_json ABI
3
+ * AMLToken_json ABI
4
4
  *
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
- export declare const FetchToken_jsonAbi: readonly [{
7
+ export declare const AMLToken_jsonAbi: readonly [{
8
+ readonly constant: false;
8
9
  readonly inputs: readonly [{
9
- readonly internalType: "string";
10
- readonly name: "name";
11
- readonly type: "string";
12
- }, {
13
- readonly internalType: "string";
14
- readonly name: "symbol";
15
- readonly type: "string";
16
- }, {
17
- readonly internalType: "uint256";
18
- readonly name: "_initialSupply";
19
- readonly type: "uint256";
20
- }];
21
- readonly stateMutability: "nonpayable";
22
- readonly type: "constructor";
23
- }, {
24
- readonly anonymous: false;
25
- readonly inputs: readonly [{
26
- readonly indexed: true;
27
- readonly internalType: "address";
28
- readonly name: "owner";
10
+ readonly name: "addr";
29
11
  readonly type: "address";
30
12
  }, {
31
- readonly indexed: true;
32
- readonly internalType: "address";
33
- readonly name: "spender";
34
- readonly type: "address";
35
- }, {
36
- readonly indexed: false;
37
- readonly internalType: "uint256";
38
- readonly name: "value";
39
- readonly type: "uint256";
40
- }];
41
- readonly name: "Approval";
42
- readonly type: "event";
43
- }, {
44
- readonly anonymous: false;
45
- readonly inputs: readonly [{
46
- readonly indexed: false;
47
- readonly internalType: "address";
48
- readonly name: "account";
49
- readonly type: "address";
50
- }];
51
- readonly name: "Paused";
52
- readonly type: "event";
53
- }, {
54
- readonly anonymous: false;
55
- readonly inputs: readonly [{
56
- readonly indexed: true;
57
- readonly internalType: "bytes32";
58
- readonly name: "role";
59
- readonly type: "bytes32";
60
- }, {
61
- readonly indexed: true;
62
- readonly internalType: "address";
63
- readonly name: "account";
64
- readonly type: "address";
65
- }, {
66
- readonly indexed: true;
67
- readonly internalType: "address";
68
- readonly name: "sender";
69
- readonly type: "address";
70
- }];
71
- readonly name: "RoleGranted";
72
- readonly type: "event";
73
- }, {
74
- readonly anonymous: false;
75
- readonly inputs: readonly [{
76
- readonly indexed: true;
77
- readonly internalType: "bytes32";
78
- readonly name: "role";
79
- readonly type: "bytes32";
80
- }, {
81
- readonly indexed: true;
82
- readonly internalType: "address";
83
- readonly name: "account";
84
- readonly type: "address";
85
- }, {
86
- readonly indexed: true;
87
- readonly internalType: "address";
88
- readonly name: "sender";
89
- readonly type: "address";
90
- }];
91
- readonly name: "RoleRevoked";
92
- readonly type: "event";
93
- }, {
94
- readonly anonymous: false;
95
- readonly inputs: readonly [{
96
- readonly indexed: true;
97
- readonly internalType: "address";
98
- readonly name: "from";
99
- readonly type: "address";
100
- }, {
101
- readonly indexed: true;
102
- readonly internalType: "address";
103
- readonly name: "to";
104
- readonly type: "address";
105
- }, {
106
- readonly indexed: false;
107
- readonly internalType: "uint256";
108
- readonly name: "value";
109
- readonly type: "uint256";
110
- }];
111
- readonly name: "Transfer";
112
- readonly type: "event";
113
- }, {
114
- readonly anonymous: false;
115
- readonly inputs: readonly [{
116
- readonly indexed: false;
117
- readonly internalType: "address";
118
- readonly name: "account";
119
- readonly type: "address";
13
+ readonly name: "state";
14
+ readonly type: "bool";
120
15
  }];
121
- readonly name: "Unpaused";
122
- readonly type: "event";
16
+ readonly name: "setTransferAgent";
17
+ readonly outputs: readonly [];
18
+ readonly payable: false;
19
+ readonly stateMutability: "nonpayable";
20
+ readonly type: "function";
123
21
  }, {
22
+ readonly constant: true;
124
23
  readonly inputs: readonly [];
125
- readonly name: "DEFAULT_ADMIN_ROLE";
24
+ readonly name: "mintingFinished";
126
25
  readonly outputs: readonly [{
127
- readonly internalType: "bytes32";
128
26
  readonly name: "";
129
- readonly type: "bytes32";
27
+ readonly type: "bool";
130
28
  }];
29
+ readonly payable: false;
131
30
  readonly stateMutability: "view";
132
31
  readonly type: "function";
133
32
  }, {
33
+ readonly constant: true;
134
34
  readonly inputs: readonly [];
135
- readonly name: "MINTER_ROLE";
35
+ readonly name: "name";
136
36
  readonly outputs: readonly [{
137
- readonly internalType: "bytes32";
138
37
  readonly name: "";
139
- readonly type: "bytes32";
38
+ readonly type: "string";
140
39
  }];
40
+ readonly payable: false;
141
41
  readonly stateMutability: "view";
142
42
  readonly type: "function";
143
43
  }, {
144
- readonly inputs: readonly [];
145
- readonly name: "PAUSER_ROLE";
44
+ readonly constant: false;
45
+ readonly inputs: readonly [{
46
+ readonly name: "_spender";
47
+ readonly type: "address";
48
+ }, {
49
+ readonly name: "_value";
50
+ readonly type: "uint256";
51
+ }];
52
+ readonly name: "approve";
146
53
  readonly outputs: readonly [{
147
- readonly internalType: "bytes32";
148
54
  readonly name: "";
149
- readonly type: "bytes32";
55
+ readonly type: "bool";
150
56
  }];
151
- readonly stateMutability: "view";
57
+ readonly payable: false;
58
+ readonly stateMutability: "nonpayable";
152
59
  readonly type: "function";
153
60
  }, {
61
+ readonly constant: false;
154
62
  readonly inputs: readonly [{
155
- readonly internalType: "address";
156
- readonly name: "owner";
157
- readonly type: "address";
158
- }, {
159
- readonly internalType: "address";
160
- readonly name: "spender";
63
+ readonly name: "token";
161
64
  readonly type: "address";
162
65
  }];
163
- readonly name: "allowance";
66
+ readonly name: "recoverTokens";
67
+ readonly outputs: readonly [];
68
+ readonly payable: false;
69
+ readonly stateMutability: "nonpayable";
70
+ readonly type: "function";
71
+ }, {
72
+ readonly constant: true;
73
+ readonly inputs: readonly [];
74
+ readonly name: "totalSupply";
164
75
  readonly outputs: readonly [{
165
- readonly internalType: "uint256";
166
76
  readonly name: "";
167
77
  readonly type: "uint256";
168
78
  }];
79
+ readonly payable: false;
169
80
  readonly stateMutability: "view";
170
81
  readonly type: "function";
171
82
  }, {
83
+ readonly constant: false;
172
84
  readonly inputs: readonly [{
173
- readonly internalType: "address";
174
- readonly name: "spender";
85
+ readonly name: "_from";
175
86
  readonly type: "address";
176
87
  }, {
177
- readonly internalType: "uint256";
178
- readonly name: "amount";
88
+ readonly name: "_to";
89
+ readonly type: "address";
90
+ }, {
91
+ readonly name: "_value";
179
92
  readonly type: "uint256";
180
93
  }];
181
- readonly name: "approve";
94
+ readonly name: "transferFrom";
182
95
  readonly outputs: readonly [{
183
- readonly internalType: "bool";
184
- readonly name: "";
96
+ readonly name: "success";
185
97
  readonly type: "bool";
186
98
  }];
99
+ readonly payable: false;
187
100
  readonly stateMutability: "nonpayable";
188
101
  readonly type: "function";
189
102
  }, {
103
+ readonly constant: false;
190
104
  readonly inputs: readonly [{
191
- readonly internalType: "address";
192
- readonly name: "account";
105
+ readonly name: "addr";
193
106
  readonly type: "address";
194
107
  }];
195
- readonly name: "balanceOf";
108
+ readonly name: "setReleaseAgent";
109
+ readonly outputs: readonly [];
110
+ readonly payable: false;
111
+ readonly stateMutability: "nonpayable";
112
+ readonly type: "function";
113
+ }, {
114
+ readonly constant: true;
115
+ readonly inputs: readonly [];
116
+ readonly name: "decimals";
196
117
  readonly outputs: readonly [{
197
- readonly internalType: "uint256";
198
118
  readonly name: "";
199
119
  readonly type: "uint256";
200
120
  }];
121
+ readonly payable: false;
201
122
  readonly stateMutability: "view";
202
123
  readonly type: "function";
203
124
  }, {
125
+ readonly constant: false;
204
126
  readonly inputs: readonly [{
205
- readonly internalType: "uint256";
127
+ readonly name: "receiver";
128
+ readonly type: "address";
129
+ }, {
206
130
  readonly name: "amount";
207
131
  readonly type: "uint256";
208
132
  }];
209
- readonly name: "burn";
133
+ readonly name: "mint";
210
134
  readonly outputs: readonly [];
135
+ readonly payable: false;
211
136
  readonly stateMutability: "nonpayable";
212
137
  readonly type: "function";
213
138
  }, {
139
+ readonly constant: false;
214
140
  readonly inputs: readonly [{
215
- readonly internalType: "address";
216
- readonly name: "account";
217
- readonly type: "address";
218
- }, {
219
- readonly internalType: "uint256";
220
- readonly name: "amount";
141
+ readonly name: "burnAmount";
221
142
  readonly type: "uint256";
222
143
  }];
223
- readonly name: "burnFrom";
144
+ readonly name: "burn";
224
145
  readonly outputs: readonly [];
146
+ readonly payable: false;
225
147
  readonly stateMutability: "nonpayable";
226
148
  readonly type: "function";
227
149
  }, {
228
- readonly inputs: readonly [];
229
- readonly name: "decimals";
150
+ readonly constant: true;
151
+ readonly inputs: readonly [{
152
+ readonly name: "";
153
+ readonly type: "address";
154
+ }];
155
+ readonly name: "mintAgents";
230
156
  readonly outputs: readonly [{
231
- readonly internalType: "uint8";
232
157
  readonly name: "";
233
- readonly type: "uint8";
158
+ readonly type: "bool";
234
159
  }];
160
+ readonly payable: false;
235
161
  readonly stateMutability: "view";
236
162
  readonly type: "function";
237
163
  }, {
164
+ readonly constant: false;
238
165
  readonly inputs: readonly [{
239
- readonly internalType: "address";
240
- readonly name: "spender";
166
+ readonly name: "addr";
241
167
  readonly type: "address";
242
168
  }, {
243
- readonly internalType: "uint256";
244
- readonly name: "subtractedValue";
169
+ readonly name: "state";
170
+ readonly type: "bool";
171
+ }];
172
+ readonly name: "setMintAgent";
173
+ readonly outputs: readonly [];
174
+ readonly payable: false;
175
+ readonly stateMutability: "nonpayable";
176
+ readonly type: "function";
177
+ }, {
178
+ readonly constant: false;
179
+ readonly inputs: readonly [{
180
+ readonly name: "value";
245
181
  readonly type: "uint256";
246
182
  }];
247
- readonly name: "decreaseAllowance";
183
+ readonly name: "upgrade";
184
+ readonly outputs: readonly [];
185
+ readonly payable: false;
186
+ readonly stateMutability: "nonpayable";
187
+ readonly type: "function";
188
+ }, {
189
+ readonly constant: false;
190
+ readonly inputs: readonly [{
191
+ readonly name: "_name";
192
+ readonly type: "string";
193
+ }, {
194
+ readonly name: "_symbol";
195
+ readonly type: "string";
196
+ }];
197
+ readonly name: "setTokenInformation";
198
+ readonly outputs: readonly [];
199
+ readonly payable: false;
200
+ readonly stateMutability: "nonpayable";
201
+ readonly type: "function";
202
+ }, {
203
+ readonly constant: true;
204
+ readonly inputs: readonly [];
205
+ readonly name: "upgradeAgent";
248
206
  readonly outputs: readonly [{
249
- readonly internalType: "bool";
250
207
  readonly name: "";
251
- readonly type: "bool";
208
+ readonly type: "address";
252
209
  }];
210
+ readonly payable: false;
211
+ readonly stateMutability: "view";
212
+ readonly type: "function";
213
+ }, {
214
+ readonly constant: false;
215
+ readonly inputs: readonly [];
216
+ readonly name: "releaseTokenTransfer";
217
+ readonly outputs: readonly [];
218
+ readonly payable: false;
253
219
  readonly stateMutability: "nonpayable";
254
220
  readonly type: "function";
255
221
  }, {
256
- readonly inputs: readonly [{
257
- readonly internalType: "bytes32";
258
- readonly name: "role";
259
- readonly type: "bytes32";
260
- }];
261
- readonly name: "getRoleAdmin";
222
+ readonly constant: true;
223
+ readonly inputs: readonly [];
224
+ readonly name: "upgradeMaster";
262
225
  readonly outputs: readonly [{
263
- readonly internalType: "bytes32";
264
226
  readonly name: "";
265
- readonly type: "bytes32";
227
+ readonly type: "address";
266
228
  }];
229
+ readonly payable: false;
267
230
  readonly stateMutability: "view";
268
231
  readonly type: "function";
269
232
  }, {
233
+ readonly constant: false;
270
234
  readonly inputs: readonly [{
271
- readonly internalType: "bytes32";
272
- readonly name: "role";
273
- readonly type: "bytes32";
235
+ readonly name: "_spender";
236
+ readonly type: "address";
274
237
  }, {
275
- readonly internalType: "uint256";
276
- readonly name: "index";
238
+ readonly name: "_subtractedValue";
277
239
  readonly type: "uint256";
278
240
  }];
279
- readonly name: "getRoleMember";
241
+ readonly name: "decreaseApproval";
280
242
  readonly outputs: readonly [{
281
- readonly internalType: "address";
282
243
  readonly name: "";
283
- readonly type: "address";
244
+ readonly type: "bool";
284
245
  }];
285
- readonly stateMutability: "view";
246
+ readonly payable: false;
247
+ readonly stateMutability: "nonpayable";
286
248
  readonly type: "function";
287
249
  }, {
250
+ readonly constant: true;
288
251
  readonly inputs: readonly [{
289
- readonly internalType: "bytes32";
290
- readonly name: "role";
291
- readonly type: "bytes32";
252
+ readonly name: "_owner";
253
+ readonly type: "address";
292
254
  }];
293
- readonly name: "getRoleMemberCount";
255
+ readonly name: "balanceOf";
294
256
  readonly outputs: readonly [{
295
- readonly internalType: "uint256";
296
- readonly name: "";
257
+ readonly name: "balance";
297
258
  readonly type: "uint256";
298
259
  }];
260
+ readonly payable: false;
299
261
  readonly stateMutability: "view";
300
262
  readonly type: "function";
301
263
  }, {
264
+ readonly constant: false;
302
265
  readonly inputs: readonly [{
303
- readonly internalType: "bytes32";
304
- readonly name: "role";
305
- readonly type: "bytes32";
306
- }, {
307
- readonly internalType: "address";
308
- readonly name: "account";
266
+ readonly name: "fromWhom";
309
267
  readonly type: "address";
310
268
  }];
311
- readonly name: "grantRole";
269
+ readonly name: "transferToOwner";
312
270
  readonly outputs: readonly [];
271
+ readonly payable: false;
313
272
  readonly stateMutability: "nonpayable";
314
273
  readonly type: "function";
315
274
  }, {
316
- readonly inputs: readonly [{
317
- readonly internalType: "bytes32";
318
- readonly name: "role";
319
- readonly type: "bytes32";
320
- }, {
321
- readonly internalType: "address";
322
- readonly name: "account";
323
- readonly type: "address";
324
- }];
325
- readonly name: "hasRole";
275
+ readonly constant: true;
276
+ readonly inputs: readonly [];
277
+ readonly name: "getUpgradeState";
326
278
  readonly outputs: readonly [{
327
- readonly internalType: "bool";
328
279
  readonly name: "";
329
- readonly type: "bool";
280
+ readonly type: "uint8";
330
281
  }];
282
+ readonly payable: false;
331
283
  readonly stateMutability: "view";
332
284
  readonly type: "function";
333
285
  }, {
286
+ readonly constant: true;
334
287
  readonly inputs: readonly [{
335
- readonly internalType: "address";
336
- readonly name: "spender";
288
+ readonly name: "";
337
289
  readonly type: "address";
338
- }, {
339
- readonly internalType: "uint256";
340
- readonly name: "addedValue";
341
- readonly type: "uint256";
342
290
  }];
343
- readonly name: "increaseAllowance";
291
+ readonly name: "transferAgents";
344
292
  readonly outputs: readonly [{
345
- readonly internalType: "bool";
346
293
  readonly name: "";
347
294
  readonly type: "bool";
348
295
  }];
349
- readonly stateMutability: "nonpayable";
296
+ readonly payable: false;
297
+ readonly stateMutability: "view";
350
298
  readonly type: "function";
351
299
  }, {
352
- readonly inputs: readonly [{
353
- readonly internalType: "address";
354
- readonly name: "to";
300
+ readonly constant: true;
301
+ readonly inputs: readonly [];
302
+ readonly name: "owner";
303
+ readonly outputs: readonly [{
304
+ readonly name: "";
355
305
  readonly type: "address";
356
- }, {
357
- readonly internalType: "uint256";
358
- readonly name: "amount";
359
- readonly type: "uint256";
360
306
  }];
361
- readonly name: "mint";
362
- readonly outputs: readonly [];
363
- readonly stateMutability: "nonpayable";
307
+ readonly payable: false;
308
+ readonly stateMutability: "view";
364
309
  readonly type: "function";
365
310
  }, {
311
+ readonly constant: true;
366
312
  readonly inputs: readonly [];
367
- readonly name: "name";
313
+ readonly name: "symbol";
368
314
  readonly outputs: readonly [{
369
- readonly internalType: "string";
370
315
  readonly name: "";
371
316
  readonly type: "string";
372
317
  }];
318
+ readonly payable: false;
373
319
  readonly stateMutability: "view";
374
320
  readonly type: "function";
375
321
  }, {
322
+ readonly constant: true;
376
323
  readonly inputs: readonly [];
377
- readonly name: "pause";
378
- readonly outputs: readonly [];
379
- readonly stateMutability: "nonpayable";
324
+ readonly name: "released";
325
+ readonly outputs: readonly [{
326
+ readonly name: "";
327
+ readonly type: "bool";
328
+ }];
329
+ readonly payable: false;
330
+ readonly stateMutability: "view";
380
331
  readonly type: "function";
381
332
  }, {
333
+ readonly constant: true;
382
334
  readonly inputs: readonly [];
383
- readonly name: "paused";
335
+ readonly name: "canUpgrade";
384
336
  readonly outputs: readonly [{
385
- readonly internalType: "bool";
386
337
  readonly name: "";
387
338
  readonly type: "bool";
388
339
  }];
340
+ readonly payable: false;
389
341
  readonly stateMutability: "view";
390
342
  readonly type: "function";
391
343
  }, {
344
+ readonly constant: false;
392
345
  readonly inputs: readonly [{
393
- readonly internalType: "bytes32";
394
- readonly name: "role";
395
- readonly type: "bytes32";
396
- }, {
397
- readonly internalType: "address";
398
- readonly name: "account";
346
+ readonly name: "_to";
399
347
  readonly type: "address";
348
+ }, {
349
+ readonly name: "_value";
350
+ readonly type: "uint256";
400
351
  }];
401
- readonly name: "renounceRole";
402
- readonly outputs: readonly [];
352
+ readonly name: "transfer";
353
+ readonly outputs: readonly [{
354
+ readonly name: "success";
355
+ readonly type: "bool";
356
+ }];
357
+ readonly payable: false;
403
358
  readonly stateMutability: "nonpayable";
404
359
  readonly type: "function";
405
360
  }, {
361
+ readonly constant: false;
406
362
  readonly inputs: readonly [{
407
- readonly internalType: "bytes32";
408
- readonly name: "role";
409
- readonly type: "bytes32";
410
- }, {
411
- readonly internalType: "address";
412
- readonly name: "account";
363
+ readonly name: "token";
413
364
  readonly type: "address";
414
365
  }];
415
- readonly name: "revokeRole";
416
- readonly outputs: readonly [];
366
+ readonly name: "tokensToBeReturned";
367
+ readonly outputs: readonly [{
368
+ readonly name: "";
369
+ readonly type: "uint256";
370
+ }];
371
+ readonly payable: false;
417
372
  readonly stateMutability: "nonpayable";
418
373
  readonly type: "function";
419
374
  }, {
375
+ readonly constant: true;
420
376
  readonly inputs: readonly [];
421
- readonly name: "symbol";
377
+ readonly name: "totalUpgraded";
422
378
  readonly outputs: readonly [{
423
- readonly internalType: "string";
424
379
  readonly name: "";
425
- readonly type: "string";
380
+ readonly type: "uint256";
426
381
  }];
382
+ readonly payable: false;
427
383
  readonly stateMutability: "view";
428
384
  readonly type: "function";
429
385
  }, {
386
+ readonly constant: true;
430
387
  readonly inputs: readonly [];
431
- readonly name: "totalSupply";
388
+ readonly name: "releaseAgent";
432
389
  readonly outputs: readonly [{
433
- readonly internalType: "uint256";
434
390
  readonly name: "";
435
- readonly type: "uint256";
391
+ readonly type: "address";
436
392
  }];
393
+ readonly payable: false;
437
394
  readonly stateMutability: "view";
438
395
  readonly type: "function";
439
396
  }, {
397
+ readonly constant: false;
440
398
  readonly inputs: readonly [{
441
- readonly internalType: "address";
442
- readonly name: "recipient";
399
+ readonly name: "_spender";
443
400
  readonly type: "address";
444
401
  }, {
445
- readonly internalType: "uint256";
446
- readonly name: "amount";
402
+ readonly name: "_addedValue";
447
403
  readonly type: "uint256";
448
404
  }];
449
- readonly name: "transfer";
405
+ readonly name: "increaseApproval";
450
406
  readonly outputs: readonly [{
451
- readonly internalType: "bool";
452
407
  readonly name: "";
453
408
  readonly type: "bool";
454
409
  }];
410
+ readonly payable: false;
455
411
  readonly stateMutability: "nonpayable";
456
412
  readonly type: "function";
457
413
  }, {
414
+ readonly constant: false;
458
415
  readonly inputs: readonly [{
459
- readonly internalType: "address";
460
- readonly name: "sender";
416
+ readonly name: "agent";
461
417
  readonly type: "address";
462
- }, {
463
- readonly internalType: "address";
464
- readonly name: "recipient";
418
+ }];
419
+ readonly name: "setUpgradeAgent";
420
+ readonly outputs: readonly [];
421
+ readonly payable: false;
422
+ readonly stateMutability: "nonpayable";
423
+ readonly type: "function";
424
+ }, {
425
+ readonly constant: true;
426
+ readonly inputs: readonly [{
427
+ readonly name: "_owner";
465
428
  readonly type: "address";
466
429
  }, {
467
- readonly internalType: "uint256";
468
- readonly name: "amount";
469
- readonly type: "uint256";
430
+ readonly name: "_spender";
431
+ readonly type: "address";
470
432
  }];
471
- readonly name: "transferFrom";
433
+ readonly name: "allowance";
472
434
  readonly outputs: readonly [{
473
- readonly internalType: "bool";
474
435
  readonly name: "";
436
+ readonly type: "uint256";
437
+ }];
438
+ readonly payable: false;
439
+ readonly stateMutability: "view";
440
+ readonly type: "function";
441
+ }, {
442
+ readonly constant: true;
443
+ readonly inputs: readonly [];
444
+ readonly name: "isToken";
445
+ readonly outputs: readonly [{
446
+ readonly name: "weAre";
475
447
  readonly type: "bool";
476
448
  }];
449
+ readonly payable: false;
450
+ readonly stateMutability: "view";
451
+ readonly type: "function";
452
+ }, {
453
+ readonly constant: false;
454
+ readonly inputs: readonly [{
455
+ readonly name: "newOwner";
456
+ readonly type: "address";
457
+ }];
458
+ readonly name: "transferOwnership";
459
+ readonly outputs: readonly [];
460
+ readonly payable: false;
477
461
  readonly stateMutability: "nonpayable";
478
462
  readonly type: "function";
479
463
  }, {
464
+ readonly constant: true;
480
465
  readonly inputs: readonly [];
481
- readonly name: "unpause";
466
+ readonly name: "BURN_ADDRESS";
467
+ readonly outputs: readonly [{
468
+ readonly name: "";
469
+ readonly type: "address";
470
+ }];
471
+ readonly payable: false;
472
+ readonly stateMutability: "view";
473
+ readonly type: "function";
474
+ }, {
475
+ readonly constant: false;
476
+ readonly inputs: readonly [{
477
+ readonly name: "master";
478
+ readonly type: "address";
479
+ }];
480
+ readonly name: "setUpgradeMaster";
482
481
  readonly outputs: readonly [];
482
+ readonly payable: false;
483
483
  readonly stateMutability: "nonpayable";
484
484
  readonly type: "function";
485
+ }, {
486
+ readonly inputs: readonly [{
487
+ readonly name: "_name";
488
+ readonly type: "string";
489
+ }, {
490
+ readonly name: "_symbol";
491
+ readonly type: "string";
492
+ }, {
493
+ readonly name: "_initialSupply";
494
+ readonly type: "uint256";
495
+ }, {
496
+ readonly name: "_decimals";
497
+ readonly type: "uint256";
498
+ }, {
499
+ readonly name: "_mintable";
500
+ readonly type: "bool";
501
+ }];
502
+ readonly payable: false;
503
+ readonly stateMutability: "nonpayable";
504
+ readonly type: "constructor";
505
+ }, {
506
+ readonly anonymous: false;
507
+ readonly inputs: readonly [{
508
+ readonly indexed: false;
509
+ readonly name: "fromWhom";
510
+ readonly type: "address";
511
+ }, {
512
+ readonly indexed: false;
513
+ readonly name: "amount";
514
+ readonly type: "uint256";
515
+ }];
516
+ readonly name: "OwnerReclaim";
517
+ readonly type: "event";
518
+ }, {
519
+ readonly anonymous: false;
520
+ readonly inputs: readonly [{
521
+ readonly indexed: false;
522
+ readonly name: "newName";
523
+ readonly type: "string";
524
+ }, {
525
+ readonly indexed: false;
526
+ readonly name: "newSymbol";
527
+ readonly type: "string";
528
+ }];
529
+ readonly name: "UpdatedTokenInformation";
530
+ readonly type: "event";
531
+ }, {
532
+ readonly anonymous: false;
533
+ readonly inputs: readonly [{
534
+ readonly indexed: true;
535
+ readonly name: "_from";
536
+ readonly type: "address";
537
+ }, {
538
+ readonly indexed: true;
539
+ readonly name: "_to";
540
+ readonly type: "address";
541
+ }, {
542
+ readonly indexed: false;
543
+ readonly name: "_value";
544
+ readonly type: "uint256";
545
+ }];
546
+ readonly name: "Upgrade";
547
+ readonly type: "event";
548
+ }, {
549
+ readonly anonymous: false;
550
+ readonly inputs: readonly [{
551
+ readonly indexed: false;
552
+ readonly name: "agent";
553
+ readonly type: "address";
554
+ }];
555
+ readonly name: "UpgradeAgentSet";
556
+ readonly type: "event";
557
+ }, {
558
+ readonly anonymous: false;
559
+ readonly inputs: readonly [{
560
+ readonly indexed: false;
561
+ readonly name: "addr";
562
+ readonly type: "address";
563
+ }, {
564
+ readonly indexed: false;
565
+ readonly name: "state";
566
+ readonly type: "bool";
567
+ }];
568
+ readonly name: "MintingAgentChanged";
569
+ readonly type: "event";
570
+ }, {
571
+ readonly anonymous: false;
572
+ readonly inputs: readonly [{
573
+ readonly indexed: false;
574
+ readonly name: "receiver";
575
+ readonly type: "address";
576
+ }, {
577
+ readonly indexed: false;
578
+ readonly name: "amount";
579
+ readonly type: "uint256";
580
+ }];
581
+ readonly name: "Minted";
582
+ readonly type: "event";
583
+ }, {
584
+ readonly anonymous: false;
585
+ readonly inputs: readonly [{
586
+ readonly indexed: false;
587
+ readonly name: "burner";
588
+ readonly type: "address";
589
+ }, {
590
+ readonly indexed: false;
591
+ readonly name: "burnedAmount";
592
+ readonly type: "uint256";
593
+ }];
594
+ readonly name: "Burned";
595
+ readonly type: "event";
596
+ }, {
597
+ readonly anonymous: false;
598
+ readonly inputs: readonly [{
599
+ readonly indexed: true;
600
+ readonly name: "previousOwner";
601
+ readonly type: "address";
602
+ }, {
603
+ readonly indexed: true;
604
+ readonly name: "newOwner";
605
+ readonly type: "address";
606
+ }];
607
+ readonly name: "OwnershipTransferred";
608
+ readonly type: "event";
609
+ }, {
610
+ readonly anonymous: false;
611
+ readonly inputs: readonly [{
612
+ readonly indexed: true;
613
+ readonly name: "owner";
614
+ readonly type: "address";
615
+ }, {
616
+ readonly indexed: true;
617
+ readonly name: "spender";
618
+ readonly type: "address";
619
+ }, {
620
+ readonly indexed: false;
621
+ readonly name: "value";
622
+ readonly type: "uint256";
623
+ }];
624
+ readonly name: "Approval";
625
+ readonly type: "event";
626
+ }, {
627
+ readonly anonymous: false;
628
+ readonly inputs: readonly [{
629
+ readonly indexed: true;
630
+ readonly name: "from";
631
+ readonly type: "address";
632
+ }, {
633
+ readonly indexed: true;
634
+ readonly name: "to";
635
+ readonly type: "address";
636
+ }, {
637
+ readonly indexed: false;
638
+ readonly name: "value";
639
+ readonly type: "uint256";
640
+ }];
641
+ readonly name: "Transfer";
642
+ readonly type: "event";
485
643
  }];
486
644
  /**
487
- * Type-safe ABI for FetchToken_json
645
+ * Type-safe ABI for AMLToken_json
488
646
  */
489
- export type FetchToken_jsonAbi = typeof FetchToken_jsonAbi;
647
+ export type AMLToken_jsonAbi = typeof AMLToken_jsonAbi;
490
648
  /**
491
- * Contract instance type for FetchToken_json
649
+ * Contract instance type for AMLToken_json
492
650
  */
493
- export type FetchToken_jsonContract = any;
651
+ export type AMLToken_jsonContract = any;
494
652
  /**
495
- * FetchToken_json Contract Class
653
+ * AMLToken_json Contract Class
496
654
  *
497
655
  * Provides a class-based API similar to TypeChain for interacting with the contract.
498
656
  *
@@ -500,12 +658,12 @@ export type FetchToken_jsonContract = any;
500
658
  * ```typescript
501
659
  * import { createPublicClient, createWalletClient, http } from 'viem';
502
660
  * import { mainnet } from 'viem/chains';
503
- * import { FetchToken_json } from 'FetchToken_json';
661
+ * import { AMLToken_json } from 'AMLToken_json';
504
662
  *
505
663
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
506
664
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
507
665
  *
508
- * const contract = new FetchToken_json('0x...', { publicClient, walletClient });
666
+ * const contract = new AMLToken_json('0x...', { publicClient, walletClient });
509
667
  *
510
668
  * // Read functions
511
669
  * const result = await contract.balanceOf('0x...');
@@ -523,7 +681,7 @@ export type FetchToken_jsonContract = any;
523
681
  * });
524
682
  * ```
525
683
  */
526
- export declare class FetchToken_json {
684
+ export declare class AMLToken_json {
527
685
  private contract;
528
686
  private contractAddress;
529
687
  private publicClient;
@@ -538,83 +696,193 @@ export declare class FetchToken_json {
538
696
  /**
539
697
  * Get the underlying viem contract instance
540
698
  */
541
- getContract(): FetchToken_jsonContract;
699
+ getContract(): AMLToken_jsonContract;
700
+ /**
701
+ * mintingFinished
702
+ * view
703
+ */
704
+ mintingFinished(): Promise<boolean>;
705
+ /**
706
+ * name
707
+ * view
708
+ */
709
+ name(): Promise<string>;
710
+ /**
711
+ * totalSupply
712
+ * view
713
+ */
714
+ totalSupply(): Promise<bigint>;
715
+ /**
716
+ * decimals
717
+ * view
718
+ */
719
+ decimals(): Promise<bigint>;
720
+ /**
721
+ * mintAgents
722
+ * view
723
+ */
724
+ mintAgents(arg0: `0x${string}`): Promise<boolean>;
725
+ /**
726
+ * upgradeAgent
727
+ * view
728
+ */
729
+ upgradeAgent(): Promise<`0x${string}`>;
730
+ /**
731
+ * upgradeMaster
732
+ * view
733
+ */
734
+ upgradeMaster(): Promise<`0x${string}`>;
735
+ /**
736
+ * balanceOf
737
+ * view
738
+ */
739
+ balanceOf(_owner: `0x${string}`): Promise<bigint>;
740
+ /**
741
+ * getUpgradeState
742
+ * view
743
+ */
744
+ getUpgradeState(): Promise<bigint>;
542
745
  /**
543
- * DEFAULT_ADMIN_ROLE
746
+ * transferAgents
544
747
  * view
545
748
  */
546
- DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
749
+ transferAgents(arg0: `0x${string}`): Promise<boolean>;
547
750
  /**
548
- * MINTER_ROLE
751
+ * owner
549
752
  * view
550
753
  */
551
- MINTER_ROLE(): Promise<`0x${string}`>;
754
+ owner(): Promise<`0x${string}`>;
552
755
  /**
553
- * PAUSER_ROLE
756
+ * symbol
554
757
  * view
555
758
  */
556
- PAUSER_ROLE(): Promise<`0x${string}`>;
759
+ symbol(): Promise<string>;
557
760
  /**
558
- * allowance
761
+ * released
559
762
  * view
560
763
  */
561
- allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
764
+ released(): Promise<boolean>;
562
765
  /**
563
- * balanceOf
766
+ * canUpgrade
564
767
  * view
565
768
  */
566
- balanceOf(account: `0x${string}`): Promise<bigint>;
769
+ canUpgrade(): Promise<boolean>;
567
770
  /**
568
- * decimals
771
+ * totalUpgraded
569
772
  * view
570
773
  */
571
- decimals(): Promise<bigint>;
774
+ totalUpgraded(): Promise<bigint>;
572
775
  /**
573
- * getRoleAdmin
776
+ * releaseAgent
574
777
  * view
575
778
  */
576
- getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
779
+ releaseAgent(): Promise<`0x${string}`>;
577
780
  /**
578
- * getRoleMember
781
+ * allowance
579
782
  * view
580
783
  */
581
- getRoleMember(role: `0x${string}`, index: bigint): Promise<`0x${string}`>;
784
+ allowance(_owner: `0x${string}`, _spender: `0x${string}`): Promise<bigint>;
582
785
  /**
583
- * getRoleMemberCount
786
+ * isToken
584
787
  * view
585
788
  */
586
- getRoleMemberCount(role: `0x${string}`): Promise<bigint>;
789
+ isToken(): Promise<boolean>;
587
790
  /**
588
- * hasRole
791
+ * BURN_ADDRESS
589
792
  * view
590
793
  */
591
- hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
794
+ BURN_ADDRESS(): Promise<`0x${string}`>;
592
795
  /**
593
- * name
594
- * view
796
+ * setTransferAgent
797
+ * nonpayable
798
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
595
799
  */
596
- name(): Promise<string>;
800
+ setTransferAgent(addr: `0x${string}`, state: boolean, options?: {
801
+ accessList?: import('viem').AccessList;
802
+ authorizationList?: import('viem').AuthorizationList;
803
+ chain?: import('viem').Chain | null;
804
+ dataSuffix?: `0x${string}`;
805
+ gas?: bigint;
806
+ gasPrice?: bigint;
807
+ maxFeePerGas?: bigint;
808
+ maxPriorityFeePerGas?: bigint;
809
+ nonce?: number;
810
+ value?: bigint;
811
+ }): Promise<`0x${string}`>;
597
812
  /**
598
- * paused
599
- * view
813
+ * approve
814
+ * nonpayable
815
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
600
816
  */
601
- paused(): Promise<boolean>;
817
+ approve(_spender: `0x${string}`, _value: bigint, options?: {
818
+ accessList?: import('viem').AccessList;
819
+ authorizationList?: import('viem').AuthorizationList;
820
+ chain?: import('viem').Chain | null;
821
+ dataSuffix?: `0x${string}`;
822
+ gas?: bigint;
823
+ gasPrice?: bigint;
824
+ maxFeePerGas?: bigint;
825
+ maxPriorityFeePerGas?: bigint;
826
+ nonce?: number;
827
+ value?: bigint;
828
+ }): Promise<`0x${string}`>;
602
829
  /**
603
- * symbol
604
- * view
830
+ * recoverTokens
831
+ * nonpayable
832
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
605
833
  */
606
- symbol(): Promise<string>;
834
+ recoverTokens(token: `0x${string}`, options?: {
835
+ accessList?: import('viem').AccessList;
836
+ authorizationList?: import('viem').AuthorizationList;
837
+ chain?: import('viem').Chain | null;
838
+ dataSuffix?: `0x${string}`;
839
+ gas?: bigint;
840
+ gasPrice?: bigint;
841
+ maxFeePerGas?: bigint;
842
+ maxPriorityFeePerGas?: bigint;
843
+ nonce?: number;
844
+ value?: bigint;
845
+ }): Promise<`0x${string}`>;
607
846
  /**
608
- * totalSupply
609
- * view
847
+ * transferFrom
848
+ * nonpayable
849
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
610
850
  */
611
- totalSupply(): Promise<bigint>;
851
+ transferFrom(_from: `0x${string}`, _to: `0x${string}`, _value: bigint, options?: {
852
+ accessList?: import('viem').AccessList;
853
+ authorizationList?: import('viem').AuthorizationList;
854
+ chain?: import('viem').Chain | null;
855
+ dataSuffix?: `0x${string}`;
856
+ gas?: bigint;
857
+ gasPrice?: bigint;
858
+ maxFeePerGas?: bigint;
859
+ maxPriorityFeePerGas?: bigint;
860
+ nonce?: number;
861
+ value?: bigint;
862
+ }): Promise<`0x${string}`>;
612
863
  /**
613
- * approve
864
+ * setReleaseAgent
865
+ * nonpayable
866
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
867
+ */
868
+ setReleaseAgent(addr: `0x${string}`, options?: {
869
+ accessList?: import('viem').AccessList;
870
+ authorizationList?: import('viem').AuthorizationList;
871
+ chain?: import('viem').Chain | null;
872
+ dataSuffix?: `0x${string}`;
873
+ gas?: bigint;
874
+ gasPrice?: bigint;
875
+ maxFeePerGas?: bigint;
876
+ maxPriorityFeePerGas?: bigint;
877
+ nonce?: number;
878
+ value?: bigint;
879
+ }): Promise<`0x${string}`>;
880
+ /**
881
+ * mint
614
882
  * nonpayable
615
883
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
616
884
  */
617
- approve(spender: `0x${string}`, amount: bigint, options?: {
885
+ mint(receiver: `0x${string}`, amount: bigint, options?: {
618
886
  accessList?: import('viem').AccessList;
619
887
  authorizationList?: import('viem').AuthorizationList;
620
888
  chain?: import('viem').Chain | null;
@@ -631,7 +899,7 @@ export declare class FetchToken_json {
631
899
  * nonpayable
632
900
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
633
901
  */
634
- burn(amount: bigint, options?: {
902
+ burn(burnAmount: bigint, options?: {
635
903
  accessList?: import('viem').AccessList;
636
904
  authorizationList?: import('viem').AuthorizationList;
637
905
  chain?: import('viem').Chain | null;
@@ -644,11 +912,11 @@ export declare class FetchToken_json {
644
912
  value?: bigint;
645
913
  }): Promise<`0x${string}`>;
646
914
  /**
647
- * burnFrom
915
+ * setMintAgent
648
916
  * nonpayable
649
917
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
650
918
  */
651
- burnFrom(account: `0x${string}`, amount: bigint, options?: {
919
+ setMintAgent(addr: `0x${string}`, state: boolean, options?: {
652
920
  accessList?: import('viem').AccessList;
653
921
  authorizationList?: import('viem').AuthorizationList;
654
922
  chain?: import('viem').Chain | null;
@@ -661,11 +929,11 @@ export declare class FetchToken_json {
661
929
  value?: bigint;
662
930
  }): Promise<`0x${string}`>;
663
931
  /**
664
- * decreaseAllowance
932
+ * upgrade
665
933
  * nonpayable
666
934
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
667
935
  */
668
- decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
936
+ upgrade(value: bigint, options?: {
669
937
  accessList?: import('viem').AccessList;
670
938
  authorizationList?: import('viem').AuthorizationList;
671
939
  chain?: import('viem').Chain | null;
@@ -678,11 +946,11 @@ export declare class FetchToken_json {
678
946
  value?: bigint;
679
947
  }): Promise<`0x${string}`>;
680
948
  /**
681
- * grantRole
949
+ * setTokenInformation
682
950
  * nonpayable
683
951
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
684
952
  */
685
- grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
953
+ setTokenInformation(_name: string, _symbol: string, options?: {
686
954
  accessList?: import('viem').AccessList;
687
955
  authorizationList?: import('viem').AuthorizationList;
688
956
  chain?: import('viem').Chain | null;
@@ -695,11 +963,11 @@ export declare class FetchToken_json {
695
963
  value?: bigint;
696
964
  }): Promise<`0x${string}`>;
697
965
  /**
698
- * increaseAllowance
966
+ * releaseTokenTransfer
699
967
  * nonpayable
700
968
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
701
969
  */
702
- increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
970
+ releaseTokenTransfer(options?: {
703
971
  accessList?: import('viem').AccessList;
704
972
  authorizationList?: import('viem').AuthorizationList;
705
973
  chain?: import('viem').Chain | null;
@@ -712,11 +980,11 @@ export declare class FetchToken_json {
712
980
  value?: bigint;
713
981
  }): Promise<`0x${string}`>;
714
982
  /**
715
- * mint
983
+ * decreaseApproval
716
984
  * nonpayable
717
985
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
718
986
  */
719
- mint(to: `0x${string}`, amount: bigint, options?: {
987
+ decreaseApproval(_spender: `0x${string}`, _subtractedValue: bigint, options?: {
720
988
  accessList?: import('viem').AccessList;
721
989
  authorizationList?: import('viem').AuthorizationList;
722
990
  chain?: import('viem').Chain | null;
@@ -729,11 +997,11 @@ export declare class FetchToken_json {
729
997
  value?: bigint;
730
998
  }): Promise<`0x${string}`>;
731
999
  /**
732
- * pause
1000
+ * transferToOwner
733
1001
  * nonpayable
734
1002
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
735
1003
  */
736
- pause(options?: {
1004
+ transferToOwner(fromWhom: `0x${string}`, options?: {
737
1005
  accessList?: import('viem').AccessList;
738
1006
  authorizationList?: import('viem').AuthorizationList;
739
1007
  chain?: import('viem').Chain | null;
@@ -746,11 +1014,11 @@ export declare class FetchToken_json {
746
1014
  value?: bigint;
747
1015
  }): Promise<`0x${string}`>;
748
1016
  /**
749
- * renounceRole
1017
+ * transfer
750
1018
  * nonpayable
751
1019
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
752
1020
  */
753
- renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
1021
+ transfer(_to: `0x${string}`, _value: bigint, options?: {
754
1022
  accessList?: import('viem').AccessList;
755
1023
  authorizationList?: import('viem').AuthorizationList;
756
1024
  chain?: import('viem').Chain | null;
@@ -763,11 +1031,11 @@ export declare class FetchToken_json {
763
1031
  value?: bigint;
764
1032
  }): Promise<`0x${string}`>;
765
1033
  /**
766
- * revokeRole
1034
+ * tokensToBeReturned
767
1035
  * nonpayable
768
1036
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
769
1037
  */
770
- revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
1038
+ tokensToBeReturned(token: `0x${string}`, options?: {
771
1039
  accessList?: import('viem').AccessList;
772
1040
  authorizationList?: import('viem').AuthorizationList;
773
1041
  chain?: import('viem').Chain | null;
@@ -780,11 +1048,11 @@ export declare class FetchToken_json {
780
1048
  value?: bigint;
781
1049
  }): Promise<`0x${string}`>;
782
1050
  /**
783
- * transfer
1051
+ * increaseApproval
784
1052
  * nonpayable
785
1053
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
786
1054
  */
787
- transfer(recipient: `0x${string}`, amount: bigint, options?: {
1055
+ increaseApproval(_spender: `0x${string}`, _addedValue: bigint, options?: {
788
1056
  accessList?: import('viem').AccessList;
789
1057
  authorizationList?: import('viem').AuthorizationList;
790
1058
  chain?: import('viem').Chain | null;
@@ -797,11 +1065,28 @@ export declare class FetchToken_json {
797
1065
  value?: bigint;
798
1066
  }): Promise<`0x${string}`>;
799
1067
  /**
800
- * transferFrom
1068
+ * setUpgradeAgent
1069
+ * nonpayable
1070
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1071
+ */
1072
+ setUpgradeAgent(agent: `0x${string}`, options?: {
1073
+ accessList?: import('viem').AccessList;
1074
+ authorizationList?: import('viem').AuthorizationList;
1075
+ chain?: import('viem').Chain | null;
1076
+ dataSuffix?: `0x${string}`;
1077
+ gas?: bigint;
1078
+ gasPrice?: bigint;
1079
+ maxFeePerGas?: bigint;
1080
+ maxPriorityFeePerGas?: bigint;
1081
+ nonce?: number;
1082
+ value?: bigint;
1083
+ }): Promise<`0x${string}`>;
1084
+ /**
1085
+ * transferOwnership
801
1086
  * nonpayable
802
1087
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
803
1088
  */
804
- transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
1089
+ transferOwnership(newOwner: `0x${string}`, options?: {
805
1090
  accessList?: import('viem').AccessList;
806
1091
  authorizationList?: import('viem').AuthorizationList;
807
1092
  chain?: import('viem').Chain | null;
@@ -814,11 +1099,11 @@ export declare class FetchToken_json {
814
1099
  value?: bigint;
815
1100
  }): Promise<`0x${string}`>;
816
1101
  /**
817
- * unpause
1102
+ * setUpgradeMaster
818
1103
  * nonpayable
819
1104
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
820
1105
  */
821
- unpause(options?: {
1106
+ setUpgradeMaster(master: `0x${string}`, options?: {
822
1107
  accessList?: import('viem').AccessList;
823
1108
  authorizationList?: import('viem').AuthorizationList;
824
1109
  chain?: import('viem').Chain | null;
@@ -839,12 +1124,29 @@ export declare class FetchToken_json {
839
1124
  * console.log('Would succeed:', result.result);
840
1125
  */
841
1126
  get simulate(): {
1127
+ /**
1128
+ * Simulate setTransferAgent
1129
+ * Returns gas estimate and result without sending transaction
1130
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1131
+ */
1132
+ setTransferAgent(addr: `0x${string}`, state: boolean, options?: {
1133
+ accessList?: import("viem").AccessList;
1134
+ authorizationList?: import("viem").AuthorizationList;
1135
+ chain?: import("viem").Chain | null;
1136
+ dataSuffix?: `0x${string}`;
1137
+ gas?: bigint;
1138
+ gasPrice?: bigint;
1139
+ maxFeePerGas?: bigint;
1140
+ maxPriorityFeePerGas?: bigint;
1141
+ nonce?: number;
1142
+ value?: bigint;
1143
+ }): Promise<void>;
842
1144
  /**
843
1145
  * Simulate approve
844
1146
  * Returns gas estimate and result without sending transaction
845
1147
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
846
1148
  */
847
- approve(spender: `0x${string}`, amount: bigint, options?: {
1149
+ approve(_spender: `0x${string}`, _value: bigint, options?: {
848
1150
  accessList?: import("viem").AccessList;
849
1151
  authorizationList?: import("viem").AuthorizationList;
850
1152
  chain?: import("viem").Chain | null;
@@ -857,11 +1159,11 @@ export declare class FetchToken_json {
857
1159
  value?: bigint;
858
1160
  }): Promise<boolean>;
859
1161
  /**
860
- * Simulate burn
1162
+ * Simulate recoverTokens
861
1163
  * Returns gas estimate and result without sending transaction
862
1164
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
863
1165
  */
864
- burn(amount: bigint, options?: {
1166
+ recoverTokens(token: `0x${string}`, options?: {
865
1167
  accessList?: import("viem").AccessList;
866
1168
  authorizationList?: import("viem").AuthorizationList;
867
1169
  chain?: import("viem").Chain | null;
@@ -874,11 +1176,28 @@ export declare class FetchToken_json {
874
1176
  value?: bigint;
875
1177
  }): Promise<void>;
876
1178
  /**
877
- * Simulate burnFrom
1179
+ * Simulate transferFrom
1180
+ * Returns gas estimate and result without sending transaction
1181
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1182
+ */
1183
+ transferFrom(_from: `0x${string}`, _to: `0x${string}`, _value: bigint, options?: {
1184
+ accessList?: import("viem").AccessList;
1185
+ authorizationList?: import("viem").AuthorizationList;
1186
+ chain?: import("viem").Chain | null;
1187
+ dataSuffix?: `0x${string}`;
1188
+ gas?: bigint;
1189
+ gasPrice?: bigint;
1190
+ maxFeePerGas?: bigint;
1191
+ maxPriorityFeePerGas?: bigint;
1192
+ nonce?: number;
1193
+ value?: bigint;
1194
+ }): Promise<boolean>;
1195
+ /**
1196
+ * Simulate setReleaseAgent
878
1197
  * Returns gas estimate and result without sending transaction
879
1198
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
880
1199
  */
881
- burnFrom(account: `0x${string}`, amount: bigint, options?: {
1200
+ setReleaseAgent(addr: `0x${string}`, options?: {
882
1201
  accessList?: import("viem").AccessList;
883
1202
  authorizationList?: import("viem").AuthorizationList;
884
1203
  chain?: import("viem").Chain | null;
@@ -891,11 +1210,11 @@ export declare class FetchToken_json {
891
1210
  value?: bigint;
892
1211
  }): Promise<void>;
893
1212
  /**
894
- * Simulate decreaseAllowance
1213
+ * Simulate mint
895
1214
  * Returns gas estimate and result without sending transaction
896
1215
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
897
1216
  */
898
- decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
1217
+ mint(receiver: `0x${string}`, amount: bigint, options?: {
899
1218
  accessList?: import("viem").AccessList;
900
1219
  authorizationList?: import("viem").AuthorizationList;
901
1220
  chain?: import("viem").Chain | null;
@@ -906,13 +1225,13 @@ export declare class FetchToken_json {
906
1225
  maxPriorityFeePerGas?: bigint;
907
1226
  nonce?: number;
908
1227
  value?: bigint;
909
- }): Promise<boolean>;
1228
+ }): Promise<void>;
910
1229
  /**
911
- * Simulate grantRole
1230
+ * Simulate burn
912
1231
  * Returns gas estimate and result without sending transaction
913
1232
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
914
1233
  */
915
- grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1234
+ burn(burnAmount: bigint, options?: {
916
1235
  accessList?: import("viem").AccessList;
917
1236
  authorizationList?: import("viem").AuthorizationList;
918
1237
  chain?: import("viem").Chain | null;
@@ -925,11 +1244,11 @@ export declare class FetchToken_json {
925
1244
  value?: bigint;
926
1245
  }): Promise<void>;
927
1246
  /**
928
- * Simulate increaseAllowance
1247
+ * Simulate setMintAgent
929
1248
  * Returns gas estimate and result without sending transaction
930
1249
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
931
1250
  */
932
- increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
1251
+ setMintAgent(addr: `0x${string}`, state: boolean, options?: {
933
1252
  accessList?: import("viem").AccessList;
934
1253
  authorizationList?: import("viem").AuthorizationList;
935
1254
  chain?: import("viem").Chain | null;
@@ -940,13 +1259,13 @@ export declare class FetchToken_json {
940
1259
  maxPriorityFeePerGas?: bigint;
941
1260
  nonce?: number;
942
1261
  value?: bigint;
943
- }): Promise<boolean>;
1262
+ }): Promise<void>;
944
1263
  /**
945
- * Simulate mint
1264
+ * Simulate upgrade
946
1265
  * Returns gas estimate and result without sending transaction
947
1266
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
948
1267
  */
949
- mint(to: `0x${string}`, amount: bigint, options?: {
1268
+ upgrade(value: bigint, options?: {
950
1269
  accessList?: import("viem").AccessList;
951
1270
  authorizationList?: import("viem").AuthorizationList;
952
1271
  chain?: import("viem").Chain | null;
@@ -959,11 +1278,11 @@ export declare class FetchToken_json {
959
1278
  value?: bigint;
960
1279
  }): Promise<void>;
961
1280
  /**
962
- * Simulate pause
1281
+ * Simulate setTokenInformation
963
1282
  * Returns gas estimate and result without sending transaction
964
1283
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
965
1284
  */
966
- pause(options?: {
1285
+ setTokenInformation(_name: string, _symbol: string, options?: {
967
1286
  accessList?: import("viem").AccessList;
968
1287
  authorizationList?: import("viem").AuthorizationList;
969
1288
  chain?: import("viem").Chain | null;
@@ -976,11 +1295,11 @@ export declare class FetchToken_json {
976
1295
  value?: bigint;
977
1296
  }): Promise<void>;
978
1297
  /**
979
- * Simulate renounceRole
1298
+ * Simulate releaseTokenTransfer
980
1299
  * Returns gas estimate and result without sending transaction
981
1300
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
982
1301
  */
983
- renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
1302
+ releaseTokenTransfer(options?: {
984
1303
  accessList?: import("viem").AccessList;
985
1304
  authorizationList?: import("viem").AuthorizationList;
986
1305
  chain?: import("viem").Chain | null;
@@ -993,11 +1312,28 @@ export declare class FetchToken_json {
993
1312
  value?: bigint;
994
1313
  }): Promise<void>;
995
1314
  /**
996
- * Simulate revokeRole
1315
+ * Simulate decreaseApproval
1316
+ * Returns gas estimate and result without sending transaction
1317
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1318
+ */
1319
+ decreaseApproval(_spender: `0x${string}`, _subtractedValue: bigint, options?: {
1320
+ accessList?: import("viem").AccessList;
1321
+ authorizationList?: import("viem").AuthorizationList;
1322
+ chain?: import("viem").Chain | null;
1323
+ dataSuffix?: `0x${string}`;
1324
+ gas?: bigint;
1325
+ gasPrice?: bigint;
1326
+ maxFeePerGas?: bigint;
1327
+ maxPriorityFeePerGas?: bigint;
1328
+ nonce?: number;
1329
+ value?: bigint;
1330
+ }): Promise<boolean>;
1331
+ /**
1332
+ * Simulate transferToOwner
997
1333
  * Returns gas estimate and result without sending transaction
998
1334
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
999
1335
  */
1000
- revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
1336
+ transferToOwner(fromWhom: `0x${string}`, options?: {
1001
1337
  accessList?: import("viem").AccessList;
1002
1338
  authorizationList?: import("viem").AuthorizationList;
1003
1339
  chain?: import("viem").Chain | null;
@@ -1014,7 +1350,7 @@ export declare class FetchToken_json {
1014
1350
  * Returns gas estimate and result without sending transaction
1015
1351
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1016
1352
  */
1017
- transfer(recipient: `0x${string}`, amount: bigint, options?: {
1353
+ transfer(_to: `0x${string}`, _value: bigint, options?: {
1018
1354
  accessList?: import("viem").AccessList;
1019
1355
  authorizationList?: import("viem").AuthorizationList;
1020
1356
  chain?: import("viem").Chain | null;
@@ -1027,11 +1363,28 @@ export declare class FetchToken_json {
1027
1363
  value?: bigint;
1028
1364
  }): Promise<boolean>;
1029
1365
  /**
1030
- * Simulate transferFrom
1366
+ * Simulate tokensToBeReturned
1367
+ * Returns gas estimate and result without sending transaction
1368
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1369
+ */
1370
+ tokensToBeReturned(token: `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<bigint>;
1382
+ /**
1383
+ * Simulate increaseApproval
1031
1384
  * Returns gas estimate and result without sending transaction
1032
1385
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1033
1386
  */
1034
- transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
1387
+ increaseApproval(_spender: `0x${string}`, _addedValue: bigint, options?: {
1035
1388
  accessList?: import("viem").AccessList;
1036
1389
  authorizationList?: import("viem").AuthorizationList;
1037
1390
  chain?: import("viem").Chain | null;
@@ -1044,11 +1397,45 @@ export declare class FetchToken_json {
1044
1397
  value?: bigint;
1045
1398
  }): Promise<boolean>;
1046
1399
  /**
1047
- * Simulate unpause
1400
+ * Simulate setUpgradeAgent
1401
+ * Returns gas estimate and result without sending transaction
1402
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1403
+ */
1404
+ setUpgradeAgent(agent: `0x${string}`, options?: {
1405
+ accessList?: import("viem").AccessList;
1406
+ authorizationList?: import("viem").AuthorizationList;
1407
+ chain?: import("viem").Chain | null;
1408
+ dataSuffix?: `0x${string}`;
1409
+ gas?: bigint;
1410
+ gasPrice?: bigint;
1411
+ maxFeePerGas?: bigint;
1412
+ maxPriorityFeePerGas?: bigint;
1413
+ nonce?: number;
1414
+ value?: bigint;
1415
+ }): Promise<void>;
1416
+ /**
1417
+ * Simulate transferOwnership
1418
+ * Returns gas estimate and result without sending transaction
1419
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1420
+ */
1421
+ transferOwnership(newOwner: `0x${string}`, options?: {
1422
+ accessList?: import("viem").AccessList;
1423
+ authorizationList?: import("viem").AuthorizationList;
1424
+ chain?: import("viem").Chain | null;
1425
+ dataSuffix?: `0x${string}`;
1426
+ gas?: bigint;
1427
+ gasPrice?: bigint;
1428
+ maxFeePerGas?: bigint;
1429
+ maxPriorityFeePerGas?: bigint;
1430
+ nonce?: number;
1431
+ value?: bigint;
1432
+ }): Promise<void>;
1433
+ /**
1434
+ * Simulate setUpgradeMaster
1048
1435
  * Returns gas estimate and result without sending transaction
1049
1436
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1050
1437
  */
1051
- unpause(options?: {
1438
+ setUpgradeMaster(master: `0x${string}`, options?: {
1052
1439
  accessList?: import("viem").AccessList;
1053
1440
  authorizationList?: import("viem").AuthorizationList;
1054
1441
  chain?: import("viem").Chain | null;
@@ -1075,57 +1462,104 @@ export declare class FetchToken_json {
1075
1462
  */
1076
1463
  get watch(): {
1077
1464
  /**
1078
- * Watch Approval events
1465
+ * Watch OwnerReclaim events
1079
1466
  * @param callback Function to call when event is emitted
1080
1467
  * @param filter Optional filter for indexed parameters
1081
1468
  * @returns Unwatch function to stop listening
1082
1469
  */
1083
- Approval: (callback: (event: {
1084
- owner: `0x${string}`;
1085
- spender: `0x${string}`;
1086
- value: bigint;
1470
+ OwnerReclaim: (callback: (event: {
1471
+ fromWhom: `0x${string}`;
1472
+ amount: bigint;
1473
+ }) => void) => () => void;
1474
+ /**
1475
+ * Watch UpdatedTokenInformation events
1476
+ * @param callback Function to call when event is emitted
1477
+ * @param filter Optional filter for indexed parameters
1478
+ * @returns Unwatch function to stop listening
1479
+ */
1480
+ UpdatedTokenInformation: (callback: (event: {
1481
+ newName: string;
1482
+ newSymbol: string;
1483
+ }) => void) => () => void;
1484
+ /**
1485
+ * Watch Upgrade events
1486
+ * @param callback Function to call when event is emitted
1487
+ * @param filter Optional filter for indexed parameters
1488
+ * @returns Unwatch function to stop listening
1489
+ */
1490
+ Upgrade: (callback: (event: {
1491
+ _from: `0x${string}`;
1492
+ _to: `0x${string}`;
1493
+ _value: bigint;
1087
1494
  }) => void, filter?: {
1088
- owner: `0x${string}`;
1089
- spender: `0x${string}`;
1495
+ _from: `0x${string}`;
1496
+ _to: `0x${string}`;
1090
1497
  }) => () => void;
1091
1498
  /**
1092
- * Watch Paused events
1499
+ * Watch UpgradeAgentSet events
1500
+ * @param callback Function to call when event is emitted
1501
+ * @param filter Optional filter for indexed parameters
1502
+ * @returns Unwatch function to stop listening
1503
+ */
1504
+ UpgradeAgentSet: (callback: (event: {
1505
+ agent: `0x${string}`;
1506
+ }) => void) => () => void;
1507
+ /**
1508
+ * Watch MintingAgentChanged events
1509
+ * @param callback Function to call when event is emitted
1510
+ * @param filter Optional filter for indexed parameters
1511
+ * @returns Unwatch function to stop listening
1512
+ */
1513
+ MintingAgentChanged: (callback: (event: {
1514
+ addr: `0x${string}`;
1515
+ state: boolean;
1516
+ }) => void) => () => void;
1517
+ /**
1518
+ * Watch Minted events
1519
+ * @param callback Function to call when event is emitted
1520
+ * @param filter Optional filter for indexed parameters
1521
+ * @returns Unwatch function to stop listening
1522
+ */
1523
+ Minted: (callback: (event: {
1524
+ receiver: `0x${string}`;
1525
+ amount: bigint;
1526
+ }) => void) => () => void;
1527
+ /**
1528
+ * Watch Burned events
1093
1529
  * @param callback Function to call when event is emitted
1094
1530
  * @param filter Optional filter for indexed parameters
1095
1531
  * @returns Unwatch function to stop listening
1096
1532
  */
1097
- Paused: (callback: (event: {
1098
- account: `0x${string}`;
1533
+ Burned: (callback: (event: {
1534
+ burner: `0x${string}`;
1535
+ burnedAmount: bigint;
1099
1536
  }) => void) => () => void;
1100
1537
  /**
1101
- * Watch RoleGranted events
1538
+ * Watch OwnershipTransferred events
1102
1539
  * @param callback Function to call when event is emitted
1103
1540
  * @param filter Optional filter for indexed parameters
1104
1541
  * @returns Unwatch function to stop listening
1105
1542
  */
1106
- RoleGranted: (callback: (event: {
1107
- role: `0x${string}`;
1108
- account: `0x${string}`;
1109
- sender: `0x${string}`;
1543
+ OwnershipTransferred: (callback: (event: {
1544
+ previousOwner: `0x${string}`;
1545
+ newOwner: `0x${string}`;
1110
1546
  }) => void, filter?: {
1111
- role: `0x${string}`;
1112
- account: `0x${string}`;
1113
- sender: `0x${string}`;
1547
+ previousOwner: `0x${string}`;
1548
+ newOwner: `0x${string}`;
1114
1549
  }) => () => void;
1115
1550
  /**
1116
- * Watch RoleRevoked events
1551
+ * Watch Approval events
1117
1552
  * @param callback Function to call when event is emitted
1118
1553
  * @param filter Optional filter for indexed parameters
1119
1554
  * @returns Unwatch function to stop listening
1120
1555
  */
1121
- RoleRevoked: (callback: (event: {
1122
- role: `0x${string}`;
1123
- account: `0x${string}`;
1124
- sender: `0x${string}`;
1556
+ Approval: (callback: (event: {
1557
+ owner: `0x${string}`;
1558
+ spender: `0x${string}`;
1559
+ value: bigint;
1125
1560
  }) => void, filter?: {
1126
- role: `0x${string}`;
1127
- account: `0x${string}`;
1128
- sender: `0x${string}`;
1561
+ owner: `0x${string}`;
1562
+ spender: `0x${string}`;
1129
1563
  }) => () => void;
1130
1564
  /**
1131
1565
  * Watch Transfer events
@@ -1141,14 +1575,5 @@ export declare class FetchToken_json {
1141
1575
  from: `0x${string}`;
1142
1576
  to: `0x${string}`;
1143
1577
  }) => () => void;
1144
- /**
1145
- * Watch Unpaused events
1146
- * @param callback Function to call when event is emitted
1147
- * @param filter Optional filter for indexed parameters
1148
- * @returns Unwatch function to stop listening
1149
- */
1150
- Unpaused: (callback: (event: {
1151
- account: `0x${string}`;
1152
- }) => void) => () => void;
1153
1578
  };
1154
1579
  }