mm_contract 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,833 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": false,
7
+ "internalType": "address",
8
+ "name": "_owner",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": false,
13
+ "internalType": "address",
14
+ "name": "_operator",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "uint256",
20
+ "name": "_id",
21
+ "type": "uint256"
22
+ },
23
+ {
24
+ "indexed": false,
25
+ "internalType": "uint256",
26
+ "name": "_amount",
27
+ "type": "uint256"
28
+ }
29
+ ],
30
+ "name": "Approval",
31
+ "type": "event"
32
+ },
33
+ {
34
+ "anonymous": false,
35
+ "inputs": [
36
+ {
37
+ "indexed": false,
38
+ "internalType": "address",
39
+ "name": "_address",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "internalType": "uint256",
45
+ "name": "_id",
46
+ "type": "uint256"
47
+ },
48
+ {
49
+ "indexed": false,
50
+ "internalType": "uint256",
51
+ "name": "_amount",
52
+ "type": "uint256"
53
+ }
54
+ ],
55
+ "name": "Burn",
56
+ "type": "event"
57
+ },
58
+ {
59
+ "anonymous": false,
60
+ "inputs": [
61
+ {
62
+ "indexed": false,
63
+ "internalType": "string",
64
+ "name": "_name",
65
+ "type": "string"
66
+ },
67
+ {
68
+ "indexed": false,
69
+ "internalType": "string",
70
+ "name": "_symbol",
71
+ "type": "string"
72
+ }
73
+ ],
74
+ "name": "Issued",
75
+ "type": "event"
76
+ },
77
+ {
78
+ "anonymous": false,
79
+ "inputs": [
80
+ {
81
+ "indexed": false,
82
+ "internalType": "address",
83
+ "name": "_address",
84
+ "type": "address"
85
+ },
86
+ {
87
+ "indexed": false,
88
+ "internalType": "uint256",
89
+ "name": "_id",
90
+ "type": "uint256"
91
+ },
92
+ {
93
+ "indexed": false,
94
+ "internalType": "uint256",
95
+ "name": "_amount",
96
+ "type": "uint256"
97
+ }
98
+ ],
99
+ "name": "Mint",
100
+ "type": "event"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": false,
107
+ "internalType": "uint256",
108
+ "name": "_id",
109
+ "type": "uint256"
110
+ },
111
+ {
112
+ "indexed": false,
113
+ "internalType": "string",
114
+ "name": "_name",
115
+ "type": "string"
116
+ },
117
+ {
118
+ "indexed": false,
119
+ "internalType": "string",
120
+ "name": "_symbol",
121
+ "type": "string"
122
+ }
123
+ ],
124
+ "name": "Revise",
125
+ "type": "event"
126
+ },
127
+ {
128
+ "anonymous": false,
129
+ "inputs": [
130
+ {
131
+ "indexed": false,
132
+ "internalType": "address",
133
+ "name": "_from",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "indexed": false,
138
+ "internalType": "address",
139
+ "name": "_to",
140
+ "type": "address"
141
+ },
142
+ {
143
+ "indexed": false,
144
+ "internalType": "uint256",
145
+ "name": "_id",
146
+ "type": "uint256"
147
+ },
148
+ {
149
+ "indexed": false,
150
+ "internalType": "uint256",
151
+ "name": "_amount",
152
+ "type": "uint256"
153
+ }
154
+ ],
155
+ "name": "Transfer",
156
+ "type": "event"
157
+ },
158
+ {
159
+ "inputs": [
160
+ {
161
+ "internalType": "address",
162
+ "name": "_owner",
163
+ "type": "address"
164
+ },
165
+ {
166
+ "internalType": "address",
167
+ "name": "_operator",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "internalType": "uint256[]",
172
+ "name": "_ids",
173
+ "type": "uint256[]"
174
+ }
175
+ ],
176
+ "name": "allowance",
177
+ "outputs": [
178
+ {
179
+ "internalType": "uint256[]",
180
+ "name": "",
181
+ "type": "uint256[]"
182
+ }
183
+ ],
184
+ "stateMutability": "view",
185
+ "type": "function"
186
+ },
187
+ {
188
+ "inputs": [
189
+ {
190
+ "internalType": "address",
191
+ "name": "_owner",
192
+ "type": "address"
193
+ },
194
+ {
195
+ "internalType": "address",
196
+ "name": "_operator",
197
+ "type": "address"
198
+ }
199
+ ],
200
+ "name": "allowanceAll",
201
+ "outputs": [
202
+ {
203
+ "internalType": "uint256[]",
204
+ "name": "",
205
+ "type": "uint256[]"
206
+ }
207
+ ],
208
+ "stateMutability": "view",
209
+ "type": "function"
210
+ },
211
+ {
212
+ "inputs": [
213
+ {
214
+ "internalType": "address",
215
+ "name": "_operator",
216
+ "type": "address"
217
+ },
218
+ {
219
+ "internalType": "uint256",
220
+ "name": "_id",
221
+ "type": "uint256"
222
+ },
223
+ {
224
+ "internalType": "uint256",
225
+ "name": "_amount",
226
+ "type": "uint256"
227
+ }
228
+ ],
229
+ "name": "approve",
230
+ "outputs": [],
231
+ "stateMutability": "nonpayable",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "address",
238
+ "name": "_operator",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "internalType": "uint256[]",
243
+ "name": "_ids",
244
+ "type": "uint256[]"
245
+ },
246
+ {
247
+ "internalType": "uint256[]",
248
+ "name": "_amounts",
249
+ "type": "uint256[]"
250
+ }
251
+ ],
252
+ "name": "approveBatch",
253
+ "outputs": [],
254
+ "stateMutability": "nonpayable",
255
+ "type": "function"
256
+ },
257
+ {
258
+ "inputs": [
259
+ {
260
+ "internalType": "address",
261
+ "name": "_address",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "_id",
267
+ "type": "uint256"
268
+ }
269
+ ],
270
+ "name": "balanceOf",
271
+ "outputs": [
272
+ {
273
+ "internalType": "uint256",
274
+ "name": "",
275
+ "type": "uint256"
276
+ }
277
+ ],
278
+ "stateMutability": "view",
279
+ "type": "function"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "address",
285
+ "name": "_address",
286
+ "type": "address"
287
+ }
288
+ ],
289
+ "name": "balanceOfAll",
290
+ "outputs": [
291
+ {
292
+ "components": [
293
+ {
294
+ "internalType": "uint256",
295
+ "name": "id",
296
+ "type": "uint256"
297
+ },
298
+ {
299
+ "internalType": "uint256",
300
+ "name": "num",
301
+ "type": "uint256"
302
+ }
303
+ ],
304
+ "internalType": "struct IERC1155.Items[]",
305
+ "name": "",
306
+ "type": "tuple[]"
307
+ }
308
+ ],
309
+ "stateMutability": "view",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [
314
+ {
315
+ "internalType": "address",
316
+ "name": "_address",
317
+ "type": "address"
318
+ },
319
+ {
320
+ "internalType": "uint256[]",
321
+ "name": "_ids",
322
+ "type": "uint256[]"
323
+ }
324
+ ],
325
+ "name": "balanceOfs",
326
+ "outputs": [
327
+ {
328
+ "internalType": "uint256[]",
329
+ "name": "",
330
+ "type": "uint256[]"
331
+ }
332
+ ],
333
+ "stateMutability": "view",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "address",
340
+ "name": "_address",
341
+ "type": "address"
342
+ },
343
+ {
344
+ "internalType": "uint256",
345
+ "name": "_id",
346
+ "type": "uint256"
347
+ },
348
+ {
349
+ "internalType": "uint256",
350
+ "name": "_amount",
351
+ "type": "uint256"
352
+ }
353
+ ],
354
+ "name": "burnFrom",
355
+ "outputs": [],
356
+ "stateMutability": "nonpayable",
357
+ "type": "function"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "address",
363
+ "name": "_address",
364
+ "type": "address"
365
+ },
366
+ {
367
+ "internalType": "uint256[]",
368
+ "name": "_ids",
369
+ "type": "uint256[]"
370
+ },
371
+ {
372
+ "internalType": "uint256[]",
373
+ "name": "_amounts",
374
+ "type": "uint256[]"
375
+ }
376
+ ],
377
+ "name": "burnFromBatch",
378
+ "outputs": [],
379
+ "stateMutability": "nonpayable",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [],
384
+ "name": "getIssued",
385
+ "outputs": [
386
+ {
387
+ "components": [
388
+ {
389
+ "internalType": "string",
390
+ "name": "name",
391
+ "type": "string"
392
+ },
393
+ {
394
+ "internalType": "string",
395
+ "name": "symbol",
396
+ "type": "string"
397
+ },
398
+ {
399
+ "internalType": "uint256",
400
+ "name": "totalSupply",
401
+ "type": "uint256"
402
+ }
403
+ ],
404
+ "internalType": "struct IERC1155.Item[]",
405
+ "name": "",
406
+ "type": "tuple[]"
407
+ }
408
+ ],
409
+ "stateMutability": "view",
410
+ "type": "function"
411
+ },
412
+ {
413
+ "inputs": [
414
+ {
415
+ "internalType": "address",
416
+ "name": "_owner",
417
+ "type": "address"
418
+ },
419
+ {
420
+ "internalType": "address",
421
+ "name": "_operator",
422
+ "type": "address"
423
+ }
424
+ ],
425
+ "name": "isApprovedForAll",
426
+ "outputs": [
427
+ {
428
+ "internalType": "bool",
429
+ "name": "",
430
+ "type": "bool"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "string",
440
+ "name": "_name",
441
+ "type": "string"
442
+ },
443
+ {
444
+ "internalType": "string",
445
+ "name": "_symbol",
446
+ "type": "string"
447
+ }
448
+ ],
449
+ "name": "issued",
450
+ "outputs": [],
451
+ "stateMutability": "nonpayable",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [
456
+ {
457
+ "internalType": "string[]",
458
+ "name": "_names",
459
+ "type": "string[]"
460
+ },
461
+ {
462
+ "internalType": "string[]",
463
+ "name": "_symbols",
464
+ "type": "string[]"
465
+ }
466
+ ],
467
+ "name": "issuedBatch",
468
+ "outputs": [],
469
+ "stateMutability": "nonpayable",
470
+ "type": "function"
471
+ },
472
+ {
473
+ "inputs": [
474
+ {
475
+ "internalType": "address",
476
+ "name": "_address",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "internalType": "uint256",
481
+ "name": "_id",
482
+ "type": "uint256"
483
+ },
484
+ {
485
+ "internalType": "uint256",
486
+ "name": "_amount",
487
+ "type": "uint256"
488
+ }
489
+ ],
490
+ "name": "mint",
491
+ "outputs": [],
492
+ "stateMutability": "nonpayable",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [
497
+ {
498
+ "internalType": "address",
499
+ "name": "_address",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "internalType": "uint256[]",
504
+ "name": "_ids",
505
+ "type": "uint256[]"
506
+ },
507
+ {
508
+ "internalType": "uint256[]",
509
+ "name": "_amounts",
510
+ "type": "uint256[]"
511
+ }
512
+ ],
513
+ "name": "mintBatch",
514
+ "outputs": [],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "uint256[]",
522
+ "name": "_ids",
523
+ "type": "uint256[]"
524
+ }
525
+ ],
526
+ "name": "name",
527
+ "outputs": [
528
+ {
529
+ "internalType": "string[]",
530
+ "name": "",
531
+ "type": "string[]"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [],
539
+ "name": "nameAll",
540
+ "outputs": [
541
+ {
542
+ "internalType": "string[]",
543
+ "name": "",
544
+ "type": "string[]"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [
552
+ {
553
+ "internalType": "uint256[]",
554
+ "name": "_ids",
555
+ "type": "uint256[]"
556
+ },
557
+ {
558
+ "internalType": "string[]",
559
+ "name": "_names",
560
+ "type": "string[]"
561
+ },
562
+ {
563
+ "internalType": "string[]",
564
+ "name": "_symbols",
565
+ "type": "string[]"
566
+ }
567
+ ],
568
+ "name": "revise",
569
+ "outputs": [],
570
+ "stateMutability": "nonpayable",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [
575
+ {
576
+ "internalType": "address",
577
+ "name": "_to",
578
+ "type": "address"
579
+ },
580
+ {
581
+ "internalType": "uint256",
582
+ "name": "_id",
583
+ "type": "uint256"
584
+ },
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "_amount",
588
+ "type": "uint256"
589
+ }
590
+ ],
591
+ "name": "safeTransfer",
592
+ "outputs": [
593
+ {
594
+ "internalType": "bool",
595
+ "name": "",
596
+ "type": "bool"
597
+ }
598
+ ],
599
+ "stateMutability": "nonpayable",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "inputs": [
604
+ {
605
+ "internalType": "address",
606
+ "name": "_from",
607
+ "type": "address"
608
+ },
609
+ {
610
+ "internalType": "address",
611
+ "name": "_to",
612
+ "type": "address"
613
+ },
614
+ {
615
+ "internalType": "uint256",
616
+ "name": "_id",
617
+ "type": "uint256"
618
+ },
619
+ {
620
+ "internalType": "uint256",
621
+ "name": "_amount",
622
+ "type": "uint256"
623
+ }
624
+ ],
625
+ "name": "safeTransferFrom",
626
+ "outputs": [
627
+ {
628
+ "internalType": "bool",
629
+ "name": "",
630
+ "type": "bool"
631
+ }
632
+ ],
633
+ "stateMutability": "nonpayable",
634
+ "type": "function"
635
+ },
636
+ {
637
+ "inputs": [
638
+ {
639
+ "internalType": "address",
640
+ "name": "_operator",
641
+ "type": "address"
642
+ },
643
+ {
644
+ "internalType": "bool",
645
+ "name": "_approved",
646
+ "type": "bool"
647
+ }
648
+ ],
649
+ "name": "setApprovalForAll",
650
+ "outputs": [],
651
+ "stateMutability": "nonpayable",
652
+ "type": "function"
653
+ },
654
+ {
655
+ "inputs": [
656
+ {
657
+ "internalType": "uint256[]",
658
+ "name": "_ids",
659
+ "type": "uint256[]"
660
+ }
661
+ ],
662
+ "name": "symbol",
663
+ "outputs": [
664
+ {
665
+ "internalType": "string[]",
666
+ "name": "",
667
+ "type": "string[]"
668
+ }
669
+ ],
670
+ "stateMutability": "view",
671
+ "type": "function"
672
+ },
673
+ {
674
+ "inputs": [],
675
+ "name": "symbolAll",
676
+ "outputs": [
677
+ {
678
+ "internalType": "string[]",
679
+ "name": "",
680
+ "type": "string[]"
681
+ }
682
+ ],
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "inputs": [],
688
+ "name": "tokenURI",
689
+ "outputs": [
690
+ {
691
+ "internalType": "string",
692
+ "name": "",
693
+ "type": "string"
694
+ }
695
+ ],
696
+ "stateMutability": "view",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [
701
+ {
702
+ "internalType": "uint256[]",
703
+ "name": "_ids",
704
+ "type": "uint256[]"
705
+ }
706
+ ],
707
+ "name": "totalSupply",
708
+ "outputs": [
709
+ {
710
+ "internalType": "uint256[]",
711
+ "name": "",
712
+ "type": "uint256[]"
713
+ }
714
+ ],
715
+ "stateMutability": "view",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [],
720
+ "name": "totalSupplyAll",
721
+ "outputs": [
722
+ {
723
+ "internalType": "uint256[]",
724
+ "name": "",
725
+ "type": "uint256[]"
726
+ }
727
+ ],
728
+ "stateMutability": "view",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [
733
+ {
734
+ "internalType": "address",
735
+ "name": "_to",
736
+ "type": "address"
737
+ },
738
+ {
739
+ "internalType": "uint256",
740
+ "name": "_id",
741
+ "type": "uint256"
742
+ },
743
+ {
744
+ "internalType": "uint256",
745
+ "name": "_amount",
746
+ "type": "uint256"
747
+ }
748
+ ],
749
+ "name": "transfer",
750
+ "outputs": [],
751
+ "stateMutability": "nonpayable",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [
756
+ {
757
+ "internalType": "address",
758
+ "name": "_to",
759
+ "type": "address"
760
+ },
761
+ {
762
+ "internalType": "uint256[]",
763
+ "name": "_ids",
764
+ "type": "uint256[]"
765
+ },
766
+ {
767
+ "internalType": "uint256[]",
768
+ "name": "_amounts",
769
+ "type": "uint256[]"
770
+ }
771
+ ],
772
+ "name": "transferBatch",
773
+ "outputs": [],
774
+ "stateMutability": "nonpayable",
775
+ "type": "function"
776
+ },
777
+ {
778
+ "inputs": [
779
+ {
780
+ "internalType": "address",
781
+ "name": "_from",
782
+ "type": "address"
783
+ },
784
+ {
785
+ "internalType": "address",
786
+ "name": "_to",
787
+ "type": "address"
788
+ },
789
+ {
790
+ "internalType": "uint256",
791
+ "name": "_id",
792
+ "type": "uint256"
793
+ },
794
+ {
795
+ "internalType": "uint256",
796
+ "name": "_amount",
797
+ "type": "uint256"
798
+ }
799
+ ],
800
+ "name": "transferFrom",
801
+ "outputs": [],
802
+ "stateMutability": "nonpayable",
803
+ "type": "function"
804
+ },
805
+ {
806
+ "inputs": [
807
+ {
808
+ "internalType": "address",
809
+ "name": "_from",
810
+ "type": "address"
811
+ },
812
+ {
813
+ "internalType": "address",
814
+ "name": "_to",
815
+ "type": "address"
816
+ },
817
+ {
818
+ "internalType": "uint256[]",
819
+ "name": "_ids",
820
+ "type": "uint256[]"
821
+ },
822
+ {
823
+ "internalType": "uint256[]",
824
+ "name": "_amounts",
825
+ "type": "uint256[]"
826
+ }
827
+ ],
828
+ "name": "transferFromBatch",
829
+ "outputs": [],
830
+ "stateMutability": "nonpayable",
831
+ "type": "function"
832
+ }
833
+ ]