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