@lukso/lsp-smart-contracts 0.12.1 → 0.14.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 (131) hide show
  1. package/README.md +3 -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/LSP3ProfileMetadata/LSP3Constants.sol +1 -1
  39. package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +10 -2
  40. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +20 -34
  41. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +47 -0
  42. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +19 -31
  43. package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +13 -6
  44. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +1 -1
  45. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +2 -2
  46. package/contracts/LSP6KeyManager/LSP6Utils.sol +1 -1
  47. package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +20 -9
  48. package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
  49. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +7 -5
  50. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +128 -25
  51. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +5 -2
  52. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +6 -0
  53. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +4 -2
  54. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +7 -4
  55. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -2
  56. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +5 -2
  57. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +8 -2
  58. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +12 -1
  59. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +4 -0
  60. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -0
  61. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +77 -5
  62. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +15 -12
  63. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +19 -3
  64. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +25 -16
  65. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +223 -19
  66. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +28 -15
  67. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
  68. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +1 -1
  69. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +1 -2
  70. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +1 -2
  71. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +15 -4
  72. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +8 -4
  73. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +1 -2
  74. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +1 -2
  75. package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +0 -1
  76. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +13 -2
  77. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +6 -2
  78. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +4 -2
  79. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +14 -4
  80. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +7 -4
  81. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +7 -4
  82. package/contracts/LSP9Vault/LSP9VaultCore.sol +0 -22
  83. package/contracts/Version.sol +1 -1
  84. package/devdocs/LSP4DigitalAssetMetadata.json +11 -5
  85. package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -2
  86. package/devdocs/LSP6KeyManager.json +1 -1
  87. package/devdocs/LSP6KeyManagerInit.json +1 -1
  88. package/devdocs/LSP7CappedSupply.json +22 -2
  89. package/devdocs/LSP7CappedSupplyInitAbstract.json +22 -2
  90. package/devdocs/LSP7CompatibleERC20.json +23 -2
  91. package/devdocs/LSP7CompatibleERC20InitAbstract.json +22 -2
  92. package/devdocs/LSP7CompatibleERC20Mintable.json +23 -2
  93. package/devdocs/LSP7CompatibleERC20MintableInit.json +24 -3
  94. package/devdocs/LSP7DigitalAsset.json +27 -6
  95. package/devdocs/LSP7DigitalAssetInitAbstract.json +22 -2
  96. package/devdocs/LSP7Mintable.json +24 -2
  97. package/devdocs/LSP7MintableInit.json +25 -3
  98. package/devdocs/LSP8CappedSupply.json +66 -4
  99. package/devdocs/LSP8CappedSupplyInitAbstract.json +66 -4
  100. package/devdocs/LSP8CompatibleERC721.json +69 -5
  101. package/devdocs/LSP8CompatibleERC721InitAbstract.json +67 -5
  102. package/devdocs/LSP8CompatibleERC721Mintable.json +69 -5
  103. package/devdocs/LSP8CompatibleERC721MintableInit.json +70 -6
  104. package/devdocs/LSP8IdentifiableDigitalAsset.json +71 -8
  105. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +66 -4
  106. package/devdocs/LSP8Mintable.json +68 -4
  107. package/devdocs/LSP8MintableInit.json +69 -5
  108. package/dist/constants.cjs.js +4406 -1319
  109. package/dist/constants.d.ts +4158 -818
  110. package/dist/constants.es.js +4405 -1319
  111. package/package.json +2 -2
  112. package/userdocs/LSP7CappedSupply.json +8 -0
  113. package/userdocs/LSP7CappedSupplyInitAbstract.json +8 -0
  114. package/userdocs/LSP7CompatibleERC20.json +8 -0
  115. package/userdocs/LSP7CompatibleERC20InitAbstract.json +8 -0
  116. package/userdocs/LSP7CompatibleERC20Mintable.json +8 -0
  117. package/userdocs/LSP7CompatibleERC20MintableInit.json +9 -1
  118. package/userdocs/LSP7DigitalAsset.json +8 -0
  119. package/userdocs/LSP7DigitalAssetInitAbstract.json +8 -0
  120. package/userdocs/LSP7Mintable.json +8 -0
  121. package/userdocs/LSP7MintableInit.json +9 -1
  122. package/userdocs/LSP8CappedSupply.json +20 -0
  123. package/userdocs/LSP8CappedSupplyInitAbstract.json +20 -0
  124. package/userdocs/LSP8CompatibleERC721.json +20 -0
  125. package/userdocs/LSP8CompatibleERC721InitAbstract.json +20 -0
  126. package/userdocs/LSP8CompatibleERC721Mintable.json +20 -0
  127. package/userdocs/LSP8CompatibleERC721MintableInit.json +21 -1
  128. package/userdocs/LSP8IdentifiableDigitalAsset.json +21 -1
  129. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +20 -0
  130. package/userdocs/LSP8Mintable.json +20 -0
  131. 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": "LSP8TokenIdFormatNotEditable",
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
  {
@@ -457,6 +527,54 @@
457
527
  "stateMutability": "view",
458
528
  "type": "function"
459
529
  },
530
+ {
531
+ "inputs": [
532
+ {
533
+ "internalType": "bytes32[]",
534
+ "name": "tokenIds",
535
+ "type": "bytes32[]"
536
+ },
537
+ {
538
+ "internalType": "bytes32[]",
539
+ "name": "dataKeys",
540
+ "type": "bytes32[]"
541
+ }
542
+ ],
543
+ "name": "getDataBatchForTokenIds",
544
+ "outputs": [
545
+ {
546
+ "internalType": "bytes[]",
547
+ "name": "dataValues",
548
+ "type": "bytes[]"
549
+ }
550
+ ],
551
+ "stateMutability": "view",
552
+ "type": "function"
553
+ },
554
+ {
555
+ "inputs": [
556
+ {
557
+ "internalType": "bytes32",
558
+ "name": "tokenId",
559
+ "type": "bytes32"
560
+ },
561
+ {
562
+ "internalType": "bytes32",
563
+ "name": "dataKey",
564
+ "type": "bytes32"
565
+ }
566
+ ],
567
+ "name": "getDataForTokenId",
568
+ "outputs": [
569
+ {
570
+ "internalType": "bytes",
571
+ "name": "dataValue",
572
+ "type": "bytes"
573
+ }
574
+ ],
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
460
578
  {
461
579
  "inputs": [
462
580
  {
@@ -584,6 +702,52 @@
584
702
  "stateMutability": "payable",
585
703
  "type": "function"
586
704
  },
705
+ {
706
+ "inputs": [
707
+ {
708
+ "internalType": "bytes32[]",
709
+ "name": "tokenIds",
710
+ "type": "bytes32[]"
711
+ },
712
+ {
713
+ "internalType": "bytes32[]",
714
+ "name": "dataKeys",
715
+ "type": "bytes32[]"
716
+ },
717
+ {
718
+ "internalType": "bytes[]",
719
+ "name": "dataValues",
720
+ "type": "bytes[]"
721
+ }
722
+ ],
723
+ "name": "setDataBatchForTokenIds",
724
+ "outputs": [],
725
+ "stateMutability": "nonpayable",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [
730
+ {
731
+ "internalType": "bytes32",
732
+ "name": "tokenId",
733
+ "type": "bytes32"
734
+ },
735
+ {
736
+ "internalType": "bytes32",
737
+ "name": "dataKey",
738
+ "type": "bytes32"
739
+ },
740
+ {
741
+ "internalType": "bytes",
742
+ "name": "dataValue",
743
+ "type": "bytes"
744
+ }
745
+ ],
746
+ "name": "setDataForTokenId",
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": "LSP8TokenIdFormatNotEditable",
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
  {
@@ -470,6 +540,54 @@
470
540
  "stateMutability": "view",
471
541
  "type": "function"
472
542
  },
543
+ {
544
+ "inputs": [
545
+ {
546
+ "internalType": "bytes32[]",
547
+ "name": "tokenIds",
548
+ "type": "bytes32[]"
549
+ },
550
+ {
551
+ "internalType": "bytes32[]",
552
+ "name": "dataKeys",
553
+ "type": "bytes32[]"
554
+ }
555
+ ],
556
+ "name": "getDataBatchForTokenIds",
557
+ "outputs": [
558
+ {
559
+ "internalType": "bytes[]",
560
+ "name": "dataValues",
561
+ "type": "bytes[]"
562
+ }
563
+ ],
564
+ "stateMutability": "view",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "inputs": [
569
+ {
570
+ "internalType": "bytes32",
571
+ "name": "tokenId",
572
+ "type": "bytes32"
573
+ },
574
+ {
575
+ "internalType": "bytes32",
576
+ "name": "dataKey",
577
+ "type": "bytes32"
578
+ }
579
+ ],
580
+ "name": "getDataForTokenId",
581
+ "outputs": [
582
+ {
583
+ "internalType": "bytes",
584
+ "name": "dataValue",
585
+ "type": "bytes"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
473
591
  {
474
592
  "inputs": [
475
593
  {
@@ -597,6 +715,52 @@
597
715
  "stateMutability": "payable",
598
716
  "type": "function"
599
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": "setDataBatchForTokenIds",
737
+ "outputs": [],
738
+ "stateMutability": "nonpayable",
739
+ "type": "function"
740
+ },
741
+ {
742
+ "inputs": [
743
+ {
744
+ "internalType": "bytes32",
745
+ "name": "tokenId",
746
+ "type": "bytes32"
747
+ },
748
+ {
749
+ "internalType": "bytes32",
750
+ "name": "dataKey",
751
+ "type": "bytes32"
752
+ },
753
+ {
754
+ "internalType": "bytes",
755
+ "name": "dataValue",
756
+ "type": "bytes"
757
+ }
758
+ ],
759
+ "name": "setDataForTokenId",
760
+ "outputs": [],
761
+ "stateMutability": "nonpayable",
762
+ "type": "function"
763
+ },
600
764
  {
601
765
  "inputs": [
602
766
  {