@gitmyabi/cf 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,1339 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * CF_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const CF_jsonAbi: readonly [{
8
+ readonly anonymous: false;
9
+ readonly inputs: readonly [{
10
+ readonly indexed: true;
11
+ readonly internalType: "address";
12
+ readonly name: "owner";
13
+ readonly type: "address";
14
+ }, {
15
+ readonly indexed: true;
16
+ readonly internalType: "address";
17
+ readonly name: "spender";
18
+ readonly type: "address";
19
+ }, {
20
+ readonly indexed: false;
21
+ readonly internalType: "uint256";
22
+ readonly name: "value";
23
+ readonly type: "uint256";
24
+ }];
25
+ readonly name: "Approval";
26
+ readonly type: "event";
27
+ }, {
28
+ readonly anonymous: false;
29
+ readonly inputs: readonly [{
30
+ readonly indexed: false;
31
+ readonly internalType: "address";
32
+ readonly name: "minter";
33
+ readonly type: "address";
34
+ }, {
35
+ readonly indexed: false;
36
+ readonly internalType: "address";
37
+ readonly name: "operator";
38
+ readonly type: "address";
39
+ }];
40
+ readonly name: "AuthorizeMinter";
41
+ readonly type: "event";
42
+ }, {
43
+ readonly anonymous: false;
44
+ readonly inputs: readonly [{
45
+ readonly indexed: true;
46
+ readonly internalType: "address";
47
+ readonly name: "delegator";
48
+ readonly type: "address";
49
+ }, {
50
+ readonly indexed: true;
51
+ readonly internalType: "address";
52
+ readonly name: "fromDelegate";
53
+ readonly type: "address";
54
+ }, {
55
+ readonly indexed: true;
56
+ readonly internalType: "address";
57
+ readonly name: "toDelegate";
58
+ readonly type: "address";
59
+ }];
60
+ readonly name: "DelegateChanged";
61
+ readonly type: "event";
62
+ }, {
63
+ readonly anonymous: false;
64
+ readonly inputs: readonly [{
65
+ readonly indexed: true;
66
+ readonly internalType: "address";
67
+ readonly name: "delegate";
68
+ readonly type: "address";
69
+ }, {
70
+ readonly indexed: false;
71
+ readonly internalType: "uint256";
72
+ readonly name: "previousBalance";
73
+ readonly type: "uint256";
74
+ }, {
75
+ readonly indexed: false;
76
+ readonly internalType: "uint256";
77
+ readonly name: "newBalance";
78
+ readonly type: "uint256";
79
+ }];
80
+ readonly name: "DelegateVotesChanged";
81
+ readonly type: "event";
82
+ }, {
83
+ readonly anonymous: false;
84
+ readonly inputs: readonly [{
85
+ readonly indexed: true;
86
+ readonly internalType: "address";
87
+ readonly name: "previousOwner";
88
+ readonly type: "address";
89
+ }, {
90
+ readonly indexed: true;
91
+ readonly internalType: "address";
92
+ readonly name: "newOwner";
93
+ readonly type: "address";
94
+ }];
95
+ readonly name: "OwnershipTransferred";
96
+ readonly type: "event";
97
+ }, {
98
+ readonly anonymous: false;
99
+ readonly inputs: readonly [{
100
+ readonly indexed: false;
101
+ readonly internalType: "address";
102
+ readonly name: "minter";
103
+ readonly type: "address";
104
+ }, {
105
+ readonly indexed: false;
106
+ readonly internalType: "address";
107
+ readonly name: "operator";
108
+ readonly type: "address";
109
+ }];
110
+ readonly name: "RevokeMinter";
111
+ readonly type: "event";
112
+ }, {
113
+ readonly anonymous: false;
114
+ readonly inputs: readonly [{
115
+ readonly indexed: true;
116
+ readonly internalType: "address";
117
+ readonly name: "from";
118
+ readonly type: "address";
119
+ }, {
120
+ readonly indexed: true;
121
+ readonly internalType: "address";
122
+ readonly name: "to";
123
+ readonly type: "address";
124
+ }, {
125
+ readonly indexed: false;
126
+ readonly internalType: "uint256";
127
+ readonly name: "value";
128
+ readonly type: "uint256";
129
+ }];
130
+ readonly name: "Transfer";
131
+ readonly type: "event";
132
+ }, {
133
+ readonly inputs: readonly [];
134
+ readonly name: "DELEGATION_TYPEHASH";
135
+ readonly outputs: readonly [{
136
+ readonly internalType: "bytes32";
137
+ readonly name: "";
138
+ readonly type: "bytes32";
139
+ }];
140
+ readonly stateMutability: "view";
141
+ readonly type: "function";
142
+ }, {
143
+ readonly inputs: readonly [];
144
+ readonly name: "DOMAIN_TYPEHASH";
145
+ readonly outputs: readonly [{
146
+ readonly internalType: "bytes32";
147
+ readonly name: "";
148
+ readonly type: "bytes32";
149
+ }];
150
+ readonly stateMutability: "view";
151
+ readonly type: "function";
152
+ }, {
153
+ readonly inputs: readonly [];
154
+ readonly name: "PERMIT_TYPEHASH";
155
+ readonly outputs: readonly [{
156
+ readonly internalType: "bytes32";
157
+ readonly name: "";
158
+ readonly type: "bytes32";
159
+ }];
160
+ readonly stateMutability: "view";
161
+ readonly type: "function";
162
+ }, {
163
+ readonly inputs: readonly [{
164
+ readonly internalType: "address";
165
+ readonly name: "";
166
+ readonly type: "address";
167
+ }, {
168
+ readonly internalType: "uint256";
169
+ readonly name: "";
170
+ readonly type: "uint256";
171
+ }];
172
+ readonly name: "_checkpoints";
173
+ readonly outputs: readonly [{
174
+ readonly internalType: "uint256";
175
+ readonly name: "fromBlock";
176
+ readonly type: "uint256";
177
+ }, {
178
+ readonly internalType: "uint256";
179
+ readonly name: "votes";
180
+ readonly type: "uint256";
181
+ }];
182
+ readonly stateMutability: "view";
183
+ readonly type: "function";
184
+ }, {
185
+ readonly inputs: readonly [{
186
+ readonly internalType: "address";
187
+ readonly name: "";
188
+ readonly type: "address";
189
+ }];
190
+ readonly name: "_nonces";
191
+ readonly outputs: readonly [{
192
+ readonly internalType: "uint256";
193
+ readonly name: "";
194
+ readonly type: "uint256";
195
+ }];
196
+ readonly stateMutability: "view";
197
+ readonly type: "function";
198
+ }, {
199
+ readonly inputs: readonly [{
200
+ readonly internalType: "address";
201
+ readonly name: "";
202
+ readonly type: "address";
203
+ }];
204
+ readonly name: "_numCheckpoints";
205
+ readonly outputs: readonly [{
206
+ readonly internalType: "uint256";
207
+ readonly name: "";
208
+ readonly type: "uint256";
209
+ }];
210
+ readonly stateMutability: "view";
211
+ readonly type: "function";
212
+ }, {
213
+ readonly inputs: readonly [{
214
+ readonly internalType: "address";
215
+ readonly name: "owner";
216
+ readonly type: "address";
217
+ }, {
218
+ readonly internalType: "address";
219
+ readonly name: "spender";
220
+ readonly type: "address";
221
+ }];
222
+ readonly name: "allowance";
223
+ readonly outputs: readonly [{
224
+ readonly internalType: "uint256";
225
+ readonly name: "";
226
+ readonly type: "uint256";
227
+ }];
228
+ readonly stateMutability: "view";
229
+ readonly type: "function";
230
+ }, {
231
+ readonly inputs: readonly [{
232
+ readonly internalType: "address";
233
+ readonly name: "spender";
234
+ readonly type: "address";
235
+ }, {
236
+ readonly internalType: "uint256";
237
+ readonly name: "amount";
238
+ readonly type: "uint256";
239
+ }];
240
+ readonly name: "approve";
241
+ readonly outputs: readonly [{
242
+ readonly internalType: "bool";
243
+ readonly name: "";
244
+ readonly type: "bool";
245
+ }];
246
+ readonly stateMutability: "nonpayable";
247
+ readonly type: "function";
248
+ }, {
249
+ readonly inputs: readonly [{
250
+ readonly internalType: "address";
251
+ readonly name: "minter";
252
+ readonly type: "address";
253
+ }];
254
+ readonly name: "authorizeMinter";
255
+ readonly outputs: readonly [];
256
+ readonly stateMutability: "nonpayable";
257
+ readonly type: "function";
258
+ }, {
259
+ readonly inputs: readonly [{
260
+ readonly internalType: "address";
261
+ readonly name: "account";
262
+ readonly type: "address";
263
+ }];
264
+ readonly name: "balanceOf";
265
+ readonly outputs: readonly [{
266
+ readonly internalType: "uint256";
267
+ readonly name: "";
268
+ readonly type: "uint256";
269
+ }];
270
+ readonly stateMutability: "view";
271
+ readonly type: "function";
272
+ }, {
273
+ readonly inputs: readonly [];
274
+ readonly name: "cap";
275
+ readonly outputs: readonly [{
276
+ readonly internalType: "uint256";
277
+ readonly name: "";
278
+ readonly type: "uint256";
279
+ }];
280
+ readonly stateMutability: "view";
281
+ readonly type: "function";
282
+ }, {
283
+ readonly inputs: readonly [];
284
+ readonly name: "decimals";
285
+ readonly outputs: readonly [{
286
+ readonly internalType: "uint8";
287
+ readonly name: "";
288
+ readonly type: "uint8";
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: "subtractedValue";
300
+ readonly type: "uint256";
301
+ }];
302
+ readonly name: "decreaseAllowance";
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: "delegatee";
314
+ readonly type: "address";
315
+ }];
316
+ readonly name: "delegate";
317
+ readonly outputs: readonly [];
318
+ readonly stateMutability: "nonpayable";
319
+ readonly type: "function";
320
+ }, {
321
+ readonly inputs: readonly [{
322
+ readonly internalType: "address";
323
+ readonly name: "delegatee";
324
+ readonly type: "address";
325
+ }, {
326
+ readonly internalType: "uint256";
327
+ readonly name: "nonce";
328
+ readonly type: "uint256";
329
+ }, {
330
+ readonly internalType: "uint256";
331
+ readonly name: "expiry";
332
+ readonly type: "uint256";
333
+ }, {
334
+ readonly internalType: "uint8";
335
+ readonly name: "v";
336
+ readonly type: "uint8";
337
+ }, {
338
+ readonly internalType: "bytes32";
339
+ readonly name: "r";
340
+ readonly type: "bytes32";
341
+ }, {
342
+ readonly internalType: "bytes32";
343
+ readonly name: "s";
344
+ readonly type: "bytes32";
345
+ }];
346
+ readonly name: "delegateBySig";
347
+ readonly outputs: readonly [];
348
+ readonly stateMutability: "nonpayable";
349
+ readonly type: "function";
350
+ }, {
351
+ readonly inputs: readonly [{
352
+ readonly internalType: "address";
353
+ readonly name: "account";
354
+ readonly type: "address";
355
+ }];
356
+ readonly name: "getCurrentVotes";
357
+ readonly outputs: readonly [{
358
+ readonly internalType: "uint256";
359
+ readonly name: "";
360
+ readonly type: "uint256";
361
+ }];
362
+ readonly stateMutability: "view";
363
+ readonly type: "function";
364
+ }, {
365
+ readonly inputs: readonly [{
366
+ readonly internalType: "address";
367
+ readonly name: "account";
368
+ readonly type: "address";
369
+ }, {
370
+ readonly internalType: "uint256";
371
+ readonly name: "blockNumber";
372
+ readonly type: "uint256";
373
+ }];
374
+ readonly name: "getPriorVotes";
375
+ readonly outputs: readonly [{
376
+ readonly internalType: "uint256";
377
+ readonly name: "";
378
+ readonly type: "uint256";
379
+ }];
380
+ readonly stateMutability: "view";
381
+ readonly type: "function";
382
+ }, {
383
+ readonly inputs: readonly [{
384
+ readonly internalType: "address";
385
+ readonly name: "spender";
386
+ readonly type: "address";
387
+ }, {
388
+ readonly internalType: "uint256";
389
+ readonly name: "addedValue";
390
+ readonly type: "uint256";
391
+ }];
392
+ readonly name: "increaseAllowance";
393
+ readonly outputs: readonly [{
394
+ readonly internalType: "bool";
395
+ readonly name: "";
396
+ readonly type: "bool";
397
+ }];
398
+ readonly stateMutability: "nonpayable";
399
+ readonly type: "function";
400
+ }, {
401
+ readonly inputs: readonly [];
402
+ readonly name: "initialize";
403
+ readonly outputs: readonly [];
404
+ readonly stateMutability: "nonpayable";
405
+ readonly type: "function";
406
+ }, {
407
+ readonly inputs: readonly [{
408
+ readonly internalType: "address";
409
+ readonly name: "";
410
+ readonly type: "address";
411
+ }];
412
+ readonly name: "isMinter";
413
+ readonly outputs: readonly [{
414
+ readonly internalType: "bool";
415
+ readonly name: "";
416
+ readonly type: "bool";
417
+ }];
418
+ readonly stateMutability: "view";
419
+ readonly type: "function";
420
+ }, {
421
+ readonly inputs: readonly [{
422
+ readonly internalType: "address";
423
+ readonly name: "to";
424
+ readonly type: "address";
425
+ }, {
426
+ readonly internalType: "uint256";
427
+ readonly name: "amount";
428
+ readonly type: "uint256";
429
+ }];
430
+ readonly name: "mint";
431
+ readonly outputs: readonly [];
432
+ readonly stateMutability: "nonpayable";
433
+ readonly type: "function";
434
+ }, {
435
+ readonly inputs: readonly [{
436
+ readonly internalType: "uint256";
437
+ readonly name: "";
438
+ readonly type: "uint256";
439
+ }];
440
+ readonly name: "minters";
441
+ readonly outputs: readonly [{
442
+ readonly internalType: "address";
443
+ readonly name: "";
444
+ readonly type: "address";
445
+ }];
446
+ readonly stateMutability: "view";
447
+ readonly type: "function";
448
+ }, {
449
+ readonly inputs: readonly [];
450
+ readonly name: "mintersLength";
451
+ readonly outputs: readonly [{
452
+ readonly internalType: "uint256";
453
+ readonly name: "";
454
+ readonly type: "uint256";
455
+ }];
456
+ readonly stateMutability: "view";
457
+ readonly type: "function";
458
+ }, {
459
+ readonly inputs: readonly [];
460
+ readonly name: "name";
461
+ readonly outputs: readonly [{
462
+ readonly internalType: "string";
463
+ readonly name: "";
464
+ readonly type: "string";
465
+ }];
466
+ readonly stateMutability: "view";
467
+ readonly type: "function";
468
+ }, {
469
+ readonly inputs: readonly [];
470
+ readonly name: "owner";
471
+ readonly outputs: readonly [{
472
+ readonly internalType: "address";
473
+ readonly name: "";
474
+ readonly type: "address";
475
+ }];
476
+ readonly stateMutability: "view";
477
+ readonly type: "function";
478
+ }, {
479
+ readonly inputs: readonly [{
480
+ readonly internalType: "address";
481
+ readonly name: "owner";
482
+ readonly type: "address";
483
+ }, {
484
+ readonly internalType: "address";
485
+ readonly name: "spender";
486
+ readonly type: "address";
487
+ }, {
488
+ readonly internalType: "uint256";
489
+ readonly name: "rawAmount";
490
+ readonly type: "uint256";
491
+ }, {
492
+ readonly internalType: "uint256";
493
+ readonly name: "deadline";
494
+ readonly type: "uint256";
495
+ }, {
496
+ readonly internalType: "uint8";
497
+ readonly name: "v";
498
+ readonly type: "uint8";
499
+ }, {
500
+ readonly internalType: "bytes32";
501
+ readonly name: "r";
502
+ readonly type: "bytes32";
503
+ }, {
504
+ readonly internalType: "bytes32";
505
+ readonly name: "s";
506
+ readonly type: "bytes32";
507
+ }];
508
+ readonly name: "permit";
509
+ readonly outputs: readonly [];
510
+ readonly stateMutability: "nonpayable";
511
+ readonly type: "function";
512
+ }, {
513
+ readonly inputs: readonly [];
514
+ readonly name: "renounceOwnership";
515
+ readonly outputs: readonly [];
516
+ readonly stateMutability: "nonpayable";
517
+ readonly type: "function";
518
+ }, {
519
+ readonly inputs: readonly [{
520
+ readonly internalType: "address";
521
+ readonly name: "minter";
522
+ readonly type: "address";
523
+ }];
524
+ readonly name: "revokeMinter";
525
+ readonly outputs: readonly [];
526
+ readonly stateMutability: "nonpayable";
527
+ readonly type: "function";
528
+ }, {
529
+ readonly inputs: readonly [];
530
+ readonly name: "symbol";
531
+ readonly outputs: readonly [{
532
+ readonly internalType: "string";
533
+ readonly name: "";
534
+ readonly type: "string";
535
+ }];
536
+ readonly stateMutability: "view";
537
+ readonly type: "function";
538
+ }, {
539
+ readonly inputs: readonly [];
540
+ readonly name: "totalSupply";
541
+ readonly outputs: readonly [{
542
+ readonly internalType: "uint256";
543
+ readonly name: "";
544
+ readonly type: "uint256";
545
+ }];
546
+ readonly stateMutability: "view";
547
+ readonly type: "function";
548
+ }, {
549
+ readonly inputs: readonly [{
550
+ readonly internalType: "address";
551
+ readonly name: "recipient";
552
+ readonly type: "address";
553
+ }, {
554
+ readonly internalType: "uint256";
555
+ readonly name: "amount";
556
+ readonly type: "uint256";
557
+ }];
558
+ readonly name: "transfer";
559
+ readonly outputs: readonly [{
560
+ readonly internalType: "bool";
561
+ readonly name: "";
562
+ readonly type: "bool";
563
+ }];
564
+ readonly stateMutability: "nonpayable";
565
+ readonly type: "function";
566
+ }, {
567
+ readonly inputs: readonly [{
568
+ readonly internalType: "address";
569
+ readonly name: "sender";
570
+ readonly type: "address";
571
+ }, {
572
+ readonly internalType: "address";
573
+ readonly name: "recipient";
574
+ readonly type: "address";
575
+ }, {
576
+ readonly internalType: "uint256";
577
+ readonly name: "amount";
578
+ readonly type: "uint256";
579
+ }];
580
+ readonly name: "transferFrom";
581
+ readonly outputs: readonly [{
582
+ readonly internalType: "bool";
583
+ readonly name: "";
584
+ readonly type: "bool";
585
+ }];
586
+ readonly stateMutability: "nonpayable";
587
+ readonly type: "function";
588
+ }, {
589
+ readonly inputs: readonly [{
590
+ readonly internalType: "address";
591
+ readonly name: "newOwner";
592
+ readonly type: "address";
593
+ }];
594
+ readonly name: "transferOwnership";
595
+ readonly outputs: readonly [];
596
+ readonly stateMutability: "nonpayable";
597
+ readonly type: "function";
598
+ }];
599
+ /**
600
+ * Type-safe ABI for CF_json
601
+ */
602
+ export type CF_jsonAbi = typeof CF_jsonAbi;
603
+ /**
604
+ * Contract instance type for CF_json
605
+ */
606
+ export type CF_jsonContract = any;
607
+ /**
608
+ * CF_json Contract Class
609
+ *
610
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
611
+ *
612
+ * @example
613
+ * ```typescript
614
+ * import { createPublicClient, createWalletClient, http } from 'viem';
615
+ * import { mainnet } from 'viem/chains';
616
+ * import { CF_json } from 'CF_json';
617
+ *
618
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
619
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
620
+ *
621
+ * const contract = new CF_json('0x...', { publicClient, walletClient });
622
+ *
623
+ * // Read functions
624
+ * const result = await contract.balanceOf('0x...');
625
+ *
626
+ * // Write functions
627
+ * const hash = await contract.transfer('0x...', 1000n);
628
+ *
629
+ * // Simulate transactions (dry-run)
630
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
631
+ * console.log('Gas estimate:', simulation.request.gas);
632
+ *
633
+ * // Watch events
634
+ * const unwatch = contract.watch.Transfer((event) => {
635
+ * console.log('Transfer event:', event);
636
+ * });
637
+ * ```
638
+ */
639
+ export declare class CF_json {
640
+ private contract;
641
+ private contractAddress;
642
+ private publicClient;
643
+ constructor(address: Address, clients: {
644
+ publicClient: PublicClient;
645
+ walletClient?: WalletClient;
646
+ });
647
+ /**
648
+ * Get the contract address
649
+ */
650
+ get address(): Address;
651
+ /**
652
+ * Get the underlying viem contract instance
653
+ */
654
+ getContract(): CF_jsonContract;
655
+ /**
656
+ * DELEGATION_TYPEHASH
657
+ * view
658
+ */
659
+ DELEGATION_TYPEHASH(): Promise<`0x${string}`>;
660
+ /**
661
+ * DOMAIN_TYPEHASH
662
+ * view
663
+ */
664
+ DOMAIN_TYPEHASH(): Promise<`0x${string}`>;
665
+ /**
666
+ * PERMIT_TYPEHASH
667
+ * view
668
+ */
669
+ PERMIT_TYPEHASH(): Promise<`0x${string}`>;
670
+ /**
671
+ * _checkpoints
672
+ * view
673
+ */
674
+ _checkpoints(arg0: `0x${string}`, arg1: bigint): Promise<[bigint, bigint]>;
675
+ /**
676
+ * _nonces
677
+ * view
678
+ */
679
+ _nonces(arg0: `0x${string}`): Promise<bigint>;
680
+ /**
681
+ * _numCheckpoints
682
+ * view
683
+ */
684
+ _numCheckpoints(arg0: `0x${string}`): Promise<bigint>;
685
+ /**
686
+ * allowance
687
+ * view
688
+ */
689
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
690
+ /**
691
+ * balanceOf
692
+ * view
693
+ */
694
+ balanceOf(account: `0x${string}`): Promise<bigint>;
695
+ /**
696
+ * cap
697
+ * view
698
+ */
699
+ cap(): Promise<bigint>;
700
+ /**
701
+ * decimals
702
+ * view
703
+ */
704
+ decimals(): Promise<bigint>;
705
+ /**
706
+ * getCurrentVotes
707
+ * view
708
+ */
709
+ getCurrentVotes(account: `0x${string}`): Promise<bigint>;
710
+ /**
711
+ * getPriorVotes
712
+ * view
713
+ */
714
+ getPriorVotes(account: `0x${string}`, blockNumber: bigint): Promise<bigint>;
715
+ /**
716
+ * isMinter
717
+ * view
718
+ */
719
+ isMinter(arg0: `0x${string}`): Promise<boolean>;
720
+ /**
721
+ * minters
722
+ * view
723
+ */
724
+ minters(arg0: bigint): Promise<`0x${string}`>;
725
+ /**
726
+ * mintersLength
727
+ * view
728
+ */
729
+ mintersLength(): Promise<bigint>;
730
+ /**
731
+ * name
732
+ * view
733
+ */
734
+ name(): Promise<string>;
735
+ /**
736
+ * owner
737
+ * view
738
+ */
739
+ owner(): Promise<`0x${string}`>;
740
+ /**
741
+ * symbol
742
+ * view
743
+ */
744
+ symbol(): Promise<string>;
745
+ /**
746
+ * totalSupply
747
+ * view
748
+ */
749
+ totalSupply(): Promise<bigint>;
750
+ /**
751
+ * approve
752
+ * nonpayable
753
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
754
+ */
755
+ approve(spender: `0x${string}`, amount: bigint, options?: {
756
+ accessList?: import('viem').AccessList;
757
+ authorizationList?: import('viem').AuthorizationList;
758
+ chain?: import('viem').Chain | null;
759
+ dataSuffix?: `0x${string}`;
760
+ gas?: bigint;
761
+ gasPrice?: bigint;
762
+ maxFeePerGas?: bigint;
763
+ maxPriorityFeePerGas?: bigint;
764
+ nonce?: number;
765
+ value?: bigint;
766
+ }): Promise<`0x${string}`>;
767
+ /**
768
+ * authorizeMinter
769
+ * nonpayable
770
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
771
+ */
772
+ authorizeMinter(minter: `0x${string}`, options?: {
773
+ accessList?: import('viem').AccessList;
774
+ authorizationList?: import('viem').AuthorizationList;
775
+ chain?: import('viem').Chain | null;
776
+ dataSuffix?: `0x${string}`;
777
+ gas?: bigint;
778
+ gasPrice?: bigint;
779
+ maxFeePerGas?: bigint;
780
+ maxPriorityFeePerGas?: bigint;
781
+ nonce?: number;
782
+ value?: bigint;
783
+ }): Promise<`0x${string}`>;
784
+ /**
785
+ * decreaseAllowance
786
+ * nonpayable
787
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
788
+ */
789
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
790
+ accessList?: import('viem').AccessList;
791
+ authorizationList?: import('viem').AuthorizationList;
792
+ chain?: import('viem').Chain | null;
793
+ dataSuffix?: `0x${string}`;
794
+ gas?: bigint;
795
+ gasPrice?: bigint;
796
+ maxFeePerGas?: bigint;
797
+ maxPriorityFeePerGas?: bigint;
798
+ nonce?: number;
799
+ value?: bigint;
800
+ }): Promise<`0x${string}`>;
801
+ /**
802
+ * delegate
803
+ * nonpayable
804
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
805
+ */
806
+ delegate(delegatee: `0x${string}`, options?: {
807
+ accessList?: import('viem').AccessList;
808
+ authorizationList?: import('viem').AuthorizationList;
809
+ chain?: import('viem').Chain | null;
810
+ dataSuffix?: `0x${string}`;
811
+ gas?: bigint;
812
+ gasPrice?: bigint;
813
+ maxFeePerGas?: bigint;
814
+ maxPriorityFeePerGas?: bigint;
815
+ nonce?: number;
816
+ value?: bigint;
817
+ }): Promise<`0x${string}`>;
818
+ /**
819
+ * delegateBySig
820
+ * nonpayable
821
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
822
+ */
823
+ delegateBySig(delegatee: `0x${string}`, nonce: bigint, expiry: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
824
+ accessList?: import('viem').AccessList;
825
+ authorizationList?: import('viem').AuthorizationList;
826
+ chain?: import('viem').Chain | null;
827
+ dataSuffix?: `0x${string}`;
828
+ gas?: bigint;
829
+ gasPrice?: bigint;
830
+ maxFeePerGas?: bigint;
831
+ maxPriorityFeePerGas?: bigint;
832
+ nonce?: number;
833
+ value?: bigint;
834
+ }): Promise<`0x${string}`>;
835
+ /**
836
+ * increaseAllowance
837
+ * nonpayable
838
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
839
+ */
840
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
841
+ accessList?: import('viem').AccessList;
842
+ authorizationList?: import('viem').AuthorizationList;
843
+ chain?: import('viem').Chain | null;
844
+ dataSuffix?: `0x${string}`;
845
+ gas?: bigint;
846
+ gasPrice?: bigint;
847
+ maxFeePerGas?: bigint;
848
+ maxPriorityFeePerGas?: bigint;
849
+ nonce?: number;
850
+ value?: bigint;
851
+ }): Promise<`0x${string}`>;
852
+ /**
853
+ * initialize
854
+ * nonpayable
855
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
856
+ */
857
+ initialize(options?: {
858
+ accessList?: import('viem').AccessList;
859
+ authorizationList?: import('viem').AuthorizationList;
860
+ chain?: import('viem').Chain | null;
861
+ dataSuffix?: `0x${string}`;
862
+ gas?: bigint;
863
+ gasPrice?: bigint;
864
+ maxFeePerGas?: bigint;
865
+ maxPriorityFeePerGas?: bigint;
866
+ nonce?: number;
867
+ value?: bigint;
868
+ }): Promise<`0x${string}`>;
869
+ /**
870
+ * mint
871
+ * nonpayable
872
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
873
+ */
874
+ mint(to: `0x${string}`, amount: bigint, options?: {
875
+ accessList?: import('viem').AccessList;
876
+ authorizationList?: import('viem').AuthorizationList;
877
+ chain?: import('viem').Chain | null;
878
+ dataSuffix?: `0x${string}`;
879
+ gas?: bigint;
880
+ gasPrice?: bigint;
881
+ maxFeePerGas?: bigint;
882
+ maxPriorityFeePerGas?: bigint;
883
+ nonce?: number;
884
+ value?: bigint;
885
+ }): Promise<`0x${string}`>;
886
+ /**
887
+ * permit
888
+ * nonpayable
889
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
890
+ */
891
+ permit(owner: `0x${string}`, spender: `0x${string}`, rawAmount: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
892
+ accessList?: import('viem').AccessList;
893
+ authorizationList?: import('viem').AuthorizationList;
894
+ chain?: import('viem').Chain | null;
895
+ dataSuffix?: `0x${string}`;
896
+ gas?: bigint;
897
+ gasPrice?: bigint;
898
+ maxFeePerGas?: bigint;
899
+ maxPriorityFeePerGas?: bigint;
900
+ nonce?: number;
901
+ value?: bigint;
902
+ }): Promise<`0x${string}`>;
903
+ /**
904
+ * renounceOwnership
905
+ * nonpayable
906
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
907
+ */
908
+ renounceOwnership(options?: {
909
+ accessList?: import('viem').AccessList;
910
+ authorizationList?: import('viem').AuthorizationList;
911
+ chain?: import('viem').Chain | null;
912
+ dataSuffix?: `0x${string}`;
913
+ gas?: bigint;
914
+ gasPrice?: bigint;
915
+ maxFeePerGas?: bigint;
916
+ maxPriorityFeePerGas?: bigint;
917
+ nonce?: number;
918
+ value?: bigint;
919
+ }): Promise<`0x${string}`>;
920
+ /**
921
+ * revokeMinter
922
+ * nonpayable
923
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
924
+ */
925
+ revokeMinter(minter: `0x${string}`, options?: {
926
+ accessList?: import('viem').AccessList;
927
+ authorizationList?: import('viem').AuthorizationList;
928
+ chain?: import('viem').Chain | null;
929
+ dataSuffix?: `0x${string}`;
930
+ gas?: bigint;
931
+ gasPrice?: bigint;
932
+ maxFeePerGas?: bigint;
933
+ maxPriorityFeePerGas?: bigint;
934
+ nonce?: number;
935
+ value?: bigint;
936
+ }): Promise<`0x${string}`>;
937
+ /**
938
+ * transfer
939
+ * nonpayable
940
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
941
+ */
942
+ transfer(recipient: `0x${string}`, amount: bigint, options?: {
943
+ accessList?: import('viem').AccessList;
944
+ authorizationList?: import('viem').AuthorizationList;
945
+ chain?: import('viem').Chain | null;
946
+ dataSuffix?: `0x${string}`;
947
+ gas?: bigint;
948
+ gasPrice?: bigint;
949
+ maxFeePerGas?: bigint;
950
+ maxPriorityFeePerGas?: bigint;
951
+ nonce?: number;
952
+ value?: bigint;
953
+ }): Promise<`0x${string}`>;
954
+ /**
955
+ * transferFrom
956
+ * nonpayable
957
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
958
+ */
959
+ transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
960
+ accessList?: import('viem').AccessList;
961
+ authorizationList?: import('viem').AuthorizationList;
962
+ chain?: import('viem').Chain | null;
963
+ dataSuffix?: `0x${string}`;
964
+ gas?: bigint;
965
+ gasPrice?: bigint;
966
+ maxFeePerGas?: bigint;
967
+ maxPriorityFeePerGas?: bigint;
968
+ nonce?: number;
969
+ value?: bigint;
970
+ }): Promise<`0x${string}`>;
971
+ /**
972
+ * transferOwnership
973
+ * nonpayable
974
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
975
+ */
976
+ transferOwnership(newOwner: `0x${string}`, options?: {
977
+ accessList?: import('viem').AccessList;
978
+ authorizationList?: import('viem').AuthorizationList;
979
+ chain?: import('viem').Chain | null;
980
+ dataSuffix?: `0x${string}`;
981
+ gas?: bigint;
982
+ gasPrice?: bigint;
983
+ maxFeePerGas?: bigint;
984
+ maxPriorityFeePerGas?: bigint;
985
+ nonce?: number;
986
+ value?: bigint;
987
+ }): Promise<`0x${string}`>;
988
+ /**
989
+ * Simulate contract write operations (dry-run without sending transaction)
990
+ *
991
+ * @example
992
+ * const result = await contract.simulate.transfer('0x...', 1000n);
993
+ * console.log('Gas estimate:', result.request.gas);
994
+ * console.log('Would succeed:', result.result);
995
+ */
996
+ get simulate(): {
997
+ /**
998
+ * Simulate approve
999
+ * Returns gas estimate and result without sending transaction
1000
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1001
+ */
1002
+ approve(spender: `0x${string}`, amount: bigint, options?: {
1003
+ accessList?: import("viem").AccessList;
1004
+ authorizationList?: import("viem").AuthorizationList;
1005
+ chain?: import("viem").Chain | null;
1006
+ dataSuffix?: `0x${string}`;
1007
+ gas?: bigint;
1008
+ gasPrice?: bigint;
1009
+ maxFeePerGas?: bigint;
1010
+ maxPriorityFeePerGas?: bigint;
1011
+ nonce?: number;
1012
+ value?: bigint;
1013
+ }): Promise<boolean>;
1014
+ /**
1015
+ * Simulate authorizeMinter
1016
+ * Returns gas estimate and result without sending transaction
1017
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1018
+ */
1019
+ authorizeMinter(minter: `0x${string}`, options?: {
1020
+ accessList?: import("viem").AccessList;
1021
+ authorizationList?: import("viem").AuthorizationList;
1022
+ chain?: import("viem").Chain | null;
1023
+ dataSuffix?: `0x${string}`;
1024
+ gas?: bigint;
1025
+ gasPrice?: bigint;
1026
+ maxFeePerGas?: bigint;
1027
+ maxPriorityFeePerGas?: bigint;
1028
+ nonce?: number;
1029
+ value?: bigint;
1030
+ }): Promise<void>;
1031
+ /**
1032
+ * Simulate decreaseAllowance
1033
+ * Returns gas estimate and result without sending transaction
1034
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1035
+ */
1036
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
1037
+ accessList?: import("viem").AccessList;
1038
+ authorizationList?: import("viem").AuthorizationList;
1039
+ chain?: import("viem").Chain | null;
1040
+ dataSuffix?: `0x${string}`;
1041
+ gas?: bigint;
1042
+ gasPrice?: bigint;
1043
+ maxFeePerGas?: bigint;
1044
+ maxPriorityFeePerGas?: bigint;
1045
+ nonce?: number;
1046
+ value?: bigint;
1047
+ }): Promise<boolean>;
1048
+ /**
1049
+ * Simulate delegate
1050
+ * Returns gas estimate and result without sending transaction
1051
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1052
+ */
1053
+ delegate(delegatee: `0x${string}`, options?: {
1054
+ accessList?: import("viem").AccessList;
1055
+ authorizationList?: import("viem").AuthorizationList;
1056
+ chain?: import("viem").Chain | null;
1057
+ dataSuffix?: `0x${string}`;
1058
+ gas?: bigint;
1059
+ gasPrice?: bigint;
1060
+ maxFeePerGas?: bigint;
1061
+ maxPriorityFeePerGas?: bigint;
1062
+ nonce?: number;
1063
+ value?: bigint;
1064
+ }): Promise<void>;
1065
+ /**
1066
+ * Simulate delegateBySig
1067
+ * Returns gas estimate and result without sending transaction
1068
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1069
+ */
1070
+ delegateBySig(delegatee: `0x${string}`, nonce: bigint, expiry: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
1071
+ accessList?: import("viem").AccessList;
1072
+ authorizationList?: import("viem").AuthorizationList;
1073
+ chain?: import("viem").Chain | null;
1074
+ dataSuffix?: `0x${string}`;
1075
+ gas?: bigint;
1076
+ gasPrice?: bigint;
1077
+ maxFeePerGas?: bigint;
1078
+ maxPriorityFeePerGas?: bigint;
1079
+ nonce?: number;
1080
+ value?: bigint;
1081
+ }): Promise<void>;
1082
+ /**
1083
+ * Simulate increaseAllowance
1084
+ * Returns gas estimate and result without sending transaction
1085
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1086
+ */
1087
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
1088
+ accessList?: import("viem").AccessList;
1089
+ authorizationList?: import("viem").AuthorizationList;
1090
+ chain?: import("viem").Chain | null;
1091
+ dataSuffix?: `0x${string}`;
1092
+ gas?: bigint;
1093
+ gasPrice?: bigint;
1094
+ maxFeePerGas?: bigint;
1095
+ maxPriorityFeePerGas?: bigint;
1096
+ nonce?: number;
1097
+ value?: bigint;
1098
+ }): Promise<boolean>;
1099
+ /**
1100
+ * Simulate initialize
1101
+ * Returns gas estimate and result without sending transaction
1102
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1103
+ */
1104
+ initialize(options?: {
1105
+ accessList?: import("viem").AccessList;
1106
+ authorizationList?: import("viem").AuthorizationList;
1107
+ chain?: import("viem").Chain | null;
1108
+ dataSuffix?: `0x${string}`;
1109
+ gas?: bigint;
1110
+ gasPrice?: bigint;
1111
+ maxFeePerGas?: bigint;
1112
+ maxPriorityFeePerGas?: bigint;
1113
+ nonce?: number;
1114
+ value?: bigint;
1115
+ }): Promise<void>;
1116
+ /**
1117
+ * Simulate mint
1118
+ * Returns gas estimate and result without sending transaction
1119
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1120
+ */
1121
+ mint(to: `0x${string}`, amount: bigint, options?: {
1122
+ accessList?: import("viem").AccessList;
1123
+ authorizationList?: import("viem").AuthorizationList;
1124
+ chain?: import("viem").Chain | null;
1125
+ dataSuffix?: `0x${string}`;
1126
+ gas?: bigint;
1127
+ gasPrice?: bigint;
1128
+ maxFeePerGas?: bigint;
1129
+ maxPriorityFeePerGas?: bigint;
1130
+ nonce?: number;
1131
+ value?: bigint;
1132
+ }): Promise<void>;
1133
+ /**
1134
+ * Simulate permit
1135
+ * Returns gas estimate and result without sending transaction
1136
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1137
+ */
1138
+ permit(owner: `0x${string}`, spender: `0x${string}`, rawAmount: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
1139
+ accessList?: import("viem").AccessList;
1140
+ authorizationList?: import("viem").AuthorizationList;
1141
+ chain?: import("viem").Chain | null;
1142
+ dataSuffix?: `0x${string}`;
1143
+ gas?: bigint;
1144
+ gasPrice?: bigint;
1145
+ maxFeePerGas?: bigint;
1146
+ maxPriorityFeePerGas?: bigint;
1147
+ nonce?: number;
1148
+ value?: bigint;
1149
+ }): Promise<void>;
1150
+ /**
1151
+ * Simulate renounceOwnership
1152
+ * Returns gas estimate and result without sending transaction
1153
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1154
+ */
1155
+ renounceOwnership(options?: {
1156
+ accessList?: import("viem").AccessList;
1157
+ authorizationList?: import("viem").AuthorizationList;
1158
+ chain?: import("viem").Chain | null;
1159
+ dataSuffix?: `0x${string}`;
1160
+ gas?: bigint;
1161
+ gasPrice?: bigint;
1162
+ maxFeePerGas?: bigint;
1163
+ maxPriorityFeePerGas?: bigint;
1164
+ nonce?: number;
1165
+ value?: bigint;
1166
+ }): Promise<void>;
1167
+ /**
1168
+ * Simulate revokeMinter
1169
+ * Returns gas estimate and result without sending transaction
1170
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1171
+ */
1172
+ revokeMinter(minter: `0x${string}`, options?: {
1173
+ accessList?: import("viem").AccessList;
1174
+ authorizationList?: import("viem").AuthorizationList;
1175
+ chain?: import("viem").Chain | null;
1176
+ dataSuffix?: `0x${string}`;
1177
+ gas?: bigint;
1178
+ gasPrice?: bigint;
1179
+ maxFeePerGas?: bigint;
1180
+ maxPriorityFeePerGas?: bigint;
1181
+ nonce?: number;
1182
+ value?: bigint;
1183
+ }): Promise<void>;
1184
+ /**
1185
+ * Simulate transfer
1186
+ * Returns gas estimate and result without sending transaction
1187
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1188
+ */
1189
+ transfer(recipient: `0x${string}`, amount: bigint, options?: {
1190
+ accessList?: import("viem").AccessList;
1191
+ authorizationList?: import("viem").AuthorizationList;
1192
+ chain?: import("viem").Chain | null;
1193
+ dataSuffix?: `0x${string}`;
1194
+ gas?: bigint;
1195
+ gasPrice?: bigint;
1196
+ maxFeePerGas?: bigint;
1197
+ maxPriorityFeePerGas?: bigint;
1198
+ nonce?: number;
1199
+ value?: bigint;
1200
+ }): Promise<boolean>;
1201
+ /**
1202
+ * Simulate transferFrom
1203
+ * Returns gas estimate and result without sending transaction
1204
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1205
+ */
1206
+ transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
1207
+ accessList?: import("viem").AccessList;
1208
+ authorizationList?: import("viem").AuthorizationList;
1209
+ chain?: import("viem").Chain | null;
1210
+ dataSuffix?: `0x${string}`;
1211
+ gas?: bigint;
1212
+ gasPrice?: bigint;
1213
+ maxFeePerGas?: bigint;
1214
+ maxPriorityFeePerGas?: bigint;
1215
+ nonce?: number;
1216
+ value?: bigint;
1217
+ }): Promise<boolean>;
1218
+ /**
1219
+ * Simulate transferOwnership
1220
+ * Returns gas estimate and result without sending transaction
1221
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1222
+ */
1223
+ transferOwnership(newOwner: `0x${string}`, options?: {
1224
+ accessList?: import("viem").AccessList;
1225
+ authorizationList?: import("viem").AuthorizationList;
1226
+ chain?: import("viem").Chain | null;
1227
+ dataSuffix?: `0x${string}`;
1228
+ gas?: bigint;
1229
+ gasPrice?: bigint;
1230
+ maxFeePerGas?: bigint;
1231
+ maxPriorityFeePerGas?: bigint;
1232
+ nonce?: number;
1233
+ value?: bigint;
1234
+ }): Promise<void>;
1235
+ };
1236
+ /**
1237
+ * Watch contract events
1238
+ *
1239
+ * @example
1240
+ * // Watch all Transfer events
1241
+ * const unwatch = contract.watch.Transfer((event) => {
1242
+ * console.log('Transfer:', event);
1243
+ * });
1244
+ *
1245
+ * // Stop watching
1246
+ * unwatch();
1247
+ */
1248
+ get watch(): {
1249
+ /**
1250
+ * Watch Approval events
1251
+ * @param callback Function to call when event is emitted
1252
+ * @param filter Optional filter for indexed parameters
1253
+ * @returns Unwatch function to stop listening
1254
+ */
1255
+ Approval: (callback: (event: {
1256
+ owner: `0x${string}`;
1257
+ spender: `0x${string}`;
1258
+ value: bigint;
1259
+ }) => void, filter?: {
1260
+ owner: `0x${string}`;
1261
+ spender: `0x${string}`;
1262
+ }) => () => void;
1263
+ /**
1264
+ * Watch AuthorizeMinter events
1265
+ * @param callback Function to call when event is emitted
1266
+ * @param filter Optional filter for indexed parameters
1267
+ * @returns Unwatch function to stop listening
1268
+ */
1269
+ AuthorizeMinter: (callback: (event: {
1270
+ minter: `0x${string}`;
1271
+ operator: `0x${string}`;
1272
+ }) => void) => () => void;
1273
+ /**
1274
+ * Watch DelegateChanged events
1275
+ * @param callback Function to call when event is emitted
1276
+ * @param filter Optional filter for indexed parameters
1277
+ * @returns Unwatch function to stop listening
1278
+ */
1279
+ DelegateChanged: (callback: (event: {
1280
+ delegator: `0x${string}`;
1281
+ fromDelegate: `0x${string}`;
1282
+ toDelegate: `0x${string}`;
1283
+ }) => void, filter?: {
1284
+ delegator: `0x${string}`;
1285
+ fromDelegate: `0x${string}`;
1286
+ toDelegate: `0x${string}`;
1287
+ }) => () => void;
1288
+ /**
1289
+ * Watch DelegateVotesChanged events
1290
+ * @param callback Function to call when event is emitted
1291
+ * @param filter Optional filter for indexed parameters
1292
+ * @returns Unwatch function to stop listening
1293
+ */
1294
+ DelegateVotesChanged: (callback: (event: {
1295
+ delegate: `0x${string}`;
1296
+ previousBalance: bigint;
1297
+ newBalance: bigint;
1298
+ }) => void, filter?: {
1299
+ delegate: `0x${string}`;
1300
+ }) => () => void;
1301
+ /**
1302
+ * Watch OwnershipTransferred events
1303
+ * @param callback Function to call when event is emitted
1304
+ * @param filter Optional filter for indexed parameters
1305
+ * @returns Unwatch function to stop listening
1306
+ */
1307
+ OwnershipTransferred: (callback: (event: {
1308
+ previousOwner: `0x${string}`;
1309
+ newOwner: `0x${string}`;
1310
+ }) => void, filter?: {
1311
+ previousOwner: `0x${string}`;
1312
+ newOwner: `0x${string}`;
1313
+ }) => () => void;
1314
+ /**
1315
+ * Watch RevokeMinter events
1316
+ * @param callback Function to call when event is emitted
1317
+ * @param filter Optional filter for indexed parameters
1318
+ * @returns Unwatch function to stop listening
1319
+ */
1320
+ RevokeMinter: (callback: (event: {
1321
+ minter: `0x${string}`;
1322
+ operator: `0x${string}`;
1323
+ }) => void) => () => void;
1324
+ /**
1325
+ * Watch Transfer events
1326
+ * @param callback Function to call when event is emitted
1327
+ * @param filter Optional filter for indexed parameters
1328
+ * @returns Unwatch function to stop listening
1329
+ */
1330
+ Transfer: (callback: (event: {
1331
+ from: `0x${string}`;
1332
+ to: `0x${string}`;
1333
+ value: bigint;
1334
+ }) => void, filter?: {
1335
+ from: `0x${string}`;
1336
+ to: `0x${string}`;
1337
+ }) => () => void;
1338
+ };
1339
+ }