mm_contract 1.0.1 → 1.0.3

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,1393 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "string",
6
- "name": "_name",
7
- "type": "string"
8
- },
9
- {
10
- "internalType": "string",
11
- "name": "_symbol",
12
- "type": "string"
13
- },
14
- {
15
- "internalType": "string",
16
- "name": "_baseURI",
17
- "type": "string"
18
- }
19
- ],
20
- "stateMutability": "nonpayable",
21
- "type": "constructor"
22
- },
23
- {
24
- "anonymous": false,
25
- "inputs": [
26
- {
27
- "indexed": false,
28
- "internalType": "address",
29
- "name": "_operator",
30
- "type": "address"
31
- },
32
- {
33
- "indexed": false,
34
- "internalType": "uint256",
35
- "name": "_power",
36
- "type": "uint256"
37
- }
38
- ],
39
- "name": "AdminChaged",
40
- "type": "event"
41
- },
42
- {
43
- "anonymous": false,
44
- "inputs": [
45
- {
46
- "indexed": true,
47
- "internalType": "address",
48
- "name": "_owner",
49
- "type": "address"
50
- },
51
- {
52
- "indexed": true,
53
- "internalType": "address",
54
- "name": "_operator",
55
- "type": "address"
56
- },
57
- {
58
- "indexed": true,
59
- "internalType": "uint256",
60
- "name": "_id",
61
- "type": "uint256"
62
- }
63
- ],
64
- "name": "Approval",
65
- "type": "event"
66
- },
67
- {
68
- "anonymous": false,
69
- "inputs": [
70
- {
71
- "indexed": true,
72
- "internalType": "address",
73
- "name": "_owner",
74
- "type": "address"
75
- },
76
- {
77
- "indexed": true,
78
- "internalType": "address",
79
- "name": "_operator",
80
- "type": "address"
81
- },
82
- {
83
- "indexed": false,
84
- "internalType": "bool",
85
- "name": "_approved",
86
- "type": "bool"
87
- }
88
- ],
89
- "name": "ApprovalForAll",
90
- "type": "event"
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": "uint256",
104
- "name": "_id",
105
- "type": "uint256"
106
- }
107
- ],
108
- "name": "Burn",
109
- "type": "event"
110
- },
111
- {
112
- "anonymous": false,
113
- "inputs": [
114
- {
115
- "indexed": true,
116
- "internalType": "address",
117
- "name": "_owner",
118
- "type": "address"
119
- },
120
- {
121
- "indexed": true,
122
- "internalType": "string",
123
- "name": "_name",
124
- "type": "string"
125
- },
126
- {
127
- "indexed": false,
128
- "internalType": "string",
129
- "name": "_types",
130
- "type": "string"
131
- },
132
- {
133
- "indexed": true,
134
- "internalType": "uint256",
135
- "name": "_tokenId",
136
- "type": "uint256"
137
- }
138
- ],
139
- "name": "Mint",
140
- "type": "event"
141
- },
142
- {
143
- "anonymous": false,
144
- "inputs": [
145
- {
146
- "indexed": false,
147
- "internalType": "address",
148
- "name": "_previousOwner",
149
- "type": "address"
150
- },
151
- {
152
- "indexed": false,
153
- "internalType": "address",
154
- "name": "_newOwner",
155
- "type": "address"
156
- }
157
- ],
158
- "name": "OwnershipTransferred",
159
- "type": "event"
160
- },
161
- {
162
- "anonymous": false,
163
- "inputs": [
164
- {
165
- "indexed": true,
166
- "internalType": "address",
167
- "name": "_from",
168
- "type": "address"
169
- },
170
- {
171
- "indexed": true,
172
- "internalType": "address",
173
- "name": "_to",
174
- "type": "address"
175
- },
176
- {
177
- "indexed": true,
178
- "internalType": "uint256",
179
- "name": "_id",
180
- "type": "uint256"
181
- }
182
- ],
183
- "name": "Transfer",
184
- "type": "event"
185
- },
186
- {
187
- "inputs": [
188
- {
189
- "internalType": "uint256[]",
190
- "name": "_arr",
191
- "type": "uint256[]"
192
- }
193
- ],
194
- "name": "_nullCount",
195
- "outputs": [
196
- {
197
- "internalType": "uint256",
198
- "name": "",
199
- "type": "uint256"
200
- }
201
- ],
202
- "stateMutability": "pure",
203
- "type": "function"
204
- },
205
- {
206
- "inputs": [
207
- {
208
- "internalType": "string",
209
- "name": "_name",
210
- "type": "string"
211
- }
212
- ],
213
- "name": "addProp",
214
- "outputs": [],
215
- "stateMutability": "nonpayable",
216
- "type": "function"
217
- },
218
- {
219
- "inputs": [
220
- {
221
- "internalType": "address",
222
- "name": "_owner",
223
- "type": "address"
224
- },
225
- {
226
- "internalType": "address",
227
- "name": "_operator",
228
- "type": "address"
229
- },
230
- {
231
- "internalType": "uint256",
232
- "name": "_id",
233
- "type": "uint256"
234
- }
235
- ],
236
- "name": "allowance",
237
- "outputs": [
238
- {
239
- "internalType": "bool",
240
- "name": "",
241
- "type": "bool"
242
- }
243
- ],
244
- "stateMutability": "view",
245
- "type": "function"
246
- },
247
- {
248
- "inputs": [
249
- {
250
- "internalType": "address",
251
- "name": "_operator",
252
- "type": "address"
253
- },
254
- {
255
- "internalType": "uint256",
256
- "name": "_id",
257
- "type": "uint256"
258
- }
259
- ],
260
- "name": "approve",
261
- "outputs": [],
262
- "stateMutability": "nonpayable",
263
- "type": "function"
264
- },
265
- {
266
- "inputs": [
267
- {
268
- "internalType": "address",
269
- "name": "_owner",
270
- "type": "address"
271
- }
272
- ],
273
- "name": "balanceOf",
274
- "outputs": [
275
- {
276
- "internalType": "uint256",
277
- "name": "",
278
- "type": "uint256"
279
- }
280
- ],
281
- "stateMutability": "view",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [],
286
- "name": "baseURI",
287
- "outputs": [
288
- {
289
- "internalType": "string",
290
- "name": "",
291
- "type": "string"
292
- }
293
- ],
294
- "stateMutability": "view",
295
- "type": "function"
296
- },
297
- {
298
- "inputs": [],
299
- "name": "burnCount",
300
- "outputs": [
301
- {
302
- "internalType": "uint256",
303
- "name": "",
304
- "type": "uint256"
305
- }
306
- ],
307
- "stateMutability": "view",
308
- "type": "function"
309
- },
310
- {
311
- "inputs": [
312
- {
313
- "internalType": "address",
314
- "name": "_owner",
315
- "type": "address"
316
- },
317
- {
318
- "internalType": "uint256",
319
- "name": "_id",
320
- "type": "uint256"
321
- }
322
- ],
323
- "name": "burnFrom",
324
- "outputs": [],
325
- "stateMutability": "nonpayable",
326
- "type": "function"
327
- },
328
- {
329
- "inputs": [
330
- {
331
- "internalType": "address",
332
- "name": "_owner",
333
- "type": "address"
334
- },
335
- {
336
- "internalType": "uint256[]",
337
- "name": "_ids",
338
- "type": "uint256[]"
339
- }
340
- ],
341
- "name": "burnFromBatch",
342
- "outputs": [],
343
- "stateMutability": "nonpayable",
344
- "type": "function"
345
- },
346
- {
347
- "inputs": [
348
- {
349
- "internalType": "uint256",
350
- "name": "_id",
351
- "type": "uint256"
352
- }
353
- ],
354
- "name": "clearApproval",
355
- "outputs": [],
356
- "stateMutability": "nonpayable",
357
- "type": "function"
358
- },
359
- {
360
- "inputs": [
361
- {
362
- "internalType": "address",
363
- "name": "_from",
364
- "type": "address"
365
- },
366
- {
367
- "internalType": "address",
368
- "name": "_to",
369
- "type": "address"
370
- }
371
- ],
372
- "name": "clearApprovalAll",
373
- "outputs": [],
374
- "stateMutability": "nonpayable",
375
- "type": "function"
376
- },
377
- {
378
- "inputs": [
379
- {
380
- "internalType": "uint256",
381
- "name": "",
382
- "type": "uint256"
383
- }
384
- ],
385
- "name": "creatorOfId",
386
- "outputs": [
387
- {
388
- "internalType": "address",
389
- "name": "",
390
- "type": "address"
391
- }
392
- ],
393
- "stateMutability": "view",
394
- "type": "function"
395
- },
396
- {
397
- "inputs": [],
398
- "name": "extension",
399
- "outputs": [
400
- {
401
- "internalType": "string",
402
- "name": "",
403
- "type": "string"
404
- }
405
- ],
406
- "stateMutability": "view",
407
- "type": "function"
408
- },
409
- {
410
- "inputs": [
411
- {
412
- "internalType": "uint256",
413
- "name": "_start",
414
- "type": "uint256"
415
- },
416
- {
417
- "internalType": "uint256",
418
- "name": "_end",
419
- "type": "uint256"
420
- }
421
- ],
422
- "name": "getAll",
423
- "outputs": [
424
- {
425
- "components": [
426
- {
427
- "internalType": "uint256",
428
- "name": "id",
429
- "type": "uint256"
430
- },
431
- {
432
- "internalType": "string",
433
- "name": "name",
434
- "type": "string"
435
- },
436
- {
437
- "internalType": "string",
438
- "name": "types",
439
- "type": "string"
440
- },
441
- {
442
- "internalType": "uint256",
443
- "name": "level",
444
- "type": "uint256"
445
- },
446
- {
447
- "internalType": "uint256",
448
- "name": "state",
449
- "type": "uint256"
450
- }
451
- ],
452
- "internalType": "struct BEP721.NFT[]",
453
- "name": "",
454
- "type": "tuple[]"
455
- }
456
- ],
457
- "stateMutability": "view",
458
- "type": "function"
459
- },
460
- {
461
- "inputs": [
462
- {
463
- "internalType": "uint256",
464
- "name": "_id",
465
- "type": "uint256"
466
- }
467
- ],
468
- "name": "getApproved",
469
- "outputs": [
470
- {
471
- "internalType": "address",
472
- "name": "",
473
- "type": "address"
474
- }
475
- ],
476
- "stateMutability": "view",
477
- "type": "function"
478
- },
479
- {
480
- "inputs": [
481
- {
482
- "internalType": "uint256[]",
483
- "name": "_ids",
484
- "type": "uint256[]"
485
- }
486
- ],
487
- "name": "getNFTs",
488
- "outputs": [
489
- {
490
- "components": [
491
- {
492
- "internalType": "uint256",
493
- "name": "id",
494
- "type": "uint256"
495
- },
496
- {
497
- "internalType": "string",
498
- "name": "name",
499
- "type": "string"
500
- },
501
- {
502
- "internalType": "string",
503
- "name": "types",
504
- "type": "string"
505
- },
506
- {
507
- "internalType": "uint256",
508
- "name": "level",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "uint256",
513
- "name": "state",
514
- "type": "uint256"
515
- }
516
- ],
517
- "internalType": "struct BEP721.NFT[]",
518
- "name": "",
519
- "type": "tuple[]"
520
- }
521
- ],
522
- "stateMutability": "view",
523
- "type": "function"
524
- },
525
- {
526
- "inputs": [],
527
- "name": "getOwner",
528
- "outputs": [
529
- {
530
- "internalType": "address",
531
- "name": "",
532
- "type": "address"
533
- }
534
- ],
535
- "stateMutability": "view",
536
- "type": "function"
537
- },
538
- {
539
- "inputs": [
540
- {
541
- "internalType": "uint256",
542
- "name": "_id",
543
- "type": "uint256"
544
- }
545
- ],
546
- "name": "getPropOfId",
547
- "outputs": [
548
- {
549
- "internalType": "uint256[]",
550
- "name": "",
551
- "type": "uint256[]"
552
- }
553
- ],
554
- "stateMutability": "view",
555
- "type": "function"
556
- },
557
- {
558
- "inputs": [
559
- {
560
- "internalType": "uint256",
561
- "name": "_order",
562
- "type": "uint256"
563
- }
564
- ],
565
- "name": "getPropOfOrder",
566
- "outputs": [
567
- {
568
- "internalType": "uint256[]",
569
- "name": "",
570
- "type": "uint256[]"
571
- }
572
- ],
573
- "stateMutability": "view",
574
- "type": "function"
575
- },
576
- {
577
- "inputs": [
578
- {
579
- "internalType": "uint256[]",
580
- "name": "_ids",
581
- "type": "uint256[]"
582
- }
583
- ],
584
- "name": "getPropStr",
585
- "outputs": [
586
- {
587
- "internalType": "string[]",
588
- "name": "",
589
- "type": "string[]"
590
- }
591
- ],
592
- "stateMutability": "view",
593
- "type": "function"
594
- },
595
- {
596
- "inputs": [
597
- {
598
- "internalType": "address",
599
- "name": "_owner",
600
- "type": "address"
601
- }
602
- ],
603
- "name": "idsOf",
604
- "outputs": [
605
- {
606
- "internalType": "uint256[]",
607
- "name": "",
608
- "type": "uint256[]"
609
- }
610
- ],
611
- "stateMutability": "view",
612
- "type": "function"
613
- },
614
- {
615
- "inputs": [
616
- {
617
- "internalType": "address",
618
- "name": "_operator",
619
- "type": "address"
620
- }
621
- ],
622
- "name": "isAdmin",
623
- "outputs": [
624
- {
625
- "internalType": "uint256",
626
- "name": "",
627
- "type": "uint256"
628
- }
629
- ],
630
- "stateMutability": "view",
631
- "type": "function"
632
- },
633
- {
634
- "inputs": [
635
- {
636
- "internalType": "address",
637
- "name": "_owner",
638
- "type": "address"
639
- },
640
- {
641
- "internalType": "address",
642
- "name": "_operator",
643
- "type": "address"
644
- }
645
- ],
646
- "name": "isApprovedForAll",
647
- "outputs": [
648
- {
649
- "internalType": "bool",
650
- "name": "",
651
- "type": "bool"
652
- }
653
- ],
654
- "stateMutability": "view",
655
- "type": "function"
656
- },
657
- {
658
- "inputs": [
659
- {
660
- "internalType": "address",
661
- "name": "_owner",
662
- "type": "address"
663
- },
664
- {
665
- "internalType": "string",
666
- "name": "_name",
667
- "type": "string"
668
- },
669
- {
670
- "internalType": "string",
671
- "name": "_type",
672
- "type": "string"
673
- },
674
- {
675
- "internalType": "uint256",
676
- "name": "_level",
677
- "type": "uint256"
678
- }
679
- ],
680
- "name": "mint",
681
- "outputs": [
682
- {
683
- "internalType": "uint256",
684
- "name": "",
685
- "type": "uint256"
686
- }
687
- ],
688
- "stateMutability": "nonpayable",
689
- "type": "function"
690
- },
691
- {
692
- "inputs": [
693
- {
694
- "internalType": "address",
695
- "name": "_owner",
696
- "type": "address"
697
- },
698
- {
699
- "internalType": "uint256",
700
- "name": "_order",
701
- "type": "uint256"
702
- }
703
- ],
704
- "name": "mintOfOrder",
705
- "outputs": [
706
- {
707
- "internalType": "uint256",
708
- "name": "",
709
- "type": "uint256"
710
- }
711
- ],
712
- "stateMutability": "nonpayable",
713
- "type": "function"
714
- },
715
- {
716
- "inputs": [
717
- {
718
- "internalType": "address",
719
- "name": "_owner",
720
- "type": "address"
721
- },
722
- {
723
- "internalType": "uint256[]",
724
- "name": "_orders",
725
- "type": "uint256[]"
726
- }
727
- ],
728
- "name": "mintOfOrderBatch",
729
- "outputs": [
730
- {
731
- "internalType": "uint256[]",
732
- "name": "",
733
- "type": "uint256[]"
734
- }
735
- ],
736
- "stateMutability": "nonpayable",
737
- "type": "function"
738
- },
739
- {
740
- "inputs": [],
741
- "name": "name",
742
- "outputs": [
743
- {
744
- "internalType": "string",
745
- "name": "",
746
- "type": "string"
747
- }
748
- ],
749
- "stateMutability": "view",
750
- "type": "function"
751
- },
752
- {
753
- "inputs": [
754
- {
755
- "internalType": "string",
756
- "name": "",
757
- "type": "string"
758
- }
759
- ],
760
- "name": "names",
761
- "outputs": [
762
- {
763
- "internalType": "uint256",
764
- "name": "",
765
- "type": "uint256"
766
- }
767
- ],
768
- "stateMutability": "view",
769
- "type": "function"
770
- },
771
- {
772
- "inputs": [
773
- {
774
- "internalType": "uint256",
775
- "name": "_id",
776
- "type": "uint256"
777
- }
778
- ],
779
- "name": "nftOf",
780
- "outputs": [
781
- {
782
- "components": [
783
- {
784
- "internalType": "uint256",
785
- "name": "id",
786
- "type": "uint256"
787
- },
788
- {
789
- "internalType": "string",
790
- "name": "name",
791
- "type": "string"
792
- },
793
- {
794
- "internalType": "string",
795
- "name": "types",
796
- "type": "string"
797
- },
798
- {
799
- "internalType": "uint256",
800
- "name": "level",
801
- "type": "uint256"
802
- },
803
- {
804
- "internalType": "uint256",
805
- "name": "state",
806
- "type": "uint256"
807
- }
808
- ],
809
- "internalType": "struct BEP721.NFT",
810
- "name": "",
811
- "type": "tuple"
812
- }
813
- ],
814
- "stateMutability": "view",
815
- "type": "function"
816
- },
817
- {
818
- "inputs": [
819
- {
820
- "internalType": "address",
821
- "name": "_address",
822
- "type": "address"
823
- }
824
- ],
825
- "name": "nftsOf",
826
- "outputs": [
827
- {
828
- "components": [
829
- {
830
- "internalType": "uint256",
831
- "name": "id",
832
- "type": "uint256"
833
- },
834
- {
835
- "internalType": "string",
836
- "name": "name",
837
- "type": "string"
838
- },
839
- {
840
- "internalType": "string",
841
- "name": "types",
842
- "type": "string"
843
- },
844
- {
845
- "internalType": "uint256",
846
- "name": "level",
847
- "type": "uint256"
848
- },
849
- {
850
- "internalType": "uint256",
851
- "name": "state",
852
- "type": "uint256"
853
- }
854
- ],
855
- "internalType": "struct BEP721.NFT[]",
856
- "name": "",
857
- "type": "tuple[]"
858
- }
859
- ],
860
- "stateMutability": "view",
861
- "type": "function"
862
- },
863
- {
864
- "inputs": [
865
- {
866
- "internalType": "uint256",
867
- "name": "_id",
868
- "type": "uint256"
869
- }
870
- ],
871
- "name": "ownerOf",
872
- "outputs": [
873
- {
874
- "internalType": "address",
875
- "name": "",
876
- "type": "address"
877
- }
878
- ],
879
- "stateMutability": "view",
880
- "type": "function"
881
- },
882
- {
883
- "inputs": [
884
- {
885
- "internalType": "uint256",
886
- "name": "",
887
- "type": "uint256"
888
- }
889
- ],
890
- "name": "propNames",
891
- "outputs": [
892
- {
893
- "internalType": "string",
894
- "name": "",
895
- "type": "string"
896
- }
897
- ],
898
- "stateMutability": "view",
899
- "type": "function"
900
- },
901
- {
902
- "inputs": [
903
- {
904
- "internalType": "address",
905
- "name": "_from",
906
- "type": "address"
907
- },
908
- {
909
- "internalType": "address",
910
- "name": "_to",
911
- "type": "address"
912
- },
913
- {
914
- "internalType": "uint256",
915
- "name": "_id",
916
- "type": "uint256"
917
- }
918
- ],
919
- "name": "safeTransferFrom",
920
- "outputs": [
921
- {
922
- "internalType": "bool",
923
- "name": "",
924
- "type": "bool"
925
- }
926
- ],
927
- "stateMutability": "nonpayable",
928
- "type": "function"
929
- },
930
- {
931
- "inputs": [
932
- {
933
- "internalType": "address",
934
- "name": "_operator",
935
- "type": "address"
936
- },
937
- {
938
- "internalType": "uint256",
939
- "name": "_power",
940
- "type": "uint256"
941
- }
942
- ],
943
- "name": "setAdmin",
944
- "outputs": [],
945
- "stateMutability": "nonpayable",
946
- "type": "function"
947
- },
948
- {
949
- "inputs": [
950
- {
951
- "internalType": "address",
952
- "name": "_operator",
953
- "type": "address"
954
- },
955
- {
956
- "internalType": "bool",
957
- "name": "_approved",
958
- "type": "bool"
959
- }
960
- ],
961
- "name": "setApprovalForAll",
962
- "outputs": [],
963
- "stateMutability": "nonpayable",
964
- "type": "function"
965
- },
966
- {
967
- "inputs": [
968
- {
969
- "internalType": "string",
970
- "name": "_extension",
971
- "type": "string"
972
- }
973
- ],
974
- "name": "setExtension",
975
- "outputs": [],
976
- "stateMutability": "nonpayable",
977
- "type": "function"
978
- },
979
- {
980
- "inputs": [
981
- {
982
- "internalType": "uint256",
983
- "name": "_id",
984
- "type": "uint256"
985
- },
986
- {
987
- "internalType": "string",
988
- "name": "_name",
989
- "type": "string"
990
- }
991
- ],
992
- "name": "setName",
993
- "outputs": [],
994
- "stateMutability": "nonpayable",
995
- "type": "function"
996
- },
997
- {
998
- "inputs": [
999
- {
1000
- "internalType": "uint256",
1001
- "name": "_id",
1002
- "type": "uint256"
1003
- },
1004
- {
1005
- "internalType": "uint256[]",
1006
- "name": "_prop",
1007
- "type": "uint256[]"
1008
- }
1009
- ],
1010
- "name": "setProp",
1011
- "outputs": [],
1012
- "stateMutability": "nonpayable",
1013
- "type": "function"
1014
- },
1015
- {
1016
- "inputs": [
1017
- {
1018
- "internalType": "uint256",
1019
- "name": "_id",
1020
- "type": "uint256"
1021
- },
1022
- {
1023
- "internalType": "uint256",
1024
- "name": "_index",
1025
- "type": "uint256"
1026
- },
1027
- {
1028
- "internalType": "uint256",
1029
- "name": "_value",
1030
- "type": "uint256"
1031
- }
1032
- ],
1033
- "name": "setPropOfId",
1034
- "outputs": [],
1035
- "stateMutability": "nonpayable",
1036
- "type": "function"
1037
- },
1038
- {
1039
- "inputs": [
1040
- {
1041
- "internalType": "uint256",
1042
- "name": "_id",
1043
- "type": "uint256"
1044
- },
1045
- {
1046
- "internalType": "string",
1047
- "name": "_key",
1048
- "type": "string"
1049
- },
1050
- {
1051
- "internalType": "uint256",
1052
- "name": "_value",
1053
- "type": "uint256"
1054
- }
1055
- ],
1056
- "name": "setPropOfName",
1057
- "outputs": [],
1058
- "stateMutability": "nonpayable",
1059
- "type": "function"
1060
- },
1061
- {
1062
- "inputs": [
1063
- {
1064
- "internalType": "uint256",
1065
- "name": "_order",
1066
- "type": "uint256"
1067
- },
1068
- {
1069
- "internalType": "uint256[]",
1070
- "name": "_prop",
1071
- "type": "uint256[]"
1072
- }
1073
- ],
1074
- "name": "setPropOfOrder",
1075
- "outputs": [],
1076
- "stateMutability": "nonpayable",
1077
- "type": "function"
1078
- },
1079
- {
1080
- "inputs": [
1081
- {
1082
- "internalType": "uint256",
1083
- "name": "_id",
1084
- "type": "uint256"
1085
- },
1086
- {
1087
- "internalType": "string",
1088
- "name": "_type",
1089
- "type": "string"
1090
- }
1091
- ],
1092
- "name": "setType",
1093
- "outputs": [],
1094
- "stateMutability": "nonpayable",
1095
- "type": "function"
1096
- },
1097
- {
1098
- "inputs": [
1099
- {
1100
- "internalType": "bytes4",
1101
- "name": "interfaceId",
1102
- "type": "bytes4"
1103
- }
1104
- ],
1105
- "name": "supportsInterface",
1106
- "outputs": [
1107
- {
1108
- "internalType": "bool",
1109
- "name": "",
1110
- "type": "bool"
1111
- }
1112
- ],
1113
- "stateMutability": "view",
1114
- "type": "function"
1115
- },
1116
- {
1117
- "inputs": [],
1118
- "name": "symbol",
1119
- "outputs": [
1120
- {
1121
- "internalType": "string",
1122
- "name": "",
1123
- "type": "string"
1124
- }
1125
- ],
1126
- "stateMutability": "view",
1127
- "type": "function"
1128
- },
1129
- {
1130
- "inputs": [
1131
- {
1132
- "internalType": "uint256",
1133
- "name": "_id",
1134
- "type": "uint256"
1135
- }
1136
- ],
1137
- "name": "takeOwnership",
1138
- "outputs": [],
1139
- "stateMutability": "nonpayable",
1140
- "type": "function"
1141
- },
1142
- {
1143
- "inputs": [
1144
- {
1145
- "internalType": "uint256[]",
1146
- "name": "_prop",
1147
- "type": "uint256[]"
1148
- }
1149
- ],
1150
- "name": "toStr",
1151
- "outputs": [
1152
- {
1153
- "internalType": "string",
1154
- "name": "",
1155
- "type": "string"
1156
- }
1157
- ],
1158
- "stateMutability": "pure",
1159
- "type": "function"
1160
- },
1161
- {
1162
- "inputs": [
1163
- {
1164
- "internalType": "uint256",
1165
- "name": "_index",
1166
- "type": "uint256"
1167
- }
1168
- ],
1169
- "name": "tokenByIndex",
1170
- "outputs": [
1171
- {
1172
- "internalType": "uint256",
1173
- "name": "",
1174
- "type": "uint256"
1175
- }
1176
- ],
1177
- "stateMutability": "pure",
1178
- "type": "function"
1179
- },
1180
- {
1181
- "inputs": [
1182
- {
1183
- "internalType": "uint256",
1184
- "name": "_id",
1185
- "type": "uint256"
1186
- }
1187
- ],
1188
- "name": "tokenMetadata",
1189
- "outputs": [
1190
- {
1191
- "internalType": "string",
1192
- "name": "",
1193
- "type": "string"
1194
- }
1195
- ],
1196
- "stateMutability": "view",
1197
- "type": "function"
1198
- },
1199
- {
1200
- "inputs": [
1201
- {
1202
- "internalType": "address",
1203
- "name": "_owner",
1204
- "type": "address"
1205
- },
1206
- {
1207
- "internalType": "uint256",
1208
- "name": "_index",
1209
- "type": "uint256"
1210
- }
1211
- ],
1212
- "name": "tokenOfOwnerByIndex",
1213
- "outputs": [
1214
- {
1215
- "internalType": "uint256",
1216
- "name": "",
1217
- "type": "uint256"
1218
- }
1219
- ],
1220
- "stateMutability": "view",
1221
- "type": "function"
1222
- },
1223
- {
1224
- "inputs": [
1225
- {
1226
- "internalType": "uint256",
1227
- "name": "tokenId",
1228
- "type": "uint256"
1229
- }
1230
- ],
1231
- "name": "tokenURI",
1232
- "outputs": [
1233
- {
1234
- "internalType": "string",
1235
- "name": "",
1236
- "type": "string"
1237
- }
1238
- ],
1239
- "stateMutability": "view",
1240
- "type": "function"
1241
- },
1242
- {
1243
- "inputs": [
1244
- {
1245
- "internalType": "uint256[]",
1246
- "name": "_tokenIds",
1247
- "type": "uint256[]"
1248
- }
1249
- ],
1250
- "name": "tokenURIs",
1251
- "outputs": [
1252
- {
1253
- "internalType": "string[]",
1254
- "name": "",
1255
- "type": "string[]"
1256
- }
1257
- ],
1258
- "stateMutability": "view",
1259
- "type": "function"
1260
- },
1261
- {
1262
- "inputs": [],
1263
- "name": "totalSupply",
1264
- "outputs": [
1265
- {
1266
- "internalType": "uint256",
1267
- "name": "",
1268
- "type": "uint256"
1269
- }
1270
- ],
1271
- "stateMutability": "view",
1272
- "type": "function"
1273
- },
1274
- {
1275
- "inputs": [
1276
- {
1277
- "internalType": "address",
1278
- "name": "_to",
1279
- "type": "address"
1280
- },
1281
- {
1282
- "internalType": "uint256",
1283
- "name": "_id",
1284
- "type": "uint256"
1285
- }
1286
- ],
1287
- "name": "transfer",
1288
- "outputs": [
1289
- {
1290
- "internalType": "bool",
1291
- "name": "",
1292
- "type": "bool"
1293
- }
1294
- ],
1295
- "stateMutability": "nonpayable",
1296
- "type": "function"
1297
- },
1298
- {
1299
- "inputs": [
1300
- {
1301
- "internalType": "address",
1302
- "name": "_to",
1303
- "type": "address"
1304
- },
1305
- {
1306
- "internalType": "uint256[]",
1307
- "name": "_ids",
1308
- "type": "uint256[]"
1309
- }
1310
- ],
1311
- "name": "transferBatch",
1312
- "outputs": [],
1313
- "stateMutability": "nonpayable",
1314
- "type": "function"
1315
- },
1316
- {
1317
- "inputs": [
1318
- {
1319
- "internalType": "address",
1320
- "name": "_from",
1321
- "type": "address"
1322
- },
1323
- {
1324
- "internalType": "address",
1325
- "name": "_to",
1326
- "type": "address"
1327
- },
1328
- {
1329
- "internalType": "uint256",
1330
- "name": "_id",
1331
- "type": "uint256"
1332
- }
1333
- ],
1334
- "name": "transferFrom",
1335
- "outputs": [],
1336
- "stateMutability": "nonpayable",
1337
- "type": "function"
1338
- },
1339
- {
1340
- "inputs": [
1341
- {
1342
- "internalType": "address",
1343
- "name": "_from",
1344
- "type": "address"
1345
- },
1346
- {
1347
- "internalType": "address",
1348
- "name": "_to",
1349
- "type": "address"
1350
- },
1351
- {
1352
- "internalType": "uint256[]",
1353
- "name": "_ids",
1354
- "type": "uint256[]"
1355
- }
1356
- ],
1357
- "name": "transferFromBatch",
1358
- "outputs": [],
1359
- "stateMutability": "nonpayable",
1360
- "type": "function"
1361
- },
1362
- {
1363
- "inputs": [
1364
- {
1365
- "internalType": "address",
1366
- "name": "_newOwner",
1367
- "type": "address"
1368
- }
1369
- ],
1370
- "name": "transferOwnership",
1371
- "outputs": [],
1372
- "stateMutability": "nonpayable",
1373
- "type": "function"
1374
- },
1375
- {
1376
- "inputs": [
1377
- {
1378
- "internalType": "uint256",
1379
- "name": "_id",
1380
- "type": "uint256"
1381
- },
1382
- {
1383
- "internalType": "string",
1384
- "name": "data",
1385
- "type": "string"
1386
- }
1387
- ],
1388
- "name": "update",
1389
- "outputs": [],
1390
- "stateMutability": "nonpayable",
1391
- "type": "function"
1392
- }
1393
- ]