@lukso/lsp8-contracts 0.16.4 → 0.16.7
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 +1 -1
- package/artifacts/ILSP8IdentifiableDigitalAsset.json +490 -0
- package/artifacts/LSP8Burnable.json +943 -0
- package/artifacts/LSP8BurnableInitAbstract.json +951 -0
- package/artifacts/LSP8CappedSupply.json +948 -0
- package/artifacts/LSP8CappedSupplyInitAbstract.json +956 -0
- package/artifacts/LSP8Enumerable.json +944 -0
- package/artifacts/LSP8EnumerableInitAbstract.json +952 -0
- package/artifacts/LSP8IdentifiableDigitalAsset.json +925 -0
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +933 -0
- package/artifacts/LSP8Mintable.json +995 -0
- package/artifacts/LSP8MintableInit.json +1015 -0
- package/artifacts/LSP8Votes.json +1230 -0
- package/artifacts/LSP8VotesInitAbstract.json +1222 -0
- package/package.json +10 -9
package/README.md
CHANGED
@@ -0,0 +1,490 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ILSP8IdentifiableDigitalAsset",
|
4
|
+
"sourceName": "contracts/ILSP8IdentifiableDigitalAsset.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": true,
|
11
|
+
"internalType": "address",
|
12
|
+
"name": "operator",
|
13
|
+
"type": "address"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": true,
|
17
|
+
"internalType": "address",
|
18
|
+
"name": "tokenOwner",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": true,
|
23
|
+
"internalType": "bytes32",
|
24
|
+
"name": "tokenId",
|
25
|
+
"type": "bytes32"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"indexed": false,
|
29
|
+
"internalType": "bytes",
|
30
|
+
"name": "operatorNotificationData",
|
31
|
+
"type": "bytes"
|
32
|
+
}
|
33
|
+
],
|
34
|
+
"name": "OperatorAuthorizationChanged",
|
35
|
+
"type": "event"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"anonymous": false,
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"indexed": true,
|
42
|
+
"internalType": "address",
|
43
|
+
"name": "operator",
|
44
|
+
"type": "address"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"indexed": true,
|
48
|
+
"internalType": "address",
|
49
|
+
"name": "tokenOwner",
|
50
|
+
"type": "address"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"indexed": true,
|
54
|
+
"internalType": "bytes32",
|
55
|
+
"name": "tokenId",
|
56
|
+
"type": "bytes32"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"indexed": false,
|
60
|
+
"internalType": "bool",
|
61
|
+
"name": "notified",
|
62
|
+
"type": "bool"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"indexed": false,
|
66
|
+
"internalType": "bytes",
|
67
|
+
"name": "operatorNotificationData",
|
68
|
+
"type": "bytes"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"name": "OperatorRevoked",
|
72
|
+
"type": "event"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"anonymous": false,
|
76
|
+
"inputs": [
|
77
|
+
{
|
78
|
+
"indexed": true,
|
79
|
+
"internalType": "bytes32",
|
80
|
+
"name": "tokenId",
|
81
|
+
"type": "bytes32"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"indexed": true,
|
85
|
+
"internalType": "bytes32",
|
86
|
+
"name": "dataKey",
|
87
|
+
"type": "bytes32"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"indexed": false,
|
91
|
+
"internalType": "bytes",
|
92
|
+
"name": "dataValue",
|
93
|
+
"type": "bytes"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "TokenIdDataChanged",
|
97
|
+
"type": "event"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"anonymous": false,
|
101
|
+
"inputs": [
|
102
|
+
{
|
103
|
+
"indexed": false,
|
104
|
+
"internalType": "address",
|
105
|
+
"name": "operator",
|
106
|
+
"type": "address"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"indexed": true,
|
110
|
+
"internalType": "address",
|
111
|
+
"name": "from",
|
112
|
+
"type": "address"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"indexed": true,
|
116
|
+
"internalType": "address",
|
117
|
+
"name": "to",
|
118
|
+
"type": "address"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"indexed": true,
|
122
|
+
"internalType": "bytes32",
|
123
|
+
"name": "tokenId",
|
124
|
+
"type": "bytes32"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"indexed": false,
|
128
|
+
"internalType": "bool",
|
129
|
+
"name": "force",
|
130
|
+
"type": "bool"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"indexed": false,
|
134
|
+
"internalType": "bytes",
|
135
|
+
"name": "data",
|
136
|
+
"type": "bytes"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"name": "Transfer",
|
140
|
+
"type": "event"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"inputs": [
|
144
|
+
{
|
145
|
+
"internalType": "address",
|
146
|
+
"name": "operator",
|
147
|
+
"type": "address"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"internalType": "bytes32",
|
151
|
+
"name": "tokenId",
|
152
|
+
"type": "bytes32"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"internalType": "bytes",
|
156
|
+
"name": "operatorNotificationData",
|
157
|
+
"type": "bytes"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"name": "authorizeOperator",
|
161
|
+
"outputs": [],
|
162
|
+
"stateMutability": "nonpayable",
|
163
|
+
"type": "function"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"inputs": [
|
167
|
+
{
|
168
|
+
"internalType": "address",
|
169
|
+
"name": "tokenOwner",
|
170
|
+
"type": "address"
|
171
|
+
}
|
172
|
+
],
|
173
|
+
"name": "balanceOf",
|
174
|
+
"outputs": [
|
175
|
+
{
|
176
|
+
"internalType": "uint256",
|
177
|
+
"name": "",
|
178
|
+
"type": "uint256"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"stateMutability": "view",
|
182
|
+
"type": "function"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"inputs": [
|
186
|
+
{
|
187
|
+
"internalType": "bytes[]",
|
188
|
+
"name": "data",
|
189
|
+
"type": "bytes[]"
|
190
|
+
}
|
191
|
+
],
|
192
|
+
"name": "batchCalls",
|
193
|
+
"outputs": [
|
194
|
+
{
|
195
|
+
"internalType": "bytes[]",
|
196
|
+
"name": "results",
|
197
|
+
"type": "bytes[]"
|
198
|
+
}
|
199
|
+
],
|
200
|
+
"stateMutability": "nonpayable",
|
201
|
+
"type": "function"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"inputs": [
|
205
|
+
{
|
206
|
+
"internalType": "bytes32[]",
|
207
|
+
"name": "tokenIds",
|
208
|
+
"type": "bytes32[]"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"internalType": "bytes32[]",
|
212
|
+
"name": "dataKeys",
|
213
|
+
"type": "bytes32[]"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"name": "getDataBatchForTokenIds",
|
217
|
+
"outputs": [
|
218
|
+
{
|
219
|
+
"internalType": "bytes[]",
|
220
|
+
"name": "dataValues",
|
221
|
+
"type": "bytes[]"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"stateMutability": "nonpayable",
|
225
|
+
"type": "function"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [
|
229
|
+
{
|
230
|
+
"internalType": "bytes32",
|
231
|
+
"name": "tokenId",
|
232
|
+
"type": "bytes32"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"internalType": "bytes32",
|
236
|
+
"name": "dataKey",
|
237
|
+
"type": "bytes32"
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"name": "getDataForTokenId",
|
241
|
+
"outputs": [
|
242
|
+
{
|
243
|
+
"internalType": "bytes",
|
244
|
+
"name": "dataValues",
|
245
|
+
"type": "bytes"
|
246
|
+
}
|
247
|
+
],
|
248
|
+
"stateMutability": "nonpayable",
|
249
|
+
"type": "function"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"inputs": [
|
253
|
+
{
|
254
|
+
"internalType": "bytes32",
|
255
|
+
"name": "tokenId",
|
256
|
+
"type": "bytes32"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"name": "getOperatorsOf",
|
260
|
+
"outputs": [
|
261
|
+
{
|
262
|
+
"internalType": "address[]",
|
263
|
+
"name": "",
|
264
|
+
"type": "address[]"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"stateMutability": "view",
|
268
|
+
"type": "function"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"inputs": [
|
272
|
+
{
|
273
|
+
"internalType": "address",
|
274
|
+
"name": "operator",
|
275
|
+
"type": "address"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"internalType": "bytes32",
|
279
|
+
"name": "tokenId",
|
280
|
+
"type": "bytes32"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"name": "isOperatorFor",
|
284
|
+
"outputs": [
|
285
|
+
{
|
286
|
+
"internalType": "bool",
|
287
|
+
"name": "",
|
288
|
+
"type": "bool"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"stateMutability": "view",
|
292
|
+
"type": "function"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"inputs": [
|
296
|
+
{
|
297
|
+
"internalType": "address",
|
298
|
+
"name": "operator",
|
299
|
+
"type": "address"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"internalType": "bytes32",
|
303
|
+
"name": "tokenId",
|
304
|
+
"type": "bytes32"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"internalType": "bool",
|
308
|
+
"name": "notify",
|
309
|
+
"type": "bool"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"internalType": "bytes",
|
313
|
+
"name": "operatorNotificationData",
|
314
|
+
"type": "bytes"
|
315
|
+
}
|
316
|
+
],
|
317
|
+
"name": "revokeOperator",
|
318
|
+
"outputs": [],
|
319
|
+
"stateMutability": "nonpayable",
|
320
|
+
"type": "function"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"inputs": [
|
324
|
+
{
|
325
|
+
"internalType": "bytes32[]",
|
326
|
+
"name": "tokenIds",
|
327
|
+
"type": "bytes32[]"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"internalType": "bytes32[]",
|
331
|
+
"name": "dataKeys",
|
332
|
+
"type": "bytes32[]"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"internalType": "bytes[]",
|
336
|
+
"name": "dataValues",
|
337
|
+
"type": "bytes[]"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"name": "setDataBatchForTokenIds",
|
341
|
+
"outputs": [],
|
342
|
+
"stateMutability": "nonpayable",
|
343
|
+
"type": "function"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"inputs": [
|
347
|
+
{
|
348
|
+
"internalType": "bytes32",
|
349
|
+
"name": "tokenId",
|
350
|
+
"type": "bytes32"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"internalType": "bytes32",
|
354
|
+
"name": "dataKey",
|
355
|
+
"type": "bytes32"
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"internalType": "bytes",
|
359
|
+
"name": "dataValue",
|
360
|
+
"type": "bytes"
|
361
|
+
}
|
362
|
+
],
|
363
|
+
"name": "setDataForTokenId",
|
364
|
+
"outputs": [],
|
365
|
+
"stateMutability": "nonpayable",
|
366
|
+
"type": "function"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"inputs": [
|
370
|
+
{
|
371
|
+
"internalType": "address",
|
372
|
+
"name": "tokenOwner",
|
373
|
+
"type": "address"
|
374
|
+
}
|
375
|
+
],
|
376
|
+
"name": "tokenIdsOf",
|
377
|
+
"outputs": [
|
378
|
+
{
|
379
|
+
"internalType": "bytes32[]",
|
380
|
+
"name": "",
|
381
|
+
"type": "bytes32[]"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"stateMutability": "view",
|
385
|
+
"type": "function"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"inputs": [
|
389
|
+
{
|
390
|
+
"internalType": "bytes32",
|
391
|
+
"name": "tokenId",
|
392
|
+
"type": "bytes32"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"name": "tokenOwnerOf",
|
396
|
+
"outputs": [
|
397
|
+
{
|
398
|
+
"internalType": "address",
|
399
|
+
"name": "",
|
400
|
+
"type": "address"
|
401
|
+
}
|
402
|
+
],
|
403
|
+
"stateMutability": "view",
|
404
|
+
"type": "function"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"inputs": [],
|
408
|
+
"name": "totalSupply",
|
409
|
+
"outputs": [
|
410
|
+
{
|
411
|
+
"internalType": "uint256",
|
412
|
+
"name": "",
|
413
|
+
"type": "uint256"
|
414
|
+
}
|
415
|
+
],
|
416
|
+
"stateMutability": "view",
|
417
|
+
"type": "function"
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"inputs": [
|
421
|
+
{
|
422
|
+
"internalType": "address",
|
423
|
+
"name": "from",
|
424
|
+
"type": "address"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"internalType": "address",
|
428
|
+
"name": "to",
|
429
|
+
"type": "address"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "bytes32",
|
433
|
+
"name": "tokenId",
|
434
|
+
"type": "bytes32"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "bool",
|
438
|
+
"name": "force",
|
439
|
+
"type": "bool"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "bytes",
|
443
|
+
"name": "data",
|
444
|
+
"type": "bytes"
|
445
|
+
}
|
446
|
+
],
|
447
|
+
"name": "transfer",
|
448
|
+
"outputs": [],
|
449
|
+
"stateMutability": "nonpayable",
|
450
|
+
"type": "function"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"inputs": [
|
454
|
+
{
|
455
|
+
"internalType": "address[]",
|
456
|
+
"name": "from",
|
457
|
+
"type": "address[]"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"internalType": "address[]",
|
461
|
+
"name": "to",
|
462
|
+
"type": "address[]"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"internalType": "bytes32[]",
|
466
|
+
"name": "tokenId",
|
467
|
+
"type": "bytes32[]"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"internalType": "bool[]",
|
471
|
+
"name": "force",
|
472
|
+
"type": "bool[]"
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"internalType": "bytes[]",
|
476
|
+
"name": "data",
|
477
|
+
"type": "bytes[]"
|
478
|
+
}
|
479
|
+
],
|
480
|
+
"name": "transferBatch",
|
481
|
+
"outputs": [],
|
482
|
+
"stateMutability": "nonpayable",
|
483
|
+
"type": "function"
|
484
|
+
}
|
485
|
+
],
|
486
|
+
"bytecode": "0x",
|
487
|
+
"deployedBytecode": "0x",
|
488
|
+
"linkReferences": {},
|
489
|
+
"deployedLinkReferences": {}
|
490
|
+
}
|