mm_contract 1.0.1 → 1.0.2

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