@lukso/lsp-smart-contracts 0.12.1 → 0.13.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 +2 -2
- package/artifacts/LSP0ERC725Account.json +6 -6
- package/artifacts/LSP0ERC725AccountInit.json +6 -6
- 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/LSP4DigitalAssetMetadata.json +5 -0
- package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +5 -0
- package/artifacts/LSP6KeyManager.json +2 -2
- package/artifacts/LSP6KeyManagerInit.json +2 -2
- package/artifacts/LSP7CappedSupply.json +71 -36
- package/artifacts/LSP7CappedSupplyInitAbstract.json +71 -36
- package/artifacts/LSP7CompatibleERC20.json +71 -36
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +71 -36
- package/artifacts/LSP7CompatibleERC20Mintable.json +78 -38
- package/artifacts/LSP7CompatibleERC20MintableInit.json +78 -38
- package/artifacts/LSP7DigitalAsset.json +71 -36
- package/artifacts/LSP7DigitalAssetInitAbstract.json +71 -36
- package/artifacts/LSP7Mintable.json +78 -38
- package/artifacts/LSP7MintableInit.json +78 -38
- package/artifacts/LSP8CappedSupply.json +187 -23
- package/artifacts/LSP8CappedSupplyInitAbstract.json +200 -36
- package/artifacts/LSP8CompatibleERC721.json +187 -23
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +200 -36
- package/artifacts/LSP8CompatibleERC721Mintable.json +195 -26
- package/artifacts/LSP8CompatibleERC721MintableInit.json +208 -39
- package/artifacts/LSP8IdentifiableDigitalAsset.json +187 -23
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +200 -36
- package/artifacts/LSP8Mintable.json +195 -26
- package/artifacts/LSP8MintableInit.json +208 -39
- package/artifacts/LSP9Vault.json +6 -6
- package/artifacts/LSP9VaultInit.json +6 -6
- package/artifacts/UniversalProfile.json +6 -6
- package/artifacts/UniversalProfileInit.json +6 -6
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +1 -22
- package/contracts/LSP17Extensions/Extension4337.sol +26 -1
- package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +9 -0
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +20 -34
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +47 -0
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +19 -31
- package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +13 -6
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +1 -1
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +20 -9
- package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +7 -5
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +128 -25
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +5 -2
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +6 -0
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +4 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +7 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +5 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +8 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +12 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +4 -0
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -0
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +77 -4
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +15 -12
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +19 -3
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +25 -16
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +223 -19
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +28 -15
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +15 -4
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +8 -4
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +13 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +4 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +13 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +6 -2
- package/contracts/LSP9Vault/LSP9VaultCore.sol +0 -22
- package/contracts/Version.sol +1 -1
- package/devdocs/LSP4DigitalAssetMetadata.json +11 -5
- package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -2
- package/devdocs/LSP6KeyManager.json +1 -1
- package/devdocs/LSP6KeyManagerInit.json +1 -1
- package/devdocs/LSP7CappedSupply.json +22 -2
- package/devdocs/LSP7CappedSupplyInitAbstract.json +22 -2
- package/devdocs/LSP7CompatibleERC20.json +23 -2
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +22 -2
- package/devdocs/LSP7CompatibleERC20Mintable.json +23 -2
- package/devdocs/LSP7CompatibleERC20MintableInit.json +24 -3
- package/devdocs/LSP7DigitalAsset.json +27 -6
- package/devdocs/LSP7DigitalAssetInitAbstract.json +22 -2
- package/devdocs/LSP7Mintable.json +24 -2
- package/devdocs/LSP7MintableInit.json +25 -3
- package/devdocs/LSP8CappedSupply.json +66 -4
- package/devdocs/LSP8CappedSupplyInitAbstract.json +66 -4
- package/devdocs/LSP8CompatibleERC721.json +69 -5
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +67 -5
- package/devdocs/LSP8CompatibleERC721Mintable.json +69 -5
- package/devdocs/LSP8CompatibleERC721MintableInit.json +70 -6
- package/devdocs/LSP8IdentifiableDigitalAsset.json +71 -8
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +66 -4
- package/devdocs/LSP8Mintable.json +68 -4
- package/devdocs/LSP8MintableInit.json +69 -5
- package/dist/constants.cjs.js +4406 -1319
- package/dist/constants.d.ts +4184 -844
- package/dist/constants.es.js +4405 -1319
- package/package.json +2 -2
- package/userdocs/LSP7CappedSupply.json +8 -0
- package/userdocs/LSP7CappedSupplyInitAbstract.json +8 -0
- package/userdocs/LSP7CompatibleERC20.json +8 -0
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +8 -0
- package/userdocs/LSP7CompatibleERC20Mintable.json +8 -0
- package/userdocs/LSP7CompatibleERC20MintableInit.json +9 -1
- package/userdocs/LSP7DigitalAsset.json +8 -0
- package/userdocs/LSP7DigitalAssetInitAbstract.json +8 -0
- package/userdocs/LSP7Mintable.json +8 -0
- package/userdocs/LSP7MintableInit.json +9 -1
- package/userdocs/LSP8CappedSupply.json +20 -0
- package/userdocs/LSP8CappedSupplyInitAbstract.json +20 -0
- package/userdocs/LSP8CompatibleERC721.json +20 -0
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +20 -0
- package/userdocs/LSP8CompatibleERC721Mintable.json +20 -0
- package/userdocs/LSP8CompatibleERC721MintableInit.json +21 -1
- package/userdocs/LSP8IdentifiableDigitalAsset.json +21 -1
- package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +20 -0
- package/userdocs/LSP8Mintable.json +20 -0
- package/userdocs/LSP8MintableInit.json +21 -1
|
@@ -27,12 +27,22 @@
|
|
|
27
27
|
],
|
|
28
28
|
"LSP4TokenNameNotEditable()": [
|
|
29
29
|
{
|
|
30
|
-
"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
|
|
30
|
+
"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."
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
33
|
"LSP4TokenSymbolNotEditable()": [
|
|
34
34
|
{
|
|
35
|
-
"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
|
|
35
|
+
"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."
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"LSP4TokenTypeNotEditable()": [
|
|
39
|
+
{
|
|
40
|
+
"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."
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"LSP8BatchCallFailed(uint256)": [
|
|
44
|
+
{
|
|
45
|
+
"details": "Reverts when a batch call failed."
|
|
36
46
|
}
|
|
37
47
|
],
|
|
38
48
|
"LSP8CannotSendToAddressZero()": [
|
|
@@ -100,9 +110,19 @@
|
|
|
100
110
|
"details": "Reverts when `tokenId` has already been minted."
|
|
101
111
|
}
|
|
102
112
|
],
|
|
103
|
-
"
|
|
113
|
+
"LSP8TokenIdSchemaNotEditable()": [
|
|
114
|
+
{
|
|
115
|
+
"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."
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"LSP8TokenIdsDataEmptyArray()": [
|
|
104
119
|
{
|
|
105
|
-
"details": "Reverts when
|
|
120
|
+
"details": "Reverts when empty arrays is passed to the function"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"LSP8TokenIdsDataLengthMismatch()": [
|
|
124
|
+
{
|
|
125
|
+
"details": "Reverts when the length of the token IDs data arrays is not equal"
|
|
106
126
|
}
|
|
107
127
|
],
|
|
108
128
|
"LSP8TokenOwnerCannotBeOperator()": [
|
|
@@ -139,7 +159,7 @@
|
|
|
139
159
|
}
|
|
140
160
|
},
|
|
141
161
|
"authorizeOperator(address,bytes32,bytes)": {
|
|
142
|
-
"custom:events": "- LSP7 {
|
|
162
|
+
"custom:events": "- LSP7 {OperatorAuthorizationChanged} event. - ERC721 {Approval} event.",
|
|
143
163
|
"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",
|
|
144
164
|
"params": {
|
|
145
165
|
"operator": "The address to authorize as an operator.",
|
|
@@ -156,8 +176,20 @@
|
|
|
156
176
|
"_0": "The total number of token IDs that `tokenOwner` owns."
|
|
157
177
|
}
|
|
158
178
|
},
|
|
179
|
+
"batchCalls(bytes[])": {
|
|
180
|
+
"custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
|
|
181
|
+
"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.",
|
|
182
|
+
"params": {
|
|
183
|
+
"data": "An array of ABI encoded function calls to be called on the contract."
|
|
184
|
+
},
|
|
185
|
+
"returns": {
|
|
186
|
+
"results": "An array of abi-encoded data returned by the functions executed."
|
|
187
|
+
}
|
|
188
|
+
},
|
|
159
189
|
"constructor": {
|
|
160
190
|
"params": {
|
|
191
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
|
|
192
|
+
"lsp8TokenIdSchema_": "The schema of tokenIds (= NFTs) that this contract will create.",
|
|
161
193
|
"name_": "The name of the token.",
|
|
162
194
|
"newOwner_": "The owner of the token contract.",
|
|
163
195
|
"symbol_": "The symbol of the token."
|
|
@@ -199,6 +231,24 @@
|
|
|
199
231
|
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
200
232
|
}
|
|
201
233
|
},
|
|
234
|
+
"getTokenIdData(bytes32,bytes32)": {
|
|
235
|
+
"params": {
|
|
236
|
+
"dataKey": "The key for the data to retrieve.",
|
|
237
|
+
"tokenId": "The unique identifier for a token."
|
|
238
|
+
},
|
|
239
|
+
"returns": {
|
|
240
|
+
"dataValues": "The data value associated with the given `tokenId` and `dataKey`."
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"getTokenIdDataBatch(bytes32[],bytes32[])": {
|
|
244
|
+
"params": {
|
|
245
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
246
|
+
"tokenId": "An array of token IDs."
|
|
247
|
+
},
|
|
248
|
+
"returns": {
|
|
249
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
250
|
+
}
|
|
251
|
+
},
|
|
202
252
|
"isApprovedForAll(address,address)": {
|
|
203
253
|
"details": "Compatible with ERC721 isApprovedForAll.",
|
|
204
254
|
"params": {
|
|
@@ -305,6 +355,20 @@
|
|
|
305
355
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
306
356
|
}
|
|
307
357
|
},
|
|
358
|
+
"setTokenIdData(bytes32,bytes32,bytes)": {
|
|
359
|
+
"params": {
|
|
360
|
+
"dataKey": "The key for the data to set.",
|
|
361
|
+
"dataValue": "The value to set for the given data key.",
|
|
362
|
+
"tokenId": "The unique identifier for a token."
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
|
|
366
|
+
"params": {
|
|
367
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
368
|
+
"dataValue": "An array of values to set for the given data keys.",
|
|
369
|
+
"tokenId": "An array of token IDs."
|
|
370
|
+
}
|
|
371
|
+
},
|
|
308
372
|
"supportsInterface(bytes4)": {
|
|
309
373
|
"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."
|
|
310
374
|
},
|
|
@@ -27,12 +27,22 @@
|
|
|
27
27
|
],
|
|
28
28
|
"LSP4TokenNameNotEditable()": [
|
|
29
29
|
{
|
|
30
|
-
"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
|
|
30
|
+
"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."
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
33
|
"LSP4TokenSymbolNotEditable()": [
|
|
34
34
|
{
|
|
35
|
-
"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
|
|
35
|
+
"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."
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"LSP4TokenTypeNotEditable()": [
|
|
39
|
+
{
|
|
40
|
+
"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."
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"LSP8BatchCallFailed(uint256)": [
|
|
44
|
+
{
|
|
45
|
+
"details": "Reverts when a batch call failed."
|
|
36
46
|
}
|
|
37
47
|
],
|
|
38
48
|
"LSP8CannotSendToAddressZero()": [
|
|
@@ -100,9 +110,19 @@
|
|
|
100
110
|
"details": "Reverts when `tokenId` has already been minted."
|
|
101
111
|
}
|
|
102
112
|
],
|
|
103
|
-
"
|
|
113
|
+
"LSP8TokenIdSchemaNotEditable()": [
|
|
114
|
+
{
|
|
115
|
+
"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."
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"LSP8TokenIdsDataEmptyArray()": [
|
|
104
119
|
{
|
|
105
|
-
"details": "Reverts when
|
|
120
|
+
"details": "Reverts when empty arrays is passed to the function"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"LSP8TokenIdsDataLengthMismatch()": [
|
|
124
|
+
{
|
|
125
|
+
"details": "Reverts when the length of the token IDs data arrays is not equal"
|
|
106
126
|
}
|
|
107
127
|
],
|
|
108
128
|
"LSP8TokenOwnerCannotBeOperator()": [
|
|
@@ -139,7 +159,7 @@
|
|
|
139
159
|
}
|
|
140
160
|
},
|
|
141
161
|
"authorizeOperator(address,bytes32,bytes)": {
|
|
142
|
-
"custom:events": "- LSP7 {
|
|
162
|
+
"custom:events": "- LSP7 {OperatorAuthorizationChanged} event. - ERC721 {Approval} event.",
|
|
143
163
|
"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",
|
|
144
164
|
"params": {
|
|
145
165
|
"operator": "The address to authorize as an operator.",
|
|
@@ -156,6 +176,16 @@
|
|
|
156
176
|
"_0": "The total number of token IDs that `tokenOwner` owns."
|
|
157
177
|
}
|
|
158
178
|
},
|
|
179
|
+
"batchCalls(bytes[])": {
|
|
180
|
+
"custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
|
|
181
|
+
"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.",
|
|
182
|
+
"params": {
|
|
183
|
+
"data": "An array of ABI encoded function calls to be called on the contract."
|
|
184
|
+
},
|
|
185
|
+
"returns": {
|
|
186
|
+
"results": "An array of abi-encoded data returned by the functions executed."
|
|
187
|
+
}
|
|
188
|
+
},
|
|
159
189
|
"constructor": {
|
|
160
190
|
"details": "initialize (= lock) base implementation contract on deployment"
|
|
161
191
|
},
|
|
@@ -195,8 +225,28 @@
|
|
|
195
225
|
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
196
226
|
}
|
|
197
227
|
},
|
|
198
|
-
"
|
|
228
|
+
"getTokenIdData(bytes32,bytes32)": {
|
|
199
229
|
"params": {
|
|
230
|
+
"dataKey": "The key for the data to retrieve.",
|
|
231
|
+
"tokenId": "The unique identifier for a token."
|
|
232
|
+
},
|
|
233
|
+
"returns": {
|
|
234
|
+
"dataValues": "The data value associated with the given `tokenId` and `dataKey`."
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"getTokenIdDataBatch(bytes32[],bytes32[])": {
|
|
238
|
+
"params": {
|
|
239
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
240
|
+
"tokenId": "An array of token IDs."
|
|
241
|
+
},
|
|
242
|
+
"returns": {
|
|
243
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"initialize(string,string,address,uint256,uint256)": {
|
|
247
|
+
"params": {
|
|
248
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
|
|
249
|
+
"lsp8TokenIdSchema_": "The schema of tokenIds (= NFTs) that this contract will create.",
|
|
200
250
|
"name_": "The name of the token.",
|
|
201
251
|
"newOwner_": "The owner of the token contract.",
|
|
202
252
|
"symbol_": "The symbol of the token."
|
|
@@ -308,6 +358,20 @@
|
|
|
308
358
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
309
359
|
}
|
|
310
360
|
},
|
|
361
|
+
"setTokenIdData(bytes32,bytes32,bytes)": {
|
|
362
|
+
"params": {
|
|
363
|
+
"dataKey": "The key for the data to set.",
|
|
364
|
+
"dataValue": "The value to set for the given data key.",
|
|
365
|
+
"tokenId": "The unique identifier for a token."
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
|
|
369
|
+
"params": {
|
|
370
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
371
|
+
"dataValue": "An array of values to set for the given data keys.",
|
|
372
|
+
"tokenId": "An array of token IDs."
|
|
373
|
+
}
|
|
374
|
+
},
|
|
311
375
|
"supportsInterface(bytes4)": {
|
|
312
376
|
"details": "See {IERC165-supportsInterface}."
|
|
313
377
|
},
|
|
@@ -29,12 +29,22 @@
|
|
|
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
|
|
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
|
|
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."
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"LSP8BatchCallFailed(uint256)": [
|
|
46
|
+
{
|
|
47
|
+
"details": "Reverts when a batch call failed."
|
|
38
48
|
}
|
|
39
49
|
],
|
|
40
50
|
"LSP8CannotSendToAddressZero()": [
|
|
@@ -97,9 +107,19 @@
|
|
|
97
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."
|
|
98
108
|
}
|
|
99
109
|
],
|
|
100
|
-
"
|
|
110
|
+
"LSP8TokenIdSchemaNotEditable()": [
|
|
111
|
+
{
|
|
112
|
+
"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."
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"LSP8TokenIdsDataEmptyArray()": [
|
|
101
116
|
{
|
|
102
|
-
"details": "Reverts when
|
|
117
|
+
"details": "Reverts when empty arrays is passed to the function"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"LSP8TokenIdsDataLengthMismatch()": [
|
|
121
|
+
{
|
|
122
|
+
"details": "Reverts when the length of the token IDs data arrays is not equal"
|
|
103
123
|
}
|
|
104
124
|
],
|
|
105
125
|
"LSP8TokenOwnerCannotBeOperator()": [
|
|
@@ -145,14 +165,25 @@
|
|
|
145
165
|
"_0": "The total number of token IDs that `tokenOwner` owns."
|
|
146
166
|
}
|
|
147
167
|
},
|
|
168
|
+
"batchCalls(bytes[])": {
|
|
169
|
+
"custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
|
|
170
|
+
"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.",
|
|
171
|
+
"params": {
|
|
172
|
+
"data": "An array of ABI encoded function calls to be called on the contract."
|
|
173
|
+
},
|
|
174
|
+
"returns": {
|
|
175
|
+
"results": "An array of abi-encoded data returned by the functions executed."
|
|
176
|
+
}
|
|
177
|
+
},
|
|
148
178
|
"constructor": {
|
|
149
|
-
"custom:warning": "Make sure the tokenId
|
|
150
|
-
"details": "Deploy a `LSP8IdentifiableDigitalAsset` contract and set the tokenId
|
|
179
|
+
"custom:warning": "Make sure the tokenId schema 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 schema inside the ERC725Y storage of the contract. This will also set the token `name_` and `symbol_` under the ERC725Y data keys `LSP4TokenName` and `LSP4TokenSymbol`.",
|
|
151
181
|
"params": {
|
|
182
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
|
|
183
|
+
"lsp8TokenIdSchema_": "The schema of tokenIds (= NFTs) that this contract will create.",
|
|
152
184
|
"name_": "The name of the token",
|
|
153
185
|
"newOwner_": "The owner of the the token-Metadata",
|
|
154
|
-
"symbol_": "The symbol of the token"
|
|
155
|
-
"tokenIdType_": "The type of tokenIds (= NFTs) that this contract will create. Available options are: NUMBER = `0`; STRING = `1`; UNIQUE_ID = `2`; HASH = `3`; ADDRESS = `4`."
|
|
186
|
+
"symbol_": "The symbol of the token"
|
|
156
187
|
}
|
|
157
188
|
},
|
|
158
189
|
"getData(bytes32)": {
|
|
@@ -182,6 +213,24 @@
|
|
|
182
213
|
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
183
214
|
}
|
|
184
215
|
},
|
|
216
|
+
"getTokenIdData(bytes32,bytes32)": {
|
|
217
|
+
"params": {
|
|
218
|
+
"dataKey": "The key for the data to retrieve.",
|
|
219
|
+
"tokenId": "The unique identifier for a token."
|
|
220
|
+
},
|
|
221
|
+
"returns": {
|
|
222
|
+
"dataValues": "The data value associated with the given `tokenId` and `dataKey`."
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"getTokenIdDataBatch(bytes32[],bytes32[])": {
|
|
226
|
+
"params": {
|
|
227
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
228
|
+
"tokenId": "An array of token IDs."
|
|
229
|
+
},
|
|
230
|
+
"returns": {
|
|
231
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
232
|
+
}
|
|
233
|
+
},
|
|
185
234
|
"isOperatorFor(address,bytes32)": {
|
|
186
235
|
"details": "Returns whether `operator` address is an operator for a given `tokenId`.",
|
|
187
236
|
"params": {
|
|
@@ -227,6 +276,20 @@
|
|
|
227
276
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
228
277
|
}
|
|
229
278
|
},
|
|
279
|
+
"setTokenIdData(bytes32,bytes32,bytes)": {
|
|
280
|
+
"params": {
|
|
281
|
+
"dataKey": "The key for the data to set.",
|
|
282
|
+
"dataValue": "The value to set for the given data key.",
|
|
283
|
+
"tokenId": "The unique identifier for a token."
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
|
|
287
|
+
"params": {
|
|
288
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
289
|
+
"dataValue": "An array of values to set for the given data keys.",
|
|
290
|
+
"tokenId": "An array of token IDs."
|
|
291
|
+
}
|
|
292
|
+
},
|
|
230
293
|
"supportsInterface(bytes4)": {
|
|
231
294
|
"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."
|
|
232
295
|
},
|
|
@@ -29,12 +29,22 @@
|
|
|
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
|
|
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
|
|
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."
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"LSP8BatchCallFailed(uint256)": [
|
|
46
|
+
{
|
|
47
|
+
"details": "Reverts when a batch call failed."
|
|
38
48
|
}
|
|
39
49
|
],
|
|
40
50
|
"LSP8CannotSendToAddressZero()": [
|
|
@@ -97,9 +107,19 @@
|
|
|
97
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."
|
|
98
108
|
}
|
|
99
109
|
],
|
|
100
|
-
"
|
|
110
|
+
"LSP8TokenIdSchemaNotEditable()": [
|
|
111
|
+
{
|
|
112
|
+
"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."
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"LSP8TokenIdsDataEmptyArray()": [
|
|
101
116
|
{
|
|
102
|
-
"details": "Reverts when
|
|
117
|
+
"details": "Reverts when empty arrays is passed to the function"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"LSP8TokenIdsDataLengthMismatch()": [
|
|
121
|
+
{
|
|
122
|
+
"details": "Reverts when the length of the token IDs data arrays is not equal"
|
|
103
123
|
}
|
|
104
124
|
],
|
|
105
125
|
"LSP8TokenOwnerCannotBeOperator()": [
|
|
@@ -145,6 +165,16 @@
|
|
|
145
165
|
"_0": "The total number of token IDs that `tokenOwner` owns."
|
|
146
166
|
}
|
|
147
167
|
},
|
|
168
|
+
"batchCalls(bytes[])": {
|
|
169
|
+
"custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
|
|
170
|
+
"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.",
|
|
171
|
+
"params": {
|
|
172
|
+
"data": "An array of ABI encoded function calls to be called on the contract."
|
|
173
|
+
},
|
|
174
|
+
"returns": {
|
|
175
|
+
"results": "An array of abi-encoded data returned by the functions executed."
|
|
176
|
+
}
|
|
177
|
+
},
|
|
148
178
|
"getData(bytes32)": {
|
|
149
179
|
"details": "Get in the ERC725Y storage the bytes data stored at a specific data key `dataKey`.",
|
|
150
180
|
"params": {
|
|
@@ -172,6 +202,24 @@
|
|
|
172
202
|
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
173
203
|
}
|
|
174
204
|
},
|
|
205
|
+
"getTokenIdData(bytes32,bytes32)": {
|
|
206
|
+
"params": {
|
|
207
|
+
"dataKey": "The key for the data to retrieve.",
|
|
208
|
+
"tokenId": "The unique identifier for a token."
|
|
209
|
+
},
|
|
210
|
+
"returns": {
|
|
211
|
+
"dataValues": "The data value associated with the given `tokenId` and `dataKey`."
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"getTokenIdDataBatch(bytes32[],bytes32[])": {
|
|
215
|
+
"params": {
|
|
216
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
217
|
+
"tokenId": "An array of token IDs."
|
|
218
|
+
},
|
|
219
|
+
"returns": {
|
|
220
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
221
|
+
}
|
|
222
|
+
},
|
|
175
223
|
"isOperatorFor(address,bytes32)": {
|
|
176
224
|
"details": "Returns whether `operator` address is an operator for a given `tokenId`.",
|
|
177
225
|
"params": {
|
|
@@ -217,6 +265,20 @@
|
|
|
217
265
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
218
266
|
}
|
|
219
267
|
},
|
|
268
|
+
"setTokenIdData(bytes32,bytes32,bytes)": {
|
|
269
|
+
"params": {
|
|
270
|
+
"dataKey": "The key for the data to set.",
|
|
271
|
+
"dataValue": "The value to set for the given data key.",
|
|
272
|
+
"tokenId": "The unique identifier for a token."
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
|
|
276
|
+
"params": {
|
|
277
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
278
|
+
"dataValue": "An array of values to set for the given data keys.",
|
|
279
|
+
"tokenId": "An array of token IDs."
|
|
280
|
+
}
|
|
281
|
+
},
|
|
220
282
|
"supportsInterface(bytes4)": {
|
|
221
283
|
"details": "See {IERC165-supportsInterface}."
|
|
222
284
|
},
|
|
@@ -27,12 +27,22 @@
|
|
|
27
27
|
],
|
|
28
28
|
"LSP4TokenNameNotEditable()": [
|
|
29
29
|
{
|
|
30
|
-
"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
|
|
30
|
+
"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."
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
33
|
"LSP4TokenSymbolNotEditable()": [
|
|
34
34
|
{
|
|
35
|
-
"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
|
|
35
|
+
"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."
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"LSP4TokenTypeNotEditable()": [
|
|
39
|
+
{
|
|
40
|
+
"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."
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"LSP8BatchCallFailed(uint256)": [
|
|
44
|
+
{
|
|
45
|
+
"details": "Reverts when a batch call failed."
|
|
36
46
|
}
|
|
37
47
|
],
|
|
38
48
|
"LSP8CannotSendToAddressZero()": [
|
|
@@ -100,9 +110,19 @@
|
|
|
100
110
|
"details": "Reverts when `tokenId` has already been minted."
|
|
101
111
|
}
|
|
102
112
|
],
|
|
103
|
-
"
|
|
113
|
+
"LSP8TokenIdSchemaNotEditable()": [
|
|
114
|
+
{
|
|
115
|
+
"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."
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"LSP8TokenIdsDataEmptyArray()": [
|
|
104
119
|
{
|
|
105
|
-
"details": "Reverts when
|
|
120
|
+
"details": "Reverts when empty arrays is passed to the function"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"LSP8TokenIdsDataLengthMismatch()": [
|
|
124
|
+
{
|
|
125
|
+
"details": "Reverts when the length of the token IDs data arrays is not equal"
|
|
106
126
|
}
|
|
107
127
|
],
|
|
108
128
|
"LSP8TokenOwnerCannotBeOperator()": [
|
|
@@ -148,8 +168,20 @@
|
|
|
148
168
|
"_0": "The total number of token IDs that `tokenOwner` owns."
|
|
149
169
|
}
|
|
150
170
|
},
|
|
171
|
+
"batchCalls(bytes[])": {
|
|
172
|
+
"custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
|
|
173
|
+
"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.",
|
|
174
|
+
"params": {
|
|
175
|
+
"data": "An array of ABI encoded function calls to be called on the contract."
|
|
176
|
+
},
|
|
177
|
+
"returns": {
|
|
178
|
+
"results": "An array of abi-encoded data returned by the functions executed."
|
|
179
|
+
}
|
|
180
|
+
},
|
|
151
181
|
"constructor": {
|
|
152
182
|
"params": {
|
|
183
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
|
|
184
|
+
"lsp8TokenIdSchema_": "The schema of tokenIds (= NFTs) that this contract will create.",
|
|
153
185
|
"name_": "The name of the token.",
|
|
154
186
|
"newOwner_": "The owner of the token contract.",
|
|
155
187
|
"symbol_": "The symbol of the token."
|
|
@@ -182,6 +214,24 @@
|
|
|
182
214
|
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
183
215
|
}
|
|
184
216
|
},
|
|
217
|
+
"getTokenIdData(bytes32,bytes32)": {
|
|
218
|
+
"params": {
|
|
219
|
+
"dataKey": "The key for the data to retrieve.",
|
|
220
|
+
"tokenId": "The unique identifier for a token."
|
|
221
|
+
},
|
|
222
|
+
"returns": {
|
|
223
|
+
"dataValues": "The data value associated with the given `tokenId` and `dataKey`."
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"getTokenIdDataBatch(bytes32[],bytes32[])": {
|
|
227
|
+
"params": {
|
|
228
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
229
|
+
"tokenId": "An array of token IDs."
|
|
230
|
+
},
|
|
231
|
+
"returns": {
|
|
232
|
+
"dataValues": "An array of data values for each pair of `tokenId` and `dataKey`."
|
|
233
|
+
}
|
|
234
|
+
},
|
|
185
235
|
"isOperatorFor(address,bytes32)": {
|
|
186
236
|
"details": "Returns whether `operator` address is an operator for a given `tokenId`.",
|
|
187
237
|
"params": {
|
|
@@ -236,6 +286,20 @@
|
|
|
236
286
|
"dataValues": "An array of bytes values to set for each `dataKeys`."
|
|
237
287
|
}
|
|
238
288
|
},
|
|
289
|
+
"setTokenIdData(bytes32,bytes32,bytes)": {
|
|
290
|
+
"params": {
|
|
291
|
+
"dataKey": "The key for the data to set.",
|
|
292
|
+
"dataValue": "The value to set for the given data key.",
|
|
293
|
+
"tokenId": "The unique identifier for a token."
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
|
|
297
|
+
"params": {
|
|
298
|
+
"dataKey": "An array of data keys corresponding to the token IDs.",
|
|
299
|
+
"dataValue": "An array of values to set for the given data keys.",
|
|
300
|
+
"tokenId": "An array of token IDs."
|
|
301
|
+
}
|
|
302
|
+
},
|
|
239
303
|
"supportsInterface(bytes4)": {
|
|
240
304
|
"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."
|
|
241
305
|
},
|