@lukso/lsp-smart-contracts 0.13.0 → 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 (93) hide show
  1. package/README.md +1 -0
  2. package/artifacts/LSP0ERC725Account.json +2 -2
  3. package/artifacts/LSP0ERC725AccountInit.json +2 -2
  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/LSP6KeyManager.json +2 -2
  9. package/artifacts/LSP6KeyManagerInit.json +2 -2
  10. package/artifacts/LSP7CompatibleERC20Mintable.json +2 -2
  11. package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -2
  12. package/artifacts/LSP7Mintable.json +2 -2
  13. package/artifacts/LSP7MintableInit.json +2 -2
  14. package/artifacts/LSP8CappedSupply.json +42 -42
  15. package/artifacts/LSP8CappedSupplyInitAbstract.json +42 -42
  16. package/artifacts/LSP8CompatibleERC721.json +42 -42
  17. package/artifacts/LSP8CompatibleERC721InitAbstract.json +42 -42
  18. package/artifacts/LSP8CompatibleERC721Mintable.json +45 -45
  19. package/artifacts/LSP8CompatibleERC721MintableInit.json +45 -45
  20. package/artifacts/LSP8IdentifiableDigitalAsset.json +42 -42
  21. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +42 -42
  22. package/artifacts/LSP8Mintable.json +45 -45
  23. package/artifacts/LSP8MintableInit.json +45 -45
  24. package/artifacts/LSP9Vault.json +2 -2
  25. package/artifacts/LSP9VaultInit.json +2 -2
  26. package/artifacts/UniversalProfile.json +2 -2
  27. package/artifacts/UniversalProfileInit.json +2 -2
  28. package/contracts/LSP3ProfileMetadata/LSP3Constants.sol +1 -1
  29. package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +2 -3
  30. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +1 -1
  31. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +2 -2
  32. package/contracts/LSP6KeyManager/LSP6Utils.sol +1 -1
  33. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +1 -1
  34. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +1 -1
  35. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +1 -1
  36. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +1 -1
  37. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +1 -1
  38. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +1 -1
  39. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +1 -1
  40. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +1 -1
  41. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +30 -31
  42. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +14 -14
  43. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +3 -3
  44. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +13 -13
  45. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +37 -37
  46. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +12 -12
  47. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
  48. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +1 -1
  49. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +1 -2
  50. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +1 -2
  51. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +4 -4
  52. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +4 -4
  53. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +1 -2
  54. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +1 -2
  55. package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +0 -1
  56. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +4 -4
  57. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +4 -4
  58. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +2 -2
  59. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +5 -6
  60. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +5 -6
  61. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +5 -6
  62. package/contracts/Version.sol +1 -1
  63. package/devdocs/LSP4DigitalAssetMetadata.json +1 -1
  64. package/devdocs/LSP7CompatibleERC20.json +1 -1
  65. package/devdocs/LSP7CompatibleERC20Mintable.json +1 -1
  66. package/devdocs/LSP7CompatibleERC20MintableInit.json +1 -1
  67. package/devdocs/LSP7DigitalAsset.json +1 -1
  68. package/devdocs/LSP7Mintable.json +1 -1
  69. package/devdocs/LSP7MintableInit.json +1 -1
  70. package/devdocs/LSP8CappedSupply.json +20 -20
  71. package/devdocs/LSP8CappedSupplyInitAbstract.json +20 -20
  72. package/devdocs/LSP8CompatibleERC721.json +22 -22
  73. package/devdocs/LSP8CompatibleERC721InitAbstract.json +20 -20
  74. package/devdocs/LSP8CompatibleERC721Mintable.json +22 -22
  75. package/devdocs/LSP8CompatibleERC721MintableInit.json +22 -22
  76. package/devdocs/LSP8IdentifiableDigitalAsset.json +24 -24
  77. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +20 -20
  78. package/devdocs/LSP8Mintable.json +22 -22
  79. package/devdocs/LSP8MintableInit.json +22 -22
  80. package/dist/constants.cjs.js +797 -797
  81. package/dist/constants.d.ts +399 -399
  82. package/dist/constants.es.js +797 -797
  83. package/package.json +1 -1
  84. package/userdocs/LSP8CappedSupply.json +8 -8
  85. package/userdocs/LSP8CappedSupplyInitAbstract.json +8 -8
  86. package/userdocs/LSP8CompatibleERC721.json +8 -8
  87. package/userdocs/LSP8CompatibleERC721InitAbstract.json +8 -8
  88. package/userdocs/LSP8CompatibleERC721Mintable.json +8 -8
  89. package/userdocs/LSP8CompatibleERC721MintableInit.json +8 -8
  90. package/userdocs/LSP8IdentifiableDigitalAsset.json +9 -9
  91. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +8 -8
  92. package/userdocs/LSP8Mintable.json +8 -8
  93. package/userdocs/LSP8MintableInit.json +8 -8
@@ -14,22 +14,22 @@ contract LSP8CompatibleERC721Mintable is LSP8CompatibleERC721 {
14
14
  * @param name_ The name of the token.
15
15
  * @param symbol_ The symbol of the token.
16
16
  * @param newOwner_ The owner of the token contract.
17
- * @param lsp4TokenType_ The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).
18
- * @param lsp8TokenIdSchema_ The schema of tokenIds (= NFTs) that this contract will create.
17
+ * @param lsp4TokenType_ The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).
18
+ * @param lsp8TokenIdFormat_ The format of tokenIds (= NFTs) that this contract will create.
19
19
  */
20
20
  constructor(
21
21
  string memory name_,
22
22
  string memory symbol_,
23
23
  address newOwner_,
24
24
  uint256 lsp4TokenType_,
25
- uint256 lsp8TokenIdSchema_
25
+ uint256 lsp8TokenIdFormat_
26
26
  )
27
27
  LSP8CompatibleERC721(
28
28
  name_,
29
29
  symbol_,
30
30
  newOwner_,
31
31
  lsp4TokenType_,
32
- lsp8TokenIdSchema_
32
+ lsp8TokenIdFormat_
33
33
  )
34
34
  {}
35
35
 
@@ -26,22 +26,22 @@ contract LSP8CompatibleERC721MintableInit is
26
26
  * @param name_ The name of the token.
27
27
  * @param symbol_ The symbol of the token.
28
28
  * @param newOwner_ The owner of the token contract.
29
- * @param lsp4TokenType_ The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).
30
- * @param lsp8TokenIdSchema_ The schema of tokenIds (= NFTs) that this contract will create.
29
+ * @param lsp4TokenType_ The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).
30
+ * @param lsp8TokenIdFormat_ The format of tokenIds (= NFTs) that this contract will create.
31
31
  */
32
32
  function initialize(
33
33
  string memory name_,
34
34
  string memory symbol_,
35
35
  address newOwner_,
36
36
  uint256 lsp4TokenType_,
37
- uint256 lsp8TokenIdSchema_
37
+ uint256 lsp8TokenIdFormat_
38
38
  ) external virtual initializer {
39
39
  LSP8CompatibleERC721MintableInitAbstract._initialize(
40
40
  name_,
41
41
  symbol_,
42
42
  newOwner_,
43
43
  lsp4TokenType_,
44
- lsp8TokenIdSchema_
44
+ lsp8TokenIdFormat_
45
45
  );
46
46
  }
47
47
  }
@@ -20,14 +20,14 @@ contract LSP8CompatibleERC721MintableInitAbstract is
20
20
  string memory symbol_,
21
21
  address newOwner_,
22
22
  uint256 lsp4TokenType_,
23
- uint256 lsp8TokenIdSchema_
23
+ uint256 lsp8TokenIdFormat_
24
24
  ) internal virtual override onlyInitializing {
25
25
  LSP8CompatibleERC721InitAbstract._initialize(
26
26
  name_,
27
27
  symbol_,
28
28
  newOwner_,
29
29
  lsp4TokenType_,
30
- lsp8TokenIdSchema_
30
+ lsp8TokenIdFormat_
31
31
  );
32
32
  }
33
33
 
@@ -1,6 +1,5 @@
1
1
  // SPDX-License-Identifier: Apache-2.0
2
-
3
- pragma solidity ^0.8.4;
2
+ pragma solidity ^0.8.12;
4
3
 
5
4
  // interfaces
6
5
  import {ILSP8Mintable} from "./ILSP8Mintable.sol";
@@ -21,22 +20,22 @@ contract LSP8Mintable is LSP8IdentifiableDigitalAsset, ILSP8Mintable {
21
20
  * @param name_ The name of the token.
22
21
  * @param symbol_ The symbol of the token.
23
22
  * @param newOwner_ The owner of the token contract.
24
- * @param lsp4TokenType_ The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).
25
- * @param lsp8TokenIdSchema_ The schema of tokenIds (= NFTs) that this contract will create.
23
+ * @param lsp4TokenType_ The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).
24
+ * @param lsp8TokenIdFormat_ The format of tokenIds (= NFTs) that this contract will create.
26
25
  */
27
26
  constructor(
28
27
  string memory name_,
29
28
  string memory symbol_,
30
29
  address newOwner_,
31
30
  uint256 lsp4TokenType_,
32
- uint256 lsp8TokenIdSchema_
31
+ uint256 lsp8TokenIdFormat_
33
32
  )
34
33
  LSP8IdentifiableDigitalAsset(
35
34
  name_,
36
35
  symbol_,
37
36
  newOwner_,
38
37
  lsp4TokenType_,
39
- lsp8TokenIdSchema_
38
+ lsp8TokenIdFormat_
40
39
  )
41
40
  {}
42
41
 
@@ -1,6 +1,5 @@
1
1
  // SPDX-License-Identifier: Apache-2.0
2
-
3
- pragma solidity ^0.8.4;
2
+ pragma solidity ^0.8.12;
4
3
 
5
4
  // modules
6
5
  import {LSP8MintableInitAbstract} from "./LSP8MintableInitAbstract.sol";
@@ -23,22 +22,22 @@ contract LSP8MintableInit is LSP8MintableInitAbstract {
23
22
  * @param name_ The name of the token.
24
23
  * @param symbol_ The symbol of the token.
25
24
  * @param newOwner_ The owner of the token contract.
26
- * @param lsp4TokenType_ The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).
27
- * @param lsp8TokenIdSchema_ The schema of tokenIds (= NFTs) that this contract will create.
25
+ * @param lsp4TokenType_ The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).
26
+ * @param lsp8TokenIdFormat_ The format of tokenIds (= NFTs) that this contract will create.
28
27
  */
29
28
  function initialize(
30
29
  string memory name_,
31
30
  string memory symbol_,
32
31
  address newOwner_,
33
32
  uint256 lsp4TokenType_,
34
- uint256 lsp8TokenIdSchema_
33
+ uint256 lsp8TokenIdFormat_
35
34
  ) external virtual initializer {
36
35
  LSP8MintableInitAbstract._initialize(
37
36
  name_,
38
37
  symbol_,
39
38
  newOwner_,
40
39
  lsp4TokenType_,
41
- lsp8TokenIdSchema_
40
+ lsp8TokenIdFormat_
42
41
  );
43
42
  }
44
43
  }
@@ -1,6 +1,5 @@
1
1
  // SPDX-License-Identifier: Apache-2.0
2
-
3
- pragma solidity ^0.8.4;
2
+ pragma solidity ^0.8.12;
4
3
 
5
4
  // interfaces
6
5
  import {ILSP8Mintable} from "./ILSP8Mintable.sol";
@@ -23,22 +22,22 @@ abstract contract LSP8MintableInitAbstract is
23
22
  * @param name_ The name of the token.
24
23
  * @param symbol_ The symbol of the token.
25
24
  * @param newOwner_ The owner of the token contract.
26
- * @param lsp4TokenType_ The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).
27
- * @param lsp8TokenIdSchema_ The schema of tokenIds (= NFTs) that this contract will create.
25
+ * @param lsp4TokenType_ The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).
26
+ * @param lsp8TokenIdFormat_ The format of tokenIds (= NFTs) that this contract will create.
28
27
  */
29
28
  function _initialize(
30
29
  string memory name_,
31
30
  string memory symbol_,
32
31
  address newOwner_,
33
32
  uint256 lsp4TokenType_,
34
- uint256 lsp8TokenIdSchema_
33
+ uint256 lsp8TokenIdFormat_
35
34
  ) internal virtual override onlyInitializing {
36
35
  LSP8IdentifiableDigitalAssetInitAbstract._initialize(
37
36
  name_,
38
37
  symbol_,
39
38
  newOwner_,
40
39
  lsp4TokenType_,
41
- lsp8TokenIdSchema_
40
+ lsp8TokenIdFormat_
42
41
  );
43
42
  }
44
43
 
@@ -11,7 +11,7 @@ abstract contract Version {
11
11
  // DO NOT CHANGE
12
12
  // Comments block below is used by release-please to automatically update the version in this file.
13
13
  // x-release-please-start-version
14
- string public constant VERSION = "0.13.0";
14
+ string public constant VERSION = "0.14.0";
15
15
 
16
16
  // x-release-please-end
17
17
  }
@@ -51,7 +51,7 @@
51
51
  "constructor": {
52
52
  "params": {
53
53
  "initialOwner_": "The owner of the token contract.",
54
- "lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
54
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
55
55
  "name_": "The name of the token.",
56
56
  "symbol_": "The symbol of the token."
57
57
  }
@@ -187,7 +187,7 @@
187
187
  },
188
188
  "constructor": {
189
189
  "params": {
190
- "lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
190
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
191
191
  "name_": "The name of the token.",
192
192
  "newOwner_": "The owner of the token contract.",
193
193
  "symbol_": "The symbol of the token."
@@ -186,7 +186,7 @@
186
186
  },
187
187
  "constructor": {
188
188
  "params": {
189
- "lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
189
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
190
190
  "name_": "The name of the token.",
191
191
  "newOwner_": "The owner of the token contract.",
192
192
  "symbol_": "The symbol of the token."
@@ -236,7 +236,7 @@
236
236
  },
237
237
  "initialize(string,string,address,uint256)": {
238
238
  "params": {
239
- "lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
239
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
240
240
  "name_": "The name of the token.",
241
241
  "newOwner_": "The owner of the token contract.",
242
242
  "symbol_": "The symbol of the token."
@@ -169,7 +169,7 @@
169
169
  "constructor": {
170
170
  "params": {
171
171
  "isNonDivisible_": "Specify if the LSP7 token is a fungible or non-fungible token.",
172
- "lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
172
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
173
173
  "name_": "The name of the token.",
174
174
  "newOwner_": "The owner of the the token-Metadata.",
175
175
  "symbol_": "The symbol of the token."
@@ -168,7 +168,7 @@
168
168
  "constructor": {
169
169
  "params": {
170
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 (`1` = Token, `2` = NFT, `3` = Collection).",
171
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
172
172
  "name_": "The name of the token.",
173
173
  "newOwner_": "The owner of the token contract.",
174
174
  "symbol_": "The symbol of the token."
@@ -218,7 +218,7 @@
218
218
  "initialize(string,string,address,uint256,bool)": {
219
219
  "params": {
220
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 (`1` = Token, `2` = NFT, `3` = Collection).",
221
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
222
222
  "name_": "The name of the token.",
223
223
  "newOwner_": "The owner of the token contract.",
224
224
  "symbol_": "The symbol of the token."
@@ -116,9 +116,9 @@
116
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."
117
117
  }
118
118
  ],
119
- "LSP8TokenIdSchemaNotEditable()": [
119
+ "LSP8TokenIdFormatNotEditable()": [
120
120
  {
121
- "details": "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` 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."
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
122
  }
123
123
  ],
124
124
  "LSP8TokenIdsDataEmptyArray()": [
@@ -209,31 +209,31 @@
209
209
  "dataValues": "The array of data stored at multiple keys"
210
210
  }
211
211
  },
212
- "getOperatorsOf(bytes32)": {
213
- "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
212
+ "getDataBatchForTokenIds(bytes32[],bytes32[])": {
214
213
  "params": {
215
- "tokenId": "The token ID to get the operators for."
214
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
215
+ "tokenIds": "An array of token IDs."
216
216
  },
217
217
  "returns": {
218
- "_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
218
+ "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
219
219
  }
220
220
  },
221
- "getTokenIdData(bytes32,bytes32)": {
221
+ "getDataForTokenId(bytes32,bytes32)": {
222
222
  "params": {
223
223
  "dataKey": "The key for the data to retrieve.",
224
224
  "tokenId": "The unique identifier for a token."
225
225
  },
226
226
  "returns": {
227
- "dataValues": "The data value associated with the given `tokenId` and `dataKey`."
227
+ "dataValue": "The data value associated with the given `tokenId` and `dataKey`."
228
228
  }
229
229
  },
230
- "getTokenIdDataBatch(bytes32[],bytes32[])": {
230
+ "getOperatorsOf(bytes32)": {
231
+ "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
231
232
  "params": {
232
- "dataKey": "An array of data keys corresponding to the token IDs.",
233
- "tokenId": "An array of token IDs."
233
+ "tokenId": "The token ID to get the operators for."
234
234
  },
235
235
  "returns": {
236
- "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
236
+ "_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
237
237
  }
238
238
  },
239
239
  "isOperatorFor(address,bytes32)": {
@@ -281,18 +281,18 @@
281
281
  "dataValues": "An array of bytes values to set for each `dataKeys`."
282
282
  }
283
283
  },
284
- "setTokenIdData(bytes32,bytes32,bytes)": {
284
+ "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
285
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."
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
289
  }
290
290
  },
291
- "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
291
+ "setDataForTokenId(bytes32,bytes32,bytes)": {
292
292
  "params": {
293
- "dataKey": "An array of data keys corresponding to the token IDs.",
294
- "dataValue": "An array of values to set for the given data keys.",
295
- "tokenId": "An array of token IDs."
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
296
  }
297
297
  },
298
298
  "supportsInterface(bytes4)": {
@@ -116,9 +116,9 @@
116
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."
117
117
  }
118
118
  ],
119
- "LSP8TokenIdSchemaNotEditable()": [
119
+ "LSP8TokenIdFormatNotEditable()": [
120
120
  {
121
- "details": "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` 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."
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
122
  }
123
123
  ],
124
124
  "LSP8TokenIdsDataEmptyArray()": [
@@ -202,31 +202,31 @@
202
202
  "dataValues": "The array of data stored at multiple keys"
203
203
  }
204
204
  },
205
- "getOperatorsOf(bytes32)": {
206
- "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
205
+ "getDataBatchForTokenIds(bytes32[],bytes32[])": {
207
206
  "params": {
208
- "tokenId": "The token ID to get the operators for."
207
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
208
+ "tokenIds": "An array of token IDs."
209
209
  },
210
210
  "returns": {
211
- "_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
211
+ "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
212
212
  }
213
213
  },
214
- "getTokenIdData(bytes32,bytes32)": {
214
+ "getDataForTokenId(bytes32,bytes32)": {
215
215
  "params": {
216
216
  "dataKey": "The key for the data to retrieve.",
217
217
  "tokenId": "The unique identifier for a token."
218
218
  },
219
219
  "returns": {
220
- "dataValues": "The data value associated with the given `tokenId` and `dataKey`."
220
+ "dataValue": "The data value associated with the given `tokenId` and `dataKey`."
221
221
  }
222
222
  },
223
- "getTokenIdDataBatch(bytes32[],bytes32[])": {
223
+ "getOperatorsOf(bytes32)": {
224
+ "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
224
225
  "params": {
225
- "dataKey": "An array of data keys corresponding to the token IDs.",
226
- "tokenId": "An array of token IDs."
226
+ "tokenId": "The token ID to get the operators for."
227
227
  },
228
228
  "returns": {
229
- "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
229
+ "_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
230
230
  }
231
231
  },
232
232
  "isOperatorFor(address,bytes32)": {
@@ -274,18 +274,18 @@
274
274
  "dataValues": "An array of bytes values to set for each `dataKeys`."
275
275
  }
276
276
  },
277
- "setTokenIdData(bytes32,bytes32,bytes)": {
277
+ "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
278
278
  "params": {
279
- "dataKey": "The key for the data to set.",
280
- "dataValue": "The value to set for the given data key.",
281
- "tokenId": "The unique identifier for a token."
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
282
  }
283
283
  },
284
- "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
284
+ "setDataForTokenId(bytes32,bytes32,bytes)": {
285
285
  "params": {
286
- "dataKey": "An array of data keys corresponding to the token IDs.",
287
- "dataValue": "An array of values to set for the given data keys.",
288
- "tokenId": "An array of token IDs."
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
289
  }
290
290
  },
291
291
  "supportsInterface(bytes4)": {
@@ -106,9 +106,9 @@
106
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."
107
107
  }
108
108
  ],
109
- "LSP8TokenIdSchemaNotEditable()": [
109
+ "LSP8TokenIdFormatNotEditable()": [
110
110
  {
111
- "details": "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` 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."
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
112
  }
113
113
  ],
114
114
  "LSP8TokenIdsDataEmptyArray()": [
@@ -184,8 +184,8 @@
184
184
  },
185
185
  "constructor": {
186
186
  "params": {
187
- "lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
188
- "lsp8TokenIdSchema_": "The schema of tokenIds (= NFTs) that this contract will create.",
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.",
189
189
  "name_": "The name of the token.",
190
190
  "newOwner_": "The owner of the token contract.",
191
191
  "symbol_": "The symbol of the token."
@@ -218,31 +218,31 @@
218
218
  "dataValues": "The array of data stored at multiple keys"
219
219
  }
220
220
  },
221
- "getOperatorsOf(bytes32)": {
222
- "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
221
+ "getDataBatchForTokenIds(bytes32[],bytes32[])": {
223
222
  "params": {
224
- "tokenId": "The token ID to get the operators for."
223
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
224
+ "tokenIds": "An array of token IDs."
225
225
  },
226
226
  "returns": {
227
- "_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
227
+ "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
228
228
  }
229
229
  },
230
- "getTokenIdData(bytes32,bytes32)": {
230
+ "getDataForTokenId(bytes32,bytes32)": {
231
231
  "params": {
232
232
  "dataKey": "The key for the data to retrieve.",
233
233
  "tokenId": "The unique identifier for a token."
234
234
  },
235
235
  "returns": {
236
- "dataValues": "The data value associated with the given `tokenId` and `dataKey`."
236
+ "dataValue": "The data value associated with the given `tokenId` and `dataKey`."
237
237
  }
238
238
  },
239
- "getTokenIdDataBatch(bytes32[],bytes32[])": {
239
+ "getOperatorsOf(bytes32)": {
240
+ "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
240
241
  "params": {
241
- "dataKey": "An array of data keys corresponding to the token IDs.",
242
- "tokenId": "An array of token IDs."
242
+ "tokenId": "The token ID to get the operators for."
243
243
  },
244
244
  "returns": {
245
- "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
245
+ "_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
246
246
  }
247
247
  },
248
248
  "isApprovedForAll(address,address)": {
@@ -342,18 +342,18 @@
342
342
  "dataValues": "An array of bytes values to set for each `dataKeys`."
343
343
  }
344
344
  },
345
- "setTokenIdData(bytes32,bytes32,bytes)": {
345
+ "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
346
346
  "params": {
347
- "dataKey": "The key for the data to set.",
348
- "dataValue": "The value to set for the given data key.",
349
- "tokenId": "The unique identifier for a token."
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
350
  }
351
351
  },
352
- "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
352
+ "setDataForTokenId(bytes32,bytes32,bytes)": {
353
353
  "params": {
354
- "dataKey": "An array of data keys corresponding to the token IDs.",
355
- "dataValue": "An array of values to set for the given data keys.",
356
- "tokenId": "An array of token IDs."
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
357
  }
358
358
  },
359
359
  "supportsInterface(bytes4)": {
@@ -106,9 +106,9 @@
106
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."
107
107
  }
108
108
  ],
109
- "LSP8TokenIdSchemaNotEditable()": [
109
+ "LSP8TokenIdFormatNotEditable()": [
110
110
  {
111
- "details": "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` 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."
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
112
  }
113
113
  ],
114
114
  "LSP8TokenIdsDataEmptyArray()": [
@@ -209,31 +209,31 @@
209
209
  "dataValues": "The array of data stored at multiple keys"
210
210
  }
211
211
  },
212
- "getOperatorsOf(bytes32)": {
213
- "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
212
+ "getDataBatchForTokenIds(bytes32[],bytes32[])": {
214
213
  "params": {
215
- "tokenId": "The token ID to get the operators for."
214
+ "dataKeys": "An array of data keys corresponding to the token IDs.",
215
+ "tokenIds": "An array of token IDs."
216
216
  },
217
217
  "returns": {
218
- "_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
218
+ "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
219
219
  }
220
220
  },
221
- "getTokenIdData(bytes32,bytes32)": {
221
+ "getDataForTokenId(bytes32,bytes32)": {
222
222
  "params": {
223
223
  "dataKey": "The key for the data to retrieve.",
224
224
  "tokenId": "The unique identifier for a token."
225
225
  },
226
226
  "returns": {
227
- "dataValues": "The data value associated with the given `tokenId` and `dataKey`."
227
+ "dataValue": "The data value associated with the given `tokenId` and `dataKey`."
228
228
  }
229
229
  },
230
- "getTokenIdDataBatch(bytes32[],bytes32[])": {
230
+ "getOperatorsOf(bytes32)": {
231
+ "details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
231
232
  "params": {
232
- "dataKey": "An array of data keys corresponding to the token IDs.",
233
- "tokenId": "An array of token IDs."
233
+ "tokenId": "The token ID to get the operators for."
234
234
  },
235
235
  "returns": {
236
- "dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
236
+ "_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
237
237
  }
238
238
  },
239
239
  "isApprovedForAll(address,address)": {
@@ -333,18 +333,18 @@
333
333
  "dataValues": "An array of bytes values to set for each `dataKeys`."
334
334
  }
335
335
  },
336
- "setTokenIdData(bytes32,bytes32,bytes)": {
336
+ "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
337
337
  "params": {
338
- "dataKey": "The key for the data to set.",
339
- "dataValue": "The value to set for the given data key.",
340
- "tokenId": "The unique identifier for a token."
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
341
  }
342
342
  },
343
- "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
343
+ "setDataForTokenId(bytes32,bytes32,bytes)": {
344
344
  "params": {
345
- "dataKey": "An array of data keys corresponding to the token IDs.",
346
- "dataValue": "An array of values to set for the given data keys.",
347
- "tokenId": "An array of token IDs."
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
348
  }
349
349
  },
350
350
  "supportsInterface(bytes4)": {