@lukso/lsp8-contracts 0.15.0-rc.4 → 0.15.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.
- package/README.md +14 -0
- package/artifacts/LSP8Mintable.json +2 -2
- package/artifacts/LSP8MintableInit.json +2 -2
- package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.12.0.json +739 -748
- package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.13.0.json +890 -899
- package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.14.0.json +890 -899
- package/compatibility-abis/LSP8IdentifiableDigitalAsset.json +927 -0
- package/compatibility-abis/README.md +34 -0
- package/contracts/LSP8IdentifiableDigitalAssetCore.sol +5 -2
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +5 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +5 -5
@@ -1,748 +1,739 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
"stateMutability": "payable",
|
741
|
-
"type": "receive"
|
742
|
-
}
|
743
|
-
],
|
744
|
-
"bytecode": "0x",
|
745
|
-
"deployedBytecode": "0x",
|
746
|
-
"linkReferences": {},
|
747
|
-
"deployedLinkReferences": {}
|
748
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"inputs": [],
|
4
|
+
"name": "ERC725Y_DataKeysValuesEmptyArray",
|
5
|
+
"type": "error"
|
6
|
+
},
|
7
|
+
{
|
8
|
+
"inputs": [],
|
9
|
+
"name": "ERC725Y_DataKeysValuesLengthMismatch",
|
10
|
+
"type": "error"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"inputs": [],
|
14
|
+
"name": "ERC725Y_MsgValueDisallowed",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "bytes",
|
21
|
+
"name": "storedData",
|
22
|
+
"type": "bytes"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"name": "InvalidExtensionAddress",
|
26
|
+
"type": "error"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"inputs": [
|
30
|
+
{
|
31
|
+
"internalType": "bytes",
|
32
|
+
"name": "data",
|
33
|
+
"type": "bytes"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"name": "InvalidFunctionSelector",
|
37
|
+
"type": "error"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"inputs": [],
|
41
|
+
"name": "LSP4TokenNameNotEditable",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [],
|
46
|
+
"name": "LSP4TokenSymbolNotEditable",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [],
|
51
|
+
"name": "LSP8CannotSendToAddressZero",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [],
|
56
|
+
"name": "LSP8CannotSendToSelf",
|
57
|
+
"type": "error"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"inputs": [],
|
61
|
+
"name": "LSP8CannotUseAddressZeroAsOperator",
|
62
|
+
"type": "error"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [],
|
66
|
+
"name": "LSP8InvalidTransferBatch",
|
67
|
+
"type": "error"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"inputs": [
|
71
|
+
{
|
72
|
+
"internalType": "bytes32",
|
73
|
+
"name": "tokenId",
|
74
|
+
"type": "bytes32"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"name": "LSP8NonExistentTokenId",
|
78
|
+
"type": "error"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"inputs": [
|
82
|
+
{
|
83
|
+
"internalType": "address",
|
84
|
+
"name": "operator",
|
85
|
+
"type": "address"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"internalType": "bytes32",
|
89
|
+
"name": "tokenId",
|
90
|
+
"type": "bytes32"
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"name": "LSP8NonExistingOperator",
|
94
|
+
"type": "error"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"inputs": [
|
98
|
+
{
|
99
|
+
"internalType": "bytes32",
|
100
|
+
"name": "tokenId",
|
101
|
+
"type": "bytes32"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"internalType": "address",
|
105
|
+
"name": "caller",
|
106
|
+
"type": "address"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"name": "LSP8NotTokenOperator",
|
110
|
+
"type": "error"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"inputs": [
|
114
|
+
{
|
115
|
+
"internalType": "address",
|
116
|
+
"name": "tokenOwner",
|
117
|
+
"type": "address"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"internalType": "bytes32",
|
121
|
+
"name": "tokenId",
|
122
|
+
"type": "bytes32"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"internalType": "address",
|
126
|
+
"name": "caller",
|
127
|
+
"type": "address"
|
128
|
+
}
|
129
|
+
],
|
130
|
+
"name": "LSP8NotTokenOwner",
|
131
|
+
"type": "error"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"inputs": [
|
135
|
+
{
|
136
|
+
"internalType": "address",
|
137
|
+
"name": "tokenReceiver",
|
138
|
+
"type": "address"
|
139
|
+
}
|
140
|
+
],
|
141
|
+
"name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface",
|
142
|
+
"type": "error"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"inputs": [
|
146
|
+
{
|
147
|
+
"internalType": "address",
|
148
|
+
"name": "tokenReceiver",
|
149
|
+
"type": "address"
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"name": "LSP8NotifyTokenReceiverIsEOA",
|
153
|
+
"type": "error"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"inputs": [
|
157
|
+
{
|
158
|
+
"internalType": "address",
|
159
|
+
"name": "operator",
|
160
|
+
"type": "address"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "bytes32",
|
164
|
+
"name": "tokenId",
|
165
|
+
"type": "bytes32"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"name": "LSP8OperatorAlreadyAuthorized",
|
169
|
+
"type": "error"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"inputs": [],
|
173
|
+
"name": "LSP8TokenContractCannotHoldValue",
|
174
|
+
"type": "error"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"inputs": [],
|
178
|
+
"name": "LSP8TokenIdTypeNotEditable",
|
179
|
+
"type": "error"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"inputs": [],
|
183
|
+
"name": "LSP8TokenOwnerCannotBeOperator",
|
184
|
+
"type": "error"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"inputs": [
|
188
|
+
{
|
189
|
+
"internalType": "bytes4",
|
190
|
+
"name": "functionSelector",
|
191
|
+
"type": "bytes4"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
"name": "NoExtensionFoundForFunctionSelector",
|
195
|
+
"type": "error"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"inputs": [
|
199
|
+
{
|
200
|
+
"internalType": "address",
|
201
|
+
"name": "callerAddress",
|
202
|
+
"type": "address"
|
203
|
+
}
|
204
|
+
],
|
205
|
+
"name": "OwnableCallerNotTheOwner",
|
206
|
+
"type": "error"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"inputs": [],
|
210
|
+
"name": "OwnableCannotSetZeroAddressAsOwner",
|
211
|
+
"type": "error"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"anonymous": false,
|
215
|
+
"inputs": [
|
216
|
+
{
|
217
|
+
"indexed": true,
|
218
|
+
"internalType": "address",
|
219
|
+
"name": "operator",
|
220
|
+
"type": "address"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"indexed": true,
|
224
|
+
"internalType": "address",
|
225
|
+
"name": "tokenOwner",
|
226
|
+
"type": "address"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"indexed": true,
|
230
|
+
"internalType": "bytes32",
|
231
|
+
"name": "tokenId",
|
232
|
+
"type": "bytes32"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"indexed": false,
|
236
|
+
"internalType": "bytes",
|
237
|
+
"name": "operatorNotificationData",
|
238
|
+
"type": "bytes"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
"name": "AuthorizedOperator",
|
242
|
+
"type": "event"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"anonymous": false,
|
246
|
+
"inputs": [
|
247
|
+
{
|
248
|
+
"indexed": true,
|
249
|
+
"internalType": "bytes32",
|
250
|
+
"name": "dataKey",
|
251
|
+
"type": "bytes32"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"indexed": false,
|
255
|
+
"internalType": "bytes",
|
256
|
+
"name": "dataValue",
|
257
|
+
"type": "bytes"
|
258
|
+
}
|
259
|
+
],
|
260
|
+
"name": "DataChanged",
|
261
|
+
"type": "event"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"anonymous": false,
|
265
|
+
"inputs": [
|
266
|
+
{
|
267
|
+
"indexed": true,
|
268
|
+
"internalType": "address",
|
269
|
+
"name": "previousOwner",
|
270
|
+
"type": "address"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"indexed": true,
|
274
|
+
"internalType": "address",
|
275
|
+
"name": "newOwner",
|
276
|
+
"type": "address"
|
277
|
+
}
|
278
|
+
],
|
279
|
+
"name": "OwnershipTransferred",
|
280
|
+
"type": "event"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"anonymous": false,
|
284
|
+
"inputs": [
|
285
|
+
{
|
286
|
+
"indexed": true,
|
287
|
+
"internalType": "address",
|
288
|
+
"name": "operator",
|
289
|
+
"type": "address"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"indexed": true,
|
293
|
+
"internalType": "address",
|
294
|
+
"name": "tokenOwner",
|
295
|
+
"type": "address"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"indexed": true,
|
299
|
+
"internalType": "bytes32",
|
300
|
+
"name": "tokenId",
|
301
|
+
"type": "bytes32"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"indexed": false,
|
305
|
+
"internalType": "bool",
|
306
|
+
"name": "notified",
|
307
|
+
"type": "bool"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"indexed": false,
|
311
|
+
"internalType": "bytes",
|
312
|
+
"name": "operatorNotificationData",
|
313
|
+
"type": "bytes"
|
314
|
+
}
|
315
|
+
],
|
316
|
+
"name": "RevokedOperator",
|
317
|
+
"type": "event"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"anonymous": false,
|
321
|
+
"inputs": [
|
322
|
+
{
|
323
|
+
"indexed": false,
|
324
|
+
"internalType": "address",
|
325
|
+
"name": "operator",
|
326
|
+
"type": "address"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"indexed": true,
|
330
|
+
"internalType": "address",
|
331
|
+
"name": "from",
|
332
|
+
"type": "address"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"indexed": true,
|
336
|
+
"internalType": "address",
|
337
|
+
"name": "to",
|
338
|
+
"type": "address"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"indexed": true,
|
342
|
+
"internalType": "bytes32",
|
343
|
+
"name": "tokenId",
|
344
|
+
"type": "bytes32"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"indexed": false,
|
348
|
+
"internalType": "bool",
|
349
|
+
"name": "force",
|
350
|
+
"type": "bool"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"indexed": false,
|
354
|
+
"internalType": "bytes",
|
355
|
+
"name": "data",
|
356
|
+
"type": "bytes"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"name": "Transfer",
|
360
|
+
"type": "event"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"stateMutability": "payable",
|
364
|
+
"type": "fallback"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"inputs": [
|
368
|
+
{
|
369
|
+
"internalType": "address",
|
370
|
+
"name": "operator",
|
371
|
+
"type": "address"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"internalType": "bytes32",
|
375
|
+
"name": "tokenId",
|
376
|
+
"type": "bytes32"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"internalType": "bytes",
|
380
|
+
"name": "operatorNotificationData",
|
381
|
+
"type": "bytes"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"name": "authorizeOperator",
|
385
|
+
"outputs": [],
|
386
|
+
"stateMutability": "nonpayable",
|
387
|
+
"type": "function"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"inputs": [
|
391
|
+
{
|
392
|
+
"internalType": "address",
|
393
|
+
"name": "tokenOwner",
|
394
|
+
"type": "address"
|
395
|
+
}
|
396
|
+
],
|
397
|
+
"name": "balanceOf",
|
398
|
+
"outputs": [
|
399
|
+
{
|
400
|
+
"internalType": "uint256",
|
401
|
+
"name": "",
|
402
|
+
"type": "uint256"
|
403
|
+
}
|
404
|
+
],
|
405
|
+
"stateMutability": "view",
|
406
|
+
"type": "function"
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"inputs": [
|
410
|
+
{
|
411
|
+
"internalType": "bytes32",
|
412
|
+
"name": "dataKey",
|
413
|
+
"type": "bytes32"
|
414
|
+
}
|
415
|
+
],
|
416
|
+
"name": "getData",
|
417
|
+
"outputs": [
|
418
|
+
{
|
419
|
+
"internalType": "bytes",
|
420
|
+
"name": "dataValue",
|
421
|
+
"type": "bytes"
|
422
|
+
}
|
423
|
+
],
|
424
|
+
"stateMutability": "view",
|
425
|
+
"type": "function"
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"inputs": [
|
429
|
+
{
|
430
|
+
"internalType": "bytes32[]",
|
431
|
+
"name": "dataKeys",
|
432
|
+
"type": "bytes32[]"
|
433
|
+
}
|
434
|
+
],
|
435
|
+
"name": "getDataBatch",
|
436
|
+
"outputs": [
|
437
|
+
{
|
438
|
+
"internalType": "bytes[]",
|
439
|
+
"name": "dataValues",
|
440
|
+
"type": "bytes[]"
|
441
|
+
}
|
442
|
+
],
|
443
|
+
"stateMutability": "view",
|
444
|
+
"type": "function"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"inputs": [
|
448
|
+
{
|
449
|
+
"internalType": "bytes32",
|
450
|
+
"name": "tokenId",
|
451
|
+
"type": "bytes32"
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"name": "getOperatorsOf",
|
455
|
+
"outputs": [
|
456
|
+
{
|
457
|
+
"internalType": "address[]",
|
458
|
+
"name": "",
|
459
|
+
"type": "address[]"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"stateMutability": "view",
|
463
|
+
"type": "function"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"inputs": [
|
467
|
+
{
|
468
|
+
"internalType": "address",
|
469
|
+
"name": "operator",
|
470
|
+
"type": "address"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"internalType": "bytes32",
|
474
|
+
"name": "tokenId",
|
475
|
+
"type": "bytes32"
|
476
|
+
}
|
477
|
+
],
|
478
|
+
"name": "isOperatorFor",
|
479
|
+
"outputs": [
|
480
|
+
{
|
481
|
+
"internalType": "bool",
|
482
|
+
"name": "",
|
483
|
+
"type": "bool"
|
484
|
+
}
|
485
|
+
],
|
486
|
+
"stateMutability": "view",
|
487
|
+
"type": "function"
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"inputs": [],
|
491
|
+
"name": "owner",
|
492
|
+
"outputs": [
|
493
|
+
{
|
494
|
+
"internalType": "address",
|
495
|
+
"name": "",
|
496
|
+
"type": "address"
|
497
|
+
}
|
498
|
+
],
|
499
|
+
"stateMutability": "view",
|
500
|
+
"type": "function"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"inputs": [],
|
504
|
+
"name": "renounceOwnership",
|
505
|
+
"outputs": [],
|
506
|
+
"stateMutability": "nonpayable",
|
507
|
+
"type": "function"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"inputs": [
|
511
|
+
{
|
512
|
+
"internalType": "address",
|
513
|
+
"name": "operator",
|
514
|
+
"type": "address"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"internalType": "bytes32",
|
518
|
+
"name": "tokenId",
|
519
|
+
"type": "bytes32"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"internalType": "bool",
|
523
|
+
"name": "notify",
|
524
|
+
"type": "bool"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"internalType": "bytes",
|
528
|
+
"name": "operatorNotificationData",
|
529
|
+
"type": "bytes"
|
530
|
+
}
|
531
|
+
],
|
532
|
+
"name": "revokeOperator",
|
533
|
+
"outputs": [],
|
534
|
+
"stateMutability": "nonpayable",
|
535
|
+
"type": "function"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"inputs": [
|
539
|
+
{
|
540
|
+
"internalType": "bytes32",
|
541
|
+
"name": "dataKey",
|
542
|
+
"type": "bytes32"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"internalType": "bytes",
|
546
|
+
"name": "dataValue",
|
547
|
+
"type": "bytes"
|
548
|
+
}
|
549
|
+
],
|
550
|
+
"name": "setData",
|
551
|
+
"outputs": [],
|
552
|
+
"stateMutability": "payable",
|
553
|
+
"type": "function"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"inputs": [
|
557
|
+
{
|
558
|
+
"internalType": "bytes32[]",
|
559
|
+
"name": "dataKeys",
|
560
|
+
"type": "bytes32[]"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"internalType": "bytes[]",
|
564
|
+
"name": "dataValues",
|
565
|
+
"type": "bytes[]"
|
566
|
+
}
|
567
|
+
],
|
568
|
+
"name": "setDataBatch",
|
569
|
+
"outputs": [],
|
570
|
+
"stateMutability": "payable",
|
571
|
+
"type": "function"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"inputs": [
|
575
|
+
{
|
576
|
+
"internalType": "bytes4",
|
577
|
+
"name": "interfaceId",
|
578
|
+
"type": "bytes4"
|
579
|
+
}
|
580
|
+
],
|
581
|
+
"name": "supportsInterface",
|
582
|
+
"outputs": [
|
583
|
+
{
|
584
|
+
"internalType": "bool",
|
585
|
+
"name": "",
|
586
|
+
"type": "bool"
|
587
|
+
}
|
588
|
+
],
|
589
|
+
"stateMutability": "view",
|
590
|
+
"type": "function"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"inputs": [
|
594
|
+
{
|
595
|
+
"internalType": "address",
|
596
|
+
"name": "tokenOwner",
|
597
|
+
"type": "address"
|
598
|
+
}
|
599
|
+
],
|
600
|
+
"name": "tokenIdsOf",
|
601
|
+
"outputs": [
|
602
|
+
{
|
603
|
+
"internalType": "bytes32[]",
|
604
|
+
"name": "",
|
605
|
+
"type": "bytes32[]"
|
606
|
+
}
|
607
|
+
],
|
608
|
+
"stateMutability": "view",
|
609
|
+
"type": "function"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"inputs": [
|
613
|
+
{
|
614
|
+
"internalType": "bytes32",
|
615
|
+
"name": "tokenId",
|
616
|
+
"type": "bytes32"
|
617
|
+
}
|
618
|
+
],
|
619
|
+
"name": "tokenOwnerOf",
|
620
|
+
"outputs": [
|
621
|
+
{
|
622
|
+
"internalType": "address",
|
623
|
+
"name": "",
|
624
|
+
"type": "address"
|
625
|
+
}
|
626
|
+
],
|
627
|
+
"stateMutability": "view",
|
628
|
+
"type": "function"
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"inputs": [],
|
632
|
+
"name": "totalSupply",
|
633
|
+
"outputs": [
|
634
|
+
{
|
635
|
+
"internalType": "uint256",
|
636
|
+
"name": "",
|
637
|
+
"type": "uint256"
|
638
|
+
}
|
639
|
+
],
|
640
|
+
"stateMutability": "view",
|
641
|
+
"type": "function"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"inputs": [
|
645
|
+
{
|
646
|
+
"internalType": "address",
|
647
|
+
"name": "from",
|
648
|
+
"type": "address"
|
649
|
+
},
|
650
|
+
{
|
651
|
+
"internalType": "address",
|
652
|
+
"name": "to",
|
653
|
+
"type": "address"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"internalType": "bytes32",
|
657
|
+
"name": "tokenId",
|
658
|
+
"type": "bytes32"
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"internalType": "bool",
|
662
|
+
"name": "force",
|
663
|
+
"type": "bool"
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"internalType": "bytes",
|
667
|
+
"name": "data",
|
668
|
+
"type": "bytes"
|
669
|
+
}
|
670
|
+
],
|
671
|
+
"name": "transfer",
|
672
|
+
"outputs": [],
|
673
|
+
"stateMutability": "nonpayable",
|
674
|
+
"type": "function"
|
675
|
+
},
|
676
|
+
{
|
677
|
+
"inputs": [
|
678
|
+
{
|
679
|
+
"internalType": "address[]",
|
680
|
+
"name": "from",
|
681
|
+
"type": "address[]"
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"internalType": "address[]",
|
685
|
+
"name": "to",
|
686
|
+
"type": "address[]"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"internalType": "bytes32[]",
|
690
|
+
"name": "tokenId",
|
691
|
+
"type": "bytes32[]"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"internalType": "bool[]",
|
695
|
+
"name": "force",
|
696
|
+
"type": "bool[]"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"internalType": "bytes[]",
|
700
|
+
"name": "data",
|
701
|
+
"type": "bytes[]"
|
702
|
+
}
|
703
|
+
],
|
704
|
+
"name": "transferBatch",
|
705
|
+
"outputs": [],
|
706
|
+
"stateMutability": "nonpayable",
|
707
|
+
"type": "function"
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"inputs": [
|
711
|
+
{
|
712
|
+
"internalType": "address",
|
713
|
+
"name": "newOwner",
|
714
|
+
"type": "address"
|
715
|
+
}
|
716
|
+
],
|
717
|
+
"name": "transferOwnership",
|
718
|
+
"outputs": [],
|
719
|
+
"stateMutability": "nonpayable",
|
720
|
+
"type": "function"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"inputs": [],
|
724
|
+
"name": "version",
|
725
|
+
"outputs": [
|
726
|
+
{
|
727
|
+
"internalType": "string",
|
728
|
+
"name": "",
|
729
|
+
"type": "string"
|
730
|
+
}
|
731
|
+
],
|
732
|
+
"stateMutability": "view",
|
733
|
+
"type": "function"
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"stateMutability": "payable",
|
737
|
+
"type": "receive"
|
738
|
+
}
|
739
|
+
]
|