@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",
@@ -179,7 +195,17 @@
179
195
  },
180
196
  {
181
197
  "inputs": [],
182
- "name": "LSP8TokenIdTypeNotEditable",
198
+ "name": "LSP8TokenIdSchemaNotEditable",
199
+ "type": "error"
200
+ },
201
+ {
202
+ "inputs": [],
203
+ "name": "LSP8TokenIdsDataEmptyArray",
204
+ "type": "error"
205
+ },
206
+ {
207
+ "inputs": [],
208
+ "name": "LSP8TokenIdsDataLengthMismatch",
183
209
  "type": "error"
184
210
  },
185
211
  {
@@ -214,6 +240,25 @@
214
240
  "name": "OwnableCannotSetZeroAddressAsOwner",
215
241
  "type": "error"
216
242
  },
243
+ {
244
+ "anonymous": false,
245
+ "inputs": [
246
+ {
247
+ "indexed": true,
248
+ "internalType": "bytes32",
249
+ "name": "dataKey",
250
+ "type": "bytes32"
251
+ },
252
+ {
253
+ "indexed": false,
254
+ "internalType": "bytes",
255
+ "name": "dataValue",
256
+ "type": "bytes"
257
+ }
258
+ ],
259
+ "name": "DataChanged",
260
+ "type": "event"
261
+ },
217
262
  {
218
263
  "anonymous": false,
219
264
  "inputs": [
@@ -242,26 +287,44 @@
242
287
  "type": "bytes"
243
288
  }
244
289
  ],
245
- "name": "AuthorizedOperator",
290
+ "name": "OperatorAuthorizationChanged",
246
291
  "type": "event"
247
292
  },
248
293
  {
249
294
  "anonymous": false,
250
295
  "inputs": [
296
+ {
297
+ "indexed": true,
298
+ "internalType": "address",
299
+ "name": "operator",
300
+ "type": "address"
301
+ },
302
+ {
303
+ "indexed": true,
304
+ "internalType": "address",
305
+ "name": "tokenOwner",
306
+ "type": "address"
307
+ },
251
308
  {
252
309
  "indexed": true,
253
310
  "internalType": "bytes32",
254
- "name": "dataKey",
311
+ "name": "tokenId",
255
312
  "type": "bytes32"
256
313
  },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "bool",
317
+ "name": "notified",
318
+ "type": "bool"
319
+ },
257
320
  {
258
321
  "indexed": false,
259
322
  "internalType": "bytes",
260
- "name": "dataValue",
323
+ "name": "operatorNotificationData",
261
324
  "type": "bytes"
262
325
  }
263
326
  ],
264
- "name": "DataChanged",
327
+ "name": "OperatorRevoked",
265
328
  "type": "event"
266
329
  },
267
330
  {
@@ -286,18 +349,6 @@
286
349
  {
287
350
  "anonymous": false,
288
351
  "inputs": [
289
- {
290
- "indexed": true,
291
- "internalType": "address",
292
- "name": "operator",
293
- "type": "address"
294
- },
295
- {
296
- "indexed": true,
297
- "internalType": "address",
298
- "name": "tokenOwner",
299
- "type": "address"
300
- },
301
352
  {
302
353
  "indexed": true,
303
354
  "internalType": "bytes32",
@@ -305,19 +356,19 @@
305
356
  "type": "bytes32"
306
357
  },
307
358
  {
308
- "indexed": false,
309
- "internalType": "bool",
310
- "name": "notified",
311
- "type": "bool"
359
+ "indexed": true,
360
+ "internalType": "bytes32",
361
+ "name": "dataKey",
362
+ "type": "bytes32"
312
363
  },
313
364
  {
314
365
  "indexed": false,
315
366
  "internalType": "bytes",
316
- "name": "operatorNotificationData",
367
+ "name": "dataValue",
317
368
  "type": "bytes"
318
369
  }
319
370
  ],
320
- "name": "RevokedOperator",
371
+ "name": "TokenIdDataChanged",
321
372
  "type": "event"
322
373
  },
323
374
  {
@@ -409,6 +460,25 @@
409
460
  "stateMutability": "view",
410
461
  "type": "function"
411
462
  },
463
+ {
464
+ "inputs": [
465
+ {
466
+ "internalType": "bytes[]",
467
+ "name": "data",
468
+ "type": "bytes[]"
469
+ }
470
+ ],
471
+ "name": "batchCalls",
472
+ "outputs": [
473
+ {
474
+ "internalType": "bytes[]",
475
+ "name": "results",
476
+ "type": "bytes[]"
477
+ }
478
+ ],
479
+ "stateMutability": "nonpayable",
480
+ "type": "function"
481
+ },
412
482
  {
413
483
  "inputs": [
414
484
  {
@@ -466,6 +536,54 @@
466
536
  "stateMutability": "view",
467
537
  "type": "function"
468
538
  },
539
+ {
540
+ "inputs": [
541
+ {
542
+ "internalType": "bytes32",
543
+ "name": "tokenId",
544
+ "type": "bytes32"
545
+ },
546
+ {
547
+ "internalType": "bytes32",
548
+ "name": "dataKey",
549
+ "type": "bytes32"
550
+ }
551
+ ],
552
+ "name": "getTokenIdData",
553
+ "outputs": [
554
+ {
555
+ "internalType": "bytes",
556
+ "name": "dataValues",
557
+ "type": "bytes"
558
+ }
559
+ ],
560
+ "stateMutability": "view",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [
565
+ {
566
+ "internalType": "bytes32[]",
567
+ "name": "tokenIds",
568
+ "type": "bytes32[]"
569
+ },
570
+ {
571
+ "internalType": "bytes32[]",
572
+ "name": "dataKeys",
573
+ "type": "bytes32[]"
574
+ }
575
+ ],
576
+ "name": "getTokenIdDataBatch",
577
+ "outputs": [
578
+ {
579
+ "internalType": "bytes[]",
580
+ "name": "dataValues",
581
+ "type": "bytes[]"
582
+ }
583
+ ],
584
+ "stateMutability": "view",
585
+ "type": "function"
586
+ },
469
587
  {
470
588
  "inputs": [
471
589
  {
@@ -574,6 +692,52 @@
574
692
  "stateMutability": "payable",
575
693
  "type": "function"
576
694
  },
695
+ {
696
+ "inputs": [
697
+ {
698
+ "internalType": "bytes32",
699
+ "name": "tokenId",
700
+ "type": "bytes32"
701
+ },
702
+ {
703
+ "internalType": "bytes32",
704
+ "name": "dataKey",
705
+ "type": "bytes32"
706
+ },
707
+ {
708
+ "internalType": "bytes",
709
+ "name": "dataValue",
710
+ "type": "bytes"
711
+ }
712
+ ],
713
+ "name": "setTokenIdData",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "bytes32[]",
722
+ "name": "tokenIds",
723
+ "type": "bytes32[]"
724
+ },
725
+ {
726
+ "internalType": "bytes32[]",
727
+ "name": "dataKeys",
728
+ "type": "bytes32[]"
729
+ },
730
+ {
731
+ "internalType": "bytes[]",
732
+ "name": "dataValues",
733
+ "type": "bytes[]"
734
+ }
735
+ ],
736
+ "name": "setTokenIdDataBatch",
737
+ "outputs": [],
738
+ "stateMutability": "nonpayable",
739
+ "type": "function"
740
+ },
577
741
  {
578
742
  "inputs": [
579
743
  {
@@ -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",
@@ -179,7 +195,17 @@
179
195
  },
180
196
  {
181
197
  "inputs": [],
182
- "name": "LSP8TokenIdTypeNotEditable",
198
+ "name": "LSP8TokenIdSchemaNotEditable",
199
+ "type": "error"
200
+ },
201
+ {
202
+ "inputs": [],
203
+ "name": "LSP8TokenIdsDataEmptyArray",
204
+ "type": "error"
205
+ },
206
+ {
207
+ "inputs": [],
208
+ "name": "LSP8TokenIdsDataLengthMismatch",
183
209
  "type": "error"
184
210
  },
185
211
  {
@@ -214,37 +240,6 @@
214
240
  "name": "OwnableCannotSetZeroAddressAsOwner",
215
241
  "type": "error"
216
242
  },
217
- {
218
- "anonymous": false,
219
- "inputs": [
220
- {
221
- "indexed": true,
222
- "internalType": "address",
223
- "name": "operator",
224
- "type": "address"
225
- },
226
- {
227
- "indexed": true,
228
- "internalType": "address",
229
- "name": "tokenOwner",
230
- "type": "address"
231
- },
232
- {
233
- "indexed": true,
234
- "internalType": "bytes32",
235
- "name": "tokenId",
236
- "type": "bytes32"
237
- },
238
- {
239
- "indexed": false,
240
- "internalType": "bytes",
241
- "name": "operatorNotificationData",
242
- "type": "bytes"
243
- }
244
- ],
245
- "name": "AuthorizedOperator",
246
- "type": "event"
247
- },
248
243
  {
249
244
  "anonymous": false,
250
245
  "inputs": [
@@ -283,17 +278,29 @@
283
278
  {
284
279
  "indexed": true,
285
280
  "internalType": "address",
286
- "name": "previousOwner",
281
+ "name": "operator",
287
282
  "type": "address"
288
283
  },
289
284
  {
290
285
  "indexed": true,
291
286
  "internalType": "address",
292
- "name": "newOwner",
287
+ "name": "tokenOwner",
293
288
  "type": "address"
289
+ },
290
+ {
291
+ "indexed": true,
292
+ "internalType": "bytes32",
293
+ "name": "tokenId",
294
+ "type": "bytes32"
295
+ },
296
+ {
297
+ "indexed": false,
298
+ "internalType": "bytes",
299
+ "name": "operatorNotificationData",
300
+ "type": "bytes"
294
301
  }
295
302
  ],
296
- "name": "OwnershipTransferred",
303
+ "name": "OperatorAuthorizationChanged",
297
304
  "type": "event"
298
305
  },
299
306
  {
@@ -330,7 +337,51 @@
330
337
  "type": "bytes"
331
338
  }
332
339
  ],
333
- "name": "RevokedOperator",
340
+ "name": "OperatorRevoked",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "anonymous": false,
345
+ "inputs": [
346
+ {
347
+ "indexed": true,
348
+ "internalType": "address",
349
+ "name": "previousOwner",
350
+ "type": "address"
351
+ },
352
+ {
353
+ "indexed": true,
354
+ "internalType": "address",
355
+ "name": "newOwner",
356
+ "type": "address"
357
+ }
358
+ ],
359
+ "name": "OwnershipTransferred",
360
+ "type": "event"
361
+ },
362
+ {
363
+ "anonymous": false,
364
+ "inputs": [
365
+ {
366
+ "indexed": true,
367
+ "internalType": "bytes32",
368
+ "name": "tokenId",
369
+ "type": "bytes32"
370
+ },
371
+ {
372
+ "indexed": true,
373
+ "internalType": "bytes32",
374
+ "name": "dataKey",
375
+ "type": "bytes32"
376
+ },
377
+ {
378
+ "indexed": false,
379
+ "internalType": "bytes",
380
+ "name": "dataValue",
381
+ "type": "bytes"
382
+ }
383
+ ],
384
+ "name": "TokenIdDataChanged",
334
385
  "type": "event"
335
386
  },
336
387
  {
@@ -422,6 +473,25 @@
422
473
  "stateMutability": "view",
423
474
  "type": "function"
424
475
  },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "bytes[]",
480
+ "name": "data",
481
+ "type": "bytes[]"
482
+ }
483
+ ],
484
+ "name": "batchCalls",
485
+ "outputs": [
486
+ {
487
+ "internalType": "bytes[]",
488
+ "name": "results",
489
+ "type": "bytes[]"
490
+ }
491
+ ],
492
+ "stateMutability": "nonpayable",
493
+ "type": "function"
494
+ },
425
495
  {
426
496
  "inputs": [
427
497
  {
@@ -479,6 +549,54 @@
479
549
  "stateMutability": "view",
480
550
  "type": "function"
481
551
  },
552
+ {
553
+ "inputs": [
554
+ {
555
+ "internalType": "bytes32",
556
+ "name": "tokenId",
557
+ "type": "bytes32"
558
+ },
559
+ {
560
+ "internalType": "bytes32",
561
+ "name": "dataKey",
562
+ "type": "bytes32"
563
+ }
564
+ ],
565
+ "name": "getTokenIdData",
566
+ "outputs": [
567
+ {
568
+ "internalType": "bytes",
569
+ "name": "dataValues",
570
+ "type": "bytes"
571
+ }
572
+ ],
573
+ "stateMutability": "view",
574
+ "type": "function"
575
+ },
576
+ {
577
+ "inputs": [
578
+ {
579
+ "internalType": "bytes32[]",
580
+ "name": "tokenIds",
581
+ "type": "bytes32[]"
582
+ },
583
+ {
584
+ "internalType": "bytes32[]",
585
+ "name": "dataKeys",
586
+ "type": "bytes32[]"
587
+ }
588
+ ],
589
+ "name": "getTokenIdDataBatch",
590
+ "outputs": [
591
+ {
592
+ "internalType": "bytes[]",
593
+ "name": "dataValues",
594
+ "type": "bytes[]"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
482
600
  {
483
601
  "inputs": [
484
602
  {
@@ -587,6 +705,52 @@
587
705
  "stateMutability": "payable",
588
706
  "type": "function"
589
707
  },
708
+ {
709
+ "inputs": [
710
+ {
711
+ "internalType": "bytes32",
712
+ "name": "tokenId",
713
+ "type": "bytes32"
714
+ },
715
+ {
716
+ "internalType": "bytes32",
717
+ "name": "dataKey",
718
+ "type": "bytes32"
719
+ },
720
+ {
721
+ "internalType": "bytes",
722
+ "name": "dataValue",
723
+ "type": "bytes"
724
+ }
725
+ ],
726
+ "name": "setTokenIdData",
727
+ "outputs": [],
728
+ "stateMutability": "nonpayable",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [
733
+ {
734
+ "internalType": "bytes32[]",
735
+ "name": "tokenIds",
736
+ "type": "bytes32[]"
737
+ },
738
+ {
739
+ "internalType": "bytes32[]",
740
+ "name": "dataKeys",
741
+ "type": "bytes32[]"
742
+ },
743
+ {
744
+ "internalType": "bytes[]",
745
+ "name": "dataValues",
746
+ "type": "bytes[]"
747
+ }
748
+ ],
749
+ "name": "setTokenIdDataBatch",
750
+ "outputs": [],
751
+ "stateMutability": "nonpayable",
752
+ "type": "function"
753
+ },
590
754
  {
591
755
  "inputs": [
592
756
  {