@lukso/lsp-smart-contracts 0.12.1 → 0.13.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.
Files changed (121) hide show
  1. package/README.md +2 -2
  2. package/artifacts/LSP0ERC725Account.json +6 -6
  3. package/artifacts/LSP0ERC725AccountInit.json +6 -6
  4. package/artifacts/LSP11BasicSocialRecovery.json +2 -2
  5. package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
  6. package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
  7. package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
  8. package/artifacts/LSP4DigitalAssetMetadata.json +5 -0
  9. package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +5 -0
  10. package/artifacts/LSP6KeyManager.json +2 -2
  11. package/artifacts/LSP6KeyManagerInit.json +2 -2
  12. package/artifacts/LSP7CappedSupply.json +71 -36
  13. package/artifacts/LSP7CappedSupplyInitAbstract.json +71 -36
  14. package/artifacts/LSP7CompatibleERC20.json +71 -36
  15. package/artifacts/LSP7CompatibleERC20InitAbstract.json +71 -36
  16. package/artifacts/LSP7CompatibleERC20Mintable.json +78 -38
  17. package/artifacts/LSP7CompatibleERC20MintableInit.json +78 -38
  18. package/artifacts/LSP7DigitalAsset.json +71 -36
  19. package/artifacts/LSP7DigitalAssetInitAbstract.json +71 -36
  20. package/artifacts/LSP7Mintable.json +78 -38
  21. package/artifacts/LSP7MintableInit.json +78 -38
  22. package/artifacts/LSP8CappedSupply.json +187 -23
  23. package/artifacts/LSP8CappedSupplyInitAbstract.json +200 -36
  24. package/artifacts/LSP8CompatibleERC721.json +187 -23
  25. package/artifacts/LSP8CompatibleERC721InitAbstract.json +200 -36
  26. package/artifacts/LSP8CompatibleERC721Mintable.json +195 -26
  27. package/artifacts/LSP8CompatibleERC721MintableInit.json +208 -39
  28. package/artifacts/LSP8IdentifiableDigitalAsset.json +187 -23
  29. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +200 -36
  30. package/artifacts/LSP8Mintable.json +195 -26
  31. package/artifacts/LSP8MintableInit.json +208 -39
  32. package/artifacts/LSP9Vault.json +6 -6
  33. package/artifacts/LSP9VaultInit.json +6 -6
  34. package/artifacts/UniversalProfile.json +6 -6
  35. package/artifacts/UniversalProfileInit.json +6 -6
  36. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +1 -22
  37. package/contracts/LSP17Extensions/Extension4337.sol +26 -1
  38. package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +9 -0
  39. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +20 -34
  40. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +47 -0
  41. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +19 -31
  42. package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +13 -6
  43. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +1 -1
  44. package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +20 -9
  45. package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
  46. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +7 -5
  47. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +128 -25
  48. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +5 -2
  49. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +6 -0
  50. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +4 -2
  51. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +7 -4
  52. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -2
  53. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +5 -2
  54. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +8 -2
  55. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +12 -1
  56. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +4 -0
  57. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -0
  58. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +77 -4
  59. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +15 -12
  60. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +19 -3
  61. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +25 -16
  62. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +223 -19
  63. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +28 -15
  64. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +15 -4
  65. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +8 -4
  66. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +13 -2
  67. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +6 -2
  68. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +4 -2
  69. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +13 -2
  70. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +6 -2
  71. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +6 -2
  72. package/contracts/LSP9Vault/LSP9VaultCore.sol +0 -22
  73. package/contracts/Version.sol +1 -1
  74. package/devdocs/LSP4DigitalAssetMetadata.json +11 -5
  75. package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -2
  76. package/devdocs/LSP6KeyManager.json +1 -1
  77. package/devdocs/LSP6KeyManagerInit.json +1 -1
  78. package/devdocs/LSP7CappedSupply.json +22 -2
  79. package/devdocs/LSP7CappedSupplyInitAbstract.json +22 -2
  80. package/devdocs/LSP7CompatibleERC20.json +23 -2
  81. package/devdocs/LSP7CompatibleERC20InitAbstract.json +22 -2
  82. package/devdocs/LSP7CompatibleERC20Mintable.json +23 -2
  83. package/devdocs/LSP7CompatibleERC20MintableInit.json +24 -3
  84. package/devdocs/LSP7DigitalAsset.json +27 -6
  85. package/devdocs/LSP7DigitalAssetInitAbstract.json +22 -2
  86. package/devdocs/LSP7Mintable.json +24 -2
  87. package/devdocs/LSP7MintableInit.json +25 -3
  88. package/devdocs/LSP8CappedSupply.json +66 -4
  89. package/devdocs/LSP8CappedSupplyInitAbstract.json +66 -4
  90. package/devdocs/LSP8CompatibleERC721.json +69 -5
  91. package/devdocs/LSP8CompatibleERC721InitAbstract.json +67 -5
  92. package/devdocs/LSP8CompatibleERC721Mintable.json +69 -5
  93. package/devdocs/LSP8CompatibleERC721MintableInit.json +70 -6
  94. package/devdocs/LSP8IdentifiableDigitalAsset.json +71 -8
  95. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +66 -4
  96. package/devdocs/LSP8Mintable.json +68 -4
  97. package/devdocs/LSP8MintableInit.json +69 -5
  98. package/dist/constants.cjs.js +4406 -1319
  99. package/dist/constants.d.ts +4184 -844
  100. package/dist/constants.es.js +4405 -1319
  101. package/package.json +2 -2
  102. package/userdocs/LSP7CappedSupply.json +8 -0
  103. package/userdocs/LSP7CappedSupplyInitAbstract.json +8 -0
  104. package/userdocs/LSP7CompatibleERC20.json +8 -0
  105. package/userdocs/LSP7CompatibleERC20InitAbstract.json +8 -0
  106. package/userdocs/LSP7CompatibleERC20Mintable.json +8 -0
  107. package/userdocs/LSP7CompatibleERC20MintableInit.json +9 -1
  108. package/userdocs/LSP7DigitalAsset.json +8 -0
  109. package/userdocs/LSP7DigitalAssetInitAbstract.json +8 -0
  110. package/userdocs/LSP7Mintable.json +8 -0
  111. package/userdocs/LSP7MintableInit.json +9 -1
  112. package/userdocs/LSP8CappedSupply.json +20 -0
  113. package/userdocs/LSP8CappedSupplyInitAbstract.json +20 -0
  114. package/userdocs/LSP8CompatibleERC721.json +20 -0
  115. package/userdocs/LSP8CompatibleERC721InitAbstract.json +20 -0
  116. package/userdocs/LSP8CompatibleERC721Mintable.json +20 -0
  117. package/userdocs/LSP8CompatibleERC721MintableInit.json +21 -1
  118. package/userdocs/LSP8IdentifiableDigitalAsset.json +21 -1
  119. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +20 -0
  120. package/userdocs/LSP8Mintable.json +20 -0
  121. package/userdocs/LSP8MintableInit.json +21 -1
@@ -50,6 +50,22 @@
50
50
  "name": "LSP4TokenSymbolNotEditable",
51
51
  "type": "error"
52
52
  },
53
+ {
54
+ "inputs": [],
55
+ "name": "LSP4TokenTypeNotEditable",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "uint256",
62
+ "name": "callIndex",
63
+ "type": "uint256"
64
+ }
65
+ ],
66
+ "name": "LSP8BatchCallFailed",
67
+ "type": "error"
68
+ },
53
69
  {
54
70
  "inputs": [],
55
71
  "name": "LSP8CannotSendToAddressZero",
@@ -189,7 +205,17 @@
189
205
  },
190
206
  {
191
207
  "inputs": [],
192
- "name": "LSP8TokenIdTypeNotEditable",
208
+ "name": "LSP8TokenIdSchemaNotEditable",
209
+ "type": "error"
210
+ },
211
+ {
212
+ "inputs": [],
213
+ "name": "LSP8TokenIdsDataEmptyArray",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "LSP8TokenIdsDataLengthMismatch",
193
219
  "type": "error"
194
220
  },
195
221
  {
@@ -224,6 +250,25 @@
224
250
  "name": "OwnableCannotSetZeroAddressAsOwner",
225
251
  "type": "error"
226
252
  },
253
+ {
254
+ "anonymous": false,
255
+ "inputs": [
256
+ {
257
+ "indexed": true,
258
+ "internalType": "bytes32",
259
+ "name": "dataKey",
260
+ "type": "bytes32"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "bytes",
265
+ "name": "dataValue",
266
+ "type": "bytes"
267
+ }
268
+ ],
269
+ "name": "DataChanged",
270
+ "type": "event"
271
+ },
227
272
  {
228
273
  "anonymous": false,
229
274
  "inputs": [
@@ -252,26 +297,44 @@
252
297
  "type": "bytes"
253
298
  }
254
299
  ],
255
- "name": "AuthorizedOperator",
300
+ "name": "OperatorAuthorizationChanged",
256
301
  "type": "event"
257
302
  },
258
303
  {
259
304
  "anonymous": false,
260
305
  "inputs": [
306
+ {
307
+ "indexed": true,
308
+ "internalType": "address",
309
+ "name": "operator",
310
+ "type": "address"
311
+ },
312
+ {
313
+ "indexed": true,
314
+ "internalType": "address",
315
+ "name": "tokenOwner",
316
+ "type": "address"
317
+ },
261
318
  {
262
319
  "indexed": true,
263
320
  "internalType": "bytes32",
264
- "name": "dataKey",
321
+ "name": "tokenId",
265
322
  "type": "bytes32"
266
323
  },
324
+ {
325
+ "indexed": false,
326
+ "internalType": "bool",
327
+ "name": "notified",
328
+ "type": "bool"
329
+ },
267
330
  {
268
331
  "indexed": false,
269
332
  "internalType": "bytes",
270
- "name": "dataValue",
333
+ "name": "operatorNotificationData",
271
334
  "type": "bytes"
272
335
  }
273
336
  ],
274
- "name": "DataChanged",
337
+ "name": "OperatorRevoked",
275
338
  "type": "event"
276
339
  },
277
340
  {
@@ -296,18 +359,6 @@
296
359
  {
297
360
  "anonymous": false,
298
361
  "inputs": [
299
- {
300
- "indexed": true,
301
- "internalType": "address",
302
- "name": "operator",
303
- "type": "address"
304
- },
305
- {
306
- "indexed": true,
307
- "internalType": "address",
308
- "name": "tokenOwner",
309
- "type": "address"
310
- },
311
362
  {
312
363
  "indexed": true,
313
364
  "internalType": "bytes32",
@@ -315,19 +366,19 @@
315
366
  "type": "bytes32"
316
367
  },
317
368
  {
318
- "indexed": false,
319
- "internalType": "bool",
320
- "name": "notified",
321
- "type": "bool"
369
+ "indexed": true,
370
+ "internalType": "bytes32",
371
+ "name": "dataKey",
372
+ "type": "bytes32"
322
373
  },
323
374
  {
324
375
  "indexed": false,
325
376
  "internalType": "bytes",
326
- "name": "operatorNotificationData",
377
+ "name": "dataValue",
327
378
  "type": "bytes"
328
379
  }
329
380
  ],
330
- "name": "RevokedOperator",
381
+ "name": "TokenIdDataChanged",
331
382
  "type": "event"
332
383
  },
333
384
  {
@@ -419,6 +470,25 @@
419
470
  "stateMutability": "view",
420
471
  "type": "function"
421
472
  },
473
+ {
474
+ "inputs": [
475
+ {
476
+ "internalType": "bytes[]",
477
+ "name": "data",
478
+ "type": "bytes[]"
479
+ }
480
+ ],
481
+ "name": "batchCalls",
482
+ "outputs": [
483
+ {
484
+ "internalType": "bytes[]",
485
+ "name": "results",
486
+ "type": "bytes[]"
487
+ }
488
+ ],
489
+ "stateMutability": "nonpayable",
490
+ "type": "function"
491
+ },
422
492
  {
423
493
  "inputs": [
424
494
  {
@@ -476,6 +546,54 @@
476
546
  "stateMutability": "view",
477
547
  "type": "function"
478
548
  },
549
+ {
550
+ "inputs": [
551
+ {
552
+ "internalType": "bytes32",
553
+ "name": "tokenId",
554
+ "type": "bytes32"
555
+ },
556
+ {
557
+ "internalType": "bytes32",
558
+ "name": "dataKey",
559
+ "type": "bytes32"
560
+ }
561
+ ],
562
+ "name": "getTokenIdData",
563
+ "outputs": [
564
+ {
565
+ "internalType": "bytes",
566
+ "name": "dataValues",
567
+ "type": "bytes"
568
+ }
569
+ ],
570
+ "stateMutability": "view",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [
575
+ {
576
+ "internalType": "bytes32[]",
577
+ "name": "tokenIds",
578
+ "type": "bytes32[]"
579
+ },
580
+ {
581
+ "internalType": "bytes32[]",
582
+ "name": "dataKeys",
583
+ "type": "bytes32[]"
584
+ }
585
+ ],
586
+ "name": "getTokenIdDataBatch",
587
+ "outputs": [
588
+ {
589
+ "internalType": "bytes[]",
590
+ "name": "dataValues",
591
+ "type": "bytes[]"
592
+ }
593
+ ],
594
+ "stateMutability": "view",
595
+ "type": "function"
596
+ },
479
597
  {
480
598
  "inputs": [
481
599
  {
@@ -584,6 +702,52 @@
584
702
  "stateMutability": "payable",
585
703
  "type": "function"
586
704
  },
705
+ {
706
+ "inputs": [
707
+ {
708
+ "internalType": "bytes32",
709
+ "name": "tokenId",
710
+ "type": "bytes32"
711
+ },
712
+ {
713
+ "internalType": "bytes32",
714
+ "name": "dataKey",
715
+ "type": "bytes32"
716
+ },
717
+ {
718
+ "internalType": "bytes",
719
+ "name": "dataValue",
720
+ "type": "bytes"
721
+ }
722
+ ],
723
+ "name": "setTokenIdData",
724
+ "outputs": [],
725
+ "stateMutability": "nonpayable",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [
730
+ {
731
+ "internalType": "bytes32[]",
732
+ "name": "tokenIds",
733
+ "type": "bytes32[]"
734
+ },
735
+ {
736
+ "internalType": "bytes32[]",
737
+ "name": "dataKeys",
738
+ "type": "bytes32[]"
739
+ },
740
+ {
741
+ "internalType": "bytes[]",
742
+ "name": "dataValues",
743
+ "type": "bytes[]"
744
+ }
745
+ ],
746
+ "name": "setTokenIdDataBatch",
747
+ "outputs": [],
748
+ "stateMutability": "nonpayable",
749
+ "type": "function"
750
+ },
587
751
  {
588
752
  "inputs": [
589
753
  {
@@ -50,6 +50,22 @@
50
50
  "name": "LSP4TokenSymbolNotEditable",
51
51
  "type": "error"
52
52
  },
53
+ {
54
+ "inputs": [],
55
+ "name": "LSP4TokenTypeNotEditable",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "uint256",
62
+ "name": "callIndex",
63
+ "type": "uint256"
64
+ }
65
+ ],
66
+ "name": "LSP8BatchCallFailed",
67
+ "type": "error"
68
+ },
53
69
  {
54
70
  "inputs": [],
55
71
  "name": "LSP8CannotSendToAddressZero",
@@ -189,7 +205,17 @@
189
205
  },
190
206
  {
191
207
  "inputs": [],
192
- "name": "LSP8TokenIdTypeNotEditable",
208
+ "name": "LSP8TokenIdSchemaNotEditable",
209
+ "type": "error"
210
+ },
211
+ {
212
+ "inputs": [],
213
+ "name": "LSP8TokenIdsDataEmptyArray",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "LSP8TokenIdsDataLengthMismatch",
193
219
  "type": "error"
194
220
  },
195
221
  {
@@ -224,37 +250,6 @@
224
250
  "name": "OwnableCannotSetZeroAddressAsOwner",
225
251
  "type": "error"
226
252
  },
227
- {
228
- "anonymous": false,
229
- "inputs": [
230
- {
231
- "indexed": true,
232
- "internalType": "address",
233
- "name": "operator",
234
- "type": "address"
235
- },
236
- {
237
- "indexed": true,
238
- "internalType": "address",
239
- "name": "tokenOwner",
240
- "type": "address"
241
- },
242
- {
243
- "indexed": true,
244
- "internalType": "bytes32",
245
- "name": "tokenId",
246
- "type": "bytes32"
247
- },
248
- {
249
- "indexed": false,
250
- "internalType": "bytes",
251
- "name": "operatorNotificationData",
252
- "type": "bytes"
253
- }
254
- ],
255
- "name": "AuthorizedOperator",
256
- "type": "event"
257
- },
258
253
  {
259
254
  "anonymous": false,
260
255
  "inputs": [
@@ -293,17 +288,29 @@
293
288
  {
294
289
  "indexed": true,
295
290
  "internalType": "address",
296
- "name": "previousOwner",
291
+ "name": "operator",
297
292
  "type": "address"
298
293
  },
299
294
  {
300
295
  "indexed": true,
301
296
  "internalType": "address",
302
- "name": "newOwner",
297
+ "name": "tokenOwner",
303
298
  "type": "address"
299
+ },
300
+ {
301
+ "indexed": true,
302
+ "internalType": "bytes32",
303
+ "name": "tokenId",
304
+ "type": "bytes32"
305
+ },
306
+ {
307
+ "indexed": false,
308
+ "internalType": "bytes",
309
+ "name": "operatorNotificationData",
310
+ "type": "bytes"
304
311
  }
305
312
  ],
306
- "name": "OwnershipTransferred",
313
+ "name": "OperatorAuthorizationChanged",
307
314
  "type": "event"
308
315
  },
309
316
  {
@@ -340,7 +347,51 @@
340
347
  "type": "bytes"
341
348
  }
342
349
  ],
343
- "name": "RevokedOperator",
350
+ "name": "OperatorRevoked",
351
+ "type": "event"
352
+ },
353
+ {
354
+ "anonymous": false,
355
+ "inputs": [
356
+ {
357
+ "indexed": true,
358
+ "internalType": "address",
359
+ "name": "previousOwner",
360
+ "type": "address"
361
+ },
362
+ {
363
+ "indexed": true,
364
+ "internalType": "address",
365
+ "name": "newOwner",
366
+ "type": "address"
367
+ }
368
+ ],
369
+ "name": "OwnershipTransferred",
370
+ "type": "event"
371
+ },
372
+ {
373
+ "anonymous": false,
374
+ "inputs": [
375
+ {
376
+ "indexed": true,
377
+ "internalType": "bytes32",
378
+ "name": "tokenId",
379
+ "type": "bytes32"
380
+ },
381
+ {
382
+ "indexed": true,
383
+ "internalType": "bytes32",
384
+ "name": "dataKey",
385
+ "type": "bytes32"
386
+ },
387
+ {
388
+ "indexed": false,
389
+ "internalType": "bytes",
390
+ "name": "dataValue",
391
+ "type": "bytes"
392
+ }
393
+ ],
394
+ "name": "TokenIdDataChanged",
344
395
  "type": "event"
345
396
  },
346
397
  {
@@ -432,6 +483,25 @@
432
483
  "stateMutability": "view",
433
484
  "type": "function"
434
485
  },
486
+ {
487
+ "inputs": [
488
+ {
489
+ "internalType": "bytes[]",
490
+ "name": "data",
491
+ "type": "bytes[]"
492
+ }
493
+ ],
494
+ "name": "batchCalls",
495
+ "outputs": [
496
+ {
497
+ "internalType": "bytes[]",
498
+ "name": "results",
499
+ "type": "bytes[]"
500
+ }
501
+ ],
502
+ "stateMutability": "nonpayable",
503
+ "type": "function"
504
+ },
435
505
  {
436
506
  "inputs": [
437
507
  {
@@ -489,6 +559,54 @@
489
559
  "stateMutability": "view",
490
560
  "type": "function"
491
561
  },
562
+ {
563
+ "inputs": [
564
+ {
565
+ "internalType": "bytes32",
566
+ "name": "tokenId",
567
+ "type": "bytes32"
568
+ },
569
+ {
570
+ "internalType": "bytes32",
571
+ "name": "dataKey",
572
+ "type": "bytes32"
573
+ }
574
+ ],
575
+ "name": "getTokenIdData",
576
+ "outputs": [
577
+ {
578
+ "internalType": "bytes",
579
+ "name": "dataValues",
580
+ "type": "bytes"
581
+ }
582
+ ],
583
+ "stateMutability": "view",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [
588
+ {
589
+ "internalType": "bytes32[]",
590
+ "name": "tokenIds",
591
+ "type": "bytes32[]"
592
+ },
593
+ {
594
+ "internalType": "bytes32[]",
595
+ "name": "dataKeys",
596
+ "type": "bytes32[]"
597
+ }
598
+ ],
599
+ "name": "getTokenIdDataBatch",
600
+ "outputs": [
601
+ {
602
+ "internalType": "bytes[]",
603
+ "name": "dataValues",
604
+ "type": "bytes[]"
605
+ }
606
+ ],
607
+ "stateMutability": "view",
608
+ "type": "function"
609
+ },
492
610
  {
493
611
  "inputs": [
494
612
  {
@@ -597,6 +715,52 @@
597
715
  "stateMutability": "payable",
598
716
  "type": "function"
599
717
  },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "bytes32",
722
+ "name": "tokenId",
723
+ "type": "bytes32"
724
+ },
725
+ {
726
+ "internalType": "bytes32",
727
+ "name": "dataKey",
728
+ "type": "bytes32"
729
+ },
730
+ {
731
+ "internalType": "bytes",
732
+ "name": "dataValue",
733
+ "type": "bytes"
734
+ }
735
+ ],
736
+ "name": "setTokenIdData",
737
+ "outputs": [],
738
+ "stateMutability": "nonpayable",
739
+ "type": "function"
740
+ },
741
+ {
742
+ "inputs": [
743
+ {
744
+ "internalType": "bytes32[]",
745
+ "name": "tokenIds",
746
+ "type": "bytes32[]"
747
+ },
748
+ {
749
+ "internalType": "bytes32[]",
750
+ "name": "dataKeys",
751
+ "type": "bytes32[]"
752
+ },
753
+ {
754
+ "internalType": "bytes[]",
755
+ "name": "dataValues",
756
+ "type": "bytes[]"
757
+ }
758
+ ],
759
+ "name": "setTokenIdDataBatch",
760
+ "outputs": [],
761
+ "stateMutability": "nonpayable",
762
+ "type": "function"
763
+ },
600
764
  {
601
765
  "inputs": [
602
766
  {