@gitmyabi/emo 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,2486 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ERC721CreatorImplementation_json = exports.ERC721CreatorImplementation_jsonAbi = void 0;
4
+ const viem_1 = require("viem");
5
+ /**
6
+ * ERC721CreatorImplementation_json ABI
7
+ *
8
+ * This ABI is typed using viem's type system for full type safety.
9
+ */
10
+ exports.ERC721CreatorImplementation_jsonAbi = [
11
+ {
12
+ "anonymous": false,
13
+ "inputs": [
14
+ {
15
+ "indexed": true,
16
+ "internalType": "address",
17
+ "name": "account",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "indexed": true,
22
+ "internalType": "address",
23
+ "name": "sender",
24
+ "type": "address"
25
+ }
26
+ ],
27
+ "name": "AdminApproved",
28
+ "type": "event"
29
+ },
30
+ {
31
+ "anonymous": false,
32
+ "inputs": [
33
+ {
34
+ "indexed": true,
35
+ "internalType": "address",
36
+ "name": "account",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "indexed": true,
41
+ "internalType": "address",
42
+ "name": "sender",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "AdminRevoked",
47
+ "type": "event"
48
+ },
49
+ {
50
+ "anonymous": false,
51
+ "inputs": [
52
+ {
53
+ "indexed": true,
54
+ "internalType": "address",
55
+ "name": "owner",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "indexed": true,
60
+ "internalType": "address",
61
+ "name": "approved",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "indexed": true,
66
+ "internalType": "uint256",
67
+ "name": "tokenId",
68
+ "type": "uint256"
69
+ }
70
+ ],
71
+ "name": "Approval",
72
+ "type": "event"
73
+ },
74
+ {
75
+ "anonymous": false,
76
+ "inputs": [
77
+ {
78
+ "indexed": true,
79
+ "internalType": "address",
80
+ "name": "owner",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "indexed": true,
85
+ "internalType": "address",
86
+ "name": "operator",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "indexed": false,
91
+ "internalType": "bool",
92
+ "name": "approved",
93
+ "type": "bool"
94
+ }
95
+ ],
96
+ "name": "ApprovalForAll",
97
+ "type": "event"
98
+ },
99
+ {
100
+ "anonymous": false,
101
+ "inputs": [
102
+ {
103
+ "indexed": false,
104
+ "internalType": "address",
105
+ "name": "extension",
106
+ "type": "address"
107
+ }
108
+ ],
109
+ "name": "ApproveTransferUpdated",
110
+ "type": "event"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": false,
117
+ "internalType": "address payable[]",
118
+ "name": "receivers",
119
+ "type": "address[]"
120
+ },
121
+ {
122
+ "indexed": false,
123
+ "internalType": "uint256[]",
124
+ "name": "basisPoints",
125
+ "type": "uint256[]"
126
+ }
127
+ ],
128
+ "name": "DefaultRoyaltiesUpdated",
129
+ "type": "event"
130
+ },
131
+ {
132
+ "anonymous": false,
133
+ "inputs": [
134
+ {
135
+ "indexed": true,
136
+ "internalType": "address",
137
+ "name": "extension",
138
+ "type": "address"
139
+ },
140
+ {
141
+ "indexed": false,
142
+ "internalType": "bool",
143
+ "name": "enabled",
144
+ "type": "bool"
145
+ }
146
+ ],
147
+ "name": "ExtensionApproveTransferUpdated",
148
+ "type": "event"
149
+ },
150
+ {
151
+ "anonymous": false,
152
+ "inputs": [
153
+ {
154
+ "indexed": true,
155
+ "internalType": "address",
156
+ "name": "extension",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "indexed": true,
161
+ "internalType": "address",
162
+ "name": "sender",
163
+ "type": "address"
164
+ }
165
+ ],
166
+ "name": "ExtensionBlacklisted",
167
+ "type": "event"
168
+ },
169
+ {
170
+ "anonymous": false,
171
+ "inputs": [
172
+ {
173
+ "indexed": true,
174
+ "internalType": "address",
175
+ "name": "extension",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "indexed": true,
180
+ "internalType": "address",
181
+ "name": "sender",
182
+ "type": "address"
183
+ }
184
+ ],
185
+ "name": "ExtensionRegistered",
186
+ "type": "event"
187
+ },
188
+ {
189
+ "anonymous": false,
190
+ "inputs": [
191
+ {
192
+ "indexed": true,
193
+ "internalType": "address",
194
+ "name": "extension",
195
+ "type": "address"
196
+ },
197
+ {
198
+ "indexed": false,
199
+ "internalType": "address payable[]",
200
+ "name": "receivers",
201
+ "type": "address[]"
202
+ },
203
+ {
204
+ "indexed": false,
205
+ "internalType": "uint256[]",
206
+ "name": "basisPoints",
207
+ "type": "uint256[]"
208
+ }
209
+ ],
210
+ "name": "ExtensionRoyaltiesUpdated",
211
+ "type": "event"
212
+ },
213
+ {
214
+ "anonymous": false,
215
+ "inputs": [
216
+ {
217
+ "indexed": true,
218
+ "internalType": "address",
219
+ "name": "extension",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "indexed": true,
224
+ "internalType": "address",
225
+ "name": "sender",
226
+ "type": "address"
227
+ }
228
+ ],
229
+ "name": "ExtensionUnregistered",
230
+ "type": "event"
231
+ },
232
+ {
233
+ "anonymous": false,
234
+ "inputs": [
235
+ {
236
+ "indexed": false,
237
+ "internalType": "uint8",
238
+ "name": "version",
239
+ "type": "uint8"
240
+ }
241
+ ],
242
+ "name": "Initialized",
243
+ "type": "event"
244
+ },
245
+ {
246
+ "anonymous": false,
247
+ "inputs": [
248
+ {
249
+ "indexed": true,
250
+ "internalType": "address",
251
+ "name": "extension",
252
+ "type": "address"
253
+ },
254
+ {
255
+ "indexed": true,
256
+ "internalType": "address",
257
+ "name": "permissions",
258
+ "type": "address"
259
+ },
260
+ {
261
+ "indexed": true,
262
+ "internalType": "address",
263
+ "name": "sender",
264
+ "type": "address"
265
+ }
266
+ ],
267
+ "name": "MintPermissionsUpdated",
268
+ "type": "event"
269
+ },
270
+ {
271
+ "anonymous": false,
272
+ "inputs": [
273
+ {
274
+ "indexed": true,
275
+ "internalType": "address",
276
+ "name": "previousOwner",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "indexed": true,
281
+ "internalType": "address",
282
+ "name": "newOwner",
283
+ "type": "address"
284
+ }
285
+ ],
286
+ "name": "OwnershipTransferred",
287
+ "type": "event"
288
+ },
289
+ {
290
+ "anonymous": false,
291
+ "inputs": [
292
+ {
293
+ "indexed": true,
294
+ "internalType": "uint256",
295
+ "name": "tokenId",
296
+ "type": "uint256"
297
+ },
298
+ {
299
+ "indexed": false,
300
+ "internalType": "address payable[]",
301
+ "name": "receivers",
302
+ "type": "address[]"
303
+ },
304
+ {
305
+ "indexed": false,
306
+ "internalType": "uint256[]",
307
+ "name": "basisPoints",
308
+ "type": "uint256[]"
309
+ }
310
+ ],
311
+ "name": "RoyaltiesUpdated",
312
+ "type": "event"
313
+ },
314
+ {
315
+ "anonymous": false,
316
+ "inputs": [
317
+ {
318
+ "indexed": true,
319
+ "internalType": "address",
320
+ "name": "from",
321
+ "type": "address"
322
+ },
323
+ {
324
+ "indexed": true,
325
+ "internalType": "address",
326
+ "name": "to",
327
+ "type": "address"
328
+ },
329
+ {
330
+ "indexed": true,
331
+ "internalType": "uint256",
332
+ "name": "tokenId",
333
+ "type": "uint256"
334
+ }
335
+ ],
336
+ "name": "Transfer",
337
+ "type": "event"
338
+ },
339
+ {
340
+ "inputs": [],
341
+ "name": "VERSION",
342
+ "outputs": [
343
+ {
344
+ "internalType": "uint256",
345
+ "name": "",
346
+ "type": "uint256"
347
+ }
348
+ ],
349
+ "stateMutability": "view",
350
+ "type": "function"
351
+ },
352
+ {
353
+ "inputs": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "to",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "internalType": "uint256",
361
+ "name": "tokenId",
362
+ "type": "uint256"
363
+ }
364
+ ],
365
+ "name": "approve",
366
+ "outputs": [],
367
+ "stateMutability": "nonpayable",
368
+ "type": "function"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "address",
374
+ "name": "admin",
375
+ "type": "address"
376
+ }
377
+ ],
378
+ "name": "approveAdmin",
379
+ "outputs": [],
380
+ "stateMutability": "nonpayable",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "inputs": [
385
+ {
386
+ "internalType": "address",
387
+ "name": "owner",
388
+ "type": "address"
389
+ }
390
+ ],
391
+ "name": "balanceOf",
392
+ "outputs": [
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "",
396
+ "type": "uint256"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "address",
406
+ "name": "extension",
407
+ "type": "address"
408
+ }
409
+ ],
410
+ "name": "blacklistExtension",
411
+ "outputs": [],
412
+ "stateMutability": "nonpayable",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "uint256",
419
+ "name": "tokenId",
420
+ "type": "uint256"
421
+ }
422
+ ],
423
+ "name": "burn",
424
+ "outputs": [],
425
+ "stateMutability": "nonpayable",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "getAdmins",
431
+ "outputs": [
432
+ {
433
+ "internalType": "address[]",
434
+ "name": "admins",
435
+ "type": "address[]"
436
+ }
437
+ ],
438
+ "stateMutability": "view",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "getApproveTransfer",
444
+ "outputs": [
445
+ {
446
+ "internalType": "address",
447
+ "name": "",
448
+ "type": "address"
449
+ }
450
+ ],
451
+ "stateMutability": "view",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [
456
+ {
457
+ "internalType": "uint256",
458
+ "name": "tokenId",
459
+ "type": "uint256"
460
+ }
461
+ ],
462
+ "name": "getApproved",
463
+ "outputs": [
464
+ {
465
+ "internalType": "address",
466
+ "name": "",
467
+ "type": "address"
468
+ }
469
+ ],
470
+ "stateMutability": "view",
471
+ "type": "function"
472
+ },
473
+ {
474
+ "inputs": [],
475
+ "name": "getExtensions",
476
+ "outputs": [
477
+ {
478
+ "internalType": "address[]",
479
+ "name": "extensions",
480
+ "type": "address[]"
481
+ }
482
+ ],
483
+ "stateMutability": "view",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "inputs": [
488
+ {
489
+ "internalType": "uint256",
490
+ "name": "tokenId",
491
+ "type": "uint256"
492
+ }
493
+ ],
494
+ "name": "getFeeBps",
495
+ "outputs": [
496
+ {
497
+ "internalType": "uint256[]",
498
+ "name": "",
499
+ "type": "uint256[]"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [
507
+ {
508
+ "internalType": "uint256",
509
+ "name": "tokenId",
510
+ "type": "uint256"
511
+ }
512
+ ],
513
+ "name": "getFeeRecipients",
514
+ "outputs": [
515
+ {
516
+ "internalType": "address payable[]",
517
+ "name": "",
518
+ "type": "address[]"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
526
+ {
527
+ "internalType": "uint256",
528
+ "name": "tokenId",
529
+ "type": "uint256"
530
+ }
531
+ ],
532
+ "name": "getFees",
533
+ "outputs": [
534
+ {
535
+ "internalType": "address payable[]",
536
+ "name": "",
537
+ "type": "address[]"
538
+ },
539
+ {
540
+ "internalType": "uint256[]",
541
+ "name": "",
542
+ "type": "uint256[]"
543
+ }
544
+ ],
545
+ "stateMutability": "view",
546
+ "type": "function"
547
+ },
548
+ {
549
+ "inputs": [
550
+ {
551
+ "internalType": "uint256",
552
+ "name": "tokenId",
553
+ "type": "uint256"
554
+ }
555
+ ],
556
+ "name": "getRoyalties",
557
+ "outputs": [
558
+ {
559
+ "internalType": "address payable[]",
560
+ "name": "",
561
+ "type": "address[]"
562
+ },
563
+ {
564
+ "internalType": "uint256[]",
565
+ "name": "",
566
+ "type": "uint256[]"
567
+ }
568
+ ],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [
574
+ {
575
+ "internalType": "string",
576
+ "name": "_name",
577
+ "type": "string"
578
+ },
579
+ {
580
+ "internalType": "string",
581
+ "name": "_symbol",
582
+ "type": "string"
583
+ }
584
+ ],
585
+ "name": "initialize",
586
+ "outputs": [],
587
+ "stateMutability": "nonpayable",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [
592
+ {
593
+ "internalType": "address",
594
+ "name": "admin",
595
+ "type": "address"
596
+ }
597
+ ],
598
+ "name": "isAdmin",
599
+ "outputs": [
600
+ {
601
+ "internalType": "bool",
602
+ "name": "",
603
+ "type": "bool"
604
+ }
605
+ ],
606
+ "stateMutability": "view",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "address",
613
+ "name": "owner",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "internalType": "address",
618
+ "name": "operator",
619
+ "type": "address"
620
+ }
621
+ ],
622
+ "name": "isApprovedForAll",
623
+ "outputs": [
624
+ {
625
+ "internalType": "bool",
626
+ "name": "",
627
+ "type": "bool"
628
+ }
629
+ ],
630
+ "stateMutability": "view",
631
+ "type": "function"
632
+ },
633
+ {
634
+ "inputs": [
635
+ {
636
+ "internalType": "address",
637
+ "name": "to",
638
+ "type": "address"
639
+ }
640
+ ],
641
+ "name": "mintBase",
642
+ "outputs": [
643
+ {
644
+ "internalType": "uint256",
645
+ "name": "",
646
+ "type": "uint256"
647
+ }
648
+ ],
649
+ "stateMutability": "nonpayable",
650
+ "type": "function"
651
+ },
652
+ {
653
+ "inputs": [
654
+ {
655
+ "internalType": "address",
656
+ "name": "to",
657
+ "type": "address"
658
+ },
659
+ {
660
+ "internalType": "string",
661
+ "name": "uri",
662
+ "type": "string"
663
+ }
664
+ ],
665
+ "name": "mintBase",
666
+ "outputs": [
667
+ {
668
+ "internalType": "uint256",
669
+ "name": "",
670
+ "type": "uint256"
671
+ }
672
+ ],
673
+ "stateMutability": "nonpayable",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [
678
+ {
679
+ "internalType": "address",
680
+ "name": "to",
681
+ "type": "address"
682
+ },
683
+ {
684
+ "internalType": "string[]",
685
+ "name": "uris",
686
+ "type": "string[]"
687
+ }
688
+ ],
689
+ "name": "mintBaseBatch",
690
+ "outputs": [
691
+ {
692
+ "internalType": "uint256[]",
693
+ "name": "tokenIds",
694
+ "type": "uint256[]"
695
+ }
696
+ ],
697
+ "stateMutability": "nonpayable",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [
702
+ {
703
+ "internalType": "address",
704
+ "name": "to",
705
+ "type": "address"
706
+ },
707
+ {
708
+ "internalType": "uint16",
709
+ "name": "count",
710
+ "type": "uint16"
711
+ }
712
+ ],
713
+ "name": "mintBaseBatch",
714
+ "outputs": [
715
+ {
716
+ "internalType": "uint256[]",
717
+ "name": "tokenIds",
718
+ "type": "uint256[]"
719
+ }
720
+ ],
721
+ "stateMutability": "nonpayable",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [
726
+ {
727
+ "internalType": "address",
728
+ "name": "to",
729
+ "type": "address"
730
+ }
731
+ ],
732
+ "name": "mintExtension",
733
+ "outputs": [
734
+ {
735
+ "internalType": "uint256",
736
+ "name": "",
737
+ "type": "uint256"
738
+ }
739
+ ],
740
+ "stateMutability": "nonpayable",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [
745
+ {
746
+ "internalType": "address",
747
+ "name": "to",
748
+ "type": "address"
749
+ },
750
+ {
751
+ "internalType": "uint80",
752
+ "name": "data",
753
+ "type": "uint80"
754
+ }
755
+ ],
756
+ "name": "mintExtension",
757
+ "outputs": [
758
+ {
759
+ "internalType": "uint256",
760
+ "name": "",
761
+ "type": "uint256"
762
+ }
763
+ ],
764
+ "stateMutability": "nonpayable",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [
769
+ {
770
+ "internalType": "address",
771
+ "name": "to",
772
+ "type": "address"
773
+ },
774
+ {
775
+ "internalType": "string",
776
+ "name": "uri",
777
+ "type": "string"
778
+ }
779
+ ],
780
+ "name": "mintExtension",
781
+ "outputs": [
782
+ {
783
+ "internalType": "uint256",
784
+ "name": "",
785
+ "type": "uint256"
786
+ }
787
+ ],
788
+ "stateMutability": "nonpayable",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
793
+ {
794
+ "internalType": "address",
795
+ "name": "to",
796
+ "type": "address"
797
+ },
798
+ {
799
+ "internalType": "string[]",
800
+ "name": "uris",
801
+ "type": "string[]"
802
+ }
803
+ ],
804
+ "name": "mintExtensionBatch",
805
+ "outputs": [
806
+ {
807
+ "internalType": "uint256[]",
808
+ "name": "tokenIds",
809
+ "type": "uint256[]"
810
+ }
811
+ ],
812
+ "stateMutability": "nonpayable",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [
817
+ {
818
+ "internalType": "address",
819
+ "name": "to",
820
+ "type": "address"
821
+ },
822
+ {
823
+ "internalType": "uint80[]",
824
+ "name": "data",
825
+ "type": "uint80[]"
826
+ }
827
+ ],
828
+ "name": "mintExtensionBatch",
829
+ "outputs": [
830
+ {
831
+ "internalType": "uint256[]",
832
+ "name": "tokenIds",
833
+ "type": "uint256[]"
834
+ }
835
+ ],
836
+ "stateMutability": "nonpayable",
837
+ "type": "function"
838
+ },
839
+ {
840
+ "inputs": [
841
+ {
842
+ "internalType": "address",
843
+ "name": "to",
844
+ "type": "address"
845
+ },
846
+ {
847
+ "internalType": "uint16",
848
+ "name": "count",
849
+ "type": "uint16"
850
+ }
851
+ ],
852
+ "name": "mintExtensionBatch",
853
+ "outputs": [
854
+ {
855
+ "internalType": "uint256[]",
856
+ "name": "tokenIds",
857
+ "type": "uint256[]"
858
+ }
859
+ ],
860
+ "stateMutability": "nonpayable",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "name",
866
+ "outputs": [
867
+ {
868
+ "internalType": "string",
869
+ "name": "",
870
+ "type": "string"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "owner",
879
+ "outputs": [
880
+ {
881
+ "internalType": "address",
882
+ "name": "",
883
+ "type": "address"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [
891
+ {
892
+ "internalType": "uint256",
893
+ "name": "tokenId",
894
+ "type": "uint256"
895
+ }
896
+ ],
897
+ "name": "ownerOf",
898
+ "outputs": [
899
+ {
900
+ "internalType": "address",
901
+ "name": "",
902
+ "type": "address"
903
+ }
904
+ ],
905
+ "stateMutability": "view",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [
910
+ {
911
+ "internalType": "address",
912
+ "name": "extension",
913
+ "type": "address"
914
+ },
915
+ {
916
+ "internalType": "string",
917
+ "name": "baseURI",
918
+ "type": "string"
919
+ }
920
+ ],
921
+ "name": "registerExtension",
922
+ "outputs": [],
923
+ "stateMutability": "nonpayable",
924
+ "type": "function"
925
+ },
926
+ {
927
+ "inputs": [
928
+ {
929
+ "internalType": "address",
930
+ "name": "extension",
931
+ "type": "address"
932
+ },
933
+ {
934
+ "internalType": "string",
935
+ "name": "baseURI",
936
+ "type": "string"
937
+ },
938
+ {
939
+ "internalType": "bool",
940
+ "name": "baseURIIdentical",
941
+ "type": "bool"
942
+ }
943
+ ],
944
+ "name": "registerExtension",
945
+ "outputs": [],
946
+ "stateMutability": "nonpayable",
947
+ "type": "function"
948
+ },
949
+ {
950
+ "inputs": [],
951
+ "name": "renounceOwnership",
952
+ "outputs": [],
953
+ "stateMutability": "nonpayable",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [
958
+ {
959
+ "internalType": "address",
960
+ "name": "admin",
961
+ "type": "address"
962
+ }
963
+ ],
964
+ "name": "revokeAdmin",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
971
+ {
972
+ "internalType": "uint256",
973
+ "name": "tokenId",
974
+ "type": "uint256"
975
+ },
976
+ {
977
+ "internalType": "uint256",
978
+ "name": "value",
979
+ "type": "uint256"
980
+ }
981
+ ],
982
+ "name": "royaltyInfo",
983
+ "outputs": [
984
+ {
985
+ "internalType": "address",
986
+ "name": "",
987
+ "type": "address"
988
+ },
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "",
992
+ "type": "uint256"
993
+ }
994
+ ],
995
+ "stateMutability": "view",
996
+ "type": "function"
997
+ },
998
+ {
999
+ "inputs": [
1000
+ {
1001
+ "internalType": "address",
1002
+ "name": "from",
1003
+ "type": "address"
1004
+ },
1005
+ {
1006
+ "internalType": "address",
1007
+ "name": "to",
1008
+ "type": "address"
1009
+ },
1010
+ {
1011
+ "internalType": "uint256",
1012
+ "name": "tokenId",
1013
+ "type": "uint256"
1014
+ }
1015
+ ],
1016
+ "name": "safeTransferFrom",
1017
+ "outputs": [],
1018
+ "stateMutability": "nonpayable",
1019
+ "type": "function"
1020
+ },
1021
+ {
1022
+ "inputs": [
1023
+ {
1024
+ "internalType": "address",
1025
+ "name": "from",
1026
+ "type": "address"
1027
+ },
1028
+ {
1029
+ "internalType": "address",
1030
+ "name": "to",
1031
+ "type": "address"
1032
+ },
1033
+ {
1034
+ "internalType": "uint256",
1035
+ "name": "tokenId",
1036
+ "type": "uint256"
1037
+ },
1038
+ {
1039
+ "internalType": "bytes",
1040
+ "name": "data",
1041
+ "type": "bytes"
1042
+ }
1043
+ ],
1044
+ "name": "safeTransferFrom",
1045
+ "outputs": [],
1046
+ "stateMutability": "nonpayable",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "address",
1053
+ "name": "operator",
1054
+ "type": "address"
1055
+ },
1056
+ {
1057
+ "internalType": "bool",
1058
+ "name": "approved",
1059
+ "type": "bool"
1060
+ }
1061
+ ],
1062
+ "name": "setApprovalForAll",
1063
+ "outputs": [],
1064
+ "stateMutability": "nonpayable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "inputs": [
1069
+ {
1070
+ "internalType": "address",
1071
+ "name": "extension",
1072
+ "type": "address"
1073
+ }
1074
+ ],
1075
+ "name": "setApproveTransfer",
1076
+ "outputs": [],
1077
+ "stateMutability": "nonpayable",
1078
+ "type": "function"
1079
+ },
1080
+ {
1081
+ "inputs": [
1082
+ {
1083
+ "internalType": "bool",
1084
+ "name": "enabled",
1085
+ "type": "bool"
1086
+ }
1087
+ ],
1088
+ "name": "setApproveTransferExtension",
1089
+ "outputs": [],
1090
+ "stateMutability": "nonpayable",
1091
+ "type": "function"
1092
+ },
1093
+ {
1094
+ "inputs": [
1095
+ {
1096
+ "internalType": "string",
1097
+ "name": "uri",
1098
+ "type": "string"
1099
+ }
1100
+ ],
1101
+ "name": "setBaseTokenURI",
1102
+ "outputs": [],
1103
+ "stateMutability": "nonpayable",
1104
+ "type": "function"
1105
+ },
1106
+ {
1107
+ "inputs": [
1108
+ {
1109
+ "internalType": "string",
1110
+ "name": "uri",
1111
+ "type": "string"
1112
+ }
1113
+ ],
1114
+ "name": "setBaseTokenURIExtension",
1115
+ "outputs": [],
1116
+ "stateMutability": "nonpayable",
1117
+ "type": "function"
1118
+ },
1119
+ {
1120
+ "inputs": [
1121
+ {
1122
+ "internalType": "string",
1123
+ "name": "uri",
1124
+ "type": "string"
1125
+ },
1126
+ {
1127
+ "internalType": "bool",
1128
+ "name": "identical",
1129
+ "type": "bool"
1130
+ }
1131
+ ],
1132
+ "name": "setBaseTokenURIExtension",
1133
+ "outputs": [],
1134
+ "stateMutability": "nonpayable",
1135
+ "type": "function"
1136
+ },
1137
+ {
1138
+ "inputs": [
1139
+ {
1140
+ "internalType": "address",
1141
+ "name": "extension",
1142
+ "type": "address"
1143
+ },
1144
+ {
1145
+ "internalType": "address",
1146
+ "name": "permissions",
1147
+ "type": "address"
1148
+ }
1149
+ ],
1150
+ "name": "setMintPermissions",
1151
+ "outputs": [],
1152
+ "stateMutability": "nonpayable",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "inputs": [
1157
+ {
1158
+ "internalType": "uint256",
1159
+ "name": "tokenId",
1160
+ "type": "uint256"
1161
+ },
1162
+ {
1163
+ "internalType": "address payable[]",
1164
+ "name": "receivers",
1165
+ "type": "address[]"
1166
+ },
1167
+ {
1168
+ "internalType": "uint256[]",
1169
+ "name": "basisPoints",
1170
+ "type": "uint256[]"
1171
+ }
1172
+ ],
1173
+ "name": "setRoyalties",
1174
+ "outputs": [],
1175
+ "stateMutability": "nonpayable",
1176
+ "type": "function"
1177
+ },
1178
+ {
1179
+ "inputs": [
1180
+ {
1181
+ "internalType": "address payable[]",
1182
+ "name": "receivers",
1183
+ "type": "address[]"
1184
+ },
1185
+ {
1186
+ "internalType": "uint256[]",
1187
+ "name": "basisPoints",
1188
+ "type": "uint256[]"
1189
+ }
1190
+ ],
1191
+ "name": "setRoyalties",
1192
+ "outputs": [],
1193
+ "stateMutability": "nonpayable",
1194
+ "type": "function"
1195
+ },
1196
+ {
1197
+ "inputs": [
1198
+ {
1199
+ "internalType": "address",
1200
+ "name": "extension",
1201
+ "type": "address"
1202
+ },
1203
+ {
1204
+ "internalType": "address payable[]",
1205
+ "name": "receivers",
1206
+ "type": "address[]"
1207
+ },
1208
+ {
1209
+ "internalType": "uint256[]",
1210
+ "name": "basisPoints",
1211
+ "type": "uint256[]"
1212
+ }
1213
+ ],
1214
+ "name": "setRoyaltiesExtension",
1215
+ "outputs": [],
1216
+ "stateMutability": "nonpayable",
1217
+ "type": "function"
1218
+ },
1219
+ {
1220
+ "inputs": [
1221
+ {
1222
+ "internalType": "uint256",
1223
+ "name": "tokenId",
1224
+ "type": "uint256"
1225
+ },
1226
+ {
1227
+ "internalType": "string",
1228
+ "name": "uri",
1229
+ "type": "string"
1230
+ }
1231
+ ],
1232
+ "name": "setTokenURI",
1233
+ "outputs": [],
1234
+ "stateMutability": "nonpayable",
1235
+ "type": "function"
1236
+ },
1237
+ {
1238
+ "inputs": [
1239
+ {
1240
+ "internalType": "uint256[]",
1241
+ "name": "tokenIds",
1242
+ "type": "uint256[]"
1243
+ },
1244
+ {
1245
+ "internalType": "string[]",
1246
+ "name": "uris",
1247
+ "type": "string[]"
1248
+ }
1249
+ ],
1250
+ "name": "setTokenURI",
1251
+ "outputs": [],
1252
+ "stateMutability": "nonpayable",
1253
+ "type": "function"
1254
+ },
1255
+ {
1256
+ "inputs": [
1257
+ {
1258
+ "internalType": "uint256[]",
1259
+ "name": "tokenIds",
1260
+ "type": "uint256[]"
1261
+ },
1262
+ {
1263
+ "internalType": "string[]",
1264
+ "name": "uris",
1265
+ "type": "string[]"
1266
+ }
1267
+ ],
1268
+ "name": "setTokenURIExtension",
1269
+ "outputs": [],
1270
+ "stateMutability": "nonpayable",
1271
+ "type": "function"
1272
+ },
1273
+ {
1274
+ "inputs": [
1275
+ {
1276
+ "internalType": "uint256",
1277
+ "name": "tokenId",
1278
+ "type": "uint256"
1279
+ },
1280
+ {
1281
+ "internalType": "string",
1282
+ "name": "uri",
1283
+ "type": "string"
1284
+ }
1285
+ ],
1286
+ "name": "setTokenURIExtension",
1287
+ "outputs": [],
1288
+ "stateMutability": "nonpayable",
1289
+ "type": "function"
1290
+ },
1291
+ {
1292
+ "inputs": [
1293
+ {
1294
+ "internalType": "string",
1295
+ "name": "prefix",
1296
+ "type": "string"
1297
+ }
1298
+ ],
1299
+ "name": "setTokenURIPrefix",
1300
+ "outputs": [],
1301
+ "stateMutability": "nonpayable",
1302
+ "type": "function"
1303
+ },
1304
+ {
1305
+ "inputs": [
1306
+ {
1307
+ "internalType": "string",
1308
+ "name": "prefix",
1309
+ "type": "string"
1310
+ }
1311
+ ],
1312
+ "name": "setTokenURIPrefixExtension",
1313
+ "outputs": [],
1314
+ "stateMutability": "nonpayable",
1315
+ "type": "function"
1316
+ },
1317
+ {
1318
+ "inputs": [
1319
+ {
1320
+ "internalType": "bytes4",
1321
+ "name": "interfaceId",
1322
+ "type": "bytes4"
1323
+ }
1324
+ ],
1325
+ "name": "supportsInterface",
1326
+ "outputs": [
1327
+ {
1328
+ "internalType": "bool",
1329
+ "name": "",
1330
+ "type": "bool"
1331
+ }
1332
+ ],
1333
+ "stateMutability": "view",
1334
+ "type": "function"
1335
+ },
1336
+ {
1337
+ "inputs": [],
1338
+ "name": "symbol",
1339
+ "outputs": [
1340
+ {
1341
+ "internalType": "string",
1342
+ "name": "",
1343
+ "type": "string"
1344
+ }
1345
+ ],
1346
+ "stateMutability": "view",
1347
+ "type": "function"
1348
+ },
1349
+ {
1350
+ "inputs": [
1351
+ {
1352
+ "internalType": "uint256",
1353
+ "name": "tokenId",
1354
+ "type": "uint256"
1355
+ }
1356
+ ],
1357
+ "name": "tokenData",
1358
+ "outputs": [
1359
+ {
1360
+ "internalType": "uint80",
1361
+ "name": "",
1362
+ "type": "uint80"
1363
+ }
1364
+ ],
1365
+ "stateMutability": "view",
1366
+ "type": "function"
1367
+ },
1368
+ {
1369
+ "inputs": [
1370
+ {
1371
+ "internalType": "uint256",
1372
+ "name": "tokenId",
1373
+ "type": "uint256"
1374
+ }
1375
+ ],
1376
+ "name": "tokenExtension",
1377
+ "outputs": [
1378
+ {
1379
+ "internalType": "address",
1380
+ "name": "extension",
1381
+ "type": "address"
1382
+ }
1383
+ ],
1384
+ "stateMutability": "view",
1385
+ "type": "function"
1386
+ },
1387
+ {
1388
+ "inputs": [
1389
+ {
1390
+ "internalType": "uint256",
1391
+ "name": "tokenId",
1392
+ "type": "uint256"
1393
+ }
1394
+ ],
1395
+ "name": "tokenURI",
1396
+ "outputs": [
1397
+ {
1398
+ "internalType": "string",
1399
+ "name": "",
1400
+ "type": "string"
1401
+ }
1402
+ ],
1403
+ "stateMutability": "view",
1404
+ "type": "function"
1405
+ },
1406
+ {
1407
+ "inputs": [
1408
+ {
1409
+ "internalType": "address",
1410
+ "name": "from",
1411
+ "type": "address"
1412
+ },
1413
+ {
1414
+ "internalType": "address",
1415
+ "name": "to",
1416
+ "type": "address"
1417
+ },
1418
+ {
1419
+ "internalType": "uint256",
1420
+ "name": "tokenId",
1421
+ "type": "uint256"
1422
+ }
1423
+ ],
1424
+ "name": "transferFrom",
1425
+ "outputs": [],
1426
+ "stateMutability": "nonpayable",
1427
+ "type": "function"
1428
+ },
1429
+ {
1430
+ "inputs": [
1431
+ {
1432
+ "internalType": "address",
1433
+ "name": "newOwner",
1434
+ "type": "address"
1435
+ }
1436
+ ],
1437
+ "name": "transferOwnership",
1438
+ "outputs": [],
1439
+ "stateMutability": "nonpayable",
1440
+ "type": "function"
1441
+ },
1442
+ {
1443
+ "inputs": [
1444
+ {
1445
+ "internalType": "address",
1446
+ "name": "extension",
1447
+ "type": "address"
1448
+ }
1449
+ ],
1450
+ "name": "unregisterExtension",
1451
+ "outputs": [],
1452
+ "stateMutability": "nonpayable",
1453
+ "type": "function"
1454
+ }
1455
+ ];
1456
+ /**
1457
+ * ERC721CreatorImplementation_json Contract Class
1458
+ *
1459
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
1460
+ *
1461
+ * @example
1462
+ * ```typescript
1463
+ * import { createPublicClient, createWalletClient, http } from 'viem';
1464
+ * import { mainnet } from 'viem/chains';
1465
+ * import { ERC721CreatorImplementation_json } from 'ERC721CreatorImplementation_json';
1466
+ *
1467
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1468
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1469
+ *
1470
+ * const contract = new ERC721CreatorImplementation_json('0x...', { publicClient, walletClient });
1471
+ *
1472
+ * // Read functions
1473
+ * const result = await contract.balanceOf('0x...');
1474
+ *
1475
+ * // Write functions
1476
+ * const hash = await contract.transfer('0x...', 1000n);
1477
+ *
1478
+ * // Simulate transactions (dry-run)
1479
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
1480
+ * console.log('Gas estimate:', simulation.request.gas);
1481
+ *
1482
+ * // Watch events
1483
+ * const unwatch = contract.watch.Transfer((event) => {
1484
+ * console.log('Transfer event:', event);
1485
+ * });
1486
+ * ```
1487
+ */
1488
+ class ERC721CreatorImplementation_json {
1489
+ constructor(address, clients) {
1490
+ this.contractAddress = address;
1491
+ this.publicClient = clients.publicClient;
1492
+ this.contract = (0, viem_1.getContract)({
1493
+ address,
1494
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
1495
+ client: {
1496
+ public: clients.publicClient,
1497
+ wallet: clients.walletClient,
1498
+ },
1499
+ });
1500
+ }
1501
+ /**
1502
+ * Get the contract address
1503
+ */
1504
+ get address() {
1505
+ return this.contractAddress;
1506
+ }
1507
+ /**
1508
+ * Get the underlying viem contract instance
1509
+ */
1510
+ getContract() {
1511
+ return this.contract;
1512
+ }
1513
+ /**
1514
+ * VERSION
1515
+ * view
1516
+ */
1517
+ async VERSION() {
1518
+ return this.contract.read.VERSION();
1519
+ }
1520
+ /**
1521
+ * balanceOf
1522
+ * view
1523
+ */
1524
+ async balanceOf(owner) {
1525
+ return this.contract.read.balanceOf([owner]);
1526
+ }
1527
+ /**
1528
+ * getAdmins
1529
+ * view
1530
+ */
1531
+ async getAdmins() {
1532
+ return this.contract.read.getAdmins();
1533
+ }
1534
+ /**
1535
+ * getApproveTransfer
1536
+ * view
1537
+ */
1538
+ async getApproveTransfer() {
1539
+ return this.contract.read.getApproveTransfer();
1540
+ }
1541
+ /**
1542
+ * getApproved
1543
+ * view
1544
+ */
1545
+ async getApproved(tokenId) {
1546
+ return this.contract.read.getApproved([tokenId]);
1547
+ }
1548
+ /**
1549
+ * getExtensions
1550
+ * view
1551
+ */
1552
+ async getExtensions() {
1553
+ return this.contract.read.getExtensions();
1554
+ }
1555
+ /**
1556
+ * getFeeBps
1557
+ * view
1558
+ */
1559
+ async getFeeBps(tokenId) {
1560
+ return this.contract.read.getFeeBps([tokenId]);
1561
+ }
1562
+ /**
1563
+ * getFeeRecipients
1564
+ * view
1565
+ */
1566
+ async getFeeRecipients(tokenId) {
1567
+ return this.contract.read.getFeeRecipients([tokenId]);
1568
+ }
1569
+ /**
1570
+ * getFees
1571
+ * view
1572
+ */
1573
+ async getFees(tokenId) {
1574
+ return this.contract.read.getFees([tokenId]);
1575
+ }
1576
+ /**
1577
+ * getRoyalties
1578
+ * view
1579
+ */
1580
+ async getRoyalties(tokenId) {
1581
+ return this.contract.read.getRoyalties([tokenId]);
1582
+ }
1583
+ /**
1584
+ * isAdmin
1585
+ * view
1586
+ */
1587
+ async isAdmin(admin) {
1588
+ return this.contract.read.isAdmin([admin]);
1589
+ }
1590
+ /**
1591
+ * isApprovedForAll
1592
+ * view
1593
+ */
1594
+ async isApprovedForAll(owner, operator) {
1595
+ return this.contract.read.isApprovedForAll([owner, operator]);
1596
+ }
1597
+ /**
1598
+ * name
1599
+ * view
1600
+ */
1601
+ async name() {
1602
+ return this.contract.read.name();
1603
+ }
1604
+ /**
1605
+ * owner
1606
+ * view
1607
+ */
1608
+ async owner() {
1609
+ return this.contract.read.owner();
1610
+ }
1611
+ /**
1612
+ * ownerOf
1613
+ * view
1614
+ */
1615
+ async ownerOf(tokenId) {
1616
+ return this.contract.read.ownerOf([tokenId]);
1617
+ }
1618
+ /**
1619
+ * royaltyInfo
1620
+ * view
1621
+ */
1622
+ async royaltyInfo(tokenId, value) {
1623
+ return this.contract.read.royaltyInfo([tokenId, value]);
1624
+ }
1625
+ /**
1626
+ * supportsInterface
1627
+ * view
1628
+ */
1629
+ async supportsInterface(interfaceId) {
1630
+ return this.contract.read.supportsInterface([interfaceId]);
1631
+ }
1632
+ /**
1633
+ * symbol
1634
+ * view
1635
+ */
1636
+ async symbol() {
1637
+ return this.contract.read.symbol();
1638
+ }
1639
+ /**
1640
+ * tokenData
1641
+ * view
1642
+ */
1643
+ async tokenData(tokenId) {
1644
+ return this.contract.read.tokenData([tokenId]);
1645
+ }
1646
+ /**
1647
+ * tokenExtension
1648
+ * view
1649
+ */
1650
+ async tokenExtension(tokenId) {
1651
+ return this.contract.read.tokenExtension([tokenId]);
1652
+ }
1653
+ /**
1654
+ * tokenURI
1655
+ * view
1656
+ */
1657
+ async tokenURI(tokenId) {
1658
+ return this.contract.read.tokenURI([tokenId]);
1659
+ }
1660
+ /**
1661
+ * approve
1662
+ * nonpayable
1663
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1664
+ */
1665
+ async approve(to, tokenId, options) {
1666
+ if (!this.contract.write) {
1667
+ throw new Error('Wallet client is required for write operations');
1668
+ }
1669
+ return this.contract.write.approve([to, tokenId], options);
1670
+ }
1671
+ /**
1672
+ * approveAdmin
1673
+ * nonpayable
1674
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1675
+ */
1676
+ async approveAdmin(admin, options) {
1677
+ if (!this.contract.write) {
1678
+ throw new Error('Wallet client is required for write operations');
1679
+ }
1680
+ return this.contract.write.approveAdmin([admin], options);
1681
+ }
1682
+ /**
1683
+ * blacklistExtension
1684
+ * nonpayable
1685
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1686
+ */
1687
+ async blacklistExtension(extension, options) {
1688
+ if (!this.contract.write) {
1689
+ throw new Error('Wallet client is required for write operations');
1690
+ }
1691
+ return this.contract.write.blacklistExtension([extension], options);
1692
+ }
1693
+ /**
1694
+ * burn
1695
+ * nonpayable
1696
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1697
+ */
1698
+ async burn(tokenId, options) {
1699
+ if (!this.contract.write) {
1700
+ throw new Error('Wallet client is required for write operations');
1701
+ }
1702
+ return this.contract.write.burn([tokenId], options);
1703
+ }
1704
+ /**
1705
+ * initialize
1706
+ * nonpayable
1707
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1708
+ */
1709
+ async initialize(_name, _symbol, options) {
1710
+ if (!this.contract.write) {
1711
+ throw new Error('Wallet client is required for write operations');
1712
+ }
1713
+ return this.contract.write.initialize([_name, _symbol], options);
1714
+ }
1715
+ async mintBase(...args) {
1716
+ if (!this.contract.write) {
1717
+ throw new Error('Wallet client is required for write operations');
1718
+ }
1719
+ return this.contract.write.mintBase(args);
1720
+ }
1721
+ async mintBaseBatch(...args) {
1722
+ if (!this.contract.write) {
1723
+ throw new Error('Wallet client is required for write operations');
1724
+ }
1725
+ return this.contract.write.mintBaseBatch(args);
1726
+ }
1727
+ async mintExtension(...args) {
1728
+ if (!this.contract.write) {
1729
+ throw new Error('Wallet client is required for write operations');
1730
+ }
1731
+ return this.contract.write.mintExtension(args);
1732
+ }
1733
+ async mintExtensionBatch(...args) {
1734
+ if (!this.contract.write) {
1735
+ throw new Error('Wallet client is required for write operations');
1736
+ }
1737
+ return this.contract.write.mintExtensionBatch(args);
1738
+ }
1739
+ async registerExtension(...args) {
1740
+ if (!this.contract.write) {
1741
+ throw new Error('Wallet client is required for write operations');
1742
+ }
1743
+ return this.contract.write.registerExtension(args);
1744
+ }
1745
+ /**
1746
+ * renounceOwnership
1747
+ * nonpayable
1748
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1749
+ */
1750
+ async renounceOwnership(options) {
1751
+ if (!this.contract.write) {
1752
+ throw new Error('Wallet client is required for write operations');
1753
+ }
1754
+ return this.contract.write.renounceOwnership(options);
1755
+ }
1756
+ /**
1757
+ * revokeAdmin
1758
+ * nonpayable
1759
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1760
+ */
1761
+ async revokeAdmin(admin, options) {
1762
+ if (!this.contract.write) {
1763
+ throw new Error('Wallet client is required for write operations');
1764
+ }
1765
+ return this.contract.write.revokeAdmin([admin], options);
1766
+ }
1767
+ async safeTransferFrom(...args) {
1768
+ if (!this.contract.write) {
1769
+ throw new Error('Wallet client is required for write operations');
1770
+ }
1771
+ return this.contract.write.safeTransferFrom(args);
1772
+ }
1773
+ /**
1774
+ * setApprovalForAll
1775
+ * nonpayable
1776
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1777
+ */
1778
+ async setApprovalForAll(operator, approved, options) {
1779
+ if (!this.contract.write) {
1780
+ throw new Error('Wallet client is required for write operations');
1781
+ }
1782
+ return this.contract.write.setApprovalForAll([operator, approved], options);
1783
+ }
1784
+ /**
1785
+ * setApproveTransfer
1786
+ * nonpayable
1787
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1788
+ */
1789
+ async setApproveTransfer(extension, options) {
1790
+ if (!this.contract.write) {
1791
+ throw new Error('Wallet client is required for write operations');
1792
+ }
1793
+ return this.contract.write.setApproveTransfer([extension], options);
1794
+ }
1795
+ /**
1796
+ * setApproveTransferExtension
1797
+ * nonpayable
1798
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1799
+ */
1800
+ async setApproveTransferExtension(enabled, options) {
1801
+ if (!this.contract.write) {
1802
+ throw new Error('Wallet client is required for write operations');
1803
+ }
1804
+ return this.contract.write.setApproveTransferExtension([enabled], options);
1805
+ }
1806
+ /**
1807
+ * setBaseTokenURI
1808
+ * nonpayable
1809
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1810
+ */
1811
+ async setBaseTokenURI(uri, options) {
1812
+ if (!this.contract.write) {
1813
+ throw new Error('Wallet client is required for write operations');
1814
+ }
1815
+ return this.contract.write.setBaseTokenURI([uri], options);
1816
+ }
1817
+ async setBaseTokenURIExtension(...args) {
1818
+ if (!this.contract.write) {
1819
+ throw new Error('Wallet client is required for write operations');
1820
+ }
1821
+ return this.contract.write.setBaseTokenURIExtension(args);
1822
+ }
1823
+ /**
1824
+ * setMintPermissions
1825
+ * nonpayable
1826
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1827
+ */
1828
+ async setMintPermissions(extension, permissions, options) {
1829
+ if (!this.contract.write) {
1830
+ throw new Error('Wallet client is required for write operations');
1831
+ }
1832
+ return this.contract.write.setMintPermissions([extension, permissions], options);
1833
+ }
1834
+ async setRoyalties(...args) {
1835
+ if (!this.contract.write) {
1836
+ throw new Error('Wallet client is required for write operations');
1837
+ }
1838
+ return this.contract.write.setRoyalties(args);
1839
+ }
1840
+ /**
1841
+ * setRoyaltiesExtension
1842
+ * nonpayable
1843
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1844
+ */
1845
+ async setRoyaltiesExtension(extension, receivers, basisPoints, options) {
1846
+ if (!this.contract.write) {
1847
+ throw new Error('Wallet client is required for write operations');
1848
+ }
1849
+ return this.contract.write.setRoyaltiesExtension([extension, receivers, basisPoints], options);
1850
+ }
1851
+ async setTokenURI(...args) {
1852
+ if (!this.contract.write) {
1853
+ throw new Error('Wallet client is required for write operations');
1854
+ }
1855
+ return this.contract.write.setTokenURI(args);
1856
+ }
1857
+ async setTokenURIExtension(...args) {
1858
+ if (!this.contract.write) {
1859
+ throw new Error('Wallet client is required for write operations');
1860
+ }
1861
+ return this.contract.write.setTokenURIExtension(args);
1862
+ }
1863
+ /**
1864
+ * setTokenURIPrefix
1865
+ * nonpayable
1866
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1867
+ */
1868
+ async setTokenURIPrefix(prefix, options) {
1869
+ if (!this.contract.write) {
1870
+ throw new Error('Wallet client is required for write operations');
1871
+ }
1872
+ return this.contract.write.setTokenURIPrefix([prefix], options);
1873
+ }
1874
+ /**
1875
+ * setTokenURIPrefixExtension
1876
+ * nonpayable
1877
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1878
+ */
1879
+ async setTokenURIPrefixExtension(prefix, options) {
1880
+ if (!this.contract.write) {
1881
+ throw new Error('Wallet client is required for write operations');
1882
+ }
1883
+ return this.contract.write.setTokenURIPrefixExtension([prefix], options);
1884
+ }
1885
+ /**
1886
+ * transferFrom
1887
+ * nonpayable
1888
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1889
+ */
1890
+ async transferFrom(from, to, tokenId, options) {
1891
+ if (!this.contract.write) {
1892
+ throw new Error('Wallet client is required for write operations');
1893
+ }
1894
+ return this.contract.write.transferFrom([from, to, tokenId], options);
1895
+ }
1896
+ /**
1897
+ * transferOwnership
1898
+ * nonpayable
1899
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1900
+ */
1901
+ async transferOwnership(newOwner, options) {
1902
+ if (!this.contract.write) {
1903
+ throw new Error('Wallet client is required for write operations');
1904
+ }
1905
+ return this.contract.write.transferOwnership([newOwner], options);
1906
+ }
1907
+ /**
1908
+ * unregisterExtension
1909
+ * nonpayable
1910
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1911
+ */
1912
+ async unregisterExtension(extension, options) {
1913
+ if (!this.contract.write) {
1914
+ throw new Error('Wallet client is required for write operations');
1915
+ }
1916
+ return this.contract.write.unregisterExtension([extension], options);
1917
+ }
1918
+ /**
1919
+ * Simulate contract write operations (dry-run without sending transaction)
1920
+ *
1921
+ * @example
1922
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1923
+ * console.log('Gas estimate:', result.request.gas);
1924
+ * console.log('Would succeed:', result.result);
1925
+ */
1926
+ get simulate() {
1927
+ const contract = this.contract;
1928
+ if (!contract.simulate) {
1929
+ throw new Error('Public client is required for simulation');
1930
+ }
1931
+ return {
1932
+ /**
1933
+ * Simulate approve
1934
+ * Returns gas estimate and result without sending transaction
1935
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1936
+ */
1937
+ async approve(to, tokenId, options) {
1938
+ return contract.simulate.approve([to, tokenId], options);
1939
+ },
1940
+ /**
1941
+ * Simulate approveAdmin
1942
+ * Returns gas estimate and result without sending transaction
1943
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1944
+ */
1945
+ async approveAdmin(admin, options) {
1946
+ return contract.simulate.approveAdmin([admin], options);
1947
+ },
1948
+ /**
1949
+ * Simulate blacklistExtension
1950
+ * Returns gas estimate and result without sending transaction
1951
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1952
+ */
1953
+ async blacklistExtension(extension, options) {
1954
+ return contract.simulate.blacklistExtension([extension], options);
1955
+ },
1956
+ /**
1957
+ * Simulate burn
1958
+ * Returns gas estimate and result without sending transaction
1959
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1960
+ */
1961
+ async burn(tokenId, options) {
1962
+ return contract.simulate.burn([tokenId], options);
1963
+ },
1964
+ /**
1965
+ * Simulate initialize
1966
+ * Returns gas estimate and result without sending transaction
1967
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1968
+ */
1969
+ async initialize(_name, _symbol, options) {
1970
+ return contract.simulate.initialize([_name, _symbol], options);
1971
+ },
1972
+ /**
1973
+ * Simulate mintBase
1974
+ * Returns gas estimate and result without sending transaction
1975
+ * Supports multiple overloads: (address), (address, string)
1976
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1977
+ */
1978
+ async mintBase(...args) {
1979
+ return contract.simulate.mintBase(args);
1980
+ },
1981
+ /**
1982
+ * Simulate mintBaseBatch
1983
+ * Returns gas estimate and result without sending transaction
1984
+ * Supports multiple overloads: (address, string[]), (address, uint16)
1985
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1986
+ */
1987
+ async mintBaseBatch(...args) {
1988
+ return contract.simulate.mintBaseBatch(args);
1989
+ },
1990
+ /**
1991
+ * Simulate mintExtension
1992
+ * Returns gas estimate and result without sending transaction
1993
+ * Supports multiple overloads: (address), (address, uint80), (address, string)
1994
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1995
+ */
1996
+ async mintExtension(...args) {
1997
+ return contract.simulate.mintExtension(args);
1998
+ },
1999
+ /**
2000
+ * Simulate mintExtensionBatch
2001
+ * Returns gas estimate and result without sending transaction
2002
+ * Supports multiple overloads: (address, string[]), (address, uint80[]), (address, uint16)
2003
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2004
+ */
2005
+ async mintExtensionBatch(...args) {
2006
+ return contract.simulate.mintExtensionBatch(args);
2007
+ },
2008
+ /**
2009
+ * Simulate registerExtension
2010
+ * Returns gas estimate and result without sending transaction
2011
+ * Supports multiple overloads: (address, string), (address, string, bool)
2012
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2013
+ */
2014
+ async registerExtension(...args) {
2015
+ return contract.simulate.registerExtension(args);
2016
+ },
2017
+ /**
2018
+ * Simulate renounceOwnership
2019
+ * Returns gas estimate and result without sending transaction
2020
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2021
+ */
2022
+ async renounceOwnership(options) {
2023
+ return contract.simulate.renounceOwnership(options);
2024
+ },
2025
+ /**
2026
+ * Simulate revokeAdmin
2027
+ * Returns gas estimate and result without sending transaction
2028
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2029
+ */
2030
+ async revokeAdmin(admin, options) {
2031
+ return contract.simulate.revokeAdmin([admin], options);
2032
+ },
2033
+ /**
2034
+ * Simulate safeTransferFrom
2035
+ * Returns gas estimate and result without sending transaction
2036
+ * Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
2037
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2038
+ */
2039
+ async safeTransferFrom(...args) {
2040
+ return contract.simulate.safeTransferFrom(args);
2041
+ },
2042
+ /**
2043
+ * Simulate setApprovalForAll
2044
+ * Returns gas estimate and result without sending transaction
2045
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2046
+ */
2047
+ async setApprovalForAll(operator, approved, options) {
2048
+ return contract.simulate.setApprovalForAll([operator, approved], options);
2049
+ },
2050
+ /**
2051
+ * Simulate setApproveTransfer
2052
+ * Returns gas estimate and result without sending transaction
2053
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2054
+ */
2055
+ async setApproveTransfer(extension, options) {
2056
+ return contract.simulate.setApproveTransfer([extension], options);
2057
+ },
2058
+ /**
2059
+ * Simulate setApproveTransferExtension
2060
+ * Returns gas estimate and result without sending transaction
2061
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2062
+ */
2063
+ async setApproveTransferExtension(enabled, options) {
2064
+ return contract.simulate.setApproveTransferExtension([enabled], options);
2065
+ },
2066
+ /**
2067
+ * Simulate setBaseTokenURI
2068
+ * Returns gas estimate and result without sending transaction
2069
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2070
+ */
2071
+ async setBaseTokenURI(uri, options) {
2072
+ return contract.simulate.setBaseTokenURI([uri], options);
2073
+ },
2074
+ /**
2075
+ * Simulate setBaseTokenURIExtension
2076
+ * Returns gas estimate and result without sending transaction
2077
+ * Supports multiple overloads: (string), (string, bool)
2078
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2079
+ */
2080
+ async setBaseTokenURIExtension(...args) {
2081
+ return contract.simulate.setBaseTokenURIExtension(args);
2082
+ },
2083
+ /**
2084
+ * Simulate setMintPermissions
2085
+ * Returns gas estimate and result without sending transaction
2086
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2087
+ */
2088
+ async setMintPermissions(extension, permissions, options) {
2089
+ return contract.simulate.setMintPermissions([extension, permissions], options);
2090
+ },
2091
+ /**
2092
+ * Simulate setRoyalties
2093
+ * Returns gas estimate and result without sending transaction
2094
+ * Supports multiple overloads: (uint256, address[], uint256[]), (address[], uint256[])
2095
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2096
+ */
2097
+ async setRoyalties(...args) {
2098
+ return contract.simulate.setRoyalties(args);
2099
+ },
2100
+ /**
2101
+ * Simulate setRoyaltiesExtension
2102
+ * Returns gas estimate and result without sending transaction
2103
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2104
+ */
2105
+ async setRoyaltiesExtension(extension, receivers, basisPoints, options) {
2106
+ return contract.simulate.setRoyaltiesExtension([extension, receivers, basisPoints], options);
2107
+ },
2108
+ /**
2109
+ * Simulate setTokenURI
2110
+ * Returns gas estimate and result without sending transaction
2111
+ * Supports multiple overloads: (uint256, string), (uint256[], string[])
2112
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2113
+ */
2114
+ async setTokenURI(...args) {
2115
+ return contract.simulate.setTokenURI(args);
2116
+ },
2117
+ /**
2118
+ * Simulate setTokenURIExtension
2119
+ * Returns gas estimate and result without sending transaction
2120
+ * Supports multiple overloads: (uint256[], string[]), (uint256, string)
2121
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2122
+ */
2123
+ async setTokenURIExtension(...args) {
2124
+ return contract.simulate.setTokenURIExtension(args);
2125
+ },
2126
+ /**
2127
+ * Simulate setTokenURIPrefix
2128
+ * Returns gas estimate and result without sending transaction
2129
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2130
+ */
2131
+ async setTokenURIPrefix(prefix, options) {
2132
+ return contract.simulate.setTokenURIPrefix([prefix], options);
2133
+ },
2134
+ /**
2135
+ * Simulate setTokenURIPrefixExtension
2136
+ * Returns gas estimate and result without sending transaction
2137
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2138
+ */
2139
+ async setTokenURIPrefixExtension(prefix, options) {
2140
+ return contract.simulate.setTokenURIPrefixExtension([prefix], options);
2141
+ },
2142
+ /**
2143
+ * Simulate transferFrom
2144
+ * Returns gas estimate and result without sending transaction
2145
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2146
+ */
2147
+ async transferFrom(from, to, tokenId, options) {
2148
+ return contract.simulate.transferFrom([from, to, tokenId], options);
2149
+ },
2150
+ /**
2151
+ * Simulate transferOwnership
2152
+ * Returns gas estimate and result without sending transaction
2153
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2154
+ */
2155
+ async transferOwnership(newOwner, options) {
2156
+ return contract.simulate.transferOwnership([newOwner], options);
2157
+ },
2158
+ /**
2159
+ * Simulate unregisterExtension
2160
+ * Returns gas estimate and result without sending transaction
2161
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2162
+ */
2163
+ async unregisterExtension(extension, options) {
2164
+ return contract.simulate.unregisterExtension([extension], options);
2165
+ }
2166
+ };
2167
+ }
2168
+ /**
2169
+ * Watch contract events
2170
+ *
2171
+ * @example
2172
+ * // Watch all Transfer events
2173
+ * const unwatch = contract.watch.Transfer((event) => {
2174
+ * console.log('Transfer:', event);
2175
+ * });
2176
+ *
2177
+ * // Stop watching
2178
+ * unwatch();
2179
+ */
2180
+ get watch() {
2181
+ return {
2182
+ /**
2183
+ * Watch AdminApproved events
2184
+ * @param callback Function to call when event is emitted
2185
+ * @param filter Optional filter for indexed parameters
2186
+ * @returns Unwatch function to stop listening
2187
+ */
2188
+ AdminApproved: (callback, filter) => {
2189
+ return this.publicClient.watchContractEvent({
2190
+ address: this.contractAddress,
2191
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2192
+ eventName: 'AdminApproved',
2193
+ args: filter,
2194
+ onLogs: (logs) => {
2195
+ logs.forEach((log) => {
2196
+ callback(log.args);
2197
+ });
2198
+ },
2199
+ });
2200
+ },
2201
+ /**
2202
+ * Watch AdminRevoked events
2203
+ * @param callback Function to call when event is emitted
2204
+ * @param filter Optional filter for indexed parameters
2205
+ * @returns Unwatch function to stop listening
2206
+ */
2207
+ AdminRevoked: (callback, filter) => {
2208
+ return this.publicClient.watchContractEvent({
2209
+ address: this.contractAddress,
2210
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2211
+ eventName: 'AdminRevoked',
2212
+ args: filter,
2213
+ onLogs: (logs) => {
2214
+ logs.forEach((log) => {
2215
+ callback(log.args);
2216
+ });
2217
+ },
2218
+ });
2219
+ },
2220
+ /**
2221
+ * Watch Approval events
2222
+ * @param callback Function to call when event is emitted
2223
+ * @param filter Optional filter for indexed parameters
2224
+ * @returns Unwatch function to stop listening
2225
+ */
2226
+ Approval: (callback, filter) => {
2227
+ return this.publicClient.watchContractEvent({
2228
+ address: this.contractAddress,
2229
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2230
+ eventName: 'Approval',
2231
+ args: filter,
2232
+ onLogs: (logs) => {
2233
+ logs.forEach((log) => {
2234
+ callback(log.args);
2235
+ });
2236
+ },
2237
+ });
2238
+ },
2239
+ /**
2240
+ * Watch ApprovalForAll events
2241
+ * @param callback Function to call when event is emitted
2242
+ * @param filter Optional filter for indexed parameters
2243
+ * @returns Unwatch function to stop listening
2244
+ */
2245
+ ApprovalForAll: (callback, filter) => {
2246
+ return this.publicClient.watchContractEvent({
2247
+ address: this.contractAddress,
2248
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2249
+ eventName: 'ApprovalForAll',
2250
+ args: filter,
2251
+ onLogs: (logs) => {
2252
+ logs.forEach((log) => {
2253
+ callback(log.args);
2254
+ });
2255
+ },
2256
+ });
2257
+ },
2258
+ /**
2259
+ * Watch ApproveTransferUpdated events
2260
+ * @param callback Function to call when event is emitted
2261
+ * @param filter Optional filter for indexed parameters
2262
+ * @returns Unwatch function to stop listening
2263
+ */
2264
+ ApproveTransferUpdated: (callback) => {
2265
+ return this.publicClient.watchContractEvent({
2266
+ address: this.contractAddress,
2267
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2268
+ eventName: 'ApproveTransferUpdated',
2269
+ onLogs: (logs) => {
2270
+ logs.forEach((log) => {
2271
+ callback(log.args);
2272
+ });
2273
+ },
2274
+ });
2275
+ },
2276
+ /**
2277
+ * Watch DefaultRoyaltiesUpdated events
2278
+ * @param callback Function to call when event is emitted
2279
+ * @param filter Optional filter for indexed parameters
2280
+ * @returns Unwatch function to stop listening
2281
+ */
2282
+ DefaultRoyaltiesUpdated: (callback) => {
2283
+ return this.publicClient.watchContractEvent({
2284
+ address: this.contractAddress,
2285
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2286
+ eventName: 'DefaultRoyaltiesUpdated',
2287
+ onLogs: (logs) => {
2288
+ logs.forEach((log) => {
2289
+ callback(log.args);
2290
+ });
2291
+ },
2292
+ });
2293
+ },
2294
+ /**
2295
+ * Watch ExtensionApproveTransferUpdated events
2296
+ * @param callback Function to call when event is emitted
2297
+ * @param filter Optional filter for indexed parameters
2298
+ * @returns Unwatch function to stop listening
2299
+ */
2300
+ ExtensionApproveTransferUpdated: (callback, filter) => {
2301
+ return this.publicClient.watchContractEvent({
2302
+ address: this.contractAddress,
2303
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2304
+ eventName: 'ExtensionApproveTransferUpdated',
2305
+ args: filter,
2306
+ onLogs: (logs) => {
2307
+ logs.forEach((log) => {
2308
+ callback(log.args);
2309
+ });
2310
+ },
2311
+ });
2312
+ },
2313
+ /**
2314
+ * Watch ExtensionBlacklisted events
2315
+ * @param callback Function to call when event is emitted
2316
+ * @param filter Optional filter for indexed parameters
2317
+ * @returns Unwatch function to stop listening
2318
+ */
2319
+ ExtensionBlacklisted: (callback, filter) => {
2320
+ return this.publicClient.watchContractEvent({
2321
+ address: this.contractAddress,
2322
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2323
+ eventName: 'ExtensionBlacklisted',
2324
+ args: filter,
2325
+ onLogs: (logs) => {
2326
+ logs.forEach((log) => {
2327
+ callback(log.args);
2328
+ });
2329
+ },
2330
+ });
2331
+ },
2332
+ /**
2333
+ * Watch ExtensionRegistered events
2334
+ * @param callback Function to call when event is emitted
2335
+ * @param filter Optional filter for indexed parameters
2336
+ * @returns Unwatch function to stop listening
2337
+ */
2338
+ ExtensionRegistered: (callback, filter) => {
2339
+ return this.publicClient.watchContractEvent({
2340
+ address: this.contractAddress,
2341
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2342
+ eventName: 'ExtensionRegistered',
2343
+ args: filter,
2344
+ onLogs: (logs) => {
2345
+ logs.forEach((log) => {
2346
+ callback(log.args);
2347
+ });
2348
+ },
2349
+ });
2350
+ },
2351
+ /**
2352
+ * Watch ExtensionRoyaltiesUpdated events
2353
+ * @param callback Function to call when event is emitted
2354
+ * @param filter Optional filter for indexed parameters
2355
+ * @returns Unwatch function to stop listening
2356
+ */
2357
+ ExtensionRoyaltiesUpdated: (callback, filter) => {
2358
+ return this.publicClient.watchContractEvent({
2359
+ address: this.contractAddress,
2360
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2361
+ eventName: 'ExtensionRoyaltiesUpdated',
2362
+ args: filter,
2363
+ onLogs: (logs) => {
2364
+ logs.forEach((log) => {
2365
+ callback(log.args);
2366
+ });
2367
+ },
2368
+ });
2369
+ },
2370
+ /**
2371
+ * Watch ExtensionUnregistered events
2372
+ * @param callback Function to call when event is emitted
2373
+ * @param filter Optional filter for indexed parameters
2374
+ * @returns Unwatch function to stop listening
2375
+ */
2376
+ ExtensionUnregistered: (callback, filter) => {
2377
+ return this.publicClient.watchContractEvent({
2378
+ address: this.contractAddress,
2379
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2380
+ eventName: 'ExtensionUnregistered',
2381
+ args: filter,
2382
+ onLogs: (logs) => {
2383
+ logs.forEach((log) => {
2384
+ callback(log.args);
2385
+ });
2386
+ },
2387
+ });
2388
+ },
2389
+ /**
2390
+ * Watch Initialized events
2391
+ * @param callback Function to call when event is emitted
2392
+ * @param filter Optional filter for indexed parameters
2393
+ * @returns Unwatch function to stop listening
2394
+ */
2395
+ Initialized: (callback) => {
2396
+ return this.publicClient.watchContractEvent({
2397
+ address: this.contractAddress,
2398
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2399
+ eventName: 'Initialized',
2400
+ onLogs: (logs) => {
2401
+ logs.forEach((log) => {
2402
+ callback(log.args);
2403
+ });
2404
+ },
2405
+ });
2406
+ },
2407
+ /**
2408
+ * Watch MintPermissionsUpdated events
2409
+ * @param callback Function to call when event is emitted
2410
+ * @param filter Optional filter for indexed parameters
2411
+ * @returns Unwatch function to stop listening
2412
+ */
2413
+ MintPermissionsUpdated: (callback, filter) => {
2414
+ return this.publicClient.watchContractEvent({
2415
+ address: this.contractAddress,
2416
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2417
+ eventName: 'MintPermissionsUpdated',
2418
+ args: filter,
2419
+ onLogs: (logs) => {
2420
+ logs.forEach((log) => {
2421
+ callback(log.args);
2422
+ });
2423
+ },
2424
+ });
2425
+ },
2426
+ /**
2427
+ * Watch OwnershipTransferred events
2428
+ * @param callback Function to call when event is emitted
2429
+ * @param filter Optional filter for indexed parameters
2430
+ * @returns Unwatch function to stop listening
2431
+ */
2432
+ OwnershipTransferred: (callback, filter) => {
2433
+ return this.publicClient.watchContractEvent({
2434
+ address: this.contractAddress,
2435
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2436
+ eventName: 'OwnershipTransferred',
2437
+ args: filter,
2438
+ onLogs: (logs) => {
2439
+ logs.forEach((log) => {
2440
+ callback(log.args);
2441
+ });
2442
+ },
2443
+ });
2444
+ },
2445
+ /**
2446
+ * Watch RoyaltiesUpdated events
2447
+ * @param callback Function to call when event is emitted
2448
+ * @param filter Optional filter for indexed parameters
2449
+ * @returns Unwatch function to stop listening
2450
+ */
2451
+ RoyaltiesUpdated: (callback, filter) => {
2452
+ return this.publicClient.watchContractEvent({
2453
+ address: this.contractAddress,
2454
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2455
+ eventName: 'RoyaltiesUpdated',
2456
+ args: filter,
2457
+ onLogs: (logs) => {
2458
+ logs.forEach((log) => {
2459
+ callback(log.args);
2460
+ });
2461
+ },
2462
+ });
2463
+ },
2464
+ /**
2465
+ * Watch Transfer events
2466
+ * @param callback Function to call when event is emitted
2467
+ * @param filter Optional filter for indexed parameters
2468
+ * @returns Unwatch function to stop listening
2469
+ */
2470
+ Transfer: (callback, filter) => {
2471
+ return this.publicClient.watchContractEvent({
2472
+ address: this.contractAddress,
2473
+ abi: exports.ERC721CreatorImplementation_jsonAbi,
2474
+ eventName: 'Transfer',
2475
+ args: filter,
2476
+ onLogs: (logs) => {
2477
+ logs.forEach((log) => {
2478
+ callback(log.args);
2479
+ });
2480
+ },
2481
+ });
2482
+ }
2483
+ };
2484
+ }
2485
+ }
2486
+ exports.ERC721CreatorImplementation_json = ERC721CreatorImplementation_json;