@gitmyabi-stg/skl 1.0.0

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