@gitmyabi/cc 1.0.1 → 1.0.2

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