@imtbl/sdk 0.21.0 → 0.22.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.
@@ -1,1660 +0,0 @@
1
- import { ContractFactory, utils, Contract } from 'ethers';
2
-
3
- /* Autogenerated file. Do not edit manually. */
4
- /* tslint:disable */
5
- /* eslint-disable */
6
- const _abi$1 = [
7
- {
8
- inputs: [
9
- {
10
- internalType: "address",
11
- name: "owner",
12
- type: "address",
13
- },
14
- {
15
- internalType: "string",
16
- name: "name_",
17
- type: "string",
18
- },
19
- {
20
- internalType: "string",
21
- name: "symbol_",
22
- type: "string",
23
- },
24
- {
25
- internalType: "string",
26
- name: "baseURI_",
27
- type: "string",
28
- },
29
- {
30
- internalType: "string",
31
- name: "contractURI_",
32
- type: "string",
33
- },
34
- {
35
- internalType: "address",
36
- name: "_operatorAllowlist",
37
- type: "address",
38
- },
39
- {
40
- internalType: "address",
41
- name: "_receiver",
42
- type: "address",
43
- },
44
- {
45
- internalType: "uint96",
46
- name: "_feeNumerator",
47
- type: "uint96",
48
- },
49
- ],
50
- stateMutability: "nonpayable",
51
- type: "constructor",
52
- },
53
- {
54
- inputs: [],
55
- name: "AllowlistDoesNotImplementIOperatorAllowlist",
56
- type: "error",
57
- },
58
- {
59
- inputs: [
60
- {
61
- internalType: "address",
62
- name: "target",
63
- type: "address",
64
- },
65
- ],
66
- name: "ApproveTargetNotInAllowlist",
67
- type: "error",
68
- },
69
- {
70
- inputs: [
71
- {
72
- internalType: "address",
73
- name: "approver",
74
- type: "address",
75
- },
76
- ],
77
- name: "ApproverNotInAllowlist",
78
- type: "error",
79
- },
80
- {
81
- inputs: [
82
- {
83
- internalType: "address",
84
- name: "caller",
85
- type: "address",
86
- },
87
- ],
88
- name: "CallerNotInAllowlist",
89
- type: "error",
90
- },
91
- {
92
- inputs: [
93
- {
94
- internalType: "uint256",
95
- name: "tokenId",
96
- type: "uint256",
97
- },
98
- ],
99
- name: "IImmutableERC721IDAboveThreshold",
100
- type: "error",
101
- },
102
- {
103
- inputs: [
104
- {
105
- internalType: "uint256",
106
- name: "tokenId",
107
- type: "uint256",
108
- },
109
- {
110
- internalType: "address",
111
- name: "currentOwner",
112
- type: "address",
113
- },
114
- ],
115
- name: "IImmutableERC721MismatchedTokenOwner",
116
- type: "error",
117
- },
118
- {
119
- inputs: [],
120
- name: "IImmutableERC721MismatchedTransferLengths",
121
- type: "error",
122
- },
123
- {
124
- inputs: [
125
- {
126
- internalType: "uint256",
127
- name: "tokenId",
128
- type: "uint256",
129
- },
130
- ],
131
- name: "IImmutableERC721NotOwnerOrOperator",
132
- type: "error",
133
- },
134
- {
135
- inputs: [],
136
- name: "IImmutableERC721SendingToZerothAddress",
137
- type: "error",
138
- },
139
- {
140
- inputs: [
141
- {
142
- internalType: "uint256",
143
- name: "tokenId",
144
- type: "uint256",
145
- },
146
- ],
147
- name: "IImmutableERC721TokenAlreadyBurned",
148
- type: "error",
149
- },
150
- {
151
- inputs: [],
152
- name: "InvalidShortString",
153
- type: "error",
154
- },
155
- {
156
- inputs: [],
157
- name: "InvalidSignature",
158
- type: "error",
159
- },
160
- {
161
- inputs: [],
162
- name: "PermitExpired",
163
- type: "error",
164
- },
165
- {
166
- inputs: [],
167
- name: "SignerCannotBeZerothAddress",
168
- type: "error",
169
- },
170
- {
171
- inputs: [
172
- {
173
- internalType: "string",
174
- name: "str",
175
- type: "string",
176
- },
177
- ],
178
- name: "StringTooLong",
179
- type: "error",
180
- },
181
- {
182
- inputs: [
183
- {
184
- internalType: "address",
185
- name: "from",
186
- type: "address",
187
- },
188
- ],
189
- name: "TransferFromNotInAllowlist",
190
- type: "error",
191
- },
192
- {
193
- inputs: [
194
- {
195
- internalType: "address",
196
- name: "to",
197
- type: "address",
198
- },
199
- ],
200
- name: "TransferToNotInAllowlist",
201
- type: "error",
202
- },
203
- {
204
- anonymous: false,
205
- inputs: [
206
- {
207
- indexed: true,
208
- internalType: "address",
209
- name: "owner",
210
- type: "address",
211
- },
212
- {
213
- indexed: true,
214
- internalType: "address",
215
- name: "approved",
216
- type: "address",
217
- },
218
- {
219
- indexed: true,
220
- internalType: "uint256",
221
- name: "tokenId",
222
- type: "uint256",
223
- },
224
- ],
225
- name: "Approval",
226
- type: "event",
227
- },
228
- {
229
- anonymous: false,
230
- inputs: [
231
- {
232
- indexed: true,
233
- internalType: "address",
234
- name: "owner",
235
- type: "address",
236
- },
237
- {
238
- indexed: true,
239
- internalType: "address",
240
- name: "operator",
241
- type: "address",
242
- },
243
- {
244
- indexed: false,
245
- internalType: "bool",
246
- name: "approved",
247
- type: "bool",
248
- },
249
- ],
250
- name: "ApprovalForAll",
251
- type: "event",
252
- },
253
- {
254
- anonymous: false,
255
- inputs: [],
256
- name: "EIP712DomainChanged",
257
- type: "event",
258
- },
259
- {
260
- anonymous: false,
261
- inputs: [
262
- {
263
- indexed: false,
264
- internalType: "address",
265
- name: "oldRegistry",
266
- type: "address",
267
- },
268
- {
269
- indexed: false,
270
- internalType: "address",
271
- name: "newRegistry",
272
- type: "address",
273
- },
274
- ],
275
- name: "OperatorAllowlistRegistryUpdated",
276
- type: "event",
277
- },
278
- {
279
- anonymous: false,
280
- inputs: [
281
- {
282
- indexed: true,
283
- internalType: "bytes32",
284
- name: "role",
285
- type: "bytes32",
286
- },
287
- {
288
- indexed: true,
289
- internalType: "bytes32",
290
- name: "previousAdminRole",
291
- type: "bytes32",
292
- },
293
- {
294
- indexed: true,
295
- internalType: "bytes32",
296
- name: "newAdminRole",
297
- type: "bytes32",
298
- },
299
- ],
300
- name: "RoleAdminChanged",
301
- type: "event",
302
- },
303
- {
304
- anonymous: false,
305
- inputs: [
306
- {
307
- indexed: true,
308
- internalType: "bytes32",
309
- name: "role",
310
- type: "bytes32",
311
- },
312
- {
313
- indexed: true,
314
- internalType: "address",
315
- name: "account",
316
- type: "address",
317
- },
318
- {
319
- indexed: true,
320
- internalType: "address",
321
- name: "sender",
322
- type: "address",
323
- },
324
- ],
325
- name: "RoleGranted",
326
- type: "event",
327
- },
328
- {
329
- anonymous: false,
330
- inputs: [
331
- {
332
- indexed: true,
333
- internalType: "bytes32",
334
- name: "role",
335
- type: "bytes32",
336
- },
337
- {
338
- indexed: true,
339
- internalType: "address",
340
- name: "account",
341
- type: "address",
342
- },
343
- {
344
- indexed: true,
345
- internalType: "address",
346
- name: "sender",
347
- type: "address",
348
- },
349
- ],
350
- name: "RoleRevoked",
351
- type: "event",
352
- },
353
- {
354
- anonymous: false,
355
- inputs: [
356
- {
357
- indexed: true,
358
- internalType: "address",
359
- name: "from",
360
- type: "address",
361
- },
362
- {
363
- indexed: true,
364
- internalType: "address",
365
- name: "to",
366
- type: "address",
367
- },
368
- {
369
- indexed: true,
370
- internalType: "uint256",
371
- name: "tokenId",
372
- type: "uint256",
373
- },
374
- ],
375
- name: "Transfer",
376
- type: "event",
377
- },
378
- {
379
- inputs: [],
380
- name: "DEFAULT_ADMIN_ROLE",
381
- outputs: [
382
- {
383
- internalType: "bytes32",
384
- name: "",
385
- type: "bytes32",
386
- },
387
- ],
388
- stateMutability: "view",
389
- type: "function",
390
- },
391
- {
392
- inputs: [],
393
- name: "DOMAIN_SEPARATOR",
394
- outputs: [
395
- {
396
- internalType: "bytes32",
397
- name: "",
398
- type: "bytes32",
399
- },
400
- ],
401
- stateMutability: "view",
402
- type: "function",
403
- },
404
- {
405
- inputs: [],
406
- name: "MINTER_ROLE",
407
- outputs: [
408
- {
409
- internalType: "bytes32",
410
- name: "",
411
- type: "bytes32",
412
- },
413
- ],
414
- stateMutability: "view",
415
- type: "function",
416
- },
417
- {
418
- inputs: [
419
- {
420
- components: [
421
- {
422
- internalType: "address",
423
- name: "owner",
424
- type: "address",
425
- },
426
- {
427
- internalType: "uint256[]",
428
- name: "tokenIds",
429
- type: "uint256[]",
430
- },
431
- ],
432
- internalType: "struct ImmutableERC721Base.IDBurn[]",
433
- name: "burns",
434
- type: "tuple[]",
435
- },
436
- ],
437
- name: "_safeBurnBatch",
438
- outputs: [],
439
- stateMutability: "nonpayable",
440
- type: "function",
441
- },
442
- {
443
- inputs: [],
444
- name: "_totalSupply",
445
- outputs: [
446
- {
447
- internalType: "uint256",
448
- name: "",
449
- type: "uint256",
450
- },
451
- ],
452
- stateMutability: "view",
453
- type: "function",
454
- },
455
- {
456
- inputs: [
457
- {
458
- internalType: "address",
459
- name: "to",
460
- type: "address",
461
- },
462
- {
463
- internalType: "uint256",
464
- name: "tokenId",
465
- type: "uint256",
466
- },
467
- ],
468
- name: "approve",
469
- outputs: [],
470
- stateMutability: "nonpayable",
471
- type: "function",
472
- },
473
- {
474
- inputs: [
475
- {
476
- internalType: "address",
477
- name: "owner",
478
- type: "address",
479
- },
480
- ],
481
- name: "balanceOf",
482
- outputs: [
483
- {
484
- internalType: "uint256",
485
- name: "",
486
- type: "uint256",
487
- },
488
- ],
489
- stateMutability: "view",
490
- type: "function",
491
- },
492
- {
493
- inputs: [],
494
- name: "baseURI",
495
- outputs: [
496
- {
497
- internalType: "string",
498
- name: "",
499
- type: "string",
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: "burn",
514
- outputs: [],
515
- stateMutability: "nonpayable",
516
- type: "function",
517
- },
518
- {
519
- inputs: [
520
- {
521
- internalType: "uint256[]",
522
- name: "tokenIDs",
523
- type: "uint256[]",
524
- },
525
- ],
526
- name: "burnBatch",
527
- outputs: [],
528
- stateMutability: "nonpayable",
529
- type: "function",
530
- },
531
- {
532
- inputs: [],
533
- name: "contractURI",
534
- outputs: [
535
- {
536
- internalType: "string",
537
- name: "",
538
- type: "string",
539
- },
540
- ],
541
- stateMutability: "view",
542
- type: "function",
543
- },
544
- {
545
- inputs: [],
546
- name: "eip712Domain",
547
- outputs: [
548
- {
549
- internalType: "bytes1",
550
- name: "fields",
551
- type: "bytes1",
552
- },
553
- {
554
- internalType: "string",
555
- name: "name",
556
- type: "string",
557
- },
558
- {
559
- internalType: "string",
560
- name: "version",
561
- type: "string",
562
- },
563
- {
564
- internalType: "uint256",
565
- name: "chainId",
566
- type: "uint256",
567
- },
568
- {
569
- internalType: "address",
570
- name: "verifyingContract",
571
- type: "address",
572
- },
573
- {
574
- internalType: "bytes32",
575
- name: "salt",
576
- type: "bytes32",
577
- },
578
- {
579
- internalType: "uint256[]",
580
- name: "extensions",
581
- type: "uint256[]",
582
- },
583
- ],
584
- stateMutability: "view",
585
- type: "function",
586
- },
587
- {
588
- inputs: [],
589
- name: "getAdmins",
590
- outputs: [
591
- {
592
- internalType: "address[]",
593
- name: "",
594
- type: "address[]",
595
- },
596
- ],
597
- stateMutability: "view",
598
- type: "function",
599
- },
600
- {
601
- inputs: [
602
- {
603
- internalType: "uint256",
604
- name: "tokenId",
605
- type: "uint256",
606
- },
607
- ],
608
- name: "getApproved",
609
- outputs: [
610
- {
611
- internalType: "address",
612
- name: "",
613
- type: "address",
614
- },
615
- ],
616
- stateMutability: "view",
617
- type: "function",
618
- },
619
- {
620
- inputs: [
621
- {
622
- internalType: "bytes32",
623
- name: "role",
624
- type: "bytes32",
625
- },
626
- ],
627
- name: "getRoleAdmin",
628
- outputs: [
629
- {
630
- internalType: "bytes32",
631
- name: "",
632
- type: "bytes32",
633
- },
634
- ],
635
- stateMutability: "view",
636
- type: "function",
637
- },
638
- {
639
- inputs: [
640
- {
641
- internalType: "bytes32",
642
- name: "role",
643
- type: "bytes32",
644
- },
645
- {
646
- internalType: "uint256",
647
- name: "index",
648
- type: "uint256",
649
- },
650
- ],
651
- name: "getRoleMember",
652
- outputs: [
653
- {
654
- internalType: "address",
655
- name: "",
656
- type: "address",
657
- },
658
- ],
659
- stateMutability: "view",
660
- type: "function",
661
- },
662
- {
663
- inputs: [
664
- {
665
- internalType: "bytes32",
666
- name: "role",
667
- type: "bytes32",
668
- },
669
- ],
670
- name: "getRoleMemberCount",
671
- outputs: [
672
- {
673
- internalType: "uint256",
674
- name: "",
675
- type: "uint256",
676
- },
677
- ],
678
- stateMutability: "view",
679
- type: "function",
680
- },
681
- {
682
- inputs: [
683
- {
684
- internalType: "address",
685
- name: "user",
686
- type: "address",
687
- },
688
- ],
689
- name: "grantMinterRole",
690
- outputs: [],
691
- stateMutability: "nonpayable",
692
- type: "function",
693
- },
694
- {
695
- inputs: [
696
- {
697
- internalType: "bytes32",
698
- name: "role",
699
- type: "bytes32",
700
- },
701
- {
702
- internalType: "address",
703
- name: "account",
704
- type: "address",
705
- },
706
- ],
707
- name: "grantRole",
708
- outputs: [],
709
- stateMutability: "nonpayable",
710
- type: "function",
711
- },
712
- {
713
- inputs: [
714
- {
715
- internalType: "bytes32",
716
- name: "role",
717
- type: "bytes32",
718
- },
719
- {
720
- internalType: "address",
721
- name: "account",
722
- type: "address",
723
- },
724
- ],
725
- name: "hasRole",
726
- outputs: [
727
- {
728
- internalType: "bool",
729
- name: "",
730
- type: "bool",
731
- },
732
- ],
733
- stateMutability: "view",
734
- type: "function",
735
- },
736
- {
737
- inputs: [
738
- {
739
- internalType: "address",
740
- name: "owner",
741
- type: "address",
742
- },
743
- {
744
- internalType: "address",
745
- name: "operator",
746
- type: "address",
747
- },
748
- ],
749
- name: "isApprovedForAll",
750
- outputs: [
751
- {
752
- internalType: "bool",
753
- name: "",
754
- type: "bool",
755
- },
756
- ],
757
- stateMutability: "view",
758
- type: "function",
759
- },
760
- {
761
- inputs: [
762
- {
763
- internalType: "address",
764
- name: "to",
765
- type: "address",
766
- },
767
- {
768
- internalType: "uint256",
769
- name: "tokenID",
770
- type: "uint256",
771
- },
772
- ],
773
- name: "mint",
774
- outputs: [],
775
- stateMutability: "nonpayable",
776
- type: "function",
777
- },
778
- {
779
- inputs: [
780
- {
781
- components: [
782
- {
783
- internalType: "address",
784
- name: "to",
785
- type: "address",
786
- },
787
- {
788
- internalType: "uint256[]",
789
- name: "tokenIds",
790
- type: "uint256[]",
791
- },
792
- ],
793
- internalType: "struct ImmutableERC721Base.IDMint[]",
794
- name: "mintRequests",
795
- type: "tuple[]",
796
- },
797
- ],
798
- name: "mintBatch",
799
- outputs: [],
800
- stateMutability: "nonpayable",
801
- type: "function",
802
- },
803
- {
804
- inputs: [],
805
- name: "name",
806
- outputs: [
807
- {
808
- internalType: "string",
809
- name: "",
810
- type: "string",
811
- },
812
- ],
813
- stateMutability: "view",
814
- type: "function",
815
- },
816
- {
817
- inputs: [
818
- {
819
- internalType: "uint256",
820
- name: "tokenId",
821
- type: "uint256",
822
- },
823
- ],
824
- name: "nonces",
825
- outputs: [
826
- {
827
- internalType: "uint256",
828
- name: "",
829
- type: "uint256",
830
- },
831
- ],
832
- stateMutability: "view",
833
- type: "function",
834
- },
835
- {
836
- inputs: [],
837
- name: "operatorAllowlist",
838
- outputs: [
839
- {
840
- internalType: "contract IOperatorAllowlist",
841
- name: "",
842
- type: "address",
843
- },
844
- ],
845
- stateMutability: "view",
846
- type: "function",
847
- },
848
- {
849
- inputs: [
850
- {
851
- internalType: "uint256",
852
- name: "tokenId",
853
- type: "uint256",
854
- },
855
- ],
856
- name: "ownerOf",
857
- outputs: [
858
- {
859
- internalType: "address",
860
- name: "",
861
- type: "address",
862
- },
863
- ],
864
- stateMutability: "view",
865
- type: "function",
866
- },
867
- {
868
- inputs: [
869
- {
870
- internalType: "address",
871
- name: "spender",
872
- type: "address",
873
- },
874
- {
875
- internalType: "uint256",
876
- name: "tokenId",
877
- type: "uint256",
878
- },
879
- {
880
- internalType: "uint256",
881
- name: "deadline",
882
- type: "uint256",
883
- },
884
- {
885
- internalType: "bytes",
886
- name: "sig",
887
- type: "bytes",
888
- },
889
- ],
890
- name: "permit",
891
- outputs: [],
892
- stateMutability: "nonpayable",
893
- type: "function",
894
- },
895
- {
896
- inputs: [
897
- {
898
- internalType: "bytes32",
899
- name: "role",
900
- type: "bytes32",
901
- },
902
- {
903
- internalType: "address",
904
- name: "account",
905
- type: "address",
906
- },
907
- ],
908
- name: "renounceRole",
909
- outputs: [],
910
- stateMutability: "nonpayable",
911
- type: "function",
912
- },
913
- {
914
- inputs: [
915
- {
916
- internalType: "address",
917
- name: "user",
918
- type: "address",
919
- },
920
- ],
921
- name: "revokeMinterRole",
922
- outputs: [],
923
- stateMutability: "nonpayable",
924
- type: "function",
925
- },
926
- {
927
- inputs: [
928
- {
929
- internalType: "bytes32",
930
- name: "role",
931
- type: "bytes32",
932
- },
933
- {
934
- internalType: "address",
935
- name: "account",
936
- type: "address",
937
- },
938
- ],
939
- name: "revokeRole",
940
- outputs: [],
941
- stateMutability: "nonpayable",
942
- type: "function",
943
- },
944
- {
945
- inputs: [
946
- {
947
- internalType: "uint256",
948
- name: "tokenId",
949
- type: "uint256",
950
- },
951
- {
952
- internalType: "uint256",
953
- name: "salePrice",
954
- type: "uint256",
955
- },
956
- ],
957
- name: "royaltyInfo",
958
- outputs: [
959
- {
960
- internalType: "address",
961
- name: "",
962
- type: "address",
963
- },
964
- {
965
- internalType: "uint256",
966
- name: "",
967
- type: "uint256",
968
- },
969
- ],
970
- stateMutability: "view",
971
- type: "function",
972
- },
973
- {
974
- inputs: [
975
- {
976
- internalType: "address",
977
- name: "owner",
978
- type: "address",
979
- },
980
- {
981
- internalType: "uint256",
982
- name: "tokenId",
983
- type: "uint256",
984
- },
985
- ],
986
- name: "safeBurn",
987
- outputs: [],
988
- stateMutability: "nonpayable",
989
- type: "function",
990
- },
991
- {
992
- inputs: [
993
- {
994
- components: [
995
- {
996
- internalType: "address",
997
- name: "owner",
998
- type: "address",
999
- },
1000
- {
1001
- internalType: "uint256[]",
1002
- name: "tokenIds",
1003
- type: "uint256[]",
1004
- },
1005
- ],
1006
- internalType: "struct ImmutableERC721Base.IDBurn[]",
1007
- name: "burns",
1008
- type: "tuple[]",
1009
- },
1010
- ],
1011
- name: "safeBurnBatch",
1012
- outputs: [],
1013
- stateMutability: "nonpayable",
1014
- type: "function",
1015
- },
1016
- {
1017
- inputs: [
1018
- {
1019
- internalType: "address",
1020
- name: "to",
1021
- type: "address",
1022
- },
1023
- {
1024
- internalType: "uint256",
1025
- name: "tokenID",
1026
- type: "uint256",
1027
- },
1028
- ],
1029
- name: "safeMint",
1030
- outputs: [],
1031
- stateMutability: "nonpayable",
1032
- type: "function",
1033
- },
1034
- {
1035
- inputs: [
1036
- {
1037
- components: [
1038
- {
1039
- internalType: "address",
1040
- name: "to",
1041
- type: "address",
1042
- },
1043
- {
1044
- internalType: "uint256[]",
1045
- name: "tokenIds",
1046
- type: "uint256[]",
1047
- },
1048
- ],
1049
- internalType: "struct ImmutableERC721Base.IDMint[]",
1050
- name: "mintRequests",
1051
- type: "tuple[]",
1052
- },
1053
- ],
1054
- name: "safeMintBatch",
1055
- outputs: [],
1056
- stateMutability: "nonpayable",
1057
- type: "function",
1058
- },
1059
- {
1060
- inputs: [
1061
- {
1062
- internalType: "address",
1063
- name: "from",
1064
- type: "address",
1065
- },
1066
- {
1067
- internalType: "address",
1068
- name: "to",
1069
- type: "address",
1070
- },
1071
- {
1072
- internalType: "uint256",
1073
- name: "tokenId",
1074
- type: "uint256",
1075
- },
1076
- ],
1077
- name: "safeTransferFrom",
1078
- outputs: [],
1079
- stateMutability: "nonpayable",
1080
- type: "function",
1081
- },
1082
- {
1083
- inputs: [
1084
- {
1085
- internalType: "address",
1086
- name: "from",
1087
- type: "address",
1088
- },
1089
- {
1090
- internalType: "address",
1091
- name: "to",
1092
- type: "address",
1093
- },
1094
- {
1095
- internalType: "uint256",
1096
- name: "tokenId",
1097
- type: "uint256",
1098
- },
1099
- {
1100
- internalType: "bytes",
1101
- name: "data",
1102
- type: "bytes",
1103
- },
1104
- ],
1105
- name: "safeTransferFrom",
1106
- outputs: [],
1107
- stateMutability: "nonpayable",
1108
- type: "function",
1109
- },
1110
- {
1111
- inputs: [
1112
- {
1113
- components: [
1114
- {
1115
- internalType: "address",
1116
- name: "from",
1117
- type: "address",
1118
- },
1119
- {
1120
- internalType: "address[]",
1121
- name: "tos",
1122
- type: "address[]",
1123
- },
1124
- {
1125
- internalType: "uint256[]",
1126
- name: "tokenIds",
1127
- type: "uint256[]",
1128
- },
1129
- ],
1130
- internalType: "struct ImmutableERC721Base.TransferRequest",
1131
- name: "tr",
1132
- type: "tuple",
1133
- },
1134
- ],
1135
- name: "safeTransferFromBatch",
1136
- outputs: [],
1137
- stateMutability: "nonpayable",
1138
- type: "function",
1139
- },
1140
- {
1141
- inputs: [
1142
- {
1143
- internalType: "address",
1144
- name: "operator",
1145
- type: "address",
1146
- },
1147
- {
1148
- internalType: "bool",
1149
- name: "approved",
1150
- type: "bool",
1151
- },
1152
- ],
1153
- name: "setApprovalForAll",
1154
- outputs: [],
1155
- stateMutability: "nonpayable",
1156
- type: "function",
1157
- },
1158
- {
1159
- inputs: [
1160
- {
1161
- internalType: "string",
1162
- name: "baseURI_",
1163
- type: "string",
1164
- },
1165
- ],
1166
- name: "setBaseURI",
1167
- outputs: [],
1168
- stateMutability: "nonpayable",
1169
- type: "function",
1170
- },
1171
- {
1172
- inputs: [
1173
- {
1174
- internalType: "string",
1175
- name: "_contractURI",
1176
- type: "string",
1177
- },
1178
- ],
1179
- name: "setContractURI",
1180
- outputs: [],
1181
- stateMutability: "nonpayable",
1182
- type: "function",
1183
- },
1184
- {
1185
- inputs: [
1186
- {
1187
- internalType: "address",
1188
- name: "receiver",
1189
- type: "address",
1190
- },
1191
- {
1192
- internalType: "uint96",
1193
- name: "feeNumerator",
1194
- type: "uint96",
1195
- },
1196
- ],
1197
- name: "setDefaultRoyaltyReceiver",
1198
- outputs: [],
1199
- stateMutability: "nonpayable",
1200
- type: "function",
1201
- },
1202
- {
1203
- inputs: [
1204
- {
1205
- internalType: "uint256",
1206
- name: "tokenId",
1207
- type: "uint256",
1208
- },
1209
- {
1210
- internalType: "address",
1211
- name: "receiver",
1212
- type: "address",
1213
- },
1214
- {
1215
- internalType: "uint96",
1216
- name: "feeNumerator",
1217
- type: "uint96",
1218
- },
1219
- ],
1220
- name: "setNFTRoyaltyReceiver",
1221
- outputs: [],
1222
- stateMutability: "nonpayable",
1223
- type: "function",
1224
- },
1225
- {
1226
- inputs: [
1227
- {
1228
- internalType: "uint256[]",
1229
- name: "tokenIds",
1230
- type: "uint256[]",
1231
- },
1232
- {
1233
- internalType: "address",
1234
- name: "receiver",
1235
- type: "address",
1236
- },
1237
- {
1238
- internalType: "uint96",
1239
- name: "feeNumerator",
1240
- type: "uint96",
1241
- },
1242
- ],
1243
- name: "setNFTRoyaltyReceiverBatch",
1244
- outputs: [],
1245
- stateMutability: "nonpayable",
1246
- type: "function",
1247
- },
1248
- {
1249
- inputs: [
1250
- {
1251
- internalType: "address",
1252
- name: "_operatorAllowlist",
1253
- type: "address",
1254
- },
1255
- ],
1256
- name: "setOperatorAllowlistRegistry",
1257
- outputs: [],
1258
- stateMutability: "nonpayable",
1259
- type: "function",
1260
- },
1261
- {
1262
- inputs: [
1263
- {
1264
- internalType: "bytes4",
1265
- name: "interfaceId",
1266
- type: "bytes4",
1267
- },
1268
- ],
1269
- name: "supportsInterface",
1270
- outputs: [
1271
- {
1272
- internalType: "bool",
1273
- name: "",
1274
- type: "bool",
1275
- },
1276
- ],
1277
- stateMutability: "view",
1278
- type: "function",
1279
- },
1280
- {
1281
- inputs: [],
1282
- name: "symbol",
1283
- outputs: [
1284
- {
1285
- internalType: "string",
1286
- name: "",
1287
- type: "string",
1288
- },
1289
- ],
1290
- stateMutability: "view",
1291
- type: "function",
1292
- },
1293
- {
1294
- inputs: [
1295
- {
1296
- internalType: "uint256",
1297
- name: "tokenId",
1298
- type: "uint256",
1299
- },
1300
- ],
1301
- name: "tokenURI",
1302
- outputs: [
1303
- {
1304
- internalType: "string",
1305
- name: "",
1306
- type: "string",
1307
- },
1308
- ],
1309
- stateMutability: "view",
1310
- type: "function",
1311
- },
1312
- {
1313
- inputs: [],
1314
- name: "totalSupply",
1315
- outputs: [
1316
- {
1317
- internalType: "uint256",
1318
- name: "",
1319
- type: "uint256",
1320
- },
1321
- ],
1322
- stateMutability: "view",
1323
- type: "function",
1324
- },
1325
- {
1326
- inputs: [
1327
- {
1328
- internalType: "address",
1329
- name: "from",
1330
- type: "address",
1331
- },
1332
- {
1333
- internalType: "address",
1334
- name: "to",
1335
- type: "address",
1336
- },
1337
- {
1338
- internalType: "uint256",
1339
- name: "tokenId",
1340
- type: "uint256",
1341
- },
1342
- ],
1343
- name: "transferFrom",
1344
- outputs: [],
1345
- stateMutability: "nonpayable",
1346
- type: "function",
1347
- },
1348
- ];
1349
- const _bytecode$1 = "0x6101606040523480156200001257600080fd5b5060405162004b3738038062004b37833981016040819052620000359162000693565b8787878787878787868681604051806040016040528060018152602001603160f81b815250838381600390816200006d919062000826565b5060046200007c828262000826565b5050506200009a600983620001a960201b620014771790919060201c565b61012052620000b781600a620001a9602090811b6200147717901c565b61014052815160208084019190912060e052815190820120610100524660a0526200014560e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506200015e9050600089620001f9565b6200016a82826200023c565b620001758362000341565b600f62000183868262000826565b50600e62000192858262000826565b505050505050505050505050505050505062000970565b6000602083511015620001c957620001c1836200043a565b9050620001f3565b82620001e0836200047d60201b620014a81760201c565b90620001ed908262000826565b5060ff90505b92915050565b6200021082826200048060201b620014ab1760201c565b6000828152600160209081526040909120620002379183906200152f62000521821b17901c565b505050565b6127106001600160601b0382161115620002b05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003085760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620002a7565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b6040516301ffc9a760e01b81526305a3b80960e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200038d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003b39190620008f2565b620003d15760405163d6f93fb760e01b815260040160405180910390fd5b600254604080516001600160a01b03928316815291831660208301527f3edc37a14cc8047c7c8a3f354311efe86c14848efd4e3765a3e1e57eea04ea76910160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b600080829050601f8151111562000468578260405163305a27a960e01b8152600401620002a7919062000916565b805162000475826200094b565b179392505050565b90565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200051d576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620004dc3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000538836001600160a01b0384166200053f565b9392505050565b60008181526001830160205260408120546200058857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620001f3565b506000620001f3565b80516001600160a01b0381168114620005a957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620005e1578181015183820152602001620005c7565b50506000910152565b600082601f830112620005fc57600080fd5b81516001600160401b0380821115620006195762000619620005ae565b604051601f8301601f19908116603f01168101908282118183101715620006445762000644620005ae565b816040528381528660208588010111156200065e57600080fd5b62000671846020830160208901620005c4565b9695505050505050565b80516001600160601b0381168114620005a957600080fd5b600080600080600080600080610100898b031215620006b157600080fd5b620006bc8962000591565b60208a01519098506001600160401b0380821115620006da57600080fd5b620006e88c838d01620005ea565b985060408b0151915080821115620006ff57600080fd5b6200070d8c838d01620005ea565b975060608b01519150808211156200072457600080fd5b620007328c838d01620005ea565b965060808b01519150808211156200074957600080fd5b50620007588b828c01620005ea565b9450506200076960a08a0162000591565b92506200077960c08a0162000591565b91506200078960e08a016200067b565b90509295985092959890939650565b600181811c90821680620007ad57607f821691505b602082108103620007ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620007fd5750805b601f850160051c820191505b818110156200081e5782815560010162000809565b505050505050565b81516001600160401b03811115620008425762000842620005ae565b6200085a8162000853845462000798565b84620007d4565b602080601f831160018114620008925760008415620008795750858301515b600019600386901b1c1916600185901b1785556200081e565b600085815260208120601f198616915b82811015620008c357888601518255948401946001909101908401620008a2565b5085821015620008e25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200090557600080fd5b815180151581146200053857600080fd5b602081526000825180602084015262000937816040850160208701620005c4565b601f01601f19169190910160400192915050565b80516020808301519190811015620007ce5760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161416c620009cb6000396000610fdc01526000610fb101526000611b3401526000611b0c01526000611a6701526000611a9101526000611abb015261416c6000f3fe608060405234801561001057600080fd5b50600436106102f05760003560e01c806369e2f0fb1161019d578063a1448194116100e9578063ca15c873116100a2578063e4623c1b1161007c578063e4623c1b146106b8578063e4e18f6d146106cb578063e8a3d485146106de578063e985e9c5146106e657600080fd5b8063ca15c8731461067d578063d539139314610690578063d547741f146106a557600080fd5b8063a144819414610616578063a217fddf14610629578063a22cb46514610631578063a701281614610644578063b88d4fde14610657578063c87b56dd1461066a57600080fd5b8063885e7a0811610156578063938e3d7b11610130578063938e3d7b146105d557806395d89b41146105e85780639e2641a3146105f05780639f15d7001461060357600080fd5b8063885e7a081461059c5780639010d07c146105af57806391d14854146105c257600080fd5b806369e2f0fb1461052d5780636c0360eb1461054057806370a0823114610548578063745a41bc1461055b57806374f16a811461056e57806384b0196e1461058157600080fd5b80632f2ff15d1161025c5780633eaaf86b1161021557806342966c68116101ef57806342966c68146104e1578063439aed34146104f457806355f804b3146105075780636352211e1461051a57600080fd5b80633eaaf86b146104b257806340c10f19146104bb57806342842e0e146104ce57600080fd5b80632f2ff15d1461044957806331ae450b1461045c5780633644e5151461047157806336568abe146104795780633dd1eb611461048c5780633e769acd1461049f57600080fd5b806318160ddd116102ae57806318160ddd146103b3578063234af046146103bb57806323b872dd146103ce578063248a9ca3146103e157806329326f29146104045780632a55205a1461041757600080fd5b80628ad946146102f557806301ffc9a71461030a57806306fdde0314610332578063081812fc14610347578063095ea7b314610372578063141a468c14610385575b600080fd5b610308610303366004613441565b610722565b005b61031d610318366004613491565b6107f8565b60405190151581526020015b60405180910390f35b61033a610809565b60405161032991906134fe565b61035a610355366004613511565b61089b565b6040516001600160a01b039091168152602001610329565b610308610380366004613546565b6108c2565b6103a5610393366004613511565b6000908152600b602052604090205490565b604051908152602001610329565b6010546103a5565b6103086103c9366004613712565b6109dc565b6103086103dc36600461375a565b610a34565b6103a56103ef366004613511565b60009081526020819052604090206001015490565b60025461035a906001600160a01b031681565b61042a610425366004613796565b610a66565b604080516001600160a01b039093168352602083019190915201610329565b6103086104573660046137b8565b610b14565b610464610b39565b60405161032991906137e4565b6103a5610be7565b6103086104873660046137b8565b610bf6565b61030861049a366004613831565b610c70565b6103086104ad366004613712565b610c93565b6103a560105481565b6103086104c9366004613546565b610d1f565b6103086104dc36600461375a565b610d5b565b6103086104ef366004613511565b610d76565b610308610502366004613863565b610db4565b6103086105153660046138f6565b610ddd565b61035a610528366004613511565b610df4565b61030861053b366004613831565b610e54565b61033a610e77565b6103a5610556366004613831565b610f05565b61030861056936600461395e565b610f8b565b61030861057c366004613712565b610f97565b610589610fa3565b60405161032997969594939291906139be565b6103086105aa366004613a54565b61102c565b61035a6105bd366004613796565b611041565b61031d6105d03660046137b8565b611060565b6103086105e33660046138f6565b611089565b61033a6110a0565b6103086105fe366004613712565b6110af565b610308610611366004613546565b611107565b610308610624366004613546565b611161565b6103a5600081565b61030861063f366004613a8c565b611193565b610308610652366004613b07565b6112e4565b610308610665366004613b6b565b611344565b61033a610678366004613511565b611376565b6103a561068b366004613511565b6113dc565b6103a56a4d494e5445525f524f4c4560a81b81565b6103086106b33660046137b8565b6113f3565b6103086106c6366004613bba565b611418565b6103086106d9366004613831565b611456565b61033a61146a565b61031d6106f4366004613bfb565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61072f6020820182613c25565b905061073e6040830183613c25565b90501461075e5760405163359a1bc360e01b815260040160405180910390fd5b60005b61076e6040830183613c25565b90508110156107f4576107e26107876020840184613831565b6107946020850185613c25565b848181106107a4576107a4613c6e565b90506020020160208101906107b99190613831565b6107c66040860186613c25565b858181106107d6576107d6613c6e565b90506020020135610d5b565b806107ec81613c9a565b915050610761565b5050565b600061080382611544565b92915050565b60606003805461081890613cb3565b80601f016020809104026020016040519081016040528092919081815260200182805461084490613cb3565b80156108915780601f1061086657610100808354040283529160200191610891565b820191906000526020600020905b81548152906001019060200180831161087457829003601f168201915b5050505050905090565b60006108a682611569565b506000908152600760205260409020546001600160a01b031690565b60006108cd82610df4565b9050806001600160a01b0316836001600160a01b03160361093f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061095b575061095b81336106f4565b6109cd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610936565b6109d783836115c8565b505050565b6a4d494e5445525f524f4c4560a81b6109f481611719565b60005b82518110156109d757610a22838281518110610a1557610a15613c6e565b6020026020010151611723565b80610a2c81613c9a565b9150506109f7565b610a3f335b826117b2565b610a5b5760405162461bcd60e51b815260040161093690613ced565b6109d7838383611831565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610adb575060408051808201909152600c546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610afa906001600160601b031687613d3a565b610b049190613d51565b91519350909150505b9250929050565b600082815260208190526040902060010154610b2f81611719565b6109d78383611a38565b60606000610b46816113dc565b90506000816001600160401b03811115610b6257610b62613570565b604051908082528060200260200182016040528015610b8b578160200160208202803683370190505b50905060005b82811015610be057610ba4600082611041565b828281518110610bb657610bb6613c6e565b6001600160a01b039092166020928302919091019091015280610bd881613c9a565b915050610b91565b5092915050565b6000610bf1611a5a565b905090565b6001600160a01b0381163314610c665760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610936565b6107f48282611b85565b6000610c7b81611719565b6107f46a4d494e5445525f524f4c4560a81b83610b14565b60005b81518110156107f4576000828281518110610cb357610cb3613c6e565b6020026020010151905060005b816020015151811015610d0a57610cf8826000015183602001518381518110610ceb57610ceb613c6e565b6020026020010151611107565b80610d0281613c9a565b915050610cc0565b50508080610d1790613c9a565b915050610c96565b6a4d494e5445525f524f4c4560a81b610d3781611719565b610d418383611ba7565b60108054906000610d5183613c9a565b9190505550505050565b6109d783838360405180602001604052806000815250611344565b610d7f81611bee565b600881901c60009081526011602052604081208054600160ff85161b1790556010805491610dac83613d73565b919050555050565b6a4d494e5445525f524f4c4560a81b610dcc81611719565b610dd7848484611c1c565b50505050565b6000610de881611719565b600f6109d78382613dd0565b6000818152600560205260408120546001600160a01b0316806108035760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610936565b6000610e5f81611719565b6107f46a4d494e5445525f524f4c4560a81b836113f3565b600f8054610e8490613cb3565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb090613cb3565b8015610efd5780601f10610ed257610100808354040283529160200191610efd565b820191906000526020600020905b815481529060010190602001808311610ee057829003601f168201915b505050505081565b60006001600160a01b038216610f6f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610936565b506001600160a01b031660009081526006602052604090205490565b610dd784848484611ce7565b610fa081610c93565b50565b600060608082808083610fd77f00000000000000000000000000000000000000000000000000000000000000006009611dd0565b6110027f0000000000000000000000000000000000000000000000000000000000000000600a611dd0565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b600061103781611719565b6109d78383611e74565b60008281526001602052604081206110599083611f2e565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600061109481611719565b600e6109d78382613dd0565b60606004805461081890613cb3565b6a4d494e5445525f524f4c4560a81b6110c781611719565b60005b82518110156109d7576110f58382815181106110e8576110e8613c6e565b6020026020010151611f3a565b806110ff81613c9a565b9150506110ca565b600061111282610df4565b9050826001600160a01b0316816001600160a01b03161461115857604051634fefd56160e01b8152600481018390526001600160a01b0382166024820152604401610936565b6109d782610d76565b6a4d494e5445525f524f4c4560a81b61117981611719565b610d41838360405180602001604052806000815250611fb0565b81333b1580159061120d57506002546040516305a3b80960e01b81523360048201526001600160a01b03909116906305a3b80990602401602060405180830381865afa1580156111e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120b9190613e8f565b155b1561122d5760405163f6fa4cbd60e01b8152336004820152602401610936565b6001600160a01b0381163b158015906112b157506002546040516305a3b80960e01b81526001600160a01b038381166004830152909116906305a3b80990602401602060405180830381865afa15801561128b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112af9190613e8f565b155b156112da576040516341b8d58160e11b81526001600160a01b0382166004820152602401610936565b6109d78383611fe3565b6a4d494e5445525f524f4c4560a81b6112fc81611719565b60005b8481101561133c5761132a86868381811061131c5761131c613c6e565b905060200201358585611c1c565b8061133481613c9a565b9150506112ff565b505050505050565b61134e33836117b2565b61136a5760405162461bcd60e51b815260040161093690613ced565b610dd784848484611fee565b606061138182611569565b600061138b612021565b905060008151116113ab5760405180602001604052806000815250611059565b806113b584612030565b6040516020016113c6929190613eac565b6040516020818303038152906040529392505050565b6000818152600160205260408120610803906120c2565b60008281526020819052604090206001015461140e81611719565b6109d78383611b85565b60005b818110156109d75761144483838381811061143857611438613c6e565b90506020020135610d76565b8061144e81613c9a565b91505061141b565b600061146181611719565b6107f4826120cc565b600e8054610e8490613cb3565b60006020835110156114935761148c836121c1565b9050610803565b8161149e8482613dd0565b5060ff9050610803565b90565b6114b58282611060565b6107f4576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556114eb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611059836001600160a01b0384166121ff565b60006001600160e01b0319821663152a902d60e11b148061080357506108038261224e565b6000818152600560205260409020546001600160a01b0316610fa05760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610936565b81333b1580159061164257506002546040516305a3b80960e01b81523360048201526001600160a01b03909116906305a3b80990602401602060405180830381865afa15801561161c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116409190613e8f565b155b156116625760405163f6fa4cbd60e01b8152336004820152602401610936565b6001600160a01b0381163b158015906116e657506002546040516305a3b80960e01b81526001600160a01b038381166004830152909116906305a3b80990602401602060405180830381865afa1580156116c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e49190613e8f565b155b1561170f576040516341b8d58160e11b81526001600160a01b0382166004820152602401610936565b6109d78383612273565b610fa081336122e1565b80516001600160a01b031661174b576040516331c3e52960e11b815260040160405180910390fd5b60005b8160200151518110156117985761178682600001518360200151838151811061177957611779613c6e565b602002602001015161233a565b8061179081613c9a565b91505061174e565b508060200151516010546117ac9190613edb565b60105550565b6000806117be83610df4565b9050806001600160a01b0316846001600160a01b0316148061180557506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff165b806118295750836001600160a01b031661181e8461089b565b6001600160a01b0316145b949350505050565b82823332148015906118ac57506002546040516305a3b80960e01b81523360048201526001600160a01b03909116906305a3b80990602401602060405180830381865afa158015611886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118aa9190613e8f565b155b156118cc5760405163937db65f60e01b8152336004820152602401610936565b6001600160a01b0382163b1580159061195057506002546040516305a3b80960e01b81526001600160a01b038481166004830152909116906305a3b80990602401602060405180830381865afa15801561192a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194e9190613e8f565b155b156119795760405163f934453160e01b81526001600160a01b0383166004820152602401610936565b6001600160a01b0381163b158015906119fd57506002546040516305a3b80960e01b81526001600160a01b038381166004830152909116906305a3b80990602401602060405180830381865afa1580156119d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fb9190613e8f565b155b15611a2657604051632a67242160e11b81526001600160a01b0382166004820152602401610936565b611a31858585612381565b5050505050565b611a4282826114ab565b60008281526001602052604090206109d7908261152f565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611ab357507f000000000000000000000000000000000000000000000000000000000000000046145b15611add57507f000000000000000000000000000000000000000000000000000000000000000090565b610bf1604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b611b8f82826123ab565b60008281526001602052604090206109d79082612410565b600881901c600090815260116020526040902054600160ff83161b1615611be4576040516305dcda1160e51b815260048101829052602401610936565b6107f48282612425565b611bf733610a39565b611c135760405162461bcd60e51b815260040161093690613ced565b610fa0816125b0565b6127106001600160601b0382161115611c475760405162461bcd60e51b815260040161093690613eee565b6001600160a01b038216611c9d5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610936565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600d90529190942093519051909116600160a01b029116179055565b42821015611d085760405163068568f360e21b815260040160405180910390fd5b6000611d15858585612645565b9050611d2a611d2385610df4565b828461271e565b15611d3f57611d3985856115c8565b50610dd7565b60008251604003611d8657611d7f82611d5b8560006020612828565b611d6490613f38565b611d718660206040612828565b611d7a90613f38565b612935565b9050611db2565b8251604103611d9957611d7f8284612952565b604051638baa579f60e01b815260040160405180910390fd5b611dbc8186612976565b15611d9957611dcb86866115c8565b61133c565b606060ff8314611de35761148c83612995565b818054611def90613cb3565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1b90613cb3565b8015611e685780601f10611e3d57610100808354040283529160200191611e68565b820191906000526020600020905b815481529060010190602001808311611e4b57829003601f168201915b50505050509050610803565b6127106001600160601b0382161115611e9f5760405162461bcd60e51b815260040161093690613eee565b6001600160a01b038216611ef55760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610936565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b600061105983836129d4565b80516001600160a01b031615611f63576040516331c3e52960e11b815260040160405180910390fd5b60005b81602001515181101561179857611f9e826000015183602001518381518110611f9157611f91613c6e565b6020026020010151611ba7565b80611fa881613c9a565b915050611f66565b611fba8383611ba7565b611fc760008484846129fe565b6109d75760405162461bcd60e51b815260040161093690613f5c565b6107f4338383612aff565b611ff9848484611831565b612005848484846129fe565b610dd75760405162461bcd60e51b815260040161093690613f5c565b6060600f805461081890613cb3565b6060600061203d83612bcd565b60010190506000816001600160401b0381111561205c5761205c613570565b6040519080825280601f01601f191660200182016040528015612086576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461209057509392505050565b6000610803825490565b6040516301ffc9a760e01b81526305a3b80960e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa158015612117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213b9190613e8f565b6121585760405163d6f93fb760e01b815260040160405180910390fd5b600254604080516001600160a01b03928316815291831660208301527f3edc37a14cc8047c7c8a3f354311efe86c14848efd4e3765a3e1e57eea04ea76910160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b600080829050601f815111156121ec578260405163305a27a960e01b815260040161093691906134fe565b80516121f782613f38565b179392505050565b600081815260018301602052604081205461224657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610803565b506000610803565b60006001600160e01b03198216635604e22560e01b1480610803575061080382612ca5565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906122a882610df4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6122eb8282611060565b6107f4576122f881612ce5565b612303836020612cf7565b604051602001612314929190613fae565b60408051601f198184030181529082905262461bcd60e51b8252610936916004016134fe565b600881901c600090815260116020526040902054600160ff83161b1615612377576040516305dcda1160e51b815260048101829052602401610936565b6107f48282612e92565b6000818152600b6020526040812080549161239b83613c9a565b91905055506109d7838383612eac565b6123b58282611060565b156107f4576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611059836001600160a01b038416613010565b6001600160a01b03821661247b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610936565b6000818152600560205260409020546001600160a01b0316156124e05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610936565b6000818152600560205260409020546001600160a01b0316156125455760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610936565b6001600160a01b038216600081815260066020908152604080832080546001019055848352600590915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006125bb82610df4565b90506125c682610df4565b600083815260076020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526006845282852080546000190190558785526005909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006118296040516020016126b390660a0cae4dad2e8560cb1b81527f61646472657373207370656e6465722c75696e7432353620746f6b656e49642c60078201527f75696e74323536206e6f6e63652c75696e7432353620646561646c696e652900602782015260460190565b60408051808303601f1901815282825280516020918201206000888152600b835283902054918401526001600160a01b0388169183019190915260608201869052608082015260a0810184905260c00160405160208183030381529060405280519060200120613103565b6000806000856001600160a01b0316631626ba7e60e01b8686604051602401612748929190614023565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051612786919061403c565b600060405180830381855afa9150503d80600081146127c1576040519150601f19603f3d011682016040523d82523d6000602084013e6127c6565b606091505b50915091508180156127d9575080516020145b1561281c576000818060200190518101906127f49190614058565b90506374eca2c160e11b6001600160e01b031982160161281a5760019350505050611059565b505b50600095945050505050565b60608161283681601f613edb565b10156128755760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610936565b61287f8284613edb565b845110156128c35760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610936565b6060821580156128e2576040519150600082526020820160405261292c565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561291b578051835260209283019201612903565b5050858452601f01601f1916604052505b50949350505050565b6000806000612945868686613130565b9150915061292c81613169565b600080600061296185856132b3565b9150915061296e81613169565b509392505050565b60006001600160a01b03831615801590611059575061105983836117b2565b606060006129a2836132f5565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b60008260000182815481106129eb576129eb613c6e565b9060005260206000200154905092915050565b60006001600160a01b0384163b15612af457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612a42903390899088908890600401614075565b6020604051808303816000875af1925050508015612a7d575060408051601f3d908101601f19168201909252612a7a91810190614058565b60015b612ada573d808015612aab576040519150601f19603f3d011682016040523d82523d6000602084013e612ab0565b606091505b508051600003612ad25760405162461bcd60e51b815260040161093690613f5c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611829565b506001949350505050565b816001600160a01b0316836001600160a01b031603612b605760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610936565b6001600160a01b03838116600081815260086020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612c0c5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612c38576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612c5657662386f26fc10000830492506010015b6305f5e1008310612c6e576305f5e100830492506008015b6127108310612c8257612710830492506004015b60648310612c94576064830492506002015b600a83106108035760010192915050565b60006001600160e01b031982166380ac58cd60e01b1480612cd657506001600160e01b03198216635b5e139f60e01b145b8061080357506108038261331d565b60606108036001600160a01b03831660145b60606000612d06836002613d3a565b612d11906002613edb565b6001600160401b03811115612d2857612d28613570565b6040519080825280601f01601f191660200182016040528015612d52576020820181803683370190505b509050600360fc1b81600081518110612d6d57612d6d613c6e565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612d9c57612d9c613c6e565b60200101906001600160f81b031916908160001a9053506000612dc0846002613d3a565b612dcb906001613edb565b90505b6001811115612e43576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612dff57612dff613c6e565b1a60f81b828281518110612e1557612e15613c6e565b60200101906001600160f81b031916908160001a90535060049490941c93612e3c81613d73565b9050612dce565b5083156110595760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610936565b6107f4828260405180602001604052806000815250611fb0565b826001600160a01b0316612ebf82610df4565b6001600160a01b031614612ee55760405162461bcd60e51b8152600401610936906140b2565b6001600160a01b038216612f475760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610936565b826001600160a01b0316612f5a82610df4565b6001600160a01b031614612f805760405162461bcd60e51b8152600401610936906140b2565b600081815260076020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260068552838620805460001901905590871680865283862080546001019055868652600590945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081815260018301602052604081205480156130f95760006130346001836140f7565b8554909150600090613048906001906140f7565b90508181146130ad57600086600001828154811061306857613068613c6e565b906000526020600020015490508087600001848154811061308b5761308b613c6e565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806130be576130be61410a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610803565b6000915050610803565b6000610803613110611a5a565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806001600160ff1b0383168161314d60ff86901c601b613edb565b905061315b87828885613328565b935093505050935093915050565b600081600481111561317d5761317d614120565b036131855750565b600181600481111561319957613199614120565b036131e65760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610936565b60028160048111156131fa576131fa614120565b036132475760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610936565b600381600481111561325b5761325b614120565b03610fa05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610936565b60008082516041036132e95760208301516040840151606085015160001a6132dd87828585613328565b94509450505050610b0d565b50600090506002610b0d565b600060ff8216601f81111561080357604051632cd44ac360e21b815260040160405180910390fd5b6000610803826133ec565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561335f57506000905060036133e3565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156133b3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166133dc576000600192509250506133e3565b9150600090505b94509492505050565b60006001600160e01b03198216635a05180f60e01b148061080357506108038260006001600160e01b03198216637965db0b60e01b148061080357506301ffc9a760e01b6001600160e01b0319831614610803565b60006020828403121561345357600080fd5b81356001600160401b0381111561346957600080fd5b82016060818503121561105957600080fd5b6001600160e01b031981168114610fa057600080fd5b6000602082840312156134a357600080fd5b81356110598161347b565b60005b838110156134c95781810151838201526020016134b1565b50506000910152565b600081518084526134ea8160208601602086016134ae565b601f01601f19169290920160200192915050565b60208152600061105960208301846134d2565b60006020828403121561352357600080fd5b5035919050565b80356001600160a01b038116811461354157600080fd5b919050565b6000806040838503121561355957600080fd5b6135628361352a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156135a8576135a8613570565b60405290565b604051601f8201601f191681016001600160401b03811182821017156135d6576135d6613570565b604052919050565b60006001600160401b038211156135f7576135f7613570565b5060051b60200190565b600061361461360f846135de565b6135ae565b8381529050602080820190600585811b85018781111561363357600080fd5b855b818110156137065780356001600160401b03808211156136555760008081fd5b908801906040828c03121561366a5760008081fd5b613672613586565b61367b8361352a565b8152868301358281111561368f5760008081fd5b8084019350508b601f8401126136a757600091508182fd5b823591506136b761360f836135de565b82815291861b8301870191878101908d8411156136d45760008081fd5b938801935b838510156136f2578435825293880193908801906136d9565b828901525087525050938301938301613635565b50505050509392505050565b60006020828403121561372457600080fd5b81356001600160401b0381111561373a57600080fd5b8201601f8101841361374b57600080fd5b61182984823560208401613601565b60008060006060848603121561376f57600080fd5b6137788461352a565b92506137866020850161352a565b9150604084013590509250925092565b600080604083850312156137a957600080fd5b50508035926020909101359150565b600080604083850312156137cb57600080fd5b823591506137db6020840161352a565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156138255783516001600160a01b031683529284019291840191600101613800565b50909695505050505050565b60006020828403121561384357600080fd5b6110598261352a565b80356001600160601b038116811461354157600080fd5b60008060006060848603121561387857600080fd5b833592506138886020850161352a565b91506138966040850161384c565b90509250925092565b60006001600160401b038311156138b8576138b8613570565b6138cb601f8401601f19166020016135ae565b90508281528383830111156138df57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561390857600080fd5b81356001600160401b0381111561391e57600080fd5b8201601f8101841361392f57600080fd5b6118298482356020840161389f565b600082601f83011261394f57600080fd5b6110598383356020850161389f565b6000806000806080858703121561397457600080fd5b61397d8561352a565b9350602085013592506040850135915060608501356001600160401b038111156139a657600080fd5b6139b28782880161393e565b91505092959194509250565b60ff60f81b881681526000602060e0818401526139de60e084018a6134d2565b83810360408501526139f0818a6134d2565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015613a4257835183529284019291840191600101613a26565b50909c9b505050505050505050505050565b60008060408385031215613a6757600080fd5b613a708361352a565b91506137db6020840161384c565b8015158114610fa057600080fd5b60008060408385031215613a9f57600080fd5b613aa88361352a565b91506020830135613ab881613a7e565b809150509250929050565b60008083601f840112613ad557600080fd5b5081356001600160401b03811115613aec57600080fd5b6020830191508360208260051b8501011115610b0d57600080fd5b60008060008060608587031215613b1d57600080fd5b84356001600160401b03811115613b3357600080fd5b613b3f87828801613ac3565b9095509350613b5290506020860161352a565b9150613b606040860161384c565b905092959194509250565b60008060008060808587031215613b8157600080fd5b613b8a8561352a565b9350613b986020860161352a565b92506040850135915060608501356001600160401b038111156139a657600080fd5b60008060208385031215613bcd57600080fd5b82356001600160401b03811115613be357600080fd5b613bef85828601613ac3565b90969095509350505050565b60008060408385031215613c0e57600080fd5b613c178361352a565b91506137db6020840161352a565b6000808335601e19843603018112613c3c57600080fd5b8301803591506001600160401b03821115613c5657600080fd5b6020019150600581901b3603821315610b0d57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613cac57613cac613c84565b5060010190565b600181811c90821680613cc757607f821691505b602082108103613ce757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b808202811582820484141761080357610803613c84565b600082613d6e57634e487b7160e01b600052601260045260246000fd5b500490565b600081613d8257613d82613c84565b506000190190565b601f8211156109d757600081815260208120601f850160051c81016020861015613db15750805b601f850160051c820191505b8181101561133c57828155600101613dbd565b81516001600160401b03811115613de957613de9613570565b613dfd81613df78454613cb3565b84613d8a565b602080601f831160018114613e325760008415613e1a5750858301515b600019600386901b1c1916600185901b17855561133c565b600085815260208120601f198616915b82811015613e6157888601518255948401946001909101908401613e42565b5085821015613e7f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613ea157600080fd5b815161105981613a7e565b60008351613ebe8184602088016134ae565b835190830190613ed28183602088016134ae565b01949350505050565b8082018082111561080357610803613c84565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b80516020808301519190811015613ce75760001960209190910360031b1b16919050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613fe68160178501602088016134ae565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516140178160288401602088016134ae565b01602801949350505050565b82815260406020820152600061182960408301846134d2565b6000825161404e8184602087016134ae565b9190910192915050565b60006020828403121561406a57600080fd5b81516110598161347b565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906140a8908301846134d2565b9695505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b8181038181111561080357610803613c84565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220c47aea78e02adda7e8a36138892c3ed2fc9b754ce58545603813e5750b053f0764736f6c63430008110033";
1350
- const isSuperArgs$1 = (xs) => xs.length > 1;
1351
- class ImmutableERC721MintByID__factory extends ContractFactory {
1352
- constructor(...args) {
1353
- if (isSuperArgs$1(args)) {
1354
- super(...args);
1355
- }
1356
- else {
1357
- super(_abi$1, _bytecode$1, args[0]);
1358
- }
1359
- }
1360
- deploy(owner, name_, symbol_, baseURI_, contractURI_, _operatorAllowlist, _receiver, _feeNumerator, overrides) {
1361
- return super.deploy(owner, name_, symbol_, baseURI_, contractURI_, _operatorAllowlist, _receiver, _feeNumerator, overrides || {});
1362
- }
1363
- getDeployTransaction(owner, name_, symbol_, baseURI_, contractURI_, _operatorAllowlist, _receiver, _feeNumerator, overrides) {
1364
- return super.getDeployTransaction(owner, name_, symbol_, baseURI_, contractURI_, _operatorAllowlist, _receiver, _feeNumerator, overrides || {});
1365
- }
1366
- attach(address) {
1367
- return super.attach(address);
1368
- }
1369
- connect(signer) {
1370
- return super.connect(signer);
1371
- }
1372
- static bytecode = _bytecode$1;
1373
- static abi = _abi$1;
1374
- static createInterface() {
1375
- return new utils.Interface(_abi$1);
1376
- }
1377
- static connect(address, signerOrProvider) {
1378
- return new Contract(address, _abi$1, signerOrProvider);
1379
- }
1380
- }
1381
-
1382
- class ERC721MintByID {
1383
- contract;
1384
- constructor(contractAddress) {
1385
- const factory = new ImmutableERC721MintByID__factory();
1386
- this.contract = factory.attach(contractAddress);
1387
- }
1388
- /**
1389
- * Read functions
1390
- */
1391
- /**
1392
- * @returns the DEFAULT_ADMIN_ROLE as a string.
1393
- */
1394
- async DEFAULT_ADMIN_ROLE(provider, overrides = {}) {
1395
- return await this.contract.connect(provider).DEFAULT_ADMIN_ROLE(overrides);
1396
- }
1397
- /**
1398
- * @returns the MINTER_ROLE as a string.
1399
- */
1400
- async MINTER_ROLE(provider, overrides = {}) {
1401
- return await this.contract.connect(provider).MINTER_ROLE(overrides);
1402
- }
1403
- /**
1404
- * @returns the balance of an address as a BigNumber.
1405
- */
1406
- async balanceOf(provider, owner, overrides = {}) {
1407
- return await this.contract.connect(provider).balanceOf(owner, overrides);
1408
- }
1409
- /**
1410
- * @returns the baseURI as a string.
1411
- */
1412
- async baseURI(provider, overrides = {}) {
1413
- return await this.contract.connect(provider).baseURI(overrides);
1414
- }
1415
- /**
1416
- * @returns the contractURI as a string.
1417
- */
1418
- async contractURI(provider, overrides = {}) {
1419
- return await this.contract.connect(provider).contractURI(overrides);
1420
- }
1421
- /**
1422
- * @returns admin addresses as an array of strings.
1423
- */
1424
- async getAdmins(provider, overrides = {}) {
1425
- return await this.contract.connect(provider).getAdmins(overrides);
1426
- }
1427
- /**
1428
- * @returns the approved address for a token ID, or zero if no address set.
1429
- */
1430
- async getApproved(provider, tokenId, overrides = {}) {
1431
- return await this.contract.connect(provider).getApproved(tokenId, overrides);
1432
- }
1433
- /**
1434
- * @returns the role admin address.
1435
- */
1436
- async getRoleAdmin(provider, role, overrides = {}) {
1437
- return await this.contract.connect(provider).getRoleAdmin(role, overrides);
1438
- }
1439
- /**
1440
- * @returns the role member address at a particular index.
1441
- */
1442
- async getRoleMember(provider, role, index, overrides = {}) {
1443
- return await this.contract.connect(provider).getRoleMember(role, index, overrides);
1444
- }
1445
- /**
1446
- * @returns the role member count as a BigNumber.
1447
- */
1448
- async getRoleMemberCount(provider, role, overrides = {}) {
1449
- return await this.contract.connect(provider).getRoleMemberCount(role, overrides);
1450
- }
1451
- /**
1452
- * @returns a boolean for whether an account has a particular role.
1453
- */
1454
- async hasRole(provider, role, account, overrides = {}) {
1455
- return await this.contract.connect(provider).hasRole(role, account, overrides);
1456
- }
1457
- /**
1458
- * @returns a booolean that tells whether an operator is approved by a given owner.
1459
- */
1460
- async isApprovedForAll(provider, owner, operator, overrides = {}) {
1461
- return await this.contract.connect(provider).isApprovedForAll(owner, operator, overrides);
1462
- }
1463
- /**
1464
- * @returns the name of the contract as a string.
1465
- */
1466
- async name(provider, overrides = {}) {
1467
- return await this.contract.connect(provider).name(overrides);
1468
- }
1469
- /**
1470
- * @returns the owner address of a particular tokenId.
1471
- */
1472
- async ownerOf(provider, tokenId, overrides = {}) {
1473
- return await this.contract.connect(provider).ownerOf(tokenId, overrides);
1474
- }
1475
- /**
1476
- * Returns the current nonce of a given token ID.
1477
- * @param tokenId The ID of the token for which to retrieve the nonce.
1478
- * @return Current nonce of the given token.
1479
- */
1480
- async nonces(provider, tokenId, overrides) {
1481
- return await this.contract.connect(provider).nonces(tokenId, overrides);
1482
- }
1483
- /**
1484
- * @returns the operator allowlist as a string.
1485
- */
1486
- async operatorAllowlist(provider, overrides = {}) {
1487
- return await this.contract.connect(provider).operatorAllowlist(overrides);
1488
- }
1489
- /**
1490
- * @returns the royalty information for a particular tokenId.
1491
- */
1492
- async royaltyInfo(provider, _tokenId, _salePrice, overrides = {}) {
1493
- return await this.contract.connect(provider).royaltyInfo(_tokenId, _salePrice, overrides);
1494
- }
1495
- /**
1496
- * @returns the symbol of the contract as a string.
1497
- */
1498
- async symbol(provider, overrides = {}) {
1499
- return await this.contract.connect(provider).symbol(overrides);
1500
- }
1501
- /**
1502
- * @returns the Uniform Resource Identifier (URI) for tokenId token.
1503
- */
1504
- async tokenURI(provider, tokenId, overrides = {}) {
1505
- return await this.contract.connect(provider).tokenURI(tokenId, overrides);
1506
- }
1507
- /**
1508
- * @returns returns the total amount of tokens stored by the contract.
1509
- */
1510
- async totalSupply(provider, overrides = {}) {
1511
- return await this.contract.connect(provider).totalSupply(overrides);
1512
- }
1513
- /**
1514
- * Write functions
1515
- */
1516
- /**
1517
- * @returns a populated transaction for the approve contract function
1518
- */
1519
- async populateApprove(to, tokenId, overrides = {}) {
1520
- return await this.contract.populateTransaction.approve(to, tokenId, overrides);
1521
- }
1522
- /**
1523
- * Function to approve by way of owner signature
1524
- * @param spender the address to approve
1525
- * @param tokenId the index of the NFT to approve the spender on
1526
- * @param deadline a timestamp expiry for the permit
1527
- * @param sig a traditional or EIP-2098 signature
1528
- */
1529
- async populatePermit(spender, tokenId, deadline, sig, overrides = {}) {
1530
- return await this.contract.populateTransaction.permit(spender, tokenId, deadline, sig, overrides);
1531
- }
1532
- /**
1533
- * @returns a populated transaction for the burn contract function
1534
- */
1535
- async populateBurn(tokenId, overrides = {}) {
1536
- return await this.contract.populateTransaction.burn(tokenId, overrides);
1537
- }
1538
- /**
1539
- * @returns a populated transaction for the batch burn contract function
1540
- */
1541
- async populateBurnBatch(tokenIds, overrides = {}) {
1542
- return await this.contract.populateTransaction.burnBatch(tokenIds, overrides);
1543
- }
1544
- /**
1545
- * @returns a populated transaction for the grantMinterRole contract function
1546
- */
1547
- async populateGrantMinterRole(user, overrides = {}) {
1548
- return await this.contract.populateTransaction.grantMinterRole(user, overrides);
1549
- }
1550
- /**
1551
- * @returns a populated transaction for the grantRole contract function
1552
- */
1553
- async populateGrantRole(role, account, overrides = {}) {
1554
- return await this.contract.populateTransaction.grantRole(role, account, overrides);
1555
- }
1556
- /**
1557
- * @returns a populated transaction for the mint contract function
1558
- */
1559
- async populateMint(to, tokenId, overrides = {}) {
1560
- return await this.contract.populateTransaction.mint(to, tokenId, overrides);
1561
- }
1562
- /**
1563
- * @returns a populated transaction for the batch mint contract function
1564
- */
1565
- async populateSafeMintBatch(mints, overrides = {}) {
1566
- return await this.contract.populateTransaction.safeMintBatch(mints, overrides);
1567
- }
1568
- /**
1569
- * @returns a populated transaction for the safe burn contract function
1570
- */
1571
- async populateSafeBurn(owner, tokenId, overrides = {}) {
1572
- return await this.contract.populateTransaction.safeBurn(owner, tokenId, overrides);
1573
- }
1574
- /**
1575
- * @returns a populated transaction for the safe burn batch contract function
1576
- */
1577
- async populateSafeBurnBatch(burns, overrides = {}) {
1578
- return await this.contract.populateTransaction.safeBurnBatch(burns, overrides);
1579
- }
1580
- /**
1581
- * @returns a populated transaction for the renounceRole contract function
1582
- */
1583
- async populateRenounceRole(role, account, overrides = {}) {
1584
- return await this.contract.populateTransaction.renounceRole(role, account, overrides);
1585
- }
1586
- /**
1587
- * @returns a populated transaction for the revokeMinterRole contract function
1588
- */
1589
- async populateRevokeMinterRole(user, overrides = {}) {
1590
- return await this.contract.populateTransaction.revokeMinterRole(user, overrides);
1591
- }
1592
- /**
1593
- * @returns a populated transaction for the revokeRole contract function
1594
- */
1595
- async populateRevokeRole(role, account, overrides = {}) {
1596
- return await this.contract.populateTransaction.revokeRole(role, account, overrides);
1597
- }
1598
- /**
1599
- * @returns a populated transaction for the batch save transfer from function
1600
- */
1601
- async populateSafeTransferFromBatch(transfers, overrides = {}) {
1602
- return await this.contract.populateTransaction.safeTransferFromBatch(transfers, overrides);
1603
- }
1604
- /**
1605
- * @returns a populated transaction for the safeTransferFrom(address,address,uint256) contract function
1606
- */
1607
- async 'populateSafeTransferFrom(address,address,uint256)'(from, to, tokenId, overrides = {}) {
1608
- return await this.contract.populateTransaction['safeTransferFrom(address,address,uint256)'](from, to, tokenId, overrides);
1609
- }
1610
- /**
1611
- * @returns a populated transaction for the safeTransferFrom(address,address,uint256,bytes) contract function
1612
- */
1613
- async 'populateSafeTransferFrom(address,address,uint256,bytes)'(from, to, tokenId, data, overrides = {}) {
1614
- return await this.contract.populateTransaction['safeTransferFrom(address,address,uint256,bytes)'](from, to, tokenId, data, overrides);
1615
- }
1616
- /**
1617
- * @returns a populated transaction for the setApprovalForAll contract function
1618
- */
1619
- async populateSetApprovalForAll(operator, approved, overrides = {}) {
1620
- return await this.contract.populateTransaction.setApprovalForAll(operator, approved, overrides);
1621
- }
1622
- /**
1623
- * @returns a populated transaction for the setBaseURI contract function
1624
- */
1625
- async populateSetBaseURI(baseURI_, overrides = {}) {
1626
- return await this.contract.populateTransaction.setBaseURI(baseURI_, overrides);
1627
- }
1628
- /**
1629
- * @returns a populated transaction for the setContractURI contract function
1630
- */
1631
- async populateSetContractURI(_contractURI, overrides = {}) {
1632
- return await this.contract.populateTransaction.setContractURI(_contractURI, overrides);
1633
- }
1634
- /**
1635
- * @returns a populated transaction for the setDefaultRoyaltyReceiver contract function
1636
- */
1637
- async populateSetDefaultRoyaltyReceiver(receiver, feeNumerator, overrides = {}) {
1638
- return await this.contract.populateTransaction.setDefaultRoyaltyReceiver(receiver, feeNumerator, overrides);
1639
- }
1640
- /**
1641
- * @returns a populated transaction for the setNFTRoyaltyReceiver contract function
1642
- */
1643
- async populateSetNFTRoyaltyReceiver(tokenId, receiver, feeNumerator, overrides = {}) {
1644
- return await this.contract.populateTransaction.setNFTRoyaltyReceiver(tokenId, receiver, feeNumerator, overrides);
1645
- }
1646
- /**
1647
- * @returns a populated transaction for the setNFTRoyaltyReceiverBatch contract function
1648
- */
1649
- async populateSetNFTRoyaltyReceiverBatch(tokenIds, receiver, feeNumerator, overrides = {}) {
1650
- return await this.contract.populateTransaction.setNFTRoyaltyReceiverBatch(tokenIds, receiver, feeNumerator, overrides);
1651
- }
1652
- /**
1653
- * @returns a populated transaction for the setOperatorAllowlistRegistry contract function
1654
- */
1655
- async populateSetOperatorAllowlistRegistry(_operatorAllowlist, overrides = {}) {
1656
- return await this.contract.populateTransaction.setOperatorAllowlistRegistry(_operatorAllowlist, overrides);
1657
- }
1658
- }
1659
-
1660
- export { ERC721MintByID };