@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
@@ -29,12 +29,17 @@
29
29
  ],
30
30
  "LSP4TokenNameNotEditable()": [
31
31
  {
32
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
32
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
33
33
  }
34
34
  ],
35
35
  "LSP4TokenSymbolNotEditable()": [
36
36
  {
37
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
37
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
38
+ }
39
+ ],
40
+ "LSP4TokenTypeNotEditable()": [
41
+ {
42
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
38
43
  }
39
44
  ],
40
45
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -47,6 +52,11 @@
47
52
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
48
53
  }
49
54
  ],
55
+ "LSP7BatchCallFailed(uint256)": [
56
+ {
57
+ "details": "Reverts when a batch call failed."
58
+ }
59
+ ],
50
60
  "LSP7CannotSendToSelf()": [
51
61
  {
52
62
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -146,6 +156,16 @@
146
156
  "_0": "The amount of tokens owned by `tokenOwner`."
147
157
  }
148
158
  },
159
+ "batchCalls(bytes[])": {
160
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
161
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
162
+ "params": {
163
+ "data": "An array of ABI encoded function calls to be called on the contract."
164
+ },
165
+ "returns": {
166
+ "results": "An array of abi-encoded data returned by the functions executed."
167
+ }
168
+ },
149
169
  "decimals()": {
150
170
  "details": "Returns the number of decimals used to get its user representation. If the asset contract has been set to be non-divisible via the `isNonDivisible_` parameter in the `constructor`, the decimals returned wiil be `0`. Otherwise `18` is the common value.",
151
171
  "returns": {
@@ -28,12 +28,17 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
37
42
  }
38
43
  ],
39
44
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -46,6 +51,11 @@
46
51
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
47
52
  }
48
53
  ],
54
+ "LSP7BatchCallFailed(uint256)": [
55
+ {
56
+ "details": "Reverts when a batch call failed."
57
+ }
58
+ ],
49
59
  "LSP7CannotSendToSelf()": [
50
60
  {
51
61
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -145,8 +155,20 @@
145
155
  "_0": "The amount of tokens owned by `tokenOwner`."
146
156
  }
147
157
  },
158
+ "batchCalls(bytes[])": {
159
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
160
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
161
+ "params": {
162
+ "data": "An array of ABI encoded function calls to be called on the contract."
163
+ },
164
+ "returns": {
165
+ "results": "An array of abi-encoded data returned by the functions executed."
166
+ }
167
+ },
148
168
  "constructor": {
149
169
  "params": {
170
+ "isNonDivisible_": "Specify if the LSP7 token is a fungible or non-fungible token.",
171
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
150
172
  "name_": "The name of the token.",
151
173
  "newOwner_": "The owner of the token contract.",
152
174
  "symbol_": "The symbol of the token."
@@ -28,12 +28,17 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
37
42
  }
38
43
  ],
39
44
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -46,6 +51,11 @@
46
51
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
47
52
  }
48
53
  ],
54
+ "LSP7BatchCallFailed(uint256)": [
55
+ {
56
+ "details": "Reverts when a batch call failed."
57
+ }
58
+ ],
49
59
  "LSP7CannotSendToSelf()": [
50
60
  {
51
61
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -145,6 +155,16 @@
145
155
  "_0": "The amount of tokens owned by `tokenOwner`."
146
156
  }
147
157
  },
158
+ "batchCalls(bytes[])": {
159
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
160
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
161
+ "params": {
162
+ "data": "An array of ABI encoded function calls to be called on the contract."
163
+ },
164
+ "returns": {
165
+ "results": "An array of abi-encoded data returned by the functions executed."
166
+ }
167
+ },
148
168
  "constructor": {
149
169
  "details": "initialize (= lock) base implementation contract on deployment"
150
170
  },
@@ -195,8 +215,10 @@
195
215
  "operator": "The operator to increase the allowance for `msg.sender`"
196
216
  }
197
217
  },
198
- "initialize(string,string,address,bool)": {
218
+ "initialize(string,string,address,uint256,bool)": {
199
219
  "params": {
220
+ "isNonDivisible_": "Specify if the LSP7 token is a fungible or non-fungible token.",
221
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
200
222
  "name_": "The name of the token.",
201
223
  "newOwner_": "The owner of the token contract.",
202
224
  "symbol_": "The symbol of the token."
@@ -28,12 +28,22 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
42
+ }
43
+ ],
44
+ "LSP8BatchCallFailed(uint256)": [
45
+ {
46
+ "details": "Reverts when a batch call failed."
37
47
  }
38
48
  ],
39
49
  "LSP8CannotSendToAddressZero()": [
@@ -106,9 +116,19 @@
106
116
  "details": "Error occurs when sending native tokens to the LSP8 contract without sending any data. E.g. Sending value without passing a bytes4 function selector to call a LSP17 Extension."
107
117
  }
108
118
  ],
109
- "LSP8TokenIdTypeNotEditable()": [
119
+ "LSP8TokenIdFormatNotEditable()": [
120
+ {
121
+ "details": "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
122
+ }
123
+ ],
124
+ "LSP8TokenIdsDataEmptyArray()": [
110
125
  {
111
- "details": "Reverts when trying to edit the data key `LSP8TokenIdType` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdType` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
126
+ "details": "Reverts when empty arrays is passed to the function"
127
+ }
128
+ ],
129
+ "LSP8TokenIdsDataLengthMismatch()": [
130
+ {
131
+ "details": "Reverts when the length of the token IDs data arrays is not equal"
112
132
  }
113
133
  ],
114
134
  "LSP8TokenOwnerCannotBeOperator()": [
@@ -154,6 +174,16 @@
154
174
  "_0": "The total number of token IDs that `tokenOwner` owns."
155
175
  }
156
176
  },
177
+ "batchCalls(bytes[])": {
178
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
179
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
180
+ "params": {
181
+ "data": "An array of ABI encoded function calls to be called on the contract."
182
+ },
183
+ "returns": {
184
+ "results": "An array of abi-encoded data returned by the functions executed."
185
+ }
186
+ },
157
187
  "constructor": {
158
188
  "custom:requirements": "- `tokenSupplyCap_` MUST NOT be 0.",
159
189
  "details": "Deploy a `LSP8CappedSupply` token contract and set the maximum token supply token cap up to which it is not possible to mint more tokens.",
@@ -179,6 +209,24 @@
179
209
  "dataValues": "The array of data stored at multiple keys"
180
210
  }
181
211
  },
212
+ "getDataBatchForTokenIds(bytes32[],bytes32[])": {
213
+ "params": {
214
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
215
+ "tokenIds": "An array of token IDs."
216
+ },
217
+ "returns": {
218
+ "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
219
+ }
220
+ },
221
+ "getDataForTokenId(bytes32,bytes32)": {
222
+ "params": {
223
+ "dataKey": "The key for the data to retrieve.",
224
+ "tokenId": "The unique identifier for a token."
225
+ },
226
+ "returns": {
227
+ "dataValue": "The data value associated with the given `tokenId` and `dataKey`."
228
+ }
229
+ },
182
230
  "getOperatorsOf(bytes32)": {
183
231
  "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
184
232
  "params": {
@@ -233,6 +281,20 @@
233
281
  "dataValues": "An array of bytes values to set for each `dataKeys`."
234
282
  }
235
283
  },
284
+ "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
285
+ "params": {
286
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
287
+ "dataValues": "An array of values to set for the given data keys.",
288
+ "tokenIds": "An array of token IDs."
289
+ }
290
+ },
291
+ "setDataForTokenId(bytes32,bytes32,bytes)": {
292
+ "params": {
293
+ "dataKey": "The key for the data to set.",
294
+ "dataValue": "The value to set for the given data key.",
295
+ "tokenId": "The unique identifier for a token."
296
+ }
297
+ },
236
298
  "supportsInterface(bytes4)": {
237
299
  "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
238
300
  },
@@ -28,12 +28,22 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
42
+ }
43
+ ],
44
+ "LSP8BatchCallFailed(uint256)": [
45
+ {
46
+ "details": "Reverts when a batch call failed."
37
47
  }
38
48
  ],
39
49
  "LSP8CannotSendToAddressZero()": [
@@ -106,9 +116,19 @@
106
116
  "details": "Error occurs when sending native tokens to the LSP8 contract without sending any data. E.g. Sending value without passing a bytes4 function selector to call a LSP17 Extension."
107
117
  }
108
118
  ],
109
- "LSP8TokenIdTypeNotEditable()": [
119
+ "LSP8TokenIdFormatNotEditable()": [
120
+ {
121
+ "details": "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
122
+ }
123
+ ],
124
+ "LSP8TokenIdsDataEmptyArray()": [
110
125
  {
111
- "details": "Reverts when trying to edit the data key `LSP8TokenIdType` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdType` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
126
+ "details": "Reverts when empty arrays is passed to the function"
127
+ }
128
+ ],
129
+ "LSP8TokenIdsDataLengthMismatch()": [
130
+ {
131
+ "details": "Reverts when the length of the token IDs data arrays is not equal"
112
132
  }
113
133
  ],
114
134
  "LSP8TokenOwnerCannotBeOperator()": [
@@ -154,6 +174,16 @@
154
174
  "_0": "The total number of token IDs that `tokenOwner` owns."
155
175
  }
156
176
  },
177
+ "batchCalls(bytes[])": {
178
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
179
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
180
+ "params": {
181
+ "data": "An array of ABI encoded function calls to be called on the contract."
182
+ },
183
+ "returns": {
184
+ "results": "An array of abi-encoded data returned by the functions executed."
185
+ }
186
+ },
157
187
  "getData(bytes32)": {
158
188
  "details": "Get in the ERC725Y storage the bytes data stored at a specific data key `dataKey`.",
159
189
  "params": {
@@ -172,6 +202,24 @@
172
202
  "dataValues": "The array of data stored at multiple keys"
173
203
  }
174
204
  },
205
+ "getDataBatchForTokenIds(bytes32[],bytes32[])": {
206
+ "params": {
207
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
208
+ "tokenIds": "An array of token IDs."
209
+ },
210
+ "returns": {
211
+ "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
212
+ }
213
+ },
214
+ "getDataForTokenId(bytes32,bytes32)": {
215
+ "params": {
216
+ "dataKey": "The key for the data to retrieve.",
217
+ "tokenId": "The unique identifier for a token."
218
+ },
219
+ "returns": {
220
+ "dataValue": "The data value associated with the given `tokenId` and `dataKey`."
221
+ }
222
+ },
175
223
  "getOperatorsOf(bytes32)": {
176
224
  "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
177
225
  "params": {
@@ -226,6 +274,20 @@
226
274
  "dataValues": "An array of bytes values to set for each `dataKeys`."
227
275
  }
228
276
  },
277
+ "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
278
+ "params": {
279
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
280
+ "dataValues": "An array of values to set for the given data keys.",
281
+ "tokenIds": "An array of token IDs."
282
+ }
283
+ },
284
+ "setDataForTokenId(bytes32,bytes32,bytes)": {
285
+ "params": {
286
+ "dataKey": "The key for the data to set.",
287
+ "dataValue": "The value to set for the given data key.",
288
+ "tokenId": "The unique identifier for a token."
289
+ }
290
+ },
229
291
  "supportsInterface(bytes4)": {
230
292
  "details": "See {IERC165-supportsInterface}."
231
293
  },
@@ -28,12 +28,22 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
42
+ }
43
+ ],
44
+ "LSP8BatchCallFailed(uint256)": [
45
+ {
46
+ "details": "Reverts when a batch call failed."
37
47
  }
38
48
  ],
39
49
  "LSP8CannotSendToAddressZero()": [
@@ -96,9 +106,19 @@
96
106
  "details": "Error occurs when sending native tokens to the LSP8 contract without sending any data. E.g. Sending value without passing a bytes4 function selector to call a LSP17 Extension."
97
107
  }
98
108
  ],
99
- "LSP8TokenIdTypeNotEditable()": [
109
+ "LSP8TokenIdFormatNotEditable()": [
110
+ {
111
+ "details": "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
112
+ }
113
+ ],
114
+ "LSP8TokenIdsDataEmptyArray()": [
100
115
  {
101
- "details": "Reverts when trying to edit the data key `LSP8TokenIdType` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdType` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
116
+ "details": "Reverts when empty arrays is passed to the function"
117
+ }
118
+ ],
119
+ "LSP8TokenIdsDataLengthMismatch()": [
120
+ {
121
+ "details": "Reverts when the length of the token IDs data arrays is not equal"
102
122
  }
103
123
  ],
104
124
  "LSP8TokenOwnerCannotBeOperator()": [
@@ -135,7 +155,7 @@
135
155
  }
136
156
  },
137
157
  "authorizeOperator(address,bytes32,bytes)": {
138
- "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
158
+ "custom:events": "- LSP7 {OperatorAuthorizationChanged} event. - ERC721 {Approval} event.",
139
159
  "details": "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
140
160
  "params": {
141
161
  "operator": "The address to authorize as an operator.",
@@ -152,8 +172,20 @@
152
172
  "_0": "The total number of token IDs that `tokenOwner` owns."
153
173
  }
154
174
  },
175
+ "batchCalls(bytes[])": {
176
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
177
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
178
+ "params": {
179
+ "data": "An array of ABI encoded function calls to be called on the contract."
180
+ },
181
+ "returns": {
182
+ "results": "An array of abi-encoded data returned by the functions executed."
183
+ }
184
+ },
155
185
  "constructor": {
156
186
  "params": {
187
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
188
+ "lsp8TokenIdFormat_": "The format of tokenIds (= NFTs) that this contract will create.",
157
189
  "name_": "The name of the token.",
158
190
  "newOwner_": "The owner of the token contract.",
159
191
  "symbol_": "The symbol of the token."
@@ -186,6 +218,24 @@
186
218
  "dataValues": "The array of data stored at multiple keys"
187
219
  }
188
220
  },
221
+ "getDataBatchForTokenIds(bytes32[],bytes32[])": {
222
+ "params": {
223
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
224
+ "tokenIds": "An array of token IDs."
225
+ },
226
+ "returns": {
227
+ "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
228
+ }
229
+ },
230
+ "getDataForTokenId(bytes32,bytes32)": {
231
+ "params": {
232
+ "dataKey": "The key for the data to retrieve.",
233
+ "tokenId": "The unique identifier for a token."
234
+ },
235
+ "returns": {
236
+ "dataValue": "The data value associated with the given `tokenId` and `dataKey`."
237
+ }
238
+ },
189
239
  "getOperatorsOf(bytes32)": {
190
240
  "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
191
241
  "params": {
@@ -292,6 +342,20 @@
292
342
  "dataValues": "An array of bytes values to set for each `dataKeys`."
293
343
  }
294
344
  },
345
+ "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
346
+ "params": {
347
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
348
+ "dataValues": "An array of values to set for the given data keys.",
349
+ "tokenIds": "An array of token IDs."
350
+ }
351
+ },
352
+ "setDataForTokenId(bytes32,bytes32,bytes)": {
353
+ "params": {
354
+ "dataKey": "The key for the data to set.",
355
+ "dataValue": "The value to set for the given data key.",
356
+ "tokenId": "The unique identifier for a token."
357
+ }
358
+ },
295
359
  "supportsInterface(bytes4)": {
296
360
  "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
297
361
  },
@@ -28,12 +28,22 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
42
+ }
43
+ ],
44
+ "LSP8BatchCallFailed(uint256)": [
45
+ {
46
+ "details": "Reverts when a batch call failed."
37
47
  }
38
48
  ],
39
49
  "LSP8CannotSendToAddressZero()": [
@@ -96,9 +106,19 @@
96
106
  "details": "Error occurs when sending native tokens to the LSP8 contract without sending any data. E.g. Sending value without passing a bytes4 function selector to call a LSP17 Extension."
97
107
  }
98
108
  ],
99
- "LSP8TokenIdTypeNotEditable()": [
109
+ "LSP8TokenIdFormatNotEditable()": [
110
+ {
111
+ "details": "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
112
+ }
113
+ ],
114
+ "LSP8TokenIdsDataEmptyArray()": [
100
115
  {
101
- "details": "Reverts when trying to edit the data key `LSP8TokenIdType` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdType` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
116
+ "details": "Reverts when empty arrays is passed to the function"
117
+ }
118
+ ],
119
+ "LSP8TokenIdsDataLengthMismatch()": [
120
+ {
121
+ "details": "Reverts when the length of the token IDs data arrays is not equal"
102
122
  }
103
123
  ],
104
124
  "LSP8TokenOwnerCannotBeOperator()": [
@@ -135,7 +155,7 @@
135
155
  }
136
156
  },
137
157
  "authorizeOperator(address,bytes32,bytes)": {
138
- "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
158
+ "custom:events": "- LSP7 {OperatorAuthorizationChanged} event. - ERC721 {Approval} event.",
139
159
  "details": "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
140
160
  "params": {
141
161
  "operator": "The address to authorize as an operator.",
@@ -152,6 +172,16 @@
152
172
  "_0": "The total number of token IDs that `tokenOwner` owns."
153
173
  }
154
174
  },
175
+ "batchCalls(bytes[])": {
176
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
177
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
178
+ "params": {
179
+ "data": "An array of ABI encoded function calls to be called on the contract."
180
+ },
181
+ "returns": {
182
+ "results": "An array of abi-encoded data returned by the functions executed."
183
+ }
184
+ },
155
185
  "getApproved(uint256)": {
156
186
  "details": "Compatible with ERC721 getApproved.",
157
187
  "params": {
@@ -179,6 +209,24 @@
179
209
  "dataValues": "The array of data stored at multiple keys"
180
210
  }
181
211
  },
212
+ "getDataBatchForTokenIds(bytes32[],bytes32[])": {
213
+ "params": {
214
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
215
+ "tokenIds": "An array of token IDs."
216
+ },
217
+ "returns": {
218
+ "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
219
+ }
220
+ },
221
+ "getDataForTokenId(bytes32,bytes32)": {
222
+ "params": {
223
+ "dataKey": "The key for the data to retrieve.",
224
+ "tokenId": "The unique identifier for a token."
225
+ },
226
+ "returns": {
227
+ "dataValue": "The data value associated with the given `tokenId` and `dataKey`."
228
+ }
229
+ },
182
230
  "getOperatorsOf(bytes32)": {
183
231
  "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
184
232
  "params": {
@@ -285,6 +333,20 @@
285
333
  "dataValues": "An array of bytes values to set for each `dataKeys`."
286
334
  }
287
335
  },
336
+ "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
337
+ "params": {
338
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
339
+ "dataValues": "An array of values to set for the given data keys.",
340
+ "tokenIds": "An array of token IDs."
341
+ }
342
+ },
343
+ "setDataForTokenId(bytes32,bytes32,bytes)": {
344
+ "params": {
345
+ "dataKey": "The key for the data to set.",
346
+ "dataValue": "The value to set for the given data key.",
347
+ "tokenId": "The unique identifier for a token."
348
+ }
349
+ },
288
350
  "supportsInterface(bytes4)": {
289
351
  "details": "See {IERC165-supportsInterface}."
290
352
  },