@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.
- package/README.md +1 -0
- package/artifacts/LSP0ERC725Account.json +2 -2
- package/artifacts/LSP0ERC725AccountInit.json +2 -2
- package/artifacts/LSP11BasicSocialRecovery.json +2 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
- package/artifacts/LSP6KeyManager.json +2 -2
- package/artifacts/LSP6KeyManagerInit.json +2 -2
- package/artifacts/LSP7CompatibleERC20Mintable.json +2 -2
- package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -2
- package/artifacts/LSP7Mintable.json +2 -2
- package/artifacts/LSP7MintableInit.json +2 -2
- package/artifacts/LSP8CappedSupply.json +42 -42
- package/artifacts/LSP8CappedSupplyInitAbstract.json +42 -42
- package/artifacts/LSP8CompatibleERC721.json +42 -42
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +42 -42
- package/artifacts/LSP8CompatibleERC721Mintable.json +45 -45
- package/artifacts/LSP8CompatibleERC721MintableInit.json +45 -45
- package/artifacts/LSP8IdentifiableDigitalAsset.json +42 -42
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +42 -42
- package/artifacts/LSP8Mintable.json +45 -45
- package/artifacts/LSP8MintableInit.json +45 -45
- package/artifacts/LSP9Vault.json +2 -2
- package/artifacts/LSP9VaultInit.json +2 -2
- package/artifacts/UniversalProfile.json +2 -2
- package/artifacts/UniversalProfileInit.json +2 -2
- package/contracts/LSP3ProfileMetadata/LSP3Constants.sol +1 -1
- package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +2 -3
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +1 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +2 -2
- package/contracts/LSP6KeyManager/LSP6Utils.sol +1 -1
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +1 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +1 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +1 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +1 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +1 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +1 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +1 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +30 -31
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +14 -14
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +3 -3
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +13 -13
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +37 -37
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +12 -12
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +1 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +1 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +4 -4
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +4 -4
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +1 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +1 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +0 -1
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +4 -4
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +4 -4
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +2 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +5 -6
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +5 -6
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +5 -6
- package/contracts/Version.sol +1 -1
- package/devdocs/LSP4DigitalAssetMetadata.json +1 -1
- package/devdocs/LSP7CompatibleERC20.json +1 -1
- package/devdocs/LSP7CompatibleERC20Mintable.json +1 -1
- package/devdocs/LSP7CompatibleERC20MintableInit.json +1 -1
- package/devdocs/LSP7DigitalAsset.json +1 -1
- package/devdocs/LSP7Mintable.json +1 -1
- package/devdocs/LSP7MintableInit.json +1 -1
- package/devdocs/LSP8CappedSupply.json +20 -20
- package/devdocs/LSP8CappedSupplyInitAbstract.json +20 -20
- package/devdocs/LSP8CompatibleERC721.json +22 -22
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +20 -20
- package/devdocs/LSP8CompatibleERC721Mintable.json +22 -22
- package/devdocs/LSP8CompatibleERC721MintableInit.json +22 -22
- package/devdocs/LSP8IdentifiableDigitalAsset.json +24 -24
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +20 -20
- package/devdocs/LSP8Mintable.json +22 -22
- package/devdocs/LSP8MintableInit.json +22 -22
- package/dist/constants.cjs.js +797 -797
- package/dist/constants.d.ts +399 -399
- package/dist/constants.es.js +797 -797
- package/package.json +1 -1
- package/userdocs/LSP8CappedSupply.json +8 -8
- package/userdocs/LSP8CappedSupplyInitAbstract.json +8 -8
- package/userdocs/LSP8CompatibleERC721.json +8 -8
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +8 -8
- package/userdocs/LSP8CompatibleERC721Mintable.json +8 -8
- package/userdocs/LSP8CompatibleERC721MintableInit.json +8 -8
- package/userdocs/LSP8IdentifiableDigitalAsset.json +9 -9
- package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +8 -8
- package/userdocs/LSP8Mintable.json +8 -8
- package/userdocs/LSP8MintableInit.json +8 -8
|
@@ -110,9 +110,9 @@
|
|
|
110
110
|
"details": "Reverts when `tokenId` has already been minted."
|
|
111
111
|
}
|
|
112
112
|
],
|
|
113
|
-
"
|
|
113
|
+
"LSP8TokenIdFormatNotEditable()": [
|
|
114
114
|
{
|
|
115
|
-
"details": "Reverts when trying to edit the data key `
|
|
115
|
+
"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."
|
|
116
116
|
}
|
|
117
117
|
],
|
|
118
118
|
"LSP8TokenIdsDataEmptyArray()": [
|
|
@@ -188,8 +188,8 @@
|
|
|
188
188
|
},
|
|
189
189
|
"constructor": {
|
|
190
190
|
"params": {
|
|
191
|
-
"lsp4TokenType_": "The type of token this digital asset contract represents (`
|
|
192
|
-
"
|
|
191
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
|
|
192
|
+
"lsp8TokenIdFormat_": "The format of tokenIds (= NFTs) that this contract will create.",
|
|
193
193
|
"name_": "The name of the token.",
|
|
194
194
|
"newOwner_": "The owner of the token contract.",
|
|
195
195
|
"symbol_": "The symbol of the token."
|
|
@@ -222,31 +222,31 @@
|
|
|
222
222
|
"dataValues": "The array of data stored at multiple keys"
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
|
-
"
|
|
226
|
-
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
225
|
+
"getDataBatchForTokenIds(bytes32[],bytes32[])": {
|
|
227
226
|
"params": {
|
|
228
|
-
"
|
|
227
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
228
|
+
"tokenIds": "An array of token IDs."
|
|
229
229
|
},
|
|
230
230
|
"returns": {
|
|
231
|
-
"
|
|
231
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
|
-
"
|
|
234
|
+
"getDataForTokenId(bytes32,bytes32)": {
|
|
235
235
|
"params": {
|
|
236
236
|
"dataKey": "The key for the data to retrieve.",
|
|
237
237
|
"tokenId": "The unique identifier for a token."
|
|
238
238
|
},
|
|
239
239
|
"returns": {
|
|
240
|
-
"
|
|
240
|
+
"dataValue": "The data value associated with the given `tokenId` and `dataKey`."
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
|
-
"
|
|
243
|
+
"getOperatorsOf(bytes32)": {
|
|
244
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
244
245
|
"params": {
|
|
245
|
-
"
|
|
246
|
-
"tokenId": "An array of token IDs."
|
|
246
|
+
"tokenId": "The token ID to get the operators for."
|
|
247
247
|
},
|
|
248
248
|
"returns": {
|
|
249
|
-
"
|
|
249
|
+
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
"isApprovedForAll(address,address)": {
|
|
@@ -355,18 +355,18 @@
|
|
|
355
355
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
|
-
"
|
|
358
|
+
"setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
|
|
359
359
|
"params": {
|
|
360
|
-
"
|
|
361
|
-
"
|
|
362
|
-
"
|
|
360
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
361
|
+
"dataValues": "An array of values to set for the given data keys.",
|
|
362
|
+
"tokenIds": "An array of token IDs."
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
|
-
"
|
|
365
|
+
"setDataForTokenId(bytes32,bytes32,bytes)": {
|
|
366
366
|
"params": {
|
|
367
|
-
"dataKey": "
|
|
368
|
-
"dataValue": "
|
|
369
|
-
"tokenId": "
|
|
367
|
+
"dataKey": "The key for the data to set.",
|
|
368
|
+
"dataValue": "The value to set for the given data key.",
|
|
369
|
+
"tokenId": "The unique identifier for a token."
|
|
370
370
|
}
|
|
371
371
|
},
|
|
372
372
|
"supportsInterface(bytes4)": {
|
|
@@ -110,9 +110,9 @@
|
|
|
110
110
|
"details": "Reverts when `tokenId` has already been minted."
|
|
111
111
|
}
|
|
112
112
|
],
|
|
113
|
-
"
|
|
113
|
+
"LSP8TokenIdFormatNotEditable()": [
|
|
114
114
|
{
|
|
115
|
-
"details": "Reverts when trying to edit the data key `
|
|
115
|
+
"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."
|
|
116
116
|
}
|
|
117
117
|
],
|
|
118
118
|
"LSP8TokenIdsDataEmptyArray()": [
|
|
@@ -216,37 +216,37 @@
|
|
|
216
216
|
"dataValues": "The array of data stored at multiple keys"
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
|
-
"
|
|
220
|
-
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
219
|
+
"getDataBatchForTokenIds(bytes32[],bytes32[])": {
|
|
221
220
|
"params": {
|
|
222
|
-
"
|
|
221
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
222
|
+
"tokenIds": "An array of token IDs."
|
|
223
223
|
},
|
|
224
224
|
"returns": {
|
|
225
|
-
"
|
|
225
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
|
-
"
|
|
228
|
+
"getDataForTokenId(bytes32,bytes32)": {
|
|
229
229
|
"params": {
|
|
230
230
|
"dataKey": "The key for the data to retrieve.",
|
|
231
231
|
"tokenId": "The unique identifier for a token."
|
|
232
232
|
},
|
|
233
233
|
"returns": {
|
|
234
|
-
"
|
|
234
|
+
"dataValue": "The data value associated with the given `tokenId` and `dataKey`."
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
|
-
"
|
|
237
|
+
"getOperatorsOf(bytes32)": {
|
|
238
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
238
239
|
"params": {
|
|
239
|
-
"
|
|
240
|
-
"tokenId": "An array of token IDs."
|
|
240
|
+
"tokenId": "The token ID to get the operators for."
|
|
241
241
|
},
|
|
242
242
|
"returns": {
|
|
243
|
-
"
|
|
243
|
+
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
"initialize(string,string,address,uint256,uint256)": {
|
|
247
247
|
"params": {
|
|
248
|
-
"lsp4TokenType_": "The type of token this digital asset contract represents (`
|
|
249
|
-
"
|
|
248
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
|
|
249
|
+
"lsp8TokenIdFormat_": "The format of tokenIds (= NFTs) that this contract will create.",
|
|
250
250
|
"name_": "The name of the token.",
|
|
251
251
|
"newOwner_": "The owner of the token contract.",
|
|
252
252
|
"symbol_": "The symbol of the token."
|
|
@@ -358,18 +358,18 @@
|
|
|
358
358
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
359
359
|
}
|
|
360
360
|
},
|
|
361
|
-
"
|
|
361
|
+
"setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
|
|
362
362
|
"params": {
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
363
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
364
|
+
"dataValues": "An array of values to set for the given data keys.",
|
|
365
|
+
"tokenIds": "An array of token IDs."
|
|
366
366
|
}
|
|
367
367
|
},
|
|
368
|
-
"
|
|
368
|
+
"setDataForTokenId(bytes32,bytes32,bytes)": {
|
|
369
369
|
"params": {
|
|
370
|
-
"dataKey": "
|
|
371
|
-
"dataValue": "
|
|
372
|
-
"tokenId": "
|
|
370
|
+
"dataKey": "The key for the data to set.",
|
|
371
|
+
"dataValue": "The value to set for the given data key.",
|
|
372
|
+
"tokenId": "The unique identifier for a token."
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
"supportsInterface(bytes4)": {
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
"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."
|
|
108
108
|
}
|
|
109
109
|
],
|
|
110
|
-
"
|
|
110
|
+
"LSP8TokenIdFormatNotEditable()": [
|
|
111
111
|
{
|
|
112
|
-
"details": "Reverts when trying to edit the data key `
|
|
112
|
+
"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."
|
|
113
113
|
}
|
|
114
114
|
],
|
|
115
115
|
"LSP8TokenIdsDataEmptyArray()": [
|
|
@@ -176,11 +176,11 @@
|
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
"constructor": {
|
|
179
|
-
"custom:warning": "Make sure the tokenId
|
|
180
|
-
"details": "Deploy a `LSP8IdentifiableDigitalAsset` contract and set the tokenId
|
|
179
|
+
"custom:warning": "Make sure the tokenId format provided on deployment is correct, as it can only be set once and cannot be changed in the ERC725Y storage after the contract has been deployed.",
|
|
180
|
+
"details": "Deploy a `LSP8IdentifiableDigitalAsset` contract and set the tokenId format inside the ERC725Y storage of the contract. This will also set the token `name_` and `symbol_` under the ERC725Y data keys `LSP4TokenName` and `LSP4TokenSymbol`.",
|
|
181
181
|
"params": {
|
|
182
|
-
"lsp4TokenType_": "The type of token this digital asset contract represents (`
|
|
183
|
-
"
|
|
182
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
|
|
183
|
+
"lsp8TokenIdFormat_": "The format of tokenIds (= NFTs) that this contract will create.",
|
|
184
184
|
"name_": "The name of the token",
|
|
185
185
|
"newOwner_": "The owner of the the token-Metadata",
|
|
186
186
|
"symbol_": "The symbol of the token"
|
|
@@ -204,31 +204,31 @@
|
|
|
204
204
|
"dataValues": "The array of data stored at multiple keys"
|
|
205
205
|
}
|
|
206
206
|
},
|
|
207
|
-
"
|
|
208
|
-
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
207
|
+
"getDataBatchForTokenIds(bytes32[],bytes32[])": {
|
|
209
208
|
"params": {
|
|
210
|
-
"
|
|
209
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
210
|
+
"tokenIds": "An array of token IDs."
|
|
211
211
|
},
|
|
212
212
|
"returns": {
|
|
213
|
-
"
|
|
213
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
|
-
"
|
|
216
|
+
"getDataForTokenId(bytes32,bytes32)": {
|
|
217
217
|
"params": {
|
|
218
218
|
"dataKey": "The key for the data to retrieve.",
|
|
219
219
|
"tokenId": "The unique identifier for a token."
|
|
220
220
|
},
|
|
221
221
|
"returns": {
|
|
222
|
-
"
|
|
222
|
+
"dataValue": "The data value associated with the given `tokenId` and `dataKey`."
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
|
-
"
|
|
225
|
+
"getOperatorsOf(bytes32)": {
|
|
226
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
226
227
|
"params": {
|
|
227
|
-
"
|
|
228
|
-
"tokenId": "An array of token IDs."
|
|
228
|
+
"tokenId": "The token ID to get the operators for."
|
|
229
229
|
},
|
|
230
230
|
"returns": {
|
|
231
|
-
"
|
|
231
|
+
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
"isOperatorFor(address,bytes32)": {
|
|
@@ -276,18 +276,18 @@
|
|
|
276
276
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
277
277
|
}
|
|
278
278
|
},
|
|
279
|
-
"
|
|
279
|
+
"setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
|
|
280
280
|
"params": {
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"
|
|
281
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
282
|
+
"dataValues": "An array of values to set for the given data keys.",
|
|
283
|
+
"tokenIds": "An array of token IDs."
|
|
284
284
|
}
|
|
285
285
|
},
|
|
286
|
-
"
|
|
286
|
+
"setDataForTokenId(bytes32,bytes32,bytes)": {
|
|
287
287
|
"params": {
|
|
288
|
-
"dataKey": "
|
|
289
|
-
"dataValue": "
|
|
290
|
-
"tokenId": "
|
|
288
|
+
"dataKey": "The key for the data to set.",
|
|
289
|
+
"dataValue": "The value to set for the given data key.",
|
|
290
|
+
"tokenId": "The unique identifier for a token."
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
293
|
"supportsInterface(bytes4)": {
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
"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."
|
|
108
108
|
}
|
|
109
109
|
],
|
|
110
|
-
"
|
|
110
|
+
"LSP8TokenIdFormatNotEditable()": [
|
|
111
111
|
{
|
|
112
|
-
"details": "Reverts when trying to edit the data key `
|
|
112
|
+
"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."
|
|
113
113
|
}
|
|
114
114
|
],
|
|
115
115
|
"LSP8TokenIdsDataEmptyArray()": [
|
|
@@ -193,31 +193,31 @@
|
|
|
193
193
|
"dataValues": "The array of data stored at multiple keys"
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
|
-
"
|
|
197
|
-
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
196
|
+
"getDataBatchForTokenIds(bytes32[],bytes32[])": {
|
|
198
197
|
"params": {
|
|
199
|
-
"
|
|
198
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
199
|
+
"tokenIds": "An array of token IDs."
|
|
200
200
|
},
|
|
201
201
|
"returns": {
|
|
202
|
-
"
|
|
202
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
|
-
"
|
|
205
|
+
"getDataForTokenId(bytes32,bytes32)": {
|
|
206
206
|
"params": {
|
|
207
207
|
"dataKey": "The key for the data to retrieve.",
|
|
208
208
|
"tokenId": "The unique identifier for a token."
|
|
209
209
|
},
|
|
210
210
|
"returns": {
|
|
211
|
-
"
|
|
211
|
+
"dataValue": "The data value associated with the given `tokenId` and `dataKey`."
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
|
-
"
|
|
214
|
+
"getOperatorsOf(bytes32)": {
|
|
215
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
215
216
|
"params": {
|
|
216
|
-
"
|
|
217
|
-
"tokenId": "An array of token IDs."
|
|
217
|
+
"tokenId": "The token ID to get the operators for."
|
|
218
218
|
},
|
|
219
219
|
"returns": {
|
|
220
|
-
"
|
|
220
|
+
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
223
|
"isOperatorFor(address,bytes32)": {
|
|
@@ -265,18 +265,18 @@
|
|
|
265
265
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
|
-
"
|
|
268
|
+
"setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
|
|
269
269
|
"params": {
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
270
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
271
|
+
"dataValues": "An array of values to set for the given data keys.",
|
|
272
|
+
"tokenIds": "An array of token IDs."
|
|
273
273
|
}
|
|
274
274
|
},
|
|
275
|
-
"
|
|
275
|
+
"setDataForTokenId(bytes32,bytes32,bytes)": {
|
|
276
276
|
"params": {
|
|
277
|
-
"dataKey": "
|
|
278
|
-
"dataValue": "
|
|
279
|
-
"tokenId": "
|
|
277
|
+
"dataKey": "The key for the data to set.",
|
|
278
|
+
"dataValue": "The value to set for the given data key.",
|
|
279
|
+
"tokenId": "The unique identifier for a token."
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
"supportsInterface(bytes4)": {
|
|
@@ -110,9 +110,9 @@
|
|
|
110
110
|
"details": "Reverts when `tokenId` has already been minted."
|
|
111
111
|
}
|
|
112
112
|
],
|
|
113
|
-
"
|
|
113
|
+
"LSP8TokenIdFormatNotEditable()": [
|
|
114
114
|
{
|
|
115
|
-
"details": "Reverts when trying to edit the data key `
|
|
115
|
+
"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."
|
|
116
116
|
}
|
|
117
117
|
],
|
|
118
118
|
"LSP8TokenIdsDataEmptyArray()": [
|
|
@@ -180,8 +180,8 @@
|
|
|
180
180
|
},
|
|
181
181
|
"constructor": {
|
|
182
182
|
"params": {
|
|
183
|
-
"lsp4TokenType_": "The type of token this digital asset contract represents (`
|
|
184
|
-
"
|
|
183
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
|
|
184
|
+
"lsp8TokenIdFormat_": "The format of tokenIds (= NFTs) that this contract will create.",
|
|
185
185
|
"name_": "The name of the token.",
|
|
186
186
|
"newOwner_": "The owner of the token contract.",
|
|
187
187
|
"symbol_": "The symbol of the token."
|
|
@@ -205,31 +205,31 @@
|
|
|
205
205
|
"dataValues": "The array of data stored at multiple keys"
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
|
-
"
|
|
209
|
-
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
208
|
+
"getDataBatchForTokenIds(bytes32[],bytes32[])": {
|
|
210
209
|
"params": {
|
|
211
|
-
"
|
|
210
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
211
|
+
"tokenIds": "An array of token IDs."
|
|
212
212
|
},
|
|
213
213
|
"returns": {
|
|
214
|
-
"
|
|
214
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
215
215
|
}
|
|
216
216
|
},
|
|
217
|
-
"
|
|
217
|
+
"getDataForTokenId(bytes32,bytes32)": {
|
|
218
218
|
"params": {
|
|
219
219
|
"dataKey": "The key for the data to retrieve.",
|
|
220
220
|
"tokenId": "The unique identifier for a token."
|
|
221
221
|
},
|
|
222
222
|
"returns": {
|
|
223
|
-
"
|
|
223
|
+
"dataValue": "The data value associated with the given `tokenId` and `dataKey`."
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
|
-
"
|
|
226
|
+
"getOperatorsOf(bytes32)": {
|
|
227
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
227
228
|
"params": {
|
|
228
|
-
"
|
|
229
|
-
"tokenId": "An array of token IDs."
|
|
229
|
+
"tokenId": "The token ID to get the operators for."
|
|
230
230
|
},
|
|
231
231
|
"returns": {
|
|
232
|
-
"
|
|
232
|
+
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
235
|
"isOperatorFor(address,bytes32)": {
|
|
@@ -286,18 +286,18 @@
|
|
|
286
286
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
|
-
"
|
|
289
|
+
"setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
|
|
290
290
|
"params": {
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
291
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
292
|
+
"dataValues": "An array of values to set for the given data keys.",
|
|
293
|
+
"tokenIds": "An array of token IDs."
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
|
-
"
|
|
296
|
+
"setDataForTokenId(bytes32,bytes32,bytes)": {
|
|
297
297
|
"params": {
|
|
298
|
-
"dataKey": "
|
|
299
|
-
"dataValue": "
|
|
300
|
-
"tokenId": "
|
|
298
|
+
"dataKey": "The key for the data to set.",
|
|
299
|
+
"dataValue": "The value to set for the given data key.",
|
|
300
|
+
"tokenId": "The unique identifier for a token."
|
|
301
301
|
}
|
|
302
302
|
},
|
|
303
303
|
"supportsInterface(bytes4)": {
|
|
@@ -111,9 +111,9 @@
|
|
|
111
111
|
"details": "Reverts when `tokenId` has already been minted."
|
|
112
112
|
}
|
|
113
113
|
],
|
|
114
|
-
"
|
|
114
|
+
"LSP8TokenIdFormatNotEditable()": [
|
|
115
115
|
{
|
|
116
|
-
"details": "Reverts when trying to edit the data key `
|
|
116
|
+
"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."
|
|
117
117
|
}
|
|
118
118
|
],
|
|
119
119
|
"LSP8TokenIdsDataEmptyArray()": [
|
|
@@ -200,37 +200,37 @@
|
|
|
200
200
|
"dataValues": "The array of data stored at multiple keys"
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
|
-
"
|
|
204
|
-
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
203
|
+
"getDataBatchForTokenIds(bytes32[],bytes32[])": {
|
|
205
204
|
"params": {
|
|
206
|
-
"
|
|
205
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
206
|
+
"tokenIds": "An array of token IDs."
|
|
207
207
|
},
|
|
208
208
|
"returns": {
|
|
209
|
-
"
|
|
209
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
|
-
"
|
|
212
|
+
"getDataForTokenId(bytes32,bytes32)": {
|
|
213
213
|
"params": {
|
|
214
214
|
"dataKey": "The key for the data to retrieve.",
|
|
215
215
|
"tokenId": "The unique identifier for a token."
|
|
216
216
|
},
|
|
217
217
|
"returns": {
|
|
218
|
-
"
|
|
218
|
+
"dataValue": "The data value associated with the given `tokenId` and `dataKey`."
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
|
-
"
|
|
221
|
+
"getOperatorsOf(bytes32)": {
|
|
222
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
222
223
|
"params": {
|
|
223
|
-
"
|
|
224
|
-
"tokenId": "An array of token IDs."
|
|
224
|
+
"tokenId": "The token ID to get the operators for."
|
|
225
225
|
},
|
|
226
226
|
"returns": {
|
|
227
|
-
"
|
|
227
|
+
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
228
228
|
}
|
|
229
229
|
},
|
|
230
230
|
"initialize(string,string,address,uint256,uint256)": {
|
|
231
231
|
"params": {
|
|
232
|
-
"lsp4TokenType_": "The type of token this digital asset contract represents (`
|
|
233
|
-
"
|
|
232
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
|
|
233
|
+
"lsp8TokenIdFormat_": "The format of tokenIds (= NFTs) that this contract will create.",
|
|
234
234
|
"name_": "The name of the token.",
|
|
235
235
|
"newOwner_": "The owner of the token contract.",
|
|
236
236
|
"symbol_": "The symbol of the token."
|
|
@@ -290,18 +290,18 @@
|
|
|
290
290
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
|
-
"
|
|
293
|
+
"setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])": {
|
|
294
294
|
"params": {
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
295
|
+
"dataKeys": "An array of data keys corresponding to the token IDs.",
|
|
296
|
+
"dataValues": "An array of values to set for the given data keys.",
|
|
297
|
+
"tokenIds": "An array of token IDs."
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
|
-
"
|
|
300
|
+
"setDataForTokenId(bytes32,bytes32,bytes)": {
|
|
301
301
|
"params": {
|
|
302
|
-
"dataKey": "
|
|
303
|
-
"dataValue": "
|
|
304
|
-
"tokenId": "
|
|
302
|
+
"dataKey": "The key for the data to set.",
|
|
303
|
+
"dataValue": "The value to set for the given data key.",
|
|
304
|
+
"tokenId": "The unique identifier for a token."
|
|
305
305
|
}
|
|
306
306
|
},
|
|
307
307
|
"supportsInterface(bytes4)": {
|