mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-01 15:55:34 +01:00
GITBOOK-585: change request with no subject merged in GitBook
This commit is contained in:
parent
2ade1df1f8
commit
0f4a8dd7d4
@ -52,7 +52,7 @@ Here is the flow:
|
||||
|
||||
To set up the metadata for an asset, you'll need to call the [**setMetaData**](https://github.com/oceanprotocol/contracts/blob/9e29194d910f28a4f0ef17ce6dc8a70741f63309/contracts/templates/ERC721Template.sol#L247) function at the contract level. 
|
||||
|
||||
* [**\_metaDataState**](ddo-specification.md#state) - Each asset has a state, which is held by the NFT contract. One of the following: Active(0), End-of-life(1), Deprecated(2), Revoked(3)....
|
||||
* [**\_metaDataState**](ddo-specification.md#state) - Each asset has a state, which is held by the NFT contract. One of the following: active(0), end-of-life(1), deprecated(2), revoked(3), ordering temporarily disabled (4), and asset unlisted (5).
|
||||
* **\_metaDataDecryptorUrl** - You create the DDO and then the Provider encrypts it with its private key. Only that Provider can decrypt it.
|
||||
* **\_metaDataDecryptorAddress** - The decryptor address.
|
||||
* **flags** - Additional information to represent the state of the data. One of two values: 0 - plain text, 1 - compressed, 2 - encrypted. Used by Aquarius.
|
||||
|
Loading…
Reference in New Issue
Block a user