@gitmyabi/tel 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.
@@ -0,0 +1,1967 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * TelcoinV3_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const TelcoinV3_jsonAbi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "admin_";
11
+ readonly type: "address";
12
+ }];
13
+ readonly stateMutability: "nonpayable";
14
+ readonly type: "constructor";
15
+ }, {
16
+ readonly inputs: readonly [];
17
+ readonly name: "AccessControlBadConfirmation";
18
+ readonly type: "error";
19
+ }, {
20
+ readonly inputs: readonly [{
21
+ readonly internalType: "address";
22
+ readonly name: "account";
23
+ readonly type: "address";
24
+ }, {
25
+ readonly internalType: "bytes32";
26
+ readonly name: "neededRole";
27
+ readonly type: "bytes32";
28
+ }];
29
+ readonly name: "AccessControlUnauthorizedAccount";
30
+ readonly type: "error";
31
+ }, {
32
+ readonly inputs: readonly [];
33
+ readonly name: "AuthorizationAlreadyUsed";
34
+ readonly type: "error";
35
+ }, {
36
+ readonly inputs: readonly [];
37
+ readonly name: "AuthorizationExpired";
38
+ readonly type: "error";
39
+ }, {
40
+ readonly inputs: readonly [];
41
+ readonly name: "AuthorizationNotYetValid";
42
+ readonly type: "error";
43
+ }, {
44
+ readonly inputs: readonly [];
45
+ readonly name: "CallerMustBePayee";
46
+ readonly type: "error";
47
+ }, {
48
+ readonly inputs: readonly [];
49
+ readonly name: "CannotRenounceRole";
50
+ readonly type: "error";
51
+ }, {
52
+ readonly inputs: readonly [{
53
+ readonly internalType: "address";
54
+ readonly name: "spender";
55
+ readonly type: "address";
56
+ }, {
57
+ readonly internalType: "uint256";
58
+ readonly name: "allowance";
59
+ readonly type: "uint256";
60
+ }, {
61
+ readonly internalType: "uint256";
62
+ readonly name: "needed";
63
+ readonly type: "uint256";
64
+ }];
65
+ readonly name: "ERC20InsufficientAllowance";
66
+ readonly type: "error";
67
+ }, {
68
+ readonly inputs: readonly [{
69
+ readonly internalType: "address";
70
+ readonly name: "sender";
71
+ readonly type: "address";
72
+ }, {
73
+ readonly internalType: "uint256";
74
+ readonly name: "balance";
75
+ readonly type: "uint256";
76
+ }, {
77
+ readonly internalType: "uint256";
78
+ readonly name: "needed";
79
+ readonly type: "uint256";
80
+ }];
81
+ readonly name: "ERC20InsufficientBalance";
82
+ readonly type: "error";
83
+ }, {
84
+ readonly inputs: readonly [{
85
+ readonly internalType: "address";
86
+ readonly name: "approver";
87
+ readonly type: "address";
88
+ }];
89
+ readonly name: "ERC20InvalidApprover";
90
+ readonly type: "error";
91
+ }, {
92
+ readonly inputs: readonly [{
93
+ readonly internalType: "address";
94
+ readonly name: "receiver";
95
+ readonly type: "address";
96
+ }];
97
+ readonly name: "ERC20InvalidReceiver";
98
+ readonly type: "error";
99
+ }, {
100
+ readonly inputs: readonly [{
101
+ readonly internalType: "address";
102
+ readonly name: "sender";
103
+ readonly type: "address";
104
+ }];
105
+ readonly name: "ERC20InvalidSender";
106
+ readonly type: "error";
107
+ }, {
108
+ readonly inputs: readonly [{
109
+ readonly internalType: "address";
110
+ readonly name: "spender";
111
+ readonly type: "address";
112
+ }];
113
+ readonly name: "ERC20InvalidSpender";
114
+ readonly type: "error";
115
+ }, {
116
+ readonly inputs: readonly [{
117
+ readonly internalType: "uint256";
118
+ readonly name: "deadline";
119
+ readonly type: "uint256";
120
+ }];
121
+ readonly name: "ERC2612ExpiredSignature";
122
+ readonly type: "error";
123
+ }, {
124
+ readonly inputs: readonly [{
125
+ readonly internalType: "address";
126
+ readonly name: "signer";
127
+ readonly type: "address";
128
+ }, {
129
+ readonly internalType: "address";
130
+ readonly name: "owner";
131
+ readonly type: "address";
132
+ }];
133
+ readonly name: "ERC2612InvalidSigner";
134
+ readonly type: "error";
135
+ }, {
136
+ readonly inputs: readonly [];
137
+ readonly name: "EnforcedPause";
138
+ readonly type: "error";
139
+ }, {
140
+ readonly inputs: readonly [];
141
+ readonly name: "ExpectedPause";
142
+ readonly type: "error";
143
+ }, {
144
+ readonly inputs: readonly [{
145
+ readonly internalType: "address";
146
+ readonly name: "account";
147
+ readonly type: "address";
148
+ }, {
149
+ readonly internalType: "uint256";
150
+ readonly name: "currentNonce";
151
+ readonly type: "uint256";
152
+ }];
153
+ readonly name: "InvalidAccountNonce";
154
+ readonly type: "error";
155
+ }, {
156
+ readonly inputs: readonly [];
157
+ readonly name: "InvalidShortString";
158
+ readonly type: "error";
159
+ }, {
160
+ readonly inputs: readonly [];
161
+ readonly name: "InvalidSignature";
162
+ readonly type: "error";
163
+ }, {
164
+ readonly inputs: readonly [{
165
+ readonly internalType: "address";
166
+ readonly name: "token";
167
+ readonly type: "address";
168
+ }];
169
+ readonly name: "SafeERC20FailedOperation";
170
+ readonly type: "error";
171
+ }, {
172
+ readonly inputs: readonly [{
173
+ readonly internalType: "string";
174
+ readonly name: "str";
175
+ readonly type: "string";
176
+ }];
177
+ readonly name: "StringTooLong";
178
+ readonly type: "error";
179
+ }, {
180
+ readonly inputs: readonly [];
181
+ readonly name: "SupplyCapExceeded";
182
+ readonly type: "error";
183
+ }, {
184
+ readonly inputs: readonly [];
185
+ readonly name: "ZeroAddress";
186
+ readonly type: "error";
187
+ }, {
188
+ readonly inputs: readonly [];
189
+ readonly name: "ZeroAmount";
190
+ readonly type: "error";
191
+ }, {
192
+ readonly anonymous: false;
193
+ readonly inputs: readonly [{
194
+ readonly indexed: true;
195
+ readonly internalType: "address";
196
+ readonly name: "owner";
197
+ readonly type: "address";
198
+ }, {
199
+ readonly indexed: true;
200
+ readonly internalType: "address";
201
+ readonly name: "spender";
202
+ readonly type: "address";
203
+ }, {
204
+ readonly indexed: false;
205
+ readonly internalType: "uint256";
206
+ readonly name: "value";
207
+ readonly type: "uint256";
208
+ }];
209
+ readonly name: "Approval";
210
+ readonly type: "event";
211
+ }, {
212
+ readonly anonymous: false;
213
+ readonly inputs: readonly [{
214
+ readonly indexed: true;
215
+ readonly internalType: "address";
216
+ readonly name: "authorizer";
217
+ readonly type: "address";
218
+ }, {
219
+ readonly indexed: true;
220
+ readonly internalType: "bytes32";
221
+ readonly name: "nonce";
222
+ readonly type: "bytes32";
223
+ }];
224
+ readonly name: "AuthorizationCanceled";
225
+ readonly type: "event";
226
+ }, {
227
+ readonly anonymous: false;
228
+ readonly inputs: readonly [{
229
+ readonly indexed: true;
230
+ readonly internalType: "address";
231
+ readonly name: "authorizer";
232
+ readonly type: "address";
233
+ }, {
234
+ readonly indexed: true;
235
+ readonly internalType: "bytes32";
236
+ readonly name: "nonce";
237
+ readonly type: "bytes32";
238
+ }];
239
+ readonly name: "AuthorizationUsed";
240
+ readonly type: "event";
241
+ }, {
242
+ readonly anonymous: false;
243
+ readonly inputs: readonly [];
244
+ readonly name: "EIP712DomainChanged";
245
+ readonly type: "event";
246
+ }, {
247
+ readonly anonymous: false;
248
+ readonly inputs: readonly [{
249
+ readonly indexed: false;
250
+ readonly internalType: "address";
251
+ readonly name: "account";
252
+ readonly type: "address";
253
+ }];
254
+ readonly name: "Paused";
255
+ readonly type: "event";
256
+ }, {
257
+ readonly anonymous: false;
258
+ readonly inputs: readonly [{
259
+ readonly indexed: true;
260
+ readonly internalType: "bytes32";
261
+ readonly name: "role";
262
+ readonly type: "bytes32";
263
+ }, {
264
+ readonly indexed: true;
265
+ readonly internalType: "bytes32";
266
+ readonly name: "previousAdminRole";
267
+ readonly type: "bytes32";
268
+ }, {
269
+ readonly indexed: true;
270
+ readonly internalType: "bytes32";
271
+ readonly name: "newAdminRole";
272
+ readonly type: "bytes32";
273
+ }];
274
+ readonly name: "RoleAdminChanged";
275
+ readonly type: "event";
276
+ }, {
277
+ readonly anonymous: false;
278
+ readonly inputs: readonly [{
279
+ readonly indexed: true;
280
+ readonly internalType: "bytes32";
281
+ readonly name: "role";
282
+ readonly type: "bytes32";
283
+ }, {
284
+ readonly indexed: true;
285
+ readonly internalType: "address";
286
+ readonly name: "account";
287
+ readonly type: "address";
288
+ }, {
289
+ readonly indexed: true;
290
+ readonly internalType: "address";
291
+ readonly name: "sender";
292
+ readonly type: "address";
293
+ }];
294
+ readonly name: "RoleGranted";
295
+ readonly type: "event";
296
+ }, {
297
+ readonly anonymous: false;
298
+ readonly inputs: readonly [{
299
+ readonly indexed: true;
300
+ readonly internalType: "bytes32";
301
+ readonly name: "role";
302
+ readonly type: "bytes32";
303
+ }, {
304
+ readonly indexed: true;
305
+ readonly internalType: "address";
306
+ readonly name: "account";
307
+ readonly type: "address";
308
+ }, {
309
+ readonly indexed: true;
310
+ readonly internalType: "address";
311
+ readonly name: "sender";
312
+ readonly type: "address";
313
+ }];
314
+ readonly name: "RoleRevoked";
315
+ readonly type: "event";
316
+ }, {
317
+ readonly anonymous: false;
318
+ readonly inputs: readonly [{
319
+ readonly indexed: true;
320
+ readonly internalType: "address";
321
+ readonly name: "from";
322
+ readonly type: "address";
323
+ }, {
324
+ readonly indexed: true;
325
+ readonly internalType: "address";
326
+ readonly name: "to";
327
+ readonly type: "address";
328
+ }, {
329
+ readonly indexed: false;
330
+ readonly internalType: "uint256";
331
+ readonly name: "value";
332
+ readonly type: "uint256";
333
+ }];
334
+ readonly name: "Transfer";
335
+ readonly type: "event";
336
+ }, {
337
+ readonly anonymous: false;
338
+ readonly inputs: readonly [{
339
+ readonly indexed: false;
340
+ readonly internalType: "address";
341
+ readonly name: "account";
342
+ readonly type: "address";
343
+ }];
344
+ readonly name: "Unpaused";
345
+ readonly type: "event";
346
+ }, {
347
+ readonly inputs: readonly [];
348
+ readonly name: "BURNER_ROLE";
349
+ readonly outputs: readonly [{
350
+ readonly internalType: "bytes32";
351
+ readonly name: "";
352
+ readonly type: "bytes32";
353
+ }];
354
+ readonly stateMutability: "view";
355
+ readonly type: "function";
356
+ }, {
357
+ readonly inputs: readonly [];
358
+ readonly name: "CANCEL_AUTHORIZATION_TYPEHASH";
359
+ readonly outputs: readonly [{
360
+ readonly internalType: "bytes32";
361
+ readonly name: "";
362
+ readonly type: "bytes32";
363
+ }];
364
+ readonly stateMutability: "view";
365
+ readonly type: "function";
366
+ }, {
367
+ readonly inputs: readonly [];
368
+ readonly name: "DEFAULT_ADMIN_ROLE";
369
+ readonly outputs: readonly [{
370
+ readonly internalType: "bytes32";
371
+ readonly name: "";
372
+ readonly type: "bytes32";
373
+ }];
374
+ readonly stateMutability: "view";
375
+ readonly type: "function";
376
+ }, {
377
+ readonly inputs: readonly [];
378
+ readonly name: "DOMAIN_SEPARATOR";
379
+ readonly outputs: readonly [{
380
+ readonly internalType: "bytes32";
381
+ readonly name: "";
382
+ readonly type: "bytes32";
383
+ }];
384
+ readonly stateMutability: "view";
385
+ readonly type: "function";
386
+ }, {
387
+ readonly inputs: readonly [];
388
+ readonly name: "MIGRATION_SUPPLY_CAP";
389
+ readonly outputs: readonly [{
390
+ readonly internalType: "uint256";
391
+ readonly name: "";
392
+ readonly type: "uint256";
393
+ }];
394
+ readonly stateMutability: "view";
395
+ readonly type: "function";
396
+ }, {
397
+ readonly inputs: readonly [];
398
+ readonly name: "MINTER_ROLE";
399
+ readonly outputs: readonly [{
400
+ readonly internalType: "bytes32";
401
+ readonly name: "";
402
+ readonly type: "bytes32";
403
+ }];
404
+ readonly stateMutability: "view";
405
+ readonly type: "function";
406
+ }, {
407
+ readonly inputs: readonly [];
408
+ readonly name: "PAUSER_ROLE";
409
+ readonly outputs: readonly [{
410
+ readonly internalType: "bytes32";
411
+ readonly name: "";
412
+ readonly type: "bytes32";
413
+ }];
414
+ readonly stateMutability: "view";
415
+ readonly type: "function";
416
+ }, {
417
+ readonly inputs: readonly [];
418
+ readonly name: "PERMIT_TYPEHASH";
419
+ readonly outputs: readonly [{
420
+ readonly internalType: "bytes32";
421
+ readonly name: "";
422
+ readonly type: "bytes32";
423
+ }];
424
+ readonly stateMutability: "view";
425
+ readonly type: "function";
426
+ }, {
427
+ readonly inputs: readonly [];
428
+ readonly name: "RECEIVE_WITH_AUTHORIZATION_TYPEHASH";
429
+ readonly outputs: readonly [{
430
+ readonly internalType: "bytes32";
431
+ readonly name: "";
432
+ readonly type: "bytes32";
433
+ }];
434
+ readonly stateMutability: "view";
435
+ readonly type: "function";
436
+ }, {
437
+ readonly inputs: readonly [];
438
+ readonly name: "TRANSFER_WITH_AUTHORIZATION_TYPEHASH";
439
+ readonly outputs: readonly [{
440
+ readonly internalType: "bytes32";
441
+ readonly name: "";
442
+ readonly type: "bytes32";
443
+ }];
444
+ readonly stateMutability: "view";
445
+ readonly type: "function";
446
+ }, {
447
+ readonly inputs: readonly [];
448
+ readonly name: "UNPAUSER_ROLE";
449
+ readonly outputs: readonly [{
450
+ readonly internalType: "bytes32";
451
+ readonly name: "";
452
+ readonly type: "bytes32";
453
+ }];
454
+ readonly stateMutability: "view";
455
+ readonly type: "function";
456
+ }, {
457
+ readonly inputs: readonly [{
458
+ readonly internalType: "address";
459
+ readonly name: "owner";
460
+ readonly type: "address";
461
+ }, {
462
+ readonly internalType: "address";
463
+ readonly name: "spender";
464
+ readonly type: "address";
465
+ }];
466
+ readonly name: "allowance";
467
+ readonly outputs: readonly [{
468
+ readonly internalType: "uint256";
469
+ readonly name: "";
470
+ readonly type: "uint256";
471
+ }];
472
+ readonly stateMutability: "view";
473
+ readonly type: "function";
474
+ }, {
475
+ readonly inputs: readonly [{
476
+ readonly internalType: "address";
477
+ readonly name: "spender";
478
+ readonly type: "address";
479
+ }, {
480
+ readonly internalType: "uint256";
481
+ readonly name: "value";
482
+ readonly type: "uint256";
483
+ }];
484
+ readonly name: "approve";
485
+ readonly outputs: readonly [{
486
+ readonly internalType: "bool";
487
+ readonly name: "";
488
+ readonly type: "bool";
489
+ }];
490
+ readonly stateMutability: "nonpayable";
491
+ readonly type: "function";
492
+ }, {
493
+ readonly inputs: readonly [{
494
+ readonly internalType: "address";
495
+ readonly name: "authorizer";
496
+ readonly type: "address";
497
+ }, {
498
+ readonly internalType: "bytes32";
499
+ readonly name: "nonce";
500
+ readonly type: "bytes32";
501
+ }];
502
+ readonly name: "authorizationState";
503
+ readonly outputs: readonly [{
504
+ readonly internalType: "bool";
505
+ readonly name: "";
506
+ readonly type: "bool";
507
+ }];
508
+ readonly stateMutability: "view";
509
+ readonly type: "function";
510
+ }, {
511
+ readonly inputs: readonly [{
512
+ readonly internalType: "address";
513
+ readonly name: "account";
514
+ readonly type: "address";
515
+ }];
516
+ readonly name: "balanceOf";
517
+ readonly outputs: readonly [{
518
+ readonly internalType: "uint256";
519
+ readonly name: "";
520
+ readonly type: "uint256";
521
+ }];
522
+ readonly stateMutability: "view";
523
+ readonly type: "function";
524
+ }, {
525
+ readonly inputs: readonly [{
526
+ readonly internalType: "address";
527
+ readonly name: "from";
528
+ readonly type: "address";
529
+ }, {
530
+ readonly internalType: "uint256";
531
+ readonly name: "amount";
532
+ readonly type: "uint256";
533
+ }];
534
+ readonly name: "burn";
535
+ readonly outputs: readonly [];
536
+ readonly stateMutability: "nonpayable";
537
+ readonly type: "function";
538
+ }, {
539
+ readonly inputs: readonly [{
540
+ readonly internalType: "address";
541
+ readonly name: "authorizer";
542
+ readonly type: "address";
543
+ }, {
544
+ readonly internalType: "bytes32";
545
+ readonly name: "nonce";
546
+ readonly type: "bytes32";
547
+ }, {
548
+ readonly internalType: "uint8";
549
+ readonly name: "v";
550
+ readonly type: "uint8";
551
+ }, {
552
+ readonly internalType: "bytes32";
553
+ readonly name: "r";
554
+ readonly type: "bytes32";
555
+ }, {
556
+ readonly internalType: "bytes32";
557
+ readonly name: "s";
558
+ readonly type: "bytes32";
559
+ }];
560
+ readonly name: "cancelAuthorization";
561
+ readonly outputs: readonly [];
562
+ readonly stateMutability: "nonpayable";
563
+ readonly type: "function";
564
+ }, {
565
+ readonly inputs: readonly [{
566
+ readonly internalType: "address";
567
+ readonly name: "authorizer";
568
+ readonly type: "address";
569
+ }, {
570
+ readonly internalType: "bytes32";
571
+ readonly name: "nonce";
572
+ readonly type: "bytes32";
573
+ }, {
574
+ readonly internalType: "bytes";
575
+ readonly name: "signature";
576
+ readonly type: "bytes";
577
+ }];
578
+ readonly name: "cancelAuthorization";
579
+ readonly outputs: readonly [];
580
+ readonly stateMutability: "nonpayable";
581
+ readonly type: "function";
582
+ }, {
583
+ readonly inputs: readonly [];
584
+ readonly name: "decimals";
585
+ readonly outputs: readonly [{
586
+ readonly internalType: "uint8";
587
+ readonly name: "";
588
+ readonly type: "uint8";
589
+ }];
590
+ readonly stateMutability: "view";
591
+ readonly type: "function";
592
+ }, {
593
+ readonly inputs: readonly [];
594
+ readonly name: "eip712Domain";
595
+ readonly outputs: readonly [{
596
+ readonly internalType: "bytes1";
597
+ readonly name: "fields";
598
+ readonly type: "bytes1";
599
+ }, {
600
+ readonly internalType: "string";
601
+ readonly name: "name";
602
+ readonly type: "string";
603
+ }, {
604
+ readonly internalType: "string";
605
+ readonly name: "version";
606
+ readonly type: "string";
607
+ }, {
608
+ readonly internalType: "uint256";
609
+ readonly name: "chainId";
610
+ readonly type: "uint256";
611
+ }, {
612
+ readonly internalType: "address";
613
+ readonly name: "verifyingContract";
614
+ readonly type: "address";
615
+ }, {
616
+ readonly internalType: "bytes32";
617
+ readonly name: "salt";
618
+ readonly type: "bytes32";
619
+ }, {
620
+ readonly internalType: "uint256[]";
621
+ readonly name: "extensions";
622
+ readonly type: "uint256[]";
623
+ }];
624
+ readonly stateMutability: "view";
625
+ readonly type: "function";
626
+ }, {
627
+ readonly inputs: readonly [{
628
+ readonly internalType: "bytes32";
629
+ readonly name: "role";
630
+ readonly type: "bytes32";
631
+ }];
632
+ readonly name: "getRoleAdmin";
633
+ readonly outputs: readonly [{
634
+ readonly internalType: "bytes32";
635
+ readonly name: "";
636
+ readonly type: "bytes32";
637
+ }];
638
+ readonly stateMutability: "view";
639
+ readonly type: "function";
640
+ }, {
641
+ readonly inputs: readonly [{
642
+ readonly internalType: "bytes32";
643
+ readonly name: "role";
644
+ readonly type: "bytes32";
645
+ }, {
646
+ readonly internalType: "uint256";
647
+ readonly name: "index";
648
+ readonly type: "uint256";
649
+ }];
650
+ readonly name: "getRoleMember";
651
+ readonly outputs: readonly [{
652
+ readonly internalType: "address";
653
+ readonly name: "";
654
+ readonly type: "address";
655
+ }];
656
+ readonly stateMutability: "view";
657
+ readonly type: "function";
658
+ }, {
659
+ readonly inputs: readonly [{
660
+ readonly internalType: "bytes32";
661
+ readonly name: "role";
662
+ readonly type: "bytes32";
663
+ }];
664
+ readonly name: "getRoleMemberCount";
665
+ readonly outputs: readonly [{
666
+ readonly internalType: "uint256";
667
+ readonly name: "";
668
+ readonly type: "uint256";
669
+ }];
670
+ readonly stateMutability: "view";
671
+ readonly type: "function";
672
+ }, {
673
+ readonly inputs: readonly [{
674
+ readonly internalType: "bytes32";
675
+ readonly name: "role";
676
+ readonly type: "bytes32";
677
+ }];
678
+ readonly name: "getRoleMembers";
679
+ readonly outputs: readonly [{
680
+ readonly internalType: "address[]";
681
+ readonly name: "";
682
+ readonly type: "address[]";
683
+ }];
684
+ readonly stateMutability: "view";
685
+ readonly type: "function";
686
+ }, {
687
+ readonly inputs: readonly [{
688
+ readonly internalType: "bytes32";
689
+ readonly name: "role";
690
+ readonly type: "bytes32";
691
+ }, {
692
+ readonly internalType: "address";
693
+ readonly name: "account";
694
+ readonly type: "address";
695
+ }];
696
+ readonly name: "grantRole";
697
+ readonly outputs: readonly [];
698
+ readonly stateMutability: "nonpayable";
699
+ readonly type: "function";
700
+ }, {
701
+ readonly inputs: readonly [{
702
+ readonly internalType: "bytes32";
703
+ readonly name: "role";
704
+ readonly type: "bytes32";
705
+ }, {
706
+ readonly internalType: "address";
707
+ readonly name: "account";
708
+ readonly type: "address";
709
+ }];
710
+ readonly name: "hasRole";
711
+ readonly outputs: readonly [{
712
+ readonly internalType: "bool";
713
+ readonly name: "";
714
+ readonly type: "bool";
715
+ }];
716
+ readonly stateMutability: "view";
717
+ readonly type: "function";
718
+ }, {
719
+ readonly inputs: readonly [{
720
+ readonly internalType: "address";
721
+ readonly name: "to";
722
+ readonly type: "address";
723
+ }, {
724
+ readonly internalType: "uint256";
725
+ readonly name: "amount";
726
+ readonly type: "uint256";
727
+ }];
728
+ readonly name: "mint";
729
+ readonly outputs: readonly [];
730
+ readonly stateMutability: "nonpayable";
731
+ readonly type: "function";
732
+ }, {
733
+ readonly inputs: readonly [];
734
+ readonly name: "name";
735
+ readonly outputs: readonly [{
736
+ readonly internalType: "string";
737
+ readonly name: "";
738
+ readonly type: "string";
739
+ }];
740
+ readonly stateMutability: "view";
741
+ readonly type: "function";
742
+ }, {
743
+ readonly inputs: readonly [{
744
+ readonly internalType: "address";
745
+ readonly name: "owner";
746
+ readonly type: "address";
747
+ }];
748
+ readonly name: "nonces";
749
+ readonly outputs: readonly [{
750
+ readonly internalType: "uint256";
751
+ readonly name: "";
752
+ readonly type: "uint256";
753
+ }];
754
+ readonly stateMutability: "view";
755
+ readonly type: "function";
756
+ }, {
757
+ readonly inputs: readonly [];
758
+ readonly name: "pause";
759
+ readonly outputs: readonly [];
760
+ readonly stateMutability: "nonpayable";
761
+ readonly type: "function";
762
+ }, {
763
+ readonly inputs: readonly [];
764
+ readonly name: "paused";
765
+ readonly outputs: readonly [{
766
+ readonly internalType: "bool";
767
+ readonly name: "";
768
+ readonly type: "bool";
769
+ }];
770
+ readonly stateMutability: "view";
771
+ readonly type: "function";
772
+ }, {
773
+ readonly inputs: readonly [{
774
+ readonly internalType: "address";
775
+ readonly name: "owner_";
776
+ readonly type: "address";
777
+ }, {
778
+ readonly internalType: "address";
779
+ readonly name: "spender";
780
+ readonly type: "address";
781
+ }, {
782
+ readonly internalType: "uint256";
783
+ readonly name: "value";
784
+ readonly type: "uint256";
785
+ }, {
786
+ readonly internalType: "uint256";
787
+ readonly name: "deadline";
788
+ readonly type: "uint256";
789
+ }, {
790
+ readonly internalType: "bytes";
791
+ readonly name: "signature";
792
+ readonly type: "bytes";
793
+ }];
794
+ readonly name: "permit";
795
+ readonly outputs: readonly [];
796
+ readonly stateMutability: "nonpayable";
797
+ readonly type: "function";
798
+ }, {
799
+ readonly inputs: readonly [{
800
+ readonly internalType: "address";
801
+ readonly name: "owner_";
802
+ readonly type: "address";
803
+ }, {
804
+ readonly internalType: "address";
805
+ readonly name: "spender";
806
+ readonly type: "address";
807
+ }, {
808
+ readonly internalType: "uint256";
809
+ readonly name: "value";
810
+ readonly type: "uint256";
811
+ }, {
812
+ readonly internalType: "uint256";
813
+ readonly name: "deadline";
814
+ readonly type: "uint256";
815
+ }, {
816
+ readonly internalType: "uint8";
817
+ readonly name: "v";
818
+ readonly type: "uint8";
819
+ }, {
820
+ readonly internalType: "bytes32";
821
+ readonly name: "r";
822
+ readonly type: "bytes32";
823
+ }, {
824
+ readonly internalType: "bytes32";
825
+ readonly name: "s";
826
+ readonly type: "bytes32";
827
+ }];
828
+ readonly name: "permit";
829
+ readonly outputs: readonly [];
830
+ readonly stateMutability: "nonpayable";
831
+ readonly type: "function";
832
+ }, {
833
+ readonly inputs: readonly [{
834
+ readonly internalType: "address";
835
+ readonly name: "from";
836
+ readonly type: "address";
837
+ }, {
838
+ readonly internalType: "address";
839
+ readonly name: "to";
840
+ readonly type: "address";
841
+ }, {
842
+ readonly internalType: "uint256";
843
+ readonly name: "value";
844
+ readonly type: "uint256";
845
+ }, {
846
+ readonly internalType: "uint256";
847
+ readonly name: "validAfter";
848
+ readonly type: "uint256";
849
+ }, {
850
+ readonly internalType: "uint256";
851
+ readonly name: "validBefore";
852
+ readonly type: "uint256";
853
+ }, {
854
+ readonly internalType: "bytes32";
855
+ readonly name: "nonce";
856
+ readonly type: "bytes32";
857
+ }, {
858
+ readonly internalType: "bytes";
859
+ readonly name: "signature";
860
+ readonly type: "bytes";
861
+ }];
862
+ readonly name: "receiveWithAuthorization";
863
+ readonly outputs: readonly [];
864
+ readonly stateMutability: "nonpayable";
865
+ readonly type: "function";
866
+ }, {
867
+ readonly inputs: readonly [{
868
+ readonly internalType: "address";
869
+ readonly name: "from";
870
+ readonly type: "address";
871
+ }, {
872
+ readonly internalType: "address";
873
+ readonly name: "to";
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: "validAfter";
882
+ readonly type: "uint256";
883
+ }, {
884
+ readonly internalType: "uint256";
885
+ readonly name: "validBefore";
886
+ readonly type: "uint256";
887
+ }, {
888
+ readonly internalType: "bytes32";
889
+ readonly name: "nonce";
890
+ readonly type: "bytes32";
891
+ }, {
892
+ readonly internalType: "uint8";
893
+ readonly name: "v";
894
+ readonly type: "uint8";
895
+ }, {
896
+ readonly internalType: "bytes32";
897
+ readonly name: "r";
898
+ readonly type: "bytes32";
899
+ }, {
900
+ readonly internalType: "bytes32";
901
+ readonly name: "s";
902
+ readonly type: "bytes32";
903
+ }];
904
+ readonly name: "receiveWithAuthorization";
905
+ readonly outputs: readonly [];
906
+ readonly stateMutability: "nonpayable";
907
+ readonly type: "function";
908
+ }, {
909
+ readonly inputs: readonly [{
910
+ readonly internalType: "bytes32";
911
+ readonly name: "";
912
+ readonly type: "bytes32";
913
+ }, {
914
+ readonly internalType: "address";
915
+ readonly name: "";
916
+ readonly type: "address";
917
+ }];
918
+ readonly name: "renounceRole";
919
+ readonly outputs: readonly [];
920
+ readonly stateMutability: "pure";
921
+ readonly type: "function";
922
+ }, {
923
+ readonly inputs: readonly [{
924
+ readonly internalType: "address";
925
+ readonly name: "from";
926
+ readonly type: "address";
927
+ }, {
928
+ readonly internalType: "uint256";
929
+ readonly name: "amount";
930
+ readonly type: "uint256";
931
+ }];
932
+ readonly name: "rescueBurn";
933
+ readonly outputs: readonly [];
934
+ readonly stateMutability: "nonpayable";
935
+ readonly type: "function";
936
+ }, {
937
+ readonly inputs: readonly [{
938
+ readonly internalType: "address";
939
+ readonly name: "_token";
940
+ readonly type: "address";
941
+ }, {
942
+ readonly internalType: "uint256";
943
+ readonly name: "_amount";
944
+ readonly type: "uint256";
945
+ }, {
946
+ readonly internalType: "address";
947
+ readonly name: "_to";
948
+ readonly type: "address";
949
+ }];
950
+ readonly name: "rescueTokens";
951
+ readonly outputs: readonly [];
952
+ readonly stateMutability: "nonpayable";
953
+ readonly type: "function";
954
+ }, {
955
+ readonly inputs: readonly [{
956
+ readonly internalType: "bytes32";
957
+ readonly name: "role";
958
+ readonly type: "bytes32";
959
+ }, {
960
+ readonly internalType: "address";
961
+ readonly name: "account";
962
+ readonly type: "address";
963
+ }];
964
+ readonly name: "revokeRole";
965
+ readonly outputs: readonly [];
966
+ readonly stateMutability: "nonpayable";
967
+ readonly type: "function";
968
+ }, {
969
+ readonly inputs: readonly [{
970
+ readonly internalType: "bytes4";
971
+ readonly name: "interfaceId";
972
+ readonly type: "bytes4";
973
+ }];
974
+ readonly name: "supportsInterface";
975
+ readonly outputs: readonly [{
976
+ readonly internalType: "bool";
977
+ readonly name: "";
978
+ readonly type: "bool";
979
+ }];
980
+ readonly stateMutability: "view";
981
+ readonly type: "function";
982
+ }, {
983
+ readonly inputs: readonly [];
984
+ readonly name: "symbol";
985
+ readonly outputs: readonly [{
986
+ readonly internalType: "string";
987
+ readonly name: "";
988
+ readonly type: "string";
989
+ }];
990
+ readonly stateMutability: "view";
991
+ readonly type: "function";
992
+ }, {
993
+ readonly inputs: readonly [];
994
+ readonly name: "totalSupply";
995
+ readonly outputs: readonly [{
996
+ readonly internalType: "uint256";
997
+ readonly name: "";
998
+ readonly type: "uint256";
999
+ }];
1000
+ readonly stateMutability: "view";
1001
+ readonly type: "function";
1002
+ }, {
1003
+ readonly inputs: readonly [{
1004
+ readonly internalType: "address";
1005
+ readonly name: "to";
1006
+ readonly type: "address";
1007
+ }, {
1008
+ readonly internalType: "uint256";
1009
+ readonly name: "value";
1010
+ readonly type: "uint256";
1011
+ }];
1012
+ readonly name: "transfer";
1013
+ readonly outputs: readonly [{
1014
+ readonly internalType: "bool";
1015
+ readonly name: "";
1016
+ readonly type: "bool";
1017
+ }];
1018
+ readonly stateMutability: "nonpayable";
1019
+ readonly type: "function";
1020
+ }, {
1021
+ readonly inputs: readonly [{
1022
+ readonly internalType: "address";
1023
+ readonly name: "from";
1024
+ readonly type: "address";
1025
+ }, {
1026
+ readonly internalType: "address";
1027
+ readonly name: "to";
1028
+ readonly type: "address";
1029
+ }, {
1030
+ readonly internalType: "uint256";
1031
+ readonly name: "value";
1032
+ readonly type: "uint256";
1033
+ }];
1034
+ readonly name: "transferFrom";
1035
+ readonly outputs: readonly [{
1036
+ readonly internalType: "bool";
1037
+ readonly name: "";
1038
+ readonly type: "bool";
1039
+ }];
1040
+ readonly stateMutability: "nonpayable";
1041
+ readonly type: "function";
1042
+ }, {
1043
+ readonly inputs: readonly [{
1044
+ readonly internalType: "address";
1045
+ readonly name: "from";
1046
+ readonly type: "address";
1047
+ }, {
1048
+ readonly internalType: "address";
1049
+ readonly name: "to";
1050
+ readonly type: "address";
1051
+ }, {
1052
+ readonly internalType: "uint256";
1053
+ readonly name: "value";
1054
+ readonly type: "uint256";
1055
+ }, {
1056
+ readonly internalType: "uint256";
1057
+ readonly name: "validAfter";
1058
+ readonly type: "uint256";
1059
+ }, {
1060
+ readonly internalType: "uint256";
1061
+ readonly name: "validBefore";
1062
+ readonly type: "uint256";
1063
+ }, {
1064
+ readonly internalType: "bytes32";
1065
+ readonly name: "nonce";
1066
+ readonly type: "bytes32";
1067
+ }, {
1068
+ readonly internalType: "bytes";
1069
+ readonly name: "signature";
1070
+ readonly type: "bytes";
1071
+ }];
1072
+ readonly name: "transferWithAuthorization";
1073
+ readonly outputs: readonly [];
1074
+ readonly stateMutability: "nonpayable";
1075
+ readonly type: "function";
1076
+ }, {
1077
+ readonly inputs: readonly [{
1078
+ readonly internalType: "address";
1079
+ readonly name: "from";
1080
+ readonly type: "address";
1081
+ }, {
1082
+ readonly internalType: "address";
1083
+ readonly name: "to";
1084
+ readonly type: "address";
1085
+ }, {
1086
+ readonly internalType: "uint256";
1087
+ readonly name: "value";
1088
+ readonly type: "uint256";
1089
+ }, {
1090
+ readonly internalType: "uint256";
1091
+ readonly name: "validAfter";
1092
+ readonly type: "uint256";
1093
+ }, {
1094
+ readonly internalType: "uint256";
1095
+ readonly name: "validBefore";
1096
+ readonly type: "uint256";
1097
+ }, {
1098
+ readonly internalType: "bytes32";
1099
+ readonly name: "nonce";
1100
+ readonly type: "bytes32";
1101
+ }, {
1102
+ readonly internalType: "uint8";
1103
+ readonly name: "v";
1104
+ readonly type: "uint8";
1105
+ }, {
1106
+ readonly internalType: "bytes32";
1107
+ readonly name: "r";
1108
+ readonly type: "bytes32";
1109
+ }, {
1110
+ readonly internalType: "bytes32";
1111
+ readonly name: "s";
1112
+ readonly type: "bytes32";
1113
+ }];
1114
+ readonly name: "transferWithAuthorization";
1115
+ readonly outputs: readonly [];
1116
+ readonly stateMutability: "nonpayable";
1117
+ readonly type: "function";
1118
+ }, {
1119
+ readonly inputs: readonly [];
1120
+ readonly name: "unpause";
1121
+ readonly outputs: readonly [];
1122
+ readonly stateMutability: "nonpayable";
1123
+ readonly type: "function";
1124
+ }];
1125
+ /**
1126
+ * Type-safe ABI for TelcoinV3_json
1127
+ */
1128
+ export type TelcoinV3_jsonAbi = typeof TelcoinV3_jsonAbi;
1129
+ /**
1130
+ * Contract instance type for TelcoinV3_json
1131
+ */
1132
+ export type TelcoinV3_jsonContract = any;
1133
+ /**
1134
+ * TelcoinV3_json Contract Class
1135
+ *
1136
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
1137
+ *
1138
+ * @example
1139
+ * ```typescript
1140
+ * import { createPublicClient, createWalletClient, http } from 'viem';
1141
+ * import { mainnet } from 'viem/chains';
1142
+ * import { TelcoinV3_json } from 'TelcoinV3_json';
1143
+ *
1144
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1145
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1146
+ *
1147
+ * const contract = new TelcoinV3_json('0x...', { publicClient, walletClient });
1148
+ *
1149
+ * // Read functions
1150
+ * const result = await contract.balanceOf('0x...');
1151
+ *
1152
+ * // Write functions
1153
+ * const hash = await contract.transfer('0x...', 1000n);
1154
+ *
1155
+ * // Simulate transactions (dry-run)
1156
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
1157
+ * console.log('Gas estimate:', simulation.request.gas);
1158
+ *
1159
+ * // Watch events
1160
+ * const unwatch = contract.watch.Transfer((event) => {
1161
+ * console.log('Transfer event:', event);
1162
+ * });
1163
+ * ```
1164
+ */
1165
+ export declare class TelcoinV3_json {
1166
+ private contract;
1167
+ private contractAddress;
1168
+ private publicClient;
1169
+ constructor(address: Address, clients: {
1170
+ publicClient: PublicClient;
1171
+ walletClient?: WalletClient;
1172
+ });
1173
+ /**
1174
+ * Get the contract address
1175
+ */
1176
+ get address(): Address;
1177
+ /**
1178
+ * Get the underlying viem contract instance
1179
+ */
1180
+ getContract(): TelcoinV3_jsonContract;
1181
+ /**
1182
+ * BURNER_ROLE
1183
+ * view
1184
+ */
1185
+ BURNER_ROLE(): Promise<`0x${string}`>;
1186
+ /**
1187
+ * CANCEL_AUTHORIZATION_TYPEHASH
1188
+ * view
1189
+ */
1190
+ CANCEL_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
1191
+ /**
1192
+ * DEFAULT_ADMIN_ROLE
1193
+ * view
1194
+ */
1195
+ DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
1196
+ /**
1197
+ * DOMAIN_SEPARATOR
1198
+ * view
1199
+ */
1200
+ DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
1201
+ /**
1202
+ * MIGRATION_SUPPLY_CAP
1203
+ * view
1204
+ */
1205
+ MIGRATION_SUPPLY_CAP(): Promise<bigint>;
1206
+ /**
1207
+ * MINTER_ROLE
1208
+ * view
1209
+ */
1210
+ MINTER_ROLE(): Promise<`0x${string}`>;
1211
+ /**
1212
+ * PAUSER_ROLE
1213
+ * view
1214
+ */
1215
+ PAUSER_ROLE(): Promise<`0x${string}`>;
1216
+ /**
1217
+ * PERMIT_TYPEHASH
1218
+ * view
1219
+ */
1220
+ PERMIT_TYPEHASH(): Promise<`0x${string}`>;
1221
+ /**
1222
+ * RECEIVE_WITH_AUTHORIZATION_TYPEHASH
1223
+ * view
1224
+ */
1225
+ RECEIVE_WITH_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
1226
+ /**
1227
+ * TRANSFER_WITH_AUTHORIZATION_TYPEHASH
1228
+ * view
1229
+ */
1230
+ TRANSFER_WITH_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
1231
+ /**
1232
+ * UNPAUSER_ROLE
1233
+ * view
1234
+ */
1235
+ UNPAUSER_ROLE(): Promise<`0x${string}`>;
1236
+ /**
1237
+ * allowance
1238
+ * view
1239
+ */
1240
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
1241
+ /**
1242
+ * authorizationState
1243
+ * view
1244
+ */
1245
+ authorizationState(authorizer: `0x${string}`, nonce: `0x${string}`): Promise<boolean>;
1246
+ /**
1247
+ * balanceOf
1248
+ * view
1249
+ */
1250
+ balanceOf(account: `0x${string}`): Promise<bigint>;
1251
+ /**
1252
+ * decimals
1253
+ * view
1254
+ */
1255
+ decimals(): Promise<bigint>;
1256
+ /**
1257
+ * eip712Domain
1258
+ * view
1259
+ */
1260
+ eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
1261
+ /**
1262
+ * getRoleAdmin
1263
+ * view
1264
+ */
1265
+ getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
1266
+ /**
1267
+ * getRoleMember
1268
+ * view
1269
+ */
1270
+ getRoleMember(role: `0x${string}`, index: bigint): Promise<`0x${string}`>;
1271
+ /**
1272
+ * getRoleMemberCount
1273
+ * view
1274
+ */
1275
+ getRoleMemberCount(role: `0x${string}`): Promise<bigint>;
1276
+ /**
1277
+ * getRoleMembers
1278
+ * view
1279
+ */
1280
+ getRoleMembers(role: `0x${string}`): Promise<`0x${string}`[]>;
1281
+ /**
1282
+ * hasRole
1283
+ * view
1284
+ */
1285
+ hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
1286
+ /**
1287
+ * name
1288
+ * view
1289
+ */
1290
+ name(): Promise<string>;
1291
+ /**
1292
+ * nonces
1293
+ * view
1294
+ */
1295
+ nonces(owner: `0x${string}`): Promise<bigint>;
1296
+ /**
1297
+ * paused
1298
+ * view
1299
+ */
1300
+ paused(): Promise<boolean>;
1301
+ /**
1302
+ * renounceRole
1303
+ * pure
1304
+ */
1305
+ renounceRole(arg0: `0x${string}`, arg1: `0x${string}`): Promise<void>;
1306
+ /**
1307
+ * supportsInterface
1308
+ * view
1309
+ */
1310
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
1311
+ /**
1312
+ * symbol
1313
+ * view
1314
+ */
1315
+ symbol(): Promise<string>;
1316
+ /**
1317
+ * totalSupply
1318
+ * view
1319
+ */
1320
+ totalSupply(): Promise<bigint>;
1321
+ /**
1322
+ * approve
1323
+ * nonpayable
1324
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1325
+ */
1326
+ approve(spender: `0x${string}`, value: bigint, options?: {
1327
+ accessList?: import('viem').AccessList;
1328
+ authorizationList?: import('viem').AuthorizationList;
1329
+ chain?: import('viem').Chain | null;
1330
+ dataSuffix?: `0x${string}`;
1331
+ gas?: bigint;
1332
+ gasPrice?: bigint;
1333
+ maxFeePerGas?: bigint;
1334
+ maxPriorityFeePerGas?: bigint;
1335
+ nonce?: number;
1336
+ value?: bigint;
1337
+ }): Promise<`0x${string}`>;
1338
+ /**
1339
+ * burn
1340
+ * nonpayable
1341
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1342
+ */
1343
+ burn(from: `0x${string}`, amount: bigint, options?: {
1344
+ accessList?: import('viem').AccessList;
1345
+ authorizationList?: import('viem').AuthorizationList;
1346
+ chain?: import('viem').Chain | null;
1347
+ dataSuffix?: `0x${string}`;
1348
+ gas?: bigint;
1349
+ gasPrice?: bigint;
1350
+ maxFeePerGas?: bigint;
1351
+ maxPriorityFeePerGas?: bigint;
1352
+ nonce?: number;
1353
+ value?: bigint;
1354
+ }): Promise<`0x${string}`>;
1355
+ cancelAuthorization(authorizer: `0x${string}`, nonce: `0x${string}`, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
1356
+ accessList?: import('viem').AccessList;
1357
+ authorizationList?: import('viem').AuthorizationList;
1358
+ chain?: import('viem').Chain | null;
1359
+ dataSuffix?: `0x${string}`;
1360
+ gas?: bigint;
1361
+ gasPrice?: bigint;
1362
+ maxFeePerGas?: bigint;
1363
+ maxPriorityFeePerGas?: bigint;
1364
+ nonce?: number;
1365
+ value?: bigint;
1366
+ }): Promise<`0x${string}`>;
1367
+ cancelAuthorization(authorizer: `0x${string}`, nonce: `0x${string}`, signature: `0x${string}`, options?: {
1368
+ accessList?: import('viem').AccessList;
1369
+ authorizationList?: import('viem').AuthorizationList;
1370
+ chain?: import('viem').Chain | null;
1371
+ dataSuffix?: `0x${string}`;
1372
+ gas?: bigint;
1373
+ gasPrice?: bigint;
1374
+ maxFeePerGas?: bigint;
1375
+ maxPriorityFeePerGas?: bigint;
1376
+ nonce?: number;
1377
+ value?: bigint;
1378
+ }): Promise<`0x${string}`>;
1379
+ /**
1380
+ * grantRole
1381
+ * nonpayable
1382
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1383
+ */
1384
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1385
+ accessList?: import('viem').AccessList;
1386
+ authorizationList?: import('viem').AuthorizationList;
1387
+ chain?: import('viem').Chain | null;
1388
+ dataSuffix?: `0x${string}`;
1389
+ gas?: bigint;
1390
+ gasPrice?: bigint;
1391
+ maxFeePerGas?: bigint;
1392
+ maxPriorityFeePerGas?: bigint;
1393
+ nonce?: number;
1394
+ value?: bigint;
1395
+ }): Promise<`0x${string}`>;
1396
+ /**
1397
+ * mint
1398
+ * nonpayable
1399
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1400
+ */
1401
+ mint(to: `0x${string}`, amount: bigint, options?: {
1402
+ accessList?: import('viem').AccessList;
1403
+ authorizationList?: import('viem').AuthorizationList;
1404
+ chain?: import('viem').Chain | null;
1405
+ dataSuffix?: `0x${string}`;
1406
+ gas?: bigint;
1407
+ gasPrice?: bigint;
1408
+ maxFeePerGas?: bigint;
1409
+ maxPriorityFeePerGas?: bigint;
1410
+ nonce?: number;
1411
+ value?: bigint;
1412
+ }): Promise<`0x${string}`>;
1413
+ /**
1414
+ * pause
1415
+ * nonpayable
1416
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1417
+ */
1418
+ pause(options?: {
1419
+ accessList?: import('viem').AccessList;
1420
+ authorizationList?: import('viem').AuthorizationList;
1421
+ chain?: import('viem').Chain | null;
1422
+ dataSuffix?: `0x${string}`;
1423
+ gas?: bigint;
1424
+ gasPrice?: bigint;
1425
+ maxFeePerGas?: bigint;
1426
+ maxPriorityFeePerGas?: bigint;
1427
+ nonce?: number;
1428
+ value?: bigint;
1429
+ }): Promise<`0x${string}`>;
1430
+ permit(owner_: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, signature: `0x${string}`, options?: {
1431
+ accessList?: import('viem').AccessList;
1432
+ authorizationList?: import('viem').AuthorizationList;
1433
+ chain?: import('viem').Chain | null;
1434
+ dataSuffix?: `0x${string}`;
1435
+ gas?: bigint;
1436
+ gasPrice?: bigint;
1437
+ maxFeePerGas?: bigint;
1438
+ maxPriorityFeePerGas?: bigint;
1439
+ nonce?: number;
1440
+ value?: bigint;
1441
+ }): Promise<`0x${string}`>;
1442
+ permit(owner_: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
1443
+ accessList?: import('viem').AccessList;
1444
+ authorizationList?: import('viem').AuthorizationList;
1445
+ chain?: import('viem').Chain | null;
1446
+ dataSuffix?: `0x${string}`;
1447
+ gas?: bigint;
1448
+ gasPrice?: bigint;
1449
+ maxFeePerGas?: bigint;
1450
+ maxPriorityFeePerGas?: bigint;
1451
+ nonce?: number;
1452
+ value?: bigint;
1453
+ }): Promise<`0x${string}`>;
1454
+ receiveWithAuthorization(from: `0x${string}`, to: `0x${string}`, value: bigint, validAfter: bigint, validBefore: bigint, nonce: `0x${string}`, signature: `0x${string}`, options?: {
1455
+ accessList?: import('viem').AccessList;
1456
+ authorizationList?: import('viem').AuthorizationList;
1457
+ chain?: import('viem').Chain | null;
1458
+ dataSuffix?: `0x${string}`;
1459
+ gas?: bigint;
1460
+ gasPrice?: bigint;
1461
+ maxFeePerGas?: bigint;
1462
+ maxPriorityFeePerGas?: bigint;
1463
+ nonce?: number;
1464
+ value?: bigint;
1465
+ }): Promise<`0x${string}`>;
1466
+ 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?: {
1467
+ accessList?: import('viem').AccessList;
1468
+ authorizationList?: import('viem').AuthorizationList;
1469
+ chain?: import('viem').Chain | null;
1470
+ dataSuffix?: `0x${string}`;
1471
+ gas?: bigint;
1472
+ gasPrice?: bigint;
1473
+ maxFeePerGas?: bigint;
1474
+ maxPriorityFeePerGas?: bigint;
1475
+ nonce?: number;
1476
+ value?: bigint;
1477
+ }): Promise<`0x${string}`>;
1478
+ /**
1479
+ * rescueBurn
1480
+ * nonpayable
1481
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1482
+ */
1483
+ rescueBurn(from: `0x${string}`, amount: bigint, options?: {
1484
+ accessList?: import('viem').AccessList;
1485
+ authorizationList?: import('viem').AuthorizationList;
1486
+ chain?: import('viem').Chain | null;
1487
+ dataSuffix?: `0x${string}`;
1488
+ gas?: bigint;
1489
+ gasPrice?: bigint;
1490
+ maxFeePerGas?: bigint;
1491
+ maxPriorityFeePerGas?: bigint;
1492
+ nonce?: number;
1493
+ value?: bigint;
1494
+ }): Promise<`0x${string}`>;
1495
+ /**
1496
+ * rescueTokens
1497
+ * nonpayable
1498
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1499
+ */
1500
+ rescueTokens(_token: `0x${string}`, _amount: bigint, _to: `0x${string}`, options?: {
1501
+ accessList?: import('viem').AccessList;
1502
+ authorizationList?: import('viem').AuthorizationList;
1503
+ chain?: import('viem').Chain | null;
1504
+ dataSuffix?: `0x${string}`;
1505
+ gas?: bigint;
1506
+ gasPrice?: bigint;
1507
+ maxFeePerGas?: bigint;
1508
+ maxPriorityFeePerGas?: bigint;
1509
+ nonce?: number;
1510
+ value?: bigint;
1511
+ }): Promise<`0x${string}`>;
1512
+ /**
1513
+ * revokeRole
1514
+ * nonpayable
1515
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1516
+ */
1517
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
1518
+ accessList?: import('viem').AccessList;
1519
+ authorizationList?: import('viem').AuthorizationList;
1520
+ chain?: import('viem').Chain | null;
1521
+ dataSuffix?: `0x${string}`;
1522
+ gas?: bigint;
1523
+ gasPrice?: bigint;
1524
+ maxFeePerGas?: bigint;
1525
+ maxPriorityFeePerGas?: bigint;
1526
+ nonce?: number;
1527
+ value?: bigint;
1528
+ }): Promise<`0x${string}`>;
1529
+ /**
1530
+ * transfer
1531
+ * nonpayable
1532
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1533
+ */
1534
+ transfer(to: `0x${string}`, value: bigint, options?: {
1535
+ accessList?: import('viem').AccessList;
1536
+ authorizationList?: import('viem').AuthorizationList;
1537
+ chain?: import('viem').Chain | null;
1538
+ dataSuffix?: `0x${string}`;
1539
+ gas?: bigint;
1540
+ gasPrice?: bigint;
1541
+ maxFeePerGas?: bigint;
1542
+ maxPriorityFeePerGas?: bigint;
1543
+ nonce?: number;
1544
+ value?: bigint;
1545
+ }): Promise<`0x${string}`>;
1546
+ /**
1547
+ * transferFrom
1548
+ * nonpayable
1549
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1550
+ */
1551
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1552
+ accessList?: import('viem').AccessList;
1553
+ authorizationList?: import('viem').AuthorizationList;
1554
+ chain?: import('viem').Chain | null;
1555
+ dataSuffix?: `0x${string}`;
1556
+ gas?: bigint;
1557
+ gasPrice?: bigint;
1558
+ maxFeePerGas?: bigint;
1559
+ maxPriorityFeePerGas?: bigint;
1560
+ nonce?: number;
1561
+ value?: bigint;
1562
+ }): Promise<`0x${string}`>;
1563
+ transferWithAuthorization(from: `0x${string}`, to: `0x${string}`, value: bigint, validAfter: bigint, validBefore: bigint, nonce: `0x${string}`, signature: `0x${string}`, options?: {
1564
+ accessList?: import('viem').AccessList;
1565
+ authorizationList?: import('viem').AuthorizationList;
1566
+ chain?: import('viem').Chain | null;
1567
+ dataSuffix?: `0x${string}`;
1568
+ gas?: bigint;
1569
+ gasPrice?: bigint;
1570
+ maxFeePerGas?: bigint;
1571
+ maxPriorityFeePerGas?: bigint;
1572
+ nonce?: number;
1573
+ value?: bigint;
1574
+ }): Promise<`0x${string}`>;
1575
+ 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?: {
1576
+ accessList?: import('viem').AccessList;
1577
+ authorizationList?: import('viem').AuthorizationList;
1578
+ chain?: import('viem').Chain | null;
1579
+ dataSuffix?: `0x${string}`;
1580
+ gas?: bigint;
1581
+ gasPrice?: bigint;
1582
+ maxFeePerGas?: bigint;
1583
+ maxPriorityFeePerGas?: bigint;
1584
+ nonce?: number;
1585
+ value?: bigint;
1586
+ }): Promise<`0x${string}`>;
1587
+ /**
1588
+ * unpause
1589
+ * nonpayable
1590
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1591
+ */
1592
+ unpause(options?: {
1593
+ accessList?: import('viem').AccessList;
1594
+ authorizationList?: import('viem').AuthorizationList;
1595
+ chain?: import('viem').Chain | null;
1596
+ dataSuffix?: `0x${string}`;
1597
+ gas?: bigint;
1598
+ gasPrice?: bigint;
1599
+ maxFeePerGas?: bigint;
1600
+ maxPriorityFeePerGas?: bigint;
1601
+ nonce?: number;
1602
+ value?: bigint;
1603
+ }): Promise<`0x${string}`>;
1604
+ /**
1605
+ * Simulate contract write operations (dry-run without sending transaction)
1606
+ *
1607
+ * @example
1608
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1609
+ * console.log('Gas estimate:', result.request.gas);
1610
+ * console.log('Would succeed:', result.result);
1611
+ */
1612
+ get simulate(): {
1613
+ /**
1614
+ * Simulate approve
1615
+ * Returns gas estimate and result without sending transaction
1616
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1617
+ */
1618
+ approve(spender: `0x${string}`, value: bigint, options?: {
1619
+ accessList?: import("viem").AccessList;
1620
+ authorizationList?: import("viem").AuthorizationList;
1621
+ chain?: import("viem").Chain | null;
1622
+ dataSuffix?: `0x${string}`;
1623
+ gas?: bigint;
1624
+ gasPrice?: bigint;
1625
+ maxFeePerGas?: bigint;
1626
+ maxPriorityFeePerGas?: bigint;
1627
+ nonce?: number;
1628
+ value?: bigint;
1629
+ }): Promise<boolean>;
1630
+ /**
1631
+ * Simulate burn
1632
+ * Returns gas estimate and result without sending transaction
1633
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1634
+ */
1635
+ burn(from: `0x${string}`, amount: bigint, options?: {
1636
+ accessList?: import("viem").AccessList;
1637
+ authorizationList?: import("viem").AuthorizationList;
1638
+ chain?: import("viem").Chain | null;
1639
+ dataSuffix?: `0x${string}`;
1640
+ gas?: bigint;
1641
+ gasPrice?: bigint;
1642
+ maxFeePerGas?: bigint;
1643
+ maxPriorityFeePerGas?: bigint;
1644
+ nonce?: number;
1645
+ value?: bigint;
1646
+ }): Promise<void>;
1647
+ /**
1648
+ * Simulate cancelAuthorization
1649
+ * Returns gas estimate and result without sending transaction
1650
+ * Supports multiple overloads: (address, bytes32, uint8, bytes32, bytes32), (address, bytes32, bytes)
1651
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1652
+ */
1653
+ cancelAuthorization(...args: any[]): Promise<any>;
1654
+ /**
1655
+ * Simulate grantRole
1656
+ * Returns gas estimate and result without sending transaction
1657
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1658
+ */
1659
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1660
+ accessList?: import("viem").AccessList;
1661
+ authorizationList?: import("viem").AuthorizationList;
1662
+ chain?: import("viem").Chain | null;
1663
+ dataSuffix?: `0x${string}`;
1664
+ gas?: bigint;
1665
+ gasPrice?: bigint;
1666
+ maxFeePerGas?: bigint;
1667
+ maxPriorityFeePerGas?: bigint;
1668
+ nonce?: number;
1669
+ value?: bigint;
1670
+ }): Promise<void>;
1671
+ /**
1672
+ * Simulate mint
1673
+ * Returns gas estimate and result without sending transaction
1674
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1675
+ */
1676
+ mint(to: `0x${string}`, amount: bigint, options?: {
1677
+ accessList?: import("viem").AccessList;
1678
+ authorizationList?: import("viem").AuthorizationList;
1679
+ chain?: import("viem").Chain | null;
1680
+ dataSuffix?: `0x${string}`;
1681
+ gas?: bigint;
1682
+ gasPrice?: bigint;
1683
+ maxFeePerGas?: bigint;
1684
+ maxPriorityFeePerGas?: bigint;
1685
+ nonce?: number;
1686
+ value?: bigint;
1687
+ }): Promise<void>;
1688
+ /**
1689
+ * Simulate pause
1690
+ * Returns gas estimate and result without sending transaction
1691
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1692
+ */
1693
+ pause(options?: {
1694
+ accessList?: import("viem").AccessList;
1695
+ authorizationList?: import("viem").AuthorizationList;
1696
+ chain?: import("viem").Chain | null;
1697
+ dataSuffix?: `0x${string}`;
1698
+ gas?: bigint;
1699
+ gasPrice?: bigint;
1700
+ maxFeePerGas?: bigint;
1701
+ maxPriorityFeePerGas?: bigint;
1702
+ nonce?: number;
1703
+ value?: bigint;
1704
+ }): Promise<void>;
1705
+ /**
1706
+ * Simulate permit
1707
+ * Returns gas estimate and result without sending transaction
1708
+ * Supports multiple overloads: (address, address, uint256, uint256, bytes), (address, address, uint256, uint256, uint8, bytes32, bytes32)
1709
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1710
+ */
1711
+ permit(...args: any[]): Promise<any>;
1712
+ /**
1713
+ * Simulate receiveWithAuthorization
1714
+ * Returns gas estimate and result without sending transaction
1715
+ * Supports multiple overloads: (address, address, uint256, uint256, uint256, bytes32, bytes), (address, address, uint256, uint256, uint256, bytes32, uint8, bytes32, bytes32)
1716
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1717
+ */
1718
+ receiveWithAuthorization(...args: any[]): Promise<any>;
1719
+ /**
1720
+ * Simulate rescueBurn
1721
+ * Returns gas estimate and result without sending transaction
1722
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1723
+ */
1724
+ rescueBurn(from: `0x${string}`, amount: bigint, options?: {
1725
+ accessList?: import("viem").AccessList;
1726
+ authorizationList?: import("viem").AuthorizationList;
1727
+ chain?: import("viem").Chain | null;
1728
+ dataSuffix?: `0x${string}`;
1729
+ gas?: bigint;
1730
+ gasPrice?: bigint;
1731
+ maxFeePerGas?: bigint;
1732
+ maxPriorityFeePerGas?: bigint;
1733
+ nonce?: number;
1734
+ value?: bigint;
1735
+ }): Promise<void>;
1736
+ /**
1737
+ * Simulate rescueTokens
1738
+ * Returns gas estimate and result without sending transaction
1739
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1740
+ */
1741
+ rescueTokens(_token: `0x${string}`, _amount: bigint, _to: `0x${string}`, options?: {
1742
+ accessList?: import("viem").AccessList;
1743
+ authorizationList?: import("viem").AuthorizationList;
1744
+ chain?: import("viem").Chain | null;
1745
+ dataSuffix?: `0x${string}`;
1746
+ gas?: bigint;
1747
+ gasPrice?: bigint;
1748
+ maxFeePerGas?: bigint;
1749
+ maxPriorityFeePerGas?: bigint;
1750
+ nonce?: number;
1751
+ value?: bigint;
1752
+ }): Promise<void>;
1753
+ /**
1754
+ * Simulate revokeRole
1755
+ * Returns gas estimate and result without sending transaction
1756
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1757
+ */
1758
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
1759
+ accessList?: import("viem").AccessList;
1760
+ authorizationList?: import("viem").AuthorizationList;
1761
+ chain?: import("viem").Chain | null;
1762
+ dataSuffix?: `0x${string}`;
1763
+ gas?: bigint;
1764
+ gasPrice?: bigint;
1765
+ maxFeePerGas?: bigint;
1766
+ maxPriorityFeePerGas?: bigint;
1767
+ nonce?: number;
1768
+ value?: bigint;
1769
+ }): Promise<void>;
1770
+ /**
1771
+ * Simulate transfer
1772
+ * Returns gas estimate and result without sending transaction
1773
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1774
+ */
1775
+ transfer(to: `0x${string}`, value: bigint, options?: {
1776
+ accessList?: import("viem").AccessList;
1777
+ authorizationList?: import("viem").AuthorizationList;
1778
+ chain?: import("viem").Chain | null;
1779
+ dataSuffix?: `0x${string}`;
1780
+ gas?: bigint;
1781
+ gasPrice?: bigint;
1782
+ maxFeePerGas?: bigint;
1783
+ maxPriorityFeePerGas?: bigint;
1784
+ nonce?: number;
1785
+ value?: bigint;
1786
+ }): Promise<boolean>;
1787
+ /**
1788
+ * Simulate transferFrom
1789
+ * Returns gas estimate and result without sending transaction
1790
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1791
+ */
1792
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1793
+ accessList?: import("viem").AccessList;
1794
+ authorizationList?: import("viem").AuthorizationList;
1795
+ chain?: import("viem").Chain | null;
1796
+ dataSuffix?: `0x${string}`;
1797
+ gas?: bigint;
1798
+ gasPrice?: bigint;
1799
+ maxFeePerGas?: bigint;
1800
+ maxPriorityFeePerGas?: bigint;
1801
+ nonce?: number;
1802
+ value?: bigint;
1803
+ }): Promise<boolean>;
1804
+ /**
1805
+ * Simulate transferWithAuthorization
1806
+ * Returns gas estimate and result without sending transaction
1807
+ * Supports multiple overloads: (address, address, uint256, uint256, uint256, bytes32, bytes), (address, address, uint256, uint256, uint256, bytes32, uint8, bytes32, bytes32)
1808
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1809
+ */
1810
+ transferWithAuthorization(...args: any[]): Promise<any>;
1811
+ /**
1812
+ * Simulate unpause
1813
+ * Returns gas estimate and result without sending transaction
1814
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1815
+ */
1816
+ unpause(options?: {
1817
+ accessList?: import("viem").AccessList;
1818
+ authorizationList?: import("viem").AuthorizationList;
1819
+ chain?: import("viem").Chain | null;
1820
+ dataSuffix?: `0x${string}`;
1821
+ gas?: bigint;
1822
+ gasPrice?: bigint;
1823
+ maxFeePerGas?: bigint;
1824
+ maxPriorityFeePerGas?: bigint;
1825
+ nonce?: number;
1826
+ value?: bigint;
1827
+ }): Promise<void>;
1828
+ };
1829
+ /**
1830
+ * Watch contract events
1831
+ *
1832
+ * @example
1833
+ * // Watch all Transfer events
1834
+ * const unwatch = contract.watch.Transfer((event) => {
1835
+ * console.log('Transfer:', event);
1836
+ * });
1837
+ *
1838
+ * // Stop watching
1839
+ * unwatch();
1840
+ */
1841
+ get watch(): {
1842
+ /**
1843
+ * Watch Approval events
1844
+ * @param callback Function to call when event is emitted
1845
+ * @param filter Optional filter for indexed parameters
1846
+ * @returns Unwatch function to stop listening
1847
+ */
1848
+ Approval: (callback: (event: {
1849
+ owner: `0x${string}`;
1850
+ spender: `0x${string}`;
1851
+ value: bigint;
1852
+ }) => void, filter?: {
1853
+ owner: `0x${string}`;
1854
+ spender: `0x${string}`;
1855
+ }) => () => void;
1856
+ /**
1857
+ * Watch AuthorizationCanceled events
1858
+ * @param callback Function to call when event is emitted
1859
+ * @param filter Optional filter for indexed parameters
1860
+ * @returns Unwatch function to stop listening
1861
+ */
1862
+ AuthorizationCanceled: (callback: (event: {
1863
+ authorizer: `0x${string}`;
1864
+ nonce: `0x${string}`;
1865
+ }) => void, filter?: {
1866
+ authorizer: `0x${string}`;
1867
+ nonce: `0x${string}`;
1868
+ }) => () => void;
1869
+ /**
1870
+ * Watch AuthorizationUsed events
1871
+ * @param callback Function to call when event is emitted
1872
+ * @param filter Optional filter for indexed parameters
1873
+ * @returns Unwatch function to stop listening
1874
+ */
1875
+ AuthorizationUsed: (callback: (event: {
1876
+ authorizer: `0x${string}`;
1877
+ nonce: `0x${string}`;
1878
+ }) => void, filter?: {
1879
+ authorizer: `0x${string}`;
1880
+ nonce: `0x${string}`;
1881
+ }) => () => void;
1882
+ /**
1883
+ * Watch EIP712DomainChanged events
1884
+ * @param callback Function to call when event is emitted
1885
+ * @param filter Optional filter for indexed parameters
1886
+ * @returns Unwatch function to stop listening
1887
+ */
1888
+ EIP712DomainChanged: (callback: (event: {}) => void) => () => void;
1889
+ /**
1890
+ * Watch Paused events
1891
+ * @param callback Function to call when event is emitted
1892
+ * @param filter Optional filter for indexed parameters
1893
+ * @returns Unwatch function to stop listening
1894
+ */
1895
+ Paused: (callback: (event: {
1896
+ account: `0x${string}`;
1897
+ }) => void) => () => void;
1898
+ /**
1899
+ * Watch RoleAdminChanged events
1900
+ * @param callback Function to call when event is emitted
1901
+ * @param filter Optional filter for indexed parameters
1902
+ * @returns Unwatch function to stop listening
1903
+ */
1904
+ RoleAdminChanged: (callback: (event: {
1905
+ role: `0x${string}`;
1906
+ previousAdminRole: `0x${string}`;
1907
+ newAdminRole: `0x${string}`;
1908
+ }) => void, filter?: {
1909
+ role: `0x${string}`;
1910
+ previousAdminRole: `0x${string}`;
1911
+ newAdminRole: `0x${string}`;
1912
+ }) => () => void;
1913
+ /**
1914
+ * Watch RoleGranted events
1915
+ * @param callback Function to call when event is emitted
1916
+ * @param filter Optional filter for indexed parameters
1917
+ * @returns Unwatch function to stop listening
1918
+ */
1919
+ RoleGranted: (callback: (event: {
1920
+ role: `0x${string}`;
1921
+ account: `0x${string}`;
1922
+ sender: `0x${string}`;
1923
+ }) => void, filter?: {
1924
+ role: `0x${string}`;
1925
+ account: `0x${string}`;
1926
+ sender: `0x${string}`;
1927
+ }) => () => void;
1928
+ /**
1929
+ * Watch RoleRevoked events
1930
+ * @param callback Function to call when event is emitted
1931
+ * @param filter Optional filter for indexed parameters
1932
+ * @returns Unwatch function to stop listening
1933
+ */
1934
+ RoleRevoked: (callback: (event: {
1935
+ role: `0x${string}`;
1936
+ account: `0x${string}`;
1937
+ sender: `0x${string}`;
1938
+ }) => void, filter?: {
1939
+ role: `0x${string}`;
1940
+ account: `0x${string}`;
1941
+ sender: `0x${string}`;
1942
+ }) => () => void;
1943
+ /**
1944
+ * Watch Transfer events
1945
+ * @param callback Function to call when event is emitted
1946
+ * @param filter Optional filter for indexed parameters
1947
+ * @returns Unwatch function to stop listening
1948
+ */
1949
+ Transfer: (callback: (event: {
1950
+ from: `0x${string}`;
1951
+ to: `0x${string}`;
1952
+ value: bigint;
1953
+ }) => void, filter?: {
1954
+ from: `0x${string}`;
1955
+ to: `0x${string}`;
1956
+ }) => () => void;
1957
+ /**
1958
+ * Watch Unpaused events
1959
+ * @param callback Function to call when event is emitted
1960
+ * @param filter Optional filter for indexed parameters
1961
+ * @returns Unwatch function to stop listening
1962
+ */
1963
+ Unpaused: (callback: (event: {
1964
+ account: `0x${string}`;
1965
+ }) => void) => () => void;
1966
+ };
1967
+ }