@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",
@@ -179,7 +195,17 @@
179
195
  },
180
196
  {
181
197
  "inputs": [],
182
- "name": "LSP8TokenIdTypeNotEditable",
198
+ "name": "LSP8TokenIdFormatNotEditable",
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
  {
@@ -447,6 +517,54 @@
447
517
  "stateMutability": "view",
448
518
  "type": "function"
449
519
  },
520
+ {
521
+ "inputs": [
522
+ {
523
+ "internalType": "bytes32[]",
524
+ "name": "tokenIds",
525
+ "type": "bytes32[]"
526
+ },
527
+ {
528
+ "internalType": "bytes32[]",
529
+ "name": "dataKeys",
530
+ "type": "bytes32[]"
531
+ }
532
+ ],
533
+ "name": "getDataBatchForTokenIds",
534
+ "outputs": [
535
+ {
536
+ "internalType": "bytes[]",
537
+ "name": "dataValues",
538
+ "type": "bytes[]"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [
546
+ {
547
+ "internalType": "bytes32",
548
+ "name": "tokenId",
549
+ "type": "bytes32"
550
+ },
551
+ {
552
+ "internalType": "bytes32",
553
+ "name": "dataKey",
554
+ "type": "bytes32"
555
+ }
556
+ ],
557
+ "name": "getDataForTokenId",
558
+ "outputs": [
559
+ {
560
+ "internalType": "bytes",
561
+ "name": "dataValue",
562
+ "type": "bytes"
563
+ }
564
+ ],
565
+ "stateMutability": "view",
566
+ "type": "function"
567
+ },
450
568
  {
451
569
  "inputs": [
452
570
  {
@@ -574,6 +692,52 @@
574
692
  "stateMutability": "payable",
575
693
  "type": "function"
576
694
  },
695
+ {
696
+ "inputs": [
697
+ {
698
+ "internalType": "bytes32[]",
699
+ "name": "tokenIds",
700
+ "type": "bytes32[]"
701
+ },
702
+ {
703
+ "internalType": "bytes32[]",
704
+ "name": "dataKeys",
705
+ "type": "bytes32[]"
706
+ },
707
+ {
708
+ "internalType": "bytes[]",
709
+ "name": "dataValues",
710
+ "type": "bytes[]"
711
+ }
712
+ ],
713
+ "name": "setDataBatchForTokenIds",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
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": "setDataForTokenId",
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": "LSP8TokenIdFormatNotEditable",
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
  {
@@ -460,6 +530,54 @@
460
530
  "stateMutability": "view",
461
531
  "type": "function"
462
532
  },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "internalType": "bytes32[]",
537
+ "name": "tokenIds",
538
+ "type": "bytes32[]"
539
+ },
540
+ {
541
+ "internalType": "bytes32[]",
542
+ "name": "dataKeys",
543
+ "type": "bytes32[]"
544
+ }
545
+ ],
546
+ "name": "getDataBatchForTokenIds",
547
+ "outputs": [
548
+ {
549
+ "internalType": "bytes[]",
550
+ "name": "dataValues",
551
+ "type": "bytes[]"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [
559
+ {
560
+ "internalType": "bytes32",
561
+ "name": "tokenId",
562
+ "type": "bytes32"
563
+ },
564
+ {
565
+ "internalType": "bytes32",
566
+ "name": "dataKey",
567
+ "type": "bytes32"
568
+ }
569
+ ],
570
+ "name": "getDataForTokenId",
571
+ "outputs": [
572
+ {
573
+ "internalType": "bytes",
574
+ "name": "dataValue",
575
+ "type": "bytes"
576
+ }
577
+ ],
578
+ "stateMutability": "view",
579
+ "type": "function"
580
+ },
463
581
  {
464
582
  "inputs": [
465
583
  {
@@ -587,6 +705,52 @@
587
705
  "stateMutability": "payable",
588
706
  "type": "function"
589
707
  },
708
+ {
709
+ "inputs": [
710
+ {
711
+ "internalType": "bytes32[]",
712
+ "name": "tokenIds",
713
+ "type": "bytes32[]"
714
+ },
715
+ {
716
+ "internalType": "bytes32[]",
717
+ "name": "dataKeys",
718
+ "type": "bytes32[]"
719
+ },
720
+ {
721
+ "internalType": "bytes[]",
722
+ "name": "dataValues",
723
+ "type": "bytes[]"
724
+ }
725
+ ],
726
+ "name": "setDataBatchForTokenIds",
727
+ "outputs": [],
728
+ "stateMutability": "nonpayable",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [
733
+ {
734
+ "internalType": "bytes32",
735
+ "name": "tokenId",
736
+ "type": "bytes32"
737
+ },
738
+ {
739
+ "internalType": "bytes32",
740
+ "name": "dataKey",
741
+ "type": "bytes32"
742
+ },
743
+ {
744
+ "internalType": "bytes",
745
+ "name": "dataValue",
746
+ "type": "bytes"
747
+ }
748
+ ],
749
+ "name": "setDataForTokenId",
750
+ "outputs": [],
751
+ "stateMutability": "nonpayable",
752
+ "type": "function"
753
+ },
590
754
  {
591
755
  "inputs": [
592
756
  {